/*! For license information please see main.e9a2ae7e.js.LICENSE.txt */ (()=>{var e={30979:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r,a=n(15931),o=n(62816),i=n(73972);const s=n(9215).default.div(r||(r=(0,i.A)(["\n\twidth: 100%;\n\theight: 100vh;\n\toverflow: visible;\n\toverflow-x: hidden;\n\tcolor: var(",");\n\tbackground: url(https://www.commoninja.com/assets/hero-bg.webp) no-repeat top\n\t\tcenter var(",");\n\tbackground-size: cover;\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tfont-size: 1.1rem;\n\tfont-family: var(",");\n\ttext-align: center;\n\tline-height: 1.4;\n\n\t/* &::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 50vh;\n\t\tbackground: linear-gradient(\n\t\t\t0deg,\n\t\t\tvar(",") 0%,\n\t\t\tvar(",") 100%\n\t\t);\n\t\tz-index: 0;\n\t} */\n\n\t> * {\n\t\tz-index: 1;\n\t\tposition: relative;\n\t}\n\n\t> div {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t\tbackground-color: #fff;\n\t\twidth: 540px;\n\t\tmax-width: 100%;\n\t\tborder-radius: 10px;\n\t\tpadding: 40px;\n\t\tborder: 1px solid #f0f0f0;\n\t\tposition: relative;\n\n\t\t> * {\n\t\t\tz-index: 1;\n\t\t}\n\n\t\t&::before {\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground: #fff;\n\t\t\tz-index: 0;\n\t\t\tborder-radius: inherit;\n\t\t}\n\t}\n\n\timg {\n\t\tmax-width: 100%;\n\t\tmax-height: 300px;\n\t}\n\n\th2 {\n\t\tfont-size: 1.5rem;\n\t\tcolor: var(",");\n\t\tfont-weight: 800;\n\t}\n\n\ta {\n\t\tcolor: var(",");\n\n\t\t&:hover {\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n\n\tsvg {\n\t\tfill: var(",");\n\t\tcolor: inherit;\n\t}\n\n\t.error,\n\t.light-error {\n\t\tfont-size: 1.1rem;\n\t\tpadding: 10px;\n\t\tbackground-color: var(",");\n\t\twidth: 100%;\n\t}\n\n\t.light-error {\n\t\tfont-size: 1.2rem;\n\t}\n\n\t.error {\n\t\tcolor: var(",");\n\t\tfont-style: italic;\n\t\ttext-align: left;\n\t}\n"])),a.Kn.black,a.Kn.black,a.Kn.primaryFont,a.Kn.primary700,a.Kn.primary500,a.Kn.text100,a.Kn.primary500,a.Kn.primary500,a.Kn.background800,a.Kn.error);var l=n(99277);const c=e=>{let{error:t,title:n,children:r}=e;return(0,l.jsx)(a.Sx,{theme:"light",children:(0,l.jsx)(s,{className:"loading-error",children:(0,l.jsx)("div",{children:null!==t&&void 0!==t&&t.includes("please confirm your email account")?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("h2",{children:["To view this preview page, ",(0,l.jsx)("br",{}),"please verify your email address!"]}),(0,l.jsx)("p",{style:{fontSize:"1.2rem"},children:"If you are not the owner of this widget, please make contact with the owner to verify their email."}),(0,l.jsx)("p",{children:(0,l.jsxs)("a",{href:"https://help.commoninja.com/hc/en-us/articles/13254617528349",target:"_blank",style:{display:"flex",alignItems:"center",gap:5},children:["Need help? learn how to verify your email",(0,l.jsx)(o.X,{size:16})]})})]}):null!==t&&void 0!==t&&t.includes("has been suspended")?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{children:"Important Notice: Widget is Suspended \ud83d\uded1"}),(0,l.jsx)("div",{className:"error",style:{textAlign:"center"},children:"The widget has been suspended due to suspicious activity."}),(0,l.jsx)("p",{children:"If you received this link from an unknown or untrusted source, please be cautious. \u26a0\ufe0f"}),(0,l.jsxs)("p",{children:["It might have been part of an attempt to gather sensitive information or conduct malicious activities."," "]}),(0,l.jsx)("p",{children:"We recommend that you avoid sharing any personal or financial details."}),(0,l.jsxs)("p",{children:["If you believe this suspension is an error or if you need assistance, feel free to contact our support team at"," ",(0,l.jsx)("a",{href:"https://www.commoninja.com/support",target:"_blank",children:"commoninja.com/support"})]}),(0,l.jsx)("p",{children:(0,l.jsx)("strong",{children:"Your safety is our priority, and we appreciate your understanding."})})]}):r||(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{children:n||"Something went wrong, but it's not your fault \ud83e\udee2"}),t&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"light-error",children:t}),(0,l.jsxs)("p",{children:["Need help? Feel free to contact our support team at"," ",(0,l.jsx)("a",{href:"https://www.commoninja.com/support",target:"_blank",children:"commoninja.com/support"})]})]})]})})})})}},61066:(e,t,n)=>{"use strict";n.d(t,{wP:()=>g,RS:()=>_,Mh:()=>y});var r=n(53416),a=n(81009),o=n(99277);const i=(0,o.jsxs)("button",{className:"gsi-material-button",children:[(0,o.jsx)("div",{className:"gsi-material-button-state"}),(0,o.jsxs)("div",{className:"gsi-material-button-content-wrapper",children:[(0,o.jsx)("div",{className:"gsi-material-button-icon",children:(0,o.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",xmlnsXlink:"http://www.w3.org/1999/xlink",style:{display:"block"},children:[(0,o.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,o.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,o.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,o.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,o.jsx)("path",{fill:"none",d:"M0 0h48v48H0z"})]})}),(0,o.jsx)("span",{className:"gsi-material-button-contents",children:"Sign in with Google"}),(0,o.jsx)("span",{style:{display:"none"},children:"Sign in with Google"})]})]});var s=n(1554),l=n(23611),c=n(98185),u=n(34905),d=n(92889),f=n(83451),p=n(97641),h=n(90057);const m="".concat("https://www.commoninja.com","/api/apps/payments"),g=new Map([["",{fields:[]}],["paypal",{fields:[{label:"Client ID",type:"text",name:"clientId",required:!0},{label:"Client Secret",type:"password",name:"clientSecret",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your PayPal account to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/10430468442141-Adding-The-PayPal-Payment-Gateway-Integration"}]}],["stripe",{fields:[{label:"Publishable Key",type:"text",name:"publishableKey",required:!0},{label:"Secret Key",type:"password",name:"privateKey",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your Stripe account to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/10430394288285-Adding-The-Stripe-Payment-Gateway-Integration"}]}],["csv",{fields:[{label:"CSV File URL",type:"url",name:"url",fileType:"csv",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your CSV file to \nCommon Ninja.",link:"https://help.commoninja.com/hc/en-us/articles/16884853024029-How-To-Set-Up-CSV-Integration"},{type:"text",text:"Learn how to connect your Google Sheet to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/12163662671389-CSV-Integration-Using-Google-Sheets"}]}],["rss",{fields:[{label:"RSS URL",type:"url",name:"url",required:!0}],helpArticles:[]}],["xml",{fields:[{label:"XML URL",type:"url",name:"url",required:!0},{label:"XML Items Path",type:"text",name:"dataPath",placeholder:"f.e: catalog.item",defaultValue:"",flow:"row"}],helpArticles:[]}],["api",{fields:[{label:"Endpoint URL",type:"url",name:"url",defaultValue:"",required:!0},{label:"Method",type:"select",name:"method",defaultValue:"get",required:!0,options:[{label:"GET",value:"get"},{label:"POST",value:"post"}]},{label:"Response Type",type:"select",name:"contentType",defaultValue:"application/json",required:!0,options:[{label:"JSON",value:"application/json"},{label:"Text",value:"text/plain"}]},{label:"Response Object Path",type:"text",name:"dataPath",placeholder:"f.e: data.items",defaultValue:"",flow:"row"},{label:"Include Cookies",type:"checkbox",name:"includeCookies",defaultValue:!1},{label:"Headers (JSON Format)",type:"json",name:"headers",defaultValue:"{}"}],helpArticles:[{type:"text",text:"Learn how to connect your API to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17188672146205-How-To-Set-Up-API-Integration"}]}],["commonninja-form",{fields:[{label:"Select a Widget",type:"widget",name:"widgetId",defaultValue:"",required:!0}]}],["notion",{fields:[],requireAuth:!0,helpArticles:[{type:"text",text:"Learn how to connect your Notion tables to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/13175523474589-How-to-Set-the-Notion-Integration"}]}],["airtable",{fields:[],requireAuth:!0,helpArticles:[{type:"text",text:"Learn how to connect your Airtable tables to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/13216153244061-How-to-Set-the-Airtable-Integration"}]}],["google-drive",{fields:[],title:"Connect to Google Drive",disabled:!0,disabledMessage:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.R,{children:"The Google Drive integration is temporarily unavailable."}),(0,o.jsx)(r.R,{style:{marginTop:"10px"},children:"Meanwhile, please use the CSV integration to connect your Google Sheets."}),(0,o.jsx)(a.x,{style:{marginTop:"10px"},articles:[{text:"Learn how to connect your Google Sheet to \nCommon Ninja quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/12163662671389-CSV-Integration-Using-Google-Sheets"}]})]})}],["google-calendar",{fields:[],requireAuth:!0,helpArticles:[],connectButton:i,disclosure:(0,o.jsxs)(o.Fragment,{children:["Common Ninja use and transfer of information received from Google APIs to any other app will adhere to"," ",(0,o.jsx)("a",{target:"_blank",href:"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes",children:"Google API Services User Data Policy"}),", including the Limited Use requirements."]})}],["outlook-calendar",{fields:[],requireAuth:!0,helpArticles:[]}],["icalendar",{fields:[{label:"Enter .ics File URL",type:"url",name:"url",fileType:"ics",required:!0}],helpArticles:[]}],["vcalendar",{fields:[{label:"Enter .vcs File URL",type:"url",name:"url",fileType:"vcs",required:!0}],helpArticles:[]}],["zoom",{fields:[],requireAuth:!0,helpArticles:[]}],["mongodb",{fields:[{label:"Connection URL",type:"text",name:"connectionUrl",required:!0,placeholder:"mongodb+srv://user:password@server.com/"},{label:"Database Name",type:"text",name:"dbName",required:!0,placeholder:"my_database"}]}],["mysql",{fields:[{label:"Host",type:"text",name:"host",required:!0},{label:"User",type:"text",name:"user",required:!0},{label:"Password",type:"password",name:"password",required:!0},{label:"Database",type:"text",name:"database",required:!0}]}],["recaptcha",{fields:[{label:"Version",type:"select",name:"version",required:!0,defaultValue:"v3",options:[{value:"v3",label:"V3"}]},{label:"Site Key",type:"text",name:"siteKey",required:!0},{label:"Secret Key",type:"password",name:"secretKey",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect reCAPTCHA to your Common Ninja widget quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/18965883278877-How-To-Set-Up-Google-reCAPTCHA-Integration"}]}],["oopspam",{fields:[{label:"API Key",type:"password",name:"apiKey",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect OOPSpam to your Common Ninja widget quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/18907669347357-How-To-Set-Up-OOPSpam-Integration"}]}],["url-masking",{fields:[],helpArticles:[{type:"text",text:"Learn how to protect your files with URL Masking.",link:"https://help.commoninja.com/hc/en-us/articles/24717801868061-How-to-protect-your-files-with-URL-Masking"}]}],["one-drive",{fields:[],requireAuth:!0,helpArticles:[]}],["monday",{fields:[],requireAuth:!0,helpArticles:[]}],["wix-collection",{fields:[]}],["webflow-collection",{fields:[]}],["duda-collection",{fields:[]}],["google-analytics",{fields:[{type:"select",name:"tagType",label:"Tag Type",defaultValue:"ga4",required:!0,options:[{label:"Google Analytics 4",value:"ga4"},{label:"Google Tag Manager",value:"gtag"},{label:"Universal Analytics",value:"ua"}]},{type:"text",name:"tagId",label:e=>{const{platformIntegrationKeys:t}=e;switch(null===t||void 0===t?void 0:t.tagType){case"ga4":return"Measurement ID";case"ua":return"Tracking ID";case"gtag":return"Container ID"}return"Measurement ID"},placeholder:e=>{const{platformIntegrationKeys:t}=e;switch(null===t||void 0===t?void 0:t.tagType){case"ga4":return"G-XXXXXXXXXX";case"ua":return"UA-XXXXXXXXX-X";case"gtag":return"GTM-XXXXXXX"}return"G-XXXXXXXXXX"},defaultValue:"",required:!0,flow:"row"}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nGoogle Analytics quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17367671464349-How-To-Set-Up-Google-Analytics-Integration"}]}],["mixpanel",{fields:[{type:"text",name:"token",label:"Token",placeholder:"Enter your Mixpanel token",defaultValue:"",required:!0,flow:"row"}],helpArticles:[{link:"https://help.commoninja.com/hc/en-us/articles/16890449079965-How-To-Set-Up-The-Mixpanel-Integration",type:"text",text:"Learn how to connect your Common Ninja widget to Mixpanel quickly & easily."}]}],["zapier",{fields:[],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nZapier quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/15560596508957-How-to-set-the-Zapier-Integration"}]}],["slack",{requireAuth:!0,fields:[],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nSlack quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17693837394205-How-To-Set-Up-Slack-Integration"}]}],["discord",{requireAuth:!0,fields:[],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nDiscord quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17693964853789-How-To-Set-Up-The-Discord-Integration"}]}],["twilio",{fields:[{label:"Send to Number",placeholder:"+1234567890",type:"text",name:"toNumber",required:!0},{label:"My Twilio Phone Number",placeholder:"+1234567890",type:"text",name:"fromNumber",required:!0},{label:"Account SID",type:"password",name:"accountSid",required:!0},{label:"Auth Token",type:"password",name:"authToken",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nTwilio quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17967069482525-How-To-Set-the-Twilio-Integration"}]}],["microsoft-teams",{fields:[{label:"Webhook URL",type:"password",name:"webhookUrl",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nMicrosoft Teams quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/17966710257565-How-To-Set-the-Microsoft-Teams-Integration-Up"}]}],["mailchimp",{fields:[{type:"text",name:"apiKey",label:"API Key",placeholder:"Enter mailchimp API key",defaultValue:"",required:!0,flow:"row"}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nMailchimp quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/16084709016221"}]}],["mailerlite",{fields:[{type:"long-text",name:"apiKey",label:"API Key",placeholder:"Enter Mailerlite API key",defaultValue:"",required:!0,flow:"column"}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nMailerlite quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/18967816302493-How-to-Set-the-Mailerlite-Integration"}]}],["klaviyo",{fields:[{type:"password",name:"apiKey",label:"API Key",placeholder:"Enter Klaviyo API key",defaultValue:"",required:!0,flow:"column"}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nKlaviyo quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/18191289366685-How-to-Set-the-Klaviyo-Integration"}]}],["zendesk",{fields:[{type:"text",name:"accountName",label:"Account Name",placeholder:"zendesk Account name",defaultValue:"",required:!0,flow:"column",prefix:(0,o.jsx)("p",{style:{marginRight:"-7px"},children:"https://"}),suffix:(0,o.jsx)("p",{style:{marginLeft:"-7px"},children:".zendesk.com"})},{type:"text",name:"clientId",label:"Client ID",placeholder:"zendesk API Client ID",defaultValue:"",required:!0},{type:"password",name:"clientSecret",label:"Client Secret",placeholder:"zendesk API Client Secret",defaultValue:"",required:!0}],helpArticles:[{type:"text",text:"Learn how to connect your Common Ninja widget to \nZendesk quickly & easily.",link:"https://help.commoninja.com/hc/en-us/articles/18966644553501-How-to-Set-the-Zendesk-Integration"},{type:"text",text:"Learn how to obtain your Zendesk Client ID and Client Secret.",link:"https://help.commoninja.com/hc/en-us/articles/21923413147805-How-to-Obtain-Your-Zendesk-Client-ID-and-Client-Secret"}]}],["paypal-v2",{fields:[],customConnectButton:e=>{let{saveIntegration:t}=e;const{widgetId:n="",platform:r}=(0,d.U)(),[a,i]=(0,u.useState)(!1),g=(0,f.s)(),_=new p.J(g,r),y=(0,u.useRef)(null);async function v(e){try{const r=await _.getComponentIntegrations(n,"paypal-v2");if(!r.success)throw new Error(r.message);const[a]=(null===r||void 0===r?void 0:r.data)||[];if(null!==a&&void 0!==a&&a.isActive)return await t("connect",a),void i(!1);await async function(e){try{await c.A.post("".concat(m,"/paypal-v2/get-signup-status"),{widgetId:n,merchantId:e},{headers:{"Content-Type":"application/json"}})}catch(t){}}(e.merchantIdInPayPal)}catch(r){}window.setTimeout((()=>{v(e)}),3e3)}return(0,u.useEffect)((()=>{const e=e=>{if(e.data&&"CN_INTEGRATION_AUTH_DONE"===e.data.type){const t=e.data.payload;y.current&&(y.current.close(),y.current=null),v(t)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(s.$,{loading:a,disabled:a,onClick:async()=>{i(!0);const e=await async function(){if(n&&!a){try{h._.removeAll();const e=await c.A.post("".concat(m,"/paypal-v2/get-signup-url"),{widgetId:n},{headers:{"Content-Type":"application/json"}});if(!e)throw new Error("Cannot create url.");if(200!==e.status)throw new Error(e.data.message);if(!e.data.success)throw new Error(e.data.message);return e.data.data.url}catch(e){h._.error({message:e.message,autoDismiss:3})}return""}}();if(!e)return void i(!1);const t=window.open(e,"_blank","width=600,height=600");y.current=t},children:[(0,o.jsx)(l.Q,{}),"Connect to PayPal"]})})},helpArticles:[],disclosure:(0,o.jsxs)(o.Fragment,{children:["Common Ninja can take certain actions on the seller's PayPal account that are necessary for payments and refunds. for more informations see"," ",(0,o.jsx)("a",{target:"_blank",href:"https://www.paypal.com/us/legalhub/paypal/pp-ppa-new?locale.x=en_US",children:"PayPal Partner Program Agreement"})]})}]]),_=new Map([["payments","Payments"],["security","Security"],["data","Data"],["analytics","Analytics"],["automations","Automations"],["marketing","Marketing"],["calendar","Calendar"],["video","Video"],["communication","Communication & Messaging"],["crm","Customer Relationship Management"],["other","Other"]]),y=new Map([["paypal",{group:"payments",displayName:"PayPal (legacy)"}],["paypal-v2",{group:"payments",displayName:"PayPal"}],["stripe",{group:"payments",displayName:"Stripe"}],["commonninja-form",{group:"data",displayName:"Common Ninja Form",description:"Connect your widget to a Common Ninja Form. This allows you to display and manipulate data from your form widget."}],["csv",{group:"data",displayName:"CSV",description:"Directly link your widget to a remote CSV file. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your remote CSV file's URL."}],["api",{group:"data",displayName:"API",description:"Directly link your widget to an API. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your API endpoint URL."}],["mongodb",{group:"data",displayName:"MongoDB",description:"Directly link your widget to a MongoDB database. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your MongoDB connection URL."}],["mysql",{group:"data",displayName:"MySQL",description:"Directly link your widget to a MySQL database. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your MySQL credentials."}],["recaptcha",{group:"security",displayName:"reCAPTCHA",description:"Integrate reCAPTCHA into your widget to prevent spam and abuse."}],["oopspam",{group:"security",displayName:"OOPSpam",description:"Integrate OOPSpam into your widget to prevent spam and abuse."}],["url-masking",{group:"security",displayName:"URL Masking",description:"Protect your widget's assets from being accessed and downloaded by unauthorized users."}],["slack",{group:"communication",displayName:"Slack",description:"Connect your widget to Slack and receive live notifications on new submissions."}],["discord",{group:"communication",displayName:"Discord",description:"Connect your widget to Discord and receive live notifications on new submissions"}],["microsoft-teams",{group:"communication",displayName:"Microsoft Teams",description:"Connect your widget to Microsoft Teams and receive live notifications on new submissions"}],["twilio",{group:"communication",displayName:"Twilio",description:"Connect your widget to Twilio and receive live notifications on new submissions"}],["google-drive",{group:"data",displayName:"Google Drive",description:"Connect your widget to a CSV file from Google Drive."}],["google-calendar",{group:"calendar",displayName:"Google Calendar",description:"Connect your widget to a Google Calendar, schedule, update, and retrieve events."}],["outlook-calendar",{group:"calendar",displayName:"Outlook Calendar",description:"Connect your widget to a Outlook Calendar, schedule, update, and retrieve events."}],["icalendar",{group:"calendar",displayName:"iCalendar",description:"Connect your widget to an iCalendar file. This allows you to display and manipulate data from your iCalendar file."}],["vcalendar",{group:"calendar",displayName:"vCalendar",description:"Connect your widget to a vCalendar file. This allows you to display and manipulate data from your vCalendar file."}],["zoom",{group:"video",displayName:"Zoom",description:"Connect your widget to Zoom and create video meetings."}],["one-drive",{group:"data",displayName:"One Drive",description:"Connect your widget to a CSV file from One Drive."}],["notion",{group:"data",displayName:"Notion",description:"Connect your widget to a Notion Database. This allows you to display and manipulate data from your Notion database."}],["airtable",{group:"data",displayName:"Airtable",description:"Connect your widget to an Airtable database. This allows you to display and manipulate data from your Airtable database."}],["monday",{group:"data",displayName:"Monday",description:(0,o.jsxs)(o.Fragment,{children:["Connect your widget to a Monday board. This allows you to display and manipulate data from your Monday board. ",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("strong",{children:"Important"}),': Before clicking the "Connect Widget" button, please make sure'," ",(0,o.jsx)("a",{href:"https://auth.monday.com/oauth2/authorize?client_id=87a6b0ebf901433684afa95c8fc872e9&response_type=install",target:"_blank",children:"our app is installed"})," ","on your account."]})}],["wix-collection",{group:"data",displayName:"Wix Collection",description:"Connect your widget to a Wix Collection. This allows you to display and manipulate data from your Wix site's database."}],["webflow-collection",{group:"data",displayName:"Webflow Collection",description:"Connect your widget to a Webflow Collection. This allows you to display and manipulate data from your Webflow site's database."}],["duda-collection",{group:"data",displayName:"Duda Collection",description:"Connect your widget to a Duda Collection. This allows you to display and manipulate data from your Duda site's database."}],["google-analytics",{group:"analytics",displayName:"Google Analytics",description:"Connect your widget to a Google Analytics, track events and conversions."}],["mixpanel",{group:"analytics",displayName:"Mixpanel",description:"Connect your widget to a Mixpanel, track events and conversions."}],["zapier",{group:"automations",displayName:"Zapier",description:"Connect your widget to Zapier and automate your workflow."}],["mailchimp",{group:"marketing",displayName:"Mailchimp",description:(0,o.jsxs)(o.Fragment,{children:["Connect your form to Mailchimp to collect leads automatically."," ",(0,o.jsx)("a",{href:"https://us21.admin.mailchimp.com/account/api/",target:"_blank",children:"Click here to get your API key"})," ","from Mailchimp."]})}],["mailerlite",{group:"marketing",displayName:"Mailerlite",description:(0,o.jsx)(o.Fragment,{children:"Connect your form to Mailerlite to collect leads automatically. "})}],["klaviyo",{group:"marketing",displayName:"Klaviyo",description:(0,o.jsx)(o.Fragment,{children:"Connect your form to Klaviyo to collect leads automatically. "})}],["rss",{group:"data",displayName:"RSS",description:"Directly link your widget to a RSS feed. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your RSS feed's URL."}],["xml",{group:"data",displayName:"XML",description:"Directly link your widget to a remote XML feed. Useful for real-time data fetching, analysis, and manipulation. To connect, simply input your remote XML feed's URL."}],["zendesk",{group:"crm",displayName:"Zendesk",description:"Connect your form to zendesk to create tickets automatically."}]])},49591:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});let r=function(e){return e.WIDGET_LOAD="widget-load",e.WIDGET_VIEW="widget-view",e}({})},85881:(e,t,n)=>{"use strict";n.d(t,{R:()=>S});var r=n(34905),a=n(65656),o=n(36821),i=n(95916),s=n(92878),l=n(83451),c=n(92889),u=n(35692),d=n(10531),f=n(41096),p=n(7536),h=n(4130),m=n(29254),g=n(80049),_=n(14994),y=n(31182),v=n(30979),E=n(49591),b=n(41671),w=n(5897),P=n(99277);let C=null;const S=e=>{var t;let{routeParams:n,isGallery:S=!1,style:R}=e;const A=(0,u.o)(),{plugin:T,setPlugin:k,context:{mode:x},setContext:N,setPluginIsLoading:I}=(0,r.useContext)(y.B),{reportEvent:L}=(0,f.i)(),O=(0,l.r)(),{plugin:{defaultData:U,skinToStyles:F,ssr:V}}=O,j=new g.z(O.meta),M=new _.K(O.meta),D=new m.s,z=new h.US(O.meta),G=new p.U(O.meta),{meta:{type:B,serviceName:H}}=O,{pluginId:W="",galleryId:K,platform:Q}=n||(0,d.L)(),Y=(null===T||void 0===T?void 0:T.guid)||W||"",{platform:J,widgetInViewport:q=!1,eventsReported:Z=[]}=(0,c.U)(),X=(0,d.I)(),$=Q||J,ee=V&&"wix"!==$,[te,ne]=(0,r.useState)(!ee),[re,ae]=(0,r.useState)(""),{loaderComponent:oe}=O.plugin,ie=(0,w.$)((null===O||void 0===O||null===(t=O.viewer)||void 0===t?void 0:t.props)||{},T),{dataRefreshTTL:se,muteEvents:le,postGetDataProcess:ce=e=>e,onLoad:ue}=ie,de=(0,d.I)().get("projectId")||"";function fe(){!se||se<1e3||(C&&clearTimeout(C),C=setTimeout((()=>{_e(!0)}),se))}async function pe(e){const t=e.message.pluginData;if(!t||!t.data)return;const n=await ce(t);k(n,!1,!0),I(!1)}function he(e,t){le||null!==Z&&void 0!==Z&&Z.includes(t)||(z.postEventToParent("COMMONNINJA_PLUGIN_LOADED",e,t),N({eventsReported:[...Z,t]}))}async function me(e){A.pluginId=e.guid,D.widgetId=e.guid,N({projectId:e.projectId||de||"",widgetId:e.guid||"",mode:S?"gallery":"viewer",isInFrame:(0,s.G)(e.guid),platform:$||("website"!==e.creationSource?e.creationSource:void 0)}),await(null===ue||void 0===ue?void 0:ue(e)),se&&fe(),he(e.guid,h.AU.IMPRESSION)}async function ge(){var e,t;if("function"!==typeof F)return null===(t=U.data)||void 0===t?void 0:t.styles;let n=(null===(e=U.data)||void 0===e?void 0:e.colorScheme)||a.yg,r={colors:{},styles:U.data.styles,slug:O.meta.slug};try{const e=X.get("aisid");if(e){var i,s,l;const{analysis:t}=await G.getAIWebsiteAnalysis(e),{design:a={}}=t||{};if(r={...r,...null===a||void 0===a?void 0:a.styles},a.typography&&a.typography.primaryFont){r.fonts=[];const e=(0,o.VC)(a.typography.primaryFont).id;if(e&&"default"!==e&&(r.fonts=[e]),a.typography.secondaryFont){const e=(0,o.VC)(a.typography.secondaryFont).id;e&&"default"!==e&&r.fonts.push(e)}r.fonts.length&&(r.styles.fontId=r.fonts[0])}n={accent:(null===a||void 0===a||null===(i=a.colors)||void 0===i?void 0:i.primary)||n.accent,background:(null===a||void 0===a||null===(s=a.colors)||void 0===s?void 0:s.background)||n.background,text:(null===a||void 0===a||null===(l=a.colors)||void 0===l?void 0:l.text)||n.text}}}catch(u){console.error(u)}const c=(0,a.Mw)(n);return r.colors=c,{styles:F(r),colorScheme:n}}async function _e(e){ae(""),ne(!e),I(!0);try{let e={success:!1};if("wix"!==Q||K)if(Y)e=await j.get(Y);else if(K)e=await j.getByGalleryId(K,!0);else{if(!U)throw new Error("Plugin ID is not defined");var t;if("function"===typeof F&&null!==(t=U.data)&&void 0!==t&&t.styles){const e=await ge();U.data.styles=e.styles,U.data.colorScheme=e.colorScheme}e={success:!0,data:U}}else e=await M.get();if(!e||!e.success){if(Y||K)throw new Error(e.message||"Could not load plugin.");var n;if("function"===typeof F&&null!==(n=U.data)&&void 0!==n&&n.styles){const e=await ge();U.data.styles=e.styles,U.data.colorScheme=e.colorScheme}e={success:!0,data:U}}const r=e.data;let a=await ce(r);a=await(0,i.KE)(a),k(a,!1,!0),me(a)}catch(r){ae(r.message)}ne(!1),I(!1)}return(0,r.useEffect)((()=>{ee?me(T):window.setTimeout((()=>{_e(!1)}),100)}),[K,Y]),(0,r.useEffect)((()=>{(q||"gallery"===x)&&(he(Y,h.AU.VIEW),L(E.w.WIDGET_VIEW))}),[q,x]),(0,r.useEffect)((()=>{se&&fe()}),[se]),(0,r.useEffect)((()=>{if("undefined"!==typeof window)return"wix"===$&&("undefined"!==typeof window.Wix?window.Wix.addEventListener(window.Wix.Events.SETTINGS_UPDATED,pe):window.setTimeout((()=>{"undefined"!==typeof window.Wix&&window.Wix.addEventListener(window.Wix.Events.SETTINGS_UPDATED,pe)}),1e4)),()=>{C&&clearTimeout(C),"wix"===$&&"undefined"!==typeof window.Wix&&window.Wix.removeEventListener(window.Wix.Events.SETTINGS_UPDATED,pe)}}),[]),te?oe||(0,P.jsx)(P.Fragment,{}):re?(0,P.jsx)(v.M,{error:re}):T?(0,P.jsx)(b.R,{routeParams:n,style:R}):(0,P.jsx)(P.Fragment,{})}},41671:(e,t,n)=>{"use strict";n.d(t,{R:()=>Re});var r=n(84483),a=n.n(r),o=n(95216),i=n.n(o),s=n(34905),l=n(25096),c=function(e,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},c(e,t)};function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=t||n<0||d&&e-c>=o}function m(){var e=W();if(h(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?Y(n,o-(e-c)):n}(e))}function g(e){return s=void 0,f&&r?p(e):(r=a=void 0,i)}function _(){var e=W(),n=h(e);if(r=arguments,a=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?p(e):i}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),p(l)}return void 0===s&&(s=setTimeout(m,t)),i}return t=K(t)||0,H(n)&&(u=!!n.leading,o=(d="maxWait"in n)?Q(K(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),_.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=a=s=void 0},_.flush=function(){return void 0===s?i:g(W())},_},q=J,Z=h;var X=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Z(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),q(e,t,{leading:r,maxWait:t,trailing:a})},$=function(e,t,n,r){switch(t){case"debounce":return J(e,n,r);case"throttle":return X(e,n,r);default:return e}},ee=function(e){return"function"===typeof e},te=function(){return"undefined"===typeof window},ne=function(e){return e instanceof Element||e instanceof HTMLDocument},re=function(e,t,n,r){return function(a){var o=a.width,i=a.height;t((function(t){return t.width===o&&t.height===i||t.width===o&&!r||t.height===i&&!n?t:(e&&ee(e)&&e(o,i),{width:o,height:i})}))}};!function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!te()){t&&t.current&&(n.targetRef.current=t.current);var a=n.getElement();a&&(n.observableElement&&n.observableElement===a||(n.observableElement=a,n.resizeObserver.observe(a,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(te())return null;if(t)return document.querySelector(t);if(r&&ne(r))return r;if(n.targetRef&&ne(n.targetRef.current))return n.targetRef.current;var a=(0,l.findDOMNode)(n);if(!a)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return a;default:return a.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,a=void 0===r||r,o=t.handleHeight,i=void 0===o||o,s=t.onResize;if(a||i){var l=re(s,n.setState.bind(n),a,i);e.forEach((function(e){var t=e&&e.contentRect||{},r=t.width,a=t.height;!n.skipOnMount&&!te()&&l({width:r,height:a}),n.skipOnMount=!1}))}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return ee(t)?"renderProp":ee(r)?"childFunction":(0,s.isValidElement)(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,a=t.refreshMode,o=t.refreshRate,i=void 0===o?1e3:o,c=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=(0,s.createRef)(),n.observableElement=null,te()||(n.resizeHandler=$(n.createResizeHandler,a,i,c),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}u(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){te()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e,t=this.props,n=t.render,r=t.children,a=t.nodeType,o=void 0===a?"div":a,i=this.state,l={width:i.width,height:i.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(l);case"childFunction":return(e=r)(l);case"child":if((e=r).type&&"string"===typeof e.type){var c=f(l,["targetRef"]);return(0,s.cloneElement)(e,c)}return(0,s.cloneElement)(e,l);case"childArray":return(e=r).map((function(e){return!!e&&(0,s.cloneElement)(e,l)}));default:return s.createElement(o,null)}}}(s.PureComponent);var ae=te()?s.useEffect:s.useLayoutEffect;var oe,ie,se=n(74003),le=n(36821),ce=n(31026),ue=n(83451),de=n(86032),fe=n(92889),pe=n(75955),he=n(10531),me=n(41096),ge=n(93144),_e=n(31182),ye=n(49591),ve=n(69744),Ee=n(5897),be=n(73972),we=n(9215);const Pe=we.default.div(oe||(oe=(0,be.A)(["\n\t","\n"])),(e=>{let{customStyles:t=""}=e;return(0,we.css)(ie||(ie=(0,be.A)(["\n\t\tbackground: no-repeat center center;\n\t\tbackground-size: cover;\n\t\tcolor: initial;\n\n\t\t/* \n\t\t\tA workaround for displaying the same widget multiple times on a page\n\t\t\tNo longer needed (hopefully) \n\t\t*/\n\t\t/* + .plugin-wrapper {\n\t\t\tdisplay: none;\n\n\t\t\t+ .commonninja-ribbon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t} */\n\n\t\t","\n\t"])),t)}));var Ce=n(99277);const Se=(0,s.lazy)((()=>n.e(98945).then(n.bind(n,98945)).then((e=>({default:e.InWidgetCNWatermark}))))),Re=e=>{var t;let{ignoreCustomCSS:n,routeParams:r,style:o}=e;const l=(0,ue.r)(),{reportEvent:c}=(0,me.i)(),{reportWidgetPerformance:u}=(0,ge.W)(),{isInFrame:f,mode:p}=(0,fe.U)(),{meta:{isOverTheCanvas:h}}=(0,ue.r)(),{plugin:m,setContext:g,siteVisitorContext:_,setSiteVisitorContext:y}=(0,s.useContext)(_e.B),v=(0,pe.Z)(),{styles:E,displayRules:b}=m.data,{getDeviceStyle:w}=(0,de.L)(E),P=(0,ce._)(),C={...w("background")||w("mainWrapper")||{}},[S,R]=(0,s.useState)([]),{pluginId:A="",galleryId:T="",platform:k,tempSlug:x}=r||(0,he.L)(),N=(null===m||void 0===m?void 0:m.guid)||A||"",{platform:I}=(0,fe.U)(),L=k||I,O=(0,Ee.$)((null===l||void 0===l||null===(t=l.viewer)||void 0===t?void 0:t.props)||{},m),{viewerSettings:U={}}=O,{inlineElm:F=!1,viewerSelector:V=".plugin-wrapper.viewer",minHeight:j=0,maxHeight:M=0,minWidth:D=0,maxWidth:z=0,ignoreFrameResize:G=!1,onFrameResize:B=()=>{}}=U;function H(e,t){let n=t>j?t:j,r=e>D?e:D;return M>0&&n>M&&(n=M),z>0&&r>z&&(r=z),{width:r,height:n}}const W=(0,s.useCallback)((function(){const e=(null===K||void 0===K?void 0:K.current)||document.querySelector(V);if(!e)return;const{width:t,height:n}=e.getBoundingClientRect(),{width:r,height:a}=H(t,n);"undefined"!==typeof window&&"wix"===L&&"undefined"!==typeof window.Wix&&(G||window.Wix.setHeight(a)),null===B||void 0===B||B(r,a)}),[V,j,D,M,z,G,F,B,L,N,g]),{ref:K,width:Q,height:Y}=function(e){void 0===e&&(e={});var t=e.skipOnMount,n=void 0!==t&&t,r=e.refreshMode,a=e.refreshRate,o=void 0===a?1e3:a,i=e.refreshOptions,l=e.handleWidth,c=void 0===l||l,u=e.handleHeight,f=void 0===u||u,p=e.targetRef,h=e.observerOptions,m=e.onResize,g=(0,s.useRef)(n),_=(0,s.useRef)(null),y=null!==p&&void 0!==p?p:_,v=(0,s.useRef)(),E=(0,s.useState)({width:void 0,height:void 0}),b=E[0],w=E[1];return ae((function(){if(!te()){var e=re(m,w,c,f);v.current=$((function(t){(c||f)&&t.forEach((function(t){var n=t&&t.contentRect||{},r=n.width,a=n.height;!g.current&&!te()&&e({width:r,height:a}),g.current=!1}))}),r,o,i);var t=new window.ResizeObserver(v.current);return y.current&&t.observe(y.current,h),function(){t.disconnect();var e=v.current;e&&e.cancel&&e.cancel()}}}),[r,o,i,c,f,m,h,y.current]),d({ref:y},b)}({refreshMode:"debounce",refreshRate:100,onResize:W});function J(){const e="cn-scroll-tracker";let t=document.getElementById(e);t||(t=document.createElement("div"),t.id=e,t.style.width="0px",t.style.height="0px",t.style.overflow="hidden",document.body.insertBefore(t,document.body.firstChild));const n=document.querySelector("#main-body")||document.querySelector("#main")||document.body;if(!t)return;const r=n.scrollHeight-window.innerHeight,a=-t.getBoundingClientRect().top,o=Math.round(a/r*100);y({scrollPercentage:o})}P&&"default"!==P.id&&(C.fontFamily=P.family),(0,s.useEffect)((()=>{S.forEach((e=>{const t=[...v,...le.RM].find((t=>t.url===e));t&&(0,le.hx)(t)}))}),[S]),(0,s.useEffect)((()=>{(0,le.hx)(P)}),[P]),(0,s.useEffect)((()=>{let e=Q||0;try{var t;const o=null===(t=K.current)||void 0===t?void 0:t.getRootNode();if(o instanceof ShadowRoot){var n;const t=null===(n=o.host)||void 0===n?void 0:n.parentElement;if(t&&window.getComputedStyle(t).display.includes("flex")){const n=t.getBoundingClientRect().width||0;n>0&&(e=n)}else{var r;const t=(null===(r=o.host)||void 0===r?void 0:r.getBoundingClientRect().width)||0;if(t>0&&(e=t),!e){var a;let t=null===(a=o.host)||void 0===a?void 0:a.parentElement;for(;t;){const n=t.getBoundingClientRect().width;if(n>0){e=n;break}t=t.parentElement}}}}}catch(l){}if(!e)try{var o;let t=null===(o=K.current)||void 0===o?void 0:o.parentElement;for(;t;){const n=t.getBoundingClientRect().width;if(n>0){e=n;break}t=t.parentElement}}catch(l){}if(!e)return;const{width:i,height:s}=H(e,Y||0);if(i>0&&s>0&&g({widgetDimensions:{width:i,height:s}}),"viewer"===p||"gallery"===p){let e="desktop";i&&(i<480?e="mobile":i<1024&&(e="tablet"),y({device:e}))}}),[Q,Y]),(0,s.useEffect)((()=>{const e=(0,le.Ev)(m.data);R(e)}),[m.data]),(0,s.useEffect)((()=>{var e,t;null===l||void 0===l||null===(e=(t=l.plugin).onMount)||void 0===e||e.call(t,m,!1)}),[m]),(0,s.useEffect)((()=>{var e,t;null===l||void 0===l||null===(e=(t=l.plugin).onMount)||void 0===e||e.call(t,m,!0),function(){if("undefined"!==typeof window&&!window.location.href.includes("/editor/")&&(f||"preview"===p||"viewer"===p||"gallery"===p||T||x)){if(!P)return;(0,se.sB)("cn-global-styles","\n\t\t\t#nindo-popup-portal, #nindo-drawer-portal {\n\t\t\t\tfont-family: ".concat(P.family||'"Open Sans"',";\n\t\t\t\tline-height: 1.3;\n\t\t\t\tz-index: 1000100;\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t"))}}(),u();const n=setTimeout((()=>{c(ye.w.WIDGET_LOAD)}),1e3);return()=>{clearTimeout(n)}}),[]),(0,s.useEffect)((()=>{const e=((null===_||void 0===_?void 0:_.language)||"default").toLowerCase();g({language:e})}),[_.language]),(0,s.useEffect)((()=>{g({language:(0,ve.PY)(m.data.localization,p,L,f)});const e=new IntersectionObserver((e=>{let[t]=e;g({widgetInViewport:t.isIntersecting})}),{threshold:.1});return K.current&&e.observe(K.current),()=>{K.current&&e.unobserve(K.current)}}),[]),(0,s.useEffect)((()=>{var e,t;if(null===b||void 0===b||null===(e=b.triggers)||void 0===e||null===(t=e.pageScroll)||void 0===t||!t.active)return;const n=i()(J,200);return window.addEventListener("scroll",n),n(),()=>{window.removeEventListener("scroll",n)}}),[b]);const q="widget-".concat(m.guid||"temp"),Z=f&&"viewer"!==p?"body":".".concat(q),X=T||x||f?(e=>"\nbody {\n\tpadding: 0;\n\tmargin: 0;\n\tborder: 0;\n\toutline: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tfont-family: ".concat(e.family||'"Open Sans"',";\n\tvertical-align: baseline;\n\tbackground: transparent;\n\tline-height: 1.3;\n}\n"))(P):"";return(0,Ce.jsxs)(Pe,{className:a()("plugin-wrapper",q,p,_.device,{iframe:f}),style:{...o,...C},ref:K,customStyles:l.plugin.customStyles,children:[(f||"preview"===p||"viewer"===p||"gallery"===p||T||x)&&(0,Ce.jsx)("style",{dangerouslySetInnerHTML:{__html:(0,se.Zg)(Z,P,X)}}),!n&&w("customCSS")&&(0,Ce.jsx)("style",{dangerouslySetInnerHTML:{__html:(w("customCSS")||"").replace(/.plugin-wrapper/g,".".concat(q)).replace(/#plugin-wrapper/g,".".concat(q))}}),_.device||f||"editor"===p||"preview"===p?l.plugin.pluginComponent:(0,Ce.jsx)(Ce.Fragment,{}),!h&&("wix"===L||"preview"===p)&&(0,Ce.jsx)(s.Suspense,{fallback:(0,Ce.jsx)(Ce.Fragment,{}),children:(0,Ce.jsx)(Se,{})})]})}},96329:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(34905),a=n(92878),o=n(10531),i=n(31182),s=n(85881),l=n(99277);const c=e=>{let{routeParams:t,style:n}=e;const{siteVisitorContext:c,setSiteVisitorContext:u,setContext:d,plugin:f}=(0,r.useContext)(i.B),{platform:p,pluginId:h}=t||(0,o.L)(),m=(null===f||void 0===f?void 0:f.guid)||h||"";function g(e){try{if("string"!==typeof e.data)return;const t=JSON.parse(e.data);if("COMMONNINJA_USER_CONTEXT_UPDATED"===t.type){const e="string"===typeof t.userContext?JSON.parse(t.userContext):t.userContext;delete e.device,delete e.language,u({empty:!1,...e||{}})}}catch(e){}}return(0,r.useEffect)((()=>(window.addEventListener("message",g),d({projectId:(null===f||void 0===f?void 0:f.projectId)||"",widgetId:m,mode:"viewer",platform:p||"nindo",isInFrame:(0,a.G)(m)}),()=>{window.removeEventListener("message",g)})),[]),(0,l.jsx)(s.R,{routeParams:t,style:n})}},5897:(e,t,n)=>{"use strict";function r(e,t){return e?"function"===typeof e?e(t):e:{}}n.d(t,{$:()=>r})},69744:(e,t,n)=>{"use strict";n.d(t,{PY:()=>i,Y3:()=>r,YW:()=>o});const r=[{code:"en-US",name:"English (United States)",native:"English"},{code:"en-GB",name:"English (United Kingdom)",native:"English"},{code:"es-ES",name:"Spanish (Spain)",native:"Espa\xf1ol"},{code:"es-MX",name:"Spanish (Mexico)",native:"Espa\xf1ol"},{code:"fr-FR",name:"French (France)",native:"Fran\xe7ais"},{code:"ru-RU",name:"Russian (Russia)",native:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{code:"de-DE",name:"German (Germany)",native:"Deutsch"},{code:"it-IT",name:"Italian (Italy)",native:"Italiano"},{code:"pt-BR",name:"Portuguese (Brazil)",native:"Portugu\xeas"},{code:"nl-NL",name:"Dutch (Netherlands)",native:"Nederlands"},{code:"sv-SE",name:"Swedish (Sweden)",native:"Svenska"},{code:"pl-PL",name:"Polish (Poland)",native:"Polski"},{code:"cs-CZ",name:"Czech (Czech Republic)",native:"\u010ce\u0161tina"},{code:"hu-HU",name:"Hungarian (Hungary)",native:"Magyar"},{code:"ro-RO",name:"Romanian (Romania)",native:"Rom\xe2n\u0103"},{code:"ar-SA",name:"Arabic (Saudi Arabia)",native:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},{code:"he-IL",name:"Hebrew (Israel)",native:"\u05e2\u05d1\u05e8\u05d9\u05ea"},{code:"tr-TR",name:"Turkish (Turkey)",native:"T\xfcrk\xe7e"},{code:"el-GR",name:"Greek (Greece)",native:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},{code:"th-TH",name:"Thai (Thailand)",native:"\u0e44\u0e17\u0e22"},{code:"vi-VN",name:"Vietnamese (Vietnam)",native:"Ti\u1ebfng Vi\u1ec7t"},{code:"fi-FI",name:"Finnish (Finland)",native:"Suomi"},{code:"no-NO",name:"Norwegian (Norway)",native:"Norsk"},{code:"nb-NO",name:"Norwegian Bokm\xe5l (Norway)",native:"Norsk Bokm\xe5l"},{code:"da-DK",name:"Danish (Denmark)",native:"Dansk"},{code:"zh-CN",name:"Chinese (Simplified)",native:"\u7b80\u4f53\u4e2d\u6587"},{code:"zh-HK",name:"Chinese (Traditional)",native:"\u7e41\u9ad4\u4e2d\u6587"},{code:"ja-JP",name:"Japanese (Japan)",native:"\u65e5\u672c\u8a9e"},{code:"sk-SK",name:"Slovak (Slovakia)",native:"Sloven\u010dina"},{code:"nl-BE",name:"Dutch (Belgium)",native:"Nederlands"},{code:"bg-BG",name:"Bulgarian (Bulgaria)",native:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},{code:"en-CA",name:"English (Canada)",native:"English"},{code:"id-ID",name:"Indonesian (Indonesia)",native:"Bahasa Indonesia"},{code:"de-CH",name:"German (Switzerland)",native:"Deutsch"},{code:"lt-LT",name:"Lithuanian (Lithuania)",native:"Lietuvi\u0173"}],a=(e,t)=>{var n;if(!t)return"";const a=t.toLowerCase().replace("_","-");return e.find((e=>"default"!==e&&e.toLowerCase().startsWith(a)))||(null===(n=r.find((e=>e.code.toLowerCase().startsWith(a))))||void 0===n?void 0:n.code)||""};function o(e,t,n,r){var a,o,i;return n&&((null===(a=(null===e||void 0===e||null===(o=e.languages)||void 0===o?void 0:o[t])||(null===e||void 0===e||null===(i=e.languages)||void 0===i?void 0:i.default))||void 0===a?void 0:a[n])||r)||""}function i(e,t,n,r){let o="default";if("editor"===t)return o;const{languages:i={}}=e||{},s=Object.keys(i);if([o]="undefined"!==typeof navigator?navigator.languages:["default"],"shopify"===n){var l,c;const e=(null===(l=window)||void 0===l||null===(c=l.Shopify)||void 0===c?void 0:c.locale)||"";o=a(s,e)||o}else if("wix"===n){const e=new URL(window.location.href),t=e.searchParams.get("lang")||e.searchParams.get("locale")||"";o=a(s,t)||o}else{const e=/\/([a-zA-Z]{2}(?:[-_][a-zA-Z]{2})?)(\/|$)/,t=/^(?:http[s]?:\/\/)?([a-zA-Z]{2}(?:[-_][a-zA-Z]{2})?)\.[^\/]+/,n=window.location.href.match(e),r=window.location.href.match(t);let i;null!==n&&void 0!==n&&n[1]?i=n[1]:null!==r&&void 0!==r&&r[1]&&(i=r[1]),i&&(o=a(s,i)||o)}return(o||"default").toLowerCase()}},90057:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(94444),a=n(99277);function o(e){if(!e.message&&!e.title)return e.title;const t=(n=e.title,r=e.message,o=e.children,()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{style:{margin:0},children:(0,a.jsx)("strong",{children:n})}),(r||o)&&(0,a.jsxs)("div",{style:{margin:0},children:[r,"\xa0",o]})]}));var n,r,o;return(0,a.jsx)(t,{})}const i=new class{constructor(e){this.toast=void 0,this.toast=e}success(e){var t;null===(t=this.toast)||void 0===t||t.success(o(e),{autoClose:"number"===typeof e.autoDismiss&&1e3*e.autoDismiss,closeButton:!!e.autoDismiss,closeOnClick:!!e.autoDismiss,toastId:e.uid})}error(e){var t;null===(t=this.toast)||void 0===t||t.error(o(e),{autoClose:"number"===typeof e.autoDismiss&&1e3*e.autoDismiss,closeButton:!!e.autoDismiss,closeOnClick:!!e.autoDismiss,toastId:e.uid})}warning(e){var t;null===(t=this.toast)||void 0===t||t.warning(o(e),{autoClose:"number"===typeof e.autoDismiss&&1e3*e.autoDismiss,closeButton:!!e.autoDismiss,closeOnClick:!!e.autoDismiss,toastId:e.uid})}info(e){var t;null===(t=this.toast)||void 0===t||t.info(o(e),{autoClose:"number"===typeof e.autoDismiss&&1e3*e.autoDismiss,closeButton:!!e.autoDismiss,closeOnClick:!!e.autoDismiss,toastId:e.uid})}show(e){var t;null===(t=this.toast)||void 0===t||t.call(this,o(e),{autoClose:"number"===typeof e.autoDismiss&&1e3*e.autoDismiss,closeButton:!!e.autoDismiss,closeOnClick:!!e.autoDismiss,toastId:e.uid})}hide(e){var t;null===(t=this.toast)||void 0===t||t.dismiss(e)}removeAll(){var e;null===(e=this.toast)||void 0===e||e.dismiss()}}(r.oR)},81181:(e,t,n)=>{"use strict";n.d(t,{CS:()=>o,E2:()=>s,J1:()=>i,O4:()=>r,QX:()=>a});const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("string"===typeof e)return e;if(null===e||void 0===e||!e.length)return"";let n=e[0];if(e.length>1){const r=e.length,a=e.map(((e,t)=>{let n=100;return n=t===r-1?100:0===t?0:100/r*t,"".concat(e," ").concat(n,"%")})).join(", ");n="linear-gradient(".concat(t,"deg, ").concat(a,")")}return n};function a(e){if(e)return e.startsWith("#")?e:"#".concat(e)}function o(e){const t={...e};return Object.keys(t).forEach((e=>{void 0!==t[e]&&""!==t[e]&&null!==t[e]||delete t[e]})),t}function i(e){const t=s(e).map((e=>e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)));return.2126*t[0]+.7152*t[1]+.0722*t[2]}function s(e){const t=parseInt(e.slice(1),16);return[(t>>16&255)/255,(t>>8&255)/255,(255&t)/255]}},44796:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(4130),a=n(92878);class o{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.G)(t);this.eventService=void 0,this.pluginId="",t&&(this.pluginId=t),this.eventService=new r.US(e,n||(0,a.G)())}postEventToParent(e,t){return this.eventService.postEventToParent(e,this.pluginId,t)}reportEngagementEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"CLICK";this.pluginId&&this.eventService.postEventToParent("COMMONNINJA_ENGAGEMENT_EVENT",this.pluginId,{eventType:n,eventSubType:e.toLowerCase().replace(/ /g,"-"),entityPath:t})}reportPerformanceEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WIDGET_LOAD_DURATION";this.pluginId&&this.eventService.postEventToParent("COMMONNINJA_PERFORMANCE_EVENT",this.pluginId,{eventType:n,componentType:e,value:t})}dispatchEventToFrame(e,t){this.eventService.postEventToParent("COMMONNINJA_DISPATCH_ACTION_TO_FRAME",this.pluginId,{frameId:e,action:t})}installWidgetGloballyFromIframe(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.eventService.postEventToParent("COMMONNINJA_HANDLE_GLOBAL_WIDGET",this.pluginId,{iframeSrc:window.location.href,preservePosition:e})}updateViewerDimensions(e,t){const n={width:void 0,height:void 0};"number"===typeof e&&(n.height=e),"number"===typeof t&&(n.width=t),this.eventService.postEventToParent("COMMONNINJA_DIMENSIONS_UPDATE",this.pluginId,n)}updateViewerStyles(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;this.eventService.postEventToParent("COMMONNINJA_STYLES_UPDATE",this.pluginId,{styles:e,elmToUpdate:t})}scrollTo(e,t){this.eventService.postEventToParent("COMMONNINJA_SCROLL_TO",this.pluginId,{scrollType:e,scrollParams:t})}openFrame(e){let{popupId:t,url:n,overlayStyles:r={},iframeStyles:a={}}=e;this.eventService.postEventToParent("COMMONNINJA_OPEN_POPUP",this.pluginId,{popupId:t,url:n,iframeStyles:a,overlayStyles:r})}updateFrameStyles(e){let{popupId:t,overlayStyles:n,iframeStyles:r}=e;const a={};r&&(a.iframeStyles=r),n&&(a.overlayStyles=n),this.eventService.postEventToParent("COMMONNINJA_UPDATE_POPUP_STYLES",this.pluginId,{popupId:t,...a})}openFrameModal(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.openFrame({popupId:e,url:t,overlayStyles:{display:n?"none":"block",zIndex:99999,height:"100%",width:"100%",position:"fixed",top:"0",left:"0"},iframeStyles:{position:"absolute",width:"100%",height:"100%",top:"0",left:"0"}})}toggleFrameModal(e,t){this.updateFrameStyles({popupId:e,overlayStyles:{display:t?"block":"none"}})}openFrameDrawer(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"right";this.openFrame({popupId:e,url:t,overlayStyles:{display:n?"none":"block",zIndex:99999,position:"fixed",left:"0",top:"0",width:"100%",height:"100%",background:"rgba(0,0,0,0.85)",opacity:n?"0":"1",transition:"opacity 0.2s ease"},iframeStyles:{zIndex:999,position:"absolute",top:"0",["left"===r?"left":"right"]:"0",height:"100%",maxWidth:"100%",width:"440px",overflow:"auto",boxShadow:"0 0 5px rgba(0,0,0,0.7)",opacity:n?"0":"1",transition:"all 0.2s ease 0.2s",background:"#fff",transform:n?"right"===r?"translateX(100%)":"translateX(-100%)":"translateX(0)"}})}toggleFrameDrawer(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"right";var r,a;t?(this.updateFrameStyles({popupId:e,overlayStyles:{display:"block"}}),null===(r=window)||void 0===r||r.setTimeout((()=>{var t;this.updateFrameStyles({popupId:e,overlayStyles:{opacity:"1"}}),null===(t=window)||void 0===t||t.setTimeout((()=>{this.updateFrameStyles({popupId:e,iframeStyles:{opacity:"1",transform:"translateX(0)"}})}),200)}),10)):(this.updateFrameStyles({popupId:e,iframeStyles:{transform:"right"===n?"translateX(100%)":"translateX(-100%)"}}),null===(a=window)||void 0===a||a.setTimeout((()=>{var t;this.updateFrameStyles({popupId:e,overlayStyles:{opacity:"0"},iframeStyles:{opacity:"0"}}),null===(t=window)||void 0===t||t.setTimeout((()=>{this.updateFrameStyles({popupId:e,overlayStyles:{display:"none"}})}),200)}),350))}reportMixpanelEvent(e,t){var n;null!==(n=window)&&void 0!==n&&n.mixpanel&&window.mixpanel.track(e,t||{})}}},36821:(e,t,n)=>{"use strict";function r(e){if(!e)return;const t="cn-font-".concat(e.id);if(!e.url||document.getElementById(t))return;if(l.find((t=>t.id===e.id))){const n=document.createElement("link");n.id=t,n.rel="stylesheet",n.href=e.url,document.head.appendChild(n)}else{const t=new FontFace(e.name,"url(".concat(e.url,")"));null===t||void 0===t||t.load().then((e=>{document.fonts.add(e)}))}}n.d(t,{Ev:()=>a,RM:()=>l,TH:()=>s,TX:()=>c,VC:()=>i,YV:()=>o,hx:()=>r});const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e=>{if(!e||"object"!==typeof e)return[];if(Array.isArray(e))return e.flatMap((e=>t(e)));let n=[];for(const r in e)if(Object.hasOwnProperty.call(e,r)){const a=e[r];if("object"===typeof a)n=n.concat(t(a));else if("fontFamily"===r&&a){const e=i(a);null!==e&&void 0!==e&&e.url&&n.push(e.url)}}return n};return Array.from(new Set(t(e)))},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;try{const n=t.find((t=>t.id===e));return n&&"default"!==n.id?n:t.find((e=>"font_poppins"===e.id))}catch(n){return t.find((e=>"font_poppins"===e.id))}},i=e=>{var t,n;const r=l[0];return(e=null===(t=e)||void 0===t||null===(n=t.split(",")[0])||void 0===n?void 0:n.replace(/"/g,""))&&l.find((t=>{var n;return t.name===e||t.family===e||(null===(n=t.family)||void 0===n?void 0:n.includes('"'.concat(e,'"')))}))||r},s=[10,12,14,16,18,20,24,28,32],l=[{id:"default",name:"Default",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_open_sans",name:"Open Sans",family:'"Open Sans", sans-serif',url:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126930235_Open_sans.svg",weights:[300,400,500,600,700,800]},{id:"font_arial",name:"Arial",family:'"Arial"',fontSvg:"https://website-assets.commoninja.com/distribution/1693124835656_Arial.svg",weights:[400,600,800]},{id:"font_david",name:"David",family:'"David"',fontSvg:"https://website-assets.commoninja.com/distribution/1693124890487_David.svg",weights:[400,600,800]},{id:"font_helvetica",name:"Helvetica",family:'"Helvetica"',fontSvg:"https://website-assets.commoninja.com/distribution/1693124928091_Helvetica.svg",weights:[100,500,900]},{id:"font_georgia",name:"Georgia",family:'"Georgia"',fontSvg:"https://website-assets.commoninja.com/distribution/1693124911819_Georgia.svg",weights:[400,600,800]},{id:"font_times_new_roman",name:"Times New Roman",family:'"Times New Roman", Times, serif',fontSvg:"https://website-assets.commoninja.com/distribution/1693127153155_Times_New_Roman.svg",weights:[100,300,700,900]},{id:"font_courier_new",name:"Courier New",family:'"Courier New"',fontSvg:"https://website-assets.commoninja.com/distribution/1693124876015_Courier_New.svg"},{id:"font_roboto",name:"Roboto",family:'"Roboto", sans-serif',url:"https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127054136_Roboto.svg",weights:[100,300,400,500,700,900]},{id:"font_spartan",name:"Spartan",family:'"Spartan", sans-serif',url:"https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127145834_Spartan.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_lato",name:"Lato",family:'"Lato", sans-serif',url:"https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124944342_Lato.svg",weights:[100,300,400,700,900]},{id:"font_oswald",name:"Oswald",family:'"Oswald", sans-serif',url:"https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126942906_Oswald.svg",weights:[200,300,400,500,600,700]},{id:"font_montserrat",name:"Montserrat",family:'"Montserrat", sans-serif',url:"https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126906441_Montserrat.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_lora",name:"Lora",family:'"Lora", sans-serif',url:"https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124960194_Lora.svg",weights:[400,500,600,700]},{id:"font_pt_sans",name:"PT Sans",family:'"PT Sans", sans-serif',url:"https://fonts.googleapis.com/css2?family=PT+Sans:wght@200;400;500;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127008573_PT_Sans.svg",weights:[400,700]},{id:"font_raleway",name:"Raleway",family:'"Raleway", sans-serif',url:"https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127029503_Raleway.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_source_sans_pro",name:"Source Sans Pro",family:'"Source Sans Pro", sans-serif',url:"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127136940_Source_Sans_Pro.svg",weights:[200,300,400,500,600,700,800,900]},{id:"font_nunito_sans",name:"Nunito Sans",family:'"Nunito Sans", sans-serif',url:"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;500;600;700;800;900;1000&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126922236_Nunito_Sans.svg",weights:[200,300,400,500,600,700,800,900,1e3]},{id:"font_prompt",name:"Prompt",family:'"Prompt", sans-serif',url:"https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126999387_Prompt.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_work_sans",name:"Work Sans",family:'"Work Sans", sans-serif',url:"https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127168152_Work_Sans.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_heebo",name:"Heebo",family:'"Heebo", sans-serif',url:"https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124920117_Heebo.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_poppins",name:"Poppins",family:'"Poppins", sans-serif',url:"https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126990769_Poppins.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_alata",name:"Alata",family:'"Alata", cursive',url:"https://fonts.googleapis.com/css2?family=Alata&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124821410_Alata.svg",weights:[400]},{id:"font_assistant",name:"Assistant",family:'"Assistant", sans-serif',url:"https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124845365_Assistant.svg",weights:[200,300,400,500,600,700,800]},{id:"font_rubik",name:"Rubik",family:'"Rubik", cursive',url:"https://fonts.googleapis.com/css2?family=Rubik&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127063825_Rubik.svg",weights:[300,400,500,600,700,800,900]},{id:"font_bagel_fat_one",name:"Bagel Fat One",family:'"Bagel Fat One", cursive',url:"https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124852825_Bagel_Fat_One.svg",weights:[400]},{id:"font_gasoek_one",name:"Gasoek One",family:'"Gasoek One", cursive',url:"https://fonts.googleapis.com/css2?family=Gasoek+One&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124904622_Gasoek_One.svg",weights:[400]},{id:"font_kanit",name:"Kanit",family:'"Kanit", sans-serif',url:"https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124935925_Kanit.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_quicksand",name:"Quicksand",family:'"Quicksand", sans-serif',url:"https://fonts.googleapis.com/css2?family=Quicksand:wght@200;300;400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127019156_Quicksand.svg",weights:[300,400,500,600,700]},{id:"font_lobster",name:"Lobster",family:'"Lobster", cursive',url:"https://fonts.googleapis.com/css2?family=Lobster&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124953330_Lobster.svg",weights:[400]},{id:"font_merriweather",name:"Merriweather",family:'"Merriweather", sans-serif',url:"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126898653_Merriweather.svg",weights:[300,400,700,900]},{id:"font_amatic_sc",name:"Amatic SC",family:'"Amatic SC", sans-serif',url:"https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;500;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124829141_Amatic_SC.svg",weights:[400,700]},{id:"font_caveat",name:"Caveat",family:'"Caveat", sans-serif',url:"https://fonts.googleapis.com/css2?family=Caveat:wght@200;300;400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124861192_Caveat.svg",weights:[400,500,600,700]},{id:"font_pacifico",name:"Pacifico",family:'"Pacifico", cursive',url:"https://fonts.googleapis.com/css2?family=Pacifico&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126963725_Pacifico.svg",weights:[400]},{id:"font_righteous",name:"Righteous",family:'"Righteous", cursive',url:"https://fonts.googleapis.com/css2?family=Righteous&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127043570_Righteous.svg",weights:[400]},{id:"font_abril_fatface",name:"Abril Fatface",family:'"Abril Fatface", sans-serif',url:"https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124809387_Abril_Fatface.svg",weights:[400]},{id:"font_satisfy",name:"Satisfy",family:'"Satisfy", cursive',url:"https://fonts.googleapis.com/css2?family=Satisfy&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127074963_Satisfy.svg",weights:[400]},{id:"font_permanent_marker",name:"Permanent Marker",family:'"Permanent Marker", cursive',url:"https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126983110_Permanent_Marker.svg",weights:[400]},{id:"font_yellowtail",name:"Yellowtail",family:'"Yellowtail", cursive',url:"https://fonts.googleapis.com/css2?family=Yellowtail&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127175211_Yellowtail.svg",weights:[400]},{id:"font_passion_one",name:"Passion One",family:'"Passion One", sans-serif',url:"https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126974468_Passion_One.svg",weights:[400,700,900]},{id:"font_comfortaa",name:"Comfortaa",family:'"Comfortaa", sans-serif',url:"https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700;800&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124868262_Comfortaa.svg",weights:[300,400,500,600,700]},{id:"font_source_code_pro",name:"Source Code Pro",family:'"Source Code Pro", monospace',url:"https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127083109_Source_Code_Pro.svg",weights:[200,300,400,500,600,700,800,900]},{id:"font_noto_sans_mono",name:"Noto Sans Mono",family:'"Noto Sans Mono", monospace',url:"https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693126914896_Noto_Sans_Mono.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"font_courier_prime",name:"Courier Prime",family:'"Courier Prime", monospace',url:"https://fonts.googleapis.com/css2?family=Courier+Prime:wght@300;400;700&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124883703_Courier_Prime.svg",weights:[400,700]},{id:"font_victor_mono",name:"Victor Mono",family:'"Victor Mono", monospace',url:"https://fonts.googleapis.com/css2?family=Victor+Mono:wght@100;200;300;400;500;600;700&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693127160450_Victor_Mono.svg",weights:[100,200,300,400,500,600,700]},{id:"font_fira_code",name:"Fira Code",family:'"Fira Code", monospace',url:"https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1693124897569_Fira_code.svg",weights:[300,400,500,600,700]},{id:"font_pontano_sans",name:"Pontano Sans",family:'"Pontano Sans", sans-serif',url:"https://fonts.googleapis.com/css2?family=Pontano+Sans:wght@300;400;500;600;700&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1700119774155_Pontano_Sans.svg",weights:[300,400,500,600,700]},{id:"font_bebas_neue",name:"Bebas Neue",family:'"Bebas Neue", sans-serif',url:"https://fonts.googleapis.com/css2?family=Bebas+Neue:wght@400&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1700380339173_Bebas_Neue.svg",weights:[400]},{id:"exo",name:"Exo",family:'"Exo", sans-serif',url:"https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1711867193753_Exo.svg",weights:[300,400,500,600,700]},{id:"mulish",name:"Mulish",family:'"Mulish", sans-serif',url:"https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1713947692606_Mulish.svg",weights:[200,300,400,500,600,700,800,900]},{id:"roboto_slab",name:"Roboto Slab",family:'"Roboto Slab", sans-serif',url:"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1718256183102_roboto_slab.svg",weights:[100,200,300,400,500,600,700,800,900]},{id:"fjalla_one",name:"Fjalla One",family:'"Fjalla One", sans-serif',url:"https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1719826173732_Fjalla_One_2.svg",weights:[400]},{id:"inter",name:"Inter",family:'"Inter", sans-serif',url:"https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap",fontSvg:"https://website-assets.commoninja.com/distribution/1719826177075_Inter.svg",weights:[100,200,300,400,500,600,700,800,900]}],c=new Map([[2,"font_arial"],[1,"default"],[6,"font_montserrat"],[10,"default"],[4,"default"],[3,"font_oswald"],[11,"default"],[5,"font_lora"],[9,"default"],[8,"default"],[7,"default"]])},92878:(e,t,n)=>{"use strict";function r(e){var t,n,r,a,o,i,s;return"undefined"!==typeof window&&(!(window.location.href&&!window.location.href.includes("srcdoc")&&(!window.location.href.includes("commoninja.com")||window.location.href.includes("/editor/")&&!window.location.href.includes("/wl/"))&&!window.location.href.includes("filesusr.com"))&&((null===(t=window)||void 0===t?void 0:t.self)!==(null===(n=window)||void 0===n?void 0:n.top)||e&&(null===(r=window)||void 0===r||null===(a=r.CommonNinja)||void 0===a||null===(o=a.installedPlugins)||void 0===o||null===(i=o[e])||void 0===i||null===(s=i.frameContext)||void 0===s?void 0:s.startsWith("iframe-"))))}n.d(t,{G:()=>r})},95916:(e,t,n)=>{"use strict";n.d(t,{KE:()=>s,av:()=>a,lV:()=>o});var r=n(98185);const a="".concat("https://www.commoninja.com"),o={audio_player:{contentProp:"content",itemsProp:"songs",urlProp:"audioSrc"},pdf_gallery:{itemsProp:"pdfs",urlProp:"document"},pdf_flipbook:{contentProp:"content",itemsProp:"items",urlProp:"pdfUrl"}},i=new Map;async function s(e){var t,n;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];function c(){if(l){for(var e=arguments.length,t=new Array(e),n=0;n(t[e[u]]&&(e[d]=t[e[u]]),e))):null!==e&&void 0!==e&&e.data[l]?e.data[l]=e.data[l].map((e=>(t[e[u]]&&(e[d]=t[e[u]]),e))):c("Items could not be found")}catch(u){c("Error getting masked urls",u)}return e}},72047:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(65656);const a=e=>{let{data:t={},meta:n={name:"",icon:"",slug:"",type:"",serviceName:""},name:a="",status:o="published",modelVersion:i,skinToStyles:s}=e;const{slug:l,type:c}=n,u=(null===t||void 0===t?void 0:t.colorScheme)||r.yg,d=(0,r.Mw)(u);return"function"===typeof s&&t.styles&&(t.colorScheme=u,t.styles=s({styles:t.styles,colors:d,slug:l})),{type:c,guid:null,galleryId:null,projectId:null,data:t,modelVersion:i||1,name:a||"My Widget",description:null,previewImage:null,privacy:"public",status:o||"published",creationSource:"website",planFeatures:{},fonts:[]}}},17539:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});class r{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.planFeatures=void 0,this.planFeatures=e}getFeatureValue(e,t,n){const r=(this.planFeatures||t||{})[e];if("undefined"===typeof r){if(void 0!==n)return n;const t=e.toLowerCase();return!(t.startsWith("numof")||t.startsWith("number")||t.includes("size")||t.includes("interval"))||1e6}return r}}},65656:(e,t,n)=>{"use strict";n.d(t,{yg:()=>U,IH:()=>N,ik:()=>L,Mw:()=>O});var r={grad:.9,turn:360,rad:360/(2*Math.PI)},a=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},o=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},i=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},s=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:i(e.r,0,255),g:i(e.g,0,255),b:i(e.b,0,255),a:i(e.a)}},c=function(e){return{r:o(e.r),g:o(e.g),b:o(e.b),a:o(e.a,3)}},u=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},f=function(e){var t=e.r,n=e.g,r=e.b,a=e.a,o=Math.max(t,n,r),i=o-Math.min(t,n,r),s=i?o===t?(n-r)/i:o===n?2+(r-t)/i:4+(t-n)/i:0;return{h:60*(s<0?s+6:s),s:o?i/o*100:0,v:o/255*100,a:a}},p=function(e){var t=e.h,n=e.s,r=e.v,a=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),i=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),c=o%6;return{r:255*[r,s,i,i,l,r][c],g:255*[l,r,r,s,i,i][c],b:255*[i,i,l,r,r,s][c],a:a}},h=function(e){return{h:s(e.h),s:i(e.s,0,100),l:i(e.l,0,100),a:i(e.a)}},m=function(e){return{h:o(e.h),s:o(e.s),l:o(e.l),a:o(e.a,3)}},g=function(e){return p((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},_=function(e){return{h:(t=f(e)).h,s:(a=(200-(n=t.s))*(r=t.v)/100)>0&&a<200?n*r/100/(a<=100?a:200-a)*100:0,l:a/2,a:t.a};var t,n,r,a},y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,E=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w={string:[[function(e){var t=u.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?o(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?o(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=E.exec(e)||b.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=y.exec(e)||v.exec(e);if(!t)return null;var n,a,o=h({h:(n=t[1],a=t[2],void 0===a&&(a="deg"),Number(n)*(r[a]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return g(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return a(t)&&a(n)&&a(r)?l({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!a(t)||!a(n)||!a(r))return null;var s=h({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return g(s)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,l=void 0===o?1:o;if(!a(t)||!a(n)||!a(r))return null;var c=function(e){return{h:s(e.h),s:i(e.s,0,100),v:i(e.v,0,100),a:i(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(l)});return p(c)},"hsv"]]},P=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=c(this.rgba)).r,n=e.g,r=e.b,i=(a=e.a)<1?d(o(255*a)):"","#"+d(t)+d(n)+d(r)+i;var e,t,n,r,a,i},e.prototype.toRgb=function(){return c(this.rgba)},e.prototype.toRgbString=function(){return t=(e=c(this.rgba)).r,n=e.g,r=e.b,(a=e.a)<1?"rgba("+t+", "+n+", "+r+", "+a+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,a},e.prototype.toHsl=function(){return m(_(this.rgba))},e.prototype.toHslString=function(){return t=(e=m(_(this.rgba))).h,n=e.s,r=e.l,(a=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+a+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,a},e.prototype.toHsv=function(){return e=f(this.rgba),{h:o(e.h),s:o(e.s),v:o(e.v),a:o(e.a,3)};var e},e.prototype.invert=function(){return k({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),k(S(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),k(S(this.rgba,-e))},e.prototype.grayscale=function(){return k(S(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),k(A(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),k(A(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?k({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):o(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=_(this.rgba);return"number"==typeof e?k({h:e,s:t.s,l:t.l,a:t.a}):o(t.h)},e.prototype.isEqual=function(e){return this.toHex()===k(e).toHex()},e}(),k=function(e){return e instanceof T?e:new T(e)},x=n(81181);const N=[{name:"1",skinStyles:{text:"#000000",background:"#FFFFFF",accent:"#0F5FF8"}},{name:"2",skinStyles:{text:"#000000",background:"#FFF2E4",accent:"#FD5913"}},{name:"3",skinStyles:{text:"#000000",background:"#FFECEC",accent:"#850C37"}},{name:"4",skinStyles:{text:"#FFFFFF",background:"#0E1A2D",accent:"#80AADC"}},{name:"5",skinStyles:{text:"#FFFFFF",background:"#455A7A",accent:"#DFEEFF"}},{name:"6",skinStyles:{text:"#FFFFFF",background:"#363636",accent:"#A5BFF3"}},{name:"7",skinStyles:{text:"#FFFFFF",background:"#3B3B57",accent:"#C1E199"}},{name:"8",skinStyles:{text:"#000000",background:"#FFCEDC",accent:"#293462"}},{name:"9",skinStyles:{text:"#000000",background:"#FCC5C0",accent:"#937DC2"}},{name:"10",skinStyles:{text:"#000000",background:"#FCF8E8",accent:"#83C198"}},{name:"11",skinStyles:{text:"#000000",background:"#FEE3DA",accent:"#613375"}},{name:"12",skinStyles:{text:"#FFFFFF",background:"#28475A",accent:"#C6E1D9"}},{name:"13",skinStyles:{text:"#000000",background:"#FFEDDA",accent:"#962118"}},{name:"14",skinStyles:{text:"#000000",background:"#FFEACF",accent:"#104A2E"}}];function I(e,t,n){const r=k(e).toRgb(),a=k(t).toRgb(),o=Math.round(r.r+(a.r-r.r)*n),i=Math.round(r.g+(a.g-r.g)*n),s=Math.round(r.b+(a.b-r.b)*n);return k({r:o,g:i,b:s}).toHex()}const L=e=>{if(!e)return[];try{const t=(0,x.J1)(e),n=11,r=function(e,t,n){const r=[];for(let a=0;a.65?k(e).darken(2).toHex():k(e).lighten(2).toHex(),n);return r}catch(i){return[]}},O=e=>{const t=L(e.text||"#000"),n=L(e.background||"#fff"),r=L(e.accent||"#5c5ef9"),a={},o={},i={};return t.forEach(((e,n)=>{n!==t.length-1?a["text".concat(100*n+100)]=e:a.text950=e})),n.forEach(((e,t)=>{t!==n.length-1?o["background".concat(100*t+100)]=e:o.background950=e})),r.forEach(((e,t)=>{t!==r.length-1?i["accent".concat(100*t+100)]=e:i.accent950=e})),{text:a,background:o,accent:i}},U=N[0].skinStyles},74003:(e,t,n)=>{"use strict";function r(e){return e&&(e.shadowRoot||e.getRootNode()instanceof ShadowRoot)}async function a(e,t,n){var a;const o=document.createElement("style");e.map((e=>{o.textContent+=e}));let i=document.head;if(r(n)){const e=(null===n||void 0===n?void 0:n.getRootNode())||(null===n||void 0===n?void 0:n.shadowRoot);e&&(i=e)}var s;if(t&&(o.id=t,null!==(s=i)&&void 0!==s&&s.querySelector("#".concat(t))))return;null===(a=i)||void 0===a||a.appendChild(o)}function o(e,t){const n="cn-style-".concat(e);if(document.getElementById(n))return;const r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");return r.appendChild(a),a.id=n,a.appendChild(document.createTextNode(t)),a}function i(e){const t="cn-style-".concat(e),n=document.getElementById(t);n&&n.parentNode&&n.parentNode.removeChild(n)}n.d(t,{Cl:()=>r,PS:()=>i,QG:()=>a,Zg:()=>s,sB:()=>o});const s=(e,t,n)=>"\n".concat(n||"","\n\n").concat(e," {\n\tpadding: 0;\n\tmargin: 0;\n\tborder: 0;\n\toutline: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tfont-family: ").concat((null===t||void 0===t?void 0:t.family)||'"Open Sans"',";\n\tvertical-align: baseline;\n\tbackground: transparent;\n\tline-height: 1.3;\n\tfont-size: 14px;\n\tmax-width: 100%;\n}\n\n").concat(e," * {\n\tbox-sizing: border-box;\n}\n\n").concat(e," div:empty, ").concat(e," span:empty, ").concat(e," a:empty {\n\tdisplay: inherit;\n}\n\n").concat(e," .center {\n\ttext-align: center;\n}\n\n").concat(e," a:focus {\n\toutline: 0;\n}\n\n").concat(e," b, ").concat(e," strong {\n\tfont-weight: bold;\n}\n\n").concat(e," i, ").concat(e," em {\n\tfont-style: italic;\n}\n\n").concat(e," *:focus {\n\toutline: 0;\n}\n\n").concat(e," ins {\n\ttext-decoration: none;\n}\n\n").concat(e," del {\n\ttext-decoration: line-through;\n}\n\n").concat(e," blockquote,\n").concat(e," q {\n\tquotes: none;\n}\n\n").concat(e," a {\n\ttext-decoration: none;\n}\n")},83451:(e,t,n)=>{"use strict";n.d(t,{r:()=>o,s:()=>i});var r=n(34905),a=n(31182);function o(){const{appConfig:e}=(0,r.useContext)(a.B);return e}function i(){const{appConfig:e}=(0,r.useContext)(a.B);return e.meta}},98025:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(34905),a=n(31182);function o(){const{plugin:e,setPlugin:t}=(0,r.useContext)(a.B);return[e.data,function(n){const r={...e.data,...n};return t({data:r},!0),r}]}},86032:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(98025),a=n(26930);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t]=(0,a.w)();let n=t.device;n||(n="desktop");const[o,i]=(0,r.d)(),{deviceRewrites:s={desktop:{styles:{},rewrites:{}},tablet:{styles:{},rewrites:{}},mobile:{styles:{},rewrites:{}}}}=o;function l(t,r){var a;const o=null===s||void 0===s||null===(a=s[n])||void 0===a?void 0:a[t];return r&&"styles"===t?{...e,...o}:o||{}}function c(t,r,a,o){var i,l;const c=null===s||void 0===s||null===(i=s[n])||void 0===i||null===(l=i[t])||void 0===l?void 0:l[r];return"styles"===t?"object"===typeof e[r]?Array.isArray(e[r])?c||e[r]||[]:{...e[r],...c||{}}:"undefined"!==typeof c?c:e[r]:"object"===typeof a?Array.isArray(a)?c||a||[]:{...(o||"desktop"===n)&&a||{},...c||{}}:"undefined"!==typeof c?c:a}function u(e,t,r,a){if("desktop"===n)return void a();const o={...s||{desktop:{styles:{},rewrites:{}},tablet:{styles:{},rewrites:{}},mobile:{styles:{},rewrites:{}}}};o[n]||(o[n]={}),o[n].styles||(o[n].styles={}),o[n].rewrites||(o[n].rewrites={}),o[n][e]={...o[n][e],[t]:r},i({deviceRewrites:o})}function d(e,t,r){var a;if("desktop"===n)return void r();const o={...s||{desktop:{styles:{},rewrites:{}},tablet:{styles:{},rewrites:{}},mobile:{styles:{},rewrites:{}}}};null!==(a=o[n])&&void 0!==a&&a.styles||(o[n].styles={}),o[n].rewrites||(o[n].rewrites={}),o[n][e]={...o[n][e],...t},i({deviceRewrites:o})}return{getDeviceStyle:function(e){return c("styles",e)},getDeviceStyles:function(e){return l("styles",e)},setDeviceStyle:function(e,t,n){return u("styles",e,t,n)},setDeviceStyles:function(e,t){return d("styles",e,t)},setDeviceRewrite:function(e,t,n){return u("rewrites",e,t,n)},setDeviceRewrites:function(e,t){return d("rewrites",e,t)},getDeviceRewrite:function(e,t,n){return c("rewrites",e,t,n)},getDeviceRewrites:function(e){return l("rewrites",e)},resetDeviceStyles:function(e){const t=JSON.parse(JSON.stringify(s));delete t[e],i({deviceRewrites:t})},device:t.device}}},31026:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(34905),a=n(36821),o=n(31182),i=n(86032),s=n(75955);function l(){const{plugin:e}=(0,r.useContext)(o.B),t=(0,s.Z)(),{styles:n}=e.data,{getDeviceStyle:l}=(0,i.L)(n);let c=(0,a.YV)(l("fontId"),[...t,...a.RM]);return"default"===c.id&&(c=a.RM[1]),c}},92889:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(34905),a=n(31182);function o(){const{context:e}=(0,r.useContext)(a.B);return e}},75955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(34905),a=n(31182),o=n(92889),i=n(99277);function s(){const{projectId:e="",projectFonts:t}=(0,o.U)(),{setContext:n,plugin:s}=(0,r.useContext)(a.B);return(0,r.useEffect)((()=>{(async()=>{if(!e)return;const t=(s.fonts||[]).map(((e,t)=>{const n="@font-face {\n\t\t\tfont-family: '".concat(e.name,"';\n\t\t\tsrc: url('").concat(e.url,"') format('woff2'); /* You can change the format if needed */\n\t\t}");return{id:e.guid||"",name:e.name||"",family:"".concat(e.name),url:e.url,weights:[],fontEl:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("style",{children:n}),(0,i.jsx)("p",{style:{fontFamily:e.name},children:e.name})]})}}));n({projectFonts:t})})()}),[e]),t||[]}},35692:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(34905),a=n(31182);function o(){const{eventHelper:e}=(0,r.useContext)(a.B);return e}},26930:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(34905),a=n(31182);function o(){const{siteVisitorContext:e,setSiteVisitorContext:t}=(0,r.useContext)(a.B);return[e,t]}},10531:(e,t,n)=>{"use strict";function r(){return"undefined"===typeof window?new URLSearchParams(""):new URLSearchParams(window.location.search)}function a(){if("undefined"===typeof window)return{pluginId:"",platform:void 0,galleryId:"",tempSlug:""};const e=window.location.pathname.split("/").filter((e=>e));let t,n="",r="",a="";return e.forEach(((o,i)=>{if("v"===o&&e.length>i&&(t=e[i+1]),e.length>i+1&&("editor"===o||"viewer"===o||"v"===o)){const t=e[i+1];t.includes(":")||(n=t)}"lp"===o&&e.length>i&&(r=e[i+1]),"t"===o&&e.length>i&&(a=e[i+1])})),!t&&window.location.pathname.includes("/wix/")&&(t="wix"),{pluginId:n,platform:t,galleryId:r,tempSlug:a}}n.d(t,{I:()=>r,L:()=>a})},41096:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(34905),a=n(31182),o=n(35692);function i(){const{integrationsData:e={},context:{mode:t}}=(0,r.useContext)(a.B),n=(0,o.o)(),[i,s]=(0,r.useState)([]);function l(t){var n;const r="Common Ninja Widget",a=e["google-analytics"];if(!a||!a.tagId)return;const o=null===(n=a.events)||void 0===n?void 0:n.find((e=>e.key===t));if(o){try{switch(a.tagType){case"ua":!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";"function"===typeof window.ga&&window.ga("send","event",e,t,n,r)}(o.category||"",o.action||r,o.label||"",o.value||"");break;case"ga4":!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"===typeof window.gtag&&window.gtag("event",e,t)}(o.action||r,{event_category:o.category||"",event_label:o.label||"",value:o.value||""});break;case"gtag":!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(window.dataLayer)&&window.dataLayer.push({event:e,...t})}(o.action||r,{event_category:o.category||"",event_label:o.label||"",value:o.value||""})}}catch(i){console.error("CN error sending event to Google Analytics",i)}try{window.postMessage({eventType:"COMMONNINJA_EVENT_TRACKING",eventName:t,payload:{category:o.category,action:o.action,label:o.label,value:o.value}},"*")}catch(i){}}else console.log("No event found for key",t)}return{reportEvent:function(r){let a=arguments.length>2?arguments[2]:void 0;if("viewer"!==t&&"gallery"!==t)return;if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&i.includes(r))return;n.reportEngagementEvent(r,a),Object.keys(e).forEach((t=>{"google-analytics"!==t?"mixpanel"!==t||function(t){var n;const r=e.mixpanel;if(!r||!r.token)return;const a=null===(n=r.events)||void 0===n?void 0:n.find((e=>e.key===t));if(a)try{window.mixpanel&&window.mixpanel.__loaded&&window.mixpanel.track(a.name||"Common Ninja Widget",{cnEventName:t})}catch(o){console.error("CN error sending event to Mixpanel",o)}else console.log("No event found for key",t)}(r):l(r)})),s([...i,r])}}}},93144:(e,t,n)=>{"use strict";n.d(t,{W:()=>c});var r=n(34905),a=n(31182),o=n(83451),i=n(92889),s=n(35692),l=n(26930);function c(){const{meta:{type:e}}=(0,o.r)(),{context:t}=(0,r.useContext)(a.B),{widgetId:n}=(0,i.U)(),{mode:c}=t,u=(0,s.o)(),d=function(e){const[t]=(0,l.w)();return function(){try{var n,r;if("true"===(null===(n=localStorage)||void 0===n?void 0:n.getItem("cnDebug"))||null!==(r=t.currentUrl)&&void 0!==r&&r.includes("cnDebug=true")){for(var a=arguments.length,o=new Array(a),i=0;i{"use strict";n.d(t,{U:()=>o});var r=n(76462);const a={NODE_ENV:"production",PUBLIC_URL:"https://cdn.commoninja.com/wr",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRACKTES_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_URL:"widget-renderer-jmu0vch3x-common-ninja.vercel.app",REACT_APP_VERCEL_GIT_COMMIT_SHA:"4e5b5ac49977083776bd4b34a142a354c3f8e3ad",REACT_APP_VERCEL_PROJECT_PRODUCTION_URL:"cn-widget-renderer.vercel.app",REACT_APP_PAYPAL_CLIENT_ID:"Ad5evywbN7Ozx7lwcWJ_k-mFRyfdUbCFi3-I6MBNKH03iJY9NSuBdAOsocZ-FI6lRjVU9PqA0AuHsiuc",REACT_APP_VERCEL_ENV:"production",REACT_APP_VERCEL_GIT_PREVIOUS_SHA:"",REACT_APP_PLUGIN_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_PROVIDER:"github",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_LOGIN:"dsternlicht",REACT_APP_APPS_API_URL:"https://www.commoninja.com",REACT_APP_GOOGLE_API_KEY:"AIzaSyBz3uTNPC_eaU1qzsw3aI-y122qEa-wBoQ",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_NAME:"Daniel Sternlicht",REACT_APP_PAYPAL_BN_CODE:"CommonNinja_Ecom_CommonNinja",REACT_APP_VERCEL_GIT_REPO_SLUG:"apps",REACT_APP_VERCEL_GIT_REPO_OWNER:"CommonNinja",REACT_APP_VERCEL_GIT_PULL_REQUEST_ID:"",REACT_APP_VERCEL_BRANCH_URL:"widget-renderer-git-main-common-ninja.vercel.app",REACT_APP_FORMS_APP_PUBLIC_KEY:"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF4TWpNK092V1E2K0lDeXJ2ZW01ZQoyazZZU1FScmx6UXA2cVZ4ZU85N1FpckRPbFh3OGVNR1ZPc0YvamFtR05vc0EvdXduSXQvRkYyVnVzanZZSE90CnJ1U3p6K1Z0SmxIQVhFUjFPN2ordTdRdnE0Y1YwT296WnEwYjNjTTl5QnJ1YjNTVTNXZ1BGa2dJNnVUU1RNd04KdnEzK1FsaFo0Nm1jSVAydVkycGRva1I0SnhsTEN3bDJHYmM0VFlXL1RPUkhkUlFKYzNMNTZTSVlqQ0tTNHpUNQpMdFMzVlpJY1BTK0F0Ym11VDV2NDlGWDErVVJTaU1ISE9pMTY2cXdSbys5cktVR1pCNFYwWW5sWCtMdGY3alNhCm5mWFNpUjlSbjNDdGdrR1JSSlg1dlQzTHloZzJDdllmcERNSmdxdWQ5Y2hZNkFKWE1QOExVeGFzMXViaHhDRmMKcVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==",REACT_APP_VERCEL_GIT_COMMIT_MESSAGE:"Merge pull request #1640 from CommonNinja/dev",REACT_APP_CAPTCHA_SITE_KEY:"6LcoBP0kAAAAAAA7iNP7tX_hL-aosBh2QrZ1Vv2Z",REACT_APP_REVIEWS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_REPO_ID:"544524421",REACT_APP_VERCEL_GIT_COMMIT_REF:"main",REACT_APP_FEEDS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_TARGET_ENV:"production"}.NEXT_PUBLIC_AI_API_URL||{NODE_ENV:"production",PUBLIC_URL:"https://cdn.commoninja.com/wr",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRACKTES_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_URL:"widget-renderer-jmu0vch3x-common-ninja.vercel.app",REACT_APP_VERCEL_GIT_COMMIT_SHA:"4e5b5ac49977083776bd4b34a142a354c3f8e3ad",REACT_APP_VERCEL_PROJECT_PRODUCTION_URL:"cn-widget-renderer.vercel.app",REACT_APP_PAYPAL_CLIENT_ID:"Ad5evywbN7Ozx7lwcWJ_k-mFRyfdUbCFi3-I6MBNKH03iJY9NSuBdAOsocZ-FI6lRjVU9PqA0AuHsiuc",REACT_APP_VERCEL_ENV:"production",REACT_APP_VERCEL_GIT_PREVIOUS_SHA:"",REACT_APP_PLUGIN_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_PROVIDER:"github",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_LOGIN:"dsternlicht",REACT_APP_APPS_API_URL:"https://www.commoninja.com",REACT_APP_GOOGLE_API_KEY:"AIzaSyBz3uTNPC_eaU1qzsw3aI-y122qEa-wBoQ",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_NAME:"Daniel Sternlicht",REACT_APP_PAYPAL_BN_CODE:"CommonNinja_Ecom_CommonNinja",REACT_APP_VERCEL_GIT_REPO_SLUG:"apps",REACT_APP_VERCEL_GIT_REPO_OWNER:"CommonNinja",REACT_APP_VERCEL_GIT_PULL_REQUEST_ID:"",REACT_APP_VERCEL_BRANCH_URL:"widget-renderer-git-main-common-ninja.vercel.app",REACT_APP_FORMS_APP_PUBLIC_KEY:"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF4TWpNK092V1E2K0lDeXJ2ZW01ZQoyazZZU1FScmx6UXA2cVZ4ZU85N1FpckRPbFh3OGVNR1ZPc0YvamFtR05vc0EvdXduSXQvRkYyVnVzanZZSE90CnJ1U3p6K1Z0SmxIQVhFUjFPN2ordTdRdnE0Y1YwT296WnEwYjNjTTl5QnJ1YjNTVTNXZ1BGa2dJNnVUU1RNd04KdnEzK1FsaFo0Nm1jSVAydVkycGRva1I0SnhsTEN3bDJHYmM0VFlXL1RPUkhkUlFKYzNMNTZTSVlqQ0tTNHpUNQpMdFMzVlpJY1BTK0F0Ym11VDV2NDlGWDErVVJTaU1ISE9pMTY2cXdSbys5cktVR1pCNFYwWW5sWCtMdGY3alNhCm5mWFNpUjlSbjNDdGdrR1JSSlg1dlQzTHloZzJDdllmcERNSmdxdWQ5Y2hZNkFKWE1QOExVeGFzMXViaHhDRmMKcVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==",REACT_APP_VERCEL_GIT_COMMIT_MESSAGE:"Merge pull request #1640 from CommonNinja/dev",REACT_APP_CAPTCHA_SITE_KEY:"6LcoBP0kAAAAAAA7iNP7tX_hL-aosBh2QrZ1Vv2Z",REACT_APP_REVIEWS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_REPO_ID:"544524421",REACT_APP_VERCEL_GIT_COMMIT_REF:"main",REACT_APP_FEEDS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_TARGET_ENV:"production"}.REACT_APP_AI_API_URL||"https://www.commoninja.com";class o extends r.k{async getAIWebsiteAnalysis(e){const t=await this.makeRequest("".concat(a,"/ai/api/website-analysis/").concat(e));if(!t||!t.success)throw new Error(t.message||"Could not load website analysis.");return t.data}async chat(e,t,n,r,o){const i=n.map((e=>"message"!==e.content.type?{...e,content:JSON.stringify(e.content)}:{...e,content:e.content.content||""})),s=await this.makeRequest("".concat(a,"/ai/api/chat"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e,input:t,history:i,erezInstruction:o||"",isDeadEndEnabled:r||!1})});if(!s||!s.success)throw new Error(s.message);return s.data}async scrapeAllInternalLinks(e,t,n){const r=await this.makeRequest("".concat(a,"/ai/api/internal-links"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e,link:t,scanType:n})});if(!r||!r.success)throw new Error(r.message);return r.data}async getWebsiteInstructions(e){const t=await this.makeRequest("".concat(a,"/ai/api/instructions?url=").concat(encodeURIComponent(e)),{method:"get",headers:{"Content-Type":"application/json"}});if(!t||!t.success)throw new Error(t.message);return t.data}async getWebsiteLinks(e,t){const n=await this.makeRequest("".concat(a,"/ai/api/links/").concat(encodeURIComponent(t),"?sessionId=").concat(e),{method:"get",headers:{"Content-Type":"application/json"}});if(!n||!n.success)throw new Error(n.message);return n.data}async getStats(e){const t=await this.makeRequest("".concat(a,"/ai/api/stats/").concat(e),{method:"get",headers:{"Content-Type":"application/json"}});if(!t||!t.success)throw new Error(t.message);return t.data}async getLinkJob(e,t,n){const r=await this.makeRequest("".concat(a,"/ai/api/link-jobs/").concat(encodeURIComponent(t),"?scanType=").concat(n,"&sessionId=").concat(e),{method:"get",headers:{"Content-Type":"application/json"}});if(!r||!r.success)throw new Error(r.message);return r.data}async scrapeAndUploadPages(e,t){const n=await this.makeRequest("".concat(a,"/ai/api/store-pages"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e,links:t})});if(!n||!n.success)throw new Error(n.message);return n.data}async retrainPage(e,t){const n=await this.makeRequest("".concat(a,"/ai/api/retrain-page"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e,links:t})});if(!n||!n.success)throw new Error(n.message);return n.data}async retrainDomain(e,t){const n=await this.makeRequest("".concat(a,"/ai/api/retrain-domain"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e,src:t})});if(!n||!n.success)throw new Error(n.message);return n.data}async readAndUploadFile(e){let{componentId:t,type:n,title:r,url:o}=e;const i=await this.makeRequest("".concat(a,"/ai/api/store-file"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t,type:n,url:o||"",title:r||""})});if(!i||!i.success)throw new Error(i.message);return i.data}async storeText(e){let{componentId:t,type:n,textContent:r,title:o}=e;const i=await this.makeRequest("".concat(a,"/ai/api/store-text"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t,type:n,textContent:r||"",title:o||""})});if(!i||!i.success)throw new Error(i.message);return i.data}async updateFile(e){let{componentId:t,title:n,isActive:r,src:o}=e;const i=await this.makeRequest("".concat(a,"/ai/api/store-file/").concat(encodeURIComponent(o)),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t,title:n||"",isActive:r})});if(!i||!i.success)throw new Error(i.message);return i.data}async getJobs(e){let{componentId:t,src:n,page:r=1,search:o,unique:i=!1,query:s={}}=e;const l=await this.makeRequest("".concat(a,"/ai/api/jobs/").concat(t||"","?src=").concat(n,"&page=").concat(r,"&unique=").concat(i?"true":"false","&query=").concat(JSON.stringify(s),"&search=").concat(o),{method:"get",headers:{"Content-Type":"application/json"}});if(!l||!l.success)throw new Error(l.message);return l.data}async getDomainStatuses(e){let{componentId:t,urls:n}=e;if(!n.length)return[];const r=await this.makeRequest("".concat(a,"/ai/api/domain-statuses/").concat(t,"?urls=").concat(n.join()),{method:"get",headers:{"Content-Type":"application/json"}});if(!r||!r.success)throw new Error(r.message);return r.data}async updateText(e){let{componentId:t,type:n,textContent:r,title:o,itemId:i,isActive:s}=e;const l=await this.makeRequest("".concat(a,"/ai/api/store-text/").concat(i),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t,type:n,textContent:r||"",title:o||"",isActive:s})});if(!l||!l.success)throw new Error(l.message);return l.data}async deleteText(e){let{componentId:t,itemId:n}=e;const r=await this.makeRequest("".concat(a,"/ai/api/text/").concat(n,"?sessionId=").concat(t),{method:"delete",headers:{"Content-Type":"application/json"}});if(!r||!r.success)throw new Error(r.message);return r.data}async deleteFile(e){let{componentId:t,src:n}=e;const r=await this.makeRequest("".concat(a,"/ai/api/file/").concat(encodeURIComponent(n),"?sessionId=").concat(t),{method:"delete",headers:{"Content-Type":"application/json"}});if(!r||!r.success)throw new Error(r.message);return r.data}async getWidgetKnowledge(e){let{componentId:t,query:n={},page:r=1,fields:o=[]}=e;const i=await this.makeRequest("".concat(a,"/ai/api/knowledge/").concat(t,"?page=").concat(r,"&query=").concat(JSON.stringify(n),"&fields=").concat(o.join()));if(!i||!i.success)throw new Error(i.message);return i.data}async deleteWebsite(e){let{componentId:t,src:n,srcPath:r=""}=e;const o=await this.makeRequest("".concat(a,"/ai/api/website/").concat(encodeURIComponent(n),"?sessionId=").concat(t,"&srcPath=").concat(encodeURIComponent(r)),{method:"delete",headers:{"Content-Type":"application/json"}});if(!o||!o.success)throw new Error(o.message);return o.data}async updateWebsite(e){let{componentId:t,isActive:n,src:r,srcPath:o=""}=e;const i=await this.makeRequest("".concat(a,"/ai/api/website/").concat(encodeURIComponent(r),"?sessionId=").concat(t,"&srcPath=").concat(encodeURIComponent(o)),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:n})});if(!i||!i.success)throw new Error(i.message);return i.data}}},16833:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(76462);class a extends r.k{constructor(e){super(e),this.apps=[],this.get()}async get(){if(this.apps.length)return this.apps;try{const e=await fetch("https://www.commoninja.com/nindo/api/apps"),t=await e.json();t.success&&(this.apps=t.data.docs)}catch(e){console.error("Could not get apps list",e)}return this.apps}}},4130:(e,t,n)=>{"use strict";n.d(t,{AU:()=>o,Bt:()=>s,Eo:()=>l,OH:()=>i,US:()=>c});var r=n(92878),a=n(76462);let o=function(e){return e.INSTALL="INSTALL",e.REQUEST="REQUEST",e.IMPRESSION="IMPRESSION",e.VIEW="VIEW",e}({}),i=function(e){return e.CLICK="click",e.HOVER="hover",e.SCROL="scroll",e}({}),s=function(e){return e.WIDGET_LOAD_DURATION="widget-load-duration",e.MAIN_SCRIPT_SIZE="main-script-size",e}({}),l=function(e){return e.CLIENT="client",e.ENGAGEMENT="engagement",e.PERFORMANCE="performance",e}({});class c extends a.k{constructor(e,t){super(e),this.reportedEvents=[],this.isIframe=!1,this.isIframe=t||(0,r.G)()}reportEvent(e,t,n,r){if(!n||!e||!t)return;if(e===l.CLIENT||e===l.PERFORMANCE){if(this.reportedEvents.includes(t))return;this.reportedEvents.push(t)}let a="";if(r&&"object"===typeof r)for(const s in r){if("eventType"===s)continue;const e="object"===typeof r[s]?JSON.stringify(r[s]):r[s];a+="&".concat(s,"=").concat(e)}let o="".concat("https://www.commoninja.com","/api/v1/event/report/").concat(n,"?groupType=").concat(e,"&eventType=").concat(t).concat(a);const i="undefined"!==typeof window?window.location.href:"";!o.includes("refUrl=")&&i&&(o+="&refUrl=".concat(encodeURIComponent(i))),this.makeRequest(o,{credentials:"omit",mode:"no-cors"},!1).catch((()=>{}))}reportEngagementEvent(e,t){const n={eventVersion:t.version||"",eventSubType:t.eventSubType,entityPath:t.entityPath};this.reportEvent(l.ENGAGEMENT,t.eventType,e,n)}reportPerformanceEvent(e,t){this.reportEvent(l.PERFORMANCE,t.eventType,e,t)}reportClientEvent(e,t){this.reportEvent(l.CLIENT,t,e)}postEventToParent(e,t,n){if(!t)return;const r=window.location.href.includes("/wix/")||window.location.href.includes("widgets.commoninja.com/iframe");if(!this.isIframe||r){switch(e){case"COMMONNINJA_PLUGIN_REQUESTED_DATA":this.reportClientEvent(t,o.REQUEST);break;case"COMMONNINJA_PLUGIN_LOADED":this.reportClientEvent(t,n);break;case"COMMONNINJA_ENGAGEMENT_EVENT":this.reportEngagementEvent(t,n);break;case"COMMONNINJA_PERFORMANCE_EVENT":this.reportPerformanceEvent(t,n)}return}const a={type:e,compId:t};if(n)switch(e){case"COMMONNINJA_HANDLE_GLOBAL_WIDGET":a.iframeSrc=n.iframeSrc,a.preservePosition=n.preservePosition;break;case"COMMONNINJA_EDITOR_STATE_CHANGED":a.widgetId=t,a.saved=n;break;case"COMMONNINJA_EDITOR_CHANGES_SAVED":a.widgetId=t;break;case"COMMONNINJA_DIMENSIONS_UPDATE":a.height=n.height,a.width=n.width;break;case"COMMONNINJA_STYLES_UPDATE":a.styles=n.styles,a.elmToUpdate=n.elmToUpdate;break;case"COMMONNINJA_SCROLL_TO":a.scrollType=n.scrollType,a.scrollParams=n.scrollParams;break;case"COMMONNINJA_ENGAGEMENT_EVENT":a.eventType=n.eventType,a.eventSubType=n.eventSubType,a.entityPath=n.entityPath;break;case"COMMONNINJA_ADD_WATERMARK":a.url=n.url,a.html=n.html;break;case"COMMONNINJA_PERFORMANCE_EVENT":a.eventType=n.eventType,a.componentType=n.componentType,a.value=n.value;break;case"COMMONNINJA_PLUGIN_LOADED":case"COMMONNINJA_PLUGIN_REQUESTED_DATA":default:break;case"COMMONNINJA_OPEN_POPUP":case"COMMONNINJA_CLOSE_POPUP":case"COMMONNINJA_UPDATE_POPUP_STYLES":case"COMMONNINJA_UPDATE_POPUP_URL":a.popupId=n.popupId,a.url=n.url||"",a.overlayStyles=n.overlayStyles||{},a.iframeStyles=n.iframeStyles||{};break;case"COMMONNINJA_DISPATCH_ACTION_TO_FRAME":a.frameId=n.frameId,a.actionData=n.action}window.parent.postMessage(a,"*")}reportMixpanelEvent(e,t){var n;null!==(n=window)&&void 0!==n&&n.mixpanel&&window.mixpanel.track(e,t||{})}}},76462:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});class r{constructor(e){var t,n;this.meta=void 0,this.queryParams="undefined"!==typeof window&&((null===(t=window)||void 0===t||null===(n=t.location)||void 0===n?void 0:n.search)||"").split("?")[1]||"",this.meta=e}getPluginType(){return this.meta.type||""}getServiceName(){return this.meta.serviceName||""}removeRedundantParams(e){try{let t=new URL(e),n=new URLSearchParams(t.search),r=new URLSearchParams;for(let[e,a]of Array.from(n.entries()))r.has(e)||r.set(e,a);return t.search=r.toString(),t.toString()}catch(t){return e}}async makeRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=await fetch(this.removeRedundantParams(e),{credentials:"include",...t,headers:{"Content-Type":"application/json",...t.headers||{}}});if(r.ok)return!n||await r.json();throw new Error("Response code: ".concat(r.status))}}},97641:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(76462);class a extends r.k{constructor(e,t){super(e),this.baseApiUrl="".concat("https://www.commoninja.com","/api/v1"),this.platform=void 0,this.platform=t}getUrlExtension(){return"/".concat(this.platform&&"website"!==this.platform&&"api"!==this.platform&&"nindo"!==this.platform?this.platform:"plugin")}async getComponentIntegrations(e,t){return await this.makeRequest("".concat(this.baseApiUrl).concat(this.getUrlExtension(),"/").concat(e,"/integrations?pluginType=").concat(this.getPluginType(),"&").concat(this.queryParams,"&platform=").concat(t||""))}async getComponentIntegrationData(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const a="pluginType=".concat(this.getPluginType(),"&platform=").concat(t).concat(n?"&rawData=true":"","&bundle=").concat(r,"&").concat(this.queryParams);return await this.makeRequest("".concat(this.baseApiUrl).concat(this.getUrlExtension(),"/").concat(e,"/integrations/data?").concat(a),{credentials:"omit"})}async getComponentIntegrationRawData(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r="widgetId=".concat(e,"&platform=").concat(t,"&pluginType=").concat(this.getPluginType(),"&bundle=").concat(n,"&").concat(this.queryParams);return await this.makeRequest("".concat("https://www.commoninja.com","/api/apps/integrations/raw-data?").concat(r),{credentials:"omit"})}async createComponentIntegration(e,t){return await this.makeRequest("".concat(this.baseApiUrl).concat(this.getUrlExtension(),"/").concat(e,"/integrations?pluginType=").concat(this.getPluginType(),"&").concat(this.queryParams),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({...t,componentId:t.componentId||e})})}async updateComponentIntegration(e,t,n){return await this.makeRequest("".concat(this.baseApiUrl).concat(this.getUrlExtension(),"/").concat(e,"/integrations/").concat(t,"?pluginType=").concat(this.getPluginType(),"&").concat(this.queryParams),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})}async deleteComponentIntegration(e,t){return await this.makeRequest("".concat(this.baseApiUrl).concat(this.getUrlExtension(),"/").concat(e,"/integrations/").concat(t,"?pluginType=").concat(this.getPluginType(),"&").concat(this.queryParams),{method:"delete"})}}},29254:(e,t,n)=>{"use strict";function r(){try{return"undefined"!==typeof window&&!!window.localStorage}catch(e){return!1}}n.d(t,{P:()=>r,s:()=>a});class a{constructor(e){this.widgetId="",this.prefix="widget_storage",this.isLocalStorageSupported=void 0,e&&(this.widgetId=e),this.isLocalStorageSupported=r()}getPluginStorage(){return this.isLocalStorageSupported?JSON.parse(window.localStorage.getItem("".concat(this.prefix,"_").concat(this.widgetId))||"{}"):{}}setPluginStorage(e){return this.isLocalStorageSupported?(window.localStorage.setItem("".concat(this.prefix,"_").concat(this.widgetId),JSON.stringify(e)),this.getPluginStorage()):this.getPluginStorage()}deletePluginStorage(){return!!this.isLocalStorageSupported&&(window.localStorage.removeItem("".concat(this.prefix,"_").concat(this.widgetId)),!0)}get(e){return this.getPluginStorage()[e]}set(e,t){const n=this.getPluginStorage();return n[e]=t,this.setPluginStorage(n)}delete(e){const t=this.getPluginStorage();return delete t[e],this.setPluginStorage(t)}destroyAll(){return this.deletePluginStorage()}}},80049:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var r=n(92878),a=n(76462);const o="https://www.commoninja.com",i={NODE_ENV:"production",PUBLIC_URL:"https://cdn.commoninja.com/wr",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRACKTES_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_URL:"widget-renderer-jmu0vch3x-common-ninja.vercel.app",REACT_APP_VERCEL_GIT_COMMIT_SHA:"4e5b5ac49977083776bd4b34a142a354c3f8e3ad",REACT_APP_VERCEL_PROJECT_PRODUCTION_URL:"cn-widget-renderer.vercel.app",REACT_APP_PAYPAL_CLIENT_ID:"Ad5evywbN7Ozx7lwcWJ_k-mFRyfdUbCFi3-I6MBNKH03iJY9NSuBdAOsocZ-FI6lRjVU9PqA0AuHsiuc",REACT_APP_VERCEL_ENV:"production",REACT_APP_VERCEL_GIT_PREVIOUS_SHA:"",REACT_APP_PLUGIN_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_PROVIDER:"github",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_LOGIN:"dsternlicht",REACT_APP_APPS_API_URL:"https://www.commoninja.com",REACT_APP_GOOGLE_API_KEY:"AIzaSyBz3uTNPC_eaU1qzsw3aI-y122qEa-wBoQ",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_NAME:"Daniel Sternlicht",REACT_APP_PAYPAL_BN_CODE:"CommonNinja_Ecom_CommonNinja",REACT_APP_VERCEL_GIT_REPO_SLUG:"apps",REACT_APP_VERCEL_GIT_REPO_OWNER:"CommonNinja",REACT_APP_VERCEL_GIT_PULL_REQUEST_ID:"",REACT_APP_VERCEL_BRANCH_URL:"widget-renderer-git-main-common-ninja.vercel.app",REACT_APP_FORMS_APP_PUBLIC_KEY:"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF4TWpNK092V1E2K0lDeXJ2ZW01ZQoyazZZU1FScmx6UXA2cVZ4ZU85N1FpckRPbFh3OGVNR1ZPc0YvamFtR05vc0EvdXduSXQvRkYyVnVzanZZSE90CnJ1U3p6K1Z0SmxIQVhFUjFPN2ordTdRdnE0Y1YwT296WnEwYjNjTTl5QnJ1YjNTVTNXZ1BGa2dJNnVUU1RNd04KdnEzK1FsaFo0Nm1jSVAydVkycGRva1I0SnhsTEN3bDJHYmM0VFlXL1RPUkhkUlFKYzNMNTZTSVlqQ0tTNHpUNQpMdFMzVlpJY1BTK0F0Ym11VDV2NDlGWDErVVJTaU1ISE9pMTY2cXdSbys5cktVR1pCNFYwWW5sWCtMdGY3alNhCm5mWFNpUjlSbjNDdGdrR1JSSlg1dlQzTHloZzJDdllmcERNSmdxdWQ5Y2hZNkFKWE1QOExVeGFzMXViaHhDRmMKcVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==",REACT_APP_VERCEL_GIT_COMMIT_MESSAGE:"Merge pull request #1640 from CommonNinja/dev",REACT_APP_CAPTCHA_SITE_KEY:"6LcoBP0kAAAAAAA7iNP7tX_hL-aosBh2QrZ1Vv2Z",REACT_APP_REVIEWS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_REPO_ID:"544524421",REACT_APP_VERCEL_GIT_COMMIT_REF:"main",REACT_APP_FEEDS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_TARGET_ENV:"production"}.NEXT_PUBLIC_CDN_URL||{NODE_ENV:"production",PUBLIC_URL:"https://cdn.commoninja.com/wr",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRACKTES_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_URL:"widget-renderer-jmu0vch3x-common-ninja.vercel.app",REACT_APP_VERCEL_GIT_COMMIT_SHA:"4e5b5ac49977083776bd4b34a142a354c3f8e3ad",REACT_APP_VERCEL_PROJECT_PRODUCTION_URL:"cn-widget-renderer.vercel.app",REACT_APP_PAYPAL_CLIENT_ID:"Ad5evywbN7Ozx7lwcWJ_k-mFRyfdUbCFi3-I6MBNKH03iJY9NSuBdAOsocZ-FI6lRjVU9PqA0AuHsiuc",REACT_APP_VERCEL_ENV:"production",REACT_APP_VERCEL_GIT_PREVIOUS_SHA:"",REACT_APP_PLUGIN_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_PROVIDER:"github",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_LOGIN:"dsternlicht",REACT_APP_APPS_API_URL:"https://www.commoninja.com",REACT_APP_GOOGLE_API_KEY:"AIzaSyBz3uTNPC_eaU1qzsw3aI-y122qEa-wBoQ",REACT_APP_VERCEL_GIT_COMMIT_AUTHOR_NAME:"Daniel Sternlicht",REACT_APP_PAYPAL_BN_CODE:"CommonNinja_Ecom_CommonNinja",REACT_APP_VERCEL_GIT_REPO_SLUG:"apps",REACT_APP_VERCEL_GIT_REPO_OWNER:"CommonNinja",REACT_APP_VERCEL_GIT_PULL_REQUEST_ID:"",REACT_APP_VERCEL_BRANCH_URL:"widget-renderer-git-main-common-ninja.vercel.app",REACT_APP_FORMS_APP_PUBLIC_KEY:"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF4TWpNK092V1E2K0lDeXJ2ZW01ZQoyazZZU1FScmx6UXA2cVZ4ZU85N1FpckRPbFh3OGVNR1ZPc0YvamFtR05vc0EvdXduSXQvRkYyVnVzanZZSE90CnJ1U3p6K1Z0SmxIQVhFUjFPN2ordTdRdnE0Y1YwT296WnEwYjNjTTl5QnJ1YjNTVTNXZ1BGa2dJNnVUU1RNd04KdnEzK1FsaFo0Nm1jSVAydVkycGRva1I0SnhsTEN3bDJHYmM0VFlXL1RPUkhkUlFKYzNMNTZTSVlqQ0tTNHpUNQpMdFMzVlpJY1BTK0F0Ym11VDV2NDlGWDErVVJTaU1ISE9pMTY2cXdSbys5cktVR1pCNFYwWW5sWCtMdGY3alNhCm5mWFNpUjlSbjNDdGdrR1JSSlg1dlQzTHloZzJDdllmcERNSmdxdWQ5Y2hZNkFKWE1QOExVeGFzMXViaHhDRmMKcVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==",REACT_APP_VERCEL_GIT_COMMIT_MESSAGE:"Merge pull request #1640 from CommonNinja/dev",REACT_APP_CAPTCHA_SITE_KEY:"6LcoBP0kAAAAAAA7iNP7tX_hL-aosBh2QrZ1Vv2Z",REACT_APP_REVIEWS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_GIT_REPO_ID:"544524421",REACT_APP_VERCEL_GIT_COMMIT_REF:"main",REACT_APP_FEEDS_API_URL:"https://www.commoninja.com",REACT_APP_VERCEL_TARGET_ENV:"production"}.REACT_APP_CDN_URL||"";function s(e,t){if("undefined"===typeof document)return;const n=document.querySelector('meta[property="'.concat(e,'"]'));if(n)return void n.setAttribute("content",t);const r=document.createElement("meta");r.setAttribute("property",e),r.setAttribute("content",t),document.getElementsByTagName("head")[0].appendChild(r)}class l extends a.k{setMetaTags(e){if(!(0,r.G)()||!window.location.href.includes("commoninja.com"))return e;try{if(e.success&&e.data){var t,n;const r=e.data;document.title="".concat(r.name," | Common Ninja"),s("og:site_name","Common Ninja"),s("og:title","".concat(r.name," | Common Ninja")),s("og:image",r.previewImage||""),s("og:description","".concat(r.name," - Powered by Common Ninja")),s("og:url","undefined"!==typeof window&&(null===(t=window)||void 0===t||null===(n=t.top)||void 0===n?void 0:n.location.href)||""),s("twitter:card","summary_large_image"),s("twitter:site","@CommonNinja"),s("twitter:image:alt",r.name)}}catch(a){}return e}async get(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t="".concat(i||o,"/api/v1/plugin/viewer/").concat(e,"?serviceName=").concat(this.getServiceName());return await this.makeRequest(t,{credentials:"omit",headers:{"Content-Type":"application/json"}}).then(this.setMetaTags)}async getInternalWidget(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t="".concat(i||o,"/api/v1/plugin/viewer/").concat(e);return await this.makeRequest(t,{credentials:"omit",headers:{"Content-Type":"application/json"}})}async getByGalleryId(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n="".concat(i||o,"/api/v1/plugin/gallery/").concat(e,"?serviceName=").concat(this.getServiceName(),"&includeData=").concat(t,"&").concat(this.queryParams);return await this.makeRequest(n).then(this.setMetaTags)}async getForEditor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r="".concat(o,"/api/v1/").concat(n?n+"/":"","plugin/").concat(e,"?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams);return await this.makeRequest(r).then((e=>(e.success&&e.data&&(e.data={...t||{},...e.data},this.setMetaTags(e)),e)))}async create(e,t){return await this.makeRequest("".concat(o,"/api/v1/").concat(t?t+"/":"","plugin/?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e.data,name:e.name,projectId:e.projectId||null,description:e.description,privacy:e.privacy,modelVersion:e.modelVersion,status:e.status})})}async update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return await this.makeRequest("".concat(o,"/api/v1/").concat(n?n+"/":"","plugin/").concat(e,"?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:t.data,name:t.name,description:t.description,privacy:t.privacy,modelVersion:t.modelVersion,status:t.status})})}async getWidgetsWithFilter(e){let{limit:t,page:r,platform:a,exclude:i=[],include:s=[],projectId:l="",widgetId:c="",search:u="",pluginType:d}=e;const f={page:r,limit:t,search:u,widgetId:c};d&&(f.pluginType=d),i.length&&(f.exclude=i.join(",")),s.length&&(f.include=s.join(",")),l&&!this.queryParams.includes("projectId=")&&(f.projectId=l);const p=await Promise.all([n.e(71154),n.e(17208)]).then(n.t.bind(n,71154,23)),h="".concat(o,"/api/v1/").concat(a||"plugin","/instances?").concat(p.stringify(f),"&").concat(this.queryParams);return await this.makeRequest(h)}async updateSlug(e,t){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/update-slug?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:t})})}async createTempSlug(e){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/one-time-slug?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"get",headers:{"Content-Type":"application/json"}})}async deleteUsedTempSlug(e,t){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/one-time-slug/").concat(t,"/delete?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"post",credentials:"omit",headers:{"Content-Type":"application/json"}})}async getCustomDomains(e){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/custom-domain?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{method:"get",headers:{"Content-Type":"application/json"}})}async createCustomDomain(e,t){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/custom-domain?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{body:JSON.stringify({domain:t}),credentials:"include",method:"post",headers:{"Content-Type":"application/json"}})}async verifyCustomDomain(e,t){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/custom-domain/verify?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{body:JSON.stringify({domain:t}),credentials:"include",method:"post",headers:{"Content-Type":"application/json"}})}async deleteCustomDomain(e,t){return await this.makeRequest("".concat(o,"/api/v1/plugin/").concat(e,"/custom-domain/delete?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&").concat(this.queryParams),{body:JSON.stringify({domain:t}),credentials:"include",method:"post",headers:{"Content-Type":"application/json"}})}}},14994:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(76462),a=n(80049);class o extends r.k{getSiteInfo(){return new Promise((async e=>{let t="",n=!1;try{if(!window.Wix)throw new Error("Wix is not defined.");window.Wix.getSiteInfo((r=>{n=!0,r&&r.url&&(t=r.url||""),e(t)}))}catch(r){n=!0,e(t)}window.setTimeout((()=>{n||e(t)}),1e3)}))}async get(){const e=await this.getSiteInfo(),t=window.location.href.includes("/bundles/")?"&isBundleApp=true":"",n="".concat("https://www.commoninja.com","/api/v1/wix/plugin/viewer?pluginType=").concat(this.getPluginType(),"&serviceName=").concat(this.getServiceName(),"&siteUrl=").concat(e,"&").concat(this.queryParams).concat(t),r=new a.z(this.meta);return await this.makeRequest(n,{credentials:"omit",headers:{"Content-Type":"application/json"}}).then(r.setMetaTags)}}},31182:(e,t,n)=>{"use strict";n.d(t,{B:()=>y,Q:()=>v});var r=n(34905),a=n(23531),o=n(61066),i=n(69744),s=n(72047),l=n(44796),c=n(17539),u=n(95916);function d(e){return Array.from(document.scripts).some((t=>t.src===e))}var f=n(29254),p=n(97641),h=n(16833),m=n(99277);const g=function(){let e=arguments.length>1?arguments[1]:void 0,t=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;return{appType:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"widget",mode:arguments.length>2?arguments[2]:void 0,widgetId:(null===e||void 0===e?void 0:e.guid)||void 0,projectId:(null===e||void 0===e?void 0:e.projectId)||void 0,tempSlug:"",whiteLabelMode:"undefined"!==typeof window&&(window.location.href.includes("wlToken")||window.location.pathname.includes("/wl/")),whiteLabelPlatform:"undefined"!==typeof window?new URLSearchParams(window.location.search).get("wlPlatform")||"":void 0,viewerPreviewMode:"undefined"!==typeof window&&window.location.pathname.includes("/viewer/")&&(window.location.hostname.includes("commoninja.com")||window.location.hostname.includes("localhost")),platform:"nindo"===(null===e||void 0===e?void 0:e.creationSource)?"website":(null===e||void 0===e?void 0:e.creationSource)||void 0,appId:void 0,frameDistanceFromTop:void 0,widgetInViewport:!1,eventsReported:[],isInFrame:!1,eventHelper:void 0,premiumHelper:void 0,language:"default",widgetDimensions:{width:void 0,height:void 0},siteVisitorId:t,sessionId:n,projectFonts:[]}},_=function(){return{isSaved:!0,isChanged:!1,saving:!1,hasError:!1,undoHistory:[],redoHistory:[],background:"",theme:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dark",sidebarSize:70,drawerSize:401,premiumMessage:"",integrations:[],refetchIntegrationRawData:!1,appsList:[],appsListLoading:!1,showOnboarding:!1,deviceEditingMode:!1,drawerComponent:void 0,activeSections:[],submissionCounters:{state:"empty",counters:{}}}},y=r.createContext({appConfig:{editor:{config:{sections:[]}},meta:{name:"",icon:"",serviceName:"",slug:"",type:""},plugin:{defaultData:(0,s.b)({}),pluginComponent:(0,m.jsx)(m.Fragment,{})}},user:{isAuthenticated:!1,isPremium:!1,fullName:"",thumbnail:""},setUser:()=>{},globalState:{},setGlobalState:()=>{},context:g(),setContext:()=>{},setCart:()=>{},editor:_(),setEditor:()=>{},plugin:(0,s.b)({}),setPlugin:()=>{},pluginIsLoading:!1,setPluginIsLoading:()=>{},siteVisitorContext:{empty:!0,country:"",language:"",timezone:"",domain:"",currentUrl:"",currentPage:"",device:"",lastActivity:0,pageSession:{},scrollPercentage:0,hasExitIntent:!1,websiteSession:{firstVisit:0,lastVisit:0,clicks:0,pages:0,visits:0},lastElementClick:[],widgetSession:{},version:1,dimensions:{width:void 0,height:void 0}},setSiteVisitorContext:()=>{},setStore:()=>{},getAppsList:async()=>{},appsListLoading:!1,eventHelper:new l.f({}),premiumHelper:new c.m,integrationsData:{},cart:{opened:!1,items:[],status:"idle"}}),v=e=>{var t,n;if(!r.useState)return(0,m.jsx)(m.Fragment,{children:"Loading..."});const{appType:v="widget",children:E,appConfig:b,mode:w}=e,{plugin:{defaultData:P},globalState:C}=b,S=new f.s("editor");function R(){let e="";try{e=localStorage.getItem("cn-sv-id")||"",e||(e=(0,a.A)(),localStorage.setItem("cn-sv-id",e))}catch(t){}return e}function A(){let e="";try{e=sessionStorage.getItem("cn-session-id")||"",e||(e=(0,a.A)(),sessionStorage.setItem("cn-session-id",e))}catch(t){}return e}async function T(e){w&&"viewer"!==w&&"gallery"!==w||(e["google-analytics"]&&await async function(e){let{tagId:t,tagType:n}=e;return new Promise((e=>{if("undefined"===typeof window)return void e(!0);if(!t||!n)return void e(!0);const r="https://www.google-analytics.com/analytics.js",a="https://www.googletagmanager.com/gtag/js?id=",o="https://www.googletagmanager.com/gtm.js?id=";let i="";switch(n){case"ua":if(window.ga||d(r))return void e(!0);i=r;break;case"ga4":if(window.gtag||d(a+t))return void e(!0);i=a+t;break;case"gtag":if(window.dataLayer||d(o+t))return void e(!0);i=o+t}if(i){let t=document.createElement("script");return t.async=!0,t.src=i,t.onload=()=>{e(!0)},void document.head.appendChild(t)}e(!0)}))}(e["google-analytics"]||{}),e.mixpanel&&await async function(e){let{token:t=""}=e;return new Promise((e=>{if("undefined"===typeof window)return void e(!0);const n="https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";d(n)||window.mixpanel||(function(e,t){var r,a,o,i;t.__SV||(window.mixpanel=t,t._i=[],t.init=function(e,n,r){function a(e,t){var n=t.split(".");2==n.length&&(e=e[n[0]],t=n[1]),e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}}var s=t;for("undefined"!==typeof r?s=t[r]=[]:r="mixpanel",s.people=s.people||[],s.toString=function(e){var t="mixpanel";return"mixpanel"!==r&&(t+="."+r),e||(t+=" (stub)"),t},s.people.toString=function(){return s.toString(1)+".people (stub)"},o="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "),i=0;i{try{const{data:e}=await n.getComponentIntegrationRawData(L.plugin.guid||"",l);t[l]=e}catch(e){}})())}let s;await Promise.all(a),F("loaded"),T(t),r.includes("url-masking")&&P&&"viewer"===w&&(s=await(0,u.KE)(P)),O((e=>{const n={integrationsData:t};return s&&(n.plugin=s),{...e,...n}}))}const x=e=>{e.theme&&S.set("theme",e.theme),O((t=>({...t,editor:{...t.editor,...e}})))},N=((e,t)=>{let n;return function(){for(var r=arguments.length,a=new Array(r),o=0;o{e(...a)}),t)}})(((e,t)=>{e[e.length-1]!==t&&e.push(t)}),300),I={appConfig:b,user:{isAuthenticated:!1,isPremium:!1,fullName:"",thumbnail:""},setUser:e=>{O((t=>({...t,user:{...t.user,...e}})))},globalState:C||{},setGlobalState:e=>{O((t=>({...t,globalState:{...t.globalState,...e}})))},context:g(v,P,w,R(),A()),setCart:e=>{O((t=>({...t,cart:{...t.cart,...e}})))},setContext:e=>{O((t=>{var n,r;return{...t,context:{...t.context,...e,whiteLabelMode:"undefined"!==typeof window&&(window.location.search.includes("wlToken")||window.location.pathname.includes("/wl/")),whiteLabelPlatform:"undefined"!==typeof window?new URLSearchParams(window.location.search).get("wlPlatform")||"":void 0,viewerPreviewMode:"undefined"!==typeof window&&window.location.pathname.includes("/viewer/")&&(window.location.hostname.includes("commoninja.com")||window.location.hostname.includes("localhost")),siteVisitorId:R(),sessionId:A()},eventHelper:new l.f(t.appConfig.meta,null!==(n=e.widgetId)&&void 0!==n?n:t.context.widgetId,null!==(r=e.isInFrame)&&void 0!==r?r:t.context.isInFrame)}}))},editor:_(S.get("theme")),setEditor:x,plugin:P||(0,s.b)({}),setPlugin:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];O((r=>{var a,o,i;const s={...r.plugin,...e},l=[...r.editor.undoHistory];if(t){const e=JSON.stringify({...s.data});if(1===l.length){l[l.length-1]!==e&&l.push(e)}else N(l,e)}l.length>100&&l.shift();const u={...r,premiumHelper:new c.m(null!==(a=e.planFeatures)&&void 0!==a?a:r.plugin.planFeatures),editor:{...r.editor,undoHistory:l,redoHistory:[],isSaved:n,isChanged:!!t||!!s.guid},plugin:s,context:{...r.context,widgetId:r.context.widgetId||s.guid||""}};return"viewer"!==w&&"gallery"!==w||null===e||void 0===e||null===(o=e.data)||void 0===o||null===(i=o.integrations)||void 0===i||!i.length||k(),u}))},pluginIsLoading:!1,setPluginIsLoading:e=>{O((t=>({...t,pluginIsLoading:e})))},siteVisitorContext:{empty:!0,country:"",language:"",timezone:"",domain:"",currentUrl:"",currentPage:"",device:"",lastActivity:0,pageSession:{},scrollPercentage:0,hasExitIntent:!1,websiteSession:{firstVisit:0,lastVisit:0,clicks:0,pages:0,visits:0},lastElementClick:[],widgetSession:{},version:1,dimensions:{width:void 0,height:void 0}},setSiteVisitorContext:e=>{let t=(0,i.PY)(L.plugin.data.localization,L.context.mode,L.context.platform,L.context.isInFrame);try{var n;const[r]="undefined"!==typeof navigator?navigator.languages:[""];r&&e.language&&(null===(n=e.language)||void 0===n?void 0:n.toLowerCase())!==(null===r||void 0===r?void 0:r.toLowerCase())&&(t=e.language.toLowerCase())}catch(r){}O((n=>{const r={...n.siteVisitorContext,...e,language:t};return{...n,siteVisitorContext:r}}))},setStore:e=>{O((t=>({...t,...e})))},getAppsList:async()=>{try{x({appsListLoading:!0});const e=new h.n({icon:"",name:"",serviceName:"",slug:"",type:""}),t=await e.get();x({appsListLoading:!1,appsList:t})}catch(e){x({appsListLoading:!1,appsList:[]})}},appsListLoading:!1,eventHelper:new l.f(b.meta),premiumHelper:new c.m((P||(0,s.b)({})).planFeatures),integrationsData:{},cart:{opened:!1,items:[],status:"idle"}},[L,O]=(0,r.useState)(I),[U,F]=(0,r.useState)("not-loaded");return"not-loaded"===U&&null!==(t=P.data)&&void 0!==t&&null!==(n=t.integrations)&&void 0!==n&&n.length&&k(),(0,m.jsx)(y.Provider,{value:L,children:E})}},1554:(e,t,n)=>{"use strict";n.d(t,{$:()=>m});var r,a,o,i,s=n(84483),l=n.n(s),c=(n(34905),n(2403)),u=n(73972),d=n(9215),f=n(15931);const p=d.default.button(r||(r=(0,u.A)(["\n\tcursor: pointer;\n\tbackground-color: var(",");\n\tborder: none;\n\tcolor: white;\n\tborder-radius: 5px;\n\tpadding: 5px 15px;\n\ttransition: 0.2s;\n\tfont-weight: 500;\n\tfont-size: 1rem;\n\tfont-family: var(",");\n\tline-height: 1.3rem;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tgap: 5px;\n\n\tsvg {\n\t\tfill: currentColor;\n\t}\n\n\ta {\n\t\tcolor: inherit;\n\n\t\t&:hover {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t&:hover {\n\t\tbackground-color: var(",");\n\t\tcolor: white;\n\n\t\ta {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t&:active {\n\t\tbackground-color: var(",");\n\t\tcolor: white;\n\t}\n\n\t&:disabled {\n\t\topacity: 0.3;\n\t\tpointer-events: none;\n\t}\n\n\t&.secondary {\n\t\tbackground-color: var(",");\n\t\tcolor: var(",");\n\t\tborder: 1px solid var(",");\n\n\t\t&:hover {\n\t\t\tbackground-color: var(",");\n\t\t\tcolor: var(",");\n\t\t\tborder-color: var(",");\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground-color: var(",");\n\t\t\tcolor: var(",");\n\t\t\tborder-color: var(",");\n\t\t}\n\t}\n\n\t&.add {\n\t\tbackground-color: transparent;\n\t\tborder: 2px dashed var(",");\n\t\tcolor: var(",");\n\n\t\t&:hover {\n\t\t\tbackground-color: transparent;\n\t\t\tborder-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground-color: transparent;\n\t\t\tborder-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\t}\n\n\t&.expand {\n\t\tbackground-color: var(",");\n\t\tcolor: var(",");\n\t\tborder: none;\n\n\t\t&:hover {\n\t\t\tbackground-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\t}\n\n\t&.transparent {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tcolor: var(",");\n\n\t\t&:hover {\n\t\t\tbackground-color: transparent;\n\t\t\tcolor: var(",");\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground-color: transparent;\n\t\t\tborder-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\t}\n\n\t&.amit {\n\t\tbackground-color: var(",");\n\t\tcolor: var(",");\n\t\tborder: none;\n\n\t\t&:hover,\n\t\t&:active {\n\t\t\tbackground-color: var(",");\n\t\t\tcolor: var(",");\n\t\t}\n\t}\n"])),f.Kn.primary500,f.Kn.primaryFont,f.Kn.primary300,f.Kn.primary100,f.Kn.background500,f.Kn.text500,f.Kn.background300,f.Kn.background300,f.Kn.text300,f.Kn.background100,f.Kn.background300,f.Kn.text300,f.Kn.background100,f.Kn.background300,f.Kn.text500,f.Kn.background100,f.Kn.text300,f.Kn.background100,f.Kn.text100,f.Kn.background500,f.Kn.text500,f.Kn.background300,f.Kn.text300,f.Kn.background300,f.Kn.text300,f.Kn.text500,f.Kn.text300,f.Kn.text100,f.Kn.text100,f.Kn.primary100,f.Kn.primary800,f.Kn.primary200,f.Kn.primary800);(0,d.default)(p)(a||(a=(0,u.A)([""]))),(0,d.default)(p)(o||(o=(0,u.A)([""]))),(0,d.default)(p)(i||(i=(0,u.A)([""])));var h=n(99277);const m=e=>{let{children:t,variant:n="primary",loading:r=!1,loadingComp:a="Loading...",...o}=e;const i={disabled:r||o.disabled,className:l()((0,c.Pd)("button"),{loading:r},n,o.className)};return(0,h.jsx)(p,{...o,...i,children:r?a:t})}},53416:(e,t,n)=>{"use strict";n.d(t,{R:()=>p});var r,a,o=n(84483),i=n.n(o),s=n(2403),l=n(73972),c=n(9215),u=n(15931);const d=c.default.p(r||(r=(0,l.A)(["\n\t","\n"])),(()=>(0,c.css)(a||(a=(0,l.A)(["\n\t\tline-height: 1.4;\n\n\t\t."," {\n\t\t\tcolor: var(",");\n\t\t\tfont-size: 0.85rem;\n\t\t}\n\t"])),(0,s.Pd)("form-description"),u.Kn.text500)));var f=n(99277);const p=e=>{let{size:t="small",color:n="",...r}=e,a="0.93rem",o={};if("number"===typeof t)a="".concat(t,"px");else switch(t){case"small":a="0.86rem";break;case"medium":a="0.93rem";break;case"large":a="1rem"}return n&&(o={color:n}),(0,f.jsx)(d,{...r,style:{...r.style,...o,fontSize:a},className:i()((0,s.Pd)("form-description"),r.className),children:(null===r||void 0===r?void 0:r.children)||""})}},2403:(e,t,n)=>{"use strict";n.d(t,{Pd:()=>s,kH:()=>l,o4:()=>i});var r,a=n(73972),o=n(9215);const i="nindo",s=e=>"".concat(i,"-").concat(e),l=(0,o.createGlobalStyle)(r||(r=(0,a.A)(["\n :root {\n --","-primary-font: ",";\n --","-secondary-font: ",";\n --","-primary-100: ",";\n --","-primary-200: ",";\n --","-primary-300: ",";\n --","-primary-500: ",";\n --","-primary-700: ",";\n --","-primary-800: ",";\n --","-primary-900: ",";\n --","-background-100: ",";\n --","-background-300: ",";\n --","-background-500: ",";\n --","-background-600: ",";\n --","-background-700: ",";\n --","-background-800: ",";\n --","-background-900: ",";\n --","-text-000: ",";\n --","-text-100: ",";\n --","-text-300: ",";\n --","-text-500: ",";\n --","-text-700: ",";\n --","-text-900: ",";\n --","-white: #fff;\n --","-black: #000;\n --","-error: ",";\n --","-success: ",";\n --","-warning: ",";\n }\n\n * {\n box-sizing: border-box;\n }\n\n /* Reset */\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n background: transparent;\n }\n\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n\n ol,\n ul {\n list-style: none;\n }\n\n blockquote,\n q {\n quotes: none;\n }\n\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: '';\n content: none;\n }\n\n :focus {\n outline: 0;\n }\n\n ins {\n text-decoration: none;\n }\n\n del {\n text-decoration: line-through;\n }\n\n table {\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: none;\n }\n\n a:focus {\n outline: 0;\n }\n\n strong, b {\n font-weight: 700;\n }\n\n i, em {\n font-style: italic;\n }\n\n .center {\n text-align: center;\n }\n\n html {\n font-size: ","px; // For responsive fonts, we'll use rem from now\n }\n\n body {\n font-weight: 400;\n font-family: var(--","-primary-font);\n\n --sb-track-color: #f5f5f5;\n --sb-thumb-color: #bbbbbb;\n --sb-size: 10px;\n\n scrollbar-color: var(--sb-thumb-color) \n var(--sb-track-color);\n }\n \n &::-webkit-scrollbar {\n width: var(--sb-size);\n }\n\n &::-webkit-scrollbar-track {\n background: var(--sb-track-color);\n border-radius: 0px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: var(--sb-thumb-color);\n border-radius: 10px;\n border: 1px solid var(--sb-track-color);\n }\n"])),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.typography)||void 0===n||null===(r=n.fonts)||void 0===r?void 0:r.primary)||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.typography)||void 0===n||null===(r=n.fonts)||void 0===r?void 0:r.secondary)||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[100])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[200])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[300])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[500])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[700])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[800])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.primary)||void 0===r?void 0:r[900])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[100])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[300])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[500])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[600])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[700])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[800])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.background)||void 0===r?void 0:r[900])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r["000"])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r[100])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r[300])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r[500])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r[700])||""}),i,(e=>{var t,n,r;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n||null===(r=n.text)||void 0===r?void 0:r[900])||""}),i,i,i,(e=>{var t,n;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n?void 0:n.error)||""}),i,(e=>{var t,n;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n?void 0:n.success)||""}),i,(e=>{var t,n;return(null===(t=e.theme)||void 0===t||null===(n=t.colors)||void 0===n?void 0:n.warning)||""}),(e=>{var t,n,r,a;return(null===(t=e.theme)||void 0===t||null===(n=t.typography)||void 0===n||null===(r=n.sizes)||void 0===r||null===(a=r.text)||void 0===a?void 0:a.base)||16}),i)},81009:(e,t,n)=>{"use strict";n.d(t,{x:()=>d});var r,a,o=n(60027),i=n(73972),s=n(9215),l=n(15931);const c=s.default.div(r||(r=(0,i.A)(["\n\t","\n"])),(e=>(0,s.css)(a||(a=(0,i.A)(["\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: stretch;\n\t\tgap: 20px;\n\t\tfont-size: 12px;\n\n\t\ta {\n\t\t\tdisplay: flex;\n\t\t\tgap: 10px;\n\t\t\talign-items: center;\n\t\t\tpadding: 10px 15px;\n\t\t\tborder-radius: 5px;\n\t\t\tcolor: var(",");\n\t\t\tbackground-color: var(",");\n\t\t\tbox-shadow: inset 0 0 0 1px var(",");\n\t\t\ttransition: 0.2s;\n\t\t\tline-height: 1.4;\n\n\t\t\tsvg {\n\t\t\t\tcolor: var(",");\n\t\t\t\ttransition: 0.2s;\n\t\t\t\tmax-width: 20px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tbackground-color: var(",");\n\t\t\t\tbox-shadow: inset 0 0 0 1px var(",");\n\t\t\t\ttext-decoration: none;\n\t\t\t\tcolor: var(",");\n\n\t\t\t\tsvg {\n\t\t\t\t\tcolor: var(",");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t"])),l.Kn.text300,l.Kn.background700,l.Kn.background500,l.Kn.text500,l.Kn.background500,l.Kn.background300,l.Kn.text300,l.Kn.text100)));var u=n(99277);const d=e=>{let{articles:t,iconStyle:n={},...r}=e;return(0,u.jsx)(c,{articles:[],...r,children:t.map((e=>(0,u.jsxs)("a",{href:e.link,target:"_blank",rel:"noreferrer",children:[(0,u.jsx)(o.M,{style:n,size:32}),(0,u.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text.replace(/\n/g,"
")}})]},e.link)))})}},15931:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>c,Sx:()=>u,fB:()=>d});var r=n(34905),a=n(9215),o=n(2403),i=n(99277);const s=e=>{var t,n,r,a,o,i,s,l,c,u,d,f;return{name:"dark",colors:{primary:{100:"#252542",200:"#3C3C52",300:"#3638CC",500:"#4C4FFF",700:"#8789FF",800:"#E4E4FF",900:"#F5F5FF",...(null===(t=e.colors)||void 0===t?void 0:t.primary)||{}},text:{"000":"#ffffff",100:"#e6e6e6",300:"#d1d1d1",500:"#bdbdbd",700:"#a8a8a8",900:"#949494",...(null===(n=e.colors)||void 0===n?void 0:n.text)||{}},background:{100:"#606060",300:"#464646",500:"#2d2d2d",600:"#202020",700:"#131313",800:"#0d0d0d",900:"#010101",...(null===(r=e.colors)||void 0===r?void 0:r.background)||{}},error:(null===(a=e.colors)||void 0===a?void 0:a.error)||"#E54657",success:(null===(o=e.colors)||void 0===o?void 0:o.success)||"#30BB57",warning:(null===(i=e.colors)||void 0===i?void 0:i.warning)||"#FFC657"},typography:{sizes:{text:{base:14,...null===(s=e.typography)||void 0===s||null===(l=s.sizes)||void 0===l?void 0:l.text}},fonts:{primary:(null===(c=e.typography)||void 0===c||null===(u=c.fonts)||void 0===u?void 0:u.primary)||"'Lato', sans-serif",secondary:(null===(d=e.typography)||void 0===d||null===(f=d.fonts)||void 0===f?void 0:f.secondary)||"'Lato', sans-serif"}}}},l=e=>{var t,n,r,a,o,i,s,l,c,u,d,f;return{name:"light",colors:{primary:{100:"#F5F5FF",200:"#E4E4FF",300:"#8789FF",500:"#4C4FFF",700:"#3638CC",800:"#202041",900:"#1b1b35",...(null===(t=e.colors)||void 0===t?void 0:t.primary)||{}},text:{"000":"#000000",100:"#202020",300:"#393939",500:"#535353",700:"#6c6c6c",900:"#A9AFB6",...(null===(n=e.colors)||void 0===n?void 0:n.text)||{}},background:{100:"#C7CBD1",300:"#D8DCE3",500:"#E8EFF6",600:"#eff3f7",700:"#f9f9f9",800:"#fefeff",900:"#ffffff",...(null===(r=e.colors)||void 0===r?void 0:r.background)||{}},error:(null===(a=e.colors)||void 0===a?void 0:a.error)||"#E54657",success:(null===(o=e.colors)||void 0===o?void 0:o.success)||"#30BB57",warning:(null===(i=e.colors)||void 0===i?void 0:i.warning)||"#FFC657"},typography:{sizes:{text:{base:14,...null===(s=e.typography)||void 0===s||null===(l=s.sizes)||void 0===l?void 0:l.text}},fonts:{primary:(null===(c=e.typography)||void 0===c||null===(u=c.fonts)||void 0===u?void 0:u.primary)||"'Lato', sans-serif",secondary:(null===(d=e.typography)||void 0===d||null===(f=d.fonts)||void 0===f?void 0:f.secondary)||"'Lato', sans-serif"}}}},c={primaryFont:"--".concat(o.o4,"-primary-font"),secondaryFont:"--".concat(o.o4,"-secondary-font"),primary100:"--".concat(o.o4,"-primary-100"),primary200:"--".concat(o.o4,"-primary-200"),primary300:"--".concat(o.o4,"-primary-300"),primary500:"--".concat(o.o4,"-primary-500"),primary700:"--".concat(o.o4,"-primary-700"),primary800:"--".concat(o.o4,"-primary-800"),primary900:"--".concat(o.o4,"-primary-900"),background100:"--".concat(o.o4,"-background-100"),background300:"--".concat(o.o4,"-background-300"),background500:"--".concat(o.o4,"-background-500"),background600:"--".concat(o.o4,"-background-600"),background700:"--".concat(o.o4,"-background-700"),background800:"--".concat(o.o4,"-background-800"),background900:"--".concat(o.o4,"-background-900"),text000:"--".concat(o.o4,"-text-000"),text100:"--".concat(o.o4,"-text-100"),text300:"--".concat(o.o4,"-text-300"),text500:"--".concat(o.o4,"-text-500"),text700:"--".concat(o.o4,"-text-700"),text900:"--".concat(o.o4,"-text-900"),error:"--".concat(o.o4,"-error"),white:"--".concat(o.o4,"-white"),black:"--".concat(o.o4,"-black")},u=e=>{let{children:t,theme:n,overrides:r={}}=e;const c="dark"===n?s(r):l(r);return(0,i.jsxs)(a.ThemeProvider,{theme:c,children:[(0,i.jsx)(o.kH,{}),t]})},d=e=>{var t,n,c,u,d,f,p,h,m,g,_,y,v,E,b,w,P,C,S,R,A,T,k,x,N,I,L,O,U,F,V,j,M,D,z,G,B,H,W,K,Q,Y,J,q,Z,X,$;let{children:ee,theme:te,overrides:ne={}}=e;const re="dark"===te?s(ne):l(ne),ae={["--".concat(o.o4,"-primary-font")]:(null===(t=re.typography)||void 0===t||null===(n=t.fonts)||void 0===n?void 0:n.primary)||"",["--".concat(o.o4,"-secondary-font")]:(null===(c=re.typography)||void 0===c||null===(u=c.fonts)||void 0===u?void 0:u.secondary)||"",["--".concat(o.o4,"-primary-100")]:(null===(d=re.colors)||void 0===d||null===(f=d.primary)||void 0===f?void 0:f[100])||"",["--".concat(o.o4,"-primary-200")]:(null===(p=re.colors)||void 0===p||null===(h=p.primary)||void 0===h?void 0:h[200])||"",["--".concat(o.o4,"-primary-300")]:(null===(m=re.colors)||void 0===m||null===(g=m.primary)||void 0===g?void 0:g[300])||"",["--".concat(o.o4,"-primary-500")]:(null===(_=re.colors)||void 0===_||null===(y=_.primary)||void 0===y?void 0:y[500])||"",["--".concat(o.o4,"-primary-700")]:(null===(v=re.colors)||void 0===v||null===(E=v.primary)||void 0===E?void 0:E[700])||"",["--".concat(o.o4,"-primary-800")]:(null===(b=re.colors)||void 0===b||null===(w=b.primary)||void 0===w?void 0:w[800])||"",["--".concat(o.o4,"-primary-900")]:(null===(P=re.colors)||void 0===P||null===(C=P.primary)||void 0===C?void 0:C[900])||"",["--".concat(o.o4,"-background-100")]:(null===(S=re.colors)||void 0===S||null===(R=S.background)||void 0===R?void 0:R[100])||"",["--".concat(o.o4,"-background-300")]:(null===(A=re.colors)||void 0===A||null===(T=A.background)||void 0===T?void 0:T[300])||"",["--".concat(o.o4,"-background-500")]:(null===(k=re.colors)||void 0===k||null===(x=k.background)||void 0===x?void 0:x[500])||"",["--".concat(o.o4,"-background-600")]:(null===(N=re.colors)||void 0===N||null===(I=N.background)||void 0===I?void 0:I[600])||"",["--".concat(o.o4,"-background-700")]:(null===(L=re.colors)||void 0===L||null===(O=L.background)||void 0===O?void 0:O[700])||"",["--".concat(o.o4,"-background-800")]:(null===(U=re.colors)||void 0===U||null===(F=U.background)||void 0===F?void 0:F[800])||"",["--".concat(o.o4,"-background-900")]:(null===(V=re.colors)||void 0===V||null===(j=V.background)||void 0===j?void 0:j[900])||"",["--".concat(o.o4,"-text-000")]:(null===(M=re.colors)||void 0===M||null===(D=M.text)||void 0===D?void 0:D["000"])||"",["--".concat(o.o4,"-text-100")]:(null===(z=re.colors)||void 0===z||null===(G=z.text)||void 0===G?void 0:G[100])||"",["--".concat(o.o4,"-text-300")]:(null===(B=re.colors)||void 0===B||null===(H=B.text)||void 0===H?void 0:H[300])||"",["--".concat(o.o4,"-text-500")]:(null===(W=re.colors)||void 0===W||null===(K=W.text)||void 0===K?void 0:K[500])||"",["--".concat(o.o4,"-text-700")]:(null===(Q=re.colors)||void 0===Q||null===(Y=Q.text)||void 0===Y?void 0:Y[700])||"",["--".concat(o.o4,"-text-900")]:(null===(J=re.colors)||void 0===J||null===(q=J.text)||void 0===q?void 0:q[900])||"",["--".concat(o.o4,"-white")]:"#fff",["--".concat(o.o4,"-black")]:"#000",["--".concat(o.o4,"-error")]:(null===(Z=re.colors)||void 0===Z?void 0:Z.error)||"",["--".concat(o.o4,"-success")]:(null===(X=re.colors)||void 0===X?void 0:X.success)||"",["--".concat(o.o4,"-warning")]:(null===($=re.colors)||void 0===$?void 0:$.warning)||""},oe=r.Children.map(ee,(e=>"string"===typeof e.type?r.cloneElement(e,{style:{...ae,...e.props.style}}):(0,i.jsx)("div",{style:{...ae},children:r.cloneElement(e,e.props)})));return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(a.ThemeProvider,{theme:re,children:oe})})}},64865:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(95916),a=n(96329),o=n(34905),i=n(25780),s=n(99277);const l=(0,o.lazy)((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(35614),n.e(83327),n.e(73420),n.e(5631),n.e(55003),n.e(83318),n.e(42901),n.e(63782),n.e(54825),n.e(40040),n.e(70355),n.e(26090),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(50851),n.e(11756),n.e(11119),n.e(82014),n.e(60522),n.e(52868),n.e(33206),n.e(2940),n.e(17933)]).then(n.bind(n,2940)).then((e=>({default:e.CNWatermark})))));function c(e){const[t,n]=(0,o.useState)(null),[c,u]=(0,o.useState)(!1),[d,f]=(0,o.useState)(e),{componentType:p="none",widgetId:h,fetchMissingData:m,rewrites:g,loader:_,showAds:y=!1,style:v,onLoad:E,...b}=d,w=(0,i.e)(p);if((0,o.useEffect)((()=>{e.widgetId!==d.widgetId&&m&&f(e)}),[e.widgetId]),(0,o.useEffect)((()=>{m&&async function(){n(""),u(!0);try{var e;if(!h)throw f({...d,componentType:void 0,defaultData:void 0,ssrMeta:void 0}),new Error("No widget selected.");const t=await fetch("https://www.commoninja.com/api/v1/embed/".concat(h)),n=await t.json();if(!n.success||null===(e=n.data)||void 0===e||!e.widgetData)throw new Error(n.message||"Failed to load widget.");let a=n.data.widgetData.pluginData;g&&Object.keys(g).forEach((e=>{const t=e.split(".");let n=a;for(let r=0;r{"use strict";n.d(t,{e:()=>$e});var r=n(34905);const a=e=>({default:e.SSRWrapper}),o=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(24288)]).then(n.bind(n,81784)).then(a))),i=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(45985),n.e(87215)]).then(n.bind(n,23210)).then(a))),s=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(83327),n.e(83318),n.e(42901),n.e(10457),n.e(71779),n.e(97131),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(96192),n.e(23577),n.e(51600),n.e(94569)]).then(n.bind(n,71115)).then(a))),l=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(35614),n.e(33530),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(19160)]).then(n.bind(n,82417)).then(a))),c=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(11197),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(48497)]).then(n.bind(n,48497)).then(a))),u=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(78362),n.e(37552),n.e(83327),n.e(16402),n.e(17674),n.e(90386),n.e(50525),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(4980),n.e(96192),n.e(98942),n.e(53460),n.e(31937)]).then(n.bind(n,15990)).then(a))),d=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(13121),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(67336)]).then(n.bind(n,67336)).then(a))),f=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(35614),n.e(83318),n.e(40040),n.e(96617),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(60138)]).then(n.bind(n,11887)).then(a))),p=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(55256),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(67915)]).then(n.bind(n,24448)).then(a))),h=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(58296),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(50851),n.e(58034)]).then(n.bind(n,19023)).then(a))),m=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(55003),n.e(54825),n.e(64248),n.e(16402),n.e(93792),n.e(80921),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(34452)]).then(n.bind(n,7943)).then(a))),g=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(53902),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(50851),n.e(9642)]).then(n.bind(n,87447)).then(a))),_=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(1849),n.e(36327),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(50851),n.e(45985),n.e(91161)]).then(n.bind(n,38471)).then(a))),y=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(51229)]).then(n.bind(n,67538)).then(a))),v=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(37552),n.e(73420),n.e(5631),n.e(67597),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(11756),n.e(49493),n.e(41152)]).then(n.bind(n,58969)).then(a))),E=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(35614),n.e(34680),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(25544)]).then(n.bind(n,25544)).then(a))),b=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(73420),n.e(5631),n.e(11197),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(11756),n.e(45985),n.e(27804),n.e(92296)]).then(n.bind(n,69296)).then(a))),w=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(55003),n.e(25778),n.e(62145),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(25226)]).then(n.bind(n,25226)).then(a))),P=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(73420),n.e(5631),n.e(11197),n.e(54541),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(11756),n.e(45985),n.e(27804),n.e(18947)]).then(n.bind(n,18947)).then(a))),C=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(11197),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(50851),n.e(99177)]).then(n.bind(n,52857)).then(a))),S=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(81902)]).then(n.bind(n,99522)).then(a))),R=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(83327),n.e(42901),n.e(93858),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96192),n.e(23577),n.e(15198),n.e(75328)]).then(n.bind(n,89226)).then(a))),A=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(37552),n.e(35614),n.e(83327),n.e(63782),n.e(8658),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(50851),n.e(96192),n.e(11119),n.e(9014),n.e(72457)]).then(n.bind(n,17360)).then(a))),T=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(55003),n.e(54825),n.e(64248),n.e(93792),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(59521)]).then(n.bind(n,98089)).then(a))),k=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(8538),n.e(11842),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(78157),n.e(96569),n.e(14161)]).then(n.bind(n,41678)).then(a))),x=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(79369),n.e(53919),n.e(11376),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(82014),n.e(64401),n.e(81753),n.e(49040)]).then(n.bind(n,92713)).then(a))),N=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(62318),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(50851),n.e(9014),n.e(62118)]).then(n.bind(n,76721)).then(a))),I=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(92794),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(57913)]).then(n.bind(n,34386)).then(a))),L=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(11842),n.e(24373),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(72194)]).then(n.bind(n,328)).then(a))),O=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(78362),n.e(90386),n.e(50525),n.e(76006),n.e(57031),n.e(41768)]).then(n.bind(n,74143)).then(a))),U=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(79369),n.e(64248),n.e(8734),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(81753),n.e(23189)]).then(n.bind(n,67670)).then(a))),F=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(35614),n.e(70355),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(78157),n.e(73448)]).then(n.bind(n,81796)).then(a))),V=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(62318),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(50851),n.e(9014),n.e(13070)]).then(n.bind(n,3338)).then(a))),j=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(57970)]).then(n.bind(n,65702)).then(a))),M=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(35614),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(47809),n.e(22961)]).then(n.bind(n,68329)).then(a))),D=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(35614),n.e(83327),n.e(42901),n.e(20927),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96192),n.e(53460),n.e(33206),n.e(47556),n.e(63678)]).then(n.bind(n,93567)).then(a))),z=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(61280)]).then(n.bind(n,27341)).then(a))),G=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(49595),n.e(90386),n.e(50525),n.e(62991),n.e(99345)]).then(n.bind(n,20566)).then(a))),B=r.lazy((()=>Promise.all([n.e(21896),n.e(8538),n.e(11842),n.e(73420),n.e(90386),n.e(96569),n.e(72867)]).then(n.bind(n,89534)).then(a))),H=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(79369),n.e(53919),n.e(9962),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(81753),n.e(61804)]).then(n.bind(n,51645)).then(a))),W=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(79369),n.e(53919),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(50851),n.e(82014),n.e(64401),n.e(81753),n.e(33139)]).then(n.bind(n,89359)).then(a))),K=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(83327),n.e(42901),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(96192),n.e(43979)]).then(n.bind(n,23519)).then(a))),Q=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(78157),n.e(50051)]).then(n.bind(n,92540)).then(a))),Y=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(1849),n.e(36327),n.e(67053),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(68900)]).then(n.bind(n,43509)).then(a))),J=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(83587)]).then(n.bind(n,7704)).then(a))),q=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(37552),n.e(83327),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(96192),n.e(98942),n.e(53460),n.e(47556),n.e(68769)]).then(n.bind(n,40910)).then(a))),Z=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(59840),n.e(92938),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(47809),n.e(33106)]).then(n.bind(n,33106)).then(a))),X=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(83205)]).then(n.bind(n,73178)).then(a))),$=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(1849),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(70595)]).then(n.bind(n,70595)).then(a))),ee=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(59840),n.e(33091),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(81753),n.e(67555)]).then(n.bind(n,67555)).then(a))),te=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(17014)]).then(n.bind(n,37052)).then(a))),ne=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(8538),n.e(11842),n.e(35614),n.e(55150),n.e(90386),n.e(50525),n.e(62991),n.e(78157),n.e(96569),n.e(81753),n.e(49524)]).then(n.bind(n,45146)).then(a))),re=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(50851),n.e(16334)]).then(n.bind(n,21214)).then(a))),ae=r.lazy((()=>Promise.all([n.e(21896),n.e(8538),n.e(11842),n.e(90386),n.e(96569),n.e(7559)]).then(n.bind(n,73834)).then(a))),oe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(83934),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(73335)]).then(n.bind(n,73335)).then(a))),ie=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(25778),n.e(90386),n.e(50525),n.e(62991),n.e(34337)]).then(n.bind(n,22758)).then(a))),se=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(83327),n.e(95134),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96192),n.e(45985),n.e(77218)]).then(n.bind(n,49606)).then(a))),le=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(17038)]).then(n.bind(n,94409)).then(a))),ce=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(37552),n.e(83327),n.e(73420),n.e(5631),n.e(89942),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(50851),n.e(96192),n.e(11756),n.e(98942),n.e(58462),n.e(36993)]).then(n.bind(n,36993)).then(a))),ue=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(35614),n.e(63782),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(4980),n.e(98942),n.e(11119),n.e(53460),n.e(3916)]).then(n.bind(n,59371)).then(a))),de=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(66868)]).then(n.bind(n,97851)).then(a))),fe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(73420),n.e(5631),n.e(67170),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(11756),n.e(86618)]).then(n.bind(n,86618)).then(a))),pe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(38650),n.e(29144),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(19534)]).then(n.bind(n,19534)).then(a))),he=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(73420),n.e(5631),n.e(25027),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(11756),n.e(67989)]).then(n.bind(n,48465)).then(a))),me=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(37552),n.e(83327),n.e(73420),n.e(5631),n.e(89942),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(50851),n.e(96192),n.e(11756),n.e(98942),n.e(58462),n.e(25743)]).then(n.bind(n,25743)).then(a))),ge=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(35614),n.e(73420),n.e(5631),n.e(63782),n.e(67597),n.e(23388),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(4980),n.e(11756),n.e(11119),n.e(53460),n.e(49493),n.e(96606)]).then(n.bind(n,96606)).then(a))),_e=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(93179)]).then(n.bind(n,50321)).then(a))),ye=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(8538),n.e(11842),n.e(27502),n.e(90386),n.e(50525),n.e(62991),n.e(78157),n.e(96569),n.e(85490)]).then(n.bind(n,1807)).then(a))),ve=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(8538),n.e(11842),n.e(71779),n.e(90386),n.e(50525),n.e(62991),n.e(78157),n.e(96569),n.e(51600),n.e(64552)]).then(n.bind(n,46352)).then(a))),Ee=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(8538),n.e(11842),n.e(90386),n.e(50525),n.e(62991),n.e(78157),n.e(96569),n.e(67937)]).then(n.bind(n,89743)).then(a))),be=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(95578),n.e(90386),n.e(50525),n.e(62991),n.e(89157)]).then(n.bind(n,17498)).then(a))),we=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(63909),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(12836)]).then(n.bind(n,12836)).then(a))),Pe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(93858),n.e(58660),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(78157),n.e(15198),n.e(25271)]).then(n.bind(n,98044)).then(a))),Ce=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(45704)]).then(n.bind(n,61629)).then(a))),Se=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(11384)]).then(n.bind(n,92768)).then(a))),Re=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(83327),n.e(42901),n.e(44492),n.e(15820),n.e(32056),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(4980),n.e(96192),n.e(98942),n.e(53460),n.e(93967),n.e(3650)]).then(n.bind(n,1131)).then(a))),Ae=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(36995)]).then(n.bind(n,25065)).then(a))),Te=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(35614),n.e(63782),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(4980),n.e(11119),n.e(45569)]).then(n.bind(n,43135)).then(a))),ke=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(81448),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(19441)]).then(n.bind(n,19441)).then(a))),xe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(37552),n.e(83327),n.e(44492),n.e(1150),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(96569),n.e(4980),n.e(96192),n.e(98942),n.e(53460),n.e(93967),n.e(88745)]).then(n.bind(n,91081)).then(a))),Ne=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(35614),n.e(63782),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(4980),n.e(11119),n.e(68955)]).then(n.bind(n,41291)).then(a))),Ie=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(83327),n.e(73420),n.e(5631),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(4980),n.e(96192),n.e(98942),n.e(17061)]).then(n.bind(n,26277)).then(a))),Le=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(30090),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(50851),n.e(64401),n.e(12077)]).then(n.bind(n,31796)).then(a))),Oe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(82498),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(60522),n.e(42591),n.e(85310)]).then(n.bind(n,85310)).then(a))),Ue=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(83318),n.e(40040),n.e(82498),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(60522),n.e(42591),n.e(28319)]).then(n.bind(n,28319)).then(a))),Fe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(38805),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(82014),n.e(25697)]).then(n.bind(n,25697)).then(a))),Ve=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(75040),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(61974)]).then(n.bind(n,5095)).then(a))),je=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(32415),n.e(66902),n.e(53453),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(91633)]).then(n.bind(n,38883)).then(a))),Me=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(83318),n.e(10457),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(60562)]).then(n.bind(n,77214)).then(a))),De=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(83327),n.e(44492),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(4980),n.e(96192),n.e(98942),n.e(93967),n.e(40477)]).then(n.bind(n,40477)).then(a))),ze=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(8538),n.e(11842),n.e(37552),n.e(1150),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(96569),n.e(4980),n.e(21665)]).then(n.bind(n,70995)).then(a))),Ge=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(38650),n.e(54795),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(92676)]).then(n.bind(n,92676)).then(a))),Be=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(79444)]).then(n.bind(n,10532)).then(a))),He=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(98374)]).then(n.bind(n,42906)).then(a))),We=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(72878)]).then(n.bind(n,44850)).then(a))),Ke=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(23113)]).then(n.bind(n,55646)).then(a))),Qe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(35614),n.e(16205),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(78157),n.e(8499)]).then(n.bind(n,8499)).then(a))),Ye=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(85666)]).then(n.bind(n,22158)).then(a))),Je=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(57031),n.e(78157),n.e(57456)]).then(n.bind(n,57116)).then(a))),qe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(37552),n.e(48320),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(4980),n.e(14403)]).then(n.bind(n,14403)).then(a))),Ze=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(90386),n.e(50525),n.e(62991),n.e(92115),n.e(44585)]).then(n.bind(n,58430)).then(a))),Xe=r.lazy((()=>Promise.all([n.e(21896),n.e(50179),n.e(35005),n.e(64213),n.e(78362),n.e(90386),n.e(50525),n.e(62991),n.e(76006),n.e(92115),n.e(57031),n.e(1438)]).then(n.bind(n,88994)).then(a)));function $e(e){switch(e){case"announcements":return i;case"3d_cards":return o;case"logo_showcase":case"image_slider":case"video_slider":case"card_slider":return I;case"form":case"form_builder":case"contact_form":case"rsvp_form":case"support_form":case"order_form":case"course_registration_form":case"job_application_form":case"petition_form":case"feedback_form":case"consent_form":case"email_subscription_form":case"hipaa_form":case"donation_form":return D;case"feed":case"tiktok_feed":case"reddit_feed":case"twitch_feed":case"instagram_feed":case"mastodon_feed":case"medium_feed":case"rss_feed":case"facebook_feed":case"twitter_feed":case"pinterest_feed":case"youtube_feed":case"vimeo_feed":case"tumblr_feed":case"wordpress_feed":case"blogger_feed":case"threads_feed":case"linkedin_feed":case"spoutible_feed":case"bluesky_feed":return E;case"scroll_to_element_button":case"back_to_top_button":case"nudge_button":case"marketing_button":return N;case"video_carousel":case"banner_carousel":case"card_carousel":case"quotes_carousel":case"image_carousel":return f;case"capterra_reviews":case"g2_reviews":case"facebook_reviews":case"aliexpress_reviews":case"googleplay_reviews":case"airbnb_reviews":case"appstore_reviews":case"ebay_reviews":case"tripadvisor_reviews":case"trustpilot_reviews":case"tp_reviews":case"etsy_reviews":case"yelp_reviews":case"amazon_reviews":case"google_reviews":case"sitejabber_reviews":case"glassdoor_reviews":case"all_in_one_reviews":return x;case"popup_builder":case"feedback_popup":case"whatsnew_popup":case"notification_popup":case"coupon_popup":case"age_verification":case"corner_popup_builder":case"corner_popup":case"corner_coupon_popup":return A;case"corner_button":return g;case"device_mockup":return y;case"progress_circles":case"progress_bars":return k;case"coupon_bar":case"notification_bar":case"cookie_bar":return C;case"social_votes":return L;case"numbers_counter":return S;case"branch_flip_cards":case"restaurant_flip_cards":case"team_member_flip_cards":case"skill_flip_cards":case"event_flip_cards":case"flip_cards":return b;case"branch_list":case"skill_list":case"restaurant_list":case"event_list":case"team_member_list":case"info_list":return P;case"team_members":case"product_blobs":return c;case"bracket":return u;case"automatic_stories":return O;case"comparison_table":return m;case"chart":return p;case"accordion":case"faq":return v;case"pricing_table":return T;case"before_after":return l;case"countdown_bar":return _;case"pdf_gallery":return R;case"business_hours":return d;case"audio_player":case"podcast_player":return s;case"testimonials":return U;case"whatsapp_button":case"telegram_button":case"messenger_button":case"all_in_one_chat_button":return h;case"image_hotspot":return w;case"gallery":case"image_gallery":case"video_gallery":case"image_hover_effects":return F;case"slide_in_panel":return V;case"image_accordion":return j;case"timeline":return M;case"social_links":return z;case"magnifier":case"image_magnifier":return G;case"lottie_player":return B;case"ticker":case"news_ticker":return H;case"reviews_badge":case"sitejabber_reviews_badge":return W;case"payment_button":case"subscription_button":case"one_time_payment_button":case"donation_button":return K;case"process":return Q;case"countdown":case"countup":return Y;case"image_stack":return J;case"poll":case"image_poll":case"video_poll":return q;case"calendar":return Z;case"right_click_protector":return X;case"countdown_to_download":return $;case"weather":return ee;case"animated_headline":case"highlighted_headline":return te;case"image_grid_slider":return ne;case"call_button":return re;case"headline_with_background_image":return ae;case"maps":return oe;case"tilted_image":return ie;case"comments":return se;case"currency_converter":return le;case"spinning_wheel":return ce;case"super_widget":return ue;case"pricing_slider":return de;case"code_snippets":return fe;case"diagrams":return pe;case"agenda":return he;case"scratch_card":return me;case"catalog":case"cn_widgets_catalog":case"catalog_builder":case"job_listings":case"course_listings":case"event_listings":case"real_estate_listings":case"business_listings":return ge;case"mega_footer":return _e;case"multi_row_slider":return ye;case"stop_motion_player":return ve;case"ratio":return Ee;case"virtual_tour":return be;case"world_clock":return we;case"pdf_flipbook":return Pe;case"social_share_buttons":return Ce;case"adblocker_detector":return Se;case"booking":return Re;case"glossary":return Ae;case"section_builder":return Te;case"social_proof_avatars":return ke;case"quiz":case"personality_quiz":return xe;case"tabs":return Ne;case"ai_widget":return Ie;case"wake_up_notifications":case"social_proof":return Le;case"social_slider":case"instagram_slider":case"tiktok_slider":case"rss_slider":case"vimeo_slider":case"youtube_slider":case"bluesky_slider":case"linkedin_slider":return Oe;case"social_carousel":case"instagram_carousel":case"tiktok_carousel":case"vimeo_carousel":case"bluesky_carousel":case"youtube_carousel":case"rss_carousel":case"linkedin_carousel":return Ue;case"reviews_trust_box":case"sitejabber_trust_box":return Fe;case"calculator":return Ve;case"visitor_counter":return je;case"interactive_video":case"sticky_video":return Me;case"feature_voting":return De;case"engagement_toolbox":return ze;case"interactive_map":return Ge;case"trust_badges":case"payment_method_logos":return Be;case"flash_cards":return He;case"leaderboard":return We;case"website_translator":return Ke;case"restaurant_menu":return Qe;case"google_search":return Ye;case"image_wall":return Je;case"ai_chatbot":return qe;case"scroll_progress":return Ze;case"pomodoro_timer":return Xe}return null}},61436:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},23611:(e,t,n)=>{var r=n(7782).k5;e.exports.Q=function(e){return r({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M4 5h8v3a4 4 0 01-8 0V5z"}},{tag:"path",attr:{fillRule:"evenodd",d:"M6 1.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V2a.5.5 0 01.5-.5zm4 0a.5.5 0 01.5.5v3a.5.5 0 01-1 0V2a.5.5 0 01.5-.5zM7.115 13.651c.256-.511.385-1.408.385-2.651h1c0 1.257-.121 2.36-.49 3.099-.191.381-.47.707-.87.877-.401.17-.845.15-1.298-.002-.961-.32-1.534-.175-1.851.046-.33.23-.491.615-.491.98h-1c0-.635.278-1.353.918-1.8.653-.456 1.58-.561 2.74-.174.297.099.478.078.592.03.115-.05.244-.161.365-.405z",clipRule:"evenodd"}}]})(e)}},62816:(e,t,n)=>{var r=n(7782).k5;e.exports.X=function(e){return r({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}}]})(e)}},7782:(e,t,n)=>{"use strict";n.d(t,{k5:()=>c});var r=n(34905),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(a),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{var r=n(7782).k5;e.exports.M=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 22H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1zm-1-2V4H5v16h14zM7 6h4v4H7V6zm0 6h10v2H7v-2zm0 4h10v2H7v-2zm6-9h4v2h-4V7z"}}]}]})(e)}},4138:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta,default:()=>o});const o=a},92721:(e,t,n)=>{"use strict";var r=n(70892),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{var r=n(39806).Symbol;e.exports=r},56083:(e,t,n)=>{var r=n(11474),a=n(92838),o=n(30797),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},32323:(e,t,n)=>{var r=n(56001),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},79799:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},92838:(e,t,n)=>{var r=n(11474),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},30797:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},39806:(e,t,n)=>{var r=n(79799),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},56001:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},95216:(e,t,n)=>{var r=n(72044),a=n(96287),o=n(76115),i=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,f,p,h=0,m=!1,g=!1,_=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function v(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=u}function E(){var e=a();if(v(e))return b(e);f=setTimeout(E,function(e){var n=t-(e-p);return g?s(n,u-(e-h)):n}(e))}function b(e){return f=void 0,_&&l?y(e):(l=c=void 0,d)}function w(){var e=a(),n=v(e);if(l=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(E,t),m?y(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(E,t),y(p)}return void 0===f&&(f=setTimeout(E,t)),d}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?i(o(n.maxWait)||0,t):u,_="trailing"in n?!!n.trailing:_),w.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},w.flush=function(){return void 0===f?d:b(a())},w}},72044:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4003:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},46451:(e,t,n)=>{var r=n(56083),a=n(4003);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},96287:(e,t,n)=>{var r=n(39806);e.exports=function(){return r.Date.now()}},76115:(e,t,n)=>{var r=n(32323),a=n(72044),o=n(46451),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}},62280:(e,t,n)=>{"use strict";var r=n(34905),a=n(84527);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n