PageSourceSearch

https://www.viesus.cloud/_next/static/chunks/pages/app/subscription-cb05233b4c18c3a4.js

js viesus.cloud collected 2026-10-07 01:15:38 UTC 11,105 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8527],{16261:(e,t,r)=>{"use strict";function o(e){return e.includes("BASIC")?"BASIC":e.includes("BUSINESS")?"BUSINESS":e.includes("ENTERPRISE")?"ENTERPRISE":"FREE"}r.d(t,{e:()=>o})},46226:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>D,default:()=>M});var o=r(70236),n=r(66284),i=r(4957),a=r(56121),s=r(31432),c=r(79430),l=r(4530),f=r(91415),b=r(14232),u=r(37876);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}var h=function(e){var t=e.title,r=e.items,o=(0,b.useState)(!1),i=o[0],a=o[1],s=r.slice(0,8),h=i?r:s,p=r.length-h.length;return(0,u.jsxs)("div",{children:[(0,u.jsx)(f.D,{variant:"h6",as:"h6",className:"mb-4",children:t}),(0,u.jsx)("div",{className:"mb-6",children:h.map(function(e,t){return(0,u.jsx)(c.l,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),t)})}),r.length>8&&!i&&(0,u.jsx)(l.$,{variant:"secondary",onClick:function(){return a(!0)},children:"Show more (".concat(p,")")})]})},p=r(90135),x=r(31782),v=r(20199),j=r(23282),m=r(99463),y=r(67164),O=r(69239),w=r(44021),g=r(76382),P=r(16261),E=r(69952),N=r(38043),S=r(74359),z=r(77266);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}var C=(0,E.H)().sdk,D=!0;let M=function(e){var t,r=e.content,c=e.newAtViesus,l=e.aboutModalContent,b=(0,N.j)().data,d=(0,S.I)({queryKey:["me"],queryFn:function(){return C.Me()}}).data,E=d&&d.me?d.me.activePlan:"FREE",D=(0,P.e)(E),M=!!b&&b.isCancelled,A=b&&b.periodEnd?(0,z.GP)(b.periodEnd,"LLLL do, yyyy"):void 0,_=(t=[],r.categories.forEach(function(e){t.push.apply(t,(0,o.A)(e.questions))}),t);return(0,u.jsx)(O.N,{newAtViesus:(0,u.jsx)(w.c,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},c)),children:(0,u.jsxs)(m.e,{header:(0,u.jsx)(v.j,{aboutModalContent:l}),layout:"sidebar-left-grid",sidebar:(0,u.jsx)(y.n,{variant:"profile",aboutModalContent:l}),children:[(0,u.jsx)(f.D,{variant:"h3",as:"h3",className:"my-8 md:mb-10",children:"Subscription"}),["BASIC","BUSINESS"].includes(D)?null:(0,u.jsx)("div",{className:"mb-4 flex w-full justify-center",children:(0,u.jsx)(j.G,{})}),M&&A&&(0,u.jsx)(g.E,{variant:"regular",className:"text-shade-400 -mt-6 mb-10",children:"You’ve downgraded your plan to Try-out. Your Business subscription will end on ".concat(A,".")}),(0,u.jsxs)(x.Y,{children:[(0,u.jsx)(p.U,{activePlanType:D,variant:"dynamic",isCancelled:M,isActivePlan:"FREE"===D,periodEnd:A}),(0,u.jsx)(i.K,{variant:"dynamic",activePlanType:D}),(0,u.jsx)(a.c,{variant:"dynamic",activePlanType:D})]}),(0,u.jsx)(s.N,{isActivePlan:"ENTERPRISE"===D}),(0,u.jsx)(h,{title:r.fields.title,items:_})]})})}},51874:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/subscription",function(){return r(46226)}])},67164:(e,t,r)=>{"use strict";r.d(t,{n:()=>S}),r(14232);
1var o=r(39960),n=r(59948),i=r(68555),a=r(90101),s=r(35700),c=r(35440),l=r(20502),f=r(48230),b=r.n(f),u=r(89099),d=r(77930),h=r(37876),p=function(e){var t=e.aboutModalContent,r=(0,u.useRouter)();return(0,h.jsxs)("ul",{children:[l.R.map(function(e,t){var o=e.icon,n=r.asPath.split("?")[0];return(0,h.jsx)("li",{children:(0,h.jsx)(b(),{passHref:!0,legacyBehavior:!0,href:e.href,children:(0,h.jsxs)("a",{className:(0,c.cn)("relative flex w-full items-center px-6 py-4 text-shade-400 transition-[color] duration-200 hover:text-white","data-is-first:border-t data-is-first:border-border data-active:text-white data-active:before:scale-x-100","before:absolute before:left-0 before:top-0 before:block before:h-full before:w-px before:origin-left before:scale-x-0 before:bg-current-color before:transition-transform before:duration-200 before:content-['']"),"data-is-last":t===l.R.length-1?"":void 0,"data-active":e.href===n?"":void 0,children:[(0,h.jsx)(o,{className:"mr-3",size:32}),e.title]})})},e.href)}),t&&t.content&&(0,h.jsx)("li",{children:(0,h.jsx)(s.r,{title:t.title,trigger:(0,h.jsxs)("button",{"data-is-first":!0,className:(0,c.cn)("relative flex w-full items-center px-6 py-4 text-shade-400 transition-[color] duration-200 hover:text-white","data-is-first:border-t data-is-first:border-border data-active:text-white data-active:before:scale-x-100","before:absolute before:left-0 before:top-0 before:block before:h-full before:w-px before:origin-left before:scale-x-0 before:bg-current-color before:transition-transform before:duration-200 before:content-['']"),children:[(0,h.jsx)(a.default,{className:"mr-3",size:32}),"About"]}),children:(0,h.jsx)(n.J,{content:t})})}),(0,h.jsx)("li",{children:(0,h.jsx)(d.G,{triggerButton:(0,h.jsxs)("button",{className:(0,c.cn)("relative flex w-full items-center px-6 py-4 text-shade-400 transition-[color] duration-200 hover:text-white","data-is-first:border-t data-is-first:border-border data-active:text-white data-active:before:scale-x-100","before:absolute before:left-0 before:top-0 before:block before:h-full before:w-px before:origin-left before:scale-x-0 before:bg-current-color before:transition-transform before:duration-200 before:content-['']"),children:[(0,h.jsx)(i.default,{className:"mr-3",size:32}),"Get in touch"]})})})]})},x=r(71800),v=r(66284),j=r(43933);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){(0,v.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let O=function(e){return(0,h.jsx)(j.I,y(y({},e),{},{children:(0,h.jsx)("path",{fill:"currentColor",d:"M26 16l.592.46a.75.75 0 000-.92L26 16zm-14-.75a.75.75 0 000 1.5v-1.5zm9.925-5.71a.75.75 0 10-1.184.92l1.184-.92zm-1.184 12a.75.75 0 001.184.92l-1.184-.92zM13.5 6.75a.75.75 0 000-1.5v1.5zm0 20a.75.75 0 000-1.5v1.5zM26 15.25H12v1.5h14v-1.5zm-5.259-4.79l4.667 6 1.184-.92-4.667-6-1.184.92zm4.667 5.08l-4.667 6 1.184.92 4.667-6-1.184-.92zM13.5 5.25H8v1.5h5.5v-1.5zM6.25 7v18h1.5V7h-1.5zM8 26.75h5.5v-1.5H8v1.5zM6.25 25c0 .966.784 1.75 1.75 1.75v-1.5a.25.25 0 01-.25-.25h-1.5zM8 5.25A1.75 1.75 0 006.25 7h1.5A.25.25 0 018 6.75v-1.5z"})}))};var w=r(63825),g=r(70236),P=(0,r(8106).v)(function(e){return{history:[],addToHistory:function(t){return e(function(e){return{history:[t].concat((0,g.A)(e.history))}})}}}),E=r(10553),N=function(){var e=(0,u.useRouter)(),t=P().history,r=(0,w.K)();return(0,h.jsxs)("ul",{children:[(0,h.jsx)("li",{children:(0,h.jsxs)("button",{className:(0,c.cn)("flex w-full items-center px-6 py-4 relative text-shade-400 transition-[color] duration-200 hover:text-white","data-active:text-white data-active:before:scale-x-100 data-is-first:border-t data-is-first:border-border","before:content-[''] before:block before:absolute before:left-0 before:top-0 before:h-full before:bg-current-color before:w-px before:transition-transform before:duration-200 before:origin-left before:scale-x-0"),onClick:function(){var r;return r=t.find(function(e){return!e.startsWith("/account")}
1)||"/app",void e.push(r)},"data-is-last":!0,children:[(0,h.jsx)(x.default,{className:"mr-3",size:32}),"Back"]})}),r.map(function(t,o){var n=t.icon;return(0,h.jsx)("li",{children:(0,h.jsxs)(b(),{passHref:!0,href:t.href,className:(0,c.cn)("flex w-full items-center px-6 py-4 relative text-shade-400 transition-[color] duration-200 hover:text-white","data-active:text-white data-active:before:scale-x-100 data-is-first:border-t data-is-first:border-border","before:content-[''] before:block before:absolute before:left-0 before:top-0 before:h-full before:bg-current-color before:w-px before:transition-transform before:duration-200 before:origin-left before:scale-x-0"),"data-is-last":o===r.length-1?"":void 0,"data-active":t.href===e.route?"":void 0,children:[(0,h.jsx)(n,{className:"mr-3",size:32}),t.title]})},t.href)}),(0,h.jsx)("li",{children:(0,h.jsxs)("button",{className:(0,c.cn)("flex w-full items-center px-6 py-4 relative text-shade-400 transition-[color] duration-200 hover:text-white","data-active:text-white data-active:before:scale-x-100 data-is-first:border-t data-is-first:border-border","before:content-[''] before:block before:absolute before:left-0 before:top-0 before:h-full before:bg-current-color before:w-px before:transition-transform before:duration-200 before:origin-left before:scale-x-0"),onClick:function(){return(0,E.signOut)()},children:[(0,h.jsx)(O,{className:"mr-3",size:32}),"Logout"]})})]})},S=function(e){var t=e.aboutModalContent,r=e.variant;return(0,h.jsxs)("div",{className:"hidden lg:block",children:[(0,h.jsx)("div",{className:"flex items-center ml-6 h-15",children:(0,h.jsx)(o.u,{})}),(0,h.jsx)("div",{className:"mt-13",children:"main"===r?(0,h.jsx)(p,{aboutModalContent:t}):(0,h.jsx)(N,{})})]})}},71800:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconArrow:()=>c,default:()=>l});var o=r(66284);r(14232);var n=r(43933),i=r(37876);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var c=function(e){return(0,i.jsx)(n.I,s(s({},e),{},{children:(0,i.jsx)("path",{stroke:"currentColor",d:"M5.5 16l-.592-.46a.75.75 0 000 .92L5.5 16zm21 .75a.75.75 0 000-1.5v1.5zM13.092 7.46a.75.75 0 00-1.184-.92l1.184.92zm-1.184 18a.75.75 0 001.184-.92l-1.184.92zM5.5 16.75h21v-1.5h-21v1.5zm6.408-10.21l-7 9 1.184.92 7-9-1.184-.92zm-7 9.92l7 9 1.184-.92-7-9-1.184.92z"})}))};let l=c}},e=>{e.O(0,[901,842,2006,8580,7859,5947,2436,6539,2583,1727,1462,7581,7266,5068,1182,1316,9521,9915,5103,636,6593,8792],()=>e(e.s=51874)),_N_E=e.O()}]);
2//# sourceMappingURL=subscription-cb05233b4c18c3a4.js.map

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.