/*! For license information please see main.df1956da.js.LICENSE.txt */ (()=>{var e={19125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(72791),o=n(3641),i=n.n(o),a=n(39230),s=n(80184);const l=e=>{let{isSmall:t}=e;const{t:n}=(0,a.$G)(),o=["scan","fast-food-outline","calculator-outline","pizza-outline"],l=[n("loading"),n("loading2"),n("loading3"),n("loading4"),n("loading5"),n("loading6"),n("loading7"),n("loading8"),n("loading9"),n("loading10"),n("loading11")],[c,u]=(0,r.useState)(0),[d,p]=(0,r.useState)("");return(0,r.useEffect)((()=>{const e=setInterval((()=>{u((e=>(e+1)%o.length))}),4e3);return()=>clearInterval(e)}),[]),(0,r.useEffect)((()=>{let e="",t=0;const n=setInterval((()=>{tclearInterval(n)}),[c]),(0,s.jsxs)("div",{className:t?"loading-container-small":"loading-container",children:[(0,s.jsx)("div",{className:"loading-icon",children:(0,s.jsx)(i(),{name:o[c],size:50,className:"spin"})}),(0,s.jsx)("h2",{children:d})]})}},87275:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(72791),o=(n(48200),n(18548)),i=n(39230),a=n(80184);const s=e=>{let{isMobile:t}=e;const[n,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(null),{t:u}=(0,i.$G)();(0,r.useEffect)((()=>{const e=e=>{!n||e.target.closest(".nav-links")||e.target.closest(".menu-icon")||(s(!1),c(null))};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[n]),(0,r.useEffect)((()=>(document.body.style.overflow=n&&t?"hidden":"auto",()=>{document.body.style.overflow="auto"})),[n,t]);const d=()=>{s(!1),c(null)};(0,r.useEffect)((()=>{const e=e=>{t||!l||e.target.closest(".dropdown")||e.target.closest(".dropdown-content-container")||c(null)};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[l,t]);const p={[u("mainPage")]:[{title:u("onas"),href:"#details-section"},{title:u("goals"),href:"#goals-section"},{title:u("misja"),href:"#video-section"}],[u("contact")]:[{title:u("contact"),href:"#contact"},{title:u("team"),href:"#about-section"}],[u("partners")]:[{title:u("partnerzy"),href:"#partners-section"},{title:u("media"),href:"#media-section"}],[u("helpus")]:[{title:u("helpus"),href:"#help"},{title:u("faq"),href:"#faq"}]},h=e=>{const t=document.querySelector('[data-category="'.concat(e,'"]'));if(!t)return{left:0,top:0};const n=t.getBoundingClientRect();return{left:n.left,top:n.bottom}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"top-bar ".concat(t?"mobile-top-bar":""),children:(0,a.jsxs)("div",{className:"centertopbar",children:[(0,a.jsxs)("a",{href:"https://diabcalc.com/#header",className:"logo-container",children:[(0,a.jsx)("img",{src:o,alt:"DiabCalc Logo",className:"logolanding"}),(0,a.jsx)("span",{className:"diabcalc-title",children:"DiabCalc"})]}),t?(0,a.jsx)("div",{className:"menu-icon",onClick:()=>{s(!n),n&&c(null)},children:n?"\u2715":"\u2630"}):(0,a.jsx)("div",{className:"desktop-nav",children:Object.keys(p).map((e=>(0,a.jsx)("div",{className:"dropdown",children:(0,a.jsxs)("button",{className:"dropdown-button ".concat(l===e?"active":""),onClick:()=>(e=>{c((t=>t===e?null:e))})(e),"data-category":e,children:[e," ",l===e?"\u25b2":"\u25bc"]})},e)))})]})}),t&&n&&(0,a.jsx)("div",{className:"mobile-menu-overlay",onClick:d}),t&&(0,a.jsx)("div",{className:"nav-links ".concat(n?"open":""),children:Object.keys(p).map((e=>(0,a.jsxs)("div",{className:"mobile-category",children:[(0,a.jsx)("div",{className:"mobile-category-header",children:e}),p[e].map((e=>(0,a.jsx)("a",{href:"https://diabcalc.com/".concat(e.href),onClick:d,className:"mobile-link",children:e.title},e.title)))]},e)))}),!t&&Object.keys(p).map((e=>l===e&&(0,a.jsx)("div",{className:"dropdown-content-container",style:{position:"fixed",top:"60px",left:"".concat(h(e).left,"px"),zIndex:9999},children:(0,a.jsx)("div",{className:"dropdown-content visible",children:p[e].map((e=>(0,a.jsx)("a",{href:"https://diabcalc.com/".concat(e.href),children:e.title},e.title)))})},"dropdown-".concat(e))))]})};s.defaultProps={isMobile:!1};const l=s},47924:(e,t,n)=>{"use strict";n.d(t,{L_:()=>f,p6:()=>h});var r=n(72791),o=n(66653),i=n(55294),a=n(87241),s=n(11118),l=n(88938),c=n(1645),u=n(46547),d=n(80184);const p=(0,r.createContext)({isPro:!1,isPremium:!1,isPaywallOpen:!1,revenueCatReady:!o.dV.isNativePlatform(),revenueCatError:null,purchaseInProgress:!1,restoreInProgress:!1,openPaywall:()=>{},registerPaywallSurface:()=>{},refreshProStatus:async()=>{},loginProUser:async()=>{},logoutProUser:async()=>{}}),h=()=>(0,r.useContext)(p),f=e=>{let{children:t}=e;const{user:n}=(0,c.a)(),[h,f]=(0,r.useState)(!1),[g,m]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),[x,b]=(0,r.useState)(!1),[k,j]=(0,r.useState)((()=>!o.dV.isNativePlatform())),[C,A]=(0,r.useState)(null),[S,M]=(0,r.useState)(!1),[N,P]=(0,r.useState)(!1),_=v||x,z=(0,s.k)(),E=(0,r.useRef)(!1),O=(0,r.useRef)(!1),L=(0,r.useRef)(null),T=(0,r.useRef)(null),D=(0,r.useCallback)((async e=>{try{const t=JSON.parse(localStorage.getItem("user"));if(null===t||void 0===t||!t.token)return;await i.Z.post("".concat(z,"update-pro-status"),{is_pro:e},{headers:{Authorization:"Bearer ".concat(t.token)},withCredentials:!0,timeout:1e4})}catch(t){console.warn("[ProContext] syncProStatusToBackend error:",null===t||void 0===t?void 0:t.message)}}),[z]),Z=(0,r.useCallback)(((e,t)=>{var n,r;null!=e&&(L.current=e),void 0!==t&&(O.current=Boolean(t));const o=(0,a.Qk)(L.current,O.current);f(o);const i=null!==(n=null===e||void 0===e||null===(r=e.entitlements)||void 0===r?void 0:r.active)&&void 0!==n?n:{},s=Boolean(i[a.Qs]);m(s||o),o&&!E.current?D(!0):!o&&E.current&&D(!1),E.current=o}),[D]),I=(0,r.useCallback)((async()=>{const e=await(0,a.eN)(z);return e&&Z(L.current,e.isPro),e}),[z,Z]),B=(0,r.useCallback)((e=>{Z(e)}),[Z]);(0,r.useEffect)((()=>{let e=!0;return(async()=>{if(u.sM&&o.dV.isNativePlatform()){console.log("[ProContext] Starting RevenueCat init...");try{if(await(0,a.Bo)(),!e)return;const t=(0,a._X)(),n=(0,a.gy)();console.log("[ProContext] initRevenueCat done, _initialized=",t,"error=",null===n||void 0===n?void 0:n.message),n&&(A(n),console.warn("[ProContext] RevenueCat initialization failed:",n.message)),j(!0),t||console.warn("[ProContext] RevenueCat not initialized, but continuing..."),(0,a.HR)(B),(0,a.bZ)();const r=await(0,a.O3)();if(console.log("[ProContext] getCustomerInfo result:",r?"ok":"null"),!e)return;r&&B(r),I()}catch(t){console.warn("[ProContext] RevenueCat init failed:",(null===t||void 0===t?void 0:t.message)||t),e&&(A(t instanceof Error?t:new Error(String(t))),j(!0))}}})(),()=>{e=!1,(0,a.uJ)(B)}}),[B,I]);const R=(0,r.useCallback)((async e=>{if(!u.sM)return;await(0,a.k8)(e);const t=await(0,a.O3)();t&&Z(t),(0,a.eN)(z).then((e=>{e&&Z(L.current,e.isPro)}))}),[z,Z]),V=(0,r.useCallback)((async()=>{if(!u.sM)return O.current=!1,L.current=null,f(!1),m(!1),void(E.current=!1);await(0,a.HI)(),O.current=!1,L.current=null,f(!1),m(!1),E.current=!1}),[]),H=(0,r.useCallback)((async()=>{if(!u.sM)return;const e=await(0,a.O3)();e&&Z(e);const t=await(0,a.eN)(z);t&&Z(null!==e&&void 0!==e?e:L.current,t.isPro)}),[z,Z]);(0,r.useEffect)((()=>{var e;if(!u.sM||!o.dV.isNativePlatform()||!k)return;const t=null!==(e=null===n||void 0===n?void 0:n.userId)&&void 0!==e?e:null;if(!t)return null!=T.current&&V(),void(T.current=null);T.current!==t&&(T.current=t,R(t))}),[null===n||void 0===n?void 0:n.userId,R,V,k]);const F=(0,r.useCallback)((()=>{u.sM&&w(!0)}),[]),U=(0,r.useCallback)((()=>w(!1)),[]),W=(0,r.useCallback)((e=>{b(Boolean(e))}),[]);return(0,r.useEffect)((()=>{h&&(0,l.v)()}),[h]),(0,r.useEffect)((()=>{_&&(0,l.v)()}),[_]),(0,d.jsxs)(p.Provider,{value:{isPro:!!u.sM&&h,isPremium:!!u.sM&&g,isPaywallOpen:_,revenueCatReady:k,revenueCatError:C,purchaseInProgress:S,restoreInProgress:N,openPaywall:F,registerPaywallSurface:W,refreshProStatus:H,loginProUser:R,logoutProUser:V},children:[t,u.sM&&v&&(0,d.jsx)(y,{onClose:U,onSuccess:U})]})},{lazy:g,Suspense:m}=r,v=g((()=>n.e(967).then(n.bind(n,57967))));function y(e){let{onClose:t,onSuccess:n}=e;return(0,d.jsx)(m,{fallback:null,children:(0,d.jsx)(v,{onClose:t,onSuccess:n})})}},1645:(e,t,n)=>{"use strict";n.d(t,{a:()=>g,d:()=>f});var r=n(1413),o=n(72791),i=n(57689),a=n(66653),s=n(19125),l=n(11118),c=n(16058),u=n(87241),d=n(46547),p=n(80184);const h=(0,o.createContext)(),f=e=>{let{children:t}=e;const[n,f]=(0,o.useState)(null),[g,m]=(0,o.useState)(!1),[v,y]=(0,o.useState)(null),[w,x]=(0,o.useState)(!0),[b,k]=(0,o.useState)(null),j=(0,i.s0)();(0,o.useEffect)((()=>{let e=!0;return(async()=>{const t=(0,c.i)("user");if(t&&e&&f((0,r.Z)((0,r.Z)({},t),{},{is_pro:Boolean(null===t||void 0===t?void 0:t.is_pro)})),e&&(m(d.sM&&Boolean(null===t||void 0===t?void 0:t.is_pro)),y(null),x(!1)),d.sM&&null!==t&&void 0!==t&&t.userId)try{await(0,u.k8)(t.userId);const n=await(0,u.O3)();e&&(y(n),m((0,u._y)(n)||Boolean(null===t||void 0===t?void 0:t.is_pro)))}catch(n){console.warn("[UserContext] RevenueCat bootstrap failed:",n)}})(),()=>{e=!1}}),[]),(0,o.useEffect)((()=>{console.log("UserContext initialized with user:",n)}),[n]);(0,o.useEffect)((()=>{(async()=>{try{if(!(await fetch((0,l.k)())).ok)throw new Error("Server not reachable")}catch(b){k(b.message)}})()}),[]),(0,o.useEffect)((()=>{let e=async()=>{},t=!0;return(async()=>{if(!d.sM||null===n||void 0===n||!n.userId||!a.dV.isNativePlatform())return;const r=e=>{t&&(y(e),m((0,u._y)(e)))};(0,u.HR)(r),e=async()=>{(0,u.uJ)(r)}})(),()=>{t=!1,e().catch((()=>{}))}}),[null===n||void 0===n?void 0:n.userId]);const C=(0,o.useCallback)((()=>(0,u.si)()),[]),A=(0,o.useCallback)((e=>(0,u.Do)(e)),[]),S=(0,o.useCallback)((()=>(0,u.NS)()),[]),M=(0,o.useCallback)((()=>(0,u.O3)()),[]);return w?(0,p.jsx)(s.Z,{}):(0,p.jsx)(h.Provider,{value:{user:n,currentUserId:(null===n||void 0===n?void 0:n.userId)||null,isPro:!!d.sM&&g,customerInfo:v,login:async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,r.Z)((0,r.Z)({},n),{},{userId:e,token:t,is_pro:Boolean(null===n||void 0===n?void 0:n.is_pro)});if(f(o),localStorage.setItem("user",JSON.stringify(o)),d.sM)try{await(0,u.k8)(e);const t=await(0,u.O3)();y(t),m((0,u._y)(t)||Boolean(null===o||void 0===o?void 0:o.is_pro))}catch(i){console.warn("[UserContext] RevenueCat login sync failed:",i),m(Boolean(null===o||void 0===o?void 0:o.is_pro))}else m(!1)},logout:async()=>{d.sM&&(0,u.HI)().catch((e=>console.warn("[UserContext] RevenueCat logout failed:",e))),localStorage.removeItem("user"),f(null),a.dV.isNativePlatform()?j("/app"):j("/")},getOfferings:C,purchasePackage:A,restorePurchases:S,getCustomerInfo:M,normalizePurchaseError:e=>e,getPurchaseErrorMessage:e=>(null===e||void 0===e?void 0:e.message)||"Wyst\u0105pi\u0142 b\u0142\u0105d zakupu."},children:t})},g=()=>{const e=(0,o.useContext)(h);return e||console.error("useUser must be used within a UserProvider"),e}},11118:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(66653);function o(){const e=window.location.hostname,t=r.dV.isNativePlatform(),n=/^192\.168\./.test(e)||"10.0.2.2"===e||"10.0.0.2"===e,o=!t&&(e.includes("localhost")||"127.0.0.1"===e);let i="https://api.diabcalc.com/";return(n||o)&&(i="http://192.168.1.46:3001/"),i}},7319:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,Z:()=>i});const r=Object.freeze({premiere2024:{active:!0,title:"Dzi\u0119kujemy za do\u0142\u0105czenie!",message:"Cieszymy si\u0119, \u017ce jeste\u015b z nami podczas premiery aplikacji DiabCalc"},balancefaster:{active:!0,title:"BalanceFaster",message:"Sprawd\u017a funkcje BalanceFaster \u2014 szybkie wskaz\xf3wki i deeplinki do najwa\u017cniejszych stron aplikacji.",category:"promotion",deeplinks:["home","search","scanner","product","meals","mealCalendar","settings"]}}),o=Object.freeze({appScheme:"diabcalc://",webBase:"https://diabcalc.com",home:{path:"/app",app:"diabcalc://app",web:"https://diabcalc.com/app"},search:{path:"/app/search",app:"diabcalc://app/search",web:"https://diabcalc.com/app/search"},scanner:{path:"/app/scanner",app:"diabcalc://app/scanner",web:"https://diabcalc.com/app/scanner"},product:{path:"/app/product/:id",app:"diabcalc://app/product/:id",web:"https://diabcalc.com/app/product/:id"},meals:{path:"/app/meals",app:"diabcalc://app/meals",web:"https://diabcalc.com/app/meals"},mealCalendar:{path:"/app/meal-calendar",app:"diabcalc://app/meal-calendar",web:"https://diabcalc.com/app/meal-calendar"},meal:{path:"/app/meal/:id",app:"diabcalc://app/meal/:id",web:"https://diabcalc.com/app/meal/:id"},settings:{path:"/app/settings",app:"diabcalc://app/settings",web:"https://diabcalc.com/app/settings"},login:{path:"/app/login",app:"diabcalc://app/login",web:"https://diabcalc.com/app/login"},calc:{path:"/app/calc",app:"diabcalc://app/calc",web:"https://diabcalc.com/app/calc"}}),i=r},46547:(e,t,n)=>{"use strict";n.d(t,{sM:()=>r});const r=!0},87241:(e,t,n)=>{"use strict";n.d(t,{Qs:()=>A,HR:()=>Q,eN:()=>F,O3:()=>U,si:()=>Y,gy:()=>E,Bo:()=>I,_y:()=>ne,_X:()=>z,fb:()=>Z,k8:()=>V,HI:()=>H,vF:()=>W,bZ:()=>K,Do:()=>$,uJ:()=>ee,Qk:()=>te,NS:()=>X,oH:()=>J});var r=n(1413),o=n(66653);n(22924);const i=(0,o.fo)("Purchases",{web:()=>n.e(213).then(n.bind(n,63213)).then((e=>new e.PurchasesWeb))});var a=n(76483),s=n(41290);function l(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"operation";const o=new Promise(((e,o)=>{n=setTimeout((()=>{const e=new Error("".concat(r," timed out after ").concat(t,"ms"));e.code="TIMEOUT",o(e)}),t)}));return Promise.race([e,o]).finally((()=>{clearTimeout(n)}))}var c=n(45703);const u=5e3,d=8e3,p=5e3,h=1e4,f=5e3,g=3e5,m=[800,2e3];let v=!1,y=null,w=null,x=Promise.resolve(),b=null,k=null,j=null;const C=new Set,A="premium",S=["DiabCalc Plus","pro",A],M="appl_djQOpnxwVxcUhfTVwedPXHxjCwI",N="goog_sLRjyTeapjzOuIrzdFxkLqeDBGp";function P(e){return new Promise((t=>{setTimeout(t,e)}))}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e&&(b=(0,r.Z)({offerings:e,fetchedAt:Date.now()},t))}function z(){return v}function E(){return y}function O(){b=null}function L(e){const t=x.catch((()=>{})).then((()=>e()));return x=t.then((()=>{}),(()=>{})),t}function T(){return o.dV.isNativePlatform()}function D(){return"ios"===o.dV.getPlatform()?M:N}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"RevenueCat";if(!(0,s.IT)())return;const t=function(){const e=o.dV.getPlatform();return"ios"===e?{platform:e,key:"appl_djQOpnxwVxcUhfTVwedPXHxjCwI",source:"REACT_APP_RC_API_KEY_IOS",keyKind:"env"}:"android"===e?{platform:e,key:"goog_sLRjyTeapjzOuIrzdFxkLqeDBGp",source:"REACT_APP_RC_API_KEY_ANDROID",keyKind:"env"}:{platform:e,key:"",source:"n/a (not native)",keyKind:"n/a"}}(),n=D();let r="(empty/missing)";n&&String(n).trim()&&(r=String(n).includes("REPLACE")?"".concat(n," (placeholder)"):String(n)),(0,s.OT)("[".concat(e,"] RC API key debug:"),{platform:t.platform,source:t.source,keyKind:t.keyKind,key:r})}async function I(){if(!T())return void(0,s._w)("initRevenueCat: not native, skipping");if(w)return(0,s._w)("initRevenueCat: already in progress or done, returning existing promise"),w;const e=o.dV.getPlatform(),t=function(){const e=D();return Boolean(e&&String(e).trim())&&!String(e).includes("REPLACE")?"yes":"no"}(),n=v?" alreadyInitialized=yes":"";if((0,s._w)("initRevenueCat called platform=".concat(e," keyPresent=").concat(t).concat(n)),v)(0,s._w)("initRevenueCat: already initialized, skipping");else{w=(async()=>{console.log("[RevenueCat.DEBUG] initRevenueCat: entering async IIFE");try{const r=D();if(console.log("[RevenueCat.DEBUG] initRevenueCat: got apiKey"),Z("RevenueCat.init"),!r||String(r).includes("REPLACE")){const t="configure skipped platform=".concat(e," reason=missing_or_invalid_api_key");return(0,s._w)(t),(0,a.Ym)()&&(0,s.wR)("[RevenueCat.init] configure skipped \u2014 invalid or missing API key"),(0,s.wR)("[RevenueCat] Brak publicznego klucza SDK \u2014 ustaw REACT_APP_RC_API_KEY_IOS / REACT_APP_RC_API_KEY_ANDROID (lub legacy REVENUECAT_*); CRA wstrzykuje je przy buildzie."),y=new Error("Missing or invalid API key"),void console.log("[RevenueCat.DEBUG] initRevenueCat: early return - missing API key")}console.log("[RevenueCat.DEBUG] BEFORE getPlugin()"),(0,s._w)("initRevenueCat: calling getPlugin");const o=B();if(console.log("[RevenueCat.DEBUG] AFTER getPlugin() (sync)",{RC:typeof o,hasConfigure:typeof(null===o||void 0===o?void 0:o.configure),isThenable:o&&"function"===typeof o.then}),(0,s._w)("initRevenueCat: got plugin typeof=".concat(typeof o," configureFn=").concat(typeof(null===o||void 0===o?void 0:o.configure))),console.log("[RevenueCat] getPlugin returned, RC.configure exists:",typeof(null===o||void 0===o?void 0:o.configure)),"function"!==typeof(null===o||void 0===o?void 0:o.configure)){const e="RevenueCat plugin missing configure function";return(0,s._w)(e),(0,s.gv)("[RevenueCat] Init error:",e),y=new Error(e),void console.log("[RevenueCat.DEBUG] initRevenueCat: early return - missing configure")}console.log("[RevenueCat.DEBUG] BEFORE RC.configure()");const i=setInterval((()=>(0,s._w)("initRevenueCat: HB tick")),2e3);try{(0,s._w)("initRevenueCat: RC.configure start"),await l(o.configure({apiKey:r}),u,"RevenueCat.configure"),console.log("[RevenueCat.DEBUG] AFTER RC.configure()"),(0,s._w)("initRevenueCat: RC.configure settled ok")}catch(t){throw console.log("[RevenueCat.DEBUG] RC.configure THREW:",(null===t||void 0===t?void 0:t.message)||t),(0,s._w)("initRevenueCat: RC.configure rejected: ".concat((null===t||void 0===t?void 0:t.message)||t)),t}finally{clearInterval(i)}console.log("[RevenueCat.DEBUG] Setting _initialized = true"),v=!0,y=null,console.log("[RevenueCat.DEBUG] BEFORE RC.getAppUserID()");try{const{appUserID:e}=await l(o.getAppUserID(),p,"RevenueCat.getAppUserID");console.log("[RevenueCat.DEBUG] AFTER RC.getAppUserID()",e),e&&(j=String(e))}catch(n){(0,s.wR)("[RevenueCat] getAppUserID after configure:",(null===n||void 0===n?void 0:n.message)||n)}console.log("[RevenueCat.DEBUG] BEFORE RC.addCustomerInfoUpdateListener()"),await o.addCustomerInfoUpdateListener((e=>{let{customerInfo:t}=e;C.forEach((e=>{try{e(t)}catch(n){}}))})),console.log("[RevenueCat.DEBUG] AFTER RC.addCustomerInfoUpdateListener()"),(0,s._w)("initRevenueCat: configure ok platform=".concat(e)),(0,s.OT)("[RevenueCat] Initialised"),console.log("[RevenueCat.DEBUG] initRevenueCat: SUCCESS - about to return")}catch(n){console.log("[RevenueCat.DEBUG] initRevenueCat: CAUGHT ERROR:",(null===n||void 0===n?void 0:n.message)||n);const e="initRevenueCat failed platform=".concat(o.dV.getPlatform()," error=").concat((null===n||void 0===n?void 0:n.message)||n);(0,s._w)(e),(0,s.gv)("[RevenueCat] Init error:",n),y=n instanceof Error?n:new Error(String(n)),v=!1,console.log("[RevenueCat.DEBUG] initRevenueCat: ERROR STATE SET, _initialized=false")}})(),console.log("[RevenueCat.DEBUG] _initPromise created, awaiting...");try{await w,console.log("[RevenueCat.DEBUG] _initPromise resolved, _initialized=",v)}finally{}}}function B(){return i}async function R(){return!!T()&&(await I(),v)}async function V(e){if(T())return L((async()=>{if(await R())try{const t=B();await t.logIn({appUserID:String(e)}),j=String(e),O(),(0,s.OT)("[RevenueCat] Logged in as",e)}catch(t){(0,s.gv)("[RevenueCat] Login error:",t)}}))}async function H(){if(T())return L((async()=>{if(await R())try{const t=B();await l(t.logOut(),f,"RevenueCat.logOut"),O();try{const{appUserID:e}=await l(t.getAppUserID(),p,"RevenueCat.getAppUserID");j=e?String(e):null}catch(e){j=null}(0,s.OT)("[RevenueCat] Logged out")}catch(t){(0,s.gv)("[RevenueCat] Logout error:",t)}}))}async function F(e){var t;const n=j;if(!n)return null;const r=String(e||"").endsWith("/")?String(e):"".concat(String(e||""),"/"),o="".concat(r,"api/subscription-status");let i=null;try{i=JSON.parse(localStorage.getItem("user")||"null")}catch(c){i=null}const a={"Content-Type":"application/json"};null!==(t=i)&&void 0!==t&&t.token&&(a.Authorization="Bearer ".concat(i.token));try{const e=await l(fetch(o,{method:"POST",headers:a,credentials:"include",body:JSON.stringify({appUserId:n})}),h,"subscription-status");if(!e.ok)return(0,s.wR)("[RevenueCat] subscription-status HTTP",e.status),null;const t=function(e){var t;if(!e||"object"!==typeof e)return null;if("boolean"===typeof e.isPro)return{isPro:e.isPro};if("boolean"===typeof e.is_pro)return{isPro:e.is_pro};const n=null===(t=e.entitlements)||void 0===t?void 0:t.pro;return n&&"boolean"===typeof n.active?{isPro:n.active}:null!==n&&void 0!==n&&n.active?{isPro:!0}:null}(await e.json());return t||((0,s.wR)("[RevenueCat] subscription-status unexpected payload"),null)}catch(u){return(0,s.wR)("[RevenueCat] subscription-status error:",(null===u||void 0===u?void 0:u.message)||u),null}}async function U(){return T()?L((async()=>{if(!await R())return null;try{const e=B(),{customerInfo:t}=await l(e.getCustomerInfo(),p,"RevenueCat.getCustomerInfo");return t}catch(e){return"TIMEOUT"===(null===e||void 0===e?void 0:e.code)?(0,s.wR)("[RevenueCat] getCustomerInfo timeout"):(0,s.gv)("[RevenueCat] getCustomerInfo error:",e),null}})):null}function W(e){var t;if(!e||"object"!==typeof e)return null;const n=e.current;if(null!=n)return n;const r=e.all;if(!r||"object"!==typeof r)return null;const o=null!==(t=r.default)&&void 0!==t?t:r.default;if(null!=o)return o;for(const i of Object.values(r))if((0,a.XH)(i).length>0)return i;return null}async function q(){var e;const t=B(),n=await l(t.getOfferings(),d,"RevenueCat.getOfferings");if(!n||"object"!==typeof n)return{offerings:null,loadFailed:!1,reason:"empty_response"};const r=null!==(e=n.offerings)&&void 0!==e?e:n,o=W(r),i=(0,a.XH)(o);return(0,a.Ym)()&&(0,a.eH)("[RevenueCat] getOfferings",o,i),{offerings:r,loadFailed:!1,reason:null}}function G(){return function(){var e;return!(null===(e=b)||void 0===e||!e.offerings||!b.fetchedAt)&&Date.now()-b.fetchedAt0&&void 0!==arguments[0]?arguments[0]:{};if(!T())return{offerings:null,loadFailed:!1,reason:"web"};if(!e.forceRefresh){const e=G();if(e)return e}if(k){if(!e.forceRefresh)return k;await k.catch((()=>{}))}const t=L((async()=>{if(!await R())return Z("RevenueCat.getOfferings"),{offerings:null,loadFailed:!0,reason:"not_ready"};if(!e.forceRefresh){const e=G();if(e)return e}return async function(){const e=m.length+1;let t={offerings:null,loadFailed:!0,reason:"timeout"};for(let r=0;r{k===t&&(k=null)})),t}async function $(e){var t,n,r,o;if(!await R())return null;const i=(0,a.k7)(e),s=null!==(t=null!==(n=null===e||void 0===e||null===(r=e.product)||void 0===r?void 0:r.priceString)&&void 0!==n?n:null===e||void 0===e||null===(o=e.product)||void 0===o?void 0:o.price)&&void 0!==t?t:null;(0,c.J)("begin_checkout",{plan:i||"unknown",price:null!=s?String(s):"",currency:"PLN"});try{var l;const t=await L((async()=>{const t=B(),n=await t.purchasePackage({aPackage:e});return O(),n})),n=null!==(l=null===t||void 0===t?void 0:t.customerInfo)&&void 0!==l?l:t;return ne(n)&&((0,c.J)("purchase",{plan:i||"unknown",price:null!=s?String(s):"",currency:"PLN"}),(0,c.J)("subscribe",{plan:i||"unknown",price:null!=s?String(s):"",currency:"PLN"})),t}catch(u){const e="PURCHASE_CANCELLED"===(null===u||void 0===u?void 0:u.code)||!0===(null===u||void 0===u?void 0:u.userCancelled);throw(0,c.J)("checkout_abandoned",{plan:i||"unknown",reason:e?"cancelled":(null===u||void 0===u?void 0:u.message)||"error"}),u}}async function X(){if(!await R())return null;try{const e=B(),{customerInfo:t}=await e.restorePurchases();return ne(t)&&(0,c.J)("purchase_restored",{}),t}catch(e){return(0,s.gv)("[RevenueCat] restorePurchases error:",e),null}}async function J(){if(!T())return;const e=B();await e.showManageSubscriptions()}function Q(e){C.add(e)}function ee(e){C.delete(e)}function te(e){return Boolean(arguments.length>1&&void 0!==arguments[1]&&arguments[1])||ne(e)}function ne(e){var t,n;if(!e)return!1;const r=null!==(t=null===e||void 0===e||null===(n=e.entitlements)||void 0===n?void 0:n.active)&&void 0!==t?t:{};return S.some((e=>Boolean(r[e])))}},45703:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(1413),o=n(66653),i=n(75858),a=n(10757);async function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,r.Z)((0,r.Z)({},t),{},{ts:Date.now()});try{a.ZP.event((0,r.Z)({category:"monetization",action:e},Object.fromEntries(Object.entries(n).map((e=>{let[t,n]=e;return[t,String(n)]})))))}catch(s){}if(o.dV.isNativePlatform())try{await i.z.logEvent({name:e.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,""),params:n})}catch(l){console.warn("[monetizationAnalytics]",e,(null===l||void 0===l?void 0:l.message)||l)}}},33824:(e,t,n)=>{"use strict";n.d(t,{O$:()=>h,Ql:()=>s,Wv:()=>f,iH:()=>g,zl:()=>m});var r=n(55294),o=n(11118);const i=5,a=3,s="AI_LIMIT_REACHED",l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return"".concat(e.getFullYear(),"-").concat(String(e.getMonth()+1).padStart(2,"0"))},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return"".concat(e.getFullYear(),"-").concat(String(e.getMonth()+1).padStart(2,"0"),"-").concat(String(e.getDate()).padStart(2,"0"))},u=e=>"ai_scan_usage_".concat(e);function d(e,t){try{localStorage.setItem(u(e),JSON.stringify(t))}catch(n){}}function p(e){return function(e){const t=l(),n=c();let r=0,o=0;return e&&(r=e.month===t&&e.freeUsed||0,o=e.rewardDay===n&&e.rewardedUsed||0),{month:t,rewardDay:n,freeUsed:r,freeTotal:i,rewardedUsed:o,rewardedTotal:a,local:!0}}(function(e){try{const t=localStorage.getItem(u(e));return t?JSON.parse(t):null}catch(t){return null}}(e))}async function h(e){if(null===e||void 0===e||!e.userId||null===e||void 0===e||!e.token)return{usage:p(null===e||void 0===e?void 0:e.userId),server:!1};try{var t;const n=null===(t=(await r.Z.get("".concat((0,o.k)(),"scan-usage/").concat(e.userId),{headers:{Authorization:"Bearer ".concat(e.token)},timeout:8e3})).data)||void 0===t?void 0:t.usage;if(n)return n.local=!1,d(e.userId,n),{usage:n,server:!0}}catch(n){}return{usage:p(e.userId),server:!1}}async function f(e){if(null!==e&&void 0!==e&&e.userId&&null!==e&&void 0!==e&&e.token)try{var t;const n=await r.Z.post("".concat((0,o.k)(),"scan-usage/reward"),{},{headers:{Authorization:"Bearer ".concat(e.token)},timeout:8e3});if(null!==(t=n.data)&&void 0!==t&&t.usage)return n.data.usage.local=!1,d(e.userId,n.data.usage),n.data.usage}catch(i){}const n=p(null===e||void 0===e?void 0:e.userId);return n.rewardedUsed=Math.min(n.rewardedTotal,n.rewardedUsed+1),d(null===e||void 0===e?void 0:e.userId,n),n}function g(e){const t=p(e);return t.freeUsed=Math.min(t.freeTotal,t.freeUsed+1),d(e,t),t}function m(e){return null!==e&&void 0!==e&&e.token?{Authorization:"Bearer ".concat(e.token)}:{}}},78814:(e,t,n)=>{"use strict";n.d(t,{NQ:()=>i,Tt:()=>r,sr:()=>o});const r="#FF8042",o="#0088FE",i="#00C49F"},88938:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(66653),o=n(23614),i=n(77018);function a(){return r.dV.isNativePlatform()?Promise.all([o.TQ.hideBanner().catch((()=>{})),o.TQ.removeBanner().catch((()=>{})),i.J.unmountHomeAdSupportStrip().catch((()=>{}))]):Promise.resolve()}},76483:(e,t,n)=>{"use strict";n.d(t,{XH:()=>u,Ym:()=>l,ZL:()=>p,eH:()=>h,k7:()=>c,mI:()=>d});var r=n(41290);const o=/annual|year|rocz|yearly|\$rc_annual/i,i=/month|mies|\$rc_monthly/i,a=/family|rodzin|familia/i,s={2:"LIFETIME",3:"ANNUAL",4:"SIX_MONTH",5:"THREE_MONTH",6:"TWO_MONTH",7:"MONTHLY",8:"WEEKLY"};function l(){return!0}function c(e){var t;let n=null===e||void 0===e?void 0:e.packageType;if("number"===typeof n&&s[n])return s[n];if("string"===typeof n){const e=n.trim().toUpperCase();if("ANNUAL"===e||"MONTHLY"===e)return e;if("FAMILY"===e)return"FAMILY";if(o.test(n))return"ANNUAL";if(i.test(n))return"MONTHLY";if(a.test(n))return"FAMILY"}const r=[null===e||void 0===e?void 0:e.identifier,null===e||void 0===e||null===(t=e.product)||void 0===t?void 0:t.identifier].filter(Boolean).join(" ");return o.test(r)?"ANNUAL":i.test(r)?"MONTHLY":a.test(r)?"FAMILY":n}function u(e){if(!e||"object"!==typeof e)return[];const t=Array.isArray(e.availablePackages)?e.availablePackages:[],n=[e.annual,e.monthly].filter(Boolean),r=[e.sixMonth,e.threeMonth,e.twoMonth,e.weekly,e.lifetime].filter(Boolean),o=new Set,i=[],a=e=>{var t,n;const r=null!==(t=null===e||void 0===e?void 0:e.identifier)&&void 0!==t?t:null===e||void 0===e||null===(n=e.product)||void 0===n?void 0:n.identifier;e&&r&&!o.has(r)&&(o.add(r),i.push(e))};return t.forEach(a),n.forEach(a),0===i.length&&r.forEach(a),i}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!Array.isArray(e)||0===e.length)return[];const t=e.find((e=>"MONTHLY"===c(e))),n=e.find((e=>"ANNUAL"===c(e))),r=e.find((e=>"FAMILY"===c(e))),o=[];return n&&o.push(n),t&&o.push(t),r&&o.push(r),o.length>0?o:e.slice(0,2)}function p(){const e=d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);return e.find((e=>"ANNUAL"===c(e)))||e[0]||null}function h(e,t,n){var o,i,a;(0,r.OT)("[".concat(e,"] RC offering:"),{identifier:null!==(o=null===t||void 0===t?void 0:t.identifier)&&void 0!==o?o:null,availablePackagesCount:null!==(i=null===t||void 0===t||null===(a=t.availablePackages)||void 0===a?void 0:a.length)&&void 0!==i?i:0,hasMonthlySlot:Boolean(null===t||void 0===t?void 0:t.monthly),hasAnnualSlot:Boolean(null===t||void 0===t?void 0:t.annual),resolvedCount:n.length,resolvedIds:n.map((e=>e.identifier)),packageTypes:n.map((e=>({id:e.identifier,type:e.packageType,normalized:c(e)})))})}},41290:(e,t,n)=>{"use strict";n.d(t,{_w:()=>u,gv:()=>h,OT:()=>d,wR:()=>p,IT:()=>s});var r=n(66653);const o=(0,r.fo)("DevNativeLog",{web:()=>({async print(){}})});var i=n(76483);const a="RevenueCat";function s(){return(0,i.Ym)()||!1}function l(e){return e.map((e=>{if("string"===typeof e)return e;if(e instanceof Error)return e.message||String(e);try{return JSON.stringify(e)}catch(t){return String(e)}})).join(" ")}function c(e,t){r.dV.isNativePlatform()&&(0,i.Ym)()&&o.print({level:e,tag:a,message:t}).catch((()=>{}))}function u(e){const t=String(null!==e&&void 0!==e?e:"");console.log("[".concat(a,"] ").concat(t)),r.dV.isNativePlatform()&&o.print({level:"log",tag:a,message:t}).catch((()=>{}))}function d(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{const n=localStorage.getItem(e);return null==n?t:JSON.parse(n)}catch(n){try{localStorage.removeItem(e)}catch(r){}return t}}n.d(t,{i:()=>r})},77018:(e,t,n)=>{"use strict";n.d(t,{J:()=>o,_:()=>i});var r=n(66653);const o=(0,r.fo)("HomeAdSupportStrip",{web:()=>({async mountHomeAdSupportStrip(){},async updateHomeAdSupportStripLayout(){},async unmountHomeAdSupportStrip(){}})}),i=(0,r.fo)("NativeMealsAd",{web:()=>({loadNativeAd:async()=>({headline:"",body:"",callToAction:"",advertiser:"",iconBase64:null}),presentNativeAd:async()=>({mode:"web_noop"}),mountNativeAd:async()=>({}),updateNativeAdLayout:async()=>({}),unmountNativeAd:async()=>({})})})},94410:(e,t,n)=>{"use strict";var r;n.d(t,{X:()=>r}),function(e){e.NOT_REQUIRED="NOT_REQUIRED",e.OBTAINED="OBTAINED",e.REQUIRED="REQUIRED",e.UNKNOWN="UNKNOWN"}(r||(r={}))},23614:(e,t,n)=>{"use strict";n.d(t,{TQ:()=>h,Xm:()=>p.X,md:()=>s,ZW:()=>c});var r,o,i,a,s,l,c,u=n(66653);!function(e){e.General="General",e.ParentalGuidance="ParentalGuidance",e.Teen="Teen",e.MatureAudience="MatureAudience"}(r||(r={})),function(e){e.SizeChanged="bannerAdSizeChanged",e.Loaded="bannerAdLoaded",e.FailedToLoad="bannerAdFailedToLoad",e.Opened="bannerAdOpened",e.Closed="bannerAdClosed",e.AdImpression="bannerAdImpression"}(o||(o={})),function(e){e.TOP_CENTER="TOP_CENTER",e.CENTER="CENTER",e.BOTTOM_CENTER="BOTTOM_CENTER"}(i||(i={})),function(e){e.BANNER="BANNER",e.FULL_BANNER="FULL_BANNER",e.LARGE_BANNER="LARGE_BANNER",e.MEDIUM_RECTANGLE="MEDIUM_RECTANGLE",e.LEADERBOARD="LEADERBOARD",e.ADAPTIVE_BANNER="ADAPTIVE_BANNER",e.SMART_BANNER="SMART_BANNER"}(a||(a={})),function(e){e.Loaded="interstitialAdLoaded",e.FailedToLoad="interstitialAdFailedToLoad",e.Showed="interstitialAdShowed",e.FailedToShow="interstitialAdFailedToShow",e.Dismissed="interstitialAdDismissed"}(s||(s={})),function(e){e.Loaded="onRewardedInterstitialAdLoaded",e.FailedToLoad="onRewardedInterstitialAdFailedToLoad",e.Showed="onRewardedInterstitialAdShowed",e.FailedToShow="onRewardedInterstitialAdFailedToShow",e.Dismissed="onRewardedInterstitialAdDismissed",e.Rewarded="onRewardedInterstitialAdReward"}(l||(l={})),function(e){e.Loaded="onRewardedVideoAdLoaded",e.FailedToLoad="onRewardedVideoAdFailedToLoad",e.Showed="onRewardedVideoAdShowed",e.FailedToShow="onRewardedVideoAdFailedToShow",e.Dismissed="onRewardedVideoAdDismissed",e.Rewarded="onRewardedVideoAdReward"}(c||(c={}));var d,p=n(94410);!function(e){e[e.DISABLED=0]="DISABLED",e[e.EEA=1]="EEA",e[e.NOT_EEA=2]="NOT_EEA"}(d||(d={}));const h=(0,u.fo)("AdMob",{web:()=>n.e(539).then(n.bind(n,13539)).then((e=>new e.AdMobWeb))})},75858:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});const r=(0,n(66653).fo)("FirebaseAnalytics",{web:()=>n.e(165).then(n.bind(n,52165)).then((e=>new e.FirebaseAnalyticsWeb))})},66653:(e,t,n)=>{"use strict";n.d(t,{Uw:()=>c,dV:()=>s,fo:()=>l});const r=(e=>e.CapacitorPlatforms=(e=>{const t=new Map;t.set("web",{name:"web"});const n=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t};return n.addPlatform=(e,t)=>{n.platforms.set(e,t)},n.setPlatform=e=>{n.platforms.has(e)&&(n.currentPlatform=n.platforms.get(e))},n})(e))("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});r.addPlatform,r.setPlatform;var o;!function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"}(o||(o={}));class i extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.data=n}}const a=e=>{var t,n,r,a,s;const l=e.CapacitorCustomPlatform||null,c=e.Capacitor||{},u=c.Plugins=c.Plugins||{},d=e.CapacitorPlatforms,p=(null===(t=null===d||void 0===d?void 0:d.currentPlatform)||void 0===t?void 0:t.getPlatform)||(()=>null!==l?l.name:(e=>{var t,n;return(null===e||void 0===e?void 0:e.androidBridge)?"android":(null===(n=null===(t=null===e||void 0===e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===n?void 0:n.bridge)?"ios":"web"})(e)),h=(null===(n=null===d||void 0===d?void 0:d.currentPlatform)||void 0===n?void 0:n.isNativePlatform)||(()=>"web"!==p()),f=(null===(r=null===d||void 0===d?void 0:d.currentPlatform)||void 0===r?void 0:r.isPluginAvailable)||(e=>{const t=m.get(e);return!!(null===t||void 0===t?void 0:t.platforms.has(p()))||!!g(e)}),g=(null===(a=null===d||void 0===d?void 0:d.currentPlatform)||void 0===a?void 0:a.getPluginHeader)||(e=>{var t;return null===(t=c.PluginHeaders)||void 0===t?void 0:t.find((t=>t.name===e))}),m=new Map,v=(null===(s=null===d||void 0===d?void 0:d.currentPlatform)||void 0===s?void 0:s.registerPlugin)||function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=m.get(e);if(n)return console.warn('Capacitor plugin "'.concat(e,'" already registered. Cannot register plugins twice.')),n.proxy;const r=p(),a=g(e);let s;const d=n=>{let u;const d=function(){for(var d=arguments.length,p=new Array(d),h=0;h(!s&&r in t?s=s="function"===typeof t[r]?await t[r]():t[r]:null!==l&&!s&&"web"in t&&(s=s="function"===typeof t.web?await t.web():t.web),s))().then((t=>{const s=((t,n)=>{var s,l;if(!a){if(t)return null===(l=t[n])||void 0===l?void 0:l.bind(t);throw new i('"'.concat(e,'" plugin is not implemented on ').concat(r),o.Unimplemented)}{const r=null===a||void 0===a?void 0:a.methods.find((e=>n===e.name));if(r)return"promise"===r.rtype?t=>c.nativePromise(e,n.toString(),t):(t,r)=>c.nativeCallback(e,n.toString(),t,r);if(t)return null===(s=t[n])||void 0===s?void 0:s.bind(t)}})(t,n);if(s){const e=s(...p);return u=null===e||void 0===e?void 0:e.remove,e}throw new i('"'.concat(e,".").concat(n,'()" is not implemented on ').concat(r),o.Unimplemented)}));return"addListener"===n&&(f.remove=async()=>u()),f};return d.toString=()=>"".concat(n.toString(),"() { [capacitor code] }"),Object.defineProperty(d,"name",{value:n,writable:!1,configurable:!1}),d},h=d("addListener"),f=d("removeListener"),v=(e,t)=>{const n=h({eventName:e},t),r=async()=>{const r=await n;f({eventName:e,callbackId:r},t)},o=new Promise((e=>n.then((()=>e({remove:r})))));return o.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await r()},o},y=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return a?v:h;case"removeListener":return f;default:return d(t)}}});return u[e]=y,m.set(e,{name:e,proxy:y,platforms:new Set([...Object.keys(t),...a?[r]:[]])}),y};return c.convertFileSrc||(c.convertFileSrc=e=>e),c.getPlatform=p,c.handleError=t=>e.console.error(t),c.isNativePlatform=h,c.isPluginAvailable=f,c.pluginMethodNoop=(e,t,n)=>Promise.reject("".concat(n,' does not have an implementation of "').concat(t,'".')),c.registerPlugin=v,c.Exception=i,c.DEBUG=!!c.DEBUG,c.isLoggingEnabled=!!c.isLoggingEnabled,c.platform=c.getPlatform(),c.isNative=c.isNativePlatform(),c},s=(e=>e.Capacitor=a(e))("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}),l=s.registerPlugin;s.Plugins;class c{constructor(e){this.listeners={},this.retainedEventArguments={},this.windowListeners={},e&&(console.warn('Capacitor WebPlugin "'.concat(e.name,'" config object was deprecated in v3 and will be removed in v4.')),this.config=e)}addListener(e,t){let n=!1;this.listeners[e]||(this.listeners[e]=[],n=!0),this.listeners[e].push(t);const r=this.windowListeners[e];r&&!r.registered&&this.addWindowListener(r),n&&this.sendRetainedArgumentsForEvent(e);return Promise.resolve({remove:async()=>this.removeListener(e,t)})}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t,n){const r=this.listeners[e];if(r)r.forEach((e=>e(t)));else if(n){let n=this.retainedEventArguments[e];n||(n=[]),n.push(t),this.retainedEventArguments[e]=n}}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"not implemented";return new s.Exception(e,o.Unimplemented)}unavailable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"not available";return new s.Exception(e,o.Unavailable)}async removeListener(e,t){const n=this.listeners[e];if(!n)return;const r=n.indexOf(t);this.listeners[e].splice(r,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){const t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach((t=>{this.notifyListeners(e,t)})))}}const u=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),d=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class p extends c{async getCookies(){const e=document.cookie,t={};return e.split(";").forEach((e=>{if(e.length<=0)return;let[n,r]=e.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");n=d(n).trim(),r=d(r).trim(),t[n]=r})),t}async setCookie(e){try{const t=u(e.key),n=u(e.value),r="; expires=".concat((e.expires||"").replace("expires=","")),o=(e.path||"/").replace("path=",""),i=null!=e.url&&e.url.length>0?"domain=".concat(e.url):"";document.cookie="".concat(t,"=").concat(n||"").concat(r,"; path=").concat(o,"; ").concat(i,";")}catch(t){return Promise.reject(t)}}async deleteCookie(e){try{document.cookie="".concat(e.key,"=; Max-Age=0")}catch(t){return Promise.reject(t)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,"=;expires=".concat((new Date).toUTCString(),";path=/"))}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}l("CapacitorCookies",{web:()=>new p});const h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Object.assign({method:e.method||"GET",headers:e.headers},t),r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object.keys(e);return Object.keys(e).map((e=>e.toLocaleLowerCase())).reduce(((n,r,o)=>(n[r]=e[t[o]],n)),{})}(e.headers),o=r["content-type"]||"";if("string"===typeof e.data)n.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const t=new URLSearchParams;for(const[n,r]of Object.entries(e.data||{}))t.set(n,r);n.body=t.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const t=new FormData;if(e.data instanceof FormData)e.data.forEach(((e,n)=>{t.append(n,e)}));else for(const n of Object.keys(e.data))t.append(n,e.data[n]);n.body=t;const r=new Headers(n.headers);r.delete("content-type"),n.headers=r}else(o.includes("application/json")||"object"===typeof e.data)&&(n.body=JSON.stringify(e.data));return n};class f extends c{async request(e){const t=h(e,e.webFetchExtra),n=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?Object.entries(e).reduce(((e,n)=>{const[r,o]=n;let i,a;return Array.isArray(o)?(a="",o.forEach((e=>{i=t?encodeURIComponent(e):e,a+="".concat(r,"=").concat(i,"&")})),a.slice(0,-1)):(i=t?encodeURIComponent(o):o,a="".concat(r,"=").concat(i)),"".concat(e,"&").concat(a)}),"").substr(1):null}(e.params,e.shouldEncodeUrlParams),r=n?"".concat(e.url,"?").concat(n):e.url,o=await fetch(r,t),i=o.headers.get("content-type")||"";let a,s,{responseType:l="text"}=o.ok?e:{};switch(i.includes("application/json")&&(l="json"),l){case"arraybuffer":case"blob":s=await o.blob(),a=await(async e=>new Promise(((t,n)=>{const r=new FileReader;r.onload=()=>{const e=r.result;t(e.indexOf(",")>=0?e.split(",")[1]:e)},r.onerror=e=>n(e),r.readAsDataURL(e)})))(s);break;case"json":a=await o.json();break;default:a=await o.text()}const c={};return o.headers.forEach(((e,t)=>{c[t]=e})),{data:a,headers:c,status:o.status,url:o.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}l("CapacitorHttp",{web:()=>new f})},8186:(e,t,n)=>{"use strict";var r,o;n.d(t,{k$:()=>o,y$:()=>r}),function(e){e.Heavy="HEAVY",e.Medium="MEDIUM",e.Light="LIGHT"}(r||(r={})),function(e){e.Success="SUCCESS",e.Warning="WARNING",e.Error="ERROR"}(o||(o={}))},3641:(e,t,n)=>{var r,o=n(42122).default,i=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))!u.call(e,o)&&o!==n&&a(e,o,{get:()=>t[o],enumerable:!(r=s(t,o))||r.enumerable});return e},p={};((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})(p,{default:()=>g}),e.exports=(r=p,d(a({},"__esModule",{value:!0}),r));var h=((e,t,n)=>(n=null!=e?i(c(e)):{},d(!t&&e&&e.__esModule?n:a(n,"default",{value:e,enumerable:!0}),e)))(n(72791)),f={accessibility:'',"accessibility-outline":'',"accessibility-sharp":'',add:'',"add-circle":'',"add-circle-outline":'',"add-circle-sharp":'',"add-outline":'',"add-sharp":'',airplane:'',"airplane-outline":'',"airplane-sharp":'',alarm:'',"alarm-outline":'',"alarm-sharp":'',albums:'',"albums-outline":'',"albums-sharp":'',alert:'',"alert-circle":'',"alert-circle-outline":'',"alert-circle-sharp":'',"alert-outline":'',"alert-sharp":'',"american-football":'',"american-football-outline":'',"american-football-sharp":'',analytics:'',"analytics-outline":'',"analytics-sharp":'',aperture:'',"aperture-outline":'',"aperture-sharp":'',apps:'',"apps-outline":'',"apps-sharp":'',archive:'',"archive-outline":'',"archive-sharp":'',"arrow-back":'',"arrow-back-circle":'',"arrow-back-circle-outline":'',"arrow-back-circle-sharp":'',"arrow-back-outline":'',"arrow-back-sharp":'',"arrow-down":'',"arrow-down-circle":'',"arrow-down-circle-outline":'',"arrow-down-circle-sharp":'',"arrow-down-outline":'',"arrow-down-sharp":'',"arrow-forward":'',"arrow-forward-circle":'',"arrow-forward-circle-outline":'',"arrow-forward-circle-sharp":'',"arrow-forward-outline":'',"arrow-forward-sharp":'',"arrow-redo":'',"arrow-redo-circle":'',"arrow-redo-circle-outline":'',"arrow-redo-circle-sharp":'',"arrow-redo-outline":'',"arrow-redo-sharp":'',"arrow-undo":'',"arrow-undo-circle":'',"arrow-undo-circle-outline":'',"arrow-undo-circle-sharp":'',"arrow-undo-outline":'',"arrow-undo-sharp":'',"arrow-up":'',"arrow-up-circle":'',"arrow-up-circle-outline":'',"arrow-up-circle-sharp":'',"arrow-up-outline":'',"arrow-up-sharp":'',at:'',"at-circle":'',"at-circle-outline":'',"at-circle-sharp":'',"at-outline":'',"at-sharp":'',attach:'',"attach-outline":'',"attach-sharp":'',backspace:'',"backspace-outline":'',"backspace-sharp":'',bag:'',"bag-add":'',"bag-add-outline":'',"bag-add-sharp":'',"bag-check":'',"bag-check-outline":'',"bag-check-sharp":'',"bag-handle":'',"bag-handle-outline":'',"bag-handle-sharp":'',"bag-outline":'',"bag-remove":'',"bag-remove-outline":'',"bag-remove-sharp":'',"bag-sharp":'',balloon:'',"balloon-outline":'',"balloon-sharp":'',ban:'',"ban-outline":'',"ban-sharp":'',bandage:'',"bandage-outline":'',"bandage-sharp":'',"bar-chart":'',"bar-chart-outline":'',"bar-chart-sharp":'',barbell:'',"barbell-outline":'',"barbell-sharp":'',barcode:'',"barcode-outline":'',"barcode-sharp":'',baseball:'',"baseball-outline":'',"baseball-sharp":'',basket:'',"basket-outline":'',"basket-sharp":'',basketball:'',"basketball-outline":'',"basketball-sharp":'',"battery-charging":'',"battery-charging-outline":'',"battery-charging-sharp":'',"battery-dead":'',"battery-dead-outline":'',"battery-dead-sharp":'',"battery-full":'',"battery-full-outline":'',"battery-full-sharp":'',"battery-half":'',"battery-half-outline":'',"battery-half-sharp":'',beaker:'',"beaker-outline":'',"beaker-sharp":'',bed:'',"bed-outline":'',"bed-sharp":'',beer:'',"beer-outline":'',"beer-sharp":'',bicycle:'',"bicycle-outline":'',"bicycle-sharp":'',bluetooth:'',"bluetooth-outline":'',"bluetooth-sharp":'',boat:'',"boat-outline":'',"boat-sharp":'',body:'',"body-outline":'',"body-sharp":'',bonfire:'',"bonfire-outline":'',"bonfire-sharp":'',book:'',"book-outline":'',"book-sharp":'',bookmark:'',"bookmark-outline":'',"bookmark-sharp":'',bookmarks:'',"bookmarks-outline":'',"bookmarks-sharp":'',"bowling-ball":'',"bowling-ball-outline":'',"bowling-ball-sharp":'',briefcase:'',"briefcase-outline":'',"briefcase-sharp":'',browsers:'',"browsers-outline":'',"browsers-sharp":'',brush:'',"brush-outline":'',"brush-sharp":'',bug:'',"bug-outline":'',"bug-sharp":'',build:'',"build-outline":'',"build-sharp":'',bulb:'',"bulb-outline":'',"bulb-sharp":'',bus:'',"bus-outline":'',"bus-sharp":'',business:'',"business-outline":'',"business-sharp":'',cafe:'',"cafe-outline":'',"cafe-sharp":'',calculator:'',"calculator-outline":'',"calculator-sharp":'',calendar:'',"calendar-clear":'',"calendar-clear-outline":'',"calendar-clear-sharp":'',"calendar-number":'',"calendar-number-outline":'',"calendar-number-sharp":'',"calendar-outline":'',"calendar-sharp":'',call:'',"call-outline":'',"call-sharp":'',camera:'',"camera-outline":'',"camera-reverse":'',"camera-reverse-outline":'',"camera-reverse-sharp":'',"camera-sharp":'',car:'',"car-outline":'',"car-sharp":'',"car-sport":'',"car-sport-outline":'',"car-sport-sharp":'',card:'',"card-outline":'',"card-sharp":'',"caret-back":'',"caret-back-circle":'',"caret-back-circle-outline":'',"caret-back-circle-sharp":'',"caret-back-outline":'',"caret-back-sharp":'',"caret-down":'',"caret-down-circle":'',"caret-down-circle-outline":'',"caret-down-circle-sharp":'',"caret-down-outline":'',"caret-down-sharp":'',"caret-forward":'',"caret-forward-circle":'',"caret-forward-circle-outline":'',"caret-forward-circle-sharp":'',"caret-forward-outline":'',"caret-forward-sharp":'',"caret-up":'',"caret-up-circle":'',"caret-up-circle-outline":'',"caret-up-circle-sharp":'',"caret-up-outline":'',"caret-up-sharp":'',cart:'',"cart-outline":'',"cart-sharp":'',cash:'',"cash-outline":'',"cash-sharp":'',cellular:'',"cellular-outline":'',"cellular-sharp":'',chatbox:'',"chatbox-ellipses":'',"chatbox-ellipses-outline":'',"chatbox-ellipses-sharp":'',"chatbox-outline":'',"chatbox-sharp":'',chatbubble:'',"chatbubble-ellipses":'',"chatbubble-ellipses-outline":'',"chatbubble-ellipses-sharp":'',"chatbubble-outline":'',"chatbubble-sharp":'',chatbubbles:'',"chatbubbles-outline":'',"chatbubbles-sharp":'',checkbox:'',"checkbox-outline":'',"checkbox-sharp":'',checkmark:'',"checkmark-circle":'',"checkmark-circle-outline":'',"checkmark-circle-sharp":'',"checkmark-done":'',"checkmark-done-circle":'',"checkmark-done-circle-outline":'',"checkmark-done-circle-sharp":'',"checkmark-done-outline":'',"checkmark-done-sharp":'',"checkmark-outline":'',"checkmark-sharp":'',"chevron-back":'',"chevron-back-circle":'',"chevron-back-circle-outline":'',"chevron-back-circle-sharp":'',"chevron-back-outline":'',"chevron-back-sharp":'',"chevron-collapse":'',"chevron-collapse-outline":'',"chevron-collapse-sharp":'',"chevron-down":'',"chevron-down-circle":'',"chevron-down-circle-outline":'',"chevron-down-circle-sharp":'',"chevron-down-outline":'',"chevron-down-sharp":'',"chevron-expand":'\n',"chevron-expand-outline":'\n',"chevron-expand-sharp":'\n',"chevron-forward":'',"chevron-forward-circle":'',"chevron-forward-circle-outline":'',"chevron-forward-circle-sharp":'',"chevron-forward-outline":'',"chevron-forward-sharp":'',"chevron-up":'',"chevron-up-circle":'',"chevron-up-circle-outline":'',"chevron-up-circle-sharp":'',"chevron-up-outline":'',"chevron-up-sharp":'',clipboard:'',"clipboard-outline":'',"clipboard-sharp":'',close:'',"close-circle":'',"close-circle-outline":'',"close-circle-sharp":'',"close-outline":'',"close-sharp":'',cloud:'',"cloud-circle":'',"cloud-circle-outline":'',"cloud-circle-sharp":'',"cloud-done":'',"cloud-done-outline":'',"cloud-done-sharp":'',"cloud-download":'',"cloud-download-outline":'',"cloud-download-sharp":'',"cloud-offline":'',"cloud-offline-outline":'',"cloud-offline-sharp":'',"cloud-outline":'',"cloud-sharp":'',"cloud-upload":'',"cloud-upload-outline":'',"cloud-upload-sharp":'',cloudy:'',"cloudy-night":'',"cloudy-night-outline":'',"cloudy-night-sharp":'',"cloudy-outline":'',"cloudy-sharp":'',code:'',"code-download":'',"code-download-outline":'',"code-download-sharp":'',"code-outline":'',"code-sharp":'',"code-slash":'',"code-slash-outline":'',"code-slash-sharp":'',"code-working":'',"code-working-outline":'',"code-working-sharp":'',cog:'',"cog-outline":'',"cog-sharp":'',"color-fill":'',"color-fill-outline":'',"color-fill-sharp":'',"color-filter":'',"color-filter-outline":'',"color-filter-sharp":'',"color-palette":'',"color-palette-outline":'',"color-palette-sharp":'',"color-wand":'\n\x3c!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\n\n\n\n\n\n\n',"color-wand-outline":'',"color-wand-sharp":'',compass:'',"compass-outline":'',"compass-sharp":'',construct:'',"construct-outline":'',"construct-sharp":'',contract:'',"contract-outline":'',"contract-sharp":'',contrast:'',"contrast-outline":'',"contrast-sharp":'',copy:'',"copy-outline":'',"copy-sharp":'',create:'',"create-outline":'',"create-sharp":'',crop:'',"crop-outline":'',"crop-sharp":'',cube:'',"cube-outline":'',"cube-sharp":'',cut:'',"cut-outline":'',"cut-sharp":'',desktop:'',"desktop-outline":'',"desktop-sharp":'',diamond:'',"diamond-outline":'',"diamond-sharp":'',dice:'',"dice-outline":'',"dice-sharp":'',disc:'',"disc-outline":'',"disc-sharp":'',document:'',"document-attach":'',"document-attach-outline":'',"document-attach-sharp":'',"document-lock":'',"document-lock-outline":'',"document-lock-sharp":'',"document-outline":'',"document-sharp":'',"document-text":'',"document-text-outline":'',"document-text-sharp":'',documents:'',"documents-outline":'',"documents-sharp":'',download:'',"download-outline":'',"download-sharp":'',duplicate:'',"duplicate-outline":'',"duplicate-sharp":'',ear:'',"ear-outline":'',"ear-sharp":'',earth:'',"earth-outline":'',"earth-sharp":'',easel:'',"easel-outline":'',"easel-sharp":'',egg:'',"egg-outline":'',"egg-sharp":'',ellipse:'',"ellipse-outline":'',"ellipse-sharp":'',"ellipsis-horizontal":'',"ellipsis-horizontal-circle":'',"ellipsis-horizontal-circle-outline":'',"ellipsis-horizontal-circle-sharp":'',"ellipsis-horizontal-outline":'',"ellipsis-horizontal-sharp":'',"ellipsis-vertical":'',"ellipsis-vertical-circle":'',"ellipsis-vertical-circle-outline":'',"ellipsis-vertical-circle-sharp":'',"ellipsis-vertical-outline":'',"ellipsis-vertical-sharp":'',enter:'',"enter-outline":'',"enter-sharp":'',exit:'',"exit-outline":'',"exit-sharp":'',expand:'',"expand-outline":'',"expand-sharp":'',"extension-puzzle":'',"extension-puzzle-outline":'',"extension-puzzle-sharp":'',eye:'',"eye-off":'',"eye-off-outline":'',"eye-off-sharp":'',"eye-outline":'',"eye-sharp":'',eyedrop:'',"eyedrop-outline":'',"eyedrop-sharp":'',"fast-food":'',"fast-food-outline":'',"fast-food-sharp":'',female:'',"female-outline":'',"female-sharp":'',"file-tray":'',"file-tray-full":'',"file-tray-full-outline":'',"file-tray-full-sharp":'',"file-tray-outline":'',"file-tray-sharp":'',"file-tray-stacked":'',"file-tray-stacked-outline":'',"file-tray-stacked-sharp":'',film:'',"film-outline":'',"film-sharp":'',filter:'',"filter-circle":'',"filter-circle-outline":'',"filter-circle-sharp":'',"filter-outline":'',"filter-sharp":'',"finger-print":'',"finger-print-outline":'',"finger-print-sharp":'',fish:'',"fish-outline":'',"fish-sharp":'',fitness:'',"fitness-outline":'',"fitness-sharp":'',flag:'',"flag-outline":'',"flag-sharp":'',flame:'',"flame-outline":'',"flame-sharp":'',flash:'',"flash-off":'',"flash-off-outline":'',"flash-off-sharp":'',"flash-outline":'',"flash-sharp":'',flashlight:'',"flashlight-outline":'',"flashlight-sharp":'',flask:'',"flask-outline":'',"flask-sharp":'',flower:'',"flower-outline":'',"flower-sharp":'',folder:'',"folder-open":'',"folder-open-outline":'',"folder-open-sharp":'',"folder-outline":'',"folder-sharp":'',football:'',"football-outline":'',"football-sharp":'',footsteps:'',"footsteps-outline":'',"footsteps-sharp":'',funnel:'',"funnel-outline":'',"funnel-sharp":'',"game-controller":'',"game-controller-outline":'',"game-controller-sharp":'',gift:'',"gift-outline":'',"gift-sharp":'',"git-branch":'',"git-branch-outline":'',"git-branch-sharp":'',"git-commit":'',"git-commit-outline":'',"git-commit-sharp":'',"git-compare":'',"git-compare-outline":'',"git-compare-sharp":'',"git-merge":'',"git-merge-outline":'',"git-merge-sharp":'',"git-network":'',"git-network-outline":'',"git-network-sharp":'',"git-pull-request":'',"git-pull-request-outline":'',"git-pull-request-sharp":'',glasses:'',"glasses-outline":'',"glasses-sharp":'',globe:'',"globe-outline":'',"globe-sharp":'',golf:'',"golf-outline":'',"golf-sharp":'',grid:'',"grid-outline":'',"grid-sharp":'',hammer:'',"hammer-outline":'',"hammer-sharp":'',"hand-left":'',"hand-left-outline":'',"hand-left-sharp":'',"hand-right":'',"hand-right-outline":'',"hand-right-sharp":'',happy:'',"happy-outline":'',"happy-sharp":'',"hardware-chip":'',"hardware-chip-outline":'',"hardware-chip-sharp":'',headset:'',"headset-outline":'',"headset-sharp":'',heart:'',"heart-circle":'',"heart-circle-outline":'',"heart-circle-sharp":'',"heart-dislike":'',"heart-dislike-circle":'',"heart-dislike-circle-outline":'',"heart-dislike-circle-sharp":'',"heart-dislike-outline":'',"heart-dislike-sharp":'',"heart-half":'',"heart-half-outline":'',"heart-half-sharp":'',"heart-outline":'',"heart-sharp":'',help:'',"help-buoy":'',"help-buoy-outline":'',"help-buoy-sharp":'',"help-circle":'',"help-circle-outline":'',"help-circle-sharp":'',"help-outline":'',"help-sharp":'',home:'',"home-outline":'',"home-sharp":'',hourglass:'',"hourglass-outline":'',"hourglass-sharp":'',"ice-cream":'',"ice-cream-outline":'',"ice-cream-sharp":'',"id-card":'',"id-card-outline":'',"id-card-sharp":'',image:'',"image-outline":'',"image-sharp":'',images:'',"images-outline":'',"images-sharp":'',infinite:'',"infinite-outline":'',"infinite-sharp":'',information:'',"information-circle":'',"information-circle-outline":'',"information-circle-sharp":'',"information-outline":'',"information-sharp":'',"invert-mode":'',"invert-mode-outline":'',"invert-mode-sharp":'',journal:'',"journal-outline":'',"journal-sharp":'',key:'',"key-outline":'',"key-sharp":'',keypad:'',"keypad-outline":'',"keypad-sharp":'',language:'',"language-outline":'',"language-sharp":'',laptop:'',"laptop-outline":'',"laptop-sharp":'',layers:'',"layers-outline":'',"layers-sharp":'',leaf:'',"leaf-outline":'',"leaf-sharp":'',library:'',"library-outline":'',"library-sharp":'',link:'',"link-outline":'',"link-sharp":'',list:'',"list-circle":'',"list-circle-outline":'',"list-circle-sharp":'',"list-outline":'',"list-sharp":'',locate:'',"locate-outline":'',"locate-sharp":'',location:'',"location-outline":'',"location-sharp":'',"lock-closed":'',"lock-closed-outline":'',"lock-closed-sharp":'',"lock-open":'',"lock-open-outline":'',"lock-open-sharp":'',"log-in":'',"log-in-outline":'',"log-in-sharp":'',"log-out":'',"log-out-outline":'',"log-out-sharp":'',"logo-alipay":'',"logo-amazon":'',"logo-amplify":'',"logo-android":'',"logo-angular":'',"logo-apple":'',"logo-apple-appstore":'',"logo-apple-ar":'',"logo-behance":'',"logo-bitbucket":'',"logo-bitcoin":'',"logo-buffer":'',"logo-capacitor":'',"logo-chrome":'',"logo-closed-captioning":'',"logo-codepen":'',"logo-css3":'',"logo-designernews":'',"logo-deviantart":'',"logo-discord":'',"logo-docker":'',"logo-dribbble":'',"logo-dropbox":'',"logo-edge":'',"logo-electron":'',"logo-euro":'',"logo-facebook":'',"logo-figma":'',"logo-firebase":'',"logo-firefox":'',"logo-flickr":'',"logo-foursquare":'',"logo-github":'',"logo-gitlab":'',"logo-google":'',"logo-google-playstore":'',"logo-hackernews":'',"logo-html5":'',"logo-instagram":'',"logo-ionic":'',"logo-ionitron":'',"logo-javascript":'',"logo-laravel":'',"logo-linkedin":'',"logo-markdown":'',"logo-mastodon":'',"logo-medium":'\n\x3c!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\n\t\n\n\n',"logo-microsoft":'',"logo-no-smoking":'',"logo-nodejs":'',"logo-npm":'',"logo-octocat":'',"logo-paypal":'',"logo-pinterest":'',"logo-playstation":'',"logo-pwa":'',"logo-python":'',"logo-react":'',"logo-reddit":'',"logo-rss":'',"logo-sass":'',"logo-skype":'',"logo-slack":'',"logo-snapchat":'',"logo-soundcloud":'',"logo-stackoverflow":'',"logo-steam":'',"logo-stencil":'',"logo-tableau":'',"logo-tiktok":'',"logo-tumblr":'',"logo-tux":'',"logo-twitch":'',"logo-twitter":'',"logo-usd":'',"logo-venmo":'',"logo-vercel":'',"logo-vimeo":'',"logo-vk":'',"logo-vue":'',"logo-web-component":'',"logo-wechat":'',"logo-whatsapp":'',"logo-windows":'',"logo-wordpress":'',"logo-xbox":'',"logo-xing":'',"logo-yahoo":'',"logo-yen":'',"logo-youtube":'',magnet:'',"magnet-outline":'',"magnet-sharp":'',mail:'',"mail-open":'',"mail-open-outline":'',"mail-open-sharp":'',"mail-outline":'',"mail-sharp":'',"mail-unread":'',"mail-unread-outline":'',"mail-unread-sharp":'',male:'',"male-female":'',"male-female-outline":'',"male-female-sharp":'',"male-outline":'',"male-sharp":'',man:'',"man-outline":'',"man-sharp":'',map:'',"map-outline":'',"map-sharp":'',medal:'',"medal-outline":'',"medal-sharp":'',medical:'',"medical-outline":'',"medical-sharp":'',medkit:'',"medkit-outline":'',"medkit-sharp":'',megaphone:'',"megaphone-outline":'',"megaphone-sharp":'',menu:'',"menu-outline":'',"menu-sharp":'',mic:'',"mic-circle":'',"mic-circle-outline":'',"mic-circle-sharp":'',"mic-off":'',"mic-off-circle":'',"mic-off-circle-outline":'',"mic-off-circle-sharp":'',"mic-off-outline":'',"mic-off-sharp":'',"mic-outline":'',"mic-sharp":'',moon:'',"moon-outline":'',"moon-sharp":'',move:'',"move-outline":'',"move-sharp":'',"musical-note":'',"musical-note-outline":'',"musical-note-sharp":'',"musical-notes":'',"musical-notes-outline":'',"musical-notes-sharp":'',navigate:'',"navigate-circle":'',"navigate-circle-outline":'',"navigate-circle-sharp":'',"navigate-outline":'',"navigate-sharp":'',newspaper:'',"newspaper-outline":'',"newspaper-sharp":'',notifications:'',"notifications-circle":'',"notifications-circle-outline":'',"notifications-circle-sharp":'',"notifications-off":'',"notifications-off-circle":'',"notifications-off-circle-outline":'',"notifications-off-circle-sharp":'',"notifications-off-outline":'',"notifications-off-sharp":'',"notifications-outline":'',"notifications-sharp":'',nuclear:'',"nuclear-outline":'',"nuclear-sharp":'',nutrition:'',"nutrition-outline":'',"nutrition-sharp":'',open:'',"open-outline":'',"open-sharp":'',options:'',"options-outline":'',"options-sharp":'',"paper-plane":'',"paper-plane-outline":'',"paper-plane-sharp":'',"partly-sunny":'',"partly-sunny-outline":'',"partly-sunny-sharp":'',pause:'',"pause-circle":'',"pause-circle-outline":'',"pause-circle-sharp":'',"pause-outline":'',"pause-sharp":'',paw:'',"paw-outline":'',"paw-sharp":'',pencil:'',"pencil-outline":'',"pencil-sharp":'',people:'',"people-circle":'',"people-circle-outline":'',"people-circle-sharp":'',"people-outline":'',"people-sharp":'',person:'',"person-add":'',"person-add-outline":'',"person-add-sharp":'',"person-circle":'',"person-circle-outline":'',"person-circle-sharp":'',"person-outline":'',"person-remove":'',"person-remove-outline":'',"person-remove-sharp":'',"person-sharp":'',"phone-landscape":'',"phone-landscape-outline":'',"phone-landscape-sharp":'',"phone-portrait":'',"phone-portrait-outline":'',"phone-portrait-sharp":'',"pie-chart":'',"pie-chart-outline":'',"pie-chart-sharp":'',pin:'',"pin-outline":'',"pin-sharp":'',pint:'',"pint-outline":'',"pint-sharp":'',pizza:'',"pizza-outline":'',"pizza-sharp":'',planet:'',"planet-outline":'',"planet-sharp":'',play:'',"play-back":'',"play-back-circle":'',"play-back-circle-outline":'',"play-back-circle-sharp":'',"play-back-outline":'',"play-back-sharp":'',"play-circle":'',"play-circle-outline":'',"play-circle-sharp":'',"play-forward":'',"play-forward-circle":'',"play-forward-circle-outline":'',"play-forward-circle-sharp":'',"play-forward-outline":'',"play-forward-sharp":'',"play-outline":'',"play-sharp":'',"play-skip-back":'',"play-skip-back-circle":'',"play-skip-back-circle-outline":'',"play-skip-back-circle-sharp":'',"play-skip-back-outline":'',"play-skip-back-sharp":'',"play-skip-forward":'',"play-skip-forward-circle":'',"play-skip-forward-circle-outline":'',"play-skip-forward-circle-sharp":'',"play-skip-forward-outline":'',"play-skip-forward-sharp":'',podium:'',"podium-outline":'',"podium-sharp":'',power:'',"power-outline":'',"power-sharp":'',pricetag:'',"pricetag-outline":'',"pricetag-sharp":'',pricetags:'',"pricetags-outline":'',"pricetags-sharp":'',print:'',"print-outline":'',"print-sharp":'',prism:'',"prism-outline":'',"prism-sharp":'',pulse:'',"pulse-outline":'',"pulse-sharp":'',push:'',"push-outline":'',"push-sharp":'',"qr-code":'',"qr-code-outline":'',"qr-code-sharp":'',radio:'',"radio-button-off":'',"radio-button-off-outline":'',"radio-button-off-sharp":'',"radio-button-on":'',"radio-button-on-outline":'',"radio-button-on-sharp":'',"radio-outline":'',"radio-sharp":'',rainy:'',"rainy-outline":'',"rainy-sharp":'',reader:'',"reader-outline":'',"reader-sharp":'',receipt:'',"receipt-outline":'',"receipt-sharp":'',recording:'',"recording-outline":'',"recording-sharp":'',refresh:'',"refresh-circle":'',"refresh-circle-outline":'',"refresh-circle-sharp":'',"refresh-outline":'',"refresh-sharp":'',reload:'',"reload-circle":'',"reload-circle-outline":'',"reload-circle-sharp":'',"reload-outline":'',"reload-sharp":'',remove:'',"remove-circle":'',"remove-circle-outline":'',"remove-circle-sharp":'',"remove-outline":'',"remove-sharp":'',"reorder-four":'',"reorder-four-outline":'',"reorder-four-sharp":'',"reorder-three":'',"reorder-three-outline":'',"reorder-three-sharp":'',"reorder-two":'',"reorder-two-outline":'',"reorder-two-sharp":'',repeat:'',"repeat-outline":'',"repeat-sharp":'',resize:'',"resize-outline":'',"resize-sharp":'',restaurant:'',"restaurant-outline":'',"restaurant-sharp":'',"return-down-back":'',"return-down-back-outline":'',"return-down-back-sharp":'',"return-down-forward":'',"return-down-forward-outline":'',"return-down-forward-sharp":'',"return-up-back":'',"return-up-back-outline":'',"return-up-back-sharp":'',"return-up-forward":'',"return-up-forward-outline":'',"return-up-forward-sharp":'',ribbon:'',"ribbon-outline":'',"ribbon-sharp":'',rocket:'',"rocket-outline":'',"rocket-sharp":'',rose:'',"rose-outline":'',"rose-sharp":'',sad:'',"sad-outline":'',"sad-sharp":'',save:'',"save-outline":'',"save-sharp":'',scale:'',"scale-outline":'',"scale-sharp":'',scan:'',"scan-circle":'',"scan-circle-outline":'',"scan-circle-sharp":'',"scan-outline":'',"scan-sharp":'',school:'',"school-outline":'',"school-sharp":'',search:'',"search-circle":'',"search-circle-outline":'',"search-circle-sharp":'',"search-outline":'',"search-sharp":'',send:'',"send-outline":'',"send-sharp":'',server:'',"server-outline":'',"server-sharp":'',settings:'',"settings-outline":'',"settings-sharp":'',shapes:'',"shapes-outline":'',"shapes-sharp":'',share:'',"share-outline":'',"share-sharp":'',"share-social":'',"share-social-outline":'',"share-social-sharp":'',shield:'',"shield-checkmark":'',"shield-checkmark-outline":'',"shield-checkmark-sharp":'',"shield-half":'',"shield-half-outline":'',"shield-half-sharp":'',"shield-outline":'',"shield-sharp":'',shirt:'',"shirt-outline":'',"shirt-sharp":'',shuffle:'',"shuffle-outline":'',"shuffle-sharp":'',skull:'',"skull-outline":'',"skull-sharp":'',snow:'',"snow-outline":'',"snow-sharp":'',sparkles:'',"sparkles-outline":'',"sparkles-sharp":'',speedometer:'',"speedometer-outline":'',"speedometer-sharp":'',square:'',"square-outline":'',"square-sharp":'',star:'',"star-half":'',"star-half-outline":'',"star-half-sharp":'',"star-outline":'',"star-sharp":'',"stats-chart":'',"stats-chart-outline":'',"stats-chart-sharp":'',stop:'',"stop-circle":'',"stop-circle-outline":'',"stop-circle-sharp":'',"stop-outline":'',"stop-sharp":'',stopwatch:'',"stopwatch-outline":'',"stopwatch-sharp":'',storefront:'',"storefront-outline":'',"storefront-sharp":'',subway:'',"subway-outline":'',"subway-sharp":'',sunny:'',"sunny-outline":'',"sunny-sharp":'',"swap-horizontal":'',"swap-horizontal-outline":'',"swap-horizontal-sharp":'',"swap-vertical":'',"swap-vertical-outline":'',"swap-vertical-sharp":'',sync:'',"sync-circle":'',"sync-circle-outline":'',"sync-circle-sharp":'',"sync-outline":'',"sync-sharp":'',"tablet-landscape":'',"tablet-landscape-outline":'',"tablet-landscape-sharp":'',"tablet-portrait":'',"tablet-portrait-outline":'',"tablet-portrait-sharp":'',telescope:'',"telescope-outline":'',"telescope-sharp":'',tennisball:'',"tennisball-outline":'',"tennisball-sharp":'',terminal:'',"terminal-outline":'',"terminal-sharp":'',text:'',"text-outline":'',"text-sharp":'',thermometer:'',"thermometer-outline":'',"thermometer-sharp":'',"thumbs-down":'',"thumbs-down-outline":'',"thumbs-down-sharp":'',"thumbs-up":'',"thumbs-up-outline":'',"thumbs-up-sharp":'',thunderstorm:'',"thunderstorm-outline":'',"thunderstorm-sharp":'',ticket:'',"ticket-outline":'',"ticket-sharp":'',time:'',"time-outline":'',"time-sharp":'',timer:'',"timer-outline":'',"timer-sharp":'',today:'',"today-outline":'',"today-sharp":'',toggle:'',"toggle-outline":'',"toggle-sharp":'',"trail-sign":'',"trail-sign-outline":'',"trail-sign-sharp":'',train:'',"train-outline":'',"train-sharp":'',transgender:'',"transgender-outline":'',"transgender-sharp":'',trash:'',"trash-bin":'',"trash-bin-outline":'',"trash-bin-sharp":'',"trash-outline":'',"trash-sharp":'',"trending-down":'',"trending-down-outline":'',"trending-down-sharp":'',"trending-up":'',"trending-up-outline":'',"trending-up-sharp":'',triangle:'',"triangle-outline":'',"triangle-sharp":'',trophy:'',"trophy-outline":'',"trophy-sharp":'',tv:'',"tv-outline":'',"tv-sharp":'',umbrella:'',"umbrella-outline":'',"umbrella-sharp":'',unlink:'',"unlink-outline":'',"unlink-sharp":'',videocam:'',"videocam-off":'',"videocam-off-outline":'',"videocam-off-sharp":'',"videocam-outline":'',"videocam-sharp":'',"volume-high":'',"volume-high-outline":'',"volume-high-sharp":'',"volume-low":'',"volume-low-outline":'',"volume-low-sharp":'',"volume-medium":'',"volume-medium-outline":'',"volume-medium-sharp":'',"volume-mute":'',"volume-mute-outline":'',"volume-mute-sharp":'',"volume-off":'',"volume-off-outline":'',"volume-off-sharp":'',walk:'',"walk-outline":'',"walk-sharp":'',wallet:'',"wallet-outline":'',"wallet-sharp":'',warning:'',"warning-outline":'',"warning-sharp":'',watch:'',"watch-outline":'',"watch-sharp":'',water:'',"water-outline":'',"water-sharp":'',wifi:'',"wifi-outline":'',"wifi-sharp":'',wine:'',"wine-outline":'',"wine-sharp":'',woman:'',"woman-outline":'',"woman-sharp":''},g=e=>h.default.createElement("span",o(o({},e),{},{style:o({display:"inline-block",height:e.size?"small"==e.size?".5em":"2em":"1em",width:e.size?"small"==e.size?".5em":"2em":"1em",visibility:"inherit",fill:"currentcolor",boxSizing:"content-box",stroke:"currentcolor"},e.style),dangerouslySetInnerHTML:{__html:f[e.name]}}))},58278:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;td,J0:()=>s,LX:()=>M,RQ:()=>L,WK:()=>B,X3:()=>I,Zn:()=>P,aU:()=>o,cP:()=>p,cm:()=>E,fp:()=>g,lX:()=>a,pC:()=>O}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return u("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?p(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:p=!1}=a,h=l.history,f=o.Pop,g=null,m=v();function v(){return(h.state||{idx:null}).idx}function y(){f=o.Pop;let e=v(),t=null==e?null:e-m;m=e,g&&g({action:f,location:x.location,delta:t})}function w(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==m&&(m=0,h.replaceState(r({},h.state,{idx:m}),""));let x={get action(){return f},get location(){return e(l,h)},listen(e){if(g)throw new Error("A history only accepts one active listener");return l.addEventListener(i,y),g=e,()=>{l.removeEventListener(i,y),g=null}},createHref:e=>t(l,e),createURL:w,encodeLocation(e){let t=w(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=o.Push;let r=u(x.location,e,t);n&&n(r,e),m=v()+1;let i=c(r,m),a=x.createHref(r);try{h.pushState(i,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}p&&g&&g({action:f,location:x.location,delta:1})},replace:function(e,t){f=o.Replace;let r=u(x.location,e,t);n&&n(r,e),m=v();let i=c(r,m),a=x.createHref(r);h.replaceState(i,"",a),p&&g&&g({action:f,location:x.location,delta:0})},go:e=>h.go(e)};return x}var f;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(f||(f={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,n){void 0===n&&(n="/");let r=P(("string"===typeof t?p(t):t).pathname||"/",n);if(null==r)return null;let o=m(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let a=0;null==i&&a{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=L([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),m(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:A(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of v(e.path))o(e,t,r);else o(e,t)})),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=v(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,w=3,x=2,b=1,k=10,j=-2,C=e=>"*"===e;function A(e,t){let n=e.split("/"),r=n.length;return n.some(C)&&(r+=j),t&&(r+=x),n.filter((e=>!C(e))).reduce(((e,t)=>e+(y.test(t)?w:""===t?b:k)),r)}function S(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const c=s[n];return e[r]=o&&!c?void 0:function(e,t){try{return decodeURIComponent(e)}catch(n){return l(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c||"",r),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function N(e){try{return decodeURI(e)}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function P(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function _(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function z(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function E(e,t){let n=z(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function O(e,t,n,o){let i;void 0===o&&(o=!1),"string"===typeof e?i=p(e):(i=r({},e),s(!i.pathname||!i.pathname.includes("?"),_("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),_("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),_("#","search","hash",i)));let a,l=""===e||""===i.pathname,c=l?"/":i.pathname;if(null==c)a=n;else if(o){let e=0===t.length?[]:t[t.length-1].replace(/^\//,"").split("/");if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e.pop();i.pathname=t.join("/")}a="/"+e.join("/")}else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"===typeof e?p(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:D(r),hash:Z(o)}}(i,a),d=c&&"/"!==c&&c.endsWith("/"),h=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!h||(u.pathname+="/"),u}const L=e=>e.join("/").replace(/\/\/+/g,"/"),T=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Z=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class I extends Error{}function B(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const R=["post","put","patch","delete"],V=(new Set(R),["get",...R]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},22924:(e,t,n)=>{"use strict";n.d(t,{dQ:()=>g,Mw:()=>w});var r,o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(e){e.UNKNOWN_ERROR="0",e.PURCHASE_CANCELLED_ERROR="1",e.STORE_PROBLEM_ERROR="2",e.PURCHASE_NOT_ALLOWED_ERROR="3",e.PURCHASE_INVALID_ERROR="4",e.PRODUCT_NOT_AVAILABLE_FOR_PURCHASE_ERROR="5",e.PRODUCT_ALREADY_PURCHASED_ERROR="6",e.RECEIPT_ALREADY_IN_USE_ERROR="7",e.INVALID_RECEIPT_ERROR="8",e.MISSING_RECEIPT_FILE_ERROR="9",e.NETWORK_ERROR="10",e.INVALID_CREDENTIALS_ERROR="11",e.UNEXPECTED_BACKEND_RESPONSE_ERROR="12",e.RECEIPT_IN_USE_BY_OTHER_SUBSCRIBER_ERROR="13",e.INVALID_APP_USER_ID_ERROR="14",e.OPERATION_ALREADY_IN_PROGRESS_ERROR="15",e.UNKNOWN_BACKEND_ERROR="16",e.INVALID_APPLE_SUBSCRIPTION_KEY_ERROR="17",e.INELIGIBLE_ERROR="18",e.INSUFFICIENT_PERMISSIONS_ERROR="19",e.PAYMENT_PENDING_ERROR="20",e.INVALID_SUBSCRIBER_ATTRIBUTES_ERROR="21",e.LOG_OUT_ANONYMOUS_USER_ERROR="22",e.CONFIGURATION_ERROR="23",e.UNSUPPORTED_ERROR="24",e.EMPTY_SUBSCRIBER_ATTRIBUTES_ERROR="25",e.PRODUCT_DISCOUNT_MISSING_IDENTIFIER_ERROR="26",e.PRODUCT_DISCOUNT_MISSING_SUBSCRIPTION_GROUP_IDENTIFIER_ERROR="28",e.CUSTOMER_INFO_ERROR="29",e.SYSTEM_INFO_ERROR="30",e.BEGIN_REFUND_REQUEST_ERROR="31",e.PRODUCT_REQUEST_TIMED_OUT_ERROR="32",e.API_ENDPOINT_BLOCKED="33",e.INVALID_PROMOTIONAL_OFFER_ERROR="34",e.OFFLINE_CONNECTION_ERROR="35"}(r||(r={}));var i,a,s,l,c,u,d,p,h,f,g,m,v,y,w,x,b,k,j;(function(e){function t(){var n=e.call(this,"There is no singleton instance. Make sure you configure Purchases before trying to get the default instance. More info here: https://errors.rev.cat/configuring-sdk")||this;return Object.setPrototypeOf(n,t.prototype),n}o(t,e)})(Error),function(e){function t(){var n=e.call(this,"This method is not available in the current platform.")||this;return Object.setPrototypeOf(n,t.prototype),n}o(t,e)}(Error);!function(e){e.UNKNOWN="UNKNOWN",e.CUSTOM="CUSTOM",e.LIFETIME="LIFETIME",e.ANNUAL="ANNUAL",e.SIX_MONTH="SIX_MONTH",e.THREE_MONTH="THREE_MONTH",e.TWO_MONTH="TWO_MONTH",e.MONTHLY="MONTHLY",e.WEEKLY="WEEKLY"}(i||(i={})),function(e){e[e.INTRO_ELIGIBILITY_STATUS_UNKNOWN=0]="INTRO_ELIGIBILITY_STATUS_UNKNOWN",e[e.INTRO_ELIGIBILITY_STATUS_INELIGIBLE=1]="INTRO_ELIGIBILITY_STATUS_INELIGIBLE",e[e.INTRO_ELIGIBILITY_STATUS_ELIGIBLE=2]="INTRO_ELIGIBILITY_STATUS_ELIGIBLE",e[e.INTRO_ELIGIBILITY_STATUS_NO_INTRO_OFFER_EXISTS=3]="INTRO_ELIGIBILITY_STATUS_NO_INTRO_OFFER_EXISTS"}(a||(a={})),function(e){e.NON_SUBSCRIPTION="NON_SUBSCRIPTION",e.SUBSCRIPTION="SUBSCRIPTION",e.UNKNOWN="UNKNOWN"}(s||(s={})),function(e){e.CONSUMABLE="CONSUMABLE",e.NON_CONSUMABLE="NON_CONSUMABLE",e.NON_RENEWABLE_SUBSCRIPTION="NON_RENEWABLE_SUBSCRIPTION",e.AUTO_RENEWABLE_SUBSCRIPTION="AUTO_RENEWABLE_SUBSCRIPTION",e.PREPAID_SUBSCRIPTION="PREPAID_SUBSCRIPTION",e.UNKNOWN="UNKNOWN"}(l||(l={})),function(e){e[e.UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY=0]="UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY",e[e.IMMEDIATE_WITH_TIME_PRORATION=1]="IMMEDIATE_WITH_TIME_PRORATION",e[e.IMMEDIATE_AND_CHARGE_PRORATED_PRICE=2]="IMMEDIATE_AND_CHARGE_PRORATED_PRICE",e[e.IMMEDIATE_WITHOUT_PRORATION=3]="IMMEDIATE_WITHOUT_PRORATION",e[e.DEFERRED=6]="DEFERRED",e[e.IMMEDIATE_AND_CHARGE_FULL_PRICE=5]="IMMEDIATE_AND_CHARGE_FULL_PRICE"}(c||(c={})),function(e){e[e.INFINITE_RECURRING=1]="INFINITE_RECURRING",e[e.FINITE_RECURRING=2]="FINITE_RECURRING",e[e.NON_RECURRING=3]="NON_RECURRING"}(u||(u={})),function(e){e.FREE_TRIAL="FREE_TRIAL",e.SINGLE_PAYMENT="SINGLE_PAYMENT",e.DISCOUNTED_RECURRING_PAYMENT="DISCOUNTED_RECURRING_PAYMENT"}(d||(d={})),function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR",e.UNKNOWN="UNKNOWN"}(p||(p={})),function(e){e.INAPP="inapp",e.SUBS="subs"}(h||(h={})),function(e){e[e.SUBSCRIPTIONS=0]="SUBSCRIPTIONS",e[e.SUBSCRIPTIONS_UPDATE=1]="SUBSCRIPTIONS_UPDATE",e[e.IN_APP_ITEMS_ON_VR=2]="IN_APP_ITEMS_ON_VR",e[e.SUBSCRIPTIONS_ON_VR=3]="SUBSCRIPTIONS_ON_VR",e[e.PRICE_CHANGE_CONFIRMATION=4]="PRICE_CHANGE_CONFIRMATION"}(f||(f={})),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.USER_CANCELLED=1]="USER_CANCELLED",e[e.ERROR=2]="ERROR"}(g||(g={})),function(e){e.VERBOSE="VERBOSE",e.DEBUG="DEBUG",e.INFO="INFO",e.WARN="WARN",e.ERROR="ERROR"}(m||(m={})),function(e){e[e.BILLING_ISSUE=0]="BILLING_ISSUE",e[e.PRICE_INCREASE_CONSENT=1]="PRICE_INCREASE_CONSENT",e[e.GENERIC=2]="GENERIC",e[e.WIN_BACK_OFFER=3]="WIN_BACK_OFFER"}(v||(v={})),function(e){e.DISABLED="DISABLED",e.INFORMATIONAL="INFORMATIONAL"}(y||(y={})),function(e){e.NOT_REQUESTED="NOT_REQUESTED",e.VERIFIED="VERIFIED",e.FAILED="FAILED",e.VERIFIED_ON_DEVICE="VERIFIED_ON_DEVICE"}(w||(w={})),function(e){e.NOT_PRESENTED="NOT_PRESENTED",e.ERROR="ERROR",e.CANCELLED="CANCELLED",e.PURCHASED="PURCHASED",e.RESTORED="RESTORED"}(x||(x={})),function(e){e.STOREKIT_1="STOREKIT_1",e.STOREKIT_2="STOREKIT_2",e.DEFAULT="DEFAULT"}(b||(b={})),function(e){e.MY_APP="MY_APP",e.REVENUECAT="REVENUECAT"}(k||(k={})),function(e){e.SUCCESS="SUCCESS",e.ERROR="ERROR",e.PURCHASE_BELONGS_TO_OTHER_USER="PURCHASE_BELONGS_TO_OTHER_USER",e.INVALID_TOKEN="INVALID_TOKEN",e.EXPIRED="EXPIRED"}(j||(j={}))},28182:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to,default:()=>i});const i=o},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",p=Math.floor,h=Math.pow,f=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,g=1e7,m=7,v=9007199254740991,y=p(v/m),w={};function x(e,t){var n,r,o,i,a,s,c,u,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),l?_(t,p):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,s=u.length):(r=u,o=a,s=c.length),i>(s=(a=Math.ceil(p/m))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=c.length)-(i=u.length)<0&&(i=s,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/g|0,c[i]%=g;for(n&&(c.unshift(n),++o),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=o,l?_(t,p):t}function b(e,t,n){if(e!==~~e||en)throw Error(u+e)}function k(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},w.decimalPlaces=w.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*m;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},w.dividedBy=w.div=function(e){return j(this,new this.constructor(e))},w.dividedToIntegerBy=w.idiv=function(e){var t=this.constructor;return _(j(this,new t(e),0,1),t.precision)},w.equals=w.eq=function(e){return!this.cmp(e)},w.exponent=function(){return A(this)},w.greaterThan=w.gt=function(e){return this.cmp(e)>0},w.greaterThanOrEqualTo=w.gte=function(e){return this.cmp(e)>=0},w.isInteger=w.isint=function(){return this.e>this.d.length-2},w.isNegative=w.isneg=function(){return this.s<0},w.isPositive=w.ispos=function(){return this.s>0},w.isZero=function(){return 0===this.s},w.lessThan=w.lt=function(e){return this.cmp(e)<0},w.lessThanOrEqualTo=w.lte=function(e){return this.cmp(e)<1},w.logarithm=w.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(l=!1,t=j(N(n,a),N(e,a),a),l=!0,_(t,o))},w.minus=w.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?z(t,e):x(t,(e.s=-e.s,e))},w.modulo=w.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(l=!1,t=j(n,e,0,1).times(e),l=!0,n.minus(t)):_(new r(n),o)},w.naturalExponential=w.exp=function(){return C(this)},w.naturalLogarithm=w.ln=function(){return N(this)},w.negated=w.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},w.plus=w.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?x(t,e):z(t,(e.s=-e.s,e))},w.precision=w.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=A(o)+1,n=(r=o.d.length-1)*m+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},w.squareRoot=w.sqrt=function(){var e,t,n,r,o,i,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(c+"NaN")}for(e=A(s),l=!1,0==(o=Math.sqrt(+s))||o==1/0?(((t=k(s.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(j(s,i,a+2)).times(.5),k(i.d).slice(0,a)===(t=k(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(_(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=t)break;a+=4}return l=!0,_(r,n)},w.times=w.mul=function(e){var t,n,r,o,i,a,s,c,u,d=this,p=d.constructor,h=d.d,f=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,(c=h.length)<(u=f.length)&&(i=h,h=f,f=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)s=i[o]+f[r]*h[o-r-1]+t,i[o--]=s%g|0,t=s/g|0;i[o]=(i[o]+t)%g|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,l?_(e,p.precision):e},w.toDecimalPlaces=w.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(b(e,0,a),void 0===t?t=r.rounding:b(t,0,8),_(n,e+A(n)+1,t))},w.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=E(r,!0):(b(e,0,a),void 0===t?t=o.rounding:b(t,0,8),n=E(r=_(new o(r),e+1,t),!0,e+1)),n},w.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?E(o):(b(e,0,a),void 0===t?t=i.rounding:b(t,0,8),n=E((r=_(new i(o),e+A(o)+1,t)).abs(),!1,e+A(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},w.toInteger=w.toint=function(){var e=this,t=e.constructor;return _(new t(e),A(e)+1,t.rounding)},w.toNumber=function(){return+this},w.toPower=w.pow=function(e){var t,n,r,o,a,s,u=this,d=u.constructor,h=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return _(u,r);if(s=(t=e.e)>=(n=e.d.length-1),a=u.s,s){if((n=h<0?-h:h)<=v){for(o=new d(i),t=Math.ceil(r/m+4),l=!1;n%2&&O((o=o.times(u)).d,t),0!==(n=p(n/2));)O((u=u.times(u)).d,t);return l=!0,e.s<0?new d(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,l=!1,o=e.times(N(u,r+12)),l=!0,(o=C(o)).s=a,o},w.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=E(o,(n=A(o))<=i.toExpNeg||n>=i.toExpPos):(b(e,1,a),void 0===t?t=i.rounding:b(t,0,8),r=E(o=_(new i(o),e,t),e<=(n=A(o))||n<=i.toExpNeg,e)),r},w.toSignificantDigits=w.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(b(e,1,a),void 0===t?t=n.rounding:b(t,0,8)),_(new n(this),e,t)},w.toString=w.valueOf=w.val=w.toJSON=function(){var e=this,t=A(e),n=e.constructor;return E(e,t<=n.toExpNeg||t>=n.toExpPos)};var j=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%g|0,r=n/g|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var s,l,u,d,p,h,f,v,y,w,x,b,k,j,C,S,M,N,P=r.constructor,z=r.s==o.s?1:-1,E=r.d,O=o.d;if(!r.s)return new P(r);if(!o.s)throw Error(c+"Division by zero");for(l=r.e-o.e,M=O.length,C=E.length,v=(f=new P(z)).d=[],u=0;O[u]==(E[u]||0);)++u;if(O[u]>(E[u]||0)&&--l,(b=null==i?i=P.precision:a?i+(A(r)-A(o))+1:i)<0)return new P(0);if(b=b/m+2|0,u=0,1==M)for(d=0,O=O[0],b++;(u1&&(O=e(O,d),E=e(E,d),M=O.length,C=E.length),j=M,w=(y=E.slice(0,M)).length;w=g/2&&++S;do{d=0,(s=t(O,y,M,w))<0?(x=y[0],M!=w&&(x=x*g+(y[1]||0)),(d=x/S|0)>1?(d>=g&&(d=g-1),1==(s=t(p=e(O,d),y,h=p.length,w=y.length))&&(d--,n(p,M16)throw Error(d+A(e));if(!e.s)return new p(i);for(null==t?(l=!1,s=f):s=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(s+=Math.log(h(2,u))/Math.LN10*2+5|0,n=r=o=new p(i),p.precision=s;;){if(r=_(r.times(e),s),n=n.times(++c),k((a=o.plus(j(r,n,s))).d).slice(0,s)===k(o.d).slice(0,s)){for(;u--;)o=_(o.times(o),s);return p.precision=f,null==t?(l=!0,_(o,f)):o}o=a}}function A(e){for(var t=e.e*m,n=e.d[0];n>=10;n/=10)t++;return t}function S(e,t,n){if(t>e.LN10.sd())throw l=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function M(e){for(var t="";e--;)t+="0";return t}function N(e,t){var n,r,o,a,s,u,d,p,h,f=1,g=e,m=g.d,v=g.constructor,y=v.precision;if(g.s<1)throw Error(c+(g.s?"NaN":"-Infinity"));if(g.eq(i))return new v(0);if(null==t?(l=!1,p=y):p=t,g.eq(10))return null==t&&(l=!0),S(v,p);if(p+=10,v.precision=p,r=(n=k(m)).charAt(0),a=A(g),!(Math.abs(a)<15e14))return d=S(v,p+2,y).times(a+""),g=N(new v(r+"."+n.slice(1)),p-10).plus(d),v.precision=y,null==t?(l=!0,_(g,y)):g;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=k((g=g.times(e)).d)).charAt(0),f++;for(a=A(g),r>1?(g=new v("0."+n),a++):g=new v(r+"."+n.slice(1)),u=s=g=j(g.minus(i),g.plus(i),p),h=_(g.times(g),p),o=3;;){if(s=_(s.times(h),p),k((d=u.plus(j(s,new v(o),p))).d).slice(0,p)===k(u.d).slice(0,p))return u=u.times(2),0!==a&&(u=u.plus(S(v,p+2,y).times(a+""))),u=j(u,new v(f),p),v.precision=y,null==t?(l=!0,_(u,y)):u;u=d,o+=2}}function P(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=p(n/m),e.d=[],r=(n+1)%m,n<0&&(r+=m),ry||e.e<-y))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,o,i,a,s,c,u,f,v=e.d;for(a=1,i=v[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=m,o=t,u=v[f=0];else{if((f=Math.ceil((r+1)/m))>=(i=v.length))return e;for(u=i=v[f],a=1;i>=10;i/=10)a++;o=(r%=m)-m+a}if(void 0!==n&&(s=u/(i=h(10,a-o-1))%10|0,c=t<0||void 0!==v[f+1]||u%i,c=n<4?(s||c)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||c||6==n&&(r>0?o>0?u/h(10,a-o):0:v[f-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return c?(i=A(e),v.length=1,t=t-i-1,v[0]=h(10,(m-t%m)%m),e.e=p(-t/m)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==r?(v.length=f,i=1,f--):(v.length=f+1,i=h(10,m-r),v[f]=o>0?(u/h(10,a-o)%h(10,o)|0)*i:0),c)for(;;){if(0==f){(v[0]+=i)==g&&(v[0]=1,++e.e);break}if(v[f]+=i,v[f]!=g)break;v[f--]=0,i=1}for(r=v.length;0===v[--r];)v.pop();if(l&&(e.e>y||e.e<-y))throw Error(d+A(e));return e}function z(e,t){var n,r,o,i,a,s,c,u,d,p,h=e.constructor,f=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),l?_(t,f):t;if(c=e.d,p=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,s=p.length):(n=p,r=u,s=c.length),a>(o=Math.max(Math.ceil(f/m),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(s=p.length))&&(s=o),o=0;o0;--o)c[s++]=0;for(o=p.length;o>a;){if(c[--o]0?i=i.charAt(0)+"."+i.slice(1)+M(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+M(-o-1)+i,n&&(r=n-a)>0&&(i+=M(r))):o>=a?(i+=M(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+M(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=M(r))),e.s<0?"-"+i:i}function O(e,t){if(e.length>t)return e.length=t,!0}function L(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}s=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):P(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!f.test(e))throw Error(u+e);P(t,e)}if(i.prototype=w,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=L,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o{"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},50908:(e,t,n)=>{var r=n(68136)(n(97009),"DataView");e.exports=r},29676:(e,t,n)=>{var r=n(85403),o=n(62747),i=n(16037),a=n(94154),s=n(77728);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(43894),o=n(8699),i=n(64957),a=n(87184),s=n(87109);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(68136)(n(97009),"Map");e.exports=r},78059:(e,t,n)=>{var r=n(34086),o=n(9255),i=n(29186),a=n(13423),s=n(73739);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(68136)(n(97009),"Promise");e.exports=r},23924:(e,t,n)=>{var r=n(68136)(n(97009),"Set");e.exports=r},20692:(e,t,n)=>{var r=n(78059),o=n(35774),i=n(41596);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t{var r=n(38384),o=n(20511),i=n(50835),a=n(90707),s=n(18832),l=n(35077);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},87197:(e,t,n)=>{var r=n(97009).Symbol;e.exports=r},46219:(e,t,n)=>{var r=n(97009).Uint8Array;e.exports=r},7091:(e,t,n)=>{var r=n(68136)(n(97009),"WeakMap");e.exports=r},13665:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},18573:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n{var r=n(24842);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},32683:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r{var r=n(86478),o=n(34963),i=n(93629),a=n(5174),s=n(26800),l=n(19102),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),h=n||u||d||p,f=h?r(e.length,String):[],g=f.length;for(var m in e)!t&&!c.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||f.push(m);return f}},68950:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e.split("")}},27112:(e,t,n)=>{var r=n(29231);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},32526:(e,t,n)=>{var r=n(48528);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},87927:(e,t,n)=>{var r=n(15358),o=n(67056)(r);e.exports=o},39863:(e,t,n)=>{var r=n(87927);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},43079:(e,t,n)=>{var r=n(70152);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i{var r=n(41705),o=n(73529);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},85099:(e,t,n)=>{var r=n(30372)();e.exports=r},15358:(e,t,n)=>{var r=n(85099),o=n(12742);e.exports=function(e,t){return e&&r(e,t,o)}},98667:(e,t,n)=>{var r=n(43082),o=n(69793);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n{var r=n(41705),o=n(93629);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},39066:(e,t,n)=>{var r=n(87197),o=n(81587),i=n(43581),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},81954:e=>{e.exports=function(e,t){return e>t}},90529:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},24842:(e,t,n)=>{var r=n(2045),o=n(50505),i=n(77167);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},4906:(e,t,n)=>{var r=n(39066),o=n(43141);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},71848:(e,t,n)=>{var r=n(93355),o=n(43141);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},93355:(e,t,n)=>{var r=n(22854),o=n(15305),i=n(92206),a=n(88078),s=n(88383),l=n(93629),c=n(5174),u=n(19102),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,v){var y=l(e),w=l(t),x=y?p:s(e),b=w?p:s(t),k=(x=x==d?h:x)==h,j=(b=b==d?h:b)==h,C=x==b;if(C&&c(e)){if(!c(t))return!1;y=!0,k=!1}if(C&&!k)return v||(v=new r),y||u(e)?o(e,t,n,g,m,v):i(e,t,x,n,g,m,v);if(!(1&n)){var A=k&&f.call(e,"__wrapped__"),S=j&&f.call(t,"__wrapped__");if(A||S){var M=A?e.value():e,N=S?t.value():t;return v||(v=new r),m(M,N,n,g,v)}}return!!C&&(v||(v=new r),a(e,t,n,g,m,v))}},8856:(e,t,n)=>{var r=n(22854),o=n(71848);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a{e.exports=function(e){return e!==e}},26703:(e,t,n)=>{var r=n(74786),o=n(257),i=n(8092),a=n(27907),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},68150:(e,t,n)=>{var r=n(39066),o=n(24635),i=n(43141),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},56025:(e,t,n)=>{var r=n(97080),o=n(24322),i=n(2100),a=n(93629),s=n(10038);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},43654:(e,t,n)=>{var r=n(62936),o=n(75964),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},92580:e=>{e.exports=function(e,t){return e{var r=n(87927),o=n(21473);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},97080:(e,t,n)=>{var r=n(8856),o=n(79091),i=n(50284);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},24322:(e,t,n)=>{var r=n(71848),o=n(26181),i=n(75658),a=n(25823),s=n(25072),l=n(50284),c=n(69793);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},93226:(e,t,n)=>{var r=n(68950),o=n(98667),i=n(56025),a=n(53849),s=n(19179),l=n(16194),c=n(94480),u=n(2100),d=n(93629);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var p=-1;t=r(t,l(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));return s(h,(function(e,t){return c(e,t,n)}))}},9586:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4084:(e,t,n)=>{var r=n(98667);e.exports=function(e){return function(t){return r(t,e)}}},7255:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},58794:(e,t,n)=>{var r=n(2100),o=n(64262),i=n(79156);e.exports=function(e,t){return i(o(e,t,r),e+"")}},7532:(e,t,n)=>{var r=n(71547),o=n(48528),i=n(2100),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2646:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r{var r=n(87927);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},19179:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},86478:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n{var r=n(87197),o=n(68950),i=n(93629),a=n(70152),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},20821:(e,t,n)=>{var r=n(26050),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},16194:e=>{e.exports=function(e){return function(t){return e(t)}}},39602:(e,t,n)=>{var r=n(20692),o=n(59055),i=n(32683),a=n(60075),s=n(77730),l=n(22230);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,p=!0,h=[],f=h;if(n)p=!1,u=i;else if(d>=200){var g=t?null:s(e);if(g)return l(g);p=!1,u=a,f=new r}else f=t?[]:h;e:for(;++c{e.exports=function(e,t){return e.has(t)}},43082:(e,t,n)=>{var r=n(93629),o=n(25823),i=n(10170),a=n(63518);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},69813:(e,t,n)=>{var r=n(2646);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},88558:(e,t,n)=>{var r=n(70152);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),s=void 0!==t,l=null===t,c=t===t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e{var r=n(88558);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},65525:(e,t,n)=>{var r=n(97009)["__core-js_shared__"];e.exports=r},67056:(e,t,n)=>{var r=n(21473);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},10322:(e,t,n)=>{var r=n(69813),o=n(47302),i=n(27580),a=n(63518);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},95481:(e,t,n)=>{var r=n(56025),o=n(21473),i=n(12742);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},56381:(e,t,n)=>{var r=n(7255),o=n(3195),i=n(91495);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t{var r=n(23924),o=n(19694),i=n(22230),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},48528:(e,t,n)=>{var r=n(68136),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},15305:(e,t,n)=>{var r=n(20692),o=n(47897),i=n(60075);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f{var r=n(87197),o=n(46219),i=n(29231),a=n(15305),s=n(90234),l=n(22230),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=l),e.size!=t.size&&!f)return!1;var g=p.get(e);if(g)return g==t;r|=2,p.set(e,t);var m=a(h(e),h(t),r,c,d,p);return p.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},88078:(e,t,n)=>{var r=n(38248),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},38248:(e,t,n)=>{var r=n(61986),o=n(65918),i=n(12742);e.exports=function(e){return r(e,i,o)}},32799:(e,t,n)=>{var r=n(55964);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},79091:(e,t,n)=>{var r=n(25072),o=n(12742);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},68136:(e,t,n)=>{var r=n(26703),o=n(30040);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},31137:(e,t,n)=>{var r=n(12709)(Object.getPrototypeOf,Object);e.exports=r},81587:(e,t,n)=>{var r=n(87197),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},65918:(e,t,n)=>{var r=n(84903),o=n(68174),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},88383:(e,t,n)=>{var r=n(50908),o=n(95797),i=n(78319),a=n(23924),s=n(7091),l=n(39066),c=n(27907),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",g=c(r),m=c(o),v=c(i),y=c(a),w=c(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=f||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=p||s&&x(new s)!=h)&&(x=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return f;case m:return u;case v:return d;case y:return p;case w:return h}return t}),e.exports=x},30040:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},86417:(e,t,n)=>{var r=n(43082),o=n(34963),i=n(93629),a=n(26800),s=n(24635),l=n(69793);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},85403:(e,t,n)=>{var r=n(49620);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},62747:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},16037:(e,t,n)=>{var r=n(49620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},94154:(e,t,n)=>{var r=n(49620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},77728:(e,t,n)=>{var r=n(49620);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},73529:(e,t,n)=>{var r=n(87197),o=n(34963),i=n(93629),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},26800:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e{var r=n(29231),o=n(21473),i=n(26800),a=n(8092);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},25823:(e,t,n)=>{var r=n(93629),o=n(70152),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},55964:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},257:(e,t,n)=>{var r=n(65525),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},62936:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},25072:(e,t,n)=>{var r=n(8092);e.exports=function(e){return e===e&&!r(e)}},43894:e=>{e.exports=function(){this.__data__=[],this.size=0}},8699:(e,t,n)=>{var r=n(27112),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},64957:(e,t,n)=>{var r=n(27112);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},87184:(e,t,n)=>{var r=n(27112);e.exports=function(e){return r(this.__data__,e)>-1}},87109:(e,t,n)=>{var r=n(27112);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},34086:(e,t,n)=>{var r=n(29676),o=n(38384),i=n(95797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},9255:(e,t,n)=>{var r=n(32799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},29186:(e,t,n)=>{var r=n(32799);e.exports=function(e){return r(this,e).get(e)}},13423:(e,t,n)=>{var r=n(32799);e.exports=function(e){return r(this,e).has(e)}},73739:(e,t,n)=>{var r=n(32799);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},90234:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},50284:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},14634:(e,t,n)=>{var r=n(49151);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},49620:(e,t,n)=>{var r=n(68136)(Object,"create");e.exports=r},75964:(e,t,n)=>{var r=n(12709)(Object.keys,Object);e.exports=r},49494:(e,t,n)=>{e=n.nmd(e);var r=n(31032),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},43581:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},12709:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},64262:(e,t,n)=>{var r=n(13665),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a{var r=n(31032),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},35774:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},41596:e=>{e.exports=function(e){return this.__data__.has(e)}},22230:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},79156:(e,t,n)=>{var r=n(7532),o=n(83197)(r);e.exports=o},83197:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},20511:(e,t,n)=>{var r=n(38384);e.exports=function(){this.__data__=new r,this.size=0}},50835:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},90707:e=>{e.exports=function(e){return this.__data__.get(e)}},18832:e=>{e.exports=function(e){return this.__data__.has(e)}},35077:(e,t,n)=>{var r=n(38384),o=n(95797),i=n(78059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},77167:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r{var r=n(54622),o=n(47302),i=n(42110);e.exports=function(e){return o(e)?i(e):r(e)}},10170:(e,t,n)=>{var r=n(14634),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},69793:(e,t,n)=>{var r=n(70152);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},27907:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},26050:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},42110:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(p)||[]}},71547:e=>{e.exports=function(e){return function(){return e}}},48573:(e,t,n)=>{var r=n(8092),o=n(50072),i=n(42582),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,h,f=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,f=t,d=e.apply(r,n)}function w(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-f>=u}function x(){var e=o();if(w(e))return b(e);p=setTimeout(x,function(e){var n=t-(e-h);return m?s(n,u-(e-f)):n}(e))}function b(e){return p=void 0,v&&l?y(e):(l=c=void 0,d)}function k(){var e=o(),n=w(e);if(l=arguments,c=this,h=e,n){if(void 0===p)return function(e){return f=e,p=setTimeout(x,t),g?y(e):d}(h);if(m)return clearTimeout(p),p=setTimeout(x,t),y(h)}return void 0===p&&(p=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=c=p=void 0},k.flush=function(){return void 0===p?d:b(o())},k}},29231:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},82730:(e,t,n)=>{var r=n(18573),o=n(39863),i=n(56025),a=n(93629),s=n(3195);e.exports=function(e,t,n){var l=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),l(e,i(t,3))}},61211:(e,t,n)=>{var r=n(95481)(n(51475));e.exports=r},51475:(e,t,n)=>{var r=n(2045),o=n(56025),i=n(39753),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},5008:(e,t,n)=>{var r=n(55182),o=n(72034);e.exports=function(e,t){return r(o(e,t),1)}},26181:(e,t,n)=>{var r=n(98667);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},75658:(e,t,n)=>{var r=n(90529),o=n(86417);e.exports=function(e,t){return null!=e&&o(e,t,r)}},2100:e=>{e.exports=function(e){return e}},34963:(e,t,n)=>{var r=n(4906),o=n(43141),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},93629:e=>{var t=Array.isArray;e.exports=t},21473:(e,t,n)=>{var r=n(74786),o=n(24635);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},65127:(e,t,n)=>{var r=n(39066),o=n(43141);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},5174:(e,t,n)=>{e=n.nmd(e);var r=n(97009),o=n(49488),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},18111:(e,t,n)=>{var r=n(71848);e.exports=function(e,t){return r(e,t)}},74786:(e,t,n)=>{var r=n(39066),o=n(8092);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},24635:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},82066:(e,t,n)=>{var r=n(30298);e.exports=function(e){return r(e)&&e!=+e}},42854:e=>{e.exports=function(e){return null==e}},30298:(e,t,n)=>{var r=n(39066),o=n(43141);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},8092:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},43141:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},93977:(e,t,n)=>{var r=n(39066),o=n(31137),i=n(43141),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},26769:(e,t,n)=>{var r=n(39066),o=n(93629),i=n(43141);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},70152:(e,t,n)=>{var r=n(39066),o=n(43141);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},19102:(e,t,n)=>{var r=n(68150),o=n(16194),i=n(49494),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},12742:(e,t,n)=>{var r=n(47538),o=n(43654),i=n(21473);e.exports=function(e){return i(e)?r(e):o(e)}},15727:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},763:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,p=256,h=1/0,f=9007199254740991,g=NaN,m=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",p]],y="[object Arguments]",w="[object Array]",x="[object Boolean]",b="[object Date]",k="[object Error]",j="[object Function]",C="[object GeneratorFunction]",A="[object Map]",S="[object Number]",M="[object Object]",N="[object Promise]",P="[object RegExp]",_="[object Set]",z="[object String]",E="[object Symbol]",O="[object WeakMap]",L="[object ArrayBuffer]",T="[object DataView]",D="[object Float32Array]",Z="[object Float64Array]",I="[object Int8Array]",B="[object Int16Array]",R="[object Int32Array]",V="[object Uint8Array]",H="[object Uint8ClampedArray]",F="[object Uint16Array]",U="[object Uint32Array]",W=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,$=RegExp(K.source),X=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,we=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,je=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",Ae="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Me="a-z\\xdf-\\xf6\\xf8-\\xff",Ne="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ze="['\u2019]",Ee="["+Ce+"]",Oe="["+_e+"]",Le="["+Ae+"]",Te="\\d+",De="["+Se+"]",Ze="["+Me+"]",Ie="[^"+Ce+_e+Te+Se+Me+Ne+"]",Be="\\ud83c[\\udffb-\\udfff]",Re="[^"+Ce+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Ne+"]",Ue="\\u200d",We="(?:"+Ze+"|"+Ie+")",qe="(?:"+Fe+"|"+Ie+")",Ge="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ye="(?:"+Le+"|"+Be+")"+"?",$e="["+Pe+"]?",Xe=$e+Ye+("(?:"+Ue+"(?:"+[Re,Ve,He].join("|")+")"+$e+Ye+")*"),Je="(?:"+[De,Ve,He].join("|")+")"+Xe,Qe="(?:"+[Re+Le+"?",Le,Ve,He,Ee].join("|")+")",et=RegExp(ze,"g"),tt=RegExp(Le,"g"),nt=RegExp(Be+"(?="+Be+")|"+Qe+Xe,"g"),rt=RegExp([Fe+"?"+Ze+"+"+Ge+"(?="+[Oe,Fe,"$"].join("|")+")",qe+"+"+Ke+"(?="+[Oe,Fe+We,"$"].join("|")+")",Fe+"?"+We+"+"+Ge,Fe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,Je].join("|"),"g"),ot=RegExp("["+Ue+Ce+Ae+Pe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[D]=lt[Z]=lt[I]=lt[B]=lt[R]=lt[V]=lt[H]=lt[F]=lt[U]=!0,lt[y]=lt[w]=lt[L]=lt[x]=lt[T]=lt[b]=lt[k]=lt[j]=lt[A]=lt[S]=lt[M]=lt[P]=lt[_]=lt[z]=lt[O]=!1;var ct={};ct[y]=ct[w]=ct[L]=ct[T]=ct[x]=ct[b]=ct[D]=ct[Z]=ct[I]=ct[B]=ct[R]=ct[A]=ct[S]=ct[M]=ct[P]=ct[_]=ct[z]=ct[E]=ct[V]=ct[H]=ct[F]=ct[U]=!0,ct[k]=ct[j]=ct[O]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ft="object"==typeof self&&self&&self.Object===Object&&self,gt=ht||ft||Function("return this")(),mt=t&&!t.nodeType&&t,vt=mt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===mt,wt=yt&&ht.process,xt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||wt&&wt.binding&&wt.binding("util")}catch(t){}}(),bt=xt&&xt.isArrayBuffer,kt=xt&&xt.isDate,jt=xt&&xt.isMap,Ct=xt&&xt.isRegExp,At=xt&&xt.isSet,St=xt&&xt.isTypedArray;function Mt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Lt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ft(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ut[e]}function ln(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var yn=function e(t){var n=(t=null==t?gt:yn.defaults(gt.Object(),t,yn.pick(gt,at))).Array,r=t.Date,se=t.Error,Ce=t.Function,Ae=t.Math,Se=t.Object,Me=t.RegExp,Ne=t.String,Pe=t.TypeError,_e=n.prototype,ze=Ce.prototype,Ee=Se.prototype,Oe=t["__core-js_shared__"],Le=ze.toString,Te=Ee.hasOwnProperty,De=0,Ze=function(){var e=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ie=Ee.toString,Be=Le.call(Se),Re=gt._,Ve=Me("^"+Le.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=yt?t.Buffer:o,Fe=t.Symbol,Ue=t.Uint8Array,We=He?He.allocUnsafe:o,qe=un(Se.getPrototypeOf,Se),Ge=Se.create,Ke=Ee.propertyIsEnumerable,Ye=_e.splice,$e=Fe?Fe.isConcatSpreadable:o,Xe=Fe?Fe.iterator:o,Je=Fe?Fe.toStringTag:o,Qe=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ot=r&&r.now!==gt.Date.now&&r.now,ut=t.setTimeout!==gt.setTimeout&&t.setTimeout,ht=Ae.ceil,ft=Ae.floor,mt=Se.getOwnPropertySymbols,vt=He?He.isBuffer:o,wt=t.isFinite,xt=_e.join,Rt=un(Se.keys,Se),Kt=Ae.max,wn=Ae.min,xn=r.now,bn=t.parseInt,kn=Ae.random,jn=_e.reverse,Cn=pi(t,"DataView"),An=pi(t,"Map"),Sn=pi(t,"Promise"),Mn=pi(t,"Set"),Nn=pi(t,"WeakMap"),Pn=pi(Se,"create"),_n=Nn&&new Nn,zn={},En=Ii(Cn),On=Ii(An),Ln=Ii(Sn),Tn=Ii(Mn),Dn=Ii(Nn),Zn=Fe?Fe.prototype:o,In=Zn?Zn.valueOf:o,Bn=Zn?Zn.toString:o;function Rn(e){if(ts(e)&&!Ua(e)&&!(e instanceof Un)){if(e instanceof Fn)return e;if(Te.call(e,"__wrapped__"))return Bi(e)}return new Fn(e)}var Vn=function(){function e(){}return function(t){if(!es(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Hn(){}function Fn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!es(e))return e;var d=Ua(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return _o(e,s)}else{var p=gi(e),h=p==j||p==C;if(Ka(e))return Co(e,l);if(p==M||p==y||h&&!i){if(s=c||h?{}:vi(e),!l)return c?function(e,t){return zo(e,fi(e),t)}(e,function(e,t){return e&&zo(t,Es(t),e)}(s,e)):function(e,t){return zo(e,hi(e),t)}(e,or(s,e))}else{if(!ct[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case L:return Ao(e);case x:case b:return new r(+e);case T:return function(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case Z:case I:case B:case R:case V:case H:case F:case U:return So(e,n);case A:return new r;case S:case z:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new r;case E:return o=e,In?Se(In.call(o)):{}}var o}(e,p,l)}}a||(a=new Yn);var f=a.get(e);if(f)return f;a.set(e,s),as(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):ns(e)&&e.forEach((function(r,o){s.set(o,lr(r,t,n,o,e,a))}));var g=d?o:(u?c?ii:oi:c?Es:zs)(e);return Pt(g||e,(function(r,o){g&&(r=e[o=r]),tr(s,o,lr(r,t,n,o,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Pe(i);return zi((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ot,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Tt(t,Qt(n))),r?(i=Lt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Kn(t));e:for(;++o-1},qn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(An||qn),string:new Wn}},Gn.prototype.delete=function(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return ui(this,e).get(e)},Gn.prototype.has=function(e){return ui(this,e).has(e)},Gn.prototype.set=function(e,t){var n=ui(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,a),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new qn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!An||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var pr=Lo(xr),hr=Lo(br,!0);function fr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?vr(s,t-1,n,r,o):Dt(o,s):r||(o[o.length]=s)}return o}var yr=To(),wr=To(!0);function xr(e,t){return e&&yr(e,t,zs)}function br(e,t){return e&&wr(e,t,zs)}function kr(e,t){return Et(t,(function(t){return Xa(e[t])}))}function jr(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&nt}function Mr(e,t){return null!=e&&Te.call(e,t)}function Nr(e,t){return null!=e&&t in Se(e)}function Pr(e,t,r){for(var i=r?Lt:Ot,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Tt(p,Qt(t))),u=wn(p.length,u),c[l]=!r&&(t||a>=120&&p.length>=120)?new Kn(l&&p):o}p=e[0];var h=-1,f=c[0];e:for(;++h=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&Ye.call(s,l,1),Ye.call(e,l,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ye.call(e,o,1):po(e,o)}}return e}function Kr(e,t){return e+ft(kn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function $r(e,t){return Ei(Mi(e,t,rl),e+"")}function Xr(e){return Xn(Rs(e))}function Jr(e,t){var n=Rs(e);return Ti(n,sr(t,0,n.length))}function Qr(e,t,n,r){if(!es(e))return e;for(var i=-1,a=(t=xo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a=200){var c=t?null:$o(e);if(c)return pn(c);a=!1,o=tn,l=new Kn}else l=t?[]:s;e:for(;++r=r?e:ro(e,t,n)}var jo=nt||function(e){return gt.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function Ao(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function So(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Mo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=ls(e),s=t!==o,l=null===t,c=t===t,u=ls(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&xi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Se(t);++r-1?i[a?t[s]:s]:o}}function Ro(e){return ri((function(t){var n=t.length,r=n,a=Fn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Pe(i);if(a&&!l&&"wrapper"==si(s))var l=new Fn([],!0)}for(r=l?r:n;++r1&&x.reverse(),h&&ul))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var p=-1,h=!0,f=2&n?new Kn:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(v,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Li(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ia(e,n)}));function pa(e){var t=Rn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var fa=ri((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Un&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Fn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=Eo((function(e,t,n){Te.call(e,n)?++e[n]:ir(e,n,1)}));var ma=Bo(Fi),va=Bo(Ui);function ya(e,t){return(Ua(e)?Pt:pr)(e,ci(t,3))}function wa(e,t){return(Ua(e)?_t:hr)(e,ci(t,3))}var xa=Eo((function(e,t,n){Te.call(e,n)?e[n].push(t):ir(e,n,[t])}));var ba=$r((function(e,t,r){var o=-1,i="function"==typeof t,a=qa(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?Mt(t,e,r):_r(e,t,r)})),a})),ka=Eo((function(e,t,n){ir(e,n,t)}));function ja(e,t){return(Ua(e)?Tt:Br)(e,ci(t,3))}var Ca=Eo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Aa=$r((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,vr(t,1),[])})),Sa=ot||function(){return gt.Date.now()};function Ma(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,d,o,o,o,o,t)}function Na(e,t){var n;if("function"!=typeof t)throw new Pe(i);return e=fs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Pa=$r((function(e,t,n){var r=1;if(n.length){var o=dn(n,li(Pa));r|=c}return Jo(e,r,t,n,o)})),_a=$r((function(e,t,n){var r=3;if(n.length){var o=dn(n,li(_a));r|=c}return Jo(t,r,e,n,o)}));function za(e,t,n){var r,a,s,l,c,u,d=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Pe(i);function g(t){var n=r,i=a;return r=a=o,d=t,l=e.apply(i,n)}function m(e){var n=e-u;return u===o||n>=t||n<0||h&&e-d>=s}function v(){var e=Sa();if(m(e))return y(e);c=zi(v,function(e){var n=t-(e-u);return h?wn(n,s-(e-d)):n}(e))}function y(e){return c=o,f&&r?g(e):(r=a=o,l)}function w(){var e=Sa(),n=m(e);if(r=arguments,a=this,u=e,n){if(c===o)return function(e){return d=e,c=zi(v,t),p?g(e):l}(u);if(h)return jo(c),c=zi(v,t),g(u)}return c===o&&(c=zi(v,t)),l}return t=ms(t)||0,es(n)&&(p=!!n.leading,s=(h="maxWait"in n)?Kt(ms(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),w.cancel=function(){c!==o&&jo(c),d=0,r=u=a=c=o},w.flush=function(){return c===o?l:y(Sa())},w}var Ea=$r((function(e,t){return ur(e,1,t)})),Oa=$r((function(e,t,n){return ur(e,ms(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Gn),n}function Ta(e){if("function"!=typeof e)throw new Pe(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Gn;var Da=bo((function(e,t){var n=(t=1==t.length&&Ua(t[0])?Tt(t[0],Qt(ci())):Tt(vr(t,1),Qt(ci()))).length;return $r((function(r){for(var o=-1,i=wn(r.length,n);++o=t})),Fa=zr(function(){return arguments}())?zr:function(e){return ts(e)&&Te.call(e,"callee")&&!Ke.call(e,"callee")},Ua=n.isArray,Wa=bt?Qt(bt):function(e){return ts(e)&&Ar(e)==L};function qa(e){return null!=e&&Qa(e.length)&&!Xa(e)}function Ga(e){return ts(e)&&qa(e)}var Ka=vt||ml,Ya=kt?Qt(kt):function(e){return ts(e)&&Ar(e)==b};function $a(e){if(!ts(e))return!1;var t=Ar(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Xa(e){if(!es(e))return!1;var t=Ar(e);return t==j||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==fs(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=jt?Qt(jt):function(e){return ts(e)&&gi(e)==A};function rs(e){return"number"==typeof e||ts(e)&&Ar(e)==S}function os(e){if(!ts(e)||Ar(e)!=M)return!1;var t=qe(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==Be}var is=Ct?Qt(Ct):function(e){return ts(e)&&Ar(e)==P};var as=At?Qt(At):function(e){return ts(e)&&gi(e)==_};function ss(e){return"string"==typeof e||!Ua(e)&&ts(e)&&Ar(e)==z}function ls(e){return"symbol"==typeof e||ts(e)&&Ar(e)==E}var cs=St?Qt(St):function(e){return ts(e)&&Qa(e.length)&&!!lt[Ar(e)]};var us=Go(Ir),ds=Go((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(qa(e))return ss(e)?gn(e):_o(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=gi(e);return(t==A?cn:t==_?pn:Rs)(e)}function hs(e){return e?(e=ms(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function fs(e){var t=hs(e),n=t%1;return t===t?n?t-n:t:0}function gs(e){return e?sr(fs(e),0,m):0}function ms(e){if("number"==typeof e)return e;if(ls(e))return g;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=ve.test(e);return n||we.test(e)?pt(e.slice(2),n?2:8):me.test(e)?g:+e}function vs(e){return zo(e,Es(e))}function ys(e){return null==e?"":co(e)}var ws=Oo((function(e,t){if(Ci(t)||qa(t))zo(t,zs(t),e);else for(var n in t)Te.call(t,n)&&tr(e,n,t[n])})),xs=Oo((function(e,t){zo(t,Es(t),e)})),bs=Oo((function(e,t,n,r){zo(t,Es(t),e,r)})),ks=Oo((function(e,t,n,r){zo(t,zs(t),e,r)})),js=ri(ar);var Cs=$r((function(e,t){e=Se(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n1),t})),zo(e,ii(e),n),r&&(n=lr(n,7,ti));for(var o=t.length;o--;)po(n,t[o]);return n}));var Ds=ri((function(e,t){return null==e?{}:function(e,t){return Wr(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Zs(e,t){if(null==e)return{};var n=Tt(ii(e),(function(e){return[e]}));return t=ci(t),Wr(e,n,(function(e,n){return t(e,n[0])}))}var Is=Xo(zs),Bs=Xo(Es);function Rs(e){return null==e?[]:en(e,zs(e))}var Vs=Zo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return $s(ys(e).toLowerCase())}function Fs(e){return(e=ys(e))&&e.replace(be,on).replace(tt,"")}var Us=Zo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ws=Zo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Do("toLowerCase");var Gs=Zo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ks=Zo((function(e,t,n){return e+(n?" ":"")+$s(t)}));var Ys=Zo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),$s=Do("toUpperCase");function Xs(e,t,n){return e=ys(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Js=$r((function(e,t){try{return Mt(e,o,t)}catch(n){return $a(n)?n:new se(n)}})),Qs=ri((function(e,t){return Pt(t,(function(t){t=Zi(t),ir(e,t,Pa(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Ro(),nl=Ro(!0);function rl(e){return e}function ol(e){return Tr("function"==typeof e?e:lr(e,1))}var il=$r((function(e,t){return function(n){return _r(n,e,t)}})),al=$r((function(e,t){return function(n){return _r(e,n,t)}}));function sl(e,t,n){var r=zs(t),o=kr(t,r);null!=n||es(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,zs(t)));var i=!(es(n)&&"chain"in n)||!!n.chain,a=Xa(e);return Pt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=_o(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dt([this.value()],arguments))})})),e}function ll(){}var cl=Uo(Tt),ul=Uo(zt),dl=Uo(Bt);function pl(e){return bi(e)?Gt(Zi(e)):function(e){return function(t){return jr(t,e)}}(e)}var hl=qo(),fl=qo(!0);function gl(){return[]}function ml(){return!1}var vl=Fo((function(e,t){return e+t}),0),yl=Yo("ceil"),wl=Fo((function(e,t){return e/t}),1),xl=Yo("floor");var bl=Fo((function(e,t){return e*t}),1),kl=Yo("round"),jl=Fo((function(e,t){return e-t}),0);return Rn.after=function(e,t){if("function"!=typeof t)throw new Pe(i);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Rn.ary=Ma,Rn.assign=ws,Rn.assignIn=xs,Rn.assignInWith=bs,Rn.assignWith=ks,Rn.at=js,Rn.before=Na,Rn.bind=Pa,Rn.bindAll=Qs,Rn.bindKey=_a,Rn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ua(e)?e:[e]},Rn.chain=pa,Rn.chunk=function(e,t,r){t=(r?xi(e,t,r):t===o)?1:Kt(fs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ht(i/t));ai?0:i+n),(r=r===o||r>i?i:fs(r))<0&&(r+=i),r=n>r?0:gs(r);n>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=co(t))&&ln(e)?ko(gn(e),0,n):e.split(t,n):[]},Rn.spread=function(e,t){if("function"!=typeof e)throw new Pe(i);return t=null==t?0:Kt(fs(t),0),$r((function(n){var r=n[t],o=ko(n,0,t);return r&&Dt(o,r),Mt(e,this,o)}))},Rn.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},Rn.take=function(e,t,n){return e&&e.length?ro(e,0,(t=n||t===o?1:fs(t))<0?0:t):[]},Rn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=r-(t=n||t===o?1:fs(t)))<0?0:t,r):[]},Rn.takeRightWhile=function(e,t){return e&&e.length?fo(e,ci(t,3),!1,!0):[]},Rn.takeWhile=function(e,t){return e&&e.length?fo(e,ci(t,3)):[]},Rn.tap=function(e,t){return t(e),e},Rn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Pe(i);return es(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),za(e,t,{leading:r,maxWait:t,trailing:o})},Rn.thru=ha,Rn.toArray=ps,Rn.toPairs=Is,Rn.toPairsIn=Bs,Rn.toPath=function(e){return Ua(e)?Tt(e,Zi):ls(e)?[e]:_o(Di(ys(e)))},Rn.toPlainObject=vs,Rn.transform=function(e,t,n){var r=Ua(e),o=r||Ka(e)||cs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Xa(i)?Vn(qe(e)):{}}return(o?Pt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Rn.unary=function(e){return Ma(e,1)},Rn.union=ta,Rn.unionBy=na,Rn.unionWith=ra,Rn.uniq=function(e){return e&&e.length?uo(e):[]},Rn.uniqBy=function(e,t){return e&&e.length?uo(e,ci(t,2)):[]},Rn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?uo(e,o,t):[]},Rn.unset=function(e,t){return null==e||po(e,t)},Rn.unzip=oa,Rn.unzipWith=ia,Rn.update=function(e,t,n){return null==e?e:ho(e,t,wo(n))},Rn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,wo(n),r)},Rn.values=Rs,Rn.valuesIn=function(e){return null==e?[]:en(e,Es(e))},Rn.without=aa,Rn.words=Xs,Rn.wrap=function(e,t){return Za(wo(t),e)},Rn.xor=sa,Rn.xorBy=la,Rn.xorWith=ca,Rn.zip=ua,Rn.zipObject=function(e,t){return vo(e||[],t||[],tr)},Rn.zipObjectDeep=function(e,t){return vo(e||[],t||[],Qr)},Rn.zipWith=da,Rn.entries=Is,Rn.entriesIn=Bs,Rn.extend=xs,Rn.extendWith=bs,sl(Rn,Rn),Rn.add=vl,Rn.attempt=Js,Rn.camelCase=Vs,Rn.capitalize=Hs,Rn.ceil=yl,Rn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ms(n))===n?n:0),t!==o&&(t=(t=ms(t))===t?t:0),sr(ms(e),t,n)},Rn.clone=function(e){return lr(e,4)},Rn.cloneDeep=function(e){return lr(e,5)},Rn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:o)},Rn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:o)},Rn.conformsTo=function(e,t){return null==t||cr(e,t,zs(t))},Rn.deburr=Fs,Rn.defaultTo=function(e,t){return null==e||e!==e?t:e},Rn.divide=wl,Rn.endsWith=function(e,t,n){e=ys(e),t=co(t);var r=e.length,i=n=n===o?r:sr(fs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Rn.eq=Ra,Rn.escape=function(e){return(e=ys(e))&&X.test(e)?e.replace(Y,an):e},Rn.escapeRegExp=function(e){return(e=ys(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Rn.every=function(e,t,n){var r=Ua(e)?zt:fr;return n&&xi(e,t,n)&&(t=o),r(e,ci(t,3))},Rn.find=ma,Rn.findIndex=Fi,Rn.findKey=function(e,t){return Vt(e,ci(t,3),xr)},Rn.findLast=va,Rn.findLastIndex=Ui,Rn.findLastKey=function(e,t){return Vt(e,ci(t,3),br)},Rn.floor=xl,Rn.forEach=ya,Rn.forEachRight=wa,Rn.forIn=function(e,t){return null==e?e:yr(e,ci(t,3),Es)},Rn.forInRight=function(e,t){return null==e?e:wr(e,ci(t,3),Es)},Rn.forOwn=function(e,t){return e&&xr(e,ci(t,3))},Rn.forOwnRight=function(e,t){return e&&br(e,ci(t,3))},Rn.get=Ss,Rn.gt=Va,Rn.gte=Ha,Rn.has=function(e,t){return null!=e&&mi(e,t,Mr)},Rn.hasIn=Ms,Rn.head=qi,Rn.identity=rl,Rn.includes=function(e,t,n,r){e=qa(e)?e:Rs(e),n=n&&!r?fs(n):0;var o=e.length;return n<0&&(n=Kt(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ft(e,t,n)>-1},Rn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=Kt(r+o,0)),Ft(e,t,o)},Rn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=f},Rn.isSet=as,Rn.isString=ss,Rn.isSymbol=ls,Rn.isTypedArray=cs,Rn.isUndefined=function(e){return e===o},Rn.isWeakMap=function(e){return ts(e)&&gi(e)==O},Rn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Ar(e)},Rn.join=function(e,t){return null==e?"":xt.call(e,t)},Rn.kebabCase=Us,Rn.last=$i,Rn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=fs(n))<0?Kt(r+i,0):wn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ht(e,Wt,i,!0)},Rn.lowerCase=Ws,Rn.lowerFirst=qs,Rn.lt=us,Rn.lte=ds,Rn.max=function(e){return e&&e.length?gr(e,rl,Sr):o},Rn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Sr):o},Rn.mean=function(e){return qt(e,rl)},Rn.meanBy=function(e,t){return qt(e,ci(t,2))},Rn.min=function(e){return e&&e.length?gr(e,rl,Ir):o},Rn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Ir):o},Rn.stubArray=gl,Rn.stubFalse=ml,Rn.stubObject=function(){return{}},Rn.stubString=function(){return""},Rn.stubTrue=function(){return!0},Rn.multiply=bl,Rn.nth=function(e,t){return e&&e.length?Fr(e,fs(t)):o},Rn.noConflict=function(){return gt._===this&&(gt._=Re),this},Rn.noop=ll,Rn.now=Sa,Rn.pad=function(e,t,n){e=ys(e);var r=(t=fs(t))?fn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Wo(ft(o),n)+e+Wo(ht(o),n)},Rn.padEnd=function(e,t,n){e=ys(e);var r=(t=fs(t))?fn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return wn(e+i*(t-e+dt("1e-"+((i+"").length-1))),t)}return Kr(e,t)},Rn.reduce=function(e,t,n){var r=Ua(e)?Zt:Yt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Rn.reduceRight=function(e,t,n){var r=Ua(e)?It:Yt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Rn.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:fs(t),Yr(ys(e),t)},Rn.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Rn.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++rf)return[];var n=m,r=wn(e,m);t=ci(t),e-=m;for(var o=Xt(r,t);++n=a)return e;var l=n-fn(r);if(l<1)return r;var c=s?ko(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),is(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=Me(i.source,ys(ge.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(co(i),l)!=l){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},Rn.unescape=function(e){return(e=ys(e))&&$.test(e)?e.replace(K,vn):e},Rn.uniqueId=function(e){var t=++De;return ys(e)+t},Rn.upperCase=Ys,Rn.upperFirst=$s,Rn.each=ya,Rn.eachRight=wa,Rn.first=qi,sl(Rn,function(){var e={};return xr(Rn,(function(t,n){Te.call(Rn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Rn.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Rn[e].placeholder=Rn})),Pt(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===o?1:Kt(fs(n),0);var r=this.__filtered__&&!t?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(rl)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=$r((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return _r(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Ta(ci(e)))},Un.prototype.slice=function(e,t){e=fs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=fs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(m)},xr(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Rn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Rn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Un,c=s[0],u=l||Ua(t),d=function(e){var t=i.apply(Rn,Dt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,g=l&&!h;if(!a&&u){t=g?t:new Un(this);var m=e.apply(t,s);return m.__actions__.push({func:ha,args:[d],thisArg:o}),new Fn(m,p)}return f&&g?e.apply(this,s):(m=this.thru(d),f?r?m.value()[0]:m.value():m)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=_e[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Rn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ua(o)?o:[],e)}return this[n]((function(n){return t.apply(Ua(n)?n:[],e)}))}})),xr(Un.prototype,(function(e,t){var n=Rn[t];if(n){var r=n.name+"";Te.call(zn,r)||(zn[r]=[]),zn[r].push({name:t,func:n})}})),zn[Vo(o,2).name]=[{name:"wrapper",func:o}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=_o(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_o(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_o(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ua(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Rn.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Bi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Rn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:o}),new Fn(t,this.__chain__)}return this.thru(ea)},Rn.prototype.toJSON=Rn.prototype.valueOf=Rn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Rn.prototype.first=Rn.prototype.head,Xe&&(Rn.prototype[Xe]=function(){return this}),Rn}();gt._=yn,(r=function(){return yn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},72034:(e,t,n)=>{var r=n(68950),o=n(56025),i=n(53849),a=n(93629);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},37702:(e,t,n)=>{var r=n(32526),o=n(15358),i=n(56025);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},29627:(e,t,n)=>{var r=n(43079),o=n(81954),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},18559:(e,t,n)=>{var r=n(43079),o=n(81954),i=n(56025);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},49151:(e,t,n)=>{var r=n(78059);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},66452:(e,t,n)=>{var r=n(43079),o=n(92580),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},43638:(e,t,n)=>{var r=n(43079),o=n(56025),i=n(92580);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},19694:e=>{e.exports=function(){}},50072:(e,t,n)=>{var r=n(97009);e.exports=function(){return r.Date.now()}},10038:(e,t,n)=>{var r=n(9586),o=n(4084),i=n(25823),a=n(69793);e.exports=function(e){return i(e)?r(a(e)):o(e)}},66222:(e,t,n)=>{var r=n(56381)();e.exports=r},14064:(e,t,n)=>{var r=n(47897),o=n(56025),i=n(59204),a=n(93629),s=n(3195);e.exports=function(e,t,n){var l=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},64286:(e,t,n)=>{var r=n(55182),o=n(93226),i=n(58794),a=n(3195),s=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=s},68174:e=>{e.exports=function(){return[]}},49488:e=>{e.exports=function(){return!1}},33038:(e,t,n)=>{var r=n(48573),o=n(8092);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},91495:(e,t,n)=>{var r=n(42582),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},39753:(e,t,n)=>{var r=n(91495);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},42582:(e,t,n)=>{var r=n(20821),o=n(8092),i=n(70152),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},63518:(e,t,n)=>{var r=n(2446);e.exports=function(e){return null==e?"":r(e)}},66339:(e,t,n)=>{var r=n(56025),o=n(39602);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},52085:(e,t,n)=>{var r=n(10322)("toUpperCase");e.exports=r},76795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(1413),o=n(45987),i=n(72791);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;nBoolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim()},s=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,n)=>n?n.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const c=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],u=(0,i.forwardRef)(((e,t)=>{let{color:n="currentColor",size:s=24,strokeWidth:u=2,absoluteStrokeWidth:d,className:p="",children:h,iconNode:f}=e,g=(0,o.Z)(e,c);return(0,i.createElement)("svg",(0,r.Z)((0,r.Z)((0,r.Z)({ref:t},l),{},{width:s,height:s,stroke:n,strokeWidth:d?24*Number(u)/Number(s):u,className:a("lucide",p)},!h&&!(e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(g)&&{"aria-hidden":"true"}),g),[...f.map((e=>{let[t,n]=e;return(0,i.createElement)(t,n)})),...Array.isArray(h)?h:[h]])})),d=["className"],p=(e,t)=>{const n=(0,i.forwardRef)(((n,l)=>{let{className:c}=n,p=(0,o.Z)(n,d);return(0,i.createElement)(u,(0,r.Z)({ref:l,iconNode:t,className:a("lucide-".concat((h=s(e),h.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),"lucide-".concat(e),c)},p));var h}));return n.displayName=s(e),n}},80888:(e,t,n)=>{"use strict";var r=n(79047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},52007:(e,t,n)=>{e.exports=n(80888)()},79047:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},42087:function(e){var t;t=function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=166)}([function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";function r(e,t){return this._row=[],this.config=e||{},this.supplements=t,this}var o=n(3);r.prototype._nextUnset=function(e,t){var n;for(void 0===t&&(t=0),n=t;nn)return Number.MAX_VALUE;s+=l}return s/u},r.prototype._nextSet=function(e,t){var n;for(n=t=t||0;n1&&(e[n[r]]=o)},r.prototype._matchTrace=function(e,t){var n,r=[],o=this,i=o._nextSet(o._row),a=!o._row[i],s=0,l={error:Number.MAX_VALUE,code:-1,start:0};if(e){for(n=0;n=0;r--)t=Math.floor(Math.random()*r),n=e[r],e[r]=e[t],e[t]=n;return e},toPointList:function(e){var t,n,r=[],o=[];for(t=0;t=t&&o.push(e[r]);return o},maxIndex:function(e){var t,n=0;for(t=0;te[n]&&(n=t);return n},max:function(e){var t,n=0;for(t=0;tn&&(n=e[t]);return n},sum:function(e){for(var t=e.length,n=0;t--;)n+=e[t];return n}}},function(e,t,n){"use strict";function r(e,t){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach((function(t){e[t]=r.CONFIG_KEYS[t].default})),e}(),e),a.a.call(this,e,t)}var o=n(28),i=n.n(o),a=n(1),s=Object.assign||function(e){for(var t=1;ta.AVG_CODE_ERROR?null:u}i[++c]=1,l=!l}return null},r.prototype._findPattern=function(e,t,n,r,o){var i,a,s,l,c=[],u=this,d=0,p={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(t||(t=u._nextSet(u._row)),void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===o&&(o=u.AVG_CODE_ERROR),i=0;i=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start))=i.CODE_G_START?(e.code=e.code-i.CODE_G_START,a|=1<<5-r):a|=0<<5-r,t.push(e.code),n.push(e)}if(null===(o=i._calculateFirstDigit(a)))return null;if(t.unshift(o),null===(e=i._findPattern(i.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<6;r++){if(!(e=i._decodeCode(e.end,i.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},r.prototype._decode=function(){var e,t,n=this,r=[],o=[],i={};if(!(e=n._findStart()))return null;if(t={code:e.code,start:e.start,end:e.end},o.push(t),!(t=n._decodePayload(t,r,o)))return null;if(!(t=n._findEnd(t.end,!1)))return null;if(o.push(t),!n._checksum(r))return null;if(this.supplements.length>0){var a=this._decodeExtensions(t.end);if(!a)return null;var l=a.decodedCodes[a.decodedCodes.length-1],c={start:l.start+((l.end-l.start)/2|0),end:l.end};if(!n._verifyTrailingWhitespace(c))return null;i={supplement:a,code:r.join("")+a.code}}return s({code:r.join(""),start:e.start,end:t.end,codeset:"",startInfo:e,decodedCodes:o},i)},r.prototype._decodeExtensions=function(e){var t,n,r=this._nextSet(this._row,e),o=this._findPattern(this.EXTENSION_START_PATTERN,r,!1,!1);if(null===o)return null;for(t=0;t=0;t-=2)n+=e[t];for(n*=3,t=e.length-1;t>=0;t-=2)n+=e[t];return n%10==0},r.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},t.a=r},function(e,t,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=new Float32Array(2);return t[0]=e[0],t[1]=e[1],t}},function(e,t,n){var r=n(11),o=n(119),i=n(146),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";t.a={drawRect:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=1,n.beginPath(),n.strokeRect(e.x,e.y,t.x,t.y)},drawPath:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=r.lineWidth,n.beginPath(),n.moveTo(e[0][t.x],e[0][t.y]);for(var o=1;o-1&&e%1==0&&e>o]++;return i}(e,t),c=1;c0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},t.f=function(e,t){var n=r(e);return function(e,t,n){n||(n=e);for(var r=e.data,o=r.length,i=n.data;o--;)i[o]=r[o]l)for((i=c[s]).score=o,i.item=e[r],l=Number.MAX_VALUE,a=0;a0&&(n=Math.abs(e[t]-h)>Math.abs(e[t-1]-h)?e[t-1]:e[t]),h/nc[d-1]/c[d]?{x:n,y:n}:null}var r,i=o(t.x),a=o(t.y),s=Math.max(t.x,t.y),l=function(e,t){for(var n=0,r=0,o=[];nt[r]?r++:n++;return o}(i,a),c=[8,10,15,20,32,60,80],u={"x-small":5,small:4,medium:3,large:2,"x-large":1},d=u[e]||u.medium,p=c[d],h=Math.floor(s/p);return(r=n(l))||(r=n(o(s)))||(r=n(o(h*p))),r},t.j=function(e,t,n){var r={width:e,height:t},o=Object.keys(n).reduce((function(e,t){var o=function(e){return{value:parseFloat(e),unit:(e.indexOf("%"),e.length,"%")}}(n[t]),i=c[t](o,r);return e[t]=i,e}),{});return{sx:o.left,sy:o.top,sw:o.right-o.left,sh:o.bottom-o.top}};var s={clone:n(7)},l={clone:n(83)},c={top:function(e,t){if("%"===e.unit)return Math.floor(t.height*(e.value/100))},right:function(e,t){if("%"===e.unit)return Math.floor(t.width-t.width*(e.value/100))},bottom:function(e,t){if("%"===e.unit)return Math.floor(t.height-t.height*(e.value/100))},left:function(e,t){if("%"===e.unit)return Math.floor(t.width*(e.value/100))}}},function(e,t,n){"use strict";function r(e,t,n,r){t?this.data=t:n?(this.data=new n(e.x*e.y),n===Array&&r&&a.a.init(this.data,0)):(this.data=new Uint8Array(e.x*e.y),Uint8Array===Array&&r&&a.a.init(this.data,0)),this.size=e}var o=n(53),i=n(19),a=n(3),s={clone:n(7)};r.prototype.inImageWithBorder=function(e,t){return e.x>=t&&e.y>=t&&e.x0&&((a=g[r-1]).m00+=1,a.m01+=n,a.m10+=t,a.m11+=t*n,a.m02+=o,a.m20+=t*t);for(i=0;i=0?y:-y)+v,a.theta=(180*d/v+90)%180-90,a.theta<0&&(a.theta+=180),a.rad=d>v?d-v:d,a.vec=s.clone([Math.cos(d),Math.sin(d)]),m.push(a));return m},r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,l=0;l360)&&(t=360);for(var o=[0,1,1],a=[0,0,0],s=[255,255,255],l=[0,0,0],c=[],u=e.getContext("2d"),d=u.getImageData(r.x,r.y,this.size.x,this.size.y),p=d.data,h=this.data.length;h--;)o[0]=this.data[h]*t,c=o[0]<=0?s:o[0]>=360?l:n.i(i.a)(o,a),p[4*h+0]=c[0],p[4*h+1]=c[1],p[4*h+2]=c[2],p[4*h+3]=255;u.putImageData(d,r.x,r.y)},t.a=r},function(e,t,n){var r=n(37);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(97),o=n(120);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(27),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(8),o=n(0),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(8),o=n(6),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(100),o=n(116)((function(e,t,n){r(e,t,n)}));e.exports=o},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";t.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(e,t){function n(e,t,n,r){var o,u,d;for(o=0;o<7;o++){if(u=e.cy+l[e.dir][0],d=e.cx+l[e.dir][1],a[i=u*c+d]===t&&(0===s[i]||s[i]===n))return s[i]=n,e.cy=u,e.cx=d,!0;0===s[i]&&(s[i]=r),e.dir=(e.dir+1)%8}return!1}function r(e,t,n){return{dir:n,x:e,y:t,next:null,prev:null}}function o(e,t,o,i,a){var s,l,c,u=null,d={cx:t,cy:e,dir:0};if(n(d,i,o,a)){s=u=r(t,e,d.dir),c=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l;do{d.dir=(d.dir+6)%8,n(d,i,o,a),c!==d.dir?(s.dir=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l):(s.dir=c,s.x=d.cx,s.y=d.cy),c=d.dir}while(d.cx!==t||d.cy!==e);u.prev=s.prev,s.prev.next=u}return u}var i,a=e.data,s=t.data,l=this.searchDirections,c=e.size.x;return{trace:function(e,t,r,o){return n(e,t,r,o)},contourTracing:function(e,t,n,r,i){return o(e,t,n,r,i)}}}}},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var e,t,n,r,o=this,a=[0,0,0,0,0,0,0,0,0],s=[],l=o._findStart();if(!l)return null;r=o._nextSet(o._row,l.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((e=o._patternToChar(n))<0)return null;s.push(e),t=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==e);return s.pop(),s.length&&o._verifyTrailingWhitespace(t,r,a)?{code:s.join(""),start:l.start,end:r,startInfo:l,decodedCodes:s}:null},r.prototype._verifyTrailingWhitespace=function(e,t,n){var r=i.a.sum(n);return 3*(t-e-r)>=r},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;tt&&(r=e[n]);return r},r.prototype._toPattern=function(e){for(var t,n,r=e.length,o=0,i=r,a=0;i>3;){for(o=this._findNextWidth(e,o),i=0,t=0,n=0;no&&(t|=1<0;n++)if(e[n]>o&&(i--,2*e[n]>=a))return-1;return t}}return-1},r.prototype._findStart=function(){var e,t,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0,0,0,0],s=0,l=!1;for(e=o;e0)for(n=0;n0){if(!(e=H.filter((function(e){return!e.busy}))[0]))return;x.attachData(e.imageData)}else x.attachData(k.data);x.grab()&&(e?(e.busy=!0,e.worker.postMessage({cmd:"process",imageData:e.imageData},[e.imageData.buffer])):d())}else d()}function h(){F&&"LiveStream"===U.inputStream.type?function(){var e=null,t=1e3/(U.frequency||60);b=!1,function n(r){e=e||r,b||(r>=e&&(e+=t,p()),window.requestAnimFrame(n))}(performance.now())}():p()}function f(e){var t,n={worker:void 0,imageData:new Uint8Array(w.getWidth()*w.getHeight()),busy:!0};t=v(),n.worker=new Worker(t),n.worker.onmessage=function(r){if("initialized"===r.data.event)return URL.revokeObjectURL(t),n.busy=!1,n.imageData=new Uint8Array(r.data.imageData),e(n);"processed"===r.data.event?(n.imageData=new Uint8Array(r.data.imageData),n.busy=!1,u(r.data.result,n.imageData)):r.data.event},n.worker.postMessage({cmd:"init",size:{x:w.getWidth(),y:w.getHeight()},imageData:n.imageData,config:g(U)},[n.imageData.buffer])}function g(e){return B({},e,{inputStream:B({},e.inputStream,{target:null})})}function m(e){function t(e){self.postMessage({event:"processed",imageData:o.data,result:e},[o.data.buffer])}function n(){self.postMessage({event:"initialized",imageData:o.data},[o.data.buffer])}if(e){var r=e().default;if(!r)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var o;self.onmessage=function(e){if("init"===e.data.cmd){var i=e.data.config;i.numOfWorkers=0,o=new r.ImageWrapper({x:e.data.size.x,y:e.data.size.y},new Uint8Array(e.data.imageData)),r.init(i,n,o),r.onProcessed(t)}else"process"===e.data.cmd?(o.data=new Uint8Array(e.data.imageData),r.start()):"setReaders"===e.data.cmd&&r.setReaders(e.data.readers)}}function v(){var t,n;return void 0!==e&&(n=e),t=new Blob(["("+m.toString()+")("+n+");"],{type:"text/javascript"}),window.URL.createObjectURL(t)}function y(e,t){var n=e-H.length;if(0===n)return t&&t();if(n<0)return H.slice(n).forEach((function(e){e.worker.terminate()})),H=H.slice(0,n),t&&t();for(var r=function(n){H.push(n),H.length>=e&&t&&t()},o=0;o0&&H.forEach((function(t){t.worker.postMessage({cmd:"setReaders",readers:e})}))}(e)},registerResultCollector:function(e){e&&"function"==typeof e.addResult&&(A=e)},canvas:V,decodeSingle:function(e,t){var n=this;e=M()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:e.src},numOfWorkers:1,locator:{halfSample:!1}},e),this.init(e,(function(){E.a.once("processed",(function(e){n.stop(),t.call(null,e)}),!0),h()}))},ImageWrapper:P.a,ImageDebug:L.a,ResultCollector:T.a,CameraAccess:O.a}},function(e,t,n){"use strict";var r=n(9);t.a={create:function(e){function t(t){return a&&t&&!function(e,t){return!!t&&t.some((function(t){return Object.keys(t).every((function(n){return t[n]===e[n]}))}))}(t,e.blacklist)&&function(e,t){return"function"!=typeof t||t(e)}(t,e.filter)}var n=document.createElement("canvas"),o=n.getContext("2d"),i=[],a=e.capacity||20,s=!0===e.capture;return{addResult:function(e,l,c){var u={};t(c)&&(a--,u.codeResult=c,s&&(n.width=l.x,n.height=l.y,r.a.drawImage(e,l,o),u.frame=n.toDataURL()),i.push(u))},getResults:function(){return i}}}}},function(e,t,n){"use strict";var r={clone:n(7),dot:n(32)};t.a={create:function(e,t){function n(e){s[e.id]=e,i.push(e)}function o(){var e,t=0;for(e=0;et},getPoints:function(){return i},getCenter:function(){return a}}},createPoint:function(e,t,n){return{rad:e[n],point:e,id:t}}}},function(e,t,n){"use strict";t.a=function(){function e(e){return o[e]||(o[e]={subscribers:[]}),o[e]}function t(){o={}}function n(e,t){e.async?setTimeout((function(){e.callback(t)}),4):e.callback(t)}function r(t,n,r){var o;if("function"==typeof n)o={callback:n,async:r};else if(!(o=n).callback)throw"Callback was not specified on options";e(t).subscribers.push(o)}var o={};return{subscribe:function(e,t,n){return r(e,t,n)},publish:function(t,r){var o=e(t),i=o.subscribers;i.filter((function(e){return!!e.once})).forEach((function(e){n(e,r)})),o.subscribers=i.filter((function(e){return!e.once})),o.subscribers.forEach((function(e){n(e,r)}))},once:function(e,t,n){r(e,{callback:t,async:n,once:!0})},unsubscribe:function(n,r){var o;n?(o=e(n)).subscribers=o&&r?o.subscribers.filter((function(e){return e.callback!==r})):[]:t()}}}()},function(e,t,n){"use strict";t.b=function(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},t.a=function(e){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(e):Promise.reject(new Error("getUserMedia is not defined"))}},function(e,t,n){"use strict";function r(e,t,n){n||(n={data:null,size:t}),this.data=n.data,this.originalSize=n.size,this.I=n,this.from=e,this.size=t}r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,a=0;a>>16&65535)*r+n*(t>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n1&&(!t.inImageWithBorder(e[0],0)||!t.inImageWithBorder(e[1],0));)o(-(r-=Math.ceil(r/2)));return e}function i(e){var n,o=null,i=r.a.getBarcodeLine(t,e[0],e[1]);for(r.a.toBinaryLine(i),n=0;nb?d:b,v.push(d)}var o,i,a,s,l,c,u,d,p=0|t.x,h=0|t.y,f=0|n.x,g=0|n.y,m=Math.abs(g-h)>Math.abs(f-p),v=[],y=e.data,w=e.size.x,x=255,b=0;for(m&&(c=p,p=h,h=c,c=f,f=g,g=c),p>f&&(c=p,p=f,f=c,c=h,h=g,g=c),o=f-p,i=Math.abs(g-h),a=o/2|0,l=h,s=hd?o.UP:o.DOWN,p.push({pos:0,val:u[0]}),a=0;ah&&u[a+1]>.5*d?o.UP:r)&&(p.push({pos:a,val:u[a]}),r=i);for(p.push({pos:u.length,val:u[u.length-1]}),s=p[0].pos;sd?0:1;for(a=1;ap[a].val?p[a].val+(p[a+1].val-p[a].val)/3*2|0:p[a+1].val+(p[a].val-p[a+1].val)/3|0,s=p[a].pos;sh?0:1;return{line:u,threshold:h}},r.debug={printFrequency:function(e,t){var n,r=t.getContext("2d");for(t.width=e.length,t.height=256,r.beginPath(),r.strokeStyle="blue",n=0;n0?e.videoWidth>10&&e.videoHeight>10?t():window.setTimeout(o,500):n("Unable to play video stream. Is webcam working?"),r--}()}))}function o(e,t){return n.i(u.a)(t).then((function(t){return new Promise((function(n){s=t,e.setAttribute("autoplay",!0),e.setAttribute("muted",!0),e.setAttribute("playsinline",!0),e.srcObject=t,e.addEventListener("loadedmetadata",(function(){e.play(),n()}))}))})).then(r.bind(null,e))}function i(e){var t=c()(e,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==e.minAspectRatio&&e.minAspectRatio>0&&(t.aspectRatio=e.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==e.facing&&(t.facingMode=e.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),t}function a(){if(s){var e=s.getVideoTracks();if(e&&e.length)return e[0]}}var s,l=n(162),c=n.n(l),u=n(52);t.a={request:function(e,t){return function(e){var t={audio:!1,video:i(e)};return t.video.deviceId&&t.video.facingMode&&delete t.video.facingMode,Promise.resolve(t)}(t).then(o.bind(null,e))},release:function(){var e=s&&s.getVideoTracks();e&&e.length&&e[0].stop(),s=null},enumerateVideoDevices:function(){return n.i(u.b)().then((function(e){return e.filter((function(e){return"videoinput"===e.kind}))}))},getActiveStreamLabel:function(){var e=a();return e?e.label:""},getActiveTrack:a}},function(e,t,n){"use strict";function r(e){return new Promise((function(t){var n=new FileReader;n.onload=function(e){return t(e.target.result)},n.readAsArrayBuffer(e)}))}function o(e,t,n){if("Exif"!==function(e,t,n){for(var r="",o=t;o1&&void 0!==arguments[1]?arguments[1]:s;return/^blob\:/i.test(e)?function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE||200!==r.status&&0!==r.status||t(this.response)},r.onerror=n,r.send()}))}(e).then(r).then((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=new DataView(e),r=e.byteLength,i=t.reduce((function(e,t){var n=Object.keys(a).filter((function(e){return a[e]===t}))[0];return n&&(e[n]=t),e}),{}),l=2;if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(;l1?i.size:Math.floor(t/o*i.size):t,r=i.size?t/o>1?Math.floor(o/t*i.size):i.size:o,c.x=n,c.y=r}var n,r,o={},i=null,a=["canrecord","ended"],s={},l={x:0,y:0},c={x:0,y:0};return o.getRealWidth=function(){return e.videoWidth},o.getRealHeight=function(){return e.videoHeight},o.getWidth=function(){return n},o.getHeight=function(){return r},o.setWidth=function(e){n=e},o.setHeight=function(e){r=e},o.setInputStream=function(t){i=t,e.src=void 0!==t.src?t.src:""},o.ended=function(){return e.ended},o.getConfig=function(){return i},o.setAttribute=function(t,n){e.setAttribute(t,n)},o.pause=function(){e.pause()},o.play=function(){e.play()},o.setCurrentTime=function(t){"LiveStream"!==i.type&&(e.currentTime=t)},o.addEventListener=function(t,n,r){-1!==a.indexOf(t)?(s[t]||(s[t]=[]),s[t].push(n)):e.addEventListener(t,n,r)},o.clearEventHandlers=function(){a.forEach((function(t){var n=s[t];n&&n.length>0&&n.forEach((function(n){e.removeEventListener(t,n)}))}))},o.trigger=function(e,n){var r,i=s[e];if("canrecord"===e&&t(),i&&i.length>0)for(r=0;r1?a.size:Math.floor(s/l*a.size):s,o=a.size?s/l>1?Math.floor(l/s*a.size):a.size:l,x.x=n,x.y=o,d=!0,c=0,setTimeout((function(){t("canrecord",[])}),0)}),f,h,a.sequence)}function t(e,t){var n,r=y[e];if(r&&r.length>0)for(n=0;nd&&(d=o.box[r][0]),o.box[r][1]p&&(p=o.box[r][1]);for(a=[[c,u],[d,u],[d,p],[c,p]],s=l.halfSample?2:1,i=M.invert(i,i),r=0;r<4;r++)S.transformMat2(a[r],a[r],i);for(r=0;r<4;r++)S.scale(a[r],a[r],s);return a}function i(e){var t=n.i(b.g)(e,.9),r=n.i(b.h)(t,1,(function(e){return e.getPoints().length})),o=[],i=[];if(1===r.length){o=r[0].item.getPoints();for(var a=0;a=2){for(o=0;op&&c.push(e[o]);if(c.length>=2){for(s=i(c),a=0,o=0;o1&&s.length>=c.length/4*3&&s.length>e.length/4&&(a/=s.length,l={index:t[1]*P.x+t[0],pos:{x:n,y:r},box:[S.clone([n,r]),S.clone([n+d.size.x,r]),S.clone([n+d.size.x,r+d.size.y]),S.clone([n,r+d.size.y])],moments:s,rad:a,vec:S.clone([Math.cos(a),Math.sin(a)])},u.push(l))}}return u}var l,c,u,d,p,h,f,g,m,v,y,w,x=n(20),b=n(19),k=n(3),j=(n(9),n(65)),C=n(30),A=n(66),S={clone:n(7),dot:n(32),scale:n(81),transformMat2:n(82)},M={copy:n(78),create:n(79),invert:n(80)},N={ctx:{binary:null},dom:{binary:null}},P={x:0,y:0};t.a={init:function(e,t){l=t,y=e,r(),l.useWorker||"undefined"==typeof document||(N.dom.binary=document.createElement("canvas"),N.dom.binary.className="binaryBuffer",N.ctx.binary=N.dom.binary.getContext("2d"),N.dom.binary.width=m.size.x,N.dom.binary.height=m.size.y)},locate:function(){var e,t;if(l.halfSample&&n.i(b.i)(y,c),n.i(b.f)(c,m),m.zeroBorder(),e=function(){var e,t,n,r,o,i,l=[];for(e=0;ea&&n(s):f.data[s]=Number.MAX_VALUE}var r,o,i=0,a=.95,s=0;for(k.a.init(h.data,0),k.a.init(f.data,0),k.a.init(g.data,null),r=0;r0&&r[f.data[n]-1]++;return r=r.map((function(e,t){return{val:e,label:t+1}})),r.sort((function(e,t){return t.val-e.val})),r.filter((function(e){return e.val>=5}))}(r),0===t.length?null:function(e,t){var n,r,i,a,s=[],l=[];for(n=0;n0){a=a-1|0;r[n+a|0]=(r[e+a|0]|0)-(r[t+a|0]|0)|0}}function l(e,t,n){e=e|0;t=t|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=r[e+a|0]|0|(r[t+a|0]|0)|0}}function c(e){e=e|0;var t=0,n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;t=(t|0)+(r[e+n|0]|0)|0}return t|0}function u(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[e+n|0]=t}}function d(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,l=0,c=0,u=0,d=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){d=d+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=d-o|0;l=d+o|0;c=i-1|0;u=i+1|0;a=(r[e+s+c|0]|0)+(r[e+s+u|0]|0)+(r[e+d+i|0]|0)+(r[e+l+c|0]|0)+(r[e+l+u|0]|0)|0;if((a|0)>(0|0)){r[t+d+i|0]=1}else{r[t+d+i|0]=0}}}return}function p(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[t+n|0]=r[e+n|0]|0}}function h(e){e=e|0;var t=0,n=0;for(t=0;(t|0)<(o-1|0);t=t+1|0){r[e+t|0]=0;r[e+n|0]=0;n=n+o-1|0;r[e+n|0]=0;n=n+1|0}for(t=0;(t|0)<(o|0);t=t+1|0){r[e+n|0]=0;n=n+1|0}}function f(){var e=0,t=0,n=0,r=0,f=0,g=0;t=i(o,o)|0;n=t+t|0;r=n+t|0;u(r,0);h(e);do{a(e,t);d(t,n);s(e,n,n);l(r,n,r);p(t,e);f=c(e)|0;g=(f|0)==0|0}while(!g)}return{skeletonize:f}}},function(e,t,n){"use strict";function r(e){o.a.call(this,e),this.barSpaceRatio=[1,1]}var o=n(1),i={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},a=i.START_PATTERN.value.reduce((function(e,t){return e+t}),0);r.prototype=Object.create(o.a.prototype,i),r.prototype.constructor=r,r.prototype._findPattern=function(e,t,n,r){var o,i,a,s,l=[],c=this,u=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0},p=c.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,t||(t=c._nextSet(c._row)),o=0;o=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)1&&i._isStartEnd(n))break}while(ri._counters.length?i._counters.length:r,o=e.start+i._sumCounters(e.startCounter,r-8),{code:a.join(""),start:e.start,end:o,startInfo:e,decodedCodes:a}):null},r.prototype._verifyWhitespace=function(e,t){return(e-1<=0||this._counters[e-1]>=this._calculatePatternLength(e)/2)&&(t+8>=this._counters.length||this._counters[t+7]>=this._calculatePatternLength(t)/2)},r.prototype._calculatePatternLength=function(e){var t,n=0;for(t=e;t=0;i--)n=2==(1&i)?l.bar:l.space,(r=1==(1&a)?n.wide:n.narrow).size+=s._counters[c+i],r.counts++,a>>=1;c+=8}return["space","bar"].forEach((function(e){var t=l[e];t.wide.min=Math.floor((t.narrow.size/t.narrow.counts+t.wide.size/t.wide.counts)/2),t.narrow.max=Math.ceil(t.wide.min),t.wide.max=Math.ceil((t.wide.size*s.MAX_ACCEPTABLE+s.PADDING)/t.wide.counts)})),l},r.prototype._charToPattern=function(e){var t,n=this,r=e.charCodeAt(0);for(t=0;t=0;r--){if(o=0==(1&r)?c.bar:c.space,i=1==(1&s)?o.wide:o.narrow,(a=l._counters[u+r])i.max)return!1;s>>=1}u+=8}return!0},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;ti&&(i=r),rthis._counters.length)return-1;for(t=this._computeAlternatingThreshold(e,i),n=this._computeAlternatingThreshold(e+1,i),r=0;r<7;r++)o=0==(1&r)?t:n,this._counters[e+r]>o&&(s|=a),a>>=1;return s},r.prototype._isStartEnd=function(e){var t;for(t=0;ts.AVG_CODE_ERROR?null:(s.CODE_PATTERN[d.code]&&(d.correction.bar=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.bar),d.correction.space=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.space)),d)}a[++u]=1,c=!c}return null},r.prototype._correct=function(e,t){this._correctBars(e,t.bar,this.MODULE_INDICES.bar),this._correctBars(e,t.space,this.MODULE_INDICES.space)},r.prototype._findStart=function(){var e,t,n,r,i,a=[0,0,0,0,0,0],s=this,l=s._nextSet(s._row),c=!1,u=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(e=l;e4)return-1;if(0==(1&i))for(var s=0;s="a"&&o<="d"){if(r>t-2)return null;var i=e[++r],a=i.charCodeAt(0),s=void 0;switch(o){case"a":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a-64);break;case"b":if(i>="A"&&i<="E")s=String.fromCharCode(a-38);else if(i>="F"&&i<="J")s=String.fromCharCode(a-11);else if(i>="K"&&i<="O")s=String.fromCharCode(a+16);else if(i>="P"&&i<="S")s=String.fromCharCode(a+43);else{if(!(i>="T"&&i<="Z"))return null;s=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")s=String.fromCharCode(a-32);else{if("Z"!==i)return null;s=":"}break;case"d":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a+32)}n.push(s)}else n.push(o)}return n},r.prototype._verifyChecksums=function(e){return this._matchCheckChar(e,e.length-2,20)&&this._matchCheckChar(e,e.length-1,15)},r.prototype._matchCheckChar=function(e,t,n){var r=this,o=e.slice(0,t),i=o.length,a=o.reduce((function(e,t,o){return e+((-1*o+(i-1))%n+1)*r.ALPHABET.indexOf(t.charCodeAt(0))}),0);return this.ALPHABET[a%47]===e[t].charCodeAt(0)},t.a=r},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,o=0,i=t,a=this._row.length,s=[],l=[];for(o=0;o<2&&i=this.CODE_G_START&&(r|=1<<1-o),1!=o&&(i=this._nextSet(this._row,n.end),i=this._nextUnset(this._row,i))}return 2!=s.length||parseInt(s.join(""))%4!==r?null:{code:s.join(""),decodedCodes:l,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(){i.a.call(this)}function o(e){var t;for(t=0;t<10;t++)if(e===a[t])return t;return null}var i=n(4),a=[24,20,18,17,12,6,3,10,9,5];r.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,i=0,a=t,s=this._row.length,l=[],c=[];for(i=0;i<5&&a=this.CODE_G_START&&(r|=1<<4-i),4!=i&&(a=this._nextSet(this._row,n.end),a=this._nextUnset(this._row,a))}return 5!=l.length||function(e){var t,n=e.length,r=0;for(t=n-2;t>=0;t-=2)r+=e[t];for(r*=3,t=n-1;t>=0;t-=2)r+=e[t];return(r*=3)%10}(l)!==o(r)?null:{code:l.join(""),decodedCodes:c,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(e,t){o.a.call(this,e,t)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(e,t,n){var r,o=this;for(r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;t.push(e.code),n.push(e)}if(null===(e=o._findPattern(o.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},t.a=r},function(e,t,n){"use strict";function r(e){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach((function(t){e[t]=r.CONFIG_KEYS[t].default})),e}(),e),a.a.call(this,e),this.barSpaceRatio=[1,1],e.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var o=n(28),i=n.n(o),a=n(1),s={START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}};r.prototype=Object.create(a.a.prototype,s),r.prototype.constructor=r,r.prototype._matchPattern=function(e,t){if(this.config.normalizeBarSpaceWidth){var n,r=[0,0],o=[0,0],i=[0,0],s=this.MAX_CORRECTION_FACTOR,l=1/s;for(n=0;n=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)=o.CODE_G_START&&(e.code=e.code-o.CODE_G_START,i|=1<<5-r),t.push(e.code),n.push(e)}return o._determineParity(i,t)?e:null},r.prototype._determineParity=function(e,t){var n,r;for(r=0;r0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(117)();e.exports=r},function(e,t,n){var r=n(13),o=n(23);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1}},function(e,t,n){var r=n(12);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(84),o=n(10),i=n(33);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(14);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(14);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(161),o=500;e.exports=function(e){var t=r(e,(function(e){return n.size===o&&n.clear(),e})),n=t.cache;return t}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(38),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(t,n(29)(e))},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(10);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(10),o=n(33),i=n(34),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length{"use strict";var r=n(72791),o=n(45296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n