PageSourceSearch

https://app.stammer.ai/static/react/9101.b1eff04291922265c6a2.js

js stammer.ai collected 2026-09-28 10:06:37 UTC 29,399 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkStammer_ai=self.webpackChunkStammer_ai||[]).push([[9101],{43219:function(e,n,r){r.d(n,{hp:function(){return A},N7:function(){return d},y6:function(){return S},ip:function(){return u}});var t=r(19124),i=r(60551),o=r(21762),a=r(86591),c="agencyPackages",l=function(e,n,r,t){return new(r||(r=Promise))((function(i,o){function a(e){try{l(t.next(e))}catch(e){o(e)}}function c(e){try{l(t.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?i(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,c)}l((t=t.apply(e,n||[])).next())}))},s=function(e,n){var r,t,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(l){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,t&&(i=2&c[0]?t.return:c[0]?t.throw||((i=t.return)&&i.call(t),0):t.next)&&!(i=i.call(t,c[1])).done)return i;switch(t=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,t=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=n.call(e,o)}catch(e){c=[6,e],t=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}},u=function(e){return(0,a.I)({queryKey:[c,e],queryFn:function(){return function(e){return l(void 0,void 0,Promise,(function(){var n,r;return s(this,(function(a){switch(a.label){case 0:return n="".concat(o.n.WHITE_LABEL.AGENCY_SUBSCRIPTION_PACKAGES_API,"/").concat(e),[4,i.A.get(n)];case 1:return r=a.sent(),[2,(0,t.Cb)(r.data)]}}))}))}(e||-1)},refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0,retry:!1})},d=function(e,n){return l(void 0,void 0,Promise,(function(){var r,a,c,l;return s(this,(function(s){switch(s.label){case 0:return r=new URLSearchParams,n&&r.set("package-type",n),a=r.toString(),c="".concat(o.n.WHITE_LABEL.AGENCY_SUBSCRIPTION_PACKAGES_API,"/").concat(a?"?".concat(a):""),[4,i.A.post(c,(0,t.uc)(e))];case 1:return l=s.sent(),[2,(0,t.Cb)(l.data)]}}))}))},S=function(e,n){return l(void 0,void 0,Promise,(function(){var r,a;return s(this,(function(c){switch(c.label){case 0:return r="".concat(o.n.WHITE_LABEL.AGENCY_SUBSCRIPTION_PACKAGES_API,"/").concat(e,"/"),[4,i.A.put(r,(0,t.uc)(n))];case 1:return a=c.sent(),[2,(0,t.Cb)(a.data)]}}))}))},A=function(e){return l(void 0,void 0,Promise,(function(){var n,r;return s(this,(function(a){switch(a.label){case 0:return n="".concat(o.n.WHITE_LABEL.AGENCY_SUBSCRIPTION_PACKAGES_API,"/").concat(e,"/"),[4,i.A.delete(n)];case 1:return r=a.sent(),[2,(0,t.Cb)(r.data)]}}))}))}},19858:function(e,n,r){r.d(n,{Ol:function(){return f},PC:function(){return E},x3:function(){return _},DD:function(){return h},No:function(){return p},dn:function(){return A}});var t=r(19124),i=r(60551),o=r(21762),a=r(86591),c="agencyPackages",l="subaccountPackages",s="freeTrialSettings",u="addOns",d=function(e,n,r,t){return new(r||(r=Promise))((function(i,o){function a(e){try{l(t.next(e))}catch(e){o(e)}}function c(e){try{l(t.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?i(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,c)}l((t=t.apply(e,n||[])).next())}))},S=function(e,n){var r,t,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(l){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,t&&(i=2&c[0]?t.return:c[0]?t.throw||((i=t.return)&&i.call(t),0):t.next)&&!(i=i.call(t,c[1])).done)return i;switch(t=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,t=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=n.call(e,o)}catch(e){c=[6,e],t=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}},A=function(e){return(0,a.I)({queryKey:[e?l:c],queryFn:function(){return function(e){return d(void 0,void 0,Promise,(function(){var n,r;return S(this,(function(a){switch(a.label){case 0:return n=e?o.n.WHITE_LABEL.AGENCY_SUBSCRIPTION_PACKAGES_API:o.n.WHITE_LABEL.SUBSCRIPTION_PACKAGES_API,[4,i.A.get(n)];case 1:return r=a.sent(),[2,(0,t.Cb)(r.data)]}}))}))}(e)},refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0,retry:!1})},f=function(e){return d(void 0,void 0,void 0,(function(){var n,r;return S(this,(function(a){switch(a.label){case 0:return n=e?{cancellation_reason:e}:{}
1,[4,i.A.post(o.n.WHITE_LABEL.SCHEDULE_SUBSCRIPTION_CANCELLATION,n)];case 1:return r=a.sent(),[2,(0,t.Cb)(r.data)]}}))}))},I=function(){return d(void 0,void 0,void 0,(function(){var e;return S(this,(function(n){switch(n.label){case 0:return[4,i.A.get(o.n.WHITE_LABEL.FREE_TRIAL_SETTINGS_API)];case 1:return e=n.sent(),[2,(0,t.Cb)(e.data)]}}))}))},_=function(e){return d(void 0,void 0,void 0,(function(){var n;return S(this,(function(r){switch(r.label){case 0:return[4,i.A.post(o.n.WHITE_LABEL.FREE_TRIAL_SETTINGS_API,(0,t.uc)(e))];case 1:return n=r.sent(),[2,(0,t.Cb)(n.data)]}}))}))},p=function(){return(0,a.I)({queryKey:[s],queryFn:I,refetchOnWindowFocus:!1,refetchOnMount:!0,staleTime:0,retry:!1})},x=function(){return d(void 0,void 0,void 0,(function(){var e;return S(this,(function(n){switch(n.label){case 0:return[4,i.A.get(o.n.WHITE_LABEL.AGENCY_ADDON_CONFIGURATION_API)];case 1:return e=n.sent(),[2,(0,t.Cb)(e.data)]}}))}))},h=function(){return(0,a.I)({queryKey:[u],queryFn:x,refetchOnWindowFocus:!1,refetchOnMount:!0,staleTime:0,retry:!1})},E=function(e,n){return d(void 0,void 0,void 0,(function(){var r;return S(this,(function(a){switch(a.label){case 0:return[4,i.A.post(o.n.WHITE_LABEL.AGENCY_ADDON_CONFIGURATION_API,(0,t.uc)({type:e,cost:n}))];case 1:return r=a.sent(),[2,(0,t.Cb)(r.data)]}}))}))}},39101:function(e,n,r){r.d(n,{A:function(){return ne}});var t=r(78685),i=r(2057),o=r(31547),a=r(10838),c=r(63809),l=r(17577),s=r(36206),u=r(53630),d=r(14428),S=r(26400),A=r(38588),f=r(73349),I=r(16657),_=r(95
1516),p=r(65540),x=r(21120),h=r(47838),E=r(88360),P=r(25277),v=r(60427),L=r(55431),g=r(85355),C=r(87722),T=r(66249),y=r(19124),b=r(20556),m=r(26088),N=r(52280),R=r(22160),j=r(79108),G=r(34994),D=r(34136),O=r(65179),k=r(93715),Y=r(24926),w=r(8482),B=r(72433),U=r(17e3),z=r(69179),F=r(43219),K=function(){return K=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},K.apply(this,arguments)};var M=function(e){var n,r=e.plan,c=e.billingPeriod,l=e.packageType,s=e.currencyUnit,u=e.refetchPackages,d=(0,U.Zp)(),A=(0,i.useState)(null),_=A[0],p=A[1],x=(0,i.useState)({archivePackage:!1,copyPackagePriceId:!1,copyPackageLink:!1}),h=x[0],E=x[1],P=(0,I.Bd)().t,v=r.subscriptionPrices.find((function(e){return"active"===l?e.billingPeriod===c&&r.isExternallyAvailable&&e.isPublic&&e.isActive:"private"===l?e.billingPeriod===c&&!r.isExternallyAvailable||!e.isPublic&&e.isActive:"legacy"===l?e.billingPeriod===c&&!e.isActive&&!e.isPublic:void 0}));return(0,t.jsxs)(o.A,{display:"flex",justifyContent:"flex-end",children:[(0,t.jsx)(o.A,{sx:{position:"absolute",top:"10px",right:"10px"},children:(0,t.jsx)(G.A,{size:"small",color:"primary",onClick:function(e){return p(e.currentTarget)},children:(0,t.jsx)(j.A,{fontSize:"small"})})}),(0,t.jsxs)(D.A,{anchorEl:_,open:Boolean(_),onClose:function(){return p(null)},children:[v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(O.A,{onClick:function(){return E(K(K({},h),{copyPackagePriceId:!0}))},children:[(0,t.jsx)(R.A,{fontSize:"small",sx:{mr:1},color:"primary"}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,color:"primary",sx:{textDecoration:"underline"},children:P("DISPLAY_STRINGS.GET_PACKAGE_PRICE_ID")})]}),(0,t.jsxs)(O.A,{onClick:function(){return E(K(K({},h),{copyPackageLink:!0}))},children:[(0,t.jsx)(R.A,{fontSize:"small",sx:{mr:1},color:"primary"}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,color:"primary",sx:{textDecoration:"underline"},children:P("DISPLAY_STRINGS.GET_PACKAGE_LINK")})]})]}),(0,t.jsxs)(O.A,{onClick:function(){var e=l?"?package-type=".concat(encodeURIComponent(l)):"";d("/agency/subscription/package/update/".concat(r.id).concat(e))},children:[(0,t.jsx)(N.A,{fontSize:"small",sx:{mr:1},color:"primary"}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,color:"primary",children:P("DISPLAY_STRINGS.CUSTOMIZE_PACKAGE")})]}),(0,t.jsxs)(O.A,{onClick:function(){return E(K(K({},h),{archivePackage:!0}))},children:[(0,t.jsx)(b.A,{fontSize:"small",sx:{mr:1},color:"error"}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,color:"error",children:P("DISPLAY_STRINGS.ARCHIVE_PACKAGE_MENU")})]})]}),(0,t.jsx)(z.KKB,{isOpen:h.copyPackagePriceId,onClose:function(){return E(K(K({},h),{copyPackagePriceId:!1}))}
1,title:P("DISPLAY_STRINGS.PACKAGE_PRICE_ID_TITLE",{planName:r.name,price:(null==v?void 0:v.price)||"0",currencyUnit:s||"$"}),message:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.A,{variant:"body1",fontSize:14,children:P("DISPLAY_STRINGS.COPY_PRICE_ID_INSTRUCTIONS")}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,sx:{mt:2},children:(0,t.jsx)("pre",{className:"text-break",children:null==v?void 0:v.stripePriceId})})]}),confirmButtonLabel:P("DISPLAY_STRINGS.COPY"),onConfirm:function(){(null==v?void 0:v.stripePriceId)&&((0,y.eM)(null==v?void 0:v.stripePriceId,P("DISPLAY_STRINGS.PACKAGE_PRICE_ID_COPIED")),E(K(K({},h),{copyPackagePriceId:!1})),p(null))}}),(0,t.jsxs)(k.A,{open:h.copyPackageLink,onClose:function(){return E(K(K({},h),{copyPackageLink:!1}))},maxWidth:"md",fullWidth:!0,children:[(0,t.jsx)(Y.A,{children:(0,t.jsx)(a.A,{variant:"h6",fontWeight:"bold",fontSize:16,children:P("DISPLAY_STRINGS.PACKAGE_LINK_TITLE",{planName:r.name,price:(null==v?void 0:v.price)||"0",currencyUnit:s||"$"})})}),(0,t.jsxs)(w.A,{sx:{whiteSpace:"break-spaces"},children:[(0,t.jsx)(a.A,{variant:"body1",fontSize:14,children:P("DISPLAY_STRINGS.COPY_LINK_INSTRUCTIONS")}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,sx:{mt:2}
1,children:P("DISPLAY_STRINGS.PACKAGE_LINK_SUBSCRIBE_MESSAGE")}),(0,t.jsx)(f.A,{severity:"warning",sx:{mt:2},children:P("DISPLAY_STRINGS.LINK_TESTING_WARNING")}),(0,t.jsxs)(o.A,{sx:{position:"relative",mt:2},children:[(0,t.jsx)(G.A,{size:"small",onClick:function(){(null==v?void 0:v.packageLink)&&(0,y.eM)(v.packageLink,P("DISPLAY_STRINGS.PACKAGE_LINK_COPIED"))},sx:{position:"absolute",right:0,top:0,zIndex:1},"aria-label":P("DISPLAY_STRINGS.COPY"),children:(0,t.jsx)(m.A,{fontSize:"small"})}),(null==v?void 0:v.packageLink)?(0,t.jsx)(o.A,{component:"a",href:v.packageLink,target:"_blank",rel:"noopener noreferrer",sx:{display:"block",pr:5,mt:0,color:"primary.main",textDecoration:"underline",wordBreak:"break-all"},children:v.packageLink}):(0,t.jsx)(o.A,{component:"pre",className:"text-break",sx:{pr:5,mt:0},children:null!==(n=null==v?void 0:v.packageLink)&&void 0!==n?n:""})]})]}),(0,t.jsx)(B.A,{children:(0,t.jsx)(S.A,{onClick:function(){return E(K(K({},h),{copyPackageLink:!1}))},variant:"contained",color:"primary",children:P("DISPLAY_STRINGS.CLOSE")})})]}),(0,t.jsx)(z.KKB,{isOpen:h.archivePackage,onClose:function(){return E(K(K({},h),{archivePackage:!1}))},onConfirm:function(){r.id&&(0,F.hp)(r.id).then((function(){u&&(u(),(0,y.vd)(P("DISPLAY_STRINGS.PACKAG
1E_ARCHIVED_SUCCESS")))})).catch((function(e){(0,y.Sx)("",P("DISPLAY_STRINGS.PACKAGE_ARCHIVE_FAILED"),"error"),console.error(e)})).finally((function(){E(K(K({},h),{archivePackage:!1})),p(null)}))},message:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.A,{variant:"body1",fontSize:14,children:P("DISPLAY_STRINGS.ARCHIVE_PACKAGE_CONFIRM")}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,sx:{mt:2},children:P("DISPLAY_STRINGS.ARCHIVE_PACKAGE_EXPLAIN")}),(0,t.jsx)(a.A,{variant:"body1",fontSize:14,sx:{mt:2},children:P("DISPLAY_STRINGS.ARCHIVE_PACKAGE_EXISTING_SUBSCRIPTIONS")})]}),confirmButtonLabel:P("DISPLAY_STRINGS.ARCHIVE")})]})},W=r(21762),H=r(19858),V=r(18024),q=r(81e3),X=r(50143),$=r(88152),Z=function(e){var n=new Set;return(null==e?void 0:e.filter((function(e){var r=e.trim().toLocaleLowerCase();return!(!r||n.has(r))&&(n.add(r),!0)})))||[]},J=function(e){var n=e.icon,r=e.feature,i=e.centered,c=e.skipMarginBottom;return(0,t.jsxs)(o.A,{display:"flex",alignItems:"center",justifyContent:i?"center":"flex-start",gap:1,mb:c?0:1,children:[n,(0,t.jsx)(a.A,{variant:"body1",fontSize:14,children:r})]})},Q=function(e){var n=e.agent;return(0,t.jsxs)(o.A,{sx:{backgroundColor:"primary.light",borderRadius:2,p:"10px 16px"},children:[(0,t.jsxs)(o.A,{sx:{display:"flex",alignItems:"center"},children:[(0,t.jsx)(v.A,{color:"primary",sx:{fontSize:20,mr:1}}),(0,t.jsx)(a.A,{fontSize:14,variant:"subtitle1",sx:{fontWeight:"bold"},children:n.name}),(0,t.jsxs)(a.A,{variant:"body2",fontSize:10,sx:{color:"text.secondary",ml:1},children:["v",n.version]})]}),(0,t.jsx)(a.A,{fontSize:12,variant:"body2",color:"text.secondary",children:n.description})]})},ee={free:0,basic:1,exclusive_basic:1,pro:2,exclusive_pro:2,premium:3,exclusive_premium:3,enterprise:4};var ne=function(e){var n,r,b,m,N,R,j,G,D=e.compactStyle,O=void 0!==D&&D,k=e.plan,Y=e.packageType,w=e.billingPeriod,B=e.refetchPackages,U=e.billingPeriodLabels,F=e.saasConfigurator,K=void 0!==F&&F,ne=e.isMostPopular,re=void 0!==ne&&ne,te=e.currencyUnit,ie=void 0===te?"$":te,oe=e.subscribedPackage,ae=e.subscribedBillingCycle,ce=e.onConfigure,le=void 0===ce?function(){}:ce,se=e.isLoading,ue=void 0!==se&&se,de=e.subscriptionStatus,Se=e.isOnBoardingPage,Ae=void 0!==Se&&Se,fe=e.showProfitCalculation,Ie=void 0!==fe&&fe,_e=(0,i.useState)(!1),pe=_e[0],xe=_e[1],he=(0,i.useState)(!1),Ee=he[0],Pe=he[1],ve=ee[null==oe?void 0:oe.planKey]>ee[k.planKey],Le=(0,i.useState)(""),ge=Le[0],Ce=Le[1],Te=(0,q.J)(),ye=Te.userDetails,be=Te.isLoading,me=(0,X.f)().theme,Ne=(0,I.Bd)().t,Re="nwl_free"===k.planKey,je=function(){var e=Oe();if(k.calendarUrl||(null==e?void 0:e.calendarUrl)){var n=k.calendarUrl||(null==e?void 0:e.calendarUrl);return window.open(n,"_blank"),void xe(!1)}if(Re&&(null==e?void 0:e.packageLink))window.open(e.packageLink,"_self");else if(e&&e.packageLink){var r=e.packageLink.replace(W.n.WHITE_LABEL.STRIPE_AGEMCY_SESSION,W.n.WHITE_LABEL.STRIPE_MANAGE_SUBSCRIPTION);if(Ae)(new $.b).initiateCheckout();ve&&(r+="&downgrade_reason=".concat(ge)),window.open(r,"_self")}else(0,y.Sx)("",Ne("DISPLAY_STRINGS.INVALID_PACKAGE_LINK"),"error");xe(!1)},Ge=k.subscriptionPrices.filter((function(e){var n=e.price||e.calendarUrl||Re;return"active"===Y||"private"===Y?e.isPublic&&e.isActive&&n:"legacy"===Y?!e.isActive&&!e.isPublic&&e.price:void 0})),De=Array.from(Ge.reduce((function(e,n){return e.has(n.billingPeriod)||e.set(n.billingPeriod,n),e}),new Map).values()),Oe=function(){return De.find((function(e){return e.billingPeriod===w}))||null},ke=!(oe&&"free"!==(null==oe?void 0:oe.planKey)||(null==oe?void 0:oe.hasPaidBefore)),Ye=!K&&!Re&&!Ae&&!(ke&&k.freeTrialDays>0)&&Boolean(null==oe?void 0:oe.planKey),we=(0,t.jsx)(x.A,{sx:{color:"success.main",fontSize:20}}),Be=(0,t.jsx)(h.A,{sx:{color:"error.main",fontSize:20}});if(ue)return(0,t.jsx)(T.A,{});var Ue=function(){var e;if((null==oe?void 0:oe.planKey)&&(null==oe?void 0:oe.id)===(null==k?void 0:k.id)&&ae===w)return parseFloat(oe.price)||0;var n=null===(e=De.find((function(e){return e.billingPeriod===w})))||void 0===e?void 0:e.price;return parseFloat(n||"0")||0}(),ze=function(e,n,r){var t=e&&{free:0,basic:10,pro:20,premium:100,special:500,enterprise:1e3,enterprise_2:2e3,nwl_free:0,nwl_starter:10,nwl_enterprise:1e3}[e]||20,i=500*t-n;return{numClients:t,clientRevenue:500,monthlyProfit:i,yearlyProfit:12*i,calculation:"".concat(t," clients × ").concat(r).concat(500," - ").concat(r).concat(n.toLocaleStr
1ing()," = ").concat(r).concat(i.toLocaleString())}}(k.planKey,Ue,ie),Fe=Z(k.features),Ke=Z(k.unavailableFeatures);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.A,{sx:{width:385,outline:re?"2px solid ".concat(me.palette.primary.main):"none",outlineOffset:0,position:"relative",overflow:"visible"},children:[re&&(0,t.jsx)(o.A,{sx:{position:"absolute",top:-10,left:"50%",transform:"translateX(-50%)",zIndex:1},children:(0,t.jsx)(l.A,{size:"small",icon:(0,t.jsx)(P.A,{fontSize:"small",color:"inherit"}),label:Ne("DISPLAY_STRINGS.MOST_POPULAR"),sx:{backgroundColor:"primary.main",color:"text.light",borderRadius:2}})}),(0,t.jsxs)(s.A,{sx:{p:"1.5rem"},children:[K&&(0,t.jsx)(M,{plan:k,billingPeriod:w,currencyUnit:ie,packageType:Y,refetchPackages:B}),(0,t.jsx)(a.A,{variant:"h4",component:"h2",color:"primary",align:"center",fontSize:20,sx:{fontWeight:"bold",mt:1.5},children:k.name}),(0,t.jsx)(a.A,{variant:"h4",component:"h2",align:"center",fontSize:15,sx:{fontWeight:"light",my:.7,color:"grey.700"},children:"nwl_free"===k.planKey?Ne("DISPLAY_STRINGS.PLAN_FREE"):"nwl_starter"===k.planKey?Ne("DISPLAY_STRINGS.PLAN_STARTER"):"nwl_enterprise"===k.planKey?Ne("DISPLAY_STRINGS.PLAN_ENTERPRISE"):k.planKey}),(0,t.jsxs)(a.A,{variant:"h3",component:"div",fontSize:30,align:"center",sx:{fontWeight:"bold",mb:2},children:[ie,Ue.toLocaleString(),(0,t.jsxs)(a.A,{component:"span",variant:"body1",fontSize:18,children:["/",w]}),ke&&k.freeTrialDays>0&&(0,t.jsx)(a.A,{component:"div",color:"primary",variant:"body1",fontSize:14,children:Ne("DISPLAY_STRINGS.DAYS_FREE_TRIAL",{count:k.freeTrialDays})}),!!k.isOneTimePaymentEnabled&&k.oneTimePaymentAmount&&(0,t.jsxs)(a.A,{component:"div",className:"text-muted",variant:"body1",fontSize:14,children:["+ ",ie,null===(n=k.oneTimePaymentAmount)||void 0===n?void 0:n.toLocaleString()," ",k.oneTimePaymentDescription]}),!!k.isVatEnabled&&k.vatPercentage&&(0,t.jsxs)(a.A,{component:"div",className:"text-muted",variant:"body1",fontSize:14,children:["+"," ",Ne("DISPLAY_STRINGS.VAT_PERCENTAGE_LABEL",{percent:k.vatPercentage})]})]}),!!k.description&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.A,{variant:"body1",fontSize:14,sx:{mb:1.5,color:"text.secondary"},align:"center",children:k.description})}),Ie&&(null==ye?void 0:ye.isAgencyOwner)&&!be&&null!=k.planKey&&(0,t.jsxs)(o.A,{sx:{backgroundColor:"#dcfce7",borderRadius:2,p:2,mb:2,border:"1px solid #86efac"},children:[(0,t.jsx)(o.A,{display:"flex",alignItems:"center",justifyContent:"center",gap:.5,mb:1,children:(0,t.jsx)(a.A,{variant:"body2",fontSize:12,sx:{fontWeight:600,color:"#166534",textTransform:"uppercase",letterSpacing:"0.5px"},children:Ne("DISPLAY_STRINGS.YOUR_POTENTIAL_MONTHLY_PROFIT")})}),"nwl_free"===k.planKey?(0,t.jsxs)(o.A,{sx:{display:"flex",flexDirection:"column",gap:.5},children:[(0,t.jsx)(a.A,{variant:"body2",fontSize:13,align:"center",sx:{fontWeight:600,color:"#15803d"},children:"Starts at $0 investment"}),(0,t.jsx)(a.A,{variant:"body2",fontSize:12,align:"center",sx:{color:"#166534"},children:"Use this plan to test demand before scaling"}),(0,t.jsx)(a.A,{variant:"body2",fontSize:12,align:"center",sx:{color:"#166534"},children:"Upgrade to unlock full profit potential"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.A,{variant:"h3",fontSize:32,align:"center",sx:{fontWeight:"bold",color:"#15803d",mb:.5},children:[ie,ze.monthlyProfit.toLocaleString()]}),(0,t.jsx)(a.A,{variant:"body2",fontSize:14,align:"center",sx:{fontWeight:600,color:"#15803d",mb:.5},children:Ne("DISPLAY_STRINGS.IN_PURE_PROFIT_PER_MONTH")}),(0,t.jsxs)(a.A,{variant:"body2",fontSize:12,align:"center",sx:{color:"#166534",mb:1},children:[ie,ze.yearlyProfit.toLocaleString(),Ne("DISPLAY_STRINGS.YEAR_PROFIT_LINE")]}),(0,t.jsx)(a.A,{variant:"body2",fontSize:12,align:"center",sx:{color:"#166534"},children:ze.calculation})]})]}),(k.isChatAgentsEnabled||k.isVoiceAgentsEnabled)&&(0,t.jsx)(u.A,{sx:{my:1.5}}),(0,t.jsx)(d.A,{container:!0,children:(0,t.jsxs)(d.A,{size:12,justifyContent:"center",children:[k.isChatAgentsEnabled&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(J,{icon:O?we:(0,t.jsx)(v.A,{color:"primary",sx:{fontSize:20}}),feature:null==k.chatbots?Ne("DISPLAY_STRINGS.UNLIMITED_CHAT_AGENTS"):"".concat(k.chatbots.toLocaleStr
1ing()," ").concat(k.chatbots>1?Ne("DISPLAY_STRINGS.CHAT_AGENTS_PLURAL"):Ne("DISPLAY_STRINGS.CHAT_AGENT_SINGULAR")),centered:!O}),(0,t.jsx)(J,{icon:O?we:(0,t.jsx)(L.A,{color:"primary",sx:{fontSize:20}}),feature:null==k.characterCount?Ne("DISPLAY_STRINGS.UNLIMITED_CHARACTERS"):"".concat(k.characterCount.toLocaleString()," ").concat(Ne("DISPLAY_STRINGS.CHARACTERS")),centered:!O})]}),k.isVoiceAgentsEnabled&&(0,t.jsx)(J,{icon:O?we:(0,t.jsx)(E.A,{color:"primary",sx:{fontSize:20}}),feature:"".concat(null===(r=k.voiceAgents)||void 0===r?void 0:r.toLocaleString()," ").concat(k.voiceAgents>1?Ne("DISPLAY_STRINGS.VOICE_AGENTS_PLURAL"):Ne("DISPLAY_STRINGS.VOICE_AGENT_SINGULAR")),skipMarginBottom:!O,centered:!O})]})}),!O&&(0,t.jsx)(u.A,{sx:{my:1.5}}),(0,t.jsx)(d.A,{container:!0,children:(0,t.jsxs)(d.A,{size:12,children:[k.includedMessages>0&&(0,t.jsx)(J,{icon:we,feature:"".concat(null===(b=k.includedMessages)||void 0===b?void 0:b.toLocaleString()," ").concat(Ne("DISPLAY_STRINGS.MESSAGES")).concat(k.isComplimentaryCreditsRecurring?" "+Ne("DISPLAY_STRINGS.EVERY_MONTH"):"")}),Fe.map((function(e,n){return(0,t.jsx)(J,{icon:we,feature:e,skipMarginBottom:n===Fe.length-1&&!O},e)})),Ke.length>0&&(0,t.jsx)(o.A,{mt:1,children:Ke.map((function(e,n){return(0,t.jsx)(J,{icon:Be,feature:e,skipMarginBottom:n===Ke.length-1&&!O},e)}))})]})}),(0,t.jsx)(u.A,{sx:{my:1.5}}),!O&&k.includedAIAgents&&k.includedAIAgents.length>0&&(0,t.jsxs)(o.A,{marginBottom:2,children:[(0,t.jsxs)(o.A,{display:"flex",alignItems:"center",gap:1,mb:1,children:[(0,t.jsx)(p.A,{color:"primary",sx:{fontSize:20}}),(0,t.jsx)(a.A,{fontSize:14,variant:"h6",fontWeight:500,children:Ne("DISPLAY_STRINGS.INCLUDED_CHAT_AGENTS")})]}),null===(m=k.includedAIAgents)||void 0===m?void 0:m.map((function(e,n){return(0,t.jsx)(Q,{agent:e},n)}))]}),!O&&De&&De.length>1&&(0,t.jsxs)(o.A,{sx:{mb:2},children:[(0,t.jsx)(a.A,{variant:"body2",sx:{mb:1},fontWeight:500,fontSize:14,children:Ne("DISPLAY_STRINGS.AVAILABLE_BILLING_CYCLES")}),(0,t.jsx)(t.Fragment,{children:De.map((function(e){return(0,t.jsx)(l.A,{size:"small",label:"".concat(U[e.billingPeriod],": ").concat(ie).concat(parseFloat(e.price||"0").toLocaleString()),sx:{backgroundColor:"primary.light",color:"text.dark",height:"21px",fontSize:"12px",margin:"0 2px"}},e.billingPeriod)}))})]}),k.isVoiceAgentsEnabled&&!!k.freeVoiceMinutes&&(0,t.jsxs)(o.A,{marginBottom:3,children:[(0,t.jsxs)(o.A,{display:"flex",alignItems:"center",gap:1,children:[(0,t.jsx)(g.A,{color:"primary",sx:{fontSize:20}}),(0,t.jsx)(a.A,{fontSize:14,variant:"body2",children:Ne("DISPLAY_STRINGS.AI_VOICE_CALLS")})]}),(0,t.jsxs)(a.A,{sx:{marginLeft:"26px"},fontSize:12,variant:"body2",color:"text.secondary",children:[k.freeVoiceMinutes.toLocaleString()," ",Ne("DISPLAY_STRINGS.FREE_MINUTES"),k.isVoiceMinutesRecurring?" "+Ne("DISPLAY_STRINGS.EVERY_MONTH"):""]})]}),(null==oe?void 0:oe.planKey)&&(null==oe?void 0:oe.id)===(null==k?void 0:k.id)&&(null===(N=Oe())||void 0===N?void 0:N.id)===(null===(R=De.find((function(e){return e.billingPeriod===ae})))||void 0===R?void 0:R.id)?(0,t.jsx)(t.Fragment,{children:[V.dH.SCHEDULED_FOR_CANCELLATION,V.dH.CANCELLED].includes(de||"")?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.A,{variant:"body1",fontSize:14,fontWeight:500,sx:{border:"1px solid #dc2626",borderRadius:2,p:1},align:"center",color:"error",children:V.dH.SCHEDULED_FOR_CANCELLATION?Ne("DISPLAY_STRINGS.SCHEDULED_FOR_CANCELLATION"):Ne("DISPLAY_STRINGS.CANCELLED")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.A,{variant:"body1",fontSize:14,fontWeight:500,sx:{backgroundColor:"primary.light",borderRadius:2,p:1},align:"center",color:"primary",children:Ne("DISPLAY_STRINGS.YOUR_SUBSCRIBED_PLAN")}),(null==ye?void 0:ye.isAgencyOwner)&&!be&&(0,t.jsx)(S.A,{variant:"text",fullWidth:!0,onClick:function(){(0,y.dg)(W.n.WHITE_LABEL.INVOICE_CARD_DETAILS_PAGE)},children:Ne("DISPLAY_STRINGS.REVIEW_INVOICES_AND_CARD_DETAILS")}),(null==ye?void 0:ye.isSubaccountUser)&&!be&&(0,t.jsx)(S.A,{variant:"text",color:"error",fullWidth:!0,onClick:function(){Pe(!0)},children:Ne("DISPLAY_STRINGS.CANCEL_SUBSCRIPTION")})]})}):(0,t.jsx)(S.A,{variant:"contained",fullWidth:!0,endIcon:Ye?void 0:(0,t.jsx)(_.A,{}),sx:{borderRadius:2,fontWeight:"bold"}
1,onClick:function(){K?le():(null==oe?void 0:oe.planKey)&&"nwl_free"!==(null==oe?void 0:oe.planKey)?xe(!0):je()},children:K?Ne("DISPLAY_STRINGS.CUSTOMIZE_PLAN"):Re?Ne("DISPLAY_STRINGS.GET_STARTED_FREE"):Ae?"Subscribe Now":"nwl_free"===k.planKey?Ne("DISPLAY_STRINGS.GET_STARTED_FREE"):ke&&k.freeTrialDays>0?Ne("DISPLAY_STRINGS.TRY_FREE_FOR_DAYS",{days:k.freeTrialDays}):(null==oe?void 0:oe.planKey)?Ne("DISPLAY_STRINGS.CHANGE_SUBSCRIPTION"):Ne("DISPLAY_STRINGS.SUBSCRIBE_NOW")}),K&&(0,t.jsxs)(a.A,{sx:{mt:1,textAlign:"center"},variant:"body1",fontSize:14,color:"warning",children:[Ne("DISPLAY_STRINGS.ACTIVE_SUBSCRIPTIONS_LABEL")," ",(null===(G=null===(j=Oe())||void 0===j?void 0:j.activeSubscriptions)||void 0===G?void 0:G.toLocaleString())||0]})]})]}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(z.KKB,{isOpen:pe,showLoader:!1,onClose:function(){return xe(!1)},message:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.A,{variant:"body1",children:[Ne("DISPLAY_STRINGS.PLEASE_CONFIRM_CHANGE_SUBSCRIPTION")," ",(0,t.jsx)("b",{children:k.name})," ",Ne("DISPLAY_STRINGS.FOR")," ",(0,t.jsxs)("b",{children:[Ue,ie,"/",U[w]]}),"."]}),ve&&(0,t.jsxs)(o.A,{sx:{mt:2},children:[(0,t.jsx)(z.JU7,{name:Ne("DISPLAY_STRINGS.REASON_FOR_DOWNGRADING"),required:!0}),(0,t.jsx)(A.A,{value:ge,onChange:function(e){return Ce(e.target.value)},placeholder:Ne("DISPLAY_STRINGS.ENTER_REASON_PLACEHOLDER"),fullWidth:!0,multiline:!0,rows:3})]})]}),confirmButtonDisabled:ve&&!ge,confirmButtonLabel:Ne("DISPLAY_STRINGS.CHANGE_BUTTON"),onConfirm:je}),(0,t.jsx)(z.KKB,{isOpen:Ee,onClose:function(){return Pe(!1)},message:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.A,{display:"flex",alignItems:"center",justifyContent:"center",mb:2,children:(0,t.jsx)(C.A,{color:"warning",sx:{fontSize:40}})}),(0,t.jsx)(a.A,{variant:"body1",fontWeight:500,textAlign:"center",mb:1,children:Ne("DISPLAY_STRINGS.CANCEL_SUBSCRIPTION_CONFIRM")}),(0,t.jsx)(a.A,{variant:"body1",color:"text.secondary",textAlign:"center",mb:1,children:Ne("DISPLAY_STRINGS.CANCEL_SUBSCRIPTION_EXPLAIN")}),(0,t.jsx)(f.A,{severity:"warning",sx:{mb:2},icon:!1,children:Ne("DISPLAY_STRINGS.CANCEL_SUBSCRIPTION_NOTE")})]}),confirmButtonLabel:Ne("DISPLAY_STRINGS.YES_CANCEL_SUBSCRIPTION"),cancelButtonLabel:Ne("DISPLAY_STRINGS.KEEP_MY_SUBSCRIPTION"),onConfirm:function(){(0,H.Ol)().then((function(){null==B||B(),(0,y.Sx)("",Ne("DISPLAY_STRINGS.SUBSCRIPTION_CANCELLED_SUCCESS"),"success")})).catch((function(e){(0,y.Sx)("",e.message,"error")})).finally((function(){Pe(!1)}))}})]})]})}},18024:function(e,n,r){r.d(n,{MW:function(){return c},XW:function(){return a},YX:function(){return t},aE:function(){return l},dH:function(){return i},n7:function(){return o}});var t={PLAN_CONFIGURATOR:"plan-configurator",FREE_TRIAL:"free-trial",ADD_ONS:"add-ons"},i={ACTIVE:"active",SCHEDULED_FOR_CANCELLATION:"scheduled_for_cancellation",CANCELLED:"cancelled",FREE_TRIAL:"free_trial",CC_FREE_TRIAL:"cc_free_trial",PAID:"paid",EXPIRED:"expired"},o={CONFIGURATION:0,PERMISSIONS:1,REBILLING:2},a={MESSAGE_REBILLING:0,VISION_REBILLING:1,VOICE_REBILLING:2},c={STORAGE:0,AI_AGENTS:1,ADVANCED_SCRAPER:2,CUSTOM_FUNCTIONS:3,VOICE_AGENTS:4,CONCURRENT_CALL_LIMIT:5,VOICE_KB:6},l={freeTrialSignupsAllowed:!0,subaccountFreeTrialChatbots:1,subaccountFreeTrialVoiceAgents:1,subaccountFreeTrialConcurrentCallLimit:1,subaccountFreeTrialCharacters:1,subaccountComplimentaryWalletCredit:1,freeTrialDays:1,freeTrialDaysWarningMessage:"",freeTrialEndWarningMessage:"",freeTrialPermissions:[],freeTrialMessageModels:[],stammerMessageModel:{},freeTrialPerMinuteCallMarkup:0,freeTrialPhoneNumberMarkup:0,freeTrialMessagesMarkupPercentage:100,stammerBaseCost:{perMinute:0,concurrentCallCharges:0,additionalVoiceAgent:0},currencyCode:"$"}},88152:function(e,n,r){r.d(n,{b:function(){return t}});var t=function(){function e(){}return e.prototype._trackEvent=function(e,n){if("undefined"!=typeof window&&"function"==typeof window.fbq)try{window.fbq("track",e,n),console.log("Facebook Pixel tracking event:",e,n)}catch(e){console.error("❌ Facebook Pixel tracking error:",e)}else console.warn("⚠️ Facebook Pixel (fbq) not available")},e.prototype.registrationComplete=function(){this._trackEvent("CompleteRegistration")},e.prototype.initiateCheckout=function(){this._trackEvent("InitiateCheckout")},e.prototype.purchaseComplete=function(e,n,r){void 0===n&&(n="USD"),void 0===r&&(r=1200),this._trackEvent("Subscribe",{value:e,currency:n,predicted_ltv:r})},e}()}}]);

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.