From 4af5e57f6be80eeca1d86728e65c30705d7568f1 Mon Sep 17 00:00:00 2001 From: "charly.garcia" Date: Fri, 29 Dec 2023 16:08:10 -0300 Subject: [PATCH] feature: change the copy --- apps/eo_web/dist/assets/{main-090c84e2.js => main-bcfa5b28.js} | 2 +- apps/eo_web/dist/manifest.json | 2 +- apps/eo_web/src/copy/copy.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename apps/eo_web/dist/assets/{main-090c84e2.js => main-bcfa5b28.js} (96%) diff --git a/apps/eo_web/dist/assets/main-090c84e2.js b/apps/eo_web/dist/assets/main-bcfa5b28.js similarity index 96% rename from apps/eo_web/dist/assets/main-090c84e2.js rename to apps/eo_web/dist/assets/main-bcfa5b28.js index bbdc24d8..c2dd7a1c 100644 --- a/apps/eo_web/dist/assets/main-090c84e2.js +++ b/apps/eo_web/dist/assets/main-bcfa5b28.js @@ -118,4 +118,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${r?"pointer-events-none bg-gray-200":""}`,n)}),children:[b("input",{ref:f,...h(),className:"w-full",...c,disabled:r}),t||q("div",{className:"flex flex-col justify-center items-center",children:[b("img",{src:Khe,className:"h-12 w-12 text-gray-300",alt:"Upload Icon"}),q("div",{className:"mt-4 flex flex-col text-sm leading-6 text-neutrals-medium-400",children:[q("div",{className:"flex",children:[b("span",{className:"relative cursor-pointer rounded-md bg-white font-semibold text-neutrals-medium-400",children:"Click to upload"}),b("p",{className:"pl-1",children:"or drag and drop"})]}),b("div",{className:"text-xs leading-5 text-neutrals-medium-400",children:"PNG, JPG or GIF image."})]})]}),r&&b(xR,{})]}),!i&&b(ol,{message:s,error:o})]})});Xhe.displayName="Dropzone";const Rc=({label:e,containerClassName:t,className:r,...n})=>b("div",{className:Me("flex",t),children:typeof e!="string"?e:b("label",{...n,className:Me("m-0 mr-3 text-sm font-medium leading-6 text-neutrals-dark-500",r),children:e})}),kr=Va(({className:e,compact:t,containerClassName:r,error:n,id:i,label:o,left:s,message:c,preventEventsRightIcon:f,right:d,rightWidth:h=40,style:m,type:w="text",...C},S)=>{const[E,A]=v.useState(!1);return q("div",{style:m,className:Me("relative",r),children:[!!o&&b(Rc,{htmlFor:i,className:"",label:o}),q("div",{className:Me("flex flex-row items-center rounded-md",!!C.disabled&&"opacity-30"),children:[(!!s||w==="password")&&b("div",{className:"pointer-events-none pl-3",style:{position:"absolute"},children:b($m,{size:"sm",children:s||b(He.LockIcon,{className:Me("h-32 w-32 cursor-pointer fill-gray-800 stroke-gray-800 stroke-[.2px]",!!n&&"fill-red-500 stroke-red-500"),onClick:()=>A(x=>!x)})})}),b("input",{ref:S,type:w==="password"&&E?"text":w,id:i,...C,className:Me("block h-[46px] w-full rounded-md border border-gray-200 px-2 py-3 font-nunito text-[16px] text-lg","font-normal text-gray-700 placeholder:text-primary-white-600 focus:border-secondary-green focus:ring-2","focus:ring-secondary-green-300 ","placeholder:text-[16px] placeholder:font-normal placeholder:leading-normal placeholder:text-gray-700","rounded border-solid border-gray-800",(!!s||w==="password")&&"pl-10",!!C.disabled&&"border-gray-500 bg-black-100",!!n&&"border-red-500 focus:border-red focus:ring-red-200",e),style:{paddingRight:d||w==="password"?h:void 0}}),(!!d||w==="password")&&b($m,{size:"sm",className:Me("right-0 flex flex-row items-center justify-center",`w-[${h}px]`,f?"pointer-events-none":""),style:{position:"absolute"},children:d||(E?b(He.ClosedEye,{className:Me("h-5 w-5 cursor-pointer fill-gray-800 stroke-[.2px] text-gray-800",!!n&&"fill-red-500 stroke-red-500"),onClick:()=>A(x=>!x)}):b(He.EyeIcon,{className:Me("h-5 w-5 cursor-pointer stroke-1 text-gray-800",!!n&&"stroke-red-500"),onClick:()=>A(x=>!x)}))})]}),!t&&b(ol,{message:c,error:n})]})}),Jhe=Va(({label:e,id:t,className:r,...n},i)=>q("div",{className:"flex items-center",children:[b("input",{ref:i,id:t,type:"radio",value:t,className:Me("h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600",r),...n}),b("label",{htmlFor:t,className:"ml-3 block text-sm font-medium leading-6 text-gray-900",children:e})]})),eme=new Set,Kr=new WeakMap,Is=new WeakMap,Ma=new WeakMap,Ny=new WeakMap,Vm=new WeakMap,Wm=new WeakMap,tme=new WeakSet;let Da;const qi="__aa_tgt",jy="__aa_del",rme=e=>{const t=sme(e);t&&t.forEach(r=>lme(r))},nme=e=>{e.forEach(t=>{t.target===Da&&ome(),Kr.has(t.target)&&Ac(t.target)})};function ime(e){const t=Ny.get(e);t==null||t.disconnect();let r=Kr.get(e),n=0;const i=5;r||(r=Hs(e),Kr.set(e,r));const{offsetWidth:o,offsetHeight:s}=Da,f=[r.top-i,o-(r.left+i+r.width),s-(r.top+i+r.height),r.left-i].map(h=>`${-1*Math.floor(h)}px`).join(" "),d=new IntersectionObserver(()=>{++n>1&&Ac(e)},{root:Da,threshold:1,rootMargin:f});d.observe(e),Ny.set(e,d)}function Ac(e){clearTimeout(Wm.get(e));const t=b3(e),r=typeof t=="function"?500:t.duration;Wm.set(e,setTimeout(async()=>{const n=Ma.get(e);try{await(n==null?void 0:n.finished),Kr.set(e,Hs(e)),ime(e)}catch{}},r))}function ome(){clearTimeout(Wm.get(Da)),Wm.set(Da,setTimeout(()=>{eme.forEach(e=>ume(e,t=>ame(()=>Ac(t))))},100))}function ame(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let wE;typeof window<"u"&&(Da=document.documentElement,new MutationObserver(rme),wE=new ResizeObserver(nme),wE.observe(Da));function sme(e){return e.reduce((n,i)=>[...n,...Array.from(i.addedNodes),...Array.from(i.removedNodes)],[]).every(n=>n.nodeName==="#comment")?!1:e.reduce((n,i)=>{if(n===!1)return!1;if(i.target instanceof Element){if(z4(i.target),!n.has(i.target)){n.add(i.target);for(let o=0;or(e,Vm.has(e)));for(let r=0;ri(n,Vm.has(n)))}}function cme(e){const t=Kr.get(e),r=Hs(e);if(!pw(e))return Kr.set(e,r);let n;if(!t)return;const i=b3(e);if(typeof i!="function"){const o=t.left-r.left,s=t.top-r.top,[c,f,d,h]=PR(e,t,r),m={transform:`translate(${o}px, ${s}px)`},w={transform:"translate(0, 0)"};c!==f&&(m.width=`${c}px`,w.width=`${f}px`),d!==h&&(m.height=`${d}px`,w.height=`${h}px`),n=e.animate([m,w],{duration:i.duration,easing:i.easing})}else n=new Animation(i(e,"remain",t,r)),n.play();Ma.set(e,n),Kr.set(e,r),n.addEventListener("finish",Ac.bind(null,e))}function fme(e){const t=Hs(e);Kr.set(e,t);const r=b3(e);if(!pw(e))return;let n;typeof r!="function"?n=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:r.duration*1.5,easing:"ease-in"}):(n=new Animation(r(e,"add",t)),n.play()),Ma.set(e,n),n.addEventListener("finish",Ac.bind(null,e))}function dme(e){var t;if(!Is.has(e)||!Kr.has(e))return;const[r,n]=Is.get(e);Object.defineProperty(e,jy,{value:!0}),n&&n.parentNode&&n.parentNode instanceof Element?n.parentNode.insertBefore(e,n):r&&r.parentNode?r.parentNode.appendChild(e):(t=$R(e))===null||t===void 0||t.appendChild(e);function i(){var w;e.remove(),Kr.delete(e),Is.delete(e),Ma.delete(e),(w=Ny.get(e))===null||w===void 0||w.disconnect()}if(!pw(e))return i();const[o,s,c,f]=pme(e),d=b3(e),h=Kr.get(e);let m;Object.assign(e.style,{position:"absolute",top:`${o}px`,left:`${s}px`,width:`${c}px`,height:`${f}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof d!="function"?m=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:d.duration,easing:"ease-out"}):(m=new Animation(d(e,"remove",h)),m.play()),Ma.set(e,m),m.addEventListener("finish",i)}function pme(e){const t=Kr.get(e),[r,,n]=PR(e,t,Hs(e));let i=e.parentElement;for(;i&&(getComputedStyle(i).position==="static"||i instanceof HTMLBodyElement);)i=i.parentElement;i||(i=document.body);const o=getComputedStyle(i),s=Kr.get(i)||Hs(i),c=Math.round(t.top-s.top)-fi(o.borderTopWidth),f=Math.round(t.left-s.left)-fi(o.borderLeftWidth);return[c,f,r,n]}let V1;const hme=new Uint8Array(16);function mme(){if(!V1&&(V1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!V1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return V1(hme)}const cr=[];for(let e=0;e<256;++e)cr.push((e+256).toString(16).slice(1));function vme(e,t=0){return(cr[e[t+0]]+cr[e[t+1]]+cr[e[t+2]]+cr[e[t+3]]+"-"+cr[e[t+4]]+cr[e[t+5]]+"-"+cr[e[t+6]]+cr[e[t+7]]+"-"+cr[e[t+8]]+cr[e[t+9]]+"-"+cr[e[t+10]]+cr[e[t+11]]+cr[e[t+12]]+cr[e[t+13]]+cr[e[t+14]]+cr[e[t+15]]).toLowerCase()}const gme=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),xE={randomUUID:gme};function yme(e,t,r){if(xE.randomUUID&&!t&&!e)return xE.randomUUID();e=e||{};const n=e.random||(e.rng||mme)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return vme(n)}const wme=e=>{const t=v.useRef(yme());return e||t.current};Va(({options:e,className:t="",label:r,children:n,value:i,name:o,onChange:s,error:c,message:f,style:d,compact:h})=>{const m=wme(o);return q("div",{style:d,className:Me("relative",t),children:[!!r&&b(Rc,{className:"text-base font-semibold text-gray-900",label:r}),n,q("fieldset",{className:"mt-4",children:[b("legend",{className:"sr-only",children:"Notification method"}),b("div",{className:"space-y-2",children:e.map(({id:w,label:C})=>b(Jhe,{id:`${m} - ${w}`,label:C,name:m,checked:i===void 0?i:i===w,onChange:()=>s==null?void 0:s(w)},w))})]}),!h&&b(ol,{message:f,error:c})]})});Va(({label:e,message:t,error:r,id:n,emptyOption:i="Select an Option",compact:o,style:s,containerClassName:c="",className:f,options:d,disableEmptyOption:h=!1,...m},w)=>q("div",{style:s,className:Me("flex flex-col",c),children:[!!e&&b(Rc,{htmlFor:n,label:e}),q("select",{ref:w,className:Me("block w-full mt-1 rounded-md shadow-xs border-gray-300 placeholder:text-black-300 focus:border-green-500 focus:ring-2 focus:ring-green-300 sm:text-sm placeholder-black-300",f,!!r&&"border-red focus:border-red focus:ring-red-200"),id:n,defaultValue:"",...m,children:[i&&b("option",{disabled:h,value:"",children:i}),d.map(C=>b("option",{value:C.value,children:C.label},C.value))]}),!o&&b(ol,{message:t,error:r})]}));Va(({label:e,message:t,error:r,id:n,compact:i,style:o,containerClassName:s,className:c,...f},d)=>q("div",{style:o,className:s,children:[e&&b(Rc,{className:"block text-sm font-medium",htmlFor:n,label:e}),b("div",{className:"mt-1",children:b("textarea",{ref:d,id:n,className:Me("block w-full rounded-md shadow-xs text-neutrals-dark-400 border-gray-300 placeholder:text-primary-white-600 focus:border-secondary-green focus:ring-2 focus:ring-secondary-green-300 sm:text-sm",!!r&&"border-red focus:border-red focus:ring-red-200",!!f.disabled&&"bg-black-100 border-gray-500",c),...f})}),!i&&b(ol,{message:t,error:r})]}));const zy=Va(({label:e,message:t,error:r,id:n,compact:i,style:o,containerClassName:s,className:c,...f},d)=>q("div",{style:o,className:Me("relative",s),children:[q("div",{className:Me("flex flex-row items-center rounded-md",!!f.disabled&&"opacity-30"),children:[b("input",{ref:d,type:"checkbox",id:n,...f,className:Me("shadow-xs block h-[40px] w-[40px] rounded border-gray-800 text-neutrals-dark-400 placeholder:text-primary-white-600 ","focus:border-secondary-green focus:ring-2 focus:ring-secondary-green-300 sm:text-sm",!!r&&"border border-red-500 focus:border-red-500 focus:ring-0",!!f.disabled&&"border-gray-500 bg-black-100",c)}),b(Rc,{htmlFor:n,className:Me("text-mono",!!r&&"text-red-500"),containerClassName:"ml-2",label:e})]}),!i&&b(ol,{message:t,error:r})]}));function MR(e,t){return function(){return e.apply(t,arguments)}}const{toString:xme}=Object.prototype,{getPrototypeOf:hw}=Object,C3=(e=>t=>{const r=xme.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),io=e=>(e=e.toLowerCase(),t=>C3(t)===e),E3=e=>t=>typeof t===e,{isArray:al}=Array,uc=E3("undefined");function bme(e){return e!==null&&!uc(e)&&e.constructor!==null&&!uc(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const DR=io("ArrayBuffer");function Cme(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&DR(e.buffer),t}const Eme=E3("string"),ro=E3("function"),FR=E3("number"),mw=e=>e!==null&&typeof e=="object",_me=e=>e===!0||e===!1,rh=e=>{if(C3(e)!=="object")return!1;const t=hw(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},kme=io("Date"),Sme=io("File"),Rme=io("Blob"),Ame=io("FileList"),Ome=e=>mw(e)&&ro(e.pipe),Ime=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=C3(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},Lme=io("URLSearchParams"),Bme=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),al(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const jR=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),zR=e=>!uc(e)&&e!==jR;function Vy(){const{caseless:e}=zR(this)&&this||{},t={},r=(n,i)=>{const o=e&&NR(t,i)||i;rh(t[o])&&rh(n)?t[o]=Vy(t[o],n):rh(n)?t[o]=Vy({},n):al(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n(Oc(t,(i,o)=>{r&&ro(i)?e[o]=MR(i,r):e[o]=i},{allOwnKeys:n}),e),Pme=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$me=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Mme=(e,t,r,n)=>{let i,o,s;const c={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!c[s]&&(t[s]=e[s],c[s]=!0);e=r!==!1&&hw(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Dme=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Fme=e=>{if(!e)return null;if(al(e))return e;let t=e.length;if(!FR(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Nme=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&hw(Uint8Array)),jme=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},zme=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Vme=io("HTMLFormElement"),Wme=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),bE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Hme=io("RegExp"),VR=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Oc(r,(i,o)=>{t(i,o,e)!==!1&&(n[o]=i)}),Object.defineProperties(e,n)},Ume=e=>{VR(e,(t,r)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ro(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},qme=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return al(e)?n(e):n(String(e).split(t)),r},Zme=()=>{},Gme=(e,t)=>(e=+e,Number.isFinite(e)?e:t),V4="abcdefghijklmnopqrstuvwxyz",CE="0123456789",WR={DIGIT:CE,ALPHA:V4,ALPHA_DIGIT:V4+V4.toUpperCase()+CE},Qme=(e=16,t=WR.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Yme(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Kme=e=>{const t=new Array(10),r=(n,i)=>{if(mw(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=al(n)?[]:{};return Oc(n,(s,c)=>{const f=r(s,i+1);!uc(f)&&(o[c]=f)}),t[i]=void 0,o}}return n};return r(e,0)},ee={isArray:al,isArrayBuffer:DR,isBuffer:bme,isFormData:Ime,isArrayBufferView:Cme,isString:Eme,isNumber:FR,isBoolean:_me,isObject:mw,isPlainObject:rh,isUndefined:uc,isDate:kme,isFile:Sme,isBlob:Rme,isRegExp:Hme,isFunction:ro,isStream:Ome,isURLSearchParams:Lme,isTypedArray:Nme,isFileList:Ame,forEach:Oc,merge:Vy,extend:Tme,trim:Bme,stripBOM:Pme,inherits:$me,toFlatObject:Mme,kindOf:C3,kindOfTest:io,endsWith:Dme,toArray:Fme,forEachEntry:jme,matchAll:zme,isHTMLForm:Vme,hasOwnProperty:bE,hasOwnProp:bE,reduceDescriptors:VR,freezeMethods:Ume,toObjectSet:qme,toCamelCase:Wme,noop:Zme,toFiniteNumber:Gme,findKey:NR,global:jR,isContextDefined:zR,ALPHABET:WR,generateString:Qme,isSpecCompliantForm:Yme,toJSONObject:Kme};function et(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}ee.inherits(et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ee.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const HR=et.prototype,UR={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{UR[e]={value:e}});Object.defineProperties(et,UR);Object.defineProperty(HR,"isAxiosError",{value:!0});et.from=(e,t,r,n,i,o)=>{const s=Object.create(HR);return ee.toFlatObject(e,s,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),et.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const Xme=null;function Wy(e){return ee.isPlainObject(e)||ee.isArray(e)}function qR(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function EE(e,t,r){return e?e.concat(t).map(function(i,o){return i=qR(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function Jme(e){return ee.isArray(e)&&!e.some(Wy)}const e3e=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function _3(e,t,r){if(!ee.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=ee.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,A){return!ee.isUndefined(A[E])});const n=r.metaTokens,i=r.visitor||h,o=r.dots,s=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&ee.isSpecCompliantForm(t);if(!ee.isFunction(i))throw new TypeError("visitor must be a function");function d(S){if(S===null)return"";if(ee.isDate(S))return S.toISOString();if(!f&&ee.isBlob(S))throw new et("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(S)||ee.isTypedArray(S)?f&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function h(S,E,A){let x=S;if(S&&!A&&typeof S=="object"){if(ee.endsWith(E,"{}"))E=n?E:E.slice(0,-2),S=JSON.stringify(S);else if(ee.isArray(S)&&Jme(S)||(ee.isFileList(S)||ee.endsWith(E,"[]"))&&(x=ee.toArray(S)))return E=qR(E),x.forEach(function(_,O){!(ee.isUndefined(_)||_===null)&&t.append(s===!0?EE([E],O,o):s===null?E:E+"[]",d(_))}),!1}return Wy(S)?!0:(t.append(EE(A,E,o),d(S)),!1)}const m=[],w=Object.assign(e3e,{defaultVisitor:h,convertValue:d,isVisitable:Wy});function C(S,E){if(!ee.isUndefined(S)){if(m.indexOf(S)!==-1)throw Error("Circular reference detected in "+E.join("."));m.push(S),ee.forEach(S,function(x,y){(!(ee.isUndefined(x)||x===null)&&i.call(t,x,ee.isString(y)?y.trim():y,E,w))===!0&&C(x,E?E.concat(y):[y])}),m.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return C(e),t}function _E(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function vw(e,t){this._pairs=[],e&&_3(e,this,t)}const ZR=vw.prototype;ZR.append=function(t,r){this._pairs.push([t,r])};ZR.toString=function(t){const r=t?function(n){return t.call(this,n,_E)}:_E;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function t3e(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function GR(e,t,r){if(!t)return e;const n=r&&r.encode||t3e,i=r&&r.serialize;let o;if(i?o=i(t,r):o=ee.isURLSearchParams(t)?t.toString():new vw(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class r3e{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ee.forEach(this.handlers,function(n){n!==null&&t(n)})}}const kE=r3e,QR={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},n3e=typeof URLSearchParams<"u"?URLSearchParams:vw,i3e=typeof FormData<"u"?FormData:null,o3e=typeof Blob<"u"?Blob:null,a3e=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),s3e=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),yi={isBrowser:!0,classes:{URLSearchParams:n3e,FormData:i3e,Blob:o3e},isStandardBrowserEnv:a3e,isStandardBrowserWebWorkerEnv:s3e,protocols:["http","https","file","blob","url","data"]};function l3e(e,t){return _3(e,new yi.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return yi.isNode&&ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function u3e(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function c3e(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n=r.length;return s=!s&&ee.isArray(i)?i.length:s,f?(ee.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!c):((!i[s]||!ee.isObject(i[s]))&&(i[s]=[]),t(r,n,i[s],o)&&ee.isArray(i[s])&&(i[s]=c3e(i[s])),!c)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const r={};return ee.forEachEntry(e,(n,i)=>{t(u3e(n),i,r,0)}),r}return null}const f3e={"Content-Type":void 0};function d3e(e,t,r){if(ee.isString(e))try{return(t||JSON.parse)(e),ee.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const k3={transitional:QR,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=ee.isObject(t);if(o&&ee.isHTMLForm(t)&&(t=new FormData(t)),ee.isFormData(t))return i&&i?JSON.stringify(YR(t)):t;if(ee.isArrayBuffer(t)||ee.isBuffer(t)||ee.isStream(t)||ee.isFile(t)||ee.isBlob(t))return t;if(ee.isArrayBufferView(t))return t.buffer;if(ee.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return l3e(t,this.formSerializer).toString();if((c=ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return _3(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),d3e(t)):t}],transformResponse:[function(t){const r=this.transitional||k3.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&ee.isString(t)&&(n&&!this.responseType||i)){const s=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(c){if(s)throw c.name==="SyntaxError"?et.from(c,et.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yi.classes.FormData,Blob:yi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ee.forEach(["delete","get","head"],function(t){k3.headers[t]={}});ee.forEach(["post","put","patch"],function(t){k3.headers[t]=ee.merge(f3e)});const gw=k3,p3e=ee.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),h3e=e=>{const t={};let r,n,i;return e&&e.split(` `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||t[r]&&p3e[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},SE=Symbol("internals");function Gl(e){return e&&String(e).trim().toLowerCase()}function nh(e){return e===!1||e==null?e:ee.isArray(e)?e.map(nh):String(e)}function m3e(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const v3e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function W4(e,t,r,n,i){if(ee.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!ee.isString(t)){if(ee.isString(n))return t.indexOf(n)!==-1;if(ee.isRegExp(n))return n.test(t)}}function g3e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function y3e(e,t){const r=ee.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}class S3{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(c,f,d){const h=Gl(f);if(!h)throw new Error("header name must be a non-empty string");const m=ee.findKey(i,h);(!m||i[m]===void 0||d===!0||d===void 0&&i[m]!==!1)&&(i[m||f]=nh(c))}const s=(c,f)=>ee.forEach(c,(d,h)=>o(d,h,f));return ee.isPlainObject(t)||t instanceof this.constructor?s(t,r):ee.isString(t)&&(t=t.trim())&&!v3e(t)?s(h3e(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=Gl(t),t){const n=ee.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return m3e(i);if(ee.isFunction(r))return r.call(this,i,n);if(ee.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Gl(t),t){const n=ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||W4(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=Gl(s),s){const c=ee.findKey(n,s);c&&(!r||W4(n,n[c],c,r))&&(delete n[c],i=!0)}}return ee.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||W4(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return ee.forEach(this,(i,o)=>{const s=ee.findKey(n,o);if(s){r[s]=nh(i),delete r[o];return}const c=t?g3e(o):String(o).trim();c!==o&&delete r[o],r[c]=nh(i),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return ee.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&ee.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[SE]=this[SE]={accessors:{}}).accessors,i=this.prototype;function o(s){const c=Gl(s);n[c]||(y3e(i,s),n[c]=!0)}return ee.isArray(t)?t.forEach(o):o(t),this}}S3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.freezeMethods(S3.prototype);ee.freezeMethods(S3);const Yi=S3;function H4(e,t){const r=this||gw,n=t||r,i=Yi.from(n.headers);let o=n.data;return ee.forEach(e,function(c){o=c.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function KR(e){return!!(e&&e.__CANCEL__)}function Ic(e,t,r){et.call(this,e??"canceled",et.ERR_CANCELED,t,r),this.name="CanceledError"}ee.inherits(Ic,et,{__CANCEL__:!0});function w3e(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new et("Request failed with status code "+r.status,[et.ERR_BAD_REQUEST,et.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const x3e=yi.isStandardBrowserEnv?function(){return{write:function(r,n,i,o,s,c){const f=[];f.push(r+"="+encodeURIComponent(n)),ee.isNumber(i)&&f.push("expires="+new Date(i).toGMTString()),ee.isString(o)&&f.push("path="+o),ee.isString(s)&&f.push("domain="+s),c===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function b3e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function C3e(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function XR(e,t){return e&&!b3e(t)?C3e(e,t):t}const E3e=yi.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(o){let s=o;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(s){const c=ee.isString(s)?i(s):s;return c.protocol===n.protocol&&c.host===n.host}}():function(){return function(){return!0}}();function _3e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function k3e(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),h=n[o];s||(s=d),r[i]=f,n[i]=d;let m=o,w=0;for(;m!==i;)w+=r[m++],m=m%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),d-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,c=o-r,f=n(c),d=o<=s;r=o;const h={loaded:o,total:s,progress:s?o/s:void 0,bytes:c,rate:f||void 0,estimated:f&&s&&d?(s-o)/f:void 0,event:i};h[t?"download":"upload"]=!0,e(h)}}const S3e=typeof XMLHttpRequest<"u",R3e=S3e&&function(e){return new Promise(function(r,n){let i=e.data;const o=Yi.from(e.headers).normalize(),s=e.responseType;let c;function f(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}ee.isFormData(i)&&(yi.isStandardBrowserEnv||yi.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let d=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(C+":"+S))}const h=XR(e.baseURL,e.url);d.open(e.method.toUpperCase(),GR(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function m(){if(!d)return;const C=Yi.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:C,config:e,request:d};w3e(function(x){r(x),f()},function(x){n(x),f()},E),d=null}if("onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(n(new et("Request aborted",et.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new et("Network Error",et.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||QR;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),n(new et(S,E.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,e,d)),d=null},yi.isStandardBrowserEnv){const C=(e.withCredentials||E3e(h))&&e.xsrfCookieName&&x3e.read(e.xsrfCookieName);C&&o.set(e.xsrfHeaderName,C)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&ee.forEach(o.toJSON(),function(S,E){d.setRequestHeader(E,S)}),ee.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",RE(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",RE(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=C=>{d&&(n(!C||C.type?new Ic(null,e,d):C),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const w=_3e(h);if(w&&yi.protocols.indexOf(w)===-1){n(new et("Unsupported protocol "+w+":",et.ERR_BAD_REQUEST,e));return}d.send(i||null)})},ih={http:Xme,xhr:R3e};ee.forEach(ih,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const A3e={getAdapter:e=>{e=ee.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let i=0;ie instanceof Yi?e.toJSON():e;function Us(e,t){t=t||{};const r={};function n(d,h,m){return ee.isPlainObject(d)&&ee.isPlainObject(h)?ee.merge.call({caseless:m},d,h):ee.isPlainObject(h)?ee.merge({},h):ee.isArray(h)?h.slice():h}function i(d,h,m){if(ee.isUndefined(h)){if(!ee.isUndefined(d))return n(void 0,d,m)}else return n(d,h,m)}function o(d,h){if(!ee.isUndefined(h))return n(void 0,h)}function s(d,h){if(ee.isUndefined(h)){if(!ee.isUndefined(d))return n(void 0,d)}else return n(void 0,h)}function c(d,h,m){if(m in t)return n(d,h);if(m in e)return n(void 0,d)}const f={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(d,h)=>i(OE(d),OE(h),!0)};return ee.forEach(Object.keys(e).concat(Object.keys(t)),function(h){const m=f[h]||i,w=m(e[h],t[h],h);ee.isUndefined(w)&&m!==c||(r[h]=w)}),r}const JR="1.3.6",yw={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{yw[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const IE={};yw.transitional=function(t,r,n){function i(o,s){return"[Axios v"+JR+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,c)=>{if(t===!1)throw new et(i(s," has been removed"+(r?" in "+r:"")),et.ERR_DEPRECATED);return r&&!IE[s]&&(IE[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,s,c):!0}};function O3e(e,t,r){if(typeof e!="object")throw new et("options must be an object",et.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],s=t[o];if(s){const c=e[o],f=c===void 0||s(c,o,e);if(f!==!0)throw new et("option "+o+" must be "+f,et.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new et("Unknown option "+o,et.ERR_BAD_OPTION)}}const Hy={assertOptions:O3e,validators:yw},go=Hy.validators;class Hm{constructor(t){this.defaults=t,this.interceptors={request:new kE,response:new kE}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Us(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Hy.assertOptions(n,{silentJSONParsing:go.transitional(go.boolean),forcedJSONParsing:go.transitional(go.boolean),clarifyTimeoutError:go.transitional(go.boolean)},!1),i!=null&&(ee.isFunction(i)?r.paramsSerializer={serialize:i}:Hy.assertOptions(i,{encode:go.function,serialize:go.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s;s=o&&ee.merge(o.common,o[r.method]),s&&ee.forEach(["delete","get","head","post","put","patch","common"],S=>{delete o[S]}),r.headers=Yi.concat(s,o);const c=[];let f=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(r)===!1||(f=f&&E.synchronous,c.unshift(E.fulfilled,E.rejected))});const d=[];this.interceptors.response.forEach(function(E){d.push(E.fulfilled,E.rejected)});let h,m=0,w;if(!f){const S=[AE.bind(this),void 0];for(S.unshift.apply(S,c),S.push.apply(S,d),w=S.length,h=Promise.resolve(r);m{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(c=>{n.subscribe(c),o=c}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},t(function(o,s,c){n.reason||(n.reason=new Ic(o,s,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new ww(function(i){t=i}),cancel:t}}}const I3e=ww;function L3e(e){return function(r){return e.apply(null,r)}}function B3e(e){return ee.isObject(e)&&e.isAxiosError===!0}const Uy={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Uy).forEach(([e,t])=>{Uy[t]=e});const T3e=Uy;function eA(e){const t=new oh(e),r=MR(oh.prototype.request,t);return ee.extend(r,oh.prototype,t,{allOwnKeys:!0}),ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return eA(Us(e,i))},r}const rr=eA(gw);rr.Axios=oh;rr.CanceledError=Ic;rr.CancelToken=I3e;rr.isCancel=KR;rr.VERSION=JR;rr.toFormData=_3;rr.AxiosError=et;rr.Cancel=rr.CanceledError;rr.all=function(t){return Promise.all(t)};rr.spread=L3e;rr.isAxiosError=B3e;rr.mergeConfig=Us;rr.AxiosHeaders=Yi;rr.formToJSON=e=>YR(ee.isHTMLForm(e)?new FormData(e):e);rr.HttpStatusCode=T3e;rr.default=rr;const Ri=rr,q4=window.data.getEnv("PROFILE_ONE_ID")||0xd21b542c2113,Z4=window.data.getEnv("PROFILE_TWO_ID")||0xd21b800ac40b,tA=window.data.getEnv("ZUKO_SLUG_ID_PROCESS_START")||"4e9cc7ceea3e22fb",P3e=window.data.getEnv("CANCER_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,$3e=window.data.getEnv("CANCER_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,M3e=window.data.getEnv("CANCER_PROFILE_PATIENT_ID")||0xd3840a61be32,D3e=window.data.getEnv("CANCER_PROFILE_CAREGIVER_ID")||0xd38413087ece,F3e=window.data.getEnv("CANCER_PATIENT_SURVEY_ID")||0xd3cedccf57d4,N3e=window.data.getEnv("CANCER_CAREGIVER_SURVEY_ID")||0xd44a2fb6c758;window.data.getEnv("ATHLETE_PROFILE_FORM");const G4=window.data.getEnv("ATHLETE_SURVEY_FORM")||0xd40fc49c7828,j3e=window.data.getEnv("SENIOR_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,z3e=window.data.getEnv("SENIOR_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,LE=window.data.getEnv("SENIOR_PROFILE_PATIENT_ID")||0xd42295f76597;window.data.getEnv("SENIOR_PROFILE_CAREGIVER_ID");const Q4=window.data.getEnv("SENIOR_SURVEY_FORM")||0xd4506a2ec2f9,V3e=window.data.getEnv("API_URL")||"http://localhost:4200",W3e=window.data.getEnv("API_LARAVEL")||"http://localhost",H3e=window.data.getEnv("WEB_APP_URL")??"http://localhost:3000",Hn=Ri.create({baseURL:V3e,headers:{"Content-Type":"application/json"}}),Ql=Ri.create({baseURL:W3e,headers:{"Content-Type":"application/json"}}),ti=()=>{const t={headers:{Authorization:`Bearer ${jo(E=>{var A;return(A=E.session)==null?void 0:A.token})}`}};return{validateZipCode:async E=>Hn.post("/v2/profile/validate_zip_code",{zip:E},t),combineProfileOne:async E=>Hn.post("/v2/profile/submit_profiling_one",{submission_id:E},t),combineProfileTwo:async E=>Hn.post("/v2/profile/combine_profile_two",{submission_id:E},t),sendEmailToRecoveryPassword:async E=>Hn.post("/v2/profile/request_password_reset",{email:E}),resetPassword:async E=>Hn.post("/v2/profile/reset_password",E),getSubmission:async()=>await Hn.get("/v2/profile/profiling_one",t),getSubmissionById:async E=>await Hn.get(`/v2/submission/profiling_one?submission_id=${E}`,t),eligibleEmail:async E=>await Hn.post("/v2/profiles/eligible",{email:E},t),postCancerFormSubmission:async E=>await Ql.post("/api/v2/cancer/profile",E),postCancerSurveyFormSubmission:async E=>await Ql.post("/api/cancer/survey",E),postAthleteSurveyFormSubmission:async E=>await Ql.post("/api/athletes/survey",E),postSeniorFormSubmission:async E=>await Ql.post("/api/senior/profile",E),postSeniorSurveyFormSubmission:async E=>await Ql.post("/api/senior/survey",E)}},Yo=e=>{const t=v.useRef(!0);v.useEffect(()=>{t.current&&(t.current=!1,e())},[])},rA=()=>{const[e,t]=v.useState(window.innerWidth);function r(){t(window.innerWidth)}return v.useEffect(()=>(window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e<=768},U3e=()=>{const[e,t]=v.useState(window.innerWidth);function r(){t(window.innerWidth)}return v.useEffect(()=>(window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e>=1024},q3e=()=>{const e=jo(f=>f.profile),t=jo(f=>f.setProfile),r=jo(f=>f.setSession),n=$t(),[i,o]=v.useState(!1),s=()=>{t(null),r(null),n(Se.login),Ne.info("You has been logged out!")},c=rA();return q("header",{className:"border-1 relative mb-10 flex min-h-[93px] w-full flex-row items-center justify-between border bg-white px-2 shadow-lg md:px-12",children:[q("svg",{className:"h-11 w-20",xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20",viewBox:"0 0 42 20",fill:"none",onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},children:[b("path",{d:"M5.91088 11.6872C6.02006 12.778 6.53759 13.5608 7.32479 14.1766C9.36977 15.775 12.3887 15.537 14.1727 13.6471C15.0036 12.766 15.1171 12.7474 16.1511 13.4069C16.9023 13.8862 17.6469 14.3753 18.3871 14.871C18.9996 15.2815 19.0597 15.6243 18.612 16.2314C17.0398 18.3604 14.866 19.4654 12.3013 19.8421C9.97137 20.1838 7.67963 20.0004 5.51892 19.0013C1.94975 17.3527 0.188639 14.4921 0.0139472 10.5976C-0.100694 8.03509 0.482339 5.67784 2.09933 3.65142C4.02749 1.23194 6.62602 0.1292 9.66238 0.0101916C12.3952 -0.096807 14.8551 0.630347 16.8051 2.64803C18.4559 4.35455 19.2169 6.46614 19.4418 8.79172C19.4975 9.37038 19.5117 9.95451 19.5161 10.5365C19.5226 11.399 19.2311 11.6861 18.374 11.6872C14.4435 11.6894 10.514 11.6872 6.58344 11.6872C6.37054 11.6872 6.15763 11.6872 5.91088 11.6872ZM13.7414 7.81345C13.9118 6.60043 13.1355 5.19853 12.012 4.64716C10.2847 3.79882 7.84341 4.34909 6.66642 5.86454C6.2286 6.42901 5.93599 7.0579 5.92616 7.81345H13.7414Z",fill:"black"}),b("path",{d:"M41.2904 9.96945C41.2904 15.7638 37.0661 19.9804 31.2598 19.9815C25.4601 19.9826 21.2063 15.7081 21.2227 9.89302C21.238 4.09872 25.4109 -0.00652785 31.2817 2.30877e-05C37.433 0.00657402 41.4826 4.55183 41.2904 9.96945ZM31.3646 6.31185C31.2838 6.25726 31.2227 6.22232 31.1692 6.17755C30.2554 5.40782 29.2214 5.20256 28.1154 5.63819C26.969 6.08912 26.3248 6.98441 26.1883 8.20179C26.0398 9.5229 26.4318 10.7206 27.1819 11.7983C28.1678 13.2122 29.5347 14.1511 31.0917 14.8335C31.2478 14.9023 31.4902 14.8881 31.6507 14.8171C32.9128 14.2658 34.0429 13.5179 34.9731 12.4894C35.9044 11.4576 36.4536 10.2621 36.5421 8.86234C36.6414 7.28466 35.697 5.88167 34.2329 5.51919C33.1465 5.2506 32.189 5.55303 31.3657 6.31294L31.3646 6.31185Z",fill:"black"})]}),q("div",{className:"right-12 flex flex-row items-center gap-2",children:[c?q(xi,{children:[b(He.PrivacyPolicyIcon,{onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},className:"h-8 w-8 rounded-full stroke-2"}),b(He.MarkCircleIcon,{onClick:()=>o(!0),className:"h-8 w-8 rounded-full"})]}):q(xi,{children:[b(gt,{variant:"tertiary-link",onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},font:"regular",children:"Privacy Policy"}),b(gt,{variant:"black",onClick:()=>o(!0),font:"regular",children:"Need Help?"})]}),e&&b(gt,{variant:"outline",onClick:()=>s(),children:"Log out"})]}),b(X5e,{isOpen:i,onClose:()=>{},controller:o,children:q("div",{className:`flex h-full w-full flex-col justify-center rounded-3xl bg-white px-10 py-[50px] leading-[48px] - shadow-lg md:px-[60px] md:py-20`,children:[b(le,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),b(le,{font:"light",variant:"large",className:"mb-4 whitespace-normal text-[18px] font-semibold leading-normal text-gray-800 md:mb-6 md:text-[22px]",children:"Have questions or prefer to talk with an eo rep?"}),q("ul",{className:"list-disc pl-4",children:[b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[b("a",{href:"https://calendly.com/help-eo/30min",className:"underline decoration-1 underline-offset-8",children:"Schedule a video chat"})," ","with a member of our team."]})}),b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",b("a",{href:"tel:877-707-0706",className:"underline decoration-1 underline-offset-8",children:"877-707-0706"})]})}),b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",b("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},dt=({children:e})=>b("section",{className:"flex h-screen w-screen flex-col bg-ice-silver",children:q("div",{className:"flex h-full w-full flex-col overflow-auto",children:[b(q3e,{}),e]})}),BE={channel:null,type:null,introQuestionSubmissionId:null,symptoms:[],state:null,origin:"",experience:"",account:{email:"",password:"",firstName:"",lastName:"",phoneNumber:"",agreeReceiveNotifications:!1,agreeTermsAndConditions:!1},usePayment:!0},sl=LS()(BS((e,t)=>({setChannel(r){e({channel:r})},setType(r){e({type:r})},setIntroQuestionSubmissionId(r){e({introQuestionSubmissionId:r})},setAccountData:r=>{e({account:r})},setSymptoms:r=>{e({symptoms:r})},setState:r=>{e({state:r})},setUsePayment:r=>{e({usePayment:r})},resetProfilingStore:()=>{e({...t(),...BE})},setOrigin:r=>{e({origin:r})},setExperience:r=>{e({experience:r})},...BE}),{name:"useProfilingStore"})),Z3e=ct.object({firstName:ct.string().min(1,{message:"First name is required"}),lastName:ct.string().min(1,{message:"Last name is required"}),email:ct.string().min(1,{message:"Email is required"}).email({message:"Enter a valid email."}),phoneNumber:ct.string().superRefine((e,t)=>{e.replace(/\D/g,"").length!==10&&t.addIssue({code:"custom",message:"Contact number must be 10 digits"})}),password:ct.string().regex(new RegExp(".*[A-Z].*"),"Password must contain at least one uppercase character").regex(new RegExp(".*[a-z].*"),"Password must contain at least one lowercase character").regex(new RegExp(".*\\d.*"),"Password must contain at least one number").regex(new RegExp(".*[`~<>?,./!@#$%^&*()\\-_+=\"'|{}\\[\\];:\\\\].*"),"Password must contain at least one special character").min(8,"Must be at least 8 characters in length"),agreeReceiveNotifications:ct.boolean().refine(e=>e,{message:"Must agree to authorizations to continue."}),agreeTermsAndConditions:ct.boolean().refine(e=>e,{message:"You must agree to the terms and conditions"})}),G3e=()=>{var x,y,_,O,T,D,V,N,H,W;const e=$t(),[t]=cn(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=sl(Z=>Z),{eligibleEmail:f}=ti(),[d,h]=v.useState(!1),{formState:{errors:m},handleSubmit:w,register:C,setError:S}=Xs({resolver:Js(Z3e),defaultValues:r}),E=Object.keys(m).length===0?"":Object.values(m)[0],A=async Z=>{if(h(!0),(await f(Z.email)).data.success)switch(n({...Z,phoneNumber:Z.phoneNumber.replace(/\D/g,"")}),o){case"cancer":e(Se.cancerForm);break;case"senior":e(Se.seniorForm);break;default:e("/")}else{S("email",{message:"Email was already taken"}),h(!1);return}};return Yo(()=>{const Z=t.get("submission_id"),Q=t.get("state"),a=t.get("experience")??"";Z?(s(Q),i(Z),c(a)):Ne.error(q("p",{children:["Impossible to continue without",b("br",{})," a submission id"]}))}),b(dt,{children:b("div",{className:"flex h-full w-full flex-row items-center justify-center pb-10",children:q("form",{className:"h-auto w-11/12 rounded-md border border-gray-100 bg-white shadow-lg md:w-[797px]",children:[q("div",{className:"px-[28px] py-[48px]",children:[b(le,{variant:"large",font:"semiBold",className:Me("mb-4 font-nunito",!!E&&"text-red"),children:"Great! Now let's create your account."}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"firstName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("firstName"),error:(x=m.firstName)==null?void 0:x.message,placeholder:"First Name*"}),b(kr,{id:"lastName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("lastName"),error:(y=m.lastName)==null?void 0:y.message,placeholder:"Last Name*"})]}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"email",placeholder:"Email*",type:"email",left:b(He.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(_=m.email)==null?void 0:_.message}),b(kr,{id:"password",placeholder:"Password*",message:"",type:"password",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("password"),error:(O=m.password)==null?void 0:O.message})]}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"phoneNumber",placeholder:"Phone number*",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12 placeholder:text-[16px] placeholder:font-normal placeholder:text-gray-700",...C("phoneNumber"),error:(T=m.phoneNumber)==null?void 0:T.message}),q("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[b(zy,{id:"agreeReceiveNotifications",...C("agreeReceiveNotifications"),error:(D=m.agreeReceiveNotifications)==null?void 0:D.message,containerClassName:"col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:b(le,{variant:"small",font:"regular",className:Me("font-nunito text-[11px] font-light ",((V=m.agreeReceiveNotifications)==null?void 0:V.message)&&"text-red-500"),children:"I agree to receive emails and text messages."})}),b(zy,{id:"agreeTermsAndConditions",...C("agreeTermsAndConditions"),error:(N=m.agreeTermsAndConditions)==null?void 0:N.message,containerClassName:"w-full col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:q(le,{variant:"small",font:"regular",className:Me("font-nunito text-[11px] font-light !leading-4",((H=m.agreeTermsAndConditions)==null?void 0:H.message)&&"text-red-500"),children:["I have read and agree to the"," ",b("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"!font-nunito !text-[11px] !font-light !leading-4 underline",rel:"noreferrer",children:"Terms of Service"}),", and"," ",q("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"!font-nunito !text-[11px] !font-light !leading-4 underline",rel:"noreferrer",children:["Privacy Policy"," "]})," "]})})]})]})]}),q("section",{className:"flex h-[53px] items-center justify-end rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[b(le,{className:Me("mx-auto my-0 hidden font-nunito text-white md:block",!!E&&"text-red-300"),variant:"small",children:E?(W=m.password)!=null&&W.message?"Password must be at least 8 characters, contain a capital letter, number, and special character.":E.message:"Remember: You’ll need to have your password handy when accessing your care plan!"}),b(gt,{id:"ga-sign-up-button",className:"click:border-0 focus:ring-outline-0 w-[150px] border-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:()=>void w(A)(),right:b(He.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Ko=e=>{if(e){var t=document.getElementById(`JotFormIFrame-${e}`);if(t){var r=t.src,n=[];window.location.href&&window.location.href.indexOf("?")>-1&&(n=n.concat(window.location.href.substr(window.location.href.indexOf("?")+1).split("&"))),r&&r.indexOf("?")>-1&&(n=n.concat(r.substr(r.indexOf("?")+1).split("&")),r=r.substr(0,r.indexOf("?"))),n.push("isIframeEmbed=1"),t.src=r+"?"+n.join("&")}window.handleIFrameMessage=function(i){if(typeof i.data!="object"){var o=i.data.split(":");if(o.length>2?iframe=document.getElementById("JotFormIFrame-"+o[o.length-1]):iframe=document.getElementById("JotFormIFrame"),!!iframe){switch(o[0]){case"scrollIntoView":iframe.scrollIntoView();break;case"setHeight":iframe.style.height=o[1]+"px",!isNaN(o[1])&&parseInt(iframe.style.minHeight)>parseInt(o[1])&&(iframe.style.minHeight=o[1]+"px");break;case"collapseErrorPage":iframe.clientHeight>window.innerHeight&&(iframe.style.height=window.innerHeight+"px");break;case"reloadPage":window.location.reload();break;case"loadScript":if(!window.isPermitted(i.origin,["jotform.com","jotform.pro"]))break;var s=o[1];o.length>3&&(s=o[1]+":"+o[2]);var c=document.createElement("script");c.src=s,c.type="text/javascript",document.body.appendChild(c);break;case"exitFullscreen":window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen||window.document.mozCancelFullscreen?window.document.mozCancelFullScreen():window.document.webkitExitFullscreen?window.document.webkitExitFullscreen():window.document.msExitFullscreen&&window.document.msExitFullscreen();break}var f=i.origin.indexOf("jotform")>-1;if(f&&"contentWindow"in iframe&&"postMessage"in iframe.contentWindow){var d={docurl:encodeURIComponent(document.URL),referrer:encodeURIComponent(document.referrer)};iframe.contentWindow.postMessage(JSON.stringify({type:"urls",value:d}),"*")}}}},window.isPermitted=function(i,o){var s=document.createElement("a");s.href=i;var c=s.hostname,f=!1;if(typeof c<"u")return o.forEach(function(d){(c.slice(-1*d.length-1)===".".concat(d)||c===d)&&(f=!0)}),f},window.addEventListener?window.addEventListener("message",handleIFrameMessage,!1):window.attachEvent&&window.attachEvent("onmessage",handleIFrameMessage)}},Q3e=()=>{const[e]=cn(),t=e.get("email")||"",r=e.get("symptoms")||"";return v.useEffect(()=>{Ko(G4)},[]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${G4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${G4}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},Y3e=()=>{const[e]=cn(),t=e.get("submission_id")||"",r=$t();t||r("/");const{postAthleteSurveyFormSubmission:n}=ti(),{mutate:i}=Tn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;Ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>i({submission_id:t})),b(dt,{children:q("div",{className:"flex h-full flex-col items-center justify-center px-[20%]",children:[b(le,{variant:"large",className:"font-nunito text-[45px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"font-nunito text-center text-[28px] font-light leading-[40px]",children:["We receive your feedback! ",b("br",{}),b("br",{}),"Thank you! ",b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]})})},K3e=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=sl(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=$t(),d=e==="Patient"?M3e:D3e;return e||f(Se.userRolSelector),Yo(()=>{setTimeout(()=>{Ko(d)},400)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${d}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${d}?${c.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},X3e=()=>{const[e]=cn(),t=e.get("email")??"",r=e.get("profiled")??"patient",n=e.get("symptoms")??"",i=r==="patient"?F3e:N3e,o=new URLSearchParams({email:t,symptoms:n});return v.useEffect(()=>{Ko(i)},[i]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${i}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${i}?${o.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},J3e=()=>{const e=$t();return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Looks like you’re eligible for eo! Next, we’ll get you to fill out",b("br",{}),b("br",{}),"Next, we’ll get you to fill out some information"," ",b("br",{className:"hidden md:block"})," so we can better serve you..."]}),b("div",{className:"mt-10 flex flex-row justify-center",children:b(gt,{className:"text-center",onClick:()=>e(Se.profilingOne),children:"Continue"})})]})})},nA=async e=>await Hn.post("/v2/profile/resend_confirmation_email",{email:e}),eve=()=>{const e=Qo(),{email:t}=e.state,r=$t(),{mutate:n}=Tn({mutationFn:nA,onSuccess:()=>{Ne.success("Email resent successfully, please check your inbox")},onError:()=>{Ne.error("An error occurred, please try again later")}});return t||r(Se.login),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",b("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),b("img",{className:"mt-4 w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),b(gt,{type:"submit",className:"mt-10",onClick:()=>n(t),left:b(He.EnvelopeIcon,{}),children:"Resend verification"})]})})},tve=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),rve=()=>{var o;const{sendEmailToRecoveryPassword:e}=ti(),{formState:{errors:t},register:r,handleSubmit:n}=Xs({resolver:Js(tve)}),{mutate:i}=Tn({mutationFn:e,onSuccess:()=>{Ne.success("Email sent to recovery your password, please check your inbox")},onError:s=>{var c;Ri.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return b(dt,{children:q("div",{className:"flex h-full h-full flex-row items-start justify-center gap-20 px-2 md:items-center",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Reset your password"}),q(le,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",b("br",{className:"hidden md:block"})," on how to reset your password"]}),q("form",{className:"mt-10 flex flex-col ",onSubmit:s=>{n(c=>{i(c.email)})(s)},children:[b(kr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[317px]",className:"h-12 shadow-md",...r("email"),error:(o=t.email)==null?void 0:o.message}),q("div",{className:"flex flex-row justify-center gap-2 md:justify-start",children:[b(Mh,{to:Se.login,children:b(gt,{type:"button",className:"mt-10",variant:"secondary",left:b(He.ArrowLeftIcon,{}),children:"Back"})}),b(gt,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},nve=()=>b(dt,{children:b("br",{})}),ive=async e=>await Hn.post("/v2/profile/login",{email:e.email,password:e.password}),ove=async e=>await Hn.post("/v2/profile",e),ave=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:ct.string().min(1,{message:"Password is required"})}),sve=()=>{var E,A;const e=jo(x=>x.setProfile),t=jo(x=>x.setSession),[r,n]=v.useState(!1),[i,o]=v.useState(""),s=$t(),[c]=cn();v.useEffect(()=>{c.has("email")&&c.has("account_confirmed")&&n(x=>(x||Ne.success("Your account has been activated."),!0))},[r,c]);const{formState:{errors:f},register:d,handleSubmit:h,getValues:m}=Xs({resolver:Js(ave)}),{mutate:w}=Tn({mutationFn:ive,onSuccess:({data:x})=>{e(x.profile),t(x.session)},onError:x=>{var y;Ri.isAxiosError(x)?((y=x.response)==null?void 0:y.status)===403?s(Se.emailVerification,{state:{email:m("email")}}):o("Your email or password is incorrect"):o("Something went wrong")}}),[C,S]=v.useState(!1);return b(dt,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Welcome back."}),q("form",{className:"mt-10",onSubmit:x=>{h(y=>{w(y)})(x)},children:[b(kr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",...d("email"),error:(E=f.email)==null?void 0:E.message}),b(kr,{id:"password",label:"Password",right:C?b(He.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(x=>!x)}):b(He.EyeSlashIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(x=>!x)}),containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:C?"text":"password",...d("password"),error:(A=f.password)==null?void 0:A.message}),b(Mh,{to:Se.forgotPassword,children:b(le,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),b(gt,{type:"submit",className:"mt-10",children:"Sign in"}),i&&b(le,{variant:"small",id:"login-message",className:"text-red-600",children:i}),q(le,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",b(Mh,{to:Se.register,children:b("strong",{children:"Create account"})})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})};var mu=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(mu||{}),qy=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(qy||{}),pi=(e=>(e.WorkDayMornings="Workday Mornings",e.NonWorkDayMornings="Non-Workday Mornings",e.WorkDayAfternoons="Workday Afternoons",e.NonWorkDayAfternoons="Non-Workday Afternoons",e.WorkDayEvenings="Workday Evenings",e.NonWorkDayEvenings="Non-Workday Evenings",e.WorkDayBedtimes="Workday Bedtimes",e.NonWorkDayBedtimes="Non-Workday Bedtimes",e))(pi||{}),vu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(vu||{}),cc=(e=>(e.open="I’m open to using products with THC.",e.notPrefer="I’d prefer to use non-THC (CBD/CBN/CBG) products only.",e.notSure="I’m not sure.",e))(cc||{}),pr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(pr||{});const lve=(e,{C3:t,onlyCbd:r,C9:n,C8:i,C10:o,reasonToUse:s,C14:c,C15:f,C16:d,C17:h,M5:m})=>{const{currentlyUsingCannabisProducts:w}=e,C=()=>s.includes(pr.Sleep)?"":W==="topical lotion or patch"&&s.includes(pr.Anxiety)?"1:1 CBD:THC ratio":W==="topical lotion or patch"?"THC-dominant":r&&!w?"CBD or CBDA":r&&w?"CBD, CBDA, or CBC":s.includes(pr.Anxiety)||i===!1&&!w?"CBD-dominant":i===!1&&w?"4:1 CBD:THC ratio":i===!0&&!w?"2:1 CBD:THC ratio":i===!0&&w?"THC-dominant":"",S=()=>m==="fast-acting form"&&d===!1&&H==="sublingual"&&h===!1?"patch":m==="fast-acting form"&&d===!1?"sublingual":m==="fast-acting form"&&h===!1?"topical lotion or patch":m==="fast-acting form"&&c===!1?"inhalation method":f===!1?"edible":h===!1?"topical lotion or patch":d===!1?"sublingual":c===!1?"inhalation method":"capsule",E=()=>W==="topical lotion or patch"?"50mg":Z===""?"":Z==="THC-dominant"?"2.5mg":Z==="CBD-dominant"&&t===!0?"10mg":Z==="CBD-dominant"||Z==="4:1 CBD:THC ratio"?"5mg":Z==="2:1 CBD:THC ratio"?"2.5mg":"10mg",A=()=>s.includes(pr.Sleep)?"":W==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Q} of a ${Z} ${W} product`,x=()=>s.includes(pr.Anxiety)&&r?"CBDA":s.includes(pr.Pain)&&r?"CBG plus CBD":r?"CBD":n===!0&&w?"THC-dominant":n===!0&&!w?"1:1 CBD:THC ratio":"CBD-dominant",y=()=>n&&!c?"inhalation method":n&&!d?"sublingual":c?d?f?h?"capsule":"topical lotion or patch":"edible":"sublingual":"inhalation method",_=()=>H==="topical lotion or patch"?"50mg":a==="THC-dominant"?"2.5mg":a==="CBD-dominant"?"5mg":a==="1:1 CBD:THC ratio"?"2.5mg":"10mg",O=()=>H==="inhalation method"?`Use a ${a} inhalable product`:`Use ${P} of a ${a} ${H} product`,T=()=>r?"CBN or D8-THC":o===!0?"THC-dominant":w?"1:1 CBD:THC ratio":"CBD-dominant",D=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",V=()=>M==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",N=()=>M==="inhalation method"?`Use a ${G} inhalable product`:`Use ${ae} of a ${G} ${M} product`,H=y(),W=S(),Z=C(),Q=E(),a=x(),P=_(),M=D(),G=T(),ae=V();return{dayTime:{time:"Morning",type:C(),form:S(),dose:E(),result:A()},evening:{time:"Evening",type:x(),form:y(),dose:_(),result:O()},bedTime:{time:"BedTime",type:T(),form:D(),dose:V(),result:N()}}},uve=(e,{C3:t,onlyCbd:r,C5:n,C7:i,C11:o,reasonToUse:s,C14:c,C15:f,C16:d,C17:h,M5:m})=>{const{openToUseThcProducts:w,currentlyUsingCannabisProducts:C}=e,S=()=>Z==="topical lotion or patch"&&s.includes(pr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(pr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(pr.Anxiety)||n===!1&&o===!1?"CBD-dominant":n===!1&&o===!0?"4:1 CBD:THC ratio":n===!0&&o===!1?"2:1 CBD:THC ratio":n===!0&&o===!0?"THC-dominant":"CBD-dominant",E=()=>m==="fast-acting form"&&d===!1&&W==="sublingual"&&h===!1?"patch":m==="fast-acting form"&&d===!1?"sublingual":m==="fast-acting form"&&h===!1?"topical lotion or patch":m==="fast-acting form"&&c===!1?"inhalation method":f===!1?"edible":h===!1?"topical lotion or patch":d===!1?"sublingual":c===!1?"inhalation method":"capsule",A=()=>Z==="topical lotion or patch"?"50mg":Q===""?"":Q==="THC-dominant"?"2.5mg":Q==="CBD-dominant"&&t===!0?"10mg":Q==="CBD-dominant"||Q==="4:1 CBD:THC ratio"?"5mg":Q==="2:1 CBD:THC ratio"?"2.5mg":"10mg",x=()=>s.includes(pr.Sleep)?"":Z==="inhalation method"?"Use a "+Q+" inhalable product":"Use "+a+" of a "+Q+" "+Z+" product",y=()=>s.includes(pr.Anxiety)&&r?"CBDA":s.includes(pr.Pain)&&r?"CBG plus CBD":r?"CBD":w.includes(pi.WorkDayEvenings)&&C?"THC-dominant":w.includes(pi.WorkDayEvenings)&&!C?"1:1 CBD:THC ratio":"CBD-dominant",_=()=>n===!0&&c===!1?"inhalation method":n===!0&&d===!1?"sublingual":c===!1?"inhalation method":d===!1?"sublingual":f===!1?"edible":h===!1?"topical lotion or patch":"capsule",O=()=>W==="topical lotion or patch"?"50mg":P==="THC-dominant"?"2.5mg":P==="CBD-dominant"?"5mg":P==="1:1 CBD:THC ratio"?"2.5mg":"10mg",T=()=>W==="inhalation method"?`Use a ${P} inhalable product`:`Use ${M} of a ${P} ${W} product`,D=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",V=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",N=()=>ae==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",H=()=>ae==="inhalation method"?`Use a ${G} inhalable product`:`Use ${Y} of a ${G} ${ae} product`,W=_(),Z=E(),Q=S(),a=A(),P=y(),M=O(),G=D(),ae=V(),Y=N();return{dayTime:{time:"Morning",type:S(),form:E(),dose:A(),result:x()},evening:{time:"Evening",type:y(),form:_(),dose:O(),result:T()},bedTime:{time:"BedTime",type:D(),form:V(),dose:N(),result:H()}}},iA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(pr.Sleep)?"":t.includes(qy.Morning)?"fast-acting form":"long-lasting form",f=r===cc.notPrefer,d=t.includes(qy.Morning),h=n.includes(pi.WorkDayMornings),m=n.includes(pi.WorkDayBedtimes),w=n.includes(pi.NonWorkDayMornings),C=n.includes(pi.NonWorkDayEvenings),S=n.includes(pi.NonWorkDayBedtimes),E=i,A=s.includes(vu.inhalation),x=s.includes(vu.edibles),y=s.includes(vu.sublinguals),_=s.includes(vu.topicals),O=uve(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:E,reasonToUse:o,C14:A,C15:x,C16:y,C17:_,M5:c}),T=lve(e,{C10:S,reasonToUse:o,C14:A,C15:x,C16:y,C17:_,C3:d,C8:w,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:T,whyRecommended:(()=>f&&o.includes(pr.Pain)?"CBD and CBDA are predominantly researched for their potential in addressing chronic pain and inflammation. CBG has demonstrated potential for its anti-inflammatory and analgesic effects. Preliminary investigations also imply that CBN and D8-THC may contribute to enhancing sleep quality and providing relief during sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":f&&o.includes(pr.Anxiety)?"Extensive research has been conducted on the therapeutic impacts of both CBD and CBDA on anxiety, with positive results. Preliminary investigations also indicate that CBN and D8-THC may be beneficial in promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":f&&o.includes(pr.Sleep)?"CBD can be helpful in the evening for getting the mind and body relaxed and ready for sleep. Some early studies indicate that CBN as well as D8-THC can be effective for promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":n.includes(pi.WorkDayEvenings)&&h&&m&&w&&C&&S?"Given that you indicated you're open to feeling the potentially altering effects of THC, we recommended a plan that at times has stronger proportions of THC, which may help provide more effective symptom relief. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":!n.includes(pi.WorkDayEvenings)&&!h&&!m&&!w&&!C&&!S?"Given that you'd like to avoid the potentially altering effects of THC, we primarily recommend using products with higher concentrations of CBD. Depending on your experience level, some THC may not feel altering. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":"For times when you're looking to maintain a clear head, we recommended product types that are lower in THC in relation to CBD, and higher THC at times when you're more able to relax and unwind. The amount of THC in relation to CBD relates to your recent use of cannabis, as we always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.")()}},TE=()=>q("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.92656 147.34C14.8215 158.174 40.4865 163.667 81.1941 163.667C104.713 163.667 123.648 161.654 137.417 157.761C147.949 154.808 155.479 150.575 159.79 145.403C161.05 144.072 162.041 142.495 162.706 140.764C163.371 139.033 163.697 137.183 163.664 135.321C163.191 124.778 162.183 114.268 160.645 103.834C157.243 79.8335 151.787 60.0649 144.511 45.0174C132.488 20.0574 115.772 9.26088 103.876 4.59617C96.4487 1.54077 88.4923 0.100139 80.5029 0.364065C72.5868 0.592629 64.7822 2.35349 57.4935 5.55544C45.816 10.5211 29.864 21.3741 19.478 44.8293C10.0923 65.9898 5.39948 89.5015 3.10764 105.489C1.63849 115.377 0.715404 125.343 0.342871 135.34C0.266507 137.559 0.634231 139.77 1.42299 141.835C2.21174 143.9 3.40453 145.774 4.92656 147.34ZM59.6762 11.8754C66.2296 8.96617 73.2482 7.33985 80.3756 7.079V7.24828H80.9212C88.0885 6.98588 95.2303 8.26693 101.893 11.0101C108.8 13.7827 115.165 17.8226 120.683 22.9353C128.191 30.0319 134.315 38.5491 138.727 48.0269C155.388 82.4104 157.207 135.133 157.207 135.66V135.904C156.993 138.028 156.02 139.994 154.479 141.415C149.24 147.227 132.742 156.952 81.1941 156.952C59.7126 156.952 42.451 155.391 29.8822 152.344C20.0964 149.955 13.2936 146.72 9.65577 142.732C8.73849 141.824 8.01535 140.727 7.5329 139.512C7.05045 138.297 6.8194 136.991 6.85462 135.678V135.547C6.85462 135.058 8.03692 86.8118 25.3349 47.6131C32.9198 30.4778 44.47 18.4586 59.6762 11.8754ZM44.7634 44.1274C45.2627 44.4383 45.8336 44.6048 46.4165 44.6097C46.952 44.6028 47.478 44.4624 47.9498 44.2005C48.4216 43.9385 48.8253 43.5627 49.1267 43.1049C55.2816 34.6476 64.1146 28.6958 74.0824 26.2894C74.4968 26.1893 74.8881 26.0059 75.234 25.7494C75.5798 25.493 75.8735 25.1687 76.0981 24.7949C76.3227 24.4211 76.474 24.0052 76.5432 23.571C76.6124 23.1368 76.5983 22.6927 76.5015 22.2642C76.4048 21.8356 76.2274 21.431 75.9794 21.0733C75.7314 20.7156 75.4177 20.412 75.0563 20.1797C74.6948 19.9474 74.2927 19.791 73.8728 19.7194C73.4529 19.6478 73.0235 19.6625 72.609 19.7625C60.9982 22.4967 50.7337 29.4772 43.7063 39.4183C43.3904 39.9249 43.2118 40.5098 43.1892 41.1121C43.1666 41.7144 43.3007 42.312 43.5776 42.8423C43.8545 43.3727 44.264 43.8165 44.7634 44.1274Z",fill:"black"}),b("path",{d:"M4.92656 147.34L5.11125 147.172L5.10584 147.166L4.92656 147.34ZM137.417 157.761L137.35 157.52L137.349 157.52L137.417 157.761ZM159.79 145.403L159.608 145.231L159.603 145.237L159.598 145.243L159.79 145.403ZM162.706 140.764L162.939 140.854L162.706 140.764ZM163.664 135.321L163.914 135.317L163.914 135.31L163.664 135.321ZM160.645 103.834L160.397 103.869L160.397 103.871L160.645 103.834ZM144.511 45.0174L144.286 45.1259L144.286 45.1263L144.511 45.0174ZM103.876 4.59617L103.781 4.8274L103.785 4.82891L103.876 4.59617ZM80.5029 0.364065L80.5101 0.613963L80.5111 0.613928L80.5029 0.364065ZM57.4935 5.55544L57.5913 5.78552L57.594 5.78433L57.4935 5.55544ZM19.478 44.8293L19.7065 44.9307L19.7066 44.9306L19.478 44.8293ZM3.10764 105.489L3.35493 105.526L3.35511 105.525L3.10764 105.489ZM0.342871 135.34L0.0930433 135.331L0.0930188 135.331L0.342871 135.34ZM1.42299 141.835L1.18944 141.924H1.18944L1.42299 141.835ZM80.3756 7.079H80.6256V6.81968L80.3664 6.82916L80.3756 7.079ZM59.6762 11.8754L59.7755 12.1048L59.7776 12.1039L59.6762 11.8754ZM80.3756 7.24828H80.1256V7.49828H80.3756V7.24828ZM80.9212 7.24828V7.49845L80.9304 7.49811L80.9212 7.24828ZM101.893 11.0101L101.798 11.2413L101.8 11.2422L101.893 11.0101ZM120.683 22.9353L120.855 22.7536L120.853 22.7519L120.683 22.9353ZM138.727 48.0269L138.5 48.1324L138.502 48.1359L138.727 48.0269ZM157.207 135.904L157.456 135.929L157.457 135.917V135.904H157.207ZM154.479 141.415L154.309 141.232L154.301 141.239L154.293 141.248L154.479 141.415ZM29.8822 152.344L29.8229 152.586L29.8233 152.586L29.8822 152.344ZM9.65577 142.732L9.84069 142.563L9.83167 142.554L9.65577 142.732ZM7.5329 139.512L7.30055 139.604L7.5329 139.512ZM6.85462 135.678L7.10462 135.685V135.678H6.85462ZM25.3349 47.6131L25.1063 47.5119L25.1062 47.5122L25.3349 47.6131ZM46.4165 44.6097L46.4144 44.8597L46.4197 44.8597L46.4165 44.6097ZM47.9498 44.2005L48.0711 44.419L47.9498 44.2005ZM49.1267 43.1049L48.9243 42.9577L48.9179 42.9675L49.1267 43.1049ZM74.0824 26.2894L74.0237 26.0464L74.0237 26.0464L74.0824 26.2894ZM75.234 25.7494L75.3829 25.9503V25.9503L75.234 25.7494ZM76.0981 24.7949L76.3124 24.9237L76.0981 24.7949ZM75.0563 20.1797L75.1915 19.9694V19.9694L75.0563 20.1797ZM73.8728 19.7194L73.9148 19.473L73.8728 19.7194ZM72.609 19.7625L72.6663 20.0059L72.6677 20.0056L72.609 19.7625ZM43.7063 39.4183L43.5022 39.274L43.498 39.2799L43.4942 39.286L43.7063 39.4183ZM43.1892 41.1121L42.9394 41.1027L43.1892 41.1121ZM43.5776 42.8423L43.7992 42.7266L43.5776 42.8423ZM81.1941 163.417C60.8493 163.417 44.2756 162.044 31.5579 159.322C18.8323 156.598 10.0053 152.53 5.11116 147.172L4.74196 147.509C9.74275 152.984 18.6958 157.08 31.4533 159.811C44.2188 162.543 60.8313 163.917 81.1941 163.917V163.417ZM137.349 157.52C123.611 161.405 104.702 163.417 81.1941 163.417V163.917C104.723 163.917 123.684 161.904 137.485 158.001L137.349 157.52ZM159.598 145.243C155.333 150.36 147.858 154.573 137.35 157.52L137.485 158.001C148.039 155.042 155.625 150.791 159.982 145.563L159.598 145.243ZM162.473 140.675C161.819 142.375 160.845 143.924 159.608 145.231L159.971 145.575C161.254 144.22 162.263 142.615 162.939 140.854L162.473 140.675ZM163.414 135.325C163.446 137.156 163.126 138.974 162.473 140.675L162.939 140.854C163.616 139.093 163.947 137.211 163.914 135.317L163.414 135.325ZM160.397 103.871C161.935 114.296 162.942 124.798 163.414 135.332L163.914 135.31C163.441 124.758 162.432 114.24 160.892 103.798L160.397 103.871ZM144.286 45.1263C151.547 60.1428 156.998 79.8842 160.397 103.869L160.892 103.799C157.489 79.7828 152.027 59.9869 144.736 44.9086L144.286 45.1263ZM103.785 4.82891C115.628 9.47311 132.293 20.2287 144.286 45.1259L144.736 44.9089C132.683 19.8862 115.915 9.04865 103.967 4.36342L103.785 4.82891ZM80.5111 0.613928C88.465 0.351177 96.3862 1.78538 103.781 4.82737L103.971 4.36496C96.5112 1.29616 88.5196 -0.150899 80.4946 0.114201L80.5111 0.613928ZM57.594 5.78433C64.8535 2.59525 72.6263 0.841591 80.5101 0.61396L80.4957 0.114169C72.5472 0.343667 64.711 2.11173 57.3929 5.32655L57.594 5.78433ZM19.7066 44.9306C30.0628 21.5426 45.9621 10.7306 57.5913 5.7855L57.3957 5.32538C45.6699 10.3116 29.6652 21.2056 19.2494 44.7281L19.7066 44.9306ZM3.35511 105.525C5.64556 89.5467 10.3343 66.0609 19.7065 44.9307L19.2494 44.728C9.85033 65.9188 5.1534 89.4563 2.86017 105.454L3.35511 105.525ZM0.592698 135.349C0.964888 125.362 1.88712 115.405 3.35492 105.526L2.86035 105.453C1.38985 115.35 0.465919 125.325 0.0930443 135.331L0.592698 135.349ZM1.65653 141.746C0.879739 139.712 0.517502 137.534 0.592723 135.348L0.0930188 135.331C0.0155122 137.583 0.388723 139.828 1.18944 141.924L1.65653 141.746ZM5.10584 147.166C3.60778 145.625 2.43332 143.779 1.65653 141.746L1.18944 141.924C1.99017 144.021 3.20128 145.924 4.74729 147.514L5.10584 147.166ZM80.3664 6.82916C73.2071 7.09119 66.1572 8.72482 59.5748 11.6469L59.7776 12.1039C66.3021 9.20753 73.2894 7.58851 80.3847 7.32883L80.3664 6.82916ZM80.6256 7.24828V7.079H80.1256V7.24828H80.6256ZM80.9212 6.99828H80.3756V7.49828H80.9212V6.99828ZM101.989 10.779C95.2926 8.02222 88.1153 6.73474 80.9121 6.99845L80.9304 7.49811C88.0618 7.23703 95.168 8.51165 101.798 11.2413L101.989 10.779ZM120.853 22.7519C115.313 17.6187 108.922 13.5622 101.987 10.7781L101.8 11.2422C108.678 14.0032 115.018 18.0265 120.513 23.1186L120.853 22.7519ZM138.953 47.9214C134.529 38.4153 128.386 29.8722 120.855 22.7536L120.511 23.1169C127.996 30.1917 134.102 38.6828 138.5 48.1324L138.953 47.9214ZM157.457 135.66C157.457 135.383 157.001 122.058 154.462 104.504C151.924 86.9516 147.299 65.1446 138.952 47.9179L138.502 48.1359C146.815 65.2927 151.431 87.0387 153.967 104.575C155.235 113.341 155.983 121.05 156.413 126.599C156.628 129.374 156.764 131.609 156.847 133.166C156.888 133.945 156.915 134.554 156.933 134.977C156.941 135.188 156.947 135.352 156.951 135.468C156.953 135.526 156.955 135.571 156.956 135.604C156.956 135.62 156.956 135.633 156.957 135.643C156.957 135.648 156.957 135.652 156.957 135.655C156.957 135.656 156.957 135.657 156.957 135.658C156.957 135.659 156.957 135.659 156.957 135.66H157.457ZM157.457 135.904V135.66H156.957V135.904H157.457ZM154.648 141.599C156.235 140.135 157.235 138.113 157.456 135.929L156.958 135.879C156.75 137.944 155.805 139.852 154.309 141.232L154.648 141.599ZM81.1941 157.202C132.752 157.202 149.349 147.48 154.664 141.583L154.293 141.248C149.131 146.975 132.733 156.702 81.1941 156.702V157.202ZM29.8233 152.586C42.4197 155.64 59.7037 157.202 81.1941 157.202V156.702C59.7214 156.702 42.4822 155.141 29.9411 152.101L29.8233 152.586ZM9.47108 142.9C13.1607 146.945 20.0245 150.195 29.8229 152.586L29.9415 152.101C20.1683 149.715 13.4266 146.494 9.84046 142.563L9.47108 142.9ZM7.30055 139.604C7.79556 140.851 8.53777 141.977 9.47986 142.91L9.83167 142.554C8.93921 141.671 8.23513 140.603 7.76525 139.42L7.30055 139.604ZM6.60471 135.672C6.56859 137.018 6.80555 138.358 7.30055 139.604L7.76525 139.42C7.29535 138.236 7.07021 136.964 7.10453 135.685L6.60471 135.672ZM6.60462 135.547V135.678H7.10462V135.547H6.60462ZM25.1062 47.5122C7.78667 86.7596 6.60462 135.048 6.60462 135.547H7.10462C7.10462 135.067 8.28717 86.8639 25.5636 47.7141L25.1062 47.5122ZM59.5769 11.646C44.3053 18.2575 32.7131 30.3272 25.1063 47.5119L25.5635 47.7143C33.1266 30.6284 44.6346 18.6598 59.7755 12.1048L59.5769 11.646ZM46.4186 44.3597C45.8822 44.3552 45.3562 44.202 44.8955 43.9152L44.6312 44.3397C45.1693 44.6746 45.7851 44.8545 46.4144 44.8597L46.4186 44.3597ZM47.8284 43.9819C47.3925 44.2239 46.9071 44.3534 46.4133 44.3597L46.4197 44.8597C46.9969 44.8522 47.5634 44.7009 48.0711 44.419L47.8284 43.9819ZM48.9179 42.9675C48.6383 43.3921 48.2644 43.7398 47.8284 43.9819L48.0711 44.419C48.5788 44.1372 49.0123 43.7333 49.3355 43.2424L48.9179 42.9675ZM74.0237 26.0464C63.997 28.467 55.1136 34.4536 48.9246 42.9578L49.3288 43.252C55.4496 34.8417 64.2323 28.9246 74.141 26.5324L74.0237 26.0464ZM75.0851 25.5486C74.7659 25.7853 74.4052 25.9543 74.0237 26.0464L74.141 26.5324C74.5884 26.4244 75.0103 26.2265 75.3829 25.9503L75.0851 25.5486ZM75.8838 24.6661C75.6758 25.0122 75.4043 25.3119 75.0851 25.5486L75.3829 25.9503C75.7554 25.6741 76.0711 25.3251 76.3124 24.9237L75.8838 24.6661ZM76.2963 23.5317C76.2321 23.9345 76.0918 24.32 75.8838 24.6661L76.3124 24.9237C76.5536 24.5222 76.7159 24.076 76.7901 23.6104L76.2963 23.5317ZM76.2577 22.3192C76.3474 22.7168 76.3605 23.1288 76.2963 23.5317L76.7901 23.6104C76.8643 23.1448 76.8491 22.6687 76.7454 22.2091L76.2577 22.3192ZM75.7739 21.2157C76.0034 21.5468 76.1679 21.9217 76.2577 22.3192L76.7454 22.2091C76.6416 21.7495 76.4513 21.3152 76.1848 20.9309L75.7739 21.2157ZM74.9211 20.39C75.2546 20.6043 75.5445 20.8848 75.7739 21.2157L76.1848 20.9309C75.9184 20.5465 75.5809 20.2197 75.1915 19.9694L74.9211 20.39ZM73.8308 19.9659C74.2172 20.0317 74.5877 20.1757 74.9211 20.39L75.1915 19.9694C74.802 19.7191 74.3682 19.5503 73.9148 19.473L73.8308 19.9659ZM72.6677 20.0056C73.0492 19.9135 73.4443 19.9 73.8308 19.9659L73.9148 19.473C73.4614 19.3957 72.9977 19.4115 72.5504 19.5195L72.6677 20.0056ZM43.9104 39.5626C50.9035 29.6702 61.1162 22.7257 72.6663 20.0059L72.5517 19.5192C60.8802 22.2676 50.564 29.2842 43.5022 39.274L43.9104 39.5626ZM43.439 41.1215C43.46 40.5623 43.6259 40.0198 43.9184 39.5506L43.4942 39.286C43.155 39.8299 42.9636 40.4573 42.9394 41.1027L43.439 41.1215ZM43.7992 42.7266C43.5426 42.2351 43.418 41.6807 43.439 41.1215L42.9394 41.1027C42.9151 41.7481 43.0588 42.3888 43.356 42.958L43.7992 42.7266ZM44.8955 43.9152C44.4347 43.6283 44.0558 43.2182 43.7992 42.7266L43.356 42.958C43.6532 43.5273 44.0933 44.0047 44.6312 44.3397L44.8955 43.9152Z",fill:"black"})]}),Zy=e=>{switch(e){case"patch":return b(He.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return b("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"topical lotion or patch":return b("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M114.249 57.1081C127.383 72.9966 132.256 93.7575 127.595 114.095C122.935 133.585 110.012 149.473 92.4289 157.735C83.7432 161.76 74.6339 163.667 65.1008 163.667C55.5677 163.667 46.2465 161.548 37.7726 157.735C19.7657 149.473 6.84314 133.585 2.39437 114.095C-2.26624 93.9693 2.60621 72.9966 15.7407 57.1081L60.652 2.23999C62.7705 -0.302164 67.0074 -0.302164 68.914 2.23999L114.249 57.1081ZM64.8889 152.863C72.9391 152.863 80.5655 151.168 87.7683 147.99C102.598 141.211 113.402 127.865 117.215 111.553C121.24 94.6049 117.003 77.0217 105.987 63.6754L64.8889 13.8915L23.7908 63.6754C12.7748 77.0217 8.5379 94.6049 12.563 111.553C16.3762 127.865 27.1804 141.211 42.0096 147.99C49.2123 151.168 56.8388 152.863 64.8889 152.863ZM97.7159 99.9199C97.7159 96.9541 100.046 94.6238 103.012 94.6238C105.978 94.6238 108.308 97.1659 108.308 99.9199C108.308 121.105 91.1487 138.264 69.9641 138.264C66.9982 138.264 64.6679 135.934 64.6679 132.968C64.6679 130.002 66.9982 127.672 69.9641 127.672C85.217 127.672 97.7159 115.173 97.7159 99.9199Z",fill:"black"})});case"inhalation method":return b("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"edible":return b(TE,{});case"capsule":return b(TE,{});default:return b(He.CheckIcon,{className:"stroke-[5px]"})}},cve=()=>{const{getSubmission:e}=ti(),{data:t}=yS({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=iA(r?{avoidPresentation:r.areThere,currentlyUsingCannabisProducts:r.usingCannabisProducts==="Yes",openToUseThcProducts:r.workday_allow_intoxication_nonworkday_allow_intoxi,reasonToUse:r.whatBrings,symptomsWorseTimes:r.symptoms_worse_times,thcTypePreferences:r.thc_type_preferences}:{avoidPresentation:[],currentlyUsingCannabisProducts:!1,openToUseThcProducts:[],reasonToUse:[],symptomsWorseTimes:[],thcTypePreferences:cc.notSure}),s=$t(),c=[{title:"IN THE MORNINGS",label:i.dayTime.result,description:"",form:i.dayTime.form,type:i.dayTime.type},{title:"IN THE EVENING",label:i.evening.result,description:"",form:i.evening.form,type:i.evening.type},{title:"AT BEDTIME",label:i.bedTime.result,description:"",form:i.bedTime.form,type:i.bedTime.type}],f=[{title:"IN THE MORNINGS",label:n.dayTime.result,description:"",form:n.dayTime.form,type:n.dayTime.type},{title:"IN THE EVENING",label:n.evening.result,description:"",form:n.evening.form,type:n.evening.type},{title:"AT BEDTIME",label:n.bedTime.result,description:"",form:n.bedTime.form,type:n.bedTime.type}];return b(dt,{children:b("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:q("div",{className:"w-full max-w-[1211px] lg:w-3/5",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),q("section",{className:"flex flex-col items-center justify-center gap-10 bg-cream-200 px-0 py-7 md:px-10 lg:flex-row",children:[q("article",{className:"flex flex-row items-center justify-center gap-4",children:[b("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:b(He.CheckIcon,{className:"stroke-[5px]"})}),q("div",{className:"flex w-full flex-col md:w-[316px]",children:[b(le,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),b(le,{variant:"base",className:"underline",children:"Product types/forms."}),b(le,{variant:"base",className:"underline",children:"Starting doses."}),b(le,{variant:"base",className:"underline",children:"Times of uses."}),b(gt,{variant:"white",right:b(He.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Save Recommendations"})]})]}),q("article",{className:"flex-wor flex items-center justify-center gap-4",children:[b("div",{children:b("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:b(He.XMarkIcon,{className:"stroke-[3px]"})})}),q("div",{className:"flex w-[316px] flex-col",children:[b(le,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),b(le,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),b(le,{variant:"base",className:"underline",children:"Clinician review & approval."}),b(le,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),b(gt,{variant:"white",right:b(He.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),q("section",{children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),b("main",{className:"flex flex-col gap-14",children:c.map(({title:d,label:h,description:m,type:w,form:C})=>w?q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(C)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:h}),b(le,{className:"hidden md:block",children:m})]})]})]},d):b(xi,{}))})]}),q("section",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),b("main",{className:"flex flex-col gap-14",children:f.map(({title:d,label:h,description:m,type:w,form:C})=>w?q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(C)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:h}),b(le,{className:"hidden md:block",children:m})]})]})]},d):b(xi,{}))})]}),b("section",{children:q("header",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),b(le,{className:"mb-8 mt-12",children:o})]})}),b("footer",{children:q(le,{className:"mb-8 mt-12",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an eo clinician. To most responsibly define and maintain an optimal cannabis regimen,",b("a",{href:Se.register,className:"underline",children:"get your eo care plan now."})]})})]})})})},fve=()=>{const[e]=cn(),t=e.get("submission_id"),r=e.get("union"),[n,i]=v.useState(!1),o=10,[s,c]=v.useState(0),{getSubmissionById:f}=ti(),{data:d}=yS({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===mu.Pain||O.malady===mu.Anxiety||O.malady===mu.Sleep||O.malady===mu.Other)&&i(!0),c(T=>T+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:w,whyRecommended:C}=iA({avoidPresentation:(h==null?void 0:h.areThere)||[],currentlyUsingCannabisProducts:(h==null?void 0:h.usingCannabisProducts)==="Yes",openToUseThcProducts:(h==null?void 0:h.workday_allow_intoxication_nonworkday_allow_intoxi)||[],reasonToUse:(h==null?void 0:h.whatBrings)||[],symptomsWorseTimes:(h==null?void 0:h.symptoms_worse_times)||[],thcTypePreferences:(h==null?void 0:h.thc_type_preferences)||cc.notSure}),S=O=>{let T="";switch(O.time){case"Morning":T="IN THE MORNINGS";break;case"Evening":T="IN THE EVENING";break;case"BedTime":T="AT BEDTIME";break}return{title:T,label:O.result,description:"",form:O.form,type:O.type}},E=Object.values(w).map(S).filter(O=>!!O.type),A=Object.values(m).map(S).filter(O=>!!O.type),x=(h==null?void 0:h.thc_type_preferences)===cc.notPrefer,y=E.length||A.length,_=(O,T)=>q("section",{className:"mt-8",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),b("main",{className:"flex flex-col gap-14",children:T.map(({title:D,label:V,description:N,form:H})=>q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-600",children:D}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(H)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:V}),b(le,{className:"hidden md:block",children:N})]})]})]},D))})]});return b(dt,{children:b("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:q("div",{className:"w-full max-w-[1211px] md:w-[90%] lg:w-4/5",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),q("section",{className:"grid grid-cols-1 items-center justify-center divide-x divide-solid bg-cream-200 px-0 py-7 md:px-3 lg:grid-cols-2 lg:divide-gray-400",children:[q("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[b("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:b(He.CheckIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),q("div",{className:"flex w-[316px] flex-col p-4",children:[b(le,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),b(le,{variant:"base",font:"medium",children:"Product types/forms."}),b(le,{variant:"base",font:"medium",children:"Starting doses."}),b(le,{variant:"base",font:"medium",children:"Times of uses."}),b(gt,{id:"ga-save-recomendation",variant:"white",right:b(He.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:b(le,{font:"medium",children:"Save Recommendations"})})]})]}),q("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[b("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:b(He.XMarkIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),q("div",{className:"flex w-[316px] flex-col p-4",children:[b(le,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),b(le,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),b(le,{variant:"base",font:"medium",children:"Clinician review & approval."}),b(le,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),b(gt,{id:"ga-continue-recomendation",variant:"white",right:b(He.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:b(le,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!y?b(xi,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:b(le,{font:"medium",children:"Redirect"})}),b(le,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),b("section",{children:q("header",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),b(le,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),b("footer",{children:q(le,{className:"mb-8 mt-4 text-justify",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an eo clinician. To most responsibly define and maintain an optimal cannabis regimen,"," ",b("span",{onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},className:"poin cursor-pointer font-bold underline",children:"get your eo care plan now."})]})})]})})})},dve=()=>{const e=$t(),{channel:t,type:r,origin:n}=sl(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?j3e:z3e;break}case"cancer":{o=r==="Patient"?P3e:$3e;break}}return Yo(()=>{setTimeout(()=>{Ko(o)},400)}),o===null&&e("/"),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:o&&b("iframe",{id:`JotFormIFrame-${o}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${o}?${i.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})};function PE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function xw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:PE(t[r])&&PE(e[r])&&Object.keys(t[r]).length>0&&xw(e[r],t[r])})}const oA={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ll(){const e=typeof document<"u"?document:{};return xw(e,oA),e}const pve={document:oA,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function dn(){const e=typeof window<"u"?window:{};return xw(e,pve),e}function hve(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function mve(e){const t=e;Object.keys(t).forEach(r=>{try{t[r]=null}catch{}try{delete t[r]}catch{}})}function Gy(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Um(){return Date.now()}function vve(e){const t=dn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function gve(e,t){t===void 0&&(t="x");const r=dn();let n,i,o;const s=vve(e);return r.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(c=>c.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix(i==="none"?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),t==="x"&&(r.WebKitCSSMatrix?i=o.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),t==="y"&&(r.WebKitCSSMatrix?i=o.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function W1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function yve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function rn(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;rt.indexOf(o)<0);for(let o=0,s=i.length;oo?"next":"prev",h=(w,C)=>d==="next"&&w>=C||d==="prev"&&w<=C,m=()=>{c=new Date().getTime(),s===null&&(s=c);const w=Math.max(Math.min((c-s)/f,1),0),C=.5-Math.cos(w*Math.PI)/2;let S=o+C*(r-o);if(h(S,r)&&(S=r),t.wrapperEl.scrollTo({[n]:S}),h(S,r)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:S})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(m)};m()}function wi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function qm(e){try{console.warn(e);return}catch{}}function fc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:hve(t)),r}function wve(e,t){const r=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function xve(e,t){const r=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function Io(e,t){return dn().getComputedStyle(e,null).getPropertyValue(t)}function dc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function sA(e,t){const r=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function Qy(e,t,r){const n=dn();return r?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function lA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=wi(e.el,`.${n[i]}`)[0];o||(o=fc("div",n[i]),o.className=n[i],e.el.append(o)),r[i]=o,t[i]=o}}),r}function bve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const o=E=>(Array.isArray(E)?E:[E]).filter(A=>!!A);function s(E){let A;return E&&typeof E=="string"&&t.isElement&&(A=t.el.querySelector(E),A)?A:(E&&(typeof E=="string"&&(A=[...document.querySelectorAll(E)]),t.params.uniqueNavElements&&typeof E=="string"&&A.length>1&&t.el.querySelectorAll(E).length===1&&(A=t.el.querySelector(E))),E&&!A?E:A)}function c(E,A){const x=t.params.navigation;E=o(E),E.forEach(y=>{y&&(y.classList[A?"add":"remove"](...x.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=A),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](x.lockClass))})}function f(){const{nextEl:E,prevEl:A}=t.navigation;if(t.params.loop){c(A,!1),c(E,!1);return}c(A,t.isBeginning&&!t.params.rewind),c(E,t.isEnd&&!t.params.rewind)}function d(E){E.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function h(E){E.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function m(){const E=t.params.navigation;if(t.params.navigation=lA(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(E.nextEl||E.prevEl))return;let A=s(E.nextEl),x=s(E.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:x}),A=o(A),x=o(x);const y=(_,O)=>{_&&_.addEventListener("click",O==="next"?h:d),!t.enabled&&_&&_.classList.add(...E.lockClass.split(" "))};A.forEach(_=>y(_,"next")),x.forEach(_=>y(_,"prev"))}function w(){let{nextEl:E,prevEl:A}=t.navigation;E=o(E),A=o(A);const x=(y,_)=>{y.removeEventListener("click",_==="next"?h:d),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};E.forEach(y=>x(y,"next")),A.forEach(y=>x(y,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?S():(m(),f())}),n("toEdge fromEdge lock unlock",()=>{f()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{nextEl:E,prevEl:A}=t.navigation;if(E=o(E),A=o(A),t.enabled){f();return}[...E,...A].filter(x=>!!x).forEach(x=>x.classList.add(t.params.navigation.lockClass))}),n("click",(E,A)=>{let{nextEl:x,prevEl:y}=t.navigation;x=o(x),y=o(y);const _=A.target;if(t.params.navigation.hideOnClick&&!y.includes(_)&&!x.includes(_)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===_||t.pagination.el.contains(_)))return;let O;x.length?O=x[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(O=y[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...x,...y].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const C=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),m(),f()},S=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),w()};Object.assign(t.navigation,{enable:C,disable:S,update:f,init:m,destroy:w})}function ko(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Cve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:y=>y,formatFractionTotal:y=>y,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let s,c=0;const f=y=>(Array.isArray(y)?y:[y]).filter(_=>!!_);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function h(y,_){const{bulletActiveClass:O}=t.params.pagination;y&&(y=y[`${_==="prev"?"previous":"next"}ElementSibling`],y&&(y.classList.add(`${O}-${_}`),y=y[`${_==="prev"?"previous":"next"}ElementSibling`],y&&y.classList.add(`${O}-${_}-${_}`)))}function m(y){const _=y.target.closest(ko(t.params.pagination.bulletClass));if(!_)return;y.preventDefault();const O=dc(_)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===O)return;t.slideToLoop(O)}else t.slideTo(O)}function w(){const y=t.rtl,_=t.params.pagination;if(d())return;let O=t.pagination.el;O=f(O);let T,D;const V=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,N=t.params.loop?Math.ceil(V/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(D=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,D=t.previousSnapIndex):(D=t.previousIndex||0,T=t.activeIndex||0),_.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const H=t.pagination.bullets;let W,Z,Q;if(_.dynamicBullets&&(s=Qy(H[0],t.isHorizontal()?"width":"height",!0),O.forEach(a=>{a.style[t.isHorizontal()?"width":"height"]=`${s*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&D!==void 0&&(c+=T-(D||0),c>_.dynamicMainBullets-1?c=_.dynamicMainBullets-1:c<0&&(c=0)),W=Math.max(T-c,0),Z=W+(Math.min(H.length,_.dynamicMainBullets)-1),Q=(Z+W)/2),H.forEach(a=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(M=>`${_.bulletActiveClass}${M}`)].map(M=>typeof M=="string"&&M.includes(" ")?M.split(" "):M).flat();a.classList.remove(...P)}),O.length>1)H.forEach(a=>{const P=dc(a);P===T?a.classList.add(..._.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),_.dynamicBullets&&(P>=W&&P<=Z&&a.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),P===W&&h(a,"prev"),P===Z&&h(a,"next"))});else{const a=H[T];if(a&&a.classList.add(..._.bulletActiveClass.split(" ")),t.isElement&&H.forEach((P,M)=>{P.setAttribute("part",M===T?"bullet-active":"bullet")}),_.dynamicBullets){const P=H[W],M=H[Z];for(let G=W;G<=Z;G+=1)H[G]&&H[G].classList.add(...`${_.bulletActiveClass}-main`.split(" "));h(P,"prev"),h(M,"next")}}if(_.dynamicBullets){const a=Math.min(H.length,_.dynamicMainBullets+4),P=(s*a-s)/2-Q*s,M=y?"right":"left";H.forEach(G=>{G.style[t.isHorizontal()?M:"top"]=`${P}px`})}}O.forEach((H,W)=>{if(_.type==="fraction"&&(H.querySelectorAll(ko(_.currentClass)).forEach(Z=>{Z.textContent=_.formatFractionCurrent(T+1)}),H.querySelectorAll(ko(_.totalClass)).forEach(Z=>{Z.textContent=_.formatFractionTotal(N)})),_.type==="progressbar"){let Z;_.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Q=(T+1)/N;let a=1,P=1;Z==="horizontal"?a=Q:P=Q,H.querySelectorAll(ko(_.progressbarFillClass)).forEach(M=>{M.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${P})`,M.style.transitionDuration=`${t.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(H.innerHTML=_.renderCustom(t,T+1,N),W===0&&i("paginationRender",H)):(W===0&&i("paginationRender",H),i("paginationUpdate",H)),t.params.watchOverflow&&t.enabled&&H.classList[t.isLocked?"add":"remove"](_.lockClass)})}function C(){const y=t.params.pagination;if(d())return;const _=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let O=t.pagination.el;O=f(O);let T="";if(y.type==="bullets"){let D=t.params.loop?Math.ceil(_/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&D>_&&(D=_);for(let V=0;V`}y.type==="fraction"&&(y.renderFraction?T=y.renderFraction.call(t,y.currentClass,y.totalClass):T=` / `),y.type==="progressbar"&&(y.renderProgressbar?T=y.renderProgressbar.call(t,y.progressbarFillClass):T=``),t.pagination.bullets=[],O.forEach(D=>{y.type!=="custom"&&(D.innerHTML=T||""),y.type==="bullets"&&t.pagination.bullets.push(...D.querySelectorAll(ko(y.bulletClass)))}),y.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=lA(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const y=t.params.pagination;if(!y.el)return;let _;typeof y.el=="string"&&t.isElement&&(_=t.el.querySelector(y.el)),!_&&typeof y.el=="string"&&(_=[...document.querySelectorAll(y.el)]),_||(_=y.el),!(!_||_.length===0)&&(t.params.uniqueNavElements&&typeof y.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...t.el.querySelectorAll(y.el)],_.length>1&&(_=_.filter(O=>sA(O,".swiper")[0]===t.el)[0])),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(t.pagination,{el:_}),_=f(_),_.forEach(O=>{y.type==="bullets"&&y.clickable&&O.classList.add(...(y.clickableClass||"").split(" ")),O.classList.add(y.modifierClass+y.type),O.classList.add(t.isHorizontal()?y.horizontalClass:y.verticalClass),y.type==="bullets"&&y.dynamicBullets&&(O.classList.add(`${y.modifierClass}${y.type}-dynamic`),c=0,y.dynamicMainBullets<1&&(y.dynamicMainBullets=1)),y.type==="progressbar"&&y.progressbarOpposite&&O.classList.add(y.progressbarOppositeClass),y.clickable&&O.addEventListener("click",m),t.enabled||O.classList.add(y.lockClass)}))}function E(){const y=t.params.pagination;if(d())return;let _=t.pagination.el;_&&(_=f(_),_.forEach(O=>{O.classList.remove(y.hiddenClass),O.classList.remove(y.modifierClass+y.type),O.classList.remove(t.isHorizontal()?y.horizontalClass:y.verticalClass),y.clickable&&(O.classList.remove(...(y.clickableClass||"").split(" ")),O.removeEventListener("click",m))})),t.pagination.bullets&&t.pagination.bullets.forEach(O=>O.classList.remove(...y.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const y=t.params.pagination;let{el:_}=t.pagination;_=f(_),_.forEach(O=>{O.classList.remove(y.horizontalClass,y.verticalClass),O.classList.add(t.isHorizontal()?y.horizontalClass:y.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?x():(S(),C(),w())}),n("activeIndexChange",()=>{typeof t.snapIndex>"u"&&w()}),n("snapIndexChange",()=>{w()}),n("snapGridLengthChange",()=>{C(),w()}),n("destroy",()=>{E()}),n("enable disable",()=>{let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{w()}),n("click",(y,_)=>{const O=_.target,T=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!O.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&O===t.navigation.nextEl||t.navigation.prevEl&&O===t.navigation.prevEl))return;const D=T[0].classList.contains(t.params.pagination.hiddenClass);i(D===!0?"paginationShow":"paginationHide"),T.forEach(V=>V.classList.toggle(t.params.pagination.hiddenClass))}});const A=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList.remove(t.params.pagination.paginationDisabledClass))),S(),C(),w()},x=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList.add(t.params.pagination.paginationDisabledClass))),E()};Object.assign(t.pagination,{enable:A,disable:x,render:C,update:w,init:S,destroy:E})}function Eve(e){let{swiper:t,extendParams:r,on:n}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function o(P){const M=i;M.length!==0&&(M.innerHTML="",M.innerHTML=P)}const s=P=>(Array.isArray(P)?P:[P]).filter(M=>!!M);function c(P){P===void 0&&(P=16);const M=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,M)}function f(P){P=s(P),P.forEach(M=>{M.setAttribute("tabIndex","0")})}function d(P){P=s(P),P.forEach(M=>{M.setAttribute("tabIndex","-1")})}function h(P,M){P=s(P),P.forEach(G=>{G.setAttribute("role",M)})}function m(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-roledescription",M)})}function w(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-controls",M)})}function C(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-label",M)})}function S(P,M){P=s(P),P.forEach(G=>{G.setAttribute("id",M)})}function E(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-live",M)})}function A(P){P=s(P),P.forEach(M=>{M.setAttribute("aria-disabled",!0)})}function x(P){P=s(P),P.forEach(M=>{M.setAttribute("aria-disabled",!1)})}function y(P){if(P.keyCode!==13&&P.keyCode!==32)return;const M=t.params.a11y,G=P.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(P.target))&&!P.target.matches(ko(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&G===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?o(M.lastSlideMessage):o(M.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&G===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?o(M.firstSlideMessage):o(M.prevSlideMessage)),t.pagination&&G.matches(ko(t.params.pagination.bulletClass))&&G.click())}function _(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:P,prevEl:M}=t.navigation;M&&(t.isBeginning?(A(M),d(M)):(x(M),f(M))),P&&(t.isEnd?(A(P),d(P)):(x(P),f(P)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function T(){return O()&&t.params.pagination.clickable}function D(){const P=t.params.a11y;O()&&t.pagination.bullets.forEach(M=>{t.params.pagination.clickable&&(f(M),t.params.pagination.renderBullet||(h(M,"button"),C(M,P.paginationBulletMessage.replace(/\{\{index\}\}/,dc(M)+1)))),M.matches(ko(t.params.pagination.bulletActiveClass))?M.setAttribute("aria-current","true"):M.removeAttribute("aria-current")})}const V=(P,M,G)=>{f(P),P.tagName!=="BUTTON"&&(h(P,"button"),P.addEventListener("keydown",y)),C(P,G),w(P,M)},N=()=>{t.a11y.clicked=!0},H=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},W=P=>{if(t.a11y.clicked)return;const M=P.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!M||!t.slides.includes(M))return;const G=t.slides.indexOf(M)===t.activeIndex,ae=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(M);G||ae||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(M),0))},Z=()=>{const P=t.params.a11y;P.itemRoleDescriptionMessage&&m(t.slides,P.itemRoleDescriptionMessage),P.slideRole&&h(t.slides,P.slideRole);const M=t.slides.length;P.slideLabelMessage&&t.slides.forEach((G,ae)=>{const Y=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):ae,re=P.slideLabelMessage.replace(/\{\{index\}\}/,Y+1).replace(/\{\{slidesLength\}\}/,M);C(G,re)})},Q=()=>{const P=t.params.a11y;t.el.append(i);const M=t.el;P.containerRoleDescriptionMessage&&m(M,P.containerRoleDescriptionMessage),P.containerMessage&&C(M,P.containerMessage);const G=t.wrapperEl,ae=P.id||G.getAttribute("id")||`swiper-wrapper-${c(16)}`,Y=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";S(G,ae),E(G,Y),Z();let{nextEl:re,prevEl:ve}=t.navigation?t.navigation:{};re=s(re),ve=s(ve),re&&re.forEach(xe=>V(xe,ae,P.nextSlideMessage)),ve&&ve.forEach(xe=>V(xe,ae,P.prevSlideMessage)),T()&&s(t.pagination.el).forEach(Te=>{Te.addEventListener("keydown",y)}),t.el.addEventListener("focus",W,!0),t.el.addEventListener("pointerdown",N,!0),t.el.addEventListener("pointerup",H,!0)};function a(){i&&i.remove();let{nextEl:P,prevEl:M}=t.navigation?t.navigation:{};P=s(P),M=s(M),P&&P.forEach(G=>G.removeEventListener("keydown",y)),M&&M.forEach(G=>G.removeEventListener("keydown",y)),T()&&s(t.pagination.el).forEach(ae=>{ae.removeEventListener("keydown",y)}),t.el.removeEventListener("focus",W,!0),t.el.removeEventListener("pointerdown",N,!0),t.el.removeEventListener("pointerup",H,!0)}n("beforeInit",()=>{i=fc("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{t.params.a11y.enabled&&Q()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&Z()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&_()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&D()}),n("destroy",()=>{t.params.a11y.enabled&&a()})}let Y4;function _ve(){const e=dn(),t=ll();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function uA(){return Y4||(Y4=_ve()),Y4}let K4;function kve(e){let{userAgent:t}=e===void 0?{}:e;const r=uA(),n=dn(),i=n.navigator.platform,o=t||n.navigator.userAgent,s={ios:!1,android:!1},c=n.screen.width,f=n.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/);let h=o.match(/(iPad).*OS\s([\d_]+)/);const m=o.match(/(iPod)(.*OS\s([\d_]+))?/),w=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),C=i==="Win32";let S=i==="MacIntel";const E=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&S&&r.touch&&E.indexOf(`${c}x${f}`)>=0&&(h=o.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),S=!1),d&&!C&&(s.os="android",s.android=!0),(h||w||m)&&(s.os="ios",s.ios=!0),s}function Sve(e){return e===void 0&&(e={}),K4||(K4=kve(e)),K4}let X4;function Rve(){const e=dn();let t=!1;function r(){const n=e.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(r()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[i,o]=n.split("Version/")[1].split(" ")[0].split(".").map(s=>Number(s));t=i<16||i===16&&o<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Ave(){return X4||(X4=Rve()),X4}function Ove(e){let{swiper:t,on:r,emit:n}=e;const i=dn();let o=null,s=null;const c=()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},f=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(m=>{s=i.requestAnimationFrame(()=>{const{width:w,height:C}=t;let S=w,E=C;m.forEach(A=>{let{contentBoxSize:x,contentRect:y,target:_}=A;_&&_!==t.el||(S=y?y.width:(x[0]||x).inlineSize,E=y?y.height:(x[0]||x).blockSize)}),(S!==w||E!==C)&&c()})}),o.observe(t.el))},d=()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},h=()=>{!t||t.destroyed||!t.initialized||n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){f();return}i.addEventListener("resize",c),i.addEventListener("orientationchange",h)}),r("destroy",()=>{d(),i.removeEventListener("resize",c),i.removeEventListener("orientationchange",h)})}function Ive(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=dn(),c=function(h,m){m===void 0&&(m={});const w=s.MutationObserver||s.WebkitMutationObserver,C=new w(S=>{if(t.__preventObserver__)return;if(S.length===1){i("observerUpdate",S[0]);return}const E=function(){i("observerUpdate",S[0])};s.requestAnimationFrame?s.requestAnimationFrame(E):s.setTimeout(E,0)});C.observe(h,{attributes:typeof m.attributes>"u"?!0:m.attributes,childList:typeof m.childList>"u"?!0:m.childList,characterData:typeof m.characterData>"u"?!0:m.characterData}),o.push(C)},f=()=>{if(t.params.observer){if(t.params.observeParents){const h=sA(t.hostEl);for(let m=0;m{o.forEach(h=>{h.disconnect()}),o.splice(0,o.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",f),n("destroy",d)}var Lve={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const i=r?"unshift":"push";return e.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][i](t)}),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,s=new Array(o),c=0;c=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||e.split(" ").forEach(n=>{typeof t>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&r.eventsListeners[n].splice(o,1)})}),r},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,r,n;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(d=>{d.apply(n,[f,...r])}),e.eventsListeners&&e.eventsListeners[f]&&e.eventsListeners[f].forEach(d=>{d.apply(n,r)})}),e}};function Bve(){const e=this;let t,r;const n=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=n.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?r=e.params.height:r=n.clientHeight,!(t===0&&e.isHorizontal()||r===0&&e.isVertical())&&(t=t-parseInt(Io(n,"padding-left")||0,10)-parseInt(Io(n,"padding-right")||0,10),r=r-parseInt(Io(n,"padding-top")||0,10)-parseInt(Io(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))}function Tve(){const e=this;function t(W,Z){return parseFloat(W.getPropertyValue(e.getDirectionLabel(Z))||0)}const r=e.params,{wrapperEl:n,slidesEl:i,size:o,rtlTranslate:s,wrongRTL:c}=e,f=e.virtual&&r.virtual.enabled,d=f?e.virtual.slides.length:e.slides.length,h=wi(i,`.${e.params.slideClass}, swiper-slide`),m=f?e.virtual.slides.length:h.length;let w=[];const C=[],S=[];let E=r.slidesOffsetBefore;typeof E=="function"&&(E=r.slidesOffsetBefore.call(e));let A=r.slidesOffsetAfter;typeof A=="function"&&(A=r.slidesOffsetAfter.call(e));const x=e.snapGrid.length,y=e.slidesGrid.length;let _=r.spaceBetween,O=-E,T=0,D=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*o:typeof _=="string"&&(_=parseFloat(_)),e.virtualSize=-_,h.forEach(W=>{s?W.style.marginLeft="":W.style.marginRight="",W.style.marginBottom="",W.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(H1(n,"--swiper-centered-offset-before",""),H1(n,"--swiper-centered-offset-after",""));const V=r.grid&&r.grid.rows>1&&e.grid;V?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let N;const H=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(W=>typeof r.breakpoints[W].slidesPerView<"u").length>0;for(let W=0;W1&&w.push(e.virtualSize-o)}if(f&&r.loop){const W=S[0]+_;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Q=W*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Q!==h.length-1).forEach(Z=>{Z.style[W]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let W=0;S.forEach(Q=>{W+=Q+(_||0)}),W-=_;const Z=W-o;w=w.map(Q=>Q<=0?-E:Q>Z?Z+A:Q)}if(r.centerInsufficientSlides){let W=0;if(S.forEach(Z=>{W+=Z+(_||0)}),W-=_,W{w[a]=Q-Z}),C.forEach((Q,a)=>{C[a]=Q+Z})}}if(Object.assign(e,{slides:h,snapGrid:w,slidesGrid:C,slidesSizesGrid:S}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){H1(n,"--swiper-centered-offset-before",`${-w[0]}px`),H1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const W=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Q=>Q+W),e.slidesGrid=e.slidesGrid.map(Q=>Q+Z)}if(m!==d&&e.emit("slidesLengthChange"),w.length!==x&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),C.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!f&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const W=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(W);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(W):Z&&e.el.classList.remove(W)}}function Pve(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let i=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=c=>n?t.slides[t.getSlideIndexByData(c)]:t.slides[c];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(c=>{r.push(c)});else for(o=0;ot.slides.length&&!n)break;r.push(s(c))}else r.push(s(t.activeIndex));for(o=0;oi?c:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function $ve(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),n.forEach(f=>{f.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let c=r.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*t.size:typeof c=="string"&&(c=parseFloat(c));for(let f=0;f=0&&C<=t.size-t.slidesSizesGrid[f];(C>=0&&C1&&S<=t.size||C<=0&&S>=t.size)&&(t.visibleSlides.push(d),t.visibleSlidesIndexes.push(f),n[f].classList.add(r.slideVisibleClass)),E&&n[f].classList.add(r.slideFullyVisibleClass),d.progress=i?-m:m,d.originalProgress=i?-w:w}}function Dve(e){const t=this;if(typeof e>"u"){const h=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*h||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:c}=t;const f=o,d=s;if(n===0)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/n;const h=Math.abs(e-t.minTranslate())<1,m=Math.abs(e-t.maxTranslate())<1;o=h||i<=0,s=m||i>=1,h&&(i=0),m&&(i=1)}if(r.loop){const h=t.getSlideIndexByData(0),m=t.getSlideIndexByData(t.slides.length-1),w=t.slidesGrid[h],C=t.slidesGrid[m],S=t.slidesGrid[t.slidesGrid.length-1],E=Math.abs(e);E>=w?c=(E-w)/S:c=(E+S-C)/S,c>1&&(c-=1)}Object.assign(t,{progress:i,progressLoop:c,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!f&&t.emit("reachBeginning toEdge"),s&&!d&&t.emit("reachEnd toEdge"),(f&&!o||d&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}function Fve(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,o=e.virtual&&r.virtual.enabled,s=e.grid&&r.grid&&r.grid.rows>1,c=m=>wi(n,`.${r.slideClass}${m}, swiper-slide${m}`)[0];t.forEach(m=>{m.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)});let f,d,h;if(o)if(r.loop){let m=i-e.virtual.slidesBefore;m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),f=c(`[data-swiper-slide-index="${m}"]`)}else f=c(`[data-swiper-slide-index="${i}"]`);else s?(f=t.filter(m=>m.column===i)[0],h=t.filter(m=>m.column===i+1)[0],d=t.filter(m=>m.column===i-1)[0]):f=t[i];f&&(f.classList.add(r.slideActiveClass),s?(h&&h.classList.add(r.slideNextClass),d&&d.classList.add(r.slidePrevClass)):(h=xve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=wve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const ah=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){let i=n.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},J4=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},Yy=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,c=[s-t];c.push(...Array.from({length:t}).map((f,d)=>s+n+d)),e.slides.forEach((f,d)=>{c.includes(f.column)&&J4(e,d)});return}const o=i+n-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=o+t;s+=1){const c=(s%r+r)%r;(co)&&J4(e,c)}else for(let s=Math.max(i-t,0);s<=Math.min(o+t,r-1);s+=1)s!==i&&(s>o||s=t[o]&&n=t[o]&&n=t[o]&&(i=o);return r.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function jve(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:i,activeIndex:o,realIndex:s,snapIndex:c}=t;let f=e,d;const h=C=>{let S=C-t.virtual.slidesBefore;return S<0&&(S=t.virtual.slides.length+S),S>=t.virtual.slides.length&&(S-=t.virtual.slides.length),S};if(typeof f>"u"&&(f=Nve(t)),n.indexOf(r)>=0)d=n.indexOf(r);else{const C=Math.min(i.slidesPerGroupSkip,f);d=C+Math.floor((f-C)/i.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),f===o&&!t.params.loop){d!==c&&(t.snapIndex=d,t.emit("snapIndexChange"));return}if(f===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=h(f);return}const m=t.grid&&i.grid&&i.grid.rows>1;let w;if(t.virtual&&i.virtual.enabled&&i.loop)w=h(f);else if(m){const C=t.slides.filter(E=>E.column===f)[0];let S=parseInt(C.getAttribute("data-swiper-slide-index"),10);Number.isNaN(S)&&(S=Math.max(t.slides.indexOf(C),0)),w=Math.floor(S/i.grid.rows)}else if(t.slides[f]){const C=t.slides[f].getAttribute("data-swiper-slide-index");C?w=parseInt(C,10):w=f}else w=f;Object.assign(t,{previousSnapIndex:c,snapIndex:d,previousRealIndex:s,realIndex:w,previousIndex:o,activeIndex:f}),t.initialized&&Yy(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==w&&t.emit("realIndexChange"),t.emit("slideChange"))}function zve(e,t){const r=this,n=r.params;let i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(c=>{!i&&c.matches&&c.matches(`.${n.slideClass}, swiper-slide`)&&(i=c)});let o=!1,s;if(i){for(let c=0;cf?h=f:n&&es?c="next":o=f.length&&(A=f.length-1);const x=-f[A];if(c.normalizeSlideIndex)for(let _=0;_=T&&O=T&&O=T&&(s=_)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(w?x>o.translate&&x>o.minTranslate():xo.translate&&x>o.maxTranslate()&&(m||0)!==s))return!1;s!==(h||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(x);let y;if(s>m?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[_?"scrollLeft":"scrollTop"]=O})):C[_?"scrollLeft":"scrollTop"]=O,T&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return aA({swiper:o,targetPosition:O,side:_?"left":"top"}),!0;C.scrollTo({[_?"left":"top"]:O,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(x),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,y),t===0?o.transitionEnd(r,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(O){!o||o.destroyed||O.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function e4e(e,t,r,n){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),r===void 0&&(r=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this,o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let c;if(o){const w=s*i.params.grid.rows;c=i.slides.filter(C=>C.getAttribute("data-swiper-slide-index")*1===w)[0].column}else c=i.getSlideIndexByData(s);const f=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:d}=i.params;let h=i.params.slidesPerView;h==="auto"?h=i.slidesPerViewDynamic():(h=Math.ceil(parseFloat(i.params.slidesPerView,10)),d&&h%2===0&&(h=h+1));let m=f-cC.getAttribute("data-swiper-slide-index")*1===w)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i}function t4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this,{enabled:i,params:o,animating:s}=n;if(!i)return n;let c=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(c=Math.max(n.slidesPerViewDynamic("current",!0),1));const f=n.activeIndex{n.slideTo(n.activeIndex+f,e,t,r)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+f,e,t,r)}function r4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:c,enabled:f,animating:d}=n;if(!f)return n;const h=n.virtual&&i.virtual.enabled;if(i.loop){if(d&&!h&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const m=c?n.translate:-n.translate;function w(x){return x<0?-Math.floor(Math.abs(x)):Math.floor(x)}const C=w(m),S=o.map(x=>w(x));let E=o[S.indexOf(C)-1];if(typeof E>"u"&&i.cssMode){let x;o.forEach((y,_)=>{C>=y&&(x=_)}),typeof x<"u"&&(E=o[x>0?x-1:x])}let A=0;if(typeof E<"u"&&(A=s.indexOf(E),A<0&&(A=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(A=A-n.slidesPerViewDynamic("previous",!0)+1,A=Math.max(A,0))),i.rewind&&n.isBeginning){const x=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(x,e,t,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(A,e,t,r)}),!0;return n.slideTo(A,e,t,r)}function n4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this;return n.slideTo(n.activeIndex,e,t,r)}function i4e(e,t,r,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),n===void 0&&(n=.5);const i=this;let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),c=s+Math.floor((o-s)/i.params.slidesPerGroup),f=i.rtlTranslate?i.translate:-i.translate;if(f>=i.snapGrid[c]){const d=i.snapGrid[c],h=i.snapGrid[c+1];f-d>(h-d)*n&&(o+=i.params.slidesPerGroup)}else{const d=i.snapGrid[c-1],h=i.snapGrid[c];f-d<=(h-d)*n&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,r)}function o4e(){const e=this,{params:t,slidesEl:r}=e,n=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,o;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+n/2?(e.loopFix(),i=e.getSlideIndex(wi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-n?(e.loopFix(),i=e.getSlideIndex(wi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var a4e={slideTo:Jve,slideToLoop:e4e,slideNext:t4e,slidePrev:r4e,slideReset:n4e,slideToClosest:i4e,slideToClickedSlide:o4e};function s4e(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{wi(n,`.${r.slideClass}, swiper-slide`).forEach((m,w)=>{m.setAttribute("data-swiper-slide-index",w)})},o=t.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),c=t.slides.length%s!==0,f=o&&t.slides.length%r.grid.rows!==0,d=h=>{for(let m=0;m1;d.length"u"?o=f.getSlideIndex(d.filter(a=>a.classList.contains(C.slideActiveClass))[0]):T=o;const D=n==="next"||!n,V=n==="prev"||!n;let N=0,H=0;const W=y?Math.ceil(d.length/C.grid.rows):d.length,Q=(y?d[o].column:o)+(S&&typeof i>"u"?-E/2+.5:0);if(Q=0;G-=1)d[G].column===M&&_.push(G)}else _.push(W-P-1)}}else if(Q+E>W-x){H=Math.max(Q-(W-x*2),A);for(let a=0;a{M.column===P&&O.push(G)}):O.push(P)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),V&&_.forEach(a=>{d[a].swiperLoopMoveDOM=!0,w.prepend(d[a]),d[a].swiperLoopMoveDOM=!1}),D&&O.forEach(a=>{d[a].swiperLoopMoveDOM=!0,w.append(d[a]),d[a].swiperLoopMoveDOM=!1}),f.recalcSlides(),C.slidesPerView==="auto"?f.updateSlides():y&&(_.length>0&&V||O.length>0&&D)&&f.slides.forEach((a,P)=>{f.grid.updateSlide(P,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(_.length>0&&V){if(typeof t>"u"){const a=f.slidesGrid[T],M=f.slidesGrid[T+N]-a;c?f.setTranslate(f.translate-M):(f.slideTo(T+N,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-M,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-M))}else if(i){const a=y?_.length/C.grid.rows:_.length;f.slideTo(f.activeIndex+a,0,!1,!0),f.touchEventsData.currentTranslate=f.translate}}else if(O.length>0&&D)if(typeof t>"u"){const a=f.slidesGrid[T],M=f.slidesGrid[T-H]-a;c?f.setTranslate(f.translate-M):(f.slideTo(T-H,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-M,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-M))}else{const a=y?O.length/C.grid.rows:O.length;f.slideTo(f.activeIndex-a,0,!1,!0)}}if(f.allowSlidePrev=h,f.allowSlideNext=m,f.controller&&f.controller.control&&!s){const a={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(f.controller.control)?f.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...a,slideTo:P.params.slidesPerView===C.slidesPerView?r:!1})}):f.controller.control instanceof f.constructor&&f.controller.control.params.loop&&f.controller.control.loopFix({...a,slideTo:f.controller.control.params.slidesPerView===C.slidesPerView?r:!1})}f.emit("loopFix")}function u4e(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[o]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var c4e={loopCreate:s4e,loopFix:l4e,loopDestroy:u4e};function f4e(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function d4e(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var p4e={setGrabCursor:f4e,unsetGrabCursor:d4e};function h4e(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ll()||n===dn())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(t)}function $E(e,t,r){const n=dn(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return o&&(r<=s||r>=n.innerWidth-s)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function m4e(e){const t=this,r=ll();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){$E(t,n,n.targetTouches[0].pageX);return}const{params:o,touches:s,enabled:c}=t;if(!c||!o.simulateTouch&&n.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let f=n.target;if(o.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(f)||"which"in n&&n.which===3||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;const d=!!o.noSwipingClass&&o.noSwipingClass!=="",h=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&h&&(f=h[0]);const m=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,w=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(w?h4e(m,f):f.closest(m))){t.allowClick=!0;return}if(o.swipeHandler&&!f.closest(o.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const C=s.currentX,S=s.currentY;if(!$E(t,n,C))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=C,s.startY=S,i.touchStartTime=Um(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let E=!0;f.matches(i.focusableElements)&&(E=!1,f.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==f&&r.activeElement.blur();const A=E&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||A)&&!f.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function v4e(e){const t=ll(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:c}=r;if(!c||!i.simulateTouch&&e.pointerType==="mouse")return;let f=e;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(n.touchId!==null||f.pointerId!==n.pointerId))return;let d;if(f.type==="touchmove"){if(d=[...f.changedTouches].filter(D=>D.identifier===n.touchId)[0],!d||d.identifier!==n.touchId)return}else d=f;if(!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",f);return}const h=d.pageX,m=d.pageY;if(f.preventedByNestedSwiper){o.startX=h,o.startY=m;return}if(!r.allowTouchMove){f.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=Um());return}if(i.touchReleaseOnEdges&&!i.loop){if(r.isVertical()){if(mo.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(ho.startX&&r.translate>=r.minTranslate())return}if(t.activeElement&&f.target===t.activeElement&&f.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}n.allowTouchCallbacks&&r.emit("touchMove",f),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=h,o.currentY=m;const w=o.currentX-o.startX,C=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(w**2+C**2)"u"){let D;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:w*w+C*C>=25&&(D=Math.atan2(Math.abs(C),Math.abs(w))*180/Math.PI,n.isScrolling=r.isHorizontal()?D>i.touchAngle:90-D>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",f),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&f.cancelable&&f.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&f.stopPropagation();let S=r.isHorizontal()?w:C,E=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(S=Math.abs(S)*(s?1:-1),E=Math.abs(E)*(s?1:-1)),o.diff=S,S*=i.touchRatio,s&&(S=-S,E=-E);const A=r.touchesDirection;r.swipeDirection=S>0?"prev":"next",r.touchesDirection=E>0?"prev":"next";const x=r.params.loop&&!i.cssMode,y=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(x&&y&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const D=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(D)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",f)}let _;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&A!==r.touchesDirection&&x&&y&&Math.abs(S)>=1){Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",f),n.isMoved=!0,n.currentTranslate=S+n.startTranslate;let O=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),S>0?(x&&y&&!_&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(O=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+S)**T))):S<0&&(x&&y&&!_&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(S)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function g4e(e){const t=this,r=t.touchEventsData;let n=e;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].filter(T=>T.identifier===r.touchId)[0],!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:s,touches:c,rtlTranslate:f,slidesGrid:d,enabled:h}=t;if(!h||!s.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const m=Um(),w=m-r.touchStartTime;if(t.allowClick){const T=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(T&&T[0]||n.target,T),t.emit("tap click",n),w<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Um(),Gy(()=>{t.destroyed||(t.allowClick=!0)}),!r.isTouched||!r.isMoved||!t.swipeDirection||c.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let C;if(s.followFinger?C=f?t.translate:-t.translate:C=-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:C});return}const S=C>=-t.maxTranslate()&&!t.params.loop;let E=0,A=t.slidesSizesGrid[0];for(let T=0;T=d[T]&&C=d[T])&&(E=T,A=d[d.length-1]-d[d.length-2])}let x=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(x=0));const _=(C-d[E])/A,O=Es.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(_>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?x:E+O):t.slideTo(E)),t.swipeDirection==="prev"&&(_>1-s.longSwipesRatio?t.slideTo(E+O):y!==null&&_<0&&Math.abs(_)>s.longSwipesRatio?t.slideTo(y):t.slideTo(E))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(n.target===t.navigation.nextEl||n.target===t.navigation.prevEl)?n.target===t.navigation.nextEl?t.slideTo(E+O):t.slideTo(E):(t.swipeDirection==="next"&&t.slideTo(x!==null?x:E+O),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:E))}}function ME(){const e=this,{params:t,el:r}=e;if(r&&r.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const c=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!c?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function y4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function w4e(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const o=e.maxTranslate()-e.minTranslate();o===0?i=0:i=(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function x4e(e){const t=this;ah(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function b4e(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const fA=(e,t)=>{const r=ll(),{params:n,el:i,wrapperEl:o,device:s}=e,c=!!n.nested,f=t==="on"?"addEventListener":"removeEventListener",d=t;r[f]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),i[f]("touchstart",e.onTouchStart,{passive:!1}),i[f]("pointerdown",e.onTouchStart,{passive:!1}),r[f]("touchmove",e.onTouchMove,{passive:!1,capture:c}),r[f]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[f]("touchend",e.onTouchEnd,{passive:!0}),r[f]("pointerup",e.onTouchEnd,{passive:!0}),r[f]("pointercancel",e.onTouchEnd,{passive:!0}),r[f]("touchcancel",e.onTouchEnd,{passive:!0}),r[f]("pointerout",e.onTouchEnd,{passive:!0}),r[f]("pointerleave",e.onTouchEnd,{passive:!0}),r[f]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[f]("click",e.onClick,!0),n.cssMode&&o[f]("scroll",e.onScroll),n.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ME,!0):e[d]("observerUpdate",ME,!0),i[f]("load",e.onLoad,{capture:!0})};function C4e(){const e=this,{params:t}=e;e.onTouchStart=m4e.bind(e),e.onTouchMove=v4e.bind(e),e.onTouchEnd=g4e.bind(e),e.onDocumentTouchStart=b4e.bind(e),t.cssMode&&(e.onScroll=w4e.bind(e)),e.onClick=y4e.bind(e),e.onLoad=x4e.bind(e),fA(e,"on")}function E4e(){fA(this,"off")}var _4e={attachEvents:C4e,detachEvents:E4e};const DE=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function k4e(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const f=(s in o?o[s]:void 0)||e.originalParams,d=DE(e,n),h=DE(e,f),m=n.enabled;d&&!h?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&h&&(i.classList.add(`${n.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(x=>{if(typeof f[x]>"u")return;const y=n[x]&&n[x].enabled,_=f[x]&&f[x].enabled;y&&!_&&e[x].disable(),!y&&_&&e[x].enable()});const w=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||w),S=n.loop;w&&r&&e.changeDirection(),rn(e.params,f);const E=e.params.enabled,A=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!E?e.disable():!m&&E&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",f),r&&(C?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!S&&A?(e.loopCreate(t),e.updateSlides()):S&&!A&&e.loopDestroy()),e.emit("breakpoint",f)}function S4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=dn(),o=t==="window"?i.innerHeight:r.clientHeight,s=Object.keys(e).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const f=parseFloat(c.substr(1));return{value:o*f,point:c}}return{value:c,point:c}});s.sort((c,f)=>parseInt(c.value,10)-parseInt(f.value,10));for(let c=0;c{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(t+i)}):typeof n=="string"&&r.push(t+n)}),r}function O4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=A4e(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function I4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var L4e={addClasses:O4e,removeClasses:I4e};function B4e(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const i=e.slides.length-1,o=e.slidesGrid[i]+e.slidesSizesGrid[i]+n*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;r.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),r.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var T4e={checkOverflow:B4e},Ky={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function P4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){rn(t,n);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in o)){rn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),rn(t,n)}}const eg={eventsEmitter:Lve,update:Vve,translate:Gve,transition:Xve,slide:a4e,loop:c4e,grabCursor:p4e,events:_4e,breakpoints:R4e,checkOverflow:T4e,classes:L4e},tg={};let bw=class Ni{constructor(){let t,r;for(var n=arguments.length,i=new Array(n),o=0;o1){const h=[];return s.querySelectorAll(r.el).forEach(m=>{const w=rn({},r,{el:m});h.push(new Ni(w))}),h}const c=this;c.__swiper__=!0,c.support=uA(),c.device=Sve({userAgent:r.userAgent}),c.browser=Ave(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],r.modules&&Array.isArray(r.modules)&&c.modules.push(...r.modules);const f={};c.modules.forEach(h=>{h({params:r,swiper:c,extendParams:P4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=rn({},Ky,f);return c.params=rn({},d,tg,r),c.originalParams=rn({},c.params),c.passedParams=rn({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach(h=>{c.on(h,c.params.on[h])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return c.params.direction==="horizontal"},isVertical(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:r,params:n}=this,i=wi(r,`.${n.slideClass}, swiper-slide`),o=dc(i[0]);return dc(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:r,params:n}=t;t.slides=wi(r,`.${n.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,r){const n=this;t=Math.min(Math.max(t,0),1);const i=n.minTranslate(),s=(n.maxTranslate()-i)*t+i;n.translateTo(s,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=t.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",r.join(" "))}getSlideClasses(t){const r=this;return r.destroyed?"":t.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=[];t.slides.forEach(n=>{const i=t.getSlideClasses(n);r.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)}),t.emit("_slideClasses",r)}slidesPerViewDynamic(t,r){t===void 0&&(t="current"),r===void 0&&(r=!1);const n=this,{params:i,slides:o,slidesGrid:s,slidesSizesGrid:c,size:f,activeIndex:d}=n;let h=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let m=o[d]?o[d].swiperSlideSize:0,w;for(let C=d+1;Cf&&(w=!0));for(let C=d-1;C>=0;C-=1)o[C]&&!w&&(m+=o[C].swiperSlideSize,h+=1,m>f&&(w=!0))}else if(t==="current")for(let m=d+1;m=0;m-=1)s[d]-s[m]{s.complete&&ah(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,c=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){const s=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(s.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,r){r===void 0&&(r=!0);const n=this,i=n.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(t){const r=this;r.rtl&&t==="rtl"||!r.rtl&&t==="ltr"||(r.rtl=t==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(t){const r=this;if(r.mounted)return!0;let n=t||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):wi(n,i())[0])();return!s&&r.params.createElements&&(s=fc("div",r.params.wrapperClass),n.append(s),wi(n,`.${r.params.slideClass}`).forEach(c=>{s.append(c)})),Object.assign(r,{el:n,wrapperEl:s,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Io(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Io(n,"direction")==="rtl"),wrongRTL:Io(s,"display")==="-webkit-box"}),!0}init(t){const r=this;if(r.initialized||r.mount(t)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?ah(r,o):o.addEventListener("load",s=>{ah(r,s.target)})}),Yy(r),r.initialized=!0,Yy(r),r.emit("init"),r.emit("afterInit"),r}destroy(t,r){t===void 0&&(t=!0),r===void 0&&(r=!0);const n=this,{params:i,el:o,wrapperEl:s,slides:c}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),c&&c.length&&c.forEach(f=>{f.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),f.removeAttribute("style"),f.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(f=>{n.off(f)}),t!==!1&&(n.el.swiper=null,mve(n)),n.destroyed=!0),null}static extendDefaults(t){rn(tg,t)}static get extendedDefaults(){return tg}static get defaults(){return Ky}static installModule(t){Ni.prototype.__modules__||(Ni.prototype.__modules__=[]);const r=Ni.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>Ni.installModule(r)),Ni):(Ni.installModule(t),Ni)}};Object.keys(eg).forEach(e=>{Object.keys(eg[e]).forEach(t=>{bw.prototype[t]=eg[e][t]})});bw.use([Ove,Ive]);const dA=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Fa(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ls(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Fa(t[n])&&Fa(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Ls(e[n],t[n]):e[n]=t[n]})}function pA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function hA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function mA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function vA(e){e===void 0&&(e="");const t=e.split(" ").map(n=>n.trim()).filter(n=>!!n),r=[];return t.forEach(n=>{r.indexOf(n)<0&&r.push(n)}),r.join(" ")}function $4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function M4e(e){let{swiper:t,slides:r,passedParams:n,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:c,paginationEl:f}=e;const d=i.filter(H=>H!=="children"&&H!=="direction"&&H!=="wrapperClass"),{params:h,pagination:m,navigation:w,scrollbar:C,virtual:S,thumbs:E}=t;let A,x,y,_,O,T,D,V;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&h.thumbs&&!h.thumbs.swiper&&(A=!0),i.includes("controller")&&n.controller&&n.controller.control&&h.controller&&!h.controller.control&&(x=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||f)&&(h.pagination||h.pagination===!1)&&m&&!m.el&&(y=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(h.scrollbar||h.scrollbar===!1)&&C&&!C.el&&(_=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||o)&&(h.navigation||h.navigation===!1)&&w&&!w.prevEl&&!w.nextEl&&(O=!0);const N=H=>{t[H]&&(t[H].destroy(),H==="navigation"?(t.isElement&&(t[H].prevEl.remove(),t[H].nextEl.remove()),h[H].prevEl=void 0,h[H].nextEl=void 0,t[H].prevEl=void 0,t[H].nextEl=void 0):(t.isElement&&t[H].el.remove(),h[H].el=void 0,t[H].el=void 0))};i.includes("loop")&&t.isElement&&(h.loop&&!n.loop?T=!0:!h.loop&&n.loop?D=!0:V=!0),d.forEach(H=>{if(Fa(h[H])&&Fa(n[H]))Object.assign(h[H],n[H]),(H==="navigation"||H==="pagination"||H==="scrollbar")&&"enabled"in n[H]&&!n[H].enabled&&N(H);else{const W=n[H];(W===!0||W===!1)&&(H==="navigation"||H==="pagination"||H==="scrollbar")?W===!1&&N(H):h[H]=n[H]}}),d.includes("controller")&&!x&&t.controller&&t.controller.control&&h.controller&&h.controller.control&&(t.controller.control=h.controller.control),i.includes("children")&&r&&S&&h.virtual.enabled?(S.slides=r,S.update(!0)):i.includes("virtual")&&S&&h.virtual.enabled&&(r&&(S.slides=r),S.update(!0)),i.includes("children")&&r&&h.loop&&(V=!0),A&&E.init()&&E.update(!0),x&&(t.controller.control=h.controller.control),y&&(t.isElement&&(!f||typeof f=="string")&&(f=document.createElement("div"),f.classList.add("swiper-pagination"),f.part.add("pagination"),t.el.appendChild(f)),f&&(h.pagination.el=f),m.init(),m.render(),m.update()),_&&(t.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-scrollbar"),c.part.add("scrollbar"),t.el.appendChild(c)),c&&(h.scrollbar.el=c),C.init(),C.updateSize(),C.setTranslate()),O&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),o&&(h.navigation.nextEl=o),s&&(h.navigation.prevEl=s),w.init(),w.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),(T||V)&&t.loopDestroy(),(D||V)&&t.loopCreate(),t.update()}function D4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Ls(r,Ky),r._emitClasses=!0,r.init=!1;const o={},s=dA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?Fa(e[f])?(r[f]={},i[f]={},Ls(r[f],e[f]),Ls(i[f],e[f])):(r[f]=e[f],i[f]=e[f]):f.search(/on[A-Z]/)===0&&typeof e[f]=="function"?t?n[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:r.on[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:o[f]=e[f])}),["navigation","pagination","scrollbar"].forEach(f=>{r[f]===!0&&(r[f]={}),r[f]===!1&&delete r[f]}),{params:r,passedParams:i,rest:o,events:n}}function F4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;pA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),hA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),mA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function N4e(e,t,r,n,i){const o=[];if(!t)return o;const s=f=>{o.indexOf(f)<0&&o.push(f)};if(r&&n){const f=n.map(i),d=r.map(i);f.join("")!==d.join("")&&s("children"),n.length!==r.length&&s("children")}return dA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(Fa(e[f])&&Fa(t[f])){const d=Object.keys(e[f]),h=Object.keys(t[f]);d.length!==h.length?s(f):(d.forEach(m=>{e[f][m]!==t[f][m]&&s(f)}),h.forEach(m=>{e[f][m]!==t[f][m]&&s(f)}))}else e[f]!==t[f]&&s(f)}),o}const j4e=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{gA(r)?t.push(r):r.props&&r.props.children&&yA(r.props.children).forEach(n=>t.push(n))}),t}function z4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(gA(n))t.push(n);else if(n.props&&n.props.slot&&r[n.props.slot])r[n.props.slot].push(n);else if(n.props&&n.props.children){const i=yA(n.props.children);i.length>0?i.forEach(o=>t.push(o)):r["container-end"].push(n)}else r["container-end"].push(n)}),{slides:t,slots:r}}function V4e(e,t,r){if(!r)return null;const n=h=>{let m=h;return h<0?m=t.length+h:m>=t.length&&(m=m-t.length),m},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:o,to:s}=r,c=e.params.loop?-t.length:0,f=e.params.loop?t.length*2:t.length,d=[];for(let h=c;h=o&&h<=s&&d.push(t[n(h)]);return d.map((h,m)=>he.cloneElement(h,{swiper:e,style:i,key:`slide-${m}`}))}function Ou(e,t){return typeof window>"u"?v.useEffect(e,t):v.useLayoutEffect(e,t)}const FE=v.createContext(null),W4e=v.createContext(null),wA=v.forwardRef(function(e,t){let{className:r,tag:n="div",wrapperTag:i="div",children:o,onSwiper:s,...c}=e===void 0?{}:e,f=!1;const[d,h]=v.useState("swiper"),[m,w]=v.useState(null),[C,S]=v.useState(!1),E=v.useRef(!1),A=v.useRef(null),x=v.useRef(null),y=v.useRef(null),_=v.useRef(null),O=v.useRef(null),T=v.useRef(null),D=v.useRef(null),V=v.useRef(null),{params:N,passedParams:H,rest:W,events:Z}=D4e(c),{slides:Q,slots:a}=z4e(o),P=()=>{S(!C)};Object.assign(N.on,{_containerClasses(re,ve){h(ve)}});const M=()=>{Object.assign(N.on,Z),f=!0;const re={...N};if(delete re.wrapperClass,x.current=new bw(re),x.current.virtual&&x.current.params.virtual.enabled){x.current.virtual.slides=Q;const ve={cache:!1,slides:Q,renderExternal:w,renderExternalUpdate:!1};Ls(x.current.params.virtual,ve),Ls(x.current.originalParams.virtual,ve)}};A.current||M(),x.current&&x.current.on("_beforeBreakpoint",P);const G=()=>{f||!Z||!x.current||Object.keys(Z).forEach(re=>{x.current.on(re,Z[re])})},ae=()=>{!Z||!x.current||Object.keys(Z).forEach(re=>{x.current.off(re,Z[re])})};v.useEffect(()=>()=>{x.current&&x.current.off("_beforeBreakpoint",P)}),v.useEffect(()=>{!E.current&&x.current&&(x.current.emitSlidesClasses(),E.current=!0)}),Ou(()=>{if(t&&(t.current=A.current),!!A.current)return x.current.destroyed&&M(),F4e({el:A.current,nextEl:O.current,prevEl:T.current,paginationEl:D.current,scrollbarEl:V.current,swiper:x.current},N),s&&s(x.current),()=>{x.current&&!x.current.destroyed&&x.current.destroy(!0,!1)}},[]),Ou(()=>{G();const re=N4e(H,y.current,Q,_.current,ve=>ve.key);return y.current=H,_.current=Q,re.length&&x.current&&!x.current.destroyed&&M4e({swiper:x.current,slides:Q,passedParams:H,changedParams:re,nextEl:O.current,prevEl:T.current,scrollbarEl:V.current,paginationEl:D.current}),()=>{ae()}}),Ou(()=>{j4e(x.current)},[m]);function Y(){return N.virtual?V4e(x.current,Q,m):Q.map((re,ve)=>he.cloneElement(re,{swiper:x.current,swiperSlideIndex:ve}))}return he.createElement(n,Zm({ref:A,className:vA(`${d}${r?` ${r}`:""}`)},W),he.createElement(W4e.Provider,{value:x.current},a["container-start"],he.createElement(i,{className:$4e(N.wrapperClass)},a["wrapper-start"],Y(),a["wrapper-end"]),pA(N)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:T,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),mA(N)&&he.createElement("div",{ref:V,className:"swiper-scrollbar"}),hA(N)&&he.createElement("div",{ref:D,className:"swiper-pagination"}),a["container-end"]))});wA.displayName="Swiper";const xA=v.forwardRef(function(e,t){let{tag:r="div",children:n,className:i="",swiper:o,zoom:s,lazy:c,virtualIndex:f,swiperSlideIndex:d,...h}=e===void 0?{}:e;const m=v.useRef(null),[w,C]=v.useState("swiper-slide"),[S,E]=v.useState(!1);function A(O,T,D){T===m.current&&C(D)}Ou(()=>{if(typeof d<"u"&&(m.current.swiperSlideIndex=d),t&&(t.current=m.current),!(!m.current||!o)){if(o.destroyed){w!=="swiper-slide"&&C("swiper-slide");return}return o.on("_slideClass",A),()=>{o&&o.off("_slideClass",A)}}}),Ou(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const x={isActive:w.indexOf("swiper-slide-active")>=0,isVisible:w.indexOf("swiper-slide-visible")>=0,isPrev:w.indexOf("swiper-slide-prev")>=0,isNext:w.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(x):n,_=()=>{E(!0)};return he.createElement(r,Zm({ref:m,className:vA(`${w}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:_},h),s&&he.createElement(FE.Provider,{value:x},he.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&he.createElement(FE.Provider,{value:x},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});xA.displayName="SwiperSlide";const H4e=({children:e})=>{const t=rA(),r=U3e(),n=v.useRef();return q("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[b("button",{className:Me("left-0 z-10 hidden h-14 w-14 flex-row items-center justify-center rounded-full bg-black md:flex"),style:{position:"absolute"},onClick:()=>{var i;return(i=n.current)==null?void 0:i.slidePrev()},children:b(He.EoLeftArrowIcon,{})}),b("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:b(wA,{slidesPerGroup:r?3:1,loop:!0,modules:[bve,Cve,Eve],slidesPerView:r?3:1,onBeforeInit:i=>{n.current=i},pagination:{enabled:t,clickable:!0,bulletClass:"swiper-pagination-bullet bg-black h-3 w-3"},navigation:{enabled:r},children:e.map((i,o)=>b(v.Fragment,{children:b(xA,{children:b("div",{className:"mb-12",children:i})})},`${o}`))})}),b("button",{className:Me("right-0 z-10 flex h-14 w-14 flex-row items-center justify-center rounded-full bg-black",t&&"hidden"),onClick:()=>{var i;return(i=n.current)==null?void 0:i.slideNext()},style:{position:"absolute"},children:b(He.EoRightArrowIcon,{})})]})},sh=v;function U4e({title:e,titleId:t,...r},n){return sh.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?sh.createElement("title",{id:t},e):null,sh.createElement("path",{fillRule:"evenodd",d:"M3.75 12a.75.75 0 01.75-.75h15a.75.75 0 010 1.5h-15a.75.75 0 01-.75-.75z",clipRule:"evenodd"}))}const q4e=sh.forwardRef(U4e);var Z4e=q4e;const lh=v;function G4e({title:e,titleId:t,...r},n){return lh.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?lh.createElement("title",{id:t},e):null,lh.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 01.75.75v6.75h6.75a.75.75 0 010 1.5h-6.75v6.75a.75.75 0 01-1.5 0v-6.75H4.5a.75.75 0 010-1.5h6.75V4.5a.75.75 0 01.75-.75z",clipRule:"evenodd"}))}const Q4e=lh.forwardRef(G4e);var Y4e=Q4e,K4e=Z4e,X4e=Y4e;const J4e=({active:e=!1,children:t,title:r})=>{const[n,i]=v.useState(e);return q("div",{children:[q("div",{className:"flex cursor-pointer flex-row items-center justify-between gap-4 md:items-start",onClick:()=>i(o=>!o),children:[typeof r=="string"?b(le,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,b("div",{children:n?b(K4e,{className:"h-8 w-8"}):b(X4e,{className:"h-8 w-8"})})]}),q("div",{className:Me("mt-4 flex w-full flex-row overflow-hidden",n?"h-auto":"h-0"),style:{transition:"0,4s ease-out",willChange:"width height"},children:[b("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},ege=[{step:1,title:"Profile & subscribe",content:"In 5-10 minutes, you can share the key information our clinical team needs to create your initial plan.",icon:He.ProfileIconWhite},{step:2,title:"Get your care plan",content:"In under 24 hours, you’ll receive an email with a link to your personalized, clinician-approved care plan.",icon:He.HandHeartWhite},{step:3,title:"Get your products",content:"You can purchase your products at a local dispensary. Our team will provide details on how to be reimbursed for all purchases.",icon:He.PillsWhite},{step:4,title:"Provide feedback",content:"As you sample your recommended products, doses and times of use, we’ll check in via text/email and ask you to complete brief, periodic surveys.",icon:He.FeedBackWhite},{step:5,title:"Get refined plans",content:"Early on, we’ll provide updated plans every 3-7 days based on your inputs. We’ll then regularly tune your plan for efficacy, safety and affordability.",icon:He.CalendarChecked},{step:6,title:"Be supported",content:"You can text our clinical team anytime as needs or questions arise - as often as you like. We’ll respond in under 24 hours and usually within minutes.",icon:He.SupportIconWhite}],tge=[{title:"How much does eo cost?",content:"Your care is completely free. And we’ll reimburse you for the cost of your products. Just send a picture of your receipt to support@eo.care each time you make a purchase and we’ll provide you with an Amazon gift card in an equal amount."},{title:"Do I order the products that are included in my care plan or do you do it for me?",content:"After you’ve approved them, we’ll order your products for you and let you know when they’re ready for pick-up - and how much they cost."},{title:"What should I bring with me when I pick-up my products?",content:"Bring your valid medical card, a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"What if I don’t yet have a physical medical card?",content:"Your care team can provide you with a valid state patient ID number to provide when you purchase and pick-up your products."},{title:"How long should it take my clinical and member services teams to respond to a message, email or phone question/ inquiry?",content:"No more than 24 hours and typically within 2-3 hours."},{title:"Why can’t I see my initial care plan as soon as I submit my profile information?",content:"Every profile submitted and piece of feedback provided is initially assessed by our proprietary data model and a draft care plan or care plan update is created. That plan is then closely reviewed and edited as needed by a licensed eo clinician. This can take as long as 24 hours or this can take as little as an hour, depending on the complexity of your profile, your care plan and clinician availability."},{title:"How do you decide which products, doses and times of use are most right for me?",content:q(xi,{children:["The eo data model and your clinical team base all recommendations on relevant aspects of your medical history, cannabis use history, your daily schedule and the feedback you provide as you use your care plan.",b("br",{}),b("br",{}),"The model and your team also considers the profiles, experiences and feedback provided by other eo patients like you and the recommendations of our proprietary data model. And your clinical team (of course) always draws upon their extensive cannabis treatment and research experience to provide the best possible care for you."]})},{title:"What happens if I miss a use session entirely?",content:"Just begin the next session as scheduled!"},{title:"What happens if I’m late starting a use session?",content:"If you’re less than 30 minutes late, go ahead and begin the session (also be sure to begin the next session at the originally scheduled time). If you’re more than 30 minutes late just wait for the next session to begin."},{title:"What happens if I miss an opportunity to provide feedback?",content:"Needless to say, the more feedback you provide, the better we can care for you. However, we know sometimes schedules change and life happens. If you can’t provide feedback when prompted, don’t worry. Just keep going as guided."},{title:"How long should it take to get my cannabis regimen “right”?",content:q(xi,{children:["Everyone is different when it comes to the time it takes to reach satisfaction with a care plan. For some, all it takes is a few days or a week or two. For others, it can take longer.",b("br",{}),b("br",{}),"It’s important to note, however, that very few people retain a static relationship to cannabis for long periods of time. Products, doses and times of use typically change as your reasons for use, symptoms, cannabis tolerance, body and daily schedule evolves.",b("br",{}),b("br",{}),"As your feedback and needs change, we’ll be with you to alter and optimize your care plan, guide your care and answer your questions."]})},{title:"Can I use a different dispensary or delivery provider than the one you’ve recommended?",content:"The answer is an honest “maybe”. If you’d like to make a change just email us at support@eo.care or call 877-707-0706. We’ll do everything we can to accommodate your request."},{title:"What happens if I run out of a particular product?",content:"No problem. Just email us at support@eo.care or call 877-707-0706. We’ll update your care plan in the very near term to accommodate the absence of that product if/as appropriate and coordinate the ordering of the needed product or a responsible replacement."}];function rge(){return q("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-0 lg:pl-5",children:[q("section",{children:[b(He.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),q(le,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",b("br",{className:"hidden md:block"}),"cannabis company."]}),b(le,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),b("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),q("section",{className:"flex flex-row justify-between",children:[q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),b("a",{href:"https://eo.care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Home"}),b("a",{href:"https://eo.care/web/cancer",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Cancer Care"}),b("a",{href:"https://eo.care/web/seniors",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Seniors"}),b("a",{href:"https://eo.care/web/seniors",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Employers"}),b("a",{href:"https://eocare.myshopify.com/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Shop CBD"}),b("a",{href:"https://eo.care/web/about",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"About"}),b("a",{href:"https://eo.care/web/faqs",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"FAQs"}),b("a",{href:"https://eo.care/blog-posts",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Blog"}),b("a",{href:"https://eo.care/blog-posts",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Methodology"}),b("a",{href:"https://eo.care/web/home",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Research"}),b("a",{href:"https://www.eo.care/web/terms-of-use",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Terms of Use"}),b("a",{href:"https://www.eo.care/web/privacy-policy",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Privacy Policy"})]}),q("div",{className:"flex flex-col md:flex-row",children:[q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),b(le,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),b("a",{href:"mailto:hello@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"hello@eo.care"}),b(le,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),b("a",{href:"mailto:press@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"press@eo.care"}),b(le,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),b("a",{href:"mailto:careers@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"careers@eo.care"})]}),q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),b("a",{href:"https://www.linkedin.com/company/eo-cannnabis-care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"LinkedIn"}),b("a",{href:"https://twitter.com/eocare_",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Twitter"}),b("a",{href:"https://www.instagram.com/eo.care_/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Instagram"})]})]})]})]})}const nge=()=>{const[e]=cn(),{account:t,introQuestionSubmissionId:r,channel:n}=sl(h=>h),i=e.get("submission_id")||"",o=$t();i||o(Se.userRolSelector);const{postCancerFormSubmission:s,postSeniorFormSubmission:c}=ti(),{mutate:f}=Tn({mutationFn:n==="cancer"?s:c,mutationKey:["postCancerSeniorFormSubmission",i],onError:h=>{var m;Ri.isAxiosError(h)?((m=h.response)==null?void 0:m.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>f({name:t.firstName,last_name:t.lastName,email:t.email,password:t.password,phone_number:t.phoneNumber,profiling_submission_id:i,intro_submission_id:r,agree_receive_notifications:t.agreeReceiveNotifications,agree_terms_and_conditions:t.agreeTermsAndConditions,channel:n})),q(dt,{children:[q("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px]",children:[b(le,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px]",children:["You’ll be able to review your initial, personalized, clinician-approved",b("br",{})," care plan within 24 hours. When your care plan is ready, we will send you an email",b("br",{})," with a link to"," ",b("span",{className:"cursor-pointer underline",onClick:()=>{window.location.href=H3e},children:"log into your account."}),b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call",b("br",{}),b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]}),q("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[b(le,{font:"bold",variant:"large",className:"mb-20 text-center",children:"How eo care plans work"}),b(H4e,{children:ege.map(({title:h,content:m,step:w,icon:C})=>q("article",{className:"mx-auto my-0 flex h-auto w-auto max-w-[361px] flex-col items-center justify-center gap-2 md:flex-none md:items-start",children:[b("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:b(C,{className:"h-9 w-[37px]"})}),q(le,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:["STEP ",w]}),b(le,{font:"bold",className:"text-xl",children:h}),b(le,{className:"text-center text-lg md:text-left",children:m})]},w))})]}),b("section",{className:"px-6 py-12 md:mx-0 md:my-[100px]",children:q("div",{className:"mx-auto my-0 flex max-w-[900px] flex-col",children:[b(le,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),b("div",{className:"flex flex-col gap-6",children:tge.map(({title:h,content:m})=>b(J4e,{title:h,active:!1,children:b(le,{className:"text-[18px] leading-[26px] text-gray-800",children:m})},h))})]})}),b("section",{className:"hidden w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]",children:q("div",{className:"flex flex-col items-center",children:[b(le,{font:"bold",className:"mb-4 text-center text-[32px] leading-[40px] text-skun",children:"eo in your inbox"}),b(le,{className:"text-center text-skun-mid",children:"Rollouts in new markets, new partnerships, research initiatives and special offers are all coming soon."}),q("div",{className:"mt-[30px] flex w-full flex-col justify-items-end gap-4 md:w-auto md:flex-row",children:[b("input",{className:"h-[49px] w-full rounded-[40px] border border-solid border-black bg-white py-3 pl-4 pr-2 text-black placeholder:text-gray-300 md:w-[327px]",placeholder:"Enter your email..."}),b(gt,{variant:"black",font:"semiBold",children:"Subscribe"})]})]})}),b(rge,{})]})},ige=ct.object({password:ct.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:ct.string().min(8,{message:"This field is required."}),token:ct.string().min(1,"Token is required")}),oge=()=>{var h,m;const{resetPassword:e}=ti(),[t,r]=v.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Xs({resolver:Js(ige)}),c=$t(),[f]=cn(),{mutate:d}=Tn({mutationFn:e,onSuccess:()=>{Ne.success("Your password has been reset. Sign in with your new password."),c(Se.login)},onError:w=>{var C;Ri.isAxiosError(w)?((C=w.response)==null?void 0:C.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return v.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(Se.login)},[c,f,s]),b(dt,{children:q("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Reset your password"}),q("form",{className:"mt-10 flex flex-col ",onSubmit:w=>{o(C=>{d(C)})(w)},children:[b(kr,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?b(He.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}):b(He.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}),className:"h-12 shadow-md",type:t?"text":"password",...i("password"),error:(h=n.password)==null?void 0:h.message}),b(kr,{id:"password_confirmation",label:"Password confirmation",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:"password",...i("password_confirmation"),error:(m=n.password_confirmation)==null?void 0:m.message}),q(le,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",b("br",{})," a capital letter, number, and special character"]}),b(gt,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},age=ct.object({first_name:ct.string().min(2,"The first name must be present"),last_name:ct.string().min(2,"The last name must be present"),email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:ct.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:ct.string().min(8,{message:"This field is required."}),agree_terms_and_conditions:ct.boolean({required_error:"You must agree to the terms and conditions"})}).refine(e=>e.password===e.password_confirmation,{message:"Passwords don't match",path:["password_confirmation"]}).refine(e=>!!e.agree_terms_and_conditions,{message:"You must agree to the terms and conditions",path:["agree_terms_and_conditions"]}),sge=()=>{var d,h,m,w,C,S;const e=$t(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Xs({resolver:Js(age)}),{mutate:s}=Tn({mutationFn:ove,onError:E=>{var A,x,y,_,O;if(Ri.isAxiosError(E)){const T=(A=E.response)==null?void 0:A.data;(x=T.errors)!=null&&x.email&&o("email",{message:((y=T.errors.email.pop())==null?void 0:y.message)||""}),(_=T.errors)!=null&&_.password&&o("password",{message:((O=T.errors.password.pop())==null?void 0:O.message)||""})}else Ne.error("Something went wrong. Please try again later.")},onSuccess:({data:E})=>{typeof E=="string"&&e(Se.registrationComplete,{state:{email:i("email")}})}}),[c,f]=v.useState(!1);return b(dt,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Start here."}),q("form",{className:"mt-10",onSubmit:E=>{n(A=>{s(A)})(E)},children:[q("div",{className:"flex flex-col gap-0 md:flex-row md:gap-2",children:[b(kr,{id:"firstName",label:"First name",type:"text",className:"h-12 shadow-md",...r("first_name"),error:(d=t.first_name)==null?void 0:d.message}),b(kr,{id:"lastName",label:"Last name",type:"text",className:"h-12 shadow-md",...r("last_name"),error:(h=t.last_name)==null?void 0:h.message})]}),b(kr,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),b(kr,{id:"password",label:"Password",right:c?b(He.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}):b(He.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}),className:"h-12 shadow-md",type:c?"text":"password",...r("password"),error:(w=t.password)==null?void 0:w.message}),b(kr,{id:"password_confirmation",label:"Password confirmation",className:"h-12 shadow-md",type:"password",...r("password_confirmation"),error:(C=t.password_confirmation)==null?void 0:C.message}),q(le,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",b("br",{})," a capital letter, number, and special character"]}),b(zy,{id:"agree_terms_and_conditions",...r("agree_terms_and_conditions"),error:(S=t.agree_terms_and_conditions)==null?void 0:S.message,containerClassName:"mt-2",label:q(le,{variant:"small",font:"regular",children:["I have read and agree to the"," ",q("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"underline",children:["Terms of ",b("br",{className:"block md:hidden lg:block"}),"Service"]}),", and"," ",q("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"underline",children:["Privacy Policy"," "]})," ","of eo."]})}),b(gt,{type:"submit",className:"mt-3",children:"Create account"}),q(le,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",b(Mh,{to:Se.login,children:b("strong",{children:"Sign in"})})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},lge=()=>{const t=Qo().state,r=$t(),{mutate:n}=Tn({mutationFn:nA,onSuccess:({data:i})=>{i?Ne.success("Email has been send."):Ne.error("Email hasn't been send")}});return v.useEffect(()=>{t!=null&&t.email||r(Se.login)},[r,t]),b(dt,{children:q("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",b("br",{})," Please verify to continue."]}),b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),b(gt,{className:"mt-10",onClick:()=>n(t.email),left:b(He.EnvelopeIcon,{}),children:"Resend verification"})]})})},uge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=sl(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=$t(),d=LE;return e||f(Se.userRolSelector),Yo(()=>{setTimeout(()=>{Ko(d)},400)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${d}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${d}?${c.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},cge=()=>{const[e]=cn(),t=e.get("email")||"",r=e.get("symptoms")||"",n=new URLSearchParams({email:t,symptoms:r});return v.useEffect(()=>{Ko(Q4)},[]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${Q4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${Q4}?${n.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},NE=()=>{const[e]=cn(),t=e.get("submission_id")||"",r=$t();t||r("/");const{postSeniorSurveyFormSubmission:n}=ti(),{mutate:i}=Tn({mutationFn:n,mutationKey:["postSeniorSurveyFormSubmission",t],onError:o=>{var s;Ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>i({submission_id:t})),b(dt,{children:q("div",{className:"flex h-full flex-col items-center justify-center px-[20%]",children:[b(le,{variant:"large",className:"font-nunito text-[45px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"text-center font-nunito text-[28px] font-light leading-[40px]",children:["We receive your feedback! ",b("br",{}),b("br",{}),"Thank you! ",b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]})})},fge=()=>{const e=Qo(),t=$t(),{zip:r}=e.state;return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this eo offering is not currently"," ",b("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",b("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),q("div",{className:"mt-10 flex flex-row justify-center",children:[b(gt,{className:"text-center",onClick:()=>t(Se.zipCodeValidation),children:"Back"}),b(gt,{variant:"secondary",onClick:()=>t(Se.home),className:"ml-4",children:"Continue"})]})]})})},dge=()=>{const e=$t(),[t]=cn(),[r,n]=v.useState(null),i=t.get("origin")??"localhost:5173",{setChannel:o,setType:s,setSymptoms:c,setUsePayment:f,resetProfilingStore:d,setOrigin:h}=sl(w=>w),m=w=>{const C=t.get("channel"),S=t.get("symptoms")??"";h(i),c(S.split(",")),o(C),s(w),e(Se.introQuestions)};return Yo(()=>{d();const w=t.get("p")??"yes";window.data.isPartnerSite(i)||w==="no"?f(!1):f(!0)}),b(dt,{children:b("div",{className:"flex h-full w-full items-center justify-center bg-opacity-50 ",children:q("div",{className:"relative w-3/4 rounded-md bg-white shadow-2xl md:w-[742px]",children:[q("div",{className:"px-7 py-7",children:[q(le,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",b("span",{className:"text-red-600",children:"*"})]}),q("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[q("button",{className:Me("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",r==="Patient"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>n("Patient"),children:[q("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[b("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),b("circle",{cx:"12",cy:"12",r:"9",fill:r==="Patient"?"#5AADFD":"none",stroke:r==="Patient"?"white":"none",strokeWidth:1.5})]}),"I’m a patient"]}),q("button",{className:Me("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",r==="Caregiver"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>n("Caregiver"),children:[q("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[b("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),b("circle",{cx:"12",cy:"12",r:"9",fill:r==="Caregiver"?"#5AADFD":"none",stroke:r==="Caregiver"?"white":"none",strokeWidth:1.5})]}),"I’m a caregiver"]})]})]}),q("section",{className:"flex h-[53px] items-center justify-between rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[b(gt,{className:"click:border-0 focus:ring-outline-0 rounded-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:()=>{window.data.isMarketingSite(i)?window.location.href=`https://${window.location.host}/pilot#how-eo-care-plans-works`:window.data.isPartnerSite(i)?window.location.href=`https://${window.location.host}/cancer-pilot#how-eo-care-plans-works`:history.back()},left:b(He.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:b("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),b(gt,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:b(He.RightArrow,{className:"h-6 w-6"}),onClick:()=>m(r),children:"NEXT"}),b(gt,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:b(He.RightArrow,{className:"h-6 w-6"}),onClick:()=>m(r)})]})]})})})},bA=e=>{const t=()=>{const n=document.createElement("script");return n.type="text/javascript",n.textContent=`Zuko.trackForm({slug:'${e}'}).trackEvent(Zuko.COMPLETION_EVENT);`,setTimeout(()=>{document.body.appendChild(n)},2e3),()=>{setTimeout(()=>{document.body.removeChild(n)},2e3)}},r=()=>{const n=document.createElement("script");return n.type="text/javascript",n.textContent=`Zuko.trackForm({target:document.body,slug:"${e}"}).trackEvent(Zuko.FORM_VIEW_EVENT);`,setTimeout(()=>{document.body.appendChild(n)},2e3),()=>{setTimeout(()=>{document.body.removeChild(n)},2e3)}};return v.useEffect(()=>{const n=document.createElement("script");return n.type="text/javascript",n.async=!0,n.src="https://assets.zuko.io/js/v2/client.min.js",document.body.appendChild(n),()=>{document.body.removeChild(n)}},[]),{triggerCompletionEvent:t,triggerViewEvent:r}},pge=ct.object({zip_code:ct.string().min(5,{message:"Zip code is invalid"}).max(5,{message:"Zip code is invalid"})}),hge=()=>{var h;const{validateZipCode:e}=ti(),{triggerViewEvent:t}=bA(tA);v.useEffect(t,[t]);const r=$t(),n=jo(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Xs({resolver:Js(pge)}),{mutate:d}=Tn({mutationFn:e,onSuccess:()=>{n(f("zip_code")),r(Se.eligibleProfile)},onError:m=>{var w,C;Ri.isAxiosError(m)?((w=m.response)==null?void 0:w.status)===400?(n(f("zip_code")),r(Se.unavailableZipCode,{state:{zip:f("zip_code")}})):((C=m.response)==null?void 0:C.status)===422&&c("zip_code",{message:"Zip code is invalid"}):Ne.error("Something went wrong")}});return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[b(le,{variant:"large",font:"bold",className:"text-center",children:"First, let’s check our availability in your area."}),q("form",{className:"mt-10 flex flex-col items-center justify-center",onSubmit:m=>{s(w=>{d(w.zip_code)})(m)},children:[b(kr,{id:"zip_code",label:"Zip Code",type:"number",className:"h-12 shadow-md",...o("zip_code"),error:(h=i.zip_code)==null?void 0:h.message}),b(gt,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},mge=()=>(v.useEffect(()=>{Ko(q4)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${q4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${q4}?isuser=Yes`,className:"h-full w-full"})})})),vge=()=>{const e=$t(),[t,r]=v.useState(!1),{combineProfileOne:n}=ti(),[i]=cn();i.get("submission_id")||e(Se.login);const{mutate:o}=Tn({mutationFn:n,onSuccess:()=>{setTimeout(()=>{e(Se.prePlan)},5e3)},onError:()=>{r(!1)}});return v.useEffect(()=>{t||r(s=>(s||o(i.get("submission_id")||""),!0))},[o,i,t]),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[b(le,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),b(gt,{type:"button",className:"mt-10",onClick:()=>e(Se.prePlan),children:"Continue!"})]})})},gge=()=>(v.useEffect(()=>{Ko(Z4)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${Z4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${Z4}`,className:"h-full w-full"})})})),yge=()=>{const e=$t(),[t,r]=v.useState(!1),{combineProfileOne:n}=ti(),[i]=cn(),{triggerCompletionEvent:o}=bA(tA);i.get("submission_id")||e(Se.login);const{mutate:s}=Tn({mutationFn:n,onSuccess:()=>{r(!0),setTimeout(()=>{e(Se.profilingTwo)},5e3)}});return v.useEffect(o,[o]),v.useEffect(()=>{t||s(i.get("submission_id")||"")},[s,i,t]),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[q(le,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",b("br",{}),b("br",{})," In a few minutes we will send you by email."," ",b("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),b(gt,{type:"button",className:"mt-10",onClick:()=>e(Se.home),children:"Go home"})]})})},wge=()=>q(wN,{children:[q(rt,{element:b(C4,{expected:"loggedOut"}),children:[b(rt,{element:b(sve,{}),path:Se.login}),b(rt,{element:b(sge,{}),path:Se.register}),b(rt,{element:b(lge,{}),path:Se.registrationComplete}),b(rt,{element:b(rve,{}),path:Se.forgotPassword}),b(rt,{element:b(oge,{}),path:Se.recoveryPassword}),b(rt,{element:b(fve,{}),path:Se.prePlanV2})]}),q(rt,{element:b(C4,{expected:"withZipCode"}),children:[b(rt,{element:b(nve,{}),path:Se.home}),b(rt,{element:b(fge,{}),path:Se.unavailableZipCode}),b(rt,{element:b(J3e,{}),path:Se.eligibleProfile}),b(rt,{element:b(mge,{}),path:Se.profilingOne}),b(rt,{element:b(vge,{}),path:Se.profilingOneRedirect}),b(rt,{element:b(gge,{}),path:Se.profilingTwo}),b(rt,{element:b(yge,{}),path:Se.profilingTwoRedirect}),b(rt,{element:b(cve,{}),path:Se.prePlan})]}),b(rt,{element:b(C4,{expected:["withoutZipCode","withZipCode"]}),children:b(rt,{element:b(hge,{}),path:Se.zipCodeValidation})}),b(rt,{element:b(eve,{}),path:Se.emailVerification}),b(rt,{element:b(dge,{}),path:Se.userRolSelector}),b(rt,{element:b(dve,{}),path:Se.introQuestions}),b(rt,{element:b(G3e,{}),path:Se.accountSetup}),b(rt,{element:b(nge,{}),path:Se.profilingThankYou}),b(rt,{element:b(K3e,{}),path:Se.cancerForm}),b(rt,{element:b(X3e,{}),path:Se.cancerSurvey}),b(rt,{element:b(NE,{}),path:Se.cancerSurveyThankYou}),b(rt,{element:b(Q3e,{}),path:Se.athleteSurvey}),b(rt,{element:b(Y3e,{}),path:Se.athleteSurveyThankYou}),b(rt,{element:b(uge,{}),path:Se.seniorForm}),b(rt,{element:b(cge,{}),path:Se.seniorSurvey}),b(rt,{element:b(NE,{}),path:Se.seniorSurveyThankYou})]});const xge=new WN;function bge(){return q(nj,{client:xge,children:[b(wge,{}),b(a7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Pz.VITE_APP_ENV==="local"&&b(gj,{initialIsOpen:!1})]})}rg.createRoot(document.getElementById("root")).render(b(he.StrictMode,{children:b(kN,{children:b(bge,{})})})); + shadow-lg md:px-[60px] md:py-20`,children:[b(le,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),b(le,{font:"light",variant:"large",className:"mb-4 whitespace-normal text-[18px] font-semibold leading-normal text-gray-800 md:mb-6 md:text-[22px]",children:"Have questions or prefer to talk with an eo rep?"}),q("ul",{className:"list-disc pl-4",children:[b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[b("a",{href:"https://calendly.com/help-eo/30min",className:"underline decoration-1 underline-offset-8",children:"Schedule a video chat"})," ","with a member of our team."]})}),b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",b("a",{href:"tel:877-707-0706",className:"underline decoration-1 underline-offset-8",children:"877-707-0706"})]})}),b("li",{children:q(le,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",b("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},dt=({children:e})=>b("section",{className:"flex h-screen w-screen flex-col bg-ice-silver",children:q("div",{className:"flex h-full w-full flex-col overflow-auto",children:[b(q3e,{}),e]})}),BE={channel:null,type:null,introQuestionSubmissionId:null,symptoms:[],state:null,origin:"",experience:"",account:{email:"",password:"",firstName:"",lastName:"",phoneNumber:"",agreeReceiveNotifications:!1,agreeTermsAndConditions:!1},usePayment:!0},sl=LS()(BS((e,t)=>({setChannel(r){e({channel:r})},setType(r){e({type:r})},setIntroQuestionSubmissionId(r){e({introQuestionSubmissionId:r})},setAccountData:r=>{e({account:r})},setSymptoms:r=>{e({symptoms:r})},setState:r=>{e({state:r})},setUsePayment:r=>{e({usePayment:r})},resetProfilingStore:()=>{e({...t(),...BE})},setOrigin:r=>{e({origin:r})},setExperience:r=>{e({experience:r})},...BE}),{name:"useProfilingStore"})),Z3e=ct.object({firstName:ct.string().min(1,{message:"First name is required"}),lastName:ct.string().min(1,{message:"Last name is required"}),email:ct.string().min(1,{message:"Email is required"}).email({message:"Enter a valid email."}),phoneNumber:ct.string().superRefine((e,t)=>{e.replace(/\D/g,"").length!==10&&t.addIssue({code:"custom",message:"Contact number must be 10 digits"})}),password:ct.string().regex(new RegExp(".*[A-Z].*"),"Password must contain at least one uppercase character").regex(new RegExp(".*[a-z].*"),"Password must contain at least one lowercase character").regex(new RegExp(".*\\d.*"),"Password must contain at least one number").regex(new RegExp(".*[`~<>?,./!@#$%^&*()\\-_+=\"'|{}\\[\\];:\\\\].*"),"Password must contain at least one special character").min(8,"Must be at least 8 characters in length"),agreeReceiveNotifications:ct.boolean().refine(e=>e,{message:"Must agree to authorizations to continue."}),agreeTermsAndConditions:ct.boolean().refine(e=>e,{message:"You must agree to the terms and conditions"})}),G3e=()=>{var x,y,_,O,T,D,V,N,H,W;const e=$t(),[t]=cn(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=sl(Z=>Z),{eligibleEmail:f}=ti(),[d,h]=v.useState(!1),{formState:{errors:m},handleSubmit:w,register:C,setError:S}=Xs({resolver:Js(Z3e),defaultValues:r}),E=Object.keys(m).length===0?"":Object.values(m)[0],A=async Z=>{if(h(!0),(await f(Z.email)).data.success)switch(n({...Z,phoneNumber:Z.phoneNumber.replace(/\D/g,"")}),o){case"cancer":e(Se.cancerForm);break;case"senior":e(Se.seniorForm);break;default:e("/")}else{S("email",{message:"Email was already taken"}),h(!1);return}};return Yo(()=>{const Z=t.get("submission_id"),Q=t.get("state"),a=t.get("experience")??"";Z?(s(Q),i(Z),c(a)):Ne.error(q("p",{children:["Impossible to continue without",b("br",{})," a submission id"]}))}),b(dt,{children:b("div",{className:"flex h-full w-full flex-row items-center justify-center pb-10",children:q("form",{className:"h-auto w-11/12 rounded-md border border-gray-100 bg-white shadow-lg md:w-[797px]",children:[q("div",{className:"px-[28px] py-[48px]",children:[b(le,{variant:"large",font:"semiBold",className:Me("mb-4 font-nunito",!!E&&"text-red"),children:"Great! Now let's create your account."}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"firstName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("firstName"),error:(x=m.firstName)==null?void 0:x.message,placeholder:"First Name*"}),b(kr,{id:"lastName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("lastName"),error:(y=m.lastName)==null?void 0:y.message,placeholder:"Last Name*"})]}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"email",placeholder:"Email*",type:"email",left:b(He.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(_=m.email)==null?void 0:_.message}),b(kr,{id:"password",placeholder:"Password*",message:"",type:"password",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("password"),error:(O=m.password)==null?void 0:O.message})]}),q("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[b(kr,{id:"phoneNumber",placeholder:"Phone number*",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12 placeholder:text-[16px] placeholder:font-normal placeholder:text-gray-700",...C("phoneNumber"),error:(T=m.phoneNumber)==null?void 0:T.message}),q("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[b(zy,{id:"agreeReceiveNotifications",...C("agreeReceiveNotifications"),error:(D=m.agreeReceiveNotifications)==null?void 0:D.message,containerClassName:"col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:b(le,{variant:"small",font:"regular",className:Me("font-nunito text-[11px] font-light ",((V=m.agreeReceiveNotifications)==null?void 0:V.message)&&"text-red-500"),children:"I agree to receive emails and text messages."})}),b(zy,{id:"agreeTermsAndConditions",...C("agreeTermsAndConditions"),error:(N=m.agreeTermsAndConditions)==null?void 0:N.message,containerClassName:"w-full col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:q(le,{variant:"small",font:"regular",className:Me("font-nunito text-[11px] font-light !leading-4",((H=m.agreeTermsAndConditions)==null?void 0:H.message)&&"text-red-500"),children:["I have read and agree to the"," ",b("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"!font-nunito !text-[11px] !font-light !leading-4 underline",rel:"noreferrer",children:"Terms of Service"}),", and"," ",q("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"!font-nunito !text-[11px] !font-light !leading-4 underline",rel:"noreferrer",children:["Privacy Policy"," "]})," "]})})]})]})]}),q("section",{className:"flex h-[53px] items-center justify-end rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[b(le,{className:Me("mx-auto my-0 hidden font-nunito text-white md:block",!!E&&"text-red-300"),variant:"small",children:E?(W=m.password)!=null&&W.message?"Password must be at least 8 characters, contain a capital letter, number, and special character.":E.message:"Remember: You’ll need to have your password handy when accessing your care plan!"}),b(gt,{id:"ga-sign-up-button",className:"click:border-0 focus:ring-outline-0 w-[150px] border-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:()=>void w(A)(),right:b(He.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Ko=e=>{if(e){var t=document.getElementById(`JotFormIFrame-${e}`);if(t){var r=t.src,n=[];window.location.href&&window.location.href.indexOf("?")>-1&&(n=n.concat(window.location.href.substr(window.location.href.indexOf("?")+1).split("&"))),r&&r.indexOf("?")>-1&&(n=n.concat(r.substr(r.indexOf("?")+1).split("&")),r=r.substr(0,r.indexOf("?"))),n.push("isIframeEmbed=1"),t.src=r+"?"+n.join("&")}window.handleIFrameMessage=function(i){if(typeof i.data!="object"){var o=i.data.split(":");if(o.length>2?iframe=document.getElementById("JotFormIFrame-"+o[o.length-1]):iframe=document.getElementById("JotFormIFrame"),!!iframe){switch(o[0]){case"scrollIntoView":iframe.scrollIntoView();break;case"setHeight":iframe.style.height=o[1]+"px",!isNaN(o[1])&&parseInt(iframe.style.minHeight)>parseInt(o[1])&&(iframe.style.minHeight=o[1]+"px");break;case"collapseErrorPage":iframe.clientHeight>window.innerHeight&&(iframe.style.height=window.innerHeight+"px");break;case"reloadPage":window.location.reload();break;case"loadScript":if(!window.isPermitted(i.origin,["jotform.com","jotform.pro"]))break;var s=o[1];o.length>3&&(s=o[1]+":"+o[2]);var c=document.createElement("script");c.src=s,c.type="text/javascript",document.body.appendChild(c);break;case"exitFullscreen":window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen||window.document.mozCancelFullscreen?window.document.mozCancelFullScreen():window.document.webkitExitFullscreen?window.document.webkitExitFullscreen():window.document.msExitFullscreen&&window.document.msExitFullscreen();break}var f=i.origin.indexOf("jotform")>-1;if(f&&"contentWindow"in iframe&&"postMessage"in iframe.contentWindow){var d={docurl:encodeURIComponent(document.URL),referrer:encodeURIComponent(document.referrer)};iframe.contentWindow.postMessage(JSON.stringify({type:"urls",value:d}),"*")}}}},window.isPermitted=function(i,o){var s=document.createElement("a");s.href=i;var c=s.hostname,f=!1;if(typeof c<"u")return o.forEach(function(d){(c.slice(-1*d.length-1)===".".concat(d)||c===d)&&(f=!0)}),f},window.addEventListener?window.addEventListener("message",handleIFrameMessage,!1):window.attachEvent&&window.attachEvent("onmessage",handleIFrameMessage)}},Q3e=()=>{const[e]=cn(),t=e.get("email")||"",r=e.get("symptoms")||"";return v.useEffect(()=>{Ko(G4)},[]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${G4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${G4}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},Y3e=()=>{const[e]=cn(),t=e.get("submission_id")||"",r=$t();t||r("/");const{postAthleteSurveyFormSubmission:n}=ti(),{mutate:i}=Tn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;Ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>i({submission_id:t})),b(dt,{children:q("div",{className:"flex h-full flex-col items-center justify-center px-[20%]",children:[b(le,{variant:"large",className:"font-nunito text-[45px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"font-nunito text-center text-[28px] font-light leading-[40px]",children:["We receive your feedback! ",b("br",{}),b("br",{}),"Thank you! ",b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]})})},K3e=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=sl(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=$t(),d=e==="Patient"?M3e:D3e;return e||f(Se.userRolSelector),Yo(()=>{setTimeout(()=>{Ko(d)},400)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${d}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${d}?${c.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},X3e=()=>{const[e]=cn(),t=e.get("email")??"",r=e.get("profiled")??"patient",n=e.get("symptoms")??"",i=r==="patient"?F3e:N3e,o=new URLSearchParams({email:t,symptoms:n});return v.useEffect(()=>{Ko(i)},[i]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${i}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${i}?${o.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},J3e=()=>{const e=$t();return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Looks like you’re eligible for eo! Next, we’ll get you to fill out",b("br",{}),b("br",{}),"Next, we’ll get you to fill out some information"," ",b("br",{className:"hidden md:block"})," so we can better serve you..."]}),b("div",{className:"mt-10 flex flex-row justify-center",children:b(gt,{className:"text-center",onClick:()=>e(Se.profilingOne),children:"Continue"})})]})})},nA=async e=>await Hn.post("/v2/profile/resend_confirmation_email",{email:e}),eve=()=>{const e=Qo(),{email:t}=e.state,r=$t(),{mutate:n}=Tn({mutationFn:nA,onSuccess:()=>{Ne.success("Email resent successfully, please check your inbox")},onError:()=>{Ne.error("An error occurred, please try again later")}});return t||r(Se.login),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",b("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),b("img",{className:"mt-4 w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),b(gt,{type:"submit",className:"mt-10",onClick:()=>n(t),left:b(He.EnvelopeIcon,{}),children:"Resend verification"})]})})},tve=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),rve=()=>{var o;const{sendEmailToRecoveryPassword:e}=ti(),{formState:{errors:t},register:r,handleSubmit:n}=Xs({resolver:Js(tve)}),{mutate:i}=Tn({mutationFn:e,onSuccess:()=>{Ne.success("Email sent to recovery your password, please check your inbox")},onError:s=>{var c;Ri.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return b(dt,{children:q("div",{className:"flex h-full h-full flex-row items-start justify-center gap-20 px-2 md:items-center",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Reset your password"}),q(le,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",b("br",{className:"hidden md:block"})," on how to reset your password"]}),q("form",{className:"mt-10 flex flex-col ",onSubmit:s=>{n(c=>{i(c.email)})(s)},children:[b(kr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[317px]",className:"h-12 shadow-md",...r("email"),error:(o=t.email)==null?void 0:o.message}),q("div",{className:"flex flex-row justify-center gap-2 md:justify-start",children:[b(Mh,{to:Se.login,children:b(gt,{type:"button",className:"mt-10",variant:"secondary",left:b(He.ArrowLeftIcon,{}),children:"Back"})}),b(gt,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},nve=()=>b(dt,{children:b("br",{})}),ive=async e=>await Hn.post("/v2/profile/login",{email:e.email,password:e.password}),ove=async e=>await Hn.post("/v2/profile",e),ave=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:ct.string().min(1,{message:"Password is required"})}),sve=()=>{var E,A;const e=jo(x=>x.setProfile),t=jo(x=>x.setSession),[r,n]=v.useState(!1),[i,o]=v.useState(""),s=$t(),[c]=cn();v.useEffect(()=>{c.has("email")&&c.has("account_confirmed")&&n(x=>(x||Ne.success("Your account has been activated."),!0))},[r,c]);const{formState:{errors:f},register:d,handleSubmit:h,getValues:m}=Xs({resolver:Js(ave)}),{mutate:w}=Tn({mutationFn:ive,onSuccess:({data:x})=>{e(x.profile),t(x.session)},onError:x=>{var y;Ri.isAxiosError(x)?((y=x.response)==null?void 0:y.status)===403?s(Se.emailVerification,{state:{email:m("email")}}):o("Your email or password is incorrect"):o("Something went wrong")}}),[C,S]=v.useState(!1);return b(dt,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Welcome back."}),q("form",{className:"mt-10",onSubmit:x=>{h(y=>{w(y)})(x)},children:[b(kr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",...d("email"),error:(E=f.email)==null?void 0:E.message}),b(kr,{id:"password",label:"Password",right:C?b(He.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(x=>!x)}):b(He.EyeSlashIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(x=>!x)}),containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:C?"text":"password",...d("password"),error:(A=f.password)==null?void 0:A.message}),b(Mh,{to:Se.forgotPassword,children:b(le,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),b(gt,{type:"submit",className:"mt-10",children:"Sign in"}),i&&b(le,{variant:"small",id:"login-message",className:"text-red-600",children:i}),q(le,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",b(Mh,{to:Se.register,children:b("strong",{children:"Create account"})})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})};var mu=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(mu||{}),qy=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(qy||{}),pi=(e=>(e.WorkDayMornings="Workday Mornings",e.NonWorkDayMornings="Non-Workday Mornings",e.WorkDayAfternoons="Workday Afternoons",e.NonWorkDayAfternoons="Non-Workday Afternoons",e.WorkDayEvenings="Workday Evenings",e.NonWorkDayEvenings="Non-Workday Evenings",e.WorkDayBedtimes="Workday Bedtimes",e.NonWorkDayBedtimes="Non-Workday Bedtimes",e))(pi||{}),vu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(vu||{}),cc=(e=>(e.open="I’m open to using products with THC.",e.notPrefer="I’d prefer to use non-THC (CBD/CBN/CBG) products only.",e.notSure="I’m not sure.",e))(cc||{}),pr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(pr||{});const lve=(e,{C3:t,onlyCbd:r,C9:n,C8:i,C10:o,reasonToUse:s,C14:c,C15:f,C16:d,C17:h,M5:m})=>{const{currentlyUsingCannabisProducts:w}=e,C=()=>s.includes(pr.Sleep)?"":W==="topical lotion or patch"&&s.includes(pr.Anxiety)?"1:1 CBD:THC ratio":W==="topical lotion or patch"?"THC-dominant":r&&!w?"CBD or CBDA":r&&w?"CBD, CBDA, or CBC":s.includes(pr.Anxiety)||i===!1&&!w?"CBD-dominant":i===!1&&w?"4:1 CBD:THC ratio":i===!0&&!w?"2:1 CBD:THC ratio":i===!0&&w?"THC-dominant":"",S=()=>m==="fast-acting form"&&d===!1&&H==="sublingual"&&h===!1?"patch":m==="fast-acting form"&&d===!1?"sublingual":m==="fast-acting form"&&h===!1?"topical lotion or patch":m==="fast-acting form"&&c===!1?"inhalation method":f===!1?"edible":h===!1?"topical lotion or patch":d===!1?"sublingual":c===!1?"inhalation method":"capsule",E=()=>W==="topical lotion or patch"?"50mg":Z===""?"":Z==="THC-dominant"?"2.5mg":Z==="CBD-dominant"&&t===!0?"10mg":Z==="CBD-dominant"||Z==="4:1 CBD:THC ratio"?"5mg":Z==="2:1 CBD:THC ratio"?"2.5mg":"10mg",A=()=>s.includes(pr.Sleep)?"":W==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Q} of a ${Z} ${W} product`,x=()=>s.includes(pr.Anxiety)&&r?"CBDA":s.includes(pr.Pain)&&r?"CBG plus CBD":r?"CBD":n===!0&&w?"THC-dominant":n===!0&&!w?"1:1 CBD:THC ratio":"CBD-dominant",y=()=>n&&!c?"inhalation method":n&&!d?"sublingual":c?d?f?h?"capsule":"topical lotion or patch":"edible":"sublingual":"inhalation method",_=()=>H==="topical lotion or patch"?"50mg":a==="THC-dominant"?"2.5mg":a==="CBD-dominant"?"5mg":a==="1:1 CBD:THC ratio"?"2.5mg":"10mg",O=()=>H==="inhalation method"?`Use a ${a} inhalable product`:`Use ${P} of a ${a} ${H} product`,T=()=>r?"CBN or D8-THC":o===!0?"THC-dominant":w?"1:1 CBD:THC ratio":"CBD-dominant",D=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",V=()=>M==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",N=()=>M==="inhalation method"?`Use a ${G} inhalable product`:`Use ${ae} of a ${G} ${M} product`,H=y(),W=S(),Z=C(),Q=E(),a=x(),P=_(),M=D(),G=T(),ae=V();return{dayTime:{time:"Morning",type:C(),form:S(),dose:E(),result:A()},evening:{time:"Evening",type:x(),form:y(),dose:_(),result:O()},bedTime:{time:"BedTime",type:T(),form:D(),dose:V(),result:N()}}},uve=(e,{C3:t,onlyCbd:r,C5:n,C7:i,C11:o,reasonToUse:s,C14:c,C15:f,C16:d,C17:h,M5:m})=>{const{openToUseThcProducts:w,currentlyUsingCannabisProducts:C}=e,S=()=>Z==="topical lotion or patch"&&s.includes(pr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(pr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(pr.Anxiety)||n===!1&&o===!1?"CBD-dominant":n===!1&&o===!0?"4:1 CBD:THC ratio":n===!0&&o===!1?"2:1 CBD:THC ratio":n===!0&&o===!0?"THC-dominant":"CBD-dominant",E=()=>m==="fast-acting form"&&d===!1&&W==="sublingual"&&h===!1?"patch":m==="fast-acting form"&&d===!1?"sublingual":m==="fast-acting form"&&h===!1?"topical lotion or patch":m==="fast-acting form"&&c===!1?"inhalation method":f===!1?"edible":h===!1?"topical lotion or patch":d===!1?"sublingual":c===!1?"inhalation method":"capsule",A=()=>Z==="topical lotion or patch"?"50mg":Q===""?"":Q==="THC-dominant"?"2.5mg":Q==="CBD-dominant"&&t===!0?"10mg":Q==="CBD-dominant"||Q==="4:1 CBD:THC ratio"?"5mg":Q==="2:1 CBD:THC ratio"?"2.5mg":"10mg",x=()=>s.includes(pr.Sleep)?"":Z==="inhalation method"?"Use a "+Q+" inhalable product":"Use "+a+" of a "+Q+" "+Z+" product",y=()=>s.includes(pr.Anxiety)&&r?"CBDA":s.includes(pr.Pain)&&r?"CBG plus CBD":r?"CBD":w.includes(pi.WorkDayEvenings)&&C?"THC-dominant":w.includes(pi.WorkDayEvenings)&&!C?"1:1 CBD:THC ratio":"CBD-dominant",_=()=>n===!0&&c===!1?"inhalation method":n===!0&&d===!1?"sublingual":c===!1?"inhalation method":d===!1?"sublingual":f===!1?"edible":h===!1?"topical lotion or patch":"capsule",O=()=>W==="topical lotion or patch"?"50mg":P==="THC-dominant"?"2.5mg":P==="CBD-dominant"?"5mg":P==="1:1 CBD:THC ratio"?"2.5mg":"10mg",T=()=>W==="inhalation method"?`Use a ${P} inhalable product`:`Use ${M} of a ${P} ${W} product`,D=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",V=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",N=()=>ae==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",H=()=>ae==="inhalation method"?`Use a ${G} inhalable product`:`Use ${Y} of a ${G} ${ae} product`,W=_(),Z=E(),Q=S(),a=A(),P=y(),M=O(),G=D(),ae=V(),Y=N();return{dayTime:{time:"Morning",type:S(),form:E(),dose:A(),result:x()},evening:{time:"Evening",type:y(),form:_(),dose:O(),result:T()},bedTime:{time:"BedTime",type:D(),form:V(),dose:N(),result:H()}}},iA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(pr.Sleep)?"":t.includes(qy.Morning)?"fast-acting form":"long-lasting form",f=r===cc.notPrefer,d=t.includes(qy.Morning),h=n.includes(pi.WorkDayMornings),m=n.includes(pi.WorkDayBedtimes),w=n.includes(pi.NonWorkDayMornings),C=n.includes(pi.NonWorkDayEvenings),S=n.includes(pi.NonWorkDayBedtimes),E=i,A=s.includes(vu.inhalation),x=s.includes(vu.edibles),y=s.includes(vu.sublinguals),_=s.includes(vu.topicals),O=uve(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:E,reasonToUse:o,C14:A,C15:x,C16:y,C17:_,M5:c}),T=lve(e,{C10:S,reasonToUse:o,C14:A,C15:x,C16:y,C17:_,C3:d,C8:w,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:T,whyRecommended:(()=>f&&o.includes(pr.Pain)?"CBD and CBDA are predominantly researched for their potential in addressing chronic pain and inflammation. CBG has demonstrated potential for its anti-inflammatory and analgesic effects. Preliminary investigations also imply that CBN and D8-THC may contribute to enhancing sleep quality and providing relief during sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":f&&o.includes(pr.Anxiety)?"Extensive research has been conducted on the therapeutic impacts of both CBD and CBDA on anxiety, with positive results. Preliminary investigations also indicate that CBN and D8-THC may be beneficial in promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":f&&o.includes(pr.Sleep)?"CBD can be helpful in the evening for getting the mind and body relaxed and ready for sleep. Some early studies indicate that CBN as well as D8-THC can be effective for promoting sleep. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":n.includes(pi.WorkDayEvenings)&&h&&m&&w&&C&&S?"Given that you indicated you're open to feeling the potentially altering effects of THC, we recommended a plan that at times has stronger proportions of THC, which may help provide more effective symptom relief. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":!n.includes(pi.WorkDayEvenings)&&!h&&!m&&!w&&!C&&!S?"Given that you'd like to avoid the potentially altering effects of THC, we primarily recommend using products with higher concentrations of CBD. Depending on your experience level, some THC may not feel altering. We always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.":"For times when you're looking to maintain a clear head, we recommended product types that are lower in THC in relation to CBD, and higher THC at times when you're more able to relax and unwind. The amount of THC in relation to CBD relates to your recent use of cannabis, as we always recommend starting off at lower doses and adjusting from there to ensure consistently positive experiences.")()}},TE=()=>q("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.92656 147.34C14.8215 158.174 40.4865 163.667 81.1941 163.667C104.713 163.667 123.648 161.654 137.417 157.761C147.949 154.808 155.479 150.575 159.79 145.403C161.05 144.072 162.041 142.495 162.706 140.764C163.371 139.033 163.697 137.183 163.664 135.321C163.191 124.778 162.183 114.268 160.645 103.834C157.243 79.8335 151.787 60.0649 144.511 45.0174C132.488 20.0574 115.772 9.26088 103.876 4.59617C96.4487 1.54077 88.4923 0.100139 80.5029 0.364065C72.5868 0.592629 64.7822 2.35349 57.4935 5.55544C45.816 10.5211 29.864 21.3741 19.478 44.8293C10.0923 65.9898 5.39948 89.5015 3.10764 105.489C1.63849 115.377 0.715404 125.343 0.342871 135.34C0.266507 137.559 0.634231 139.77 1.42299 141.835C2.21174 143.9 3.40453 145.774 4.92656 147.34ZM59.6762 11.8754C66.2296 8.96617 73.2482 7.33985 80.3756 7.079V7.24828H80.9212C88.0885 6.98588 95.2303 8.26693 101.893 11.0101C108.8 13.7827 115.165 17.8226 120.683 22.9353C128.191 30.0319 134.315 38.5491 138.727 48.0269C155.388 82.4104 157.207 135.133 157.207 135.66V135.904C156.993 138.028 156.02 139.994 154.479 141.415C149.24 147.227 132.742 156.952 81.1941 156.952C59.7126 156.952 42.451 155.391 29.8822 152.344C20.0964 149.955 13.2936 146.72 9.65577 142.732C8.73849 141.824 8.01535 140.727 7.5329 139.512C7.05045 138.297 6.8194 136.991 6.85462 135.678V135.547C6.85462 135.058 8.03692 86.8118 25.3349 47.6131C32.9198 30.4778 44.47 18.4586 59.6762 11.8754ZM44.7634 44.1274C45.2627 44.4383 45.8336 44.6048 46.4165 44.6097C46.952 44.6028 47.478 44.4624 47.9498 44.2005C48.4216 43.9385 48.8253 43.5627 49.1267 43.1049C55.2816 34.6476 64.1146 28.6958 74.0824 26.2894C74.4968 26.1893 74.8881 26.0059 75.234 25.7494C75.5798 25.493 75.8735 25.1687 76.0981 24.7949C76.3227 24.4211 76.474 24.0052 76.5432 23.571C76.6124 23.1368 76.5983 22.6927 76.5015 22.2642C76.4048 21.8356 76.2274 21.431 75.9794 21.0733C75.7314 20.7156 75.4177 20.412 75.0563 20.1797C74.6948 19.9474 74.2927 19.791 73.8728 19.7194C73.4529 19.6478 73.0235 19.6625 72.609 19.7625C60.9982 22.4967 50.7337 29.4772 43.7063 39.4183C43.3904 39.9249 43.2118 40.5098 43.1892 41.1121C43.1666 41.7144 43.3007 42.312 43.5776 42.8423C43.8545 43.3727 44.264 43.8165 44.7634 44.1274Z",fill:"black"}),b("path",{d:"M4.92656 147.34L5.11125 147.172L5.10584 147.166L4.92656 147.34ZM137.417 157.761L137.35 157.52L137.349 157.52L137.417 157.761ZM159.79 145.403L159.608 145.231L159.603 145.237L159.598 145.243L159.79 145.403ZM162.706 140.764L162.939 140.854L162.706 140.764ZM163.664 135.321L163.914 135.317L163.914 135.31L163.664 135.321ZM160.645 103.834L160.397 103.869L160.397 103.871L160.645 103.834ZM144.511 45.0174L144.286 45.1259L144.286 45.1263L144.511 45.0174ZM103.876 4.59617L103.781 4.8274L103.785 4.82891L103.876 4.59617ZM80.5029 0.364065L80.5101 0.613963L80.5111 0.613928L80.5029 0.364065ZM57.4935 5.55544L57.5913 5.78552L57.594 5.78433L57.4935 5.55544ZM19.478 44.8293L19.7065 44.9307L19.7066 44.9306L19.478 44.8293ZM3.10764 105.489L3.35493 105.526L3.35511 105.525L3.10764 105.489ZM0.342871 135.34L0.0930433 135.331L0.0930188 135.331L0.342871 135.34ZM1.42299 141.835L1.18944 141.924H1.18944L1.42299 141.835ZM80.3756 7.079H80.6256V6.81968L80.3664 6.82916L80.3756 7.079ZM59.6762 11.8754L59.7755 12.1048L59.7776 12.1039L59.6762 11.8754ZM80.3756 7.24828H80.1256V7.49828H80.3756V7.24828ZM80.9212 7.24828V7.49845L80.9304 7.49811L80.9212 7.24828ZM101.893 11.0101L101.798 11.2413L101.8 11.2422L101.893 11.0101ZM120.683 22.9353L120.855 22.7536L120.853 22.7519L120.683 22.9353ZM138.727 48.0269L138.5 48.1324L138.502 48.1359L138.727 48.0269ZM157.207 135.904L157.456 135.929L157.457 135.917V135.904H157.207ZM154.479 141.415L154.309 141.232L154.301 141.239L154.293 141.248L154.479 141.415ZM29.8822 152.344L29.8229 152.586L29.8233 152.586L29.8822 152.344ZM9.65577 142.732L9.84069 142.563L9.83167 142.554L9.65577 142.732ZM7.5329 139.512L7.30055 139.604L7.5329 139.512ZM6.85462 135.678L7.10462 135.685V135.678H6.85462ZM25.3349 47.6131L25.1063 47.5119L25.1062 47.5122L25.3349 47.6131ZM46.4165 44.6097L46.4144 44.8597L46.4197 44.8597L46.4165 44.6097ZM47.9498 44.2005L48.0711 44.419L47.9498 44.2005ZM49.1267 43.1049L48.9243 42.9577L48.9179 42.9675L49.1267 43.1049ZM74.0824 26.2894L74.0237 26.0464L74.0237 26.0464L74.0824 26.2894ZM75.234 25.7494L75.3829 25.9503V25.9503L75.234 25.7494ZM76.0981 24.7949L76.3124 24.9237L76.0981 24.7949ZM75.0563 20.1797L75.1915 19.9694V19.9694L75.0563 20.1797ZM73.8728 19.7194L73.9148 19.473L73.8728 19.7194ZM72.609 19.7625L72.6663 20.0059L72.6677 20.0056L72.609 19.7625ZM43.7063 39.4183L43.5022 39.274L43.498 39.2799L43.4942 39.286L43.7063 39.4183ZM43.1892 41.1121L42.9394 41.1027L43.1892 41.1121ZM43.5776 42.8423L43.7992 42.7266L43.5776 42.8423ZM81.1941 163.417C60.8493 163.417 44.2756 162.044 31.5579 159.322C18.8323 156.598 10.0053 152.53 5.11116 147.172L4.74196 147.509C9.74275 152.984 18.6958 157.08 31.4533 159.811C44.2188 162.543 60.8313 163.917 81.1941 163.917V163.417ZM137.349 157.52C123.611 161.405 104.702 163.417 81.1941 163.417V163.917C104.723 163.917 123.684 161.904 137.485 158.001L137.349 157.52ZM159.598 145.243C155.333 150.36 147.858 154.573 137.35 157.52L137.485 158.001C148.039 155.042 155.625 150.791 159.982 145.563L159.598 145.243ZM162.473 140.675C161.819 142.375 160.845 143.924 159.608 145.231L159.971 145.575C161.254 144.22 162.263 142.615 162.939 140.854L162.473 140.675ZM163.414 135.325C163.446 137.156 163.126 138.974 162.473 140.675L162.939 140.854C163.616 139.093 163.947 137.211 163.914 135.317L163.414 135.325ZM160.397 103.871C161.935 114.296 162.942 124.798 163.414 135.332L163.914 135.31C163.441 124.758 162.432 114.24 160.892 103.798L160.397 103.871ZM144.286 45.1263C151.547 60.1428 156.998 79.8842 160.397 103.869L160.892 103.799C157.489 79.7828 152.027 59.9869 144.736 44.9086L144.286 45.1263ZM103.785 4.82891C115.628 9.47311 132.293 20.2287 144.286 45.1259L144.736 44.9089C132.683 19.8862 115.915 9.04865 103.967 4.36342L103.785 4.82891ZM80.5111 0.613928C88.465 0.351177 96.3862 1.78538 103.781 4.82737L103.971 4.36496C96.5112 1.29616 88.5196 -0.150899 80.4946 0.114201L80.5111 0.613928ZM57.594 5.78433C64.8535 2.59525 72.6263 0.841591 80.5101 0.61396L80.4957 0.114169C72.5472 0.343667 64.711 2.11173 57.3929 5.32655L57.594 5.78433ZM19.7066 44.9306C30.0628 21.5426 45.9621 10.7306 57.5913 5.7855L57.3957 5.32538C45.6699 10.3116 29.6652 21.2056 19.2494 44.7281L19.7066 44.9306ZM3.35511 105.525C5.64556 89.5467 10.3343 66.0609 19.7065 44.9307L19.2494 44.728C9.85033 65.9188 5.1534 89.4563 2.86017 105.454L3.35511 105.525ZM0.592698 135.349C0.964888 125.362 1.88712 115.405 3.35492 105.526L2.86035 105.453C1.38985 115.35 0.465919 125.325 0.0930443 135.331L0.592698 135.349ZM1.65653 141.746C0.879739 139.712 0.517502 137.534 0.592723 135.348L0.0930188 135.331C0.0155122 137.583 0.388723 139.828 1.18944 141.924L1.65653 141.746ZM5.10584 147.166C3.60778 145.625 2.43332 143.779 1.65653 141.746L1.18944 141.924C1.99017 144.021 3.20128 145.924 4.74729 147.514L5.10584 147.166ZM80.3664 6.82916C73.2071 7.09119 66.1572 8.72482 59.5748 11.6469L59.7776 12.1039C66.3021 9.20753 73.2894 7.58851 80.3847 7.32883L80.3664 6.82916ZM80.6256 7.24828V7.079H80.1256V7.24828H80.6256ZM80.9212 6.99828H80.3756V7.49828H80.9212V6.99828ZM101.989 10.779C95.2926 8.02222 88.1153 6.73474 80.9121 6.99845L80.9304 7.49811C88.0618 7.23703 95.168 8.51165 101.798 11.2413L101.989 10.779ZM120.853 22.7519C115.313 17.6187 108.922 13.5622 101.987 10.7781L101.8 11.2422C108.678 14.0032 115.018 18.0265 120.513 23.1186L120.853 22.7519ZM138.953 47.9214C134.529 38.4153 128.386 29.8722 120.855 22.7536L120.511 23.1169C127.996 30.1917 134.102 38.6828 138.5 48.1324L138.953 47.9214ZM157.457 135.66C157.457 135.383 157.001 122.058 154.462 104.504C151.924 86.9516 147.299 65.1446 138.952 47.9179L138.502 48.1359C146.815 65.2927 151.431 87.0387 153.967 104.575C155.235 113.341 155.983 121.05 156.413 126.599C156.628 129.374 156.764 131.609 156.847 133.166C156.888 133.945 156.915 134.554 156.933 134.977C156.941 135.188 156.947 135.352 156.951 135.468C156.953 135.526 156.955 135.571 156.956 135.604C156.956 135.62 156.956 135.633 156.957 135.643C156.957 135.648 156.957 135.652 156.957 135.655C156.957 135.656 156.957 135.657 156.957 135.658C156.957 135.659 156.957 135.659 156.957 135.66H157.457ZM157.457 135.904V135.66H156.957V135.904H157.457ZM154.648 141.599C156.235 140.135 157.235 138.113 157.456 135.929L156.958 135.879C156.75 137.944 155.805 139.852 154.309 141.232L154.648 141.599ZM81.1941 157.202C132.752 157.202 149.349 147.48 154.664 141.583L154.293 141.248C149.131 146.975 132.733 156.702 81.1941 156.702V157.202ZM29.8233 152.586C42.4197 155.64 59.7037 157.202 81.1941 157.202V156.702C59.7214 156.702 42.4822 155.141 29.9411 152.101L29.8233 152.586ZM9.47108 142.9C13.1607 146.945 20.0245 150.195 29.8229 152.586L29.9415 152.101C20.1683 149.715 13.4266 146.494 9.84046 142.563L9.47108 142.9ZM7.30055 139.604C7.79556 140.851 8.53777 141.977 9.47986 142.91L9.83167 142.554C8.93921 141.671 8.23513 140.603 7.76525 139.42L7.30055 139.604ZM6.60471 135.672C6.56859 137.018 6.80555 138.358 7.30055 139.604L7.76525 139.42C7.29535 138.236 7.07021 136.964 7.10453 135.685L6.60471 135.672ZM6.60462 135.547V135.678H7.10462V135.547H6.60462ZM25.1062 47.5122C7.78667 86.7596 6.60462 135.048 6.60462 135.547H7.10462C7.10462 135.067 8.28717 86.8639 25.5636 47.7141L25.1062 47.5122ZM59.5769 11.646C44.3053 18.2575 32.7131 30.3272 25.1063 47.5119L25.5635 47.7143C33.1266 30.6284 44.6346 18.6598 59.7755 12.1048L59.5769 11.646ZM46.4186 44.3597C45.8822 44.3552 45.3562 44.202 44.8955 43.9152L44.6312 44.3397C45.1693 44.6746 45.7851 44.8545 46.4144 44.8597L46.4186 44.3597ZM47.8284 43.9819C47.3925 44.2239 46.9071 44.3534 46.4133 44.3597L46.4197 44.8597C46.9969 44.8522 47.5634 44.7009 48.0711 44.419L47.8284 43.9819ZM48.9179 42.9675C48.6383 43.3921 48.2644 43.7398 47.8284 43.9819L48.0711 44.419C48.5788 44.1372 49.0123 43.7333 49.3355 43.2424L48.9179 42.9675ZM74.0237 26.0464C63.997 28.467 55.1136 34.4536 48.9246 42.9578L49.3288 43.252C55.4496 34.8417 64.2323 28.9246 74.141 26.5324L74.0237 26.0464ZM75.0851 25.5486C74.7659 25.7853 74.4052 25.9543 74.0237 26.0464L74.141 26.5324C74.5884 26.4244 75.0103 26.2265 75.3829 25.9503L75.0851 25.5486ZM75.8838 24.6661C75.6758 25.0122 75.4043 25.3119 75.0851 25.5486L75.3829 25.9503C75.7554 25.6741 76.0711 25.3251 76.3124 24.9237L75.8838 24.6661ZM76.2963 23.5317C76.2321 23.9345 76.0918 24.32 75.8838 24.6661L76.3124 24.9237C76.5536 24.5222 76.7159 24.076 76.7901 23.6104L76.2963 23.5317ZM76.2577 22.3192C76.3474 22.7168 76.3605 23.1288 76.2963 23.5317L76.7901 23.6104C76.8643 23.1448 76.8491 22.6687 76.7454 22.2091L76.2577 22.3192ZM75.7739 21.2157C76.0034 21.5468 76.1679 21.9217 76.2577 22.3192L76.7454 22.2091C76.6416 21.7495 76.4513 21.3152 76.1848 20.9309L75.7739 21.2157ZM74.9211 20.39C75.2546 20.6043 75.5445 20.8848 75.7739 21.2157L76.1848 20.9309C75.9184 20.5465 75.5809 20.2197 75.1915 19.9694L74.9211 20.39ZM73.8308 19.9659C74.2172 20.0317 74.5877 20.1757 74.9211 20.39L75.1915 19.9694C74.802 19.7191 74.3682 19.5503 73.9148 19.473L73.8308 19.9659ZM72.6677 20.0056C73.0492 19.9135 73.4443 19.9 73.8308 19.9659L73.9148 19.473C73.4614 19.3957 72.9977 19.4115 72.5504 19.5195L72.6677 20.0056ZM43.9104 39.5626C50.9035 29.6702 61.1162 22.7257 72.6663 20.0059L72.5517 19.5192C60.8802 22.2676 50.564 29.2842 43.5022 39.274L43.9104 39.5626ZM43.439 41.1215C43.46 40.5623 43.6259 40.0198 43.9184 39.5506L43.4942 39.286C43.155 39.8299 42.9636 40.4573 42.9394 41.1027L43.439 41.1215ZM43.7992 42.7266C43.5426 42.2351 43.418 41.6807 43.439 41.1215L42.9394 41.1027C42.9151 41.7481 43.0588 42.3888 43.356 42.958L43.7992 42.7266ZM44.8955 43.9152C44.4347 43.6283 44.0558 43.2182 43.7992 42.7266L43.356 42.958C43.6532 43.5273 44.0933 44.0047 44.6312 44.3397L44.8955 43.9152Z",fill:"black"})]}),Zy=e=>{switch(e){case"patch":return b(He.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return b("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"topical lotion or patch":return b("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M114.249 57.1081C127.383 72.9966 132.256 93.7575 127.595 114.095C122.935 133.585 110.012 149.473 92.4289 157.735C83.7432 161.76 74.6339 163.667 65.1008 163.667C55.5677 163.667 46.2465 161.548 37.7726 157.735C19.7657 149.473 6.84314 133.585 2.39437 114.095C-2.26624 93.9693 2.60621 72.9966 15.7407 57.1081L60.652 2.23999C62.7705 -0.302164 67.0074 -0.302164 68.914 2.23999L114.249 57.1081ZM64.8889 152.863C72.9391 152.863 80.5655 151.168 87.7683 147.99C102.598 141.211 113.402 127.865 117.215 111.553C121.24 94.6049 117.003 77.0217 105.987 63.6754L64.8889 13.8915L23.7908 63.6754C12.7748 77.0217 8.5379 94.6049 12.563 111.553C16.3762 127.865 27.1804 141.211 42.0096 147.99C49.2123 151.168 56.8388 152.863 64.8889 152.863ZM97.7159 99.9199C97.7159 96.9541 100.046 94.6238 103.012 94.6238C105.978 94.6238 108.308 97.1659 108.308 99.9199C108.308 121.105 91.1487 138.264 69.9641 138.264C66.9982 138.264 64.6679 135.934 64.6679 132.968C64.6679 130.002 66.9982 127.672 69.9641 127.672C85.217 127.672 97.7159 115.173 97.7159 99.9199Z",fill:"black"})});case"inhalation method":return b("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M81.6664 82.1936C76.2634 82.1936 71.8664 77.9385 71.8664 72.7097V69.5484H75.1331C76.9363 69.5484 78.3998 68.1353 78.3998 66.3871V53.7419C78.3998 51.9937 76.9363 50.5806 75.1331 50.5806H71.8664V34.7742C71.8664 33.026 70.403 31.6129 68.5998 31.6129H58.7998V9.48387C58.7998 4.2551 54.4028 0 48.9998 0C43.5967 0 39.1998 4.2551 39.1998 9.48387V31.6129H29.3998C27.5966 31.6129 26.1331 33.026 26.1331 34.7742V50.5806H22.8664C21.0632 50.5806 19.5998 51.9937 19.5998 53.7419V66.3871C19.5998 68.1353 21.0632 69.5484 22.8664 69.5484H26.1331V72.7097C26.1331 77.9385 21.7362 82.1936 16.3331 82.1936C7.32689 82.1936 -0.000244141 89.2843 -0.000244141 98V177.032C-0.000244141 187.493 8.79036 196 19.5998 196H78.3998C89.2092 196 97.9998 187.493 97.9998 177.032V98C97.9998 89.2843 90.6726 82.1936 81.6664 82.1936ZM45.7331 9.48387C45.7331 7.73884 47.1998 6.32258 48.9998 6.32258C50.7997 6.32258 52.2664 7.73884 52.2664 9.48387V31.6129H45.7331V9.48387ZM32.6664 37.9355H65.3331V50.5806H32.6664V37.9355ZM26.1331 56.9032H29.3998H68.5998H71.8664V63.2258H26.1331V56.9032ZM91.4664 177.032C91.4664 184.006 85.606 189.677 78.3998 189.677H19.5998C12.3935 189.677 6.53309 184.006 6.53309 177.032V98C6.53309 92.7712 10.93 88.5161 16.3331 88.5161C25.3393 88.5161 32.6664 81.4254 32.6664 72.7097V69.5484H65.3331V72.7097C65.3331 81.4254 72.6602 88.5161 81.6664 88.5161C87.0695 88.5161 91.4664 92.7712 91.4664 98V177.032Z",fill:"black"})});case"edible":return b(TE,{});case"capsule":return b(TE,{});default:return b(He.CheckIcon,{className:"stroke-[5px]"})}},cve=()=>{const{getSubmission:e}=ti(),{data:t}=yS({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=iA(r?{avoidPresentation:r.areThere,currentlyUsingCannabisProducts:r.usingCannabisProducts==="Yes",openToUseThcProducts:r.workday_allow_intoxication_nonworkday_allow_intoxi,reasonToUse:r.whatBrings,symptomsWorseTimes:r.symptoms_worse_times,thcTypePreferences:r.thc_type_preferences}:{avoidPresentation:[],currentlyUsingCannabisProducts:!1,openToUseThcProducts:[],reasonToUse:[],symptomsWorseTimes:[],thcTypePreferences:cc.notSure}),s=$t(),c=[{title:"IN THE MORNINGS",label:i.dayTime.result,description:"",form:i.dayTime.form,type:i.dayTime.type},{title:"IN THE EVENING",label:i.evening.result,description:"",form:i.evening.form,type:i.evening.type},{title:"AT BEDTIME",label:i.bedTime.result,description:"",form:i.bedTime.form,type:i.bedTime.type}],f=[{title:"IN THE MORNINGS",label:n.dayTime.result,description:"",form:n.dayTime.form,type:n.dayTime.type},{title:"IN THE EVENING",label:n.evening.result,description:"",form:n.evening.form,type:n.evening.type},{title:"AT BEDTIME",label:n.bedTime.result,description:"",form:n.bedTime.form,type:n.bedTime.type}];return b(dt,{children:b("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:q("div",{className:"w-full max-w-[1211px] lg:w-3/5",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),q("section",{className:"flex flex-col items-center justify-center gap-10 bg-cream-200 px-0 py-7 md:px-10 lg:flex-row",children:[q("article",{className:"flex flex-row items-center justify-center gap-4",children:[b("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:b(He.CheckIcon,{className:"stroke-[5px]"})}),q("div",{className:"flex w-full flex-col md:w-[316px]",children:[b(le,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),b(le,{variant:"base",className:"underline",children:"Product types/forms."}),b(le,{variant:"base",className:"underline",children:"Starting doses."}),b(le,{variant:"base",className:"underline",children:"Times of uses."}),b(gt,{variant:"white",right:b(He.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Save Recommendations"})]})]}),q("article",{className:"flex-wor flex items-center justify-center gap-4",children:[b("div",{children:b("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:b(He.XMarkIcon,{className:"stroke-[3px]"})})}),q("div",{className:"flex w-[316px] flex-col",children:[b(le,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),b(le,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),b(le,{variant:"base",className:"underline",children:"Clinician review & approval."}),b(le,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),b(gt,{variant:"white",right:b(He.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),q("section",{children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),b("main",{className:"flex flex-col gap-14",children:c.map(({title:d,label:h,description:m,type:w,form:C})=>w?q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(C)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:h}),b(le,{className:"hidden md:block",children:m})]})]})]},d):b(xi,{}))})]}),q("section",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),b("main",{className:"flex flex-col gap-14",children:f.map(({title:d,label:h,description:m,type:w,form:C})=>w?q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(C)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:h}),b(le,{className:"hidden md:block",children:m})]})]})]},d):b(xi,{}))})]}),b("section",{children:q("header",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),b(le,{className:"mb-8 mt-12",children:o})]})}),b("footer",{children:q(le,{className:"mb-8 mt-12",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an eo clinician. To most responsibly define and maintain an optimal cannabis regimen,",b("a",{href:Se.register,className:"underline",children:"get your eo care plan now."})]})})]})})})},fve=()=>{const[e]=cn(),t=e.get("submission_id"),r=e.get("union"),[n,i]=v.useState(!1),o=10,[s,c]=v.useState(0),{getSubmissionById:f}=ti(),{data:d}=yS({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===mu.Pain||O.malady===mu.Anxiety||O.malady===mu.Sleep||O.malady===mu.Other)&&i(!0),c(T=>T+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:w,whyRecommended:C}=iA({avoidPresentation:(h==null?void 0:h.areThere)||[],currentlyUsingCannabisProducts:(h==null?void 0:h.usingCannabisProducts)==="Yes",openToUseThcProducts:(h==null?void 0:h.workday_allow_intoxication_nonworkday_allow_intoxi)||[],reasonToUse:(h==null?void 0:h.whatBrings)||[],symptomsWorseTimes:(h==null?void 0:h.symptoms_worse_times)||[],thcTypePreferences:(h==null?void 0:h.thc_type_preferences)||cc.notSure}),S=O=>{let T="";switch(O.time){case"Morning":T="IN THE MORNINGS";break;case"Evening":T="IN THE EVENING";break;case"BedTime":T="AT BEDTIME";break}return{title:T,label:O.result,description:"",form:O.form,type:O.type}},E=Object.values(w).map(S).filter(O=>!!O.type),A=Object.values(m).map(S).filter(O=>!!O.type),x=(h==null?void 0:h.thc_type_preferences)===cc.notPrefer,y=E.length||A.length,_=(O,T)=>q("section",{className:"mt-8",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),b("main",{className:"flex flex-col gap-14",children:T.map(({title:D,label:V,description:N,form:H})=>q("article",{className:"gap-4 divide-y divide-gray-300",children:[b(le,{className:"text-gray-600",children:D}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[b("div",{className:"w-14",children:b("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Zy(H)})}),q("div",{children:[b(le,{font:"semiBold",className:"font-nobel",children:V}),b(le,{className:"hidden md:block",children:N})]})]})]},D))})]});return b(dt,{children:b("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:q("div",{className:"w-full max-w-[1211px] md:w-[90%] lg:w-4/5",children:[b("header",{children:b(le,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),q("section",{className:"grid grid-cols-1 items-center justify-center divide-x divide-solid bg-cream-200 px-0 py-7 md:px-3 lg:grid-cols-2 lg:divide-gray-400",children:[q("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[b("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:b(He.CheckIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),q("div",{className:"flex w-[316px] flex-col p-4",children:[b(le,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),b(le,{variant:"base",font:"medium",children:"Product types/forms."}),b(le,{variant:"base",font:"medium",children:"Starting doses."}),b(le,{variant:"base",font:"medium",children:"Times of uses."}),b(gt,{id:"ga-save-recomendation",variant:"white",right:b(He.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:b(le,{font:"medium",children:"Save Recommendations"})})]})]}),q("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[b("div",{className:"ml-4 flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2 md:h-14 md:w-14 md:p-3",children:b(He.XMarkIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),q("div",{className:"flex w-[316px] flex-col p-4",children:[b(le,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),b(le,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),b(le,{variant:"base",font:"medium",children:"Clinician review & approval."}),b(le,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),b(gt,{id:"ga-continue-recomendation",variant:"white",right:b(He.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:b(le,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!y?b(xi,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:b(le,{font:"medium",children:"Redirect"})}),b(le,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),b("section",{children:q("header",{children:[b(le,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),b(le,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),b("footer",{children:q(le,{className:"mb-8 mt-4 text-justify",children:["These recommendations were created using our proprietary data model which leverages the latest cannabis research and the wisdom of over 18,000 patient interactions. Note that these recommendations should be informed by a more complete understanding of your current symptoms, specific diagnoses, medications, or medical history, and have not been reviewed or approved by an eo clinician. To most responsibly define and maintain an optimal cannabis regimen,"," ",b("span",{onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},className:"poin cursor-pointer font-bold underline",children:"get your eo care plan now."})]})})]})})})},dve=()=>{const e=$t(),{channel:t,type:r,origin:n}=sl(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?j3e:z3e;break}case"cancer":{o=r==="Patient"?P3e:$3e;break}}return Yo(()=>{setTimeout(()=>{Ko(o)},400)}),o===null&&e("/"),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:o&&b("iframe",{id:`JotFormIFrame-${o}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${o}?${i.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})};function PE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function xw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:PE(t[r])&&PE(e[r])&&Object.keys(t[r]).length>0&&xw(e[r],t[r])})}const oA={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ll(){const e=typeof document<"u"?document:{};return xw(e,oA),e}const pve={document:oA,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function dn(){const e=typeof window<"u"?window:{};return xw(e,pve),e}function hve(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function mve(e){const t=e;Object.keys(t).forEach(r=>{try{t[r]=null}catch{}try{delete t[r]}catch{}})}function Gy(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Um(){return Date.now()}function vve(e){const t=dn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function gve(e,t){t===void 0&&(t="x");const r=dn();let n,i,o;const s=vve(e);return r.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(c=>c.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix(i==="none"?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),t==="x"&&(r.WebKitCSSMatrix?i=o.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),t==="y"&&(r.WebKitCSSMatrix?i=o.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function W1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function yve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function rn(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;rt.indexOf(o)<0);for(let o=0,s=i.length;oo?"next":"prev",h=(w,C)=>d==="next"&&w>=C||d==="prev"&&w<=C,m=()=>{c=new Date().getTime(),s===null&&(s=c);const w=Math.max(Math.min((c-s)/f,1),0),C=.5-Math.cos(w*Math.PI)/2;let S=o+C*(r-o);if(h(S,r)&&(S=r),t.wrapperEl.scrollTo({[n]:S}),h(S,r)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:S})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(m)};m()}function wi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function qm(e){try{console.warn(e);return}catch{}}function fc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:hve(t)),r}function wve(e,t){const r=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function xve(e,t){const r=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function Io(e,t){return dn().getComputedStyle(e,null).getPropertyValue(t)}function dc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function sA(e,t){const r=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function Qy(e,t,r){const n=dn();return r?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function lA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=wi(e.el,`.${n[i]}`)[0];o||(o=fc("div",n[i]),o.className=n[i],e.el.append(o)),r[i]=o,t[i]=o}}),r}function bve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const o=E=>(Array.isArray(E)?E:[E]).filter(A=>!!A);function s(E){let A;return E&&typeof E=="string"&&t.isElement&&(A=t.el.querySelector(E),A)?A:(E&&(typeof E=="string"&&(A=[...document.querySelectorAll(E)]),t.params.uniqueNavElements&&typeof E=="string"&&A.length>1&&t.el.querySelectorAll(E).length===1&&(A=t.el.querySelector(E))),E&&!A?E:A)}function c(E,A){const x=t.params.navigation;E=o(E),E.forEach(y=>{y&&(y.classList[A?"add":"remove"](...x.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=A),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](x.lockClass))})}function f(){const{nextEl:E,prevEl:A}=t.navigation;if(t.params.loop){c(A,!1),c(E,!1);return}c(A,t.isBeginning&&!t.params.rewind),c(E,t.isEnd&&!t.params.rewind)}function d(E){E.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function h(E){E.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function m(){const E=t.params.navigation;if(t.params.navigation=lA(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(E.nextEl||E.prevEl))return;let A=s(E.nextEl),x=s(E.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:x}),A=o(A),x=o(x);const y=(_,O)=>{_&&_.addEventListener("click",O==="next"?h:d),!t.enabled&&_&&_.classList.add(...E.lockClass.split(" "))};A.forEach(_=>y(_,"next")),x.forEach(_=>y(_,"prev"))}function w(){let{nextEl:E,prevEl:A}=t.navigation;E=o(E),A=o(A);const x=(y,_)=>{y.removeEventListener("click",_==="next"?h:d),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};E.forEach(y=>x(y,"next")),A.forEach(y=>x(y,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?S():(m(),f())}),n("toEdge fromEdge lock unlock",()=>{f()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{nextEl:E,prevEl:A}=t.navigation;if(E=o(E),A=o(A),t.enabled){f();return}[...E,...A].filter(x=>!!x).forEach(x=>x.classList.add(t.params.navigation.lockClass))}),n("click",(E,A)=>{let{nextEl:x,prevEl:y}=t.navigation;x=o(x),y=o(y);const _=A.target;if(t.params.navigation.hideOnClick&&!y.includes(_)&&!x.includes(_)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===_||t.pagination.el.contains(_)))return;let O;x.length?O=x[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(O=y[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...x,...y].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const C=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),m(),f()},S=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),w()};Object.assign(t.navigation,{enable:C,disable:S,update:f,init:m,destroy:w})}function ko(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Cve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:y=>y,formatFractionTotal:y=>y,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let s,c=0;const f=y=>(Array.isArray(y)?y:[y]).filter(_=>!!_);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function h(y,_){const{bulletActiveClass:O}=t.params.pagination;y&&(y=y[`${_==="prev"?"previous":"next"}ElementSibling`],y&&(y.classList.add(`${O}-${_}`),y=y[`${_==="prev"?"previous":"next"}ElementSibling`],y&&y.classList.add(`${O}-${_}-${_}`)))}function m(y){const _=y.target.closest(ko(t.params.pagination.bulletClass));if(!_)return;y.preventDefault();const O=dc(_)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===O)return;t.slideToLoop(O)}else t.slideTo(O)}function w(){const y=t.rtl,_=t.params.pagination;if(d())return;let O=t.pagination.el;O=f(O);let T,D;const V=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,N=t.params.loop?Math.ceil(V/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(D=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,D=t.previousSnapIndex):(D=t.previousIndex||0,T=t.activeIndex||0),_.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const H=t.pagination.bullets;let W,Z,Q;if(_.dynamicBullets&&(s=Qy(H[0],t.isHorizontal()?"width":"height",!0),O.forEach(a=>{a.style[t.isHorizontal()?"width":"height"]=`${s*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&D!==void 0&&(c+=T-(D||0),c>_.dynamicMainBullets-1?c=_.dynamicMainBullets-1:c<0&&(c=0)),W=Math.max(T-c,0),Z=W+(Math.min(H.length,_.dynamicMainBullets)-1),Q=(Z+W)/2),H.forEach(a=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(M=>`${_.bulletActiveClass}${M}`)].map(M=>typeof M=="string"&&M.includes(" ")?M.split(" "):M).flat();a.classList.remove(...P)}),O.length>1)H.forEach(a=>{const P=dc(a);P===T?a.classList.add(..._.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),_.dynamicBullets&&(P>=W&&P<=Z&&a.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),P===W&&h(a,"prev"),P===Z&&h(a,"next"))});else{const a=H[T];if(a&&a.classList.add(..._.bulletActiveClass.split(" ")),t.isElement&&H.forEach((P,M)=>{P.setAttribute("part",M===T?"bullet-active":"bullet")}),_.dynamicBullets){const P=H[W],M=H[Z];for(let G=W;G<=Z;G+=1)H[G]&&H[G].classList.add(...`${_.bulletActiveClass}-main`.split(" "));h(P,"prev"),h(M,"next")}}if(_.dynamicBullets){const a=Math.min(H.length,_.dynamicMainBullets+4),P=(s*a-s)/2-Q*s,M=y?"right":"left";H.forEach(G=>{G.style[t.isHorizontal()?M:"top"]=`${P}px`})}}O.forEach((H,W)=>{if(_.type==="fraction"&&(H.querySelectorAll(ko(_.currentClass)).forEach(Z=>{Z.textContent=_.formatFractionCurrent(T+1)}),H.querySelectorAll(ko(_.totalClass)).forEach(Z=>{Z.textContent=_.formatFractionTotal(N)})),_.type==="progressbar"){let Z;_.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Q=(T+1)/N;let a=1,P=1;Z==="horizontal"?a=Q:P=Q,H.querySelectorAll(ko(_.progressbarFillClass)).forEach(M=>{M.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${P})`,M.style.transitionDuration=`${t.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(H.innerHTML=_.renderCustom(t,T+1,N),W===0&&i("paginationRender",H)):(W===0&&i("paginationRender",H),i("paginationUpdate",H)),t.params.watchOverflow&&t.enabled&&H.classList[t.isLocked?"add":"remove"](_.lockClass)})}function C(){const y=t.params.pagination;if(d())return;const _=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let O=t.pagination.el;O=f(O);let T="";if(y.type==="bullets"){let D=t.params.loop?Math.ceil(_/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&D>_&&(D=_);for(let V=0;V`}y.type==="fraction"&&(y.renderFraction?T=y.renderFraction.call(t,y.currentClass,y.totalClass):T=` / `),y.type==="progressbar"&&(y.renderProgressbar?T=y.renderProgressbar.call(t,y.progressbarFillClass):T=``),t.pagination.bullets=[],O.forEach(D=>{y.type!=="custom"&&(D.innerHTML=T||""),y.type==="bullets"&&t.pagination.bullets.push(...D.querySelectorAll(ko(y.bulletClass)))}),y.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=lA(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const y=t.params.pagination;if(!y.el)return;let _;typeof y.el=="string"&&t.isElement&&(_=t.el.querySelector(y.el)),!_&&typeof y.el=="string"&&(_=[...document.querySelectorAll(y.el)]),_||(_=y.el),!(!_||_.length===0)&&(t.params.uniqueNavElements&&typeof y.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...t.el.querySelectorAll(y.el)],_.length>1&&(_=_.filter(O=>sA(O,".swiper")[0]===t.el)[0])),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(t.pagination,{el:_}),_=f(_),_.forEach(O=>{y.type==="bullets"&&y.clickable&&O.classList.add(...(y.clickableClass||"").split(" ")),O.classList.add(y.modifierClass+y.type),O.classList.add(t.isHorizontal()?y.horizontalClass:y.verticalClass),y.type==="bullets"&&y.dynamicBullets&&(O.classList.add(`${y.modifierClass}${y.type}-dynamic`),c=0,y.dynamicMainBullets<1&&(y.dynamicMainBullets=1)),y.type==="progressbar"&&y.progressbarOpposite&&O.classList.add(y.progressbarOppositeClass),y.clickable&&O.addEventListener("click",m),t.enabled||O.classList.add(y.lockClass)}))}function E(){const y=t.params.pagination;if(d())return;let _=t.pagination.el;_&&(_=f(_),_.forEach(O=>{O.classList.remove(y.hiddenClass),O.classList.remove(y.modifierClass+y.type),O.classList.remove(t.isHorizontal()?y.horizontalClass:y.verticalClass),y.clickable&&(O.classList.remove(...(y.clickableClass||"").split(" ")),O.removeEventListener("click",m))})),t.pagination.bullets&&t.pagination.bullets.forEach(O=>O.classList.remove(...y.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const y=t.params.pagination;let{el:_}=t.pagination;_=f(_),_.forEach(O=>{O.classList.remove(y.horizontalClass,y.verticalClass),O.classList.add(t.isHorizontal()?y.horizontalClass:y.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?x():(S(),C(),w())}),n("activeIndexChange",()=>{typeof t.snapIndex>"u"&&w()}),n("snapIndexChange",()=>{w()}),n("snapGridLengthChange",()=>{C(),w()}),n("destroy",()=>{E()}),n("enable disable",()=>{let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{w()}),n("click",(y,_)=>{const O=_.target,T=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!O.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&O===t.navigation.nextEl||t.navigation.prevEl&&O===t.navigation.prevEl))return;const D=T[0].classList.contains(t.params.pagination.hiddenClass);i(D===!0?"paginationShow":"paginationHide"),T.forEach(V=>V.classList.toggle(t.params.pagination.hiddenClass))}});const A=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList.remove(t.params.pagination.paginationDisabledClass))),S(),C(),w()},x=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:y}=t.pagination;y&&(y=f(y),y.forEach(_=>_.classList.add(t.params.pagination.paginationDisabledClass))),E()};Object.assign(t.pagination,{enable:A,disable:x,render:C,update:w,init:S,destroy:E})}function Eve(e){let{swiper:t,extendParams:r,on:n}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function o(P){const M=i;M.length!==0&&(M.innerHTML="",M.innerHTML=P)}const s=P=>(Array.isArray(P)?P:[P]).filter(M=>!!M);function c(P){P===void 0&&(P=16);const M=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,M)}function f(P){P=s(P),P.forEach(M=>{M.setAttribute("tabIndex","0")})}function d(P){P=s(P),P.forEach(M=>{M.setAttribute("tabIndex","-1")})}function h(P,M){P=s(P),P.forEach(G=>{G.setAttribute("role",M)})}function m(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-roledescription",M)})}function w(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-controls",M)})}function C(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-label",M)})}function S(P,M){P=s(P),P.forEach(G=>{G.setAttribute("id",M)})}function E(P,M){P=s(P),P.forEach(G=>{G.setAttribute("aria-live",M)})}function A(P){P=s(P),P.forEach(M=>{M.setAttribute("aria-disabled",!0)})}function x(P){P=s(P),P.forEach(M=>{M.setAttribute("aria-disabled",!1)})}function y(P){if(P.keyCode!==13&&P.keyCode!==32)return;const M=t.params.a11y,G=P.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(P.target))&&!P.target.matches(ko(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&G===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?o(M.lastSlideMessage):o(M.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&G===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?o(M.firstSlideMessage):o(M.prevSlideMessage)),t.pagination&&G.matches(ko(t.params.pagination.bulletClass))&&G.click())}function _(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:P,prevEl:M}=t.navigation;M&&(t.isBeginning?(A(M),d(M)):(x(M),f(M))),P&&(t.isEnd?(A(P),d(P)):(x(P),f(P)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function T(){return O()&&t.params.pagination.clickable}function D(){const P=t.params.a11y;O()&&t.pagination.bullets.forEach(M=>{t.params.pagination.clickable&&(f(M),t.params.pagination.renderBullet||(h(M,"button"),C(M,P.paginationBulletMessage.replace(/\{\{index\}\}/,dc(M)+1)))),M.matches(ko(t.params.pagination.bulletActiveClass))?M.setAttribute("aria-current","true"):M.removeAttribute("aria-current")})}const V=(P,M,G)=>{f(P),P.tagName!=="BUTTON"&&(h(P,"button"),P.addEventListener("keydown",y)),C(P,G),w(P,M)},N=()=>{t.a11y.clicked=!0},H=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},W=P=>{if(t.a11y.clicked)return;const M=P.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!M||!t.slides.includes(M))return;const G=t.slides.indexOf(M)===t.activeIndex,ae=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(M);G||ae||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(M),0))},Z=()=>{const P=t.params.a11y;P.itemRoleDescriptionMessage&&m(t.slides,P.itemRoleDescriptionMessage),P.slideRole&&h(t.slides,P.slideRole);const M=t.slides.length;P.slideLabelMessage&&t.slides.forEach((G,ae)=>{const Y=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):ae,re=P.slideLabelMessage.replace(/\{\{index\}\}/,Y+1).replace(/\{\{slidesLength\}\}/,M);C(G,re)})},Q=()=>{const P=t.params.a11y;t.el.append(i);const M=t.el;P.containerRoleDescriptionMessage&&m(M,P.containerRoleDescriptionMessage),P.containerMessage&&C(M,P.containerMessage);const G=t.wrapperEl,ae=P.id||G.getAttribute("id")||`swiper-wrapper-${c(16)}`,Y=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";S(G,ae),E(G,Y),Z();let{nextEl:re,prevEl:ve}=t.navigation?t.navigation:{};re=s(re),ve=s(ve),re&&re.forEach(xe=>V(xe,ae,P.nextSlideMessage)),ve&&ve.forEach(xe=>V(xe,ae,P.prevSlideMessage)),T()&&s(t.pagination.el).forEach(Te=>{Te.addEventListener("keydown",y)}),t.el.addEventListener("focus",W,!0),t.el.addEventListener("pointerdown",N,!0),t.el.addEventListener("pointerup",H,!0)};function a(){i&&i.remove();let{nextEl:P,prevEl:M}=t.navigation?t.navigation:{};P=s(P),M=s(M),P&&P.forEach(G=>G.removeEventListener("keydown",y)),M&&M.forEach(G=>G.removeEventListener("keydown",y)),T()&&s(t.pagination.el).forEach(ae=>{ae.removeEventListener("keydown",y)}),t.el.removeEventListener("focus",W,!0),t.el.removeEventListener("pointerdown",N,!0),t.el.removeEventListener("pointerup",H,!0)}n("beforeInit",()=>{i=fc("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{t.params.a11y.enabled&&Q()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&Z()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&_()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&D()}),n("destroy",()=>{t.params.a11y.enabled&&a()})}let Y4;function _ve(){const e=dn(),t=ll();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function uA(){return Y4||(Y4=_ve()),Y4}let K4;function kve(e){let{userAgent:t}=e===void 0?{}:e;const r=uA(),n=dn(),i=n.navigator.platform,o=t||n.navigator.userAgent,s={ios:!1,android:!1},c=n.screen.width,f=n.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/);let h=o.match(/(iPad).*OS\s([\d_]+)/);const m=o.match(/(iPod)(.*OS\s([\d_]+))?/),w=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),C=i==="Win32";let S=i==="MacIntel";const E=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&S&&r.touch&&E.indexOf(`${c}x${f}`)>=0&&(h=o.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),S=!1),d&&!C&&(s.os="android",s.android=!0),(h||w||m)&&(s.os="ios",s.ios=!0),s}function Sve(e){return e===void 0&&(e={}),K4||(K4=kve(e)),K4}let X4;function Rve(){const e=dn();let t=!1;function r(){const n=e.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(r()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[i,o]=n.split("Version/")[1].split(" ")[0].split(".").map(s=>Number(s));t=i<16||i===16&&o<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Ave(){return X4||(X4=Rve()),X4}function Ove(e){let{swiper:t,on:r,emit:n}=e;const i=dn();let o=null,s=null;const c=()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},f=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(m=>{s=i.requestAnimationFrame(()=>{const{width:w,height:C}=t;let S=w,E=C;m.forEach(A=>{let{contentBoxSize:x,contentRect:y,target:_}=A;_&&_!==t.el||(S=y?y.width:(x[0]||x).inlineSize,E=y?y.height:(x[0]||x).blockSize)}),(S!==w||E!==C)&&c()})}),o.observe(t.el))},d=()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},h=()=>{!t||t.destroyed||!t.initialized||n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){f();return}i.addEventListener("resize",c),i.addEventListener("orientationchange",h)}),r("destroy",()=>{d(),i.removeEventListener("resize",c),i.removeEventListener("orientationchange",h)})}function Ive(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=dn(),c=function(h,m){m===void 0&&(m={});const w=s.MutationObserver||s.WebkitMutationObserver,C=new w(S=>{if(t.__preventObserver__)return;if(S.length===1){i("observerUpdate",S[0]);return}const E=function(){i("observerUpdate",S[0])};s.requestAnimationFrame?s.requestAnimationFrame(E):s.setTimeout(E,0)});C.observe(h,{attributes:typeof m.attributes>"u"?!0:m.attributes,childList:typeof m.childList>"u"?!0:m.childList,characterData:typeof m.characterData>"u"?!0:m.characterData}),o.push(C)},f=()=>{if(t.params.observer){if(t.params.observeParents){const h=sA(t.hostEl);for(let m=0;m{o.forEach(h=>{h.disconnect()}),o.splice(0,o.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",f),n("destroy",d)}var Lve={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const i=r?"unshift":"push";return e.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][i](t)}),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,s=new Array(o),c=0;c=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||e.split(" ").forEach(n=>{typeof t>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&r.eventsListeners[n].splice(o,1)})}),r},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,r,n;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(d=>{d.apply(n,[f,...r])}),e.eventsListeners&&e.eventsListeners[f]&&e.eventsListeners[f].forEach(d=>{d.apply(n,r)})}),e}};function Bve(){const e=this;let t,r;const n=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=n.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?r=e.params.height:r=n.clientHeight,!(t===0&&e.isHorizontal()||r===0&&e.isVertical())&&(t=t-parseInt(Io(n,"padding-left")||0,10)-parseInt(Io(n,"padding-right")||0,10),r=r-parseInt(Io(n,"padding-top")||0,10)-parseInt(Io(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))}function Tve(){const e=this;function t(W,Z){return parseFloat(W.getPropertyValue(e.getDirectionLabel(Z))||0)}const r=e.params,{wrapperEl:n,slidesEl:i,size:o,rtlTranslate:s,wrongRTL:c}=e,f=e.virtual&&r.virtual.enabled,d=f?e.virtual.slides.length:e.slides.length,h=wi(i,`.${e.params.slideClass}, swiper-slide`),m=f?e.virtual.slides.length:h.length;let w=[];const C=[],S=[];let E=r.slidesOffsetBefore;typeof E=="function"&&(E=r.slidesOffsetBefore.call(e));let A=r.slidesOffsetAfter;typeof A=="function"&&(A=r.slidesOffsetAfter.call(e));const x=e.snapGrid.length,y=e.slidesGrid.length;let _=r.spaceBetween,O=-E,T=0,D=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*o:typeof _=="string"&&(_=parseFloat(_)),e.virtualSize=-_,h.forEach(W=>{s?W.style.marginLeft="":W.style.marginRight="",W.style.marginBottom="",W.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(H1(n,"--swiper-centered-offset-before",""),H1(n,"--swiper-centered-offset-after",""));const V=r.grid&&r.grid.rows>1&&e.grid;V?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let N;const H=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(W=>typeof r.breakpoints[W].slidesPerView<"u").length>0;for(let W=0;W1&&w.push(e.virtualSize-o)}if(f&&r.loop){const W=S[0]+_;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Q=W*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Q!==h.length-1).forEach(Z=>{Z.style[W]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let W=0;S.forEach(Q=>{W+=Q+(_||0)}),W-=_;const Z=W-o;w=w.map(Q=>Q<=0?-E:Q>Z?Z+A:Q)}if(r.centerInsufficientSlides){let W=0;if(S.forEach(Z=>{W+=Z+(_||0)}),W-=_,W{w[a]=Q-Z}),C.forEach((Q,a)=>{C[a]=Q+Z})}}if(Object.assign(e,{slides:h,snapGrid:w,slidesGrid:C,slidesSizesGrid:S}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){H1(n,"--swiper-centered-offset-before",`${-w[0]}px`),H1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const W=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Q=>Q+W),e.slidesGrid=e.slidesGrid.map(Q=>Q+Z)}if(m!==d&&e.emit("slidesLengthChange"),w.length!==x&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),C.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!f&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const W=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(W);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(W):Z&&e.el.classList.remove(W)}}function Pve(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let i=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=c=>n?t.slides[t.getSlideIndexByData(c)]:t.slides[c];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(c=>{r.push(c)});else for(o=0;ot.slides.length&&!n)break;r.push(s(c))}else r.push(s(t.activeIndex));for(o=0;oi?c:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function $ve(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),n.forEach(f=>{f.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let c=r.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*t.size:typeof c=="string"&&(c=parseFloat(c));for(let f=0;f=0&&C<=t.size-t.slidesSizesGrid[f];(C>=0&&C1&&S<=t.size||C<=0&&S>=t.size)&&(t.visibleSlides.push(d),t.visibleSlidesIndexes.push(f),n[f].classList.add(r.slideVisibleClass)),E&&n[f].classList.add(r.slideFullyVisibleClass),d.progress=i?-m:m,d.originalProgress=i?-w:w}}function Dve(e){const t=this;if(typeof e>"u"){const h=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*h||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:c}=t;const f=o,d=s;if(n===0)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/n;const h=Math.abs(e-t.minTranslate())<1,m=Math.abs(e-t.maxTranslate())<1;o=h||i<=0,s=m||i>=1,h&&(i=0),m&&(i=1)}if(r.loop){const h=t.getSlideIndexByData(0),m=t.getSlideIndexByData(t.slides.length-1),w=t.slidesGrid[h],C=t.slidesGrid[m],S=t.slidesGrid[t.slidesGrid.length-1],E=Math.abs(e);E>=w?c=(E-w)/S:c=(E+S-C)/S,c>1&&(c-=1)}Object.assign(t,{progress:i,progressLoop:c,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!f&&t.emit("reachBeginning toEdge"),s&&!d&&t.emit("reachEnd toEdge"),(f&&!o||d&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}function Fve(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,o=e.virtual&&r.virtual.enabled,s=e.grid&&r.grid&&r.grid.rows>1,c=m=>wi(n,`.${r.slideClass}${m}, swiper-slide${m}`)[0];t.forEach(m=>{m.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)});let f,d,h;if(o)if(r.loop){let m=i-e.virtual.slidesBefore;m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),f=c(`[data-swiper-slide-index="${m}"]`)}else f=c(`[data-swiper-slide-index="${i}"]`);else s?(f=t.filter(m=>m.column===i)[0],h=t.filter(m=>m.column===i+1)[0],d=t.filter(m=>m.column===i-1)[0]):f=t[i];f&&(f.classList.add(r.slideActiveClass),s?(h&&h.classList.add(r.slideNextClass),d&&d.classList.add(r.slidePrevClass)):(h=xve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=wve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const ah=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){let i=n.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},J4=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},Yy=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,c=[s-t];c.push(...Array.from({length:t}).map((f,d)=>s+n+d)),e.slides.forEach((f,d)=>{c.includes(f.column)&&J4(e,d)});return}const o=i+n-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=o+t;s+=1){const c=(s%r+r)%r;(co)&&J4(e,c)}else for(let s=Math.max(i-t,0);s<=Math.min(o+t,r-1);s+=1)s!==i&&(s>o||s=t[o]&&n=t[o]&&n=t[o]&&(i=o);return r.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function jve(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:i,activeIndex:o,realIndex:s,snapIndex:c}=t;let f=e,d;const h=C=>{let S=C-t.virtual.slidesBefore;return S<0&&(S=t.virtual.slides.length+S),S>=t.virtual.slides.length&&(S-=t.virtual.slides.length),S};if(typeof f>"u"&&(f=Nve(t)),n.indexOf(r)>=0)d=n.indexOf(r);else{const C=Math.min(i.slidesPerGroupSkip,f);d=C+Math.floor((f-C)/i.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),f===o&&!t.params.loop){d!==c&&(t.snapIndex=d,t.emit("snapIndexChange"));return}if(f===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=h(f);return}const m=t.grid&&i.grid&&i.grid.rows>1;let w;if(t.virtual&&i.virtual.enabled&&i.loop)w=h(f);else if(m){const C=t.slides.filter(E=>E.column===f)[0];let S=parseInt(C.getAttribute("data-swiper-slide-index"),10);Number.isNaN(S)&&(S=Math.max(t.slides.indexOf(C),0)),w=Math.floor(S/i.grid.rows)}else if(t.slides[f]){const C=t.slides[f].getAttribute("data-swiper-slide-index");C?w=parseInt(C,10):w=f}else w=f;Object.assign(t,{previousSnapIndex:c,snapIndex:d,previousRealIndex:s,realIndex:w,previousIndex:o,activeIndex:f}),t.initialized&&Yy(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==w&&t.emit("realIndexChange"),t.emit("slideChange"))}function zve(e,t){const r=this,n=r.params;let i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(c=>{!i&&c.matches&&c.matches(`.${n.slideClass}, swiper-slide`)&&(i=c)});let o=!1,s;if(i){for(let c=0;cf?h=f:n&&es?c="next":o=f.length&&(A=f.length-1);const x=-f[A];if(c.normalizeSlideIndex)for(let _=0;_=T&&O=T&&O=T&&(s=_)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(w?x>o.translate&&x>o.minTranslate():xo.translate&&x>o.maxTranslate()&&(m||0)!==s))return!1;s!==(h||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(x);let y;if(s>m?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[_?"scrollLeft":"scrollTop"]=O})):C[_?"scrollLeft":"scrollTop"]=O,T&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return aA({swiper:o,targetPosition:O,side:_?"left":"top"}),!0;C.scrollTo({[_?"left":"top"]:O,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(x),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,y),t===0?o.transitionEnd(r,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(O){!o||o.destroyed||O.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function e4e(e,t,r,n){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),r===void 0&&(r=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this,o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let c;if(o){const w=s*i.params.grid.rows;c=i.slides.filter(C=>C.getAttribute("data-swiper-slide-index")*1===w)[0].column}else c=i.getSlideIndexByData(s);const f=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:d}=i.params;let h=i.params.slidesPerView;h==="auto"?h=i.slidesPerViewDynamic():(h=Math.ceil(parseFloat(i.params.slidesPerView,10)),d&&h%2===0&&(h=h+1));let m=f-cC.getAttribute("data-swiper-slide-index")*1===w)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i}function t4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this,{enabled:i,params:o,animating:s}=n;if(!i)return n;let c=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(c=Math.max(n.slidesPerViewDynamic("current",!0),1));const f=n.activeIndex{n.slideTo(n.activeIndex+f,e,t,r)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+f,e,t,r)}function r4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:c,enabled:f,animating:d}=n;if(!f)return n;const h=n.virtual&&i.virtual.enabled;if(i.loop){if(d&&!h&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const m=c?n.translate:-n.translate;function w(x){return x<0?-Math.floor(Math.abs(x)):Math.floor(x)}const C=w(m),S=o.map(x=>w(x));let E=o[S.indexOf(C)-1];if(typeof E>"u"&&i.cssMode){let x;o.forEach((y,_)=>{C>=y&&(x=_)}),typeof x<"u"&&(E=o[x>0?x-1:x])}let A=0;if(typeof E<"u"&&(A=s.indexOf(E),A<0&&(A=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(A=A-n.slidesPerViewDynamic("previous",!0)+1,A=Math.max(A,0))),i.rewind&&n.isBeginning){const x=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(x,e,t,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(A,e,t,r)}),!0;return n.slideTo(A,e,t,r)}function n4e(e,t,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const n=this;return n.slideTo(n.activeIndex,e,t,r)}function i4e(e,t,r,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),n===void 0&&(n=.5);const i=this;let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),c=s+Math.floor((o-s)/i.params.slidesPerGroup),f=i.rtlTranslate?i.translate:-i.translate;if(f>=i.snapGrid[c]){const d=i.snapGrid[c],h=i.snapGrid[c+1];f-d>(h-d)*n&&(o+=i.params.slidesPerGroup)}else{const d=i.snapGrid[c-1],h=i.snapGrid[c];f-d<=(h-d)*n&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,r)}function o4e(){const e=this,{params:t,slidesEl:r}=e,n=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,o;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+n/2?(e.loopFix(),i=e.getSlideIndex(wi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-n?(e.loopFix(),i=e.getSlideIndex(wi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var a4e={slideTo:Jve,slideToLoop:e4e,slideNext:t4e,slidePrev:r4e,slideReset:n4e,slideToClosest:i4e,slideToClickedSlide:o4e};function s4e(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{wi(n,`.${r.slideClass}, swiper-slide`).forEach((m,w)=>{m.setAttribute("data-swiper-slide-index",w)})},o=t.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),c=t.slides.length%s!==0,f=o&&t.slides.length%r.grid.rows!==0,d=h=>{for(let m=0;m1;d.length"u"?o=f.getSlideIndex(d.filter(a=>a.classList.contains(C.slideActiveClass))[0]):T=o;const D=n==="next"||!n,V=n==="prev"||!n;let N=0,H=0;const W=y?Math.ceil(d.length/C.grid.rows):d.length,Q=(y?d[o].column:o)+(S&&typeof i>"u"?-E/2+.5:0);if(Q=0;G-=1)d[G].column===M&&_.push(G)}else _.push(W-P-1)}}else if(Q+E>W-x){H=Math.max(Q-(W-x*2),A);for(let a=0;a{M.column===P&&O.push(G)}):O.push(P)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),V&&_.forEach(a=>{d[a].swiperLoopMoveDOM=!0,w.prepend(d[a]),d[a].swiperLoopMoveDOM=!1}),D&&O.forEach(a=>{d[a].swiperLoopMoveDOM=!0,w.append(d[a]),d[a].swiperLoopMoveDOM=!1}),f.recalcSlides(),C.slidesPerView==="auto"?f.updateSlides():y&&(_.length>0&&V||O.length>0&&D)&&f.slides.forEach((a,P)=>{f.grid.updateSlide(P,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(_.length>0&&V){if(typeof t>"u"){const a=f.slidesGrid[T],M=f.slidesGrid[T+N]-a;c?f.setTranslate(f.translate-M):(f.slideTo(T+N,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-M,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-M))}else if(i){const a=y?_.length/C.grid.rows:_.length;f.slideTo(f.activeIndex+a,0,!1,!0),f.touchEventsData.currentTranslate=f.translate}}else if(O.length>0&&D)if(typeof t>"u"){const a=f.slidesGrid[T],M=f.slidesGrid[T-H]-a;c?f.setTranslate(f.translate-M):(f.slideTo(T-H,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-M,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-M))}else{const a=y?O.length/C.grid.rows:O.length;f.slideTo(f.activeIndex-a,0,!1,!0)}}if(f.allowSlidePrev=h,f.allowSlideNext=m,f.controller&&f.controller.control&&!s){const a={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(f.controller.control)?f.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...a,slideTo:P.params.slidesPerView===C.slidesPerView?r:!1})}):f.controller.control instanceof f.constructor&&f.controller.control.params.loop&&f.controller.control.loopFix({...a,slideTo:f.controller.control.params.slidesPerView===C.slidesPerView?r:!1})}f.emit("loopFix")}function u4e(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[o]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var c4e={loopCreate:s4e,loopFix:l4e,loopDestroy:u4e};function f4e(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function d4e(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var p4e={setGrabCursor:f4e,unsetGrabCursor:d4e};function h4e(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ll()||n===dn())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(t)}function $E(e,t,r){const n=dn(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return o&&(r<=s||r>=n.innerWidth-s)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function m4e(e){const t=this,r=ll();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){$E(t,n,n.targetTouches[0].pageX);return}const{params:o,touches:s,enabled:c}=t;if(!c||!o.simulateTouch&&n.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let f=n.target;if(o.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(f)||"which"in n&&n.which===3||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;const d=!!o.noSwipingClass&&o.noSwipingClass!=="",h=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&h&&(f=h[0]);const m=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,w=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(w?h4e(m,f):f.closest(m))){t.allowClick=!0;return}if(o.swipeHandler&&!f.closest(o.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const C=s.currentX,S=s.currentY;if(!$E(t,n,C))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=C,s.startY=S,i.touchStartTime=Um(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let E=!0;f.matches(i.focusableElements)&&(E=!1,f.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==f&&r.activeElement.blur();const A=E&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||A)&&!f.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function v4e(e){const t=ll(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:c}=r;if(!c||!i.simulateTouch&&e.pointerType==="mouse")return;let f=e;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(n.touchId!==null||f.pointerId!==n.pointerId))return;let d;if(f.type==="touchmove"){if(d=[...f.changedTouches].filter(D=>D.identifier===n.touchId)[0],!d||d.identifier!==n.touchId)return}else d=f;if(!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",f);return}const h=d.pageX,m=d.pageY;if(f.preventedByNestedSwiper){o.startX=h,o.startY=m;return}if(!r.allowTouchMove){f.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=Um());return}if(i.touchReleaseOnEdges&&!i.loop){if(r.isVertical()){if(mo.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(ho.startX&&r.translate>=r.minTranslate())return}if(t.activeElement&&f.target===t.activeElement&&f.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}n.allowTouchCallbacks&&r.emit("touchMove",f),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=h,o.currentY=m;const w=o.currentX-o.startX,C=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(w**2+C**2)"u"){let D;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:w*w+C*C>=25&&(D=Math.atan2(Math.abs(C),Math.abs(w))*180/Math.PI,n.isScrolling=r.isHorizontal()?D>i.touchAngle:90-D>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",f),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&f.cancelable&&f.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&f.stopPropagation();let S=r.isHorizontal()?w:C,E=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(S=Math.abs(S)*(s?1:-1),E=Math.abs(E)*(s?1:-1)),o.diff=S,S*=i.touchRatio,s&&(S=-S,E=-E);const A=r.touchesDirection;r.swipeDirection=S>0?"prev":"next",r.touchesDirection=E>0?"prev":"next";const x=r.params.loop&&!i.cssMode,y=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(x&&y&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const D=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(D)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",f)}let _;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&A!==r.touchesDirection&&x&&y&&Math.abs(S)>=1){Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",f),n.isMoved=!0,n.currentTranslate=S+n.startTranslate;let O=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),S>0?(x&&y&&!_&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(O=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+S)**T))):S<0&&(x&&y&&!_&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(S)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function g4e(e){const t=this,r=t.touchEventsData;let n=e;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].filter(T=>T.identifier===r.touchId)[0],!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:s,touches:c,rtlTranslate:f,slidesGrid:d,enabled:h}=t;if(!h||!s.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const m=Um(),w=m-r.touchStartTime;if(t.allowClick){const T=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(T&&T[0]||n.target,T),t.emit("tap click",n),w<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Um(),Gy(()=>{t.destroyed||(t.allowClick=!0)}),!r.isTouched||!r.isMoved||!t.swipeDirection||c.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let C;if(s.followFinger?C=f?t.translate:-t.translate:C=-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:C});return}const S=C>=-t.maxTranslate()&&!t.params.loop;let E=0,A=t.slidesSizesGrid[0];for(let T=0;T=d[T]&&C=d[T])&&(E=T,A=d[d.length-1]-d[d.length-2])}let x=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(x=0));const _=(C-d[E])/A,O=Es.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(_>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?x:E+O):t.slideTo(E)),t.swipeDirection==="prev"&&(_>1-s.longSwipesRatio?t.slideTo(E+O):y!==null&&_<0&&Math.abs(_)>s.longSwipesRatio?t.slideTo(y):t.slideTo(E))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(n.target===t.navigation.nextEl||n.target===t.navigation.prevEl)?n.target===t.navigation.nextEl?t.slideTo(E+O):t.slideTo(E):(t.swipeDirection==="next"&&t.slideTo(x!==null?x:E+O),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:E))}}function ME(){const e=this,{params:t,el:r}=e;if(r&&r.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const c=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!c?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function y4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function w4e(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const o=e.maxTranslate()-e.minTranslate();o===0?i=0:i=(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function x4e(e){const t=this;ah(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function b4e(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const fA=(e,t)=>{const r=ll(),{params:n,el:i,wrapperEl:o,device:s}=e,c=!!n.nested,f=t==="on"?"addEventListener":"removeEventListener",d=t;r[f]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),i[f]("touchstart",e.onTouchStart,{passive:!1}),i[f]("pointerdown",e.onTouchStart,{passive:!1}),r[f]("touchmove",e.onTouchMove,{passive:!1,capture:c}),r[f]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[f]("touchend",e.onTouchEnd,{passive:!0}),r[f]("pointerup",e.onTouchEnd,{passive:!0}),r[f]("pointercancel",e.onTouchEnd,{passive:!0}),r[f]("touchcancel",e.onTouchEnd,{passive:!0}),r[f]("pointerout",e.onTouchEnd,{passive:!0}),r[f]("pointerleave",e.onTouchEnd,{passive:!0}),r[f]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[f]("click",e.onClick,!0),n.cssMode&&o[f]("scroll",e.onScroll),n.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ME,!0):e[d]("observerUpdate",ME,!0),i[f]("load",e.onLoad,{capture:!0})};function C4e(){const e=this,{params:t}=e;e.onTouchStart=m4e.bind(e),e.onTouchMove=v4e.bind(e),e.onTouchEnd=g4e.bind(e),e.onDocumentTouchStart=b4e.bind(e),t.cssMode&&(e.onScroll=w4e.bind(e)),e.onClick=y4e.bind(e),e.onLoad=x4e.bind(e),fA(e,"on")}function E4e(){fA(this,"off")}var _4e={attachEvents:C4e,detachEvents:E4e};const DE=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function k4e(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const f=(s in o?o[s]:void 0)||e.originalParams,d=DE(e,n),h=DE(e,f),m=n.enabled;d&&!h?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&h&&(i.classList.add(`${n.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(x=>{if(typeof f[x]>"u")return;const y=n[x]&&n[x].enabled,_=f[x]&&f[x].enabled;y&&!_&&e[x].disable(),!y&&_&&e[x].enable()});const w=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||w),S=n.loop;w&&r&&e.changeDirection(),rn(e.params,f);const E=e.params.enabled,A=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!E?e.disable():!m&&E&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",f),r&&(C?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!S&&A?(e.loopCreate(t),e.updateSlides()):S&&!A&&e.loopDestroy()),e.emit("breakpoint",f)}function S4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=dn(),o=t==="window"?i.innerHeight:r.clientHeight,s=Object.keys(e).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const f=parseFloat(c.substr(1));return{value:o*f,point:c}}return{value:c,point:c}});s.sort((c,f)=>parseInt(c.value,10)-parseInt(f.value,10));for(let c=0;c{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(t+i)}):typeof n=="string"&&r.push(t+n)}),r}function O4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=A4e(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function I4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var L4e={addClasses:O4e,removeClasses:I4e};function B4e(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const i=e.slides.length-1,o=e.slidesGrid[i]+e.slidesSizesGrid[i]+n*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;r.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),r.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var T4e={checkOverflow:B4e},Ky={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function P4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){rn(t,n);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in o)){rn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),rn(t,n)}}const eg={eventsEmitter:Lve,update:Vve,translate:Gve,transition:Xve,slide:a4e,loop:c4e,grabCursor:p4e,events:_4e,breakpoints:R4e,checkOverflow:T4e,classes:L4e},tg={};let bw=class Ni{constructor(){let t,r;for(var n=arguments.length,i=new Array(n),o=0;o1){const h=[];return s.querySelectorAll(r.el).forEach(m=>{const w=rn({},r,{el:m});h.push(new Ni(w))}),h}const c=this;c.__swiper__=!0,c.support=uA(),c.device=Sve({userAgent:r.userAgent}),c.browser=Ave(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],r.modules&&Array.isArray(r.modules)&&c.modules.push(...r.modules);const f={};c.modules.forEach(h=>{h({params:r,swiper:c,extendParams:P4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=rn({},Ky,f);return c.params=rn({},d,tg,r),c.originalParams=rn({},c.params),c.passedParams=rn({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach(h=>{c.on(h,c.params.on[h])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return c.params.direction==="horizontal"},isVertical(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:r,params:n}=this,i=wi(r,`.${n.slideClass}, swiper-slide`),o=dc(i[0]);return dc(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:r,params:n}=t;t.slides=wi(r,`.${n.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,r){const n=this;t=Math.min(Math.max(t,0),1);const i=n.minTranslate(),s=(n.maxTranslate()-i)*t+i;n.translateTo(s,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=t.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",r.join(" "))}getSlideClasses(t){const r=this;return r.destroyed?"":t.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=[];t.slides.forEach(n=>{const i=t.getSlideClasses(n);r.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)}),t.emit("_slideClasses",r)}slidesPerViewDynamic(t,r){t===void 0&&(t="current"),r===void 0&&(r=!1);const n=this,{params:i,slides:o,slidesGrid:s,slidesSizesGrid:c,size:f,activeIndex:d}=n;let h=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let m=o[d]?o[d].swiperSlideSize:0,w;for(let C=d+1;Cf&&(w=!0));for(let C=d-1;C>=0;C-=1)o[C]&&!w&&(m+=o[C].swiperSlideSize,h+=1,m>f&&(w=!0))}else if(t==="current")for(let m=d+1;m=0;m-=1)s[d]-s[m]{s.complete&&ah(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,c=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){const s=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(s.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,r){r===void 0&&(r=!0);const n=this,i=n.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(t){const r=this;r.rtl&&t==="rtl"||!r.rtl&&t==="ltr"||(r.rtl=t==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(t){const r=this;if(r.mounted)return!0;let n=t||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):wi(n,i())[0])();return!s&&r.params.createElements&&(s=fc("div",r.params.wrapperClass),n.append(s),wi(n,`.${r.params.slideClass}`).forEach(c=>{s.append(c)})),Object.assign(r,{el:n,wrapperEl:s,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Io(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Io(n,"direction")==="rtl"),wrongRTL:Io(s,"display")==="-webkit-box"}),!0}init(t){const r=this;if(r.initialized||r.mount(t)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?ah(r,o):o.addEventListener("load",s=>{ah(r,s.target)})}),Yy(r),r.initialized=!0,Yy(r),r.emit("init"),r.emit("afterInit"),r}destroy(t,r){t===void 0&&(t=!0),r===void 0&&(r=!0);const n=this,{params:i,el:o,wrapperEl:s,slides:c}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),c&&c.length&&c.forEach(f=>{f.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),f.removeAttribute("style"),f.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(f=>{n.off(f)}),t!==!1&&(n.el.swiper=null,mve(n)),n.destroyed=!0),null}static extendDefaults(t){rn(tg,t)}static get extendedDefaults(){return tg}static get defaults(){return Ky}static installModule(t){Ni.prototype.__modules__||(Ni.prototype.__modules__=[]);const r=Ni.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>Ni.installModule(r)),Ni):(Ni.installModule(t),Ni)}};Object.keys(eg).forEach(e=>{Object.keys(eg[e]).forEach(t=>{bw.prototype[t]=eg[e][t]})});bw.use([Ove,Ive]);const dA=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Fa(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ls(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Fa(t[n])&&Fa(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Ls(e[n],t[n]):e[n]=t[n]})}function pA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function hA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function mA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function vA(e){e===void 0&&(e="");const t=e.split(" ").map(n=>n.trim()).filter(n=>!!n),r=[];return t.forEach(n=>{r.indexOf(n)<0&&r.push(n)}),r.join(" ")}function $4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function M4e(e){let{swiper:t,slides:r,passedParams:n,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:c,paginationEl:f}=e;const d=i.filter(H=>H!=="children"&&H!=="direction"&&H!=="wrapperClass"),{params:h,pagination:m,navigation:w,scrollbar:C,virtual:S,thumbs:E}=t;let A,x,y,_,O,T,D,V;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&h.thumbs&&!h.thumbs.swiper&&(A=!0),i.includes("controller")&&n.controller&&n.controller.control&&h.controller&&!h.controller.control&&(x=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||f)&&(h.pagination||h.pagination===!1)&&m&&!m.el&&(y=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(h.scrollbar||h.scrollbar===!1)&&C&&!C.el&&(_=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||o)&&(h.navigation||h.navigation===!1)&&w&&!w.prevEl&&!w.nextEl&&(O=!0);const N=H=>{t[H]&&(t[H].destroy(),H==="navigation"?(t.isElement&&(t[H].prevEl.remove(),t[H].nextEl.remove()),h[H].prevEl=void 0,h[H].nextEl=void 0,t[H].prevEl=void 0,t[H].nextEl=void 0):(t.isElement&&t[H].el.remove(),h[H].el=void 0,t[H].el=void 0))};i.includes("loop")&&t.isElement&&(h.loop&&!n.loop?T=!0:!h.loop&&n.loop?D=!0:V=!0),d.forEach(H=>{if(Fa(h[H])&&Fa(n[H]))Object.assign(h[H],n[H]),(H==="navigation"||H==="pagination"||H==="scrollbar")&&"enabled"in n[H]&&!n[H].enabled&&N(H);else{const W=n[H];(W===!0||W===!1)&&(H==="navigation"||H==="pagination"||H==="scrollbar")?W===!1&&N(H):h[H]=n[H]}}),d.includes("controller")&&!x&&t.controller&&t.controller.control&&h.controller&&h.controller.control&&(t.controller.control=h.controller.control),i.includes("children")&&r&&S&&h.virtual.enabled?(S.slides=r,S.update(!0)):i.includes("virtual")&&S&&h.virtual.enabled&&(r&&(S.slides=r),S.update(!0)),i.includes("children")&&r&&h.loop&&(V=!0),A&&E.init()&&E.update(!0),x&&(t.controller.control=h.controller.control),y&&(t.isElement&&(!f||typeof f=="string")&&(f=document.createElement("div"),f.classList.add("swiper-pagination"),f.part.add("pagination"),t.el.appendChild(f)),f&&(h.pagination.el=f),m.init(),m.render(),m.update()),_&&(t.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-scrollbar"),c.part.add("scrollbar"),t.el.appendChild(c)),c&&(h.scrollbar.el=c),C.init(),C.updateSize(),C.setTranslate()),O&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),o&&(h.navigation.nextEl=o),s&&(h.navigation.prevEl=s),w.init(),w.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),(T||V)&&t.loopDestroy(),(D||V)&&t.loopCreate(),t.update()}function D4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Ls(r,Ky),r._emitClasses=!0,r.init=!1;const o={},s=dA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?Fa(e[f])?(r[f]={},i[f]={},Ls(r[f],e[f]),Ls(i[f],e[f])):(r[f]=e[f],i[f]=e[f]):f.search(/on[A-Z]/)===0&&typeof e[f]=="function"?t?n[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:r.on[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:o[f]=e[f])}),["navigation","pagination","scrollbar"].forEach(f=>{r[f]===!0&&(r[f]={}),r[f]===!1&&delete r[f]}),{params:r,passedParams:i,rest:o,events:n}}function F4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;pA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),hA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),mA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function N4e(e,t,r,n,i){const o=[];if(!t)return o;const s=f=>{o.indexOf(f)<0&&o.push(f)};if(r&&n){const f=n.map(i),d=r.map(i);f.join("")!==d.join("")&&s("children"),n.length!==r.length&&s("children")}return dA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(Fa(e[f])&&Fa(t[f])){const d=Object.keys(e[f]),h=Object.keys(t[f]);d.length!==h.length?s(f):(d.forEach(m=>{e[f][m]!==t[f][m]&&s(f)}),h.forEach(m=>{e[f][m]!==t[f][m]&&s(f)}))}else e[f]!==t[f]&&s(f)}),o}const j4e=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{gA(r)?t.push(r):r.props&&r.props.children&&yA(r.props.children).forEach(n=>t.push(n))}),t}function z4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(gA(n))t.push(n);else if(n.props&&n.props.slot&&r[n.props.slot])r[n.props.slot].push(n);else if(n.props&&n.props.children){const i=yA(n.props.children);i.length>0?i.forEach(o=>t.push(o)):r["container-end"].push(n)}else r["container-end"].push(n)}),{slides:t,slots:r}}function V4e(e,t,r){if(!r)return null;const n=h=>{let m=h;return h<0?m=t.length+h:m>=t.length&&(m=m-t.length),m},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:o,to:s}=r,c=e.params.loop?-t.length:0,f=e.params.loop?t.length*2:t.length,d=[];for(let h=c;h=o&&h<=s&&d.push(t[n(h)]);return d.map((h,m)=>he.cloneElement(h,{swiper:e,style:i,key:`slide-${m}`}))}function Ou(e,t){return typeof window>"u"?v.useEffect(e,t):v.useLayoutEffect(e,t)}const FE=v.createContext(null),W4e=v.createContext(null),wA=v.forwardRef(function(e,t){let{className:r,tag:n="div",wrapperTag:i="div",children:o,onSwiper:s,...c}=e===void 0?{}:e,f=!1;const[d,h]=v.useState("swiper"),[m,w]=v.useState(null),[C,S]=v.useState(!1),E=v.useRef(!1),A=v.useRef(null),x=v.useRef(null),y=v.useRef(null),_=v.useRef(null),O=v.useRef(null),T=v.useRef(null),D=v.useRef(null),V=v.useRef(null),{params:N,passedParams:H,rest:W,events:Z}=D4e(c),{slides:Q,slots:a}=z4e(o),P=()=>{S(!C)};Object.assign(N.on,{_containerClasses(re,ve){h(ve)}});const M=()=>{Object.assign(N.on,Z),f=!0;const re={...N};if(delete re.wrapperClass,x.current=new bw(re),x.current.virtual&&x.current.params.virtual.enabled){x.current.virtual.slides=Q;const ve={cache:!1,slides:Q,renderExternal:w,renderExternalUpdate:!1};Ls(x.current.params.virtual,ve),Ls(x.current.originalParams.virtual,ve)}};A.current||M(),x.current&&x.current.on("_beforeBreakpoint",P);const G=()=>{f||!Z||!x.current||Object.keys(Z).forEach(re=>{x.current.on(re,Z[re])})},ae=()=>{!Z||!x.current||Object.keys(Z).forEach(re=>{x.current.off(re,Z[re])})};v.useEffect(()=>()=>{x.current&&x.current.off("_beforeBreakpoint",P)}),v.useEffect(()=>{!E.current&&x.current&&(x.current.emitSlidesClasses(),E.current=!0)}),Ou(()=>{if(t&&(t.current=A.current),!!A.current)return x.current.destroyed&&M(),F4e({el:A.current,nextEl:O.current,prevEl:T.current,paginationEl:D.current,scrollbarEl:V.current,swiper:x.current},N),s&&s(x.current),()=>{x.current&&!x.current.destroyed&&x.current.destroy(!0,!1)}},[]),Ou(()=>{G();const re=N4e(H,y.current,Q,_.current,ve=>ve.key);return y.current=H,_.current=Q,re.length&&x.current&&!x.current.destroyed&&M4e({swiper:x.current,slides:Q,passedParams:H,changedParams:re,nextEl:O.current,prevEl:T.current,scrollbarEl:V.current,paginationEl:D.current}),()=>{ae()}}),Ou(()=>{j4e(x.current)},[m]);function Y(){return N.virtual?V4e(x.current,Q,m):Q.map((re,ve)=>he.cloneElement(re,{swiper:x.current,swiperSlideIndex:ve}))}return he.createElement(n,Zm({ref:A,className:vA(`${d}${r?` ${r}`:""}`)},W),he.createElement(W4e.Provider,{value:x.current},a["container-start"],he.createElement(i,{className:$4e(N.wrapperClass)},a["wrapper-start"],Y(),a["wrapper-end"]),pA(N)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:T,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),mA(N)&&he.createElement("div",{ref:V,className:"swiper-scrollbar"}),hA(N)&&he.createElement("div",{ref:D,className:"swiper-pagination"}),a["container-end"]))});wA.displayName="Swiper";const xA=v.forwardRef(function(e,t){let{tag:r="div",children:n,className:i="",swiper:o,zoom:s,lazy:c,virtualIndex:f,swiperSlideIndex:d,...h}=e===void 0?{}:e;const m=v.useRef(null),[w,C]=v.useState("swiper-slide"),[S,E]=v.useState(!1);function A(O,T,D){T===m.current&&C(D)}Ou(()=>{if(typeof d<"u"&&(m.current.swiperSlideIndex=d),t&&(t.current=m.current),!(!m.current||!o)){if(o.destroyed){w!=="swiper-slide"&&C("swiper-slide");return}return o.on("_slideClass",A),()=>{o&&o.off("_slideClass",A)}}}),Ou(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const x={isActive:w.indexOf("swiper-slide-active")>=0,isVisible:w.indexOf("swiper-slide-visible")>=0,isPrev:w.indexOf("swiper-slide-prev")>=0,isNext:w.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(x):n,_=()=>{E(!0)};return he.createElement(r,Zm({ref:m,className:vA(`${w}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:_},h),s&&he.createElement(FE.Provider,{value:x},he.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&he.createElement(FE.Provider,{value:x},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});xA.displayName="SwiperSlide";const H4e=({children:e})=>{const t=rA(),r=U3e(),n=v.useRef();return q("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[b("button",{className:Me("left-0 z-10 hidden h-14 w-14 flex-row items-center justify-center rounded-full bg-black md:flex"),style:{position:"absolute"},onClick:()=>{var i;return(i=n.current)==null?void 0:i.slidePrev()},children:b(He.EoLeftArrowIcon,{})}),b("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:b(wA,{slidesPerGroup:r?3:1,loop:!0,modules:[bve,Cve,Eve],slidesPerView:r?3:1,onBeforeInit:i=>{n.current=i},pagination:{enabled:t,clickable:!0,bulletClass:"swiper-pagination-bullet bg-black h-3 w-3"},navigation:{enabled:r},children:e.map((i,o)=>b(v.Fragment,{children:b(xA,{children:b("div",{className:"mb-12",children:i})})},`${o}`))})}),b("button",{className:Me("right-0 z-10 flex h-14 w-14 flex-row items-center justify-center rounded-full bg-black",t&&"hidden"),onClick:()=>{var i;return(i=n.current)==null?void 0:i.slideNext()},style:{position:"absolute"},children:b(He.EoRightArrowIcon,{})})]})},sh=v;function U4e({title:e,titleId:t,...r},n){return sh.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?sh.createElement("title",{id:t},e):null,sh.createElement("path",{fillRule:"evenodd",d:"M3.75 12a.75.75 0 01.75-.75h15a.75.75 0 010 1.5h-15a.75.75 0 01-.75-.75z",clipRule:"evenodd"}))}const q4e=sh.forwardRef(U4e);var Z4e=q4e;const lh=v;function G4e({title:e,titleId:t,...r},n){return lh.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?lh.createElement("title",{id:t},e):null,lh.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 01.75.75v6.75h6.75a.75.75 0 010 1.5h-6.75v6.75a.75.75 0 01-1.5 0v-6.75H4.5a.75.75 0 010-1.5h6.75V4.5a.75.75 0 01.75-.75z",clipRule:"evenodd"}))}const Q4e=lh.forwardRef(G4e);var Y4e=Q4e,K4e=Z4e,X4e=Y4e;const J4e=({active:e=!1,children:t,title:r})=>{const[n,i]=v.useState(e);return q("div",{children:[q("div",{className:"flex cursor-pointer flex-row items-center justify-between gap-4 md:items-start",onClick:()=>i(o=>!o),children:[typeof r=="string"?b(le,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,b("div",{children:n?b(K4e,{className:"h-8 w-8"}):b(X4e,{className:"h-8 w-8"})})]}),q("div",{className:Me("mt-4 flex w-full flex-row overflow-hidden",n?"h-auto":"h-0"),style:{transition:"0,4s ease-out",willChange:"width height"},children:[b("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},ege=[{step:1,title:"Profile & subscribe",content:"In 5-10 minutes, you can share the key information our clinical team needs to create your initial plan.",icon:He.ProfileIconWhite},{step:2,title:"Get your care plan",content:"In under 24 hours, you’ll receive an email with a link to your personalized, clinician-approved care plan.",icon:He.HandHeartWhite},{step:3,title:"Get your products",content:"You can purchase your products at a local dispensary. Our team will provide details on how to get reimbursed.",icon:He.PillsWhite},{step:4,title:"Provide feedback",content:"As you sample your recommended products, doses and times of use, we’ll check in via text/email and ask you to complete brief, periodic surveys.",icon:He.FeedBackWhite},{step:5,title:"Get refined plans",content:"Early on, we’ll provide updated plans every 3-7 days based on your inputs. We’ll then regularly tune your plan for efficacy, safety and affordability.",icon:He.CalendarChecked},{step:6,title:"Be supported",content:"You can text our clinical team anytime as needs or questions arise - as often as you like. We’ll respond in under 24 hours and usually within minutes.",icon:He.SupportIconWhite}],tge=[{title:"How much does eo cost?",content:"Your care is completely free. And we’ll reimburse you for the cost of your products. Just send a picture of your receipt to support@eo.care each time you make a purchase and we’ll provide you with an Amazon gift card in an equal amount."},{title:"Do I order the products that are included in my care plan or do you do it for me?",content:"After you’ve approved them, we’ll order your products for you and let you know when they’re ready for pick-up - and how much they cost."},{title:"What should I bring with me when I pick-up my products?",content:"Bring your valid medical card, a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"What if I don’t yet have a physical medical card?",content:"Your care team can provide you with a valid state patient ID number to provide when you purchase and pick-up your products."},{title:"How long should it take my clinical and member services teams to respond to a message, email or phone question/ inquiry?",content:"No more than 24 hours and typically within 2-3 hours."},{title:"Why can’t I see my initial care plan as soon as I submit my profile information?",content:"Every profile submitted and piece of feedback provided is initially assessed by our proprietary data model and a draft care plan or care plan update is created. That plan is then closely reviewed and edited as needed by a licensed eo clinician. This can take as long as 24 hours or this can take as little as an hour, depending on the complexity of your profile, your care plan and clinician availability."},{title:"How do you decide which products, doses and times of use are most right for me?",content:q(xi,{children:["The eo data model and your clinical team base all recommendations on relevant aspects of your medical history, cannabis use history, your daily schedule and the feedback you provide as you use your care plan.",b("br",{}),b("br",{}),"The model and your team also considers the profiles, experiences and feedback provided by other eo patients like you and the recommendations of our proprietary data model. And your clinical team (of course) always draws upon their extensive cannabis treatment and research experience to provide the best possible care for you."]})},{title:"What happens if I miss a use session entirely?",content:"Just begin the next session as scheduled!"},{title:"What happens if I’m late starting a use session?",content:"If you’re less than 30 minutes late, go ahead and begin the session (also be sure to begin the next session at the originally scheduled time). If you’re more than 30 minutes late just wait for the next session to begin."},{title:"What happens if I miss an opportunity to provide feedback?",content:"Needless to say, the more feedback you provide, the better we can care for you. However, we know sometimes schedules change and life happens. If you can’t provide feedback when prompted, don’t worry. Just keep going as guided."},{title:"How long should it take to get my cannabis regimen “right”?",content:q(xi,{children:["Everyone is different when it comes to the time it takes to reach satisfaction with a care plan. For some, all it takes is a few days or a week or two. For others, it can take longer.",b("br",{}),b("br",{}),"It’s important to note, however, that very few people retain a static relationship to cannabis for long periods of time. Products, doses and times of use typically change as your reasons for use, symptoms, cannabis tolerance, body and daily schedule evolves.",b("br",{}),b("br",{}),"As your feedback and needs change, we’ll be with you to alter and optimize your care plan, guide your care and answer your questions."]})},{title:"Can I use a different dispensary or delivery provider than the one you’ve recommended?",content:"The answer is an honest “maybe”. If you’d like to make a change just email us at support@eo.care or call 877-707-0706. We’ll do everything we can to accommodate your request."},{title:"What happens if I run out of a particular product?",content:"No problem. Just email us at support@eo.care or call 877-707-0706. We’ll update your care plan in the very near term to accommodate the absence of that product if/as appropriate and coordinate the ordering of the needed product or a responsible replacement."}];function rge(){return q("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-0 lg:pl-5",children:[q("section",{children:[b(He.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),q(le,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",b("br",{className:"hidden md:block"}),"cannabis company."]}),b(le,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),b("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),q("section",{className:"flex flex-row justify-between",children:[q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),b("a",{href:"https://eo.care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Home"}),b("a",{href:"https://eo.care/web/cancer",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Cancer Care"}),b("a",{href:"https://eo.care/web/seniors",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Seniors"}),b("a",{href:"https://eo.care/web/seniors",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"For Employers"}),b("a",{href:"https://eocare.myshopify.com/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Shop CBD"}),b("a",{href:"https://eo.care/web/about",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"About"}),b("a",{href:"https://eo.care/web/faqs",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"FAQs"}),b("a",{href:"https://eo.care/blog-posts",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Blog"}),b("a",{href:"https://eo.care/blog-posts",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Methodology"}),b("a",{href:"https://eo.care/web/home",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Research"}),b("a",{href:"https://www.eo.care/web/terms-of-use",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Terms of Use"}),b("a",{href:"https://www.eo.care/web/privacy-policy",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Privacy Policy"})]}),q("div",{className:"flex flex-col md:flex-row",children:[q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),b(le,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),b("a",{href:"mailto:hello@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"hello@eo.care"}),b(le,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),b("a",{href:"mailto:press@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"press@eo.care"}),b(le,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),b("a",{href:"mailto:careers@eo.care",className:"mb-2 pb-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mr-2",children:"careers@eo.care"})]}),q("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[b(le,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),b("a",{href:"https://www.linkedin.com/company/eo-cannnabis-care",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"LinkedIn"}),b("a",{href:"https://twitter.com/eocare_",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Twitter"}),b("a",{href:"https://www.instagram.com/eo.care_/",className:"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",children:"Instagram"})]})]})]})]})}const nge=()=>{const[e]=cn(),{account:t,introQuestionSubmissionId:r,channel:n}=sl(h=>h),i=e.get("submission_id")||"",o=$t();i||o(Se.userRolSelector);const{postCancerFormSubmission:s,postSeniorFormSubmission:c}=ti(),{mutate:f}=Tn({mutationFn:n==="cancer"?s:c,mutationKey:["postCancerSeniorFormSubmission",i],onError:h=>{var m;Ri.isAxiosError(h)?((m=h.response)==null?void 0:m.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>f({name:t.firstName,last_name:t.lastName,email:t.email,password:t.password,phone_number:t.phoneNumber,profiling_submission_id:i,intro_submission_id:r,agree_receive_notifications:t.agreeReceiveNotifications,agree_terms_and_conditions:t.agreeTermsAndConditions,channel:n})),q(dt,{children:[q("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px]",children:[b(le,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px]",children:["You’ll be able to review your initial, personalized, clinician-approved",b("br",{})," care plan within 24 hours. When your care plan is ready, we will send you an email",b("br",{})," with a link to"," ",b("span",{className:"cursor-pointer underline",onClick:()=>{window.location.href=H3e},children:"log into your account."}),b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call",b("br",{}),b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]}),q("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[b(le,{font:"bold",variant:"large",className:"mb-20 text-center",children:"How eo care plans work"}),b(H4e,{children:ege.map(({title:h,content:m,step:w,icon:C})=>q("article",{className:"mx-auto my-0 flex h-auto w-auto max-w-[361px] flex-col items-center justify-center gap-2 md:flex-none md:items-start",children:[b("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:b(C,{className:"h-9 w-[37px]"})}),q(le,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:["STEP ",w]}),b(le,{font:"bold",className:"text-xl",children:h}),b(le,{className:"text-center text-lg md:text-left",children:m})]},w))})]}),b("section",{className:"px-6 py-12 md:mx-0 md:my-[100px]",children:q("div",{className:"mx-auto my-0 flex max-w-[900px] flex-col",children:[b(le,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),b("div",{className:"flex flex-col gap-6",children:tge.map(({title:h,content:m})=>b(J4e,{title:h,active:!1,children:b(le,{className:"text-[18px] leading-[26px] text-gray-800",children:m})},h))})]})}),b("section",{className:"hidden w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]",children:q("div",{className:"flex flex-col items-center",children:[b(le,{font:"bold",className:"mb-4 text-center text-[32px] leading-[40px] text-skun",children:"eo in your inbox"}),b(le,{className:"text-center text-skun-mid",children:"Rollouts in new markets, new partnerships, research initiatives and special offers are all coming soon."}),q("div",{className:"mt-[30px] flex w-full flex-col justify-items-end gap-4 md:w-auto md:flex-row",children:[b("input",{className:"h-[49px] w-full rounded-[40px] border border-solid border-black bg-white py-3 pl-4 pr-2 text-black placeholder:text-gray-300 md:w-[327px]",placeholder:"Enter your email..."}),b(gt,{variant:"black",font:"semiBold",children:"Subscribe"})]})]})}),b(rge,{})]})},ige=ct.object({password:ct.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:ct.string().min(8,{message:"This field is required."}),token:ct.string().min(1,"Token is required")}),oge=()=>{var h,m;const{resetPassword:e}=ti(),[t,r]=v.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Xs({resolver:Js(ige)}),c=$t(),[f]=cn(),{mutate:d}=Tn({mutationFn:e,onSuccess:()=>{Ne.success("Your password has been reset. Sign in with your new password."),c(Se.login)},onError:w=>{var C;Ri.isAxiosError(w)?((C=w.response)==null?void 0:C.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return v.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(Se.login)},[c,f,s]),b(dt,{children:q("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Reset your password"}),q("form",{className:"mt-10 flex flex-col ",onSubmit:w=>{o(C=>{d(C)})(w)},children:[b(kr,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?b(He.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}):b(He.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}),className:"h-12 shadow-md",type:t?"text":"password",...i("password"),error:(h=n.password)==null?void 0:h.message}),b(kr,{id:"password_confirmation",label:"Password confirmation",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:"password",...i("password_confirmation"),error:(m=n.password_confirmation)==null?void 0:m.message}),q(le,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",b("br",{})," a capital letter, number, and special character"]}),b(gt,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},age=ct.object({first_name:ct.string().min(2,"The first name must be present"),last_name:ct.string().min(2,"The last name must be present"),email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:ct.string().min(8,{message:"The password must has 8 characters."}).regex(/(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])/,"The password must have at least one uppercase letter, one lowercase letter, one number"),password_confirmation:ct.string().min(8,{message:"This field is required."}),agree_terms_and_conditions:ct.boolean({required_error:"You must agree to the terms and conditions"})}).refine(e=>e.password===e.password_confirmation,{message:"Passwords don't match",path:["password_confirmation"]}).refine(e=>!!e.agree_terms_and_conditions,{message:"You must agree to the terms and conditions",path:["agree_terms_and_conditions"]}),sge=()=>{var d,h,m,w,C,S;const e=$t(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Xs({resolver:Js(age)}),{mutate:s}=Tn({mutationFn:ove,onError:E=>{var A,x,y,_,O;if(Ri.isAxiosError(E)){const T=(A=E.response)==null?void 0:A.data;(x=T.errors)!=null&&x.email&&o("email",{message:((y=T.errors.email.pop())==null?void 0:y.message)||""}),(_=T.errors)!=null&&_.password&&o("password",{message:((O=T.errors.password.pop())==null?void 0:O.message)||""})}else Ne.error("Something went wrong. Please try again later.")},onSuccess:({data:E})=>{typeof E=="string"&&e(Se.registrationComplete,{state:{email:i("email")}})}}),[c,f]=v.useState(!1);return b(dt,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[q("div",{children:[b(le,{variant:"large",font:"bold",children:"Start here."}),q("form",{className:"mt-10",onSubmit:E=>{n(A=>{s(A)})(E)},children:[q("div",{className:"flex flex-col gap-0 md:flex-row md:gap-2",children:[b(kr,{id:"firstName",label:"First name",type:"text",className:"h-12 shadow-md",...r("first_name"),error:(d=t.first_name)==null?void 0:d.message}),b(kr,{id:"lastName",label:"Last name",type:"text",className:"h-12 shadow-md",...r("last_name"),error:(h=t.last_name)==null?void 0:h.message})]}),b(kr,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),b(kr,{id:"password",label:"Password",right:c?b(He.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}):b(He.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}),className:"h-12 shadow-md",type:c?"text":"password",...r("password"),error:(w=t.password)==null?void 0:w.message}),b(kr,{id:"password_confirmation",label:"Password confirmation",className:"h-12 shadow-md",type:"password",...r("password_confirmation"),error:(C=t.password_confirmation)==null?void 0:C.message}),q(le,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",b("br",{})," a capital letter, number, and special character"]}),b(zy,{id:"agree_terms_and_conditions",...r("agree_terms_and_conditions"),error:(S=t.agree_terms_and_conditions)==null?void 0:S.message,containerClassName:"mt-2",label:q(le,{variant:"small",font:"regular",children:["I have read and agree to the"," ",q("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"underline",children:["Terms of ",b("br",{className:"block md:hidden lg:block"}),"Service"]}),", and"," ",q("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"underline",children:["Privacy Policy"," "]})," ","of eo."]})}),b(gt,{type:"submit",className:"mt-3",children:"Create account"}),q(le,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",b(Mh,{to:Se.login,children:b("strong",{children:"Sign in"})})]})]})]}),b("div",{className:"hidden md:block",children:b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})},lge=()=>{const t=Qo().state,r=$t(),{mutate:n}=Tn({mutationFn:nA,onSuccess:({data:i})=>{i?Ne.success("Email has been send."):Ne.error("Email hasn't been send")}});return v.useEffect(()=>{t!=null&&t.email||r(Se.login)},[r,t]),b(dt,{children:q("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",b("br",{})," Please verify to continue."]}),b("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/644197b05bf126412b8799c4_woman-sat.svg",alt:"Images showing women sat in a sofa, viewing her phone"}),b(gt,{className:"mt-10",onClick:()=>n(t.email),left:b(He.EnvelopeIcon,{}),children:"Resend verification"})]})})},uge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=sl(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=$t(),d=LE;return e||f(Se.userRolSelector),Yo(()=>{setTimeout(()=>{Ko(d)},400)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${d}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${d}?${c.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},cge=()=>{const[e]=cn(),t=e.get("email")||"",r=e.get("symptoms")||"",n=new URLSearchParams({email:t,symptoms:r});return v.useEffect(()=>{Ko(Q4)},[]),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${Q4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${Q4}?${n.toString()}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},NE=()=>{const[e]=cn(),t=e.get("submission_id")||"",r=$t();t||r("/");const{postSeniorSurveyFormSubmission:n}=ti(),{mutate:i}=Tn({mutationFn:n,mutationKey:["postSeniorSurveyFormSubmission",t],onError:o=>{var s;Ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&Ne.error("Something went wrong"):Ne.error("Something went wrong")}});return Yo(()=>i({submission_id:t})),b(dt,{children:q("div",{className:"flex h-full flex-col items-center justify-center px-[20%]",children:[b(le,{variant:"large",className:"font-nunito text-[45px] font-bold leading-[55px]",children:"All done!"}),b("br",{}),q(le,{variant:"base",font:"regular",className:"text-center font-nunito text-[28px] font-light leading-[40px]",children:["We receive your feedback! ",b("br",{}),b("br",{}),"Thank you! ",b("br",{}),b("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",b("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or schedule a free consultation."]})]})})},fge=()=>{const e=Qo(),t=$t(),{zip:r}=e.state;return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(le,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this eo offering is not currently"," ",b("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",b("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),q("div",{className:"mt-10 flex flex-row justify-center",children:[b(gt,{className:"text-center",onClick:()=>t(Se.zipCodeValidation),children:"Back"}),b(gt,{variant:"secondary",onClick:()=>t(Se.home),className:"ml-4",children:"Continue"})]})]})})},dge=()=>{const e=$t(),[t]=cn(),[r,n]=v.useState(null),i=t.get("origin")??"localhost:5173",{setChannel:o,setType:s,setSymptoms:c,setUsePayment:f,resetProfilingStore:d,setOrigin:h}=sl(w=>w),m=w=>{const C=t.get("channel"),S=t.get("symptoms")??"";h(i),c(S.split(",")),o(C),s(w),e(Se.introQuestions)};return Yo(()=>{d();const w=t.get("p")??"yes";window.data.isPartnerSite(i)||w==="no"?f(!1):f(!0)}),b(dt,{children:b("div",{className:"flex h-full w-full items-center justify-center bg-opacity-50 ",children:q("div",{className:"relative w-3/4 rounded-md bg-white shadow-2xl md:w-[742px]",children:[q("div",{className:"px-7 py-7",children:[q(le,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",b("span",{className:"text-red-600",children:"*"})]}),q("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[q("button",{className:Me("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",r==="Patient"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>n("Patient"),children:[q("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[b("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),b("circle",{cx:"12",cy:"12",r:"9",fill:r==="Patient"?"#5AADFD":"none",stroke:r==="Patient"?"white":"none",strokeWidth:1.5})]}),"I’m a patient"]}),q("button",{className:Me("flex h-12 items-center justify-start gap-2 rounded border border-solid border-gray-800 px-[15px] py-[9px] font-nunito text-gray-800 lg:w-1/2",r==="Caregiver"&&"border-[#5AADFD] bg-[#5AADFD] bg-opacity-20"),onClick:()=>n("Caregiver"),children:[q("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[b("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),b("circle",{cx:"12",cy:"12",r:"9",fill:r==="Caregiver"?"#5AADFD":"none",stroke:r==="Caregiver"?"white":"none",strokeWidth:1.5})]}),"I’m a caregiver"]})]})]}),q("section",{className:"flex h-[53px] items-center justify-between rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[b(gt,{className:"click:border-0 focus:ring-outline-0 rounded-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:()=>{window.data.isMarketingSite(i)?window.location.href=`https://${window.location.host}/pilot#how-eo-care-plans-works`:window.data.isPartnerSite(i)?window.location.href=`https://${window.location.host}/cancer-pilot#how-eo-care-plans-works`:history.back()},left:b(He.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:b("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),b(gt,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:b(He.RightArrow,{className:"h-6 w-6"}),onClick:()=>m(r),children:"NEXT"}),b(gt,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:b(He.RightArrow,{className:"h-6 w-6"}),onClick:()=>m(r)})]})]})})})},bA=e=>{const t=()=>{const n=document.createElement("script");return n.type="text/javascript",n.textContent=`Zuko.trackForm({slug:'${e}'}).trackEvent(Zuko.COMPLETION_EVENT);`,setTimeout(()=>{document.body.appendChild(n)},2e3),()=>{setTimeout(()=>{document.body.removeChild(n)},2e3)}},r=()=>{const n=document.createElement("script");return n.type="text/javascript",n.textContent=`Zuko.trackForm({target:document.body,slug:"${e}"}).trackEvent(Zuko.FORM_VIEW_EVENT);`,setTimeout(()=>{document.body.appendChild(n)},2e3),()=>{setTimeout(()=>{document.body.removeChild(n)},2e3)}};return v.useEffect(()=>{const n=document.createElement("script");return n.type="text/javascript",n.async=!0,n.src="https://assets.zuko.io/js/v2/client.min.js",document.body.appendChild(n),()=>{document.body.removeChild(n)}},[]),{triggerCompletionEvent:t,triggerViewEvent:r}},pge=ct.object({zip_code:ct.string().min(5,{message:"Zip code is invalid"}).max(5,{message:"Zip code is invalid"})}),hge=()=>{var h;const{validateZipCode:e}=ti(),{triggerViewEvent:t}=bA(tA);v.useEffect(t,[t]);const r=$t(),n=jo(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Xs({resolver:Js(pge)}),{mutate:d}=Tn({mutationFn:e,onSuccess:()=>{n(f("zip_code")),r(Se.eligibleProfile)},onError:m=>{var w,C;Ri.isAxiosError(m)?((w=m.response)==null?void 0:w.status)===400?(n(f("zip_code")),r(Se.unavailableZipCode,{state:{zip:f("zip_code")}})):((C=m.response)==null?void 0:C.status)===422&&c("zip_code",{message:"Zip code is invalid"}):Ne.error("Something went wrong")}});return b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[b(le,{variant:"large",font:"bold",className:"text-center",children:"First, let’s check our availability in your area."}),q("form",{className:"mt-10 flex flex-col items-center justify-center",onSubmit:m=>{s(w=>{d(w.zip_code)})(m)},children:[b(kr,{id:"zip_code",label:"Zip Code",type:"number",className:"h-12 shadow-md",...o("zip_code"),error:(h=i.zip_code)==null?void 0:h.message}),b(gt,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},mge=()=>(v.useEffect(()=>{Ko(q4)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${q4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${q4}?isuser=Yes`,className:"h-full w-full"})})})),vge=()=>{const e=$t(),[t,r]=v.useState(!1),{combineProfileOne:n}=ti(),[i]=cn();i.get("submission_id")||e(Se.login);const{mutate:o}=Tn({mutationFn:n,onSuccess:()=>{setTimeout(()=>{e(Se.prePlan)},5e3)},onError:()=>{r(!1)}});return v.useEffect(()=>{t||r(s=>(s||o(i.get("submission_id")||""),!0))},[o,i,t]),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[b(le,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),b(gt,{type:"button",className:"mt-10",onClick:()=>e(Se.prePlan),children:"Continue!"})]})})},gge=()=>(v.useEffect(()=>{Ko(Z4)}),b(dt,{children:b("div",{className:"mb-10 flex h-screen flex-col",children:b("iframe",{id:`JotFormIFrame-${Z4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${Z4}`,className:"h-full w-full"})})})),yge=()=>{const e=$t(),[t,r]=v.useState(!1),{combineProfileOne:n}=ti(),[i]=cn(),{triggerCompletionEvent:o}=bA(tA);i.get("submission_id")||e(Se.login);const{mutate:s}=Tn({mutationFn:n,onSuccess:()=>{r(!0),setTimeout(()=>{e(Se.profilingTwo)},5e3)}});return v.useEffect(o,[o]),v.useEffect(()=>{t||s(i.get("submission_id")||"")},[s,i,t]),b(dt,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[q(le,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",b("br",{}),b("br",{})," In a few minutes we will send you by email."," ",b("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),b(gt,{type:"button",className:"mt-10",onClick:()=>e(Se.home),children:"Go home"})]})})},wge=()=>q(wN,{children:[q(rt,{element:b(C4,{expected:"loggedOut"}),children:[b(rt,{element:b(sve,{}),path:Se.login}),b(rt,{element:b(sge,{}),path:Se.register}),b(rt,{element:b(lge,{}),path:Se.registrationComplete}),b(rt,{element:b(rve,{}),path:Se.forgotPassword}),b(rt,{element:b(oge,{}),path:Se.recoveryPassword}),b(rt,{element:b(fve,{}),path:Se.prePlanV2})]}),q(rt,{element:b(C4,{expected:"withZipCode"}),children:[b(rt,{element:b(nve,{}),path:Se.home}),b(rt,{element:b(fge,{}),path:Se.unavailableZipCode}),b(rt,{element:b(J3e,{}),path:Se.eligibleProfile}),b(rt,{element:b(mge,{}),path:Se.profilingOne}),b(rt,{element:b(vge,{}),path:Se.profilingOneRedirect}),b(rt,{element:b(gge,{}),path:Se.profilingTwo}),b(rt,{element:b(yge,{}),path:Se.profilingTwoRedirect}),b(rt,{element:b(cve,{}),path:Se.prePlan})]}),b(rt,{element:b(C4,{expected:["withoutZipCode","withZipCode"]}),children:b(rt,{element:b(hge,{}),path:Se.zipCodeValidation})}),b(rt,{element:b(eve,{}),path:Se.emailVerification}),b(rt,{element:b(dge,{}),path:Se.userRolSelector}),b(rt,{element:b(dve,{}),path:Se.introQuestions}),b(rt,{element:b(G3e,{}),path:Se.accountSetup}),b(rt,{element:b(nge,{}),path:Se.profilingThankYou}),b(rt,{element:b(K3e,{}),path:Se.cancerForm}),b(rt,{element:b(X3e,{}),path:Se.cancerSurvey}),b(rt,{element:b(NE,{}),path:Se.cancerSurveyThankYou}),b(rt,{element:b(Q3e,{}),path:Se.athleteSurvey}),b(rt,{element:b(Y3e,{}),path:Se.athleteSurveyThankYou}),b(rt,{element:b(uge,{}),path:Se.seniorForm}),b(rt,{element:b(cge,{}),path:Se.seniorSurvey}),b(rt,{element:b(NE,{}),path:Se.seniorSurveyThankYou})]});const xge=new WN;function bge(){return q(nj,{client:xge,children:[b(wge,{}),b(a7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Pz.VITE_APP_ENV==="local"&&b(gj,{initialIsOpen:!1})]})}rg.createRoot(document.getElementById("root")).render(b(he.StrictMode,{children:b(kN,{children:b(bge,{})})})); diff --git a/apps/eo_web/dist/manifest.json b/apps/eo_web/dist/manifest.json index 3fcc6895..e706197e 100644 --- a/apps/eo_web/dist/manifest.json +++ b/apps/eo_web/dist/manifest.json @@ -18,7 +18,7 @@ "css": [ "assets/main-47be9e44.css" ], - "file": "assets/main-090c84e2.js", + "file": "assets/main-bcfa5b28.js", "isEntry": true, "src": "src/main.tsx" } diff --git a/apps/eo_web/src/copy/copy.tsx b/apps/eo_web/src/copy/copy.tsx index b8b7338c..c7a6fcab 100644 --- a/apps/eo_web/src/copy/copy.tsx +++ b/apps/eo_web/src/copy/copy.tsx @@ -30,7 +30,7 @@ export const CarrouselItems = [ step: 3, title: "Get your products", content: - "You can purchase your products at a local dispensary. Our team will provide details on how to be reimbursed for all purchases.", + "You can purchase your products at a local dispensary. Our team will provide details on how to get reimbursed.", icon: icons.PillsWhite, }, {