1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,858909,e=>{"use strict";e.s(["DOMAINS_WHITELIST",0,["@whitecase.com","@rezolv.energy","@gasnet.cz","@cez.cz","@cezdistribuce.cz","@sko-energo.cz","@eon.cz","@7group.cz","@7gi.com","@powertica.com","@cz.gt.com","@pre.cz"],"EMAILS_WHITELIST",0,["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],"MONITORING_DETAIL_FULL",0,"full","MONITORING_DETAIL_HIGHLIGHT",0,"highlight","MONITORING_TRACKING_COOKIE_NAME",0,"monitoring-unique-token","MONITORING_TYPE_DAILY",0,"daily","MONITORING_TYPE_WEEKLY",0,"weekly"])},10115,952019,e=>{"use strict";let t={PERCENT:"percent",AMOUNT:"amount"};e.s(["COUPON_TYPE",0,t,"removeCoupon",0,()=>({type:"REMOVE_COUPON"}),"setCoupon",0,e=>({type:"SET_COUPON",payload:e}),"setGopayUrl",0,e=>({type:"SET_GOPAY_URL",payload:e}),"setPaymentConfirmationPayload",0,e=>({type:"SET_PAYMENT_CONFIRMATION_PAYLOAD",payload:e}),"setPaymentStatus",0,e=>({type:"SET_PAYMENT_STATUS",payload:e}),"setProformaUrl",0,e=>({type:"SET_PROFORMA_URL",payload:e})],952019);var r=e.i(42476),n=e.i(426198),i=e.i(242334);let o=e=>(0,r.default)(e?.substring(0,2))(i.EU_VAT_CODES),a=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.CURRENCY.CZK;return(n.PRICE_PRODUCTS_BY_CURRENCY[r]?.[e]??n.PRICE_PRODUCTS[e])[t]},s=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.CURRENCY.CZK;return n.MONITORING_PROGRAM_DURATION[t]*a(e,t,r)};e.s(["adjustTotalPriceBasedOnVat",0,(e,t)=>({totalPrice:o(t)?Math.round(e/1.21):e,totalPricePreVat:Math.round(e/1.21),totalPriceOnlyVat:o(t)?0:Math.round(e-e/1.21)}),"calculateCouponPrice",0,(e,r)=>{let{type:n,discount:i}=r;return n===t.PERCENT?Math.round(Math.max(e*(1-(i||0)/100),0)):n===t.AMOUNT?Math.max(e-i,0):e},"getPreCouponPrice",0,s,"getRenewalPrice",0,function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.CURRENCY.CZK;return e===n.PRODUCT.COFFEE?r:s(e,t,i)},"getUnitPrice",0,a,"getYearlySaving",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.CURRENCY.CZK;return n.MONITORING_PROGRAM_DURATION[n.PROGRAM.YEARLY]*s(e,n.PROGRAM.MONTHLY,t)-s(e,n.PROGRAM.YEARLY,t)},"hasCoupon",0,e=>e===t.PERCENT||e===t.AMOUNT],10115)},694451,(e,t,r)=>{var n=e.r(78548),i=e.r(339711);t.exports=function(e,t){return n(e,t,function(t,r){return i(e,r)})}},909305,(e,t,r)=>{var n=e.r(694451);t.exports=e.r(303730)(function(e,t){return null==e?{}:n(e,t)})},664385,(e,t,r)=>{var n=e.r(41614)("pick",e.r(909305));n.placeholder=e.r(431877),t.exports=n},31486,931490,e=>{"use strict";var t=e.i(664385),r=e.i(934914),n=e.i(975384),i=e.i(841291),o=e.i(42476),a=e.i(18111),s=e.i(242334),l=e.i(770026),c=e.i(426198),u=e.i(819065),d=e.i(858909),f=e.i(10115),m=e.i(69297),p=e.i(477658),R=e.i(54217);let h={SIGNUP:{CATEGORY:"signup",LABEL:{PROFORMA_INVOICE_ISSUED:"proformaInvoiceIssued",PROFORMA_INVOICE_PAID:"proformaInvoicePaid",PAYMENT_CONFIRMATION_NOT_SENT:"paymentConfirmationNotSent",PAYMENT_CONFIRMATION_GENERATED:"paymentConfirmationGenerated",FIRST_STEP:"firstStepDone",SECOND_STEP:"secondStepDone",COUPON_SUBMIT:"submitCoupon",PAY_CLICK:"payButtonClicked",CREATE_ORDER:"orderCreated",CREATE_ORDER_INCORRECT_DATA:"createOrderIncorrectData",CREATE_PAYMENT:"createdPayment",PAYMENT_STATUS_UPDATE:"paymentStatusUpdate",SAVE_MONITORING_SUBSCRIPTION:"monitoringSubscriptionSaved",SAVE_MONITORING_MARKET_SETTING:"monitoringMarketSettingsSaved",SAVE_MONITORING_SUBSCRIPTION_META:"monitoringSubscriptionMetaSaved",CONFIRM_SUBSCRIPTION:"monitoringSubscriptionConfirmed",FINISH_SIGNUP:"finishSignup",UPDATE_PASSWORD:"updatePassword",UPDATE_SETTINGS:"updateSettings",RESET_TO_MONTH_PROGRAM_ON_COUPON_SUBMIT:"resetToMonthProgramOnCouponSelected",ERRORS:{COUPON_SUBMIT:"couponSubmitExpectedError",COUPON_SUBMIT_API:"couponSubmitApiError",CREATE_ORDER:"createOrderExpectedError",CREATE_ORDER_API:"createOrderApiError",CREATE_ORDER_SERVER_API:"createOrderApiServerError",CREATE_PAYMENT_API:"createPaymentApiError",UPDATE_GOPAY_URL:"updateGopayUrlApiError",SAVE_MONITORING_USER:"saveMonitoringUserError",SAVE_MONITORING_SUBSCRIPTION:"saveMonitoringSubscriptionError",SAVE_MONITORING_MARKET_SETTING:"saveMonitoringMarketSettingsError",SAVE_MONITORING_SUBSCRIPTION_META:"saveMonitoringSubscriptionMetaError",CONFIRM_SUBSCRIPTION:"monitoringSubscriptionConfirmError",FINISH_SIGNUP:"finishSignupError"}}},EMAILS:{CATEGORY:"emails",LABEL:{SEND_MAIL:"sendMail"}},ACCOUNT:{CATEGORY:"account",LABEL:{UPDATE_MONITORING_SETTINGS:"monitoringSettingsUpdated",ERRORS:{UPDATE_MONITORING_SETTINGS:"monitoringSettingsUpdatedError"}}}};e.s(["default",0,h],931490);let _=e=>e===c.PRODUCT.MONITORING,O=e=>(0,o.default)(e)(d.EMAILS_WHITELIST)||(0,o.default)(e.substring(e.indexOf("@")))(d.DOMAINS_WHITELIST),E=e=>_(e)||e===c.PRODUCT.PREMIUM||e===c.PRODUCT.PAYWALL||e===c.PRODUCT.NO_ADS||e===c.PRODUCT.ENERGOSTAT;e.s(["calculateTotalPrice",0,function(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:c.CURRENCY.CZK;if(O(e)&&E(r))return{totalPrice:0,totalPricePreVat:0,totalPriceOnlyVat:0};let a=(0,f.getPreCouponPrice)(r,t,o);if((0,f.hasCoupon)(n?.type)){let e=(0,f.calculateCouponPrice)(a,n);return(0,f.adjustTotalPriceBasedOnVat)(e,i)}return(0,f.adjustTotalPriceBasedOnVat)(a,i)},"getProductName",0,e=>c.PRODUCT_NAMES[e]??"-","getTrialAvailable",0,e=>{let t=(0,m.assembleApiUrl)(p.API_ENDPOINTS.ELIGIBLE_FOR_FREE_TRIAL,{email:e});return a.default.get(t).then(e=>{let{data:t}=e;return t.result}).catch(e=>e)},"handleOrderError",0,(e,t)=>("ER_DUP_ENTRY"===(0,r.default)("response.data.code")(e)?(window.toast({title:"Tento e-mail již máme",description:"Uživatel s tÃmto e-mailem již existuje. Pokud to tak nenÃ, dejte nám prosÃm vÄdÄt na [email protected]",variant:"destructive"}),(0,l.sendGoogleAnalyticsEvent)({category:u.GTAG.ERRORS.CATEGORY,action:u.GTAG.ERRORS.ACTIONS.CREATE_ORDER,label:`Duplicate: ${t}`})):(console.log("err",e),(0,R.default)({category:h.SIGNUP.CATEGORY,action:t,label:h.SIGNUP.LABEL.ERRORS.CREATE_ORDER_API}),(0,l.sendGoogleAnalyticsEvent)({category:u.GTAG.ERRORS.CATEGORY,action:u.GTAG.ERRORS.ACTIONS.CREATE_ORDER,label:"_api_reject"})),s.ERROR_TERMINATE),"isMonitoringProduct",0,_,"isTrialProgram",0,e=>e===c.PROGRAM.TRIAL,"isWhiteListed",0,O,"isWhitelistEligibleProduct",0,E,"prepareValuesForSignup",0,(e,r,o)=>{let a,l,u;return(0,i.default)((0,t.default)(s.ORDER_REQUIRED_VALUES),(a=c.TRIAL_BOILERPLATE_DATA,e=>e.program===c.PROGRAM.TRIAL?{...e,...a}:e),(0,n.default)("email",e.email.trim()),(0,n.default)("totalPrice",r||"0"),(0,n.default)("discount",(l=(0,f.getPreCouponPrice)(e.product,e.program,e.currency),(u=(0,f.adjustTotalPriceBasedOnVat)(l,e.companyVat)).totalPrice-r==0?"0":u.totalPrice-r)),(0,n.default)("coupon",o.id))(e)}],31486)},694038,e=>{"use strict";var t=e.i(507744);e.s(["useTurnstile",0,function(){let e=(0,t.useRef)(null),r=(0,t.useRef)(null),[n,i]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let t="0x4AAAAAADKWOhZSFMnhJpAO";if(!t||!e.current)return;let n=()=>{null===r.current&&(r.current=window.turnstile.render(e.current,{sitekey:t,appearance:"interaction-only",callback:e=>i(e),"expired-callback":()=>i(null),"error-callback":()=>i(null)}))};if(window.turnstile)return void n();if(document.querySelector("#cf-turnstile-script")){let e=setInterval(()=>{window.turnstile&&(n(),clearInterval(e))},50);return()=>clearInterval(e)}{let e=document.createElement("script");e.id="cf-turnstile-script",e.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",e.async=!0,e.onload=n,document.head.appendChild(e)}},[]),{containerRef:e,token:n}}])},8389,e=>{"use strict";var t=e.i(507744),r=(e.i(577528),Object.defineProperty),n=t.createContext(void 0);function i(e){let r=t.useContext(n);return e||r||"ltr"}r(i,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,i])},320887,e=>{"use strict";var t=e.i(507744),r=e.i(27942);function n(e){let[n,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>
1{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;i({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),n}(0,Object.defineProperty)(n,"name",{value:"useSize",configurable:!0}),e.s(["useSize",0,n])},618722,e=>{"use strict";let t=(0,e.i(692063).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},940894,e=>{"use strict";let t=(0,e.i(692063).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},139863,(e,t,r)=>{e.e,t.exports=function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,r,n,i){var o=e+" ";switch(n){case"s":return r||i?"pár sekund":"pár sekundami";case"m":return r?"minuta":i?"minutu":"minutou";case"mm":return r||i?o+(t(e)?"minuty":"minut"):o+"minutami";case"h":return r?"hodina":i?"hodinu":"hodinou";case"hh":return r||i?o+(t(e)?"hodiny":"hodin"):o+"hodinami";case"d":return r||i?"den":"dnem";case"dd":return r||i?o+(t(e)?"dny":"dnÃ"):o+"dny";case"M":return r||i?"mÄsÃc":"mÄsÃcem";case"MM":return r||i?o+(t(e)?"mÄsÃce":"mÄsÃců"):o+"mÄsÃci";case"y":return r||i?"rok":"rokem";case"yy":return r||i?o+(t(e)?"roky":"let"):o+"lety"}}var n={name:"cs",weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),months:"leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pÅed %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(e.r(195857))},296504,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(n,i){var o=this.$utils().u;if(o(n))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],o=i[0],a=60*i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(n)))return this;var a=16>=Math.abs(n)?60*n:n;if(0===a)return this.utc(i);var s=this.clone();if(i)return s.$offset=a,s.$u=!1,s;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l,s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,r){if(e&&this.$u===e.$u)return f.call(this,e,t,r);var n=this.local(),i=o(e).local();return f.call(n,i,t,r)}}}()},393375,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,i){var o,a=function(e,r,n){void 0===n&&(n={});var i,o,a,s,l=new Date(e);return(void 0===(i=n)&&(i={}),(s=t[a=r+"|"+(o=i.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),t[a]=s),s).formatToParts(l)},s=function(t,r){for(var n=a(t,r),o=[],s=0;s<n.length;s+=1){var l=n[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var f=o[3],m=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===f?0:f)+":"+o[4]+":"+o[5]+":000",p=+t;return(i.utc(m).valueOf()-(p-=p%1e3))/6e4},l=n.prototype;l.tz=function(e,t){if(void 0===e&&(e=o),!this.isValid())return this;
1var r,n=this.utcOffset(),a=this.toDate(),l=a.toLocaleString("en-US",{timeZone:e}),c=s(+a,e);if(Number(c)){if(r=i(l,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=r.utcOffset();r=r.add(n-u,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),r=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(r,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,r){var n=r&&t,a=r||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=i.utc(e,n).valueOf();if(Number.isNaN(c)){var u=i(NaN);return u.$x.$timezone=a,u}var d=function(e,t,r){var n=e-60*t*1e3,i=s(n,r);if(t===i)return[n,t];var o=s(n-=60*(i-t)*1e3,r);return i===o?[n,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(c,l,a),f=d[0],m=d[1],p=i(f).utcOffset(m);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()},526871,(e,t,r)=>{e.e,t.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}}},401688,e=>{"use strict";var t=e.i(195857),r=e.i(296504),n=e.i(393375);e.i(139863),e.i(526871),t.default.extend(r.default),t.default.extend(n.default);let i={cs:"cs-CZ",en:"en-GB"},o={cs:"cs",en:"en"},a={numeric:{cs:"D. M. YYYY",en:"D MMMM YYYY"},long:{cs:"D. MMMM YYYY",en:"D MMMM YYYY"}};e.s(["NUMBER_LOCALES",0,i,"formatDate",0,function(e,r){var n;let i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"numeric";return(i=(0,t.default)(e),(n?i.tz(n):i).locale(o[r])).format(a[s][r])},"formatNumber",0,(e,t,r)=>new Intl.NumberFormat(i[t],r).format(e)])},801540,e=>{"use strict";var t=e.i(618722);e.s(["Check",()=>t.default])},295534,e=>{"use strict";var t=e.i(940894);e.s(["ChevronDown",()=>t.default])},129295,e=>{"use strict";var t=e.i(577528);e.s(["default",0,function(e){let{className:r="w-24 h-auto mx-auto",color:n="#06172e"}=e;return(0,t.jsx)("svg",{className:`${r} my-12 animate-bounce`,xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 512.001 512.001",enableBackground:"new 0 0 512.001 512.001",width:"512px",height:"512px",children:(0,t.jsx)("path",{d:"m413.951,200.174c-2.828-5.047-8.164-8.174-13.953-8.174h-110.608l14.555-174.668c0.609-7.312-3.836-14.1-10.781-16.467-6.914-2.383-14.609,0.282-18.594,6.446l-175.998,271.997c-3.188,4.922-3.43,11.194-0.625,16.342 2.805,5.148 8.195,8.35 14.054,8.35h110.718l-14.672,190.773c-0.57,7.375 3.992,14.18 11.031,16.454 1.625,0.523 3.281,0.774 4.922,0.774 5.453,0 10.687-2.804 13.656-7.656l175.998-287.998c3.016-4.937 3.133-11.126 0.297-16.173zm-168.896,230.685l10.898-141.63c0.344-4.445-1.187-8.829-4.211-12.103-3.031-3.265-7.289-5.126-11.742-5.126h-98.585l125.335-193.707-10.695,128.382c-0.367,4.461 1.141,8.865 4.172,12.162 3.031,3.29 7.296,5.163 11.773,5.163h99.468l-126.413,206.859z",fill:n})})}])},627365,e=>{"use strict";var t=e.i(507744),r=e.i(622055),n=e.i(549024),i=e.i(39913),o=e.i(27942),a=e.i(919975),s=e.i(937370),l=e.i(704198),c=e.i(399854),u=e.i(577528),d=Object.defineProperty,f=(e,t)=>d(e,"name",{value:t,configurable:!0}),m="Collapsible",[p,R]=(0,n.createContextScope)(m),[h,_]=p(m),O=t.forwardRef(f(function(e,r){let{__scopeCollapsible:n,open:o,defaultOpen:a,disabled:l,onOpenChange:d,...f}=e,[p,R]=(0,i.useControllableState)({prop:o,defaultProp:a??!1,onChange:d,caller:m});return(0,u.jsx)(h,{scope:n,disabled:l,contentId:(0,c.useId)(),open:p,onOpenToggle:t.useCallback(()=>R(e=>!e),[R]),children:(0,u.jsx)(s.Primitive.div,{"data-state":v(p),"data-disabled":l?"":void 0,...f,ref:r})})},"Collapsible")),E=t.forwardRef(f(function(e,t){let{__scopeCollapsible:n,...i}=e,o=_("CollapsibleTrigger",n);return(0,u.jsx)(s.Primitive.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":v(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,o.onOpenToggle)})},"CollapsibleTrigger")),T="CollapsibleContent",C=t.forwardRef(f(function(e,t){let{forceMount:r,...n}=e,i=_(T,e.__scopeCollapsible);return(0,u.jsx)(l.Presence,{present:r||i.open,children:e=>{let{present:r}=e;return(0,u.jsx)(A,{...n,ref:t,present:r})}})},"CollapsibleContent")),A=t.forwardRef(f(function(e,r){let{__scopeCollapsible:n,present:i,children:l,...c}=e,d=_(T,n),[f,m]=t.useState(i),p=t.useRef(null),R=(0,a.useComposedRefs)(r,p),h=t.useRef(0),O=h.current,E=t.useRef(0),C=E.current,A=d.open||f,g=t.useRef(A),S=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.useLayoutEffect)(()=>{let e=p.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,E.current=t.width,g.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),m(i)}},[d.open,i]),(0,u.jsx)(s.Primitive.div,{"data-state":v(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!A,...c,ref:R,style:{"--radix-collapsible-content-height":O?`${O}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:A&&l})},"CollapsibleContentImpl"));function v(e){return e?"open":"closed"}f(v,"getState"),e.s(["Collapsible",0,O,"CollapsibleContent",0,C,"CollapsibleTrigger",0,E,"Content",0,C,"Root",0,O,"Trigger",0,E,"createCollapsibleScope",0,R])},641419,e=>{"use strict";var t=e.i(577528),r=e.i(507744),n=e.i(549024),i=e.i(427225),o=e.i(919975),a=e.i(622055),s=e.i(39913),l=e.i(937370),c=e.i(627365),u=e.i(399854),d=e.i(8389),f=Object.defineProperty,m=(e,t)=>
1f(e,"name",{value:t,configurable:!0}),p="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,_,O]=(0,i.createCollection)(p),[E,T]=(0,n.createContextScope)(p,[O,c.createCollapsibleScope]),C=(0,c.createCollapsibleScope)(),A=r.forwardRef(m(function(e,r){let{type:n,...i}=e;return(0,t.jsx)(h.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(M,{...i,ref:r}):(0,t.jsx)(N,{...i,ref:r})})},"Accordion")),[v,g]=E(p),[S,I]=E(p,{collapsible:!1}),N=r.forwardRef(m(function(e,n){let{value:i,defaultValue:o,onValueChange:a=m(()=>{},"onValueChange"),collapsible:l=!1,...c}=e,[u,d]=(0,s.useControllableState)({prop:i,defaultProp:o??"",onChange:a,caller:p});return(0,t.jsx)(v,{scope:e.__scopeAccordion,value:r.useMemo(()=>u?[u]:[],[u]),onItemOpen:d,onItemClose:r.useCallback(()=>l&&d(""),[l,d]),children:(0,t.jsx)(S,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(y,{...c,ref:n})})})},"AccordionImplSingle")),M=r.forwardRef(m(function(e,n){let{value:i,defaultValue:o,onValueChange:a=m(()=>{},"onValueChange"),...l}=e,[c,u]=(0,s.useControllableState)({prop:i,defaultProp:o??[],onChange:a,caller:p}),d=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),f=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,t.jsx)(v,{scope:e.__scopeAccordion,value:c,onItemOpen:d,onItemClose:f,children:(0,t.jsx)(S,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(y,{...l,ref:n})})})},"AccordionImplMultiple")),[P,b]=E(p),y=r.forwardRef(m(function(e,n){let{__scopeAccordion:i,disabled:s,dir:c,orientation:u="vertical",...f}=e,p=r.useRef(null),O=(0,o.useComposedRefs)(p,n),E=_(i),T="ltr"===(0,d.useDirection)(c),C=(0,a.composeEventHandlers)(e.onKeyDown,e=>{if(!R.includes(e.key))return;let t=e.target,r=E().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,a=i-1,s=m(()=>{(o=n+1)>a&&(o=0)},"moveNext"),l=m(()=>{(o=n-1)<0&&(o=a)},"movePrev");switch(e.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===u&&(T?s():l());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(T?l():s());break;case"ArrowUp":"vertical"===u&&l()}let c=o%i;r[c].ref.current?.focus()});return(0,t.jsx)(P,{scope:i,disabled:s,direction:c,orientation:u,children:(0,t.jsx)(h.Slot,{scope:i,children:(0,t.jsx)(l.Primitive.div,{...f,"data-orientation":u,ref:O,onKeyDown:s?void 0:C})})})},"AccordionImpl")),D="AccordionItem",[U,Y]=E(D),x=r.forwardRef(m(function(e,r){let{__scopeAccordion:n,value:i,...o}=e,a=b(D,n),s=g(D,n),l=C(n),d=(0,u.useId)(),f=i&&s.value.includes(i)||!1,m=a.disabled||e.disabled;return(0,t.jsx)(U,{scope:n,open:f,disabled:m,triggerId:d,children:(0,t.jsx)(c.Root,{"data-orientation":a.orientation,"data-state":j(f),...l,...o,ref:r,disabled:m,open:f,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})},"AccordionItem")),w=r.forwardRef(m(function(e,r){let{__scopeAccordion:n,...i}=e,o=b(p,n),a=Y("AccordionHeader",n);return(0,t.jsx)(l.Primitive.h3,{"data-orientation":o.orientation,"data-state":j(a.open),"data-disabled":a.disabled?"":void 0,...i,ref:r})},"AccordionHeader")),L="AccordionTrigger",G=r.forwardRef(m(function(e,r){let{__scopeAccordion:n,...i}=e,o=b(p,n),a=Y(L,n),s=I(L,n),l=C(n);return(0,t.jsx)(h.ItemSlot,{scope:n,children:(0,t.jsx)(c.Trigger,{"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...i,ref:r})})},"AccordionTrigger")),$=r.forwardRef(m(function(e,r){let{__scopeAccordion:n,...i}=e,o=b(p,n),a=Y("AccordionContent",n),s=C(n);return(0,t.jsx)(c.Content,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...s,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})},"AccordionContent"));function j(e){return e?"open":"closed"}m(j,"getState");var k=e.i(295534),z=e.i(812823);let B=r.forwardRef((e,r)=>{let{className:n,...i}=e;return(0,t.jsx)(x,{ref:r,className:(0,z.cn)("border-b",n),...i})});B.displayName="AccordionItem";let H=r.forwardRef((e,r)=>{let{className:n,shouldShowIcon:i=!0,children:o,...a}=e;return(0,t.jsx)(w,{className:"mb-0 flex",children:(0,t.jsx)(G,{ref:r,className:(0,z.cn)("flex flex-1 items-center justify-between font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",n),...a,children:(0,t.jsxs)(t.Fragment,{children:[o,i&&(0,t.jsx)(k.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})})});H.displayName=G.displayName;let F=r.forwardRef((e,r)=>{let{className:n,children:i,...o}=e;return(0,t.jsx)($,{ref:r,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",...o,children:(0,t.jsx)("div",{className:(0,z.cn)("pt-0 pb-4",n),children:i})})});
1F.displayName=$.displayName,e.s(["Accordion",0,A,"AccordionContent",0,F,"AccordionItem",0,B,"AccordionTrigger",0,H],641419)},26108,e=>{"use strict";var t=e.i(426198),r=e.i(968684);e.s(["getCurrencyLabel",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cs";return e===t.CURRENCY.EUR?"â¬":(0,r.t)("signup.currency",n)},"getPricePerMonthLabel",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cs";return(0,r.t)(e===t.CURRENCY.EUR?"signup.price_per_month_eur":"signup.price_per_month",n)},"getSignupCurrency",0,(e,r)=>"en"===e&&t.EUR_PRODUCTS.includes(r)?t.CURRENCY.EUR:t.CURRENCY.CZK])}]);
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.