PageSourceSearch

https://www.varden.se/_next/static/immutable/chunks/421b7nojro7j8.js

js varden.se collected 2026-10-05 06:11:03 UTC 30,501 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d859a126-e373-73cd-9209-3aee57a52f55")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,630116,322756,e=>{"use strict";let t=Math.ceil(5);e.s(["SERP_MAP_MARKER_LIMIT",0,1e3,"SERP_MAP_MARKER_MAX",0,5e3,"SERP_MAX_PAGES",0,t,"SERP_PAGE_SIZE",0,30,"SERP_RESULTS_LIMIT",0,150],322756);var r=e.i(441741);e.s(["SearchStateUtils",0,class{static defaultSearchState={caregiverUnitTypeUrlPath:"",careServiceTypeUrlPath:"",symptomUrlPath:"",placeUrlPath:"",freeSearchTerm:"",sort:1,page:1,pageSize:30,totalPages:1,locationSearch:!1,lat:0,lon:0,openNow:!1,openWeekend:!1,customerFeatureType:"",isValid:!0,digitalPage:1,timeslot:null,attributes:{},forceContentPage:!1,forceSearchResults:!1,urlPath:"",distance:void 0,tab:void 0};static getDefaultSearchState(e,t,n,o){let l=JSON.parse(JSON.stringify(this.defaultSearchState));return null!=t&&""!==t&&null!=e&&""===e&&null!=n&&""===n&&null!=o&&""===o?l.tab=r.RoutesAddonsEnum.SERP_SERVICES:(null!=e&&""!==e||null!=n&&""!==n||null!=o&&""!==o)&&(l.tab=r.RoutesAddonsEnum.SERP_CAREPROVIDERS),l}}],630116)},563851,e=>{"use strict";var t,r=e.i(567090),n=e.i(630116),o=((t=o||{}).TODAY="TODAY",t.TOMORROW="TOMORROW",t.THIS_WEEK="THIS_WEEK",t.NEXT_WEEK="NEXT_WEEK",t);let l={TODAY:"today",TOMORROW:"tomorrow",THIS_WEEK:"this-week",NEXT_WEEK:"next-week"};function i(e){return e.careServiceTypeUrlPath?"behandlingar":"mottagningar"}e.s(["UrlBuilder",0,class{static createSearchResultsRouterLink(e,t,r=!1){return this.needUseBaseRoute(e,r)?this.getBaseRouteLink(e,t):this.getVardRouteLink(t)}static createSearchResultsQueryParams(e,t=!1,o=!1){let s=n.SearchStateUtils.getDefaultSearchState(e.caregiverUnitTypeUrlPath,e.careServiceTypeUrlPath,e.symptomUrlPath,e.freeSearchTerm),a={},u={locationSearch:e.locationSearch,lat:e.lat,lon:e.lon,forceSearchResults:e.forceSearchResults};if(""!==e.placeUrlPath&&(u.locationSearch=!1,u.lat=0,u.lon=0),!0===e.forceSearchResults&&(e.caregiverUnitTypeUrlPath!==s.caregiverUnitTypeUrlPath||e.placeUrlPath!==s.placeUrlPath||e.freeSearchTerm!==s.freeSearchTerm||e.page!==s.page||u.locationSearch!==s.locationSearch||e.openNow!==s.openNow||e.openWeekend!==s.openWeekend||e.customerFeatureType!==s.customerFeatureType||e.timeslot!=s.timeslot||!0===u.locationSearch&&u.lat!==s.lat||!0===u.locationSearch&&u.lon!==s.lon)&&(u.forceSearchResults=!1),e.freeSearchTerm&&""!==e.freeSearchTerm&&e.freeSearchTerm!==s.freeSearchTerm&&(a[r.UrlTermsSymbolsEnum.FREE]=e.freeSearchTerm),!0===u.locationSearch&&u.lat&&0!==u.lat&&u.lat!==s.lat&&(a[r.UrlTermsSymbolsEnum.LATITUDE]=u.lat),!0===u.locationSearch&&u.lon&&0!==u.lon&&u.lon!==s.lon&&(a[r.UrlTermsSymbolsEnum.LONGITUDE]=u.lon),e.distance&&0!==e.distance&&(a[r.UrlTermsSymbolsEnum.DISTANCE]=e.distance),e.page&&0!==e.page&&e.page!==s.page&&(a[r.UrlTermsSymbolsEnum.PAGE]=e.page),e.openNow&&e.openNow!==s.openNow&&(a[r.UrlTermsSymbolsEnum.OPEN_NOW]=1),e.openWeekend&&e.openWeekend!==s.openWeekend&&(a[r.UrlTermsSymbolsEnum.OPEN_WEEKEND]=1),e.timeslot&&e.timeslot.length>0){let t=e.timeslot.map(e=>l[e]).filter(Boolean);t.length>0&&(a[r.UrlTermsSymbolsEnum.TIMESLOT]=t)}e.customerFeatureType!==s.customerFeatureType&&(a[r.UrlTermsSymbolsEnum.CUSTOMER_FEATURE_TYPE]=e.customerFeatureType);let c=e.attributes;if(c&&c!==s.attributes){let e=Object.keys(c).filter(e=>!!c[e]);e.length>0&&(a[r.UrlTermsSymbolsEnum.ATTRIBUTE]=e)}e.serviceTypeFilter&&(a[r.UrlTermsSymbolsEnum.SERVICE_TYPE_FILTER]=e.serviceTypeFilter),t&&(a[r.UrlTermsSymbolsEnum.AFTER_REDIRECT]="1"),!0===u.forceSearchResults&&(a[r.UrlTermsSymbolsEnum.FORCE_SEARCH_RESULTS]="1"),!0===e.forceContentPage&&(a[r.UrlTermsSymbolsEnum.FORCE_CONTENT_PAGE]="1");let f=i(e);return e.tab&&e.tab!==f&&(a[r.UrlTermsSymbolsEnum.TAB]=e.tab),this.needUseBaseRoute(e,t)||o||(e.caregiverUnitTypeUrlPath&&""!==e.caregiverUnitTypeUrlPath&&e.caregiverUnitTypeUrlPath!==s.caregiverUnitTypeUrlPath&&(a[r.UrlTermsSymbolsEnum.CAREPROVIDER_UNIT_TYPE]=this.normalizeText(e.caregiverUnitTypeUrlPath,!1)),e.careServiceTypeUrlPath&&""!==e.careServiceTypeUrlPath&&e.careServiceTypeUrlPath!==s.careServiceTypeUrlPath&&(a[r.UrlTermsSymbolsEnum.SERVICE_TYPE]=this.normalizeText(e.careServiceTypeUrlPath,!1)),e.symptomUrlPath&&""!==e.symptomUrlPath&&e.symptomUrlPath!==s.symptomUrlPath&&(a[r.UrlTermsSymbolsEnum.SYMPTOM]=this.normalizeText(e.symptomUrlPath,!1)),e.placeUrlPath&&""!==e.placeUrlPath&&e.placeUrlPath!==s.placeUrlPath&&(a[r.UrlTermsSymbolsEnum.PLACE]=this.normalizeText(e.placeUrlPath,!1))),e.caregiverUnitTypeUrlPath&&""!==e.caregiverUnitTypeUrlPath||e.careServiceTypeUrlPath&&""!==e.careServiceTypeUrlPath||e.symptomUrlPath&&""!==e.symptomUrlPath||e.placeUrlPath&&""!==e.placeUrlPath||e.freeSearchTerm&&""!==e.freeSearchTerm||!1!==e.locationSearch||(a={}),this.allParametersCombinations(e)&&(a[r.UrlTermsSymbolsEnum.CAREPROVIDER_UNIT_TYPE]=this.normalizeText(e.caregiverUnitTypeUrlPath,!1),a[r.UrlTermsSymbolsEnum.SERVICE_TYPE]=this.normalizeText(e.careServiceTypeUrlPath,!1),a[r.UrlTermsSymbolsEnum.SYMPTOM]=this.normalizeText(e.symptomUrlPath,!1),a[r.UrlTermsSymbolsEnum.PLACE]=this.normalizeText(e.placeUrlPath,!1)),this.sortQueryParams(this.cleanQueryParams(a))}static createStaticLink(e,t,r=""){let n=e.join("/").replace(/\/\/+/g,"/");n.startsWith("/")&&r.endsWith("/")&&(n=n.slice(1));let o="";if(t&&Object.keys(t).length>0){let e=[];Object.entries(t).forEach(([t,r])=>{null!=r&&(Array.isArray(r)?r.forEach(r=>e.push(`${t}=${encodeURIComponent(String(r))}`)):e.push(`${t}=${encodeURIComponent(String(r))}`))}),e.length>0&&(o=`?${e.join("&")}`)}return`${r}${n}${o}`.replace(/[?/]+$/,"")}static createSymptomPageRouterLink(e){return["/","symptom",e]}static normalizeText(e,t=!1){if(!e)return"";let r=e.toLowerCase().replace(/[^a-z0-9åäö]/g,"-");return t&&(r=r.replace(/å/g,"a").replace(/ä/g,"a").replace(/ö/g,"o")),r}static allParametersCombinations(e){return!!(e.placeUrlPath&&""!==e.placeUrlPath)&&[e.caregiverUnitTypeUrlPath&&""!==e.caregiverUnitTypeUrlPath,e.careServiceTypeUrlPath&&""!==e.careServiceTypeUrlPath,e.symptomUrlPath&&""!==e.symptomUrlPath].filter(e=>e).length>=2}
2static needUseBaseRoute(e,t=!1){let r=n.SearchStateUtils.getDefaultSearchState(e.caregiverUnitTypeUrlPath,e.careServiceTypeUrlPath,e.symptomUrlPath,e.freeSearchTerm);if(e.freeSearchTerm&&""!==e.freeSearchTerm&&e.freeSearchTerm!==r.freeSearchTerm||e.lat&&0!==e.lat&&e.lat!==r.lat||e.lon&&0!==e.lon&&e.lon!==r.lon||e.page&&0!==e.page&&e.page!==r.page||e.openNow&&e.openNow!==r.openNow||e.openWeekend&&e.openWeekend!==r.openWeekend||e.timeslot||e.customerFeatureType!==r.customerFeatureType||t||e.serviceTypeFilter)return!1;let o=0;return e.caregiverUnitTypeUrlPath&&""!==e.caregiverUnitTypeUrlPath&&o++,e.careServiceTypeUrlPath&&""!==e.careServiceTypeUrlPath&&o++,e.symptomUrlPath&&""!==e.symptomUrlPath&&o++,o<2}static getBaseRouteLink(e,t){let o=[...t],l=n.SearchStateUtils.getDefaultSearchState();return(e.caregiverUnitTypeUrlPath&&""!==e.caregiverUnitTypeUrlPath&&e.caregiverUnitTypeUrlPath!==l.caregiverUnitTypeUrlPath&&o.push(`${this.normalizeText(e.caregiverUnitTypeUrlPath,!1)}-${r.UrlTermsSymbolsEnum.CAREPROVIDER_UNIT_TYPE}`),e.careServiceTypeUrlPath&&""!==e.careServiceTypeUrlPath&&e.careServiceTypeUrlPath!==l.careServiceTypeUrlPath&&o.push(`${this.normalizeText(e.careServiceTypeUrlPath,!1)}-${r.UrlTermsSymbolsEnum.SERVICE_TYPE}`),e.symptomUrlPath&&""!==e.symptomUrlPath&&e.symptomUrlPath!==l.symptomUrlPath&&o.push(`${this.normalizeText(e.symptomUrlPath,!1)}-${r.UrlTermsSymbolsEnum.SYMPTOM}`),e.placeUrlPath&&""!==e.placeUrlPath&&e.placeUrlPath!==l.placeUrlPath&&o.push(`${this.normalizeText(e.placeUrlPath,!1)}-${r.UrlTermsSymbolsEnum.PLACE}`),o.length===t.length&&""===e.freeSearchTerm&&!1===e.locationSearch)?["/"]:o}static getVardRouteLink(e){return[...e,"vard"]}static cleanQueryParams(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=e&&null!=t&&""!==t))}static sortQueryParams(e){return Object.fromEntries(Object.entries(e).sort(([e],[t])=>e.localeCompare(t)))}},"getContextualDefaultTab",0,i])},543836,e=>{"use strict";var t=Object.defineProperty,r=(e,r)=>t(e,"name",{value:r,configurable:!0}),n=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return r(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function l(e){if(!n)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function i(e){return"IFRAME"===e.tagName}r(o,"composeEventHandlers"),r(function(e){if(!n)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),r(l,"getOwnerDocument"),r(function e(t,r=!1){let{activeElement:n}=l(t);if(!n?.nodeName)return null;if(i(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=l(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),r(i,"isFrame"),e.s(["composeEventHandlers",0,o])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},954379,e=>{"use strict";var t=e.i(326062),r=e.i(464503),n=e.i(976173),o=e.i(950700),l=e.i(957663),i=Object.defineProperty,s=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e){let i=e+"CollectionProvider",[a,u]=(0,r.createContextScope)(i),[c,f]=a(i,{collectionRef:{current:null},itemMap:new Map}),m=s(e=>{let{scope:r,children:n}=e,o=t.useRef(null),i=t.useRef(new Map).current;return(0,l.jsx)(c,{scope:r,itemMap:i,collectionRef:o,children:n})},"CollectionProvider");m.displayName=i;let p=e+"CollectionSlot",h=(0,o.createSlot)(p),d=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=f(p,r),s=(0,n.useComposedRefs)(t,i.collectionRef);return(0,l.jsx)(h,{ref:s,children:o})});d.displayName=p;let y=e+"CollectionItemSlot",E="data-radix-collection-item",S=(0,o.createSlot)(y),T=t.forwardRef((e,r)=>{let{scope:o,children:i,...s}=e,a=t.useRef(null),u=(0,n.useComposedRefs)(r,a),c=f(y,o);return t.useEffect(()=>(c.itemMap.set(a,{ref:a,...s}),()=>void c.itemMap.delete(a))),(0,l.jsx)(S,{...{[E]:""},ref:u,children:i})});function P(r){let n=f(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${E}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])}return T.displayName=y,s(P,"useCollection"),[{Provider:m,Slot:d,ItemSlot:T},P,u]}s(a,"createCollection");var u=new WeakMap,c=class e extends Map{static{s(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),l=this.#e.length,i=p(e),s=i>=0?i:l+i,a=s<0||s>=l?-1:s;if(a===this.size||o&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!o;i<0&&s++;let c=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let l=c[e];c[e]===t&&(l=c[e+1]),o&&this.delete(t),n=this.get(l),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}};function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=m(e,t);return -1===r?void 0:e[r]}function m(e,t){let r=e.length,n=p(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}function p(e){return e!=e||0===e?0:Math.trunc(e)}function h(e,t){if(e===t)return!0;
2if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function d(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function y(e,t){return e[1].element&&t[1].element?d(e[1].element,t[1].element)?-1:1:0}function E(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}s(f,"at"),s(m,"toSafeIndex"),s(p,"toSafeInteger"),s(function(e){let i=e+"CollectionProvider",[a,u]=(0,r.createContextScope)(i),[f,m]=a(i,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new c,setItemMap:s(()=>void 0,"setItemMap")}),p=s(({state:e,...t})=>e?(0,l.jsx)(S,{...t,state:e}):(0,l.jsx)(d,{...t}),"CollectionProvider");p.displayName=i;let d=s(e=>{let t=b();return(0,l.jsx)(S,{...e,state:t})},"CollectionInit");d.displayName=i+"Init";let S=s(e=>{let{scope:r,children:o,state:i}=e,s=t.useRef(null),[a,u]=t.useState(null),c=(0,n.useComposedRefs)(s,u),[m,p]=i;return t.useEffect(()=>{if(!a)return;let e=E(()=>{});return e.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[a]),(0,l.jsx)(f,{scope:r,itemMap:m,setItemMap:p,collectionRef:c,collectionRefObject:s,collectionElement:a,children:o})},"CollectionProviderImpl");S.displayName=i+"Impl";let T=e+"CollectionSlot",P=(0,o.createSlot)(T),v=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=m(T,r),s=(0,n.useComposedRefs)(t,i.collectionRef);return(0,l.jsx)(P,{ref:s,children:o})});v.displayName=T;let U=e+"CollectionItemSlot",R=(0,o.createSlot)(U),g=t.forwardRef((e,r)=>{let{scope:o,children:i,...s}=e,a=t.useRef(null),[u,f]=t.useState(null),p=(0,n.useComposedRefs)(r,a,f),{setItemMap:d}=m(U,o),E=t.useRef(s);h(E.current,s)||(E.current=s);let S=E.current;return t.useEffect(()=>(d(e=>u?e.has(u)?e.set(u,{...S,element:u}).toSorted(y):(e.set(u,{...S,element:u}),e.toSorted(y)):e),()=>{d(e=>u&&e.has(u)?(e.delete(u),new c(e)):e)}),[u,S,d]),(0,l.jsx)(R,{"data-radix-collection-item":"",ref:p,children:i})});function b(){return t.useState(new c)}function C(t){let{itemMap:r}=m(e+"CollectionConsumer",t);return r}return g.displayName=U,s(b,"useInitCollection"),s(C,"useCollection"),[{Provider:p,Slot:v,ItemSlot:g},{createCollectionScope:u,useCollection:C,useInitCollection:b}]},"createCollection"),s(h,"shallowEqual"),s(d,"isElementPreceding"),s(y,"sortByDocumentPosition"),s(E,"getChildListObserver"),e.s(["createCollection",0,a])},464503,e=>{"use strict";var t=e.i(326062),r=e.i(957663),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function l(e,n=[]){let s=[];function a(n,l){let i=t.createContext(l);i.displayName=n+"Context";let a=s.length;s=[...s,l];let u=o(n=>{let{scope:o,children:l,...s}=n,u=o?.[e]?.[a]||i,c=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(u.Provider,{value:c,children:l})},"Provider");function c(r,o,s={}){let{optional:u=!1}=s,f=o?.[e]?.[a]||i,m=t.useContext(f);if(m)return m;if(void 0!==l)return l;if(!u)throw Error(`\`${r}\` must be used within \`${n}\``)}return u.displayName=n+"Provider",o(c,"useContext"),[u,c]}o(a,"createContext");let u=o(()=>{let r=s.map(e=>t.createContext(e));return o(function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])},"useScope")},"createScope");return u.scopeName=e,[a,i(u,...n)]}function i(...e){let r=e[0];if(1===e.length)return r;let n=o(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return n.scopeName=r.scopeName,n}o(function(e,n){let l=t.createContext(n);l.displayName=e+"Context";let i=o(e=>{let{children:n,...o}=e,i=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(l.Provider,{value:i,children:n})},"Provider");function s(r,o={}){let{optional:i=!1}=o,a=t.useContext(l);if(a)return a;if(void 0!==n)return n;if(!i)throw Error(`\`${r}\` must be used within \`${e}\``)}return i.displayName=e+"Provider",o(s,"useContext"),[i,s]},"createContext"),o(l,"createContextScope"),o(i,"composeContextScopes"),e.s(["createContextScope",0,l])},128461,e=>{"use strict";var t=e.i(326062),r=(e.i(957663),Object.defineProperty),n=t.createContext(void 0);function o(e){let r=t.useContext(n);return e||r||"ltr"}r(o,"name",{value:"useDirection",configurable:!0}
2),e.s(["useDirection",0,o])},244726,e=>{"use strict";var t=e.i(326062),r=e.i(587114),n=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),l=0;function i(e){let[n,i]=t.useState(o());return(0,r.useLayoutEffect)(()=>{e||i(e=>e??String(l++))},[e]),e||(n?`radix-${n}`:"")}n(i,"name",{value:"useId",configurable:!0}),e.s(["useId",0,i])},911681,e=>{"use strict";var t=e.i(326062),r=e.i(587114),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function l(e,r){return t.useReducer((e,t)=>r[e][t]??e,e)}o(l,"useStateMachine");var i=o(e=>{let{present:r,children:n}=e,o=s(r),l="function"==typeof n?n({present:o.isPresent}):t.Children.only(n),i=u(o.ref,f(l));return"function"==typeof n||o.isPresent?t.cloneElement(l,{ref:i}):null},"Presence");function s(e){let[n,i]=t.useState(),s=t.useRef(null),a=t.useRef(e),u=t.useRef("none"),f=t.useRef(void 0),[m,p]=l(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===m?(u.current=f.current??c(s.current),f.current=void 0):u.current="none"},[m]),(0,r.useLayoutEffect)(()=>{let t=s.current,r=a.current;if(r!==e){let n=u.current,o=c(t);e?(f.current=o,p("MOUNT")):"none"===o||t?.display==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),a.current=e}},[e,p]),(0,r.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=o(r=>{let o=c(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(p("ANIMATION_END"),!a.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),l=o(e=>{e.target===n&&(u.current=c(s.current))},"handleAnimationStart");return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,f.current=c(t)}else s.current=null;i(e)},[])}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=a(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let r=o[e];"function"==typeof r?r():a(t[e],null)}}},[])}function c(e){return e?.animationName||"none"}function f(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}o(s,"usePresence"),o(a,"setRef"),o(u,"useStableComposedRefs"),o(c,"getAnimationName"),o(f,"getElementRef"),e.s(["Presence",0,i])},156316,e=>{"use strict";var t=e.i(326062),r=e.i(368420),n=e.i(950700),o=e.i(957663),l=Object.defineProperty,i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let l=(0,n.createSlot)(`Primitive.${r}`),i=t.forwardRef((e,t)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?l:r,{...i,ref:t})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function s(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}l(s,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,s])},51147,e=>{"use strict";var t=e.i(326062),r=e.i(543836),n=e.i(954379),o=e.i(976173),l=e.i(464503),i=e.i(244726),s=e.i(156316),a=e.i(228755),u=e.i(76440),c=e.i(128461),f=e.i(587114),m=Object.defineProperty,p=(e,t)=>m(e,"name",{value:t,configurable:!0}),h=!1;function d(){let[e,r]=t.useState(h);return t.useEffect(()=>{h||(h=!0,r(!0))},[]),e}p(d,"useIsHydrated");var y=t[" useSyncExternalStore ".trim().toString()];function E(){return()=>{}}function S(){return y(E,()=>!0,()=>!1)}p(E,"subscribe"),p(S,"useIsHydratedModern");var T="function"==typeof y?S:d,P=e.i(957663),v=Object.defineProperty,U=(e,t)=>v(e,"name",{value:t,configurable:!0}),R="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[C,O,w]=(0,n.createCollection)(b),[I,A]=(0,l.createContextScope)(b,[w]),[N,x]=I(b),_=t.forwardRef(U(function(e,t){return(0,P.jsx)(C.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,P.jsx)(C.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,P.jsx)(M,{...e,ref:t})})})},"RovingFocusGroup")),M=t.forwardRef(U(function(e,n){let{__scopeRovingFocusGroup:l,orientation:i,loop:f=!1,dir:m,currentTabStopId:p,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:d,onEntryFocus:y,preventScrollOnEntryFocus:E=!1,...S}=e,T=t.useRef(null),v=(0,o.useComposedRefs)(n,T),U=(0,c.useDirection)(m),[C,w]=(0,u.useControllableState)({prop:p,defaultProp:h??null,onChange:d,caller:b}),[I,A]=t.useState(!1),x=(0,a.useCallbackRef)(y),_=O(l),M=t.useRef(!1),[D,k]=t.useState(0);return t.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(R,x),()=>e.removeEventListener(R,x)},[x]),(0,P.jsx)(N,{scope:l,orientation:i,dir:U,loop:f,currentTabStopId:C,onItemFocus:t.useCallback(e=>w(e),[w]),onItemShiftTab:t.useCallback(()=>A(!0),[]),onFocusableItemAdd:t.useCallback(()=>k(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>k(e=>e-1),[]),children:(0,P.jsx)(s.Primitive.div,{tabIndex:I||0===D?-1:0,"data-orientation":i,...S,ref:v,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(R,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=_().filter(e=>
2e.focusable);L([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),E)}}M.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>A(!1))})})},"RovingFocusGroupImpl")),D=t.forwardRef(U(function(e,n){let{__scopeRovingFocusGroup:o,focusable:l=!0,active:a=!1,tabStopId:u,children:c,...m}=e,p=(0,i.useId)(),h=u||p,d=x("RovingFocusGroupItem",o),y=d.currentTabStopId===h,E=O(o),{onFocusableItemAdd:S,onFocusableItemRemove:v,currentTabStopId:U}=d,R=T();return(0,f.useLayoutEffect)(()=>{if(R&&l)return S(),()=>v()},[R,l,S,v]),t.useEffect(()=>{if(!R&&l)return S(),()=>v()},[R,l,S,v]),(0,P.jsx)(C.ItemSlot,{scope:o,id:h,focusable:l,active:a,children:(0,P.jsx)(s.Primitive.span,{tabIndex:y?0:-1,"data-orientation":d.orientation,...m,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{l?d.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>d.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void d.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=F(e,d.orientation,d.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=E().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=d.loop?$(r,n+1):r.slice(n+1)}setTimeout(()=>L(r))}}),children:"function"==typeof c?c({isCurrentTabStop:y,hasTabStop:null!=U}):c})})},"RovingFocusGroupItem")),k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function j(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function F(e,t,r){let n=j(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return k[n]}function L(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function $(e,t){return e.map((r,n)=>e[(t+n)%e.length])}U(j,"getDirectionAwareKey"),U(F,"getFocusIntent"),U(L,"focusFirst"),U($,"wrapArray"),e.s(["Item",0,D,"Root",0,_,"createRovingFocusGroupScope",0,A],51147)},228755,e=>{"use strict";var t=e.i(326062);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}(0,Object.defineProperty)(r,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,r])},76440,e=>{"use strict";var t=e.i(326062),r=e.i(899300),n=e.i(587114),o=Object.defineProperty,l=t[" useEffectEvent ".trim().toString()],i=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof l)return l(e);let r=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof i?i(()=>{r.current=e}):(0,n.useLayoutEffect)(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}o(s,"name",{value:"useEffectEvent",configurable:!0});var a=Object.defineProperty,u=(e,t)=>a(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;function f({prop:e,defaultProp:n,onChange:o=u(()=>{},"onChange"),caller:l}){let[i,s,a]=m({defaultProp:n,onChange:o}),c=void 0!==e,h=c?e:i;if(r.IS_DEVELOPMENT){let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${l} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,l])}return[h,t.useCallback(t=>{if(c){let r=p(t)?t(e):t;r!==e&&a.current?.(r)}else s(t)},[c,e,s,a])]}function m({defaultProp:e,onChange:r}){let[n,o]=t.useState(e),l=t.useRef(n),i=t.useRef(r);return c(()=>{i.current=r},[r]),t.useEffect(()=>{l.current!==n&&(i.current?.(n),l.current=n)},[n,l]),[n,o,i]}function p(e){return"function"==typeof e}u(f,"useControllableState"),u(m,"useUncontrolledState"),u(p,"isFunction");var h=Symbol("RADIX:SYNC_STATE");u(function(e,n,o,l){let{prop:i,defaultProp:a,onChange:u,caller:c}=n,f=void 0!==i,m=s(u);if(r.IS_DEVELOPMENT){let e=t.useRef(void 0!==i);t.useEffect(()=>{let t=e.current;if(t!==f){let e=f?"controlled":"uncontrolled";console.warn(`${c} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=f},[f,c])}let p=[{...o,state:a}];l&&p.push(l);let[d,y]=t.useReducer((t,r)=>{if(r.type===h)return{...t,state:r.state};let n=e(t,r);return f&&!Object.is(n.state,t.state)&&m(n.state),n},...p),E=d.state,S=t.useRef(E);t.useEffect(()=>{S.current!==E&&(S.current=E,f||m(E))},[E,S,f]);let T=t.useMemo(()=>void 0!==i?{...d,state:i}:d,[d,i]);return t.useEffect(()=>{f&&!Object.is(i,d.state)&&y({type:h,state:i})},[i,d.state,f]),[T,y]},"useControllableStateReducer"),e.s(["useControllableState",0,f],76440)},587114,e=>{"use strict";var t=e.i(326062),r=globalThis?.document?t.useLayoutEffect:()=>{};
2e.s(["useLayoutEffect",0,r])},400711,e=>{"use strict";let t=(0,e.i(782695).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},177286,e=>{"use strict";var t=e.i(400711);e.s(["Loader2",()=>t.default])},567090,e=>{"use strict";var t,r=((t={}).CAREPROVIDER_UNIT_TYPE="c",t.PLACE="p",t.SERVICE_TYPE="t",t.SYMPTOM="s",t.FREE="f",t.PAGE="page",t.LATITUDE="lat",t.LONGITUDE="lng",t.OPEN_NOW="on",t.OPEN_WEEKEND="ow",t.CUSTOMER_FEATURE_TYPE="cf",t.AFTER_REDIRECT="ar",t.TIMESLOT="ts",t.ATTRIBUTE="att",t.SERVICE_TYPE_FILTER="st",t.FORCE_SEARCH_RESULTS="fsr",t.FORCE_CONTENT_PAGE="fcp",t.DISTANCE="d",t.TAB="tab",t);e.s(["UrlTermsSymbolsEnum",()=>r])}]);
3
4//# debugId=d859a126-e373-73cd-9209-3aee57a52f55
5//# sourceMappingURL=0sf35-bxyoqyj.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.