diff --git a/apps/eo_web/dist/assets/main-f5f39a32.js b/apps/eo_web/dist/assets/main-bb88c53e.js similarity index 99% rename from apps/eo_web/dist/assets/main-f5f39a32.js rename to apps/eo_web/dist/assets/main-bb88c53e.js index e7a90bb8..20045a03 100644 --- a/apps/eo_web/dist/assets/main-f5f39a32.js +++ b/apps/eo_web/dist/assets/main-bb88c53e.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:[v("input",{ref:f,...h(),className:"w-full",...c,disabled:r}),t||N("div",{className:"flex flex-col justify-center items-center",children:[v("img",{src:lme,className:"h-12 w-12 text-gray-300",alt:"Upload Icon"}),N("div",{className:"mt-4 flex flex-col text-sm leading-6 text-neutrals-medium-400",children:[N("div",{className:"flex",children:[v("span",{className:"relative cursor-pointer rounded-md bg-white font-semibold text-neutrals-medium-400",children:"Click to upload"}),v("p",{className:"pl-1",children:"or drag and drop"})]}),v("div",{className:"text-xs leading-5 text-neutrals-medium-400",children:"PNG, JPG or GIF image."})]})]}),r&&v(SR,{})]}),!i&&v(Ic,{message:s,error:o})]})});ume.displayName="Dropzone";const k3=({label:e,containerClassName:t,className:r,...n})=>v("div",{className:De("flex",t),children:typeof e!="string"?e:v("label",{...n,className:De("m-0 mr-3 text-sm font-medium leading-6 text-neutrals-dark-500",r),children:e})}),Sr=tl(({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:x="text",...C},S)=>{const[k,A]=y.useState(!1);return N("div",{style:m,className:De("relative",r),children:[!!o&&v(k3,{htmlFor:i,className:"",label:o}),N("div",{className:De("flex flex-row items-center rounded-md",!!C.disabled&&"opacity-30"),children:[(!!s||x==="password")&&v("div",{className:"pointer-events-none pl-3",style:{position:"absolute"},children:v(Nm,{size:"sm",children:s||v(Fe.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)})})}),v("input",{ref:S,type:x==="password"&&k?"text":x,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||x==="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||x==="password"?h:void 0}}),(!!d||x==="password")&&v(Nm,{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||(k?v(Fe.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)}):v(Fe.EyeIcon,{className:De("h-5 w-5 cursor-pointer stroke-1 text-gray-800",!!n&&"stroke-red-500"),onClick:()=>A(b=>!b)}))})]}),!t&&v(Ic,{message:c,error:n})]})});tl(({label:e,id:t,className:r,...n},i)=>N("div",{className:"flex items-center",children:[v("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}),v("label",{htmlFor:t,className:"ml-3 block text-sm font-medium leading-6 text-gray-900",children:e})]}));const cme=new Set,en=new WeakMap,Ls=new WeakMap,Fa=new WeakMap,Gy=new WeakMap,qm=new WeakMap,Zm=new WeakMap,fme=new WeakSet;let Na;const Zi="__aa_tgt",Yy="__aa_del",dme=e=>{const t=gme(e);t&&t.forEach(r=>yme(r))},pme=e=>{e.forEach(t=>{t.target===Na&&mme(),en.has(t.target)&&Lc(t.target)})};function hme(e){const t=Gy.get(e);t==null||t.disconnect();let r=en.get(e),n=0;const i=5;r||(r=Us(e),en.set(e,r));const{offsetWidth:o,offsetHeight:s}=Na,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&&Lc(e)},{root:Na,threshold:1,rootMargin:f});d.observe(e),Gy.set(e,d)}function Lc(e){clearTimeout(Zm.get(e));const t=S3(e),r=typeof t=="function"?500:t.duration;Zm.set(e,setTimeout(async()=>{const n=Fa.get(e);try{await(n==null?void 0:n.finished),en.set(e,Us(e)),hme(e)}catch{}},r))}function mme(){clearTimeout(Zm.get(Na)),Zm.set(Na,setTimeout(()=>{cme.forEach(e=>wme(e,t=>vme(()=>Lc(t))))},100))}function vme(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let LE;typeof window<"u"&&(Na=document.documentElement,new MutationObserver(dme),LE=new ResizeObserver(pme),LE.observe(Na));function gme(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(Q4(i.target),!n.has(i.target)){n.add(i.target);for(let o=0;or(e,qm.has(e)));for(let r=0;ri(n,qm.has(n)))}}function xme(e){const t=en.get(e),r=Us(e);if(!_w(e))return en.set(e,r);let n;if(!t)return;const i=S3(e);if(typeof i!="function"){const o=t.left-r.left,s=t.top-r.top,[c,f,d,h]=jR(e,t,r),m={transform:`translate(${o}px, ${s}px)`},x={transform:"translate(0, 0)"};c!==f&&(m.width=`${c}px`,x.width=`${f}px`),d!==h&&(m.height=`${d}px`,x.height=`${h}px`),n=e.animate([m,x],{duration:i.duration,easing:i.easing})}else n=new Animation(i(e,"remain",t,r)),n.play();Fa.set(e,n),en.set(e,r),n.addEventListener("finish",Lc.bind(null,e))}function bme(e){const t=Us(e);en.set(e,t);const r=S3(e);if(!_w(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()),Fa.set(e,n),n.addEventListener("finish",Lc.bind(null,e))}function Cme(e){var t;if(!Ls.has(e)||!en.has(e))return;const[r,n]=Ls.get(e);Object.defineProperty(e,Yy,{value:!0}),n&&n.parentNode&&n.parentNode instanceof Element?n.parentNode.insertBefore(e,n):r&&r.parentNode?r.parentNode.appendChild(e):(t=zR(e))===null||t===void 0||t.appendChild(e);function i(){var x;e.remove(),en.delete(e),Ls.delete(e),Fa.delete(e),(x=Gy.get(e))===null||x===void 0||x.disconnect()}if(!_w(e))return i();const[o,s,c,f]=Eme(e),d=S3(e),h=en.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()),Fa.set(e,m),m.addEventListener("finish",i)}function Eme(e){const t=en.get(e),[r,,n]=jR(e,t,Us(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=en.get(i)||Us(i),c=Math.round(t.top-s.top)-pi(o.borderTopWidth),f=Math.round(t.left-s.left)-pi(o.borderLeftWidth);return[c,f,r,n]}tl(({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},x)=>N("div",{style:s,className:De("flex flex-col",c),children:[!!e&&v(k3,{htmlFor:n,label:e}),N("select",{ref:x,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&&v("option",{disabled:h,value:"",children:i}),d.map(C=>v("option",{value:C.value,children:C.label},C.value))]}),!o&&v(Ic,{message:t,error:r})]}));tl(({label:e,message:t,error:r,id:n,compact:i,style:o,containerClassName:s,className:c,...f},d)=>N("div",{style:o,className:s,children:[e&&v(k3,{className:"block text-sm font-medium",htmlFor:n,label:e}),v("div",{className:"mt-1",children:v("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&&v(Ic,{message:t,error:r})]}));const Qy=tl(({label:e,message:t,error:r,id:n,compact:i,style:o,containerClassName:s,className:c,...f},d)=>N("div",{style:o,className:De("relative",s),children:[N("div",{className:De("flex flex-row items-center rounded-md",!!f.disabled&&"opacity-30"),children:[v("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)}),v(k3,{htmlFor:n,className:De("text-mono",!!r&&"text-red-500"),containerClassName:"ml-2",label:e})]}),!i&&v(Ic,{message:t,error:r})]}));function WR(e,t){return function(){return e.apply(t,arguments)}}const{toString:_me}=Object.prototype,{getPrototypeOf:kw}=Object,R3=(e=>t=>{const r=_me.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),oo=e=>(e=e.toLowerCase(),t=>R3(t)===e),A3=e=>t=>typeof t===e,{isArray:sl}=Array,fc=A3("undefined");function kme(e){return e!==null&&!fc(e)&&e.constructor!==null&&!fc(e.constructor)&&no(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const VR=oo("ArrayBuffer");function Sme(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&VR(e.buffer),t}const Rme=A3("string"),no=A3("function"),HR=A3("number"),Sw=e=>e!==null&&typeof e=="object",Ame=e=>e===!0||e===!1,ah=e=>{if(R3(e)!=="object")return!1;const t=kw(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ome=oo("Date"),Ime=oo("File"),Lme=oo("Blob"),Bme=oo("FileList"),Tme=e=>Sw(e)&&no(e.pipe),Pme=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||no(e.append)&&((t=R3(e))==="formdata"||t==="object"&&no(e.toString)&&e.toString()==="[object FormData]"))},$me=oo("URLSearchParams"),Dme=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),sl(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const qR=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ZR=e=>!fc(e)&&e!==qR;function Ky(){const{caseless:e}=ZR(this)&&this||{},t={},r=(n,i)=>{const o=e&&UR(t,i)||i;ah(t[o])&&ah(n)?t[o]=Ky(t[o],n):ah(n)?t[o]=Ky({},n):sl(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n(Bc(t,(i,o)=>{r&&no(i)?e[o]=WR(i,r):e[o]=i},{allOwnKeys:n}),e),Fme=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Nme=(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)},jme=(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&&kw(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},zme=(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},Wme=e=>{if(!e)return null;if(sl(e))return e;let t=e.length;if(!HR(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Vme=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kw(Uint8Array)),Hme=(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])}},Ume=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},qme=oo("HTMLFormElement"),Zme=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),BE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Gme=oo("RegExp"),GR=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Bc(r,(i,o)=>{t(i,o,e)!==!1&&(n[o]=i)}),Object.defineProperties(e,n)},Yme=e=>{GR(e,(t,r)=>{if(no(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(no(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Qme=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return sl(e)?n(e):n(String(e).split(t)),r},Kme=()=>{},Xme=(e,t)=>(e=+e,Number.isFinite(e)?e:t),K4="abcdefghijklmnopqrstuvwxyz",TE="0123456789",YR={DIGIT:TE,ALPHA:K4,ALPHA_DIGIT:K4+K4.toUpperCase()+TE},Jme=(e=16,t=YR.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function e3e(e){return!!(e&&no(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const t3e=e=>{const t=new Array(10),r=(n,i)=>{if(Sw(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=sl(n)?[]:{};return Bc(n,(s,c)=>{const f=r(s,i+1);!fc(f)&&(o[c]=f)}),t[i]=void 0,o}}return n};return r(e,0)},ee={isArray:sl,isArrayBuffer:VR,isBuffer:kme,isFormData:Pme,isArrayBufferView:Sme,isString:Rme,isNumber:HR,isBoolean:Ame,isObject:Sw,isPlainObject:ah,isUndefined:fc,isDate:Ome,isFile:Ime,isBlob:Lme,isRegExp:Gme,isFunction:no,isStream:Tme,isURLSearchParams:$me,isTypedArray:Vme,isFileList:Bme,forEach:Bc,merge:Ky,extend:Mme,trim:Dme,stripBOM:Fme,inherits:Nme,toFlatObject:jme,kindOf:R3,kindOfTest:oo,endsWith:zme,toArray:Wme,forEachEntry:Hme,matchAll:Ume,isHTMLForm:qme,hasOwnProperty:BE,hasOwnProp:BE,reduceDescriptors:GR,freezeMethods:Yme,toObjectSet:Qme,toCamelCase:Zme,noop:Kme,toFiniteNumber:Xme,findKey:UR,global:qR,isContextDefined:ZR,ALPHABET:YR,generateString:Jme,isSpecCompliantForm:e3e,toJSONObject:t3e};function rt(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(rt,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 QR=rt.prototype,KR={};["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=>{KR[e]={value:e}});Object.defineProperties(rt,KR);Object.defineProperty(QR,"isAxiosError",{value:!0});rt.from=(e,t,r,n,i,o)=>{const s=Object.create(QR);return ee.toFlatObject(e,s,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),rt.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const r3e=null;function Xy(e){return ee.isPlainObject(e)||ee.isArray(e)}function XR(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function PE(e,t,r){return e?e.concat(t).map(function(i,o){return i=XR(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function n3e(e){return ee.isArray(e)&&!e.some(Xy)}const i3e=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function O3(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(k,A){return!ee.isUndefined(A[k])});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 rt("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,k,A){let b=S;if(S&&!A&&typeof S=="object"){if(ee.endsWith(k,"{}"))k=n?k:k.slice(0,-2),S=JSON.stringify(S);else if(ee.isArray(S)&&n3e(S)||(ee.isFileList(S)||ee.endsWith(k,"[]"))&&(b=ee.toArray(S)))return k=XR(k),b.forEach(function(E,O){!(ee.isUndefined(E)||E===null)&&t.append(s===!0?PE([k],O,o):s===null?k:k+"[]",d(E))}),!1}return Xy(S)?!0:(t.append(PE(A,k,o),d(S)),!1)}const m=[],x=Object.assign(i3e,{defaultVisitor:h,convertValue:d,isVisitable:Xy});function C(S,k){if(!ee.isUndefined(S)){if(m.indexOf(S)!==-1)throw Error("Circular reference detected in "+k.join("."));m.push(S),ee.forEach(S,function(b,g){(!(ee.isUndefined(b)||b===null)&&i.call(t,b,ee.isString(g)?g.trim():g,k,x))===!0&&C(b,k?k.concat(g):[g])}),m.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return C(e),t}function $E(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Rw(e,t){this._pairs=[],e&&O3(e,this,t)}const JR=Rw.prototype;JR.append=function(t,r){this._pairs.push([t,r])};JR.toString=function(t){const r=t?function(n){return t.call(this,n,$E)}:$E;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function o3e(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eA(e,t,r){if(!t)return e;const n=r&&r.encode||o3e,i=r&&r.serialize;let o;if(i?o=i(t,r):o=ee.isURLSearchParams(t)?t.toString():new Rw(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class a3e{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 DE=a3e,tA={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},s3e=typeof URLSearchParams<"u"?URLSearchParams:Rw,l3e=typeof FormData<"u"?FormData:null,u3e=typeof Blob<"u"?Blob:null,c3e=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),f3e=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),xi={isBrowser:!0,classes:{URLSearchParams:s3e,FormData:l3e,Blob:u3e},isStandardBrowserEnv:c3e,isStandardBrowserWebWorkerEnv:f3e,protocols:["http","https","file","blob","url","data"]};function d3e(e,t){return O3(e,new xi.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return xi.isNode&&ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function p3e(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function h3e(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]=h3e(i[s])),!c)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const r={};return ee.forEachEntry(e,(n,i)=>{t(p3e(n),i,r,0)}),r}return null}const m3e={"Content-Type":void 0};function v3e(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 I3={transitional:tA,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(rA(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 d3e(t,this.formSerializer).toString();if((c=ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return O3(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),v3e(t)):t}],transformResponse:[function(t){const r=this.transitional||I3.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"?rt.from(c,rt.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:xi.classes.FormData,Blob:xi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ee.forEach(["delete","get","head"],function(t){I3.headers[t]={}});ee.forEach(["post","put","patch"],function(t){I3.headers[t]=ee.merge(m3e)});const Aw=I3,g3e=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"]),y3e=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]&&g3e[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ME=Symbol("internals");function Yl(e){return e&&String(e).trim().toLowerCase()}function sh(e){return e===!1||e==null?e:ee.isArray(e)?e.map(sh):String(e)}function w3e(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 x3e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function X4(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 b3e(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 L3{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(c,f,d){const h=Yl(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]=sh(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())&&!x3e(t)?s(y3e(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=Yl(t),t){const n=ee.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return w3e(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=Yl(t),t){const n=ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||X4(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=Yl(s),s){const c=ee.findKey(n,s);c&&(!r||X4(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||X4(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]=sh(i),delete r[o];return}const c=t?b3e(o):String(o).trim();c!==o&&delete r[o],r[c]=sh(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[ME]=this[ME]={accessors:{}}).accessors,i=this.prototype;function o(s){const c=Yl(s);n[c]||(C3e(i,s),n[c]=!0)}return ee.isArray(t)?t.forEach(o):o(t),this}}L3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.freezeMethods(L3.prototype);ee.freezeMethods(L3);const Ki=L3;function J4(e,t){const r=this||Aw,n=t||r,i=Ki.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 nA(e){return!!(e&&e.__CANCEL__)}function Tc(e,t,r){rt.call(this,e??"canceled",rt.ERR_CANCELED,t,r),this.name="CanceledError"}ee.inherits(Tc,rt,{__CANCEL__:!0});function E3e(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new rt("Request failed with status code "+r.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const _3e=xi.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 k3e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S3e(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function iA(e,t){return e&&!k3e(t)?S3e(e,t):t}const R3e=xi.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 A3e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function O3e(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,x=0;for(;m!==i;)x+=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 I3e=typeof XMLHttpRequest<"u",L3e=I3e&&function(e){return new Promise(function(r,n){let i=e.data;const o=Ki.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)&&(xi.isStandardBrowserEnv||xi.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=iA(e.baseURL,e.url);d.open(e.method.toUpperCase(),eA(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function m(){if(!d)return;const C=Ki.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:C,config:e,request:d};E3e(function(b){r(b),f()},function(b){n(b),f()},k),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 rt("Request aborted",rt.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new rt("Network Error",rt.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const k=e.transitional||tA;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),n(new rt(S,k.clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,e,d)),d=null},xi.isStandardBrowserEnv){const C=(e.withCredentials||R3e(h))&&e.xsrfCookieName&&_3e.read(e.xsrfCookieName);C&&o.set(e.xsrfHeaderName,C)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&ee.forEach(o.toJSON(),function(S,k){d.setRequestHeader(k,S)}),ee.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",FE(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",FE(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=C=>{d&&(n(!C||C.type?new Tc(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 x=A3e(h);if(x&&xi.protocols.indexOf(x)===-1){n(new rt("Unsupported protocol "+x+":",rt.ERR_BAD_REQUEST,e));return}d.send(i||null)})},lh={http:r3e,xhr:L3e};ee.forEach(lh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const B3e={getAdapter:e=>{e=ee.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let i=0;ie instanceof Ki?e.toJSON():e;function qs(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(jE(d),jE(h),!0)};return ee.forEach(Object.keys(e).concat(Object.keys(t)),function(h){const m=f[h]||i,x=m(e[h],t[h],h);ee.isUndefined(x)&&m!==c||(r[h]=x)}),r}const oA="1.3.6",Ow={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ow[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const zE={};Ow.transitional=function(t,r,n){function i(o,s){return"[Axios v"+oA+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,c)=>{if(t===!1)throw new rt(i(s," has been removed"+(r?" in "+r:"")),rt.ERR_DEPRECATED);return r&&!zE[s]&&(zE[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 T3e(e,t,r){if(typeof e!="object")throw new rt("options must be an object",rt.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 rt("option "+o+" must be "+f,rt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new rt("Unknown option "+o,rt.ERR_BAD_OPTION)}}const Jy={assertOptions:T3e,validators:Ow},wo=Jy.validators;class Gm{constructor(t){this.defaults=t,this.interceptors={request:new DE,response:new DE}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=qs(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Jy.assertOptions(n,{silentJSONParsing:wo.transitional(wo.boolean),forcedJSONParsing:wo.transitional(wo.boolean),clarifyTimeoutError:wo.transitional(wo.boolean)},!1),i!=null&&(ee.isFunction(i)?r.paramsSerializer={serialize:i}:Jy.assertOptions(i,{encode:wo.function,serialize:wo.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=Ki.concat(s,o);const c=[];let f=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(f=f&&k.synchronous,c.unshift(k.fulfilled,k.rejected))});const d=[];this.interceptors.response.forEach(function(k){d.push(k.fulfilled,k.rejected)});let h,m=0,x;if(!f){const S=[NE.bind(this),void 0];for(S.unshift.apply(S,c),S.push.apply(S,d),x=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 Tc(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 Iw(function(i){t=i}),cancel:t}}}const P3e=Iw;function $3e(e){return function(r){return e.apply(null,r)}}function D3e(e){return ee.isObject(e)&&e.isAxiosError===!0}const e6={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(e6).forEach(([e,t])=>{e6[t]=e});const M3e=e6;function aA(e){const t=new uh(e),r=WR(uh.prototype.request,t);return ee.extend(r,uh.prototype,t,{allOwnKeys:!0}),ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return aA(qs(e,i))},r}const ir=aA(Aw);ir.Axios=uh;ir.CanceledError=Tc;ir.CancelToken=P3e;ir.isCancel=nA;ir.VERSION=oA;ir.toFormData=O3;ir.AxiosError=rt;ir.Cancel=ir.CanceledError;ir.all=function(t){return Promise.all(t)};ir.spread=$3e;ir.isAxiosError=D3e;ir.mergeConfig=qs;ir.AxiosHeaders=Ki;ir.formToJSON=e=>rA(ee.isHTMLForm(e)?new FormData(e):e);ir.HttpStatusCode=M3e;ir.default=ir;const Ai=ir,tg=window.data.getEnv("PROFILE_ONE_ID")||0xd21b542c2113,rg=window.data.getEnv("PROFILE_TWO_ID")||0xd21b800ac40b,sA=window.data.getEnv("ZUKO_SLUG_ID_PROCESS_START")||"4e9cc7ceea3e22fb",F3e=window.data.getEnv("CANCER_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,N3e=window.data.getEnv("CANCER_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,j3e=window.data.getEnv("CANCER_PROFILE_PATIENT_ID")||0xdaf47a7848a9,z3e=window.data.getEnv("CANCER_PROFILE_CAREGIVER_ID")||0xdaa2d0d5e831,W3e=window.data.getEnv("CANCER_PATIENT_SURVEY_ID")||0xd3cedccf57d4,V3e=window.data.getEnv("CANCER_CAREGIVER_SURVEY_ID")||0xd44a2fb6c758;window.data.getEnv("ATHLETE_PROFILE_FORM");const ng=window.data.getEnv("ATHLETE_SURVEY_FORM")||0xd40fc49c7828,H3e=window.data.getEnv("SENIOR_INTRO_QUESTION_PATIENT_ID")||0xd41fd64ffd10,U3e=window.data.getEnv("SENIOR_INTRO_QUESTION_CAREGIVER_ID")||0xd42289718a6e,q3e=window.data.getEnv("SENIOR_PROFILE_PATIENT_ID")||0xd42295f76597,Z3e=window.data.getEnv("SENIOR_PROFILE_CAREGIVER_ID")||0xda5fd6100de5,G3e=window.data.getEnv("SENIOR_PATIENT_SURVEY_ID")||0xd4506a2ec2f9,Y3e=window.data.getEnv("SENIOR_CAREGIVER_SURVEY_ID")||0xda4d99679fdb,Q3e=window.data.getEnv("ROI_CALCULATOR_FORM")||0xd45a59342e8a,K3e=window.data.getEnv("CHECKOUT_FORM_ID")||0xdaf250aca32d,X3e=window.data.getEnv("API_URL")||"http://localhost:4200",J3e=window.data.getEnv("API_LARAVEL")||"http://localhost",Ou=window.data.getEnv("WEB_APP_URL")??"http://localhost:3000",on=Ai.create({baseURL:X3e,headers:{"Content-Type":"application/json"}}),ma=Ai.create({baseURL:J3e,headers:{"Content-Type":"application/json"}}),Nr=()=>{const t={headers:{Authorization:`Bearer ${Wo(g=>{var E;return(E=g.session)==null?void 0:E.token})}`}};return{validateZipCode:async g=>on.post("/v2/profile/validate_zip_code",{zip:g},t),combineProfileOne:async g=>on.post("/v2/profile/submit_profiling_one",{submission_id:g},t),combineProfileTwo:async g=>on.post("/v2/profile/combine_profile_two",{submission_id:g},t),sendEmailToRecoveryPassword:async g=>on.post("/v2/profile/request_password_reset",{email:g}),resetPassword:async g=>on.post("/v2/profile/reset_password",g),getSubmission:async()=>await on.get("/v2/profile/profiling_one",t),getSubmissionById:async g=>await on.get(`/v2/submission/profiling_one?submission_id=${g}`,t),eligibleEmail:async g=>await on.post("/v2/profiles/eligible",{email:g}),postCancerFormSubmission:async g=>await ma.post("/api/cancer/profile",g),postCancerSurveyFormSubmission:async g=>await ma.post("/api/cancer/survey",g),postAthleteSurveyFormSubmission:async g=>await ma.post("/api/athletes/survey",g),postSeniorFormSubmission:async g=>await ma.post("/api/senior/profile",g),postSeniorSurveyFormSubmission:async g=>await ma.post("/api/senior/survey",g),surveyStatus:async(g,E)=>await on.get(`/v2/survey/${g}/availability/${E}`),getProfilingFlow:async g=>await on.get(`/v2/users/${g}/flow`),checkoutComplete:async g=>await ma.patch("/api/profiles/checkout-complete",g)}},ao=(e,t=[])=>{const r=y.useRef(!0);y.useEffect(()=>{r.current&&(r.current=!1,e())},t)},lA=()=>{const[e,t]=y.useState(window.innerWidth);function r(){t(window.innerWidth)}return y.useEffect(()=>(window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e<=768},eve=()=>{const[e,t]=y.useState(window.innerWidth);function r(){t(window.innerWidth)}return y.useEffect(()=>(window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e>=1024},tve=()=>{const e=Wo(f=>f.profile),t=Wo(f=>f.setProfile),r=Wo(f=>f.setSession),n=Vt(),[i,o]=y.useState(!1),s=()=>{t(null),r(null),n(be.login),je.info("You has been logged out!")},c=lA();return N("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:[N("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","_blank")},children:[v("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"}),v("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"})]}),N("div",{className:"right-12 flex flex-row items-center gap-2",children:[c?N(pt,{children:[v(Fe.PrivacyPolicyIcon,{onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},className:"h-8 w-8 rounded-full stroke-2"}),v(Fe.MarkCircleIcon,{onClick:()=>o(!0),className:"h-8 w-8 rounded-full"})]}):N(pt,{children:[v(mt,{variant:"tertiary-link",onClick:()=>{window.open("https://www.eo.care/web/privacy-policy","_blank")},font:"regular",children:"Privacy Policy"}),v(mt,{variant:"black",onClick:()=>o(!0),font:"semiBold",children:"Need Help?"})]}),e&&v(mt,{variant:"outline",onClick:()=>s(),children:"Log out"})]}),v(uhe,{isOpen:i,onClose:()=>{},controller:o,children:N("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:[v(ne,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),v(ne,{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?"}),N("ul",{className:"list-disc pl-4",children:[v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[v("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."]})}),v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",v("a",{href:"tel:888-823-6143",className:"underline decoration-1 underline-offset-8",children:"888-823-6143"})]})}),v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",v("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},ot=({children:e,className:t})=>v("section",{className:De("flex h-screen w-screen flex-col bg-ice-silver",t),children:N("div",{className:"flex h-full w-full flex-col overflow-auto",children:[v(tve,{}),e]})}),Xe={c_org:"c_org",marketing_site:"marketing_site",cancer_pilot:"cancer_pilot",employer_center:"employer_center",cancer_support_community:"cancer_support_community",twist_out_cancer:"twist_out_cancer",resource_center_1:"resource_center_1",resource_center_2:"resource_center_2",inova:"inova",imerman:"imerman",unite_for_her:"unite_for_her",mass_retirees:"mass_retirees",stupid_cancer:"stupid_cancer"},WE={channel:null,type:null,introQuestionSubmissionId:null,symptoms:[],state:null,origin:"",experience:"",account:{email:"",password:"",firstName:"",lastName:"",phoneNumber:"",agreeReceiveNotifications:!1,agreeTermsAndConditions:!1},usePayment:!0,flow:Xe.marketing_site},Go=sw()(lw((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(),...WE})},setOrigin:r=>{e({origin:r})},setExperience:r=>{e({experience:r})},setFlow:r=>{e({flow:r})},...WE}),{name:"useProfilingStore"})),rve=dt.object({firstName:dt.string().min(1,{message:"First name is required"}),lastName:dt.string().min(1,{message:"Last name is required"}),email:dt.string().min(1,{message:"Email is required"}).email({message:"Enter a valid email."}),phoneNumber:dt.string().superRefine((e,t)=>{e.replace(/\D/g,"").length!==10&&t.addIssue({code:"custom",message:"Contact number must be 10 digits"})}),password:dt.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:dt.boolean().refine(e=>e,{message:"Must agree to authorizations to continue."}),agreeTermsAndConditions:dt.boolean().refine(e=>e,{message:"You must agree to the terms and conditions"})}),nve=()=>{var b,g,E,O,T,M,V,j,U,H;const e=Vt(),[t]=Fr(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=Go(Z=>Z),{eligibleEmail:f}=Nr(),[d,h]=y.useState(!1),{formState:{errors:m},handleSubmit:x,register:C,setError:S}=Js({resolver:el(rve),defaultValues:r}),k=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(be.cancerForm);break;case"senior":e(be.seniorForm);break;default:e("/")}else{S("email",{message:"Email was already taken"}),h(!1);return}};return ao(()=>{const Z=t.get("submission_id"),Y=t.get("state"),a=t.get("experience")??"";Z?(s(Y),i(Z),c(a)):je.error(N("p",{children:["Impossible to continue without",v("br",{})," a submission id"]}))}),v(ot,{children:v("div",{className:"flex h-full w-full flex-row items-center justify-center pb-10",children:N("form",{className:"h-auto w-11/12 rounded-md border border-gray-100 bg-white shadow-lg md:w-[797px]",children:[N("div",{className:"px-[28px] py-[48px]",children:[v(ne,{variant:"large",font:"semiBold",className:De("mb-4 font-nunito",!!k&&"text-red"),children:"Great! Now let's create your account."}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{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*"}),v(Sr,{id:"lastName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("lastName"),error:(g=m.lastName)==null?void 0:g.message,placeholder:"Last Name*"})]}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{id:"email",placeholder:"Email*",type:"email",left:v(Fe.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(E=m.email)==null?void 0:E.message}),v(Sr,{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})]}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{id:"phoneNumber",placeholder:"Phone number*",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12 placeholder:text-[16px] placeholder:font-normal placeholder:text-gray-700",...C("phoneNumber"),error:(T=m.phoneNumber)==null?void 0:T.message}),N("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[v(Qy,{id:"agreeReceiveNotifications",...C("agreeReceiveNotifications"),error:(M=m.agreeReceiveNotifications)==null?void 0:M.message,containerClassName:"col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:v(ne,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light ",((V=m.agreeReceiveNotifications)==null?void 0:V.message)&&"text-red-500"),children:"I agree to receive emails and text messages related to my care."})}),v(Qy,{id:"agreeTermsAndConditions",...C("agreeTermsAndConditions"),error:(j=m.agreeTermsAndConditions)==null?void 0:j.message,containerClassName:"w-full col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:N(ne,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light !leading-4",((U=m.agreeTermsAndConditions)==null?void 0:U.message)&&"text-red-500"),children:["I have read and agree to the"," ",v("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"," ",N("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"," "]})," "]})})]})]})]}),N("section",{className:"flex h-[53px] items-center justify-end rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[v(ne,{className:De("mx-auto my-0 hidden font-nunito text-white md:block",!!k&&"text-red-300"),variant:"small",children:k?(H=m.password)!=null&&H.message?"Password must be at least 8 characters, contain a capital letter, number, and special character.":k.message:"Remember: You’ll need to have your password handy when accessing your care plan!"}),v(mt,{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 x(A)(),right:v(Fe.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Pc=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)}},ive=()=>{const[e]=Fr(),t=e.get("email")||"",r=e.get("symptoms")||"";return y.useEffect(()=>{Pc(ng)},[]),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${ng}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${ng}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},uA=({children:e})=>N("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px] pb-10",children:[v(ne,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),v("br",{}),e]}),ove=[{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:Fe.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:Fe.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"You’ll order recommended CDB and Delta-9 THC products online for easy home delivery. Our team will provide details on how to be reimbursed for all purchases.",icon:Fe.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you use your recommended products per the directions in your care plan, we’ll check in regularly and ask you to complete brief, periodic surveys.",icon:Fe.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:Fe.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:Fe.SupportIconWhite}],ave=[{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:Fe.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:Fe.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"You’ll order recommended CDB and Delta-9 THC products online for easy home delivery. Typically, there’s no need to visit a dispensary.",icon:Fe.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you use your recommended products per the directions in your care plan, we’ll check in regularly and ask you to complete brief, periodic surveys.",icon:Fe.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:Fe.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:Fe.SupportIconWhite}],sve=[{title:"How much does an EO care plan cost?",content:"As a valued member of our community, your care is completely free. This includes your clinician-reviewed plan, ongoing plan optimization based on your feedback and unlimited phone calls and in-app messaging with our care team. All you pay for are your products."},{title:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],lve=[{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:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],uve=[{title:"How much does EO cost?",content:"Your care is completely free. And we’ll reimburse you for the cost of your products over your first 90 days of care. 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:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid cannabis certification, 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 have a cannabis certification?",content:"Depending on your recommended products, you may not need a certification. You only need to be certified if some or all of your recommended products are being sourced from a local dispensary. If you need to be certified, be sure to reach out to support@eo.care for help."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],cve=[{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 program."},{title:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],ch=y;function fve({title:e,titleId:t,...r},n){return ch.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?ch.createElement("title",{id:t},e):null,ch.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 dve=ch.forwardRef(fve);var pve=dve;const fh=y;function hve({title:e,titleId:t,...r},n){return fh.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?fh.createElement("title",{id:t},e):null,fh.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 mve=fh.forwardRef(hve);var vve=mve,gve=pve,yve=vve;const wve=({active:e=!1,children:t,title:r})=>{const[n,i]=y.useState(e);return N("div",{children:[N("div",{className:"flex cursor-pointer flex-row items-center justify-between gap-4 md:items-start",onClick:()=>i(o=>!o),children:[typeof r=="string"?v(ne,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,v("div",{children:n?v(gve,{className:"h-8 w-8"}):v(yve,{className:"h-8 w-8"})})]}),N("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:[v("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},xve=[Xe.c_org,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.imerman,Xe.unite_for_her,Xe.mass_retirees,Xe.stupid_cancer],bve=e=>e&&xve.includes(e)?sve:e===Xe.inova?uve:e===Xe.cancer_pilot?lve:cve,B3=({flow:e})=>{const t=bve(e);return v("section",{className:"px-6 py-12 md:mx-0 md:my-[100px]",children:N("div",{className:"mx-auto my-0 flex max-w-[900px] flex-col",children:[v(ne,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),v("div",{className:"flex flex-col gap-6",children:t.map(({title:r,content:n})=>v(wve,{title:r,active:!1,children:v(ne,{className:"text-[18px] leading-[26px] text-gray-800",children:n})},r))})]})})};function VE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Lw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:VE(t[r])&&VE(e[r])&&Object.keys(t[r]).length>0&&Lw(e[r],t[r])})}const cA={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ll(){const e=typeof document<"u"?document:{};return Lw(e,cA),e}const Cve={document:cA,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 vn(){const e=typeof window<"u"?window:{};return Lw(e,Cve),e}function Eve(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function _ve(e){const t=e;Object.keys(t).forEach(r=>{try{t[r]=null}catch{}try{delete t[r]}catch{}})}function t6(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ym(){return Date.now()}function kve(e){const t=vn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function Sve(e,t){t===void 0&&(t="x");const r=vn();let n,i,o;const s=kve(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 Z1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Rve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function sn(){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=(x,C)=>d==="next"&&x>=C||d==="prev"&&x<=C,m=()=>{c=new Date().getTime(),s===null&&(s=c);const x=Math.max(Math.min((c-s)/f,1),0),C=.5-Math.cos(x*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 bi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function Qm(e){try{console.warn(e);return}catch{}}function dc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:Eve(t)),r}function Ave(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 Ove(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 Bo(e,t){return vn().getComputedStyle(e,null).getPropertyValue(t)}function pc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function dA(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 r6(e,t,r){const n=vn();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 pA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=bi(e.el,`.${n[i]}`)[0];o||(o=dc("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=k=>(Array.isArray(k)?k:[k]).filter(A=>!!A);function s(k){let A;return k&&typeof k=="string"&&t.isElement&&(A=t.el.querySelector(k),A)?A:(k&&(typeof k=="string"&&(A=[...document.querySelectorAll(k)]),t.params.uniqueNavElements&&typeof k=="string"&&A.length>1&&t.el.querySelectorAll(k).length===1&&(A=t.el.querySelector(k))),k&&!A?k:A)}function c(k,A){const b=t.params.navigation;k=o(k),k.forEach(g=>{g&&(g.classList[A?"add":"remove"](...b.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=A),t.params.watchOverflow&&t.enabled&&g.classList[t.isLocked?"add":"remove"](b.lockClass))})}function f(){const{nextEl:k,prevEl:A}=t.navigation;if(t.params.loop){c(A,!1),c(k,!1);return}c(A,t.isBeginning&&!t.params.rewind),c(k,t.isEnd&&!t.params.rewind)}function d(k){k.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function h(k){k.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function m(){const k=t.params.navigation;if(t.params.navigation=pA(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(k.nextEl||k.prevEl))return;let A=s(k.nextEl),b=s(k.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:b}),A=o(A),b=o(b);const g=(E,O)=>{E&&E.addEventListener("click",O==="next"?h:d),!t.enabled&&E&&E.classList.add(...k.lockClass.split(" "))};A.forEach(E=>g(E,"next")),b.forEach(E=>g(E,"prev"))}function x(){let{nextEl:k,prevEl:A}=t.navigation;k=o(k),A=o(A);const b=(g,E)=>{g.removeEventListener("click",E==="next"?h:d),g.classList.remove(...t.params.navigation.disabledClass.split(" "))};k.forEach(g=>b(g,"next")),A.forEach(g=>b(g,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?S():(m(),f())}),n("toEdge fromEdge lock unlock",()=>{f()}),n("destroy",()=>{x()}),n("enable disable",()=>{let{nextEl:k,prevEl:A}=t.navigation;if(k=o(k),A=o(A),t.enabled){f();return}[...k,...A].filter(b=>!!b).forEach(b=>b.classList.add(t.params.navigation.lockClass))}),n("click",(k,A)=>{let{nextEl:b,prevEl:g}=t.navigation;b=o(b),g=o(g);const E=A.target;if(t.params.navigation.hideOnClick&&!g.includes(E)&&!b.includes(E)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===E||t.pagination.el.contains(E)))return;let O;b.length?O=b[0].classList.contains(t.params.navigation.hiddenClass):g.length&&(O=g[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...b,...g].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const C=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),m(),f()},S=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),x()};Object.assign(t.navigation,{enable:C,disable:S,update:f,init:m,destroy:x})}function Ro(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Lve(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:g=>g,formatFractionTotal:g=>g,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=g=>(Array.isArray(g)?g:[g]).filter(E=>!!E);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function h(g,E){const{bulletActiveClass:O}=t.params.pagination;g&&(g=g[`${E==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${O}-${E}`),g=g[`${E==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${O}-${E}-${E}`)))}function m(g){const E=g.target.closest(Ro(t.params.pagination.bulletClass));if(!E)return;g.preventDefault();const O=pc(E)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===O)return;t.slideToLoop(O)}else t.slideTo(O)}function x(){const g=t.rtl,E=t.params.pagination;if(d())return;let O=t.pagination.el;O=f(O);let T,M;const V=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,j=t.params.loop?Math.ceil(V/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(M=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,M=t.previousSnapIndex):(M=t.previousIndex||0,T=t.activeIndex||0),E.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const U=t.pagination.bullets;let H,Z,Y;if(E.dynamicBullets&&(s=r6(U[0],t.isHorizontal()?"width":"height",!0),O.forEach(a=>{a.style[t.isHorizontal()?"width":"height"]=`${s*(E.dynamicMainBullets+4)}px`}),E.dynamicMainBullets>1&&M!==void 0&&(c+=T-(M||0),c>E.dynamicMainBullets-1?c=E.dynamicMainBullets-1:c<0&&(c=0)),H=Math.max(T-c,0),Z=H+(Math.min(U.length,E.dynamicMainBullets)-1),Y=(Z+H)/2),U.forEach(a=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${E.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();a.classList.remove(...P)}),O.length>1)U.forEach(a=>{const P=pc(a);P===T?a.classList.add(...E.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),E.dynamicBullets&&(P>=H&&P<=Z&&a.classList.add(...`${E.bulletActiveClass}-main`.split(" ")),P===H&&h(a,"prev"),P===Z&&h(a,"next"))});else{const a=U[T];if(a&&a.classList.add(...E.bulletActiveClass.split(" ")),t.isElement&&U.forEach((P,D)=>{P.setAttribute("part",D===T?"bullet-active":"bullet")}),E.dynamicBullets){const P=U[H],D=U[Z];for(let G=H;G<=Z;G+=1)U[G]&&U[G].classList.add(...`${E.bulletActiveClass}-main`.split(" "));h(P,"prev"),h(D,"next")}}if(E.dynamicBullets){const a=Math.min(U.length,E.dynamicMainBullets+4),P=(s*a-s)/2-Y*s,D=g?"right":"left";U.forEach(G=>{G.style[t.isHorizontal()?D:"top"]=`${P}px`})}}O.forEach((U,H)=>{if(E.type==="fraction"&&(U.querySelectorAll(Ro(E.currentClass)).forEach(Z=>{Z.textContent=E.formatFractionCurrent(T+1)}),U.querySelectorAll(Ro(E.totalClass)).forEach(Z=>{Z.textContent=E.formatFractionTotal(j)})),E.type==="progressbar"){let Z;E.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Y=(T+1)/j;let a=1,P=1;Z==="horizontal"?a=Y:P=Y,U.querySelectorAll(Ro(E.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${P})`,D.style.transitionDuration=`${t.params.speed}ms`})}E.type==="custom"&&E.renderCustom?(U.innerHTML=E.renderCustom(t,T+1,j),H===0&&i("paginationRender",U)):(H===0&&i("paginationRender",U),i("paginationUpdate",U)),t.params.watchOverflow&&t.enabled&&U.classList[t.isLocked?"add":"remove"](E.lockClass)})}function C(){const g=t.params.pagination;if(d())return;const E=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let O=t.pagination.el;O=f(O);let T="";if(g.type==="bullets"){let M=t.params.loop?Math.ceil(E/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&M>E&&(M=E);for(let V=0;V`}g.type==="fraction"&&(g.renderFraction?T=g.renderFraction.call(t,g.currentClass,g.totalClass):T=` / `),g.type==="progressbar"&&(g.renderProgressbar?T=g.renderProgressbar.call(t,g.progressbarFillClass):T=``),t.pagination.bullets=[],O.forEach(M=>{g.type!=="custom"&&(M.innerHTML=T||""),g.type==="bullets"&&t.pagination.bullets.push(...M.querySelectorAll(Ro(g.bulletClass)))}),g.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=pA(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let E;typeof g.el=="string"&&t.isElement&&(E=t.el.querySelector(g.el)),!E&&typeof g.el=="string"&&(E=[...document.querySelectorAll(g.el)]),E||(E=g.el),!(!E||E.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(E)&&E.length>1&&(E=[...t.el.querySelectorAll(g.el)],E.length>1&&(E=E.filter(O=>dA(O,".swiper")[0]===t.el)[0])),Array.isArray(E)&&E.length===1&&(E=E[0]),Object.assign(t.pagination,{el:E}),E=f(E),E.forEach(O=>{g.type==="bullets"&&g.clickable&&O.classList.add(...(g.clickableClass||"").split(" ")),O.classList.add(g.modifierClass+g.type),O.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(O.classList.add(`${g.modifierClass}${g.type}-dynamic`),c=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&O.classList.add(g.progressbarOppositeClass),g.clickable&&O.addEventListener("click",m),t.enabled||O.classList.add(g.lockClass)}))}function k(){const g=t.params.pagination;if(d())return;let E=t.pagination.el;E&&(E=f(E),E.forEach(O=>{O.classList.remove(g.hiddenClass),O.classList.remove(g.modifierClass+g.type),O.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(O.classList.remove(...(g.clickableClass||"").split(" ")),O.removeEventListener("click",m))})),t.pagination.bullets&&t.pagination.bullets.forEach(O=>O.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:E}=t.pagination;E=f(E),E.forEach(O=>{O.classList.remove(g.horizontalClass,g.verticalClass),O.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?b():(S(),C(),x())}),n("activeIndexChange",()=>{typeof t.snapIndex>"u"&&x()}),n("snapIndexChange",()=>{x()}),n("snapGridLengthChange",()=>{C(),x()}),n("destroy",()=>{k()}),n("enable disable",()=>{let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{x()}),n("click",(g,E)=>{const O=E.target,T=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!O.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&O===t.navigation.nextEl||t.navigation.prevEl&&O===t.navigation.prevEl))return;const M=T[0].classList.contains(t.params.pagination.hiddenClass);i(M===!0?"paginationShow":"paginationHide"),T.forEach(V=>V.classList.toggle(t.params.pagination.hiddenClass))}});const A=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList.remove(t.params.pagination.paginationDisabledClass))),S(),C(),x()},b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList.add(t.params.pagination.paginationDisabledClass))),k()};Object.assign(t.pagination,{enable:A,disable:b,render:C,update:x,init:S,destroy:k})}function Bve(e){let{swiper:t,extendParams:r,on:n}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function o(P){const D=i;D.length!==0&&(D.innerHTML="",D.innerHTML=P)}const s=P=>(Array.isArray(P)?P:[P]).filter(D=>!!D);function c(P){P===void 0&&(P=16);const D=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,D)}function f(P){P=s(P),P.forEach(D=>{D.setAttribute("tabIndex","0")})}function d(P){P=s(P),P.forEach(D=>{D.setAttribute("tabIndex","-1")})}function h(P,D){P=s(P),P.forEach(G=>{G.setAttribute("role",D)})}function m(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-roledescription",D)})}function x(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-controls",D)})}function C(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-label",D)})}function S(P,D){P=s(P),P.forEach(G=>{G.setAttribute("id",D)})}function k(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-live",D)})}function A(P){P=s(P),P.forEach(D=>{D.setAttribute("aria-disabled",!0)})}function b(P){P=s(P),P.forEach(D=>{D.setAttribute("aria-disabled",!1)})}function g(P){if(P.keyCode!==13&&P.keyCode!==32)return;const D=t.params.a11y,G=P.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(P.target))&&!P.target.matches(Ro(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&G===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?o(D.lastSlideMessage):o(D.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&G===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?o(D.firstSlideMessage):o(D.prevSlideMessage)),t.pagination&&G.matches(Ro(t.params.pagination.bulletClass))&&G.click())}function E(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:P,prevEl:D}=t.navigation;D&&(t.isBeginning?(A(D),d(D)):(b(D),f(D))),P&&(t.isEnd?(A(P),d(P)):(b(P),f(P)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function T(){return O()&&t.params.pagination.clickable}function M(){const P=t.params.a11y;O()&&t.pagination.bullets.forEach(D=>{t.params.pagination.clickable&&(f(D),t.params.pagination.renderBullet||(h(D,"button"),C(D,P.paginationBulletMessage.replace(/\{\{index\}\}/,pc(D)+1)))),D.matches(Ro(t.params.pagination.bulletActiveClass))?D.setAttribute("aria-current","true"):D.removeAttribute("aria-current")})}const V=(P,D,G)=>{f(P),P.tagName!=="BUTTON"&&(h(P,"button"),P.addEventListener("keydown",g)),C(P,G),x(P,D)},j=()=>{t.a11y.clicked=!0},U=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},H=P=>{if(t.a11y.clicked)return;const D=P.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!D||!t.slides.includes(D))return;const G=t.slides.indexOf(D)===t.activeIndex,se=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(D);G||se||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(D),0))},Z=()=>{const P=t.params.a11y;P.itemRoleDescriptionMessage&&m(t.slides,P.itemRoleDescriptionMessage),P.slideRole&&h(t.slides,P.slideRole);const D=t.slides.length;P.slideLabelMessage&&t.slides.forEach((G,se)=>{const Q=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):se,re=P.slideLabelMessage.replace(/\{\{index\}\}/,Q+1).replace(/\{\{slidesLength\}\}/,D);C(G,re)})},Y=()=>{const P=t.params.a11y;t.el.append(i);const D=t.el;P.containerRoleDescriptionMessage&&m(D,P.containerRoleDescriptionMessage),P.containerMessage&&C(D,P.containerMessage);const G=t.wrapperEl,se=P.id||G.getAttribute("id")||`swiper-wrapper-${c(16)}`,Q=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";S(G,se),k(G,Q),Z();let{nextEl:re,prevEl:ve}=t.navigation?t.navigation:{};re=s(re),ve=s(ve),re&&re.forEach(xe=>V(xe,se,P.nextSlideMessage)),ve&&ve.forEach(xe=>V(xe,se,P.prevSlideMessage)),T()&&s(t.pagination.el).forEach(Te=>{Te.addEventListener("keydown",g)}),t.el.addEventListener("focus",H,!0),t.el.addEventListener("pointerdown",j,!0),t.el.addEventListener("pointerup",U,!0)};function a(){i&&i.remove();let{nextEl:P,prevEl:D}=t.navigation?t.navigation:{};P=s(P),D=s(D),P&&P.forEach(G=>G.removeEventListener("keydown",g)),D&&D.forEach(G=>G.removeEventListener("keydown",g)),T()&&s(t.pagination.el).forEach(se=>{se.removeEventListener("keydown",g)}),t.el.removeEventListener("focus",H,!0),t.el.removeEventListener("pointerdown",j,!0),t.el.removeEventListener("pointerup",U,!0)}n("beforeInit",()=>{i=dc("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{t.params.a11y.enabled&&Y()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&Z()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&E()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&M()}),n("destroy",()=>{t.params.a11y.enabled&&a()})}let ig;function Tve(){const e=vn(),t=ll();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function hA(){return ig||(ig=Tve()),ig}let og;function Pve(e){let{userAgent:t}=e===void 0?{}:e;const r=hA(),n=vn(),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_]+))?/),x=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),C=i==="Win32";let S=i==="MacIntel";const k=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&S&&r.touch&&k.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||x||m)&&(s.os="ios",s.ios=!0),s}function $ve(e){return e===void 0&&(e={}),og||(og=Pve(e)),og}let ag;function Dve(){const e=vn();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 Mve(){return ag||(ag=Dve()),ag}function Fve(e){let{swiper:t,on:r,emit:n}=e;const i=vn();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:x,height:C}=t;let S=x,k=C;m.forEach(A=>{let{contentBoxSize:b,contentRect:g,target:E}=A;E&&E!==t.el||(S=g?g.width:(b[0]||b).inlineSize,k=g?g.height:(b[0]||b).blockSize)}),(S!==x||k!==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 Nve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=vn(),c=function(h,m){m===void 0&&(m={});const x=s.MutationObserver||s.WebkitMutationObserver,C=new x(S=>{if(t.__preventObserver__)return;if(S.length===1){i("observerUpdate",S[0]);return}const k=function(){i("observerUpdate",S[0])};s.requestAnimationFrame?s.requestAnimationFrame(k):s.setTimeout(k,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=dA(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 jve={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 zve(){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(Bo(n,"padding-left")||0,10)-parseInt(Bo(n,"padding-right")||0,10),r=r-parseInt(Bo(n,"padding-top")||0,10)-parseInt(Bo(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 Wve(){const e=this;function t(H,Z){return parseFloat(H.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=bi(i,`.${e.params.slideClass}, swiper-slide`),m=f?e.virtual.slides.length:h.length;let x=[];const C=[],S=[];let k=r.slidesOffsetBefore;typeof k=="function"&&(k=r.slidesOffsetBefore.call(e));let A=r.slidesOffsetAfter;typeof A=="function"&&(A=r.slidesOffsetAfter.call(e));const b=e.snapGrid.length,g=e.slidesGrid.length;let E=r.spaceBetween,O=-k,T=0,M=0;if(typeof o>"u")return;typeof E=="string"&&E.indexOf("%")>=0?E=parseFloat(E.replace("%",""))/100*o:typeof E=="string"&&(E=parseFloat(E)),e.virtualSize=-E,h.forEach(H=>{s?H.style.marginLeft="":H.style.marginRight="",H.style.marginBottom="",H.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(G1(n,"--swiper-centered-offset-before",""),G1(n,"--swiper-centered-offset-after",""));const V=r.grid&&r.grid.rows>1&&e.grid;V?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let j;const U=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(H=>typeof r.breakpoints[H].slidesPerView<"u").length>0;for(let H=0;H1&&x.push(e.virtualSize-o)}if(f&&r.loop){const H=S[0]+E;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Y=H*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Y!==h.length-1).forEach(Z=>{Z.style[H]=`${E}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let H=0;S.forEach(Y=>{H+=Y+(E||0)}),H-=E;const Z=H-o;x=x.map(Y=>Y<=0?-k:Y>Z?Z+A:Y)}if(r.centerInsufficientSlides){let H=0;if(S.forEach(Z=>{H+=Z+(E||0)}),H-=E,H{x[a]=Y-Z}),C.forEach((Y,a)=>{C[a]=Y+Z})}}if(Object.assign(e,{slides:h,snapGrid:x,slidesGrid:C,slidesSizesGrid:S}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){G1(n,"--swiper-centered-offset-before",`${-x[0]}px`),G1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const H=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Y=>Y+H),e.slidesGrid=e.slidesGrid.map(Y=>Y+Z)}if(m!==d&&e.emit("slidesLengthChange"),x.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),C.length!==g&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!f&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const H=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(H);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(H):Z&&e.el.classList.remove(H)}}function Vve(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 Hve(){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)),k&&n[f].classList.add(r.slideFullyVisibleClass),d.progress=i?-m:m,d.originalProgress=i?-x:x}}function qve(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),x=t.slidesGrid[h],C=t.slidesGrid[m],S=t.slidesGrid[t.slidesGrid.length-1],k=Math.abs(e);k>=x?c=(k-x)/S:c=(k+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 Zve(){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=>bi(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=Ove(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=Ave(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const dh=(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()}},sg=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},n6=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)&&sg(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)&&sg(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 Yve(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=Gve(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 x;if(t.virtual&&i.virtual.enabled&&i.loop)x=h(f);else if(m){const C=t.slides.filter(k=>k.column===f)[0];let S=parseInt(C.getAttribute("data-swiper-slide-index"),10);Number.isNaN(S)&&(S=Math.max(t.slides.indexOf(C),0)),x=Math.floor(S/i.grid.rows)}else if(t.slides[f]){const C=t.slides[f].getAttribute("data-swiper-slide-index");C?x=parseInt(C,10):x=f}else x=f;Object.assign(t,{previousSnapIndex:c,snapIndex:d,previousRealIndex:s,realIndex:x,previousIndex:o,activeIndex:f}),t.initialized&&n6(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==x&&t.emit("realIndexChange"),t.emit("slideChange"))}function Qve(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 E=0;E=T&&O=T&&O=T&&(s=E)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(x?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 g;if(s>m?g="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[E?"scrollLeft":"scrollTop"]=O})):C[E?"scrollLeft":"scrollTop"]=O,T&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return fA({swiper:o,targetPosition:O,side:E?"left":"top"}),!0;C.scrollTo({[E?"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,g),t===0?o.transitionEnd(r,g):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,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function u4e(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 x=s*i.params.grid.rows;c=i.slides.filter(C=>C.getAttribute("data-swiper-slide-index")*1===x)[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===x)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i}function c4e(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 f4e(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 x(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const C=x(m),S=o.map(b=>x(b));let k=o[S.indexOf(C)-1];if(typeof k>"u"&&i.cssMode){let b;o.forEach((g,E)=>{C>=g&&(b=E)}),typeof b<"u"&&(k=o[b>0?b-1:b])}let A=0;if(typeof k<"u"&&(A=s.indexOf(k),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 d4e(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 p4e(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 h4e(){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(bi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),t6(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-n?(e.loopFix(),i=e.getSlideIndex(bi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),t6(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var m4e={slideTo:l4e,slideToLoop:u4e,slideNext:c4e,slidePrev:f4e,slideReset:d4e,slideToClosest:p4e,slideToClickedSlide:h4e};function v4e(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{bi(n,`.${r.slideClass}, swiper-slide`).forEach((m,x)=>{m.setAttribute("data-swiper-slide-index",x)})},o=t.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),c=t.slides.length%s!==0,f=o&&t.slides.length%r.grid.rows!==0,d=h=>{for(let m=0;m1;d.length"u"?o=f.getSlideIndex(d.filter(a=>a.classList.contains(C.slideActiveClass))[0]):T=o;const M=n==="next"||!n,V=n==="prev"||!n;let j=0,U=0;const H=g?Math.ceil(d.length/C.grid.rows):d.length,Y=(g?d[o].column:o)+(S&&typeof i>"u"?-k/2+.5:0);if(Y=0;G-=1)d[G].column===D&&E.push(G)}else E.push(H-P-1)}}else if(Y+k>H-b){U=Math.max(Y-(H-b*2),A);for(let a=0;a{D.column===P&&O.push(G)}):O.push(P)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),V&&E.forEach(a=>{d[a].swiperLoopMoveDOM=!0,x.prepend(d[a]),d[a].swiperLoopMoveDOM=!1}),M&&O.forEach(a=>{d[a].swiperLoopMoveDOM=!0,x.append(d[a]),d[a].swiperLoopMoveDOM=!1}),f.recalcSlides(),C.slidesPerView==="auto"?f.updateSlides():g&&(E.length>0&&V||O.length>0&&M)&&f.slides.forEach((a,P)=>{f.grid.updateSlide(P,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(E.length>0&&V){if(typeof t>"u"){const a=f.slidesGrid[T],D=f.slidesGrid[T+j]-a;c?f.setTranslate(f.translate-D):(f.slideTo(T+j,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-D,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-D))}else if(i){const a=g?E.length/C.grid.rows:E.length;f.slideTo(f.activeIndex+a,0,!1,!0),f.touchEventsData.currentTranslate=f.translate}}else if(O.length>0&&M)if(typeof t>"u"){const a=f.slidesGrid[T],D=f.slidesGrid[T-U]-a;c?f.setTranslate(f.translate-D):(f.slideTo(T-U,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-D,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-D))}else{const a=g?O.length/C.grid.rows:O.length;f.slideTo(f.activeIndex-a,0,!1,!0)}}if(f.allowSlidePrev=h,f.allowSlideNext=m,f.controller&&f.controller.control&&!s){const a={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(f.controller.control)?f.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...a,slideTo:P.params.slidesPerView===C.slidesPerView?r:!1})}):f.controller.control instanceof f.constructor&&f.controller.control.params.loop&&f.controller.control.loopFix({...a,slideTo:f.controller.control.params.slidesPerView===C.slidesPerView?r:!1})}f.emit("loopFix")}function y4e(){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 w4e={loopCreate:v4e,loopFix:g4e,loopDestroy:y4e};function x4e(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 b4e(){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 C4e={setGrabCursor:x4e,unsetGrabCursor:b4e};function E4e(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ll()||n===vn())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 HE(e,t,r){const n=vn(),{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 _4e(e){const t=this,r=ll();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){HE(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}`,x=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(x?E4e(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(!HE(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=Ym(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let k=!0;f.matches(i.focusableElements)&&(k=!1,f.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==f&&r.activeElement.blur();const A=k&&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 k4e(e){const t=ll(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:c}=r;if(!c||!i.simulateTouch&&e.pointerType==="mouse")return;let f=e;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(n.touchId!==null||f.pointerId!==n.pointerId))return;let d;if(f.type==="touchmove"){if(d=[...f.changedTouches].filter(M=>M.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=Ym());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 x=o.currentX-o.startX,C=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(x**2+C**2)"u"){let M;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:x*x+C*C>=25&&(M=Math.atan2(Math.abs(C),Math.abs(x))*180/Math.PI,n.isScrolling=r.isHorizontal()?M>i.touchAngle:90-M>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()?x:C,k=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(S=Math.abs(S)*(s?1:-1),k=Math.abs(k)*(s?1:-1)),o.diff=S,S*=i.touchRatio,s&&(S=-S,k=-k);const A=r.touchesDirection;r.swipeDirection=S>0?"prev":"next",r.touchesDirection=k>0?"prev":"next";const b=r.params.loop&&!i.cssMode,g=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(b&&g&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const M=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(M)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",f)}let E;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&A!==r.touchesDirection&&b&&g&&Math.abs(S)>=1){Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",f),n.isMoved=!0,n.currentTranslate=S+n.startTranslate;let O=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),S>0?(b&&g&&!E&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(O=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+S)**T))):S<0&&(b&&g&&!E&&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 S4e(e){const t=this,r=t.touchEventsData;let n=e;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].filter(T=>T.identifier===r.touchId)[0],!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:s,touches:c,rtlTranslate:f,slidesGrid:d,enabled:h}=t;if(!h||!s.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const m=Ym(),x=m-r.touchStartTime;if(t.allowClick){const T=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(T&&T[0]||n.target,T),t.emit("tap click",n),x<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Ym(),t6(()=>{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 k=0,A=t.slidesSizesGrid[0];for(let T=0;T=d[T]&&C=d[T])&&(k=T,A=d[d.length-1]-d[d.length-2])}let b=null,g=null;s.rewind&&(t.isBeginning?g=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const E=(C-d[k])/A,O=ks.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(E>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?b:k+O):t.slideTo(k)),t.swipeDirection==="prev"&&(E>1-s.longSwipesRatio?t.slideTo(k+O):g!==null&&E<0&&Math.abs(E)>s.longSwipesRatio?t.slideTo(g):t.slideTo(k))}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(k+O):t.slideTo(k):(t.swipeDirection==="next"&&t.slideTo(b!==null?b:k+O),t.swipeDirection==="prev"&&t.slideTo(g!==null?g:k))}}function UE(){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 R4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function A4e(){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 O4e(e){const t=this;dh(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 vA=(e,t)=>{const r=ll(),{params:n,el:i,wrapperEl:o,device:s}=e,c=!!n.nested,f=t==="on"?"addEventListener":"removeEventListener",d=t;r[f]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),i[f]("touchstart",e.onTouchStart,{passive:!1}),i[f]("pointerdown",e.onTouchStart,{passive:!1}),r[f]("touchmove",e.onTouchMove,{passive:!1,capture:c}),r[f]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[f]("touchend",e.onTouchEnd,{passive:!0}),r[f]("pointerup",e.onTouchEnd,{passive:!0}),r[f]("pointercancel",e.onTouchEnd,{passive:!0}),r[f]("touchcancel",e.onTouchEnd,{passive:!0}),r[f]("pointerout",e.onTouchEnd,{passive:!0}),r[f]("pointerleave",e.onTouchEnd,{passive:!0}),r[f]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[f]("click",e.onClick,!0),n.cssMode&&o[f]("scroll",e.onScroll),n.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",UE,!0):e[d]("observerUpdate",UE,!0),i[f]("load",e.onLoad,{capture:!0})};function L4e(){const e=this,{params:t}=e;e.onTouchStart=_4e.bind(e),e.onTouchMove=k4e.bind(e),e.onTouchEnd=S4e.bind(e),e.onDocumentTouchStart=I4e.bind(e),t.cssMode&&(e.onScroll=A4e.bind(e)),e.onClick=R4e.bind(e),e.onLoad=O4e.bind(e),vA(e,"on")}function B4e(){vA(this,"off")}var T4e={attachEvents:L4e,detachEvents:B4e};const qE=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function P4e(){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=qE(e,n),h=qE(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 g=n[b]&&n[b].enabled,E=f[b]&&f[b].enabled;g&&!E&&e[b].disable(),!g&&E&&e[b].enable()});const x=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||x),S=n.loop;x&&r&&e.changeDirection(),sn(e.params,f);const k=e.params.enabled,A=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!k?e.disable():!m&&k&&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 $4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=vn(),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 F4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=M4e(["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 N4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var j4e={addClasses:F4e,removeClasses:N4e};function z4e(){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 W4e={checkOverflow:z4e},i6={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 V4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){sn(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)){sn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),sn(t,n)}}const lg={eventsEmitter:jve,update:Kve,translate:n4e,transition:s4e,slide:m4e,loop:w4e,grabCursor:C4e,events:T4e,breakpoints:D4e,checkOverflow:W4e,classes:j4e},ug={};let Bw=class ji{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 x=sn({},r,{el:m});h.push(new ji(x))}),h}const c=this;c.__swiper__=!0,c.support=hA(),c.device=$ve({userAgent:r.userAgent}),c.browser=Mve(),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:V4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=sn({},i6,f);return c.params=sn({},d,ug,r),c.originalParams=sn({},c.params),c.passedParams=sn({},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=bi(r,`.${n.slideClass}, swiper-slide`),o=pc(i[0]);return pc(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=bi(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,x;for(let C=d+1;Cf&&(x=!0));for(let C=d-1;C>=0;C-=1)o[C]&&!x&&(m+=o[C].swiperSlideSize,h+=1,m>f&&(x=!0))}else if(t==="current")for(let m=d+1;m=0;m-=1)s[d]-s[m]{s.complete&&dh(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()):bi(n,i())[0])();return!s&&r.params.createElements&&(s=dc("div",r.params.wrapperClass),n.append(s),bi(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"||Bo(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Bo(n,"direction")==="rtl"),wrongRTL:Bo(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?dh(r,o):o.addEventListener("load",s=>{dh(r,s.target)})}),n6(r),r.initialized=!0,n6(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,_ve(n)),n.destroyed=!0),null}static extendDefaults(t){sn(ug,t)}static get extendedDefaults(){return ug}static get defaults(){return i6}static installModule(t){ji.prototype.__modules__||(ji.prototype.__modules__=[]);const r=ji.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>ji.installModule(r)),ji):(ji.installModule(t),ji)}};Object.keys(lg).forEach(e=>{Object.keys(lg[e]).forEach(t=>{Bw.prototype[t]=lg[e][t]})});Bw.use([Fve,Nve]);const gA=["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 ja(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Bs(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]:ja(t[n])&&ja(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Bs(e[n],t[n]):e[n]=t[n]})}function yA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function wA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function xA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function bA(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 H4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function U4e(e){let{swiper:t,slides:r,passedParams:n,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:c,paginationEl:f}=e;const d=i.filter(U=>U!=="children"&&U!=="direction"&&U!=="wrapperClass"),{params:h,pagination:m,navigation:x,scrollbar:C,virtual:S,thumbs:k}=t;let A,b,g,E,O,T,M,V;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&h.thumbs&&!h.thumbs.swiper&&(A=!0),i.includes("controller")&&n.controller&&n.controller.control&&h.controller&&!h.controller.control&&(b=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||f)&&(h.pagination||h.pagination===!1)&&m&&!m.el&&(g=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(h.scrollbar||h.scrollbar===!1)&&C&&!C.el&&(E=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||o)&&(h.navigation||h.navigation===!1)&&x&&!x.prevEl&&!x.nextEl&&(O=!0);const j=U=>{t[U]&&(t[U].destroy(),U==="navigation"?(t.isElement&&(t[U].prevEl.remove(),t[U].nextEl.remove()),h[U].prevEl=void 0,h[U].nextEl=void 0,t[U].prevEl=void 0,t[U].nextEl=void 0):(t.isElement&&t[U].el.remove(),h[U].el=void 0,t[U].el=void 0))};i.includes("loop")&&t.isElement&&(h.loop&&!n.loop?T=!0:!h.loop&&n.loop?M=!0:V=!0),d.forEach(U=>{if(ja(h[U])&&ja(n[U]))Object.assign(h[U],n[U]),(U==="navigation"||U==="pagination"||U==="scrollbar")&&"enabled"in n[U]&&!n[U].enabled&&j(U);else{const H=n[U];(H===!0||H===!1)&&(U==="navigation"||U==="pagination"||U==="scrollbar")?H===!1&&j(U):h[U]=n[U]}}),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&&(V=!0),A&&k.init()&&k.update(!0),b&&(t.controller.control=h.controller.control),g&&(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()),E&&(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),x.init(),x.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),(T||V)&&t.loopDestroy(),(M||V)&&t.loopCreate(),t.update()}function q4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Bs(r,i6),r._emitClasses=!0,r.init=!1;const o={},s=gA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?ja(e[f])?(r[f]={},i[f]={},Bs(r[f],e[f]),Bs(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 Z4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;yA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),wA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),xA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function G4e(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 gA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(ja(e[f])&&ja(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 Y4e=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 Km(){return Km=Object.assign?Object.assign.bind():function(e){for(var t=1;t{CA(r)?t.push(r):r.props&&r.props.children&&EA(r.props.children).forEach(n=>t.push(n))}),t}function Q4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(CA(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=EA(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 Iu(e,t){return typeof window>"u"?y.useEffect(e,t):y.useLayoutEffect(e,t)}const ZE=y.createContext(null),X4e=y.createContext(null),_A=y.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]=y.useState("swiper"),[m,x]=y.useState(null),[C,S]=y.useState(!1),k=y.useRef(!1),A=y.useRef(null),b=y.useRef(null),g=y.useRef(null),E=y.useRef(null),O=y.useRef(null),T=y.useRef(null),M=y.useRef(null),V=y.useRef(null),{params:j,passedParams:U,rest:H,events:Z}=q4e(c),{slides:Y,slots:a}=Q4e(o),P=()=>{S(!C)};Object.assign(j.on,{_containerClasses(re,ve){h(ve)}});const D=()=>{Object.assign(j.on,Z),f=!0;const re={...j};if(delete re.wrapperClass,b.current=new Bw(re),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=Y;const ve={cache:!1,slides:Y,renderExternal:x,renderExternalUpdate:!1};Bs(b.current.params.virtual,ve),Bs(b.current.originalParams.virtual,ve)}};A.current||D(),b.current&&b.current.on("_beforeBreakpoint",P);const G=()=>{f||!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.on(re,Z[re])})},se=()=>{!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.off(re,Z[re])})};y.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",P)}),y.useEffect(()=>{!k.current&&b.current&&(b.current.emitSlidesClasses(),k.current=!0)}),Iu(()=>{if(t&&(t.current=A.current),!!A.current)return b.current.destroyed&&D(),Z4e({el:A.current,nextEl:O.current,prevEl:T.current,paginationEl:M.current,scrollbarEl:V.current,swiper:b.current},j),s&&s(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),Iu(()=>{G();const re=G4e(U,g.current,Y,E.current,ve=>ve.key);return g.current=U,E.current=Y,re.length&&b.current&&!b.current.destroyed&&U4e({swiper:b.current,slides:Y,passedParams:U,changedParams:re,nextEl:O.current,prevEl:T.current,scrollbarEl:V.current,paginationEl:M.current}),()=>{se()}}),Iu(()=>{Y4e(b.current)},[m]);function Q(){return j.virtual?K4e(b.current,Y,m):Y.map((re,ve)=>he.cloneElement(re,{swiper:b.current,swiperSlideIndex:ve}))}return he.createElement(n,Km({ref:A,className:bA(`${d}${r?` ${r}`:""}`)},H),he.createElement(X4e.Provider,{value:b.current},a["container-start"],he.createElement(i,{className:H4e(j.wrapperClass)},a["wrapper-start"],Q(),a["wrapper-end"]),yA(j)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:T,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),xA(j)&&he.createElement("div",{ref:V,className:"swiper-scrollbar"}),wA(j)&&he.createElement("div",{ref:M,className:"swiper-pagination"}),a["container-end"]))});_A.displayName="Swiper";const kA=y.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=y.useRef(null),[x,C]=y.useState("swiper-slide"),[S,k]=y.useState(!1);function A(O,T,M){T===m.current&&C(M)}Iu(()=>{if(typeof d<"u"&&(m.current.swiperSlideIndex=d),t&&(t.current=m.current),!(!m.current||!o)){if(o.destroyed){x!=="swiper-slide"&&C("swiper-slide");return}return o.on("_slideClass",A),()=>{o&&o.off("_slideClass",A)}}}),Iu(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const b={isActive:x.indexOf("swiper-slide-active")>=0,isVisible:x.indexOf("swiper-slide-visible")>=0,isPrev:x.indexOf("swiper-slide-prev")>=0,isNext:x.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(b):n,E=()=>{k(!0)};return he.createElement(r,Km({ref:m,className:bA(`${x}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:E},h),s&&he.createElement(ZE.Provider,{value:b},he.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},g(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&he.createElement(ZE.Provider,{value:b},g(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});kA.displayName="SwiperSlide";const J4e=({children:e})=>{const t=lA(),r=eve(),n=y.useRef();return N("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[v("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:v(Fe.EoLeftArrowIcon,{})}),v("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:v(_A,{slidesPerGroup:r?3:1,loop:!0,modules:[Ive,Lve,Bve],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)=>v(y.Fragment,{children:v(kA,{children:v("div",{className:"mb-12",children:i})})},`${o}`))})}),v("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:v(Fe.EoRightArrowIcon,{})})]})},T3=({pilot:e=!1})=>N("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[v(ne,{font:"bold",variant:"large",className:"mb-20 text-center",children:e?"How the EO Pilot Works":"How EO Care Plans Work"}),v(J4e,{children:(e?ove:ave).map(({title:r,content:n,step:i,icon:o})=>N("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:[v("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:v(o,{className:"h-9 w-[37px]"})}),v(ne,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:i}),v(ne,{font:"bold",className:"text-xl",children:r}),v(ne,{className:"text-center text-lg md:text-left",children:n})]},i))})]});function $c(){return N("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:[N("section",{className:"sm:max-w-full md:max-w-[453px]",children:[v(Fe.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),N(ne,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",v("br",{className:"hidden md:block"}),"cannabis company."]}),v(ne,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),v("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),N("section",{className:"flex flex-row justify-between",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),v("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:"Home"}),v("a",{href:"https://eo.care/web/for-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"}),v("a",{href:"https://eo.care/web/for-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"}),v("a",{href:"https://eo.care/web/for-employers",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"}),v("a",{href:"https://shop.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:"Shop CBD"}),v("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"}),v("a",{href:"https://eo.care/web/frequently-asked-questions",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"}),v("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"}),v("a",{href:"https://eo.care/methodology",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"}),v("a",{href:"https://eo.care/research",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"}),v("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"}),v("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"}),v("a",{href:"#",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 cky-banner-element",children:"Cookie Preferences"})]}),N("div",{className:"flex flex-col md:flex-row",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),v(ne,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),v("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"}),v(ne,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),v("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"}),v(ne,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),v("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"})]}),N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),v("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"}),v("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"}),v("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 ege=()=>{const[e]=Fr(),t=e.get("submission_id")||"",r=Vt();t||r("/");const{postAthleteSurveyFormSubmission:n}=Nr(),{mutate:i}=hn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;Ai.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>i({submission_id:t})),N(ot,{children:[v(uA,{children:N(ne,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:["We received your feedback! ",v("br",{}),v("br",{}),"Thank you! ",v("br",{}),v("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",v("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",v("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a video chat"})," ","with a member of our team."]})}),v(T3,{}),v(B3,{}),v($c,{})]})},gn=[{title:"Terms of use",url:"https://eo.care/web/terms-of-use"},{title:"Privacy Policy",url:"https://eo.care/web/privacy-policy"},{title:"Cookie Preferences",url:"#",extraClasses:"cky-banner-element"},{title:"Visit eo.care",url:"https://eo.care/web/home"}],tge=[{title:"About EO",url:"https://partner.eo.care/c-org/about"},...gn],rge=[{title:"About EO",url:"https://partner.eo.care/cancer/about"},...gn],nge=[{title:"About EO",url:"https://partner.eo.care/inova/about"},...gn],ige=[{title:"About EO",url:"https://partner.eo.care/twist-out-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/twist-out-cancer/cannabis-101"},...gn],oge=[{title:"About EO",url:"https://partner.eo.care/cancer-support-community/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cancer-support-community/cancer-101"},...gn],age=[{title:"About EO",url:"https://partner.eo.care/employers/about"},...gn],sge=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-1/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-1/cannabis-101"},...gn],lge=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-2/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-2/cannabis-101"},...gn],uge=[{title:"About EO",url:"https://partner.eo.care/imerman/about"},{title:"Cannabis 101",url:"https://partner.eo.care/imerman/cannabis-101"},...gn],cge=[{title:"About EO",url:"https://partner.eo.care/unite-for-her/about"},{title:"Cannabis 101",url:"https://partner.eo.care/unite-for-her/cannabis-101"},...gn],fge=[{title:"About EO",url:"https://partner.eo.care/mass-retirees/about"},{title:"Cannabis 101",url:"https://partner.eo.care/mass-retirees/cannabis-101"},...gn],dge=[{title:"About EO",url:"https://partner.eo.care/stupid-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/stupid-cancer/cannabis-101"},...gn],pge={c_org:tge,cancer_pilot:rge,twist_out_cancer:ige,cancer_support_community:oge,marketing_site:gn,employer_center:age,resource_center_1:sge,resource_center_2:lge,inova:nge,imerman:uge,unite_for_her:cge,mass_retirees:fge,stupid_cancer:dge};function SA({flow:e}){return N("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-[10px] lg:pl-5",children:[N("section",{className:"sm:max-w-full md:max-w-[453px]",children:[v(Fe.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/kit","_blank")}}),v(ne,{variant:"large",font:"bold",className:"mb-6 text-5xl font-extrabold text-white",children:"Wise use for all."}),v(ne,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."}),e===Xe.cancer_support_community&&v(ne,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"Reference in this site to any specific commercial product, process, or service, or the use of any trade, firm or corporation name is for the information and convenience of the recipient, and does not constitute endorsement, recommendation, or favoring by the Cancer Support Community."})]}),v("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),N("section",{className:"flex flex-row justify-between",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),pge[e].map(({title:t,url:r,extraClasses:n})=>v("a",{href:r,className:De("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",n),children:t},r))]}),N("div",{className:"flex flex-col md:flex-row",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),v(ne,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"Call:"}),v("a",{href:"tel:888-823-6143",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:"888-823-6143"}),v(ne,{className:"mb-0 pt-2 font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"Email:"}),v("a",{href:"mailto:support@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:"support@eo.care"})]}),N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),v("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"}),v("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"})]})]})]})]})}const RA=async e=>await on.post("/v2/profile/resend_confirmation_email",{email:e}),hge=async e=>await ma.post("/api/slack-notification/eo-subscription",{email:e}),AA=()=>{const[e,t]=y.useState(!1),[r,n]=y.useState(""),{mutate:i,isLoading:o}=hn({mutationFn:hge,onSuccess:()=>t(!0),onError:()=>je.error("Something went wrong, try again.")});return v("section",{className:"w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]",children:N("div",{className:"flex flex-col items-center",children:[v(ne,{font:"bold",className:"mb-4 text-center text-[32px] leading-[40px] text-skun",children:"EO in your inbox"}),v(ne,{className:"text-center text-skun-mid",children:"Rollouts in new markets, new partnerships, research initiatives and special offers are all coming soon."}),e?v("div",{className:"mt-[30px] px-6 py-12 lg:px-32 lg:py-18 rounded-lg border-2 border-black",children:N(ne,{font:"semiBold",className:"text-center text-lg ",children:["Thank you! ",v("br",{}),"Your submission has been received!"]})}):N("form",{onSubmit:s=>{s.preventDefault(),i(r)},className:"mt-[30px] flex w-full flex-col justify-items-end gap-4 md:w-auto md:flex-row",children:[v("input",{className:"h-[49px] w-full rounded-[40px] border border-solid border-black bg-white py-3 pl-4 pr-2 text-black placeholder:text-gray-300 md:w-[327px]",placeholder:"Enter your email...",type:"email",value:r,onChange:s=>{n(s.target.value)}}),v(mt,{type:"submit",variant:"black",font:"semiBold",disabled:o||!r,children:"Subscribe"})]})]})})},mge=({formId:e,searchParam:t})=>{const r=y.useRef(null);return ao(()=>{setTimeout(()=>{Pc(e)},400),setTimeout(()=>{r!=null&&r.current&&(r.current.style.opacity="100")},3500)},[e,t]),v("iframe",{ref:r,src:`https://form.jotform.com/${e}?${t?t.toString().replaceAll("+","%20"):""}`,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"})},vge=()=>{const[e,t]=y.useState(!0);return y.useEffect(()=>{setTimeout(()=>{t(!1)},3e3)}),v(pt,{children:e&&v("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"}})})},ul=({formId:e,searchParam:t})=>N(pt,{children:[v(vge,{}),v(mge,{formId:e,searchParam:t})]}),P3=()=>v("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"}}),cg=({number:e,title:t,children:r})=>N("div",{className:"flex flex-col items-center gap-4 max-w-[360px]",children:[v("div",{className:"rounded-full bg-electric-blue w-[70px] h-[70px] items-center justify-center flex",children:v("span",{className:"text-white font-bold text-[40px] font-new-hero",children:e})}),v(ne,{font:"bold",className:"text-center text-xl leading-[28px]",children:t}),r]}),OA=()=>N("div",{className:"mx-6 flex flex-col-reverse justify-between lg:ml-8 lg:flex-row xl:mx-0 xl:ml-[155px] xl:mt-[144px] xl:w-[979px] xl:items-center",children:[N("section",{className:"mt-4 flex flex-col gap-[35px] lg:mt-0",children:[N(ne,{variant:"large",className:"!text-[48px] font-extrabold !leading-[120%]",children:["Survey already ",v("br",{}),"responded!"]}),N(ne,{className:"text-[20px] text-gray-800",font:"regular",children:["Thank you for answering our survey! ",v("br",{}),"Your insights are greatly appreciated and will help us improve."]}),v("div",{children:v("a",{href:Ou,className:"float-left block",children:N(mt,{variant:"black",children:[v("span",{className:"hidden lg:block",children:"Go Back Home"}),v("span",{className:"lg:hidden",children:"Go Back"})]})})})]}),v(Fe.SurveyIcon,{className:"mt-0 lg:mt-6"})]}),Tw=({children:e,mutationKey:t,mutationFunction:r,mutationsParams:n,mutateOnMount:i=!0})=>{const[o,s]=y.useState(i),{mutate:c}=hn({mutationFn:r,mutationKey:t,onSuccess:()=>{s(!1)},onError:f=>{var d;Ai.isAxiosError(f)?((d=f.response)==null?void 0:d.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>{i&&c(n)}),o?v("section",{className:"flex flex-col items-center justify-center md:min-h-[479px] relative",children:v(P3,{})}):v(uA,{children:N(ne,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:[e??N(pt,{children:["We received your feedback!",v("br",{}),v("br",{}),"Thank you!"]}),v("br",{}),v("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",v("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",v("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a video chat"})," ","with a member of our team."]})})},$3=sw()(lw((e,t)=>({phase:"",email:"",flow:Xe.marketing_site,setEmail:r=>e({email:r}),setPhase:r=>e({phase:r}),setFlow:r=>e({flow:r})}),{name:"useSurveyStore"})),gge=[Xe.c_org,Xe.cancer_pilot,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.inova],yge=()=>{const{flow:e,email:t,phase:r}=$3(),[n]=Fr(),i=n.get("submission_id")??"",{postCancerSurveyFormSubmission:o}=Nr();return i?N(ot,{children:[v(Tw,{mutationKey:["postCancerSurveyFormSubmission",i],mutationFunction:o,mutationsParams:{email:t,phase:r,submission_id:i}}),v(T3,{pilot:e===Xe.cancer_pilot}),v(B3,{flow:e}),gge.includes(e)?v(SA,{flow:e}):v($c,{})]}):v(bc,{to:"/"})},wge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Go(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),usePayment:n?"yes":"no",origin:i,experience:o}),f=Vt(),d=e==="Patient"?j3e:z3e;return e||f(be.userRolSelector),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v(ul,{formId:d,searchParam:c})})})},IA=(e,t)=>{t||(t=new URLSearchParams(window.location.search));const r=t.get(e);return r?r.replace(" ","+"):null},LA=()=>`${window.location.hostname==="localhost"?"http":"https"}://${window.location.host}`,xge=()=>{var g;const[e]=Fr(),{setPhase:t,setEmail:r,setFlow:n}=$3(),{surveyStatus:i,getProfilingFlow:o}=Nr(),s=IA("email",e),c=e.get("profiled")??"patient",f=e.get("symptoms")??"",d=e.get("phase")??"",h=e.get("uid")??d;s||(window.location.href="https://eo.care"),ao(()=>{t(d),r(s)});const{data:m,isLoading:x,isSuccess:C}=Ku({queryFn:()=>s&&d?i(s,d):null,queryKey:["surveyStatus"]}),{isLoading:S,isSuccess:k}=Ku({queryFn:()=>o(s),onSuccess:E=>{n(E.data.flow??Xe.marketing_site)},queryKey:["profilingFlow",s]}),A=c==="patient"?W3e:V3e,b=new URLSearchParams({email:s,symptoms:f,origin:LA(),uid:h});return v(ot,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:N("div",{className:"mb-10 flex h-screen flex-col",children:[x||S&&v(P3,{}),!x&&!S&&C&&(m!=null&&m.data.active)?v(ul,{formId:A,searchParam:b}):C&&k&&(m==null?void 0:m.data)&&!((g=m==null?void 0:m.data)!=null&&g.active)&&v(OA,{})]})})},bge=()=>{const{usePayment:e}=Go(),[t]=Fr(),{account:r,introQuestionSubmissionId:n,channel:i,flow:o,origin:s}=Go(),c=new URLSearchParams({email:r.email,origin:s}),f=t.get("submission_id")??"",d=Vt(),[h,m]=y.useState(!1);f||d(be.userRolSelector);const{postCancerFormSubmission:x,postSeniorFormSubmission:C}=Nr(),{mutate:S}=hn({mutationFn:i==="cancer"?x:C,mutationKey:["postCancerSeniorFormSubmission",f],onSuccess:()=>{m(!0)},onError:k=>{var A;Ai.isAxiosError(k)?((A=k.response)==null?void 0:A.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>S({name:r.firstName,last_name:r.lastName,email:r.email,password:r.password,phone_number:r.phoneNumber,profiling_submission_id:f,intro_submission_id:n,agree_receive_notifications:r.agreeReceiveNotifications,agree_terms_and_conditions:r.agreeTermsAndConditions,channel:i,flow:o})),e?v(ot,{children:h?v(ul,{formId:K3e,searchParam:c}):v(P3,{})}):v(bc,{to:be.profilingThankYou,replace:!0})},Cge=()=>{const e=Vt();return v(ot,{children:N("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[N(ne,{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",v("br",{}),v("br",{}),"Next, we’ll get you to fill out some information"," ",v("br",{className:"hidden md:block"})," so we can better serve you..."]}),v("div",{className:"mt-10 flex flex-row justify-center",children:v(mt,{className:"text-center",onClick:()=>e(be.profilingOne),children:"Continue"})})]})})},Ege=()=>{const e=Xo(),{email:t}=e.state,r=Vt(),{mutate:n}=hn({mutationFn:RA,onSuccess:()=>{je.success("Email resent successfully, please check your inbox")},onError:()=>{je.error("An error occurred, please try again later")}});return t||r(be.login),v(ot,{children:N("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",v("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),v("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"}),v(mt,{type:"submit",className:"mt-10",onClick:()=>n(t),left:v(Fe.EnvelopeIcon,{}),children:"Resend verification"})]})})},_ge=dt.object({email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),kge=()=>{var o;const{sendEmailToRecoveryPassword:e}=Nr(),{formState:{errors:t},register:r,handleSubmit:n}=Js({resolver:el(_ge)}),{mutate:i}=hn({mutationFn:e,onSuccess:()=>{je.success("Email sent to recovery your password, please check your inbox")},onError:s=>{var c;Ai.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return v(ot,{children:N("div",{className:"flex h-full h-full flex-row items-start justify-center gap-20 px-2 md:items-center",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Reset your password"}),N(ne,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",v("br",{className:"hidden md:block"})," on how to reset your password"]}),N("form",{className:"mt-10 flex flex-col ",onSubmit:s=>{n(c=>{i(c.email)})(s)},children:[v(Sr,{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}),N("div",{className:"flex flex-row justify-center gap-2 md:justify-start",children:[v(jh,{to:be.login,children:v(mt,{type:"button",className:"mt-10",variant:"secondary",left:v(Fe.ArrowLeftIcon,{}),children:"Back"})}),v(mt,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),v("div",{className:"hidden md:block",children:v("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=()=>v(ot,{children:v("br",{})}),Rge=async e=>await on.post("/v2/profile/login",{email:e.email,password:e.password}),Age=async e=>await on.post("/v2/profile",e),Oge=dt.object({email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:dt.string().min(1,{message:"Password is required"})}),Ige=()=>{var k,A;const e=Wo(b=>b.setProfile),t=Wo(b=>b.setSession),[r,n]=y.useState(!1),[i,o]=y.useState(""),s=Vt(),[c]=Fr();y.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}=Js({resolver:el(Oge)}),{mutate:x}=hn({mutationFn:Rge,onSuccess:({data:b})=>{e(b.profile),t(b.session)},onError:b=>{var g;Ai.isAxiosError(b)?((g=b.response)==null?void 0:g.status)===403?s(be.emailVerification,{state:{email:m("email")}}):o("Your email or password is incorrect"):o("Something went wrong")}}),[C,S]=y.useState(!1);return v(ot,{children:N("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Welcome back."}),N("form",{className:"mt-10",onSubmit:b=>{h(g=>{x(g)})(b)},children:[v(Sr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",...d("email"),error:(k=f.email)==null?void 0:k.message}),v(Sr,{id:"password",label:"Password",right:C?v(Fe.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}):v(Fe.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}),v(jh,{to:be.forgotPassword,children:v(ne,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),v(mt,{type:"submit",className:"mt-10",children:"Sign in"}),i&&v(ne,{variant:"small",id:"login-message",className:"text-red-600",children:i}),N(ne,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",v(jh,{to:be.register,children:v("strong",{children:"Create account"})})]})]})]}),v("div",{className:"hidden md:block",children:v("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})};var mu=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(mu||{}),o6=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(o6||{}),mi=(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))(mi||{}),vu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(vu||{}),hc=(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))(hc||{}),hr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(hr||{});const Lge=(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:x}=e,C=()=>s.includes(hr.Sleep)?"":H==="topical lotion or patch"&&s.includes(hr.Anxiety)?"1:1 CBD:THC ratio":H==="topical lotion or patch"?"THC-dominant":r&&!x?"CBD or CBDA":r&&x?"CBD, CBDA, or CBC":s.includes(hr.Anxiety)||i===!1&&!x?"CBD-dominant":i===!1&&x?"4:1 CBD:THC ratio":i===!0&&!x?"2:1 CBD:THC ratio":i===!0&&x?"THC-dominant":"",S=()=>m==="fast-acting form"&&d===!1&&U==="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",k=()=>H==="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(hr.Sleep)?"":H==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Y} of a ${Z} ${H} product`,b=()=>s.includes(hr.Anxiety)&&r?"CBDA":s.includes(hr.Pain)&&r?"CBG plus CBD":r?"CBD":n===!0&&x?"THC-dominant":n===!0&&!x?"1:1 CBD:THC ratio":"CBD-dominant",g=()=>n&&!c?"inhalation method":n&&!d?"sublingual":c?d?f?h?"capsule":"topical lotion or patch":"edible":"sublingual":"inhalation method",E=()=>U==="topical lotion or patch"?"50mg":a==="THC-dominant"?"2.5mg":a==="CBD-dominant"?"5mg":a==="1:1 CBD:THC ratio"?"2.5mg":"10mg",O=()=>U==="inhalation method"?`Use a ${a} inhalable product`:`Use ${P} of a ${a} ${U} product`,T=()=>r?"CBN or D8-THC":o===!0?"THC-dominant":x?"1:1 CBD:THC ratio":"CBD-dominant",M=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",V=()=>D==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",j=()=>D==="inhalation method"?`Use a ${G} inhalable product`:`Use ${se} of a ${G} ${D} product`,U=g(),H=S(),Z=C(),Y=k(),a=b(),P=E(),D=M(),G=T(),se=V();return{dayTime:{time:"Morning",type:C(),form:S(),dose:k(),result:A()},evening:{time:"Evening",type:b(),form:g(),dose:E(),result:O()},bedTime:{time:"BedTime",type:T(),form:M(),dose:V(),result:j()}}},Bge=(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:x,currentlyUsingCannabisProducts:C}=e,S=()=>Z==="topical lotion or patch"&&s.includes(hr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(hr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(hr.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",k=()=>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",A=()=>Z==="topical lotion or patch"?"50mg":Y===""?"":Y==="THC-dominant"?"2.5mg":Y==="CBD-dominant"&&t===!0?"10mg":Y==="CBD-dominant"||Y==="4:1 CBD:THC ratio"?"5mg":Y==="2:1 CBD:THC ratio"?"2.5mg":"10mg",b=()=>s.includes(hr.Sleep)?"":Z==="inhalation method"?"Use a "+Y+" inhalable product":"Use "+a+" of a "+Y+" "+Z+" product",g=()=>s.includes(hr.Anxiety)&&r?"CBDA":s.includes(hr.Pain)&&r?"CBG plus CBD":r?"CBD":x.includes(mi.WorkDayEvenings)&&C?"THC-dominant":x.includes(mi.WorkDayEvenings)&&!C?"1:1 CBD:THC ratio":"CBD-dominant",E=()=>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=()=>H==="topical lotion or patch"?"50mg":P==="THC-dominant"?"2.5mg":P==="CBD-dominant"?"5mg":P==="1:1 CBD:THC ratio"?"2.5mg":"10mg",T=()=>H==="inhalation method"?`Use a ${P} inhalable product`:`Use ${D} of a ${P} ${H} product`,M=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",V=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",j=()=>se==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",U=()=>se==="inhalation method"?`Use a ${G} inhalable product`:`Use ${Q} of a ${G} ${se} product`,H=E(),Z=k(),Y=S(),a=A(),P=g(),D=O(),G=M(),se=V(),Q=j();return{dayTime:{time:"Morning",type:S(),form:k(),dose:A(),result:b()},evening:{time:"Evening",type:g(),form:E(),dose:O(),result:T()},bedTime:{time:"BedTime",type:M(),form:V(),dose:j(),result:U()}}},BA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(hr.Sleep)?"":t.includes(o6.Morning)?"fast-acting form":"long-lasting form",f=r===hc.notPrefer,d=t.includes(o6.Morning),h=n.includes(mi.WorkDayMornings),m=n.includes(mi.WorkDayBedtimes),x=n.includes(mi.NonWorkDayMornings),C=n.includes(mi.NonWorkDayEvenings),S=n.includes(mi.NonWorkDayBedtimes),k=i,A=s.includes(vu.inhalation),b=s.includes(vu.edibles),g=s.includes(vu.sublinguals),E=s.includes(vu.topicals),O=Bge(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:k,reasonToUse:o,C14:A,C15:b,C16:g,C17:E,M5:c}),T=Lge(e,{C10:S,reasonToUse:o,C14:A,C15:b,C16:g,C17:E,C3:d,C8:x,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:T,whyRecommended:(()=>f&&o.includes(hr.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(hr.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(hr.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(mi.WorkDayEvenings)&&h&&m&&x&&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(mi.WorkDayEvenings)&&!h&&!m&&!x&&!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.")()}},GE=()=>N("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v("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"}),v("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"})]}),a6=e=>{switch(e){case"patch":return v(Fe.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return v("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v(GE,{});case"capsule":return v(GE,{});default:return v(Fe.CheckIcon,{className:"stroke-[5px]"})}},Tge=()=>{const{getSubmission:e}=Nr(),{data:t}=Ku({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=BA(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:hc.notSure}),s=Vt(),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 v(ot,{children:v("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:N("div",{className:"w-full max-w-[1211px] lg:w-3/5",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),N("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:[N("article",{className:"flex flex-row items-center justify-center gap-4",children:[v("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:v(Fe.CheckIcon,{className:"stroke-[5px]"})}),N("div",{className:"flex w-full flex-col md:w-[316px]",children:[v(ne,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),v(ne,{variant:"base",className:"underline",children:"Product types/forms."}),v(ne,{variant:"base",className:"underline",children:"Starting doses."}),v(ne,{variant:"base",className:"underline",children:"Times of uses."}),v(mt,{variant:"white",right:v(Fe.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(be.profilingTwo)},children:"Save Recommendations"})]})]}),N("article",{className:"flex-wor flex items-center justify-center gap-4",children:[v("div",{children:v("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:v(Fe.XMarkIcon,{className:"stroke-[3px]"})})}),N("div",{className:"flex w-[316px] flex-col",children:[v(ne,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),v(ne,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),v(ne,{variant:"base",className:"underline",children:"Clinician review & approval."}),v(ne,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),v(mt,{variant:"white",right:v(Fe.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(be.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),N("section",{children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),v("main",{className:"flex flex-col gap-14",children:c.map(({title:d,label:h,description:m,type:x,form:C})=>x?N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-300",children:d}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(C)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:h}),v(ne,{className:"hidden md:block",children:m})]})]})]},d):v(pt,{}))})]}),N("section",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),v("main",{className:"flex flex-col gap-14",children:f.map(({title:d,label:h,description:m,type:x,form:C})=>x?N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-300",children:d}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(C)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:h}),v(ne,{className:"hidden md:block",children:m})]})]})]},d):v(pt,{}))})]}),v("section",{children:N("header",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),v(ne,{className:"mb-8 mt-12",children:o})]})}),v("footer",{children:N(ne,{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,",v("a",{href:be.register,className:"underline",children:"get your EO care plan now."})]})})]})})})},Pge=()=>{const[e]=Fr(),t=e.get("submission_id"),r=e.get("union"),[n,i]=y.useState(!1),o=10,[s,c]=y.useState(0),{getSubmissionById:f}=Nr(),{data:d}=Ku({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===mu.Pain||O.malady===mu.Anxiety||O.malady===mu.Sleep||O.malady===mu.Other)&&i(!0),c(T=>T+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:x,whyRecommended:C}=BA({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)||hc.notSure}),S=O=>{let T="";switch(O.time){case"Morning":T="IN THE MORNINGS";break;case"Evening":T="IN THE EVENING";break;case"BedTime":T="AT BEDTIME";break}return{title:T,label:O.result,description:"",form:O.form,type:O.type}},k=Object.values(x).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)===hc.notPrefer,g=k.length||A.length,E=(O,T)=>N("section",{className:"mt-8",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),v("main",{className:"flex flex-col gap-14",children:T.map(({title:M,label:V,description:j,form:U})=>N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-600",children:M}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(U)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:V}),v(ne,{className:"hidden md:block",children:j})]})]})]},M))})]});return v(ot,{children:v("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:N("div",{className:"w-full max-w-[1211px] md:w-[90%] lg:w-4/5",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),N("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:[N("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[v("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:v(Fe.CheckIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),N("div",{className:"flex w-[316px] flex-col p-4",children:[v(ne,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),v(ne,{variant:"base",font:"medium",children:"Product types/forms."}),v(ne,{variant:"base",font:"medium",children:"Starting doses."}),v(ne,{variant:"base",font:"medium",children:"Times of uses."}),v(mt,{id:"ga-save-recomendation",variant:"white",right:v(Fe.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:v(ne,{font:"medium",children:"Save Recommendations"})})]})]}),N("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[v("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:v(Fe.XMarkIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),N("div",{className:"flex w-[316px] flex-col p-4",children:[v(ne,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),v(ne,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),v(ne,{variant:"base",font:"medium",children:"Clinician review & approval."}),v(ne,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),v(mt,{id:"ga-continue-recomendation",variant:"white",right:v(Fe.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:v(ne,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!g?v(pt,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:v(ne,{font:"medium",children:"Redirect"})}),v(ne,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),v("section",{children:N("header",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),v(ne,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),v("footer",{children:N(ne,{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,"," ",v("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."})]})})]})})})},$ge=()=>{const e=Vt(),{channel:t,type:r,origin:n}=Go(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?H3e:U3e;break}case"cancer":{o=r==="Patient"?F3e:N3e;break}}return ao(()=>{setTimeout(()=>{Pc(o)},400)}),o===null&&e("/"),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:o&&v("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"}})})})},Dge=[Xe.c_org,Xe.cancer_pilot,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.inova,Xe.imerman,Xe.unite_for_her],Mge=()=>{const{flow:e,account:t,usePayment:r}=Go(),[n]=Fr(),i=n.get("submission_id")??"",{checkoutComplete:o}=Nr();if(!i&&r)return v(bc,{to:be.userRolSelector});const s=()=>{window.location.href=Ou};return N(ot,{children:[N(Tw,{mutationKey:["checkoutComplete",i],mutationFunction:o,isProfiling:!0,mutateOnMount:r,mutationsParams:{email:t.email,submission_id:i},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"," ",v("span",{className:"cursor-pointer underline",onClick:s,children:"log into your account."})]}),v(T3,{pilot:e==Xe.cancer_pilot}),v(B3,{flow:e}),v(AA,{}),Dge.includes(e)?v(SA,{flow:e}):v($c,{})]})},Fge=()=>v(ot,{children:v(ul,{formId:Q3e})}),Nge=dt.object({password:dt.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:dt.string().min(8,{message:"This field is required."}),token:dt.string().min(1,"Token is required")}),jge=()=>{var h,m;const{resetPassword:e}=Nr(),[t,r]=y.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Js({resolver:el(Nge)}),c=Vt(),[f]=Fr(),{mutate:d}=hn({mutationFn:e,onSuccess:()=>{je.success("Your password has been reset. Sign in with your new password."),c(be.login)},onError:x=>{var C;Ai.isAxiosError(x)?((C=x.response)==null?void 0:C.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return y.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(be.login)},[c,f,s]),v(ot,{children:N("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Reset your password"}),N("form",{className:"mt-10 flex flex-col ",onSubmit:x=>{o(C=>{d(C)})(x)},children:[v(Sr,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?v(Fe.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(x=>!x)}):v(Fe.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(x=>!x)}),className:"h-12 shadow-md",type:t?"text":"password",...i("password"),error:(h=n.password)==null?void 0:h.message}),v(Sr,{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}),N(ne,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",v("br",{})," a capital letter, number, and special character"]}),v(mt,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),v("div",{className:"hidden md:block",children:v("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"})})]})})},zge=dt.object({first_name:dt.string().min(2,"The first name must be present"),last_name:dt.string().min(2,"The last name must be present"),email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:dt.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:dt.string().min(8,{message:"This field is required."}),agree_terms_and_conditions:dt.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"]}),Wge=()=>{var d,h,m,x,C,S;const e=Vt(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Js({resolver:el(zge)}),{mutate:s}=hn({mutationFn:Age,onError:k=>{var A,b,g,E,O;if(Ai.isAxiosError(k)){const T=(A=k.response)==null?void 0:A.data;(b=T.errors)!=null&&b.email&&o("email",{message:((g=T.errors.email.pop())==null?void 0:g.message)||""}),(E=T.errors)!=null&&E.password&&o("password",{message:((O=T.errors.password.pop())==null?void 0:O.message)||""})}else je.error("Something went wrong. Please try again later.")},onSuccess:({data:k})=>{typeof k=="string"&&e(be.registrationComplete,{state:{email:i("email")}})}}),[c,f]=y.useState(!1);return v(ot,{children:N("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Start here."}),N("form",{className:"mt-10",onSubmit:k=>{n(A=>{s(A)})(k)},children:[N("div",{className:"flex flex-col gap-0 md:flex-row md:gap-2",children:[v(Sr,{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}),v(Sr,{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})]}),v(Sr,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),v(Sr,{id:"password",label:"Password",right:c?v(Fe.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(k=>!k)}):v(Fe.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(k=>!k)}),className:"h-12 shadow-md",type:c?"text":"password",...r("password"),error:(x=t.password)==null?void 0:x.message}),v(Sr,{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}),N(ne,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",v("br",{})," a capital letter, number, and special character"]}),v(Qy,{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:N(ne,{variant:"small",font:"regular",children:["I have read and agree to the"," ",N("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"underline",children:["Terms of ",v("br",{className:"block md:hidden lg:block"}),"Service"]}),", and"," ",N("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"underline",children:["Privacy Policy"," "]})," ","of EO."]})}),v(mt,{type:"submit",className:"mt-3",children:"Create account"}),N(ne,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",v(jh,{to:be.login,children:v("strong",{children:"Sign in"})})]})]})]}),v("div",{className:"hidden md:block",children:v("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"})})]})})},Vge=()=>{const t=Xo().state,r=Vt(),{mutate:n}=hn({mutationFn:RA,onSuccess:({data:i})=>{i?je.success("Email has been send."):je.error("Email hasn't been send")}});return y.useEffect(()=>{t!=null&&t.email||r(be.login)},[r,t]),v(ot,{children:N("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",v("br",{})," Please verify to continue."]}),v("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"}),v(mt,{className:"mt-10",onClick:()=>n(t.email),left:v(Fe.EnvelopeIcon,{}),children:"Resend verification"})]})})},Hge=()=>v(ot,{children:v("section",{className:"flex h-full items-center justify-center",children:N("div",{className:"flex h-[194px] w-[300px] flex-col justify-center gap-1 rounded-xl border-2 border-black bg-white px-[24px] py-[48px] text-center font-new-hero text-lg font-semibold sm:w-[400px] md:w-[581px] ",children:[v("p",{children:"Thank you!"}),v("p",{children:"Your submission has been received!"})]})})}),Uge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Go(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),usePayment:n?"yes":"no",origin:i,experience:o}),f=Vt(),d=e==="Patient"?q3e:Z3e;return e||f(be.userRolSelector),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v(ul,{formId:d,searchParam:c})})})},qge=()=>{var S;const{surveyStatus:e}=Nr(),{setPhase:t,setEmail:r}=$3(),[n]=Fr(),i=IA("email",n),o=n.get("symptoms")||"",s=n.get("profiled")??"patient",c=n.get("phase")??"",f=n.get("uid")??c;i||(window.location.href="https://eo.care"),ao(()=>{t(c),r(i)});const{data:d,isLoading:h,isSuccess:m}=Ku({queryFn:()=>i&&c?e(i,c):null,queryKey:["surveyStatus"]}),x=new URLSearchParams({email:i,symptoms:o,origin:LA(),uid:f}),C=s==="patient"?G3e:Y3e;return v(ot,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:N("div",{className:"mb-10 flex h-screen flex-col",children:[h&&v(P3,{}),!h&&m&&(d!=null&&d.data.active)?v(ul,{formId:C,searchParam:x}):m&&(d==null?void 0:d.data)&&!((S=d==null?void 0:d.data)!=null&&S.active)&&v(OA,{})]})})},Zge=()=>{const{email:e,phase:t}=$3(),[r]=Fr(),n=r.get("submission_id")??"",{postSeniorSurveyFormSubmission:i}=Nr();return n?N(ot,{children:[v(Tw,{mutationKey:["postSeniorSurveyFormSubmission",n],mutationFunction:i,mutationsParams:{email:e,phase:t,submission_id:n}}),v(T3,{}),v(B3,{}),v($c,{})]}):v(bc,{to:"/"})},Gge=()=>N(ot,{children:[N("section",{className:"pt-2 pb-[48px] lg:pt-[60px] lg:pb-[100px] self-center flex-col flex items-center px-6 md:px-10",children:[v(ne,{font:"bold",className:"text-center text-[32px] leading-[40px] mb-[40px] max-w-[857px]",children:"When you’re ready to begin, just follow these steps:"}),v(ne,{className:"text-center text-lg leading-[30px] lg:text-[22px] lg:leading-[36px] lg:mb-20 mb-10 max-w-[857px] text-gray-950 lg:text-black",children:"It’s important for us to understand when you begin your care plan. Note that you should have all of your recommended products in-hand before beginning."}),N("div",{className:"lg:flex-row flex-col gap-10 flex mb-10 lg:mb-[100px]",children:[v(cg,{number:1,title:"Log into your account",children:N(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:["Go to ",N("a",{href:`${Ou}login`,className:"cursor-pointer font-new-hero text-sm lg:text-lg underline",children:[Ou,"login"]})," to log into your account. To access your care plan, you’ll need the ID and password you created when you set-up your eo account."]})}),N(cg,{number:2,title:"Click the blue button",children:[v(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"On the Home screen, you’ll see a blue button that looks like the one below. Click the button to let us know you’re ready to begin."}),N("div",{className:"bg-electric-blue rounded-3xl px-5 py-2.5 flex flex-row gap-3 items-center",children:[v(ne,{font:"semiBold",className:"text-xl text-white",children:"Begin care plan"}),v(Fe.LinkIcon,{})]})]}),v(cg,{number:3,title:"Begin your care!",children:v(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"Follow the instructions on the white dose cards that are shown in your Home screen. You can track whether you have taken each dose within this card as well."})})]}),N(ne,{variant:"base",font:"regular",className:"max-w-[750px] text-center text-sm md:text-[22px] font-normal leading-[24px] md:leading-[36px]",children:["Have a question? We’re here to help. Email support@eo.care, call 888-823-6143, or"," ",v("a",{className:"cursor-pointer font-new-hero text-sm md:text-[22px] underline",href:Ou,target:"_blank",children:"log in to message us"}),"."]})]}),v(AA,{}),v($c,{})]}),Yge=()=>{const e=Xo(),t=Vt(),{zip:r}=e.state;return v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this EO offering is not currently"," ",v("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",v("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),N("div",{className:"mt-10 flex flex-row justify-center",children:[v(mt,{className:"text-center",onClick:()=>t(be.zipCodeValidation),children:"Back"}),v(mt,{variant:"secondary",onClick:()=>t(be.home),className:"ml-4",children:"Continue"})]})]})})},Qge=()=>{const e=Vt(),[t]=Fr(),[r,n]=y.useState(null),i=t.get("origin")??"localhost:5173",o=t.get("channel"),s=t.get("symptoms")??"",c=t.get("flow")??Xe.marketing_site,{setChannel:f,setType:d,setSymptoms:h,setUsePayment:m,resetProfilingStore:x,setOrigin:C,setFlow:S}=Go(A=>A),k=A=>{C(i),S(c),h(s.split(",")),f(o),d(A),e(be.introQuestions)};return ao(()=>{x();const A=t.get("p")??"yes";window.data.isPartnerSite(i)||A==="no"?m(!1):m(!0)}),v(ot,{children:v("div",{className:"flex h-full w-full items-center justify-center bg-opacity-50 ",children:N("div",{className:"relative w-3/4 rounded-md bg-white shadow-2xl md:w-[742px]",children:[N("div",{className:"px-7 py-7",children:[N(ne,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",v("span",{className:"text-red-600",children:"*"})]}),N("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[N("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:[N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[v("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),v("circle",{cx:"12",cy:"12",r:"9",fill:r==="Patient"?"#5AADFD":"none",stroke:r==="Patient"?"white":"none",strokeWidth:1.5})]}),"I’m a patient"]}),N("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:[N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[v("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),v("circle",{cx:"12",cy:"12",r:"9",fill:r==="Caregiver"?"#5AADFD":"none",stroke:r==="Caregiver"?"white":"none",strokeWidth:1.5})]}),"I’m a caregiver"]})]})]}),N("section",{className:"flex h-[53px] items-center justify-between rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[v(mt,{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:v(Fe.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:v("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),v(mt,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:v(Fe.RightArrow,{className:"h-6 w-6"}),onClick:()=>k(r),children:"NEXT"}),v(mt,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:v(Fe.RightArrow,{className:"h-6 w-6"}),onClick:()=>k(r)})]})]})})})},TA=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 y.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}},Kge=dt.object({zip_code:dt.string().min(5,{message:"Zip code is invalid"}).max(5,{message:"Zip code is invalid"})}),Xge=()=>{var h;const{validateZipCode:e}=Nr(),{triggerViewEvent:t}=TA(sA);y.useEffect(t,[t]);const r=Vt(),n=Wo(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Js({resolver:el(Kge)}),{mutate:d}=hn({mutationFn:e,onSuccess:()=>{n(f("zip_code")),r(be.eligibleProfile)},onError:m=>{var x,C;Ai.isAxiosError(m)?((x=m.response)==null?void 0:x.status)===400?(n(f("zip_code")),r(be.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 v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[v(ne,{variant:"large",font:"bold",className:"text-center",children:"First, let’s check our availability in your area."}),N("form",{className:"mt-10 flex flex-col items-center justify-center",onSubmit:m=>{s(x=>{d(x.zip_code)})(m)},children:[v(Sr,{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}),v(mt,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},Jge=()=>(y.useEffect(()=>{Pc(tg)}),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${tg}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${tg}?isuser=Yes`,className:"h-full w-full"})})})),e7e=()=>{const e=Vt(),[t,r]=y.useState(!1),{combineProfileOne:n}=Nr(),[i]=Fr();i.get("submission_id")||e(be.login);const{mutate:o}=hn({mutationFn:n,onSuccess:()=>{setTimeout(()=>{e(be.prePlan)},5e3)},onError:()=>{r(!1)}});return y.useEffect(()=>{t||r(s=>(s||o(i.get("submission_id")||""),!0))},[o,i,t]),v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[v(ne,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),v(mt,{type:"button",className:"mt-10",onClick:()=>e(be.prePlan),children:"Continue!"})]})})},t7e=()=>(y.useEffect(()=>{Pc(rg)}),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${rg}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${rg}`,className:"h-full w-full"})})})),r7e=()=>{const e=Vt(),[t,r]=y.useState(!1),{combineProfileOne:n}=Nr(),[i]=Fr(),{triggerCompletionEvent:o}=TA(sA);i.get("submission_id")||e(be.login);const{mutate:s}=hn({mutationFn:n,onSuccess:()=>{r(!0),setTimeout(()=>{e(be.profilingTwo)},5e3)}});return y.useEffect(o,[o]),y.useEffect(()=>{t||s(i.get("submission_id")||"")},[s,i,t]),v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[N(ne,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",v("br",{}),v("br",{})," In a few minutes we will send you by email."," ",v("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),v(mt,{type:"button",className:"mt-10",onClick:()=>e(be.home),children:"Go home"})]})})},n7e=()=>N(IN,{children:[N(et,{element:v(L4,{expected:"loggedOut"}),children:[v(et,{element:v(Ige,{}),path:be.login}),v(et,{element:v(Wge,{}),path:be.register}),v(et,{element:v(Vge,{}),path:be.registrationComplete}),v(et,{element:v(kge,{}),path:be.forgotPassword}),v(et,{element:v(jge,{}),path:be.recoveryPassword}),v(et,{element:v(Pge,{}),path:be.prePlanV2})]}),N(et,{element:v(L4,{expected:"withZipCode"}),children:[v(et,{element:v(Sge,{}),path:be.home}),v(et,{element:v(Yge,{}),path:be.unavailableZipCode}),v(et,{element:v(Cge,{}),path:be.eligibleProfile}),v(et,{element:v(Jge,{}),path:be.profilingOne}),v(et,{element:v(e7e,{}),path:be.profilingOneRedirect}),v(et,{element:v(t7e,{}),path:be.profilingTwo}),v(et,{element:v(r7e,{}),path:be.profilingTwoRedirect}),v(et,{element:v(Tge,{}),path:be.prePlan})]}),v(et,{element:v(L4,{expected:["withoutZipCode","withZipCode"]}),children:v(et,{element:v(Xge,{}),path:be.zipCodeValidation})}),v(et,{element:v(Ege,{}),path:be.emailVerification}),v(et,{element:v(Qge,{}),path:be.userRolSelector}),v(et,{element:v(Fge,{}),path:be.roiCalculator}),v(et,{element:v(Hge,{}),path:be.roiCalculatorThankYou}),v(et,{element:v(Gge,{}),path:be.startPlan}),v(et,{element:v($ge,{}),path:be.introQuestions}),v(et,{element:v(nve,{}),path:be.accountSetup}),v(et,{element:v(Mge,{}),path:be.profilingThankYou}),v(et,{element:v(wge,{}),path:be.cancerForm}),v(et,{element:v(xge,{}),path:be.cancerSurvey}),v(et,{element:v(yge,{}),path:be.cancerSurveyThankYou}),v(et,{element:v(ive,{}),path:be.athleteSurvey}),v(et,{element:v(ege,{}),path:be.athleteSurveyThankYou}),v(et,{element:v(Uge,{}),path:be.seniorForm}),v(et,{element:v(qge,{}),path:be.seniorSurvey}),v(et,{element:v(Zge,{}),path:be.seniorSurveyThankYou}),v(et,{element:v(bge,{}),path:be.checkout})]});const i7e=new ej;function o7e(){return N(hj,{client:i7e,children:[v(n7e,{}),v(m7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Uz.VITE_APP_ENV==="local"&&v(Aj,{initialIsOpen:!1})]})}fg.createRoot(document.getElementById("root")).render(v(he.StrictMode,{children:v(DN,{children:v(o7e,{})})})); + shadow-lg md:px-[60px] md:py-20`,children:[v(ne,{variant:"large",className:"mb-4 text-[32px] font-bold leading-7 md:mb-6",children:"We’re here."}),v(ne,{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?"}),N("ul",{className:"list-disc pl-4",children:[v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:[v("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."]})}),v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Call"," ",v("a",{href:"tel:888-823-6143",className:"underline decoration-1 underline-offset-8",children:"888-823-6143"})]})}),v("li",{children:N(ne,{variant:"base",className:"text-sm font-normal leading-[26px] md:text-lg",children:["Email"," ",v("a",{href:"mailto:support@eo.care",className:"underline decoration-1 underline-offset-8",children:"support@eo.care"})]})})]})]})})]})},ot=({children:e,className:t})=>v("section",{className:De("flex h-screen w-screen flex-col bg-ice-silver",t),children:N("div",{className:"flex h-full w-full flex-col overflow-auto",children:[v(tve,{}),e]})}),Xe={c_org:"c_org",marketing_site:"marketing_site",cancer_pilot:"cancer_pilot",employer_center:"employer_center",cancer_support_community:"cancer_support_community",twist_out_cancer:"twist_out_cancer",resource_center_1:"resource_center_1",resource_center_2:"resource_center_2",inova:"inova",imerman:"imerman",unite_for_her:"unite_for_her",mass_retirees:"mass_retirees",stupid_cancer:"stupid_cancer"},WE={channel:null,type:null,introQuestionSubmissionId:null,symptoms:[],state:null,origin:"",experience:"",account:{email:"",password:"",firstName:"",lastName:"",phoneNumber:"",agreeReceiveNotifications:!1,agreeTermsAndConditions:!1},usePayment:!0,flow:Xe.marketing_site},Go=sw()(lw((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(),...WE})},setOrigin:r=>{e({origin:r})},setExperience:r=>{e({experience:r})},setFlow:r=>{e({flow:r})},...WE}),{name:"useProfilingStore"})),rve=dt.object({firstName:dt.string().min(1,{message:"First name is required"}),lastName:dt.string().min(1,{message:"Last name is required"}),email:dt.string().min(1,{message:"Email is required"}).email({message:"Enter a valid email."}),phoneNumber:dt.string().superRefine((e,t)=>{e.replace(/\D/g,"").length!==10&&t.addIssue({code:"custom",message:"Contact number must be 10 digits"})}),password:dt.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:dt.boolean().refine(e=>e,{message:"Must agree to authorizations to continue."}),agreeTermsAndConditions:dt.boolean().refine(e=>e,{message:"You must agree to the terms and conditions"})}),nve=()=>{var b,g,E,O,T,M,V,j,U,H;const e=Vt(),[t]=Fr(),{account:r,setAccountData:n,setIntroQuestionSubmissionId:i,channel:o,setState:s,setExperience:c}=Go(Z=>Z),{eligibleEmail:f}=Nr(),[d,h]=y.useState(!1),{formState:{errors:m},handleSubmit:x,register:C,setError:S}=Js({resolver:el(rve),defaultValues:r}),k=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(be.cancerForm);break;case"senior":e(be.seniorForm);break;default:e("/")}else{S("email",{message:"Email was already taken"}),h(!1);return}};return ao(()=>{const Z=t.get("submission_id"),Y=t.get("state"),a=t.get("experience")??"";Z?(s(Y),i(Z),c(a)):je.error(N("p",{children:["Impossible to continue without",v("br",{})," a submission id"]}))}),v(ot,{children:v("div",{className:"flex h-full w-full flex-row items-center justify-center pb-10",children:N("form",{className:"h-auto w-11/12 rounded-md border border-gray-100 bg-white shadow-lg md:w-[797px]",children:[N("div",{className:"px-[28px] py-[48px]",children:[v(ne,{variant:"large",font:"semiBold",className:De("mb-4 font-nunito",!!k&&"text-red"),children:"Great! Now let's create your account."}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{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*"}),v(Sr,{id:"lastName",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("lastName"),error:(g=m.lastName)==null?void 0:g.message,placeholder:"Last Name*"})]}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{id:"email",placeholder:"Email*",type:"email",left:v(Fe.ProfileIconGray,{}),containerClassName:"col-span-2 md:col-span-1",className:"h-12",...C("email"),error:(E=m.email)==null?void 0:E.message}),v(Sr,{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})]}),N("div",{className:"grid grid-cols-2 gap-0 md:gap-4",children:[v(Sr,{id:"phoneNumber",placeholder:"Phone number*",type:"text",containerClassName:"col-span-2 md:col-span-1",className:"h-12 placeholder:text-[16px] placeholder:font-normal placeholder:text-gray-700",...C("phoneNumber"),error:(T=m.phoneNumber)==null?void 0:T.message}),N("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-1",children:[v(Qy,{id:"agreeReceiveNotifications",...C("agreeReceiveNotifications"),error:(M=m.agreeReceiveNotifications)==null?void 0:M.message,containerClassName:"col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:v(ne,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light ",((V=m.agreeReceiveNotifications)==null?void 0:V.message)&&"text-red-500"),children:"I agree to receive emails and text messages related to my care."})}),v(Qy,{id:"agreeTermsAndConditions",...C("agreeTermsAndConditions"),error:(j=m.agreeTermsAndConditions)==null?void 0:j.message,containerClassName:"w-full col-span-2 md:col-span-1",className:"h-[18px] w-[18px]",compact:!0,label:N(ne,{variant:"small",font:"regular",className:De("font-nunito text-[11px] font-light !leading-4",((U=m.agreeTermsAndConditions)==null?void 0:U.message)&&"text-red-500"),children:["I have read and agree to the"," ",v("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"," ",N("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"," "]})," "]})})]})]})]}),N("section",{className:"flex h-[53px] items-center justify-end rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[v(ne,{className:De("mx-auto my-0 hidden font-nunito text-white md:block",!!k&&"text-red-300"),variant:"small",children:k?(H=m.password)!=null&&H.message?"Password must be at least 8 characters, contain a capital letter, number, and special character.":k.message:"Remember: You’ll need to have your password handy when accessing your care plan!"}),v(mt,{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 x(A)(),right:v(Fe.RightArrow,{}),children:d?"Validating":"NEXT"})]})]})})})},Pc=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)}},ive=()=>{const[e]=Fr(),t=e.get("email")||"",r=e.get("symptoms")||"";return y.useEffect(()=>{Pc(ng)},[]),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${ng}`,title:"",onLoad:()=>window.parent.scrollTo(0,0),allow:"geolocation; microphone; camera",allowTransparency:!0,allowFullScreen:!0,src:`https://form.jotform.com/${ng}?email=${t}&symptoms=${r}`,className:"h-full w-full",style:{minWidth:"100%",height:"539px",border:"none"}})})})},uA=({children:e})=>N("section",{className:"flex h-auto flex-col items-center justify-center px-[20%] md:min-h-[479px] pb-10",children:[v(ne,{variant:"large",className:"text-[42px] font-bold leading-[55px]",children:"All done!"}),v("br",{}),e]}),ove=[{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:Fe.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:Fe.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"You’ll order recommended CDB and Delta-9 THC products online for easy home delivery. Our team will provide details on how to be reimbursed for all purchases.",icon:Fe.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you use your recommended products per the directions in your care plan, we’ll check in regularly and ask you to complete brief, periodic surveys.",icon:Fe.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:Fe.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:Fe.SupportIconWhite}],ave=[{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:Fe.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:Fe.HandHeartWhite},{step:"STEP 3",title:"Get your products",content:"You’ll order recommended CDB and Delta-9 THC products online for easy home delivery. Typically, there’s no need to visit a dispensary.",icon:Fe.PillsWhite},{step:"STEP 4",title:"Provide feedback",content:"As you use your recommended products per the directions in your care plan, we’ll check in regularly and ask you to complete brief, periodic surveys.",icon:Fe.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:Fe.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:Fe.SupportIconWhite}],sve=[{title:"How much does an EO care plan cost?",content:"As a valued member of our community, your care is completely free. This includes your clinician-reviewed plan, ongoing plan optimization based on your feedback and unlimited phone calls and in-app messaging with our care team. All you pay for are your products."},{title:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],lve=[{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:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],uve=[{title:"How much does EO cost?",content:"Your care is completely free. And we’ll reimburse you for the cost of your products over your first 90 days of care. 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:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid cannabis certification, 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 have a cannabis certification?",content:"Depending on your recommended products, you may not need a certification. You only need to be certified if some or all of your recommended products are being sourced from a local dispensary. If you need to be certified, be sure to reach out to support@eo.care for help."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],cve=[{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 program."},{title:"How do I get my products?",content:N(pt,{children:["Recommended CBD and Delta-9 THC products can be ordered through your care plan for home delivery. They are delivered just like any other package you might receive from the USPS or others.",v("br",{}),v("br",{}),"At times, we may recommend products to be picked-up from a dispensary near you. For these products, you’ll simply select a time to pick them up in your care plan and our team will then order the products for you. You just show up at the dispensary at the time you chose, pick-up your products and pay for them."]})},{title:"Why am I obtaining my products from multiple retailers?",content:N(pt,{children:["We want to connect you with the most clinically appropriate products while also providing the easiest possible experience. In most cases, we’ll attempt to address your product needs using CBD and Delta-9 THC products available via online retailers (including our own EO Store). These products have been shown to be clinically effective, can be shipped right to your home and don’t require you to visit a dispensary.",v("br",{}),v("br",{}),"However, if the nature and intensity of your symptoms suggest the need for products that can only be sourced from a local dispensary, we will recommend those products instead."]})},{title:"What should I bring with me when I pick-up products at a dispensary?",content:"Bring your valid medical card (if you have one), a state I.D. or driver’s license and a debit card or enough cash to pay for products."},{title:"Do I need a medical card to use EO?",content:"No. You can use EO without a medical card. We’ll ask you about your medical card status when you’re sharing your profile information."},{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:N(pt,{children:["The EO data model and your clinical team bases 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.",v("br",{}),v("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 dose?",content:"Just take your next dose as scheduled!"},{title:"What happens if I’m late taking a dose?",content:"If you’re less than 30 minutes late, go ahead and take your scheduled dose (also be sure to take the next dose at the originally scheduled time). If you’re more than 30 minutes late just wait for your next scheduled dose."},{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:N(pt,{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.",v("br",{}),v("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.",v("br",{}),v("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 888-823-6143. 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 888-823-6143. 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."}],ch=y;function fve({title:e,titleId:t,...r},n){return ch.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?ch.createElement("title",{id:t},e):null,ch.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 dve=ch.forwardRef(fve);var pve=dve;const fh=y;function hve({title:e,titleId:t,...r},n){return fh.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?fh.createElement("title",{id:t},e):null,fh.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 mve=fh.forwardRef(hve);var vve=mve,gve=pve,yve=vve;const wve=({active:e=!1,children:t,title:r})=>{const[n,i]=y.useState(e);return N("div",{children:[N("div",{className:"flex cursor-pointer flex-row items-center justify-between gap-4 md:items-start",onClick:()=>i(o=>!o),children:[typeof r=="string"?v(ne,{className:"text-[20px] leading-7 md:leading-9",font:"bold",children:r}):r,v("div",{children:n?v(gve,{className:"h-8 w-8"}):v(yve,{className:"h-8 w-8"})})]}),N("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:[v("div",{className:"mr-4 rounded-full border-4 border-solid border-electric-blue"}),t]})]})},xve=[Xe.c_org,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.imerman,Xe.unite_for_her,Xe.mass_retirees,Xe.stupid_cancer],bve=e=>e&&xve.includes(e)?sve:e===Xe.inova?uve:e===Xe.cancer_pilot?lve:cve,B3=({flow:e})=>{const t=bve(e);return v("section",{className:"px-6 py-12 md:mx-0 md:my-[100px]",children:N("div",{className:"mx-auto my-0 flex max-w-[900px] flex-col",children:[v(ne,{font:"bold",variant:"large",className:"mb-[50px] text-center",children:"FAQs"}),v("div",{className:"flex flex-col gap-6",children:t.map(({title:r,content:n})=>v(wve,{title:r,active:!1,children:v(ne,{className:"text-[18px] leading-[26px] text-gray-800",children:n})},r))})]})})};function VE(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Lw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:VE(t[r])&&VE(e[r])&&Object.keys(t[r]).length>0&&Lw(e[r],t[r])})}const cA={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ll(){const e=typeof document<"u"?document:{};return Lw(e,cA),e}const Cve={document:cA,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 vn(){const e=typeof window<"u"?window:{};return Lw(e,Cve),e}function Eve(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function _ve(e){const t=e;Object.keys(t).forEach(r=>{try{t[r]=null}catch{}try{delete t[r]}catch{}})}function t6(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ym(){return Date.now()}function kve(e){const t=vn();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function Sve(e,t){t===void 0&&(t="x");const r=vn();let n,i,o;const s=kve(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 Z1(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Rve(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function sn(){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=(x,C)=>d==="next"&&x>=C||d==="prev"&&x<=C,m=()=>{c=new Date().getTime(),s===null&&(s=c);const x=Math.max(Math.min((c-s)/f,1),0),C=.5-Math.cos(x*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 bi(e,t){return t===void 0&&(t=""),[...e.children].filter(r=>r.matches(t))}function Qm(e){try{console.warn(e);return}catch{}}function dc(e,t){t===void 0&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:Eve(t)),r}function Ave(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 Ove(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 Bo(e,t){return vn().getComputedStyle(e,null).getPropertyValue(t)}function pc(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function dA(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 r6(e,t,r){const n=vn();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 pA(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=bi(e.el,`.${n[i]}`)[0];o||(o=dc("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=k=>(Array.isArray(k)?k:[k]).filter(A=>!!A);function s(k){let A;return k&&typeof k=="string"&&t.isElement&&(A=t.el.querySelector(k),A)?A:(k&&(typeof k=="string"&&(A=[...document.querySelectorAll(k)]),t.params.uniqueNavElements&&typeof k=="string"&&A.length>1&&t.el.querySelectorAll(k).length===1&&(A=t.el.querySelector(k))),k&&!A?k:A)}function c(k,A){const b=t.params.navigation;k=o(k),k.forEach(g=>{g&&(g.classList[A?"add":"remove"](...b.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=A),t.params.watchOverflow&&t.enabled&&g.classList[t.isLocked?"add":"remove"](b.lockClass))})}function f(){const{nextEl:k,prevEl:A}=t.navigation;if(t.params.loop){c(A,!1),c(k,!1);return}c(A,t.isBeginning&&!t.params.rewind),c(k,t.isEnd&&!t.params.rewind)}function d(k){k.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function h(k){k.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function m(){const k=t.params.navigation;if(t.params.navigation=pA(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(k.nextEl||k.prevEl))return;let A=s(k.nextEl),b=s(k.prevEl);Object.assign(t.navigation,{nextEl:A,prevEl:b}),A=o(A),b=o(b);const g=(E,O)=>{E&&E.addEventListener("click",O==="next"?h:d),!t.enabled&&E&&E.classList.add(...k.lockClass.split(" "))};A.forEach(E=>g(E,"next")),b.forEach(E=>g(E,"prev"))}function x(){let{nextEl:k,prevEl:A}=t.navigation;k=o(k),A=o(A);const b=(g,E)=>{g.removeEventListener("click",E==="next"?h:d),g.classList.remove(...t.params.navigation.disabledClass.split(" "))};k.forEach(g=>b(g,"next")),A.forEach(g=>b(g,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?S():(m(),f())}),n("toEdge fromEdge lock unlock",()=>{f()}),n("destroy",()=>{x()}),n("enable disable",()=>{let{nextEl:k,prevEl:A}=t.navigation;if(k=o(k),A=o(A),t.enabled){f();return}[...k,...A].filter(b=>!!b).forEach(b=>b.classList.add(t.params.navigation.lockClass))}),n("click",(k,A)=>{let{nextEl:b,prevEl:g}=t.navigation;b=o(b),g=o(g);const E=A.target;if(t.params.navigation.hideOnClick&&!g.includes(E)&&!b.includes(E)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===E||t.pagination.el.contains(E)))return;let O;b.length?O=b[0].classList.contains(t.params.navigation.hiddenClass):g.length&&(O=g[0].classList.contains(t.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...b,...g].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const C=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),m(),f()},S=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),x()};Object.assign(t.navigation,{enable:C,disable:S,update:f,init:m,destroy:x})}function Ro(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Lve(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:g=>g,formatFractionTotal:g=>g,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=g=>(Array.isArray(g)?g:[g]).filter(E=>!!E);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function h(g,E){const{bulletActiveClass:O}=t.params.pagination;g&&(g=g[`${E==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${O}-${E}`),g=g[`${E==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${O}-${E}-${E}`)))}function m(g){const E=g.target.closest(Ro(t.params.pagination.bulletClass));if(!E)return;g.preventDefault();const O=pc(E)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===O)return;t.slideToLoop(O)}else t.slideTo(O)}function x(){const g=t.rtl,E=t.params.pagination;if(d())return;let O=t.pagination.el;O=f(O);let T,M;const V=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,j=t.params.loop?Math.ceil(V/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(M=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,M=t.previousSnapIndex):(M=t.previousIndex||0,T=t.activeIndex||0),E.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const U=t.pagination.bullets;let H,Z,Y;if(E.dynamicBullets&&(s=r6(U[0],t.isHorizontal()?"width":"height",!0),O.forEach(a=>{a.style[t.isHorizontal()?"width":"height"]=`${s*(E.dynamicMainBullets+4)}px`}),E.dynamicMainBullets>1&&M!==void 0&&(c+=T-(M||0),c>E.dynamicMainBullets-1?c=E.dynamicMainBullets-1:c<0&&(c=0)),H=Math.max(T-c,0),Z=H+(Math.min(U.length,E.dynamicMainBullets)-1),Y=(Z+H)/2),U.forEach(a=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${E.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();a.classList.remove(...P)}),O.length>1)U.forEach(a=>{const P=pc(a);P===T?a.classList.add(...E.bulletActiveClass.split(" ")):t.isElement&&a.setAttribute("part","bullet"),E.dynamicBullets&&(P>=H&&P<=Z&&a.classList.add(...`${E.bulletActiveClass}-main`.split(" ")),P===H&&h(a,"prev"),P===Z&&h(a,"next"))});else{const a=U[T];if(a&&a.classList.add(...E.bulletActiveClass.split(" ")),t.isElement&&U.forEach((P,D)=>{P.setAttribute("part",D===T?"bullet-active":"bullet")}),E.dynamicBullets){const P=U[H],D=U[Z];for(let G=H;G<=Z;G+=1)U[G]&&U[G].classList.add(...`${E.bulletActiveClass}-main`.split(" "));h(P,"prev"),h(D,"next")}}if(E.dynamicBullets){const a=Math.min(U.length,E.dynamicMainBullets+4),P=(s*a-s)/2-Y*s,D=g?"right":"left";U.forEach(G=>{G.style[t.isHorizontal()?D:"top"]=`${P}px`})}}O.forEach((U,H)=>{if(E.type==="fraction"&&(U.querySelectorAll(Ro(E.currentClass)).forEach(Z=>{Z.textContent=E.formatFractionCurrent(T+1)}),U.querySelectorAll(Ro(E.totalClass)).forEach(Z=>{Z.textContent=E.formatFractionTotal(j)})),E.type==="progressbar"){let Z;E.progressbarOpposite?Z=t.isHorizontal()?"vertical":"horizontal":Z=t.isHorizontal()?"horizontal":"vertical";const Y=(T+1)/j;let a=1,P=1;Z==="horizontal"?a=Y:P=Y,U.querySelectorAll(Ro(E.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${P})`,D.style.transitionDuration=`${t.params.speed}ms`})}E.type==="custom"&&E.renderCustom?(U.innerHTML=E.renderCustom(t,T+1,j),H===0&&i("paginationRender",U)):(H===0&&i("paginationRender",U),i("paginationUpdate",U)),t.params.watchOverflow&&t.enabled&&U.classList[t.isLocked?"add":"remove"](E.lockClass)})}function C(){const g=t.params.pagination;if(d())return;const E=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let O=t.pagination.el;O=f(O);let T="";if(g.type==="bullets"){let M=t.params.loop?Math.ceil(E/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&M>E&&(M=E);for(let V=0;V`}g.type==="fraction"&&(g.renderFraction?T=g.renderFraction.call(t,g.currentClass,g.totalClass):T=` / `),g.type==="progressbar"&&(g.renderProgressbar?T=g.renderProgressbar.call(t,g.progressbarFillClass):T=``),t.pagination.bullets=[],O.forEach(M=>{g.type!=="custom"&&(M.innerHTML=T||""),g.type==="bullets"&&t.pagination.bullets.push(...M.querySelectorAll(Ro(g.bulletClass)))}),g.type!=="custom"&&i("paginationRender",O[0])}function S(){t.params.pagination=pA(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let E;typeof g.el=="string"&&t.isElement&&(E=t.el.querySelector(g.el)),!E&&typeof g.el=="string"&&(E=[...document.querySelectorAll(g.el)]),E||(E=g.el),!(!E||E.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(E)&&E.length>1&&(E=[...t.el.querySelectorAll(g.el)],E.length>1&&(E=E.filter(O=>dA(O,".swiper")[0]===t.el)[0])),Array.isArray(E)&&E.length===1&&(E=E[0]),Object.assign(t.pagination,{el:E}),E=f(E),E.forEach(O=>{g.type==="bullets"&&g.clickable&&O.classList.add(...(g.clickableClass||"").split(" ")),O.classList.add(g.modifierClass+g.type),O.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(O.classList.add(`${g.modifierClass}${g.type}-dynamic`),c=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&O.classList.add(g.progressbarOppositeClass),g.clickable&&O.addEventListener("click",m),t.enabled||O.classList.add(g.lockClass)}))}function k(){const g=t.params.pagination;if(d())return;let E=t.pagination.el;E&&(E=f(E),E.forEach(O=>{O.classList.remove(g.hiddenClass),O.classList.remove(g.modifierClass+g.type),O.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(O.classList.remove(...(g.clickableClass||"").split(" ")),O.removeEventListener("click",m))})),t.pagination.bullets&&t.pagination.bullets.forEach(O=>O.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:E}=t.pagination;E=f(E),E.forEach(O=>{O.classList.remove(g.horizontalClass,g.verticalClass),O.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?b():(S(),C(),x())}),n("activeIndexChange",()=>{typeof t.snapIndex>"u"&&x()}),n("snapIndexChange",()=>{x()}),n("snapGridLengthChange",()=>{C(),x()}),n("destroy",()=>{k()}),n("enable disable",()=>{let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{x()}),n("click",(g,E)=>{const O=E.target,T=f(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!O.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&O===t.navigation.nextEl||t.navigation.prevEl&&O===t.navigation.prevEl))return;const M=T[0].classList.contains(t.params.pagination.hiddenClass);i(M===!0?"paginationShow":"paginationHide"),T.forEach(V=>V.classList.toggle(t.params.pagination.hiddenClass))}});const A=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList.remove(t.params.pagination.paginationDisabledClass))),S(),C(),x()},b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=f(g),g.forEach(E=>E.classList.add(t.params.pagination.paginationDisabledClass))),k()};Object.assign(t.pagination,{enable:A,disable:b,render:C,update:x,init:S,destroy:k})}function Bve(e){let{swiper:t,extendParams:r,on:n}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function o(P){const D=i;D.length!==0&&(D.innerHTML="",D.innerHTML=P)}const s=P=>(Array.isArray(P)?P:[P]).filter(D=>!!D);function c(P){P===void 0&&(P=16);const D=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,D)}function f(P){P=s(P),P.forEach(D=>{D.setAttribute("tabIndex","0")})}function d(P){P=s(P),P.forEach(D=>{D.setAttribute("tabIndex","-1")})}function h(P,D){P=s(P),P.forEach(G=>{G.setAttribute("role",D)})}function m(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-roledescription",D)})}function x(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-controls",D)})}function C(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-label",D)})}function S(P,D){P=s(P),P.forEach(G=>{G.setAttribute("id",D)})}function k(P,D){P=s(P),P.forEach(G=>{G.setAttribute("aria-live",D)})}function A(P){P=s(P),P.forEach(D=>{D.setAttribute("aria-disabled",!0)})}function b(P){P=s(P),P.forEach(D=>{D.setAttribute("aria-disabled",!1)})}function g(P){if(P.keyCode!==13&&P.keyCode!==32)return;const D=t.params.a11y,G=P.target;t.pagination&&t.pagination.el&&(G===t.pagination.el||t.pagination.el.contains(P.target))&&!P.target.matches(Ro(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&G===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?o(D.lastSlideMessage):o(D.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&G===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?o(D.firstSlideMessage):o(D.prevSlideMessage)),t.pagination&&G.matches(Ro(t.params.pagination.bulletClass))&&G.click())}function E(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:P,prevEl:D}=t.navigation;D&&(t.isBeginning?(A(D),d(D)):(b(D),f(D))),P&&(t.isEnd?(A(P),d(P)):(b(P),f(P)))}function O(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function T(){return O()&&t.params.pagination.clickable}function M(){const P=t.params.a11y;O()&&t.pagination.bullets.forEach(D=>{t.params.pagination.clickable&&(f(D),t.params.pagination.renderBullet||(h(D,"button"),C(D,P.paginationBulletMessage.replace(/\{\{index\}\}/,pc(D)+1)))),D.matches(Ro(t.params.pagination.bulletActiveClass))?D.setAttribute("aria-current","true"):D.removeAttribute("aria-current")})}const V=(P,D,G)=>{f(P),P.tagName!=="BUTTON"&&(h(P,"button"),P.addEventListener("keydown",g)),C(P,G),x(P,D)},j=()=>{t.a11y.clicked=!0},U=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},H=P=>{if(t.a11y.clicked)return;const D=P.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!D||!t.slides.includes(D))return;const G=t.slides.indexOf(D)===t.activeIndex,se=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(D);G||se||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(D),0))},Z=()=>{const P=t.params.a11y;P.itemRoleDescriptionMessage&&m(t.slides,P.itemRoleDescriptionMessage),P.slideRole&&h(t.slides,P.slideRole);const D=t.slides.length;P.slideLabelMessage&&t.slides.forEach((G,se)=>{const Q=t.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):se,re=P.slideLabelMessage.replace(/\{\{index\}\}/,Q+1).replace(/\{\{slidesLength\}\}/,D);C(G,re)})},Y=()=>{const P=t.params.a11y;t.el.append(i);const D=t.el;P.containerRoleDescriptionMessage&&m(D,P.containerRoleDescriptionMessage),P.containerMessage&&C(D,P.containerMessage);const G=t.wrapperEl,se=P.id||G.getAttribute("id")||`swiper-wrapper-${c(16)}`,Q=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";S(G,se),k(G,Q),Z();let{nextEl:re,prevEl:ve}=t.navigation?t.navigation:{};re=s(re),ve=s(ve),re&&re.forEach(xe=>V(xe,se,P.nextSlideMessage)),ve&&ve.forEach(xe=>V(xe,se,P.prevSlideMessage)),T()&&s(t.pagination.el).forEach(Te=>{Te.addEventListener("keydown",g)}),t.el.addEventListener("focus",H,!0),t.el.addEventListener("pointerdown",j,!0),t.el.addEventListener("pointerup",U,!0)};function a(){i&&i.remove();let{nextEl:P,prevEl:D}=t.navigation?t.navigation:{};P=s(P),D=s(D),P&&P.forEach(G=>G.removeEventListener("keydown",g)),D&&D.forEach(G=>G.removeEventListener("keydown",g)),T()&&s(t.pagination.el).forEach(se=>{se.removeEventListener("keydown",g)}),t.el.removeEventListener("focus",H,!0),t.el.removeEventListener("pointerdown",j,!0),t.el.removeEventListener("pointerup",U,!0)}n("beforeInit",()=>{i=dc("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{t.params.a11y.enabled&&Y()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&Z()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&E()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&M()}),n("destroy",()=>{t.params.a11y.enabled&&a()})}let ig;function Tve(){const e=vn(),t=ll();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function hA(){return ig||(ig=Tve()),ig}let og;function Pve(e){let{userAgent:t}=e===void 0?{}:e;const r=hA(),n=vn(),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_]+))?/),x=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),C=i==="Win32";let S=i==="MacIntel";const k=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&S&&r.touch&&k.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||x||m)&&(s.os="ios",s.ios=!0),s}function $ve(e){return e===void 0&&(e={}),og||(og=Pve(e)),og}let ag;function Dve(){const e=vn();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 Mve(){return ag||(ag=Dve()),ag}function Fve(e){let{swiper:t,on:r,emit:n}=e;const i=vn();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:x,height:C}=t;let S=x,k=C;m.forEach(A=>{let{contentBoxSize:b,contentRect:g,target:E}=A;E&&E!==t.el||(S=g?g.width:(b[0]||b).inlineSize,k=g?g.height:(b[0]||b).blockSize)}),(S!==x||k!==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 Nve(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=vn(),c=function(h,m){m===void 0&&(m={});const x=s.MutationObserver||s.WebkitMutationObserver,C=new x(S=>{if(t.__preventObserver__)return;if(S.length===1){i("observerUpdate",S[0]);return}const k=function(){i("observerUpdate",S[0])};s.requestAnimationFrame?s.requestAnimationFrame(k):s.setTimeout(k,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=dA(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 jve={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 zve(){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(Bo(n,"padding-left")||0,10)-parseInt(Bo(n,"padding-right")||0,10),r=r-parseInt(Bo(n,"padding-top")||0,10)-parseInt(Bo(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 Wve(){const e=this;function t(H,Z){return parseFloat(H.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=bi(i,`.${e.params.slideClass}, swiper-slide`),m=f?e.virtual.slides.length:h.length;let x=[];const C=[],S=[];let k=r.slidesOffsetBefore;typeof k=="function"&&(k=r.slidesOffsetBefore.call(e));let A=r.slidesOffsetAfter;typeof A=="function"&&(A=r.slidesOffsetAfter.call(e));const b=e.snapGrid.length,g=e.slidesGrid.length;let E=r.spaceBetween,O=-k,T=0,M=0;if(typeof o>"u")return;typeof E=="string"&&E.indexOf("%")>=0?E=parseFloat(E.replace("%",""))/100*o:typeof E=="string"&&(E=parseFloat(E)),e.virtualSize=-E,h.forEach(H=>{s?H.style.marginLeft="":H.style.marginRight="",H.style.marginBottom="",H.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(G1(n,"--swiper-centered-offset-before",""),G1(n,"--swiper-centered-offset-after",""));const V=r.grid&&r.grid.rows>1&&e.grid;V?e.grid.initSlides(h):e.grid&&e.grid.unsetSlides();let j;const U=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(H=>typeof r.breakpoints[H].slidesPerView<"u").length>0;for(let H=0;H1&&x.push(e.virtualSize-o)}if(f&&r.loop){const H=S[0]+E;if(r.slidesPerGroup>1){const Z=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),Y=H*r.slidesPerGroup;for(let a=0;a!r.cssMode||r.loop?!0:Y!==h.length-1).forEach(Z=>{Z.style[H]=`${E}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let H=0;S.forEach(Y=>{H+=Y+(E||0)}),H-=E;const Z=H-o;x=x.map(Y=>Y<=0?-k:Y>Z?Z+A:Y)}if(r.centerInsufficientSlides){let H=0;if(S.forEach(Z=>{H+=Z+(E||0)}),H-=E,H{x[a]=Y-Z}),C.forEach((Y,a)=>{C[a]=Y+Z})}}if(Object.assign(e,{slides:h,snapGrid:x,slidesGrid:C,slidesSizesGrid:S}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){G1(n,"--swiper-centered-offset-before",`${-x[0]}px`),G1(n,"--swiper-centered-offset-after",`${e.size/2-S[S.length-1]/2}px`);const H=-e.snapGrid[0],Z=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(Y=>Y+H),e.slidesGrid=e.slidesGrid.map(Y=>Y+Z)}if(m!==d&&e.emit("slidesLengthChange"),x.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),C.length!==g&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!f&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const H=`${r.containerModifierClass}backface-hidden`,Z=e.el.classList.contains(H);m<=r.maxBackfaceHiddenSlides?Z||e.el.classList.add(H):Z&&e.el.classList.remove(H)}}function Vve(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 Hve(){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)),k&&n[f].classList.add(r.slideFullyVisibleClass),d.progress=i?-m:m,d.originalProgress=i?-x:x}}function qve(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),x=t.slidesGrid[h],C=t.slidesGrid[m],S=t.slidesGrid[t.slidesGrid.length-1],k=Math.abs(e);k>=x?c=(k-x)/S:c=(k+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 Zve(){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=>bi(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=Ove(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!h&&(h=t[0]),h&&h.classList.add(r.slideNextClass),d=Ave(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const dh=(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()}},sg=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},n6=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)&&sg(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)&&sg(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 Yve(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=Gve(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 x;if(t.virtual&&i.virtual.enabled&&i.loop)x=h(f);else if(m){const C=t.slides.filter(k=>k.column===f)[0];let S=parseInt(C.getAttribute("data-swiper-slide-index"),10);Number.isNaN(S)&&(S=Math.max(t.slides.indexOf(C),0)),x=Math.floor(S/i.grid.rows)}else if(t.slides[f]){const C=t.slides[f].getAttribute("data-swiper-slide-index");C?x=parseInt(C,10):x=f}else x=f;Object.assign(t,{previousSnapIndex:c,snapIndex:d,previousRealIndex:s,realIndex:x,previousIndex:o,activeIndex:f}),t.initialized&&n6(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==x&&t.emit("realIndexChange"),t.emit("slideChange"))}function Qve(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 E=0;E=T&&O=T&&O=T&&(s=E)}if(o.initialized&&s!==m&&(!o.allowSlideNext&&(x?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 g;if(s>m?g="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{C[E?"scrollLeft":"scrollTop"]=O})):C[E?"scrollLeft":"scrollTop"]=O,T&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return fA({swiper:o,targetPosition:O,side:E?"left":"top"}),!0;C.scrollTo({[E?"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,g),t===0?o.transitionEnd(r,g):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,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function u4e(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 x=s*i.params.grid.rows;c=i.slides.filter(C=>C.getAttribute("data-swiper-slide-index")*1===x)[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===x)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i}function c4e(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 f4e(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 x(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const C=x(m),S=o.map(b=>x(b));let k=o[S.indexOf(C)-1];if(typeof k>"u"&&i.cssMode){let b;o.forEach((g,E)=>{C>=g&&(b=E)}),typeof b<"u"&&(k=o[b>0?b-1:b])}let A=0;if(typeof k<"u"&&(A=s.indexOf(k),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 d4e(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 p4e(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 h4e(){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(bi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),t6(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-n?(e.loopFix(),i=e.getSlideIndex(bi(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),t6(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var m4e={slideTo:l4e,slideToLoop:u4e,slideNext:c4e,slidePrev:f4e,slideReset:d4e,slideToClosest:p4e,slideToClickedSlide:h4e};function v4e(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{bi(n,`.${r.slideClass}, swiper-slide`).forEach((m,x)=>{m.setAttribute("data-swiper-slide-index",x)})},o=t.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),c=t.slides.length%s!==0,f=o&&t.slides.length%r.grid.rows!==0,d=h=>{for(let m=0;m1;d.length"u"?o=f.getSlideIndex(d.filter(a=>a.classList.contains(C.slideActiveClass))[0]):T=o;const M=n==="next"||!n,V=n==="prev"||!n;let j=0,U=0;const H=g?Math.ceil(d.length/C.grid.rows):d.length,Y=(g?d[o].column:o)+(S&&typeof i>"u"?-k/2+.5:0);if(Y=0;G-=1)d[G].column===D&&E.push(G)}else E.push(H-P-1)}}else if(Y+k>H-b){U=Math.max(Y-(H-b*2),A);for(let a=0;a{D.column===P&&O.push(G)}):O.push(P)}}if(f.__preventObserver__=!0,requestAnimationFrame(()=>{f.__preventObserver__=!1}),V&&E.forEach(a=>{d[a].swiperLoopMoveDOM=!0,x.prepend(d[a]),d[a].swiperLoopMoveDOM=!1}),M&&O.forEach(a=>{d[a].swiperLoopMoveDOM=!0,x.append(d[a]),d[a].swiperLoopMoveDOM=!1}),f.recalcSlides(),C.slidesPerView==="auto"?f.updateSlides():g&&(E.length>0&&V||O.length>0&&M)&&f.slides.forEach((a,P)=>{f.grid.updateSlide(P,a,f.slides)}),C.watchSlidesProgress&&f.updateSlidesOffset(),r){if(E.length>0&&V){if(typeof t>"u"){const a=f.slidesGrid[T],D=f.slidesGrid[T+j]-a;c?f.setTranslate(f.translate-D):(f.slideTo(T+j,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-D,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-D))}else if(i){const a=g?E.length/C.grid.rows:E.length;f.slideTo(f.activeIndex+a,0,!1,!0),f.touchEventsData.currentTranslate=f.translate}}else if(O.length>0&&M)if(typeof t>"u"){const a=f.slidesGrid[T],D=f.slidesGrid[T-U]-a;c?f.setTranslate(f.translate-D):(f.slideTo(T-U,0,!1,!0),i&&(f.touchEventsData.startTranslate=f.touchEventsData.startTranslate-D,f.touchEventsData.currentTranslate=f.touchEventsData.currentTranslate-D))}else{const a=g?O.length/C.grid.rows:O.length;f.slideTo(f.activeIndex-a,0,!1,!0)}}if(f.allowSlidePrev=h,f.allowSlideNext=m,f.controller&&f.controller.control&&!s){const a={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(f.controller.control)?f.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...a,slideTo:P.params.slidesPerView===C.slidesPerView?r:!1})}):f.controller.control instanceof f.constructor&&f.controller.control.params.loop&&f.controller.control.loopFix({...a,slideTo:f.controller.control.params.slidesPerView===C.slidesPerView?r:!1})}f.emit("loopFix")}function y4e(){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 w4e={loopCreate:v4e,loopFix:g4e,loopDestroy:y4e};function x4e(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 b4e(){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 C4e={setGrabCursor:x4e,unsetGrabCursor:b4e};function E4e(e,t){t===void 0&&(t=this);function r(n){if(!n||n===ll()||n===vn())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 HE(e,t,r){const n=vn(),{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 _4e(e){const t=this,r=ll();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){HE(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}`,x=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(x?E4e(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(!HE(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=Ym(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let k=!0;f.matches(i.focusableElements)&&(k=!1,f.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==f&&r.activeElement.blur();const A=k&&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 k4e(e){const t=ll(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:c}=r;if(!c||!i.simulateTouch&&e.pointerType==="mouse")return;let f=e;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(n.touchId!==null||f.pointerId!==n.pointerId))return;let d;if(f.type==="touchmove"){if(d=[...f.changedTouches].filter(M=>M.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=Ym());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 x=o.currentX-o.startX,C=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(x**2+C**2)"u"){let M;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:x*x+C*C>=25&&(M=Math.atan2(Math.abs(C),Math.abs(x))*180/Math.PI,n.isScrolling=r.isHorizontal()?M>i.touchAngle:90-M>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()?x:C,k=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(S=Math.abs(S)*(s?1:-1),k=Math.abs(k)*(s?1:-1)),o.diff=S,S*=i.touchRatio,s&&(S=-S,k=-k);const A=r.touchesDirection;r.swipeDirection=S>0?"prev":"next",r.touchesDirection=k>0?"prev":"next";const b=r.params.loop&&!i.cssMode,g=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(b&&g&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const M=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(M)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",f)}let E;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&A!==r.touchesDirection&&b&&g&&Math.abs(S)>=1){Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",f),n.isMoved=!0,n.currentTranslate=S+n.startTranslate;let O=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),S>0?(b&&g&&!E&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(O=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+S)**T))):S<0&&(b&&g&&!E&&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 S4e(e){const t=this,r=t.touchEventsData;let n=e;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].filter(T=>T.identifier===r.touchId)[0],!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:s,touches:c,rtlTranslate:f,slidesGrid:d,enabled:h}=t;if(!h||!s.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const m=Ym(),x=m-r.touchStartTime;if(t.allowClick){const T=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(T&&T[0]||n.target,T),t.emit("tap click",n),x<300&&m-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Ym(),t6(()=>{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 k=0,A=t.slidesSizesGrid[0];for(let T=0;T=d[T]&&C=d[T])&&(k=T,A=d[d.length-1]-d[d.length-2])}let b=null,g=null;s.rewind&&(t.isBeginning?g=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const E=(C-d[k])/A,O=ks.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(E>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?b:k+O):t.slideTo(k)),t.swipeDirection==="prev"&&(E>1-s.longSwipesRatio?t.slideTo(k+O):g!==null&&E<0&&Math.abs(E)>s.longSwipesRatio?t.slideTo(g):t.slideTo(k))}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(k+O):t.slideTo(k):(t.swipeDirection==="next"&&t.slideTo(b!==null?b:k+O),t.swipeDirection==="prev"&&t.slideTo(g!==null?g:k))}}function UE(){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 R4e(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function A4e(){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 O4e(e){const t=this;dh(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 vA=(e,t)=>{const r=ll(),{params:n,el:i,wrapperEl:o,device:s}=e,c=!!n.nested,f=t==="on"?"addEventListener":"removeEventListener",d=t;r[f]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),i[f]("touchstart",e.onTouchStart,{passive:!1}),i[f]("pointerdown",e.onTouchStart,{passive:!1}),r[f]("touchmove",e.onTouchMove,{passive:!1,capture:c}),r[f]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[f]("touchend",e.onTouchEnd,{passive:!0}),r[f]("pointerup",e.onTouchEnd,{passive:!0}),r[f]("pointercancel",e.onTouchEnd,{passive:!0}),r[f]("touchcancel",e.onTouchEnd,{passive:!0}),r[f]("pointerout",e.onTouchEnd,{passive:!0}),r[f]("pointerleave",e.onTouchEnd,{passive:!0}),r[f]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[f]("click",e.onClick,!0),n.cssMode&&o[f]("scroll",e.onScroll),n.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",UE,!0):e[d]("observerUpdate",UE,!0),i[f]("load",e.onLoad,{capture:!0})};function L4e(){const e=this,{params:t}=e;e.onTouchStart=_4e.bind(e),e.onTouchMove=k4e.bind(e),e.onTouchEnd=S4e.bind(e),e.onDocumentTouchStart=I4e.bind(e),t.cssMode&&(e.onScroll=A4e.bind(e)),e.onClick=R4e.bind(e),e.onLoad=O4e.bind(e),vA(e,"on")}function B4e(){vA(this,"off")}var T4e={attachEvents:L4e,detachEvents:B4e};const qE=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function P4e(){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=qE(e,n),h=qE(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 g=n[b]&&n[b].enabled,E=f[b]&&f[b].enabled;g&&!E&&e[b].disable(),!g&&E&&e[b].enable()});const x=f.direction&&f.direction!==n.direction,C=n.loop&&(f.slidesPerView!==n.slidesPerView||x),S=n.loop;x&&r&&e.changeDirection(),sn(e.params,f);const k=e.params.enabled,A=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!k?e.disable():!m&&k&&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 $4e(e,t,r){if(t===void 0&&(t="window"),!e||t==="container"&&!r)return;let n=!1;const i=vn(),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 F4e(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:o}=e,s=M4e(["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 N4e(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var j4e={addClasses:F4e,removeClasses:N4e};function z4e(){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 W4e={checkOverflow:z4e},i6={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 V4e(e,t){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){sn(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)){sn(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),sn(t,n)}}const lg={eventsEmitter:jve,update:Kve,translate:n4e,transition:s4e,slide:m4e,loop:w4e,grabCursor:C4e,events:T4e,breakpoints:D4e,checkOverflow:W4e,classes:j4e},ug={};let Bw=class ji{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 x=sn({},r,{el:m});h.push(new ji(x))}),h}const c=this;c.__swiper__=!0,c.support=hA(),c.device=$ve({userAgent:r.userAgent}),c.browser=Mve(),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:V4e(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=sn({},i6,f);return c.params=sn({},d,ug,r),c.originalParams=sn({},c.params),c.passedParams=sn({},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=bi(r,`.${n.slideClass}, swiper-slide`),o=pc(i[0]);return pc(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=bi(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,x;for(let C=d+1;Cf&&(x=!0));for(let C=d-1;C>=0;C-=1)o[C]&&!x&&(m+=o[C].swiperSlideSize,h+=1,m>f&&(x=!0))}else if(t==="current")for(let m=d+1;m=0;m-=1)s[d]-s[m]{s.complete&&dh(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()):bi(n,i())[0])();return!s&&r.params.createElements&&(s=dc("div",r.params.wrapperClass),n.append(s),bi(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"||Bo(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Bo(n,"direction")==="rtl"),wrongRTL:Bo(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?dh(r,o):o.addEventListener("load",s=>{dh(r,s.target)})}),n6(r),r.initialized=!0,n6(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,_ve(n)),n.destroyed=!0),null}static extendDefaults(t){sn(ug,t)}static get extendedDefaults(){return ug}static get defaults(){return i6}static installModule(t){ji.prototype.__modules__||(ji.prototype.__modules__=[]);const r=ji.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>ji.installModule(r)),ji):(ji.installModule(t),ji)}};Object.keys(lg).forEach(e=>{Object.keys(lg[e]).forEach(t=>{Bw.prototype[t]=lg[e][t]})});Bw.use([Fve,Nve]);const gA=["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 ja(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Bs(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]:ja(t[n])&&ja(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Bs(e[n],t[n]):e[n]=t[n]})}function yA(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function wA(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function xA(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function bA(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 H4e(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function U4e(e){let{swiper:t,slides:r,passedParams:n,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:c,paginationEl:f}=e;const d=i.filter(U=>U!=="children"&&U!=="direction"&&U!=="wrapperClass"),{params:h,pagination:m,navigation:x,scrollbar:C,virtual:S,thumbs:k}=t;let A,b,g,E,O,T,M,V;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&h.thumbs&&!h.thumbs.swiper&&(A=!0),i.includes("controller")&&n.controller&&n.controller.control&&h.controller&&!h.controller.control&&(b=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||f)&&(h.pagination||h.pagination===!1)&&m&&!m.el&&(g=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(h.scrollbar||h.scrollbar===!1)&&C&&!C.el&&(E=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||o)&&(h.navigation||h.navigation===!1)&&x&&!x.prevEl&&!x.nextEl&&(O=!0);const j=U=>{t[U]&&(t[U].destroy(),U==="navigation"?(t.isElement&&(t[U].prevEl.remove(),t[U].nextEl.remove()),h[U].prevEl=void 0,h[U].nextEl=void 0,t[U].prevEl=void 0,t[U].nextEl=void 0):(t.isElement&&t[U].el.remove(),h[U].el=void 0,t[U].el=void 0))};i.includes("loop")&&t.isElement&&(h.loop&&!n.loop?T=!0:!h.loop&&n.loop?M=!0:V=!0),d.forEach(U=>{if(ja(h[U])&&ja(n[U]))Object.assign(h[U],n[U]),(U==="navigation"||U==="pagination"||U==="scrollbar")&&"enabled"in n[U]&&!n[U].enabled&&j(U);else{const H=n[U];(H===!0||H===!1)&&(U==="navigation"||U==="pagination"||U==="scrollbar")?H===!1&&j(U):h[U]=n[U]}}),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&&(V=!0),A&&k.init()&&k.update(!0),b&&(t.controller.control=h.controller.control),g&&(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()),E&&(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),x.init(),x.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),(T||V)&&t.loopDestroy(),(M||V)&&t.loopCreate(),t.update()}function q4e(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const r={on:{}},n={},i={};Bs(r,i6),r._emitClasses=!0,r.init=!1;const o={},s=gA.map(f=>f.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(f=>{typeof e[f]>"u"||(s.indexOf(f)>=0?ja(e[f])?(r[f]={},i[f]={},Bs(r[f],e[f]),Bs(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 Z4e(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:c}=e;yA(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),wA(t)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),xA(t)&&s&&(c.params.scrollbar.el=s,c.originalParams.scrollbar.el=s),c.init(r)}function G4e(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 gA.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(ja(e[f])&&ja(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 Y4e=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 Km(){return Km=Object.assign?Object.assign.bind():function(e){for(var t=1;t{CA(r)?t.push(r):r.props&&r.props.children&&EA(r.props.children).forEach(n=>t.push(n))}),t}function Q4e(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return he.Children.toArray(e).forEach(n=>{if(CA(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=EA(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 Iu(e,t){return typeof window>"u"?y.useEffect(e,t):y.useLayoutEffect(e,t)}const ZE=y.createContext(null),X4e=y.createContext(null),_A=y.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]=y.useState("swiper"),[m,x]=y.useState(null),[C,S]=y.useState(!1),k=y.useRef(!1),A=y.useRef(null),b=y.useRef(null),g=y.useRef(null),E=y.useRef(null),O=y.useRef(null),T=y.useRef(null),M=y.useRef(null),V=y.useRef(null),{params:j,passedParams:U,rest:H,events:Z}=q4e(c),{slides:Y,slots:a}=Q4e(o),P=()=>{S(!C)};Object.assign(j.on,{_containerClasses(re,ve){h(ve)}});const D=()=>{Object.assign(j.on,Z),f=!0;const re={...j};if(delete re.wrapperClass,b.current=new Bw(re),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=Y;const ve={cache:!1,slides:Y,renderExternal:x,renderExternalUpdate:!1};Bs(b.current.params.virtual,ve),Bs(b.current.originalParams.virtual,ve)}};A.current||D(),b.current&&b.current.on("_beforeBreakpoint",P);const G=()=>{f||!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.on(re,Z[re])})},se=()=>{!Z||!b.current||Object.keys(Z).forEach(re=>{b.current.off(re,Z[re])})};y.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",P)}),y.useEffect(()=>{!k.current&&b.current&&(b.current.emitSlidesClasses(),k.current=!0)}),Iu(()=>{if(t&&(t.current=A.current),!!A.current)return b.current.destroyed&&D(),Z4e({el:A.current,nextEl:O.current,prevEl:T.current,paginationEl:M.current,scrollbarEl:V.current,swiper:b.current},j),s&&s(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),Iu(()=>{G();const re=G4e(U,g.current,Y,E.current,ve=>ve.key);return g.current=U,E.current=Y,re.length&&b.current&&!b.current.destroyed&&U4e({swiper:b.current,slides:Y,passedParams:U,changedParams:re,nextEl:O.current,prevEl:T.current,scrollbarEl:V.current,paginationEl:M.current}),()=>{se()}}),Iu(()=>{Y4e(b.current)},[m]);function Q(){return j.virtual?K4e(b.current,Y,m):Y.map((re,ve)=>he.cloneElement(re,{swiper:b.current,swiperSlideIndex:ve}))}return he.createElement(n,Km({ref:A,className:bA(`${d}${r?` ${r}`:""}`)},H),he.createElement(X4e.Provider,{value:b.current},a["container-start"],he.createElement(i,{className:H4e(j.wrapperClass)},a["wrapper-start"],Q(),a["wrapper-end"]),yA(j)&&he.createElement(he.Fragment,null,he.createElement("div",{ref:T,className:"swiper-button-prev"}),he.createElement("div",{ref:O,className:"swiper-button-next"})),xA(j)&&he.createElement("div",{ref:V,className:"swiper-scrollbar"}),wA(j)&&he.createElement("div",{ref:M,className:"swiper-pagination"}),a["container-end"]))});_A.displayName="Swiper";const kA=y.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=y.useRef(null),[x,C]=y.useState("swiper-slide"),[S,k]=y.useState(!1);function A(O,T,M){T===m.current&&C(M)}Iu(()=>{if(typeof d<"u"&&(m.current.swiperSlideIndex=d),t&&(t.current=m.current),!(!m.current||!o)){if(o.destroyed){x!=="swiper-slide"&&C("swiper-slide");return}return o.on("_slideClass",A),()=>{o&&o.off("_slideClass",A)}}}),Iu(()=>{o&&m.current&&!o.destroyed&&C(o.getSlideClasses(m.current))},[o]);const b={isActive:x.indexOf("swiper-slide-active")>=0,isVisible:x.indexOf("swiper-slide-visible")>=0,isPrev:x.indexOf("swiper-slide-prev")>=0,isNext:x.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(b):n,E=()=>{k(!0)};return he.createElement(r,Km({ref:m,className:bA(`${x}${i?` ${i}`:""}`),"data-swiper-slide-index":f,onLoad:E},h),s&&he.createElement(ZE.Provider,{value:b},he.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},g(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&he.createElement(ZE.Provider,{value:b},g(),c&&!S&&he.createElement("div",{className:"swiper-lazy-preloader"})))});kA.displayName="SwiperSlide";const J4e=({children:e})=>{const t=lA(),r=eve(),n=y.useRef();return N("div",{className:"relative mx-auto my-0 flex flex-row items-center justify-center md:max-w-[1440px]",children:[v("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:v(Fe.EoLeftArrowIcon,{})}),v("div",{className:"max-w-auto w-full md:max-w-[1211px]",children:v(_A,{slidesPerGroup:r?3:1,loop:!0,modules:[Ive,Lve,Bve],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)=>v(y.Fragment,{children:v(kA,{children:v("div",{className:"mb-12",children:i})})},`${o}`))})}),v("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:v(Fe.EoRightArrowIcon,{})})]})},T3=({pilot:e=!1})=>N("section",{className:"bg-white px-6 py-12 md:px-[50px] md:py-[100px] ",children:[v(ne,{font:"bold",variant:"large",className:"mb-20 text-center",children:e?"How the EO Pilot Works":"How EO Care Plans Work"}),v(J4e,{children:(e?ove:ave).map(({title:r,content:n,step:i,icon:o})=>N("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:[v("div",{className:"flex h-[70.13px] w-[70.13px] flex-row items-center justify-center rounded-full bg-electric-blue fill-gray-50",children:v(o,{className:"h-9 w-[37px]"})}),v(ne,{className:"text-[16px] uppercase leading-4 tracking-[.8px]",children:i}),v(ne,{font:"bold",className:"text-xl",children:r}),v(ne,{className:"text-center text-lg md:text-left",children:n})]},i))})]});function $c(){return N("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:[N("section",{className:"sm:max-w-full md:max-w-[453px]",children:[v(Fe.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/web/home","_blank")}}),N(ne,{variant:"large",font:"bold",className:"mb-6 text-4xl font-extrabold text-white",children:["The wise use ",v("br",{className:"hidden md:block"}),"cannabis company."]}),v(ne,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."})]}),v("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),N("section",{className:"flex flex-row justify-between",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),v("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:"Home"}),v("a",{href:"https://eo.care/web/for-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"}),v("a",{href:"https://eo.care/web/for-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"}),v("a",{href:"https://eo.care/web/for-employers",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"}),v("a",{href:"https://shop.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:"Shop CBD"}),v("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"}),v("a",{href:"https://eo.care/web/frequently-asked-questions",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"}),v("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"}),v("a",{href:"https://eo.care/methodology",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"}),v("a",{href:"https://eo.care/research",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"}),v("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"}),v("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"}),v("a",{href:"#",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 cky-banner-element",children:"Cookie Preferences"})]}),N("div",{className:"flex flex-col md:flex-row",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),v(ne,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"For general inquiries:"}),v("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"}),v(ne,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For press inquiries:"}),v("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"}),v(ne,{className:"mb-0 pt-2 text-[14px] font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"For job opportunities:"}),v("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"})]}),N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),v("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"}),v("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"}),v("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 ege=()=>{const[e]=Fr(),t=e.get("submission_id")||"",r=Vt();t||r("/");const{postAthleteSurveyFormSubmission:n}=Nr(),{mutate:i}=hn({mutationFn:n,mutationKey:["postAthleteSurveyFormSubmission",t],onError:o=>{var s;Ai.isAxiosError(o)?((s=o.response)==null?void 0:s.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>i({submission_id:t})),N(ot,{children:[v(uA,{children:N(ne,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:["We received your feedback! ",v("br",{}),v("br",{}),"Thank you! ",v("br",{}),v("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",v("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",v("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a video chat"})," ","with a member of our team."]})}),v(T3,{}),v(B3,{}),v($c,{})]})},gn=[{title:"Terms of use",url:"https://eo.care/web/terms-of-use"},{title:"Privacy Policy",url:"https://eo.care/web/privacy-policy"},{title:"Cookie Preferences",url:"#",extraClasses:"cky-banner-element"},{title:"Visit eo.care",url:"https://eo.care/web/home"}],tge=[{title:"About EO",url:"https://partner.eo.care/c-org/about"},...gn],rge=[{title:"About EO",url:"https://partner.eo.care/cancer/about"},...gn],nge=[{title:"About EO",url:"https://partner.eo.care/inova/about"},...gn],ige=[{title:"About EO",url:"https://partner.eo.care/twist-out-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/twist-out-cancer/cannabis-101"},...gn],oge=[{title:"About EO",url:"https://partner.eo.care/cancer-support-community/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cancer-support-community/cancer-101"},...gn],age=[{title:"About EO",url:"https://partner.eo.care/employers/about"},...gn],sge=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-1/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-1/cannabis-101"},...gn],lge=[{title:"About EO",url:"https://partner.eo.care/cannabis-resource-center-2/about"},{title:"Cannabis 101",url:"https://partner.eo.care/cannabis-resource-center-2/cannabis-101"},...gn],uge=[{title:"About EO",url:"https://partner.eo.care/imerman/about"},{title:"Cannabis 101",url:"https://partner.eo.care/imerman/cannabis-101"},...gn],cge=[{title:"About EO",url:"https://partner.eo.care/unite-for-her/about"},{title:"Cannabis 101",url:"https://partner.eo.care/unite-for-her/cannabis-101"},...gn],fge=[{title:"About EO",url:"https://partner.eo.care/mass-retirees/about"},{title:"Cannabis 101",url:"https://partner.eo.care/mass-retirees/cannabis-101"},...gn],dge=[{title:"About EO",url:"https://partner.eo.care/stupid-cancer/about"},{title:"Cannabis 101",url:"https://partner.eo.care/stupid-cancer/cannabis-101"},...gn],pge={c_org:tge,cancer_pilot:rge,twist_out_cancer:ige,cancer_support_community:oge,marketing_site:gn,employer_center:age,resource_center_1:sge,resource_center_2:lge,inova:nge,imerman:uge,unite_for_her:cge,mass_retirees:fge,stupid_cancer:dge};function SA({flow:e}){return N("footer",{className:"flex flex-col justify-center gap-4 bg-black px-4 py-[100px] md:flex-row md:pl-[10px] lg:pl-5",children:[N("section",{className:"sm:max-w-full md:max-w-[453px]",children:[v(Fe.EoWhiteIcon,{onClick:()=>{window.open("https://eo.care/kit","_blank")}}),v(ne,{variant:"large",font:"bold",className:"mb-6 text-5xl font-extrabold text-white",children:"Wise use for all."}),v(ne,{className:"mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]",children:"© 2022 All rights reserved. Patents pending. EO Care, Inc."}),e===Xe.cancer_support_community&&v(ne,{className:"font-new-hero text-[14px] font-normal text-[#ababab]",children:"Reference in this site to any specific commercial product, process, or service, or the use of any trade, firm or corporation name is for the information and convenience of the recipient, and does not constitute endorsement, recommendation, or favoring by the Cancer Support Community."})]}),v("section",{className:"block w-auto md:w-[100px] lg:w-[180px]"}),N("section",{className:"flex flex-row justify-between",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"COMPANY"}),pge[e].map(({title:t,url:r,extraClasses:n})=>v("a",{href:r,className:De("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",n),children:t},r))]}),N("div",{className:"flex flex-col md:flex-row",children:[N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[200px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"GET IN TOUCH"}),v(ne,{className:"mb-0 pt-2 leading-[22px] text-white opacity-50 md:mr-2 ",children:"Call:"}),v("a",{href:"tel:888-823-6143",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:"888-823-6143"}),v(ne,{className:"mb-0 pt-2 font-normal leading-[22px] text-white opacity-50 md:mr-2 ",children:"Email:"}),v("a",{href:"mailto:support@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:"support@eo.care"})]}),N("div",{className:"flex w-auto flex-col md:w-[100px] lg:w-[180px]",children:[v(ne,{className:"mb-4 text-[14px] leading-[18px] tracking-[1.4px] text-cloud-silver",font:"regular",children:"FOLLOW US"}),v("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"}),v("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"})]})]})]})]})}const RA=async e=>await on.post("/v2/profile/resend_confirmation_email",{email:e}),hge=async e=>await ma.post("/api/slack-notification/eo-subscription",{email:e}),AA=()=>{const[e,t]=y.useState(!1),[r,n]=y.useState(""),{mutate:i,isLoading:o}=hn({mutationFn:hge,onSuccess:()=>t(!0),onError:()=>je.error("Something went wrong, try again.")});return v("section",{className:"w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]",children:N("div",{className:"flex flex-col items-center",children:[v(ne,{font:"bold",className:"mb-4 text-center text-[32px] leading-[40px] text-skun",children:"EO in your inbox"}),v(ne,{className:"text-center text-skun-mid",children:"Rollouts in new markets, new partnerships, research initiatives and special offers are all coming soon."}),e?v("div",{className:"mt-[30px] px-6 py-12 lg:px-32 lg:py-18 rounded-lg border-2 border-black",children:N(ne,{font:"semiBold",className:"text-center text-lg ",children:["Thank you! ",v("br",{}),"Your submission has been received!"]})}):N("form",{onSubmit:s=>{s.preventDefault(),i(r)},className:"mt-[30px] flex w-full flex-col justify-items-end gap-4 md:w-auto md:flex-row",children:[v("input",{className:"h-[49px] w-full rounded-[40px] border border-solid border-black bg-white py-3 pl-4 pr-2 text-black placeholder:text-gray-300 md:w-[327px]",placeholder:"Enter your email...",type:"email",value:r,onChange:s=>{n(s.target.value)}}),v(mt,{type:"submit",variant:"black",font:"semiBold",disabled:o||!r,children:"Subscribe"})]})]})})},mge=({formId:e,searchParam:t})=>{const r=y.useRef(null);return ao(()=>{setTimeout(()=>{Pc(e)},400),setTimeout(()=>{r!=null&&r.current&&(r.current.style.opacity="100")},3500)},[e,t]),v("iframe",{ref:r,src:`https://form.jotform.com/${e}?${t?t.toString().replaceAll("+","%20"):""}`,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"})},vge=()=>{const[e,t]=y.useState(!0);return y.useEffect(()=>{setTimeout(()=>{t(!1)},3e3)}),v(pt,{children:e&&v("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"}})})},ul=({formId:e,searchParam:t})=>N(pt,{children:[v(vge,{}),v(mge,{formId:e,searchParam:t})]}),P3=()=>v("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"}}),cg=({number:e,title:t,children:r})=>N("div",{className:"flex flex-col items-center gap-4 max-w-[360px]",children:[v("div",{className:"rounded-full bg-electric-blue w-[70px] h-[70px] items-center justify-center flex",children:v("span",{className:"text-white font-bold text-[40px] font-new-hero",children:e})}),v(ne,{font:"bold",className:"text-center text-xl leading-[28px]",children:t}),r]}),OA=()=>N("div",{className:"mx-6 flex flex-col-reverse justify-between lg:ml-8 lg:flex-row xl:mx-0 xl:ml-[155px] xl:mt-[144px] xl:w-[979px] xl:items-center",children:[N("section",{className:"mt-4 flex flex-col gap-[35px] lg:mt-0",children:[N(ne,{variant:"large",className:"!text-[48px] font-extrabold !leading-[120%]",children:["Survey already ",v("br",{}),"responded!"]}),N(ne,{className:"text-[20px] text-gray-800",font:"regular",children:["Thank you for answering our survey! ",v("br",{}),"Your insights are greatly appreciated and will help us improve."]}),v("div",{children:v("a",{href:Ou,className:"float-left block",children:N(mt,{variant:"black",children:[v("span",{className:"hidden lg:block",children:"Go Back Home"}),v("span",{className:"lg:hidden",children:"Go Back"})]})})})]}),v(Fe.SurveyIcon,{className:"mt-0 lg:mt-6"})]}),Tw=({children:e,mutationKey:t,mutationFunction:r,mutationsParams:n,mutateOnMount:i=!0})=>{const[o,s]=y.useState(i),{mutate:c}=hn({mutationFn:r,mutationKey:t,onSuccess:()=>{s(!1)},onError:f=>{var d;Ai.isAxiosError(f)?((d=f.response)==null?void 0:d.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>{i&&c(n)}),o?v("section",{className:"flex flex-col items-center justify-center md:min-h-[479px] relative",children:v(P3,{})}):v(uA,{children:N(ne,{variant:"base",font:"regular",className:"max-w-xl text-center text-[22px] font-normal leading-[36px]",children:[e??N(pt,{children:["We received your feedback!",v("br",{}),v("br",{}),"Thank you!"]}),v("br",{}),v("br",{}),"Have questions? We’re here. Email support@eo.care, call"," ",v("a",{href:"tel:+1-888-823-6143",children:"888-823-6143"}),", or"," ",v("a",{className:"cursor-pointer font-new-hero text-[22px] underline",href:"https://calendly.com/eo-care/30min?back=1",target:"_blank",children:"schedule a video chat"})," ","with a member of our team."]})})},$3=sw()(lw((e,t)=>({phase:"",email:"",flow:Xe.marketing_site,setEmail:r=>e({email:r}),setPhase:r=>e({phase:r}),setFlow:r=>e({flow:r})}),{name:"useSurveyStore"})),gge=[Xe.c_org,Xe.cancer_pilot,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.inova],yge=()=>{const{flow:e,email:t,phase:r}=$3(),[n]=Fr(),i=n.get("submission_id")??"",{postCancerSurveyFormSubmission:o}=Nr();return i?N(ot,{children:[v(Tw,{mutationKey:["postCancerSurveyFormSubmission",i],mutationFunction:o,mutationsParams:{email:t,phase:r,submission_id:i}}),v(T3,{pilot:e===Xe.cancer_pilot}),v(B3,{flow:e}),gge.includes(e)?v(SA,{flow:e}):v($c,{})]}):v(bc,{to:"/"})},wge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Go(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),usePayment:n?"yes":"no",origin:i,experience:o}),f=Vt(),d=e==="Patient"?j3e:z3e;return e||f(be.userRolSelector),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v(ul,{formId:d,searchParam:c})})})},IA=(e,t)=>{t||(t=new URLSearchParams(window.location.search));const r=t.get(e);return r?r.replace(" ","+"):null},LA=()=>`${window.location.hostname==="localhost"?"http":"https"}://${window.location.host}`,xge=()=>{var g;const[e]=Fr(),{setPhase:t,setEmail:r,setFlow:n}=$3(),{surveyStatus:i,getProfilingFlow:o}=Nr(),s=IA("email",e),c=e.get("profiled")??"patient",f=e.get("symptoms")??"",d=e.get("phase")??"",h=e.get("uid")??d;s||(window.location.href="https://eo.care"),ao(()=>{t(d),r(s)});const{data:m,isLoading:x,isSuccess:C}=Ku({queryFn:()=>s&&d?i(s,d):null,queryKey:["surveyStatus"]}),{isLoading:S,isSuccess:k}=Ku({queryFn:()=>o(s),onSuccess:E=>{n(E.data.flow??Xe.marketing_site)},queryKey:["profilingFlow",s]}),A=c==="patient"?W3e:V3e,b=new URLSearchParams({email:s,symptoms:f,origin:LA(),uid:h});return v(ot,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:N("div",{className:"mb-10 flex h-screen flex-col",children:[x||S&&v(P3,{}),!x&&!S&&C&&(m!=null&&m.data.active)?v(ul,{formId:A,searchParam:b}):C&&k&&(m==null?void 0:m.data)&&!((g=m==null?void 0:m.data)!=null&&g.active)&&v(OA,{})]})})},bge=()=>{const{usePayment:e}=Go(),[t]=Fr(),{account:r,introQuestionSubmissionId:n,channel:i,flow:o,origin:s}=Go(),c=new URLSearchParams({email:r.email,origin:s}),f=t.get("submission_id")??"",d=Vt(),[h,m]=y.useState(!1);f||d(be.userRolSelector);const{postCancerFormSubmission:x,postSeniorFormSubmission:C}=Nr(),{mutate:S}=hn({mutationFn:i==="cancer"?x:C,mutationKey:["postCancerSeniorFormSubmission",f],onSuccess:()=>{m(!0)},onError:k=>{var A;Ai.isAxiosError(k)?((A=k.response)==null?void 0:A.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return ao(()=>S({name:r.firstName,last_name:r.lastName,email:r.email,password:r.password,phone_number:r.phoneNumber,profiling_submission_id:f,intro_submission_id:n,agree_receive_notifications:r.agreeReceiveNotifications,agree_terms_and_conditions:r.agreeTermsAndConditions,channel:i,flow:o})),e?v(ot,{children:h?v(ul,{formId:K3e,searchParam:c}):v(P3,{})}):v(bc,{to:be.profilingThankYou,replace:!0})},Cge=()=>{const e=Vt();return v(ot,{children:N("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[N(ne,{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",v("br",{}),v("br",{}),"Next, we’ll get you to fill out some information"," ",v("br",{className:"hidden md:block"})," so we can better serve you..."]}),v("div",{className:"mt-10 flex flex-row justify-center",children:v(mt,{className:"text-center",onClick:()=>e(be.profilingOne),children:"Continue"})})]})})},Ege=()=>{const e=Xo(),{email:t}=e.state,r=Vt(),{mutate:n}=hn({mutationFn:RA,onSuccess:()=>{je.success("Email resent successfully, please check your inbox")},onError:()=>{je.error("An error occurred, please try again later")}});return t||r(be.login),v(ot,{children:N("div",{className:"flex h-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",children:["It looks like you haven’t verified your email."," ",v("br",{className:"hidden md:block"})," Try checking your junk or spam folders."]}),v("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"}),v(mt,{type:"submit",className:"mt-10",onClick:()=>n(t),left:v(Fe.EnvelopeIcon,{}),children:"Resend verification"})]})})},_ge=dt.object({email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"})}),kge=()=>{var o;const{sendEmailToRecoveryPassword:e}=Nr(),{formState:{errors:t},register:r,handleSubmit:n}=Js({resolver:el(_ge)}),{mutate:i}=hn({mutationFn:e,onSuccess:()=>{je.success("Email sent to recovery your password, please check your inbox")},onError:s=>{var c;Ai.isAxiosError(s)?((c=s.response)==null?void 0:c.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return v(ot,{children:N("div",{className:"flex h-full h-full flex-row items-start justify-center gap-20 px-2 md:items-center",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Reset your password"}),N(ne,{variant:"small",font:"regular",className:"mt-4",children:["Enter your email and we'll send you instructions"," ",v("br",{className:"hidden md:block"})," on how to reset your password"]}),N("form",{className:"mt-10 flex flex-col ",onSubmit:s=>{n(c=>{i(c.email)})(s)},children:[v(Sr,{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}),N("div",{className:"flex flex-row justify-center gap-2 md:justify-start",children:[v(jh,{to:be.login,children:v(mt,{type:"button",className:"mt-10",variant:"secondary",left:v(Fe.ArrowLeftIcon,{}),children:"Back"})}),v(mt,{type:"submit",className:"mt-10",children:"Continue"})]})]})]}),v("div",{className:"hidden md:block",children:v("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=()=>v(ot,{children:v("br",{})}),Rge=async e=>await on.post("/v2/profile/login",{email:e.email,password:e.password}),Age=async e=>await on.post("/v2/profile",e),Oge=dt.object({email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:dt.string().min(1,{message:"Password is required"})}),Ige=()=>{var k,A;const e=Wo(b=>b.setProfile),t=Wo(b=>b.setSession),[r,n]=y.useState(!1),[i,o]=y.useState(""),s=Vt(),[c]=Fr();y.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}=Js({resolver:el(Oge)}),{mutate:x}=hn({mutationFn:Rge,onSuccess:({data:b})=>{e(b.profile),t(b.session)},onError:b=>{var g;Ai.isAxiosError(b)?((g=b.response)==null?void 0:g.status)===403?s(be.emailVerification,{state:{email:m("email")}}):o("Your email or password is incorrect"):o("Something went wrong")}}),[C,S]=y.useState(!1);return v(ot,{children:N("div",{className:"flex h-full w-full flex-row items-center justify-center gap-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Welcome back."}),N("form",{className:"mt-10",onSubmit:b=>{h(g=>{x(g)})(b)},children:[v(Sr,{id:"email",label:"Email",type:"email",containerClassName:"max-w-[327px]",className:"h-12 shadow-md",...d("email"),error:(k=f.email)==null?void 0:k.message}),v(Sr,{id:"password",label:"Password",right:C?v(Fe.EyeIcon,{className:"h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>S(b=>!b)}):v(Fe.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}),v(jh,{to:be.forgotPassword,children:v(ne,{variant:"small",className:"text-gray-300 hover:underline",children:"Forgot password?"})}),v(mt,{type:"submit",className:"mt-10",children:"Sign in"}),i&&v(ne,{variant:"small",id:"login-message",className:"text-red-600",children:i}),N(ne,{variant:"small",className:"text-gray-30 mt-3",children:["First time here?"," ",v(jh,{to:be.register,children:v("strong",{children:"Create account"})})]})]})]}),v("div",{className:"hidden md:block",children:v("img",{className:"w-[500px]",src:"https://uploads-ssl.webflow.com/641990da28209a736d8d7c6a/641990da28209a9b288d7e7d_WhatsApp%20Image%202022-11-08%20at%207.46.28%20PM%20(1).jpeg",alt:"Images showing app of Eo Care"})})]})})};var mu=(e=>(e.Sleep="Sleep",e.Pain="Pain",e.Anxiety="Anxiety",e.Other="Other",e))(mu||{}),o6=(e=>(e.Morning="Morning",e.Afternoon="Afternoon",e.Evening="Evening",e.BedTimeOrNight="Bedtime or During the Night",e))(o6||{}),mi=(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))(mi||{}),vu=(e=>(e.inhalation="Avoid inhalation",e.edibles="Avoid edibles",e.sublinguals="Avoid sublinguals",e.topicals="Avoid topicals",e))(vu||{}),hc=(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))(hc||{}),hr=(e=>(e.Pain="I want to manage pain",e.Anxiety="I want to reduce anxiety",e.Sleep="I want to sleep better",e))(hr||{});const Lge=(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:x}=e,C=()=>s.includes(hr.Sleep)?"":H==="topical lotion or patch"&&s.includes(hr.Anxiety)?"1:1 CBD:THC ratio":H==="topical lotion or patch"?"THC-dominant":r&&!x?"CBD or CBDA":r&&x?"CBD, CBDA, or CBC":s.includes(hr.Anxiety)||i===!1&&!x?"CBD-dominant":i===!1&&x?"4:1 CBD:THC ratio":i===!0&&!x?"2:1 CBD:THC ratio":i===!0&&x?"THC-dominant":"",S=()=>m==="fast-acting form"&&d===!1&&U==="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",k=()=>H==="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(hr.Sleep)?"":H==="inhalation method"?`Use a ${Z} inhalable product`:`Use ${Y} of a ${Z} ${H} product`,b=()=>s.includes(hr.Anxiety)&&r?"CBDA":s.includes(hr.Pain)&&r?"CBG plus CBD":r?"CBD":n===!0&&x?"THC-dominant":n===!0&&!x?"1:1 CBD:THC ratio":"CBD-dominant",g=()=>n&&!c?"inhalation method":n&&!d?"sublingual":c?d?f?h?"capsule":"topical lotion or patch":"edible":"sublingual":"inhalation method",E=()=>U==="topical lotion or patch"?"50mg":a==="THC-dominant"?"2.5mg":a==="CBD-dominant"?"5mg":a==="1:1 CBD:THC ratio"?"2.5mg":"10mg",O=()=>U==="inhalation method"?`Use a ${a} inhalable product`:`Use ${P} of a ${a} ${U} product`,T=()=>r?"CBN or D8-THC":o===!0?"THC-dominant":x?"1:1 CBD:THC ratio":"CBD-dominant",M=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",V=()=>D==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",j=()=>D==="inhalation method"?`Use a ${G} inhalable product`:`Use ${se} of a ${G} ${D} product`,U=g(),H=S(),Z=C(),Y=k(),a=b(),P=E(),D=M(),G=T(),se=V();return{dayTime:{time:"Morning",type:C(),form:S(),dose:k(),result:A()},evening:{time:"Evening",type:b(),form:g(),dose:E(),result:O()},bedTime:{time:"BedTime",type:T(),form:M(),dose:V(),result:j()}}},Bge=(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:x,currentlyUsingCannabisProducts:C}=e,S=()=>Z==="topical lotion or patch"&&s.includes(hr.Anxiety)?"1:1 CBD:THC ratio":Z==="topical lotion or patch"?"THC-dominant":s.includes(hr.Sleep)?"":r&&o===!1?"CBD or CBDA":r&&o===!0?"CBD, CBDA, or CBC":s.includes(hr.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",k=()=>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",A=()=>Z==="topical lotion or patch"?"50mg":Y===""?"":Y==="THC-dominant"?"2.5mg":Y==="CBD-dominant"&&t===!0?"10mg":Y==="CBD-dominant"||Y==="4:1 CBD:THC ratio"?"5mg":Y==="2:1 CBD:THC ratio"?"2.5mg":"10mg",b=()=>s.includes(hr.Sleep)?"":Z==="inhalation method"?"Use a "+Y+" inhalable product":"Use "+a+" of a "+Y+" "+Z+" product",g=()=>s.includes(hr.Anxiety)&&r?"CBDA":s.includes(hr.Pain)&&r?"CBG plus CBD":r?"CBD":x.includes(mi.WorkDayEvenings)&&C?"THC-dominant":x.includes(mi.WorkDayEvenings)&&!C?"1:1 CBD:THC ratio":"CBD-dominant",E=()=>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=()=>H==="topical lotion or patch"?"50mg":P==="THC-dominant"?"2.5mg":P==="CBD-dominant"?"5mg":P==="1:1 CBD:THC ratio"?"2.5mg":"10mg",T=()=>H==="inhalation method"?`Use a ${P} inhalable product`:`Use ${D} of a ${P} ${H} product`,M=()=>r?"CBN or D8-THC":i===!0?"THC-dominant":o===!0?"1:1 CBD:THC ratio":"CBD-dominant",V=()=>f===!1?"edible":d===!1?"sublingual":h===!1?"topical lotion or patch":c===!1?"inhalation method":"capsule",j=()=>se==="topical lotion or patch"?"50mg":G==="THC-dominant"?"2.5mg":G==="CBD-dominant"?"5mg":G==="1:1 CBD:THC ratio"?"2.5mg":"10mg",U=()=>se==="inhalation method"?`Use a ${G} inhalable product`:`Use ${Q} of a ${G} ${se} product`,H=E(),Z=k(),Y=S(),a=A(),P=g(),D=O(),G=M(),se=V(),Q=j();return{dayTime:{time:"Morning",type:S(),form:k(),dose:A(),result:b()},evening:{time:"Evening",type:g(),form:E(),dose:O(),result:T()},bedTime:{time:"BedTime",type:M(),form:V(),dose:j(),result:U()}}},BA=e=>{const{symptomsWorseTimes:t,thcTypePreferences:r,openToUseThcProducts:n,currentlyUsingCannabisProducts:i,reasonToUse:o,avoidPresentation:s}=e,c=o.includes(hr.Sleep)?"":t.includes(o6.Morning)?"fast-acting form":"long-lasting form",f=r===hc.notPrefer,d=t.includes(o6.Morning),h=n.includes(mi.WorkDayMornings),m=n.includes(mi.WorkDayBedtimes),x=n.includes(mi.NonWorkDayMornings),C=n.includes(mi.NonWorkDayEvenings),S=n.includes(mi.NonWorkDayBedtimes),k=i,A=s.includes(vu.inhalation),b=s.includes(vu.edibles),g=s.includes(vu.sublinguals),E=s.includes(vu.topicals),O=Bge(e,{C3:d,onlyCbd:f,C5:h,C7:m,C11:k,reasonToUse:o,C14:A,C15:b,C16:g,C17:E,M5:c}),T=Lge(e,{C10:S,reasonToUse:o,C14:A,C15:b,C16:g,C17:E,C3:d,C8:x,C9:C,M5:c,onlyCbd:f});return{workdayPlan:O,nonWorkdayPlan:T,whyRecommended:(()=>f&&o.includes(hr.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(hr.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(hr.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(mi.WorkDayEvenings)&&h&&m&&x&&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(mi.WorkDayEvenings)&&!h&&!m&&!x&&!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.")()}},GE=()=>N("svg",{width:"20px",height:"20px",viewBox:"0 0 164 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v("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"}),v("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"})]}),a6=e=>{switch(e){case"patch":return v(Fe.CheckIcon,{className:"stroke-[5px]"});case"sublingual":return v("svg",{width:"15px",height:"30px",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v("svg",{width:"130",height:"164",viewBox:"0 0 130 164",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v("svg",{width:"15",height:"30",viewBox:"0 0 98 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:v("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 v(GE,{});case"capsule":return v(GE,{});default:return v(Fe.CheckIcon,{className:"stroke-[5px]"})}},Tge=()=>{const{getSubmission:e}=Nr(),{data:t}=Ku({queryFn:e,queryKey:["getSubmission"]}),r=t==null?void 0:t.data.values,{nonWorkdayPlan:n,workdayPlan:i,whyRecommended:o}=BA(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:hc.notSure}),s=Vt(),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 v(ot,{children:v("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:N("div",{className:"w-full max-w-[1211px] lg:w-3/5",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),N("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:[N("article",{className:"flex flex-row items-center justify-center gap-4",children:[v("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-3",children:v(Fe.CheckIcon,{className:"stroke-[5px]"})}),N("div",{className:"flex w-full flex-col md:w-[316px]",children:[v(ne,{variant:"large",font:"bold",className:"font-nobel",children:"What's included:"}),v(ne,{variant:"base",className:"underline",children:"Product types/forms."}),v(ne,{variant:"base",className:"underline",children:"Starting doses."}),v(ne,{variant:"base",className:"underline",children:"Times of uses."}),v(mt,{variant:"white",right:v(Fe.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(be.profilingTwo)},children:"Save Recommendations"})]})]}),N("article",{className:"flex-wor flex items-center justify-center gap-4",children:[v("div",{children:v("div",{className:"h-14 w-14 rounded-full bg-cream-300 p-2",children:v(Fe.XMarkIcon,{className:"stroke-[3px]"})})}),N("div",{className:"flex w-[316px] flex-col",children:[v(ne,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel",children:"What's not included:"}),v(ne,{variant:"base",className:"underline",children:"Local dispensary inventory match."}),v(ne,{variant:"base",className:"underline",children:"Clinician review & approval."}),v(ne,{variant:"base",className:"underline",children:"Ongoing feedback & optimization."}),v(mt,{variant:"white",right:v(Fe.ArrowRightIcon,{}),className:"mt-6",onClick:()=>{s(be.profilingTwo)},children:"Continue & Get Care Plan"})]})]})]}),N("section",{children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel",children:"On Workdays"})}),v("main",{className:"flex flex-col gap-14",children:c.map(({title:d,label:h,description:m,type:x,form:C})=>x?N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-300",children:d}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(C)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:h}),v(ne,{className:"hidden md:block",children:m})]})]})]},d):v(pt,{}))})]}),N("section",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"On Non- Workdays"}),v("main",{className:"flex flex-col gap-14",children:f.map(({title:d,label:h,description:m,type:x,form:C})=>x?N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-300",children:d}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(C)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:h}),v(ne,{className:"hidden md:block",children:m})]})]})]},d):v(pt,{}))})]}),v("section",{children:N("header",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),v(ne,{className:"mb-8 mt-12",children:o})]})}),v("footer",{children:N(ne,{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,",v("a",{href:be.register,className:"underline",children:"get your EO care plan now."})]})})]})})})},Pge=()=>{const[e]=Fr(),t=e.get("submission_id"),r=e.get("union"),[n,i]=y.useState(!1),o=10,[s,c]=y.useState(0),{getSubmissionById:f}=Nr(),{data:d}=Ku({queryFn:()=>f(t),queryKey:["getSubmission",t],enabled:!!t,onSuccess:({data:O})=>{(O.malady===mu.Pain||O.malady===mu.Anxiety||O.malady===mu.Sleep||O.malady===mu.Other)&&i(!0),c(T=>T+1)},refetchInterval:n||s>=o?!1:1500}),h=d==null?void 0:d.data,{nonWorkdayPlan:m,workdayPlan:x,whyRecommended:C}=BA({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)||hc.notSure}),S=O=>{let T="";switch(O.time){case"Morning":T="IN THE MORNINGS";break;case"Evening":T="IN THE EVENING";break;case"BedTime":T="AT BEDTIME";break}return{title:T,label:O.result,description:"",form:O.form,type:O.type}},k=Object.values(x).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)===hc.notPrefer,g=k.length||A.length,E=(O,T)=>N("section",{className:"mt-8",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"mb-8 mt-4 font-nobel ",children:O})}),v("main",{className:"flex flex-col gap-14",children:T.map(({title:M,label:V,description:j,form:U})=>N("article",{className:"gap-4 divide-y divide-gray-300",children:[v(ne,{className:"text-gray-600",children:M}),N("div",{className:"flex flex-col items-center gap-4 pt-4 md:flex-row",children:[v("div",{className:"w-14",children:v("div",{className:"flex h-10 w-10 flex-row items-center justify-center rounded-full bg-cream-300 p-2",children:a6(U)})}),N("div",{children:[v(ne,{font:"semiBold",className:"font-nobel",children:V}),v(ne,{className:"hidden md:block",children:j})]})]})]},M))})]});return v(ot,{children:v("div",{className:"flex flex-col items-center gap-0 px-2 md:gap-20",children:N("div",{className:"w-full max-w-[1211px] md:w-[90%] lg:w-4/5",children:[v("header",{children:v(ne,{variant:"large",font:"bold",className:"my-10 font-nobel",children:"Initial Recommendations:"})}),N("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:[N("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[v("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:v(Fe.CheckIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),N("div",{className:"flex w-[316px] flex-col p-4",children:[v(ne,{variant:"large",font:"bold",className:"font-nobel text-3xl",children:"What's included:"}),v(ne,{variant:"base",font:"medium",children:"Product types/forms."}),v(ne,{variant:"base",font:"medium",children:"Starting doses."}),v(ne,{variant:"base",font:"medium",children:"Times of uses."}),v(mt,{id:"ga-save-recomendation",variant:"white",right:v(Fe.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:v(ne,{font:"medium",children:"Save Recommendations"})})]})]}),N("article",{className:"md:max-w-1/2 flex flex-col items-center justify-center gap-4 md:flex-row",children:[v("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:v(Fe.XMarkIcon,{className:"h-20 w-20 stroke-[5px] md:h-14 md:w-14"})}),N("div",{className:"flex w-[316px] flex-col p-4",children:[v(ne,{variant:"large",font:"bold",className:"whitespace-nowrap font-nobel text-3xl",children:"What's not included:"}),v(ne,{variant:"base",font:"medium",children:"Local dispensary inventory match."}),v(ne,{variant:"base",font:"medium",children:"Clinician review & approval."}),v(ne,{variant:"base",font:"medium",children:"Ongoing feedback & optimization."}),v(mt,{id:"ga-continue-recomendation",variant:"white",right:v(Fe.ArrowRightIcon,{className:"stroke-[4px]"}),className:"mt-6 h-[30px]",onClick:()=>{window.location.href=`/${r}/account?submission_id=${t}&union=${r}`},children:v(ne,{font:"medium",children:"Continue & Get Care Plan"})})]})]})]}),!n||!g?v(pt,{children:s{window.location.href=`/${r}/profile-onboarding?malady=${(h==null?void 0:h.malady)||"Pain"}&union=${r}`},children:v(ne,{font:"medium",children:"Redirect"})}),v(ne,{children:"Thank you for your cooperation. We appreciate your effort in providing us with the required information to serve you better."})]})}),v("section",{children:N("header",{children:[v(ne,{variant:"large",font:"bold",className:"mb-8 mt-12 font-nobel",children:"Why recommended"}),v(ne,{className:"mb-4 mt-4 py-2 text-justify",children:C})]})}),v("footer",{children:N(ne,{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,"," ",v("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."})]})})]})})})},$ge=()=>{const e=Vt(),{channel:t,type:r,origin:n}=Go(s=>s),i=new URLSearchParams({origin:n});let o=null;switch(t){case"senior":{o=r==="Patient"?H3e:U3e;break}case"cancer":{o=r==="Patient"?F3e:N3e;break}}return ao(()=>{setTimeout(()=>{Pc(o)},400)}),o===null&&e("/"),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:o&&v("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"}})})})},Dge=[Xe.c_org,Xe.cancer_pilot,Xe.twist_out_cancer,Xe.cancer_support_community,Xe.resource_center_1,Xe.resource_center_2,Xe.employer_center,Xe.inova,Xe.imerman,Xe.unite_for_her],Mge=()=>{const{flow:e,account:t,usePayment:r}=Go(),[n]=Fr(),i=n.get("submission_id")??"",{checkoutComplete:o}=Nr();if(!i&&r)return v(bc,{to:be.userRolSelector});const s=()=>{window.location.href=Ou};return N(ot,{children:[N(Tw,{mutationKey:["checkoutComplete",i],mutationFunction:o,isProfiling:!0,mutateOnMount:r,mutationsParams:{email:t.email,submission_id:i},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"," ",v("span",{className:"cursor-pointer underline",onClick:s,children:"log into your account."})]}),v(T3,{pilot:e==Xe.cancer_pilot}),v(B3,{flow:e}),v(AA,{}),Dge.includes(e)?v(SA,{flow:e}):v($c,{})]})},Fge=()=>v(ot,{children:v(ul,{formId:Q3e})}),Nge=dt.object({password:dt.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:dt.string().min(8,{message:"This field is required."}),token:dt.string().min(1,"Token is required")}),jge=()=>{var h,m;const{resetPassword:e}=Nr(),[t,r]=y.useState(!1),{formState:{errors:n},register:i,handleSubmit:o,setValue:s}=Js({resolver:el(Nge)}),c=Vt(),[f]=Fr(),{mutate:d}=hn({mutationFn:e,onSuccess:()=>{je.success("Your password has been reset. Sign in with your new password."),c(be.login)},onError:x=>{var C;Ai.isAxiosError(x)?((C=x.response)==null?void 0:C.status)!==200&&je.error("Something went wrong"):je.error("Something went wrong")}});return y.useEffect(()=>{f.has("token")?s("token",f.get("token")||""):c(be.login)},[c,f,s]),v(ot,{children:N("div",{className:"flex h-full h-full flex-row items-center justify-center gap-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Reset your password"}),N("form",{className:"mt-10 flex flex-col ",onSubmit:x=>{o(C=>{d(C)})(x)},children:[v(Sr,{id:"password",containerClassName:"max-w-[327px]",label:"Password",right:t?v(Fe.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(x=>!x)}):v(Fe.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>r(x=>!x)}),className:"h-12 shadow-md",type:t?"text":"password",...i("password"),error:(h=n.password)==null?void 0:h.message}),v(Sr,{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}),N(ne,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",v("br",{})," a capital letter, number, and special character"]}),v(mt,{type:"submit",className:"mt-10 w-fit",children:"Save and Sign in"})]})]}),v("div",{className:"hidden md:block",children:v("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"})})]})})},zge=dt.object({first_name:dt.string().min(2,"The first name must be present"),last_name:dt.string().min(2,"The last name must be present"),email:dt.string().min(1,{message:"Email is required"}).email({message:"The email received it is not a valid email"}),password:dt.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:dt.string().min(8,{message:"This field is required."}),agree_terms_and_conditions:dt.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"]}),Wge=()=>{var d,h,m,x,C,S;const e=Vt(),{formState:{errors:t},register:r,handleSubmit:n,getValues:i,setError:o}=Js({resolver:el(zge)}),{mutate:s}=hn({mutationFn:Age,onError:k=>{var A,b,g,E,O;if(Ai.isAxiosError(k)){const T=(A=k.response)==null?void 0:A.data;(b=T.errors)!=null&&b.email&&o("email",{message:((g=T.errors.email.pop())==null?void 0:g.message)||""}),(E=T.errors)!=null&&E.password&&o("password",{message:((O=T.errors.password.pop())==null?void 0:O.message)||""})}else je.error("Something went wrong. Please try again later.")},onSuccess:({data:k})=>{typeof k=="string"&&e(be.registrationComplete,{state:{email:i("email")}})}}),[c,f]=y.useState(!1);return v(ot,{children:N("div",{className:"flex h-full w-full flex-row items-center justify-center gap-x-20 px-2",children:[N("div",{children:[v(ne,{variant:"large",font:"bold",children:"Start here."}),N("form",{className:"mt-10",onSubmit:k=>{n(A=>{s(A)})(k)},children:[N("div",{className:"flex flex-col gap-0 md:flex-row md:gap-2",children:[v(Sr,{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}),v(Sr,{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})]}),v(Sr,{id:"email",label:"Email",type:"email",className:"h-12 shadow-md",...r("email"),error:(m=t.email)==null?void 0:m.message}),v(Sr,{id:"password",label:"Password",right:c?v(Fe.EyeIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(k=>!k)}):v(Fe.EyeSlashIcon,{className:"m-auto h-5 w-5 cursor-pointer text-primary-white-600",onClick:()=>f(k=>!k)}),className:"h-12 shadow-md",type:c?"text":"password",...r("password"),error:(x=t.password)==null?void 0:x.message}),v(Sr,{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}),N(ne,{variant:"small",font:"regular",className:"text-gray-500",children:["Must be at least 8 characters long and contain ",v("br",{})," a capital letter, number, and special character"]}),v(Qy,{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:N(ne,{variant:"small",font:"regular",children:["I have read and agree to the"," ",N("a",{href:"https://www.eo.care/web/terms-of-use",target:"_blank",className:"underline",children:["Terms of ",v("br",{className:"block md:hidden lg:block"}),"Service"]}),", and"," ",N("a",{href:"https://www.eo.care/web/privacy-policy",target:"_blank",className:"underline",children:["Privacy Policy"," "]})," ","of EO."]})}),v(mt,{type:"submit",className:"mt-3",children:"Create account"}),N(ne,{variant:"small",className:"text-gray-30 mt-3",children:["Already have an account?"," ",v(jh,{to:be.login,children:v("strong",{children:"Sign in"})})]})]})]}),v("div",{className:"hidden md:block",children:v("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"})})]})})},Vge=()=>{const t=Xo().state,r=Vt(),{mutate:n}=hn({mutationFn:RA,onSuccess:({data:i})=>{i?je.success("Email has been send."):je.error("Email hasn't been send")}});return y.useEffect(()=>{t!=null&&t.email||r(be.login)},[r,t]),v(ot,{children:N("div",{className:"flex h-full w-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",className:"mb-10 text-center",children:["We’ve sent a verification email to ",t==null?void 0:t.email,".",v("br",{})," Please verify to continue."]}),v("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"}),v(mt,{className:"mt-10",onClick:()=>n(t.email),left:v(Fe.EnvelopeIcon,{}),children:"Resend verification"})]})})},Hge=()=>v(ot,{children:v("section",{className:"flex h-full items-center justify-center",children:N("div",{className:"flex h-[194px] w-[300px] flex-col justify-center gap-1 rounded-xl border-2 border-black bg-white px-[24px] py-[48px] text-center font-new-hero text-lg font-semibold sm:w-[400px] md:w-[581px] ",children:[v("p",{children:"Thank you!"}),v("p",{children:"Your submission has been received!"})]})})}),Uge=()=>{const{type:e,symptoms:t,state:r,usePayment:n,origin:i,experience:o,account:s}=Go(h=>h),c=new URLSearchParams({email:s.email,states:r??"",symptoms:t.join(","),usePayment:n?"yes":"no",origin:i,experience:o}),f=Vt(),d=e==="Patient"?q3e:Z3e;return e||f(be.userRolSelector),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v(ul,{formId:d,searchParam:c})})})},qge=()=>{var S;const{surveyStatus:e}=Nr(),{setPhase:t,setEmail:r}=$3(),[n]=Fr(),i=IA("email",n),o=n.get("symptoms")||"",s=n.get("profiled")??"patient",c=n.get("phase")??"",f=n.get("uid")??c;i||(window.location.href="https://eo.care"),ao(()=>{t(c),r(i)});const{data:d,isLoading:h,isSuccess:m}=Ku({queryFn:()=>i&&c?e(i,c):null,queryKey:["surveyStatus"]}),x=new URLSearchParams({email:i,symptoms:o,origin:LA(),uid:f}),C=s==="patient"?G3e:Y3e;return v(ot,{className:"bg-gradient lg:bg-ice-silver lg:bg-none",children:N("div",{className:"mb-10 flex h-screen flex-col",children:[h&&v(P3,{}),!h&&m&&(d!=null&&d.data.active)?v(ul,{formId:C,searchParam:x}):m&&(d==null?void 0:d.data)&&!((S=d==null?void 0:d.data)!=null&&S.active)&&v(OA,{})]})})},Zge=()=>{const{email:e,phase:t}=$3(),[r]=Fr(),n=r.get("submission_id")??"",{postSeniorSurveyFormSubmission:i}=Nr();return n?N(ot,{children:[v(Tw,{mutationKey:["postSeniorSurveyFormSubmission",n],mutationFunction:i,mutationsParams:{email:e,phase:t,submission_id:n}}),v(T3,{}),v(B3,{}),v($c,{})]}):v(bc,{to:"/"})},Gge=()=>N(ot,{children:[N("section",{className:"pt-2 pb-[48px] lg:pt-[60px] lg:pb-[100px] self-center flex-col flex items-center px-6 md:px-10",children:[v(ne,{font:"bold",className:"text-center text-[32px] leading-[40px] mb-[40px] max-w-[857px]",children:"When you’re ready to begin, just follow these steps:"}),v(ne,{className:"text-center text-lg leading-[30px] lg:text-[22px] lg:leading-[36px] lg:mb-20 mb-10 max-w-[857px] text-gray-950 lg:text-black",children:"It’s important for us to understand when you begin your care plan. Note that you should have all of your recommended products in-hand before beginning."}),N("div",{className:"lg:flex-row flex-col gap-10 flex mb-10 lg:mb-[100px]",children:[v(cg,{number:1,title:"Log into your account",children:N(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:["Go to ",N("a",{href:`${Ou}login`,className:"cursor-pointer font-new-hero text-sm lg:text-lg underline",children:[Ou,"login"]})," to log into your account. To access your care plan, you’ll need the ID and password you created when you set-up your eo account."]})}),N(cg,{number:2,title:"Click the blue button",children:[v(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"On the Home screen, you’ll see a blue button that looks like the one below. Click the button to let us know you’re ready to begin."}),N("div",{className:"bg-electric-blue rounded-3xl px-5 py-2.5 flex flex-row gap-3 items-center",children:[v(ne,{font:"semiBold",className:"text-xl text-white",children:"Begin care plan"}),v(Fe.LinkIcon,{})]})]}),v(cg,{number:3,title:"Begin your care!",children:v(ne,{className:"text-center text-skun-mid text-sm lg:text-lg leading-[24px] lg:leading-[30px]",children:"Follow the instructions on the white dose cards that are shown in your Home screen. You can track whether you have taken each dose within this card as well."})})]}),N(ne,{variant:"base",font:"regular",className:"max-w-[750px] text-center text-sm md:text-[22px] font-normal leading-[24px] md:leading-[36px]",children:["Have a question? We’re here to help. Email support@eo.care, call 888-823-6143, or"," ",v("a",{className:"cursor-pointer font-new-hero text-sm md:text-[22px] underline",href:Ou,target:"_blank",children:"log in to message us"}),"."]})]}),v(AA,{}),v($c,{})]}),Yge=()=>{const e=Xo(),t=Vt(),{zip:r}=e.state;return v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[N(ne,{variant:"large",font:"bold",className:"mx-10 text-center",children:["Sorry, this EO offering is not currently"," ",v("br",{className:"hidden md:block"}),"available in ",r,". We’ll notify you",v("br",{className:"hidden md:block"}),"when we have licensed clinicians in your area."," "]}),N("div",{className:"mt-10 flex flex-row justify-center",children:[v(mt,{className:"text-center",onClick:()=>t(be.zipCodeValidation),children:"Back"}),v(mt,{variant:"secondary",onClick:()=>t(be.home),className:"ml-4",children:"Continue"})]})]})})},Qge=()=>{const e=Vt(),[t]=Fr(),[r,n]=y.useState(null),i=t.get("origin")??"localhost:5173",o=t.get("channel"),s=t.get("symptoms")??"",c=t.get("flow")??Xe.marketing_site,{setChannel:f,setType:d,setSymptoms:h,setUsePayment:m,resetProfilingStore:x,setOrigin:C,setFlow:S}=Go(b=>b),k=b=>{C(i),S(c),h(s.split(",")),f(o),d(b),e(be.introQuestions)};ao(()=>{x();const b=t.get("p")??"yes";window.data.isPartnerSite(i)||b==="no"?m(!1):m(!0)});const A=()=>{const b=localStorage.getItem("redirect_back_origin");b&&(window.location.href=b)};return v(ot,{children:v("div",{className:"flex h-full w-full items-center justify-center bg-opacity-50 ",children:N("div",{className:"relative w-3/4 rounded-md bg-white shadow-2xl md:w-[742px]",children:[N("div",{className:"px-7 py-7",children:[N(ne,{className:"font-nunito text-lg font-normal",children:["We’ll start with some basics. Which best describes you?"," ",v("span",{className:"text-red-600",children:"*"})]}),N("div",{className:"mt-6 flex flex-col gap-5 lg:flex-row",children:[N("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:[N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[v("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Patient"?"#5AADFD":"#535A63",strokeWidth:r==="Patient"?3:1.5}),v("circle",{cx:"12",cy:"12",r:"9",fill:r==="Patient"?"#5AADFD":"none",stroke:r==="Patient"?"white":"none",strokeWidth:1.5})]}),"I’m a patient"]}),N("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:[N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",children:[v("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:r==="Caregiver"?"#5AADFD":"#535A63",strokeWidth:r==="Caregiver"?3:1.5}),v("circle",{cx:"12",cy:"12",r:"9",fill:r==="Caregiver"?"#5AADFD":"none",stroke:r==="Caregiver"?"white":"none",strokeWidth:1.5})]}),"I’m a caregiver"]})]})]}),N("section",{className:"flex h-[53px] items-center justify-between rounded-b-md bg-black pb-[19px] pt-4 md:w-full ",children:[v(mt,{className:"click:border-0 focus:ring-outline-0 rounded-none hover:outline-0 focus:ring-0",variant:"black",size:"lg",onClick:A,left:v(Fe.RightArrow,{className:"h-6 w-6 rotate-180 text-gray-300"}),children:v("span",{className:"hidden text-gray-300 lg:flex",children:"PREVIOUS"})}),v(mt,{className:"click:border-0 focus:ring-outline-0 hidden rounded-none hover:outline-0 focus:ring-0 lg:flex",variant:"black",size:"lg",right:v(Fe.RightArrow,{className:"h-6 w-6"}),onClick:()=>k(r),children:"NEXT"}),v(mt,{className:"click:border-0 focus:ring-outline-0 flex rounded-none hover:outline-0 focus:ring-0 lg:hidden",variant:"black",size:"lg",right:v(Fe.RightArrow,{className:"h-6 w-6"}),onClick:()=>k(r)})]})]})})})},TA=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 y.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}},Kge=dt.object({zip_code:dt.string().min(5,{message:"Zip code is invalid"}).max(5,{message:"Zip code is invalid"})}),Xge=()=>{var h;const{validateZipCode:e}=Nr(),{triggerViewEvent:t}=TA(sA);y.useEffect(t,[t]);const r=Vt(),n=Wo(m=>m.setProfileZip),{formState:{errors:i},register:o,handleSubmit:s,setError:c,getValues:f}=Js({resolver:el(Kge)}),{mutate:d}=hn({mutationFn:e,onSuccess:()=>{n(f("zip_code")),r(be.eligibleProfile)},onError:m=>{var x,C;Ai.isAxiosError(m)?((x=m.response)==null?void 0:x.status)===400?(n(f("zip_code")),r(be.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 v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center px-2",children:[v(ne,{variant:"large",font:"bold",className:"text-center",children:"First, let’s check our availability in your area."}),N("form",{className:"mt-10 flex flex-col items-center justify-center",onSubmit:m=>{s(x=>{d(x.zip_code)})(m)},children:[v(Sr,{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}),v(mt,{type:"submit",className:"mt-10",children:"Submit"})]})]})})},Jge=()=>(y.useEffect(()=>{Pc(tg)}),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${tg}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${tg}?isuser=Yes`,className:"h-full w-full"})})})),e7e=()=>{const e=Vt(),[t,r]=y.useState(!1),{combineProfileOne:n}=Nr(),[i]=Fr();i.get("submission_id")||e(be.login);const{mutate:o}=hn({mutationFn:n,onSuccess:()=>{setTimeout(()=>{e(be.prePlan)},5e3)},onError:()=>{r(!1)}});return y.useEffect(()=>{t||r(s=>(s||o(i.get("submission_id")||""),!0))},[o,i,t]),v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[v(ne,{variant:"large",font:"bold",children:"Great! Your submission was sent."}),v(mt,{type:"button",className:"mt-10",onClick:()=>e(be.prePlan),children:"Continue!"})]})})},t7e=()=>(y.useEffect(()=>{Pc(rg)}),v(ot,{children:v("div",{className:"mb-10 flex h-screen flex-col",children:v("iframe",{id:`JotFormIFrame-${rg}`,title:"Clone of Profiling 1",onLoad:()=>window.parent.scrollTo(0,0),allowTransparency:!0,allowFullScreen:!0,allow:"geolocation; microphone; camera",src:`https://form.jotform.com/${rg}`,className:"h-full w-full"})})})),r7e=()=>{const e=Vt(),[t,r]=y.useState(!1),{combineProfileOne:n}=Nr(),[i]=Fr(),{triggerCompletionEvent:o}=TA(sA);i.get("submission_id")||e(be.login);const{mutate:s}=hn({mutationFn:n,onSuccess:()=>{r(!0),setTimeout(()=>{e(be.profilingTwo)},5e3)}});return y.useEffect(o,[o]),y.useEffect(()=>{t||s(i.get("submission_id")||"")},[s,i,t]),v(ot,{children:N("div",{className:"flex h-full h-full flex-col items-center justify-center",children:[N(ne,{variant:"large",font:"bold",className:"text-center",children:["Great! We are working with your care plan. ",v("br",{}),v("br",{})," In a few minutes we will send you by email."," ",v("br",{className:"hidden md:block"})," Also you will be able to view your care plan in your dashboard."]}),v(mt,{type:"button",className:"mt-10",onClick:()=>e(be.home),children:"Go home"})]})})},n7e=()=>N(IN,{children:[N(et,{element:v(L4,{expected:"loggedOut"}),children:[v(et,{element:v(Ige,{}),path:be.login}),v(et,{element:v(Wge,{}),path:be.register}),v(et,{element:v(Vge,{}),path:be.registrationComplete}),v(et,{element:v(kge,{}),path:be.forgotPassword}),v(et,{element:v(jge,{}),path:be.recoveryPassword}),v(et,{element:v(Pge,{}),path:be.prePlanV2})]}),N(et,{element:v(L4,{expected:"withZipCode"}),children:[v(et,{element:v(Sge,{}),path:be.home}),v(et,{element:v(Yge,{}),path:be.unavailableZipCode}),v(et,{element:v(Cge,{}),path:be.eligibleProfile}),v(et,{element:v(Jge,{}),path:be.profilingOne}),v(et,{element:v(e7e,{}),path:be.profilingOneRedirect}),v(et,{element:v(t7e,{}),path:be.profilingTwo}),v(et,{element:v(r7e,{}),path:be.profilingTwoRedirect}),v(et,{element:v(Tge,{}),path:be.prePlan})]}),v(et,{element:v(L4,{expected:["withoutZipCode","withZipCode"]}),children:v(et,{element:v(Xge,{}),path:be.zipCodeValidation})}),v(et,{element:v(Ege,{}),path:be.emailVerification}),v(et,{element:v(Qge,{}),path:be.userRolSelector}),v(et,{element:v(Fge,{}),path:be.roiCalculator}),v(et,{element:v(Hge,{}),path:be.roiCalculatorThankYou}),v(et,{element:v(Gge,{}),path:be.startPlan}),v(et,{element:v($ge,{}),path:be.introQuestions}),v(et,{element:v(nve,{}),path:be.accountSetup}),v(et,{element:v(Mge,{}),path:be.profilingThankYou}),v(et,{element:v(wge,{}),path:be.cancerForm}),v(et,{element:v(xge,{}),path:be.cancerSurvey}),v(et,{element:v(yge,{}),path:be.cancerSurveyThankYou}),v(et,{element:v(ive,{}),path:be.athleteSurvey}),v(et,{element:v(ege,{}),path:be.athleteSurveyThankYou}),v(et,{element:v(Uge,{}),path:be.seniorForm}),v(et,{element:v(qge,{}),path:be.seniorSurvey}),v(et,{element:v(Zge,{}),path:be.seniorSurveyThankYou}),v(et,{element:v(bge,{}),path:be.checkout})]});const i7e=new ej;function o7e(){return N(hj,{client:i7e,children:[v(n7e,{}),v(m7,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),Uz.VITE_APP_ENV==="local"&&v(Aj,{initialIsOpen:!1})]})}fg.createRoot(document.getElementById("root")).render(v(he.StrictMode,{children:v(DN,{children:v(o7e,{})})})); diff --git a/apps/eo_web/dist/manifest.json b/apps/eo_web/dist/manifest.json index 7bdca7a5..31813a4e 100644 --- a/apps/eo_web/dist/manifest.json +++ b/apps/eo_web/dist/manifest.json @@ -18,7 +18,7 @@ "css": [ "assets/main-5bde4681.css" ], - "file": "assets/main-f5f39a32.js", + "file": "assets/main-bb88c53e.js", "isEntry": true, "src": "src/main.tsx" } diff --git a/apps/eo_web/src/screens/UserRolSelector.tsx b/apps/eo_web/src/screens/UserRolSelector.tsx index 16fb2824..92acf105 100644 --- a/apps/eo_web/src/screens/UserRolSelector.tsx +++ b/apps/eo_web/src/screens/UserRolSelector.tsx @@ -8,11 +8,11 @@ import { useMount } from "~/hooks/useMount"; import { LayoutDefault } from "~/layouts"; import { ROUTES } from "~/router"; import { + Flows, useProfilingStore, type Channel, type FlowType, type Type, - Flows, } from "~/stores/useProfilingStore"; @@ -53,6 +53,11 @@ export const UserRolSelector = () => { : setUsePayment(true); }); + const redirectBack = () => { + const url = localStorage.getItem("redirect_back_origin"); + if (url) window.location.href = url; + }; + return (
@@ -68,7 +73,7 @@ export const UserRolSelector = () => { className={tw( "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", selectedValue === "Patient" && - "border-[#5AADFD] bg-[#5AADFD] bg-opacity-20", + "border-[#5AADFD] bg-[#5AADFD] bg-opacity-20", )} onClick={() => setSelectedValue("Patient")} > @@ -100,7 +105,7 @@ export const UserRolSelector = () => { className={tw( "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", selectedValue === "Caregiver" && - "border-[#5AADFD] bg-[#5AADFD] bg-opacity-20", + "border-[#5AADFD] bg-[#5AADFD] bg-opacity-20", )} onClick={() => setSelectedValue("Caregiver")} > @@ -137,21 +142,7 @@ export const UserRolSelector = () => { className="click:border-0 focus:ring-outline-0 rounded-none hover:outline-0 focus:ring-0" variant="black" size="lg" - onClick={() => { - if (window.data.isMarketingSite(origin)) { - if (channel === "senior") { - window.location.href = `https://${window.location.host}/you/seniors-careplan#seniors-panel`; - } else if (channel === "cancer") { - window.location.href = `https://${window.location.host}/you/cancer-careplan#cancer-panel`; - } else { - history.back(); - } - } else if (window.data.isPartnerSite(origin)) { - window.location.href = `https://${window.location.host}/pilot#how-eo-care-plans-works`; - } else { - history.back(); - } - }} + onClick={redirectBack} left={ }