1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="888185f5-4984-4732-b4f1-9877014c75ac",e._sentryDebugIdIdentifier="sentry-dbid-888185f5-4984-4732-b4f1-9877014c75ac")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2284],{23548:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/subscription/return",function(){return n(76938)}])},35868:function(e,t,n){"use strict";var r=n(85893),s=n(9008),a=n.n(s),i=n(5152),l=n.n(i),c=n(1762),o=n(24975),d=n(36003),u=n(76142),m=n(37744),f=n(78866);const x=l()((()=>n.e(8647).then(n.bind(n,88647))),{loadableGenerated:{webpack:()=>[88647]}}),g=l()((()=>n.e(8882).then(n.bind(n,8882))),{loadableGenerated:{webpack:()=>[8882]}}),h=l()((()=>n.e(5477).then(n.bind(n,75477))),{loadableGenerated:{webpack:()=>[75477]}}),p=l()((()=>Promise.all([n.e(5643),n.e(4413),n.e(3990),n.e(6062),n.e(6681),n.e(5800),n.e(2993),n.e(577),n.e(7744),n.e(8167),n.e(1805),n.e(9550)]).then(n.bind(n,9550))),{loadableGenerated:{webpack:()=>[9550]}}),b=l()((()=>Promise.all([n.e(5643),n.e(4413),n.e(3990),n.e(6062),n.e(6681),n.e(5800),n.e(2993),n.e(577),n.e(1703),n.e(8167),n.e(1805),n.e(3633)]).then(n.bind(n,63633))),{loadableGenerated:{webpack:()=>[63633]}}),j=l()((()=>Promise.all([n.e(4712),n.e(8410)]).then(n.bind(n,58410))),{loadableGenerated:{webpack:()=>[58410]},ssr:!1});function v(e){switch(e.style??d.default.navigation.style){case u.$.Sidebar:return(0,r.jsx)(p,{...e,children:e.children});case u.$.TopHeader:return(0,r.jsx)(b,{...e,children:e.children});case u.$.Custom:return(0,r.jsx)(r.Fragment,{children:e.children})}}function y(e){const t=(0,c.TS)();return"loading"===t.status||"error"===t.status?null:t.data.signedIn?e.children:null}function k(e){return e.title&&"string"===typeof e.title?(0,r.jsx)(a(),{children:(0,r.jsx)("title",{children:e.title},"title")}):null}t.Z=e=>{const t=function(){const e=d.default.paths,t=new URLSearchParams({signOut:"true"});return`${e.signIn}?${t.toString()}`}();return(0,r.jsxs)(x,{children:[(0,r.jsx)(k,{title:"title"in e&&e.title}),(0,r.jsx)(h,{whenSignedOut:t,children:(0,r.jsx)(g,{children:(0,r.jsxs)(m.Z,{children:[(0,r.jsx)(j,{richColors:!0,position:"top-center"}),(0,r.jsx)(v,{...e,children:(0,r.jsx)(o.SV,{fallback:f.Z,children:(0,r.jsx)(y,{children:e.children})})})]})})})]})}},98572:function(e,t,n){"use strict";var r=n(85893),s=(n(67294),n(35868)),a=n(14330),i=n(52830),l=n(99345),c=n(51393);let o=e=>{let t=[{path:"/settings/profile",i18n:"common:profileSettingsTabLabel"},{path:"/settings/integrations",label:"Integrations"},{path:"/settings/credits",i18n:"common:creditsSettingsTabLabel"}];return e&&t.splice(1,0,{path:"/settings/organization",i18n:"common:organizationSettingsTabLabel"}),t};t.Z=e=>{let{children:t,title:n}=e;const d=(0,c.k)(),u=(d?.inviteLimit??0)>0;return(0,r.jsxs)(s.Z,{title:n,description:(0,r.jsx)(l.cC,{i18nKey:"common:settingsTabDescription"}),children:[(0,r.jsx)(a.Z,{bordered:!0,children:o(u).map((e=>(0,r.jsx)(i.Z,{className:"flex-1 lg:flex-none",link:e},e.path)))}),(0,r.jsx)("div",{className:"mt-4 flex h-full flex-col space-y-4 lg:flex-row lg:space-x-8 lg:space-y-0",children:t})]})}},66122:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(85893),s=n(52787),a=n(37783),i=n(99345),l=n(32488),c=n(40548),o=n(36003),d=n(31373);function u(e){let{customerEmail:t,creditsPurchased:n,returnUrl:s}=e;return(0,r.jsx)(m,{customerEmail:t,returnUrl:s,creditsPurchased:n})}function m(e){let{customerEmail:t,creditsPurchased:n,returnUrl:u}=e;return(0,r.jsx)("section",{"data-cy":"payment-return-success",className:"mx-auto max-w-xl rounded-xl border p-16 fade-in xl:drop-shadow-sm border-gray-100 dark:border-dark-800 bg-background animate-in zoom-in-90 slide-in-from-bottom-36 duration-500 dark:shadow-2xl dark:shadow-primary/40",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-6 text-center",children:[(0,r.jsx)(l.Z,{className:"flex items-center",type:3,children:(0,r.jsx)("span",{className:"mr-4 font-semibold",children:(0,r.jsxs)(d.Z,{color:"success",className:"!flex !text-xl tracking-normal
1!font-bold shadow",children:[(0,r.jsx)(s.Z,{className:"h-5 w-5"}),(0,r.jsxs)("span",{children:[n," Credits Added"]})]})})}),(0,r.jsx)("div",{className:"flex flex-col space-y-4 text-gray-500 dark:text-gray-400",children:(0,r.jsx)("p",{children:(0,r.jsx)(i.cC,{i18nKey:"subscription:checkoutSuccessDescription",values:{customerEmail:t}})})}),(0,r.jsx)(c.ZP,{href:u??o.default.paths.appHome,variant:"outline",children:(0,r.jsxs)("span",{className:"flex items-center space-x-2.5",children:[(0,r.jsx)("span",{children:"Continue"}),(0,r.jsx)(a.Z,{className:"h-4"})]})}),(0,r.jsx)("span",{className:"text-sm text-primary",children:"Your account will be credited in just a few seconds"})]})})}},50773:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});const r="/";function s(e,t,n){const r=t.split("?")[0];if(!i(r)&&i(e))return!1;if(!r.includes(e))return!1;return!(e!==r)||function(e,t,n){const r=a(e),s=function(e,t){let n=0;for(const r of a(e)){if(!t.includes(r))return n;n+=1}return n}(t,r);return s>r.length-n}(e,r,n)}function a(e){return e.split("/").filter(Boolean)}function i(e){return e===r}},31373:function(e,t,n){"use strict";var r=n(85893),s=n(43006),a=n(90512);const i=(0,s.j)(["flex space-x-2 items-center font-medium"],{variants:{color:{normal:"text-gray-500 bg-gray-100 dark:text-gray-300 dark:bg-dark-800/80",success:"bg-green-50 dark:bg-green-500/10 text-green-700 dark:text-green-600",warn:"bg-yellow-50 dark:bg-yellow-100/10 text-yellow-800",error:"bg-red-50 dark:bg-red-500/10 text-red-800 dark:text-red-600",info:"bg-sky-50 dark:bg-sky-500/10 text-sky-800 dark:text-sky-600",custom:""},size:{normal:"rounded-lg px-3 py-2 text-sm",small:"rounded px-2 py-1 text-xs",custom:""}},defaultVariants:{color:"normal",size:"normal"}});t.Z=e=>{let{children:t,color:n,size:s,...l}=e;const c=i({color:n,size:s});return(0,r.jsx)("div",{className:(0,a.Z)(c,l.className),children:t})}},32488:function(e,t,n){"use strict";var r=n(85893),s=n(90512);const a=e=>{let{type:t,children:n,className:i}=e;switch(t){case 1:return(0,r.jsx)("h1",{className:(0,s.Z)("font-heading scroll-m-20 text-4xl font-bold tracking-tight dark:text-white",i),children:n});case 2:return(0,r.jsx)("h2",{className:(0,s.Z)("font-heading scroll-m-20 pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0",i),children:n});case 3:return(0,r.jsx)("h3",{className:(0,s.Z)("font-heading scroll-m-20 text-2xl font-semibold tracking-tight",i),children:n});case 4:return(0,r.jsx)("h4",{className:(0,s.Z)("font-heading scroll-m-20 text-xl font-semibold tracking-tight",i),children:n});case 5:return(0,r.jsx)("h5",{className:(0,s.Z)("scroll-m-20 font-heading text-lg font-medium",i),children:n});case 6:return(0,r.jsx)("h6",{className:(0,s.Z)("scroll-m-20 font-heading text-base font-medium",i),children:n});default:return(0,r.jsx)(a,{type:1,children:n})}};t.Z=a},37744:function(e,t,n){"use strict";var r=n(85893),s=n(9008),a=n.n(s),i=n(36003),l=n(67294),c=n(66633);function o(){const{theme:e}=(0,l.useContext)(c.N),t="dark"===e?i.default.site.themeColorDark:i.default.site.themeColor;return(0,r.jsx)("meta",{name:"theme-color",content:t})}t.Z=e=>{let{children:t}=e;const n=i.default.site.siteUrl;if(!n)throw new Error("Please add the property siteUrl in the configuration");const s={name:i.default.site.name,url:n,logo:`${n}/assets/images/favicon/favicon-150x150.png`,"@context":"https://schema.org","@type":"Organization"};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:i.default.site.name},"title"),(0,r.jsx)("link",{rel:"shortcut icon",href:"/assets/images/favicon/favicon.ico"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/assets/images/favicon/apple-touch-icon.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/assets/images/favicon/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/assets/images/favicon/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/assets/images/favicon/site.webmanifest"}),(0,r.jsx)("link",{rel:"mask-icon",href:"/assets/images/favicon/safari-pinned-tab.svg",color:"#000000"}),(0,r.jsx)("link",{rel:"dns-prefetch",href:"//fonts.googleapis.com"}
1),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,r.jsx)("meta",{name:"msapplication-config",content:"/favicon/browserconfig.xml"}),(0,r.jsx)(o,{}),(0,r.jsx)("meta",{name:"description",content:i.default.site.description},"meta:description"),(0,r.jsx)("meta",{property:"og:title",content:i.default.site.name},"og:title"),(0,r.jsx)("meta",{property:"og:description",content:i.default.site.description},"og:description"),(0,r.jsx)("meta",{property:"og:site_name",content:i.default.site.siteName}),(0,r.jsx)("meta",{property:"twitter:title",content:i.default.site.siteName}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:image",content:"https://sitemechanic.ai/assets/images/twitter-card.webp"}),(0,r.jsx)("meta",{property:"twitter:creator",content:i.default.site.twitterHandle}),(0,r.jsx)("script",{async:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(s)}},"ld:json")]}),(0,r.jsx)("main",{className:"flex flex-col min-h-screen",children:t})]})}},52830:function(e,t,n){"use strict";var r=n(85893),s=n(41664),a=n.n(s),i=n(11163),l=n(67294),c=n(99345),o=n(90512),d=n(43006),u=n(50773),m=n(29931);t.Z=e=>{let{link:t,disabled:n,shallow:s,depth:f,icon:x,...g}=e;const h=(0,i.useRouter)(),p=(0,u.J)(t.path,h.asPath,f??1),b=(0,l.useContext)(m.v),j=t.label??t.i18n,v=(0,d.j)(["flex items-center justify-center font-medium lg:justify-start rounded-md text-sm transition colors transform active:*:translate-y-[2px]","*:p-1 *:lg:px-2.5 *:w-full *:h-full *:flex *:items-center"],{compoundVariants:[{active:!1,className:"active:text-current text-gray-500 dark:text-gray-500\n hover:text-current dark:hover:text-white"},{active:!0,className:"text-gray-800 dark:text-white"},{active:!0,pill:!0,className:"bg-gray-50 text-gray-600 dark:bg-primary-300/10"},{active:!1,pill:!0,className:"hover:bg-gray-50 active:bg-gray-100 text-gray-500 dark:text-gray-300 dark:hover:bg-background dark:active:bg-dark-900/90"},{active:!1,bordered:!0,className:"hover:bg-gray-50 active:bg-gray-100 dark:active:bg-dark-800 dark:hover:bg-dark/90 transition-colors rounded-lg border-transparent"},{active:!0,bordered:!0,className:"top-[0.4rem] border-b-[0.25rem] rounded-none border-primary bg-transparent pb-[0.55rem] text-primary-700 dark:text-white"},{active:!0,secondary:!0,className:"bg-transparent font-medium"}],variants:{active:{true:""},pill:{true:"[&>*]:py-2"},bordered:{true:"relative h-10"},secondary:{true:""}}})({active:p,...b});return(0,r.jsx)("li",{className:(0,o.Z)(v,g.className??""),children:(0,r.jsxs)(a(),{className:"transition-transform duration-500","aria-disabled":n,href:n?"":t.path,shallow:s??p,children:[x&&x,(0,r.jsx)(c.cC,{i18nKey:j,defaults:j})]})})}},14330:function(e,t,n){"use strict";var r=n(85893),s=n(43006),a=n(29931);t.Z=function(e){const t=(0,s.j)(["w-full dark:text-gray-300 items-center flex-wrap flex"],{variants:{vertical:{true:"flex items-start justify-between space-x-2\n lg:flex-col lg:justify-start lg:space-x-0 lg:space-y-1"},bordered:{true:"lg:space-x-3 border-b border-gray-100 dark:border-dark-800 pb-1.5"}}})(e);return(0,r.jsx)("ul",{className:t,children:(0,r.jsx)(a.v.Provider,{value:e,children:e.children})})}},29931:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});const r=(0,n(67294).createContext)({})},51393:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(67294),s=n(90400);function a(){const{organization:e}=(0,r.useContext)(s.g);return e}},76938:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g}});var r=n(85893),s=n(9008),a=n.n(s),i=n(5152),l=n.n(i),c=n(11163),o=n(98887),d=n(98572),u=n(66122),m=n(67294),f=n(51393);const x=l()((()=>Promise.all([n.e(5643),n.e(4413),n.e(633),n.e(9101),n.e(6023)]).then(n.bind(n,9038))),{loadableGenerated:{webpack:()=>[9038]},ssr:!1});var g=!0;t.default=function(e){let{session:t}=e;const n=(0,c.useRouter)(),s=(0,f.k)(),i=n.query?.session_id;return(0,m.useEffect)((()=>{const e=`conversionEventLogged-${i}`,n=window.sessionStorage.getItem(e);if(t.planAmount&&!n){const n=(0,o.getAnalytics)();(0,o.logEvent)(n,"subscribe",{organizationId:s?.id,priceId:t.priceId,planInterval:t.interval,planAmount:t.planAmount,value:t.planAmount}),window.sessionStorage.setItem(e,"true")}})),t.clientSecret?(0,r.jsx)(x,{clientSecret:t.clientSecret,onClose:()=>n.replace("/settings/subscription")}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d.Z,{title:"Settings",children:[(0,r.jsx)(a(),{children:(0,r.jsx)("title",{children:"Checkout"},"title")}),(0,r.jsx)("div",{className:"fixed left-0 top-48 w-full mx-auto z-50",children:(0,r.jsx)(u.s,{status:t.status,customerEmail:t.customerEmail})})]}),(0,r.jsx)("div",{className:"bg-background/30 backdrop-blur-sm fixed top-0 left-0 w-full h-full"})]})}},9008:function(e,t,n){e.exports=n(37219)},37783:function(e,t,n){"use strict";var r=n(67294);function s(e,t){let{title:n,titleId:s,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),n?r.createElement("title",{id:s},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const a=r.forwardRef(s);t.Z=a},52787:function(e,t,n){"use strict";var r=n(67294);function s(e,t){let{title:n,titleId:s,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),n?r.createElement("title",{id:s},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))}const a=r.forwardRef(s);t.Z=a}},function(e){e.O(0,[8887,2888,9774,179],(function(){return t=23548,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.