1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9077],{29470:function(e,t,r){"use strict";r.d(t,{default:function(){return h}});var n=r(35166),i=r(63014),o=r(7347),a=r(5806),s=r(96823),l=r(87686),c=r(217),d=r(46675),u=r(45504),f=r(38611),p=r(66578);function h(e){var t,r,h,m;let[v,x]=(0,u.useState)();(0,u.useEffect)(()=>{(0,c.J4)({environment:e.isProduction?"production":"sandbox",token:"live_884d3527a66cfe66d56af277655"}).then(e=>{e&&x(e)})},[]);let g=t=>{var r,n,i,o;(0,l.c$)();let a=[];a.push({priceId:t.id,quantity:t.quantity.minimum}),null==v||v.Checkout.open({customer:(null===(n=e.session)||void 0===n?void 0:null===(r=n.user)||void 0===r?void 0:r.email)?{email:null===(o=e.session)||void 0===o?void 0:null===(i=o.user)||void 0===i?void 0:i.email}:void 0,settings:{successUrl:"https://learnbydo.ing/shop/checkout-thanx"},items:a})};return null===(t=e.prices)||void 0===t||t.filter(e=>1===e.quantity.maximum),null===(r=e.prices)||void 0===r||r.filter(e=>e.quantity.maximum>1),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-12",children:[(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 items-center",children:[(0,n.jsx)("div",{children:(0,n.jsx)(a.Z,{group:"all_platform",width:200,height:200})}),(0,n.jsxs)("div",{className:"text-6xl",children:[(0,n.jsx)(o.Z,{}),(0,n.jsx)("h1",{className:"hand-text",children:"Membership"})]})]}),(0,n.jsxs)("div",{className:"text-2xl",children:[(0,n.jsxs)("div",{className:"my-3 font-bold",children:["Con la ",(0,n.jsx)("span",{className:"font-bold enphatize hand-text text-3xl",children:"MemberShip"})," potrai accedere a:"]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),(0,n.jsx)("span",{className:"font-bold enphatize",children:"Tutti i corsi e i libri"})," di LearnByDo.ing",(0,n.jsx)("br",{})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),(0,n.jsx)("span",{className:"font-bold enphatize",children:"Corsi Esclusivi"})," riservati alla Membership"]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),"Preview dei ",(0,n.jsx)("span",{className:"font-bold enphatize",children:"corsi in fase di sviluppo"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),(0,n.jsx)("span",{className:"font-bold enphatize",children:"Attestati"})," di completamento"]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),"Funzionalit\xe0 della piattaforma riservate ai membri "]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.OhQ,{className:"inline-block mr-2"}),"Note, appunti e cookbook ricchi di informazioni e snippets"]})]})]})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 text-center mt-12 lg:mt-24",children:[null===(m=e.prices)||void 0===m?void 0:null===(h=m.sort((e,t)=>{var r,n;return(null===(r=e.customData)||void 0===r?void 0:r.index)-(null===(n=t.customData)||void 0===n?void 0:n.index)}))||void 0===h?void 0:h.map(e=>{var t,r,o,a;let l=null===(t=e.customData)||void 0===t?void 0:t.badge;null===(r=e.customData)||void 0===r||r.description;let c=null===(o=e.customData)||void 0===o?void 0:o.insteadof,d=null===(a=e.customData)||void 0===a?void 0:a.title;return(0,n.jsxs)("div",{className:"w-full max-w-96 mx-auto border-4 border-black dark:border-white bg-white dark:bg-slate-700 rounded-xl ",children:[l?(0,n.jsx)("div",{className:"h-8 font-bold flex justify-center items-center pb-1 text-sm bg-black text-white dark:bg-white dark:text-black",children:l}):(0,n.jsx)("div",{className:"h-8"}),(0,n.jsxs)("div",{className:"p-2 flex flex-col gap-4 mb-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm font-bold",children:"Membership"}),(0,n.jsxs)("div",{className:"font-bold text-3xl",children:[" ",d," "]})]}),(0,n.jsx)("div",{className:"text-sm",children:"Accesso a tutti i video corsi, libri interattivi, risorse e attestati"}),(0,n.jsx)("div",{className:"text-5xl font-bold text-black dark:text-white ",children:(0,n.jsxs)("div",{className:"flex gap-0 items-end justify-center",children:[(0,n.jsx)("span",{className:"flex justify-center",children:e.unitPrice.amount&&(0,n.jsx)(i.$C,{unitPrice:+e.unitPrice.amount})}),c&&(0,n.jsxs)("span",{className:"text-lg xl:text-2xl text-slate-500 dark:text-slate-200 line-through",children:["⬠",c]})]})}),(0,n.jsx)("div",{className:"text-xs",children:"Prezzi iva esclusa"}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)("div",{onClick:()=>g(e),children:(0,n.jsx)(s.Z,{accent:!0,children:"ACQUISTA"})})}),(0,n.jsxs)("div",{className:"text-left ml-6 ",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," Tutte le funzionalit\xe0 FREE"]}),(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," 1000+ video Premium"]}),(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," 2000+ snippet "]}),(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," Risorse e slide "]}),(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," Generazione Attestati "]}),(0,n.jsxs)("div",{className:"flex gap-2 items-center ",children:[(0,n.jsx)(f.l_A,{size:20})," Garanzia rimborso 15 giorni "]})]})]})]},e.id)}),(0,n.jsx)("div",{className:"w-full max-w-96 mx-auto border-4 border-yellow-500 dark:border-yellow-400 bg-white dark:bg-slate-700 rounded-xl flex flex-col gap-4 ",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"h-8 font-bold flex justify-center items-center pb-1 text-sm bg-yellow-500 dark:bg-yellow-400 text-black",children:"RISPARMI FINO AL 60%"}),(0,n.jsxs)("div",{className:"p-2 flex flex-col gap-4 mb-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm font-bold",children:"Membership"}),(0,n.jsx)("h2",{className:"text-3xl font-bold ",children:"1 ANNO / TEAM"})]}),(0,n.jsx)("div",{className:"text-sm",children:"Piano riservato a team aziendali con pi\xf9 di 5 persone"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"text-xl",children:["5 persone a ",(0,n.jsx)("span",{className:"font-bold",children:"⬠90"})," ",(0,n.jsx)("span",{className:"text-sm",children:"(tot.450)"})]}),(0,n.jsxs)("div",{className:"text-xl",children:["10 persone a ",(0,n.jsx)("span",{className:"font-bold",children:"⬠70"})," ",(0,n.jsx)("span",{className:"text-sm",children:"(tot.â¬700)"})]}),(0,n.jsxs)("div",{className:"text-xl",children:["20 persone a ",(0,n.jsx)("span",{className:"font-bold",children:"⬠50"})," ",(0,n.jsx)("span",{className:"text-sm",children:"(tot.â¬1000)"})]})]}),(0,n.jsx)("div",{className:"text-xs ",children:"Prezzi Iva Esclusa"}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(d.default,{href:"/contact-form?topic=Membership%20for%20Teams",children:(0,n.jsx)(s.Z,{children:"CONTATTACI"})})}),(0,n.jsxs)("div",{className:"border-t border-slate-500 text-base pt-2 mt-2",children:["Hai bisogno di un corso di formazione personalizzato dal vivo/remoto per il tuo team? ",(0,n.jsx)("br",{}),(0,n.jsx)(d.default,{href:"/contact-form?topic=Training",className:"simple-link underline font-bold",children:"Scrivici"})]})]})]})})]})]})}},18146:function(e,t,r){"use strict";r.d(t,{default:function(){return d}});var n=r(35166),i=r(56368),o=r(9460),a=r(45504),s=r(19590),l=r(53463),c=r(92063);function d(e){let[t,r]=a.useState(e.initialValue);return(0,n.jsx)("div",{children:(0,n.jsx)(l.TooltipProvider,{children:(0,n.jsxs)(l.Tooltip,{children:[(0,n.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,n.jsx)("div",{className:"flex gap-2",children:(0,n.jsx)("span",{className:(0,o.Z)("cursor-pointer transition",{}),children:t?(0,n.jsx)(s.vvr,{onClick:function(){r(!1),(0,c.eM)(e.lesson.id).then(()=>(0,i.e)("updateBookmarks")).catch(()=>r(!1))},size:30,className:"text-red-500 hover:text-red-800 transition"}):(0,n.jsx)(s.t7r,{onClick:function(){r(!0),(0,c.Bn)(e.lesson.id).then(()=>(0,i.e)("updateBookmarks")).catch(()=>r(!1))},size:30,className:"text-red-500 hover:text-red-900 transition"})})})}),(0,n.jsx)(l.TooltipContent,{children:t?"Remove from bookmarks":"Save to bookmarks"})]})})})}},97623:function(e,t,r){"use strict";r.d(t,{default:function(){return l}});
1var n=r(35166),i=r(45504),o=r(33496);async function a(e){await fetch("/api/v2/likes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({lessonId:e})})}async function s(e){await fetch("/api/v2/likes/".concat(e),{method:"DELETE",headers:{"Content-Type":"application/json"}})}function l(e){let[t,r]=i.useState(e.initialValue);return(0,n.jsx)("div",{className:"cursor-pointer",children:t?(0,n.jsx)(o.gew,{onClick:function(){r(!1),s(e.lesson.id).catch(()=>r(!1))},size:30,className:"text-sky-500 hover:text-sky-600 transition"}):(0,n.jsx)(o.UZT,{onClick:function(){r(!0),a(e.lesson.id).catch(()=>r(!1))},size:30,className:"text-sky-500 hover:text-sky-600 transition"})})}},13971:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var n=r(56368),i=r(45504);function o(e){return(0,i.useEffect)(()=>{e.disabledPageRenderingCompletedEvent||setTimeout(()=>{(0,n.e)("pageRenderingCompleted"),(0,n.e)("markLessonAsRead",{lessonId:e.lesson.id})},0)},[]),null}},92063:function(e,t,r){"use strict";async function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=await fetch("".concat(e,"/api/v2/bookmarks"));return await t.json()}async function i(e){await fetch("/api/v2/bookmarks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({lessonId:e})})}async function o(e){await fetch("/api/v2/bookmarks/".concat(e),{method:"DELETE",headers:{"Content-Type":"application/json"}})}r.d(t,{Bn:function(){return i},eM:function(){return o},uC:function(){return n}})},13639:function(e,t,r){"use strict";r.d(t,{default:function(){return s}});var n=r(35166);r(9907);var i=r(9460),o=r(45504),a=r(84588);function s(e){let t=(0,o.useRef)(null),{title:r,button:s,size:l=50}=e,[c,d]=(0,o.useState)(!1),u=()=>{var e;null===(e=t.current)||void 0===e||e.showModal()},f=()=>{var e;null===(e=t.current)||void 0===e||e.close()};return(0,n.jsxs)("div",{children:[(0,n.jsx)("button",{onClick:function(){d(!0),setTimeout(u)},children:e.button}),c&&(0,n.jsxs)("dialog",{ref:t,className:(0,i.Z)({size50:50===l,size70:70===l,size90:90===l}),children:[(0,n.jsxs)("div",{className:"modal-header",children:[(0,n.jsx)("h2",{className:"hand-text !text-xl sm:!text-2xl 2xl:!text-4xl !leading-none",children:e.title}),(0,n.jsx)("button",{className:"close-button",onClick:function(){d(!1),f()},children:(0,n.jsx)(a.QAE,{size:30})})]}),(0,n.jsx)("div",{className:"modal-content",children:(0,n.jsx)("div",{children:e.children})})]})]})}},63014:function(e,t,r){"use strict";r.d(t,{jd:function(){return o},$C:function(){return a}});var n=r(35166);function i(e){let t=(e/100).toFixed(2),[r,n]=t.split(".");return{formattedAmount:t,integerValue:r,decimalValue:n}}function o(e){return(0,n.jsxs)(n.Fragment,{children:[e.text,e.quantity>1&&(0,n.jsx)("span",{children:"s"})]})}function a(e){return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start ",children:[(0,n.jsxs)("span",{className:"text-5xl sm:text-6xl font-bold",children:[(0,n.jsx)("span",{className:"font-thin text-4xl",children:"â¬"})," ",i(e.unitPrice||0).integerValue]}),(0,n.jsx)("span",{className:"text-lg font-bold relative top-0.5 ml-1",children:i(e.unitPrice||0).decimalValue}),(0,n.jsx)("span",{className:"ml-2",children:e.suffix})]})})}r(45504)},56368:function(e,t,r){"use strict";r.d(t,{e:function(){return n}});let n=(e,t)=>{window&&window.postMessage?window.postMessage({event:e,...t},"*"):console.error("Target window not available")}},7347:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(35166),i=r(10084);let o={xxxs:70,xxs:80,xs:100,sm:150,md:250,xl:350,"2xl":450};function a(e){let{size:t="md",layout:r="horizontal",loading:a="lazy"}=e,s=o[t];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{src:"/images/logo/logo-dark-mode.png",alt:"Logo Learn By Doing Dark Mode",width:s,height:.4654178674351585*s,className:"hidden dark:block",loading:a}),(0,n.jsx)(i.default,{src:"/images/logo/logo-light-mode.png",alt:"Logo Learn By Doing Light Mode",width:s,height:.4654178674351585*s,className:"dark:hidden",loading:a})]})}},36663:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var n=r(35166);r(46323);var i=r(9460),o=r(45504);function a(e){let t=(0,o.useRef)(null),[r,a]=(0,o.useState)(!0),{position:s="top"}=e;return((0,o.useEffect)(()=>{!function(){if(!window.ScrollTimeline){a(!1);return}a(!0);let e=t.current;e&&(e.style.transformOrigin="0% 50%",e.animate({transform:["scaleX(0)","scaleX(1)"]},{fill:"forwards",timeline:new ScrollTimeline({source:document.documentElement})}))}()},[]),r)?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{id:"progress",ref:t,className:(0,i.Z)({"top-0":"top"===s,"top-12":"underNavbar"===s})})}):null}},5806:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(35166),i=r(10084);r(45504);let o={angular:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/5aba0337-9230-4c20-def5-95a63974cb00/public",typescript:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/b3b5e9fe-28bf-4191-afc8-a9795a3da400/public",javascript:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/243d2599-556c-4679-c01e-33bd5d4dfd00/public",tests:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/243d2599-556c-4679-c01e-33bd5d4dfd00/public",react:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/51dad544-a494-4aa8-9564-0edc53148a00/public",next:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/51dad544-a494-4aa8-9564-0edc53148a00/public",all_platform:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/d4c9b0d6-3212-4993-b973-d8c0934ac000/public",agu_coding:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/8636ec28-4bb7-425b-9bb5-33423095a300/public",agu_gomitolo:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/a0d876b9-0eec-4071-eda0-64e9d9525300/public",agu_book:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/27bbca23-7709-4926-3dbf-c8cadc305400/public",agu_book_left_vert:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/d851d7e0-3fa8-4da3-83a6-4339c06e4400/public",agu_team:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/f3b156b3-6e12-450a-778d-d710ae89f700/public",agu_videoeditor:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/283af208-312b-4a34-0ba3-88a9944f1a00/public",agu_code_pillow:"https://imagedelivery.net/FRI2OxIItakArmZObjbvJg/68d37dd6-8e9c-485a-f880-4f3a3350f600/public"};function a(e){let{group:t,width:r=469/3,height:a=550/3}=e,s=o[t];return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.default,{src:s,alt:"bear logo",width:r,height:a,quality:70,priority:!1,style:{width:"auto"},className:"w-full"})})}},50708:function(e,t,r){"use strict";r.r(t),r.d(t,{ForwardRefPopoverButton:function(){return d},Popover:function(){return s},PopoverContent:function(){return c},PopoverTrigger:function(){return l}});var n=r(35166),i=r(45504),o=r(97953),a=r(60785);let s=o.fC,l=o.xz,c=i.forwardRef((e,t)=>
1{let{className:r,align:i="center",sideOffset:s=4,...l}=e;return(0,n.jsx)(o.h_,{children:(0,n.jsx)(o.VY,{ref:t,align:i,sideOffset:s,className:(0,a.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=o.VY.displayName;let d=(0,i.forwardRef)((e,t)=>(0,n.jsx)("button",{ref:t,...e,children:e.children}));d.displayName="ForwardRefPopoverButton"},217:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(){o=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function u(t,r,n,o){var a,s,l=Object.create((r&&r.prototype instanceof x?r:x).prototype);return i(l,"_invoke",{value:(a=new P(o||[]),s=p,function(r,i){if(s===h)throw Error("Generator is already running");if(s===m){if("throw"===r)throw i;return{value:e,done:!0}}for(a.method=r,a.arg=i;;){var o=a.delegate;if(o){var l=function t(r,n){var i=n.method,o=r.iterator[i];if(o===e)return n.delegate=null,"throw"===i&&r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+i+"' method")),v;var a=f(o,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var s=a.arg;return s?s.done?(n[r.resultName]=s.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):s:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,v)}(o,a);if(l){if(l===v)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===p)throw s=m,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=h;var c=f(t,n,a);if("normal"===c.type){if(s=a.done?m:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(s=m,a.method="throw",a.arg=c.arg)}})}),l}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="executing",m="completed",v={};function x(){}function g(){}function b(){}var y={};d(y,s,function(){return this});var j=Object.getPrototypeOf,E=j&&j(j(_([])));E&&E!==r&&n.call(E,s)&&(y=E);var O=b.prototype=x.prototype=Object.create(y);function w(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function N(e,t){var r;i(this,"_invoke",{value:function(i,o){function a(){return new t(function(r,a){!function r(i,o,a,s){var l=f(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return r("throw",e,a,s)})}s(l.arg)}(i,o,r,a)})}return r=r?r.then(a,a):a()}})}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function _(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw TypeError(typeof t+" is not iterable")}return g.prototype=b,i(O,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:g,configurable:!0}),g.displayName=d(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},w(N.prototype),d(N.prototype,l,function(){return this}),t.AsyncIterator=N,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new N(u(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},w(O),d(O,c,"Generator"),d(O,s,function(){return this}),d(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;C(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function a(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}r.d(t,{J4:function(){return y}});var s,l,c,d,u,f,p,h,m,v,x,g="https://cdn.paddle.com/paddle/v2/paddle.js";(s=p||(p={})).CHECKOUT_LOADED="checkout.loaded",s.CHECKOUT_CLOSED="checkout.closed",s.CHECKOUT_UPDATED="checkout.updated",s.CHECKOUT_COMPLETED="checkout.completed",s.CHECKOUT_ERROR="checkout.error",s.CHECKOUT_FAILED="checkout.failed",s.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",s.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",s.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",s.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",s.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",s.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",s.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",s.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",s.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",s.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",(l=h||(h={})).DAY="day",l.WEEK="week",l.MONTH="month",l.YEAR="year",(c=m||(m={})).ALIPAY="alipay",c.APPLE_PAY="apple-pay",c.CARD="card",c.GOOGLE_PAY="google-pay",c.IDEAL="ideal",c.PAYPAL="paypal",c.WIRE_TRANSFER="wire-transfer",c.NONE="none",(d=v||(v={})).AMERICAN_EXPRESS="american_express",d.DINERS_CLUB="diners_club",d.DISCOVER="discover",d.JCB="jcb",d.MADA="mada",d.MAESTRO="maestro",d.MASTER_CARD="mastercard",d.UNION_PAY="union_pay",d.VISA="visa",d.UNKNOWN="unknown",(u=x||(x={})).DRAFT="draft",u.READY="ready",u.COMPLETED="completed",u.BILLED="billed",u.canceled="canceled",u.PAST_DUE="past_due";var b=["environment"];function y(e){return j.apply(this,arguments)}function j(){var e;return e=o().mark(function e(t){var r,n,a;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,void 0!==f?f:f=new Promise(function(e,t){if("undefined"==typeof window){e(void 0);return}if(window.Paddle){e(window.Paddle);return}try{var r=document.querySelector('script[src="'.concat(g,'"]'))||void 0;r||(r=function(e){var t=document.createElement("script");t.src=e;var r=document.head||document.body;if(!r)throw Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return r.appendChild(t),t}(g)),r.addEventListener("load",function(){window.Paddle?e(window.Paddle):t(Error("Paddle.js not available"))}),r.addEventListener("error",function(){t(Error("Failed to load Paddle.js"))})}catch(e){t(e);return}});case 2:if(!(r=e.sent)){e.next=8;break}if(t){n=t.environment,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,b);
1try{n&&r.Environment.set(n),r.Initialized?r.Update(i({},a)):r.Initialize(i({},a))}catch(e){console.warn("Paddle Initialization failed. Please check the inputs",e)}}return e.abrupt("return",r);case 8:return console.warn("Error Loading Paddle"),e.abrupt("return");case 10:case"end":return e.stop()}},e)}),(j=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,l,"next",e)}function l(e){a(o,n,i,s,l,"throw",e)}s(void 0)})}).apply(this,arguments)}},92207:function(){},9907:function(){},46323:function(){},97953:function(e,t,r){"use strict";r.d(t,{VY:function(){return z},fC:function(){return F},h_:function(){return M},xz:function(){return S}});var n=r(35674),i=r(45504),o=r(73370),a=r(57831),s=r(1993),l=r(86021),c=r(13583),d=r(49390),u=r(19955),f=r(8422),p=r(89670),h=r(49269),m=r(761),v=r(83144),x=r(17035),g=r(79490),b=r(97129);let y="Popover",[j,E]=(0,s.b)(y,[f.D7]),O=(0,f.D7)(),[w,N]=j(y),k=(0,i.forwardRef)((e,t)=>{let{__scopePopover:r,...s}=e,l=N("PopoverTrigger",r),c=O(r),d=(0,a.e)(t,l.triggerRef),u=(0,i.createElement)(m.WV.button,(0,n.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":L(l.open)},s,{ref:d,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?u:(0,i.createElement)(f.ee,(0,n.Z)({asChild:!0},c),u)}),C="PopoverPortal",[P,_]=j(C,{forceMount:void 0}),A="PopoverContent",I=(0,i.forwardRef)((e,t)=>{let r=_(A,e.__scopePopover),{forceMount:o=r.forceMount,...a}=e,s=N(A,e.__scopePopover);return(0,i.createElement)(h.z,{present:o||s.open},s.modal?(0,i.createElement)(T,(0,n.Z)({},a,{ref:t})):(0,i.createElement)(R,(0,n.Z)({},a,{ref:t})))}),T=(0,i.forwardRef)((e,t)=>{let r=N(A,e.__scopePopover),s=(0,i.useRef)(null),l=(0,a.e)(t,s),c=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=s.current;if(e)return(0,g.Ry)(e)},[]),(0,i.createElement)(b.Z,{as:v.g7,allowPinchZoom:!0},(0,i.createElement)(D,(0,n.Z)({},e,{ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),c.current||null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;c.current=n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),R=(0,i.forwardRef)((e,t)=>{let r=N(A,e.__scopePopover),o=(0,i.useRef)(!1),a=(0,i.useRef)(!1);return(0,i.createElement)(D,(0,n.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,i;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented||(o.current||null===(i=r.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var n,i;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let s=t.target;(null===(i=r.triggerRef.current)||void 0===i?void 0:i.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}}))}),D=(0,i.forwardRef)((e,t)=>{let{__scopePopover:r,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:v,...x}=e,g=N(A,r),b=O(r);return(0,c.EW)(),(0,i.createElement)(d.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:s},(0,i.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:v,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onDismiss:()=>g.onOpenChange(!1)},(0,i.createElement)(f.VY,(0,n.Z)({"data-state":L(g.open),role:"dialog",id:g.contentId},b,x,{ref:t,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function L(e){return e?"open":"closed"}let F=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,l=O(t),c=(0,i.useRef)(null),[d,p]=(0,i.useState)(!1),[h=!1,m]=(0,x.T)({prop:n,defaultProp:o,onChange:a});return(0,i.createElement)(f.fC,l,(0,i.createElement)(w,{scope:t,contentId:(0,u.M)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:(0,i.useCallback)(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:(0,i.useCallback)(()=>p(!0),[]),onCustomAnchorRemove:(0,i.useCallback)(()=>p(!1),[]),modal:s},r))},S=k,M=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=N(C,t);return(0,i.createElement)(P,{scope:t,forceMount:r},(0,i.createElement)(h.z,{present:r||a.open},(0,i.createElement)(p.h,{asChild:!0,container:o},n)))},z=I}}]);
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.