From c16c265828df25ea351fd127ae59d9984ed83e08 Mon Sep 17 00:00:00 2001 From: sgoycoechea-lightit Date: Thu, 18 Jan 2024 09:39:56 -0300 Subject: [PATCH] fix: faqs and caroussel copys --- .../assets/{main-3154b476.js => main-99f2c421.js} | 2 +- apps/eo_web/dist/manifest.json | 2 +- apps/eo_web/src/components/HowEOWorks.tsx | 2 +- apps/eo_web/src/copy/copy.tsx | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) rename apps/eo_web/dist/assets/{main-3154b476.js => main-99f2c421.js} (83%) diff --git a/apps/eo_web/dist/assets/main-3154b476.js b/apps/eo_web/dist/assets/main-99f2c421.js similarity index 83% rename from apps/eo_web/dist/assets/main-3154b476.js rename to apps/eo_web/dist/assets/main-99f2c421.js index 9bd99d1a..b57250da 100644 --- a/apps/eo_web/dist/assets/main-3154b476.js +++ b/apps/eo_web/dist/assets/main-99f2c421.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:[x("input",{ref:f,...h(),className:"w-full",...c,disabled:r}),t||q("div",{className:"flex flex-col justify-center items-center",children:[x("img",{src:Yhe,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:[x("span",{className:"relative cursor-pointer rounded-md bg-white font-semibold text-neutrals-medium-400",children:"Click to upload"}),x("p",{className:"pl-1",children:"or drag and drop"})]}),x("div",{className:"text-xs leading-5 text-neutrals-medium-400",children:"PNG, JPG or GIF image."})]})]}),r&&x(wR,{})]}),!i&&x(_c,{message:s,error:o})]})});Khe.displayName="Dropzone";const y3=({label:e,containerClassName:t,className:r,...n})=>x("div",{className:De("flex",t),children:typeof e!="string"?e:x("label",{...n,className:De("m-0 mr-3 text-sm font-medium leading-6 text-neutrals-dark-500",r),children:e})}),_r=Xs(({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:De("relative",r),children:[!!o&&x(y3,{htmlFor:i,className:"",label:o}),q("div",{className:De("flex flex-row items-center rounded-md",!!C.disabled&&"opacity-30"),children:[(!!s||w==="password")&&x("div",{className:"pointer-events-none pl-3",style:{position:"absolute"},children:x(Bm,{size:"sm",children:s||x(Ne.LockIcon,{className:De("h-32 w-32 cursor-pointer fill-gray-800 stroke-gray-800 stroke-[.2px]",!!n&&"fill-red-500 stroke-red-500"),onClick:()=>A(b=>!b)})})}),x("input",{ref:S,type:w==="password"&&E?"text":w,id:i,...C,className:De("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")&&x(Bm,{size:"sm",className:De("right-0 flex flex-row items-center justify-center",`w-[${h}px]`,f?"pointer-events-none":""),style:{position:"absolute"},children:d||(E?x(Ne.ClosedEye,{className:De("h-5 w-5 cursor-pointer fill-gray-800 stroke-[.2px] text-gray-800",!!n&&"fill-red-500 stroke-red-500"),onClick:()=>A(b=>!b)}):x(Ne.EyeIcon,{className:De("h-5 w-5 cursor-pointer stroke-1 text-gray-800",!!n&&"stroke-red-500"),onClick:()=>A(b=>!b)}))})]}),!t&&x(_c,{message:c,error:n})]})});Xs(({label:e,id:t,className:r,...n},i)=>q("div",{className:"flex items-center",children:[x("input",{ref:i,id:t,type:"radio",value:t,className:De("h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600",r),...n}),x("label",{htmlFor:t,className:"ml-3 block text-sm font-medium leading-6 text-gray-900",children:e})]}));const Xhe=new Set,Kr=new WeakMap,As=new WeakMap,$a=new WeakMap,zy=new WeakMap,Nm=new WeakMap,jm=new WeakMap,Jhe=new WeakSet;let Ma;const Ui="__aa_tgt",Wy="__aa_del",eme=e=>{const t=ome(e);t&&t.forEach(r=>ame(r))},tme=e=>{e.forEach(t=>{t.target===Ma&&nme(),Kr.has(t.target)&&kc(t.target)})};function rme(e){const t=zy.get(e);t==null||t.disconnect();let r=Kr.get(e),n=0;const i=5;r||(r=Ws(e),Kr.set(e,r));const{offsetWidth:o,offsetHeight:s}=Ma,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&&kc(e)},{root:Ma,threshold:1,rootMargin:f});d.observe(e),zy.set(e,d)}function kc(e){clearTimeout(jm.get(e));const t=w3(e),r=typeof t=="function"?500:t.duration;jm.set(e,setTimeout(async()=>{const n=$a.get(e);try{await(n==null?void 0:n.finished),Kr.set(e,Ws(e)),rme(e)}catch{}},r))}function nme(){clearTimeout(jm.get(Ma)),jm.set(Ma,setTimeout(()=>{Xhe.forEach(e=>sme(e,t=>ime(()=>kc(t))))},100))}function ime(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let bE;typeof window<"u"&&(Ma=document.documentElement,new MutationObserver(eme),bE=new ResizeObserver(tme),bE.observe(Ma));function ome(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(H4(i.target),!n.has(i.target)){n.add(i.target);for(let o=0;or(e,Nm.has(e)));for(let r=0;ri(n,Nm.has(n)))}}function lme(e){const t=Kr.get(e),r=Ws(e);if(!mw(e))return Kr.set(e,r);let n;if(!t)return;const i=w3(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();$a.set(e,n),Kr.set(e,r),n.addEventListener("finish",kc.bind(null,e))}function ume(e){const t=Ws(e);Kr.set(e,t);const r=w3(e);if(!mw(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()),$a.set(e,n),n.addEventListener("finish",kc.bind(null,e))}function cme(e){var t;if(!As.has(e)||!Kr.has(e))return;const[r,n]=As.get(e);Object.defineProperty(e,Wy,{value:!0}),n&&n.parentNode&&n.parentNode instanceof Element?n.parentNode.insertBefore(e,n):r&&r.parentNode?r.parentNode.appendChild(e):(t=TR(e))===null||t===void 0||t.appendChild(e);function i(){var w;e.remove(),Kr.delete(e),As.delete(e),$a.delete(e),(w=zy.get(e))===null||w===void 0||w.disconnect()}if(!mw(e))return i();const[o,s,c,f]=fme(e),d=w3(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()),$a.set(e,m),m.addEventListener("finish",i)}function fme(e){const t=Kr.get(e),[r,,n]=PR(e,t,Ws(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)||Ws(i),c=Math.round(t.top-s.top)-di(o.borderTopWidth),f=Math.round(t.left-s.left)-di(o.borderLeftWidth);return[c,f,r,n]}Xs(({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:De("flex flex-col",c),children:[!!e&&x(y3,{htmlFor:n,label:e}),q("select",{ref:w,className:De("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&&x("option",{disabled:h,value:"",children:i}),d.map(C=>x("option",{value:C.value,children:C.label},C.value))]}),!o&&x(_c,{message:t,error:r})]}));Xs(({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&&x(y3,{className:"block text-sm font-medium",htmlFor:n,label:e}),x("div",{className:"mt-1",children:x("textarea",{ref:d,id:n,className:De("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&&x(_c,{message:t,error:r})]}));const Vy=Xs(({label:e,message:t,error:r,id:n,compact:i,style:o,containerClassName:s,className:c,...f},d)=>q("div",{style:o,className:De("relative",s),children:[q("div",{className:De("flex flex-row items-center rounded-md",!!f.disabled&&"opacity-30"),children:[x("input",{ref:d,type:"checkbox",id:n,...f,className:De("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)}),x(y3,{htmlFor:n,className:De("text-mono",!!r&&"text-red-500"),containerClassName:"ml-2",label:e})]}),!i&&x(_c,{message:t,error:r})]}));function $R(e,t){return function(){return e.apply(t,arguments)}}const{toString:dme}=Object.prototype,{getPrototypeOf:vw}=Object,x3=(e=>t=>{const r=dme.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),no=e=>(e=e.toLowerCase(),t=>x3(t)===e),b3=e=>t=>typeof t===e,{isArray:il}=Array,ac=b3("undefined");function pme(e){return e!==null&&!ac(e)&&e.constructor!==null&&!ac(e.constructor)&&to(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const MR=no("ArrayBuffer");function hme(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&MR(e.buffer),t}const mme=b3("string"),to=b3("function"),DR=b3("number"),gw=e=>e!==null&&typeof e=="object",vme=e=>e===!0||e===!1,J5=e=>{if(x3(e)!=="object")return!1;const t=vw(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gme=no("Date"),yme=no("File"),wme=no("Blob"),xme=no("FileList"),bme=e=>gw(e)&&to(e.pipe),Cme=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||to(e.append)&&((t=x3(e))==="formdata"||t==="object"&&to(e.toString)&&e.toString()==="[object FormData]"))},Eme=no("URLSearchParams"),_me=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Sc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),il(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const NR=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),jR=e=>!ac(e)&&e!==NR;function Hy(){const{caseless:e}=jR(this)&&this||{},t={},r=(n,i)=>{const o=e&&FR(t,i)||i;J5(t[o])&&J5(n)?t[o]=Hy(t[o],n):J5(n)?t[o]=Hy({},n):il(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n(Sc(t,(i,o)=>{r&&to(i)?e[o]=$R(i,r):e[o]=i},{allOwnKeys:n}),e),Sme=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Rme=(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)},Ame=(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&&vw(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Ome=(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},Ime=e=>{if(!e)return null;if(il(e))return e;let t=e.length;if(!DR(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Lme=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&vw(Uint8Array)),Bme=(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])}},Pme=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Tme=no("HTMLFormElement"),$me=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),CE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Mme=no("RegExp"),zR=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Sc(r,(i,o)=>{t(i,o,e)!==!1&&(n[o]=i)}),Object.defineProperties(e,n)},Dme=e=>{zR(e,(t,r)=>{if(to(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(to(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+"'")})}})},Fme=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return il(e)?n(e):n(String(e).split(t)),r},Nme=()=>{},jme=(e,t)=>(e=+e,Number.isFinite(e)?e:t),U4="abcdefghijklmnopqrstuvwxyz",EE="0123456789",WR={DIGIT:EE,ALPHA:U4,ALPHA_DIGIT:U4+U4.toUpperCase()+EE},zme=(e=16,t=WR.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Wme(e){return!!(e&&to(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Vme=e=>{const t=new Array(10),r=(n,i)=>{if(gw(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=il(n)?[]:{};return Sc(n,(s,c)=>{const f=r(s,i+1);!ac(f)&&(o[c]=f)}),t[i]=void 0,o}}return n};return r(e,0)},ee={isArray:il,isArrayBuffer:MR,isBuffer:pme,isFormData:Cme,isArrayBufferView:hme,isString:mme,isNumber:DR,isBoolean:vme,isObject:gw,isPlainObject:J5,isUndefined:ac,isDate:gme,isFile:yme,isBlob:wme,isRegExp:Mme,isFunction:to,isStream:bme,isURLSearchParams:Eme,isTypedArray:Lme,isFileList:xme,forEach:Sc,merge:Hy,extend:kme,trim:_me,stripBOM:Sme,inherits:Rme,toFlatObject:Ame,kindOf:x3,kindOfTest:no,endsWith:Ome,toArray:Ime,forEachEntry:Bme,matchAll:Pme,isHTMLForm:Tme,hasOwnProperty:CE,hasOwnProp:CE,reduceDescriptors:zR,freezeMethods:Dme,toObjectSet:Fme,toCamelCase:$me,noop:Nme,toFiniteNumber:jme,findKey:FR,global:NR,isContextDefined:jR,ALPHABET:WR,generateString:zme,isSpecCompliantForm:Wme,toJSONObject:Vme};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 VR=et.prototype,HR={};["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=>{HR[e]={value:e}});Object.defineProperties(et,HR);Object.defineProperty(VR,"isAxiosError",{value:!0});et.from=(e,t,r,n,i,o)=>{const s=Object.create(VR);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 Hme=null;function Uy(e){return ee.isPlainObject(e)||ee.isArray(e)}function UR(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function _E(e,t,r){return e?e.concat(t).map(function(i,o){return i=UR(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function Ume(e){return ee.isArray(e)&&!e.some(Uy)}const qme=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function C3(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 b=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)&&Ume(S)||(ee.isFileList(S)||ee.endsWith(E,"[]"))&&(b=ee.toArray(S)))return E=UR(E),b.forEach(function(_,O){!(ee.isUndefined(_)||_===null)&&t.append(s===!0?_E([E],O,o):s===null?E:E+"[]",d(_))}),!1}return Uy(S)?!0:(t.append(_E(A,E,o),d(S)),!1)}const m=[],w=Object.assign(qme,{defaultVisitor:h,convertValue:d,isVisitable:Uy});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(b,y){(!(ee.isUndefined(b)||b===null)&&i.call(t,b,ee.isString(y)?y.trim():y,E,w))===!0&&C(b,E?E.concat(y):[y])}),m.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return C(e),t}function kE(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function yw(e,t){this._pairs=[],e&&C3(e,this,t)}const qR=yw.prototype;qR.append=function(t,r){this._pairs.push([t,r])};qR.toString=function(t){const r=t?function(n){return t.call(this,n,kE)}:kE;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Zme(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ZR(e,t,r){if(!t)return e;const n=r&&r.encode||Zme,i=r&&r.serialize;let o;if(i?o=i(t,r):o=ee.isURLSearchParams(t)?t.toString():new yw(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Gme{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 SE=Gme,GR={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qme=typeof URLSearchParams<"u"?URLSearchParams:yw,Yme=typeof FormData<"u"?FormData:null,Kme=typeof Blob<"u"?Blob:null,Xme=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Jme=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),wi={isBrowser:!0,classes:{URLSearchParams:Qme,FormData:Yme,Blob:Kme},isStandardBrowserEnv:Xme,isStandardBrowserWebWorkerEnv:Jme,protocols:["http","https","file","blob","url","data"]};function e3e(e,t){return C3(e,new wi.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return wi.isNode&&ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function t3e(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function r3e(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]=r3e(i[s])),!c)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const r={};return ee.forEachEntry(e,(n,i)=>{t(t3e(n),i,r,0)}),r}return null}const n3e={"Content-Type":void 0};function i3e(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 E3={transitional:GR,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(QR(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 e3e(t,this.formSerializer).toString();if((c=ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return C3(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),i3e(t)):t}],transformResponse:[function(t){const r=this.transitional||E3.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:wi.classes.FormData,Blob:wi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ee.forEach(["delete","get","head"],function(t){E3.headers[t]={}});ee.forEach(["post","put","patch"],function(t){E3.headers[t]=ee.merge(n3e)});const ww=E3,o3e=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"]),a3e=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]&&o3e[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},RE=Symbol("internals");function Ul(e){return e&&String(e).trim().toLowerCase()}function eh(e){return e===!1||e==null?e:ee.isArray(e)?e.map(eh):String(e)}function s3e(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 l3e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function q4(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 u3e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function c3e(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 _3{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(c,f,d){const h=Ul(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]=eh(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())&&!l3e(t)?s(a3e(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=Ul(t),t){const n=ee.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return s3e(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=Ul(t),t){const n=ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||q4(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=Ul(s),s){const c=ee.findKey(n,s);c&&(!r||q4(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||q4(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]=eh(i),delete r[o];return}const c=t?u3e(o):String(o).trim();c!==o&&delete r[o],r[c]=eh(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[RE]=this[RE]={accessors:{}}).accessors,i=this.prototype;function o(s){const c=Ul(s);n[c]||(c3e(i,s),n[c]=!0)}return ee.isArray(t)?t.forEach(o):o(t),this}}_3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.freezeMethods(_3.prototype);ee.freezeMethods(_3);const Qi=_3;function Z4(e,t){const r=this||ww,n=t||r,i=Qi.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 YR(e){return!!(e&&e.__CANCEL__)}function Rc(e,t,r){et.call(this,e??"canceled",et.ERR_CANCELED,t,r),this.name="CanceledError"}ee.inherits(Rc,et,{__CANCEL__:!0});function f3e(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 d3e=wi.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 p3e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h3e(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function KR(e,t){return e&&!p3e(t)?h3e(e,t):t}const m3e=wi.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 v3e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g3e(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 y3e=typeof XMLHttpRequest<"u",w3e=y3e&&function(e){return new Promise(function(r,n){let i=e.data;const o=Qi.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)&&(wi.isStandardBrowserEnv||wi.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=KR(e.baseURL,e.url);d.open(e.method.toUpperCase(),ZR(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function m(){if(!d)return;const C=Qi.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};f3e(function(b){r(b),f()},function(b){n(b),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||GR;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),n(new et(S,E.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,e,d)),d=null},wi.isStandardBrowserEnv){const C=(e.withCredentials||m3e(h))&&e.xsrfCookieName&&d3e.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",AE(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",AE(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=C=>{d&&(n(!C||C.type?new Rc(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=v3e(h);if(w&&wi.protocols.indexOf(w)===-1){n(new et("Unsupported protocol "+w+":",et.ERR_BAD_REQUEST,e));return}d.send(i||null)})},th={http:Hme,xhr:w3e};ee.forEach(th,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const x3e={getAdapter:e=>{e=ee.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let i=0;ie instanceof Qi?e.toJSON():e;function Vs(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(IE(d),IE(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 XR="1.3.6",xw={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xw[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const LE={};xw.transitional=function(t,r,n){function i(o,s){return"[Axios v"+XR+"] 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&&!LE[s]&&(LE[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 b3e(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 qy={assertOptions:b3e,validators:xw},vo=qy.validators;class zm{constructor(t){this.defaults=t,this.interceptors={request:new SE,response:new SE}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Vs(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&qy.assertOptions(n,{silentJSONParsing:vo.transitional(vo.boolean),forcedJSONParsing:vo.transitional(vo.boolean),clarifyTimeoutError:vo.transitional(vo.boolean)},!1),i!=null&&(ee.isFunction(i)?r.paramsSerializer={serialize:i}:qy.assertOptions(i,{encode:vo.function,serialize:vo.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=Qi.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=[OE.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 Rc(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 bw(function(i){t=i}),cancel:t}}}const C3e=bw;function E3e(e){return function(r){return e.apply(null,r)}}function _3e(e){return ee.isObject(e)&&e.isAxiosError===!0}const Zy={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(Zy).forEach(([e,t])=>{Zy[t]=e});const k3e=Zy;function JR(e){const t=new rh(e),r=$R(rh.prototype.request,t);return ee.extend(r,rh.prototype,t,{allOwnKeys:!0}),ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return JR(Vs(e,i))},r}const rr=JR(ww);rr.Axios=rh;rr.CanceledError=Rc;rr.CancelToken=C3e;rr.isCancel=YR;rr.VERSION=XR;rr.toFormData=C3;rr.AxiosError=et;rr.Cancel=rr.CanceledError;rr.all=function(t){return Promise.all(t)};rr.spread=E3e;rr.isAxiosError=_3e;rr.mergeConfig=Vs;rr.AxiosHeaders=Qi;rr.formToJSON=e=>QR(ee.isHTMLForm(e)?new FormData(e):e);rr.HttpStatusCode=k3e;rr.default=rr;const ri=rr,Q4=window.data.getEnv("PROFILE_ONE_ID")||0xd21b542c2113,Y4=window.data.getEnv("PROFILE_TWO_ID")||0xd21b800ac40b,eA=window.data.getEnv("ZUKO_SLUG_ID_PROCESS_START")||"4e9cc7ceea3e22fb",S3e=window.data.getEnv("CANCER_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,R3e=window.data.getEnv("CANCER_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,A3e=window.data.getEnv("CANCER_PROFILE_PATIENT_ID")||0xd3840a61be32,O3e=window.data.getEnv("CANCER_PROFILE_CAREGIVER_ID")||0xd38413087ece,I3e=window.data.getEnv("CANCER_PATIENT_SURVEY_ID")||0xd3cedccf57d4,L3e=window.data.getEnv("CANCER_CAREGIVER_SURVEY_ID")||0xd44a2fb6c758;window.data.getEnv("ATHLETE_PROFILE_FORM");const K4=window.data.getEnv("ATHLETE_SURVEY_FORM")||0xd40fc49c7828,B3e=window.data.getEnv("SENIOR_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,P3e=window.data.getEnv("SENIOR_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,T3e=window.data.getEnv("SENIOR_PROFILE_PATIENT_ID")||0xd42295f76597,$3e=window.data.getEnv("SENIOR_PROFILE_CAREGIVER_ID")||0xda5fd6100de5,M3e=window.data.getEnv("SENIOR_PATIENT_SURVEY_ID")||0xd4506a2ec2f9,D3e=window.data.getEnv("SENIOR_CAREGIVER_SURVEY_ID")||0xda4d99679fdb,F3e=window.data.getEnv("API_URL")||"http://localhost:4200",N3e=window.data.getEnv("API_LARAVEL")||"http://localhost",j3e=window.data.getEnv("WEB_APP_URL")??"http://localhost:3000",Un=ri.create({baseURL:F3e,headers:{"Content-Type":"application/json"}}),ql=ri.create({baseURL:N3e,headers:{"Content-Type":"application/json"}}),$n=()=>{const t={headers:{Authorization:`Bearer ${No(E=>{var A;return(A=E.session)==null?void 0:A.token})}`}};return{validateZipCode:async E=>Un.post("/v2/profile/validate_zip_code",{zip:E},t),combineProfileOne:async E=>Un.post("/v2/profile/submit_profiling_one",{submission_id:E},t),combineProfileTwo:async E=>Un.post("/v2/profile/combine_profile_two",{submission_id:E},t),sendEmailToRecoveryPassword:async E=>Un.post("/v2/profile/request_password_reset",{email:E}),resetPassword:async E=>Un.post("/v2/profile/reset_password",E),getSubmission:async()=>await Un.get("/v2/profile/profiling_one",t),getSubmissionById:async E=>await Un.get(`/v2/submission/profiling_one?submission_id=${E}`,t),eligibleEmail:async E=>await Un.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)}},Qo=(e,t=[])=>{const r=v.useRef(!0);v.useEffect(()=>{r.current&&(r.current=!1,e())},t)},tA=()=>{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},z3e=()=>{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},W3e=()=>{const e=No(f=>f.profile),t=No(f=>f.setProfile),r=No(f=>f.setSession),n=At(),[i,o]=v.useState(!1),s=()=>{t(null),r(null),n(Se.login),je.info("You has been logged out!")},c=tA();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:[x("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"}),x("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(Zr,{children:[x(Ne.PrivacyPolicyIcon,{onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},className:"h-8 w-8 rounded-full stroke-2"}),x(Ne.MarkCircleIcon,{onClick:()=>o(!0),className:"h-8 w-8 rounded-full"})]}):q(Zr,{children:[x(Et,{variant:"tertiary-link",onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},font:"regular",children:"Privacy Policy"}),x(Et,{variant:"black",onClick:()=>o(!0),font:"semiBold",children:"Need Help?"})]}),e&&x(Et,{variant:"outline",onClick:()=>s(),children:"Log out"})]}),x(K5e,{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:[x(ce,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),x(ce,{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:[x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[x("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."]})}),x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",x("a",{href:"tel:877-707-0706",className:"underline decoration-1 underline-offset-8",children:"877-707-0706"})]})}),x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",x("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},ft=({children:e})=>x("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:[x(W3e,{}),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},Yo=IS()(LS((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"})),V3e=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"})}),H3e=()=>{var b,y,_,O,P,D,W,N,H,V;const e=At(),[t]=Jr(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=Yo(Z=>Z),{eligibleEmail:f}=$n(),[d,h]=v.useState(!1),{formState:{errors:m},handleSubmit:w,register:C,setError:S}=Ys({resolver:Ks(V3e),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 Qo(()=>{const Z=t.get("submission_id"),Q=t.get("state"),a=t.get("experience")??"";Z?(s(Q),i(Z),c(a)):je.error(q("p",{children:["Impossible to continue without",x("br",{})," a submission id"]}))}),x(ft,{children:x("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:[x(ce,{variant:"large",font:"semiBold",className:De("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:[x(_r,{id:"firstName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("firstName"),error:(b=m.firstName)==null?void 0:b.message,placeholder:"First Name*"}),x(_r,{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:[x(_r,{id:"email",placeholder:"Email*",type:"email",left:x(Ne.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(_=m.email)==null?void 0:_.message}),x(_r,{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:[x(_r,{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:(P=m.phoneNumber)==null?void 0:P.message}),q("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[x(Vy,{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:x(ce,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light ",((W=m.agreeReceiveNotifications)==null?void 0:W.message)&&"text-red-500"),children:"I agree to receive emails and text messages related to my care."})}),x(Vy,{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(ce,{variant:"small",font:"regular",className:De("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"," ",x("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:[x(ce,{className:De("mx-auto my-0 hidden font-nunito text-white md:block",!!E&&"text-red-300"),variant:"small",children:E?(V=m.password)!=null&&V.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!"}),x(Et,{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:x(Ne.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Ac=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")return;var o=i.data.split(":");let s;if(o.length>2?s=document.getElementById("JotFormIFrame-"+o[o.length-1]):s=document.getElementById("JotFormIFrame"),!!s){switch(o[0]){case"scrollIntoView":s.scrollIntoView();break;case"setHeight":s.style.height=o[1]+"px",!isNaN(o[1])&&parseInt(s.style.minHeight)>parseInt(o[1])&&(s.style.minHeight=o[1]+"px");break;case"collapseErrorPage":s.clientHeight>window.innerHeight&&(s.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 c=o[1];o.length>3&&(c=o[1]+":"+o[2]);var f=document.createElement("script");f.src=c,f.type="text/javascript",document.body.appendChild(f);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 d=i.origin.indexOf("jotform")>-1;if(d&&"contentWindow"in s&&"postMessage"in s.contentWindow){var h={docurl:encodeURIComponent(document.URL),referrer:encodeURIComponent(document.referrer)};s.contentWindow.postMessage(JSON.stringify({type:"urls",value:h}),"*")}}},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)}},U3e=()=>{const[e]=Jr(),t=e.get("email")||"",r=e.get("symptoms")||"";return v.useEffect(()=>{Ac(K4)},[]),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("iframe",{id:`JotFormIFrame-${K4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${K4}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},k3=({children:e})=>q("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px] pb-10",children:[x(ce,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),x("br",{}),e]}),q3e=[{step:"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:Ne.ProfileIconWhite},{step:"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 and your recommended products.",icon:Ne.HandHeartWhite},{step:"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:Ne.PillsWhite},{step:"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:Ne.FeedBackWhite},{step:"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:Ne.CalendarChecked},{step:"ALWAYS",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:Ne.SupportIconWhite}],Z3e=[{step:"STEP 1",title:"Profile & subscribe",content:"In 5-10 minutes, you can create your eo account and provide the information our clinical team needs to create your initial plan and subscribe.",icon:Ne.ProfileIconWhite},{step:"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 and your recommended products.",icon:Ne.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"Review your plan and schedule a time to pick-up your products at dispensary near you. We’ll order your products for you. You just pick-up and pay.",icon:Ne.PillsWhite},{step:"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:Ne.FeedBackWhite},{step:"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:Ne.CalendarChecked},{step:"ALWAYS",title:"Be supported",content:"You can message 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:Ne.SupportIconWhite}],G3e=[{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(Zr,{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.",x("br",{}),x("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(Zr,{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.",x("br",{}),x("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.",x("br",{}),x("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."}],Q3e=[{title:"How much does eo cost?",content:"eo costs $14 per month for your clinician-reviewed plan, ongoing plan optimization based on your feedback and unlimited phone calls and in-app messaging with our care team. You can cancel your subscription any time. Note that the cost of your recommended products is NOT included in your plan unless you’re participating in an eo clinical pilot."},{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 your recommended products, we’ll order your THC products for you and let you know when they’re ready for pick-up. You can order any non-THC products (e.g. CBD, CBN or CBG products) direct from our recommended retail partners for home delivery."},{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(Zr,{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.",x("br",{}),x("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(Zr,{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.",x("br",{}),x("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.",x("br",{}),x("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 PE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Cw(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&&Cw(e[r],t[r])})}const rA={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 ol(){const e=typeof document<"u"?document:{};return Cw(e,rA),e}const Y3e={document:rA,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 pn(){const e=typeof window<"u"?window:{};return Cw(e,Y3e),e}function K3e(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function X3e(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 Wm(){return Date.now()}function J3e(e){const t=pn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function eve(e,t){t===void 0&&(t="x");const r=pn();let n,i,o;const s=J3e(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 j1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function tve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function nn(){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 xi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function Vm(e){try{console.warn(e);return}catch{}}function sc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:K3e(t)),r}function rve(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 nve(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 Oo(e,t){return pn().getComputedStyle(e,null).getPropertyValue(t)}function lc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function iA(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=pn();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 oA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=xi(e.el,`.${n[i]}`)[0];o||(o=sc("div",n[i]),o.className=n[i],e.el.append(o)),r[i]=o,t[i]=o}}),r}function ive(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 b=t.params.navigation;E=o(E),E.forEach(y=>{y&&(y.classList[A?"add":"remove"](...b.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=A),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](b.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=oA(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),b=s(E.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:b}),A=o(A),b=o(b);const y=(_,O)=>{_&&_.addEventListener("click",O==="next"?h:d),!t.enabled&&_&&_.classList.add(...E.lockClass.split(" "))};A.forEach(_=>y(_,"next")),b.forEach(_=>y(_,"prev"))}function w(){let{nextEl:E,prevEl:A}=t.navigation;E=o(E),A=o(A);const b=(y,_)=>{y.removeEventListener("click",_==="next"?h:d),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};E.forEach(y=>b(y,"next")),A.forEach(y=>b(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(b=>!!b).forEach(b=>b.classList.add(t.params.navigation.lockClass))}),n("click",(E,A)=>{let{nextEl:b,prevEl:y}=t.navigation;b=o(b),y=o(y);const _=A.target;if(t.params.navigation.hideOnClick&&!y.includes(_)&&!b.includes(_)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===_||t.pagination.el.contains(_)))return;let O;b.length?O=b[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(O=y[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...b,...y].filter(P=>!!P).forEach(P=>P.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 _o(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ove(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(_o(t.params.pagination.bulletClass));if(!_)return;y.preventDefault();const O=lc(_)*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 P,D;const W=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,N=t.params.loop?Math.ceil(W/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(D=t.previousRealIndex||0,P=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(P=t.snapIndex,D=t.previousSnapIndex):(D=t.previousIndex||0,P=t.activeIndex||0),_.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const H=t.pagination.bullets;let V,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+=P-(D||0),c>_.dynamicMainBullets-1?c=_.dynamicMainBullets-1:c<0&&(c=0)),V=Math.max(P-c,0),Z=V+(Math.min(H.length,_.dynamicMainBullets)-1),Q=(Z+V)/2),H.forEach(a=>{const T=[...["","-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(...T)}),O.length>1)H.forEach(a=>{const T=lc(a);T===P?a.classList.add(..._.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),_.dynamicBullets&&(T>=V&&T<=Z&&a.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),T===V&&h(a,"prev"),T===Z&&h(a,"next"))});else{const a=H[P];if(a&&a.classList.add(..._.bulletActiveClass.split(" ")),t.isElement&&H.forEach((T,M)=>{T.setAttribute("part",M===P?"bullet-active":"bullet")}),_.dynamicBullets){const T=H[V],M=H[Z];for(let G=V;G<=Z;G+=1)H[G]&&H[G].classList.add(...`${_.bulletActiveClass}-main`.split(" "));h(T,"prev"),h(M,"next")}}if(_.dynamicBullets){const a=Math.min(H.length,_.dynamicMainBullets+4),T=(s*a-s)/2-Q*s,M=y?"right":"left";H.forEach(G=>{G.style[t.isHorizontal()?M:"top"]=`${T}px`})}}O.forEach((H,V)=>{if(_.type==="fraction"&&(H.querySelectorAll(_o(_.currentClass)).forEach(Z=>{Z.textContent=_.formatFractionCurrent(P+1)}),H.querySelectorAll(_o(_.totalClass)).forEach(Z=>{Z.textContent=_.formatFractionTotal(N)})),_.type==="progressbar"){let Z;_.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Q=(P+1)/N;let a=1,T=1;Z==="horizontal"?a=Q:T=Q,H.querySelectorAll(_o(_.progressbarFillClass)).forEach(M=>{M.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${T})`,M.style.transitionDuration=`${t.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(H.innerHTML=_.renderCustom(t,P+1,N),V===0&&i("paginationRender",H)):(V===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 P="";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 W=0;W`}y.type==="fraction"&&(y.renderFraction?P=y.renderFraction.call(t,y.currentClass,y.totalClass):P=` / `),y.type==="progressbar"&&(y.renderProgressbar?P=y.renderProgressbar.call(t,y.progressbarFillClass):P=``),t.pagination.bullets=[],O.forEach(D=>{y.type!=="custom"&&(D.innerHTML=P||""),y.type==="bullets"&&t.pagination.bullets.push(...D.querySelectorAll(_o(y.bulletClass)))}),y.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=oA(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=>iA(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?b():(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,P=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&P&&P.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=P[0].classList.contains(t.params.pagination.hiddenClass);i(D===!0?"paginationShow":"paginationHide"),P.forEach(W=>W.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()},b=()=>{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:b,render:C,update:w,init:S,destroy:E})}function ave(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(T){const M=i;M.length!==0&&(M.innerHTML="",M.innerHTML=T)}const s=T=>(Array.isArray(T)?T:[T]).filter(M=>!!M);function c(T){T===void 0&&(T=16);const M=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(T).replace(/x/g,M)}function f(T){T=s(T),T.forEach(M=>{M.setAttribute("tabIndex","0")})}function d(T){T=s(T),T.forEach(M=>{M.setAttribute("tabIndex","-1")})}function h(T,M){T=s(T),T.forEach(G=>{G.setAttribute("role",M)})}function m(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-roledescription",M)})}function w(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-controls",M)})}function C(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-label",M)})}function S(T,M){T=s(T),T.forEach(G=>{G.setAttribute("id",M)})}function E(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-live",M)})}function A(T){T=s(T),T.forEach(M=>{M.setAttribute("aria-disabled",!0)})}function b(T){T=s(T),T.forEach(M=>{M.setAttribute("aria-disabled",!1)})}function y(T){if(T.keyCode!==13&&T.keyCode!==32)return;const M=t.params.a11y,G=T.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(T.target))&&!T.target.matches(_o(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(_o(t.params.pagination.bulletClass))&&G.click())}function _(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:T,prevEl:M}=t.navigation;M&&(t.isBeginning?(A(M),d(M)):(b(M),f(M))),T&&(t.isEnd?(A(T),d(T)):(b(T),f(T)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function P(){return O()&&t.params.pagination.clickable}function D(){const T=t.params.a11y;O()&&t.pagination.bullets.forEach(M=>{t.params.pagination.clickable&&(f(M),t.params.pagination.renderBullet||(h(M,"button"),C(M,T.paginationBulletMessage.replace(/\{\{index\}\}/,lc(M)+1)))),M.matches(_o(t.params.pagination.bulletActiveClass))?M.setAttribute("aria-current","true"):M.removeAttribute("aria-current")})}const W=(T,M,G)=>{f(T),T.tagName!=="BUTTON"&&(h(T,"button"),T.addEventListener("keydown",y)),C(T,G),w(T,M)},N=()=>{t.a11y.clicked=!0},H=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},V=T=>{if(t.a11y.clicked)return;const M=T.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||T.sourceCapabilities&&T.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(M),0))},Z=()=>{const T=t.params.a11y;T.itemRoleDescriptionMessage&&m(t.slides,T.itemRoleDescriptionMessage),T.slideRole&&h(t.slides,T.slideRole);const M=t.slides.length;T.slideLabelMessage&&t.slides.forEach((G,ae)=>{const Y=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):ae,re=T.slideLabelMessage.replace(/\{\{index\}\}/,Y+1).replace(/\{\{slidesLength\}\}/,M);C(G,re)})},Q=()=>{const T=t.params.a11y;t.el.append(i);const M=t.el;T.containerRoleDescriptionMessage&&m(M,T.containerRoleDescriptionMessage),T.containerMessage&&C(M,T.containerMessage);const G=t.wrapperEl,ae=T.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=>W(xe,ae,T.nextSlideMessage)),ve&&ve.forEach(xe=>W(xe,ae,T.prevSlideMessage)),P()&&s(t.pagination.el).forEach(Pe=>{Pe.addEventListener("keydown",y)}),t.el.addEventListener("focus",V,!0),t.el.addEventListener("pointerdown",N,!0),t.el.addEventListener("pointerup",H,!0)};function a(){i&&i.remove();let{nextEl:T,prevEl:M}=t.navigation?t.navigation:{};T=s(T),M=s(M),T&&T.forEach(G=>G.removeEventListener("keydown",y)),M&&M.forEach(G=>G.removeEventListener("keydown",y)),P()&&s(t.pagination.el).forEach(ae=>{ae.removeEventListener("keydown",y)}),t.el.removeEventListener("focus",V,!0),t.el.removeEventListener("pointerdown",N,!0),t.el.removeEventListener("pointerup",H,!0)}n("beforeInit",()=>{i=sc("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 X4;function sve(){const e=pn(),t=ol();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function aA(){return X4||(X4=sve()),X4}let J4;function lve(e){let{userAgent:t}=e===void 0?{}:e;const r=aA(),n=pn(),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 uve(e){return e===void 0&&(e={}),J4||(J4=lve(e)),J4}let eg;function cve(){const e=pn();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 fve(){return eg||(eg=cve()),eg}function dve(e){let{swiper:t,on:r,emit:n}=e;const i=pn();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:b,contentRect:y,target:_}=A;_&&_!==t.el||(S=y?y.width:(b[0]||b).inlineSize,E=y?y.height:(b[0]||b).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 pve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=pn(),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=iA(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 hve={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 mve(){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(Oo(n,"padding-left")||0,10)-parseInt(Oo(n,"padding-right")||0,10),r=r-parseInt(Oo(n,"padding-top")||0,10)-parseInt(Oo(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 vve(){const e=this;function t(V,Z){return parseFloat(V.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=xi(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 b=e.snapGrid.length,y=e.slidesGrid.length;let _=r.spaceBetween,O=-E,P=0,D=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*o:typeof _=="string"&&(_=parseFloat(_)),e.virtualSize=-_,h.forEach(V=>{s?V.style.marginLeft="":V.style.marginRight="",V.style.marginBottom="",V.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(z1(n,"--swiper-centered-offset-before",""),z1(n,"--swiper-centered-offset-after",""));const W=r.grid&&r.grid.rows>1&&e.grid;W?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let N;const H=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(V=>typeof r.breakpoints[V].slidesPerView<"u").length>0;for(let V=0;V1&&w.push(e.virtualSize-o)}if(f&&r.loop){const V=S[0]+_;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Q=V*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Q!==h.length-1).forEach(Z=>{Z.style[V]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let V=0;S.forEach(Q=>{V+=Q+(_||0)}),V-=_;const Z=V-o;w=w.map(Q=>Q<=0?-E:Q>Z?Z+A:Q)}if(r.centerInsufficientSlides){let V=0;if(S.forEach(Z=>{V+=Z+(_||0)}),V-=_,V{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){z1(n,"--swiper-centered-offset-before",`${-w[0]}px`),z1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const V=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Q=>Q+V),e.slidesGrid=e.slidesGrid.map(Q=>Q+Z)}if(m!==d&&e.emit("slidesLengthChange"),w.length!==b&&(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 V=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(V);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(V):Z&&e.el.classList.remove(V)}}function gve(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 yve(){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 xve(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 bve(){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=>xi(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=nve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=rve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const nh=(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()}},tg=(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)&&tg(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)&&tg(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 Eve(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=Cve(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 _ve(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 b=-f[A];if(c.normalizeSlideIndex)for(let _=0;_=P&&O=P&&O=P&&(s=_)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(w?b>o.translate&&b>o.minTranslate():bo.translate&&b>o.maxTranslate()&&(m||0)!==s))return!1;s!==(h||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(b);let y;if(s>m?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[_?"scrollLeft":"scrollTop"]=O})):C[_?"scrollLeft":"scrollTop"]=O,P&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return nA({swiper:o,targetPosition:O,side:_?"left":"top"}),!0;C.scrollTo({[_?"left":"top"]:O,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),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 Dve(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 Fve(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 Nve(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(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const C=w(m),S=o.map(b=>w(b));let E=o[S.indexOf(C)-1];if(typeof E>"u"&&i.cssMode){let b;o.forEach((y,_)=>{C>=y&&(b=_)}),typeof b<"u"&&(E=o[b>0?b-1:b])}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 b=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(b,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 jve(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 zve(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 Wve(){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(xi(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(xi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var Vve={slideTo:Mve,slideToLoop:Dve,slideNext:Fve,slidePrev:Nve,slideReset:jve,slideToClosest:zve,slideToClickedSlide:Wve};function Hve(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{xi(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]):P=o;const D=n==="next"||!n,W=n==="prev"||!n;let N=0,H=0;const V=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(V-T-1)}}else if(Q+E>V-b){H=Math.max(Q-(V-b*2),A);for(let a=0;a{M.column===T&&O.push(G)}):O.push(T)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),W&&_.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&&W||O.length>0&&D)&&f.slides.forEach((a,T)=>{f.grid.updateSlide(T,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(_.length>0&&W){if(typeof t>"u"){const a=f.slidesGrid[P],M=f.slidesGrid[P+N]-a;c?f.setTranslate(f.translate-M):(f.slideTo(P+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[P],M=f.slidesGrid[P-H]-a;c?f.setTranslate(f.translate-M):(f.slideTo(P-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(T=>{!T.destroyed&&T.params.loop&&T.loopFix({...a,slideTo:T.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 qve(){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 Zve={loopCreate:Hve,loopFix:Uve,loopDestroy:qve};function Gve(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 Qve(){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 Yve={setGrabCursor:Gve,unsetGrabCursor:Qve};function Kve(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ol()||n===pn())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 TE(e,t,r){const n=pn(),{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 Xve(e){const t=this,r=ol();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"){TE(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?Kve(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(!TE(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=Wm(),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 Jve(e){const t=ol(),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=Wm());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 b=r.params.loop&&!i.cssMode,y=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(b&&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&&b&&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,P=i.resistanceRatio;if(i.touchReleaseOnEdges&&(P=0),S>0?(b&&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)**P))):S<0&&(b&&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 e4e(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(P=>P.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=Wm(),w=m-r.touchStartTime;if(t.allowClick){const P=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(P&&P[0]||n.target,P),t.emit("tap click",n),w<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Wm(),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 P=0;P=d[P]&&C=d[P])&&(E=P,A=d[d.length-1]-d[d.length-2])}let b=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&&(b=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?b: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(b!==null?b:E+O),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:E))}}function $E(){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 t4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function r4e(){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 n4e(e){const t=this;nh(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function i4e(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const lA=(e,t)=>{const r=ol(),{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",$E,!0):e[d]("observerUpdate",$E,!0),i[f]("load",e.onLoad,{capture:!0})};function o4e(){const e=this,{params:t}=e;e.onTouchStart=Xve.bind(e),e.onTouchMove=Jve.bind(e),e.onTouchEnd=e4e.bind(e),e.onDocumentTouchStart=i4e.bind(e),t.cssMode&&(e.onScroll=r4e.bind(e)),e.onClick=t4e.bind(e),e.onLoad=n4e.bind(e),lA(e,"on")}function a4e(){lA(this,"off")}var s4e={attachEvents:o4e,detachEvents:a4e};const ME=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function l4e(){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=ME(e,n),h=ME(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(b=>{if(typeof f[b]>"u")return;const y=n[b]&&n[b].enabled,_=f[b]&&f[b].enabled;y&&!_&&e[b].disable(),!y&&_&&e[b].enable()});const w=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||w),S=n.loop;w&&r&&e.changeDirection(),nn(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 u4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=pn(),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 d4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=f4e(["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 p4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var h4e={addClasses:d4e,removeClasses:p4e};function m4e(){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 v4e={checkOverflow:m4e},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 g4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){nn(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)){nn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),nn(t,n)}}const rg={eventsEmitter:hve,update:kve,translate:Lve,transition:$ve,slide:Vve,loop:Zve,grabCursor:Yve,events:s4e,breakpoints:c4e,checkOverflow:v4e,classes:h4e},ng={};let Ew=class Fi{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=nn({},r,{el:m});h.push(new Fi(w))}),h}const c=this;c.__swiper__=!0,c.support=aA(),c.device=uve({userAgent:r.userAgent}),c.browser=fve(),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:g4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=nn({},Ky,f);return c.params=nn({},d,ng,r),c.originalParams=nn({},c.params),c.passedParams=nn({},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=xi(r,`.${n.slideClass}, swiper-slide`),o=lc(i[0]);return lc(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=xi(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&&nh(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()):xi(n,i())[0])();return!s&&r.params.createElements&&(s=sc("div",r.params.wrapperClass),n.append(s),xi(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"||Oo(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Oo(n,"direction")==="rtl"),wrongRTL:Oo(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?nh(r,o):o.addEventListener("load",s=>{nh(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,X3e(n)),n.destroyed=!0),null}static extendDefaults(t){nn(ng,t)}static get extendedDefaults(){return ng}static get defaults(){return Ky}static installModule(t){Fi.prototype.__modules__||(Fi.prototype.__modules__=[]);const r=Fi.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>Fi.installModule(r)),Fi):(Fi.installModule(t),Fi)}};Object.keys(rg).forEach(e=>{Object.keys(rg[e]).forEach(t=>{Ew.prototype[t]=rg[e][t]})});Ew.use([dve,pve]);const uA=["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 Da(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Os(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]:Da(t[n])&&Da(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Os(e[n],t[n]):e[n]=t[n]})}function cA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function fA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function dA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function pA(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 y4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function w4e(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,b,y,_,O,P,D,W;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&&(b=!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?P=!0:!h.loop&&n.loop?D=!0:W=!0),d.forEach(H=>{if(Da(h[H])&&Da(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 V=n[H];(V===!0||V===!1)&&(H==="navigation"||H==="pagination"||H==="scrollbar")?V===!1&&N(H):h[H]=n[H]}}),d.includes("controller")&&!b&&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&&(W=!0),A&&E.init()&&E.update(!0),b&&(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),(P||W)&&t.loopDestroy(),(D||W)&&t.loopCreate(),t.update()}function x4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Os(r,Ky),r._emitClasses=!0,r.init=!1;const o={},s=uA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?Da(e[f])?(r[f]={},i[f]={},Os(r[f],e[f]),Os(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 b4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;cA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),fA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),dA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function C4e(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 uA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(Da(e[f])&&Da(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 E4e=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 Hm(){return Hm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{hA(r)?t.push(r):r.props&&r.props.children&&mA(r.props.children).forEach(n=>t.push(n))}),t}function _4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(hA(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=mA(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 k4e(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 Su(e,t){return typeof window>"u"?v.useEffect(e,t):v.useLayoutEffect(e,t)}const DE=v.createContext(null),S4e=v.createContext(null),vA=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),b=v.useRef(null),y=v.useRef(null),_=v.useRef(null),O=v.useRef(null),P=v.useRef(null),D=v.useRef(null),W=v.useRef(null),{params:N,passedParams:H,rest:V,events:Z}=x4e(c),{slides:Q,slots:a}=_4e(o),T=()=>{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,b.current=new Ew(re),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=Q;const ve={cache:!1,slides:Q,renderExternal:w,renderExternalUpdate:!1};Os(b.current.params.virtual,ve),Os(b.current.originalParams.virtual,ve)}};A.current||M(),b.current&&b.current.on("_beforeBreakpoint",T);const G=()=>{f||!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.on(re,Z[re])})},ae=()=>{!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.off(re,Z[re])})};v.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",T)}),v.useEffect(()=>{!E.current&&b.current&&(b.current.emitSlidesClasses(),E.current=!0)}),Su(()=>{if(t&&(t.current=A.current),!!A.current)return b.current.destroyed&&M(),b4e({el:A.current,nextEl:O.current,prevEl:P.current,paginationEl:D.current,scrollbarEl:W.current,swiper:b.current},N),s&&s(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),Su(()=>{G();const re=C4e(H,y.current,Q,_.current,ve=>ve.key);return y.current=H,_.current=Q,re.length&&b.current&&!b.current.destroyed&&w4e({swiper:b.current,slides:Q,passedParams:H,changedParams:re,nextEl:O.current,prevEl:P.current,scrollbarEl:W.current,paginationEl:D.current}),()=>{ae()}}),Su(()=>{E4e(b.current)},[m]);function Y(){return N.virtual?k4e(b.current,Q,m):Q.map((re,ve)=>he.cloneElement(re,{swiper:b.current,swiperSlideIndex:ve}))}return he.createElement(n,Hm({ref:A,className:pA(`${d}${r?` ${r}`:""}`)},V),he.createElement(S4e.Provider,{value:b.current},a["container-start"],he.createElement(i,{className:y4e(N.wrapperClass)},a["wrapper-start"],Y(),a["wrapper-end"]),cA(N)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:P,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),dA(N)&&he.createElement("div",{ref:W,className:"swiper-scrollbar"}),fA(N)&&he.createElement("div",{ref:D,className:"swiper-pagination"}),a["container-end"]))});vA.displayName="Swiper";const gA=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,P,D){P===m.current&&C(D)}Su(()=>{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)}}}),Su(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const b={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(b):n,_=()=>{E(!0)};return he.createElement(r,Hm({ref:m,className:pA(`${w}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:_},h),s&&he.createElement(DE.Provider,{value:b},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(DE.Provider,{value:b},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});gA.displayName="SwiperSlide";const R4e=({children:e})=>{const t=tA(),r=z3e(),n=v.useRef();return q("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[x("button",{className:De("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:x(Ne.EoLeftArrowIcon,{})}),x("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:x(vA,{slidesPerGroup:r?3:1,loop:!0,modules:[ive,ove,ave],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)=>x(v.Fragment,{children:x(gA,{children:x("div",{className:"mb-12",children:i})})},`${o}`))})}),x("button",{className:De("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:x(Ne.EoRightArrowIcon,{})})]})},S3=({pilot:e=!1})=>q("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[x(ce,{font:"bold",variant:"large",className:"mb-20 text-center",children:e?"How the eo pilot works":"How eo Care Plans Work"}),x(R4e,{children:(e?q3e:Z3e).map(({title:r,content:n,step:i,icon:o})=>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:[x("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:x(o,{className:"h-9 w-[37px]"})}),x(ce,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:i}),x(ce,{font:"bold",className:"text-xl",children:r}),x(ce,{className:"text-center text-lg md:text-left",children:n})]},i))})]}),ih=v;function A4e({title:e,titleId:t,...r},n){return ih.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?ih.createElement("title",{id:t},e):null,ih.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 O4e=ih.forwardRef(A4e);var I4e=O4e;const oh=v;function L4e({title:e,titleId:t,...r},n){return oh.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?oh.createElement("title",{id:t},e):null,oh.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 B4e=oh.forwardRef(L4e);var P4e=B4e,T4e=I4e,$4e=P4e;const M4e=({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"?x(ce,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,x("div",{children:n?x(T4e,{className:"h-8 w-8"}):x($4e,{className:"h-8 w-8"})})]}),q("div",{className:De("mt-4 flex w-full flex-row overflow-hidden",n?"h-auto":"h-0"),style:{transition:"0,4s ease-out",willChange:"width height"},children:[x("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},R3=({pilot:e=!1})=>x("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:[x(ce,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),x("div",{className:"flex flex-col gap-6",children:(e?G3e:Q3e).map(({title:r,content:n})=>x(M4e,{title:r,active:!1,children:x(ce,{className:"text-[18px] leading-[26px] text-gray-800",children:n})},r))})]})});function A3(){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:[x(Ne.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),q(ce,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",x("br",{className:"hidden md:block"}),"cannabis company."]}),x(ce,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),x(ce,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),x("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"}),x(ce,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),x("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"}),x(ce,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),x("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"}),x("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"}),x("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 D4e=()=>{const[e]=Jr(),t=e.get("submission_id")||"",r=At();t||r("/");const{postAthleteSurveyFormSubmission:n}=$n(),{mutate:i}=fn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>i({submission_id:t})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{}),x(R3,{}),x(A3,{})]})},F4e=({formId:e,searchParam:t})=>{const r=v.useRef(null);return Qo(()=>{Ac(e),setTimeout(()=>{r!=null&&r.current&&(r.current.style.opacity="100")},1700)},[e,t]),x("iframe",{ref:r,src:`https://form.jotform.com/${e}?${t?t.toString():""}`,id:`JotFormIFrame-${e}`,title:"",onLoad:()=>{window.parent.scrollTo(0,0)},allow:"geolocation; microphone; camera",allowFullScreen:!0,className:"h-full w-full min-w-full border-none opacity-0"})},N4e=()=>{const[e,t]=v.useState(!0);return v.useEffect(()=>{setTimeout(()=>{t(!1)},1200)}),x(Zr,{children:e&&x("div",{className:"right-[calc(50%-20px)] top-1/2 h-12 w-12 animate-spin rounded-full border-4 border-gray-200 border-t-gray-1000",style:{position:"absolute"}})})},O3=({formId:e,searchParam:t})=>q(Zr,{children:[x(N4e,{}),x(F4e,{formId:e,searchParam:t})]}),j4e=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Yo(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=At(),d=e==="Patient"?A3e:O3e;return e||f(Se.userRolSelector),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:d,searchParam:c})})})},z4e=()=>{const[e]=Jr(),t=Yo(f=>f.setUsePayment),r=(e.get("pilot")??"")==="true",n=e.get("email")??"",i=e.get("profiled")??"patient",o=e.get("symptoms")??"";t(!r);const s=i==="patient"?I3e:L3e,c=new URLSearchParams({email:n,symptoms:o});return x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:s,searchParam:c})})})},W4e=()=>{const e=At();return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{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",x("br",{}),x("br",{}),"Next, we’ll get you to fill out some information"," ",x("br",{className:"hidden md:block"})," so we can better serve you..."]}),x("div",{className:"mt-10 flex flex-row justify-center",children:x(Et,{className:"text-center",onClick:()=>e(Se.profilingOne),children:"Continue"})})]})})},yA=async e=>await Un.post("/v2/profile/resend_confirmation_email",{email:e}),V4e=()=>{const e=Go(),{email:t}=e.state,r=At(),{mutate:n}=fn({mutationFn:yA,onSuccess:()=>{je.success("Email resent successfully, please check your inbox")},onError:()=>{je.error("An error occurred, please try again later")}});return t||r(Se.login),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",x("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),x("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"}),x(Et,{type:"submit",className:"mt-10",onClick:()=>n(t),left:x(Ne.EnvelopeIcon,{}),children:"Resend verification"})]})})},H4e=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),U4e=()=>{var o;const{sendEmailToRecoveryPassword:e}=$n(),{formState:{errors:t},register:r,handleSubmit:n}=Ys({resolver:Ks(H4e)}),{mutate:i}=fn({mutationFn:e,onSuccess:()=>{je.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&&je.error("Something went wrong"):je.error("Something went wrong")}});return x(ft,{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:[x(ce,{variant:"large",font:"bold",children:"Reset your password"}),q(ce,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",x("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:[x(_r,{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:[x(Ph,{to:Se.login,children:x(Et,{type:"button",className:"mt-10",variant:"secondary",left:x(Ne.ArrowLeftIcon,{}),children:"Back"})}),x(Et,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},q4e=()=>x(ft,{children:x("br",{})}),Z4e=async e=>await Un.post("/v2/profile/login",{email:e.email,password:e.password}),G4e=async e=>await Un.post("/v2/profile",e),Q4e=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"})}),Y4e=()=>{var E,A;const e=No(b=>b.setProfile),t=No(b=>b.setSession),[r,n]=v.useState(!1),[i,o]=v.useState(""),s=At(),[c]=Jr();v.useEffect(()=>{c.has("email")&&c.has("account_confirmed")&&n(b=>(b||je.success("Your account has been activated."),!0))},[r,c]);const{formState:{errors:f},register:d,handleSubmit:h,getValues:m}=Ys({resolver:Ks(Q4e)}),{mutate:w}=fn({mutationFn:Z4e,onSuccess:({data:b})=>{e(b.profile),t(b.session)},onError:b=>{var y;ri.isAxiosError(b)?((y=b.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 x(ft,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[x(ce,{variant:"large",font:"bold",children:"Welcome back."}),q("form",{className:"mt-10",onSubmit:b=>{h(y=>{w(y)})(b)},children:[x(_r,{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}),x(_r,{id:"password",label:"Password",right:C?x(Ne.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}):x(Ne.EyeSlashIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}),containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:C?"text":"password",...d("password"),error:(A=f.password)==null?void 0:A.message}),x(Ph,{to:Se.forgotPassword,children:x(ce,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),x(Et,{type:"submit",className:"mt-10",children:"Sign in"}),i&&x(ce,{variant:"small",id:"login-message",className:"text-red-600",children:i}),q(ce,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",x(Ph,{to:Se.register,children:x("strong",{children:"Create account"})})]})]})]}),x("div",{className:"hidden md:block",children:x("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 du=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(du||{}),Xy=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(Xy||{}),hi=(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))(hi||{}),pu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(pu||{}),uc=(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))(uc||{}),dr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(dr||{});const K4e=(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(dr.Sleep)?"":V==="topical lotion or patch"&&s.includes(dr.Anxiety)?"1:1 CBD:THC ratio":V==="topical lotion or patch"?"THC-dominant":r&&!w?"CBD or CBDA":r&&w?"CBD, CBDA, or CBC":s.includes(dr.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=()=>V==="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(dr.Sleep)?"":V==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Q} of a ${Z} ${V} product`,b=()=>s.includes(dr.Anxiety)&&r?"CBDA":s.includes(dr.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 ${T} of a ${a} ${H} product`,P=()=>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",W=()=>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(),V=S(),Z=C(),Q=E(),a=b(),T=_(),M=D(),G=P(),ae=W();return{dayTime:{time:"Morning",type:C(),form:S(),dose:E(),result:A()},evening:{time:"Evening",type:b(),form:y(),dose:_(),result:O()},bedTime:{time:"BedTime",type:P(),form:D(),dose:W(),result:N()}}},X4e=(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(dr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(dr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(dr.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&&V==="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",b=()=>s.includes(dr.Sleep)?"":Z==="inhalation method"?"Use a "+Q+" inhalable product":"Use "+a+" of a "+Q+" "+Z+" product",y=()=>s.includes(dr.Anxiety)&&r?"CBDA":s.includes(dr.Pain)&&r?"CBG plus CBD":r?"CBD":w.includes(hi.WorkDayEvenings)&&C?"THC-dominant":w.includes(hi.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=()=>V==="topical lotion or patch"?"50mg":T==="THC-dominant"?"2.5mg":T==="CBD-dominant"?"5mg":T==="1:1 CBD:THC ratio"?"2.5mg":"10mg",P=()=>V==="inhalation method"?`Use a ${T} inhalable product`:`Use ${M} of a ${T} ${V} product`,D=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",W=()=>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`,V=_(),Z=E(),Q=S(),a=A(),T=y(),M=O(),G=D(),ae=W(),Y=N();return{dayTime:{time:"Morning",type:S(),form:E(),dose:A(),result:b()},evening:{time:"Evening",type:y(),form:_(),dose:O(),result:P()},bedTime:{time:"BedTime",type:D(),form:W(),dose:N(),result:H()}}},wA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(dr.Sleep)?"":t.includes(Xy.Morning)?"fast-acting form":"long-lasting form",f=r===uc.notPrefer,d=t.includes(Xy.Morning),h=n.includes(hi.WorkDayMornings),m=n.includes(hi.WorkDayBedtimes),w=n.includes(hi.NonWorkDayMornings),C=n.includes(hi.NonWorkDayEvenings),S=n.includes(hi.NonWorkDayBedtimes),E=i,A=s.includes(pu.inhalation),b=s.includes(pu.edibles),y=s.includes(pu.sublinguals),_=s.includes(pu.topicals),O=X4e(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:E,reasonToUse:o,C14:A,C15:b,C16:y,C17:_,M5:c}),P=K4e(e,{C10:S,reasonToUse:o,C14:A,C15:b,C16:y,C17:_,C3:d,C8:w,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:P,whyRecommended:(()=>f&&o.includes(dr.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(dr.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(dr.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(hi.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(hi.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.")()}},FE=()=>q("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x("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"}),x("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"})]}),Jy=e=>{switch(e){case"patch":return x(Ne.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return x("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x(FE,{});case"capsule":return x(FE,{});default:return x(Ne.CheckIcon,{className:"stroke-[5px]"})}},J4e=()=>{const{getSubmission:e}=$n(),{data:t}=gS({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=wA(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:uc.notSure}),s=At(),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 x(ft,{children:x("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:[x("header",{children:x(ce,{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:[x("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:x(Ne.CheckIcon,{className:"stroke-[5px]"})}),q("div",{className:"flex w-full flex-col md:w-[316px]",children:[x(ce,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),x(ce,{variant:"base",className:"underline",children:"Product types/forms."}),x(ce,{variant:"base",className:"underline",children:"Starting doses."}),x(ce,{variant:"base",className:"underline",children:"Times of uses."}),x(Et,{variant:"white",right:x(Ne.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Save Recommendations"})]})]}),q("article",{className:"flex-wor flex items-center justify-center gap-4",children:[x("div",{children:x("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:x(Ne.XMarkIcon,{className:"stroke-[3px]"})})}),q("div",{className:"flex w-[316px] flex-col",children:[x(ce,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),x(ce,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),x(ce,{variant:"base",className:"underline",children:"Clinician review & approval."}),x(ce,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),x(Et,{variant:"white",right:x(Ne.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),q("section",{children:[x("header",{children:x(ce,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),x("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:[x(ce,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(C)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:h}),x(ce,{className:"hidden md:block",children:m})]})]})]},d):x(Zr,{}))})]}),q("section",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),x("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:[x(ce,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(C)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:h}),x(ce,{className:"hidden md:block",children:m})]})]})]},d):x(Zr,{}))})]}),x("section",{children:q("header",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),x(ce,{className:"mb-8 mt-12",children:o})]})}),x("footer",{children:q(ce,{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,",x("a",{href:Se.register,className:"underline",children:"get your eo care plan now."})]})})]})})})},ege=()=>{const[e]=Jr(),t=e.get("submission_id"),r=e.get("union"),[n,i]=v.useState(!1),o=10,[s,c]=v.useState(0),{getSubmissionById:f}=$n(),{data:d}=gS({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===du.Pain||O.malady===du.Anxiety||O.malady===du.Sleep||O.malady===du.Other)&&i(!0),c(P=>P+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:w,whyRecommended:C}=wA({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)||uc.notSure}),S=O=>{let P="";switch(O.time){case"Morning":P="IN THE MORNINGS";break;case"Evening":P="IN THE EVENING";break;case"BedTime":P="AT BEDTIME";break}return{title:P,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),b=(h==null?void 0:h.thc_type_preferences)===uc.notPrefer,y=E.length||A.length,_=(O,P)=>q("section",{className:"mt-8",children:[x("header",{children:x(ce,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),x("main",{className:"flex flex-col gap-14",children:P.map(({title:D,label:W,description:N,form:H})=>q("article",{className:"gap-4 divide-y divide-gray-300",children:[x(ce,{className:"text-gray-600",children:D}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(H)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:W}),x(ce,{className:"hidden md:block",children:N})]})]})]},D))})]});return x(ft,{children:x("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:[x("header",{children:x(ce,{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:[x("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:x(Ne.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:[x(ce,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),x(ce,{variant:"base",font:"medium",children:"Product types/forms."}),x(ce,{variant:"base",font:"medium",children:"Starting doses."}),x(ce,{variant:"base",font:"medium",children:"Times of uses."}),x(Et,{id:"ga-save-recomendation",variant:"white",right:x(Ne.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:x(ce,{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:[x("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:x(Ne.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:[x(ce,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),x(ce,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),x(ce,{variant:"base",font:"medium",children:"Clinician review & approval."}),x(ce,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),x(Et,{id:"ga-continue-recomendation",variant:"white",right:x(Ne.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:x(ce,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!y?x(Zr,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:x(ce,{font:"medium",children:"Redirect"})}),x(ce,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),x("section",{children:q("header",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),x(ce,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),x("footer",{children:q(ce,{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,"," ",x("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."})]})})]})})})},tge=()=>{const e=At(),{channel:t,type:r,origin:n}=Yo(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?B3e:P3e;break}case"cancer":{o=r==="Patient"?S3e:R3e;break}}return Qo(()=>{setTimeout(()=>{Ac(o)},400)}),o===null&&e("/"),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:o&&x("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"}})})})},rge=()=>{const[e]=Jr(),{account:t,introQuestionSubmissionId:r,channel:n,usePayment:i}=Yo(m=>m),o=e.get("submission_id")||"",s=At();o||s(Se.userRolSelector);const{postCancerFormSubmission:c,postSeniorFormSubmission:f}=$n(),{mutate:d}=fn({mutationFn:n==="cancer"?c:f,mutationKey:["postCancerSeniorFormSubmission",o],onError:m=>{var w;ri.isAxiosError(m)?((w=m.response)==null?void 0:w.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>d({name:t.firstName,last_name:t.lastName,email:t.email,password:t.password,phone_number:t.phoneNumber,profiling_submission_id:o,intro_submission_id:r,agree_receive_notifications:t.agreeReceiveNotifications,agree_terms_and_conditions:t.agreeTermsAndConditions,channel:n})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-3xl",children:["You’ll be able to review your initial, personalized, clinician-approved care plan within 24 hours. When your care plan is ready, we will send you an email with a link to"," ",x("span",{className:"cursor-pointer underline",onClick:()=>{window.location.href=j3e},children:"log into your account."}),x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{pilot:n==="cancer"&&!i}),x(R3,{pilot:n==="cancer"&&!i}),x(A3,{})]})},nge=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")}),ige=()=>{var h,m;const{resetPassword:e}=$n(),[t,r]=v.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Ys({resolver:Ks(nge)}),c=At(),[f]=Jr(),{mutate:d}=fn({mutationFn:e,onSuccess:()=>{je.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&&je.error("Something went wrong"):je.error("Something went wrong")}});return v.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(Se.login)},[c,f,s]),x(ft,{children:q("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[x(ce,{variant:"large",font:"bold",children:"Reset your password"}),q("form",{className:"mt-10 flex flex-col ",onSubmit:w=>{o(C=>{d(C)})(w)},children:[x(_r,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?x(Ne.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}):x(Ne.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}),x(_r,{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(ce,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",x("br",{})," a capital letter, number, and special character"]}),x(Et,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},oge=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"]}),age=()=>{var d,h,m,w,C,S;const e=At(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Ys({resolver:Ks(oge)}),{mutate:s}=fn({mutationFn:G4e,onError:E=>{var A,b,y,_,O;if(ri.isAxiosError(E)){const P=(A=E.response)==null?void 0:A.data;(b=P.errors)!=null&&b.email&&o("email",{message:((y=P.errors.email.pop())==null?void 0:y.message)||""}),(_=P.errors)!=null&&_.password&&o("password",{message:((O=P.errors.password.pop())==null?void 0:O.message)||""})}else je.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 x(ft,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[q("div",{children:[x(ce,{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:[x(_r,{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}),x(_r,{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})]}),x(_r,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),x(_r,{id:"password",label:"Password",right:c?x(Ne.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}):x(Ne.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}),x(_r,{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(ce,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",x("br",{})," a capital letter, number, and special character"]}),x(Vy,{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(ce,{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 ",x("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."]})}),x(Et,{type:"submit",className:"mt-3",children:"Create account"}),q(ce,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",x(Ph,{to:Se.login,children:x("strong",{children:"Sign in"})})]})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},sge=()=>{const t=Go().state,r=At(),{mutate:n}=fn({mutationFn:yA,onSuccess:({data:i})=>{i?je.success("Email has been send."):je.error("Email hasn't been send")}});return v.useEffect(()=>{t!=null&&t.email||r(Se.login)},[r,t]),x(ft,{children:q("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",x("br",{})," Please verify to continue."]}),x("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"}),x(Et,{className:"mt-10",onClick:()=>n(t.email),left:x(Ne.EnvelopeIcon,{}),children:"Resend verification"})]})})},lge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Yo(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=At(),d=e==="Patient"?T3e:$3e;return e||f(Se.userRolSelector),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:d,searchParam:c})})})},uge=()=>{const[e]=Jr(),t=e.get("email")||"",r=e.get("symptoms")||"",n=e.get("profiled")??"patient",i=new URLSearchParams({email:t,symptoms:r});return x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:n==="patient"?M3e:D3e,searchParam:i})})})},cge=()=>{const[e]=Jr(),t=e.get("submission_id")||"",r=At();t||r("/");const{postSeniorSurveyFormSubmission:n}=$n(),{mutate:i}=fn({mutationFn:n,mutationKey:["postSeniorSurveyFormSubmission",t],onError:o=>{var s;ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>i({submission_id:t})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{}),x(R3,{}),x(A3,{})]})},fge=()=>{const e=Go(),t=At(),{zip:r}=e.state;return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this eo offering is not currently"," ",x("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",x("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),q("div",{className:"mt-10 flex flex-row justify-center",children:[x(Et,{className:"text-center",onClick:()=>t(Se.zipCodeValidation),children:"Back"}),x(Et,{variant:"secondary",onClick:()=>t(Se.home),className:"ml-4",children:"Continue"})]})]})})},dge=()=>{const e=At(),[t]=Jr(),[r,n]=v.useState(null),i=t.get("origin")??"localhost:5173",o=t.get("channel"),s=t.get("symptoms")??"",{setChannel:c,setType:f,setSymptoms:d,setUsePayment:h,resetProfilingStore:m,setOrigin:w}=Yo(S=>S),C=S=>{w(i),d(s.split(",")),c(o),f(S),e(Se.introQuestions)};return Qo(()=>{m();const S=t.get("p")??"yes";window.data.isPartnerSite(i)||S==="no"?h(!1):h(!0)}),x(ft,{children:x("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(ce,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",x("span",{className:"text-red-600",children:"*"})]}),q("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[q("button",{className:De("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:[x("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),x("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:De("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:[x("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),x("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:[x(Et,{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)?o==="senior"?window.location.href=`https://${window.location.host}/you/seniors-careplan#seniors-panel`:o==="cancer"?window.location.href=`https://${window.location.host}/you/cancer-careplan#cancer-panel`:history.back():window.data.isPartnerSite(i)?window.location.href=`https://${window.location.host}/pilot#how-eo-care-plans-works`:history.back()},left:x(Ne.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:x("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),x(Et,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:x(Ne.RightArrow,{className:"h-6 w-6"}),onClick:()=>C(r),children:"NEXT"}),x(Et,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:x(Ne.RightArrow,{className:"h-6 w-6"}),onClick:()=>C(r)})]})]})})})},xA=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}=$n(),{triggerViewEvent:t}=xA(eA);v.useEffect(t,[t]);const r=At(),n=No(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Ys({resolver:Ks(pge)}),{mutate:d}=fn({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"}):je.error("Something went wrong")}});return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[x(ce,{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:[x(_r,{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}),x(Et,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},mge=()=>(v.useEffect(()=>{Ac(Q4)}),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("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=At(),[t,r]=v.useState(!1),{combineProfileOne:n}=$n(),[i]=Jr();i.get("submission_id")||e(Se.login);const{mutate:o}=fn({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]),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[x(ce,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),x(Et,{type:"button",className:"mt-10",onClick:()=>e(Se.prePlan),children:"Continue!"})]})})},gge=()=>(v.useEffect(()=>{Ac(Y4)}),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("iframe",{id:`JotFormIFrame-${Y4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${Y4}`,className:"h-full w-full"})})})),yge=()=>{const e=At(),[t,r]=v.useState(!1),{combineProfileOne:n}=$n(),[i]=Jr(),{triggerCompletionEvent:o}=xA(eA);i.get("submission_id")||e(Se.login);const{mutate:s}=fn({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]),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[q(ce,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",x("br",{}),x("br",{})," In a few minutes we will send you by email."," ",x("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),x(Et,{type:"button",className:"mt-10",onClick:()=>e(Se.home),children:"Go home"})]})})},wge=()=>{const[e]=Jr(),t=Yo(s=>s.usePayment),r=e.get("submission_id")??"",n=At();r||n("/");const{postCancerSurveyFormSubmission:i}=$n(),{mutate:o}=fn({mutationFn:i,mutationKey:["postCancerSurveyFormSubmission",r],onError:s=>{var c;ri.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>o({submission_id:r})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{pilot:!t}),x(R3,{pilot:!t}),x(A3,{})]})},xge=()=>q(yN,{children:[q(rt,{element:x(k4,{expected:"loggedOut"}),children:[x(rt,{element:x(Y4e,{}),path:Se.login}),x(rt,{element:x(age,{}),path:Se.register}),x(rt,{element:x(sge,{}),path:Se.registrationComplete}),x(rt,{element:x(U4e,{}),path:Se.forgotPassword}),x(rt,{element:x(ige,{}),path:Se.recoveryPassword}),x(rt,{element:x(ege,{}),path:Se.prePlanV2})]}),q(rt,{element:x(k4,{expected:"withZipCode"}),children:[x(rt,{element:x(q4e,{}),path:Se.home}),x(rt,{element:x(fge,{}),path:Se.unavailableZipCode}),x(rt,{element:x(W4e,{}),path:Se.eligibleProfile}),x(rt,{element:x(mge,{}),path:Se.profilingOne}),x(rt,{element:x(vge,{}),path:Se.profilingOneRedirect}),x(rt,{element:x(gge,{}),path:Se.profilingTwo}),x(rt,{element:x(yge,{}),path:Se.profilingTwoRedirect}),x(rt,{element:x(J4e,{}),path:Se.prePlan})]}),x(rt,{element:x(k4,{expected:["withoutZipCode","withZipCode"]}),children:x(rt,{element:x(hge,{}),path:Se.zipCodeValidation})}),x(rt,{element:x(V4e,{}),path:Se.emailVerification}),x(rt,{element:x(dge,{}),path:Se.userRolSelector}),x(rt,{element:x(tge,{}),path:Se.introQuestions}),x(rt,{element:x(H3e,{}),path:Se.accountSetup}),x(rt,{element:x(rge,{}),path:Se.profilingThankYou}),x(rt,{element:x(j4e,{}),path:Se.cancerForm}),x(rt,{element:x(z4e,{}),path:Se.cancerSurvey}),x(rt,{element:x(wge,{}),path:Se.cancerSurveyThankYou}),x(rt,{element:x(U3e,{}),path:Se.athleteSurvey}),x(rt,{element:x(D4e,{}),path:Se.athleteSurveyThankYou}),x(rt,{element:x(lge,{}),path:Se.seniorForm}),x(rt,{element:x(uge,{}),path:Se.seniorSurvey}),x(rt,{element:x(cge,{}),path:Se.seniorSurveyThankYou})]});const bge=new WN;function Cge(){return q(rj,{client:bge,children:[x(xge,{}),x(l7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Pz.VITE_APP_ENV==="local"&&x(vj,{initialIsOpen:!1})]})}ig.createRoot(document.getElementById("root")).render(x(he.StrictMode,{children:x(_N,{children:x(Cge,{})})})); + shadow-lg md:px-[60px] md:py-20`,children:[x(ce,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),x(ce,{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:[x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[x("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."]})}),x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",x("a",{href:"tel:877-707-0706",className:"underline decoration-1 underline-offset-8",children:"877-707-0706"})]})}),x("li",{children:q(ce,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",x("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},ft=({children:e})=>x("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:[x(W3e,{}),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},Yo=IS()(LS((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"})),V3e=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"})}),H3e=()=>{var b,y,_,O,P,D,W,N,H,V;const e=At(),[t]=Jr(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=Yo(Z=>Z),{eligibleEmail:f}=$n(),[d,h]=v.useState(!1),{formState:{errors:m},handleSubmit:w,register:C,setError:S}=Ys({resolver:Ks(V3e),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 Qo(()=>{const Z=t.get("submission_id"),Q=t.get("state"),a=t.get("experience")??"";Z?(s(Q),i(Z),c(a)):je.error(q("p",{children:["Impossible to continue without",x("br",{})," a submission id"]}))}),x(ft,{children:x("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:[x(ce,{variant:"large",font:"semiBold",className:De("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:[x(_r,{id:"firstName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("firstName"),error:(b=m.firstName)==null?void 0:b.message,placeholder:"First Name*"}),x(_r,{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:[x(_r,{id:"email",placeholder:"Email*",type:"email",left:x(Ne.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(_=m.email)==null?void 0:_.message}),x(_r,{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:[x(_r,{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:(P=m.phoneNumber)==null?void 0:P.message}),q("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[x(Vy,{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:x(ce,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light ",((W=m.agreeReceiveNotifications)==null?void 0:W.message)&&"text-red-500"),children:"I agree to receive emails and text messages related to my care."})}),x(Vy,{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(ce,{variant:"small",font:"regular",className:De("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"," ",x("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:[x(ce,{className:De("mx-auto my-0 hidden font-nunito text-white md:block",!!E&&"text-red-300"),variant:"small",children:E?(V=m.password)!=null&&V.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!"}),x(Et,{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:x(Ne.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Ac=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")return;var o=i.data.split(":");let s;if(o.length>2?s=document.getElementById("JotFormIFrame-"+o[o.length-1]):s=document.getElementById("JotFormIFrame"),!!s){switch(o[0]){case"scrollIntoView":s.scrollIntoView();break;case"setHeight":s.style.height=o[1]+"px",!isNaN(o[1])&&parseInt(s.style.minHeight)>parseInt(o[1])&&(s.style.minHeight=o[1]+"px");break;case"collapseErrorPage":s.clientHeight>window.innerHeight&&(s.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 c=o[1];o.length>3&&(c=o[1]+":"+o[2]);var f=document.createElement("script");f.src=c,f.type="text/javascript",document.body.appendChild(f);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 d=i.origin.indexOf("jotform")>-1;if(d&&"contentWindow"in s&&"postMessage"in s.contentWindow){var h={docurl:encodeURIComponent(document.URL),referrer:encodeURIComponent(document.referrer)};s.contentWindow.postMessage(JSON.stringify({type:"urls",value:h}),"*")}}},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)}},U3e=()=>{const[e]=Jr(),t=e.get("email")||"",r=e.get("symptoms")||"";return v.useEffect(()=>{Ac(K4)},[]),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("iframe",{id:`JotFormIFrame-${K4}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${K4}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},k3=({children:e})=>q("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px] pb-10",children:[x(ce,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),x("br",{}),e]}),q3e=[{step:"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:Ne.ProfileIconWhite},{step:"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:Ne.HandHeartWhite},{step:"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:Ne.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you sample your recommended products, doses and times of use, we’ll check in via message/email and ask you to complete brief, periodic surveys.",icon:Ne.FeedBackWhite},{step:"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:Ne.CalendarChecked},{step:"ALWAYS",title:"Be supported",content:"You can message 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:Ne.SupportIconWhite}],Z3e=[{step:"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:Ne.ProfileIconWhite},{step:"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:Ne.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"Review your plan and schedule a time to pick-up your products at dispensary near you. We’ll order your products for you. You just pick-up and pay.",icon:Ne.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you sample your recommended products, doses and times of use, we’ll check in via message/email and ask you to complete brief, periodic surveys.",icon:Ne.FeedBackWhite},{step:"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:Ne.CalendarChecked},{step:"ALWAYS",title:"Be supported",content:"You can message 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:Ne.SupportIconWhite}],G3e=[{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(Zr,{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.",x("br",{}),x("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(Zr,{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.",x("br",{}),x("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.",x("br",{}),x("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."}],Q3e=[{title:"How much does eo cost?",content:"eo costs $14 per month for your clinician-reviewed plan, ongoing plan optimization based on your feedback and unlimited phone calls and in-app messaging with our care team. You can cancel your subscription any time. Note that the cost of your recommended products is NOT included in your plan unless you’re participating in an eo clinical pilot."},{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 your recommended products, we’ll order your THC products for you and let you know when they’re ready for pick-up. You can order any non-THC products (e.g. CBD, CBN or CBG products) direct from our recommended retail partners for home delivery."},{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(Zr,{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.",x("br",{}),x("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(Zr,{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.",x("br",{}),x("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.",x("br",{}),x("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 PE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Cw(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&&Cw(e[r],t[r])})}const rA={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 ol(){const e=typeof document<"u"?document:{};return Cw(e,rA),e}const Y3e={document:rA,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 pn(){const e=typeof window<"u"?window:{};return Cw(e,Y3e),e}function K3e(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function X3e(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 Wm(){return Date.now()}function J3e(e){const t=pn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function eve(e,t){t===void 0&&(t="x");const r=pn();let n,i,o;const s=J3e(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 j1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function tve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function nn(){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 xi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function Vm(e){try{console.warn(e);return}catch{}}function sc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:K3e(t)),r}function rve(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 nve(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 Oo(e,t){return pn().getComputedStyle(e,null).getPropertyValue(t)}function lc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function iA(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=pn();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 oA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=xi(e.el,`.${n[i]}`)[0];o||(o=sc("div",n[i]),o.className=n[i],e.el.append(o)),r[i]=o,t[i]=o}}),r}function ive(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 b=t.params.navigation;E=o(E),E.forEach(y=>{y&&(y.classList[A?"add":"remove"](...b.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=A),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](b.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=oA(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),b=s(E.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:b}),A=o(A),b=o(b);const y=(_,O)=>{_&&_.addEventListener("click",O==="next"?h:d),!t.enabled&&_&&_.classList.add(...E.lockClass.split(" "))};A.forEach(_=>y(_,"next")),b.forEach(_=>y(_,"prev"))}function w(){let{nextEl:E,prevEl:A}=t.navigation;E=o(E),A=o(A);const b=(y,_)=>{y.removeEventListener("click",_==="next"?h:d),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};E.forEach(y=>b(y,"next")),A.forEach(y=>b(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(b=>!!b).forEach(b=>b.classList.add(t.params.navigation.lockClass))}),n("click",(E,A)=>{let{nextEl:b,prevEl:y}=t.navigation;b=o(b),y=o(y);const _=A.target;if(t.params.navigation.hideOnClick&&!y.includes(_)&&!b.includes(_)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===_||t.pagination.el.contains(_)))return;let O;b.length?O=b[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(O=y[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...b,...y].filter(P=>!!P).forEach(P=>P.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 _o(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ove(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(_o(t.params.pagination.bulletClass));if(!_)return;y.preventDefault();const O=lc(_)*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 P,D;const W=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,N=t.params.loop?Math.ceil(W/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(D=t.previousRealIndex||0,P=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(P=t.snapIndex,D=t.previousSnapIndex):(D=t.previousIndex||0,P=t.activeIndex||0),_.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const H=t.pagination.bullets;let V,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+=P-(D||0),c>_.dynamicMainBullets-1?c=_.dynamicMainBullets-1:c<0&&(c=0)),V=Math.max(P-c,0),Z=V+(Math.min(H.length,_.dynamicMainBullets)-1),Q=(Z+V)/2),H.forEach(a=>{const T=[...["","-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(...T)}),O.length>1)H.forEach(a=>{const T=lc(a);T===P?a.classList.add(..._.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),_.dynamicBullets&&(T>=V&&T<=Z&&a.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),T===V&&h(a,"prev"),T===Z&&h(a,"next"))});else{const a=H[P];if(a&&a.classList.add(..._.bulletActiveClass.split(" ")),t.isElement&&H.forEach((T,M)=>{T.setAttribute("part",M===P?"bullet-active":"bullet")}),_.dynamicBullets){const T=H[V],M=H[Z];for(let G=V;G<=Z;G+=1)H[G]&&H[G].classList.add(...`${_.bulletActiveClass}-main`.split(" "));h(T,"prev"),h(M,"next")}}if(_.dynamicBullets){const a=Math.min(H.length,_.dynamicMainBullets+4),T=(s*a-s)/2-Q*s,M=y?"right":"left";H.forEach(G=>{G.style[t.isHorizontal()?M:"top"]=`${T}px`})}}O.forEach((H,V)=>{if(_.type==="fraction"&&(H.querySelectorAll(_o(_.currentClass)).forEach(Z=>{Z.textContent=_.formatFractionCurrent(P+1)}),H.querySelectorAll(_o(_.totalClass)).forEach(Z=>{Z.textContent=_.formatFractionTotal(N)})),_.type==="progressbar"){let Z;_.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Q=(P+1)/N;let a=1,T=1;Z==="horizontal"?a=Q:T=Q,H.querySelectorAll(_o(_.progressbarFillClass)).forEach(M=>{M.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${T})`,M.style.transitionDuration=`${t.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(H.innerHTML=_.renderCustom(t,P+1,N),V===0&&i("paginationRender",H)):(V===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 P="";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 W=0;W`}y.type==="fraction"&&(y.renderFraction?P=y.renderFraction.call(t,y.currentClass,y.totalClass):P=` / `),y.type==="progressbar"&&(y.renderProgressbar?P=y.renderProgressbar.call(t,y.progressbarFillClass):P=``),t.pagination.bullets=[],O.forEach(D=>{y.type!=="custom"&&(D.innerHTML=P||""),y.type==="bullets"&&t.pagination.bullets.push(...D.querySelectorAll(_o(y.bulletClass)))}),y.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=oA(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=>iA(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?b():(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,P=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&P&&P.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=P[0].classList.contains(t.params.pagination.hiddenClass);i(D===!0?"paginationShow":"paginationHide"),P.forEach(W=>W.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()},b=()=>{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:b,render:C,update:w,init:S,destroy:E})}function ave(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(T){const M=i;M.length!==0&&(M.innerHTML="",M.innerHTML=T)}const s=T=>(Array.isArray(T)?T:[T]).filter(M=>!!M);function c(T){T===void 0&&(T=16);const M=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(T).replace(/x/g,M)}function f(T){T=s(T),T.forEach(M=>{M.setAttribute("tabIndex","0")})}function d(T){T=s(T),T.forEach(M=>{M.setAttribute("tabIndex","-1")})}function h(T,M){T=s(T),T.forEach(G=>{G.setAttribute("role",M)})}function m(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-roledescription",M)})}function w(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-controls",M)})}function C(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-label",M)})}function S(T,M){T=s(T),T.forEach(G=>{G.setAttribute("id",M)})}function E(T,M){T=s(T),T.forEach(G=>{G.setAttribute("aria-live",M)})}function A(T){T=s(T),T.forEach(M=>{M.setAttribute("aria-disabled",!0)})}function b(T){T=s(T),T.forEach(M=>{M.setAttribute("aria-disabled",!1)})}function y(T){if(T.keyCode!==13&&T.keyCode!==32)return;const M=t.params.a11y,G=T.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(T.target))&&!T.target.matches(_o(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(_o(t.params.pagination.bulletClass))&&G.click())}function _(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:T,prevEl:M}=t.navigation;M&&(t.isBeginning?(A(M),d(M)):(b(M),f(M))),T&&(t.isEnd?(A(T),d(T)):(b(T),f(T)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function P(){return O()&&t.params.pagination.clickable}function D(){const T=t.params.a11y;O()&&t.pagination.bullets.forEach(M=>{t.params.pagination.clickable&&(f(M),t.params.pagination.renderBullet||(h(M,"button"),C(M,T.paginationBulletMessage.replace(/\{\{index\}\}/,lc(M)+1)))),M.matches(_o(t.params.pagination.bulletActiveClass))?M.setAttribute("aria-current","true"):M.removeAttribute("aria-current")})}const W=(T,M,G)=>{f(T),T.tagName!=="BUTTON"&&(h(T,"button"),T.addEventListener("keydown",y)),C(T,G),w(T,M)},N=()=>{t.a11y.clicked=!0},H=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},V=T=>{if(t.a11y.clicked)return;const M=T.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||T.sourceCapabilities&&T.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(M),0))},Z=()=>{const T=t.params.a11y;T.itemRoleDescriptionMessage&&m(t.slides,T.itemRoleDescriptionMessage),T.slideRole&&h(t.slides,T.slideRole);const M=t.slides.length;T.slideLabelMessage&&t.slides.forEach((G,ae)=>{const Y=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):ae,re=T.slideLabelMessage.replace(/\{\{index\}\}/,Y+1).replace(/\{\{slidesLength\}\}/,M);C(G,re)})},Q=()=>{const T=t.params.a11y;t.el.append(i);const M=t.el;T.containerRoleDescriptionMessage&&m(M,T.containerRoleDescriptionMessage),T.containerMessage&&C(M,T.containerMessage);const G=t.wrapperEl,ae=T.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=>W(xe,ae,T.nextSlideMessage)),ve&&ve.forEach(xe=>W(xe,ae,T.prevSlideMessage)),P()&&s(t.pagination.el).forEach(Pe=>{Pe.addEventListener("keydown",y)}),t.el.addEventListener("focus",V,!0),t.el.addEventListener("pointerdown",N,!0),t.el.addEventListener("pointerup",H,!0)};function a(){i&&i.remove();let{nextEl:T,prevEl:M}=t.navigation?t.navigation:{};T=s(T),M=s(M),T&&T.forEach(G=>G.removeEventListener("keydown",y)),M&&M.forEach(G=>G.removeEventListener("keydown",y)),P()&&s(t.pagination.el).forEach(ae=>{ae.removeEventListener("keydown",y)}),t.el.removeEventListener("focus",V,!0),t.el.removeEventListener("pointerdown",N,!0),t.el.removeEventListener("pointerup",H,!0)}n("beforeInit",()=>{i=sc("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 X4;function sve(){const e=pn(),t=ol();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function aA(){return X4||(X4=sve()),X4}let J4;function lve(e){let{userAgent:t}=e===void 0?{}:e;const r=aA(),n=pn(),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 uve(e){return e===void 0&&(e={}),J4||(J4=lve(e)),J4}let eg;function cve(){const e=pn();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 fve(){return eg||(eg=cve()),eg}function dve(e){let{swiper:t,on:r,emit:n}=e;const i=pn();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:b,contentRect:y,target:_}=A;_&&_!==t.el||(S=y?y.width:(b[0]||b).inlineSize,E=y?y.height:(b[0]||b).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 pve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=pn(),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=iA(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 hve={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 mve(){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(Oo(n,"padding-left")||0,10)-parseInt(Oo(n,"padding-right")||0,10),r=r-parseInt(Oo(n,"padding-top")||0,10)-parseInt(Oo(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 vve(){const e=this;function t(V,Z){return parseFloat(V.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=xi(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 b=e.snapGrid.length,y=e.slidesGrid.length;let _=r.spaceBetween,O=-E,P=0,D=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*o:typeof _=="string"&&(_=parseFloat(_)),e.virtualSize=-_,h.forEach(V=>{s?V.style.marginLeft="":V.style.marginRight="",V.style.marginBottom="",V.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(z1(n,"--swiper-centered-offset-before",""),z1(n,"--swiper-centered-offset-after",""));const W=r.grid&&r.grid.rows>1&&e.grid;W?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let N;const H=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(V=>typeof r.breakpoints[V].slidesPerView<"u").length>0;for(let V=0;V1&&w.push(e.virtualSize-o)}if(f&&r.loop){const V=S[0]+_;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Q=V*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Q!==h.length-1).forEach(Z=>{Z.style[V]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let V=0;S.forEach(Q=>{V+=Q+(_||0)}),V-=_;const Z=V-o;w=w.map(Q=>Q<=0?-E:Q>Z?Z+A:Q)}if(r.centerInsufficientSlides){let V=0;if(S.forEach(Z=>{V+=Z+(_||0)}),V-=_,V{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){z1(n,"--swiper-centered-offset-before",`${-w[0]}px`),z1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const V=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Q=>Q+V),e.slidesGrid=e.slidesGrid.map(Q=>Q+Z)}if(m!==d&&e.emit("slidesLengthChange"),w.length!==b&&(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 V=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(V);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(V):Z&&e.el.classList.remove(V)}}function gve(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 yve(){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 xve(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 bve(){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=>xi(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=nve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=rve(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const nh=(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()}},tg=(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)&&tg(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)&&tg(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 Eve(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=Cve(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 _ve(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 b=-f[A];if(c.normalizeSlideIndex)for(let _=0;_=P&&O=P&&O=P&&(s=_)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(w?b>o.translate&&b>o.minTranslate():bo.translate&&b>o.maxTranslate()&&(m||0)!==s))return!1;s!==(h||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(b);let y;if(s>m?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[_?"scrollLeft":"scrollTop"]=O})):C[_?"scrollLeft":"scrollTop"]=O,P&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return nA({swiper:o,targetPosition:O,side:_?"left":"top"}),!0;C.scrollTo({[_?"left":"top"]:O,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),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 Dve(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 Fve(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 Nve(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(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const C=w(m),S=o.map(b=>w(b));let E=o[S.indexOf(C)-1];if(typeof E>"u"&&i.cssMode){let b;o.forEach((y,_)=>{C>=y&&(b=_)}),typeof b<"u"&&(E=o[b>0?b-1:b])}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 b=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(b,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 jve(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 zve(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 Wve(){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(xi(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(xi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Gy(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var Vve={slideTo:Mve,slideToLoop:Dve,slideNext:Fve,slidePrev:Nve,slideReset:jve,slideToClosest:zve,slideToClickedSlide:Wve};function Hve(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{xi(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]):P=o;const D=n==="next"||!n,W=n==="prev"||!n;let N=0,H=0;const V=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(V-T-1)}}else if(Q+E>V-b){H=Math.max(Q-(V-b*2),A);for(let a=0;a{M.column===T&&O.push(G)}):O.push(T)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),W&&_.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&&W||O.length>0&&D)&&f.slides.forEach((a,T)=>{f.grid.updateSlide(T,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(_.length>0&&W){if(typeof t>"u"){const a=f.slidesGrid[P],M=f.slidesGrid[P+N]-a;c?f.setTranslate(f.translate-M):(f.slideTo(P+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[P],M=f.slidesGrid[P-H]-a;c?f.setTranslate(f.translate-M):(f.slideTo(P-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(T=>{!T.destroyed&&T.params.loop&&T.loopFix({...a,slideTo:T.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 qve(){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 Zve={loopCreate:Hve,loopFix:Uve,loopDestroy:qve};function Gve(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 Qve(){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 Yve={setGrabCursor:Gve,unsetGrabCursor:Qve};function Kve(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ol()||n===pn())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 TE(e,t,r){const n=pn(),{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 Xve(e){const t=this,r=ol();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"){TE(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?Kve(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(!TE(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=Wm(),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 Jve(e){const t=ol(),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=Wm());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 b=r.params.loop&&!i.cssMode,y=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(b&&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&&b&&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,P=i.resistanceRatio;if(i.touchReleaseOnEdges&&(P=0),S>0?(b&&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)**P))):S<0&&(b&&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 e4e(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(P=>P.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=Wm(),w=m-r.touchStartTime;if(t.allowClick){const P=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(P&&P[0]||n.target,P),t.emit("tap click",n),w<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Wm(),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 P=0;P=d[P]&&C=d[P])&&(E=P,A=d[d.length-1]-d[d.length-2])}let b=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&&(b=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?b: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(b!==null?b:E+O),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:E))}}function $E(){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 t4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function r4e(){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 n4e(e){const t=this;nh(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function i4e(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const lA=(e,t)=>{const r=ol(),{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",$E,!0):e[d]("observerUpdate",$E,!0),i[f]("load",e.onLoad,{capture:!0})};function o4e(){const e=this,{params:t}=e;e.onTouchStart=Xve.bind(e),e.onTouchMove=Jve.bind(e),e.onTouchEnd=e4e.bind(e),e.onDocumentTouchStart=i4e.bind(e),t.cssMode&&(e.onScroll=r4e.bind(e)),e.onClick=t4e.bind(e),e.onLoad=n4e.bind(e),lA(e,"on")}function a4e(){lA(this,"off")}var s4e={attachEvents:o4e,detachEvents:a4e};const ME=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function l4e(){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=ME(e,n),h=ME(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(b=>{if(typeof f[b]>"u")return;const y=n[b]&&n[b].enabled,_=f[b]&&f[b].enabled;y&&!_&&e[b].disable(),!y&&_&&e[b].enable()});const w=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||w),S=n.loop;w&&r&&e.changeDirection(),nn(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 u4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=pn(),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 d4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=f4e(["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 p4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var h4e={addClasses:d4e,removeClasses:p4e};function m4e(){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 v4e={checkOverflow:m4e},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 g4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){nn(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)){nn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),nn(t,n)}}const rg={eventsEmitter:hve,update:kve,translate:Lve,transition:$ve,slide:Vve,loop:Zve,grabCursor:Yve,events:s4e,breakpoints:c4e,checkOverflow:v4e,classes:h4e},ng={};let Ew=class Fi{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=nn({},r,{el:m});h.push(new Fi(w))}),h}const c=this;c.__swiper__=!0,c.support=aA(),c.device=uve({userAgent:r.userAgent}),c.browser=fve(),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:g4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=nn({},Ky,f);return c.params=nn({},d,ng,r),c.originalParams=nn({},c.params),c.passedParams=nn({},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=xi(r,`.${n.slideClass}, swiper-slide`),o=lc(i[0]);return lc(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=xi(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&&nh(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()):xi(n,i())[0])();return!s&&r.params.createElements&&(s=sc("div",r.params.wrapperClass),n.append(s),xi(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"||Oo(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Oo(n,"direction")==="rtl"),wrongRTL:Oo(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?nh(r,o):o.addEventListener("load",s=>{nh(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,X3e(n)),n.destroyed=!0),null}static extendDefaults(t){nn(ng,t)}static get extendedDefaults(){return ng}static get defaults(){return Ky}static installModule(t){Fi.prototype.__modules__||(Fi.prototype.__modules__=[]);const r=Fi.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>Fi.installModule(r)),Fi):(Fi.installModule(t),Fi)}};Object.keys(rg).forEach(e=>{Object.keys(rg[e]).forEach(t=>{Ew.prototype[t]=rg[e][t]})});Ew.use([dve,pve]);const uA=["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 Da(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Os(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]:Da(t[n])&&Da(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Os(e[n],t[n]):e[n]=t[n]})}function cA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function fA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function dA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function pA(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 y4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function w4e(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,b,y,_,O,P,D,W;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&&(b=!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?P=!0:!h.loop&&n.loop?D=!0:W=!0),d.forEach(H=>{if(Da(h[H])&&Da(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 V=n[H];(V===!0||V===!1)&&(H==="navigation"||H==="pagination"||H==="scrollbar")?V===!1&&N(H):h[H]=n[H]}}),d.includes("controller")&&!b&&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&&(W=!0),A&&E.init()&&E.update(!0),b&&(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),(P||W)&&t.loopDestroy(),(D||W)&&t.loopCreate(),t.update()}function x4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Os(r,Ky),r._emitClasses=!0,r.init=!1;const o={},s=uA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?Da(e[f])?(r[f]={},i[f]={},Os(r[f],e[f]),Os(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 b4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;cA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),fA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),dA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function C4e(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 uA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(Da(e[f])&&Da(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 E4e=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 Hm(){return Hm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{hA(r)?t.push(r):r.props&&r.props.children&&mA(r.props.children).forEach(n=>t.push(n))}),t}function _4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(hA(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=mA(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 k4e(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 Su(e,t){return typeof window>"u"?v.useEffect(e,t):v.useLayoutEffect(e,t)}const DE=v.createContext(null),S4e=v.createContext(null),vA=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),b=v.useRef(null),y=v.useRef(null),_=v.useRef(null),O=v.useRef(null),P=v.useRef(null),D=v.useRef(null),W=v.useRef(null),{params:N,passedParams:H,rest:V,events:Z}=x4e(c),{slides:Q,slots:a}=_4e(o),T=()=>{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,b.current=new Ew(re),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=Q;const ve={cache:!1,slides:Q,renderExternal:w,renderExternalUpdate:!1};Os(b.current.params.virtual,ve),Os(b.current.originalParams.virtual,ve)}};A.current||M(),b.current&&b.current.on("_beforeBreakpoint",T);const G=()=>{f||!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.on(re,Z[re])})},ae=()=>{!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.off(re,Z[re])})};v.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",T)}),v.useEffect(()=>{!E.current&&b.current&&(b.current.emitSlidesClasses(),E.current=!0)}),Su(()=>{if(t&&(t.current=A.current),!!A.current)return b.current.destroyed&&M(),b4e({el:A.current,nextEl:O.current,prevEl:P.current,paginationEl:D.current,scrollbarEl:W.current,swiper:b.current},N),s&&s(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),Su(()=>{G();const re=C4e(H,y.current,Q,_.current,ve=>ve.key);return y.current=H,_.current=Q,re.length&&b.current&&!b.current.destroyed&&w4e({swiper:b.current,slides:Q,passedParams:H,changedParams:re,nextEl:O.current,prevEl:P.current,scrollbarEl:W.current,paginationEl:D.current}),()=>{ae()}}),Su(()=>{E4e(b.current)},[m]);function Y(){return N.virtual?k4e(b.current,Q,m):Q.map((re,ve)=>he.cloneElement(re,{swiper:b.current,swiperSlideIndex:ve}))}return he.createElement(n,Hm({ref:A,className:pA(`${d}${r?` ${r}`:""}`)},V),he.createElement(S4e.Provider,{value:b.current},a["container-start"],he.createElement(i,{className:y4e(N.wrapperClass)},a["wrapper-start"],Y(),a["wrapper-end"]),cA(N)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:P,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),dA(N)&&he.createElement("div",{ref:W,className:"swiper-scrollbar"}),fA(N)&&he.createElement("div",{ref:D,className:"swiper-pagination"}),a["container-end"]))});vA.displayName="Swiper";const gA=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,P,D){P===m.current&&C(D)}Su(()=>{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)}}}),Su(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const b={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(b):n,_=()=>{E(!0)};return he.createElement(r,Hm({ref:m,className:pA(`${w}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:_},h),s&&he.createElement(DE.Provider,{value:b},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(DE.Provider,{value:b},y(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});gA.displayName="SwiperSlide";const R4e=({children:e})=>{const t=tA(),r=z3e(),n=v.useRef();return q("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[x("button",{className:De("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:x(Ne.EoLeftArrowIcon,{})}),x("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:x(vA,{slidesPerGroup:r?3:1,loop:!0,modules:[ive,ove,ave],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)=>x(v.Fragment,{children:x(gA,{children:x("div",{className:"mb-12",children:i})})},`${o}`))})}),x("button",{className:De("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:x(Ne.EoRightArrowIcon,{})})]})},S3=({pilot:e=!1})=>q("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[x(ce,{font:"bold",variant:"large",className:"mb-20 text-center",children:e?"How the eo Pilot Works":"How eo Care Plans Work"}),x(R4e,{children:(e?q3e:Z3e).map(({title:r,content:n,step:i,icon:o})=>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:[x("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:x(o,{className:"h-9 w-[37px]"})}),x(ce,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:i}),x(ce,{font:"bold",className:"text-xl",children:r}),x(ce,{className:"text-center text-lg md:text-left",children:n})]},i))})]}),ih=v;function A4e({title:e,titleId:t,...r},n){return ih.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?ih.createElement("title",{id:t},e):null,ih.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 O4e=ih.forwardRef(A4e);var I4e=O4e;const oh=v;function L4e({title:e,titleId:t,...r},n){return oh.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?oh.createElement("title",{id:t},e):null,oh.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 B4e=oh.forwardRef(L4e);var P4e=B4e,T4e=I4e,$4e=P4e;const M4e=({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"?x(ce,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,x("div",{children:n?x(T4e,{className:"h-8 w-8"}):x($4e,{className:"h-8 w-8"})})]}),q("div",{className:De("mt-4 flex w-full flex-row overflow-hidden",n?"h-auto":"h-0"),style:{transition:"0,4s ease-out",willChange:"width height"},children:[x("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},R3=({pilot:e=!1})=>x("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:[x(ce,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),x("div",{className:"flex flex-col gap-6",children:(e?G3e:Q3e).map(({title:r,content:n})=>x(M4e,{title:r,active:!1,children:x(ce,{className:"text-[18px] leading-[26px] text-gray-800",children:n})},r))})]})});function A3(){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:[x(Ne.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),q(ce,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",x("br",{className:"hidden md:block"}),"cannabis company."]}),x(ce,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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"}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),x(ce,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),x("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"}),x(ce,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),x("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"}),x(ce,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),x("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:[x(ce,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),x("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"}),x("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"}),x("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 D4e=()=>{const[e]=Jr(),t=e.get("submission_id")||"",r=At();t||r("/");const{postAthleteSurveyFormSubmission:n}=$n(),{mutate:i}=fn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>i({submission_id:t})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{}),x(R3,{}),x(A3,{})]})},F4e=({formId:e,searchParam:t})=>{const r=v.useRef(null);return Qo(()=>{Ac(e),setTimeout(()=>{r!=null&&r.current&&(r.current.style.opacity="100")},1700)},[e,t]),x("iframe",{ref:r,src:`https://form.jotform.com/${e}?${t?t.toString():""}`,id:`JotFormIFrame-${e}`,title:"",onLoad:()=>{window.parent.scrollTo(0,0)},allow:"geolocation; microphone; camera",allowFullScreen:!0,className:"h-full w-full min-w-full border-none opacity-0"})},N4e=()=>{const[e,t]=v.useState(!0);return v.useEffect(()=>{setTimeout(()=>{t(!1)},1200)}),x(Zr,{children:e&&x("div",{className:"right-[calc(50%-20px)] top-1/2 h-12 w-12 animate-spin rounded-full border-4 border-gray-200 border-t-gray-1000",style:{position:"absolute"}})})},O3=({formId:e,searchParam:t})=>q(Zr,{children:[x(N4e,{}),x(F4e,{formId:e,searchParam:t})]}),j4e=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Yo(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=At(),d=e==="Patient"?A3e:O3e;return e||f(Se.userRolSelector),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:d,searchParam:c})})})},z4e=()=>{const[e]=Jr(),t=Yo(f=>f.setUsePayment),r=(e.get("pilot")??"")==="true",n=e.get("email")??"",i=e.get("profiled")??"patient",o=e.get("symptoms")??"";t(!r);const s=i==="patient"?I3e:L3e,c=new URLSearchParams({email:n,symptoms:o});return x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:s,searchParam:c})})})},W4e=()=>{const e=At();return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{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",x("br",{}),x("br",{}),"Next, we’ll get you to fill out some information"," ",x("br",{className:"hidden md:block"})," so we can better serve you..."]}),x("div",{className:"mt-10 flex flex-row justify-center",children:x(Et,{className:"text-center",onClick:()=>e(Se.profilingOne),children:"Continue"})})]})})},yA=async e=>await Un.post("/v2/profile/resend_confirmation_email",{email:e}),V4e=()=>{const e=Go(),{email:t}=e.state,r=At(),{mutate:n}=fn({mutationFn:yA,onSuccess:()=>{je.success("Email resent successfully, please check your inbox")},onError:()=>{je.error("An error occurred, please try again later")}});return t||r(Se.login),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",x("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),x("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"}),x(Et,{type:"submit",className:"mt-10",onClick:()=>n(t),left:x(Ne.EnvelopeIcon,{}),children:"Resend verification"})]})})},H4e=ct.object({email:ct.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),U4e=()=>{var o;const{sendEmailToRecoveryPassword:e}=$n(),{formState:{errors:t},register:r,handleSubmit:n}=Ys({resolver:Ks(H4e)}),{mutate:i}=fn({mutationFn:e,onSuccess:()=>{je.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&&je.error("Something went wrong"):je.error("Something went wrong")}});return x(ft,{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:[x(ce,{variant:"large",font:"bold",children:"Reset your password"}),q(ce,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",x("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:[x(_r,{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:[x(Ph,{to:Se.login,children:x(Et,{type:"button",className:"mt-10",variant:"secondary",left:x(Ne.ArrowLeftIcon,{}),children:"Back"})}),x(Et,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},q4e=()=>x(ft,{children:x("br",{})}),Z4e=async e=>await Un.post("/v2/profile/login",{email:e.email,password:e.password}),G4e=async e=>await Un.post("/v2/profile",e),Q4e=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"})}),Y4e=()=>{var E,A;const e=No(b=>b.setProfile),t=No(b=>b.setSession),[r,n]=v.useState(!1),[i,o]=v.useState(""),s=At(),[c]=Jr();v.useEffect(()=>{c.has("email")&&c.has("account_confirmed")&&n(b=>(b||je.success("Your account has been activated."),!0))},[r,c]);const{formState:{errors:f},register:d,handleSubmit:h,getValues:m}=Ys({resolver:Ks(Q4e)}),{mutate:w}=fn({mutationFn:Z4e,onSuccess:({data:b})=>{e(b.profile),t(b.session)},onError:b=>{var y;ri.isAxiosError(b)?((y=b.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 x(ft,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[x(ce,{variant:"large",font:"bold",children:"Welcome back."}),q("form",{className:"mt-10",onSubmit:b=>{h(y=>{w(y)})(b)},children:[x(_r,{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}),x(_r,{id:"password",label:"Password",right:C?x(Ne.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}):x(Ne.EyeSlashIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}),containerClassName:"max-w-[327px]",className:"h-12 shadow-md",type:C?"text":"password",...d("password"),error:(A=f.password)==null?void 0:A.message}),x(Ph,{to:Se.forgotPassword,children:x(ce,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),x(Et,{type:"submit",className:"mt-10",children:"Sign in"}),i&&x(ce,{variant:"small",id:"login-message",className:"text-red-600",children:i}),q(ce,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",x(Ph,{to:Se.register,children:x("strong",{children:"Create account"})})]})]})]}),x("div",{className:"hidden md:block",children:x("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 du=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(du||{}),Xy=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(Xy||{}),hi=(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))(hi||{}),pu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(pu||{}),uc=(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))(uc||{}),dr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(dr||{});const K4e=(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(dr.Sleep)?"":V==="topical lotion or patch"&&s.includes(dr.Anxiety)?"1:1 CBD:THC ratio":V==="topical lotion or patch"?"THC-dominant":r&&!w?"CBD or CBDA":r&&w?"CBD, CBDA, or CBC":s.includes(dr.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=()=>V==="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(dr.Sleep)?"":V==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Q} of a ${Z} ${V} product`,b=()=>s.includes(dr.Anxiety)&&r?"CBDA":s.includes(dr.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 ${T} of a ${a} ${H} product`,P=()=>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",W=()=>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(),V=S(),Z=C(),Q=E(),a=b(),T=_(),M=D(),G=P(),ae=W();return{dayTime:{time:"Morning",type:C(),form:S(),dose:E(),result:A()},evening:{time:"Evening",type:b(),form:y(),dose:_(),result:O()},bedTime:{time:"BedTime",type:P(),form:D(),dose:W(),result:N()}}},X4e=(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(dr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(dr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(dr.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&&V==="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",b=()=>s.includes(dr.Sleep)?"":Z==="inhalation method"?"Use a "+Q+" inhalable product":"Use "+a+" of a "+Q+" "+Z+" product",y=()=>s.includes(dr.Anxiety)&&r?"CBDA":s.includes(dr.Pain)&&r?"CBG plus CBD":r?"CBD":w.includes(hi.WorkDayEvenings)&&C?"THC-dominant":w.includes(hi.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=()=>V==="topical lotion or patch"?"50mg":T==="THC-dominant"?"2.5mg":T==="CBD-dominant"?"5mg":T==="1:1 CBD:THC ratio"?"2.5mg":"10mg",P=()=>V==="inhalation method"?`Use a ${T} inhalable product`:`Use ${M} of a ${T} ${V} product`,D=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",W=()=>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`,V=_(),Z=E(),Q=S(),a=A(),T=y(),M=O(),G=D(),ae=W(),Y=N();return{dayTime:{time:"Morning",type:S(),form:E(),dose:A(),result:b()},evening:{time:"Evening",type:y(),form:_(),dose:O(),result:P()},bedTime:{time:"BedTime",type:D(),form:W(),dose:N(),result:H()}}},wA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(dr.Sleep)?"":t.includes(Xy.Morning)?"fast-acting form":"long-lasting form",f=r===uc.notPrefer,d=t.includes(Xy.Morning),h=n.includes(hi.WorkDayMornings),m=n.includes(hi.WorkDayBedtimes),w=n.includes(hi.NonWorkDayMornings),C=n.includes(hi.NonWorkDayEvenings),S=n.includes(hi.NonWorkDayBedtimes),E=i,A=s.includes(pu.inhalation),b=s.includes(pu.edibles),y=s.includes(pu.sublinguals),_=s.includes(pu.topicals),O=X4e(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:E,reasonToUse:o,C14:A,C15:b,C16:y,C17:_,M5:c}),P=K4e(e,{C10:S,reasonToUse:o,C14:A,C15:b,C16:y,C17:_,C3:d,C8:w,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:P,whyRecommended:(()=>f&&o.includes(dr.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(dr.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(dr.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(hi.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(hi.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.")()}},FE=()=>q("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x("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"}),x("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"})]}),Jy=e=>{switch(e){case"patch":return x(Ne.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return x("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x("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 x(FE,{});case"capsule":return x(FE,{});default:return x(Ne.CheckIcon,{className:"stroke-[5px]"})}},J4e=()=>{const{getSubmission:e}=$n(),{data:t}=gS({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=wA(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:uc.notSure}),s=At(),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 x(ft,{children:x("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:[x("header",{children:x(ce,{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:[x("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:x(Ne.CheckIcon,{className:"stroke-[5px]"})}),q("div",{className:"flex w-full flex-col md:w-[316px]",children:[x(ce,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),x(ce,{variant:"base",className:"underline",children:"Product types/forms."}),x(ce,{variant:"base",className:"underline",children:"Starting doses."}),x(ce,{variant:"base",className:"underline",children:"Times of uses."}),x(Et,{variant:"white",right:x(Ne.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Save Recommendations"})]})]}),q("article",{className:"flex-wor flex items-center justify-center gap-4",children:[x("div",{children:x("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:x(Ne.XMarkIcon,{className:"stroke-[3px]"})})}),q("div",{className:"flex w-[316px] flex-col",children:[x(ce,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),x(ce,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),x(ce,{variant:"base",className:"underline",children:"Clinician review & approval."}),x(ce,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),x(Et,{variant:"white",right:x(Ne.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(Se.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),q("section",{children:[x("header",{children:x(ce,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),x("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:[x(ce,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(C)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:h}),x(ce,{className:"hidden md:block",children:m})]})]})]},d):x(Zr,{}))})]}),q("section",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),x("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:[x(ce,{className:"text-gray-300",children:d}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(C)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:h}),x(ce,{className:"hidden md:block",children:m})]})]})]},d):x(Zr,{}))})]}),x("section",{children:q("header",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),x(ce,{className:"mb-8 mt-12",children:o})]})}),x("footer",{children:q(ce,{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,",x("a",{href:Se.register,className:"underline",children:"get your eo care plan now."})]})})]})})})},ege=()=>{const[e]=Jr(),t=e.get("submission_id"),r=e.get("union"),[n,i]=v.useState(!1),o=10,[s,c]=v.useState(0),{getSubmissionById:f}=$n(),{data:d}=gS({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===du.Pain||O.malady===du.Anxiety||O.malady===du.Sleep||O.malady===du.Other)&&i(!0),c(P=>P+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:w,whyRecommended:C}=wA({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)||uc.notSure}),S=O=>{let P="";switch(O.time){case"Morning":P="IN THE MORNINGS";break;case"Evening":P="IN THE EVENING";break;case"BedTime":P="AT BEDTIME";break}return{title:P,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),b=(h==null?void 0:h.thc_type_preferences)===uc.notPrefer,y=E.length||A.length,_=(O,P)=>q("section",{className:"mt-8",children:[x("header",{children:x(ce,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),x("main",{className:"flex flex-col gap-14",children:P.map(({title:D,label:W,description:N,form:H})=>q("article",{className:"gap-4 divide-y divide-gray-300",children:[x(ce,{className:"text-gray-600",children:D}),q("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[x("div",{className:"w-14",children:x("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:Jy(H)})}),q("div",{children:[x(ce,{font:"semiBold",className:"font-nobel",children:W}),x(ce,{className:"hidden md:block",children:N})]})]})]},D))})]});return x(ft,{children:x("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:[x("header",{children:x(ce,{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:[x("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:x(Ne.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:[x(ce,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),x(ce,{variant:"base",font:"medium",children:"Product types/forms."}),x(ce,{variant:"base",font:"medium",children:"Starting doses."}),x(ce,{variant:"base",font:"medium",children:"Times of uses."}),x(Et,{id:"ga-save-recomendation",variant:"white",right:x(Ne.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:x(ce,{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:[x("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:x(Ne.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:[x(ce,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),x(ce,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),x(ce,{variant:"base",font:"medium",children:"Clinician review & approval."}),x(ce,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),x(Et,{id:"ga-continue-recomendation",variant:"white",right:x(Ne.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:x(ce,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!y?x(Zr,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:x(ce,{font:"medium",children:"Redirect"})}),x(ce,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),x("section",{children:q("header",{children:[x(ce,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),x(ce,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),x("footer",{children:q(ce,{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,"," ",x("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."})]})})]})})})},tge=()=>{const e=At(),{channel:t,type:r,origin:n}=Yo(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?B3e:P3e;break}case"cancer":{o=r==="Patient"?S3e:R3e;break}}return Qo(()=>{setTimeout(()=>{Ac(o)},400)}),o===null&&e("/"),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:o&&x("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"}})})})},rge=()=>{const[e]=Jr(),{account:t,introQuestionSubmissionId:r,channel:n,usePayment:i}=Yo(m=>m),o=e.get("submission_id")||"",s=At();o||s(Se.userRolSelector);const{postCancerFormSubmission:c,postSeniorFormSubmission:f}=$n(),{mutate:d}=fn({mutationFn:n==="cancer"?c:f,mutationKey:["postCancerSeniorFormSubmission",o],onError:m=>{var w;ri.isAxiosError(m)?((w=m.response)==null?void 0:w.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>d({name:t.firstName,last_name:t.lastName,email:t.email,password:t.password,phone_number:t.phoneNumber,profiling_submission_id:o,intro_submission_id:r,agree_receive_notifications:t.agreeReceiveNotifications,agree_terms_and_conditions:t.agreeTermsAndConditions,channel:n})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-3xl",children:["You’ll be able to review your initial, personalized, clinician-approved care plan within 24 hours. When your care plan is ready, we will send you an email with a link to"," ",x("span",{className:"cursor-pointer underline",onClick:()=>{window.location.href=j3e},children:"log into your account."}),x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{pilot:n==="cancer"&&!i}),x(R3,{pilot:n==="cancer"&&!i}),x(A3,{})]})},nge=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")}),ige=()=>{var h,m;const{resetPassword:e}=$n(),[t,r]=v.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Ys({resolver:Ks(nge)}),c=At(),[f]=Jr(),{mutate:d}=fn({mutationFn:e,onSuccess:()=>{je.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&&je.error("Something went wrong"):je.error("Something went wrong")}});return v.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(Se.login)},[c,f,s]),x(ft,{children:q("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[q("div",{children:[x(ce,{variant:"large",font:"bold",children:"Reset your password"}),q("form",{className:"mt-10 flex flex-col ",onSubmit:w=>{o(C=>{d(C)})(w)},children:[x(_r,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?x(Ne.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(w=>!w)}):x(Ne.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}),x(_r,{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(ce,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",x("br",{})," a capital letter, number, and special character"]}),x(Et,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},oge=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"]}),age=()=>{var d,h,m,w,C,S;const e=At(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Ys({resolver:Ks(oge)}),{mutate:s}=fn({mutationFn:G4e,onError:E=>{var A,b,y,_,O;if(ri.isAxiosError(E)){const P=(A=E.response)==null?void 0:A.data;(b=P.errors)!=null&&b.email&&o("email",{message:((y=P.errors.email.pop())==null?void 0:y.message)||""}),(_=P.errors)!=null&&_.password&&o("password",{message:((O=P.errors.password.pop())==null?void 0:O.message)||""})}else je.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 x(ft,{children:q("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[q("div",{children:[x(ce,{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:[x(_r,{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}),x(_r,{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})]}),x(_r,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),x(_r,{id:"password",label:"Password",right:c?x(Ne.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(E=>!E)}):x(Ne.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}),x(_r,{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(ce,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",x("br",{})," a capital letter, number, and special character"]}),x(Vy,{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(ce,{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 ",x("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."]})}),x(Et,{type:"submit",className:"mt-3",children:"Create account"}),q(ce,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",x(Ph,{to:Se.login,children:x("strong",{children:"Sign in"})})]})]})]}),x("div",{className:"hidden md:block",children:x("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"})})]})})},sge=()=>{const t=Go().state,r=At(),{mutate:n}=fn({mutationFn:yA,onSuccess:({data:i})=>{i?je.success("Email has been send."):je.error("Email hasn't been send")}});return v.useEffect(()=>{t!=null&&t.email||r(Se.login)},[r,t]),x(ft,{children:q("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",x("br",{})," Please verify to continue."]}),x("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"}),x(Et,{className:"mt-10",onClick:()=>n(t.email),left:x(Ne.EnvelopeIcon,{}),children:"Resend verification"})]})})},lge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Yo(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),payment:n?"yes":"no",origin:i,experience:o}),f=At(),d=e==="Patient"?T3e:$3e;return e||f(Se.userRolSelector),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:d,searchParam:c})})})},uge=()=>{const[e]=Jr(),t=e.get("email")||"",r=e.get("symptoms")||"",n=e.get("profiled")??"patient",i=new URLSearchParams({email:t,symptoms:r});return x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x(O3,{formId:n==="patient"?M3e:D3e,searchParam:i})})})},cge=()=>{const[e]=Jr(),t=e.get("submission_id")||"",r=At();t||r("/");const{postSeniorSurveyFormSubmission:n}=$n(),{mutate:i}=fn({mutationFn:n,mutationKey:["postSeniorSurveyFormSubmission",t],onError:o=>{var s;ri.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>i({submission_id:t})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{}),x(R3,{}),x(A3,{})]})},fge=()=>{const e=Go(),t=At(),{zip:r}=e.state;return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[q(ce,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this eo offering is not currently"," ",x("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",x("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),q("div",{className:"mt-10 flex flex-row justify-center",children:[x(Et,{className:"text-center",onClick:()=>t(Se.zipCodeValidation),children:"Back"}),x(Et,{variant:"secondary",onClick:()=>t(Se.home),className:"ml-4",children:"Continue"})]})]})})},dge=()=>{const e=At(),[t]=Jr(),[r,n]=v.useState(null),i=t.get("origin")??"localhost:5173",o=t.get("channel"),s=t.get("symptoms")??"",{setChannel:c,setType:f,setSymptoms:d,setUsePayment:h,resetProfilingStore:m,setOrigin:w}=Yo(S=>S),C=S=>{w(i),d(s.split(",")),c(o),f(S),e(Se.introQuestions)};return Qo(()=>{m();const S=t.get("p")??"yes";window.data.isPartnerSite(i)||S==="no"?h(!1):h(!0)}),x(ft,{children:x("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(ce,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",x("span",{className:"text-red-600",children:"*"})]}),q("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[q("button",{className:De("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:[x("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),x("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:De("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:[x("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),x("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:[x(Et,{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)?o==="senior"?window.location.href=`https://${window.location.host}/you/seniors-careplan#seniors-panel`:o==="cancer"?window.location.href=`https://${window.location.host}/you/cancer-careplan#cancer-panel`:history.back():window.data.isPartnerSite(i)?window.location.href=`https://${window.location.host}/pilot#how-eo-care-plans-works`:history.back()},left:x(Ne.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:x("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),x(Et,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:x(Ne.RightArrow,{className:"h-6 w-6"}),onClick:()=>C(r),children:"NEXT"}),x(Et,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:x(Ne.RightArrow,{className:"h-6 w-6"}),onClick:()=>C(r)})]})]})})})},xA=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}=$n(),{triggerViewEvent:t}=xA(eA);v.useEffect(t,[t]);const r=At(),n=No(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Ys({resolver:Ks(pge)}),{mutate:d}=fn({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"}):je.error("Something went wrong")}});return x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[x(ce,{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:[x(_r,{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}),x(Et,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},mge=()=>(v.useEffect(()=>{Ac(Q4)}),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("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=At(),[t,r]=v.useState(!1),{combineProfileOne:n}=$n(),[i]=Jr();i.get("submission_id")||e(Se.login);const{mutate:o}=fn({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]),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[x(ce,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),x(Et,{type:"button",className:"mt-10",onClick:()=>e(Se.prePlan),children:"Continue!"})]})})},gge=()=>(v.useEffect(()=>{Ac(Y4)}),x(ft,{children:x("div",{className:"mb-10 flex h-screen flex-col",children:x("iframe",{id:`JotFormIFrame-${Y4}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${Y4}`,className:"h-full w-full"})})})),yge=()=>{const e=At(),[t,r]=v.useState(!1),{combineProfileOne:n}=$n(),[i]=Jr(),{triggerCompletionEvent:o}=xA(eA);i.get("submission_id")||e(Se.login);const{mutate:s}=fn({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]),x(ft,{children:q("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[q(ce,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",x("br",{}),x("br",{})," In a few minutes we will send you by email."," ",x("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),x(Et,{type:"button",className:"mt-10",onClick:()=>e(Se.home),children:"Go home"})]})})},wge=()=>{const[e]=Jr(),t=Yo(s=>s.usePayment),r=e.get("submission_id")??"",n=At();r||n("/");const{postCancerSurveyFormSubmission:i}=$n(),{mutate:o}=fn({mutationFn:i,mutationKey:["postCancerSurveyFormSubmission",r],onError:s=>{var c;ri.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return Qo(()=>o({submission_id:r})),q(ft,{children:[x(k3,{children:q(ce,{variant:"base",font:"regular",className:"text-center text-[22px] font-normal leading-[36px] max-w-xl",children:["We received your feedback! ",x("br",{}),x("br",{}),"Thank you! ",x("br",{}),x("br",{}),"Have questions? We’re here. Email support@eo.care, call ",x("a",{href:"tel:+1-877-707-0706",children:"877-707-0706"}),", or "," ",x("a",{className:"cursor-pointer underline font-new-hero text-[22px]",href:"https://eo-care-telemed.as.me/schedule.php",target:"_blank",children:"schedule a free consultation"}),"."]})}),x(S3,{pilot:!t}),x(R3,{pilot:!t}),x(A3,{})]})},xge=()=>q(yN,{children:[q(rt,{element:x(k4,{expected:"loggedOut"}),children:[x(rt,{element:x(Y4e,{}),path:Se.login}),x(rt,{element:x(age,{}),path:Se.register}),x(rt,{element:x(sge,{}),path:Se.registrationComplete}),x(rt,{element:x(U4e,{}),path:Se.forgotPassword}),x(rt,{element:x(ige,{}),path:Se.recoveryPassword}),x(rt,{element:x(ege,{}),path:Se.prePlanV2})]}),q(rt,{element:x(k4,{expected:"withZipCode"}),children:[x(rt,{element:x(q4e,{}),path:Se.home}),x(rt,{element:x(fge,{}),path:Se.unavailableZipCode}),x(rt,{element:x(W4e,{}),path:Se.eligibleProfile}),x(rt,{element:x(mge,{}),path:Se.profilingOne}),x(rt,{element:x(vge,{}),path:Se.profilingOneRedirect}),x(rt,{element:x(gge,{}),path:Se.profilingTwo}),x(rt,{element:x(yge,{}),path:Se.profilingTwoRedirect}),x(rt,{element:x(J4e,{}),path:Se.prePlan})]}),x(rt,{element:x(k4,{expected:["withoutZipCode","withZipCode"]}),children:x(rt,{element:x(hge,{}),path:Se.zipCodeValidation})}),x(rt,{element:x(V4e,{}),path:Se.emailVerification}),x(rt,{element:x(dge,{}),path:Se.userRolSelector}),x(rt,{element:x(tge,{}),path:Se.introQuestions}),x(rt,{element:x(H3e,{}),path:Se.accountSetup}),x(rt,{element:x(rge,{}),path:Se.profilingThankYou}),x(rt,{element:x(j4e,{}),path:Se.cancerForm}),x(rt,{element:x(z4e,{}),path:Se.cancerSurvey}),x(rt,{element:x(wge,{}),path:Se.cancerSurveyThankYou}),x(rt,{element:x(U3e,{}),path:Se.athleteSurvey}),x(rt,{element:x(D4e,{}),path:Se.athleteSurveyThankYou}),x(rt,{element:x(lge,{}),path:Se.seniorForm}),x(rt,{element:x(uge,{}),path:Se.seniorSurvey}),x(rt,{element:x(cge,{}),path:Se.seniorSurveyThankYou})]});const bge=new WN;function Cge(){return q(rj,{client:bge,children:[x(xge,{}),x(l7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Pz.VITE_APP_ENV==="local"&&x(vj,{initialIsOpen:!1})]})}ig.createRoot(document.getElementById("root")).render(x(he.StrictMode,{children:x(_N,{children:x(Cge,{})})})); diff --git a/apps/eo_web/dist/manifest.json b/apps/eo_web/dist/manifest.json index 94820e07..308136c4 100644 --- a/apps/eo_web/dist/manifest.json +++ b/apps/eo_web/dist/manifest.json @@ -18,7 +18,7 @@ "css": [ "assets/main-d3160e96.css" ], - "file": "assets/main-3154b476.js", + "file": "assets/main-99f2c421.js", "isEntry": true, "src": "src/main.tsx" } diff --git a/apps/eo_web/src/components/HowEOWorks.tsx b/apps/eo_web/src/components/HowEOWorks.tsx index 3c06ddfc..236a76ba 100644 --- a/apps/eo_web/src/components/HowEOWorks.tsx +++ b/apps/eo_web/src/components/HowEOWorks.tsx @@ -15,7 +15,7 @@ export const HowEOWorks = ({ pilot = false }: HowEOWorksProps) => { return (
- {pilot ? "How the eo pilot works" : "How eo Care Plans Work"} + {pilot ? "How the eo Pilot Works" : "How eo Care Plans Work"} {carouselItems.map(({ title, content, step, icon: Icon }) => ( diff --git a/apps/eo_web/src/copy/copy.tsx b/apps/eo_web/src/copy/copy.tsx index 461d78ca..5efa07fb 100644 --- a/apps/eo_web/src/copy/copy.tsx +++ b/apps/eo_web/src/copy/copy.tsx @@ -23,7 +23,7 @@ export const CancerPilotCarrouselItems = [ step: "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 and your recommended products.", + "In under 24 hours, you’ll receive an email with a link to your personalized, clinician-approved care plan.", icon: icons.HandHeartWhite, }, { @@ -37,7 +37,7 @@ export const CancerPilotCarrouselItems = [ step: "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.", + "As you sample your recommended products, doses and times of use, we’ll check in via message/email and ask you to complete brief, periodic surveys.", icon: icons.FeedBackWhite, }, { @@ -51,7 +51,7 @@ export const CancerPilotCarrouselItems = [ step: "ALWAYS", 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.", + "You can message 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: icons.SupportIconWhite, }, ]; @@ -61,14 +61,14 @@ export const CarrouselItems = [ step: "STEP 1", title: "Profile & subscribe", content: - "In 5-10 minutes, you can create your eo account and provide the information our clinical team needs to create your initial plan and subscribe.", + "In 5-10 minutes, you can share the key information our clinical team needs to create your initial plan.", icon: icons.ProfileIconWhite, }, { step: "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 and your recommended products.", + "In under 24 hours, you’ll receive an email with a link to your personalized, clinician-approved care plan.", icon: icons.HandHeartWhite, }, { @@ -82,7 +82,7 @@ export const CarrouselItems = [ step: "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.", + "As you sample your recommended products, doses and times of use, we’ll check in via message/email and ask you to complete brief, periodic surveys.", icon: icons.FeedBackWhite, }, {