PageSourceSearch

https://obama.org/_app/immutable/nodes/0.15a6b78a.js

js obama.org collected 2026-10-02 02:14:29 UTC 570,783 bytes, 275 lines download raw bytes

1import{s as fe,e as ie,a as J,r as Gi,d as _,c as ee,u as w,i as j,v as ce,o as dn,f as $,g as Z,h as S,w as xn,j as m,x as Ze,y as We,z as qe,A as Qe,B as Ye,C as Eh,D as Ft,l as Me,m as Fe,n as Je,E as wr,H as ci,F as fi,G as Ee,I as hn,p as $e,J as fs,K as Ki,L as ve,M as A,N as V,O as Re,P as Pe,q as Yo,Q as mn,R as Ht,b as Th,t as kh,S as cr,T as Lh,U as mt,V as Oh,W as Sr,X as ds,Y as hs,Z as Rh}from"../chunks/scheduler.0980a753.js";import{S as de,i as he,g as ae,t as I,c as se,a as R,f as tr,b as Q,d as X,m as G,e as K,h as Er,j as Bn,k as pt}from"../chunks/index.11e46caf.js";import{S as Ph,g as Xi,a as Ih,b as Hh,t as Ah}from"../chunks/menu-helpers.4d3e646c.js";import{i as Of}from"../chunks/isPreviewBuild.ecd10b1d.js";import{n as ze,a as st,m as be,b as zn,s as Zt,c as zt,O as Qt,g as di,e as Rf,f as Lt,h as Tr,i as vt,j as xr,k as hr,t as ye,l as Br,E as zr,p as Hi,o as $r,T as ja,q as Te,r as Ai,u as Pf,v as Jo,w as Vh,x as ms,y as el,D as Fn,z as Nh,A as Mh,B as Fh,C as If,F as Ot,G as Zr,H as Dh,I as Hf,J as Yi,K as jh,L as Af,M as Ua,N as Uh,P as xh,Q as Bh,R as tl,S as zh,U as rl,V as nl,W as ht,X as wt,Y as Vf,Z as $h,_ as il,$ as Zh,a0 as At,a1 as al,a2 as jr,a3 as Wh,a4 as qh,a5 as ha,a6 as Qh,a7 as xa,a8 as Gh,a9 as $n,aa as Kh,ab as hi,ac as Ji,ad as Xh,ae as Yh,af as pn,ag as Jh,ah as Wr,ai as e2,aj as t2,ak as r2,al as qt,am as kr,an as n2,ao as i2,ap as Qr,aq as Nf,ar as a2,as as s2,at as o2,au as sl,av as l2,aw as u2,ax as c2,ay as f2,az as d2,aA as ea,aB as Mf,aC as Vi,aD as h2,aE as Gr,aF as m2,aG as Ff,aH as ps,aI as Df,aJ as p2,aK as g2,aL as v2,aM as jf,aN as _2,aO as b2,aP as y2,aQ as Uf,aR as C2,aS as w2,aT as S2,aU as E2,aV as T2,aW as k2,aX as L2,aY as O2,aZ as wn,a_ as R2,a$ as P2,b0 as I2,b1 as H2,b2 as A2,b3 as ol,b4 as V2,b5 as N2,d as M2}from"../chunks/main.fa801772.js";import{a as xf,g as F2,h as D2,b as j2,c as U2,s as x2}from"../chunks/gtm.c4775b96.js";import{c as it,s as Ni,g as ft,M as B2,B as fr,L as mr,e as ke,r as Lr,D as Bf,G as mi,a as z2,b as gs,I as ta,d as Mi,f as Fi,h as Di,i as pi,j as ll,v as ul,k as $2,R as gi,u as Kr,o as Xr,t as Ba,l as vs,m as za,n as Ct,p as gt,q as Z2,A as zf,w as ji,x as W2,y as q2,z as Q2,C as Hn,E as gn,F as vi,H as $a,J as It,K as cl,N as Ui,S as xi,O as fl,P as G2,Q as K2,T as Bi,U as X2,V as Y2,W as $f,X as J2,Y as e3,Z as dl}from"../chunks/filters.58af45c2.js";import{S as t3,t as r3,g as n3,a as i3,b as a3}from"../chunks/search.d7e930dc.js";import"../chunks/singletons.8031ae61.js";import{i as s3}from"../chunks/live-Preview.5aadad05.js";function _s(t,e,r){if(document.readyState===e||document.readyState==="complete")return r(),{stop:ze};var n=e==="complete"?"load":"DOMContentLoaded";return st(t,window,n,r,{once:!0})}function Zf(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var r=window.requestIdleCallback(be(t),e);return function(){return window.cancelIdleCallback(r)}}return l3(t)}var o3=50;function l3(t){var e=zn(),r=Zt(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,o3-(zn()-e))}})},0);return function(){return zt(r)}}var u3=Qt,c3=30;function f3(){var t=[];function e(n){var i;if(n.didTimeout){var a=performance.now();i=function(){return c3-(performance.now()-a)}}else i=n.timeRemaining.bind(n);for(;i()>0&&t.length;)t.shift()();t.length&&r()}function r(){Zf(e,{timeout:u3})}return{push:function(n){t.push(n)===1&&r()}}}function bs(t){var e=di(t);return e==="string"||e==="function"||t instanceof RegExp}function Wf(t,e,r){return r===void 0&&(r=!1),t.some(function(n){try{if(typeof n=="function")return n(e);if(n instanceof RegExp)return n.test(e);if(typeof n=="string")return r?Rf(e,n):n===e}catch(i){Lt.error(i)}return!1})}function d3(t,e,r){return{context:t.getContext(),user:e.getContext(),hasReplay:r.isRecording()?!0:void 0}}function h3(){var t=new Map,e=new WeakMap;return{vitalsByName:t,vitalsByReference:e}}function m3(t,e,r){function n(a){return!e.wasInPageStateDuringPeriod("frozen",a.startClocks.relative,a.duration)}function i(a){n(a)&&t.notify(11,g3(a,!0))}return{addDurationVital:i,startDurationVital:function(a,s){return s===void 0&&(s={}),qf(r,a,s)},stopDurationVital:function(a,s){s===void 0&&(s={}),Qf(i,r,a,s)}}}function qf(t,e,r){var n=t.vitalsByName,i=t.vitalsByReference;r===void 0&&(r={});var a={name:e,startClocks:Tr(),context:r.context,description:r.description},s={__dd_vital_reference:!0};return n.set(e,a),i.set(s,a),s}function Qf(t,e,r,n){var i=e.vitalsByName,a=e.vitalsByReference;n===void 0&&(n={});var s=typeof r=="string"?i.get(r):a.get(r);s&&(t(p3(s,s.startClocks,n,Tr())),typeof r=="string"?i.delete(r):a.delete(r))}function p3(t,e,r,n){var i;return{name:t.name,type:"duration",startClocks:e,duration:vt(e.timeStamp,n.timeStamp),context:xr(t.context,r.context),description:(i=r.description)!==null&&i!==void 0?i:t.description}}function g3(t,e){var r={date:t.startClocks.timeStamp,vital:{id:hr(),type:t.type,name:t.name,duration:ye(t.duration),description:t.description},type:"vital"};return e&&(r._dd={vital:{computed_value:!0}}),{rawRumEvent:r,startTime:t.startClocks.relative,customerContext:t.context,domainContext:{}}}function Gf(){return window.crypto||window.msCrypto}function v3(){return Xf(64)}function Kf(){return Xf(63)}var ma;function Xf(t){return ma||(ma=Br(zr.CONSISTENT_TRACE_SAMPLING)&&_3()?b3:y3),ma(t)}function _3(){try{return crypto.getRandomValues(new BigUint64Array(1)),!0}catch{return!1}}function b3(t){var e=crypto.getRandomValues(new BigUint64Array(1))[0];return t===63&&(e>>=BigInt("1")),e}function y3(t){var e=Gf().getRandomValues(new Uint32Array(2));return t===63&&(e[e.length-1]>>>=1),{toString:function(r){r===void 0&&(r=10);var n=e[1],i=e[0],a="";do{var s=n%r*4294967296+i;n=Math.floor(n/r),i=Math.floor(s/r),a=(s%r).toString(r)+a}while(n||i);return a}}}function Jr(t){var e=t.toString(16);return Array(17-e.length).join("0")+e}function C3(t,e){if(e===100)return!0;
1if(e===0)return!1;if(typeof t!="bigint")return Hi(e);var r=BigInt("1111111111111111111"),n=BigInt("0x10000000000000000"),i=t*r%n;return Number(i)<=e/100*Number(n)}function w3(t){var e=t;return di(e)==="object"&&bs(e.match)&&Array.isArray(e.propagatorTypes)}function S3(t){t.status===0&&!t.isAborted&&(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function E3(t,e){return{clearTracingIfNeeded:S3,traceFetch:function(r){return hl(t,r,e,function(n){var i;if(r.input instanceof Request&&!(!((i=r.init)===null||i===void 0)&&i.headers))r.input=new Request(r.input),Object.keys(n).forEach(function(s){r.input.headers.append(s,n[s])});else{r.init=Ai(r.init);var a=[];r.init.headers instanceof Headers?r.init.headers.forEach(function(s,o){a.push([o,s])}):Array.isArray(r.init.headers)?r.init.headers.forEach(function(s){a.push(s)}):r.init.headers&&Object.keys(r.init.headers).forEach(function(s){a.push([s,r.init.headers[s]])}),r.init.headers=a.concat(Pf(n))}})},traceXhr:function(r,n){return hl(t,r,e,function(i){Object.keys(i).forEach(function(a){n.setRequestHeader(a,i[a])})})}}}function hl(t,e,r,n){if(!(!T3()||!r.findTrackedSession())){var i=$r(t.allowedTracingUrls,function(o){return Wf([o.match],e.url,!0)});if(i){var a=v3();e.traceSampled=C3(a,t.traceSampleRate);var s=e.traceSampled||t.traceContextInjection===ja.ALL;s&&(e.traceId=a,e.spanId=Kf(),n(k3(e.traceId,e.spanId,e.traceSampled,i.propagatorTypes)))}}}function T3(){return Gf()!==void 0}function k3(t,e,r,n){var i={};return n.forEach(function(a){switch(a){case"datadog":{Te(i,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":t.toString()});break}case"tracecontext":{Te(i,{traceparent:"00-0000000000000000".concat(Jr(t),"-").concat(Jr(e),"-0").concat(r?"1":"0")});break}case"b3":{Te(i,{b3:"".concat(Jr(t),"-").concat(Jr(e),"-").concat(r?"1":"0")});break}case"b3multi":{Te(i,{"X-B3-TraceId":Jr(t),"X-B3-SpanId":Jr(e),"X-B3-Sampled":r?"1":"0"});break}}}),i}var Yf=["tracecontext","datadog"];function L3(t){var e,r,n;if(!t.applicationId){Lt.error("Application ID is not configured, no RUM data will be collected.");return}if(!(!Jo(t.sessionReplaySampleRate,"Session Replay")||!Jo(t.traceSampleRate,"Trace"))){if(t.excludedActivityUrls!==void 0&&!Array.isArray(t.excludedActivityUrls)){Lt.error("Excluded Activity Urls should be an array");return}var i=O3(t);if(i){var a=Vh(t);if(a){var s=(e=t.sessionReplaySampleRate)!==null&&e!==void 0?e:0;return Te({applicationId:t.applicationId,version:t.version||void 0,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:s,startSessionReplayRecordingManually:t.startSessionReplayRecordingManually!==void 0?!!t.startSessionReplayRecordingManually:s===0,traceSampleRate:(r=t.traceSampleRate)!==null&&r!==void 0?r:100,rulePsr:ms(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:i,excludedActivityUrls:(n=t.excludedActivityUrls)!==null&&n!==void 0?n:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:el(Fn,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:Fn.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:el(ja,t.traceContextInjection)?t.traceContextInjection:ja.ALL,plugins:t.plugins||[]},a)}}}}function O3(t){if(t.allowedTracingUrls===void 0)return[];if(!Array.isArray(t.allowedTracingUrls)){Lt.error("Allowed Tracing URLs should be an array");return}if(t.allowedTracingUrls.length!==0&&t.service===void 0){Lt.error("Service needs to be configured when tracing is enabled");return}var e=[];return t.allowedTracingUrls.forEach(function(r){bs(r)?e.push({match:r,propagatorTypes:Yf}):w3(r)?e.push(r):Lt.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",r)}),e}function R3(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>
10&&t.allowedTracingUrls.forEach(function(r){bs(r)?Yf.forEach(function(n){return e.add(n)}):di(r)==="object"&&Array.isArray(r.propagatorTypes)&&r.propagatorTypes.forEach(function(n){return e.add(n)})}),Mh(e)}function P3(t){var e,r=Nh(t);return Te({session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:R3(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,plugins:(e=t.plugins)===null||e===void 0?void 0:e.map(function(n){var i;return Te({name:n.name},(i=n.getConfigurationTelemetry)===null||i===void 0?void 0:i.call(n))})},r)}var I3="https://d3uc069fcn7uxw.cloudfront.net/configuration";function H3(t,e){V3(t,function(r){e(A3(t,r))})}function A3(t,e){return Te({},t,e)}function V3(t,e){var r=new XMLHttpRequest;st(t,r,"load",function(){r.status===200?e(JSON.parse(r.responseText)):ml()}),st(t,r,"error",function(){ml()}),r.open("GET","".concat(I3,"/").concat(encodeURIComponent(t.remoteConfigurationId),".json")),r.send()}function ml(){Lt.error("Error fetching the remote configuration.")}function N3(t,e,r){if(t)for(var n=0,i=t;n<i.length;n++){var a=i[n],s=a[e];s&&s(r)}}function M3(t,e,r,n,i){var a=t.ignoreInitIfSyntheticsWillInjectRum,s=t.startDeflateWorker,o=jh(),l,u,f,d,c=r.observable.subscribe(h);function h(){if(!(!f||!d||!r.isGranted())){c.unsubscribe();var b;if(d.trackViewsManually){if(!l)return;o.remove(l.callback),b=l.options}var v=i(d,u,b);o.drain(v)}}function p(b){var v=Zr();if(v&&(b=F3(b)),f=b,Dh(P3(b)),d){Af("DD_RUM",b);return}var y=L3(b);if(y){if(!v&&!y.sessionStoreStrategyType){Lt.warn("No storage available for session. We will not send any data.");return}y.compressIntakeRequests&&!v&&s&&(u=s(y,"Datadog RUM",ze),!u)||(d=y,Hf().subscribe(ze),r.tryToInit(y.trackingConsent),h())}}var g=function(b){o.add(function(v){return v.addDurationVital(b)})};return{init:function(b,v){if(!b){Lt.error("Missing configuration");return}Fh(b.enableExperimentalFeatures),f=b,!(a&&If())&&(N3(b.plugins,"onInit",{initConfiguration:b,publicApi:v}),b.remoteConfigurationId&&Br(zr.REMOTE_CONFIGURATION)?H3(b,p):p(b))},get initConfiguration(){return f},getInternalContext:ze,stopSession:ze,addTiming:function(b,v){v===void 0&&(v=Ot()),o.add(function(y){return y.addTiming(b,v)})},startView:function(b,v){v===void 0&&(v=Tr());var y=function(C){C.startView(b,v)};o.add(y),l||(l={options:b,callback:y},h())},setViewName:function(b){o.add(function(v){return v.setViewName(b)})},setViewContext:function(b){o.add(function(v){return v.setViewContext(b)})},setViewContextProperty:function(b,v){o.add(function(y){return y.setViewContextProperty(b,v)})},addAction:function(b,v){v===void 0&&(v=e()),o.add(function(y){return y.addAction(b,v)})},addError:function(b,v){v===void 0&&(v=e()),o.add(function(y){return y.addError(b,v)})},addFeatureFlagEvaluation:function(b,v){o.add(function(y){return y.addFeatureFlagEvaluation(b,v)})},startDurationVital:function(b,v){return qf(n,b,v)},stopDurationVital:function(b,v){Qf(g,n,b,v)},addDurationVital:g}}function F3(t){var e,r;return Te({},t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:(e=t.defaultPrivacyLevel)!==null&&e!==void 0?e:(r=Yi())===null||r===void 0?void 0:r.getPrivacyLevel()})}var pl="rum";function D3(t,e,r){r===void 0&&(r={});var n=xh(0),i=Ua(n.getOrCreateTracker(2)),a=Ua(n.getOrCreateTracker(1)),s=Bh(),o=h3();function l(){return d3(i,a,e)}var u=M3(r,l,s,o,function(c,h,p){c.storeContextsAcrossPages&&(tl(c,i,pl,2),tl(c,a,pl,1)),n.setCompressionStatus(h?1:2);var g=t(c,e,n,l,p,h&&r.createDeflateEncoder?function(b){return r.createDeflateEncoder(c,h,b)}:zh,s,o);return e.onRumStart(g.lifeCycle,c,g.session,g.viewHistory,h),u=j3(u,g),g}),f=be(function(c){var h=typeof c=="object"?c:{name:c};h.context&&n.getOrCreateTracker(3).updateCustomerData(h.context),u.startView(h),wt({feature:"start-view"})}),d=Uh({init:be(function(c){u.init(c,d)}),setTrackingConsent:be(function(c){s.update(c),wt({feature:"set-tracking-consent",tracking_consent:c})}
1),setViewName:be(function(c){u.setViewName(c)}),setViewContext:be(function(c){u.setViewContext(c)}),setViewContextProperty:be(function(c,h){u.setViewContextProperty(c,h)}),setGlobalContext:be(function(c){i.setContext(c),wt({feature:"set-global-context"})}),getGlobalContext:be(function(){return i.getContext()}),setGlobalContextProperty:be(function(c,h){i.setContextProperty(c,h),wt({feature:"set-global-context"})}),removeGlobalContextProperty:be(function(c){return i.removeContextProperty(c)}),clearGlobalContext:be(function(){return i.clearContext()}),getInternalContext:be(function(c){return u.getInternalContext(c)}),getInitConfiguration:be(function(){return Vf(u.initConfiguration)}),addAction:function(c,h){var p=rl();nl(function(){u.addAction({name:ht(c),context:ht(h),startClocks:Tr(),type:"custom",handlingStack:p}),wt({feature:"add-action"})})},addError:function(c,h){var p=rl();nl(function(){u.addError({error:c,handlingStack:p,context:ht(h),startClocks:Tr()}),wt({feature:"add-error"})})},addTiming:be(function(c,h){u.addTiming(ht(c),h)}),setUser:be(function(c){$h(c)&&a.setContext(il(c)),wt({feature:"set-user"})}),getUser:be(function(){return a.getContext()}),setUserProperty:be(function(c,h){var p,g=il((p={},p[c]=h,p))[c];a.setContextProperty(c,g),wt({feature:"set-user"})}),removeUserProperty:be(function(c){return a.removeContextProperty(c)}),clearUser:be(function(){return a.clearContext()}),startView:f,stopSession:be(function(){u.stopSession(),wt({feature:"stop-session"})}),addFeatureFlagEvaluation:be(function(c,h){u.addFeatureFlagEvaluation(ht(c),ht(h)),wt({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:be(function(){return e.getSessionReplayLink()}),startSessionReplayRecording:be(function(c){e.start(c),wt({feature:"start-session-replay-recording",force:c&&c.force})}),stopSessionReplayRecording:be(function(){return e.stop()}),addDurationVital:be(function(c,h){wt({feature:"add-duration-vital"}),u.addDurationVital({name:ht(c),type:"duration",startClocks:Zh(h.startTime),duration:h.duration,context:ht(h&&h.context),description:ht(h&&h.description)})}),startDurationVital:be(function(c,h){return wt({feature:"start-duration-vital"}),u.startDurationVital(ht(c),{context:ht(h&&h.context),description:ht(h&&h.description)})}),stopDurationVital:be(function(c,h){wt({feature:"stop-duration-vital"}),u.stopDurationVital(typeof c=="string"?ht(c):c,{context:ht(h&&h.context),description:ht(h&&h.description)})})});return d}function j3(t,e){return Te({init:function(r){Af("DD_RUM",r)},initConfiguration:t.initConfiguration},e)}function U3(){var t=Jf();return new At(function(e){if(t){var r=new t(be(function(){return e.notify()}));return r.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return r.disconnect()}}})}function Jf(){var t,e=window;if(e.Zone&&(t=al(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var r=new e.MutationObserver(ze),n=al(r,"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}function x3(){var t=new At,e=jr(window,"open",function(){return t.notify()}).stop;return{observable:t,stop:e}}function B3(){var t=Wh(),e=qh();if(t&&e)return{test_id:t,result_id:e,injected:If()}}function z3(t,e,r){var n=Vf(t),i=r(n);return Pf(e).forEach(function(a){var s=a[0],o=a[1],l=$3(n,s),u=di(l);u===o?gl(t,s,ht(l)):o==="object"&&(u==="undefined"||u==="null")&&gl(t,s,{})}),i}function $3(t,e){for(var r=t,n=0,i=e.split(".");n<i.length;n++){var a=i[n];if(!Z3(r,a))return;r=r[a]}return r}function gl(t,e,r){for(var n=t,i=e.split("."),a=0;a<i.length;a+=1){var s=i[a];if(!e1(n))return;a!==i.length-1?n=n[s]:n[s]=r}}function e1(t){return di(t)==="object"}function Z3(t,e){return e1(t)&&Object.prototype.hasOwnProperty.call(t,e)}var en={"view.name":"string","view.url":"string","view.referrer":"string"},tn={context:"object"},pa={service:"string",version:"string"},t1;function W3(t,e,r,n,i,a,s,o,l,u){var f,d;t1=(f={},f.view=Te({},tn,en),f.error=Te({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},tn,en,pa),f.resource=Te({"resource.url":"string"},Br(zr.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},tn,en,pa),f.action=Te({"action.target.name":"string"},tn,en,pa),f.long_task=Te({},tn,en),f.vital=Te({},tn,en),f);var c=(d={},d.error=ha("error",t.eventRateLimiterThreshold,u),d.action=ha("action",t.eventRateLimiterThreshold,u),d.vital=ha("vital",t.eventRateLimiterThreshold,u),d),h=B3();e.subscribe(11,function(p){var g=p.startTime,b=p.rawRumEvent,v=p.domainContext,y=p.savedCommonContext,C=p.customerContext,k=n.findView(g),E=i.findUrl(g),L=r.findTrackedSession(g);if(L&&k&&E){var T=y||l(),O=a.findActionId(g),P={_dd:{format_version:2,drift:Qh(),configuration:{session_sample_rate:xa(t.sessionSampleRate,3),session_replay_sample_rate:xa(t.sessionReplaySampleRate,3)},browser_sdk_version:Zr()?"5.35.0":void 0},application:{id:t.applicationId},date:Ot(),service:k.service||t.service,version:k.version||t.version,source:"browser",session:{id:L.id,type:h?"synthetics":o.get()?"ci_test":"user"},view:{id:k.id,name:k.name,url:E.url,referrer:E.referrer},action:Q3(b)&&O?{id:O}:void 0,synthetics:h,ci_test:o.get(),display:s.get(),connectivity:Gh()},H=xr(P,b);H.context=xr(T.context,k.context,C),"has_replay"in H.session||(H.session.has_replay=T.hasReplay),H.type==="view"&&(H.session.sampled_for_replay=L.sessionReplay===1),Br(zr.ANONYMOUS_USER_TRACKING)&&!T.user.anonymous_id&&(T.user.anonymous_id=L.anonymousId),$n(T.user)||(H.usr=T.user),q3(H,t.beforeSend,v,c)&&($n(H.context)&&delete H.context,e.
1notify(12,H))}})}function q3(t,e,r,n){var i;if(e){var a=z3(t,t1[t.type],function(o){return e(o,r)});if(a===!1&&t.type!=="view")return!1;a===!1&&Lt.warn("Can't dismiss view events using beforeSend!")}var s=(i=n[t.type])===null||i===void 0?void 0:i.isLimitReached();return!s}function Q3(t){return["error","resource","long_task"].indexOf(t.type)!==-1}function G3(t,e,r,n,i){return{get:function(a){var s=r.findView(a),o=i.findUrl(a),l=e.findTrackedSession(a);if(l&&s&&o){var u=n.findActionId(a);return{application_id:t,session_id:l.id,user_action:u?{id:u}:void 0,view:{id:s.id,name:s.name,referrer:o.referrer,url:o.url}}}}}}var K3=Kh,X3=Ji;function Y3(t){var e=hi({expireDelay:X3});t.subscribe(1,function(n){e.add(r(n),n.startClocks.relative)}),t.subscribe(5,function(n){var i=n.endClocks;e.closeActive(i.relative)}),t.subscribe(3,function(n){var i=e.find(n.startClocks.relative);i&&n.name&&(i.name=n.name),i&&n.context&&(i.context=n.context)}),t.subscribe(9,function(){e.reset()});function r(n){return{service:n.service,version:n.version,context:n.context,id:n.id,name:n.name,startClocks:n.startClocks}}return{findView:function(n){return e.find(n)},stop:function(){e.stop()}}}var r1="initial_document",J3=[["document",function(t){return r1===t}],["xhr",function(t){return t==="xmlhttprequest"}],["fetch",function(t){return t==="fetch"}],["beacon",function(t){return t==="beacon"}],["css",function(t,e){return/\.css$/i.test(e)}],["js",function(t,e){return/\.js$/i.test(e)}],["image",function(t,e){return Wr(["image","img","icon"],t)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)!==null}],["font",function(t,e){return/\.(woff|eot|woff2|ttf)$/i.exec(e)!==null}],["media",function(t,e){return Wr(["audio","video"],t)||/\.(mp3|mp4)$/i.exec(e)!==null}]];function e0(t){var e=t.name;if(!Yh(e))return pn('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var r=Jh(e),n=0,i=J3;n<i.length;n++){var a=i[n],s=a[0],o=a[1];if(o(t.initiatorType,r))return s}return"other"}function vl(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=1;r<t.length;r+=1)if(t[r-1]>t[r])return!1;return!0}function t0(t){return t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch"}function r0(t){var e=t.duration,r=t.startTime,n=t.responseEnd;return e===0&&r<n?ye(vt(r,n)):ye(e)}function n0(t){if(i1(t)){var e=t.startTime,r=t.fetchStart,n=t.workerStart,i=t.redirectStart,a=t.redirectEnd,s=t.domainLookupStart,o=t.domainLookupEnd,l=t.connectStart,u=t.secureConnectionStart,f=t.connectEnd,d=t.requestStart,c=t.responseStart,h=t.responseEnd,p={download:Ar(e,c,h),first_byte:Ar(e,d,c)};return 0<n&&n<r&&(p.worker=Ar(e,n,r)),r<f&&(p.connect=Ar(e,l,f),l<=u&&u<=f&&(p.ssl=Ar(e,u,f))),r<o&&(p.dns=Ar(e,s,o)),e<a&&(p.redirect=Ar(e,i,a)),p}}function n1(t){return t.duration>=0}function i1(t){var e=vl(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),r=i0(t)?vl(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart):!0;return e&&r}function i0(t){return t.redirectEnd>t.startTime}function Ar(t,e,r){if(t<=e&&e<=r)return{duration:ye(vt(e,r)),start:ye(vt(t,e))}}function a1(t){return t.nextHopProtocol===""?void 0:t.nextHopProtocol}function s1(t){return t.deliveryType===""?"other":t.deliveryType}function a0(t){if(t.startTime<t.responseStart){var e=t.encodedBodySize,r=t.decodedBodySize,n=t.transferSize;return{size:r,encoded_body_size:e,decoded_body_size:r,transfer_size:n}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function ys(t){return t&&!Xh(t)}var s0=/data:(.+)?(;base64)?,/g,_l=24e3;function o1(t){return t.length<=_l?!1:t.substring(0,5)==="data:"?(t=t.substring(0,_l),!0):!1}function l1(t){return"".concat(t.match(s0)[0],"[...]")}var bl=1;function o0(t,e,r){var n=E3(e,r);l0(t,e,n),u0(t,n)}function l0(t,e,r){var n=e2(e).subscribe(function(i){var a=i;if(ys(a.url))switch(a.state){case"start":r.traceXhr(a,a.xhr),a.requestIndex=u1(),t.notify(6,{requestIndex:a.requestIndex,url:a.url});break;case"complete":r.clearTracingIfNeeded(a),t.notify(7,{duration:a.duration,method:a.method,requestIndex:a.requestIndex,spanId:a.spanId,startClocks:a.startClocks,status:a.status,traceId:a.traceId,traceSampled:a.traceSampled,type:"xhr",url:a.url,xhr:a.xhr,isAborted:a.isAborted,handlingStack:a.handlingStack});break}});return{stop:function(){return n.unsubscribe()}}}function u0(t,e){var r=Hf().subscribe(function(n){var i=n;
1if(ys(i.url))switch(i.state){case"start":e.traceFetch(i),i.requestIndex=u1(),t.notify(6,{requestIndex:i.requestIndex,url:i.url});break;case"resolve":c0(i,function(a){e.clearTracingIfNeeded(i),t.notify(7,{duration:a,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:"fetch",url:i.url,response:i.response,init:i.init,input:i.input,isAborted:i.isAborted,handlingStack:i.handlingStack})});break}});return{stop:function(){return r.unsubscribe()}}}function u1(){var t=bl;return bl+=1,t}function c0(t,e){var r=t.response&&t2(t.response);!r||!r.body?e(vt(t.startClocks.timeStamp,Ot())):r2(r.body,function(){e(vt(t.startClocks.timeStamp,Ot()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1})}function c1(t){return ms(t)&&t<0?void 0:t}function f1(t){var e=t.lifeCycle,r=t.isChildEvent,n=t.onChange,i=n===void 0?ze:n,a={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},s=e.subscribe(12,function(o){var l;if(!(o.type==="view"||o.type==="vital"||!r(o)))switch(o.type){case"error":a.errorCount+=1,i();break;case"action":a.actionCount+=1,o.action.frustration&&(a.frustrationCount+=o.action.frustration.type.length),i();break;case"long_task":a.longTaskCount+=1,i();break;case"resource":!((l=o._dd)===null||l===void 0)&&l.discarded||(a.resourceCount+=1,i());break}});return{stop:function(){s.unsubscribe()},eventCounts:a}}function f0(t,e){var r=zn(),n=!1,i=qt(t,window,["click","mousedown","keydown","touchstart","pointerdown"],function(o){if(o.cancelable){var l={entryType:"first-input",processingStart:kr(),processingEnd:kr(),startTime:o.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:function(){return{}}};o.type==="pointerdown"?a(t,l):s(l)}},{passive:!0,capture:!0}).stop;return{stop:i};function a(o,l){qt(o,window,["pointerup","pointercancel"],function(u){u.type==="pointerup"&&s(l)},{once:!0})}function s(o){if(!n){n=!0,i();var l=o.processingStart-o.startTime;l>=0&&l<zn()-r&&e(o)}}}var Ne;(function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource"})(Ne||(Ne={}));function ir(t,e){return new At(function(r){if(window.PerformanceObserver){var n=function(u){var f=m0(u);f.length>0&&r.notify(f)},i,a=!0,s=new PerformanceObserver(be(function(u){a?i=Zt(function(){return n(u.getEntries())}):n(u.getEntries())}));try{s.observe(e)}catch{var o=[Ne.RESOURCE,Ne.NAVIGATION,Ne.LONG_TASK,Ne.PAINT];if(Wr(o,e.type)){e.buffered&&(i=Zt(function(){return n(performance.getEntriesByType(e.type))}));try{s.observe({entryTypes:[e.type]})}catch{return}}}a=!1,d0(t);var l;return!ra(Ne.FIRST_INPUT)&&e.type===Ne.FIRST_INPUT&&(l=f0(t,function(u){n([u])}).stop),function(){s.disconnect(),l&&l(),zt(i)}}})}var Sn;function d0(t){return!Sn&&h0()&&"addEventListener"in performance&&(Sn=st(t,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})),function(){Sn==null||Sn.stop()}}function h0(){return window.performance!==void 0&&"getEntries"in performance}function ra(t){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(t)}function m0(t){return t.filter(function(e){return!p0(e)})}function p0(t){return t.entryType===Ne.RESOURCE&&(!ys(t.name)||!n1(t))}var d1=100,g0=100;function Cs(t,e,r,n,i,a){var s=_0(t,e,r,n);return v0(s,i,a)}function v0(t,e,r){var n,i=!1,a=Zt(be(function(){return u({hadActivity:!1})}),d1),s=r!==void 0?Zt(be(function(){return u({hadActivity:!0,end:Ot()})}),r):void 0,o=t.subscribe(function(f){var d=f.isBusy;zt(a),zt(n);var c=Ot();d||(n=Zt(be(function(){return u({hadActivity:!0,end:c})}),g0))}),l=function(){i=!0,zt(a),zt(n),zt(s),o.unsubscribe()};function u(f){i||(l(),e(f))}return{stop:l}}function _0(t,e,r,n){return new At(function(i){var a=[],s,o=0;return a.push(e.subscribe(l),r.subscribe(l),ir(n,{type:Ne.RESOURCE}).subscribe(function(u){u.some(function(f){return!ga(n,f.name)}
1)&&l()}),t.subscribe(6,function(u){ga(n,u.url)||(s===void 0&&(s=u.requestIndex),o+=1,l())}),t.subscribe(7,function(u){ga(n,u.url)||s===void 0||u.requestIndex<s||(o-=1,l())})),function(){a.forEach(function(u){return u.unsubscribe()})};function l(){i.notify({isBusy:o>0})}})}function ga(t,e){return Wf(t.excludedActivityUrls,e)}function Or(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,r){return r?e==="\0"?"�":"".concat(e.slice(0,-1),"\\").concat(e.charCodeAt(e.length-1).toString(16)," "):"\\".concat(e)})}function rn(t,e){return t.matches?t.matches(e):t.msMatchesSelector?t.msMatchesSelector(e):!1}function _i(t){if(t.parentElement)return t.parentElement;for(;t.parentNode;){if(t.parentNode.nodeType===Node.ELEMENT_NODE)return t.parentNode;t=t.parentNode}return null}function b0(t){if(t.classList)return t.classList;var e=(t.getAttribute("class")||"").trim();return e?e.split(/\s+/):[]}var yl=1,y0=function(){function t(e){var r=this;this.map=new WeakMap,e&&e.forEach(function(n){return r.map.set(n,yl)})}return t.prototype.add=function(e){return this.map.set(e,yl),this},t.prototype.delete=function(e){return this.map.delete(e)},t.prototype.has=function(e){return this.map.has(e)},t}();function h1(t){return t.nodeType===Node.TEXT_NODE}function C0(t){return t.nodeType===Node.COMMENT_NODE}function vn(t){return t.nodeType===Node.ELEMENT_NODE}function na(t){return vn(t)&&!!t.shadowRoot}function ws(t){var e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&vn(e.host)}function w0(t){return t.childNodes.length>0||na(t)}function m1(t,e){for(var r=t.firstChild;r;)e(r),r=r.nextSibling;na(t)&&e(t.shadowRoot)}function ia(t){return ws(t)?t.host:t.parentNode}var me={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Fn.ALLOW,MASK:Fn.MASK,MASK_USER_INPUT:Fn.MASK_USER_INPUT},Ss="data-dd-privacy",S0="hidden",E0="dd-privacy-",yr="***",Cl="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",T0={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},k0="x";function sr(t,e,r){if(r&&r.has(t))return r.get(t);var n=ia(t),i=n?sr(n,e,r):e,a=g1(t),s=p1(a,i);return r&&r.set(t,s),s}function p1(t,e){switch(e){case me.HIDDEN:case me.IGNORE:return e}switch(t){case me.ALLOW:case me.MASK:case me.MASK_USER_INPUT:case me.HIDDEN:case me.IGNORE:return t;default:return e}}function g1(t){if(vn(t)){if(t.tagName==="BASE")return me.ALLOW;if(t.tagName==="INPUT"){var e=t;if(e.type==="password"||e.type==="email"||e.type==="tel"||e.type==="hidden")return me.MASK;var r=e.getAttribute("autocomplete");if(r&&(r.startsWith("cc-")||r.endsWith("-password")))return me.MASK}if(rn(t,nn(me.HIDDEN)))return me.HIDDEN;if(rn(t,nn(me.MASK)))return me.MASK;if(rn(t,nn(me.MASK_USER_INPUT)))return me.MASK_USER_INPUT;if(rn(t,nn(me.ALLOW)))return me.ALLOW;if(O0(t))return me.IGNORE}}function aa(t,e){switch(e){case me.MASK:case me.HIDDEN:case me.IGNORE:return!0;case me.MASK_USER_INPUT:return h1(t)?wl(t.parentNode):wl(t);default:return!1}}function wl(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;var e=t;if(e.tagName==="INPUT")switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!T0[e.tagName]}var L0=function(t){return t.replace(/\S/g,k0)};function v1(t,e,r){var n,i=(n=t.parentElement)===null||n===void 0?void 0:n.tagName,a=t.textContent||"";if(!(e&&!a.trim())){var s=r,o=i==="SCRIPT";if(o)a=yr;else if(s===me.HIDDEN)a=yr;else if(aa(t,s))if(i==="DATALIST"||i==="SELECT"||i==="OPTGROUP"){if(!a.trim())return}else i==="OPTION"?a=yr:a=L0(a);return a}}function O0(t){if(t.nodeName==="SCRIPT")return!0;
1if(t.nodeName==="LINK"){var e=i("rel");return/preload|prefetch/i.test(e)&&i("as")==="script"||e==="shortcut icon"||e==="icon"}if(t.nodeName==="META"){var r=i("name"),e=i("rel"),n=i("property");return/^msapplication-tile(image|color)$/.test(r)||r==="application-name"||e==="icon"||e==="apple-touch-icon"||e==="shortcut icon"||r==="keywords"||r==="description"||/^(og|twitter|fb):/.test(n)||/^(og|twitter):/.test(r)||r==="pinterest"||r==="robots"||r==="googlebot"||r==="bingbot"||t.hasAttribute("http-equiv")||r==="author"||r==="generator"||r==="framework"||r==="publisher"||r==="progid"||/^article:/.test(n)||/^product:/.test(n)||r==="google-site-verification"||r==="yandex-verification"||r==="csrf-token"||r==="p:domain_verify"||r==="verify-v1"||r==="verification"||r==="shopify-checkout-api-token"}function i(a){return(t.getAttribute(a)||"").toLowerCase()}return!1}function nn(t){return"[".concat(Ss,'="').concat(t,'"], .').concat(E0).concat(t)}var Es="data-dd-action-name",R0="Masked Element";function P0(t,e,r){var n=e.enablePrivacyForActionName,i=e.actionNameAttribute,a=Sl(t,Es)||i&&Sl(t,i);return a?{name:a,nameSource:"custom_attribute"}:r===me.MASK?{name:R0,nameSource:"mask_placeholder"}:El(t,i,I0,n)||El(t,i,H0,n)||{name:"",nameSource:"blank"}}function Sl(t,e){var r;if(F0())r=t.closest("[".concat(e,"]"));else for(var n=t;n;){if(n.hasAttribute(e)){r=n;break}n=_i(n)}if(r){var i=r.getAttribute(e);return b1(_1(i.trim()))}}var I0=[function(t,e,r){if(M0()){if("labels"in t&&t.labels&&t.labels.length>0)return An(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&$r(t.ownerDocument.querySelectorAll("label"),function(i){return i.htmlFor===t.id});return n&&An(n,e,r)}},function(t){if(t.nodeName==="INPUT"){var e=t,r=e.getAttribute("type");if(r==="button"||r==="submit"||r==="reset")return{name:e.value,nameSource:"text_content"}}},function(t,e,r){if(t.nodeName==="BUTTON"||t.nodeName==="LABEL"||t.getAttribute("role")==="button")return An(t,e,r)},function(t){return En(t,"aria-label")},function(t,e,r){var n=t.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(function(i){return V0(t,i)}).filter(function(i){return!!i}).map(function(i){return y1(i,e,r)}
1).join(" "),nameSource:"text_content"}},function(t){return En(t,"alt")},function(t){return En(t,"name")},function(t){return En(t,"title")},function(t){return En(t,"placeholder")},function(t,e){if("options"in t&&t.options.length>0)return An(t.options[0],e)}],H0=[function(t,e,r){return An(t,e,r)}],A0=10;function El(t,e,r,n){for(var i=t,a=0;a<=A0&&i&&i.nodeName!=="BODY"&&i.nodeName!=="HTML"&&i.nodeName!=="HEAD";){for(var s=0,o=r;s<o.length;s++){var l=o[s],u=l(i,e,n);if(u){var f=u.name,d=u.nameSource,c=f&&f.trim();if(c)return{name:b1(_1(c)),nameSource:d}}}if(i.nodeName==="FORM")break;i=_i(i),a+=1}}function _1(t){return t.replace(/\s+/g," ")}function b1(t){return t.length>100?"".concat(n2(t,100)," [...]"):t}function V0(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}function En(t,e){return{name:t.getAttribute(e)||"",nameSource:"standard_attribute"}}function An(t,e,r){return{name:y1(t,e,r)||"",nameSource:"text_content"}}function y1(t,e,r){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText,i=function(a){for(var s=t.querySelectorAll(a),o=0;o<s.length;o+=1){var l=s[o];if("innerText"in l){var u=l.innerText;u&&u.trim().length>0&&(n=n.replace(u,""))}}};return N0()||i("script, style"),i("[".concat(Es,"]")),e&&i("[".concat(e,"]")),r&&i("".concat(nn(me.HIDDEN),", ").concat(nn(me.MASK))),n}return t.textContent}}function N0(){return!i2()}var va;function M0(){return va===void 0&&(va="labels"in HTMLInputElement.prototype),va}var _a;function F0(){return _a===void 0&&(_a="closest"in HTMLElement.prototype),_a}var C1=[Es,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],D0=[S1,U0],j0=[S1,x0,B0];function bi(t,e){if(q0(t)){for(var r,n=t;n&&n.nodeName!=="HTML";){var i=Tl(n,D0,$0,e,r);if(i)return i;var a=Tl(n,j0,Z0,e,r);r=a||Zn(z0(n),r),n=_i(n)}return r}}function w1(t){return/[0-9]/.test(t)}function U0(t){if(t.id&&!w1(t.id))return"#".concat(Or(t.id))}function x0(t){if(t.tagName!=="BODY")for(var e=b0(t),r=0;r<e.length;r+=1){var n=e[r];if(!w1(n))return"".concat(Or(t.tagName),".").concat(Or(n))}}function B0(t){return Or(t.tagName)}function S1(t,e){if(e){var r=s(e);if(r)return r}for(var n=0,i=C1;n<i.length;n++){var a=i[n],r=s(a);if(r)return r}function s(o){if(t.hasAttribute(o))return"".concat(Or(t.tagName),"[").concat(o,'="').concat(Or(t.getAttribute(o)),'"]')}}function z0(t){for(var e=_i(t).firstElementChild,r=1;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return"".concat(Or(t.tagName),":nth-of-type(").concat(r,")")}function Tl(t,e,r,n,i){for(var a=0,s=e;a<s.length;a++){var o=s[a],l=o(t,n);if(l&&r(t,l,i))return Zn(l,i)}}function $0(t,e,r){return t.ownerDocument.querySelectorAll(Zn(e,r)).length===1}function Z0(t,e,r){var n;if(r===void 0)n=function(o){return rn(o,e)};else{var i=W0()?Zn("".concat(e,":scope"),r):Zn(e,r);n=function(o){return o.querySelector(i)!==null}}for(var a=_i(t),s=a.firstElementChild;s;){if(s!==t&&n(s))return!1;s=s.nextElementSibling}return!0}function Zn(t,e){return e?"".concat(t,">").concat(e):t}var Ei;function W0(){if(Ei===void 0)try{document.querySelector(":scope"),Ei=!0}catch{Ei=!1}return Ei}function q0(t){return"isConnected"in t?t.isConnected:t.ownerDocument.documentElement.contains(t)}var E1=Qt,Q0=100;function G0(t,e){var r=[],n=0,i;a(t);function a(l){l.stopObservable.subscribe(s),r.push(l),zt(i),i=Zt(o,E1)}function s(){n===1&&r.every(function(l){return l.isStopped()})&&(n=2,e(r))}function o(){zt(i),n===0&&(n=1,s())}return{tryAppend:function(l){return n!==0?!1:r.length>0&&!K0(r[r.length-1].event,l.event)?(o(),!1):(a(l),!0)},stop:function(){o()}}}function K0(t,e){return t.target===e.target&&X0(t,e)<=Q0&&t.timeStamp-e.timeStamp<=E1}function X0(t,e){return Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2))}function Y0(t,e){var r=e.onPointerDown,n=e.onPointerUp,i,a={selection:!1,input:!1,scroll:!1},s,o=[st(t,window,"pointerdown",function(l){Ll(l)&&(i=kl(),a={selection:!1,input:!1,scroll:!1},s=r(l))},{capture:!0}),st(t,window,"selectionchange",function(){(!i||!kl())&&(a.selection=!0)},{capture:!0}),st(t,window,"scroll",function(){a.scroll=!0},{capture:!0,passive:!0}),st(t,window,"pointerup",function(l){if(Ll(l)&&s){var u=a;n(s,l,function(){return u}),s=void 0}},{capture:!0}),st(t,window,"input",function(){a.input=!0},{capture:!0})];return{stop:function(){o.forEach(function(l){return l.stop()})}}}function kl(){var t=window.getSelection();return!t||t.isCollapsed}function Ll(t){return t.target instanceof Element&&t.isPrimary!==!1}var Ol=3;function J0(t,e){if(e5(t))return e.addFrustration("rage_click"),t.some(Rl)&&e.addFrustration("dead_click"),e.hasError&&e.addFrustration("error_click"),{isRage:!0};var r=t.some(function(n){return n.getUserActivity().selection});return t.forEach(function(n){n.hasError&&n.addFrustration("error_click"),Rl(n)&&!r&&n.addFrustration("dead_click")}),{isRage:!1}}function e5(t){if(t.some(function(r){return r.getUserActivity().selection||r.getUserActivity().scroll}))return!1;for(var e=0;e<t.length-(Ol-1);e+=1)if(t[e+Ol-1].event.timeStamp-t[e].event.timeStamp<=Qt)return!0;return!1}
1var t5='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function Rl(t){return t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll?!1:!rn(t.event.target,t5)}var T1=10*Qt,Dn=new Map;function r5(t){var e=Dn.get(t);return Dn.delete(t),e}function k1(t,e){Dn.set(t,e),Dn.forEach(function(r,n){vt(n,kr())>T1&&Dn.delete(n)})}var n5=5*Qr;function i5(t,e,r,n){var i=hi({expireDelay:n5}),a=new At,s;t.subscribe(9,function(){i.reset()}),t.subscribe(4,f);var o=Y0(n,{onPointerDown:function(d){return a5(n,t,e,d,r)},onPointerUp:function(d,c,h){var p=d.clickActionBase,g=d.hadActivityOnPointerDown;s5(n,t,e,r,i,a,u,p,c,h,g)}}).stop,l={findActionId:function(d){return i.findAll(d)}};return{stop:function(){f(),a.notify(),o()},actionContexts:l};function u(d){if(!s||!s.tryAppend(d)){var c=d.clone();s=G0(d,function(h){l5(h,c)})}}function f(){s&&s.stop()}}function a5(t,e,r,n,i){var a=t.enablePrivacyForActionName?sr(n.target,t.defaultPrivacyLevel):me.ALLOW;if(a!==me.HIDDEN){var s=o5(n,a,t),o=!1;return Cs(e,r,i,t,function(l){o=l.hadActivity},d1),{clickActionBase:s,hadActivityOnPointerDown:function(){return o}}}}function s5(t,e,r,n,i,a,s,o,l,u,f){var d,c=L1(e,i,u,o,l);s(c);var h=(d=o==null?void 0:o.target)===null||d===void 0?void 0:d.selector;h&&k1(l.timeStamp,h);var p=Cs(e,r,n,t,function(v){v.hadActivity&&v.end<c.startClocks.timeStamp?c.discard():v.hadActivity?c.stop(v.end):f()?c.stop(c.startClocks.timeStamp):c.stop()},T1).stop,g=e.subscribe(4,function(v){var y=v.endClocks;c.stop(y.timeStamp)}),b=a.subscribe(function(){c.stop()});c.stopObservable.subscribe(function(){g.unsubscribe(),p(),b.unsubscribe()})}function o5(t,e,r){var n=t.target.getBoundingClientRect(),i=bi(t.target,r.actionNameAttribute);i&&k1(t.timeStamp,i);var a=P0(t.target,r,e);return{type:"click",target:{width:Math.round(n.width),height:Math.round(n.height),selector:i},position:{x:Math.round(t.clientX-n.left),y:Math.round(t.clientY-n.top)},name:a.name,nameSource:a.nameSource}}function L1(t,e,r,n,i){var a=hr(),s=Tr(),o=e.add(a,s.relative),l=f1({lifeCycle:t,isChildEvent:function(p){return p.action!==void 0&&(Array.isArray(p.action.id)?Wr(p.action.id,a):p.action.id===a)}}),u=0,f,d=[],c=new At;function h(p){u===0&&(f=p,u=1,f?o.close(Nf(f)):o.remove(),l.stop(),c.notify())}return{event:i,stop:h,stopObservable:c,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return f!==void 0},getUserActivity:r,addFrustration:function(p){d.push(p)},startClocks:s,isStopped:function(){return u===1||u===2},clone:function(){return L1(t,e,r,n,i)},validate:function(p){if(h(),u===1){var g=l.eventCounts,b=g.resourceCount,v=g.errorCount,y=g.longTaskCount,C=Te({type:"click",duration:f&&vt(s.timeStamp,f),startClocks:s,id:a,frustrationTypes:d,counts:{resourceCount:b,errorCount:v,longTaskCount:y},events:p??[i],event:i},n);t.notify(0,C),u=2}},discard:function(){h(),u=2}}}function l5(t,e){var r=J0(t,e).isRage;r?(t.forEach(function(n){return n.discard()}),e.stop(Ot()),e.validate(t.map(function(n){return n.event}))):(e.discard(),t.forEach(function(n){return n.validate()}))}function u5(t,e,r,n,i){var a;t.subscribe(0,function(l){return t.notify(11,Pl(l,i))});var s={findActionId:ze},o=ze;return n.trackUserInteractions&&(a=i5(t,e,r,n),s=a.actionContexts,o=a.stop),{addAction:function(l,u){t.notify(11,Te({savedCommonContext:u},Pl(l,i)))},actionContexts:s,stop:o}}function Pl(t,e){var r=Ti(t)?{action:{id:t.id,loading_time:c1(ye(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position,name_source:Br(zr.ACTION_NAME_MASKING)?t.nameSource:void 0}}}:void 0,n=Ti(t)?void 0:t.context,i=xr({action:{id:hr(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},r),a=Ti(t)?{events:t.events}:{};return!Ti(t)&&t.handlingStack&&(a.handlingStack=t.handlingStack),{customerContext:n,rawRumEvent:i,startTime:t.startClocks.relative,domainContext:a}}function Ti(t){return t.type!=="custom"}function c5(t){var e=a2([s2.error]).subscribe(function(r){return t.notify(r.error)});return{stop:function(){e.unsubscribe()}}}function f5(t,e){var r=o2(t,[sl.cspViolation,sl.intervention]).subscribe(function(n){return e.notify(n)});return{stop:function(){r.unsubscribe()}}}function d5(t,e,r,n){var i=new At;return c5(i),l2(i),f5(e,i),i.subscribe(function(a){return t.notify(13,{error:a})}),h5(t,r,n)}function h5(t,e,r){return t.subscribe(13,function(n){var i=n.error,a=n.customerContext,s=n.savedCommonContext;t.notify(11,Te({customerContext:a,savedCommonContext:s},m5(i,e,r)))}),{addError:function(n,i){var a=n.error,s=n.handlingStack,o=n.startClocks,l=n.context,u=u2(a)?c2
1(a):void 0,f=f2({stackTrace:u,originalError:a,handlingStack:s,startClocks:o,nonErrorPrefix:"Provided",source:d2.CUSTOM,handling:"handled"});t.notify(13,{customerContext:l,savedCommonContext:i,error:f})}}}function m5(t,e,r){var n={date:t.startClocks.timeStamp,error:{id:hr(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:"error",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},i=r.findFeatureFlagEvaluations(t.startClocks.relative);i&&!$n(i)&&(n.feature_flags=i);var a={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:n,startTime:t.startClocks.relative,domainContext:a}}function p5(t,e){var r=ir(e,{type:Ne.LONG_TASK,buffered:!0}).subscribe(function(n){for(var i=0,a=n;i<a.length;i++){var s=a[i];if(s.entryType!==Ne.LONG_TASK||!e.trackLongTasks)break;var o=ea(s.startTime),l={date:o.timeStamp,long_task:{id:hr(),entry_type:"long-task",duration:ye(s.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(11,{rawRumEvent:l,startTime:o.relative,domainContext:{performanceEntry:s}})}});return{stop:function(){r.unsubscribe()}}}var Il=new y0;function g5(t){if(!(!performance||!("getEntriesByName"in performance))){var e=performance.getEntriesByName(t.url,"resource");if(!(!e.length||!("toJSON"in e[0]))){var r=e.filter(function(n){return!Il.has(n)}).filter(function(n){return n1(n)&&i1(n)}).filter(function(n){return v5(n,t.startClocks.relative,O1({startTime:t.startClocks.relative,duration:t.duration}))});if(r.length===1)return Il.add(r[0]),r[0].toJSON()}}}function O1(t){return Mf(t.startTime,t.duration)}function v5(t,e,r){var n=1;return t.startTime>=e-n&&O1(t)<=Mf(r,n)}var _5=2*Qr;function b5(t){var e=y5(t)||C5(t);if(!(!e||e.traceTime<=zn()-_5))return e.traceId}function y5(t){var e=t.querySelector("meta[name=dd-trace-id]"),r=t.querySelector("meta[name=dd-trace-time]");return R1(e&&e.content,r&&r.content)}function C5(t){var e=w5(t);if(e)return R1(Vi(e,"trace-id"),Vi(e,"trace-time"))}function R1(t,e){var r=e&&Number(e);if(!(!t||!r))return{traceId:t,traceTime:r}}function w5(t){for(var e=0;e<t.childNodes.length;e+=1){var r=Hl(t.childNodes[e]);if(r)return r}if(t.body)for(var e=t.body.childNodes.length-1;e>=0;e-=1){var n=t.body.childNodes[e],r=Hl(n);if(r)return r;if(!h1(n))break}}function Hl(t){if(t&&C0(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function P1(){if(ra(Ne.NAVIGATION)){var t=performance.getEntriesByType(Ne.NAVIGATION)[0];if(t)return t}var e=S5(),r=Te({entryType:Ne.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:function(){return Te({},r,{toJSON:void 0})}},e);return r}function S5(){var t={},e=performance.timing;for(var r in e)if(ms(e[r])){var n=r,i=e[n];t[n]=i===0?0:Nf(i)}return t}function E5(t,e){_s(t,"interactive",function(){var r=Te(P1().toJSON(),{entryType:Ne.RESOURCE,initiatorType:r1,traceId:b5(document),toJSON:function(){return Te({},r,{toJSON:void 0})}});e(r)})}function T5(t,e,r,n,i){n===void 0&&(n=f3()),i===void 0&&(i=E5),t.subscribe(7,function(o){s(function(){return k5(o,e,r)})});var a=ir(e,{type:Ne.RESOURCE,buffered:!0}).subscribe(function(o){for(var l=function(c){t0(c)||s(function(){return Al(c,e)})},u=0,f=o;u<f.length;u++){var d=f[u];l(d)}});i(e,function(o){s(function(){return Al(o,e)})});function s(o){n.push(function(){var l=o();l&&t.notify(11,l)})}return{stop:function(){a.unsubscribe()}}}function k5(t,e,r){var n=g5(t),i=n?ea(n.startTime):t.startClocks,a=L5(t,e);if(!(!e.trackResources&&!a)){var s=t.type==="xhr"?"xhr":"fetch",o=n?I1(n):void 0,l=R5(r,i,t.duration),u=xr({date:i.timeStamp,resource:{id:hr(),type:s,duration:l,method:t.method,status_code:t.status,protocol:n&&a1(n),url:o1(t.url)?l1(t.url):t.url,delivery_type:n&&s1(n)},type:"resource",_dd:{discarded:!e.trackResources}},a,o);return{startTime:i.relative,rawRumEvent:u,domainContext:{performanceEntry:n,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error,isAborted:t.isAborted,handlingStack:t.handlingStack}}}}function Al(t,e){var r=ea(t.startTime),n=O5(t,e);if(!(!e.trackResources&&!n)){var i=e0(t),a=I1(t),s=xr({date:r.timeStamp,resource:{id:hr(),type:i,url:t.name,status_code:P5(t.responseStatus),protocol:a1(t),delivery_type:s1(t)},type:"resource",_dd:{discarded:!e.trackResources}},n,a);return{startTime:r.relative,rawRumEvent:s,domainContext:{performanceEntry:t}}}}function I1(t){var e=t.renderBlockingStatus;return{resource:Te({duration:r0(t),render_blocking_status:e},a0(t),n0(t))}}function L5(t,e){var r=t.traceSampled&&t.traceId&&t.spanId;if(r)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}function O5(t,e){var r=t.traceId;if(r)return{_dd:{trace_id:t.traceId,span_id:Kf().toString(),rule_psr:e.rulePsr}}}function R5(t,e,r){return t.wasInPageStateDuringPeriod("frozen",e.relative,r)?void 0:ye(r)}function P5(t){return t===0?void 0:t}function I5(t,e,r){var n=f1({lifeCycle:t,isChildEvent:function(s){return s.view.id===e},onChange:r}),i=n.stop,a=n.eventCounts;return{stop:i,eventCounts:a}}var H5=10*Qr;
1function A5(t,e,r){var n=ir(t,{type:Ne.PAINT,buffered:!0}).subscribe(function(i){var a=$r(i,function(s){return s.name==="first-contentful-paint"&&s.startTime<e.timeStamp&&s.startTime<H5});a&&r(a.startTime)});return{stop:n.unsubscribe}}function V5(t,e,r){var n=ir(t,{type:Ne.FIRST_INPUT,buffered:!0}).subscribe(function(i){var a=$r(i,function(l){return l.startTime<e.timeStamp});if(a){var s=vt(a.startTime,a.processingStart),o=void 0;a.target&&vn(a.target)&&(o=bi(a.target,t.actionNameAttribute)),r({delay:s>=0?s:0,time:a.startTime,targetSelector:o})}});return{stop:function(){n.unsubscribe()}}}function N5(t,e,r){return r===void 0&&(r=P1),D5(t,function(){var n=r();F5(n)||e(M5(n))})}function M5(t){return{domComplete:t.domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=kr()?t.responseStart:void 0}}function F5(t){return t.loadEventEnd<=0}function D5(t,e){var r,n=_s(t,"complete",function(){r=Zt(function(){return e()})}).stop;return{stop:function(){n(),zt(r)}}}var j5=10*Qr;function U5(t,e,r,n){var i=1/0,a=qt(t,r,["pointerdown","keydown"],function(l){i=l.timeStamp},{capture:!0,once:!0}).stop,s=0,o=ir(t,{type:Ne.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(function(l){var u=h2(l,function(d){return d.entryType===Ne.LARGEST_CONTENTFUL_PAINT&&d.startTime<i&&d.startTime<e.timeStamp&&d.startTime<j5&&d.size>s});if(u){var f=void 0;u.element&&(f=bi(u.element,t.actionNameAttribute)),n({value:u.startTime,targetSelector:f}),s=u.size}});return{stop:function(){a(),o.unsubscribe()}}}function H1(t,e){e===void 0&&(e=window);var r,n;return document.visibilityState==="hidden"?r=0:(r=1/0,n=qt(t,e,["pagehide","visibilitychange"],function(i){(i.type==="pagehide"||document.visibilityState==="hidden")&&(r=i.timeStamp,n())},{capture:!0}).stop),{get timeStamp(){return r},stop:function(){n==null||n()}}}function x5(t,e,r){var n={},i=N5(t,function(f){e(f.loadEvent),n.navigationTimings=f,r()}).stop,a=H1(t),s=A5(t,a,function(f){n.firstContentfulPaint=f,r()}).stop,o=U5(t,a,window,function(f){n.largestContentfulPaint=f,r()}).stop,l=V5(t,a,function(f){n.firstInput=f,r()}).stop;function u(){i(),s(),o(),l(),a.stop()}return{stop:u,initialViewMetrics:n}}function B5(t,e,r){if(!q5())return{stop:ze};var n=0,i,a;r({value:0});var s=W5(),o=ir(t,{type:Ne.LAYOUT_SHIFT,buffered:!0}).subscribe(function(l){for(var u=0,f=l;u<f.length;u++){var d=f[u];if(!(d.hadRecentInput||d.startTime<e)){var c=s.update(d),h=c.cumulatedValue,p=c.isMaxValue;if(p){var g=z5(d.sources);i=g?new WeakRef(g):void 0,a=vt(e,d.startTime)}if(h>n){n=h;var g=i==null?void 0:i.deref();r({value:xa(n,4),targetSelector:g&&bi(g,t.actionNameAttribute),time:a})}}}});return{stop:function(){o.unsubscribe()}}}function z5(t){var e;if(t)return(e=$r(t,function(r){return!!r.node&&vn(r.node)}))===null||e===void 0?void 0:e.node}var $5=5*Qt,Z5=Qt;function W5(){var t=0,e,r,n=0;return{update:function(i){var a=e===void 0||i.startTime-r>=Z5||i.startTime-e>=$5,s;return a?(e=r=i.startTime,n=t=i.value,s=!0):(t+=i.value,r=i.startTime,s=i.value>n,s&&(n=i.value)),{cumulatedValue:t,isMaxValue:s}}}}function q5(){return ra(Ne.LAYOUT_SHIFT)&&"WeakRef"in window}var Pi,A1=0,ba=1/0,ya=0;function Q5(){"interactionCount"in performance||Pi||(Pi=new window.PerformanceObserver(be(function(t){t.getEntries().forEach(function(e){var r=e;r.interactionId&&(ba=Math.min(ba,r.interactionId),ya=Math.max(ya,r.interactionId),A1=(ya-ba)/7+1)})})),Pi.observe({type:"event",buffered:!0,durationThreshold:0}))}var Vl=function(){return Pi?A1:window.performance.interactionCount||0},Nl=10,G5=1*Qr;function K5(t,e,r){if(!J5())return{getInteractionToNextPaint:function(){},setViewEnd:ze,stop:ze};var n=Y5(r),i=n.getViewInteractionCount,a=n.stopViewInteractionCount,s=1/0,o=X5(i),l=-1,u,f;function d(p){for(var g=0,b=p;g<b.length;g++){var v=b[g];v.interactionId&&v.startTime>=e&&v.startTime<=s&&o.process(v)}var y=o.estimateP98Interaction();y&&y.duration!==l&&(l=y.duration,f=vt(e,y.startTime),u=r5(y.startTime),!u&&y.target&&vn(y.target)&&(u=bi(y.target,t.actionNameAttribute)))}var c=ir(t,{type:Ne.FIRST_INPUT,buffered:!0}).subscribe(d),h=ir(t,{type:Ne.EVENT,durationThreshold:40,buffered:!0}).subscribe(d);return{getInteractionToNextPaint:function(){if(l>=0)return{value:Math.min(l,G5),targetSelector:u,time:f};if(i())return{value:0}}
1,setViewEnd:function(p){s=p,a()},stop:function(){h.unsubscribe(),c.unsubscribe()}}}function X5(t){var e=[];function r(){e.sort(function(n,i){return i.duration-n.duration}).splice(Nl)}return{process:function(n){var i=e.findIndex(function(s){return n.interactionId===s.interactionId}),a=e[e.length-1];i!==-1?n.duration>e[i].duration&&(e[i]=n,r()):(e.length<Nl||n.duration>a.duration)&&(e.push(n),r())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}function Y5(t){Q5();var e=t==="initial_load"?0:Vl(),r={stopped:!1};function n(){return Vl()-e}return{getViewInteractionCount:function(){return r.stopped?r.interactionCount:n()},stopViewInteractionCount:function(){r={stopped:!0,interactionCount:n()}}}}function J5(){return ra(Ne.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function e4(t,e,r,n,i,a,s){var o=i==="initial_load",l=!0,u=[],f=H1(n);function d(){if(!l&&!o&&u.length>0){var h=Math.max.apply(Math,u);h<f.timeStamp&&s(h)}}var c=Cs(t,e,r,n,function(h){l&&(l=!1,h.hadActivity&&u.push(vt(a.timeStamp,h.end)),d())}).stop;return{stop:function(){c(),f.stop()},setLoadEvent:function(h){o&&(o=!1,u.push(h),d())}}}function V1(){var t,e=window.visualViewport;return e?t=e.pageLeft-e.offsetLeft:window.scrollX!==void 0?t=window.scrollX:t=window.pageXOffset||0,Math.round(t)}function Ts(){var t,e=window.visualViewport;return e?t=e.pageTop-e.offsetTop:window.scrollY!==void 0?t=window.scrollY:t=window.pageYOffset||0,Math.round(t)}var Ca;function N1(t){return Ca||(Ca=t4(t)),Ca}function t4(t){return new At(function(e){var r=Gr(function(){e.notify(Wn())},200).throttled;return st(t,window,"resize",r,{capture:!0,passive:!0}).stop})}function Wn(){var t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var r4=Qt;function n4(t,e,r,n){n===void 0&&(n=a4(t));var i=0,a=0,s=0,o=n.subscribe(function(l){var u=l.scrollDepth,f=l.scrollTop,d=l.scrollHeight,c=!1;if(u>i&&(i=u,c=!0),d>a){a=d;var h=kr();s=vt(e.relative,h),c=!0}c&&r({maxDepth:Math.min(i,a),maxDepthScrollTop:f,maxScrollHeight:a,maxScrollHeightTime:s})});return{stop:function(){return o.unsubscribe()}}}function i4(){var t=Ts(),e=Wn().height,r=Math.round((document.scrollingElement||document.documentElement).scrollHeight),n=Math.round(e+t);return{scrollHeight:r,scrollDepth:n,scrollTop:t}}function a4(t,e){return e===void 0&&(e=r4),new At(function(r){function n(){r.notify(i4())}if(window.ResizeObserver){var i=Gr(n,e,{leading:!1,trailing:!0}),a=document.scrollingElement||document.documentElement,s=new ResizeObserver(be(i.throttled));a&&s.observe(a);var o=st(t,window,"scroll",i.throttled,{passive:!0});return function(){i.cancel(),s.disconnect(),o.stop()}}})}function s4(t,e,r,n,i,a,s){var o={},l=e4(t,e,r,n,a,s,function(v){o.loadingTime=v,i()}),u=l.stop,f=l.setLoadEvent,d=n4(n,s,function(v){o.scroll=v}).stop,c=B5(n,s.relative,function(v){o.cumulativeLayoutShift=v,i()}).stop,h=K5(n,s.relative,a),p=h.stop,g=h.getInteractionToNextPaint,b=h.setViewEnd;return{stop:function(){u(),c(),d()},stopINPTracking:p,setLoadEvent:f,setViewEnd:b,getCommonViewMetrics:function(){return o.interactionToNextPaint=g(),o}}}var o4=3e3,l4=5*Qr,u4=5*Qr;function c4(t,e,r,n,i,a,s,o){var l=new Set,u=d("initial_load",m2(),o);c();var f;s&&(f=h(a));function d(p,g,b){var v=f4(e,r,n,i,t,p,g,b);return l.add(v),v.stopObservable.subscribe(function(){l.delete(v)}),v}function c(){e.subscribe(9,function(){u=d("route_change",void 0,{name:u.name,service:u.service,version:u.version,context:u.contextManager.getContext()})}),e.subscribe(8,function(){u.end({sessionIsActive:!1})}),e.subscribe(10,function(p){p.reason===Ff.UNLOADING&&u.end()})}function h(p){return p.subscribe(function(g){var b=g.oldLocation,v=g.newLocation;h4(b,v)&&(u.end(),u=d("route_change"))})}return{addTiming:function(p,g){g===void 0&&(g=Ot()),u.addTiming(p,g)},startView:function(p,g){u.end({endClocks:g}),u=d("route_change",g,p)},setViewContext:function(p){u.contextManager.setContext(p)}
1,setViewContextProperty:function(p,g){u.contextManager.setContextProperty(p,g)},setViewName:function(p){u.setViewName(p)},stop:function(){f&&f.unsubscribe(),u.end(),l.forEach(function(p){return p.stop()})}}}function f4(t,e,r,n,i,a,s,o){s===void 0&&(s=Tr());var l=hr(),u=new At,f={},d=0,c,h=Ai(i),p=Ua(),g=!0,b,v,y,C;o&&(b=o.name,v=o.service||void 0,y=o.version||void 0,o.context&&(C=o.context,p.setContext(C)));var k={id:l,name:b,startClocks:s,service:v,version:y,context:C};t.notify(1,k),t.notify(2,k);var E=Gr(et,o4,{leading:!1}),L=E.throttled,T=E.cancel,O=s4(t,e,r,n,L,a,s),P=O.setLoadEvent,H=O.setViewEnd,M=O.stop,N=O.stopINPTracking,F=O.getCommonViewMetrics,D=a==="initial_load"?x5(n,P,L):{stop:ze,initialViewMetrics:{}},W=D.stop,Y=D.initialViewMetrics,le=I5(t,l,L),_e=le.stop,Ie=le.eventCounts,pe=ps(et,l4);et(),p.changeObservable.subscribe(et);function et(){T(),d+=1;var xe=c===void 0?Ot():c.timeStamp;t.notify(3,{customTimings:f,documentVersion:d,id:l,name:b,service:v,version:y,context:p.getContext(),loadingType:a,location:h,startClocks:s,commonViewMetrics:F(),initialViewMetrics:Y,duration:vt(s.timeStamp,xe),isActive:c===void 0,sessionIsActive:g,eventCounts:Ie})}return{get name(){return b},service:v,version:y,contextManager:p,stopObservable:u,end:function(xe){var ne=this,tt,He;xe===void 0&&(xe={}),!c&&(c=(tt=xe.endClocks)!==null&&tt!==void 0?tt:Tr(),g=(He=xe.sessionIsActive)!==null&&He!==void 0?He:!0,t.notify(4,{endClocks:c}),t.notify(5,{endClocks:c}),Df(pe),H(c.relative),M(),et(),Zt(function(){ne.stop()},u4))},stop:function(){W(),_e(),N(),u.notify()},addTiming:function(xe,ne){if(!c){var tt=p2(ne)?ne:vt(s.timeStamp,ne);f[d4(xe)]=tt,L()}},setViewName:function(xe){b=xe,et()}}}function d4(t){var e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&Lt.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(e)),e}function h4(t,e){return t.pathname!==e.pathname||!m4(e.hash)&&Ml(e.hash)!==Ml(t.hash)}function m4(t){var e=t.substring(1);return e!==""&&!!document.getElementById(e)}function Ml(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function p4(t,e,r,n,i,a,s,o,l,u){return t.subscribe(3,function(f){return t.notify(11,g4(f,e,s,l,o))}),c4(r,t,n,i,e,a,!e.trackViewsManually,u)}function g4(t,e,r,n,i){var a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E=n.getReplayStats(t.id),L=r.findFeatureFlagEvaluations(t.startClocks.relative),T=i.findAll(t.startClocks.relative,t.duration),O={_dd:{document_version:t.documentVersion,replay_stats:E,page_states:T,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually}},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:(a=t.commonViewMetrics.cumulativeLayoutShift)===null||a===void 0?void 0:a.value,cumulative_layout_shift_time:ye((s=t.commonViewMetrics.cumulativeLayoutShift)===null||s===void 0?void 0:s.time),cumulative_layout_shift_target_selector:(o=t.commonViewMetrics.cumulativeLayoutShift)===null||o===void 0?void 0:o.targetSelector,first_byte:ye((l=t.initialViewMetrics.navigationTimings)===null||l===void 0?void 0:l.firstByte),dom_complete:ye((u=t.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domComplete),dom_content_loaded:ye((f=t.initialViewMetrics.navigationTimings)===null||f===void 0?void 0:f.domContentLoaded),dom_interactive:ye((d=t.initialViewMetrics.navigationTimings)===null||d===void 0?void 0:d.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:ye(t.initialViewMetrics.firstContentfulPaint),first_input_delay:ye((c=t.initialViewMetrics.firstInput)===null||c===void 0?void 0:c.delay),first_input_time:ye((h=t.initialViewMetrics.firstInput)===null||h===void 0?void 0:h.time),first_input_target_selector:(p=t.initialViewMetrics.firstInput)===null||p===void 0?void 0:p.targetSelector,interaction_to_next_paint:ye((g=t.commonViewMetrics.interactionToNextPaint)===null||g===void 0?void 0:g.value),interaction_to_next_paint_time:ye((b=t.commonViewMetrics.interactionToNextPaint)===null||b===void 0?void 0:b.time),interaction_to_next_paint_target_selector:(v=t.commonViewMetrics.interactionToNextPaint)===null||v===void 0?void 0:v.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:ye((y=t.initialViewMetrics.largestContentfulPaint)===null||y===void 0?void 0:y.value),largest_contentful_paint_target_selector:(C=t.initialViewMetrics.largestContentfulPaint)===null||C===void 0?void 0:C.targetSelector,load_event:ye((k=t.initialViewMetrics.navigationTimings)===null||k===void 0?void 0:k.loadEvent),loading_time:c1(ye(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:ye(t.duration)},feature_flags:L&&!$n(L)?L:void 0,display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:ye(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:E?!0:void 0,is_active:t.sessionIsActive?void 0:!1},privacy:{replay_level:e.defaultPrivacyLevel}};return $n(t.customTimings)||(O.view.custom_timings=g2(t.customTimings,ye)),{rawRumEvent:O,startTime:t.startClocks.relative,domainContext:{location:t.location}}}var v4="rum";function _4(t,e,r){var n=v2(t,v4,function(i){return y4(t,i)},r);return n.expireObservable.subscribe(function(){e.notify(8)}),n.renewObservable.subscribe(function(){e.notify(9)}
1),n.sessionStateUpdateObservable.subscribe(function(i){var a=i.previousState,s=i.newState;if(!a.forcedReplay&&s.forcedReplay){var o=n.findSession();o&&(o.isReplayForced=!0)}}),{findTrackedSession:function(i){var a=n.findSession(i);if(!(!a||!M1(a.trackingType)))return{id:a.id,sessionReplay:a.trackingType==="1"?1:a.isReplayForced?2:0,anonymousId:a.anonymousId}},expire:n.expire,expireObservable:n.expireObservable,setForcedReplay:function(){return n.updateSessionState({forcedReplay:"1"})}}}function b4(){var t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:jf("records")?1:0};return{findTrackedSession:function(){return t},expire:ze,expireObservable:new At,setForcedReplay:ze}}function y4(t,e){var r;return C4(e)?r=e:Hi(t.sessionSampleRate)?Hi(t.sessionReplaySampleRate)?r="1":r="2":r="0",{trackingType:r,isTracked:M1(r)}}function C4(t){return t==="0"||t==="1"||t==="2"}function M1(t){return t==="2"||t==="1"}function w4(t,e,r,n,i,a,s){var o=t.replica,l=_2(t,{endpoint:t.rumEndpointBuilder,encoder:s(2)},o&&{endpoint:o.rumEndpointBuilder,transformMessage:function(u){return xr(u,{application:{id:o.applicationId}})},encoder:s(3)},n,i,a);return e.subscribe(12,function(u){u.type==="view"?l.upsert(u,u.view.id):l.add(u)}),r.subscribe(function(u){return l.add(u,b2(t))}),l}function S4(t){var e=Yi();t.subscribe(12,function(r){e.send("rum",r)})}var E4=Ji;function T4(t,e,r){var n=hi({expireDelay:E4}),i;t.subscribe(1,function(o){var l=o.startClocks,u=r.href;n.add(s({url:u,referrer:i||document.referrer}),l.relative),i=u}),t.subscribe(5,function(o){var l=o.endClocks;n.closeActive(l.relative)});var a=e.subscribe(function(o){var l=o.newLocation,u=n.find();if(u){var f=kr();n.closeActive(f),n.add(s({url:l.href,referrer:u.referrer}),f)}});function s(o){var l=o.url,u=o.referrer;return{url:l,referrer:u}}return{findUrl:function(o){return n.find(o)},stop:function(){a.unsubscribe(),n.stop()}}}function k4(t,e){var r=Ai(e);return new At(function(n){var i=L4(t,s).stop,a=O4(t,s).stop;function s(){if(r.href!==e.href){var o=Ai(e);n.notify({newLocation:o,oldLocation:r}),r=o}}return function(){i(),a()}})}function L4(t,e){var r=jr(Fl("pushState"),"pushState",function(a){var s=a.onPostCall;s(e)}).stop,n=jr(Fl("replaceState"),"replaceState",function(a){var s=a.onPostCall;s(e)}).stop,i=st(t,window,"popstate",e).stop;return{stop:function(){r(),n(),i()}}}function O4(t,e){return st(t,window,"hashchange",e)}function Fl(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}var R4=Ji;function P4(t,e){var r=hi({expireDelay:R4});return t.subscribe(1,function(n){var i=n.startClocks;r.add({},i.relative),e.resetCustomerData()}),t.subscribe(5,function(n){var i=n.endClocks;r.closeActive(i.relative)}),{findFeatureFlagEvaluations:function(n){return r.find(n)},addFeatureFlagEvaluation:function(n,i){var a=r.find();a&&(a[n]=i,e.updateCustomerData(a))},stop:function(){return e.stop()}}}var I4=10*Qt,ur,Nr,Za;function H4(t,e,r,n,i){var a=e.enabled&&Hi(t.customerDataTelemetrySampleRate);a&&(F1(),Dl(),r.subscribe(12,function(s){Za=!0,Tn(Nr.globalContextBytes,n.getOrCreateTracker(2).getBytesCount()),Tn(Nr.userContextBytes,n.getOrCreateTracker(1).getBytesCount()),Tn(Nr.featureFlagBytes,Wr(["view","error"],s.type)?n.getOrCreateTracker(0).getBytesCount():0)}),i.subscribe(function(s){var o=s.bytesCount,l=s.messagesCount;Za&&(ur.batchCount+=1,Tn(ur.batchBytesCount,o),Tn(ur.batchMessagesCount,l),wa(ur.globalContextBytes,Nr.globalContextBytes),wa(ur.userContextBytes,Nr.userContextBytes),wa(ur.featureFlagBytes,Nr.featureFlagBytes),Dl())}),ps(A4,I4))}function A4(){ur.batchCount!==0&&(pn("Customer data measures",ur),F1())}function br(){return{min:1/0,max:0,sum:0}}function Tn(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function wa(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function F1(){ur={batchCount:0,batchBytesCount:br(),batchMessagesCount:br(),globalContextBytes:br(),userContextBytes:br(),featureFlagBytes:br()}}function Dl(){Za=!1,Nr={globalContextBytes:br(),userContextBytes:br(),featureFlagBytes:br()}}var V4=4e3,N4=500,M4=Ji;
1function F4(t,e){e===void 0&&(e=N4);var r=hi({expireDelay:M4,maxEntries:V4}),n;a(D1(),kr());var i=qt(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(o){a(D4(o),o.timeStamp)},{capture:!0}).stop;function a(o,l){l===void 0&&(l=kr()),o!==n&&(n=o,r.closeActive(l),r.add({state:n,startTime:l},l))}var s={findAll:function(o,l){var u=r.findAll(o,l);if(u.length!==0){for(var f=[],d=Math.max(0,u.length-e),c=u.length-1;c>=d;c--){var h=u[c],p=vt(o,h.startTime);f.push({state:h.state,start:ye(p)})}return f}},wasInPageStateAt:function(o,l){return s.wasInPageStateDuringPeriod(o,l,0)},wasInPageStateDuringPeriod:function(o,l,u){return r.findAll(l,u).some(function(f){return f.state===o})},addPageState:a,stop:function(){i(),r.stop()}};return s}function D4(t){return t.type==="freeze"?"frozen":t.type==="pagehide"?t.persisted?"frozen":"terminated":D1()}function D1(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function j4(t){var e,r;Br(zr.DELAY_VIEWPORT_COLLECTION)?r=requestAnimationFrame(function(){e=Wn()}):e=Wn();var n=N1(t).subscribe(function(i){e=i}).unsubscribe;return{get:function(){return e?{viewport:e}:void 0},stop:function(){n(),r&&cancelAnimationFrame(r)}}}function U4(t,e){var r=window.cookieStore?x4(t):z4;return new At(function(n){return r(e,function(i){return n.notify(i)})})}function x4(t){return function(e,r){var n=st(t,window.cookieStore,"change",function(i){var a=$r(i.changed,function(s){return s.name===e})||$r(i.deleted,function(s){return s.name===e});a&&r(a.value)});return n.stop}}var B4=Qt;function z4(t,e){var r=Vi(document.cookie,t),n=ps(function(){var i=Vi(document.cookie,t);i!==r&&e(i)},B4);return function(){Df(n)}}var jl="datadog-ci-visibility-test-execution-id";function $4(t,e){var r;e===void 0&&(e=U4(t,jl));var n=y2(jl)||((r=window.Cypress)===null||r===void 0?void 0:r.env("traceId")),i=e.subscribe(function(a){n=a});return{get:function(){if(typeof n=="string")return{test_execution_id:n}},stop:function(){return i.unsubscribe()}}}function Z4(t,e){var r=ir(e,{type:Ne.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(n){for(var i=0,a=n;i<a.length;i++){var s=a[i],o=ea(s.startTime),l={date:o.timeStamp,long_task:{id:hr(),entry_type:"long-animation-frame",duration:ye(s.duration),blocking_duration:ye(s.blockingDuration),first_ui_event_timestamp:ye(s.firstUIEventTimestamp),render_start:ye(s.renderStart),style_and_layout_start:ye(s.styleAndLayoutStart),start_time:ye(s.startTime),scripts:s.scripts.map(function(u){return{duration:ye(u.duration),pause_duration:ye(u.pauseDuration),forced_style_and_layout_duration:ye(u.forcedStyleAndLayoutDuration),start_time:ye(u.startTime),execution_start:ye(u.executionStart),source_url:u.sourceURL,source_function_name:u.sourceFunctionName,source_char_position:u.sourceCharPosition,invoker:u.invoker,invoker_type:u.invokerType,window_attribution:u.windowAttribution}})},type:"long_task",_dd:{discarded:!1}};t.notify(11,{rawRumEvent:l,startTime:o.relative,domainContext:{performanceEntry:s}})}});return{stop:function(){return r.unsubscribe()}}}function W4(t,e,r,n,i,a,s,o){var l=[],u=new K3;u.subscribe(12,function(He){return Uf("rum",He)});var f=q4(t);f.setContextProvider(function(){var He,Kt;return{application:{id:t.applicationId},session:{id:(He=g.findTrackedSession())===null||He===void 0?void 0:He.id},view:{id:(Kt=O.findView())===null||Kt===void 0?void 0:Kt.id},action:{id:H.findActionId()}}});var d=function(He){u.notify(13,{error:He}),pn("Error reported to customer",{"error.message":He.message})},c=P4(u,r.getOrCreateTracker(0)),h=S2(t),p=h.subscribe(function(He){u.notify(10,He)});l.push(function(){return p.unsubscribe()});var g=Zr()?b4():_4(t,u,s);if(Zr())S4(u);else{var b=w4(t,u,f.observable,d,h,g.expireObservable,a);l.push(function(){return b.stop()}),H4(t,f,u,r,b.flushObservable)}var v=U3(),y=k4(t,location),C=F4(t),k=x3(),E=k.observable,L=k.stop;l.push(L);var T=Q4(u,t,location,g,C,y,v,E,n,d),O=T.viewHistory,P=T.urlContexts,H=T.actionContexts,M=T.addAction,N=T.stop;l.push(N),C2();var F=p4(u,t,location,v,E,y,c,C,e,i),D=F.addTiming,W=F.startView,Y=F.setVie
1wName,le=F.setViewContext,_e=F.setViewContextProperty,Ie=F.stop;l.push(Ie);var pe=T5(u,t,C).stop;if(l.push(pe),Br(zr.LONG_ANIMATION_FRAME)){if(t.trackLongTasks){var et=Z4(u,t).stop;l.push(et)}}else p5(u,t);var xe=d5(u,t,C,c).addError;o0(u,t,g);var ne=m3(u,C,o),tt=G3(t.applicationId,g,O,H,P);return{addAction:M,addError:xe,addTiming:D,addFeatureFlagEvaluation:c.addFeatureFlagEvaluation,startView:W,setViewContext:le,setViewContextProperty:_e,setViewName:Y,lifeCycle:u,viewHistory:O,session:g,stopSession:function(){return g.expire()},getInternalContext:tt.get,startDurationVital:ne.startDurationVital,stopDurationVital:ne.stopDurationVital,addDurationVital:ne.addDurationVital,stop:function(){l.forEach(function(He){return He()})}}}function q4(t){var e=w2("browser-rum-sdk",t);if(Zr()){var r=Yi();e.observable.subscribe(function(n){return r.send("internal_telemetry",n)})}return e}function Q4(t,e,r,n,i,a,s,o,l,u){var f=Y3(t),d=T4(t,a,r),c=u5(t,s,o,e,i),h=j4(e),p=$4(e);return W3(e,t,n,f,d,c.actionContexts,h,p,l,u),{viewHistory:f,pageStateHistory:i,urlContexts:d,addAction:c.addAction,actionContexts:c.actionContexts,stop:function(){c.stop(),p.stop(),h.stop(),d.stop(),f.stop(),i.stop()}}}function G4(t,e){var r=e.session,n=e.viewContext,i=e.errorType,a=r?r.id:"no-session-id",s=[];i!==void 0&&s.push("error-type=".concat(i)),n&&(s.push("seed=".concat(n.id)),s.push("from=".concat(n.startClocks.timeStamp)));var o=K4(t),l="/rum/replay/sessions/".concat(a);return"".concat(o).concat(l,"?").concat(s.join("&"))}function K4(t){var e=t.site,r=t.subdomain||X4(t);return"https://".concat(r?"".concat(r,"."):"").concat(e)}function X4(t){switch(t.site){case k2:case T2:return"app";case E2:return"dd";default:return}}var Y4=10,yt;function J4(t){return sa(t).segments_count}function e6(t){sa(t).segments_count+=1}function t6(t){sa(t).records_count+=1}function r6(t,e){sa(t).segments_total_raw_size+=e}function n6(t){return yt==null?void 0:yt.get(t)}function sa(t){yt||(yt=new Map);var e;return yt.has(t)?e=yt.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},yt.set(t,e),yt.size>Y4&&i6()),e}function i6(){if(yt)if(yt.keys){var t=yt.keys().next().value;t&&yt.delete(t)}else{var e=!0;yt.forEach(function(r,n){e&&(yt.delete(n),e=!1)})}}var ks=new WeakMap;function nr(t){return ks.has(t)}function a6(t){for(var e=t;e;){if(!nr(e)&&!ws(e))return!1;e=ia(e)}return!0}function Tt(t){return ks.get(t)}function s6(t,e){ks.set(t,e)}function Ls(t,e){var r=t.tagName,n=t.value;if(aa(t,e)){var i=t.type;return r==="INPUT"&&(i==="button"||i==="submit"||i==="reset")?n:!n||r==="OPTION"?void 0:yr}if(r==="OPTION"||r==="SELECT")return t.value;if(!(r!=="INPUT"&&r!=="TEXTAREA"))return n}var o6=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,l6=/^[A-Za-z]+:|^\/\//,u6=/^data:.*,/i;function c6(t,e){return t.replace(o6,function(r,n,i,a,s,o){var l=i||s||o;if(!e||!l||l6.test(l)||u6.test(l))return r;var u=n||a||"";return"url(".concat(u).concat(f6(l,e)).concat(u,")")})}function f6(t,e){try{return L2(t,e).href}catch{return t}}var d6=/[^a-z1-6-_]/;function j1(t){var e=t.toLowerCase().trim();return d6.test(e)?"div":e}function Ul(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='".concat(t,"' height='").concat(e,"' style='background-color:silver'%3E%3C/svg%3E")}var rr={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},qr={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},Mt={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},Bt={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},xl={Play:0,Pause:1};function U1(t){if(!(t===void 0||t.length===0))return t.map(function(e){var r=e.cssRules||e.rules,n=Array.from(r,function(a){return a.cssText}),i={cssRules:n,disabled:e.disabled||void 0,media:e.media.length>0?Array.from(e.media):void 0};return i})}function x1(t,e,r,n){if(e===me.HIDDEN)return null;var i=t.getAttribute(r);if(e===me.MASK&&r!==Ss&&!C1.includes(r)&&r!==n.actionNameAttribute){var a=t.tagName;switch(r){case"title":case"alt":case"placeholder":return yr}
1if(a==="IMG"&&(r==="src"||r==="srcset")){var s=t;if(s.naturalWidth>0)return Ul(s.naturalWidth,s.naturalHeight);var o=t.getBoundingClientRect(),l=o.width,u=o.height;return l>0||u>0?Ul(l,u):Cl}if(a==="SOURCE"&&(r==="src"||r==="srcset"))return Cl;if(a==="A"&&r==="href"||i&&Rf(r,"data-")||a==="IFRAME"&&r==="srcdoc")return yr}return!i||typeof i!="string"?i:o1(i)?l1(i):i}function h6(t,e,r){var n;if(e===me.HIDDEN)return{};for(var i={},a=j1(t.tagName),s=t.ownerDocument,o=0;o<t.attributes.length;o+=1){var l=t.attributes.item(o),u=l.name,f=x1(t,e,u,r.configuration);f!==null&&(i[u]=f)}if(t.value&&(a==="textarea"||a==="select"||a==="option"||a==="input")){var d=Ls(t,e);d!==void 0&&(i.value=d)}if(a==="option"&&e===me.ALLOW){var c=t;c.selected&&(i.selected=c.selected)}if(a==="link"){var h=Array.from(s.styleSheets).find(function(k){return k.href===t.href}),p=Wa(h);p&&h&&(i._cssText=p)}if(a==="style"&&t.sheet){var p=Wa(t.sheet);p&&(i._cssText=p)}var g=t;if(a==="input"&&(g.type==="radio"||g.type==="checkbox")&&(e===me.ALLOW?i.checked=!!g.checked:aa(g,e)&&delete i.checked),a==="audio"||a==="video"){var b=t;i.rr_mediaState=b.paused?"paused":"played"}var v,y,C=r.serializationContext;switch(C.status){case 0:v=Math.round(t.scrollTop),y=Math.round(t.scrollLeft),(v||y)&&C.elementsScrollPositions.set(t,{scrollTop:v,scrollLeft:y});break;case 1:C.elementsScrollPositions.has(t)&&(n=C.elementsScrollPositions.get(t),v=n.scrollTop,y=n.scrollLeft);break}return y&&(i.rr_scrollLeft=y),v&&(i.rr_scrollTop=v),i}function Wa(t){if(!t)return null;var e;try{e=t.rules||t.cssRules}catch{}if(!e)return null;var r=Array.from(e,O2()?m6:B1).join("");return c6(r,t.href)}function m6(t){if(g6(t)&&t.selectorText.includes(":")){var e=/(\[[\w-]+[^\\])(:[^\]]+\])/g;return t.cssText.replace(e,"$1\\$2")}return B1(t)}function B1(t){return p6(t)&&Wa(t.styleSheet)||t.cssText}function p6(t){return"styleSheet"in t}function g6(t){return"selectorText"in t}function Os(t,e){var r=b6(t,e);if(!r)return null;var n=Tt(t)||_6(),i=r;return i.id=n,s6(t,n),e.serializedNodeIds&&e.serializedNodeIds.add(n),i}var v6=1;function _6(){return v6++}function Rs(t,e){var r=[];return m1(t,function(n){var i=Os(n,e);i&&r.push(i)}),r}function b6(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return y6(t,e);case t.DOCUMENT_FRAGMENT_NODE:return C6(t,e);case t.DOCUMENT_TYPE_NODE:return w6(t);case t.ELEMENT_NODE:return S6(t,e);case t.TEXT_NODE:return T6(t,e);case t.CDATA_SECTION_NODE:return k6()}}function y6(t,e){return{type:qr.Document,childNodes:Rs(t,e),adoptedStyleSheets:U1(t.adoptedStyleSheets)}}function C6(t,e){var r=ws(t);return r&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:qr.DocumentFragment,childNodes:Rs(t,e),isShadowRoot:r,adoptedStyleSheets:r?U1(t.adoptedStyleSheets):void 0}}function w6(t){return{type:qr.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId}}function S6(t,e){var r,n=j1(t.tagName),i=E6(t)||void 0,a=p1(g1(t),e.parentNodePrivacyLevel);if(a===me.HIDDEN){var s=t.getBoundingClientRect(),o=s.width,l=s.height;return{type:qr.Element,tagName:n,attributes:(r={rr_width:"".concat(o,"px"),rr_height:"".concat(l,"px")},r[Ss]=S0,r),childNodes:[],isSVG:i}}if(a!==me.IGNORE){var u=h6(t,a,e),f=[];if(w0(t)&&n!=="style"){var d=void 0;e.parentNodePrivacyLevel===a&&e.ignoreWhiteSpace===(n==="head")?d=e:d=Te({},e,{parentNodePrivacyLevel:a,ignoreWhiteSpace:n==="head"}),f=Rs(t,d)}return{type:qr.Element,tagName:n,attributes:u,childNodes:f,isSVG:i}}}function E6(t){return t.tagName==="svg"||t instanceof SVGElement}function T6(t,e){var r=v1(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(r!==void 0)return{type:qr.Text,textContent:r}}function k6(){return{type:qr.CDATA,textContent:""}}function L6(t,e,r){return Os(t,{serializationContext:r,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function z1(t){return!!t.changedTouches}function yi(t){return t.composed===!0&&na(t.target)?t.composedPath()[0]:t.target}var Bl=25;function O6(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>Bl||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>Bl}
1var R6=function(t,e){var r=window.visualViewport,n={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};if(r)O6(r)?(n.layoutViewportX=Math.round(t+r.offsetLeft),n.layoutViewportY=Math.round(e+r.offsetTop)):(n.visualViewportX=Math.round(t-r.offsetLeft),n.visualViewportY=Math.round(e-r.offsetTop));else return n;return n},$1=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function $t(t,e){return{data:Te({source:t},e),type:rr.IncrementalSnapshot,timestamp:Ot()}}var P6=50;function I6(t,e){var r=Gr(function(s){var o=yi(s);if(nr(o)){var l=Z1(s);if(!l)return;var u={id:Tt(o),timeOffset:0,x:l.x,y:l.y};e($t(z1(s)?Mt.TouchMove:Mt.MouseMove,{positions:[u]}))}},P6,{trailing:!1}),n=r.throttled,i=r.cancel,a=qt(t,document,["mousemove","touchmove"],n,{capture:!0,passive:!0}).stop;return{stop:function(){a(),i()}}}function Z1(t){var e=z1(t)?t.changedTouches[0]:t,r=e.clientX,n=e.clientY;if(window.visualViewport){var i=R6(r,n),a=i.visualViewportX,s=i.visualViewportY;r=a,n=s}if(!Number.isFinite(r)||!Number.isFinite(n)){t.isTrusted&&pn("mouse/touch event without x/y");return}return{x:r,y:n}}var xt,zl=(xt={},xt.pointerup=Bt.MouseUp,xt.mousedown=Bt.MouseDown,xt.click=Bt.Click,xt.contextmenu=Bt.ContextMenu,xt.dblclick=Bt.DblClick,xt.focus=Bt.Focus,xt.blur=Bt.Blur,xt.touchstart=Bt.TouchStart,xt.touchend=Bt.TouchEnd,xt);function H6(t,e,r){var n=function(i){var a=yi(i);if(!(sr(a,t.defaultPrivacyLevel)===me.HIDDEN||!nr(a))){var s=Tt(a),o=zl[i.type],l;if(o!==Bt.Blur&&o!==Bt.Focus){var u=Z1(i);if(!u)return;l={id:s,type:o,x:u.x,y:u.y}}else l={id:s,type:o};var f=Te({id:r.getIdForEvent(i)},$t(Mt.MouseInteraction,l));e(f)}};return qt(t,document,Object.keys(zl),n,{capture:!0,passive:!0})}var A6=100;function W1(t,e,r,n){n===void 0&&(n=document);var i=Gr(function(l){var u=yi(l);if(!(!u||sr(u,t.defaultPrivacyLevel)===me.HIDDEN||!nr(u))){var f=Tt(u),d=u===document?{scrollTop:Ts(),scrollLeft:V1()}:{scrollTop:Math.round(u.scrollTop),scrollLeft:Math.round(u.scrollLeft)};r.set(u,d),e($t(Mt.Scroll,{id:f,x:d.scrollLeft,y:d.scrollTop}))}},A6),a=i.throttled,s=i.cancel,o=st(t,n,"scroll",a,{capture:!0,passive:!0}).stop;return{stop:function(){o(),s()}}}var V6=200;function N6(t,e){var r=N1(t).subscribe(function(n){e($t(Mt.ViewportResize,n))});return{stop:function(){r.unsubscribe()}}}function M6(t,e){var r=window.visualViewport;if(!r)return{stop:ze};var n=Gr(function(){e({data:$1(r),type:rr.VisualViewport,timestamp:Ot()})},V6,{trailing:!1}),i=n.throttled,a=n.cancel,s=qt(t,r,["resize","scroll"],i,{capture:!0,passive:!0}).stop;return{stop:function(){s(),a()}}}function F6(t,e){return qt(t,document,["play","pause"],function(r){var n=yi(r);!n||sr(n,t.defaultPrivacyLevel)===me.HIDDEN||!nr(n)||e($t(Mt.MediaInteraction,{id:Tt(n),type:r.type==="play"?xl.Play:xl.Pause}))},{capture:!0,passive:!0})}function D6(t){function e(i,a){i&&nr(i.ownerNode)&&a(Tt(i.ownerNode))}var r=[jr(CSSStyleSheet.prototype,"insertRule",function(i){var a=i.target,s=i.parameters,o=s[0],l=s[1];e(a,function(u){return t($t(Mt.StyleSheetRule,{id:u,adds:[{rule:o,index:l}]}))})}),jr(CSSStyleSheet.prototype,"deleteRule",function(i){var a=i.target,s=i.parameters[0];e(a,function(o){return t($t(Mt.StyleSheetRule,{id:o,removes:[{index:s}]}))})})];typeof CSSGroupingRule<"u"?n(CSSGroupingRule):(n(CSSMediaRule),n(CSSSupportsRule));function n(i){r.push(jr(i.prototype,"insertRule",function(a){var s=a.target,o=a.parameters,l=o[0],u=o[1];e(s.parentStyleSheet,function(f){var d=$l(s);d&&(d.push(u||0),t($t(Mt.StyleSheetRule,{id:f,adds:[{rule:l,index:d}]})))})}),jr(i.prototype,"deleteRule",function(a){var s=a.target,o=a.parameters[0];e(s.parentStyleSheet,function(l){var u=$l(s);u&&(u.push(o),t($t(Mt.StyleSheetRule,{id:l,removes:[{index:u}]})))})}))}return{stop:function(){r.forEach(function(i){return i.stop()})}}}function $l(t){for(var e=[],r=t;r.parentRule;){var n=Array.from(r.parentRule.cssRules),i=n.indexOf(r);e.unshift(i),r=r.parentRule}if(r.parentStyleSheet){var a=Array.from(r.parentStyleSheet.cssRules),s=a.indexOf(r);return e.unshift(s),e}}
1function j6(t,e){return qt(t,window,["focus","blur"],function(){e({data:{has_focus:document.hasFocus()},type:rr.Focus,timestamp:Ot()})})}function U6(t,e,r){var n=t.subscribe(11,function(i){var a,s;i.rawRumEvent.type==="action"&&i.rawRumEvent.action.type==="click"&&(!((s=(a=i.rawRumEvent.action.frustration)===null||a===void 0?void 0:a.type)===null||s===void 0)&&s.length)&&"events"in i.domainContext&&i.domainContext.events&&i.domainContext.events.length&&e({timestamp:i.rawRumEvent.date,type:rr.FrustrationRecord,data:{frustrationTypes:i.rawRumEvent.action.frustration.type,recordIds:i.domainContext.events.map(function(o){return r.getIdForEvent(o)})}})});return{stop:function(){n.unsubscribe()}}}function x6(t,e){var r=t.subscribe(4,function(){e({timestamp:Ot(),type:rr.ViewEnd})});return{stop:function(){r.unsubscribe()}}}function q1(t,e,r){r===void 0&&(r=document);var n=t.defaultPrivacyLevel,i=new WeakMap,a=r!==document,s=qt(t,r,a?["change"]:["input","change"],function(d){var c=yi(d);(c instanceof HTMLInputElement||c instanceof HTMLTextAreaElement||c instanceof HTMLSelectElement)&&u(c)},{capture:!0,passive:!0}).stop,o;if(a)o=ze;else{var l=[wn(HTMLInputElement.prototype,"value",u),wn(HTMLInputElement.prototype,"checked",u),wn(HTMLSelectElement.prototype,"value",u),wn(HTMLTextAreaElement.prototype,"value",u),wn(HTMLSelectElement.prototype,"selectedIndex",u)];o=function(){l.forEach(function(d){return d.stop()})}}return{stop:function(){o(),s()}};function u(d){var c=sr(d,n);if(c!==me.HIDDEN){var h=d.type,p;if(h==="radio"||h==="checkbox"){if(aa(d,c))return;p={isChecked:d.checked}}else{var g=Ls(d,c);if(g===void 0)return;p={text:g}}f(d,p);var b=d.name;h==="radio"&&b&&d.checked&&R2(document.querySelectorAll('input[type="radio"][name="'.concat(Or(b),'"]')),function(v){v!==d&&f(v,{isChecked:!1})})}}function f(d,c){if(nr(d)){var h=i.get(d);(!h||h.text!==c.text||h.isChecked!==c.isChecked)&&(i.set(d,c),e($t(Mt.Input,Te({id:Tt(d)},c))))}}}var B6=100,z6=16;function $6(t){var e=ze,r=[];function n(){e(),t(r),r=[]}var i=Gr(n,z6,{leading:!1}),a=i.throttled,s=i.cancel;return{addMutations:function(o){r.length===0&&(e=Zf(a,{timeout:B6})),r.push.apply(r,o)},flush:n,stop:function(){e(),s()}}}function Q1(t,e,r,n){var i=Jf();if(!i)return{stop:ze,flush:ze};var a=$6(function(o){Z6(o.concat(s.takeRecords()),t,e,r)}),s=new i(be(a.addMutations));return s.observe(n,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){s.disconnect(),a.stop()},flush:function(){a.flush()}}}function Z6(t,e,r,n){var i=new Map;t.filter(function(c){return c.type==="childList"}).forEach(function(c){c.removedNodes.forEach(function(h){G1(h,n.removeShadowRoot)})});var a=t.filter(function(c){return c.target.isConnected&&a6(c.target)&&sr(c.target,r.defaultPrivacyLevel,i)!==me.HIDDEN}),s=W6(a.filter(function(c){return c.type==="childList"}),r,n,i),o=s.adds,l=s.removes,u=s.hasBeenSerialized,f=q6(a.filter(function(c){return c.type==="characterData"&&!u(c.target)}),r,i),d=Q6(a.filter(function(c){return c.type==="attributes"&&!u(c.target)}),r,i);!f.length&&!d.length&&!l.length&&!o.length||e($t(Mt.Mutation,{adds:o,removes:l,texts:f,attributes:d}))}function W6(t,e,r,n){for(var i=new Set,a=new Map,s=function(L){L.addedNodes.forEach(function(T){i.add(T)}),L.removedNodes.forEach(function(T){i.has(T)||a.set(T,L.target),i.delete(T)})},o=0,l=t;o<l.length;o++){var u=l[o];s(u)}var f=Array.from(i);G6(f);for(var d=new Set,c=[],h=0,p=f;h<p.length;h++){var g=p[h];if(!k(g)){var b=sr(g.parentNode,e.defaultPrivacyLevel,n);if(!(b===me.HIDDEN||b===me.IGNORE)){var v=Os(g,{serializedNodeIds:d,parentNodePrivacyLevel:b,serializationContext:{status:2,shadowRootsController:r},configuration:e});if(v){var y=ia(g);c.push({nextId:E(g),parentId:Tt(y),node:v})}}}}var C=[];return a.forEach(function(L,T){nr(T)&&C.push({parentId:Tt(L),id:Tt(T)})}),{adds:c,removes:C,hasBeenSerialized:k};function k(L){return nr(L)&&d.has(Tt(L))}function E(L){for(var T=L.nextSibling;T;){if(nr(T))return Tt(T);T=T.nextSibling}return null}}function q6(t,e,r){for(var n,i=[],a=new Set,s=t.filter(function(c){return a.has(c.target)?!1:(a.add(c.target),!0)}),o=0,l=s;o<l.length;o++){var u=l[o],f=u.target.textContent;if(f!==u.oldValue){var d=sr(ia(u.target),e.defaultPrivacyLevel,r);d===me.HIDDEN||d===me.IGNORE||i.push({id:Tt(u.target),value:(n=v1(u.target,!1,d))!==null&&n!==void 0?n:null})}}return i}function Q6(t,e,r){for(var n=[],i=new Map,a=t.filter(function(b){var v=i.get(b.target);return v&&v.has(b.attributeName)?!1:(v?v.add(b.attributeName):i.set(b.target,new Set([b.attributeName])),!0)}),s=new Map,o=0,l=a;o<l.length;o++){var u=l[o],f=u.target.getAttribute(u.attributeName);if(f!==u.oldValue){var d=sr(u.target,e.defaultPrivacyLevel,r),c=x1(u.target,d,u.attributeName,e),h=void 0;if(u.attributeName==="value"){var p=Ls(u.target,d);if(p===void 0)continue;h=p}else typeof c=="string"?h=c:h=null;var g=s.get(u.target);g||(g={id:Tt(u.target),attributes:{}},n.push(g),s.set(u.target,g)),g.attributes[u.attributeName]=h}}return n}function G6(t){t.sort(function(e,r){var n=e.compareDocumentPosition(r);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}function G1(t,e){na(t)&&e(t.shadowRoot),m1(t,function(r){return G1(r,e)})}function K6(){var t=new WeakMap;return{set:function(e,r){e===document&&!document.scrollingElement||t.set(e===document?document.scrollingElement:e,r)},get:function(e){return t.get(e)},has:function(e){return t.has(e)}}}var X6=function(t,e,r){var n=new Map,i={addShadowRoot:function(a){if
1(!n.has(a)){var s=Q1(e,t,i,a),o=q1(t,e,a),l=W1(t,e,r,a);n.set(a,{flush:function(){return s.flush()},stop:function(){s.stop(),o.stop(),l.stop()}})}},removeShadowRoot:function(a){var s=n.get(a);s&&(s.stop(),n.delete(a))},stop:function(){n.forEach(function(a){var s=a.stop;return s()})},flush:function(){n.forEach(function(a){var s=a.flush;return s()})}};return i};function Y6(t,e,r,n,i,a){var s=function(l,u){l===void 0&&(l=Ot()),u===void 0&&(u={status:0,elementsScrollPositions:t,shadowRootsController:e});var f=Wn(),d=f.width,c=f.height,h=[{data:{height:c,href:window.location.href,width:d},type:rr.Meta,timestamp:l},{data:{has_focus:document.hasFocus()},type:rr.Focus,timestamp:l},{data:{node:L6(document,n,u),initialOffset:{left:V1(),top:Ts()}},type:rr.FullSnapshot,timestamp:l}];return window.visualViewport&&h.push({data:$1(window.visualViewport),type:rr.VisualViewport,timestamp:l}),h};a(s());var o=r.subscribe(2,function(l){i(),a(s(l.startClocks.timeStamp,{shadowRootsController:e,status:1,elementsScrollPositions:t}))}).unsubscribe;return{stop:o}}function J6(){var t=new WeakMap,e=1;return{getIdForEvent:function(r){return t.has(r)||t.set(r,e++),t.get(r)}}}function em(t){var e=t.emit,r=t.configuration,n=t.lifeCycle;if(!e)throw new Error("emit function is required");var i=function(c){e(c),Uf("record",{record:c});var h=t.viewHistory.findView();t6(h.id)},a=K6(),s=X6(r,i,a),o=Y6(a,s,n,r,l,function(c){return c.forEach(function(h){return i(h)})}).stop;function l(){s.flush(),f.flush()}var u=J6(),f=Q1(i,r,s,document),d=[f,I6(r,i),H6(r,i,u),W1(r,i,a,document),N6(r,i),q1(r,i),F6(r,i),D6(i),j6(r,i),M6(r,i),U6(n,i,u),x6(n,function(c){l(),i(c)})];return{stop:function(){s.stop(),d.forEach(function(c){return c.stop()}),o()},flushMutations:l,shadowRootsController:s}}function tm(t,e,r){var n=new FormData;n.append("segment",new Blob([t],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start));var i=Te({raw_segment_size:r,compressed_segment_size:t.byteLength},e),a=JSON.stringify(i);return n.append("event",new Blob([a],{type:"application/json"})),{data:n,bytesCount:t.byteLength}}function rm(t){var e=t.context,r=t.creationReason,n=t.encoder,i=0,a=e.view.id,s=Te({start:1/0,end:-1/0,creation_reason:r,records_count:0,has_full_snapshot:!1,index_in_view:J4(a),source:"browser"},e);e6(a);function o(u,f){s.start=Math.min(s.start,u.timestamp),s.end=Math.max(s.end,u.timestamp),s.records_count+=1,s.has_full_snapshot||(s.has_full_snapshot=u.type===rr.FullSnapshot);var d=n.isEmpty?'{"records":[':",";n.write(d+JSON.stringify(u),function(c){i+=c,f(i)})}function l(u){if(n.isEmpty)throw new Error("Empty segment flushed");n.write("],".concat(JSON.stringify(s).slice(1),`
2`)),n.finish(function(f){r6(s.view.id,f.rawBytesCount),u(s,f)})}return{addRecord:o,flush:l}}var nm=5*Qt,K1=6e4;function im(t,e,r,n,i,a){return am(t,function(){return sm(e.applicationId,r,n)},i,a)}function am(t,e,r,n){var i={status:0,nextSegmentCreationReason:"init"},a=t.subscribe(2,function(){o("view_change")}).unsubscribe,s=t.subscribe(10,function(l){o(l.reason)}).unsubscribe;function o(l){i.status===1&&(i.segment.flush(function(u,f){var d=tm(f.output,u,f.rawBytesCount);P2(l)?r.sendOnExit(d):r.send(d)}),zt(i.expirationTimeoutId)),l!=="stop"?i={status:0,nextSegmentCreationReason:l}:i={status:2}}return{addRecord:function(l){if(i.status!==2){if(i.status===0){var u=e();if(!u)return;i={status:1,segment:rm({encoder:n,context:u,creationReason:i.nextSegmentCreationReason}),expirationTimeoutId:Zt(function(){o("segment_duration_limit")},nm)}}i.segment.addRecord(l,function(f){f>K1&&o("segment_bytes_limit")})}},stop:function(){o("stop"),a(),s()}}}function sm(t,e,r){var n=e.findTrackedSession(),i=r.findView();if(!(!n||!i))return{application:{id:t},session:{id:n.id},view:{id:i.id}}}function om(t){var e=Yi();return{addRecord:function(r){var n=t.findView();e.send("record",r,n.id)}}}function lm(t,e,r,n,i,a){var s=[],o=function(c){t.notify(13,{error:c}),pn("Error reported to customer",{"error.message":c.message})},l=a||I2(e.sessionReplayEndpointBuilder,K1,o),u;if(Zr())u=om(n).addRecord;else{var f=im(t,e,r,n,l,i);u=f.addRecord,s.push(f.stop)}var d=em({emit:u,configuration:e,lifeCycle:t,viewHistory:n}).stop;
2return s.push(d),{stop:function(){s.forEach(function(c){return c()})}}}function X1(t,e,r){var n=0,i=[],a,s=0,o=[],l=st(t,e,"message",function(d){var c=d.data;if(!(c.type!=="wrote"||c.streamId!==r)){n+=c.additionalBytesCount,i.push(c.result),a=c.trailer;var h=o.shift();h&&h.id===c.id?h.writeCallback?h.writeCallback(c.result.byteLength):h.finishCallback&&h.finishCallback():(l(),pn("Worker responses received out of order."))}}).stop;function u(){var d=i.length===0?new Uint8Array(0):H2(i.concat(a)),c={rawBytesCount:n,output:d,outputBytesCount:d.byteLength,encoding:"deflate"};return n=0,i=[],c}function f(){s>0&&(e.postMessage({action:"reset",streamId:r}),s=0)}return{isAsync:!0,get isEmpty(){return s===0},write:function(d,c){e.postMessage({action:"write",id:s,data:d,streamId:r}),o.push({id:s,writeCallback:c,data:d}),s+=1},finish:function(d){f(),o.length?(o.forEach(function(c){delete c.writeCallback}),o[o.length-1].finishCallback=function(){return d(u())}):d(u())},finishSync:function(){f();var d=o.map(function(c){return delete c.writeCallback,delete c.finishCallback,c.data}).join("");return Te(u(),{pendingData:d})},estimateEncodedBytesCount:function(d){return d.length/8},stop:function(){l()}}}var um=30*Qt;function Y1(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),h=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),_=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},U=function(t,e,a){var n,r,s=new Array(16),h=0;for(n=1;n<=i;n++)s[n]=h=h+a[n-1]<<1;for(r=0;r<=e;r++){var l=t[2*r+1];0!==l&&(t[2*r]=A(s[l]++,l))}},I=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},B=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},E=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},S=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&E(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!E(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},C=function(t,e,n){var r,i,l,_,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(l=f[i],x(t,l+a+1,e),0!==(_=s[l])&&(i-=c[l],z(t,i,_)),r--,l=y(r),x(t,l,n),0!==(_=h[l])&&(r-=v[l],z(t,r,_)))}while(o<t.last_lit);x(t,256,e)},D=function(t,e){var a,n,r,s=e.dyn_tree,h=e.stat_desc.static_tree,l=e.stat_desc.has_stree,_=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<_;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,l&&(t.static_len-=h[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)S(t,s,a);r=_;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],S(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,S(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,h,l,_=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(_[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=_[2*_[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),_[2*n+1]=s,n>o||(t.bl_count[s]++,h=0,n>=c&&(h=f[n-c]),l=_[2*n],t.opt_len+=l*(s+h),u&&(t.static_len+=l*(d[2*n+1]+h)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;
vendor: 17,279 bytes, line 2
2)(r=t.heap[--a])>o||(_[2*r+1]!==s&&(t.opt_len+=(s-_[2*r+1])*_[2*r],_[2*r+1]=s),n--)}}(t,e),U(s,o,t.bl_count)},j=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},M=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{x(t,r,t.bl_tree)}while(0!=--h);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),h--),x(t,16,t.bl_tree),z(t,h-3,2)):h<=10?(x(t,17,t.bl_tree),z(t,h-3,3)):(x(t,18,t.bl_tree),z(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},L=!1,T=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){B(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},H=function(t,e,n,r){var i,s,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),h=function(t){var e;for(j(t,t.dyn_ltree,t.l_desc.max_code),j(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*_[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?T(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),C(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*_[r]+1],3);M(t,t.dyn_ltree,e-1),M(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),C(t,t.dyn_ltree,t.dyn_dtree)),I(t),r&&B(t)},R={_tr_init:function(t){L||(!function(){var t,e,a,_,m,y=new Array(16);for(a=0,_=0;_<28;_++)for(c[_]=a,t=0;t<1<<s[_];t++)f[a++]=_;for(f[a-1]=_,m=0,_=0;_<16;_++)for(v[_]=m,t=0;t<1<<h[_];t++)u[m++]=_;for(m>>=7;_<r;_++)for(v[_]=m<<7,t=0;t<1<<h[_]-7;t++)u[256+m++]=_;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(U(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,h,0,r,i),w=new b(new Array(0),l,0,19,7)}(),L=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,I(t)},_tr_stored_block:T,_tr_flush_block:H,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},K=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},N=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=N,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return~t},q={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},F=0,G=2,J=3,P=4,Q=0,V=1,W=-1,X=0,Y=8,Z=R._tr_init,$=R._tr_stored_block,tt=R._tr_flush_block,et=R._tr_tally,at=R._tr_align,nt=F,rt=1,it=J,st=P,ht=5,lt=Q,_t=V,ot=-2,dt=-3,ut=-5,ft=W,ct=1,pt=2,gt=3,wt=4,vt=X,bt=2,mt=Y,yt=258,kt=262,zt=103,xt=113,At=666,Ut=function(t,e){return t.msg=q[e],e},It=function(t){return(t<<1)-(t>4?9:0)},Bt=function(t){for(var e=t.length;--e>=0;)t[e]=0},Et=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},St=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Ct=function(t,e){tt(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,St(t.strm)},Dt=function(t,e){t.pending_buf[t.pending++]=e},jt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Mt=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-kt?t.strstart-(t.w_size-kt):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+yt,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=yt-(u-i),i=u-yt,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!=--r);return s<=t.lookahead?s:t.lookahead},Lt=function(t){var e,a,n,r,i,s,h,l,_,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-kt)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,h=t.window,l=t.strstart+t.lookahead,_=r,o=void 0,(o=s.avail_in)>_&&(o=_),a=0===o?0:(s.avail_in-=o,h.set(s.input.subarray(s.next_in,s.next_in+o),l),1===s.state.wrap?s.adler=K(s.adler,h,o,l):2===s.state.wrap&&(s.adler=O(s.adler,h,o,l)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=Et(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=Et(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<kt&&0!==t.strm.avail_in)},Tt=function(t,e){for(var a,n;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-kt&&(t.match_length=Mt(t,a)),t.match_length>=3)if(n=et(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=Et(t,t.ins_h,t.window[t.strstart+1]);else n=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2},Ht=function(t,e){for(var a,n,r;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-kt&&(t.match_length=Mt(t,a),t.match_length<=5&&(t.strategy===ct||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=et(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Ct(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=et(t,0,t.window[t.strstart-1]))&&Ct(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=et(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Kt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Lt(t),0===t.lookahead&&e===nt)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Ct(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-kt&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ct(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Tt),new Rt(4,5,16,8,Tt),new Rt(4,6,32,32,Tt),new Rt(4,4,16,16,Ht),new Rt(8,16,32,32,Ht),new Rt(8,16,128,128,Ht),new Rt(8,32,128,256,Ht),new Rt(32,128,258,1024,Ht),new Rt(32,258,258,4096,Ht)];function Nt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=mt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Bt(this.dyn_ltree),Bt(this.dyn_dtree),Bt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Bt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Bt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(t){if(!t||!t.state)return Ut(t,ot);t.total_in=t.total_out=0,t.data_type=bt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:xt,t.adler=2===e.wrap?0:1,e.last_flush=nt,Z(e),lt},qt=function(t){var e,a=Ot(t);return a===lt&&((e=t.state).window_size=2*e.w_size,Bt(e.head),e.max_lazy_match=Kt[e.level].max_lazy,e.good_match=Kt[e.level].good_length,e.nice_match=Kt[e.level].nice_length,e.max_chain_length=Kt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Ft=function(t,e,a,n,r,i){if(!t)return ot;var s=1;if(e===ft&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==mt||n<8||n>15||e<0||e>9||i<0||i>wt)return Ut(t,ot);8===n&&(n=9);var h=new Nt;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,qt(t)},Gt={deflateInit:function(t,e){return Ft(t,e,mt,15,8,vt)},deflateInit2:Ft,deflateReset:qt,deflateResetKeep:Ot,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?ot:(t.state.gzhead=e,lt):ot},deflate:function(t,e){var a,n;if(!t||!t.state||e>ht||e<0)return t?Ut(t,ot):ot;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===At&&e!==st)return Ut(t,0===t.avail_out?ut:ot);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Dt(r,31),Dt(r,139),Dt(r,8),r.gzhead?(Dt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Dt(r,255&r.gzhead.time),Dt(r,r.gzhead.time>>8&255),Dt(r,r.gzhead.time>>16&255),Dt(r,r.gzhead.time>>24&255),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Dt(r,255&r.gzhead.extra.length),Dt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,3),r.status=xt);else{var s=mt+(r.w_bits-8<<4)<<8;s|=(r.strategy>=pt||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=xt,jt(r,s),0!==r.strstart&&(jt(r,t.adler>>>16),jt(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending!==r.pending_buf_size));)Dt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=zt)}else r.status=zt;if(r.status===zt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&St(t),r.pending+2<=r.pending_buf_size&&(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),t.adler=0,r.status=xt)):r.status=xt),0!==r.pending){if(St(t),0===t.avail_out)return r.last_flush=-1,lt}else if(0===t.avail_in&&It(e)<=It(i)&&e!==st)return Ut(t,ut);if(r.status===At&&0!==t.avail_in)return Ut(t,ut);if(0!==t.avail_in||0!==r.lookahead||e!==nt&&r.status!==At){var h=r.strategy===pt?function(t,e){for(var a;;){if(0===t.lookahead&&(Lt(t),0===t.lookahead)){if(e===nt)return 1;break}if(t.match_length=0,a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===gt?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=yt){if(Lt(t),t.lookahead<=yt&&e===nt)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+yt;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=yt-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=et(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):Kt[r.level].func(r,e);if(3!==h&&4!==h||(r.status=At),1===h||3===h)return 0===t.avail_out&&(r.last_flush=-1),lt;if(2===h&&(e===rt?at(r):e!==ht&&($(r,0,0,!1),e===it&&(Bt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),St(t),0===t.avail_out))return r.last_flush=-1,lt}return e!==st?lt:r.wrap<=0?_t:(2===r.wrap?(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),Dt(r,t.adler>>16&255),Dt(r,t.adler>>24&255),Dt(r,255&t.total_in),Dt(r,t.total_in>>8&255),Dt(r,t.total_in>>16&255),Dt(r,t.total_in>>24&255)):(jt(r,t.adler>>>16),jt(r,65535&t.adler)),St(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?lt:_t)},deflateEnd:function(t){if(!t||!t.state)return ot;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==zt&&e!==xt&&e!==At?Ut(t,ot):(t.state=null,e===xt?Ut(t,dt):lt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return ot;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return ot;if(1===r&&(t.adler=K(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(Bt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
2i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Lt(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=Et(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,Lt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,lt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Jt=new Uint8Array(256),Pt=0;Pt<256;Pt++)Jt[Pt]=Pt>=252?6:Pt>=248?5:Pt>=240?4:Pt>=224?3:Pt>=192?2:1;Jt[254]=Jt[254]=1;var Qt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Vt=Object.prototype.toString,Wt=F,Xt=G,Yt=J,Zt=P,$t=Q,te=V,ee=W,ae=X,ne=Y;function re(){this.options={level:ee,method:ne,chunkSize:16384,windowBits:15,memLevel:8,strategy:ae};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var e=Gt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==$t)throw new Error(q[e]);if(t.header&&Gt.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Vt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Gt.deflateSetDictionary(this.strm,a))!==$t)throw new Error(q[e]);this._dict_set=!0}}function ie(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function se(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}re.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Zt:Wt,"[object ArrayBuffer]"===Vt.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Xt||n===Yt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Gt.deflate(r,n))===te)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Gt.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===$t;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},re.prototype.onData=function(t){this.chunks.push(t)},re.prototype.onEnd=function(t){t===$t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.35.0"};case"write":var n=e.get(a.streamId);n||(n=new re,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,G),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:se(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){ie(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){ie(e,t)}}()}();'])))}var Xe={status:0};function J1(t,e,r,n){switch(n===void 0&&(n=Y1),Xe.status===0&&cm(t,e,n),Xe.status){case 1:return Xe.initializationFailureCallbacks.push(r),Xe.worker;case 3:return Xe.worker}}function Zl(){return Xe.status}function cm(t,e,r){r===void 0&&(r=Y1);try{var n=r(t),i=st(t,n,"error",function(o){Sa(t,e,o)}).stop,a=st(t,n,"message",function(o){var l=o.data;l.type==="errored"?Sa(t,e,l.error,l.streamId):l.type==="initialized"&&dm(l.version)}).stop;n.postMessage({action:"init"}),Zt(function(){return fm(e)},um);var s=function(){i(),a()};Xe={status:1,worker:n,stop:s,initializationFailureCallbacks:[]}}catch(o){Sa(t,e,o)}}function fm(t){Xe.status===1&&(Lt.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),Xe.initializationFailureCallbacks.forEach(function(e){return e()}),Xe={status:2})}function dm(t){Xe.status===1&&(Xe={status:3,worker:Xe.worker,stop:Xe.stop,version:t})}function Sa(t,e,r,n){if(Xe.status===1||Xe.status===0){if(Lt.error("".concat(e," failed to start: an error occurred while creating the Worker:"),r),r instanceof Event||r instanceof Error&&hm(r.message)){var i=void 0;t.workerUrl?i="Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):i="Please make sure CSP is correctly configured.",Lt.error("".concat(i," See documentation at ").concat(A2,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else ol(r);Xe.status===1&&Xe.initializationFailureCallbacks.forEach(function(a){return a()}),Xe={status:2}}else ol(r,{worker_version:Xe.status===3&&Xe.version,stream_id:n})}function hm(t){return Wr(t,"Content Security Policy")||Wr(t,"requires 'TrustedScriptURL'")}function ed(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function mm(t,e,r,n){var i=e.findTrackedSession(),a=pm(i,n),s=r.findView();return G4(t,{viewContext:s,errorType:a,session:i})}function pm(t,e){if(!ed())return"browser-not-supported";if(!t)return"rum-not-tracked";if(t.sessionReplay===0)return"incorrect-session-plan";if(!e)return"replay-not-started"}function gm(t,e,r,n,i,a){var s=0;e.subscribe(8,function(){(s===2||s===3)&&(l(),s=1)}),e.subscribe(10,function(f){f.reason===Ff.UNLOADING&&l()}),e.subscribe(9,function(){s===1&&o()});function o(f){var d=r.findTrackedSession();if(vm(d,f)){s=1;return}_m(s)||(s=2,_s(t,"interactive",function(){if(s===2){var c=a();if(!c){s=0;return}u=i(e,t,r,n,c).stop,s=3}}),bm(d,f)&&r.setForcedReplay())}function l(){s!==0&&s===3&&(u==null||u()),s=0}var u;return{start:o,stop:l,getSessionReplayLink:function(){return mm(t,r,n,s!==0)},isRecording:function(){return s===3}}}function vm(t,e){return!t||t.sessionReplay===0&&(!e||!e.force)}function _m(t){return t===2||t===3}function bm(t,e){return e&&e.force&&t.sessionReplay===0}function ym(){var t=0;return{strategy:{start:function(){t=1},stop:function(){t=2},isRecording:function(){return!1},getSessionReplayLink:ze},shouldStartImmediately:function(e){return t===1||t===0&&!e.startSessionReplayRecordingManually}}}function Cm(t,e){if(Zr()&&!jf("records")||!ed())return{start:ze,stop:ze,getReplayStats:function(){},onRumStart:ze,isRecording:function(){return!1},getSessionReplayLink:function(){}};var r=ym(),n=r.strategy,i=r.shouldStartImmediately;return{start:function(s){return n.start(s)},stop:function(){return n.stop()},getSessionReplayLink:function(){return n.getSessionReplayLink()},onRumStart:a,isRecording:function(){return Zl()===3&&n.isRecording()},getReplayStats:function(s){return Zl()===3?n6(s):void 0}};function a(s,o,l,u,f){var d;function c(){return d||(f??(f=J1(o,"Datadog Session Replay",function(){n.stop()},e)),f&&(d=X1(o,f,1))),d}n=gm(o,s,l,u,t,c),i(o)&&n.start()}}var wm=Cm(lm),Sm=D3(W4,wm,{startDeflateWorker:J1,createDeflateEncoder:X1});V2(N2(),"DD_RUM",Sm);const Em="us3.datadoghq.com",Tm="obamaorg-swa",km="prod";let td=parseInt("15")||0;const Lm=t=>{let e=!1,r="(googlebot/|bot|Electron|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)";return e=new RegExp(r,"i").test(t),e&&(td=0),e},Om=()=>M2.init({clientToken:"pube921d81ae411f7c86240dffd9cc9cb8c",site:Em,version:"9f953c0363cfbeb0f22936338384545821e4c987",service:Tm,env:km,forwardErrorsToLogs:!0,sessionSampleRate:td,trackingConsent:xf()?"granted":"not-granted"});function Wl(t){let e,r;return{c(){e=$("script"),this.h()},l(n){e=Z(n,"SCRIPT",{src:!0});var i=S(e);
2i.forEach(_),this.h()},h(){e.async=!0,xn(e.src,r=t[0])||m(e,"src",r)},m(n,i){j(n,e,i)},p(n,i){i&1&&!xn(e.src,r=n[0])&&m(e,"src",r)},d(n){n&&_(e)}}}function Rm(t){let e,r,n=t[0]&&Wl(t);return{c(){n&&n.c(),e=ie(),r=J()},l(i){const a=Gi("svelte-1pj74uq",document.head);n&&n.l(a),e=ie(),a.forEach(_),r=ee(i)},m(i,a){n&&n.m(document.head,null),w(document.head,e),j(i,r,a)},p(i,[a]){i[0]?n?n.p(i,a):(n=Wl(i),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:ce,o:ce,d(i){i&&_(r),n&&n.d(i),_(e)}}}function Pm(t,e,r){let{gtmContainerId:n="GTM-PTGC6WQ"}=e,{gtmDebugParams:i={}.VITE_GTM_DEBUG_PARAMS}=e,{scriptSrc:a}=e,s;return dn(()=>{s=setInterval(()=>{window.oneTrustWrapperHasExecuted&&window.vwoHelperHasExecuted&&(r(0,a=F2(n)(i)),window.OneTrust.OnConsentChanged(D2),window.gtmIsInitialized=!0,clearInterval(s))},100)}),t.$$set=o=>{"gtmContainerId"in o&&r(1,n=o.gtmContainerId),"gtmDebugParams"in o&&r(2,i=o.gtmDebugParams),"scriptSrc"in o&&r(0,a=o.scriptSrc)},[a,n,i]}class Im extends de{constructor(e){super(),he(this,e,Pm,Rm,fe,{gtmContainerId:1,gtmDebugParams:2,scriptSrc:0})}}function Hm(t){let e;const r=t[3].default,n=Ze(r,t,t[2],null);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4)&&We(n,r,i,i[2],e?Qe(r,i[2],a,null):qe(i[2]),null)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Am(t){let e,r,n;const i=t[3].default,a=Ze(i,t,t[2],null);return{c(){e=$("div"),a&&a.c(),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);a&&a.l(o),o.forEach(_),this.h()},h(){m(e,"class",t[1])},m(s,o){j(s,e,o),a&&a.m(e,null),n=!0},p(s,o){a&&a.p&&(!n||o&4)&&We(a,i,s,s[2],n?Qe(i,s[2],o,null):qe(s[2]),null),(!n||o&2)&&m(e,"class",s[1])},i(s){n||(R(a,s),Ye(()=>{n&&(r||(r=tr(e,Ni,{duration:500,easing:it},!0)),r.run(1))}),n=!0)},o(s){I(a,s),r||(r=tr(e,Ni,{duration:500,easing:it},!1)),r.run(0),n=!1},d(s){s&&_(e),a&&a.d(s),s&&r&&r.end()}}}function Vm(t){let e,r,n,i;const a=[Am,Hm],s=[];function o(l,u){return l[0]?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=ie()},l(l){r.l(l),n=ie()},m(l,u){s[e].m(l,u),j(l,n,u),i=!0},p(l,[u]){let f=e;e=o(l),e===f?s[e].p(l,u):(ae(),I(s[f],1,1,()=>{s[f]=null}),se(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),R(r,1),r.m(n.parentNode,n))},i(l){i||(R(r),i=!0)},o(l){I(r),i=!1},d(l){l&&_(n),s[e].d(l)}}}function Nm(t,e,r){let{$$slots:n={},$$scope:i}=e,{shouldAnimate:a=!1}=e,{class:s=""}=e;return t.$$set=o=>{"shouldAnimate"in o&&r(0,a=o.shouldAnimate),"class"in o&&r(1,s=o.class),"$$scope"in o&&r(2,i=o.$$scope)},[a,s,i,n]}class Mm extends de{constructor(e){super(),he(this,e,Nm,Vm,fe,{shouldAnimate:0,class:1})}}const Fm=t=>({}),ql=t=>({});function Ql(t){let e,r;return e=new Mm({props:{class:"relative z-top-banner",shouldAnimate:!0,$$slots:{default:[xm]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&1199&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Gl(t){let e,r;return{c(){e=$("div"),r=Me(t[1]),this.h()},l(n){e=Z(n,"DIV",{id:!0,class:!0});var i=S(e);
2r=Fe(i,t[1]),i.forEach(_),this.h()},h(){m(e,"id","banner-title"),m(e,"class","heading-xs"),Ft(e,"text-center",t[6])},m(n,i){j(n,e,i),w(e,r)},p(n,i){i&2&&Je(r,n[1])},d(n){n&&_(e)}}}function Kl(t){let e,r;return e=new B2({props:{id:"banner-body",class:"body-sm sm:block md:block",input:t[2]}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&4&&(a.input=n[2]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Xl(t){let e,r;const n=t[9].cta,i=Ze(n,t,t[10],ql),a=i||Um(t);return{c(){e=$("div"),a&&a.c(),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);a&&a.l(o),o.forEach(_),this.h()},h(){m(e,"class","flex-none self-start md:self-end")},m(s,o){j(s,e,o),a&&a.m(e,null),r=!0},p(s,o){i?i.p&&(!r||o&1024)&&We(i,n,s,s[10],r?Qe(n,s[10],o,Fm):qe(s[10]),ql):a&&a.p&&(!r||o&40)&&a.p(s,r?o:-1)},i(s){r||(R(a,s),r=!0)},o(s){I(a,s),r=!1},d(s){s&&_(e),a&&a.d(s)}}}function Dm(t){let e,r;return e=new fr({props:{id:t[3].id,label:t[3].text,url:t[3].url,variant:t[3].type}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8&&(a.id=n[3].id),i&8&&(a.label=n[3].text),i&8&&(a.url=n[3].url),i&8&&(a.variant=n[3].type),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function jm(t){let e,r;return e=new mr({props:{id:t[3].id,class:"flex flex-row "+t[5].textColor,variant:"medium",label:t[3].text,href:t[3].url,isExternal:t[3].isExternal}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8&&(a.id=n[3].id),i&32&&(a.class="flex flex-row "+n[5].textColor),i&8&&(a.label=n[3].text),i&8&&(a.href=n[3].url),i&8&&(a.isExternal=n[3].isExternal),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Um(t){let e,r,n,i;const a=[jm,Dm],s=[];function o(l,u){return l[3].type==="textLink"?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=ie()},l(l){r.l(l),n=ie()},m(l,u){s[e].m(l,u),j(l,n,u),i=!0},p(l,u){let f=e;e=o(l),e===f?s[e].p(l,u):(ae(),I(s[f],1,1,()=>{s[f]=null}),se(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),R(r,1),r.m(n.parentNode,n))},i(l){i||(R(r),i=!0)},o(l){I(r),i=!1},d(l){l&&_(n),s[e].d(l)}}}function xm(t){let e,r,n,i,a,s,o,l=t[1]&&Gl(t),u=t[2]&&Kl(t),f=(t[3]||t[7].cta)&&Xl(t);return{c(){e=$("div"),r=$("div"),n=$("div"),l&&l.c(),i=J(),u&&u.c(),a=J(),f&&f.c(),this.h()},l(d){e=Z(d,"DIV",{id:!0,class:!0,role:!0,"aria-labelledby":!0,"aria-describedby":!0});var c=S(e);r=Z(c,"DIV",{class:!0});var h=S(r);n=Z(h,"DIV",{class:!0});var p=S(n);l&&l.l(p),i=ee(p),u&&u.l(p),p.forEach(_),a=ee(h),f&&f.l(h),h.forEach(_),c.forEach(_),this.h()},h(){m(n,"class","my-auto flex flex-col gap-5"),Ft(n,"lg:max-w-[70%]",!!t[3]),m(r,"class","mx-auto flex max-w-container-content-max flex-col justify-start gap-10 px-7.5 py-4 md:flex-row md:justify-between md:gap-15 lg:gap-[30px] lg:px-15 lg:py-5"),Ft(r,"!justify-center",t[6]),m(e,"id",t[0]),m(e,"class",s="relative "+t[5].backgroundColor+" "+t[5].textColor+" w-full"),m(e,"role","alert"),m(e,"aria-labelledby","banner-title"),m(e,"aria-describedby","banner-body")},m(d,c){j(d,e,c),w(e,r),w(r,n),l&&l.m(n,null),w(n,i),u&&u.m(n,null),w(r,a),f&&f.m(r,null),o=!0},p(d,c){d[1]?l?l.p(d,c):(l=Gl(d),l.c(),l.m(n,i)):l&&(l.d(1),l=null),d[2]?u?(u.p(d,c),c&4&&R(u,1)):(u=Kl(d),u.c(),R(u,1),u.m(n,null)):u&&(ae(),I(u,1,1,()=>{u=null}),se()),(!o||c&8)&&Ft(n,"lg:max-w-[70%]",!!d[3]),d[3]||d[7].cta?f?(f.p(d,c),c&136&&R(f,1)):(f=Xl(d),f.c(),R(f,1),f.m(r,null)):f&&(ae(),I(f,1,1,()=>{f=null}),se()),(!o||c&1)&&m(e,"id",d[0]),(!o||c&32&&s!==(s="relative "+d[5].backgroundColor+" "+d[5].textColor+" w-full"))&&m(e,"class",s)},i(d){o||(R(u),R(f),o=!0)},o(d){I(u),I(f),o=!1},d(d){d&&_(e),l&&l.d(),u&&u.d(),f&&f.d()}}}function Bm(t){let e,r,n=!t[4]&&Ql(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,[a]){i[4]?n&&(ae(),I(n,1,1,()=>{n=null}),se()):n?(n.p(i,a),a&16&&R(n,1)):(n=Ql(i),n.c(),R(n,1),n.m(e.parentNode,e))},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}
2function zm(t,e,r){let n,{$$slots:i={},$$scope:a}=e;const s=Eh(i);let{id:o=void 0}=e,{title:l=""}=e,{body:u=""}=e,{cta:f=void 0}=e,{themeName:d}=e,{isHidden:c=!1}=e;const h=!u&&!f;return t.$$set=p=>{"id"in p&&r(0,o=p.id),"title"in p&&r(1,l=p.title),"body"in p&&r(2,u=p.body),"cta"in p&&r(3,f=p.cta),"themeName"in p&&r(8,d=p.themeName),"isHidden"in p&&r(4,c=p.isHidden),"$$scope"in p&&r(10,a=p.$$scope)},t.$$.update=()=>{t.$$.dirty&256&&r(5,n=ft(d??"lightBlue"))},[o,l,u,f,c,n,h,s,d,i,a]}class Ps extends de{constructor(e){super(),he(this,e,zm,Bm,fe,{id:0,title:1,body:2,cta:3,themeName:8,isHidden:4})}}const St=t=>t,ct=t=>t;function Yl(t,e,r){const n=t.slice();return n[5]=e[r],n[7]=r,n}function Jl(t){let e,r;return{c(){e=$("div"),r=Me(t[1]),this.h()},l(n){e=Z(n,"DIV",{class:!0});var i=S(e);r=Fe(i,t[1]),i.forEach(_),this.h()},h(){m(e,"class","label pb-8")},m(n,i){j(n,e,i),w(e,r)},p(n,i){i&2&&Je(r,n[1])},d(n){n&&_(e)}}}function $m(t){let e,r,n=ct(t[5]).name+"",i,a,s,o,l,u=Lr(ct(t[5]).hours)+"",f,d;return{c(){e=$("li"),r=$("div"),i=Me(n),s=J(),o=$("p"),l=new ci(!1),d=J(),this.h()},l(c){e=Z(c,"LI",{class:!0});var h=S(e);r=Z(h,"DIV",{class:!0});var p=S(r);i=Fe(p,n),p.forEach(_),s=ee(h),o=Z(h,"P",{class:!0});var g=S(o);l=fi(g,!1),g.forEach(_),d=ee(h),h.forEach(_),this.h()},h(){var c,h;m(r,"class",a="label "+((c=t[4])==null?void 0:c.textColor)),l.a=null,m(o,"class",f="body-sm "+((h=t[4])==null?void 0:h.translucentTextColor)),m(e,"class","flex flex-col gap-y-1 py-4")},m(c,h){j(c,e,h),w(e,r),w(r,i),w(e,s),w(e,o),l.m(u,o),w(e,d)},p(c,h){var p,g;h&4&&n!==(n=ct(c[5]).name+"")&&Je(i,n),h&16&&a!==(a="label "+((p=c[4])==null?void 0:p.textColor))&&m(r,"class",a),h&4&&u!==(u=Lr(ct(c[5]).hours)+"")&&l.p(u),h&16&&f!==(f="body-sm "+((g=c[4])==null?void 0:g.translucentTextColor))&&m(o,"class",f)},i:ce,o:ce,d(c){c&&_(e)}}}function Zm(t){let e,r,n,i,a,s,o,l,u;const f=[Qm,qm],d=[];function c(h,p){return p&4&&(r=null),r==null&&(r=!!ct(h[5]).addressLink),r?0:1}return n=c(t,-1),i=d[n]=f[n](t),o=new mr({props:{class:"block md:inline-flex",href:ct(t[5]).phone?`tel:${ct(t[5]).phone}`:void 0,label:ct(t[5]).phone,showLinkArrowOnHover:!0,variant:"medium",theme:t[3]}}),{c(){e=$("li"),i.c(),a=J(),s=$("li"),Q(o.$$.fragment),l=J(),this.h()},l(h){e=Z(h,"LI",{class:!0});var p=S(e);i.l(p),p.forEach(_),a=ee(h),s=Z(h,"LI",{class:!0});var g=S(s);X(o.$$.fragment,g),l=ee(g),g.forEach(_),this.h()},h(){m(e,"class","w-[180px] py-3 lg:w-[220px] xl:w-[280px]"),m(s,"class","mb-3 py-3")},m(h,p){j(h,e,p),d[n].m(e,null),j(h,a,p),j(h,s,p),G(o,s,null),w(s,l),u=!0},p(h,p){let g=n;n=c(h,p),n===g?d[n].p(h,p):(ae(),I(d[g],1,1,()=>{d[g]=null}),se(),i=d[n],i?i.p(h,p):(i=d[n]=f[n](h),i.c()),R(i,1),i.m(e,null));const b={};p&4&&(b.href=ct(h[5]).phone?`tel:${ct(h[5]).phone}`:void 0),p&4&&(b.label=ct(h[5]).phone),p&8&&(b.theme=h[3]),o.$set(b)},i(h){u||(R(i),R(o.$$.fragment,h),u=!0)},o(h){I(i),I(o.$$.fragment,h),u=!1},d(h){h&&(_(e),_(a),_(s)),d[n].d(),K(o)}}}function Wm(t){let e,r,n,i;return r=new mr({props:{id:St(t[5]).id,class:"block md:inline-flex",href:St(t[5]).href,label:St(t[5]).text,variant:"medium",isExternal:St(t[5]).isExternal,showLinkArrowOnHover:!St(t[5]).isExternal,hideInternalLinkArrow:!!St(t[5]).iconName,leadingIcon:St(t[5]).iconName,theme:t[3]}}),{c(){e=$("li"),Q(r.$$.fragment),n=J(),this.h()},l(a){e=Z(a,"LI",{class:!0});var s=S(e);X(r.$$.fragment,s),s.forEach(_),n=ee(a),this.h()},h(){m(e,"class","py-3")},m(a,s){j(a,e,s),G(r,e,null),j(a,n,s),i=!0},p(a,s){const o={};s&4&&(o.id=St(a[5]).id),s&4&&(o.href=St(a[5]).href),s&4&&(o.label=St(a[5]).text),s&4&&(o.isExternal=St(a[5]).isExternal),s&4&&(o.showLinkArrowOnHover=!St(a[5]).isExternal),s&4&&(o.hideInternalLinkArrow=!!St(a[5]).iconName),s&4&&(o.leadingIcon=St(a[5]).iconName),s&8&&(o.theme=a[3]),r.$set(o)},i(a){i||(R(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&(_(e),_(n)),K(r)}}}function qm(t){let e,r,n=Lr(ct(t[5]).address)+"",i;return{c(){e=$("div"),r=new ci(!1),this.h()},l(a){e=Z(a,"DIV",{class:!0});var s=S(e);
2r=fi(s,!1),s.forEach(_),this.h()},h(){var a;r.a=null,m(e,"class",i="cta-md "+((a=t[4])==null?void 0:a.textColor))},m(a,s){j(a,e,s),r.m(n,e)},p(a,s){var o;s&4&&n!==(n=Lr(ct(a[5]).address)+"")&&r.p(n),s&16&&i!==(i="cta-md "+((o=a[4])==null?void 0:o.textColor))&&m(e,"class",i)},i:ce,o:ce,d(a){a&&_(e)}}}function Qm(t){let e,r;return e=new mr({props:{class:"block !leading-medium-extra md:inline-flex",href:ct(t[5]).addressLink,showLinkArrowOnHover:!0,variant:"medium",theme:t[3],$$slots:{default:[Gm]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&4&&(a.href=ct(n[5]).addressLink),i&8&&(a.theme=n[3]),i&260&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Gm(t){let e,r=Lr(ct(t[5]).address)+"",n;return{c(){e=new ci(!1),n=ie(),this.h()},l(i){e=fi(i,!1),n=ie(),this.h()},h(){e.a=n},m(i,a){e.m(r,i,a),j(i,n,a)},p(i,a){a&4&&r!==(r=Lr(ct(i[5]).address)+"")&&e.p(r)},d(i){i&&(_(n),e.d())}}}function eu(t){let e,r,n,i;const a=[Wm,Zm,$m],s=[];function o(l,u){return l[5].type==="link"?0:l[5].type==="location"&&l[7]===0?1:l[5].type==="location"?2:-1}return~(e=o(t))&&(r=s[e]=a[e](t)),{c(){r&&r.c(),n=ie()},l(l){r&&r.l(l),n=ie()},m(l,u){~e&&s[e].m(l,u),j(l,n,u),i=!0},p(l,u){let f=e;e=o(l),e===f?~e&&s[e].p(l,u):(r&&(ae(),I(s[f],1,1,()=>{s[f]=null}),se()),~e?(r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),R(r,1),r.m(n.parentNode,n)):r=null)},i(l){i||(R(r),i=!0)},o(l){I(r),i=!1},d(l){l&&_(n),~e&&s[e].d(l)}}}function Km(t){let e,r,n,i,a,s=!!t[1]&&Jl(t),o=ke(t[2]),l=[];for(let f=0;f<o.length;f+=1)l[f]=eu(Yl(t,o,f));const u=f=>I(l[f],1,1,()=>{l[f]=null});return{c(){e=$("div"),s&&s.c(),r=J(),n=$("ul");for(let f=0;f<l.length;f+=1)l[f].c();this.h()},l(f){e=Z(f,"DIV",{class:!0});var d=S(e);s&&s.l(d),r=ee(d),n=Z(d,"UL",{class:!0});var c=S(n);for(let h=0;h<l.length;h+=1)l[h].l(c);c.forEach(_),d.forEach(_),this.h()},h(){m(n,"class",Xm),m(e,"class",i="col-full-width border-t-thin pt-4 md:col-span-6 lg:col-span-3 "+t[0])},m(f,d){j(f,e,d),s&&s.m(e,null),w(e,r),w(e,n);for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(n,null);a=!0},p(f,[d]){if(f[1]?s?s.p(f,d):(s=Jl(f),s.c(),s.m(e,r)):s&&(s.d(1),s=null),d&28){o=ke(f[2]);let c;for(c=0;c<o.length;c+=1){const h=Yl(f,o,c);l[c]?(l[c].p(h,d),R(l[c],1)):(l[c]=eu(h),l[c].c(),R(l[c],1),l[c].m(n,null))}for(ae(),c=o.length;c<l.length;c+=1)u(c);se()}(!a||d&1&&i!==(i="col-full-width border-t-thin pt-4 md:col-span-6 lg:col-span-3 "+f[0]))&&m(e,"class",i)},i(f){if(!a){for(let d=0;d<o.length;d+=1)R(l[d]);a=!0}},o(f){l=l.filter(Boolean);for(let d=0;d<l.length;d+=1)I(l[d]);a=!1},d(f){f&&_(e),s&&s.d(),wr(l,f)}}}const Xm="lg:max-w-60 xl:max-w-80";function Ym(t,e,r){let n,{columnClass:i}=e,{title:a}=e,{items:s=[]}=e,{themeName:o="cobaltBlue"}=e;return t.$$set=l=>{"columnClass"in l&&r(0,i=l.columnClass),"title"in l&&r(1,a=l.title),"items"in l&&r(2,s=l.items),"themeName"in l&&r(3,o=l.themeName)},t.$$.update=()=>{t.$$.dirty&8&&r(4,n=ft(o))},[i,a,s,o,n]}class Jm extends de{constructor(e){super(),he(this,e,Ym,Km,fe,{columnClass:0,title:1,items:2,themeName:3})}}function tu(t,e,r){const n=t.slice();return n[12]=e[r],n}const e7=t=>({}),ru=t=>({});function nu(t,e,r){const n=t.slice();return n[15]=e[r],n}function iu(t,e,r){const n=t.slice();return n[18]=e[r],n}function t7(t){let e,r=t[18].content+"",n,i,a;return{c(){e=$("span"),n=Me(r),i=J(),this.h()},l(s){e=Z(s,"SPAN",{class:!0});var o=S(e);n=Fe(o,r),i=ee(o),o.forEach(_),this.h()},h(){m(e,"class",a=t[18].class)},m(s,o){j(s,e,o),w(e,n),w(e,i)},p(s,o){o&2&&r!==(r=s[18].content+"")&&Je(n,r),o&2&&a!==(a=s[18].class)&&m(e,"class",a)},i:ce,o:ce,d(s){s&&_(e)}}}function r7(t){let e,r;return e=new ta({props:{aspectRatioClasses:"aspect-3/2",containerClass:t[18].class,elementClass:"",src:t[18].content,srcset:t[18].srcset,sizes:t[18].sizes,alt:"",fetchPriority:"low"}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&2&&(a.containerClass=n[18].class),i&2&&(a.src=n[18].content),i&2&&(a.srcset=n[18].srcset),i&2&&(a.sizes=n[18].sizes),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function au(t){let e,r,n,i;const a=[r7,t7],s=[];function o(l,u){var f,d;return((f=l[18])==null?void 0:f.type)==="image"?0:((d=l[18])==null?void 0:d.type)==="text"?1:-1}return~(e=o(t))&&(r=s[e]=a[e](t)),{c(){r&&r.c(),n=ie()},l(l){r&&r.l(l),n=ie()},m(l,u){~e&&s[e].m(l,u),j(l,n,u),i=!0},p(l,u){let f=e;e=o(l),e===f?~e&&s[e].p(l,u):(r&&(ae(),I(s[f],1,1,()=>{s[f]=null}),se()),~e?(r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),R(r,1),r.m(n.parentNode,n)):r=null)},i(l){i||(R(r),i=!0)},o(l){I(r),i=!1},d(l){l&&_(n),~e&&s[e].d(l)}}}function n7(t){let e,r,n=ke(Array.isArray(t[1])?t[1]:t[8](t[1])),i=[];for(let s=0;s<n.length;s+=1)i[s]=au(iu(t,n,s));const a=s=>I(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=ie()},l(s){for(let o=0;o<i.length;o+=1)i[o].l(s);e=ie()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);j(s,e,o),r=!0},p(s,o){if(o&258){n=ke(Array.isArray(s[1])?s[1]:s[8](s[1]));let l;for(l=0;l<n.length;l+=1){const u=iu(s,n,l);i[l]?(i[l].p(u,o),R(i[l],1)):(i[l]=au(u),i[l].c(),R(i[l],1),i[l].m(e.parentNode,e))}for(ae(),l=n.length;l<i.length;l+=1)a(l);se()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)R(i[o]);r=!0}}
2,o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)I(i[o]);r=!1},d(s){s&&_(e),wr(i,s)}}}function su(t){let e,r;return e=new Jm({props:{items:t[15].items,title:t[15].title,themeName:t[6],columnClass:"mt-15 lg:mt-0"}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&16&&(a.items=n[15].items),i&16&&(a.title=n[15].title),i&64&&(a.themeName=n[6]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function i7(t){let e,r=t[12].text+"",n,i,a,s;return{c(){e=$("a"),n=Me(r),i=J(),this.h()},l(o){e=Z(o,"A",{href:!0,class:!0});var l=S(e);n=Fe(l,r),i=ee(l),l.forEach(_),this.h()},h(){m(e,"href",a=t[12].href),m(e,"class",s="body-sm hover:text-white "+t[12].class)},m(o,l){j(o,e,l),w(e,n),w(e,i)},p(o,l){l&32&&r!==(r=o[12].text+"")&&Je(n,r),l&32&&a!==(a=o[12].href)&&m(e,"href",a),l&32&&s!==(s="body-sm hover:text-white "+o[12].class)&&m(e,"class",s)},i:ce,o:ce,d(o){o&&_(e)}}}function a7(t){let e,r;return e=new mr({props:{class:"body-sm hover:text-white",href:t[12].href,label:t[12].text,variant:"inline",theme:t[6]}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&32&&(a.href=n[12].href),i&32&&(a.label=n[12].text),i&64&&(a.theme=n[6]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function ou(t){let e,r,n,i;const a=[a7,i7],s=[];function o(l,u){return l[12].text!=="Privacy preference center"?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=ie()},l(l){r.l(l),n=ie()},m(l,u){s[e].m(l,u),j(l,n,u),i=!0},p(l,u){let f=e;e=o(l),e===f?s[e].p(l,u):(ae(),I(s[f],1,1,()=>{s[f]=null}),se(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),R(r,1),r.m(n.parentNode,n))},i(l){i||(R(r),i=!0)},o(l){I(r),i=!1},d(l){l&&_(n),s[e].d(l)}}}function s7(t){let e,r,n,i,a,s,o=ke(t[4]),l=[];for(let g=0;g<o.length;g+=1)l[g]=su(nu(t,o,g));const u=g=>I(l[g],1,1,()=>{l[g]=null}),f=t[10].bottomText,d=Ze(f,t,t[11],ru);let c=ke(t[5]),h=[];for(let g=0;g<c.length;g+=1)h[g]=ou(tu(t,c,g));const p=g=>I(h[g],1,1,()=>{h[g]=null});return{c(){for(let g=0;g<l.length;g+=1)l[g].c();e=J(),r=$("div"),n=$("div"),d&&d.c(),i=J(),a=$("div");for(let g=0;g<h.length;g+=1)h[g].c();this.h()},l(g){for(let C=0;C<l.length;C+=1)l[C].l(g);e=ee(g),r=Z(g,"DIV",{class:!0});var b=S(r);n=Z(b,"DIV",{class:!0});var v=S(n);d&&d.l(v),v.forEach(_),i=ee(b),a=Z(b,"DIV",{class:!0});var y=S(a);for(let C=0;C<h.length;C+=1)h[C].l(y);y.forEach(_),b.forEach(_),this.h()},h(){m(n,"class","body-sm"),m(a,"class","mt-4 flex gap-6 lg:mt-8"),m(r,"class","col-full-width mt-20 lg:col-span-9 lg:mt-25")},m(g,b){for(let v=0;v<l.length;v+=1)l[v]&&l[v].m(g,b);j(g,e,b),j(g,r,b),w(r,n),d&&d.m(n,null),w(r,i),w(r,a);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(a,null);s=!0},p(g,b){if(b&80){o=ke(g[4]);let v;for(v=0;v<o.length;v+=1){const y=nu(g,o,v);l[v]?(l[v].p(y,b),R(l[v],1)):(l[v]=su(y),l[v].c(),R(l[v],1),l[v].m(e.parentNode,e))}for(ae(),v=o.length;v<l.length;v+=1)u(v);se()}if(d&&d.p&&(!s||b&2048)&&We(d,f,g,g[11],s?Qe(f,g[11],b,e7):qe(g[11]),ru),b&96){c=ke(g[5]);let v;for(v=0;v<c.length;v+=1){const y=tu(g,c,v);h[v]?(h[v].p(y,b),R(h[v],1)):(h[v]=ou(y),h[v].c(),R(h[v],1),h[v].m(a,null))}for(ae(),v=c.length;v<h.length;v+=1)p(v);se()}},i(g){if(!s){for(let b=0;b<o.length;b+=1)R(l[b]);R(d,g);for(let b=0;b<c.length;b+=1)R(h[b]);s=!0}},o(g){l=l.filter(Boolean);for(let b=0;b<l.length;b+=1)I(l[b]);I(d,g),h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)I(h[b]);s=!1},d(g){g&&(_(e),_(r)),wr(l,g),d&&d.d(g),wr(h,g)}}}function o7(t){let e,r,n,i,a,s,o,l,u,f;return e=new z2({props:{class:"xl:gap=[37px] mb-7.5 flex w-full flex-wrap items-center gap-5 gap-y-2 font-gotham-condensed text-[35vw] font-bold uppercase leading-extra-tight !tracking-[-2.48px] md:mb-4 md:flex-nowrap md:whitespace-nowrap md:text-[16vw] lg:mb-6 lg:gap-[24px] lg:text-[16.25vw] xl:text-[16.5vw]","aria-label":t[9](t[1]),$$slots:{default:[n7]},$$scope:{ctx:t}}}),o=new fr({props:{theme:t[6],id:t[3].id,url:t[3].href,label:t[3].label,variant:"filled",buttonClass:"inline-flex"}}),u=new gs({props:{gridClass:"mt-5 lg:mt-30",$$slots:{default:[s7]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment),r=J(),n=$("p"),i=Me(t[2]),a=J(),s=$("div"),Q(o.$$.fragment),l=J(),Q(u.$$.fragment),this.h()},l(d){X(e.$$.fragment,d),r=ee(d),n=Z(d,"P",{class:!0});var c=S(n);
2i=Fe(c,t[2]),c.forEach(_),a=ee(d),s=Z(d,"DIV",{});var h=S(s);X(o.$$.fragment,h),h.forEach(_),l=ee(d),X(u.$$.fragment,d),this.h()},h(){m(n,"class","body-md col-full-width mb-7 w-full md:body-lg")},m(d,c){G(e,d,c),j(d,r,c),j(d,n,c),w(n,i),j(d,a,c),j(d,s,c),G(o,s,null),j(d,l,c),G(u,d,c),f=!0},p(d,c){const h={};c&2&&(h["aria-label"]=d[9](d[1])),c&2050&&(h.$$scope={dirty:c,ctx:d}),e.$set(h),(!f||c&4)&&Je(i,d[2]);const p={};c&64&&(p.theme=d[6]),c&8&&(p.id=d[3].id),c&8&&(p.url=d[3].href),c&8&&(p.label=d[3].label),o.$set(p);const g={};c&2160&&(g.$$scope={dirty:c,ctx:d}),u.$set(g)},i(d){f||(R(e.$$.fragment,d),R(o.$$.fragment,d),R(u.$$.fragment,d),f=!0)},o(d){I(e.$$.fragment,d),I(o.$$.fragment,d),I(u.$$.fragment,d),f=!1},d(d){d&&(_(r),_(n),_(a),_(s),_(l)),K(e,d),K(o),K(u,d)}}}function l7(t){var n,i;let e,r;return e=new mi({props:{id:t[0],containerElement:"footer",containerClass:((n=t[7])==null?void 0:n.textColor)+" "+((i=t[7])==null?void 0:i.backgroundColor)+" overflow-hidden py-15",$$slots:{default:[o7]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(a){X(e.$$.fragment,a)},m(a,s){G(e,a,s),r=!0},p(a,s){var l,u;const o={};s&1&&(o.id=a[0]),s&128&&(o.containerClass=((l=a[7])==null?void 0:l.textColor)+" "+((u=a[7])==null?void 0:u.backgroundColor)+" overflow-hidden py-15"),s&2174&&(o.$$scope={dirty:s,ctx:a}),e.$set(o)},i(a){r||(R(e.$$.fragment,a),r=!0)},o(a){I(e.$$.fragment,a),r=!1},d(a){K(e,a)}}}function u7(t){let e,r;return e=new Bf({props:{$$slots:{default:[l7]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,[i]){const a={};i&2303&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function c7(t,e,r){let n,{$$slots:i={},$$scope:a}=e,{id:s=void 0}=e,{title:o}=e,{subTitle:l}=e,{ctaButton:u}=e,{footerColumns:f}=e,{legalLinks:d}=e,{themeName:c="cobaltBlue"}=e;const h=g=>[{content:g,type:"text"}],p=g=>Array.isArray(g)?g.filter(b=>b.type==="text").map(b=>b.content).join(" "):g;return t.$$set=g=>{"id"in g&&r(0,s=g.id),"title"in g&&r(1,o=g.title),"subTitle"in g&&r(2,l=g.subTitle),"ctaButton"in g&&r(3,u=g.ctaButton),"footerColumns"in g&&r(4,f=g.footerColumns),"legalLinks"in g&&r(5,d=g.legalLinks),"themeName"in g&&r(6,c=g.themeName),"$$scope"in g&&r(11,a=g.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&r(7,n=ft(c))},[s,o,l,u,f,d,c,n,h,p,i,a]}class f7 extends de{constructor(e){super(),he(this,e,c7,u7,fe,{id:0,title:1,subTitle:2,ctaButton:3,footerColumns:4,legalLinks:5,themeName:6})}}const d7=t=>({}),lu=t=>({});function uu(t){var E,L,T;let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b;n=new ta({props:{src:t[2].imageUrl,srcset:t[2].srcset,sizes:t[2].sizes,aspectRatioClasses:t[2].imageAspectRatio?t[7][t[2].imageAspectRatio]:t[7].landscape,elementClass:"group-focus:scale-[105%] group-hover:scale-[105%] transition",containerClass:"md:basis-5/12 overflow-hidden order-1 lg:order-0 sm:max-md:h-[90px] lg:h-auto shrink-0",alt:t[2].alt}});let v=((E=t[2].title)==null?void 0:E.length)>0&&cu(t),y=t[2].description&&fu(t),C=((L=t[2].linkLabel)==null?void 0:L.length)>0&&du(t),k=((T=t[2].linkLabel)==null?void 0:T.length)>0&&hu(t);return{c(){e=$("a"),r=$("div"),Q(n.$$.fragment),i=J(),a=$("div"),v&&v.c(),s=J(),y&&y.c(),o=J(),C&&C.c(),l=J(),k&&k.c(),this.h()},l(O){e=Z(O,"A",{"data-sveltekit-reload":!0,id:!0,href:!0,class:!0,role:!0,target:!0,rel:!0});var P=S(e);r=Z(P,"DIV",{class:!0});var H=S(r);X(n.$$.fragment,H),i=ee(H),a=Z(H,"DIV",{class:!0});var M=S(a);v&&v.l(M),s=ee(M),y&&y.l(M),o=ee(M),C&&C.l(M),M.forEach(_),H.forEach(_),l=ee(P),k&&k.l(P),P.forEach(_),this.h()},h(){m(a,"class","order-0 md:basis-6/12 lg:order-1"),m(r,"class","flex justify-between gap-x-8 md:gap-x-grid-gutter lg:block"),m(e,"data-sveltekit-reload",""),m(e,"id",t[0]),m(e,"href",u=t[2].linkUrl),m(e,"class",f="group cursor-pointer pb-5 focus-visible:outline-dashed focus-visible:outline-offset-4 md:pb-6 lg:pb-0 "+t[3].focusOutlineColor+" "+t[3].textColor+" "+t[1]),m(e,"role",d=t[2].linkLabel?void 0:"link"),m(e,"target",c=t[2].isExternal?"_blank":null),m(e,"rel",h=t[2].isExternal?"noopener noreferrer":null)},m(O,P){j(O,e,P),w(e,r),G(n,r,null),w(r,i),w(r,a),v&&v.m(a,null),w(a,s),y&&y.m(a,null),w(a,o),C&&C.m(a,null),w(e,l),k&&k.m(e,null),p=!0,g||(b=[Ee(e,"focusin",t[15]),Ee(e,"focusout",t[16]),Ee(e,"mouseenter",t[17]),Ee(e,"mouseleave",t[18])],g=!0)},p(O,P){var M,N,F;const H={};P&4&&(H.src=O[2].imageUrl),P&4&&(H.srcset=O[2].srcset),P&4&&(H.sizes=O[2].sizes),P&4&&(H.aspectRatioClasses=O[2].imageAspectRatio?O[7][O[2].imageAspectRatio]:O[7].landscape),P&4&&(H.alt=O[2].alt),n.$set(H),((M=O[2].title)==null?void 0:M.length)>0?v?v.p(O,P):(v=cu(O),v.c(),v.m(a,s)):v&&(v.d(1),v=null),O[2].description?y?(y.p(O,P),P&4&&R(y,1)):(y=fu(O),y.c(),R(y,1),y.m(a,o)):y&&(ae(),I(y,1,1,()=>{y=null}),se()),((N=O[2].linkLabel)==null?void 0:N.length)>0?C?C.p(O,P):(C=du(O),C.c(),C.m(a,null)):C&&(C.d(1),C=null),((F=O[2].linkLabel)==null?void 0:F.length)>0?k?k.p(O,P):(k=hu(O),k.c(),k.m(e,null)):k&&(k.d(1),k=null),(!p||P&1)&&m(e,"id",O[0]),(!p||P&4&&u!==(u=O[2].linkUrl))&&m(e,"href",u),(!
2p||P&10&&f!==(f="group cursor-pointer pb-5 focus-visible:outline-dashed focus-visible:outline-offset-4 md:pb-6 lg:pb-0 "+O[3].focusOutlineColor+" "+O[3].textColor+" "+O[1]))&&m(e,"class",f),(!p||P&4&&d!==(d=O[2].linkLabel?void 0:"link"))&&m(e,"role",d),(!p||P&4&&c!==(c=O[2].isExternal?"_blank":null))&&m(e,"target",c),(!p||P&4&&h!==(h=O[2].isExternal?"noopener noreferrer":null))&&m(e,"rel",h)},i(O){p||(R(n.$$.fragment,O),R(y),p=!0)},o(O){I(n.$$.fragment,O),I(y),p=!1},d(O){O&&_(e),K(n),v&&v.d(),y&&y.d(),C&&C.d(),k&&k.d(),g=!1,hn(b)}}}function cu(t){let e,r=t[2].title+"",n,i;return{c(){e=$("p"),n=Me(r),this.h()},l(a){e=Z(a,"P",{class:!0});var s=S(e);n=Fe(s,r),s.forEach(_),this.h()},h(){m(e,"class",i="cta-md lg:mt-4 "+t[6]+" "+t[5])},m(a,s){j(a,e,s),w(e,n)},p(a,s){s&4&&r!==(r=a[2].title+"")&&Je(n,r),s&96&&i!==(i="cta-md lg:mt-4 "+a[6]+" "+a[5])&&m(e,"class",i)},d(a){a&&_(e)}}}function fu(t){let e,r;const n=t[14].description,i=Ze(n,t,t[13],lu),a=i||h7(t);return{c(){e=$("p"),a&&a.c(),this.h()},l(s){e=Z(s,"P",{class:!0});var o=S(e);a&&a.l(o),o.forEach(_),this.h()},h(){m(e,"class","label mt-4")},m(s,o){j(s,e,o),a&&a.m(e,null),r=!0},p(s,o){i?i.p&&(!r||o&8192)&&We(i,n,s,s[13],r?Qe(n,s[13],o,d7):qe(s[13]),lu):a&&a.p&&(!r||o&4)&&a.p(s,r?o:-1)},i(s){r||(R(a,s),r=!0)},o(s){I(a,s),r=!1},d(s){s&&_(e),a&&a.d(s)}}}function h7(t){let e,r=(t[2].description||"").replace(/\n/g,"<br>")+"",n;return{c(){e=new ci(!1),n=ie(),this.h()},l(i){e=fi(i,!1),n=ie(),this.h()},h(){e.a=n},m(i,a){e.m(r,i,a),j(i,n,a)},p(i,a){a&4&&r!==(r=(i[2].description||"").replace(/\n/g,"<br>")+"")&&e.p(r)},d(i){i&&(_(n),e.d())}}}function du(t){let e,r,n,i=t[2].linkLabel+"",a,s;return{c(){e=$("div"),r=$("div"),n=$("div"),a=Me(i),this.h()},l(o){e=Z(o,"DIV",{class:!0});var l=S(e);r=Z(l,"DIV",{class:!0});var u=S(r);n=Z(u,"DIV",{class:!0});var f=S(n);a=Fe(f,i),f.forEach(_),u.forEach(_),l.forEach(_),this.h()},h(){m(n,"class",s=Mi+" "+Fi+" "+Di[t[3].componentColorTheme][t[4]]),m(r,"class","mt-7 hidden md:block lg:mt-8"),m(e,"class","flex")},m(o,l){j(o,e,l),w(e,r),w(r,n),w(n,a)},p(o,l){l&4&&i!==(i=o[2].linkLabel+"")&&Je(a,i),l&24&&s!==(s=Mi+" "+Fi+" "+Di[o[3].componentColorTheme][o[4]])&&m(n,"class",s)},d(o){o&&_(e)}}}function hu(t){let e,r,n=t[2].linkLabel+"",i,a;return{c(){e=$("div"),r=$("div"),i=Me(n),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);r=Z(o,"DIV",{class:!0});var l=S(r);i=Fe(l,n),l.forEach(_),o.forEach(_),this.h()},h(){m(r,"class",a="text-center "+Mi+" "+Fi+" "+Di[t[3].componentColorTheme][t[4]]),m(e,"class","mt-5 md:hidden")},m(s,o){j(s,e,o),w(e,r),w(r,i)},p(s,o){o&4&&n!==(n=s[2].linkLabel+"")&&Je(i,n),o&24&&a!==(a="text-center "+Mi+" "+Fi+" "+Di[s[3].componentColorTheme][s[4]])&&m(r,"class",a)},d(s){s&&_(e)}}}function m7(t){let e,r,n=t[2]&&uu(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,[a]){i[2]?n?(n.p(i,a),a&4&&R(n,1)):(n=uu(i),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ae(),I(n,1,1,()=>{n=null}),se())},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}function p7(t,e,r){let n,i,a,s,{$$slots:o={},$$scope:l}=e,{id:u=void 0}=e,{containerClass:f=""}=e,{cardContent:d}=e,{theme:c="lightGrey"}=e;const h={square:"aspect-1/1 md:aspect-3/2 lg:aspect-1/1",portrait:"aspect-1/1 md:aspect-3/2 lg:aspect-3/4",landscape:"aspect-1/1 md:aspect-3/2 lg:aspect-3/2"};let p=!1,g=!1;function b(L){r(11,p=L)}function v(L){r(12,g=L)}const y=()=>{v(!0)},C=()=>{v(!1)},k=()=>{b(!0)},E=()=>{b(!1)};return t.$$set=L=>{"id"in L&&r(0,u=L.id),"containerClass"in L&&r(1,f=L.containerClass),"cardContent"in L&&r(2,d=L.cardContent),"theme"in L&&r(10,c=L.theme),"$$scope"in L&&r(13,l=L.$$scope)},t.$$.update=()=>{t.$$.dirty&1024&&r(3,n=ft(c)),t.$$.dirty&2056&&r(6,i=p?n.hoverOverrideTextColor:""),t.$$.dirty&4104&&r(5,a=g?n.hoverOverrideTextColor:""),t.$$.dirty&6144&&r(4,s=p||g?"filled":"outline")},[u,f,d,n,s,a,i,h,b,v,c,p,g,l,o,y,C,k,E]}class rd extends de{constructor(e){super(),he(this,e,p7,m7,fe,{id:0,containerClass:1,cardContent:2,theme:10})}}function mu(t){var O,P,H;let e,r,n,i,a,s,o,l,u,f=Lr(t[2].description)+"",d,c,h,p,g,b,v,y,C,k;n=new ta({props:{src:t[2].imageUrl,srcset:t[2].srcset,sizes:t[2].sizes,aspectRatioClasses:"aspect-1/1 md:aspect-3/2",elementClass:"group-focus:scale-[105%] group-hover:scale-[105%] transition",containerClass:"md:basis-5/12 overflow-hidden order-1 lg:order-0 sm:max-md:h-[90px] lg:h-auto shrink-0",alt:t[2].alt}});let E=((O=t[2].title)==null?void 0:O.length)>0&&pu(t),L=((P=t[2].additionalDetails)==null?void 0:P.length)>0&&gu(t),T=((H=t[2].linkLabel)==null?void 0:H.length)>0&&vu(t);return{c(){e=$("a"),r=$("div"),Q(n.$$.fragment),i=J(),a=$("div"),E&&E.c(),s=J(),o=$("div"),l=$("p"),u=new ci(!1),d=J(),L&&L.c(),c=J(),T&&T.c(),this.h()},l(M){e=Z(M,"A",{"data-sveltekit-reload":!0,id:!0,href:!0,class:!0,role:!0,target:!0,rel:!0});var N=S(e);r=Z(N,"DIV",{class:!0});var F=S(r);X(n.$$.fragment,F),i=ee(F),a=Z(F,"DIV",{class:!0});var D=S(a);E&&E.l(D),s=ee(D),o=Z(D,"DIV",{class:!0});var W=S(o);l=Z(W,"P",{});var Y=S(l);u=fi(Y,!1),Y.forEach(_),d=ee(W),L&&L.l(W),W.forEach(_),c=ee(D),T&&T.l(D),D.forEach(_),F.forEach(_),N.forEac
2h(_),this.h()},h(){u.a=null,m(o,"class","label mt-3"),m(a,"class","order-0 md:basis-6/12 lg:order-1"),m(r,"class","flex justify-between gap-x-8 md:gap-x-grid-gutter lg:block"),m(e,"data-sveltekit-reload",""),m(e,"id",t[0]),m(e,"href",h=t[2].linkUrl),m(e,"class",p="group cursor-pointer pb-5 focus-visible:outline-dashed focus-visible:outline-offset-4 md:pb-6 lg:pb-0 "+t[6].focusOutlineColor+" "+t[6].textColor+" "+t[1]),m(e,"role",g=t[2].linkLabel?void 0:"link"),m(e,"target",b=t[2].isExternal?"_blank":null),m(e,"rel",v=t[2].isExternal?"noopener noreferrer":null)},m(M,N){j(M,e,N),w(e,r),G(n,r,null),w(r,i),w(r,a),E&&E.m(a,null),w(a,s),w(a,o),w(o,l),u.m(f,l),w(o,d),L&&L.m(o,null),w(a,c),T&&T.m(a,null),y=!0,C||(k=[Ee(e,"focusin",t[11]),Ee(e,"focusout",t[12]),Ee(e,"mouseenter",t[13]),Ee(e,"mouseleave",t[14])],C=!0)},p(M,N){var D,W,Y;const F={};N&4&&(F.src=M[2].imageUrl),N&4&&(F.srcset=M[2].srcset),N&4&&(F.sizes=M[2].sizes),N&4&&(F.alt=M[2].alt),n.$set(F),((D=M[2].title)==null?void 0:D.length)>0?E?E.p(M,N):(E=pu(M),E.c(),E.m(a,s)):E&&(E.d(1),E=null),(!y||N&4)&&f!==(f=Lr(M[2].description)+"")&&u.p(f),((W=M[2].additionalDetails)==null?void 0:W.length)>0?L?L.p(M,N):(L=gu(M),L.c(),L.m(o,null)):L&&(L.d(1),L=null),((Y=M[2].linkLabel)==null?void 0:Y.length)>0?T?(T.p(M,N),N&4&&R(T,1)):(T=vu(M),T.c(),R(T,1),T.m(a,null)):T&&(ae(),I(T,1,1,()=>{T=null}),se()),(!y||N&1)&&m(e,"id",M[0]),(!y||N&4&&h!==(h=M[2].linkUrl))&&m(e,"href",h),(!y||N&66&&p!==(p="group cursor-pointer pb-5 focus-visible:outline-dashed focus-visible:outline-offset-4 md:pb-6 lg:pb-0 "+M[6].focusOutlineColor+" "+M[6].textColor+" "+M[1]))&&m(e,"class",p),(!y||N&4&&g!==(g=M[2].linkLabel?void 0:"link"))&&m(e,"role",g),(!y||N&4&&b!==(b=M[2].isExternal?"_blank":null))&&m(e,"target",b),(!y||N&4&&v!==(v=M[2].isExternal?"noopener noreferrer":null))&&m(e,"rel",v)},i(M){y||(R(n.$$.fragment,M),R(T),y=!0)},o(M){I(n.$$.fragment,M),I(T),y=!1},d(M){M&&_(e),K(n),E&&E.d(),L&&L.d(),T&&T.d(),C=!1,hn(k)}}}function pu(t){let e,r=t[2].title+"",n,i;return{c(){e=$("p"),n=Me(r),this.h()},l(a){e=Z(a,"P",{class:!0});var s=S(e);n=Fe(s,r),s.forEach(_),this.h()},h(){m(e,"class",i="cta-md lg:mt-4 "+t[8]+" "+t[7])},m(a,s){j(a,e,s),w(e,n)},p(a,s){s&4&&r!==(r=a[2].title+"")&&Je(n,r),s&384&&i!==(i="cta-md lg:mt-4 "+a[8]+" "+a[7])&&m(e,"class",i)},d(a){a&&_(e)}}}function gu(t){let e,r=t[2].additionalDetails+"",n;return{c(){e=$("p"),n=Me(r),this.h()},l(i){e=Z(i,"P",{class:!0});var a=S(e);n=Fe(a,r),a.forEach(_),this.h()},h(){m(e,"class","mt-2")},m(i,a){j(i,e,a),w(e,n)},p(i,a){a&4&&r!==(r=i[2].additionalDetails+"")&&Je(n,r)},d(i){i&&_(e)}}}function vu(t){let e,r,n,i;return n=new mr({props:{ariaHidden:!0,label:t[2].linkLabel,variant:"small",tabIndex:-1,isLinkHovered:t[4]||t[5],theme:t[3]}}),{c(){e=$("div"),r=$("div"),Q(n.$$.fragment),this.h()},l(a){e=Z(a,"DIV",{class:!0});var s=S(e);r=Z(s,"DIV",{class:!0});var o=S(r);X(n.$$.fragment,o),o.forEach(_),s.forEach(_),this.h()},h(){m(r,"class","mt-7 max-md:hidden lg:mt-8"),m(e,"class","flex")},m(a,s){j(a,e,s),w(e,r),G(n,r,null),i=!0},p(a,s){const o={};s&4&&(o.label=a[2].linkLabel),s&48&&(o.isLinkHovered=a[4]||a[5]),s&8&&(o.theme=a[3]),n.$set(o)},i(a){i||(R(n.$$.fragment,a),i=!0)},o(a){I(n.$$.fragment,a),i=!1},d(a){a&&_(e),K(n)}}}function g7(t){let e,r,n=t[2]&&mu(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,[a]){i[2]?n?(n.p(i,a),a&4&&R(n,1)):(n=mu(i),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ae(),I(n,1,1,()=>{n=null}),se())},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}function v7(t,e,r){let n,i,a,{id:s=void 0}=e,{containerClass:o=""}=e,{cardContent:l}=e,{theme:u="lightGrey"}=e,f=!1,d=!1;function c(y){r(4,f=y)}function h(y){r(5,d=y)}const p=()=>{h(!0)},g=()=>{h(!1)},b=()=>{c(!0)},v=()=>{c(!1)};return t.$$set=y=>{"id"in y&&r(0,s=y.id),"containerClass"in y&&r(1,o=y.containerClass),"cardContent"in y&&r(2,l=y.cardContent),"theme"in y&&r(3,u=y.theme)},t.$$.update=()=>{t.$$.dirty&8&&r(6,n=ft(u)),t.$$.dirty&80&&r(8,i=f?n.hoverOverrideTextColor:""),t.$$.dirty&96&&r(7,a=d?n.hoverOverrideTextColor:"")},[s,o,l,u,f,d,n,a,i,c,h,p,g,b,v]}class nd extends de{constructor(e){super(),he(this,e,v7,g7,fe,{id:0,containerClass:1,cardContent:2,theme:3})}}const we={navHeightDesktop:125,navHeightMobile:92,navigationId:"global-navigation",navigationIdMobile:"global-navigation-mobile",primaryLinkPrefix:"global-nav-primary-link-",primaryLinkPrefixMobile:"global-nav-primary-link-mobile-",secondarySectionCardPrefix:"global-nav-sub-card-",secondarySectionEventPrefix:"global-nav-sub-event-",secondarySectionLabelPrefix:"global-nav-secondary-section-title-",secondarySectionLinkPrefix:"global-nav-sub-link-",secondarySectionLinkPrefixMobile:"global-nav-sub-link-mobile-",secondarySectionMaxColumns:4,secondarySectionMenuMaxLinksPerColumn:7,secondarySectionMenuMaxLinksTotal:28,secondarySectionPrefix:"global-nav-secondary-section-",secondarySectionPrefixMobile:"global-nav-secondary-section-mobile-",transitionFocus:{logo:"logo"}};function _7(t){let e,r,n=t[0].label+"",i,a,s,o,l,u,f,d,c,h;return o=new pi({props:{name:"arrowRight",inheritSize:!0}}),{c(){e=$("a"),r=$("span"),i=Me(n),a=J(),s=$("div"),Q(o.$$.fragment),this.h()},l(p){e=Z(p,"A",{id:!0,"data-sveltekit-reload":!0,href:!0,target:!0,rel:!0,class:!0});var g=S(e);r=Z(g,"SPAN",{class:!0});var b=S(r);i=Fe(b,n),b.forEach(_),a=ee(g),s=Z(g,"DIV",{class:!0});var v=S(s);X(o.$$.fragment,v),v.forEach(_),g.forEach(_),this.h()},h(){m(r,"class","block"),m(s,"class","ml-2 grid h-4 w-4 place-items-center transition-opacity group-hover:opacity-opaque group-focus:opacity-opaque lg:opacity-transparent xl:h-6 xl:w-6"),m(e,"
2id",l=t[0].id),m(e,"data-sveltekit-reload",""),m(e,"href",u=t[0].url),m(e,"target",f=t[0].url&&t[0].isExternal?"_blank":null),m(e,"rel",d=t[0].url&&t[0].isExternal?"noopener noreferrer":null),m(e,"class",c="group flex items-center justify-between transition group-last-of-type/li:mb-0 lg:justify-start "+ll+" "+ul+" "+t[1].textColor+" "+t[1].hoverTextColor)},m(p,g){j(p,e,g),w(e,r),w(r,i),w(e,a),w(e,s),G(o,s,null),h=!0},p(p,[g]){(!h||g&1)&&n!==(n=p[0].label+"")&&Je(i,n),(!h||g&1&&l!==(l=p[0].id))&&m(e,"id",l),(!h||g&1&&u!==(u=p[0].url))&&m(e,"href",u),(!h||g&1&&f!==(f=p[0].url&&p[0].isExternal?"_blank":null))&&m(e,"target",f),(!h||g&1&&d!==(d=p[0].url&&p[0].isExternal?"noopener noreferrer":null))&&m(e,"rel",d),(!h||g&2&&c!==(c="group flex items-center justify-between transition group-last-of-type/li:mb-0 lg:justify-start "+ll+" "+ul+" "+p[1].textColor+" "+p[1].hoverTextColor))&&m(e,"class",c)},i(p){h||(R(o.$$.fragment,p),h=!0)},o(p){I(o.$$.fragment,p),h=!1},d(p){p&&_(e),K(o)}}}function b7(t,e,r){let n,{link:i}=e,{theme:a="lightGrey"}=e;return $2({componentName:"StaticMenuItemLink",propName:"link",propValue:i,schema:{url:"string",label:"string"}}),t.$$set=o=>{"link"in o&&r(0,i=o.link),"theme"in o&&r(2,a=o.theme)},t.$$.update=()=>{t.$$.dirty&4&&r(1,n=ft(a))},[i,n,a]}class id extends de{constructor(e){super(),he(this,e,b7,_7,fe,{link:0,theme:2})}}function _u(t,e,r){const n=t.slice();return n[16]=e[r],n}function bu(t){let e,r;return{c(){e=$("p"),r=Me(t[5]),this.h()},l(n){e=Z(n,"P",{class:!0,id:!0});var i=S(e);r=Fe(i,t[5]),i.forEach(_),this.h()},h(){m(e,"class","label pt-6"),m(e,"id",t[9])},m(n,i){j(n,e,i),w(e,r)},p(n,i){i&32&&Je(r,n[5])},d(n){n&&_(e)}}}function yu(t,e){let r,n,i,a,s;return n=new id({props:{link:e[16],theme:e[8]}}),{key:t,first:null,c(){r=$("li"),Q(n.$$.fragment),i=J(),this.h()},l(o){r=Z(o,"LI",{class:!0});var l=S(r);X(n.$$.fragment,l),i=ee(l),l.forEach(_),this.h()},h(){m(r,"class",a="group/li col-span-1 "+e[4]),this.first=r},m(o,l){j(o,r,l),G(n,r,null),w(r,i),s=!0},p(o,l){e=o;const u={};l&64&&(u.link=e[16]),l&256&&(u.theme=e[8]),n.$set(u),(!s||l&16&&a!==(a="group/li col-span-1 "+e[4]))&&m(r,"class",a)},i(o){s||(R(n.$$.fragment,o),s=!0)},o(o){I(n.$$.fragment,o),s=!1},d(o){o&&_(r),K(n)}}}function y7(t){let e=[],r=new Map,n,i,a=ke(t[6]);const s=o=>o[16].label;for(let o=0;o<a.length;o+=1){let l=_u(t,a,o),u=s(l);r.set(u,e[o]=yu(u,l))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();n=ie()},l(o){for(let l=0;l<e.length;l+=1)e[l].l(o);n=ie()},m(o,l){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(o,l);j(o,n,l),i=!0},p(o,l){l&336&&(a=ke(o[6]),ae(),e=Kr(e,l,s,1,o,a,r,n.parentNode,Xr,yu,n,_u),se())},i(o){if(!i){for(let l=0;l<a.length;l+=1)R(e[l]);i=!0}},o(o){for(let l=0;l<e.length;l+=1)I(e[l]);i=!1},d(o){o&&_(n);for(let l=0;l<e.length;l+=1)e[l].d(o)}}}function Cu(t){let e,r,n;return r=new id({props:{link:t[7],theme:t[8]}}),{c(){e=$("div"),Q(r.$$.fragment),this.h()},l(i){e=Z(i,"DIV",{class:!0});var a=S(e);X(r.$$.fragment,a),a.forEach(_),this.h()},h(){m(e,"class","mt-12")},m(i,a){j(i,e,a),G(r,e,null),n=!0},p(i,a){const s={};a&128&&(s.link=i[7]),a&256&&(s.theme=i[8]),r.$set(s)},i(i){n||(R(r.$$.fragment,i),n=!0)},o(i){I(r.$$.fragment,i),n=!1},d(i){i&&_(e),K(r)}}}function C7(t){let e,r,n,i,a,s,o;r=new gi({props:{type:"thin",theme:t[8]}});let l=t[5]&&bu(t),u={gridClass:"pt-10 "+t[3],subGridColumns:t[10](t[6].length),gridElement:"ul","aria-labelledby":t[9],$$slots:{default:[y7]},$$scope:{ctx:t}};a=new gs({props:u}),t[11](a);let f=t[7]&&Cu(t);return{c(){e=$("div"),Q(r.$$.fragment),n=J(),l&&l.c(),i=J(),Q(a.$$.fragment),s=J(),f&&f.c(),this.h()},l(d){e=Z(d,"DIV",{id:!0,class:!0});var c=S(e);X(r.$$.fragment,c),n=ee(c),l&&l.l(c),i=ee(c),X(a.$$.fragment,c),s=ee(c),f&&f.l(c),c.forEach(_),this.h()},h(){m(e,"id",t[1]),m(e,"class",t[2])},m(d,c){j(d,e,c),G(r,e,null),w(e,n),l&&l.m(e,null),w(e,i),G(a,e,null),w(e,s),f&&f.m(e,null),o=!0},p(d,[c]){const h={};c&256&&(h.theme=d[8]),r.$set(h),d[5]?l?l.p(d,c):(l=bu(d),l.c(),l.m(e,i)):l&&(l.d(1),l=null);const p={};c&8&&(p.gridClass="pt-10 "+d[3]),c&64&&(p.subGridColumns=d[10](d[6].length)),c&524624&&(p.$$scope={dirty:c,ctx:d}),a.$set(p),d[7]?f?(f.p(d,c),c&128&&R(f,1)):(f=Cu(d),f.c(),R(f,1),f.m(e,null)):f&&(
2ae(),I(f,1,1,()=>{f=null}),se()),(!o||c&2)&&m(e,"id",d[1]),(!o||c&4)&&m(e,"class",d[2])},i(d){o||(R(r.$$.fragment,d),R(a.$$.fragment,d),R(f),o=!0)},o(d){I(r.$$.fragment,d),I(a.$$.fragment,d),I(f),o=!1},d(d){d&&_(e),K(r),l&&l.d(),t[11](null),K(a),f&&f.d()}}}function w7(t,e,r){let{id:n=void 0}=e,{containerClass:i=""}=e,{menuListClass:a=""}=e,{menuListItemClass:s=""}=e,{label:o}=e,{links:l}=e,{trailingLink:u}=e,{theme:f="lightGrey"}=e,{ref:d=void 0}=e;const c=`${we.secondarySectionLabelPrefix}-${n}`,h=[1,2,3,4],p=[1,2,3,4,5,6,7,8,9,10,11,12],g=[1,2,3,4,5,6,7,8,9,10,11,12],b=(C,k)=>k.includes(C)?C:k[k.length-1],v=C=>{if(!C)return{mobile:1,tablet:1,desktop:1};const k=Math.ceil(C/we.secondarySectionMenuMaxLinksPerColumn);return{mobile:b(1,h),tablet:b(1,p),desktop:b(k,g)}};function y(C){$e[C?"unshift":"push"](()=>{d=C,r(0,d)})}return t.$$set=C=>{"id"in C&&r(1,n=C.id),"containerClass"in C&&r(2,i=C.containerClass),"menuListClass"in C&&r(3,a=C.menuListClass),"menuListItemClass"in C&&r(4,s=C.menuListItemClass),"label"in C&&r(5,o=C.label),"links"in C&&r(6,l=C.links),"trailingLink"in C&&r(7,u=C.trailingLink),"theme"in C&&r(8,f=C.theme),"ref"in C&&r(0,d=C.ref)},[d,n,i,a,s,o,l,u,f,c,v,y]}class S7 extends de{constructor(e){super(),he(this,e,w7,C7,fe,{id:1,containerClass:2,menuListClass:3,menuListItemClass:4,label:5,links:6,trailingLink:7,theme:8,ref:0})}}function wu(t,e,r){var l,u,f,d,c,h;const n=t.slice();n[8]=e[r];const i=((u=(l=n[8])==null?void 0:l.link)==null?void 0:u.label)===n[1];n[9]=i;const a=we.primaryLinkPrefix+((d=(f=n[8])==null?void 0:f.link)==null?void 0:d.label);n[10]=a;const s=`[id="${n[10]}"] + button`;n[11]=s;const o=(h=(c=n[8])==null?void 0:c.link)==null?void 0:h.label.replace(/[\s"']/g,"");return n[12]=o,n}function Su(t,e,r){var l,u,f;const n=t.slice();n[15]=e[r],n[21]=r;const i=n[21]*50;n[16]=i;const a=((u=(l=n[15])==null?void 0:l.links)==null?void 0:u.slice(0,we.secondarySectionMenuMaxLinksTotal))??[];n[17]=a;const s=n[5](n[17].length);n[18]=s;const o=(f=n[15].card)==null?void 0:f.linkUrl;return n[19]=o,n}function E7(t){const e=t.slice(),r=e[17].map(function(...i){return t[6](e[12],...i)});return e[22]=r,e}function Eu(t){let e=[],r=new Map,n,i,a=ke(t[0]);const s=o=>o[8].link.label;for(let o=0;o<a.length;o+=1){let l=wu(t,a,o),u=s(l);r.set(u,e[o]=Lu(u,l))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();n=ie()},l(o){for(let l=0;l<e.length;l+=1)e[l].l(o);n=ie()},m(o,l){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(o,l);j(o,n,l),i=!0},p(o,l){l&59&&(a=ke(o[0]),ae(),e=Kr(e,l,s,1,o,a,r,n.parentNode,Xr,Lu,n,wu),se())},i(o){if(!i){for(let l=0;l<a.length;l+=1)R(e[l]);i=!0}},o(o){for(let l=0;l<e.length;l+=1)I(e[l]);i=!1},d(o){o&&_(n);for(let l=0;l<e.length;l+=1)e[l].d(o)}}}function Tu(t){let e,r,n,i,a,s,o,l,u,f,d;return n=new mi({props:{containerClass:"pb-7.5 pt-6 "+t[4].textColor,$$slots:{default:[R7]},$$scope:{ctx:t}}}),{c(){e=$("div"),r=$("div"),Q(n.$$.fragment),o=J(),this.h()},l(c){e=Z(c,"DIV",{class:!0});var h=S(e);r=Z(h,"DIV",{id:!0,"aria-labelledby":!0});var p=S(r);X(n.$$.fragment,p),p.forEach(_),o=ee(h),h.forEach(_),this.h()},h(){m(r,"id",i=we.secondarySectionPrefix+t[12]),m(r,"aria-labelledby",a=t[10]),m(e,"class",l="transition-opacity duration-300 "+(t[9]?"opacity-opaque":"opacity-transparent"))},m(c,h){j(c,e,h),w(e,r),G(n,r,null),w(e,o),u=!0,f||(d=fs(s=vs.call(null,r,{shouldTrapFocus:t[9],triggerElementQuery:t[11]})),f=!0)},p(c,h){t=c;const p={};h&16&&(p.containerClass="pb-7.5 pt-6 "+t[4].textColor),h&8388617&&(p.$$scope={dirty:h,ctx:t}),n.$set(p),(!u||h&1&&i!==(i=we.secondarySectionPrefix+t[12]))&&m(r,"id",i),(!u||h&1&&a!==(a=t[10]))&&m(r,"aria-labelledby",a),s&&Ki(s.update)&&h&3&&s.update.call(null,{shouldTrapFocus:t[9],triggerElementQuery:t[11]}),(!u||h&3&&l!==(l="transition-opacity duration-300 "+(t[9]?"opacity-opaque":"opacity-transparent")))&&m(e,"class",l)},i(c){u||(R(n.$$.fragment,c),u=!0)},o(c){I(n.$$.fragment,c),u=!1},d(c){c&&_(e),K(n),f=!1,d()}}}function T7(t){let e,r;return e=new S7({props:{menuListClass:"gap-y-4",links:t[22],label:t[15].label,theme:t[3],trailingLink:t[15].trailingLink}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&1&&(a.links=n[22]),i&1&&(a.label=n[15].label),i&8&&(a.theme=n[3]),i&1&&(a.trailingLink=n[15].trailingLink),e.$set(a
2)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function k7(t){var a;let e,r,n,i;return e=new gi({props:{type:"thin",theme:t[3],class:"mb-5 lg:mb-4"}}),n=new nd({props:{id:`${we.secondarySectionEventPrefix}${(a=t[19])==null?void 0:a.slice(1,t[19].length-1).replaceAll("/","-")}-${t[12]}`,theme:t[3],containerClass:"block",cardContent:t[15].card}}),{c(){Q(e.$$.fragment),r=J(),Q(n.$$.fragment)},l(s){X(e.$$.fragment,s),r=ee(s),X(n.$$.fragment,s)},m(s,o){G(e,s,o),j(s,r,o),G(n,s,o),i=!0},p(s,o){var f;const l={};o&8&&(l.theme=s[3]),e.$set(l);const u={};o&1&&(u.id=`${we.secondarySectionEventPrefix}${(f=s[19])==null?void 0:f.slice(1,s[19].length-1).replaceAll("/","-")}-${s[12]}`),o&8&&(u.theme=s[3]),o&1&&(u.cardContent=s[15].card),n.$set(u)},i(s){i||(R(e.$$.fragment,s),R(n.$$.fragment,s),i=!0)},o(s){I(e.$$.fragment,s),I(n.$$.fragment,s),i=!1},d(s){s&&_(r),K(e,s),K(n,s)}}}function L7(t){var a;let e,r,n,i;return e=new gi({props:{type:"thin",theme:t[3],class:"mb-5 lg:mb-4"}}),n=new rd({props:{id:`${we.secondarySectionCardPrefix}${(a=t[19])==null?void 0:a.slice(1,t[19].length-1).replaceAll("/","-")}-${t[12]}`,theme:t[3],containerClass:"block",cardContent:t[15].card}}),{c(){Q(e.$$.fragment),r=J(),Q(n.$$.fragment)},l(s){X(e.$$.fragment,s),r=ee(s),X(n.$$.fragment,s)},m(s,o){G(e,s,o),j(s,r,o),G(n,s,o),i=!0},p(s,o){var f;const l={};o&8&&(l.theme=s[3]),e.$set(l);const u={};o&1&&(u.id=`${we.secondarySectionCardPrefix}${(f=s[19])==null?void 0:f.slice(1,s[19].length-1).replaceAll("/","-")}-${s[12]}`),o&8&&(u.theme=s[3]),o&1&&(u.cardContent=s[15].card),n.$set(u)},i(s){i||(R(e.$$.fragment,s),R(n.$$.fragment,s),i=!0)},o(s){I(e.$$.fragment,s),I(n.$$.fragment,s),i=!1},d(s){s&&_(r),K(e,s),K(n,s)}}}function ku(t){let e,r,n,i,a,s,o;const l=[L7,k7,T7],u=[];function f(c,h){var p,g;return((p=c[15])==null?void 0:p.type)==="card"?0:((g=c[15])==null?void 0:g.type)==="event"?1:c[15].type==="section"?2:-1}function d(c,h){return h===2?E7(c):c}return~(r=f(t))&&(n=u[r]=l[r](d(t,r))),{c(){e=$("div"),n&&n.c(),i=J(),this.h()},l(c){e=Z(c,"DIV",{class:!0});var h=S(e);n&&n.l(h),i=ee(h),h.forEach(_),this.h()},h(){m(e,"class",a="relative "+t[18])},m(c,h){j(c,e,h),~r&&u[r].m(e,null),w(e,i),o=!0},p(c,h){t=c;let p=r;r=f(t),r===p?~r&&u[r].p(d(t,r),h):(n&&(ae(),I(u[p],1,1,()=>{u[p]=null}),se()),~r?(n=u[r],n?n.p(d(t,r),h):(n=u[r]=l[r](d(t,r)),n.c()),R(n,1),n.m(e,i)):n=null),(!o||h&1&&a!==(a="relative "+t[18]))&&m(e,"class",a)},i(c){o||(R(n),s||Ye(()=>{s=Er(e,za,{duration:t[2]?200:300,delay:t[2]?0:450+t[16],y:t[2]?0:30,easing:it,opacity:0}
2),s.start()}),o=!0)},o(c){I(n),o=!1},d(c){c&&_(e),~r&&u[r].d()}}}function O7(t){let e,r,n=ke(t[8].secondarySections.slice(0,we.secondarySectionMaxColumns)??[]),i=[];for(let s=0;s<n.length;s+=1)i[s]=ku(Su(t,n,s));const a=s=>I(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=ie()},l(s){for(let o=0;o<i.length;o+=1)i[o].l(s);e=ie()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);j(s,e,o),r=!0},p(s,o){if(o&41){n=ke(s[8].secondarySections.slice(0,we.secondarySectionMaxColumns)??[]);let l;for(l=0;l<n.length;l+=1){const u=Su(s,n,l);i[l]?(i[l].p(u,o),R(i[l],1)):(i[l]=ku(u),i[l].c(),R(i[l],1),i[l].m(e.parentNode,e))}for(ae(),l=n.length;l<i.length;l+=1)a(l);se()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)R(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)I(i[o]);r=!1},d(s){s&&_(e),wr(i,s)}}}function R7(t){let e,r;return e=new gs({props:{gridClass:"relative gap-y-10",$$slots:{default:[O7]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8388617&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Lu(t,e){let r,n,i,a=e[9]&&Tu(e);return{key:t,first:null,c(){r=ie(),a&&a.c(),n=ie(),this.h()},l(s){r=ie(),a&&a.l(s),n=ie(),this.h()},h(){this.first=r},m(s,o){j(s,r,o),a&&a.m(s,o),j(s,n,o),i=!0},p(s,o){e=s,e[9]?a?(a.p(e,o),o&3&&R(a,1)):(a=Tu(e),a.c(),R(a,1),a.m(n.parentNode,n)):a&&(ae(),I(a,1,1,()=>{a=null}),se())},i(s){i||(R(a),i=!0)},o(s){I(a),i=!1},d(s){s&&(_(r),_(n)),a&&a.d(s)}}}function P7(t){var a;let e,r,n,i=((a=t[0])==null?void 0:a.length)>0&&Eu(t);return{c(){e=$("div"),i&&i.c(),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);i&&i.l(o),o.forEach(_),this.h()},h(){m(e,"class",r="relative h-[657px] max-h-[calc(100dvh-var(--nav-height)-60px)] overflow-hidden xl:h-[823px] "+(t[1]?"":"pointer-events-none"))},m(s,o){j(s,e,o),i&&i.m(e,null),n=!0},p(s,[o]){var l;((l=s[0])==null?void 0:l.length)>0?i?(i.p(s,o),o&1&&R(i,1)):(i=Eu(s),i.c(),R(i,1),i.m(e,null)):i&&(ae(),I(i,1,1,()=>{i=null}),se()),(!n||o&2&&r!==(r="relative h-[657px] max-h-[calc(100dvh-var(--nav-height)-60px)] overflow-hidden xl:h-[823px] "+(s[1]?"":"pointer-events-none")))&&m(e,"class",r)},i(s){n||(R(i),n=!0)},o(s){I(i),n=!1},d(s){s&&_(e),i&&i.d()}}}function I7(t,e,r){let n,{mainNavigation:i}=e,{displayedSection:a=void 0}=e,{contentOpen:s=!1}=e,{theme:o="white"}=e;const l={1:"col-span-3",2:"col-span-6",3:"col-span-9",4:"col-span-12"};function u(d){if(!d||d===0)return"col-span-3";const c=Math.ceil(d/we.secondarySectionMenuMaxLinksPerColumn);return l[c]||"col-span-12"}const f=(d,c)=>(c.id=`${we.secondarySectionLinkPrefix}${Ba(c==null?void 0:c.label)}-${d}`,c);return t.$$set=d=>{"mainNavigation"in d&&r(0,i=d.mainNavigation),"displayedSection"in d&&r(1,a=d.displayedSection),"contentOpen"in d&&r(2,s=d.contentOpen),"theme"in d&&r(3,o=d.theme)},t.$$.update=()=>{t.$$.dirty&8&&r(4,n=ft(o))},[i,a,s,o,n,u,f]}class H7 extends de{constructor(e){super(),he(this,e,I7,P7,fe,{mainNavigation:0,displayedSection:1,contentOpen:2,theme:3})}}function A7(t){let e,r,n,i,a,s=[{xmlns:"http://www.w3.org/2000/svg"},{id:"Layer_1"},{viewBox:"0 0 900 900"},t[0]],o={};for(let l=0;l<s.length;l+=1)o=ve(o,s[l]);return{c(){e=A("svg"),r=A("defs"),n=A("style"),i=Me(`.cls-1{stroke-width:0px}
3`),a=A("path"),this.h()},l(l){e=V(l,"svg",{xmlns:!0,id:!0,viewBox:!0});var u=S(e);r=V(u,"defs",{});var f=S(r);n=V(f,"style",{});var d=S(n);i=Fe(d,`.cls-1{stroke-width:0px}
4`),d.forEach(_),f.forEach(_),a=V(u,"path",{class:!0,d:!0}),S(a).forEach(_),u.forEach(_),this.h()},h(){m(a,"class","cls-1"),m(a,"d","M450,150c-165.69,0-300,134.31-300,300s134.31,300,300,300,300-134.31,300-300-134.31-300-300-300ZM450,727.73c-37.79,0-73.82-7.55-106.66-21.22,99.36-56.66,212.94-91.22,334.06-97.02-50.25,71.51-133.37,118.24-227.4,118.24ZM696.42,578.24c-17.94-1.13-36.04-1.7-54.27-1.7-133.29,0-259.42,30.68-371.71,85.35-19.61-16.63-36.87-35.94-51.24-57.35,105.16-43.49,220.44-67.5,341.32-67.5,50.73,0,100.48,4.23,148.9,12.35-3.8,9.9-8.14,19.53-13,28.84ZM717.03,526.62c-66.82-15.95-136.55-24.39-208.25-24.39-110.6,0-216.52,20.09-314.28,56.83-7.56-17.7-13.34-36.34-1
47.11-55.7,86.15-26.64,177.71-40.99,272.61-40.99s186.46,14.35,272.61,40.99c-1.53,7.88-3.4,15.64-5.58,23.27ZM607.95,453.25c.02-1.08.03-2.17.03-3.25,0-87.25-70.73-157.99-157.99-157.99s-157.99,70.73-157.99,157.99c0,1.09.01,2.17.03,3.25-40.28,6.79-79.69,16.12-118.06,27.84-1.14-10.21-1.72-20.58-1.72-31.1,0-153.39,124.35-277.73,277.73-277.73s277.73,124.35,277.73,277.73c0,10.51-.59,20.89-1.72,31.1-38.37-11.72-77.78-21.06-118.06-27.84Z"),Re(e,o)},m(l,u){j(l,e,u),w(e,r),w(r,n),w(n,i),w(e,a)},p(l,[u]){Re(e,o=Ct(s,[{xmlns:"http://www.w3.org/2000/svg"},{id:"Layer_1"},{viewBox:"0 0 900 900"},u&1&&l[0]]))},i:ce,o:ce,d(l){l&&_(e)}}}function V7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class N7 extends de{constructor(e){super(),he(this,e,V7,A7,fe,{})}}function M7(t){let e,r,n=[{width:"80"},{height:"80"},{viewBox:"0 0 80 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],i={};for(let a=0;a<n.length;a+=1)i=ve(i,n[a]);return{c(){e=A("svg"),r=A("path"),this.h()},l(a){e=V(a,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var s=S(e);r=V(s,"path",{d:!0,fill:!0}),S(r).forEach(_),s.forEach(_),this.h()},h(){m(r,"d","M26.0206 73.5388L28.0136 72.522C35.0811 68.9505 42.2736 66.1259 49.5934 64.0488C56.6849 62.0534 63.5203 60.8427 70.1544 60.4224C66.8151 65.3198 62.5398 69.215 57.3113 72.042C52.0158 74.8666 46.2643 76.2938 40.1322 76.2938C35.1967 76.2938 30.5031 75.3804 26.0202 73.5383M75.1037 49.9695L74.0389 49.7094C69.3556 48.5663 64.3906 47.741 59.1196 47.2424C55.4864 46.9642 52.1339 46.8369 49.0463 46.8369H48.5428C46.6194 46.8369 44.6789 46.8849 42.6914 46.9647L41.3866 47.0318C40.1749 47.0891 38.3857 47.2424 35.9857 47.4799C25.6538 48.5403 15.8812 50.7914 6.72373 54.2507C5.8 51.9864 5.07365 49.5787 4.54664 47.0318C9.57524 45.4033 14.7723 44.1318 20.133 43.2522C26.5716 42.1658 33.2919 41.6236 40.1998 41.6236C47.1077 41.6236 53.7717 42.1663 60.2251 43.2522C65.5735 44.1323 70.7759 45.4033 75.7957 47.0318L75.1041 49.97L75.1037 49.9695ZM74.1946 52.9983C73.697 54.358 73.1666 55.5956 72.5019 56.7074L71.0963 56.6359C68.7345 56.5071 66.9498 56.4523 65.7052 56.4523H64.5777C55.4027 56.5835 45.967 57.9534 36.2664 60.5527C34.8661 60.9147 33.2924 61.3711 31.5199 61.9795L30.2925 62.3585C25.5005 63.9435 20.994 65.7067 16.7736 67.6516C14.1596 65.4476 11.9375 62.9291 10.0959 60.1594C16.97 57.3873 24.3426 55.2048 32.139 53.6458L37.0099 52.8019C42.9891 51.8356 49.0233 51.3448 55.1171 51.2606L57.1414 51.3135C62.3595 51.3918 67.3166 51.8361 71.993 52.6207H72.0513L74.1946 52.9998V52.9983ZM76.55 39.9574C76.55 41.3327 76.428 42.8305 76.1934 44.5207C71.4832 42.8873 66.6461 41.6231 61.6621 40.7117C61.2306 40.6308 60.753 40.5324 60.2902 40.4526V39.9569C60.2902 34.3298 58.2973 29.5118 54.3085 25.5505C50.3535 21.5769 45.5615 19.5756 39.9432 19.5756C34.3249 19.5756 29.527 21.5764 25.5534 25.5505C21.6973 29.4065 19.5526 34.4576 19.1113 40.7112H19.006C13.9147 41.6471 8.99582 42.6708 4.19694 44.3542C3.98389 42.7736 3.90454 41.4855 3.90454 39.9569C3.90454 29.9198 7.45693 21.3344 14.5416 14.2571C21.6332 7.15571 30.197 3.6048 40.2513 3.6048C50.3055 3.6048 58.8091 7.15571 65.9295 14.2571C73.0118 21.3349 76.551 29.9198 76.551 39.9569M80 40.1195C80 29.0377 76.0876 19.605 68.2511 11.7396C60.4513 3.92315 51.026 0 40.0284 0C28.9721 0.076406 19.5012 3.92315 11.6965 11.4873V11.5084C11.6754 11.5378 11.6157 11.5926 11.5966 11.6137C3.92903 19.5232 0.0798345 29.0377 0 40.1195V40.1455C0 51.1396 3.84724 60.5522 11.5966 68.4044C19.4096 76.2938 28.8349 80.1553 39.8834 79.9951H39.927C50.8893 79.9951 60.3142 76.213 68.1835 68.6175C68.2217 68.5793 68.2697 68.5288 68.2913 68.5097H68.2702C76.0881 60.6531 80 51.1876 80 40.1195Z"),m(r,"fill","white"),Re(e,i)},m(a,s){j(a,e,s),w(e,r)},p(a,[s]){Re(e,i=Ct(n,[{width:"80"},{height:"80"},{viewBox:"0 0 80 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},s&1&&a[0]]))},i:ce,o:ce,d(a){a&&_(e)}}}function F7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class D7 extends de{constructor(e){super(),he(this,e,F7,M7,fe,{})}}function j7(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E,L,T,O,P,H=[{width:"322"},{height:"80"},{viewBox:"0 0 322 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],M={};for(let N=0;N<H.length;N+=1)M=ve(M,H[N]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),k=A("path"),E=A("path"),L=A("path"),T=A("path"),O=A("path"),P=A("path"),this.h()},l(N){e=V(N,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var F=S(e);r=V(F,"path",{d:!0,fill:!0}),S(r).forEach(_),n=V(F,"path",{d:!0,fill:!0}
4),S(n).forEach(_),i=V(F,"path",{d:!0,fill:!0}),S(i).forEach(_),a=V(F,"path",{d:!0,fill:!0}),S(a).forEach(_),s=V(F,"path",{d:!0,fill:!0}),S(s).forEach(_),o=V(F,"path",{d:!0,fill:!0}),S(o).forEach(_),l=V(F,"path",{d:!0,fill:!0}),S(l).forEach(_),u=V(F,"path",{d:!0,fill:!0}),S(u).forEach(_),f=V(F,"path",{d:!0,fill:!0}),S(f).forEach(_),d=V(F,"path",{d:!0,fill:!0}),S(d).forEach(_),c=V(F,"path",{d:!0,fill:!0}),S(c).forEach(_),h=V(F,"path",{d:!0,fill:!0}),S(h).forEach(_),p=V(F,"path",{d:!0,fill:!0}),S(p).forEach(_),g=V(F,"path",{d:!0,fill:!0}),S(g).forEach(_),b=V(F,"path",{d:!0,fill:!0}),S(b).forEach(_),v=V(F,"path",{d:!0,fill:!0}),S(v).forEach(_),y=V(F,"path",{d:!0,fill:!0}),S(y).forEach(_),C=V(F,"path",{d:!0,fill:!0}),S(C).forEach(_),k=V(F,"path",{d:!0,fill:!0}),S(k).forEach(_),E=V(F,"path",{d:!0,fill:!0}),S(E).forEach(_),L=V(F,"path",{d:!0,fill:!0}),S(L).forEach(_),T=V(F,"path",{d:!0,fill:!0}),S(T).forEach(_),O=V(F,"path",{d:!0,fill:!0}),S(O).forEach(_),P=V(F,"path",{d:!0,fill:!0}),S(P).forEach(_),F.forEach(_),this.h()},h(){m(r,"d","M97.5323 13.3388V13.2824C97.5323 7.63059 101.923 3 107.963 3C114.003 3 118.339 7.57412 118.339 13.2259V13.2824C118.339 18.9341 113.948 23.5647 107.908 23.5647C101.868 23.5647 97.5323 18.9906 97.5323 13.3388ZM113.832 13.3388V13.2824C113.832 9.8753 
4111.372 7.03294 107.903 7.03294C104.434 7.03294 102.03 9.81882 102.03 13.2259V13.2824C102.03 16.6894 104.489 19.5318 107.959 19.5318C111.428 19.5318 113.832 16.7459 113.832 13.3388Z"),m(r,"fill","white"),m(n,"d","M123.281 3.33881H132.368C134.633 3.33881 136.338 3.93645 137.487 5.09881C138.381 6.00704 138.83 7.14587 138.83 8.47763V8.5341C138.83 10.7506 137.653 12.087 136.259 12.8259C138.524 13.7059 139.923 15.0706 139.923 17.7106V17.767C139.923 21.4047 137.014 23.2212 132.6 23.2212H123.29V3.33881H123.281ZM134.55 9.22116C134.55 7.88469 133.545 7.1741 131.725 7.1741H127.473V11.3765H131.442C133.341 11.3765 134.545 10.7506 134.545 9.27292V9.21645L134.55 9.22116ZM135.638 17.1741C135.638 15.8376 134.689 15.0141 132.452 15.0141H127.477V19.3906H132.595C134.494 19.3906 135.643 18.7082 135.643 17.2306V17.1741H135.638Z"),m(n,"fill","white"),m(i,"d","M151.299 3.19763H155.268L163.656 23.2259H159.154L157.366 18.7647H149.089L147.301 23.2259H142.91L151.299 3.19763ZM155.829 14.9012L153.23 8.4541L150.632 14.9012H155.833H155.829Z"),m(i,"fill","white"),m(a,"d","M167.793 3.33881H172.434L177.58 11.7482L182.726 3.33881H187.367V23.2212H183.087V10.2376L177.58 18.7317H177.468L172.017 10.3223V23.2212H167.797V3.33881H167.793Z"),m(a,"fill","white"),m(s,"d","M199.891 3.19763H203.861L212.249 23.2259H207.747L205.959 18.7647H197.682L195.894 23.2259H191.503L199.891 3.19763ZM204.421 14.9012L201.823 8.4541L199.224 14.9012H204.426H204.421Z"),m(s,"fill","white"),m(o,"d","M202.18 77.6811V57.7311H211.3C213.836 57.7311 215.803 58.4436 217.114 59.7546C218.225 60.8661 218.824 62.4336 218.824 64.3146V64.3716C218.824 67.5921 217.085 69.6156 214.549 70.5561L219.422 77.6811H214.292L210.017 71.2971H206.569V77.6811H202.18ZM206.569 67.4211H211.015C213.152 67.4211 214.378 66.2811 214.378 64.5996V64.5426C214.378 62.6616 213.067 61.6926 210.929 61.6926H206.569V67.4211Z"),m(o,"fill","white"),m(l,"d","M182.374 77.6811V57.7311H197.422V61.6356H186.735V65.6826H196.14V69.5871H186.735V73.7766H197.565V77.6811H182.374Z"),m(l,"fill","white"),m(u,"d","M167.827 77.6811V61.7781H161.756V57.7311H178.286V61.7781H172.216V77.6811H167.827Z"),m(u,"fill","white"),m(f,"d","M139.953 77.6811V57.7311H144L153.348 70.0146V57.7311H157.68V77.6811H153.946L144.285 64.9986V77.6811H139.953Z"),m(f,"fill","white"),m(d,"d","M120.147 77.6811V57.7311H135.195V61.6356H124.508V65.6826H133.913V69.5871H124.508V73.7766H135.338V77.6811H120.147Z"),m(d,"fill","white"),m(c,"d","M107.742 78.0232C101.871 78.0232 97.5105 73.4917 97.5105 67.7632V67.7062C97.5105 62.0347 101.785 57.3892 107.913 57.3892C111.675 57.3892 113.926 58.6432 115.779 60.4672L112.986 63.6877C111.447 62.2912 109.879 61.4362 107.884 61.4362C104.521 61.4362 102.099 64.2292 102.099 67.6492V67.7062C102.099 71.1262 104.464 73.9762 107.884 73.9762C110.164 73.9762 111.561 73.0642 113.128 71.6392L115.921 74.4607C113.869 76.6552 111.589 78.0232 107.742 78.0232Z"),m(c,"fill","white"),m(h,"d","M307.234 50.6811V30.7311H311.624V46.6911H321.57V50.6811H307.234Z"),m(h,"fill","white"),m(p,"d","M282.296 50.6812L290.846 30.5887H294.893L303.443 50.6812H298.854L297.03 46.2067H288.594L286.77 50.6812H282.296ZM290.162 42.3307H295.463L292.812 35.8612L290.162 42.3307Z"),m(p,"fill","white"),m(g,"d","M273.919 50.6811V30.7311H278.308V50.6811H273.919Z"),m(g,"fill","white"),m(b,"d","M259.172 50.6811V34.7781H253.101V30.7311H269.631V34.7781H263.561V50.6811H259.172Z"),m(b,"fill","white"),m(v,"d","M231.298 50.6811V30.7311H235.345L244.693 43.0146V30.7311H249.025V50.6811H245.291L235.63 37.9986V50.6811H231.298Z"),m(v,"fill","white"),m(y,"d","M211.492 50.6811V30.7311H226.54V34.6356H215.853V38.6826H225.258V42.5871H215.853V46.7766H226.683V50.6811H211.492Z"),m(y,"fill","white"),m(C,"d","M188.486 50.6811V30.7311H196.267C202.537 30.7311 206.869 35.0346 206.869 40.6491V40.7061C206.869 46.3206 202.537 50.6811 196.267 50.6811H188.486ZM196.267 34.6926H192.875V46.7196H196.267C199.858 46.7196 202.28 44.2971 202.28 40.7631V40.7061C202.28 37.1721 199.858 34.6926 196.267 34.6926Z"),m(C,"fill","white"),m(k,"d","M178.399 50.6811V30.7311H182.788V50.6811H178.399Z"),m(k,"fill","white"),m(E,"d","M166.354 50.9662C163.333 50.9662 160.283 49.9117 157.889 47.7742L160.483 44.6677C162.278 46.1497 164.159 47.0902 166.439 47.0902C168.235 47.0902 169.318 46.3777 169.318 45.2092V45.1522C169.318 44.0407 168.634 43.4707 165.299 42.6157C161.281 41.5897 158.687 40.4782 158.687 36.5167V36.4597C158.687 32.8402 161.594 30.4462 165.67 30.4462C168.577 30.4462 171.056 31.3582 173.08 32.9827L170.8 36.2887C169.033 35.0632 167.294 34.3222 165.613 34.3222C163.931 34.3222 163.048 35.0917 163.048 36.0607V36.1177C163.048 37.4287 163.903 37.8562 167.351 38.7397C171.398 39.7942 173.678 41.2477 173.678 44.7247V44.7817C173.678 48.7432 170.657 50.9662 166.354 50.9662Z"),m(E,"fill","white"),m(L,"d","M139.452 50.6811V30.7311H154.5V34.6356H143.8
412V38.6826H153.217V42.5871H143.812V46.7766H154.642V50.6811H139.452Z"),m(L,"fill","white"),m(T,"d","M118.144 50.6811V30.7311H127.264C129.8 30.7311 131.767 31.4436 133.078 32.7546C134.189 33.8661 134.788 35.4336 134.788 37.3146V37.3716C134.788 40.5921 133.049 42.6156 130.513 43.5561L135.386 50.6811H130.256L125.981 44.2971H122.533V50.6811H118.144ZM122.533 40.4211H126.979C129.116 40.4211 130.342 39.2811 130.342 37.5996V37.5426C130.342 35.6616 129.031 34.6926 126.893 34.6926H122.533V40.4211Z"),m(T,"fill","white"),m(O,"d","M98.394 50.6811V30.7311H106.545C111.305 30.7311 114.183 33.5526 114.183 37.6281V37.6851C114.183 42.3021 110.592 44.6961 106.118 44.6961H102.783V50.6811H98.394ZM102.783 40.7916H106.26C108.455 40.7916 109.737 39.4806 109.737 37.7706V37.7136C109.737 35.7471 108.369 34.6926 106.175 34.6926H102.783V40.7916Z"),m(O,"fill","white"),m(P,"d","M26.0206 73.5388L28.0136 72.522C35.0811 68.9505 42.2736 66.1259 49.5934 64.0488C56.6849 62.0534 63.5203 60.8427 70.1544 60.4224C66.8151 65.3198 62.5398 69.215 57.3113 72.042C52.0158 74.8666 46.2643 76.2938 40.1322 76.2938C35.1967 76.2938 30.5031 75.3804 26.0202 73.5383M75.1037 49.9695L74.0389 49.7094C69.3556 48.5663 64.3906 47.741 59.1196 47.2424C55.4864 46.9642 52.1339 46.8369 49.0463 46.8369H48.5428C46.6194 46.8369 44.6789 46.8849 42.6914 46.9647L41.3866 47.0318C40.1749 47.0891 38.3857 47.2424 35.9857 47.4799C25.6538 48.5403 15.8812 50.7914 6.72373 54.2507C5.8 51.9864 5.07365 49.5787 4.54664 47.0318C9.57524 45.4033 14.7723 44.1318 20.133 43.2522C26.5716 42.1658 33.2919 41.6236 40.1998 41.6236C47.1077 41.6236 53.7717 42.1663 60.2251 43.2522C65.5735 44.1323 70.7759 45.4033 75.7957 47.0318L75.1041 49.97L75.1037 49.9695ZM74.1946 52.9983C73.697 54.358 73.1666 55.5956 72.5019 56.7074L71.0963 56.6359C68.7345 56.5071 66.9498 56.4523 65.7052 56.4523H64.5777C55.4027 56.5835 45.967 57.9534 36.2664 60.5527C34.8661 60.9147 33.2924 61.3711 31.5199 61.9795L30.2925 62.3585C25.5005 63.9435 20.994 65.7067 16.7736 67.6516C14.1596 65.4476 11.9375 62.9291 10.0959 60.1594C16.97 57.3873 24.3426 55.2048 32.139 53.6458L37.0099 52.8019C42.9891 51.8356 49.0233 51.3448 55.1171 51.2606L57.1414 51.3135C62.3595 51.3918 67.3166 51.8361 71.993 52.6207H72.0513L74.1946 52.9998V52.9983ZM76.55 39.9574C76.55 41.3327 76.428 42.8305 76.1934 44.5207C71.4832 42.8873 66.6461 41.6231 61.6621 40.7117C61.2306 40.6308 60.753 40.5324 60.2902 40.4526V39.9569C60.2902 34.3298 58.2973 29.5118 54.3085 25.5505C50.3535 21.5769 45.5615 19.5756 39.9432 19.5756C34.3249 19.5756 29.527 21.5764 25.5534 25.5505C21.6973 29.4065 19.5526 34.4576 19.1113 40.7112H19.006C13.9147 41.6471 8.99582 42.6708 4.19694 44.3542C3.98389 42.7736 3.90454 41.4855 3.90454 39.9569C3.90454 29.9198 7.45693 21.3344 14.5416 14.2571C21.6332 7.15571 30.197 3.6048 40.2513 3.6048C50.3055 3.6048 58.8091 7.15571 65.9295 14.2571C73.0118 21.3349 76.551 29.9198 76.551 39.9569M80 40.1195C80 29.0377 76.0876 19.605 68.2511 11.7396C60.4513 3.92315 51.026 0 40.0284 0C28.9721 0.076406 19.5012 3.92315 11.6965 11.4873V11.5084C11.6754 11.5378 11.6157 11.5926 11.5966 11.6137C3.92903 19.5232 0.0798345 29.0377 0 40.1195V40.1455C0 51.1396 3.84724 60.5522 11.5966 68.4044C19.4096 76.2938 28.8349 80.1553 39.8834 79.9951H39.927C50.8893 79.9951 60.3142 76.213 68.1835 68.6175C68.2217 68.5793 68.2697 68.5288 68.2913 68.5097H68.2702C76.0881 60.6531 80 51.1876 80 40.1195Z"),m(P,"fill","white"),Re(e,M)},m(N,F){j(N,e,F),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C),w(e,k),w(e,E),w(e,L),w(e,T),w(e,O),w(e,P)},p(N,[F]){Re(e,M=Ct(H,[{width:"322"},{height:"80"},{viewBox:"0 0 322 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},F&1&&N[0]]))},i:ce,o:ce,d(N){N&&_(e)}}}function U7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class x7 extends de{constructor(e){super(),he(this,e,U7,j7,fe,{})}}function B7(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y=[{width:"303"},{height:"80"},{viewBox:"0 0 303 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],C={};for(let k=0;k<y.length;k+=1)C=ve(C,y[k]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),this.h()},l(k){e=V(k,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var E=S(e);r=V(E,"path",{d:!0,fill:!0}),S(r).forEach(_),n=V(E,"path",{d:!0,fill:!0}
4),S(n).forEach(_),i=V(E,"path",{d:!0,fill:!0}),S(i).forEach(_),a=V(E,"path",{d:!0,fill:!0}),S(a).forEach(_),s=V(E,"path",{d:!0,fill:!0}),S(s).forEach(_),o=V(E,"path",{d:!0,fill:!0}),S(o).forEach(_),l=V(E,"path",{d:!0,fill:!0}),S(l).forEach(_),u=V(E,"path",{d:!0,fill:!0}),S(u).forEach(_),f=V(E,"path",{d:!0,fill:!0}),S(f).forEach(_),d=V(E,"path",{d:!0,fill:!0}),S(d).forEach(_),c=V(E,"path",{d:!0,fill:!0}),S(c).forEach(_),h=V(E,"path",{d:!0,fill:!0}),S(h).forEach(_),p=V(E,"path",{d:!0,fill:!0}),S(p).forEach(_),g=V(E,"path",{d:!0,fill:!0}),S(g).forEach(_),b=V(E,"path",{d:!0,fill:!0}),S(b).forEach(_),v=V(E,"path",{d:!0,fill:!0}),S(v).forEach(_),E.forEach(_),this.h()},h(){m(r,"d","M97.5324 25.9576V25.9011C97.5324 20.2494 101.923 15.6188 107.963 15.6188C114.003 15.6188 118.339 20.1929 118.339 25.8447V25.9011C118.339 31.5529 113.948 36.1835 107.908 36.1835C101.868 36.1835 97.5324 31.6094 97.5324 25.9576ZM113.832 25.9576V25.9011C113.832 22.4941 111.372 19.6517 107.903 19.6517C104.434 19.6517 102.03 22.4376 102.03 25.8447V25.9011C102.03 29.3082 104.489 32.1505 107.959 32.1505C111.428 32.1505 113.832 29.3647 113.832 25.9576Z"),m(r,"fill","white"),m(n,"d","M123.281 15.9576H132.368C134.633 15.9576 136.338 16.5553 137.487 17.7176C138.38 18.6259 138.83 19.7647 138.83 21.0965V21.1529C138.83 23.3694 137.653 24.7059 136.259 25.4447C138.524 26.3247 139.923 27.6894 139.923 30.3294V30.3859C139.923 34.0235 137.014 35.84 132.6 35.84H123.29V15.9576H123.281ZM134.55 21.84C134.55 20.5035 133.545 19.7929 131.725 19.7929H127.472V23.9953H131.442C133.341 23.9953 134.545 23.3694 134.545 21.8918V21.8353L134.55 21.84ZM135.638 29.7929C135.638 28.4565 134.689 27.6329 132.452 27.6329H127.477V32.0094H132.595C134.494 32.0094 135.643 31.3271 135.643 29.8494V29.7929H135.638Z"),m(n,"fill","white"),m(i,"d","M151.299 15.8165H155.268L163.656 35.8448H159.154L157.366 31.3836H149.089L147.301 35.8448H142.91L151.299 15.8165ZM155.829 27.5201L153.23 21.073L150.632 27.5201H155.833H155.829Z"),m(i,"fill","white"),m(a,"d","M167.793 15.9576H172.434L177.58 24.3671L182.726 15.9576H187.367V35.84H183.087V22.8565L177.58 31.3506H177.468L172.017 22.9412V35.84H167.797V15.9576H167.793Z"),m(a,"fill","white"),m(s,"d","M199.891 15.8165H203.861L212.249 35.8448H207.747L205.959 31.3836H197.682L195.894 35.8448H191.503L199.891 15.8165ZM204.421 27.5201L201.823 21.073L199.224 27.5201H204.426H204.421Z"),m(s,"fill","white"),m(o,"d","M98.3986 43.3882H113.299V47.3647H102.702V51.5952H112.039V55.5717H102.702V63.2705H98.3939V43.3882H98.3986Z"),m(o,"fill","white"),m(l,"d","M116.991 53.3835V53.327C116.991 47.6753 121.382 43.0447 127.422 43.0447C133.462 43.0447 137.797 47.6188 137.797 53.2706V53.327C137.797 58.9788 133.406 63.6094 127.366 63.6094C121.326 63.6094 116.991 59.0353 116.991 53.3835ZM133.29 53.3835V53.327C133.29 49.92 130.831 47.0776 127.361 47.0776C123.892 47.0776 121.488 49.8635 121.488 53.2706V53.327C121.488 56.7341 123.948 59.5764 127.417 59.5764C130.886 59.5764 133.29 56.7906 133.29 53.3835Z"),m(l,"fill","white"),m(u,"d","M142.433 54.7482V43.3835H146.741V54.6305C146.741 57.8964 148.306 59.5435 150.961 59.5435C153.615 59.5435 155.185 57.9529 155.185 54.7717V43.3788H159.492V54.5976C159.492 60.6211 156.167 63.5764 150.91 63.5764C145.652 63.5764 142.438 60.6211 142.438 54.7435L142.433 54.7482Z"),m(u,"fill","white"),m(f,"d","M164.995 43.3882H168.964L178.135 55.6329V43.3882H182.387V63.2705H178.724L169.247 50.6305V63.2705H165V43.3882H164.995Z"),m(f,"fill","white"),m(d,"d","M188.205 43.3882H195.838C201.989 43.3882 206.241 47.6799 206.241 53.2752V53.3317C206.241 58.927 201.989 63.2752 195.838 63.2752H188.205V43.3929V43.3882ZM192.513 47.3364V59.3223H195.838C199.335 59.3223 201.739 56.9082 201.739 53.3835V53.327C201.739 49.8023 199.335 47.3317 195.838 47.3317H192.513V47.3364Z"),m(d,"fill","white"),m(c,"d","M216.496 43.2423H220.466L228.854 63.2705H224.352L222.564 58.8094H214.287L212.499 63.2705H208.108L216.496 43.2423ZM221.026 54.9458L218.428 48.4988L215.829 54.9458H221.031H221.026Z"),m(c,"fill","white"),m(h,"d","M235.037 47.4211H229.081V43.3882H245.297V47.4211H239.34V63.2705H235.033V47.4211H235.037Z"),m(h,"fill","white"),m(p,"d","M249.91 43.3882H254.218V63.2705H249.91V43.3882Z"),m(p,"fill","white"),m(g,"d","M259.359 53.3835V53.327C259.359 47.6753 263.75 43.0447 269.79 43.0447C275.83 43.0447 280.165 47.6188 280.165 53.2706V53.327C280.165 58.9788 275.774 63.6094 269.734 63.6094C2
463.695 63.6094 259.359 59.0353 259.359 53.3835ZM275.659 53.3835V53.327C275.659 49.92 273.199 47.0776 269.73 47.0776C266.261 47.0776 263.857 49.8635 263.857 53.2706V53.327C263.857 56.7341 266.316 59.5764 269.785 59.5764C273.255 59.5764 275.659 56.7906 275.659 53.3835Z"),m(g,"fill","white"),m(b,"d","M285.112 43.3882H289.082L298.253 55.6329V43.3882H302.505V63.2705H298.841L289.364 50.6305V63.2705H285.112V43.3882Z"),m(b,"fill","white"),m(v,"d","M26.0206 73.5388L28.0136 72.522C35.0811 68.9505 42.2736 66.1259 49.5934 64.0488C56.6849 62.0534 63.5203 60.8427 70.1544 60.4224C66.8151 65.3198 62.5398 69.215 57.3113 72.042C52.0158 74.8666 46.2643 76.2938 40.1322 76.2938C35.1967 76.2938 30.5031 75.3804 26.0202 73.5383M75.1037 49.9695L74.0389 49.7094C69.3556 48.5663 64.3906 47.741 59.1196 47.2424C55.4864 46.9642 52.1339 46.8369 49.0463 46.8369H48.5428C46.6194 46.8369 44.6789 46.8849 42.6914 46.9647L41.3866 47.0318C40.1749 47.0891 38.3857 47.2424 35.9857 47.4799C25.6538 48.5403 15.8812 50.7914 6.72373 54.2507C5.8 51.9864 5.07365 49.5787 4.54664 47.0318C9.57524 45.4033 14.7723 44.1318 20.133 43.2522C26.5716 42.1658 33.2919 41.6236 40.1998 41.6236C47.1077 41.6236 53.7717 42.1663 60.2251 43.2522C65.5735 44.1323 70.7759 45.4033 75.7957 47.0318L75.1041 49.97L75.1037 49.9695ZM74.1946 52.9983C73.697 54.358 73.1666 55.5956 72.5019 56.7074L71.0963 56.6359C68.7345 56.5071 66.9498 56.4523 65.7052 56.4523H64.5777C55.4027 56.5835 45.967 57.9534 36.2664 60.5527C34.8661 60.9147 33.2924 61.3711 31.5199 61.9795L30.2925 62.3585C25.5005 63.9435 20.994 65.7067 16.7736 67.6516C14.1596 65.4476 11.9375 62.9291 10.0959 60.1594C16.97 57.3873 24.3426 55.2048 32.139 53.6458L37.0099 52.8019C42.9891 51.8356 49.0233 51.3448 55.1171 51.2606L57.1414 51.3135C62.3595 51.3918 67.3166 51.8361 71.993 52.6207H72.0513L74.1946 52.9998V52.9983ZM76.55 39.9574C76.55 41.3327 76.428 42.8305 76.1934 44.5207C71.4832 42.8873 66.6461 41.6231 61.6621 40.7117C61.2306 40.6308 60.753 40.5324 60.2902 40.4526V39.9569C60.2902 34.3298 58.2973 29.5118 54.3085 25.5505C50.3535 21.5769 45.5615 19.5756 39.9432 19.5756C34.3249 19.5756 29.527 21.5764 25.5534 25.5505C21.6973 29.4065 19.5526 34.4576 19.1113 40.7112H19.006C13.9147 41.6471 8.99582 42.6708 4.19694 44.3542C3.98389 42.7736 3.90454 41.4855 3.90454 39.9569C3.90454 29.9198 7.45693 21.3344 14.5416 14.2571C21.6332 7.15571 30.197 3.6048 40.2513 3.6048C50.3055 3.6048 58.8091 7.15571 65.9295 14.2571C73.0118 21.3349 76.551 29.9198 76.551 39.9569M80 40.1195C80 29.0377 76.0876 19.605 68.2511 11.7396C60.4513 3.92315 51.026 0 40.0284 0C28.9721 0.076406 19.5012 3.92315 11.6965 11.4873V11.5084C11.6754 11.5378 11.6157 11.5926 11.5966 11.6137C3.92903 19.5232 0.0798345 29.0377 0 40.1195V40.1455C0 51.1396 3.84724 60.5522 11.5966 68.4044C19.4096 76.2938 28.8349 80.1553 39.8834 79.9951H39.927C50.8893 79.9951 60.3142 76.213 68.1835 68.6175C68.2217 68.5793 68.2697 68.5288 68.2913 68.5097H68.2702C76.0881 60.6531 80 51.1876 80 40.1195Z"),m(v,"fill","white"),Re(e,C)},m(k,E){j(k,e,E),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v)},p(k,[E]){Re(e,C=Ct(y,[{width:"303"},{height:"80"},{viewBox:"0 0 303 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},E&1&&k[0]]))},i:ce,o:ce,d(k){k&&_(e)}}}function z7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class $7 extends de{constructor(e){super(),he(this,e,z7,B7,fe,{})}}function Z7(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E,L,T,O,P,H=[{width:"306"},{height:"80"},{viewBox:"0 0 306 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],M={};for(let N=0;N<H.length;N+=1)M=ve(M,H[N]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),k=A("path"),E=A("path"),L=A("path"),T=A("path"),O=A("path"),P=A("path"),this.h()},l(N){e=V(N,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var F=S(e);r=V(F,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(F,"path",{fill:!0,d:!0}
4),S(n).forEach(_),i=V(F,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(F,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(F,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(F,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(F,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(F,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(F,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(F,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(F,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(F,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(F,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(F,"path",{fill:!0,d:!0}),S(g).forEach(_),b=V(F,"path",{fill:!0,d:!0}),S(b).forEach(_),v=V(F,"path",{fill:!0,d:!0}),S(v).forEach(_),y=V(F,"path",{fill:!0,d:!0}),S(y).forEach(_),C=V(F,"path",{fill:!0,d:!0}),S(C).forEach(_),k=V(F,"path",{fill:!0,d:!0}),S(k).forEach(_),E=V(F,"path",{fill:!0,d:!0}),S(E).forEach(_),L=V(F,"path",{fill:!0,d:!0}),S(L).forEach(_),T=V(F,"path",{fill:!0,d:!0}),S(T).forEach(_),O=V(F,"path",{fill:!0,d:!0}),S(O).forEach(_),P=V(F,"path",{fill:!0,d:!0}),S(P).forEach(_),F.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M104.526 11.8253V11.7643C104.526 5.88978 109.123 1.08337 115.444 1.08337C121.766 1.08337 126.302 5.84401 126.302 11.7185V11.7795C126.302 17.654 121.705 22.4604 115.384 22.4604C109.063 22.4604 104.526 17.7151 104.526 11.8406V11.8253ZM121.584 11.8253V11.7643C121.584 8.22432 119.013 5.26419 115.384 5.26419C111.755 5.26419 109.244 8.16329 109.244 11.7032V11.7643C109.244 15.3042 111.815 18.2644 115.444 18.2644C119.074 18.2644 121.584 15.3653 121.584 11.8253Z"),m(n,"fill","currentColor"),m(n,"d","M130.068 1.43433H139.58C141.954 1.43433 143.738 2.05992 144.933 3.26534C145.871 4.21136 146.339 5.38626 146.339 6.77478V6.83581C146.339 9.13984 145.115 10.5284 143.648 11.2913C146.022 12.2068 147.489 13.6258 147.489 16.3723V16.4334C147.489 20.2175 144.449 22.0943 139.822 22.0943H130.083V1.43433H130.068ZM141.863 7.5377C141.863 6.14918 140.805 5.41678 138.914 5.41678H134.468V9.78069H138.627C140.623 9.78069 141.878 9.12458 141.878 7.59874V7.5377H141.863ZM142.997 15.8078C142.997 14.4193 141.999 13.5648 139.655 13.5648H134.453V18.1118H139.807C141.803 18.1118 142.997 17.4099 142.997 15.8688V15.8078Z"),m(i,"fill","currentColor"),m(i,"d","M157.591 1.28174H161.749L170.52 22.0942H165.802L163.927 17.4557H155.262L153.387 22.0942H148.789L157.56 1.28174H157.591ZM162.324 13.4427L159.602 6.74426L156.88 13.4427H162.324Z"),m(a,"fill","currentColor"),m(a,"d","M173.272 1.43433H178.127L183.51 10.1774L188.894 1.43433H193.748V22.0943H189.272V8.60579L183.51 17.4404H183.389L177.688 8.69734V22.0943H173.272V1.43433Z"),m(s,"fill","currentColor"),m(s,"d","M205.302 1.28174H209.46L218.231 22.0942H213.513L211.638 17.4557H202.973L201.098 22.0942H196.5L205.271 1.28174H205.302ZM210.035 13.4427L207.313 6.74426L204.591 13.4427H210.035Z"),m(o,"fill","currentColor"),m(o,"d","M105.433 30.1812H121.025V34.3162H109.94V38.7106H119.709V42.8457H109.94V50.8411H105.433V30.1812Z"),m(l,"fill","currentColor"),m(l,"d","M122.87 40.5721V40.5111C122.87 34.6366 127.467 29.8302 133.788 29.8302C140.109 29.8302 144.646 34.5908 144.646 40.4653V40.5264C144.646 46.4009 140.049 51.2073 133.727 51.2073C127.406 51.2073 122.87 46.4619 122.87 40.5874V40.5721ZM139.928 40.5721V40.5111C139.928 36.9711 137.357 34.011 133.727 34.011C130.098 34.011 127.588 36.9101 127.588 40.4501V40.5111C127.588 44.0511 130.159 47.0112 133.788 47.0112C137.417 47.0112 139.928 44.1121 139.928 40.5721Z"),m(u,"fill","currentColor"),m(u,"d","M148.124 41.9912V30.1812H152.63V41.8691C152.63 45.2565 154.264 46.9807 157.046 46.9807C159.829 46.9807 161.462 45.3328 161.462 42.0217V30.1812H165.968V41.8386C165.968 48.0946 162.49 51.1615 156.986 51.1615C151.481 51.1615 148.124 48.0946 148.124 41.9759V41.9912Z"),m(f,"fill","currentColor"),m(f,"d","M170.596 30.1812H174.754L184.357 42.9067V30.1812H188.803V50.8411H184.962L175.042 37.7036V50.8411H170.596V30.1812Z"),m(d,"fill","currentColor"),m(d,"d","M193.657 30.1812H201.642C208.084 30.1812 212.53 34.6366 212.53 40.4501V40.5111C212.53 46.3246 208.084 50.8411 201.642 50.8411H193.657V30.1812ZM198.164 34.2857V46.7518H201.642C205.302 46.7518 207.812 44.2494 207.812 40.5874V40.5264C207.812 36.8643 205.302 34.3
4009 201.642 34.3009H198.164V34.2857Z"),m(c,"fill","currentColor"),m(c,"d","M221.997 30.0438H226.155L234.926 50.8563H230.208L228.333 46.2178H219.668L217.793 50.8563H213.196L221.967 30.0438H221.997ZM226.73 42.2048L224.008 35.5063L221.286 42.2048H226.73Z"),m(h,"fill","currentColor"),m(h,"d","M240.023 34.3772H233.792V30.1812H250.76V34.3772H244.529V50.8563H240.023V34.3772Z"),m(p,"fill","currentColor"),m(p,"d","M253.754 30.1812H258.26V50.8411H253.754V30.1812Z"),m(g,"fill","currentColor"),m(g,"d","M262.117 40.5721V40.5111C262.117 34.6366 266.714 29.8302 273.035 29.8302C279.356 29.8302 283.893 34.5908 283.893 40.4653V40.5264C283.893 46.4009 279.296 51.2073 272.974 51.2073C266.653 51.2073 262.117 46.4619 262.117 40.5874V40.5721ZM279.175 40.5721V40.5111C279.175 36.9711 276.604 34.011 272.974 34.011C269.345 34.011 266.835 36.9101 266.835 40.4501V40.5111C266.835 44.0511 269.406 47.0112 273.035 47.0112C276.664 47.0112 279.175 44.1121 279.175 40.5721Z"),m(b,"fill","currentColor"),m(b,"d","M286.978 30.1812H291.136L300.739 42.9067V30.1812H305.185V50.8411H301.359L291.439 37.7036V50.8411H286.993V30.1812H286.978Z"),m(v,"fill","currentColor"),m(v,"d","M104.027 76.5974L106.689 73.3778C108.564 74.9189 110.469 75.8802 112.798 75.8802C114.673 75.8802 115.747 75.1478 115.747 73.9271V73.8661C115.747 72.7217 115.051 72.0961 111.618 71.2417C107.46 70.2041 104.828 68.9987 104.828 64.9247V64.8636C104.828 61.11 107.777 58.6382 111.996 58.6382C115.006 58.6382 117.501 59.5842 119.603 61.2626L117.259 64.6805C115.414 63.4141 113.69 62.6512 111.936 62.6512C110.182 62.6512 109.305 63.4141 109.305 64.4517V64.5127C109.305 65.9012 110.182 66.2827 113.72 67.2287C117.879 68.3578 120.223 69.8226 120.223 73.4236V73.4846C120.223 77.5892 117.123 79.8932 112.707 79.8932C109.577 79.8932 106.477 78.8251 104.012 76.5821L104.027 76.5974Z"),m(y,"fill","currentColor"),m(y,"d","M122.749 69.3343V69.2733C122.749 63.3988 127.134 58.5924 133.425 58.5924C137.251 58.5924 139.625 59.8894 141.5 61.7814L138.627 65.123C137.024 63.6735 135.466 62.7885 133.395 62.7885C129.947 62.7885 127.452 65.6876 127.452 69.2275V69.2886C127.452 72.8285 129.886 75.7887 133.395 75.7887C135.739 75.7887 137.175 74.8732 138.778 73.3626L141.652 76.2922C139.55 78.5657 137.236 79.9847 133.259 79.9847C127.225 79.9847 122.749 75.2851 122.749 69.3496V69.3343Z"),m(C,"fill","currentColor"),m(C,"d","M144.767 58.9434H149.273V67.1219H157.591V58.9434H162.097V79.6033H157.591V71.3027H149.273V79.6033H144.767V58.9434Z"),m(k,"fill","currentColor"),m(k,"d","M165.908 69.3343V69.2733C165.908 63.3988 170.505 58.5924 176.826 58.5924C183.147 58.5924 187.684 63.353 187.684 69.2123V69.2733C187.684 75.1478 183.087 79.9542 176.766 79.9542C170.445 79.9542 165.908 75.1936 165.908 69.3191V69.3343ZM182.966 69.3343V69.2733C182.966 65.7334 180.395 62.7732 176.766 62.7732C173.136 62.7732 170.626 65.6723 170.626 69.2123V69.2733C170.626 72.8133 173.197 75.7734 176.826 75.7734C180.456 75.7734 182.966 72.8743 182.966 69.3343Z"),m(E,"fill","currentColor"),m(E,"d","M191.45 58.9434H195.956V75.4682H206.164V79.6033H191.45V58.9434Z"),m(L,"fill","currentColor"),m(L,"d","M216.931 58.7908H221.09L229.861 79.6033H225.142L223.267 74.9647H214.602L212.727 79.6033H208.13L216.901 58.7908H216.931ZM221.664 70.9517L218.942 64.2533L216.22 70.9517H221.664Z"),m(T,"fill","currentColor"),m(T,"d","M232.628 58.9434H241.989C244.59 58.9434 246.586 59.6452 247.962 61.0338C249.126 62.2087 249.716 63.7803 249.716 65.7639V65.8249C249.716 69.1665 247.932 71.2569 245.331 72.2335L250.336 79.6185H245.074L240.688 73.0116H237.15V79.6185H232.643V58.9586L232.628 58.9434ZM241.701 68.9834C243.924 68.9834 245.149 67.839 245.149 66.0538V65.9928C245.149 64.0092 243.834 63.0326 241.611 63.0326H237.134V68.9682H241.701V68.9834Z"),m(O,"fill","currentColor"),m(O,"d","M252.06 76.5974L254.722 73.3778C256.597 74.9189 258.502 75.8802 260.831 75.8802C262.706 75.8802 263.78 75.1478 263.78 73.9271V73.8661C263.78 72.7217 263.084 72.0961 259.652 71.2417C255.493 70.2041 252.862 68.9987 252.862 64.9247V64.8636C252.862 61.11 255.81 58.6382 260.03 58.6382C263.039 58.6382 265.534 59.5842 267.636 61.2626L265.292 64.6805C263.447 63.4141 261.723 62.6512 259.969 62.6512C258.215 62.6512 257.338 63.4141 257.338 64.4517V64.5127C257.338 65.9012 258.215 66.2827 261.754 67.2287C265.912 68.3578 268.241 69.8226 268.241 73.4236V73.4846C268.241 77.5892 265.141 79.8932 260.725 79.8932C257.595 79.8932 254.495 78.8251 252.03 76.5821L252.06 76.5974Z"),m(P,"fill","currentColor"),m(P,"d","M49.8737 66.5268C57.6163 64.3296 65.0717 62.9868 72.3153 62.5291C68.6708 67.9153 64.0131 72.2029 58.2969 75.3157C52.5201 78.4284 46.2443 80 39.5451 80C34.1615 80 29.035 78.9929 24.1505 76.9636L26.3281 75.8497C34.0405 71.913 41.8891 68.8003 49.8888 66.5268H49.8737ZM67.6879 11.7185C59.9301 3.90616 50.5996 0 39.6661 0C28.7326 0 19.3567 3.90616 11.614 11.7185C3.87133 19.5155 0 28.9605 0 40.0076C0 41.6861 0.105857 43.395 0.332693 45.1497C5.56504 43.2882 
410.9335 41.8692 16.4834 40.8316H16.6044C17.0883 33.95 19.4323 28.396 23.6363 24.1389C27.9613 19.7597 33.2088 17.5625 39.3334 17.5625C45.4579 17.5625 50.7054 19.7597 55.0153 24.1389C59.3706 28.5028 61.5482 33.7974 61.5482 39.9924V40.5417C62.0623 40.6332 62.5765 40.74 63.0453 40.8316C68.4894 41.8234 73.7671 43.2272 78.9087 45.0277C79.1658 43.1661 79.3019 41.5182 79.3019 40.0076C79.3019 28.9605 75.4457 19.5155 67.703 11.7337L67.6879 11.7185ZM74.3115 53.9233C69.2001 53.0689 63.7863 52.5806 58.1003 52.489L55.8924 52.428C49.2385 52.5196 42.6603 53.0536 36.1274 54.1217L30.8043 55.0525C22.2904 56.7767 14.2453 59.1722 6.74459 62.2239C8.75587 65.2756 11.1755 68.0374 14.0336 70.4635C18.6459 68.312 23.5607 66.3895 28.7931 64.6348L30.1238 64.2075C32.0595 63.5361 33.7834 63.0326 35.3108 62.6359C45.8965 59.7673 56.1948 58.2567 66.2059 58.1194H67.4308C68.7918 58.1194 70.7426 58.1804 73.3134 58.3178L74.8559 58.3941C75.5818 57.1734 76.1564 55.8001 76.7008 54.32L74.3568 53.8928H74.2964L74.3115 53.9233ZM39.6056 41.8234C32.0746 41.8234 24.7251 42.4185 17.7083 43.6239C11.856 44.6004 6.18506 45.9889 0.69563 47.7894C1.27028 50.597 2.07177 53.2367 3.06985 55.7391C13.0658 51.9245 23.727 49.4526 35.0084 48.2777C37.6245 48.0183 39.5753 47.8505 40.9061 47.7894L42.3276 47.7131C44.4901 47.6368 46.6072 47.5758 48.7093 47.5758H49.2537C52.626 47.5758 56.2856 47.7131 60.2477 48.0183C65.9942 48.5676 71.4231 49.4831 76.5345 50.7343L77.6989 51.0242L78.455 47.7894C72.9807 45.9889 67.2947 44.6004 61.4574 43.6239C54.4104 42.4337 47.1214 41.8234 39.6056 41.8234Z"),Re(e,M)},m(N,F){j(N,e,F),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C),w(e,k),w(e,E),w(e,L),w(e,T),w(e,O),w(e,P)},p(N,[F]){Re(e,M=Ct(H,[{width:"306"},{height:"80"},{viewBox:"0 0 306 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},F&1&&N[0]]))},i:ce,o:ce,d(N){N&&_(e)}}}function W7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class q7 extends de{constructor(e){super(),he(this,e,W7,Z7,fe,{})}}function Q7(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p=[{width:"298"},{height:"80"},{viewBox:"0 0 298 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],g={};for(let b=0;b<p.length;b+=1)g=ve(g,p[b]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),this.h()},l(b){e=V(b,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var v=S(e);r=V(v,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(v,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(v,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(v,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(v,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(v,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(v,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(v,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(v,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(v,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(v,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(v,"path",{fill:!0,d:!0}),S(h).forEach(_),v.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M50.3195 66.5247C58.1317 64.3272 65.6534 62.9913 72.9623 62.5266C69.2837 67.909 64.5789 72.2072 58.819 75.3147C52.9816 78.4221 46.6505 80 39.8935 80C34.453 80 29.2836 78.9933 24.3563 76.9604L26.5537 75.8471C34.3369 71.9168 42.2556 68.7996 50.3195 66.515V66.5247ZM68.3059 11.7232C60.4647 3.91096 51.0649 0 40.0291 0C28.9932 0 19.5257 3.91096 11.7135 11.7232C3.90126 19.516 0 28.9642 0 40.0097C0 41.6844 0.106485 43.3979 0.338818 45.1501C5.62439 43.2914 11.0261 41.8683 16.6312 40.8325H16.7473C17.2314 33.9497 19.5934 28.393 23.8432 24.1433C28.2091 19.7677 33.5044 17.5702 39.6902 17.5702C45.8761 17.5702 51.1617 19.7774 55.5082 24.1433C59.9032 28.4995 62.1007 33.8045 62.1007 40V40.5421C62.6138 40.6292 63.1268 40.7357 63.6108 40.8229C69.0997 41.82 74.4337 43.2139 79.6128 45.0145C79.8742 43.1559 80 41.5102 80 39.9903C80 28.9448 76.1084 19.4966 68.2962 11.7038L68.3059 11.7232ZM74.9855 53.94C69.8354 53.0784 64.3756 52.5944 58.6254 52.5073L56.3892 52.4492C49.6806 52.5363 43.0397 53.0784 36.4472 54.1433L31.0842 55.0726C22.4976 56.7861 14.3756 59.1965 6.80542 62.2459C8.83834 65.2953 11.2875 68.0639 14.1626 70.4937C18.8093 68.3446 23.7754 66.4086 29.0513 64.6661L30.3969 64.2401C32.3524 63.5721 34.0852 63.0688 35.6244 62.6719C46.3117 59.8064 56.6989 58.2962 66.8054 58.151H68.0445C69.4192 58.151 71.3843 58.2188 73.9787 58.3543L75.5276 58.4414C76.2536 57.212 76.8442 55.8567 77.3863 54.3563L75.0242 53.9303H74.9661L74.9855 53.94ZM39.971 41.8393C32.3717 41.8393 24.9661 42.4298 17.8703 43.6302C11.9651 44.5983 6.24395 46.0019 
40.697 47.7928C1.27783 50.6002 2.08131 53.243 3.09777 55.7406C13.1849 51.9265 23.94 49.4482 35.3243 48.2866C37.9671 48.0252 39.9323 47.8509 41.2682 47.7928L42.7106 47.7154C44.8984 47.638 47.0281 47.5799 49.1481 47.5799H49.6999C53.0978 47.5799 56.7861 47.7154 60.7938 48.0252C66.6021 48.577 72.062 49.487 77.2314 50.7454L78.4027 51.0261L79.1675 47.7928C73.6399 46.0019 67.909 44.5983 62.0136 43.6302C54.908 42.4298 47.5411 41.8393 39.9613 41.8393H39.971Z"),m(n,"fill","currentColor"),m(n,"d","M102.024 8.02454H108.452L115.577 19.4863L122.702 8.02454H129.13V35.1301H123.205V17.434L115.577 29.0119H115.422L107.871 17.5502V35.1301H102.024V8.02454Z"),m(i,"fill","currentColor"),m(i,"d","M135.324 8.02454H147.908C151.045 8.02454 153.407 8.83771 154.995 10.4253C156.234 11.6644 156.853 13.2133 156.853 15.0332V15.1107C156.853 18.131 155.227 19.951 153.291 20.9577C156.427 22.1581 158.363 24.0168 158.363 27.6179V27.6954C158.363 32.6518 154.336 35.1301 148.218 35.1301H135.324V8.02454ZM150.929 16.04C150.929 14.2201 149.535 13.252 147.018 13.252H141.132V18.9829H146.631C149.264 18.9829 150.929 18.131 150.929 16.1175V16.04ZM152.439 26.8822C152.439 25.0623 151.122 23.9394 148.025 23.9394H141.132V29.9026H148.218C150.851 29.9026 152.439 28.9732 152.439 26.9597V26.8822Z"),m(a,"fill","currentColor"),m(a,"d","M163.05 8.02454H169.013V19.8735L179.932 8.02454H187.251L176.176 19.525L187.716 35.1301H180.552L172.149 23.5908L169.013 26.8435V35.1301H163.05V8.02454Z"),m(s,"fill","currentColor"),m(s,"d","M111.319 44.6165H116.818L128.435 71.9156H122.2L119.722 65.8362H108.26L105.782 71.9156H99.7028L111.319 44.6165ZM117.592 60.57L113.991 51.7801L110.39 60.57H117.592Z"),m(o,"fill","currentColor"),m(o,"d","M131.823 44.8108H137.786V66.4952H151.3V71.9163H131.823V44.8108Z"),m(l,"fill","currentColor"),m(l,"d","M154.816 44.8108H160.779V66.4952H174.293V71.9163H154.816V44.8108Z"),m(u,"fill","currentColor"),m(u,"d","M177.925 44.8108H183.888V71.9163H177.925V44.8108Z"),m(f,"fill","currentColor"),m(f,"d","M198.939 44.6165H204.437L216.054 71.9156H209.82L207.342 65.8362H195.88L193.402 71.9156H187.322L198.939 44.6165ZM205.212 60.57L201.611 51.7801L198.009 60.57H205.212Z"),m(d,"fill","currentColor"),m(d,"d","M219.442 44.8108H224.941L237.642 61.5V44.8108H243.528V71.9163H238.455L225.328 54.685V71.9163H219.442V44.8108Z"),m(c,"fill","currentColor"),m(c,"d","M248.321 58.4403V58.3629C248.321 50.6572 254.129 44.3455 262.454 44.3455C267.527 44.3455 270.664 46.0492 273.142 48.5275L269.347 52.9031C267.217 51.0057 265.165 49.844 262.416 49.844C257.847 49.844 254.555 53.6388 254.555 58.2854V58.3629C254.555 63.0096 257.769 66.8818 262.416 66.8818C265.514 66.8818 267.411 65.6814 269.541 63.7066L273.335 67.54C270.547 70.5216 267.488 72.3803 262.222 72.3803C254.245 72.3803 248.321 66.2235 248.321 58.4403Z"),m(h,"fill","currentColor"),m(h,"d","M277.189 44.8108H297.634V50.1157H283.113V55.6143H295.892V60.9192H283.113V66.6114H297.828V71.9163H277.189V44.8108Z"),Re(e,g)},m(b,v){j(b,e,v),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h)},p(b,[v]){Re(e,g=Ct(p,[{width:"298"},{height:"80"},{viewBox:"0 0 298 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},v&1&&b[0]]))},i:ce,o:ce,d(b){b&&_(e)}}}function G7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class K7 extends de{constructor(e){super(),he(this,e,G7,Q7,fe,{})}}function X7(t){let e,r,n,i,a,s,o,l,u,f=[{width:"283"},{height:"80"},{viewBox:"0 0 283 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],d={};for(let c=0;c<f.length;c+=1)d=ve(d,f[c]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),this.h()},l(c){e=V(c,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var h=S(e);r=V(h,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(h,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(h,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(h,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(h,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(h,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(h,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(h,"path",{fill:!0,d:!0}),S(u).forEach(_),h.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M50.3195 66.5247C58.1317 64.3272 65.6535 62.9913 72.9623 62.5266C69.2837 67.909 64.5789 72.2072 58.819 75.3147C52.9816 78.4221 46.6505 80 39.8935 80C34.453 80 29.2837 78.9933 24.3563 76.9604L26.5538 75.8471C34.3369 71.9168 42.2556 68.7996 50.3195 66.515V66.5247ZM68.306 11.7232C60.4647 3.91096 51.0648 0 40.029 0C28.9932 0 19.5256 3.91096 11.7134 11.7232C3.90124 19.516 0 28.9642 0 40.0097C0 41.6844 0.106462 43.3979 0.338795 45.1501C5.62437 43.2914 11.0262 41.8683 16.6312 40.8325H16.7474C17.2314 33.9497 19.5934 28.393 23.8432 24.1433C28.2091 19.7677 33.5044 17.5702 39.6902 17.5702C45.8761 17.5702 51.1616 19.7774 55.5082 24.1433C59.9032 28.4995 62.1007 33.8045 62.1007 40V40.5421C62.6138 40.6292 63.1268 40.7357 63.6108 40.8229C69.0997 41.82 74.4337 43.2139 79.6128 45.0145C79.8742 43.1559 80 41.5102 80 39.9903C80 28.9448 76.1085 19.4966 68.2963 11.7038L68.3
406 11.7232ZM74.9855 53.94C69.8354 53.0784 64.3757 52.5944 58.6254 52.5073L56.3892 52.4492C49.6806 52.5363 43.0397 53.0784 36.4473 54.1433L31.0842 55.0726C22.4976 56.7861 14.3756 59.1965 6.80545 62.2459C8.83837 65.2953 11.2875 68.0639 14.1626 70.4937C18.8093 68.3446 23.7754 66.4086 29.0513 64.6661L30.3969 64.2401C32.3524 63.5721 34.0852 63.0688 35.6245 62.6719C46.3118 59.8064 56.699 58.2962 66.8055 58.151H68.0446C69.4192 58.151 71.3844 58.2188 73.9788 58.3543L75.5276 58.4414C76.2537 57.212 76.8442 55.8567 77.3863 54.3563L75.0242 53.9303H74.9662L74.9855 53.94ZM39.971 41.8393C32.3718 41.8393 24.9661 42.4298 17.8702 43.6302C11.9651 44.5983 6.24392 46.0019 0.696971 47.7928C1.2778 50.6002 2.08139 53.243 3.09785 55.7406C13.185 51.9265 23.94 49.4482 35.3243 48.2866C37.9671 48.0252 39.9323 47.8509 41.2682 47.7928L42.7106 47.7154C44.8984 47.638 47.0281 47.5799 49.1481 47.5799H49.6999C53.0978 47.5799 56.7861 47.7154 60.7939 48.0252C66.6022 48.577 72.062 49.487 77.2314 50.7454L78.4027 51.0261L79.1675 47.7928C73.6399 46.0019 67.9091 44.5983 62.0136 43.6302C54.9081 42.4298 47.5412 41.8393 39.9613 41.8393H39.971Z"),m(n,"fill","currentColor"),m(n,"d","M102.025 26.4181H107.988V48.1025H121.502V53.5236H102.025V26.4181Z"),m(i,"fill","currentColor"),m(i,"d","M125.014 26.4181H145.459V31.723H130.938V37.2216H143.716V42.5265H130.938V48.2187H145.653V53.5236H125.014V26.4181Z"),m(a,"fill","currentColor"),m(a,"d","M160.054 26.2245H165.553L177.169 53.5236H170.935L168.457 47.4443H156.995L154.517 53.5236H148.438L160.054 26.2245ZM166.327 42.178L162.726 33.3881L159.125 42.178H166.327Z"),m(s,"fill","currentColor"),m(s,"d","M180.557 26.4181H191.128C199.647 26.4181 205.533 32.2651 205.533 39.8934V39.9709C205.533 47.5991 199.647 53.5236 191.128 53.5236H180.557V26.4181ZM186.52 31.8005V48.1412H191.128C195.968 48.1412 199.299 44.8498 199.299 40.0483V39.9709C199.299 35.1693 195.968 31.8005 191.128 31.8005H186.52Z"),m(o,"fill","currentColor"),m(o,"d","M210.258 26.4181H230.703V31.723H216.183V37.2216H228.961V42.5265H216.183V48.2187H230.897V53.5236H210.258V26.4181Z"),m(l,"fill","currentColor"),m(l,"d","M236.06 26.4181H248.451C251.897 26.4181 254.53 27.3474 256.35 29.1674C257.899 30.7162 258.674 32.7685 258.674 35.3629V35.4404C258.674 39.816 256.311 42.5652 252.865 43.8431L259.487 53.5236H252.517L246.708 44.8499H242.023V53.5236H236.06V26.4181ZM248.064 39.5836C251.006 39.5836 252.633 38.0735 252.633 35.7501V35.6727C252.633 33.0783 250.89 31.8005 247.947 31.8005H242.023V39.5836H248.064Z"),m(u,"fill","currentColor"),m(u,"d","M261.508 49.5739L265.032 45.3532C267.51 47.3668 270.027 48.6446 273.125 48.6446C275.603 48.6446 277.036 47.6766 277.036 46.089V46.0115C277.036 44.5013 276.106 43.6882 271.576 42.5652C266.077 41.21 262.592 39.6224 262.592 34.2787V34.2013C262.592 29.2835 266.503 26.0309 272.079 26.0309C276.068 26.0309 279.359 27.27 282.147 29.4772L279.049 33.9689C276.61 32.3039 274.325 31.2971 272.002 31.2971C269.678 31.2971 268.517 32.3039 268.517 33.6592V33.7366C268.517 35.5565 269.678 36.0599 274.364 37.299C279.862 38.7705 282.96 40.7066 282.96 45.4307V45.5081C282.96 50.8905 278.856 53.9108 273.009 53.9108C268.865 53.9108 264.761 52.5168 261.508 49.5739Z"),Re(e,d)},m(c,h){j(c,e,h),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u)},p(c,[h]){Re(e,d=Ct(f,[{width:"283"},{height:"80"},{viewBox:"0 0 283 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},h&1&&c[0]]))},i:ce,o:ce,d(c){c&&_(e)}}}function Y7(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class J7 extends de{constructor(e){super(),he(this,e,Y7,X7,fe,{})}}function ep(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b=[{width:"214"},{height:"203"},{viewBox:"0 0 214 203"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],v={};for(let y=0;y<b.length;y+=1)v=ve(v,b[y]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),this.h()},l(y){e=V(y,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var C=S(e);r=V(C,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(C,"path",{fill:!0,d:!0}
4),S(n).forEach(_),i=V(C,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(C,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(C,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(C,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(C,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(C,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(C,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(C,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(C,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(C,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(C,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(C,"path",{fill:!0,d:!0}),S(g).forEach(_),C.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M112.812 62.2921C110.85 60.3303 109.665 58.1642 108.93 56.039L114.038 50.9303C114.774 53.7094 115.346 55.426 116.858 56.9381C118.452 58.5321 120.496 58.7773 122.417 56.8564L122.457 56.8155C123.357 55.9164 124.337 54.2816 124.583 49.2138C124.91 41.9389 125.604 38.5467 128.915 35.2363L128.956 35.1954C133.451 30.6997 139.337 30.7815 143.424 34.8685C145.345 36.7893 146.203 38.465 146.816 40.0589L141.707 45.1676C141.053 42.6337 140.522 41.3667 139.214 40.0589C137.784 38.6285 135.74 38.3833 134.064 40.0589L134.024 40.0998C132.92 41.2033 132.43 42.5111 132.103 47.579C131.449 56.0799 130.468 58.7773 127.362 61.8834L127.321 61.9243C122.866 66.3791 116.736 66.2156 112.812 62.2921Z"),m(n,"fill","currentColor"),m(n,"d","M121.852 70.9236L150.461 42.3147L161.414 53.2678L156.673 58.0087L150.706 52.0417L143.595 59.1531L148.867 64.4253L144.126 69.1662L138.854 63.894L131.579 71.1688L137.669 77.2584L132.928 81.9993L121.852 70.9236Z"),m(i,"fill","currentColor"),m(i,"d","M135.343 84.4138L163.951 55.805L169.101 60.9546C171.758 63.6111 173.27 66.5129 173.27 69.7007C173.27 72.7251 171.921 75.7903 168.815 78.8964L168.447 79.2642C164.687 83.0243 160.927 83.9234 157.576 83.433L149.81 98.8817L144.497 93.5687L151.241 80.3677L150.301 79.4277L140.329 89.3999L135.343 84.4138ZM154.797 74.932L155.042 75.1773C157.208 77.3434 160.028 77.7112 163.42 74.319L163.747 73.992C167.344 70.3955 166.567 67.7389 164.401 65.5729L164.278 65.4502L154.797 74.932Z"),m(a,"fill","currentColor"),m(a,"d","M151.708 100.78L180.317 72.1708L185.303 77.1569L156.694 105.766L151.708 100.78Z"),m(s,"fill","currentColor"),m(s,"d","M159.729 108.8L188.338 80.1911L199.291 91.1443L194.55 95.8852L188.583 89.9182L181.472 97.0295L186.744 102.302L182.003 107.043L176.731 101.77L169.456 109.045L175.545 115.135L170.804 119.876L159.729 108.8Z"),m(o,"f
4ill","currentColor"),m(o,"d","M177.469 126.949C175.508 124.988 174.322 122.822 173.587 120.696L178.696 115.588C179.431 118.367 180.003 120.083 181.516 121.595C183.109 123.189 185.153 123.435 187.074 121.514L187.115 121.473C188.014 120.574 188.995 118.939 189.24 113.871C189.567 106.596 190.262 103.204 193.572 99.8936L193.613 99.8527C198.109 95.357 203.994 95.4388 208.081 99.5258C210.002 101.447 210.86 103.122 211.473 104.716L206.364 109.825C205.71 107.291 205.179 106.024 203.871 104.716C202.441 103.286 200.397 103.041 198.722 104.716L198.681 104.757C197.577 105.861 197.087 107.168 196.76 112.236C196.106 120.737 195.125 123.435 192.019 126.541L191.978 126.582C187.523 131.036 181.393 130.873 177.469 126.949Z"),m(l,"fill","currentColor"),m(l,"d","M28.8132 130.021L0.204349 101.412L10.6262 90.9899L15.367 95.7308L9.93136 101.166L17.1245 108.36L21.8653 103.619L26.6062 108.36L21.8653 113.1L33.7993 125.034L28.8132 130.021Z"),m(u,"fill","currentColor"),m(u,"d","M48.8627 110.707C44.7757 114.794 39.054 115.121 33.0461 109.113L12.7747 88.8413L17.7608 83.8552L38.5227 104.617C41.1383 107.233 42.9366 107.315 44.2036 106.048C45.4705 104.781 45.3888 102.982 42.7731 100.367L22.0113 79.6048L26.9974 74.6187L47.2688 94.8901C53.2767 100.898 52.9497 106.62 48.8627 110.707Z"),m(f,"fill","currentColor"),m(f,"d","M61.1243 97.7095L37.2563 73.8415L33.7415 77.3563L29.0006 72.6154L41.0164 60.5997L45.7573 65.3406L42.2425 68.8554L66.1104 92.7233L61.1243 97.7095Z"),m(d,"fill","currentColor"),m(d,"d","M79.116 80.4535C75.029 84.5404 69.3072 84.8674 63.2994 78.8595L43.0279 58.5881L48.014 53.602L68.7759 74.3639C71.3916 76.9795 73.1898 77.0613 74.4568 75.7943C75.7238 74.5273 75.642 72.7291 73.0264 70.1134L52.2645 49.3515L57.2506 44.3654L77.522 64.6368C83.5299 70.6447 83.2029 76.3665 79.116 80.4535Z"),m(c,"fill","currentColor"),m(c,"d","M88.721 70.1128L60.1121 41.5039L65.2617 36.3543C67.9183 33.6978 70.82 32.1856 74.0079 32.1856C77.0322 32.1856 80.0975 33.5343 83.2036 36.6404L83.5714 37.0082C87.3314 40.7682 88.2306 44.5283 87.7401 47.8796L103.189 55.6449L97.8758 60.9579L84.6749 54.2144L83.7349 55.1544L93.7071 65.1266L88.721 70.1128ZM79.2392 50.6587L79.4844 50.4135C81.6505 48.2474 82.0184 45.4274 78.6262 42.0352L78.2992 41.7082C74.7027 38.1117 72.0461 38.8882 69.88 41.0543L69.7574 41.1769L79.2392 50.6587Z"),m(h,"fill","currentColor"),m(h,"d","M105.005 53.8287L76.3962 25.2198L87.3493 14.2667L92.0902 19.0076L86.1232 24.9746L93.2346 32.086L98.5068 26.8138L103.248 31.5546L97.9755 36.8269L105.25 44.1017L111.34 38.0121L116.081 42.753L105.005 53.8287Z"),m(p,"fill","currentColor"),m(p,"d","M123.154 36.088C121.193 38.0498 119.027 39.235 116.901 39.9706L111.793 34.8619C114.572 34.1263 116.288 33.5541 117.801 32.0419C119.394 30.448 119.64 28.4045 117.719 26.4836L117.678 26.4427C116.779 25.5436 115.144 24.5627 110.076 24.3175C102.801 23.9905 99.4091 23.2958 96.0986 19.9853L96.0578 19.9444C91.5621 15.4488 91.6438 9.5635 95.7308 5.47652C97.6517 3.55564 99.3274 2.69737 100.921 2.08432L106.03 7.19305C103.496 7.84697 102.229 8.37828 100.921 9.68612C99.4908 11.1166 99.2456 13.1601 100.921 14.8357L100.962 14.8766C102.066 15.9801 103.373 16.4705 108.441 16.7975C116.942 17.4514 119.64 18.4322 122.746 21.5384L122.787 21.5792C127.241 26.034 127.078 32.1645 123.154 36.088Z"),m(g,"fill","currentColor"),m(g,"d","M117.215 188.659C125.046 186.432 132.612 185.064 139.966 184.581C136.263 190.053 131.554 194.426 125.76 197.591C119.887 200.757 113.538 202.366 106.765 202.366C101.316 202.366 96.1039 201.347 91.1568 199.281L93.3526 198.155C101.183 194.158 109.12 190.966 117.215 188.659ZM135.284 132.835C127.427 124.868 117.982 120.898 106.898 120.898C95.8129 120.898 86.289 124.868 78.4583 132.835C70.6011 140.776 66.6858 150.406 66.6858 161.646C66.6858 163.362 66.7916 165.106 67.0297 166.876C72.3472 164.972 77.7705 163.523 83.4054 162.477H83.5377C84.0139 155.476 86.3949 149.816 90.6541 145.47C95.0457 141.017 100.363 138.764 106.58 138.764C112.797 138.764 118.088 141.017 122.48 145.47C126.898 149.923 129.093 155.315 129.093 161.619V162.182C129.623 162.263 130.125 162.37 130.601 162.477C136.13 163.496 141.474 164.918 146.686 166.742C146.951 164.838 147.083 163.175 147.083 161.619C147.083 150.379 143.168 140.749 135.337 132.808L135.284 132.835ZM142.004 175.836C136.818 174.951 131.342 174.468 125.575 174.388L123.326 174.334C116.58 174.414 109.913 174.978 103.3 176.051L97.9028 176.99C89.2785 178.733 81.1303 181.174 73.5112 184.286C75.5483 187.398 78.0086 190.214 80.8922 192.682C85.5747 190.483 90.5483 188.524 95.8393 186.754L97.1885 186.325C99.1462 185.654 100.892 185.144 102.453 184.742C113.194 181.818 123.617 180.289 133.776 180.128H135.019C136.395 180.128 138.379 180.182 140.972 180.343L142.533 180.423C143.273 179.162 143.855 177.794 144.411 176.265L142.03 175.836H141.977H142.004ZM106.845 163.523C99.1991 163.523 91.7652 164.14 84.6488 165.347C78.7229 166.34 72.9821 167.762 67.4001 169.586C67.9821 172.429 68.8022 175.139 69.8075 177.687C79.9398 173.797 90.7335 171.276 102.189 170.095C104.834 169.827 106.818 169.666 108.167 169.586L109.622 169.505C111.818 169.425 113.961 169.371 116.104 169.371H116.66C120.072 169.371 123.776 169.505 127.797 169.827C133.617 170.391 139.12 171.303 
4144.305 172.59L145.496 172.885L146.263 169.586C140.707 167.762 134.966 166.34 129.041 165.347C121.898 164.14 114.517 163.523 106.898 163.523H106.845Z"),Re(e,v)},m(y,C){j(y,e,C),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g)},p(y,[C]){Re(e,v=Ct(b,[{width:"214"},{height:"203"},{viewBox:"0 0 214 203"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},C&1&&y[0]]))},i:ce,o:ce,d(y){y&&_(e)}}}function tp(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class rp extends de{constructor(e){super(),he(this,e,tp,ep,fe,{})}}function np(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b=[{width:"201"},{height:"190"},{viewBox:"0 0 201 190"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],v={};for(let y=0;y<b.length;y+=1)v=ve(v,b[y]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),this.h()},l(y){e=V(y,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var C=S(e);r=V(C,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(C,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(C,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(C,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(C,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(C,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(C,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(C,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(C,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(C,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(C,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(C,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(C,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(C,"path",{fill:!0,d:!0}),S(g).forEach(_),C.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M111.713 185.127C109.968 186.873 108.041 187.927 106.15 188.582L101.604 184.037C104.077 183.382 105.604 182.873 106.95 181.528C108.368 180.109 108.586 178.291 106.877 176.582L106.841 176.546C106.041 175.746 104.586 174.873 100.077 174.655C93.6046 174.364 90.5865 173.746 87.6411 170.801L87.6047 170.764C83.6048 166.764 83.6776 161.528 87.3138 157.892C89.0229 156.183 90.5137 155.419 91.9319 154.874L96.4772 159.419C94.2227 160.001 93.0955 160.473 91.9319 161.637C90.6592 162.91 90.441 164.728 91.9319 166.219L91.9683 166.255C92.95 167.237 94.1137 167.673 98.6226 167.964C106.186 168.546 108.586 169.419 111.35 172.182
4L111.386 172.219C115.349 176.182 115.204 181.637 111.713 185.127Z"),m(n,"fill","currentColor"),m(n,"d","M119.393 177.084L93.9389 151.63L103.684 141.885L107.902 146.103L102.593 151.412L108.92 157.739L113.611 153.048L117.829 157.266L113.138 161.957L119.611 168.43L125.029 163.012L129.247 167.23L119.393 177.084Z"),m(i,"fill","currentColor"),m(i,"d","M131.395 165.082L105.941 139.628L110.523 135.046C112.887 132.682 115.469 131.337 118.305 131.337C120.996 131.337 123.723 132.537 126.486 135.301L126.814 135.628C130.159 138.973 130.959 142.319 130.523 145.3L144.268 152.209L139.541 156.936L127.795 150.937L126.959 151.773L135.832 160.645L131.395 165.082ZM122.959 147.773L123.177 147.555C125.105 145.628 125.432 143.119 122.414 140.1L122.123 139.81C118.923 136.61 116.559 137.301 114.632 139.228L114.523 139.337L122.959 147.773Z"),m(a,"fill","currentColor"),m(a,"d","M145.956 150.521L120.502 125.067L124.939 120.63L150.393 146.084L145.956 150.521Z"),m(s,"fill","currentColor"),m(s,"d","M153.092 143.385L127.638 117.931L137.384 108.186L141.602 112.404L136.293 117.713L142.62 124.04L147.311 119.349L151.529 123.567L146.838 128.258L153.31 134.73L158.729 129.312L162.947 133.53L153.092 143.385Z"),m(o,"fill","currentColor"),m(o,"d","M169.24 127.6C167.495 129.346 165.568 130.4 163.677 131.055L159.131 126.51C161.604 125.855 163.131 125.346 164.477 124.001C165.895 122.582 166.113 120.764 164.404 119.055L164.368 119.019C163.568 118.219 162.113 117.346 157.604 117.128C151.132 116.837 148.113 116.219 145.168 113.274L145.132 113.237C141.132 109.237 141.205 104.001 144.841 100.365C146.55 98.6557 148.041 97.8921 149.459 97.3467L154.004 101.892C151.75 102.474 150.622 102.947 149.459 104.11C148.186 105.383 147.968 107.201 149.459 108.692L149.495 108.728C150.477 109.71 151.641 110.146 156.15 110.437C163.713 111.019 166.113 111.892 168.877 114.655L168.913 114.692C172.876 118.655 172.731 124.11 169.24 127.6Z"),m(l,"fill","currentColor"),m(l,"d","M84.581 25.6357L110.035 0.181813L119.307 9.45431L115.089 13.6724L110.253 8.83614L103.853 15.236L108.071 19.4541L103.853 23.6721L99.6351 19.4541L89.0172 30.072L84.581 25.6357Z"),m(u,"fill","currentColor"),m(u,"d","M101.765 43.4742C98.1286 39.8379 97.8377 34.7471 103.183 29.4018L121.219 11.3659
4L125.655 15.8022L107.183 34.2744C104.856 36.6016 104.783 38.2016 105.91 39.3288C107.037 40.4561 108.637 40.3834 110.965 38.0561L129.437 19.5839L133.873 24.0201L115.837 42.056C110.492 47.4014 105.401 47.1105 101.765 43.4742Z"),m(f,"fill","currentColor"),m(f,"d","M113.329 54.3836L134.565 33.1477L131.437 30.0206L135.656 25.8025L146.346 36.4931L142.128 40.7112L139.001 37.584L117.765 58.8198L113.329 54.3836Z"),m(d,"fill","currentColor"),m(d,"d","M128.682 70.3911C125.046 66.7549 124.755 61.6641 130.1 56.3188L148.136 38.2828L152.572 42.7191L134.1 61.1914C131.773 63.5186 131.7 65.1185 132.827 66.2458C133.954 67.373 135.554 67.3003 137.882 64.9731L156.354 46.5008L160.79 50.9371L142.754 68.973C137.409 74.3183 132.318 74.0274 128.682 70.3911Z"),m(c,"fill","currentColor"),m(c,"d","M137.882 78.9369L163.336 53.483L167.918 58.0647C170.281 60.4283 171.627 63.0101 171.627 65.8464C171.627 68.5372 170.427 71.2644 167.663 74.028L167.336 74.3552C163.991 77.7006 160.645 78.5006 157.663 78.0642L150.755 91.8093L146.027 87.0822L152.027 75.337L151.191 74.5007L142.318 83.3732L137.882 78.9369ZM155.191 70.5008L155.409 70.719C157.336 72.6462 159.845 72.9734 162.863 69.9553L163.154 69.6644C166.354 66.4645 165.663 64.1009 163.736 62.1737L163.627 62.0646L155.191 70.5008Z"),m(h,"fill","currentColor"),m(h,"d","M152.37 93.4252L177.824 67.9713L187.57 77.7165L183.351 81.9346L178.043 76.6256L171.715 82.9527L176.406 87.6435L172.188 91.8616L167.497 87.
41708L161.025 93.6434L166.443 99.0614L162.225 103.28L152.37 93.4252Z"),m(p,"fill","currentColor"),m(p,"d","M168.155 109.573C166.409 107.828 165.355 105.9 164.7 104.01L169.246 99.4643C169.9 101.937 170.409 103.464 171.755 104.81C173.173 106.228 174.991 106.446 176.7 104.737L176.736 104.7C177.536 103.901 178.409 102.446 178.627 97.937C178.918 91.4645 179.536 88.4464 182.482 85.501L182.518 85.4646C186.518 81.4647 191.754 81.5374 195.39 85.1737C197.099 86.8828 197.863 88.3736 198.408 89.7918L193.863 94.3371C193.281 92.0826 192.809 90.9554 191.645 89.7918C190.372 88.5191 188.554 88.3009 187.063 89.7918L187.027 89.8281C186.045 90.8099 185.609 91.9735 185.318 96.4825C184.736 104.046 183.863 106.446 181.1 109.209L181.063 109.246C177.1 113.209 171.646 113.064 168.155 109.573Z"),m(g,"fill","currentColor"),m(g,"d","M50.1145 121.923C57.8809 119.715 65.385 118.358 72.6791 117.879C69.0058 123.307 64.3355 127.643 58.5893 130.783C52.7645 133.922 46.4674 135.518 39.7505 135.518C34.3455 135.518 29.1766 134.507 24.2701 132.459L26.4479 131.341C34.2143 127.377 42.0857 124.211 50.1145 121.923ZM68.035 66.558C60.2423 58.6564 50.8754 54.7188 39.8817 54.7188C28.888 54.7188 19.4423 58.6564 11.6759 66.558C3.88322 74.4331 0 83.9843 0 95.1318C0 96.8346 0.104952 98.5639 0.341093 100.32C5.61492 98.4309 10.9937 96.9942 16.5824 95.9566H16.7136C17.1859 89.0127 19.5473 83.399 23.7716 79.089C28.1271 74.6726 33.4009 72.4378 39.5668 72.4378C45.7327 72.4378 50.9803 74.6726 55.3358 79.089C59.7176 83.5055 61.8953 88.8531 61.8953 95.1052V95.664C62.4201 95.7438 62.9186 95.8502 63.3909 95.9566C68.8746 96.9676 74.1747 98.3777 79.3436 100.187C79.6059 98.2978 79.7371 96.6483 79.7371 95.1052C79.7371 83.9577 75.8539 74.4065 68.0875 66.5314L68.035 66.558ZM74.6994 109.206C69.5568 108.328 64.1256 107.849 58.4057 107.769L56.1755 107.716C49.4848 107.796 42.8728 108.355 36.3133 109.419L30.9608 110.35C22.4072 112.079 14.3259 114.5 6.76939 117.586C8.78971 120.673 11.2298 123.466 14.0898 125.914C18.7339 123.732 23.6666 121.79 28.9142 120.034L30.2524 119.608C32.194 118.943 33.9257 118.438 35.4737 118.039C46.1263 115.139 56.4641 113.622 66.5395 113.463H67.7726C69.137 113.463 71.1049 113.516 73.6762 113.676L75.2242 113.755C75.9589 112.505 76.5361 111.148 77.0871 109.632L74.7257 109.206H74.6732H74.6994ZM39.8292 96.9942C32.2464 96.9942 24.8736 97.6061 17.8156 98.8033C11.9383 99.7877 6.24463 101.198 0.708425 103.007C1.28566 105.827 2.09904 108.514 3.09608 111.042C13.1452 107.184 23.8503 104.683 35.2113 103.512C37.8351 103.246 39.803 103.087 41.1411 103.007L42.5842 102.927C44.7619 102.847 46.8872 102.794 49.0125 102.794H49.5635C52.9482 102.794 56.6215 102.927 60.6097 103.246C66.382 103.805 71.8395 104.71 76.9822 105.987L78.1629 106.279L78.9238 103.007C73.4138 101.198 67.7202 99.7877 61.8429 98.8033C54.7586 97.6061 47.4382 96.9942 39.8817 96.9942H39.8292Z"),Re(e,v)},m(y,C){j(y,e,C),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g)},p(y,[C]){Re(e,v=Ct(b,[{width:"201"},{height:"190"},{viewBox:"0 0 201 190"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},C&1&&y[0]]))},i:ce,o:ce,d(y){y&&_(e)}}}function ip(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class ap extends de{constructor(e){super(),he(this,e,ip,np,fe,{})}}function sp(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k=[{width:"200"},{height:"147"},{viewBox:"0 0 200 147"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],E={};for(let L=0;L<k.length;L+=1)E=ve(E,k[L]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),this.h()},l(L){e=V(L,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var T=S(e);r=V(T,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(T,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(T,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(T,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(T,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(T,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(T,"path",{fill:!0,d:!0}
4),S(l).forEach(_),u=V(T,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(T,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(T,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(T,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(T,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(T,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(T,"path",{fill:!0,d:!0}),S(g).forEach(_),b=V(T,"path",{fill:!0,d:!0}),S(b).forEach(_),v=V(T,"path",{fill:!0,d:!0}),S(v).forEach(_),y=V(T,"path",{fill:!0,d:!0}),S(y).forEach(_),C=V(T,"path",{fill:!0,d:!0}),S(C).forEach(_),T.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M138.57 45.0742C138.829 43.2087 138.96 41.5646 138.96 40.0477C138.96 28.9911 135.066 19.5315 127.267 11.7349C119.431 3.91479 110.033 0 99.0027 0C87.935 0 78.5136 3.91479 70.7055 11.7349C62.9021 19.5315 58.998 28.9911 58.998 40.0477C58.998 41.7295 59.1015 43.4442 59.332 45.1967C64.6142 43.3312 70.014 41.9132 75.6208 40.8768H75.7384C76.2182 33.9847 78.5841 28.4211 82.8315 24.1718C87.2012 19.7953 92.4835 17.5906 98.6688 17.5906C104.854 17.5906 110.132 19.7953 114.483 24.1718C118.876 28.5388 121.068 33.8481 121.068 40.0429V40.5894C121.58 40.6742 122.098 40.7778 122.578 40.8721C128.067 41.8708 133.391 43.2699 138.575 45.0648"),m(n,"fill","currentColor"),m(n,"d","M134.506 58.5052C135.235 57.2757 135.818 55.9142 136.369 54.4208L134.008 53.9921H133.946C128.796 53.1347 123.34 52.6448 117.601 52.56L115.372 52.5035C108.664 52.5883 102.027 53.1347 95.4374 54.1947L90.0752 55.1275C81.491 56.847 73.3772 59.2542 65.8137 62.3069C67.8457 65.3549 70.2916 68.1296 73.1656 70.5605C77.8128 68.4123 82.7704 66.4761 88.048 64.7331L89.3979 64.3091C91.3499 63.6448 93.0809 63.1408 94.6237 62.7403C105.306 59.8761 115.687 58.3639 125.79 58.2178H127.032C128.405 58.2178 130.367 58.2838 132.963 58.4204L134.516 58.5052H134.506Z"),m(i,"fill","currentColor"),m(i,"d","M136.199 50.7935L137.371 51.0808L138.133 47.8444C132.611 46.0495 126.881 44.6504 120.992 43.6752C113.89 42.4787 106.529 41.8804 98.9511 41.8804C91.35 41.8804 83.9511 42.4787 76.8674 43.6752C70.9643 44.6457 65.2493 46.0448 59.7084 47.8444C60.2916 50.6521 61.0912 53.2997 62.1072 55.8012C72.1872 51.9853 82.9398 49.5027 94.318 48.3391C96.9567 48.0752 98.9229 47.9057 100.263 47.8444L101.703 47.7643C103.885 47.6842 106.021 47.6324 108.137 47.6324H108.692C112.088 47.6324 115.776 47.7643 119.779 48.0753C125.583 48.6264 131.044 49.5356 136.204 50.7935"),m(a,"fill","currentColor"),m(a,"d","M85.5361 75.9308L83.3442 77.0425C88.2784 79.0777 93.443 80.0858 98.8758 80.0858C105.63 80.0858 111.957 78.5076 117.789 75.3937C123.542 72.2845 128.245 67.9881 131.919 62.5988C124.614 63.0605 117.093 64.4031 109.29 66.5984C101.228 68.8832 93.316 71.9971 85.5361 75.9355"),m(s,"fill","currentColor"),m(s,"d","M0 99.2972H7.75165C13.9981 99.2972 18.3161 103.589 18.3161 109.195V109.251C18.3161 114.853 14.0028 119.206 7.75165 119.206H0V99.3019V99.2972ZM4.37441 103.25V115.248H7.75165C11.2982 115.248 13.7441 112.832 13.7441 109.303V109.247C13.7441 105.718 11.3029 103.245 7.75165 103.245H4.37441V103.25Z"),m(o,"fill","currentColor"),m(o,"d","M23.3396 99.2972H38.3302V103.193H27.6811V107.23H37.0508V111.126H27.6811V115.305H38.4713V119.201H23.3396V99.2972Z"),m(l,"fill","currentColor"),m(l,"d","M43.4995 99.2972H48.2126L53.4384 107.716L58.6641 99.2972H63.3772V119.201H59.031V106.203L53.4384 114.707H53.3255L47.7893 106.288V119.201H43.4995V99.2972Z"),m(u,"fill","currentColor"),m(u,"d","M68.4008 109.308V109.251C68.4008 103.593 72.8598 98.9577 78.9934 98.9577C85.127 98.9577 89.5249 103.537 89.5249 109.195V109.251C89.5249 114.909 85.0659 119.544 78.9323 119.544C72.7987 119.544 68.4008 114.965 68.4008 109.308ZM84.953 109.308V109.251C84.953 105.84 82.4553 102.995 78.9323 102.995C75.4092 102.995 72.968 105.784 72.968 109.195V109.251C72.968 112.662 75.4657 115.507 78.9887 115.507C82.5118 115.507 84.953 112.718 84.953 109.308Z"),m(f,"fill","currentColor"),m(f,"d","M93.6688 109.308V109.251C93.6688 103.593 97.9256 98.9577 104.031 98.9577C107.752 98.9577 110.052 100.211 111.867 102.029L109.083 105.242C107.521 103.848 106.016 102.995 104.003 102.995C100.654 102.995 98.2408 105.784 98.2408 109.195V109.251C98.2408 112.662 100.597 115.507 104.003 115.507C106.275 115.507 107.667 114.62
46 109.229 113.175L112.013 115.992C109.967 118.183 107.723 119.549 103.866 119.549C98.015 119.549 93.6735 115.027 93.6735 109.312L93.6688 109.308Z"),m(d,"fill","currentColor"),m(d,"d","M116.637 99.2972H125.724C128.25 99.2972 130.183 99.9803 131.515 101.318C132.648 102.454 133.217 103.961 133.217 105.869V105.925C133.217 109.138 131.486 111.159 128.96 112.097L133.815 119.206H128.702L124.445 112.836H121.011V119.206H116.637V99.3019V99.2972ZM125.437 108.964C127.596 108.964 128.786 107.857 128.786 106.147V106.09C128.786 104.187 127.507 103.245 125.353 103.245H121.007V108.959H125.437V108.964Z"),m(c,"fill","currentColor"),m(c,"d","M145.117 99.1559H149.149L157.667 119.206H153.095L151.279 114.74H142.874L141.058 119.206H136.599L145.117 99.1559ZM149.718 110.872L147.079 104.418L144.44 110.872H149.722H149.718Z"),m(h,"fill","currentColor"),m(h,"d","M159.713 109.308V109.251C159.713 103.593 163.97 98.9577 170.075 98.9577C173.796 98.9577 176.096 100.211 177.912 102.029L175.127 105.242C173.565 103.848 172.06 102.995 170.047 102.995C166.698 102.995 164.285 105.784 164.285 109.195V109.251C164.285 112.662 166.642 115.507 170.047 115.507C172.319 115.507 173.711 114.626 175.273 113.175L178.057 115.992C176.011 118.183 173.768 119.549 169.911 119.549C164.059 119.549 159.718 115.027 159.718 109.312L159.713 109.308Z"),m(p,"fill","currentColor"),m(p,"d","M187.992 111.357L180.353 99.3018H185.466L190.207 107.292L195.033 99.3018H200L192.361 111.272V119.206H187.987V111.357H187.992Z"),m(g,"fill","currentColor"),m(g,"d","M44.3933 126.757H59.525V130.738H48.763V134.973H58.2456V138.954H48.763V146.661H44.3885V126.757H44.3933Z"),m(b,"fill","currentColor"),m(b,"d","M63.2738 136.763V136.707C63.2738 131.049 67.7329 126.413 73.8665 126.413C80 126.413 84.398 130.992 84.398 136.65V136.707C84.398 142.364 79.9389 147 73.8053 147C67.6717 147 63.2738 142.421 63.2738 136.763ZM79.826 136.763V136.707C79.826 133.296 77.3284 130.45 73.8053 130.45C70.2823 130.45 67.8411 133.239 67.8411 136.65V136.707C67.8411 140.117 70.3387 142.963 73.8618 142.963C77.3848 142.963 79.826 140.174 79.826 136.763Z"),m(v,"fill","currentColor"),m(v,"d","M89.4261 126.757H98.5136C101.04 126.757 102.973 127.44 104.304 128.778C105.437 129.918 106.007 131.421 106.007 133.329V133.386C106.007 136.598 104.276 138.619 101.75 139.557L106.604 146.666H101.491L97.2342 140.296H93.8006V146.666H89.4261V126.762V126.757ZM98.2267 136.424C100.386 136.424 101.576 135.317 101.576 133.607V133.55C101.576 131.647 100.296 130.705 98.142 130.705H93.7959V136.419H98.2267V136.424Z"),m(y,"fill","currentColor"),m(y,"d","M110.776 138.129V126.752H115.151V138.011C115.151 141.281 116.74 142.93 119.436 142.93C122.131 142.93 123.725 141.337 123.725 138.153V126.748H128.1V137.978C128.1 144.008 124.723 146.967 119.384 146.967C114.045 146.967 110.781 144.008 110.781 138.125L110.776 138.129Z"),m(C,"fill","currentColor"),m(C,"d","M133.688 126.757H138.401L143.626 135.176L148.852 126.757H153.565V146.661H149.219V133.663L143.626 142.167H143.514L137.977 133.748V146.661H133.692V126.757H133.688Z"),Re(e,E)},m(L,T){j(L,e,T),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C)},p(L,[T]){Re(e,E=Ct(k,[{width:"200"},{height:"147"},{viewBox:"0 0 200 147"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},T&1&&L[0]]))},i:ce,o:ce,d(L){L&&_(e)}}}function op(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class lp extends de{constructor(e){super(),he(this,e,op,sp,fe,{})}}function up(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k=[{width:"300"},{height:"80"},{viewBox:"0 0 300 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],E={};for(let L=0;L<k.length;L+=1)E=ve(E,k[L]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),this.h()},l(L){e=V(L,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var T=S(e);r=V(T,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(T,"path",{fill:!0,d:!0}
4),S(n).forEach(_),i=V(T,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(T,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(T,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(T,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(T,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(T,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(T,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(T,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(T,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(T,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(T,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(T,"path",{fill:!0,d:!0}),S(g).forEach(_),b=V(T,"path",{fill:!0,d:!0}),S(b).forEach(_),v=V(T,"path",{fill:!0,d:!0}),S(v).forEach(_),y=V(T,"path",{fill:!0,d:!0}),S(y).forEach(_),C=V(T,"path",{fill:!0,d:!0}),S(C).forEach(_),T.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M99.6163 15.8836H107.397C113.649 15.8836 117.956 20.2042 117.956 25.7791C117.956 31.4934 113.649 35.8139 107.397 35.8139H99.6163V15.8836ZM103.923 19.786V31.7721H107.258C110.87 31.7721 113.232 29.4028 113.232 25.7791C113.232 22.1554 110.731 19.6467 107.258 19.6467H103.923V19.786Z"),m(n,"fill","currentColor"),m(n,"d","M122.96 15.8836H137.965V19.786H127.267V23.8279H136.576V27.7303H127.267V31.9115H138.104V35.8139H122.96V15.8836Z"),m(i,"fill","currentColor"),m(i,"d","M142.966 15.8836H147.69L152.97 24.246L158.249 15.8836H162.973V35.8139H158.666V22.8522L153.109 31.354L147.551 22.9916V35.9533H143.244V16.023L142.966 15.8836Z"),m(a,"fill","currentColor"),m(a,"d","M167.836 25.925C167.836 20.2107 172.282 15.6114 178.396 15.6114C184.509 15.6114 188.955 20.2107 188.955 25.925C188.955 31.6393 184.509 36.2386 178.396 36.2386C172.282 36.2386 167.836 31.6393 167.836 25.925ZM184.37 25.925C184.37 22.4407 181.869 19.6532 178.396 19.6532C174.922 19.6532 172.421 22.4407 172.421 25.925C172.421 29.4093 174.922 32.1968 178.396 32.1968C181.869 32.1968 184.37 29.4093 184.37 25.925Z"),m(s,"fill","currentColor"),m(s,"d","M192.981 25.925C192.981 20.2107 197.288 15.6114 203.402 15.6114C207.153 15.6114 209.376 16.8657 211.182 18.6776L208.403 21.8832C206.875 20.4894 205.347 19.6532 203.263 19.6532C199.928 19.6532 197.427 22.4407 197.427 25.925C197.427 29.4093 199.789 32.1968 203.263 32.1968C205.486 32.1968 206.875 31.3605 208.542 29.8274L211.321 32.6149C209.237 34.8448 207.014 36.2386 203.124 36.2386C197.288 36.2386 192.981 31.6393 192.981 25.925Z"),m(o,"fill","currentColor"),m(o,"d","M215.908 15.8836H224.939C227.439 15.8836 229.385 16.5805 230.774 17.9742C231.885 19.0892 232.441 20.6223 232.441 22.5735C232.441 25.9185 230.774 27.8697 228.134 28.8453L232.997 35.9533H227.856L223.549 29.5421H220.076V35.9533H215.769V16.023L215.908 15.8836ZM224.661 25.5003C226.884 25.5003 227.995 24.3853 227.995 22.7129C227.995 20.7617 226.745 19.786 224.522 19.786H220.215V25.5003H224.661Z"),m(l,"fill","currentColor"),m(l,"d","M244.389 15.7475H248.418L256.893 35.8172H252.308L250.502 31.3573H242.166L240.36 35.8172H235.914L244.389 15.7475ZM248.974 27.4548L246.334 21.0437L243.694 27.4548H248.974Z"),m(u,"fill","currentColor"),m(u,"d","M258.837 25.925C258.837 20.2107 263.144 15.6114 269.257 15.6114C273.009 15.6114 275.232 16.8657 277.038 18.6776L274.259 21.8832C272.731 20.4894 271.203 19.6532 269.118 19.6532C265.784 19.6532 263.283 22.4407 263.283 25.925C263.283 29.4093 265.645 32.1968 269.118 32.1968C271.341 32.1968 272.731 31.3605 274.398 29.8274L277.177 32.6149C275.093 34.8448 272.87 36.2386 268.98 36.2386C263.144 36.2386 258.837 31.6393 258.837 25.925Z"),m(f,"fill","currentColor"),m(f,"d","M287.044 28.009L279.403 15.8836H284.543L289.267 23.8279L294.13 15.8836H299.132L291.49 27.8697V35.8139H287.183V28.009H287.044Z"),m(d,"fill","currentColor"),m(d,"d","M99.6163 43.3499H114.76V47.3917H104.062V51.5729H113.51V55.6147H104.062V63.2802H99.7553V43.3499H99.6163Z"),m(c,"fill","currentColor"),m(c,"d","M118.513 53.3776C118.513 47.6633 122.959 43.064 129.072 43.064C135.186 43.064 139.632 47.6633 139.632 53.3776C139.632 59.0919 135.186 63.6912 129.072 63.6912C122.959 63.6912 118.513 59.0919 118.513 53.3776ZM135.047 53.3776C135.047 49.8933 132.546 47.1058 129.072 47.1058C125.599 47.1058 123.098 49.8933 123.098 53.3776C123.098 56.8619 125.599 59.6494 129.072 59.6494C132.546 59.6494 135.047 56.8619 135.047 53.3776Z"),m(h,"fill","currentColor"),m(h,"d","M144.492 43.3499H153.523C156.024 43.3499 157.969 44.0467 159.359 45.4404C160.47 46.5554 161.026 48.0885 161.026 50.0397C161.026 53.3847 159.359 55.3359 156.719 56.3115L161.582 63.4195H156.441L152.134 57.0084H148.661V63.4195H144.354V43.4892L144.492 43.3499ZM153.245 52.9666C155.468 52.9666 156.58 51.8516 156.58 50.1791C156.58 48.2279 155.33 47.2523 153.107 47.2523H148.799V52.9666H153.245Z"),m(p,"fill","currentColor"),m(p,"d","M165.75 54.6287V43.2001H170.057V54.4893C170.057 57.8343 171.585 59.3674 174.364 59.3674C177.143 59.3674 178.671 57.8343 178.671 54.6287V43.2001H182.978V54.4893C182.978 60.4824 179.644 63.5486 174.225 63.5486C168.807 63.5486 165.611 60.6217 165.611 54.6287H165.75Z"),m(g,"fill","currentColor"),m(g,"d","M188.677 43.3499H193.401L198.68 51.7122L203.96 43.3499H208.684V63.2802H204.377V50.3185L198.819 58.8202L193.262 50.4579V63.4195H188.955V43.4892L188.677 43.3499Z"),m(b,"fill","currentColor"),m(b,"d","M0.695312 47.6655C1.25106 50.4529 2.08468 53.101 3.19617 55.7491C27.7879 46.5505 52.7965 45.2961 78.2219 51.0104C78.4998 49.8955 78.7777 48.7805 79.0555 47.6655C52.9355 39.8606 26.8154 39.8606 0.834249 47.6655H0.695312Z"),m(v,"fill","currentColor"),m(v,"d","M6.66858 62.1652C8.75263 65.2314 11.2535 68.0188 14.0322 70.3882C34.5948 60.4927 55.4353 57.1477 75.1643 58.4021C75.859 57.0084 76.5537 5
45.6146 76.9705 54.2209C52.9345 50.1791 28.3427 53.1059 6.66858 62.1652Z"),m(y,"fill","currentColor"),m(y,"d","M24.592 76.9273C29.3159 78.8785 34.4565 79.9935 39.8751 79.9935C53.3519 79.9935 65.3004 73.3036 72.5252 62.99C55.5749 63.8262 39.5972 68.4255 24.592 76.9273Z"),m(C,"fill","currentColor"),m(C,"d","M17.2281 40C17.2281 27.4564 27.3705 17.2822 39.8748 17.2822C52.3791 17.2822 62.5215 27.4564 62.5215 40V40.2787C68.3568 41.2544 73.9143 42.6481 79.4717 44.3206C79.6106 42.9268 79.7496 41.3937 79.7496 40C79.7496 17.9791 61.9657 0 39.8748 0C17.7839 0 0 17.8397 0 40C0 41.5331 0 42.9268 0.277873 44.3206C5.83534 42.6481 11.3928 41.2544 17.2281 40.2787V40Z"),Re(e,E)},m(L,T){j(L,e,T),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C)},p(L,[T]){Re(e,E=Ct(k,[{width:"300"},{height:"80"},{viewBox:"0 0 300 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},T&1&&L[0]]))},i:ce,o:ce,d(L){L&&_(e)}}}function cp(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class fp extends de{constructor(e){super(),he(this,e,cp,up,fe,{})}}function dp(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E,L,T,O,P,H,M,N,F=[{width:"322"},{height:"80"},{viewBox:"0 0 322 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],D={};for(let W=0;W<F.length;W+=1)D=ve(D,F[W]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),k=A("path"),E=A("path"),L=A("path"),T=A("path"),O=A("path"),P=A("path"),H=A("path"),M=A("path"),N=A("path"),this.h()},l(W){e=V(W,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var Y=S(e);r=V(Y,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(Y,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(Y,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(Y,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(Y,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(Y,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(Y,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(Y,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(Y,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(Y,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(Y,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(Y,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(Y,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(Y,"path",{fill:!0,d:!0}),S(g).forEach(_),b=V(Y,"path",{fill:!0,d:!0}),S(b).forEach(_),v=V(Y,"path",{fill:!0,d:!0}),S(v).forEach(_),y=V(Y,"path",{fill:!0,d:!0}
4),S(y).forEach(_),C=V(Y,"path",{fill:!0,d:!0}),S(C).forEach(_),k=V(Y,"path",{fill:!0,d:!0}),S(k).forEach(_),E=V(Y,"path",{fill:!0,d:!0}),S(E).forEach(_),L=V(Y,"path",{fill:!0,d:!0}),S(L).forEach(_),T=V(Y,"path",{fill:!0,d:!0}),S(T).forEach(_),O=V(Y,"path",{fill:!0,d:!0}),S(O).forEach(_),P=V(Y,"path",{fill:!0,d:!0}),S(P).forEach(_),H=V(Y,"path",{fill:!0,d:!0}),S(H).forEach(_),M=V(Y,"path",{fill:!0,d:!0}),S(M).forEach(_),N=V(Y,"path",{fill:!0,d:!0}),S(N).forEach(_),Y.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M78.3566 45.2259C78.6114 43.3624 78.7411 41.72 78.7411 40.2047C78.7411 29.16 74.9059 19.7106 67.2263 11.9224C59.5097 4.1106 50.2553 0.200012 39.3937 0.200012C28.495 0.200012 19.2174 4.1106 11.5286 11.9224C3.84905 19.7106 0 29.16 0 40.2047C0 41.8847 0.1019 43.5977 0.32886 45.3482C5.5304 43.4847 10.8477 42.0682 16.3689 41.033H16.4847C16.9571 34.1482 19.2869 28.5906 23.4695 24.3459C27.7724 19.9741 32.974 17.7718 39.0648 17.7718C45.1557 17.7718 50.3526 19.9741 54.637 24.3459C58.9632 28.7082 61.1216 34.0118 61.1216 40.2V40.7459C61.6265 40.8306 62.136 40.9341 62.6084 41.0282C68.0137 42.0259 73.257 43.4235 78.3612 45.2165"),m(n,"fill","currentColor"),m(n,"d","M74.3593 58.6424C75.0772 57.4142 75.6515 56.0542 76.1935 54.5624L73.8683 54.1342H73.8081C68.7362 53.2777 63.3633 52.7883 57.7125 52.7036L55.517 52.6471C48.912 52.7318 42.3765 53.2777 35.8873 54.3365L30.607 55.2683C22.1539 56.9859 14.164 59.3906 6.71606 62.44C8.71701 65.4847 11.1256 68.2565 13.9556 70.6847C18.5319 68.5389 23.4138 66.6047 28.6107 64.8636L29.94 64.44C31.8623 63.7765 33.5668 63.273 35.086 62.873C45.6049 60.0118 55.8273 58.5012 65.7765 58.3553H66.9993C68.3518 58.3553 70.2833 58.4212 72.84 58.5577L74.3685 58.6424H74.3593Z"),m(i,"fill","currentColor"),m(i,"d","M76.0222 50.9388L77.1756 51.2259L77.9259 47.9929C72.4882 46.2 66.8466 44.8023 61.0475 43.8282C54.0535 42.6329 46.8047 42.0353 39.3428 42.0353C31.8578 42.0353 24.5719 42.6329 17.5964 43.8282C11.7834 44.7976 6.15576 46.1953 0.699463 47.9929C1.27381 50.7976 2.06122 53.4423 3.06169 55.9412C12.9877 52.1294 23.5761 49.6494 34.7804 48.487C37.3789 48.2235 39.315 48.0541 40.6351 47.9929L42.0524 47.9129C44.2016 47.8329 46.3044 47.7812 48.3888 47.7812H48.9353C52.2795 47.7812 55.9108 47.9129 59.8525 48.2235C65.5682 48.7741 70.9458 49.6823 76.0269 50.9388"),m(a,"fill","currentColor"),m(a,"d","M26.1328 76.0495L23.9744 77.16C28.8332 79.193 33.9189 80.2 39.2687 80.2C45.92 80.2 52.1498 78.6236 57.8932 75.513C63.558 72.4071 68.1898 68.1153 71.8072 62.7318C64.614 63.193 57.2077 64.5342 49.5235 66.7271C41.5846 69.0095 33.7938 72.12 26.1328 76.0542"),m(s,"fill","currentColor"),m(s,"d","M97.5323 13.3388V13.2824C97.5323 7.63059 101.923 3 107.963 3C114.003 3 118.339 7.57412 118.339 13.2259V13.2824C118.339 18.9341 113.948 23.5647 107.908 23.5647C101.868 23.5647 97.5323 18.9906 97.5323 13.3388ZM113.832 13.3388V13.2824C113.832 9.8753 
4111.372 7.03294 107.903 7.03294C104.434 7.03294 102.03 9.81882 102.03 13.2259V13.2824C102.03 16.6894 104.489 19.5318 107.959 19.5318C111.428 19.5318 113.832 16.7459 113.832 13.3388Z"),m(o,"fill","currentColor"),m(o,"d","M123.281 3.33881H132.368C134.633 3.33881 136.338 3.93645 137.487 5.09881C138.381 6.00704 138.83 7.14587 138.83 8.47763V8.5341C138.83 10.7506 137.653 12.087 136.259 12.8259C138.524 13.7059 139.923 15.0706 139.923 17.7106V17.767C139.923 21.4047 137.014 23.2212 132.6 23.2212H123.29V3.33881H123.281ZM134.55 9.22116C134.55 7.88469 133.545 7.1741 131.725 7.1741H127.473V11.3765H131.442C133.341 11.3765 134.545 10.7506 134.545 9.27292V9.21645L134.55 9.22116ZM135.638 17.1741C135.638 15.8376 134.689 15.0141 132.452 15.0141H127.477V19.3906H132.595C134.494 19.3906 135.643 18.7082 135.643 17.2306V17.1741H135.638Z"),m(l,"fill","currentColor"),m(l,"d","M151.299 3.19763H155.268L163.656 23.2259H159.154L157.366 18.7647H149.089L147.301 23.2259H142.91L151.299 3.19763ZM155.829 14.9012L153.23 8.4541L150.632 14.9012H155.833H155.829Z"),m(u,"fill","currentColor"),m(u,"d","M167.793 3.33881H172.434L177.58 11.7482L182.726 3.33881H187.367V23.2212H183.087V10.2376L177.58 18.7317H177.468L172.017 10.3223V23.2212H167.797V3.33881H167.793Z"),m(f,"fill","currentColor"),m(f,"d","M199.891 3.19763H203.861L212.249 23.2259H207.747L205.959 18.7647H197.682L195.894 23.2259H191.503L199.891 3.19763ZM204.421 14.9012L201.823 8.4541L199.224 14.9012H204.426H204.421Z"),m(d,"fill","currentColor"),m(d,"d","M202.18 77.6811V57.7311H211.3C213.836 57.7311 215.803 58.4436 217.114 59.7546C218.225 60.8661 218.824 62.4336 218.824 64.3146V64.3716C218.824 67.5921 217.085 69.6156 214.549 70.5561L219.422 77.6811H214.292L210.017 71.2971H206.569V77.6811H202.18ZM206.569 67.4211H211.015C213.152 67.4211 214.378 66.2811 214.378 64.5996V64.5426C214.378 62.6616 213.067 61.6926 210.929 61.6926H206.569V67.4211Z"),m(c,"fill","currentColor"),m(c,"d","M182.374 77.6811V57.7311H197.422V61.6356H186.735V65.6826H196.14V69.5871H186.735V73.7766H197.565V77.6811H182.374Z"),m(h,"fill","currentColor"),m(h,"d","M167.827 77.6811V61.7781H161.756V57.7311H178.286V61.7781H172.216V77.6811H167.827Z"),m(p,"fill","currentColor"),m(p,"d","M139.953 77.6811V57.7311H144L153.348 70.0146V57.7311H157.68V77.6811H153.946L144.285 64.9986V77.6811H139.953Z"),m(g,"fill","currentColor"),m(g,"d","M120.147 77.6811V57.7311H135.195V61.6356H124.508V65.6826H133.913V69.5871H124.508V73.7766H135.338V77.6811H120.147Z"),m(b,"fill","currentColor"),m(b,"d","M107.742 78.0232C101.871 78.0232 97.5105 73.4917 97.5105 67.7632V67.7062C97.5105 62.0347 101.785 57.3892 107.913 57.3892C111.675 57.3892 113.926 58.6432 115.779 60.4672L112.986 63.6877C111.447 62.2912 109.879 61.4362 107.884 61.4362C104.521 61.4362 102.099 64.2292 102.099 67.6492V67.7062C102.099 71.1262 104.464 73.9762 107.884 73.9762C110.164 73.9762 111.561 73.0642 113.128 71.6392L115.921 74.4607C113.869 76.6552 111.589 78.0232 107.742 78.0232Z"),m(v,"fill","currentColor"),m(v,"d","M307.234 50.6811V30.7311H311.624V46.6911H321.57V50.6811H307.234Z"),m(y,"fill","currentColor"),m(y,"d","M282.296 50.6812L290.846 30.5887H294.893L303.443 50.6812H298.854L297.03 46.2067H288.594L286.77 50.6812H282.296ZM290.162 42.3307H295.463L292.812 35.8612L290.162 42.3307Z"),m(C,"fill","currentColor"),m(C,"d","M273.919 50.6811V30.7311H278.308V50.6811H273.919Z"),m(k,"fill","currentColor"),m(k,"d","M259.172 50.6811V34.7781H253.101V30.7311H269.631V34.7781H263.561V50.6811H259.172Z"),m(E,"fill","currentColor"),m(E,"d","M231.298 50.6811V30.7311H235.345L244.693 43.0146V30.7311H249.025V50.6811H245.291L235.63 37.9986V50.6811H231.298Z"),m(L,"fill","currentColor"),m(L,"d","M211.492 50.6811V30.7311H226.54V34.6356H215.853V38.6826H225.258V42.5871H215.853V46.7766H226.683V50.6811H211.492Z"),m(T,"fill","currentColor"),m(T,"d","M188.486 50.6811V30.7311H196.267C202.537 30.7311 206.869 35.0346 206.869 40.6491V40.7061C206.869 46.3206 202.537 50.6811 196.267 50.6811H188.486ZM196.267 34.6926H192.875V46.7196H196.267C199.858 46.7196 202.28 44.2971 202.28 40.7631V40.7061C202.28 37.1721 199.858 34.6926 196.267 34.6926Z"),m(O,"fill","currentColor"),m(O,"d","M178.399 50.6811V30.7311H182.788V50.6811H178.399Z"),m(P,"fill","currentColor"),m(P,"d","M166.354 50.9662C163.333 50.9662 160.283 49.9117 157.889 47.7742L160.483 44.6677C162.278 46.1497 164.159 47.0902 166.439 47.0902C168.235 47.0902 169.318 46.3777 169.318 45.2092V45.1522C169.318 44.0407 168.634 43.4707 165.299 42.6157C161.281 41.5897 158.687 40.4782 158.687 36.5167V36.4597C158.687 32.8402 161.594 30.4462 165.67 30.4462C168.577 30.4462 171.056 31.3582 173.08 32.9827L170.8 36.2887C169.033 35.0632 167.294 34.3222 165.613 34.3222C163.931 34.3222 163.048 35.0917 163.048 36.0607V36.1177C163.048 37.4287 163.903 37.8562 167.351 38.7397C171.398 39.7942 173.678 41.2477 173.678 44.7247V44.7817C173.678 48.7432 170.657 50.9662 166.354 50.9662Z"),m(H,"fill","currentColor"),m(H,"d","M139.452 50.6811V30.7311H154.5V34.6356H143.8
412V38.6826H153.217V42.5871H143.812V46.7766H154.642V50.6811H139.452Z"),m(M,"fill","currentColor"),m(M,"d","M118.144 50.6811V30.7311H127.264C129.8 30.7311 131.767 31.4436 133.078 32.7546C134.189 33.8661 134.788 35.4336 134.788 37.3146V37.3716C134.788 40.5921 133.049 42.6156 130.513 43.5561L135.386 50.6811H130.256L125.981 44.2971H122.533V50.6811H118.144ZM122.533 40.4211H126.979C129.116 40.4211 130.342 39.2811 130.342 37.5996V37.5426C130.342 35.6616 129.031 34.6926 126.893 34.6926H122.533V40.4211Z"),m(N,"fill","currentColor"),m(N,"d","M98.394 50.6811V30.7311H106.545C111.305 30.7311 114.183 33.5526 114.183 37.6281V37.6851C114.183 42.3021 110.592 44.6961 106.118 44.6961H102.783V50.6811H98.394ZM102.783 40.7916H106.26C108.455 40.7916 109.737 39.4806 109.737 37.7706V37.7136C109.737 35.7471 108.369 34.6926 106.175 34.6926H102.783V40.7916Z"),Re(e,D)},m(W,Y){j(W,e,Y),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C),w(e,k),w(e,E),w(e,L),w(e,T),w(e,O),w(e,P),w(e,H),w(e,M),w(e,N)},p(W,[Y]){Re(e,D=Ct(F,[{width:"322"},{height:"80"},{viewBox:"0 0 322 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},Y&1&&W[0]]))},i:ce,o:ce,d(W){W&&_(e)}}}function hp(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class mp extends de{constructor(e){super(),he(this,e,hp,dp,fe,{})}}function pp(t){let e,r,n=[{width:"80"},{height:"80"},{viewBox:"0 0 80 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],i={};for(let a=0;a<n.length;a+=1)i=ve(i,n[a]);return{c(){e=A("svg"),r=A("path"),this.h()},l(a){e=V(a,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var s=S(e);r=V(s,"path",{"fill-rule":!0,"clip-rule":!0,fill:!0,d:!0}),S(r).forEach(_),s.forEach(_),this.h()},h(){m(r,"fill-rule","evenodd"),m(r,"clip-rule","evenodd"),m(r,"fill","currentColor"),m(r,"d","M79.6101 45.0262L79.61 45.0269H79.612L79.6101 45.0262ZM80.002 40.007C80.002 41.5208 79.868 43.1645 79.6101 45.0262C74.4246 43.2306 69.0991 41.8348 63.6076 40.837L63.4082 40.7975L63.4076 40.7974C62.9879 40.7141 62.5407 40.6254 62.0996 40.553V40.007C62.0996 33.8152 59.9055 28.5133 55.5094 24.1514C51.1593 19.7795 45.8752 17.5776 39.691 17.5776C33.5068 17.5776 28.2187 19.7795 23.8466 24.1514C19.5985 28.3973 17.2344 33.9552 16.7524 40.837H16.6324C11.0263 41.869 5.62014 43.2869 0.336008 45.1489C0.104003 43.3969 0 41.685 0 40.007C0 28.9593 3.9121 19.5135 11.7163 11.7257C19.5265 3.9119 28.9927 0 40.027 0C51.0613 0 60.4655 3.9119 68.3037 11.7257C76.1079 19.5135 80.002 28.9593 80.002 40.007ZM77.41 54.3626C76.8599 55.8546 76.2759 57.2146 75.5479 58.4425L75.5439 58.4445L73.9939 58.3605C71.3938 58.2205 69.4298 58.1565 68.0577 58.1565H66.8177C56.7114 58.3005 46.3272 59.8105 35.6389 62.6724C34.0949 63.0704 32.3628 63.5744 30.4088 64.2384L29.0587 64.6624C23.7826 66.4043 18.8225 68.3363 14.1704 70.4842C11.2943 68.0583 8.84824 65.2844 6.81618 62.2404C14.3844 59.1905 22.5026 56.7866 31.0908 55.0706L36.4549 54.1386C43.0451 53.0747 49.6873 52.5327 56.3974 52.4467L58.6315 52.5047C64.3736 52.5867 69.8338 53.0747 74.9859 53.9347H75.0479L77.41 54.3626ZM77.2399 50.7407L78.414 51.0247L79.174 47.7908C73.6478 45.9988 67.9197 44.6009 62.0235 43.6289C54.9154 42.4329 47.5532 41.8369 39.969 41.8369C32.3848 41.8369 24.9606 42.4329 17.8724 43.6289C11.9663 44.5989 6.24614 45.9968 0.704006 47.7908C1.28602 50.5927 2.08804 53.2427 3.10607 55.7406C13.1923 51.9307 23.9486 49.4508 35.3309 48.2848C37.9709 48.0208 39.939 47.8548 41.279 47.7908L42.7191 47.7128C44.9051 47.6308 47.0392 47.5808 49.1592 47.5808H49.7132C53.1133 47.5808 56.8034 47.7128 60.8075 48.0228C66.6137 48.5708 72.0758 49.4808 77.2399 50.7407ZM24.3587 76.9581L26.5507 75.8481C34.3369 71.9142 42.2531 68.8023 50.3173 66.5223C58.1255 64.3304 65.6537 62.9924 72.9599 62.5285C69.2858 67.9163 64.5777 72.2042 58.8215 75.3101C52.9834 78.4221 46.6552 80 39.8991 80C34.4629 80 29.2948 78.992 24.3587 76.9581Z"),Re(e,i
4)},m(a,s){j(a,e,s),w(e,r)},p(a,[s]){Re(e,i=Ct(n,[{width:"80"},{height:"80"},{viewBox:"0 0 80 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},s&1&&a[0]]))},i:ce,o:ce,d(a){a&&_(e)}}}function gp(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class vp extends de{constructor(e){super(),he(this,e,gp,pp,fe,{})}}function _p(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E=[{width:"303"},{height:"80"},{viewBox:"0 0 303 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],L={};for(let T=0;T<E.length;T+=1)L=ve(L,E[T]);return{c(){e=A("svg"),r=A("path"),n=A("path"),i=A("path"),a=A("path"),s=A("path"),o=A("path"),l=A("path"),u=A("path"),f=A("path"),d=A("path"),c=A("path"),h=A("path"),p=A("path"),g=A("path"),b=A("path"),v=A("path"),y=A("path"),C=A("path"),k=A("path"),this.h()},l(T){e=V(T,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var O=S(e);r=V(O,"path",{fill:!0,d:!0}),S(r).forEach(_),n=V(O,"path",{fill:!0,d:!0}),S(n).forEach(_),i=V(O,"path",{fill:!0,d:!0}),S(i).forEach(_),a=V(O,"path",{fill:!0,d:!0}),S(a).forEach(_),s=V(O,"path",{fill:!0,d:!0}),S(s).forEach(_),o=V(O,"path",{fill:!0,d:!0}),S(o).forEach(_),l=V(O,"path",{fill:!0,d:!0}),S(l).forEach(_),u=V(O,"path",{fill:!0,d:!0}),S(u).forEach(_),f=V(O,"path",{fill:!0,d:!0}),S(f).forEach(_),d=V(O,"path",{fill:!0,d:!0}),S(d).forEach(_),c=V(O,"path",{fill:!0,d:!0}),S(c).forEach(_),h=V(O,"path",{fill:!0,d:!0}),S(h).forEach(_),p=V(O,"path",{fill:!0,d:!0}),S(p).forEach(_),g=V(O,"path",{fill:!0,d:!0}),S(g).forEach(_),b=V(O,"path",{fill:!0,d:!0}),S(b).forEach(_),v=V(O,"path",{fill:!0,d:!0}),S(v).forEach(_),y=V(O,"path",{fill:!0,d:!0}
4),S(y).forEach(_),C=V(O,"path",{fill:!0,d:!0}),S(C).forEach(_),k=V(O,"path",{fill:!0,d:!0}),S(k).forEach(_),O.forEach(_),this.h()},h(){m(r,"fill","currentColor"),m(r,"d","M97.5324 25.9576V25.9011C97.5324 20.2494 101.923 15.6188 107.963 15.6188C114.003 15.6188 118.339 20.1929 118.339 25.8447V25.9011C118.339 31.5529 113.948 36.1835 107.908 36.1835C101.868 36.1835 97.5324 31.6094 97.5324 25.9576ZM113.832 25.9576V25.9011C113.832 22.4941 111.372 19.6517 107.903 19.6517C104.434 19.6517 102.03 22.4376 102.03 25.8447V25.9011C102.03 29.3082 104.489 32.1505 107.959 32.1505C111.428 32.1505 113.832 29.3647 113.832 25.9576Z"),m(n,"fill","currentColor"),m(n,"d","M123.281 15.9576H132.368C134.633 15.9576 136.338 16.5553 137.487 17.7176C138.38 18.6259 138.83 19.7647 138.83 21.0965V21.1529C138.83 23.3694 137.653 24.7059 136.259 25.4447C138.524 26.3247 139.923 27.6894 139.923 30.3294V30.3859C139.923 34.0235 137.014 35.84 132.6 35.84H123.29V15.9576H123.281ZM134.55 21.84C134.55 20.5035 133.545 19.7929 131.725 19.7929H127.472V23.9953H131.442C133.341 23.9953 134.545 23.3694 134.545 21.8918V21.8353L134.55 21.84ZM135.638 29.7929C135.638 28.4565 134.689 27.6329 132.452 27.6329H127.477V32.0094H132.595C134.494 32.0094 135.643 31.3271 135.643 29.8494V29.7929H135.638Z"),m(i,"fill","currentColor"),m(i,"d","M151.299 15.8165H155.268L163.656 35.8448H159.154L157.366 31.3836H149.089L147.301 35.8448H142.91L151.299 15.8165ZM155.829 27.5201L153.23 21.073L150.632 27.5201H155.833H155.829Z"),m(a,"fill","currentColor"),m(a,"d","M167.793 15.9576H172.434L177.58 24.3671L182.726 15.9576H187.367V35.84H183.087V22.8565L177.58 31.3506H177.468L172.017 22.9412V35.84H167.797V15.9576H167.793Z"),m(s,"fill","currentColor"),m(s,"d","M199.891 15.8165H203.861L212.249 35.8448H207.747L205.959 31.3836H197.682L195.894 35.8448H191.503L199.891 15.8165ZM204.421 27.5201L201.823 21.073L199.224 27.5201H204.426H204.421Z"),m(o,"fill","currentColor"),m(o,"d","M98.3986 43.3882H113.299V47.3647H102.702V51.5952H112.039V55.5717H102.702V63.2705H98.3939V43.3882H98.3986Z"),m(l,"fill","currentColor"),m(l,"d","M116.991 53.3835V53.327C116.991 47.6753 121.382 43.0447 127.422 43.0447C133.462 43.0447 137.797 47.6188 137.797 53.2706V53.327C137.797 58.9788 133.406 63.6094 127.366 63.6094C121.326 63.6094 116.991 59.0353 116.991 53.3835ZM133.29 53.3835V53.327C133.29 49.92 130.831 47.0776 127.361 47.0776C123.892 47.0776 121.488 49.8635 121.488 53.2706V53.327C121.488 56.7341 123.948 59.5764 127.417 59.5764C130.886 59.5764 133.29 56.7906 133.29 53.3835Z"),m(u,"fill","currentColor"),m(u,"d","M142.433 54.7482V43.3835H146.741V54.6305C146.741 57.8964 148.307 59.5435 150.961 59.5435C153.615 59.5435 155.185 57.9529 155.185 54.7717V43.3788H159.492V54.5976C159.492 60.6211 156.167 63.5764 150.91 63.5764C145.652 63.5764 142.438 60.6211 142.438 54.7435L142.433 54.7482Z"),m(f,"fill","currentColor"),m(f,"d","M164.995 43.3882H168.964L178.135 55.6329V43.3882H182.387V63.2705H178.724L169.247 50.6305V63.2705H165V43.3882H164.995Z"),m(d,"fill","currentColor"),m(d,"d","M188.205 43.3882H195.838C201.989 43.3882 206.241 47.6799 206.241 53.2752V53.3317C206.241 58.927 201.989 63.2752 195.838 63.2752H188.205V43.3929V43.3882ZM192.513 47.3364V59.3223H195.838C199.335 59.3223 201.739 56.9082 201.739 53.3835V53.327C201.739 49.8023 199.335 47.3317 195.838 47.3317H192.513V47.3364Z"),m(c,"fill","currentColor"),m(c,"d","M216.496 43.2423H220.466L228.854 63.2705H224.352L222.564 58.8094H214.287L212.499 63.2705H208.108L216.496 43.2423ZM221.026 54.9458L218.428 48.4988L215.829 54.9458H221.031H221.026Z"),m(h,"fill","currentColor"),m(h,"d","M235.037 47.4211H229.081V43.3882H245.297V47.4211H239.34V63.2705H235.033V47.4211H235.037Z"),m(p,"fill","currentColor"),m(p,"d","M249.91 43.3882H254.218V63.2705H249.91V43.3882Z"),m(g,"fill","currentColor"),m(g,"d","M259.359 53.3835V53.327C259.359 47.6753 263.75 43.0447 269.79 43.0447C275.83 43.0447 280.165 47.6188 280.165 53.2706V53.327C280.165 58.9788 275.774 63.6094 269.734 63.6094C263.695 63.6094 259.359 59.0353 259.359 53.3835ZM275.659 53.3835V53.327C275.659 49.92 273.199 47.0776 269.73 47.0776C266.261 47.0776 263.857 49.8635 263.857 53.2706V53.327C263.857 56.7341 266.316 59.5764 269.785 59.5764C273.255 59.5764 275.659 56.7906 275.659 53.3835Z"),m(b,"fill","currentColor"),m(b,"d","M285.112 43.3882H289.082L298.253 55.6329V43.3882H302.505V63.2705H298.841L289.364 50.6305V63.2705H285.112V43.3882Z"),m(v,"fill","currentColor"),m(v,"d","M78.3566 45.0259C78.6114 43.1624 78.7411 41.52 78.7411 40.0047C78.7411 28.96 74.9059 19.5106 67.2263 11.7224C59.5097 3.91059 50.2553 0 39.3937 0C28.495 0 19.2174 3.91059 11.5286 11.7224C3.84905 19.5106 0 28.96 0 40.0047C0 41.6847 0.1019 43.3976 0.32886 45.1482C5.5304 43.2847 10.8477 41.8682 16.3689 40.8329H16.4847C16.9571 33.9482 19.2869 28.3906 23.4695 24.1459C27.7724 19.7741 32.974 17.5718 39.0648 17.5718C45.
41557 17.5718 50.3526 19.7741 54.637 24.1459C58.9632 28.5082 61.1216 33.8118 61.1216 40V40.5459C61.6265 40.6306 62.136 40.7341 62.6084 40.8282C68.0137 41.8259 73.257 43.2235 78.3612 45.0165"),m(y,"fill","currentColor"),m(y,"d","M74.3594 58.4423C75.0773 57.2141 75.6517 55.8541 76.1936 54.3623L73.8684 53.9341H73.8082C68.7364 53.0776 63.3634 52.5882 57.7126 52.5035L55.5171 52.447C48.9121 52.5317 42.3766 53.0776 35.8874 54.1364L30.6072 55.0682C22.1541 56.7858 14.1642 59.1905 6.71619 62.24C8.71714 65.2847 11.1257 68.0564 13.9557 70.4847C18.532 68.3388 23.4139 66.4047 28.6108 64.6635L29.9402 64.24C31.8624 63.5764 33.5669 63.0729 35.0861 62.6729C45.605 59.8117 55.8274 58.3011 65.7766 58.1553H66.9994C68.3519 58.1553 70.2834 58.2211 72.8401 58.3576L74.3687 58.4423H74.3594Z"),m(C,"fill","currentColor"),m(C,"d","M76.0222 50.7389L77.1756 51.0259L77.9259 47.793C72.4882 46 66.8466 44.6024 61.0475 43.6283C54.0535 42.433 46.8047 41.8353 39.3428 41.8353C31.8578 41.8353 24.5719 42.433 17.5964 43.6283C11.7834 44.5977 6.15576 45.9953 0.699463 47.793C1.27381 50.5977 2.06122 53.2424 3.06169 55.7412C12.9877 51.9294 23.5761 49.4494 34.7804 48.2871C37.3789 48.0236 39.315 47.8541 40.6351 47.793L42.0524 47.713C44.2016 47.633 46.3044 47.5812 48.3888 47.5812H48.9353C52.2795 47.5812 55.9108 47.713 59.8525 48.0236C65.5682 48.5742 70.9458 49.4824 76.0269 50.7389"),m(k,"fill","currentColor"),m(k,"d","M26.1328 75.8494L23.9744 76.96C28.8332 78.9929 33.9189 80 39.2687 80C45.92 80 52.1498 78.4235 57.8932 75.3129C63.558 72.207 68.1898 67.9153 71.8072 62.5317C64.614 62.9929 57.2077 64.3341 49.5235 66.527C41.5846 68.8094 33.7938 71.92 26.1328 75.8541"),Re(e,L)},m(T,O){j(T,e,O),w(e,r),w(e,n),w(e,i),w(e,a),w(e,s),w(e,o),w(e,l),w(e,u),w(e,f),w(e,d),w(e,c),w(e,h),w(e,p),w(e,g),w(e,b),w(e,v),w(e,y),w(e,C),w(e,k)},p(T,[O]){Re(e,L=Ct(E,[{width:"303"},{height:"80"},{viewBox:"0 0 303 80"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},O&1&&T[0]]))},i:ce,o:ce,d(T){T&&_(e)}}}function bp(t,e,r){return t.$$set=n=>{r(0,e=ve(ve({},e),Pe(n)))},e=Pe(e),[e]}class yp extends de{constructor(e){super(),he(this,e,bp,_p,fe,{})}}function Cp(t){let e,r,n;var i=t[2];function a(s,o){return{props:{"aria-hidden":"true",class:s[1],fill:"currentColor",id:s[0]}}}return i&&(e=Yo(i,a(t))),{c(){e&&Q(e.$$.fragment),r=ie()},l(s){e&&X(e.$$.fragment,s),r=ie()},m(s,o){e&&G(e,s,o),j(s,r,o),n=!0},p(s,[o]){if(o&4&&i!==(i=s[2])){if(e){ae();const l=e;I(l.$$.fragment,1,0,()=>{K(l,1)}),se()}i?(e=Yo(i,a(s)),Q(e.$$.fragment),R(e.$$.fragment,1),G(e,r.parentNode,r)):e=null}else if(i){const l={};o&2&&(l.class=s[1]),o&1&&(l.id=s[0]),e.$set(l)}},i(s){n||(e&&R(e.$$.fragment,s),n=!0)},o(s){e&&I(e.$$.fragment,s),n=!1},d(s){s&&_(r),e&&K(e,s)}}}const ad={obamaFoundation:yp,obamaFoundationIcon:vp,obamaPresidencialCenter:mp,obamaFoundationScholars:q7,democracyForum:fp,democracyForumCenter:lp,futureSeries:ap,futureSeriesCenter:rp,leaders:J7,MBKAlliance:K7,obamaFoundationDarkMode:$7,obamaPresidencialCenterDarkMode:x7,obamaFoundationIconDarkMode:D7,obamaFoundationIconFooter:N7};function wp(t){return ad[t]}function Sp(t,e,r){let n,{type:i="obamaFoundation"}=e,{id:a=null}=e,{class:s=""}=e;return Object.keys(ad).includes(i)||console.error(`[ICON ERROR] "${i}" is not a supported icon type.`),t.$$set=o=>{"type"in o&&r(3,i=o.type),"id"in o&&r(0,a=o.id),"class"in o&&r(1,s=o.class)},t.$$.update=()=>{t.$$.dirty&8&&r(2,n=wp(i))},[a,s,n,i]}class zi extends de{constructor(e){super(),he(this,e,Sp,Cp,fe,{type:3,id:0,class:1})}}const Ep=t=>({}),Ou=t=>({});function Ru(t,e,r){var o,l,u,f,d,c;const n=t.slice();n[27]=e[r];const i=((l=(o=n[27])==null?void 0:o.link)==null?void 0:l.url)===n[1];n[28]=i;const a=((f=(u=n[27])==null?void 0:u.link)==null?void 0:f.label)===n[4];n[29]=a;const s=(c=(d=n[27])==null?void 0:d.link)==null?void 0:c.label.replace(/[\s"']/g,"");return n[30]=s,n}function Pu(t){let e=[],r=new Map,n,i,a=ke(t[2]);const s=o=>o[27].link.label;for(let o=0;o<a.length;o+=1){let l=Ru(t,a,o),u=s(l);r.set(u,e[o]=Iu(u,l))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();n=ie()},l(o){for(let l=0;l<e.length;l+=1)e[l].l(o);n=ie()},m(o,l){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(o,l);j(o,n,l),i=!0},p(o,l){l[0]&273590&&(a=ke(o[2]),ae(),e=Kr(e,l,s,1,o,a,r,n.parentNode,Xr,Iu,n,Ru),se())},i(o){if(!i){for(let l=0;l<a.length;l+=1)R(e[l]);i=!0}},o(o){for(let l=0;l<e.length;l+=1)I(e[l]);i=!1},d(o){o&&_(n);for(let l=0;l<e.length;l+=1)e[l].d(o)}}}function Iu(t,e){var P,H;let r,n,i=((H=(P=e[27])==null?void 0:P.link)==null?void 0:H.label)+"",a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E,L;function T(){return e[24](e[27])}c=new pi({props:{name:e[29]?"caretUp":"caretDown"}});function O(){return e[25](e[29],e[27])}return{key:t,first:null,c(){r=$("li"),n=$("a"),a=Me(i),f=J(),d=$("button"),Q(c.$$.fragment),y=J(),this.h()},l(M){r=Z(M,"LI",{class:!0});var N=S(r);n=Z(N,"A",{"aria-hidden":!0,tabindex:!0,"data-sveltekit-reload":!0,id:!0,class:!0,href:!0});var F=S(n);a=Fe(F,i),F.forEach(_),f=ee(N),d=Z(N,"BUTTON",{"aria-hidden":!0,tabindex:!0,"aria-controls":!0,"aria-expanded":!0,"aria-label":!0,class:!0});var D=S(d);
4X(c.$$.fragment,D),D.forEach(_),y=ee(N),N.forEach(_),this.h()},h(){var M,N,F,D,W,Y,le,_e;m(n,"aria-hidden",e[5]),m(n,"tabindex",s=e[5]?-1:0),m(n,"data-sveltekit-reload",""),m(n,"id",o=we.primaryLinkPrefix+e[30]),m(n,"class",l="relative flex items-center focus-visible:outline-dashed focus-visible:outline-offset-2 "+(((N=(M=e[27])==null?void 0:M.link)==null?void 0:N.label)==="Democracy Forum"&&e[11].textGradientValue&&!e[10]?`animate-text ${e[11].textGradientValue} bg-clip-text text-transparent`:"")+" "+e[11].hoverTextColor+" "+e[11].focusOutlineColor+" "+(e[28]?e[18]:"")),m(n,"href",u=(D=(F=e[27])==null?void 0:F.link)==null?void 0:D.url),m(d,"aria-hidden",e[5]),m(d,"tabindex",h=e[5]?-1:0),m(d,"aria-controls",p=we.secondarySectionPrefix+e[30]),m(d,"aria-expanded",g=((Y=(W=e[27])==null?void 0:W.link)==null?void 0:Y.label)===e[4]),m(d,"aria-label",b=`${(_e=(le=e[27])==null?void 0:le.link)==null?void 0:_e.label} Menu`),m(d,"class",v="pointer-events-none h-[2.25rem] opacity-[0] focus-visible:pointer-events-auto focus-visible:opacity-[100] "+e[11].focusOutlineColor+" "+(e[29]?"text-cobalt-blue":e[11].textColor)+" focus-visible:outline-dashed focus-visible:outline-offset-2"),m(r,"class",C="flex items-center gap-1 transition-opacity duration-[150ms] ease-nav-easing "+e[13]+" "+(e[5]?"pointer-events-none":"")),this.first=r},m(M,N){j(M,r,N),w(r,n),w(n,a),w(r,f),w(r,d),G(c,d,null),w(r,y),k=!0,E||(L=[Ee(n,"mouseenter",T),Ee(d,"click",O)],E=!0)},p(M,N){var D,W,Y,le,_e,Ie,pe,et,xe,ne;e=M,(!k||N[0]&4)&&i!==(i=((W=(D=e[27])==null?void 0:D.link)==null?void 0:W.label)+"")&&Je(a,i),(!k||N[0]&32)&&m(n,"aria-hidden",e[5]),(!k||N[0]&32&&s!==(s=e[5]?-1:0))&&m(n,"tabindex",s),(!k||N[0]&4&&o!==(o=we.primaryLinkPrefix+e[30]))&&m(n,"id",o),(!k||N[0]&3078&&l!==(l="relative flex items-center focus-visible:outline-dashed focus-visible:outline-offset-2 "+(((le=(Y=e[27])==null?void 0:Y.link)==null?void 0:le.label)==="Democracy Forum"&&e[11].textGradientValue&&!e[10]?`animate-text ${e[11].textGradientValue} bg-clip-text text-transparent`:"")+" "+e[11].hoverTextColor+" "+e[11].focusOutlineColor+" "+(e[28]?e[18]:"")))&&m(n,"class",l),(!k||N[0]&4&&u!==(u=(Ie=(_e=e[27])==null?void 0:_e.link)==null?void 0:Ie.url))&&m(n,"href",u);const F={};N[0]&20&&(F.name=e[29]?"caretUp":"caretDown"),c.$set(F),(!k||N[0]&32)&&m(d,"aria-hidden",e[5]),(!k||N[0]&32&&h!==(h=e[5]?-1:0))&&m(d,"tabindex",h),(!k||N[0]&4&&p!==(p=we.secondarySectionPrefix+e[30]))&&m(d,"aria-controls",p),(!k||N[0]&20&&g!==(g=((et=(pe=e[27])==null?void 0:pe.link)==null?void 0:et.label)===e[4]))&&m(d,"aria-expanded",g),(!k||N[0]&4&&b!==(b=`${(ne=(xe=e[27])==null?void 0:xe.link)==null?void 0:ne.label} Menu`))&&m(d,"aria-label",b),(!k||N[0]&2068&&v!==(v="pointer-events-none h-[2.25rem] opacity-[0] focus-visible:pointer-events-auto focus-visible:opacity-[100] "+e[11].focusOutlineColor+" "+(e[29]?"text-cobalt-blue":e[11].textColor)+" focus-visible:outline-dashed focus-visible:outline-offset-2"))&&m(d,"class",v),(!k||N[0]&8224&&C!==(C="flex items-center gap-1 transition-opacity duration-[150ms] ease-nav-easing "+e[13]+" "+(e[5]?"pointer-events-none":"")))&&m(r,"class",C)},i(M){k||(R(c.$$.fragment,M),k=!0)},o(M){I(c.$$.fragment,M),k=!1},d(M){M&&_(r),K(c),E=!1,hn(L)}}}function Tp(t){let e,r,n;const i=t[23].utilityNavigation,a=Ze(i,t,t[26],Ou);return{c(){e=$("div"),a&&a.c(),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);a&&a.l(o),o.forEach(_),this.h()},h(){m(e,"class","flex items-center gap-6")},m(s,o){j(s,e,o),a&&a.m(e,null),n=!0},p(s,o){a&&a.p&&(!n||o[0]&67108864)&&We(a,i,s,s[26],n?Qe(i,s[26],o,Ep):qe(s[26]),Ou)},i(s){n||(R(a,s),s&&(r||Ye(()=>{r=Er(e,gt,{duration:150,delay:450,easing:it}),r.start()})),n=!0)},o(s){I(a,s),n=!1},d(s){s&&_(e),a&&a.d(s)}}}function kp(t){let e,r,n,i,a,s;return r=new pi({props:{name:"close"}}),{c(){e=$("button"),Q(r.$$.fragment),this.h()},l(o){e=Z(o,"BUTTON",{"aria-label":!0,"aria-expanded":!0,class:!0});var l=S(e);X(r.$$.fragment,l),l.forEach(_),this.h()},h(){m(e,"aria-label","Close Search Panel"),m(e,"aria-expanded",t[5]),m(e,"class","relative flex h-[24px] w-[24px] items-center justify-center focus-visible:outline-dashed focus-visible:outline-offset-2")},m(o,l){j(o,e,l),G(r,e,null),i=!0,a||(s=Ee(e,"click",t[17]),a=!0)},p(o,l){(!i||l[0]&32)&&m(e,"aria-expanded",o[5])},i(o){i||(R(r.$$.fragment,o),o&&(n||Ye(()=>{n=Er(e,gt,{duration:300,delay:450,easing:it}),n.start()})),i=!0)},o(o){I(r.$$.fragment,o),i=!1},d(o){o&&_(e),K(r),a=!1,s()}}}function Lp(t){var L;let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v;l=new zi({props:{type:"obamaFoundationIcon",class:t[16]+" "+t[15]}}),f=new zi({props:{type:"obamaFoundationIconDarkMode",class:t[16]+" "+t[14]}});let y=((L=t[2])==null?void 0:L.length)>0&&Pu(t);const C=[kp,Tp],k=[];function E(T,O){return T[5]?0:1}return p=E(t),g=k[p]=C[p](t),{c(){e=$("div"),r=$("ul"),n=$("li"),i=$("a"),a=$("span"),s=Me(t[3]),o=J(),Q(l.$$.fragment),u=J(),Q(f.$$.fragment),c=J(),y&&y.c(),h=J(),g.c(),this.h()},l(T){e=Z(T,"DIV",{id:!0,class:!0});var O=S(e);r=Z(O,"UL",{class:!0});var P=S(r);n=Z(P,"LI",{class:!0});var H=S(n);i=Z(H,"A",{"data-sveltekit-reload":!0,href:!0,"data-transition-focus":!0,class:!0});var M=S(i);a=Z(M,"SPAN",{class:!0});var N=S(a);
4s=Fe(N,t[3]),N.forEach(_),o=ee(M),X(l.$$.fragment,M),u=ee(M),X(f.$$.fragment,M),M.forEach(_),H.forEach(_),c=ee(P),y&&y.l(P),P.forEach(_),h=ee(O),g.l(O),O.forEach(_),this.h()},h(){m(a,"class","sr-only"),m(i,"data-sveltekit-reload",""),m(i,"href","/"),m(i,"data-transition-focus",we.transitionFocus.logo),m(i,"class",d=t[11].focusOutlineColor+" relative mr-5 h-[44px] w-[44px] hover:text-cobalt-blue focus-visible:outline-dashed focus-visible:outline-offset-2"),m(n,"class","contents"),m(r,"class","flex flex-1 items-center gap-5"),m(e,"id",t[0]),m(e,"class",b=t[11].textColor+" override-nav flex "+t[12]+" items-center justify-between "+t[8]+" "+t[9]),Ft(e,"h-[74px]",t[6])},m(T,O){j(T,e,O),w(e,r),w(r,n),w(n,i),w(i,a),w(a,s),w(i,o),G(l,i,null),w(i,u),G(f,i,null),w(r,c),y&&y.m(r,null),w(e,h),k[p].m(e,null),v=!0},p(T,O){var N;(!v||O[0]&8)&&Je(s,T[3]);const P={};O[0]&98304&&(P.class=T[16]+" "+T[15]),l.$set(P);const H={};O[0]&81920&&(H.class=T[16]+" "+T[14]),f.$set(H),(!v||O[0]&2048&&d!==(d=T[11].focusOutlineColor+" relative mr-5 h-[44px] w-[44px] hover:text-cobalt-blue focus-visible:outline-dashed focus-visible:outline-offset-2"))&&m(i,"class",d),((N=T[2])==null?void 0:N.length)>0?y?(y.p(T,O),O[0]&4&&R(y,1)):(y=Pu(T),y.c(),R(y,1),y.m(r,null)):y&&(ae(),I(y,1,1,()=>{y=null}),se());let M=p;p=E(T),p===M?k[p].p(T,O):(ae(),I(k[M],1,1,()=>{k[M]=null}),se(),g=k[p],g?g.p(T,O):(g=k[p]=C[p](T),g.c()),R(g,1),g.m(e,null)),(!v||O[0]&1)&&m(e,"id",T[0]),(!v||O[0]&6912&&b!==(b=T[11].textColor+" override-nav flex "+T[12]+" items-center justify-between "+T[8]+" "+T[9]))&&m(e,"class",b),(!v||O[0]&6976)&&Ft(e,"h-[74px]",T[6])},i(T){v||(R(l.$$.fragment,T),R(f.$$.fragment,T),R(y),R(g),v=!0)},o(T){I(l.$$.fragment,T),I(f.$$.fragment,T),I(y),I(g),v=!1},d(T){T&&_(e),K(l),K(f),y&&y.d(),k[p].d()}}}function Op(t){let e,r;return e=new mi({props:{containerClass:"relative z-global-nav",$$slots:{default:[Lp]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i[0]&67239807&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Rp(t,e,r){let n,i,a,s,o,l,u,f,d,c,{$$slots:h={},$$scope:p}=e,{id:g=void 0}=e,{theme:b="white"}=e,{currentRoute:v}=e,{mainNavigation:y}=e,{mainLogoAccessibilityText:C}=e,{displayedSection:k}=e,{isSearchPanelVisible:E}=e,{hasScrolledDown:L}=e;const T=mn();let{delayThemeFadeOnNavBar:O=!1}=e,{animateNavBarItems:P=!1}=e;const H=()=>{T("searchClose")},M=`
5    after:w-1 after:h-1
6    after:absolute after:bg-current
7    after:bottom-[-0.5rem]
8    after:left-[50%]
9    after:translate-x-[-50%]
10  `,N=D=>{var W;T("hoveredLabel",{displayedSection:(W=D==null?void 0:D.link)==null?void 0:W.label})},F=(D,W)=>{var Y;D?T("hoveredLabel",{displayedSection:void 0}):T("hoveredLabel",{displayedSection:(Y=W==null?void 0:W.link)==null?void 0:Y.label})};return t.$$set=D=>{"id"in D&&r(0,g=D.id),"theme"in D&&r(19,b=D.theme),"currentRoute"in D&&r(1,v=D.currentRoute),"mainNavigation"in D&&r(2,y=D.mainNavigation),"mainLogoAccessibilityText"in D&&r(3,C=D.mainLogoAccessibilityText),"displayedSection"in D&&r(4,k=D.displayedSection),"isSearchPanelVisible"in D&&r(5,E=D.isSearchPanelVisible),"hasScrolledDown"in D&&r(6,L=D.hasScrolledDown),"delayThemeFadeOnNavBar"in D&&r(20,O=D.delayThemeFadeOnNavBar),"animateNavBarItems"in D&&r(21,P=D.animateNavBarItems),"$$scope"in D&&r(26,p=D.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&524288&&r(11,n=ft(b)),t.$$.dirty[0]&2048&&r(22,i=n.componentColorTheme),t.$$.dirty[0]&48&&r(10,a=E||!!k),t.$$.dirty[0]&2097152&&r(8,s=P?"transition-all duration-[150ms] ease-nav-easing":""),t.$$.dirty[0]&3146816&&r(9,o=a||O||L||!P?"":"delay-[650ms]"),t.$$.dirty[0]&768&&r(16,l=`absolute bottom-1/2 left-0 top-1/2 h-full w-full -translate-y-1/2 ${o} ${s}`),t.$$.dirty[0]&4194304&&r(15,u=i==="white"?"opacity-[1]":"opacity-[0]"),t.$$.dirty[0]&4194304&&r(14,f=i==="white"?"opacity-[0]":"opacity-[1]"),t.$$.dirty[0]&32&&r(13,d=E?"opacity-[0] delay-[50ms]":"opacity-[1] delay-[650ms]"),t.$$.dirty[0]&64&&r(12,c=`h-nav-height-desktop ${L?"lg:h-[74px] xl:h-[82px]":""}`)},[g,v,y,C,k,E,L,T,s,o,a,n,c,d,f,u,l,H,M,b,O,P,i,h,N,F,p]}class Pp extends de{constructor(e){super(),he(this,e,Rp,Op,fe,{id:0,theme:19,currentRoute:1,mainNavigation:2,mainLogoAccessibilityText:3,displayedSection:4,isSearchPanelVisible:5,hasScrolledDown:6,dispatch:7,delayThemeFadeOnNavBar:20,animateNavBarItems:21},null,[-1,-1])}get dispatch(){return this.$$.ctx[7]}}const Ip=t=>({}),Hu=t=>({});function Hp(t){let e,r,n,i,a,s,o,l,u,f;Ye(t[9]);const d=t[8].content,c=Ze(d,t,t[7],Hu);return{c(){e=$("div"),r=$("div"),c&&c.c(),this.h()},l(h){e=Z(h,"DIV",{class:!0});var p=S(e);r=Z(p,"DIV",{});var g=S(r);c&&c.l(g),g.forEach(_),p.forEach(_),this.h()},h(){var h;m(e,"class",a=((h=t[4])==null?void 0:h.backgroundColor)+" transition-color absolute left-0 top-0 z-global-nav-animation-wrapper w-full "+(t[0]?"pt-nav-height-mobile":"")+" lg:pt-nav-height-desktop")},m(h,p){j(h,e,p),w(e,r),c&&c.m(r,null),l=!0,u||(f=[Ee(window,"resize",t[9]),Ee(e,"introend",t[10])],u=!0)},p(h,[p]){var g;t=h,c&&c.p&&(!l||p&128)&&We(c,d,t,t[7],l?Qe(d,t[7],p,Ip):qe(t[7]),Hu),(!l||p&17&&a!==(a=((g=t[4])==null?void 0:g.backgroundColor)+" transition-color absolute left-0 top-0 z-global-nav-animation-wrapper w-full "+(t[0]?"pt-nav-height-mobile":"")+" lg:pt-nav-height-desktop"))&&m(e,"class",a)},i(h){l||(R(c,h),Ye(()=>{l&&(i&&i.end(1),n=Er(r,gt,{duration:300,delay:t[2]?t[1]?600:300:t[1]?300:450,easing:it}),n.start())}),h&&Ye(()=>{l&&(o&&o.end(1),s=Er(e,za,{duration:600,delay:0,y:t[1]&&!t[0]?-t[3]:"-100%",easing:it,opacity:1}),s.start())}),l=!0)},o(h){I(c,h),n&&n.invalidate(),i=Bn(r,gt,{duration:300,easing:it}),s&&s.invalidate(),h&&(o=Bn(e,za,{duration:t[2]?t[1]?300:150:600,delay:t[2]?t[1]?300:150:300,y:t[1]&&!t[0]?-t[3]:"-100%",easing:it,opacity:1})),l=!1},d(h){h&&_(e),c&&c.d(h),h&&i&&i.end(),h&&o&&o.end(),u=!1,hn(f)}}}
10function Ap(t,e,r){let n,{$$slots:i={},$$scope:a}=e,{theme:s="white"}=e,{isSearchPanelVisible:o=!1}=e,{isMobile:l=!1}=e,{collapseDisplayedSectionOnSearch:u=!1}=e,f=0;const d=mn();function c(){r(3,f=window.innerHeight)}const h=()=>d("introEnd");return t.$$set=p=>{"theme"in p&&r(6,s=p.theme),"isSearchPanelVisible"in p&&r(0,o=p.isSearchPanelVisible),"isMobile"in p&&r(1,l=p.isMobile),"collapseDisplayedSectionOnSearch"in p&&r(2,u=p.collapseDisplayedSectionOnSearch),"$$scope"in p&&r(7,a=p.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&r(4,n=ft(s))},[o,l,u,f,n,d,s,a,i,c,h]}class oa extends de{constructor(e){super(),he(this,e,Ap,Hp,fe,{theme:6,isSearchPanelVisible:0,isMobile:1,collapseDisplayedSectionOnSearch:2})}}const Vp=t=>({}),Au=t=>({}),Np=t=>({}),Vu=t=>({});function Mp(t){let e;const r=t[20].utilityNavigation,n=Ze(r,t,t[22],Vu);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4194304)&&We(n,r,i,i[22],e?Qe(r,i[22],a,Np):qe(i[22]),Vu)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Nu(t){let e,r;return e=new oa({props:{theme:t[1],collapseDisplayedSectionOnSearch:t[11],$$slots:{content:[Fp]},$$scope:{ctx:t}}}),e.$on("introEnd",t[18]),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&2&&(a.theme=n[1]),i&2048&&(a.collapseDisplayedSectionOnSearch=n[11]),i&4195850&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Fp(t){let e,r;return e=new H7({props:{mainNavigation:t[3],displayedSection:t[9],theme:t[1],contentOpen:t[10]}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8&&(a.mainNavigation=n[3]),i&512&&(a.displayedSection=n[9]),i&2&&(a.theme=n[1]),i&1024&&(a.contentOpen=n[10]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Mu(t){let e,r;return e=new oa({props:{isSearchPanelVisible:t[6],theme:t[1],collapseDisplayedSectionOnSearch:t[11],$$slots:{content:[Dp]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&64&&(a.isSearchPanelVisible=n[6]),i&2&&(a.theme=n[1]),i&2048&&(a.collapseDisplayedSectionOnSearch=n[11]),i&4194304&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Dp(t){let e;const r=t[20].searchPanel,n=Ze(r,t,t[22],Au);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4194304)&&We(n,r,i,i[22],e?Qe(r,i[22],a,Vp):qe(i[22]),Au)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function jp(t){let e,r,n,i,a,s,o,l,u;r=new Pp({props:{mainNavigation:t[3],displayedSection:t[9],currentRoute:t[2],theme:t[1],hasScrolledDown:t[5],mainLogoAccessibilityText:t[4],isSearchPanelVisible:t[6],delayThemeFadeOnNavBar:t[7],animateNavBarItems:t[8],$$slots:{utilityNavigation:[Mp]},$$scope:{ctx:t}}}),r.$on("hoveredLabel",t[15]),r.$on("searchClose",t[21]);let f=t[9]&&Nu(t),d=t[6]&&Mu(t);return{c(){e=$("nav"),Q(r.$$.fragment),n=J(),f&&f.c(),i=J(),d&&d.c(),this.h()},l(c){e=Z(c,"NAV",{"data-testid":!0,class:!0});var h=S(e);X(r.$$.fragment,h),n=ee(h),f&&f.l(h),i=ee(h),d&&d.l(h),h.forEach(_),this.h()},h(){var c;m(e,"data-testid","nav-desktop"),m(e,"class",a=(t[5]||t[0]?(c=t[14])==null?void 0:c.backgroundColor:"bg-transparent")+" cta-md sticky left-0 top-0 z-global-nav hidden "+t[12]+" w-full transition-all "+t[13]+" duration-[300ms] ease-nav-easing lg:block"),Ft(e,"shadow-xl",t[5])},m(c,h){j(c,e,h),G(r,e,null),w(e,n),f&&f.m(e,null),w(e,i),d&&d.m(e,null),o=!0,l||(u=[Ee(window,"keydown",t[17]),Ee(e,"mouseleave",t[16]),fs(s=vs.call(null,e,{shouldTrapFocus:t[6],triggerElementQuery:""}))],l=!0)},p(c,[h]){var g;const p={};h&8&&(p.mainNavigation=c[3]),h&512&&(p.displayedSection=c[9]),h&4&&(p.currentRoute=c[2]),h&2&&(p.theme=c[1]),h&32&&(p.hasScrolledDown=c[5]),h&16&&(p.mainLogoAccessibilityText=c[4]),h&64&&(p.isSearchPanelVisible=c[6]),h&128&&(p.delayThemeFadeOnNavBar=c[7]),h&256&&(p.animateNavBarItems=c[8]),h&4194304&&(p.$$scope={dirty:h,ctx:c}
10),r.$set(p),c[9]?f?(f.p(c,h),h&512&&R(f,1)):(f=Nu(c),f.c(),R(f,1),f.m(e,i)):f&&(ae(),I(f,1,1,()=>{f=null}),se()),c[6]?d?(d.p(c,h),h&64&&R(d,1)):(d=Mu(c),d.c(),R(d,1),d.m(e,null)):d&&(ae(),I(d,1,1,()=>{d=null}),se()),(!o||h&28705&&a!==(a=(c[5]||c[0]?(g=c[14])==null?void 0:g.backgroundColor:"bg-transparent")+" cta-md sticky left-0 top-0 z-global-nav hidden "+c[12]+" w-full transition-all "+c[13]+" duration-[300ms] ease-nav-easing lg:block"))&&m(e,"class",a),s&&Ki(s.update)&&h&64&&s.update.call(null,{shouldTrapFocus:c[6],triggerElementQuery:""}),(!o||h&28705)&&Ft(e,"shadow-xl",c[5])},i(c){o||(R(r.$$.fragment,c),R(f),R(d),o=!0)},o(c){I(r.$$.fragment,c),I(f),I(d),o=!1},d(c){c&&_(e),K(r),f&&f.d(),d&&d.d(),l=!1,hn(u)}}}function Up(t,e,r){let n,i,a,{$$slots:s={},$$scope:o}=e,{theme:l="white"}=e,{currentRoute:u}=e,{mainNavigation:f}=e,{isExpanded:d}=e,{mainLogoAccessibilityText:c}=e,{hasScrolledDown:h=!1}=e,{isSearchPanelVisible:p=!1}=e,{delayThemeFadeOnNavBar:g=!1}=e,{animateNavBarItems:b=!1}=e,v,y=!1,C=!1,k=!1;const E=N=>{r(9,v=N);const F=f.find(D=>D.link.label===v);if((F==null?void 0:F.secondarySections.length)===0){O();return}r(0,d=!0)},L=Z2(E,200),T=N=>{const F=N.detail.displayedSection;if(!F){O();return}v?L(F):E(F)},O=()=>{r(9,v=void 0),r(19,y=!1),r(0,d=!1)},P=N=>{if(N.key==="Escape"){let F=document.querySelector(`[aria-label="${v} Menu"]`);r(9,v=void 0),r(19,y=!1),r(0,d=!1),F==null||F.focus()}},H=()=>{r(10,k=!0)};function M(N){Ht.call(this,t,N)}return t.$$set=N=>{"theme"in N&&r(1,l=N.theme),"currentRoute"in N&&r(2,u=N.currentRoute),"mainNavigation"in N&&r(3,f=N.mainNavigation),"isExpanded"in N&&r(0,d=N.isExpanded),"mainLogoAccessibilityText"in N&&r(4,c=N.mainLogoAccessibilityText),"hasScrolledDown"in N&&r(5,h=N.hasScrolledDown),"isSearchPanelVisible"in N&&r(6,p=N.isSearchPanelVisible),"delayThemeFadeOnNavBar"in N&&r(7,g=N.delayThemeFadeOnNavBar),"animateNavBarItems"in N&&r(8,b=N.animateNavBarItems),"$$scope"in N&&r(22,o=N.$$scope)},t.$$.update=()=>{t.$$.dirty&524864&&(!y&&v&&r(19,y=!0),p&&v&&(r(11,C=!0),r(9,v=void 0)),p||r(11,C=!1)),t.$$.dirty&2&&r(14,n=ft(l)),t.$$.dirty&1536&&!v&&k&&r(10,k=!1),t.$$.dirty&65&&r(13,i=d||p?"delay-[2000ms]":""),t.$$.dirty&32&&r(12,a=`h-nav-height-desktop ${h?"lg:h-[74px] xl:h-[82px]":""}`)},[d,l,u,f,c,h,p,g,b,v,k,C,a,i,n,T,O,P,H,y,s,M,o]}class xp extends de{constructor(e){super(),he(this,e,Up,jp,fe,{theme:1,currentRoute:2,mainNavigation:3,isExpanded:0,mainLogoAccessibilityText:4,hasScrolledDown:5,isSearchPanelVisible:6,delayThemeFadeOnNavBar:7,animateNavBarItems:8})}}const Bp=t=>({}),Fu=t=>({});function zp(t){let e,r,n,i,a,s,o,l,u,f,d;return a=new zi({props:{type:"obamaFoundationIcon",class:t[13]+" "+t[12]}}),o=new zi({props:{type:"obamaFoundationIconDarkMode",class:t[13]+" "+t[11]}}),{c(){e=$("a"),r=$("span"),n=Me(t[1]),i=J(),Q(a.$$.fragment),s=J(),Q(o.$$.fragment),this.h()},l(c){e=Z(c,"A",{"data-sveltekit-reload":!0,href:!0,"data-transition-focus":!0,class:!0});var h=S(e);r=Z(h,"SPAN",{class:!0});var p=S(r);n=Fe(p,t[1]),p.forEach(_),i=ee(h),X(a.$$.fragment,h),s=ee(h),X(o.$$.fragment,h),h.forEach(_),this.h()},h(){m(r,"class","sr-only"),m(e,"data-sveltekit-reload",""),m(e,"href","/"),m(e,"data-transition-focus",we.transitionFocus.logo),m(e,"class",l=t[7].focusOutlineColor+" relative grid h-[44px] w-[44px] place-items-center focus-visible:outline-dashed focus-visible:outline-offset-2")},m(c,h){j(c,e,h),w(e,r),w(r,n),w(e,i),G(a,e,null),w(e,s),G(o,e,null),t[29](e),d=!0},p(c,h){(!d||h[0]&2)&&Je(n,c[1]);const p={};h[0]&12288&&(p.class=c[13]+" "+c[12]),a.$set(p);const g={};h[0]&10240&&(g.class=c[13]+" "+c[11]),o.$set(g),(!d||h[0]&128&&l!==(l=c[7].focusOutlineColor+" relative grid h-[44px] w-[44px] place-items-center focus-visible:outline-dashed focus-visible:outline-offset-2"))&&m(e,"class",l)},i(c){d||(R(a.$$.fragment,c),R(o.$$.fragment,c),c&&Ye(()=>{d&&(f&&f.end(1),u=Er(e,gt,{duration:500,easing:it,delay:200}),u.start())}),d=!0)}
10,o(c){I(a.$$.fragment,c),I(o.$$.fragment,c),u&&u.invalidate(),c&&(f=Bn(e,gt,{duration:500,easing:it})),d=!1},d(c){c&&_(e),K(a),K(o),t[29](null),c&&f&&f.end()}}}function $p(t){let e,r,n,i,a,s,o,l;return r=new pi({props:{name:"arrowLeft",inheritSize:!0}}),{c(){e=$("button"),Q(r.$$.fragment),this.h()},l(u){e=Z(u,"BUTTON",{"aria-label":!0,class:!0});var f=S(e);X(r.$$.fragment,f),f.forEach(_),this.h()},h(){m(e,"aria-label","Go back to previous navigation menu"),m(e,"class",n="absolute bottom-0 top-0 m-auto grid place-items-center "+t[7].focusOutlineColor+" "+t[7].focusTextColor+" h-[22px] w-[22px] "+t[15]+" focus-visible:outline-dashed focus-visible:outline-offset-2"),Ft(e,"hidden",!t[5])},m(u,f){j(u,e,f),G(r,e,null),t[28](e),s=!0,o||(l=Ee(e,"click",t[18]),o=!0)},p(u,f){(!s||f[0]&32896&&n!==(n="absolute bottom-0 top-0 m-auto grid place-items-center "+u[7].focusOutlineColor+" "+u[7].focusTextColor+" h-[22px] w-[22px] "+u[15]+" focus-visible:outline-dashed focus-visible:outline-offset-2"))&&m(e,"class",n),(!s||f[0]&32928)&&Ft(e,"hidden",!u[5])},i(u){s||(R(r.$$.fragment,u),u&&Ye(()=>{s&&(a&&a.end(1),i=Er(e,gt,{duration:500,easing:it,delay:200}),i.start())}),s=!0)},o(u){I(r.$$.fragment,u),i&&i.invalidate(),u&&(a=Bn(e,gt,{duration:500,easing:it})),s=!1},d(u){u&&_(e),K(r),t[28](null),u&&a&&a.end(),o=!1,l()}}}function Du(t){let e,r,n,i;const a=t[27].utilityNavigation,s=Ze(a,t,t[26],Fu);return{c(){e=$("div"),s&&s.c(),this.h()},l(o){e=Z(o,"DIV",{class:!0});var l=S(e);s&&s.l(l),l.forEach(_),this.h()},h(){m(e,"class","flex items-center gap-6")},m(o,l){j(o,e,l),s&&s.m(e,null),i=!0},p(o,l){s&&s.p&&(!i||l[0]&67108864)&&We(s,a,o,o[26],i?Qe(a,o[26],l,Bp):qe(o[26]),Fu)},i(o){i||(R(s,o),o&&Ye(()=>{i&&(n&&n.end(1),r=Er(e,gt,{duration:500,easing:it}),r.start())}),i=!0)},o(o){I(s,o),r&&r.invalidate(),o&&(n=Bn(e,gt,{duration:500,easing:it})),i=!1},d(o){o&&_(e),s&&s.d(o),o&&n&&n.end()}}}function Zp(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v;const y=[$p,zp],C=[];function k(L,T){return L[2]!==void 0?0:1}n=k(t),i=C[n]=y[n](t);let E=!t[2]&&!t[3]&&t[4]&&Du(t);return{c(){e=$("div"),r=$("div"),i.c(),a=J(),s=$("div"),E&&E.c(),o=J(),l=$("button"),u=$("span"),this.h()},l(L){e=Z(L,"DIV",{id:!0,class:!0});var T=S(e);r=Z(T,"DIV",{class:!0});var O=S(r);i.l(O),O.forEach(_),a=ee(T),s=Z(T,"DIV",{class:!0});var P=S(s);E&&E.l(P),o=ee(P),l=Z(P,"BUTTON",{"aria-label":!0,"aria-expanded":!0,class:!0});var H=S(l);u=Z(H,"SPAN",{class:!0}),S(u).forEach(_),H.forEach(_),P.forEach(_),T.forEach(_),this.h()},h(){m(r,"class","relative"),m(u,"class",f="block h-[2px] w-[24px] before:absolute before:left-0 before:block before:h-[2px] before:w-full before:transition-all before:duration-300 before:ease-nav-easing "+t[10]+" "+(t[5]||t[3]?"opacity-transparent":"opacity-opaque")),m(l,"aria-label",d=(t[5]||t[3]?"Close":"Open")+" Mobile "+(t[3]?"Search Panel":"Menu")),m(l,"aria-expanded",c=t[5]||t[3]),m(l,"class",h="relative flex h-[24px] w-[24px] items-center justify-center focus-visible:outline-dashed focus-visible:outline-offset-2 "+t[10]+" "+t[19]+" "+t[7].focusOutlineColor+" "+t[7].focusTextColor+" "+(t[5]||t[3]?ju:Uu)),m(s,"class","flex items-center gap-6"),m(e,"
10id",t[0]),m(e,"class",p="override-nav relative z-global-nav-bar-mobile flex h-nav-height-mobile w-full items-center justify-between "+t[7].textColor+" "+t[14]+" "+t[6])},m(L,T){j(L,e,T),w(e,r),C[n].m(r,null),w(e,a),w(e,s),E&&E.m(s,null),w(s,o),w(s,l),w(l,u),g=!0,b||(v=Ee(l,"click",function(){Ki(t[3]?t[17]:t[16])&&(t[3]?t[17]:t[16]).apply(this,arguments)}),b=!0)},p(L,T){t=L;let O=n;n=k(t),n===O?C[n].p(t,T):(ae(),I(C[O],1,1,()=>{C[O]=null}),se(),i=C[n],i?i.p(t,T):(i=C[n]=y[n](t),i.c()),R(i,1),i.m(r,null)),!t[2]&&!t[3]&&t[4]?E?(E.p(t,T),T[0]&28&&R(E,1)):(E=Du(t),E.c(),R(E,1),E.m(s,o)):E&&(ae(),I(E,1,1,()=>{E=null}),se()),(!g||T[0]&1064&&f!==(f="block h-[2px] w-[24px] before:absolute before:left-0 before:block before:h-[2px] before:w-full before:transition-all before:duration-300 before:ease-nav-easing "+t[10]+" "+(t[5]||t[3]?"opacity-transparent":"opacity-opaque")))&&m(u,"class",f),(!g||T[0]&40&&d!==(d=(t[5]||t[3]?"Close":"Open")+" Mobile "+(t[3]?"Search Panel":"Menu")))&&m(l,"aria-label",d),(!g||T[0]&40&&c!==(c=t[5]||t[3]))&&m(l,"aria-expanded",c),(!g||T[0]&1192&&h!==(h="relative flex h-[24px] w-[24px] items-center justify-center focus-visible:outline-dashed focus-visible:outline-offset-2 "+t[10]+" "+t[19]+" "+t[7].focusOutlineColor+" "+t[7].focusTextColor+" "+(t[5]||t[3]?ju:Uu)))&&m(l,"class",h),(!g||T[0]&1)&&m(e,"id",t[0]),(!g||T[0]&16576&&p!==(p="override-nav relative z-global-nav-bar-mobile flex h-nav-height-mobile w-full items-center justify-between "+t[7].textColor+" "+t[14]+" "+t[6]))&&m(e,"class",p)},i(L){g||(R(i),R(E),g=!0)},o(L){I(i),I(E),g=!1},d(L){L&&_(e),C[n].d(),E&&E.d(),b=!1,v()}}}const ju="before:rotate-[45deg] after:rotate-[-45deg]",Uu="after:translate-y-[6px] before:-translate-y-[6px]";function Wp(t,e,r){let n,i,a,s,o,l,u,f,{$$slots:d={},$$scope:c}=e,{id:h=void 0}=e,{theme:p="white"}=e,{mainLogoAccessibilityText:g}=e,{displayedMobileSection:b}=e,{isSearchPanelVisible:v}=e,{hasScrolledDown:y}=e,{delayThemeFadeOnNavBar:C}=e,{animateNavBarItems:k=!1}=e,{isExpanded:E}=e,{class:L=""}=e,T,O,P,H;const M=mn();dn(()=>{r(10,H=D[n])});const N=()=>{M("hamburgerClick")},F=()=>{M("searchClose")},D={white:"after:bg-black before:bg-black",lightGrey:"after:bg-black before:bg-black",black:"after:bg-white before:bg-white"};let W=!1;const Y=()=>{T===document.activeElement&&(W=!0),M("goBack")},le="before:absolute before:left-0 before:transition-all before:duration-300 before:w-full before:h-[2px] before:block before:ease-nav-easing after:absolute after:left-0 after:transition-all after:duration-300 after:w-full after:h-[2px] after:block after:ease-nav-easing";Th(()=>{W&&b===void 0&&(W=!1,O==null||O.focus())});function _e(pe){$e[pe?"unshift":"push"](()=>{T=pe,r(8,T)})}function Ie(pe){$e[pe?"unshift":"push"](()=>{O=pe,r(9,O)})}return t.$$set=pe=>{"id"in pe&&r(0,h=pe.id),"theme"in pe&&r(20,p=pe.theme),"mainLogoAccessibilityText"in pe&&r(1,g=pe.mainLogoAccessibilityText),"displayedMobileSection"in pe&&r(2,b=pe.displayedMobileSection),"isSearchPanelVisible"in pe&&r(3,v=pe.isSearchPanelVisible),"hasScrolledDown"in pe&&r(21,y=pe.hasScrolledDown),"delayThemeFadeOnNavBar"in pe&&r(22,C=pe.delayThemeFadeOnNavBar),"animateNavBarItems"in pe&&r(4,k=pe.animateNavBarItems),"isExpanded"in pe&&r(5,E=pe.isExpanded),"class"in pe&&r(6,L=pe.class),"$$scope"in pe&&r(26,c=pe.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&1048576&&r(7,P=ft(p)),t.$$.dirty[0]&128&&r(23,n=P.componentColorTheme),t.$$.dirty[0]&40&&r(25,i=v||E),t.$$.dirty[0]&46137360&&n&&k&&setTimeout(()=>{r(10,H=D[n])},i||C?0:400),t.$$.dirty[0]&32&&r(15,a=E?"":"hidden"),t.$$.dirty[0]&16&&r(14,s=k?"transition-all duration-[300ms] ease-nav-easing":""),t.$$.dirty[0]&39845904&&r(24,o=i||C||y||!k?"":"delay-[400ms]"),t.$$.dirty[0]&16777216&&r(13,l=`absolute bottom-1/2 left-0 top-1/2 h-full w-full -translate-y-1/2 transition-all duration-[150ms] ease-nav-easing ${o}`),t.$$.dirty[0]&8388624&&r(12,u=n==="white"&&k?"opacity-opaque":"opacity-transparent"),t.$$.dirty[0]&8388624&&r(11,f=n!=="white"&&k?"opacity-opaque":"opacity-transparent")},[h,g,b,v,k,E,L,P,T,O,H,f,u,l,s,a,N,F,Y,le,p,y,C,n,o,i,c,d,_e,Ie]}class qp extends de{constructor(e){super(),he(this,e,Wp,Zp,fe,{id:0,theme:20,mainLogoAccessibilityText:1,displayedMobileSection:2,isSearchPanelVisible:3,hasScrolledDown:21,delayThemeFadeOnNavBar:22,animateNavBarItems:4,isExpanded:5,class:6},null,[-1,-1])}}function Qp(t){var l;let e,r=((l=t[0])==null?void 0:l.label)+"",n,i,a,s,o;return{c(){e=$("button"),n=Me(r),this.h()},l(u){e=Z(u,"BUTTON",{id:!0,"aria-controls":!0,"aria-expanded":!0,tabindex:!0,class:!0});var f=S(e);n=Fe(f,r),f.forEach(_),this.h()},h(){var u,f;m(e,"id",we.primaryLinkPrefixMobile+t[6]),m(e,"aria-controls",we.secondarySectionPrefixMobile+t[6]),m(e,"aria-expanded",i=((u=t[0])==null?void 0:u.label)===t[1]),m(e,"tabindex",t[2]),m(e,"class",a="heading-lg relative flex items-center transition "+t[5].focusOutlineColor+" focus-visible:outline-dashed focus-visible:outline-offset-2 "+t[5].focusOutlineColor+" "+t[5].focusTextColor+" items-center justify-between text-left "+(((f=t[0])==null?void 0:f.label)==="Democracy Forum"?"animate-text bg-dark-blue-animated-text bg-clip-text text-transparent":""))},m(u,f){j(u,e,f),w(e,n),t[8](e),s||(o=Ee(e,"click",t[9]),s=!0)},p(u,[f]){var d,c,h;f&1&&r!==(r=((d=u[0])==null?void 0:d.label)+"")&&Je(n,r),f&3&&i!==(i=((c=u[0])==null?void 0:c.label)===u[1])&&m(e,"aria-expanded",i),f&4&&m(e,"tabindex",u[2]),f&1&&a!==(a="heading-lg relative flex items-center transition "+u[5].focusOutlineColor+" focus-visible:outline-dashed focus-visible:outline-offset-2 "+u[5].focusOutlineColor+" "+u[5].focusTextColor+" items-center justify-between text-left "+(((h=u[0])==null?void 0:h.label)==="Democracy Forum"?"animate-text bg-dark-blue-animated-text bg-clip-text text-transparent":""))&&m(e,"class",a)},i:ce,o:ce,d(u){u&&_(e),t[8](null),s=!1,o()}}}function Gp(t,e,r){let{theme:n}=e,{link:i}=e,{displayedMobileSection:a=void 0}=e,{tabindex:s=0}=e;const o=mn();let l;const u=ft(n),f=i==null?void 0:i.label.replace(/[\s"']/g,"");function d(h){$e[h?"unshift":"push"](()=>{l=h,r(3,l)})}const c=async()=>{o("mobileLabelClicked",{displayedMobileSection:i==null?void 0:i.label}),await kh(),l==null||l.focus()};return t.$$set=h=>{"theme"in h&&r(7,n=h.theme),"link"in h&&r(0,i=h.link),"displayedMobileSection"in h&&r(1,a=h.displayedMobileSection),"tabindex"in h&&r(2,s=h.tabindex)},[i,a,s,l,o,u,f,n,d,c]}class Kp extends de{constructor(e){super(),he(this,e,Gp,Qp,fe,{theme:7,link:0,displayedMobileSection:1,tabindex:2})}}function xu(t,e,r){const n=t.slice();return n[3]=e[r],n}function Bu(t,e){let r,n,i,a;return n=new mr({props:{id:e[3].id,href:e[3].url,label:e[3].label,variant:"medium",hideInternalLinkArrow:!0,theme:e[2]}}),{key:t,first:null,c(){r=$("li"),Q(n.$$.fragment),i=J(),this.h()},l(s){r=Z(s,"LI",{});var o=S(r);X(n.$$.fragment,o),i=ee(o),o.forEach(_),this.h()},h(){this.first=r},m(s,o){j(s,r,o),G(n,r,null),w(r,i),a=!0},p(s,o){e=s;const l={};o&1&&(l.id=e[3].id),o&1&&(l.href=e[3].url),o&1&&(l.label=e[3].label),o&4&&(l.theme=e[2]),n.$set(l)},i(s){a||(R(n.$$.fragment,s),a=!0)},o(s){I(n.$$.fragment,s),a=!1},d(s){s&&_(r),K(n)}}}function zu(t){let e,r,n;return r=new mr({props:{id:t[1].id,href:t[1].url,label:t[1].label,variant:"medium",hideInternalLinkArrow:!0,theme:t[2]}}),{c(){e=$("div"),Q(r.$$.fragment),this.h()},l(i){e=Z(i,"DIV",{class:!0});var a=S(e);X(r.$$.fragment,a),a.forEach(_),this.h()},h(){m(e,"class","mt-10")},m(i,a){j(i,e,a),G(r,e,null),n=!0},p(i,a){const s={};a&2&&(s.id=i[1].id),a&2&&(s.href=i[1].url),a&2&&(s.label=i[1].label),a&4&&(s.theme=i[2]),r.$set(s)},i(i){n||(R(r.$$.fragment,i),n=!0)},o(i){I(r.$$.fragment,i),n=!1},d(i){i&&_(e),K(r)}}}function Xp(t){let e,r,n=[],i=new Map,a,s,o=ke(t[0]);const l=f=>f[3].label;for(let f=0;f<o.length;f+=1){let d=xu(t,o,f),c=l(d);i.set(c,n[f]=Bu(c,d))}let u=t[1]&&zu(t);return{c(){e=$("div"),r=$("ul");for(let f=0;f<n.length;f+=1)n[f].c();a=J(),u&&u.c(),this.h()},l(f){e=Z(f,"DIV",{});var d=S(e);r=Z(d,"UL",{class:!0});var c=S(r);for(let h=0;h<n.length;h+=1)n[h].l(c);
10c.forEach(_),a=ee(d),u&&u.l(d),d.forEach(_),this.h()},h(){m(r,"class","flex flex-col gap-4")},m(f,d){j(f,e,d),w(e,r);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(r,null);w(e,a),u&&u.m(e,null),s=!0},p(f,[d]){d&5&&(o=ke(f[0]),ae(),n=Kr(n,d,l,1,f,o,i,r,Xr,Bu,null,xu),se()),f[1]?u?(u.p(f,d),d&2&&R(u,1)):(u=zu(f),u.c(),R(u,1),u.m(e,null)):u&&(ae(),I(u,1,1,()=>{u=null}),se())},i(f){if(!s){for(let d=0;d<o.length;d+=1)R(n[d]);R(u),s=!0}},o(f){for(let d=0;d<n.length;d+=1)I(n[d]);I(u),s=!1},d(f){f&&_(e);for(let d=0;d<n.length;d+=1)n[d].d();u&&u.d()}}}function Yp(t,e,r){let{links:n=[]}=e,{trailingLink:i=null}=e,{theme:a="lightGrey"}=e;return t.$$set=s=>{"links"in s&&r(0,n=s.links),"trailingLink"in s&&r(1,i=s.trailingLink),"theme"in s&&r(2,a=s.theme)},[n,i,a]}class $u extends de{constructor(e){super(),he(this,e,Yp,Xp,fe,{links:0,trailingLink:1,theme:2})}}const Jp=t=>({}),Zu=t=>({});function Wu(t,e,r){var d,c;const n=t.slice();n[26]=e[r],n[35]=r;const i=n[35]===n[12];n[27]=i;const a=(c=(d=n[26])==null?void 0:d.link)==null?void 0:c.label.replace(/[\s"']/g,"");n[28]=a;const s=n[26].secondarySections.filter(h=>h.type==="section"&&h.mobileStyle==="accordion");n[29]=s;const o=n[26].secondarySections.filter(h=>h.type==="section"&&h.mobileStyle==="list");n[30]=o;const l=n[26].secondarySections.filter(h=>h.type==="section"&&!(h!=null&&h.mobileStyle));n[31]=l;const u=n[26].secondarySections.filter(h=>h.type==="card");n[32]=u;const f=n[26].secondarySections.filter(h=>h.type==="event");return n[33]=f,n}function qu(t,e,r){var a;const n=t.slice();n[36]=e[r];const i=(a=n[36].card)==null?void 0:a.linkUrl;return n[37]=i,n}function Qu(t,e,r){var a;const n=t.slice();n[40]=e[r];const i=(a=n[40].card)==null?void 0:a.linkUrl;return n[37]=i,n}function Gu(t,e,r){const n=t.slice();return n[43]=e[r],n[45]=r,n}function Ku(t){let e,r,n,i=[],a=new Map,s,o,l,u,f,d,c,h,p,g,b=ke(t[1]);const v=k=>k[26].link.label;for(let k=0;k<b.length;k+=1){let E=Wu(t,b,k),L=v(E);a.set(L,i[k]=ac(L,E))}const y=t[18].searchButtonMobile,C=Ze(y,t,t[17],Zu);return{c(){e=$("div"),r=$("div"),n=$("ul");for(let k=0;k<i.length;k+=1)i[k].c();l=J(),u=$("div"),C&&C.c(),this.h()},l(k){e=Z(k,"DIV",{class:!0});var E=S(e);r=Z(E,"DIV",{class:!0});var L=S(r);n=Z(L,"UL",{class:!0,style:!0});var T=S(n);for(let P=0;P<i.length;P+=1)i[P].l(T);T.forEach(_),l=ee(L),u=Z(L,"DIV",{class:!0,style:!0,"aria-hidden":!0});var O=S(u);C&&C.l(O),O.forEach(_),L.forEach(_),E.forEach(_),this.h()},h(){m(n,"class",s=cr(`${t[3]?" nav-content-list-secondary gap-y-[0px]":"nav-content-list-primary gap-y-4"} flex flex-col px-7.5`)+" svelte-1fzwjne"),m(n,"style",o=`transform: translateY(${t[9]}px);`),m(u,"class",f=cr(`${t[11](!1)} px-7.5 lg:px-15`)+" svelte-1fzwjne"),m(u,"style",d=`transform: translateY(${t[9]}px);`),m(u,"aria-hidden",c=t[12]!==-1),m(r,"class",cr(`relative top-[var(--nav-height)] flex !h-[calc(100dvh-var(--nav-height))] flex-col overflow-y-auto overscroll-y-contain pb-10 ${tg}`)+" svelte-1fzwjne"),Ye(()=>t[25].call(r)),m(e,"class",p="flex h-full min-h-dvh w-full overflow-hidden "+t[13].backgroundColor+" svelte-1fzwjne")},m(k,E){j(k,e,E),w(e,r),w(r,n);for(let L=0;L<i.length;L+=1)i[L]&&i[L].m(n,null);t[23](n),w(r,l),w(r,u),C&&C.m(u,null),t[24](u),h=Lh(r,t[25].bind(r)),g=!0},p(k,E){E[0]&7182&&(b=ke(k[1]),ae(),i=Kr(i,E,v,1,k,b,a,n,Xr,ac,null,Wu),se()),(!g||E[0]&8&&s!==(s=cr(`${k[3]?" nav
10-content-list-secondary gap-y-[0px]":"nav-content-list-primary gap-y-4"} flex flex-col px-7.5`)+" svelte-1fzwjne"))&&m(n,"class",s),(!g||E[0]&512&&o!==(o=`transform: translateY(${k[9]}px);`))&&m(n,"style",o),C&&C.p&&(!g||E[0]&131072)&&We(C,y,k,k[17],g?Qe(y,k[17],E,Jp):qe(k[17]),Zu),(!g||E[0]&2048&&f!==(f=cr(`${k[11](!1)} px-7.5 lg:px-15`)+" svelte-1fzwjne"))&&m(u,"class",f),(!g||E[0]&512&&d!==(d=`transform: translateY(${k[9]}px);`))&&m(u,"style",d),(!g||E[0]&4096&&c!==(c=k[12]!==-1))&&m(u,"aria-hidden",c),(!g||E[0]&8192&&p!==(p="flex h-full min-h-dvh w-full overflow-hidden "+k[13].backgroundColor+" svelte-1fzwjne"))&&m(e,"class",p)},i(k){if(!g){for(let E=0;E<b.length;E+=1)R(i[E]);R(C,k),g=!0}},o(k){for(let E=0;E<i.length;E+=1)I(i[E]);I(C,k),g=!1},d(k){k&&_(e);for(let E=0;E<i.length;E+=1)i[E].d();t[23](null),C&&C.d(k),t[24](null),h()}}}function Xu(t){let e,r,n=ke(t[30]),i=[];for(let s=0;s<n.length;s+=1)i[s]=Yu(Gu(t,n,s));const a=s=>I(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=ie()},l(s){for(let o=0;o<i.length;o+=1)i[o].l(s);e=ie()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);j(s,e,o),r=!0},p(s,o){if(o[0]&2){n=ke(s[30]);let l;for(l=0;l<n.length;l+=1){const u=Gu(s,n,l);i[l]?(i[l].p(u,o),R(i[l],1)):(i[l]=Yu(u),i[l].c(),R(i[l],1),i[l].m(e.parentNode,e))}for(ae(),l=n.length;l<i.length;l+=1)a(l);se()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)R(i[o]);r=!0}}
10,o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)I(i[o]);r=!1},d(s){s&&_(e),wr(i,s)}}}function Yu(t){let e,r,n,i;return r=new Ph({props:{size:"medium",title:t[43].label,links:t[43].links.map(sc)}}),{c(){e=$("div"),Q(r.$$.fragment),n=J(),this.h()},l(a){e=Z(a,"DIV",{class:!0});var s=S(e);X(r.$$.fragment,s),n=ee(s),s.forEach(_),this.h()},h(){m(e,"class","-mb-px "+(t[45]>0?"mt-3 lg:mt-0":""))},m(a,s){j(a,e,s),G(r,e,null),w(e,n),i=!0},p(a,s){const o={};s[0]&2&&(o.title=a[43].label),s[0]&2&&(o.links=a[43].links.map(sc)),r.$set(o)},i(a){i||(R(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&_(e),K(r)}}}function Ju(t){let e,r;function n(...i){return t[21](t[28],...i)}return e=new zf({props:{itemHeadingClass:"cta-md",items:t[29].map(n)}}),{c(){Q(e.$$.fragment)},l(i){X(e.$$.fragment,i)},m(i,a){G(e,i,a),r=!0},p(i,a){t=i;const s={};a[0]&2&&(s.items=t[29].map(n)),e.$set(s)},i(i){r||(R(e.$$.fragment,i),r=!0)},o(i){I(e.$$.fragment,i),r=!1},d(i){K(e,i)}}}function ec(t){let e,r;function n(...i){return t[22](t[28],...i)}return e=new zf({props:{itemHeadingClass:"cta-md",items:t[31].map(n)}}),{c(){Q(e.$$.fragment)},l(i){X(e.$$.fragment,i)},m(i,a){G(e,i,a),r=!0},p(i,a){t=i;const s={};a[0]&2&&(s.items=t[31].map(n)),e.$set(s)},i(i){r||(R(e.$$.fragment,i),r=!0)},o(i){I(e.$$.fragment,i),r=!1},d(i){K(e,i)}}}function tc(t){let e=[],r=new Map,n,i,a=ke(t[32]);const s=o=>o[40].card.title;for(let o=0;o<a.length;o+=1){let l=Qu(t,a,o),u=s(l);r.set(u,e[o]=rc(u,l))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();n=ie()},l(o){for(let l=0;l<e.length;l+=1)e[l].l(o);n=ie()},m(o,l){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(o,l);j(o,n,l),i=!0},p(o,l){l[0]&6&&(a=ke(o[32]),ae(),e=Kr(e,l,s,1,o,a,r,n.parentNode,Xr,rc,n,Qu),se())},i(o){if(!i){for(let l=0;l<a.length;l+=1)R(e[l]);i=!0}},o(o){for(let l=0;l<e.length;l+=1)I(e[l]);i=!1},d(o){o&&_(n);for(let l=0;l<e.length;l+=1)e[l].d(o)}}}function rc(t,e){var o;let r,n,i,a,s;return n=new gi({props:{type:"thin",theme:e[2],class:"mb-5 lg:mb-4"}}),a=new rd({props:{id:`${we.secondarySectionCardPrefix}${(o=e[37])==null?void 0:o.slice(1,e[37].length-1).replaceAll("/","-")}-${e[28]}`,theme:e[2],containerClass:"block",cardContent:e[40].card}}),{key:t,first:null,c(){r=ie(),Q(n.$$.fragment),i=J(),Q(a.$$.fragment),this.h()},l(l){r=ie(),X(n.$$.fragment,l),i=ee(l),X(a.$$.fragment,l),this.h()},h(){this.first=r},m(l,u){j(l,r,u),G(n,l,u),j(l,i,u),G(a,l,u),s=!0},p(l,u){var c;e=l;const f={};u[0]&4&&(f.theme=e[2]),n.$set(f);const d={};u[0]&2&&(d.id=`${we.secondarySectionCardPrefix}${(c=e[37])==null?void 0:c.slice(1,e[37].length-1).replaceAll("/","-")}-${e[28]}`),u[0]&4&&(d.theme=e[2]),u[0]&2&&(d.cardContent=e[40].card),a.$set(d)},i(l){s||(R(n.$$.fragment,l),R(a.$$.fragment,l),s=!0)},o(l){I(n.$$.fragment,l),I(a.$$.fragment,l),s=!1},d(l){l&&(_(r),_(i)),K(n,l),K(a,l)}}}function nc(t){let e=[],r=new Map,n,i,a=ke(t[33]);const s=o=>o[36].card.title;for(let o=0;o<a.length;o+=1){let l=qu(t,a,o),u=s(l);r.set(u,e[o]=ic(u,l))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();n=ie()},l(o){for(let l=0;l<e.length;l+=1)e[l].l(o);n=ie()},m(o,l){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(o,l);j(o,n,l),i=!0},p(o,l){l[0]&6&&(a=ke(o[33]),ae(),e=Kr(e,l,s,1,o,a,r,n.parentNode,Xr,ic,n,qu),se())},i(o){if(!i){for(let l=0;l<a.length;l+=1)R(e[l]);i=!0}},o(o){for(let l=0;l<e.length;l+=1)I(e[l]);i=!1},d(o){o&&_(n);for(let l=0;l<e.length;l+=1)e[l].d(o)}}}function ic(t,e){let r,n,i,a,s;return n=new gi({props:{type:"thin",theme:e[2],class:"mb-5 lg:mb-4"}}),a=new nd({props:{id:`${we.secondarySectionEventPrefix}${e[37].slice(1,e[37].length-1).replaceAll("/","-")}-${e[28]}`,theme:e[2],containerClass:"block",cardContent:e[36].card}}),{key:t,first:null,c(){r=ie(),Q(n.$$.fragment),i=J(),Q(a.$$.fragment),this.h()},l(o){r=ie(),X(n.$$.fragment,o),i=ee(o),X(a.$$.fragment,o),this.h()},h(){this.first=r},m(o,l){j(o,r,l),G(n,o,l),j(o,i,l),G(a,o,l),s=!0},p(o,l){e=o;const u={};l[0]&4&&(u.theme=e[2]),n.$set(u);const f={};l[0]&2&&(f.id=`${we.secondarySectionEventPrefix}${e[37].slice(1,e[37].length-1).replaceAll("/","-")}-${e[28]}`),l[0]&4&&(f.theme=e[2]),l[0]&2&&(f.cardContent=e[36].card),a.$set(f)},i(o){s||(R(n.$$.fragment,o),R(a.$$.fragment,o),s=!0)},o(o){I(n.$$.fragment,o),I(a.$$.fragment,o),s=!1},d(o){o&&(_(r),_(i)),K(n,o),K(a,o)}}}function ac(t,e){var O;let r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y;i=new Kp({props:{theme:e[2],link:(O=e[26])==null?void 0:O.link,displayedMobileSection:e[3],tabindex:!e[27]&&e[12]!==-1?-1:0}}),i.$on("mobileLabelClicked",e[20]);let C=e[30].length>0&&Xu(e),k=e[29].length>0&&Ju(e),E=e[31].length>0&&ec(e),L=e[32].length>0&&tc(e),T=e[33].length>0&&nc(e);return{key:t,first:null,c(){r=$("li"),n=$("div"),Q(i.$$.fragment),s=J(),o=$("div"),C&&C.c(),l=J(),k&&k.c(),u=J(),E&&E.c(),f=J(),L&&L.c(),d=J(),T&&T.c(),b=J(),this.h()}
10,l(P){r=Z(P,"LI",{class:!0});var H=S(r);n=Z(H,"DIV",{class:!0,"aria-hidden":!0});var M=S(n);X(i.$$.fragment,M),M.forEach(_),s=ee(H),o=Z(H,"DIV",{id:!0,"aria-labelledby":!0,class:!0,"aria-hidden":!0});var N=S(o);C&&C.l(N),l=ee(N),k&&k.l(N),u=ee(N),E&&E.l(N),f=ee(N),L&&L.l(N),d=ee(N),T&&T.l(N),N.forEach(_),b=ee(H),H.forEach(_),this.h()},h(){var P,H,M,N;m(n,"class","flex flex-col justify-between"),m(n,"aria-hidden",a=!e[27]&&e[12]!==-1),m(o,"id",c=we.secondarySectionPrefixMobile+((H=(P=e[26])==null?void 0:P.link)==null?void 0:H.label)),m(o,"aria-labelledby",h=we.primaryLinkPrefixMobile+((N=(M=e[26])==null?void 0:M.link)==null?void 0:N.label)),m(o,"class",p=cr(e[10](e[27]))+" svelte-1fzwjne"),m(o,"aria-hidden",g=!e[27]),m(r,"class",v=cr(e[11](e[27]))+" svelte-1fzwjne"),this.first=r},m(P,H){j(P,r,H),w(r,n),G(i,n,null),w(r,s),w(r,o),C&&C.m(o,null),w(o,l),k&&k.m(o,null),w(o,u),E&&E.m(o,null),w(o,f),L&&L.m(o,null),w(o,d),T&&T.m(o,null),w(r,b),y=!0},p(P,H){var N,F,D,W,Y;e=P;const M={};H[0]&4&&(M.theme=e[2]),H[0]&2&&(M.link=(N=e[26])==null?void 0:N.link),H[0]&8&&(M.displayedMobileSection=e[3]),H[0]&4098&&(M.tabindex=!e[27]&&e[12]!==-1?-1:0),i.$set(M),(!y||H[0]&4098&&a!==(a=!e[27]&&e[12]!==-1))&&m(n,"aria-hidden",a),e[30].length>0?C?(C.p(e,H),H[0]&2&&R(C,1)):(C=Xu(e),C.c(),R(C,1),C.m(o,l)):C&&(ae(),I(C,1,1,()=>{C=null}),se()),e[29].length>0?k?(k.p(e,H),H[0]&2&&R(k,1)):(k=Ju(e),k.c(),R(k,1),k.m(o,u)):k&&(ae(),I(k,1,1,()=>{k=null}),se()),e[31].length>0?E?(E.p(e,H),H[0]&2&&R(E,1)):(E=ec(e),E.c(),R(E,1),E.m(o,f)):E&&(ae(),I(E,1,1,()=>{E=null}),se()),e[32].length>0?L?(L.p(e,H),H[0]&2&&R(L,1)):(L=tc(e),L.c(),R(L,1),L.m(o,d)):L&&(ae(),I(L,1,1,()=>{L=null}),se()),e[33].length>0?T?(T.p(e,H),H[0]&2&&R(T,1)):(T=nc(e),T.c(),R(T,1),T.m(o,null)):T&&(ae(),I(T,1,1,()=>{T=null}),se()),(!y||H[0]&2&&c!==(c=we.secondarySectionPrefixMobile+((D=(F=e[26])==null?void 0:F.link)==null?void 0:D.label)))&&m(o,"id",c),(!y||H[0]&2&&h!==(h=we.primaryLinkPrefixMobile+((Y=(W=e[26])==null?void 0:W.link)==null?void 0:Y.label)))&&m(o,"aria-labelledby",h),(!y||H[0]&5122&&p!==(p=cr(e[10](e[27]))+" svelte-1fzwjne"))&&m(o,"class",p),(!y||H[0]&4098&&g!==(g=!e[27]))&&m(o,"aria-hidden",g),(!y||H[0]&6146&&v!==(v=cr(e[11](e[27]))+" svelte-1fzwjne"))&&m(r,"class",v)},i(P){y||(R(i.$$.fragment,P),R(C),R(k),R(E),R(L),R(T),y=!0)},o(P){I(i.$$.fragment,P),I(C),I(k),I(E),I(L),I(T),y=!1},d(P){P&&_(r),K(i),C&&C.d(),k&&k.d(),E&&E.d(),L&&L.d(),T&&T.d()}}}function eg(t){var s;let e,r,n,i;Ye(t[19]);let a=((s=t[1])==null?void 0:s.length)>0&&t[0]&&Ku(t);return{c(){a&&a.c(),e=ie()},l(o){a&&a.l(o),e=ie()},m(o,l){a&&a.m(o,l),j(o,e,l),r=!0,n||(i=Ee(window,"resize",t[19]),n=!0)},p(o,l){var u;((u=o[1])==null?void 0:u.length)>0&&o[0]?a?(a.p(o,l),l[0]&3&&R(a,1)):(a=Ku(o),a.c(),R(a,1),a.m(e.parentNode,e)):a&&(ae(),I(a,1,1,()=>{a=null}),se())},i(o){r||(R(a),r=!0)},o(o){I(a),r=!1},d(o){o&&_(e),a&&a.d(o),n=!1,i()}}}const tg="before:content-[''] before:block before:absolute before:inset-0 before:-z-1 before:h-[calc(100%+1px)] before:w-full",sc=t=>({...t,imageSrc:null});function rg(t,e,r){let n,i,a,s,o,l,u,f,d,{$$slots:c={},$$scope:h}=e,{isExpanded:p=!0}=e,{mainNavigation:g}=e,{theme:b}=e,{displayedMobileSection:v=void 0}=e,y,C,k,E;function L(){r(4,y=window.innerHeight),r(5,C=window.innerWidth)}function T(F){Ht.call(this,t,F)}const O=(F,D)=>({headline:D.label,subtitle:void 0,active:!1,body:$u,bodyProps:{links:D.links.map(W=>({...W,id:`${we.secondarySectionLinkPrefixMobile}${Ba(W==null?void 0:W.label)}-${F}`})),trailingLink:D.trailingLink}}),P=(F,D)=>({headline:D.label,subtitle:void 0,active:!1,body:$u,bodyProps:{links:D.links.map(W=>({...W,id:`${we.secondarySectionLinkPrefixMobile}${Ba(W==null?void 0:W.label)}-${F}`})),trailingLink:D.trailingLink}});function H(F){$e[F?"unshift":"push"](()=>{k=F,r(6,k)})}function M(F){$e[F?"unshift":"push"](()=>{E=F,r(7,E)})}function N(){o=this.offsetHeight,r(8,o)}return t.$$set=F=>{"isExpanded"in F&&r(0,p=F.isExpanded),"mainNavigation"in F&&r(1,g=F.mainNavigation),"theme"in F&&r(2,b=F.theme),"displayedMobileSection"in F&&r(3,v=F.displayedMobileSection),"$$scope"in F&&r(17,h=F.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&4&&r(13,n=ft(b)),t.$$.dirty[0]&10&&r(12,i=g.findIndex(F=>F.link.label===v)),t.$$.dirty[0]&8&&r(11,a=F=>{let D="";return v?F||(D+="nav-section-primary-opened max-h-0 opacity-transparent"):D+=" nav-section-primary-initial max-h-20 opacity-opaque transform-translate-y-0 ",D}),t.$$.dirty[0]&64&&r(16,l=(k==null?void 0:k.offsetHeight)??0),t.$$.dirty[0]&176&&r(14,u=y<C?0:(E==null?void 0:E.offsetHeight)??0),t.$$.dirty[0]&65792&&r(15,f=o-l>0?o-l:0),t.$$.dirty[0]&49160&&r(9,d=v?0:f-u)},r(10,s=F=>{let D="";return F?D+=" nav-section-secondary-visible pt-15 max-h-[calc(100dvh-var(--nav-height)-80px)] translate-y-0 opacity-opaque visible":D+=" nav-section-secondary-hidden pt-0 max-h-0 translate-y-20 opacity-transparent overflow-hidden invisible",D}),r(8,o=0),[p,g,b,v,y,C,k,E,o,d,s,a,i,n,u,f,l,h,c,L,T,O,P,H,M,N]}class ng extends de{constructor(e){super(),he(this,e,rg,eg,fe,{isExpanded:0,mainNavigation:1,theme:2,displayedMobileSection:3},null,[-1,-1])}}const{window:sd}=Xi,ig=t=>({}),oc=t=>({}),ag=t=>({}),lc=t=>({slot:"searchButtonMobile"}),sg=t=>({}),uc=t=>({});function og(t){let e;
10const r=t[17].utilityNavigation,n=Ze(r,t,t[22],uc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4194304)&&We(n,r,i,i[22],e?Qe(r,i[22],a,sg):qe(i[22]),uc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function cc(t){let e,r;return e=new oa({props:{isMobile:t[13],collapseDisplayedSectionOnSearch:t[10],theme:t[1],$$slots:{content:[ug]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8192&&(a.isMobile=n[13]),i&1024&&(a.collapseDisplayedSectionOnSearch=n[10]),i&2&&(a.theme=n[1]),i&4194823&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function lg(t){let e;const r=t[17].searchButtonMobile,n=Ze(r,t,t[22],lc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4194304)&&We(n,r,i,i[22],e?Qe(r,i[22],a,ag):qe(i[22]),lc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function ug(t){let e,r,n;function i(s){t[21](s)}let a={mainNavigation:t[2],displayedMobileSection:t[9],theme:t[1],$$slots:{searchButtonMobile:[lg]},$$scope:{ctx:t}};return t[0]!==void 0&&(a.isExpanded=t[0]),e=new ng({props:a}),$e.push(()=>pt(e,"isExpanded",i)),e.$on("mobileLabelClicked",t[14]),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){G(e,s,o),n=!0},p(s,o){const l={};o&4&&(l.mainNavigation=s[2]),o&512&&(l.displayedMobileSection=s[9]),o&2&&(l.theme=s[1]),o&4194304&&(l.$$scope={dirty:o,ctx:s}),!r&&o&1&&(r=!0,l.isExpanded=s[0],mt(()=>r=!1)),e.$set(l)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){I(e.$$.fragment,s),n=!1},d(s){K(e,s)}}}function fc(t){let e,r;return e=new oa({props:{isMobile:t[13],isSearchPanelVisible:t[5],collapseDisplayedSectionOnSearch:t[10],theme:t[1],$$slots:{content:[cg]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&8192&&(a.isMobile=n[13]),i&32&&(a.isSearchPanelVisible=n[5]),i&1024&&(a.collapseDisplayedSectionOnSearch=n[10]),i&2&&(a.theme=n[1]),i&4194304&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function cg(t){let e;const r=t[17].searchPanel,n=Ze(r,t,t[22],oc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&4194304)&&We(n,r,i,i[22],e?Qe(r,i[22],a,ig):qe(i[22]),oc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function fg(t){let e,r,n,i,a,s,o,l,u;function f(p){t[19](p)}let d={displayedMobileSection:t[9],mainLogoAccessibilityText:t[3],theme:t[1],hasScrolledDown:t[4],isSearchPanelVisible:t[5],delayThemeFadeOnNavBar:t[6],animateNavBarItems:t[7],$$slots:{utilityNavigation:[og]},$$scope:{ctx:t}};t[0]!==void 0&&(d.isExpanded=t[0]),r=new qp({props:d}),$e.push(()=>pt(r,"isExpanded",f)),r.$on("hamburgerClick",t[15]),r.$on("searchClose",t[20]),r.$on("goBack",t[16]);let c=t[0]&&cc(t),h=t[5]&&fc(t);return{c(){e=$("div"),Q(r.$$.fragment),i=J(),c&&c.c(),a=J(),h&&h.c(),this.h()},l(p){e=Z(p,"DIV",{class:!0});var g=S(e);X(r.$$.fragment,g),i=ee(g),c&&c.l(g),a=ee(g),h&&h.l(g),g.forEach(_),this.h()},h(){m(e,"class","flex flex-col")},m(p,g){j(p,e,g),G(r,e,null),w(e,i),c&&c.m(e,null),w(e,a),h&&h.m(e,null),o=!0,l||(u=fs(s=vs.call(null,e,{shouldTrapFocus:t[0]||t[5],triggerElementQuery:""})),l=!0)},p(p,g){const b={};g&512&&(b.displayedMobileSection=p[9]),g&8&&(b.mainLogoAccessibilityText=p[3]),g&2&&(b.theme=p[1]),g&16&&(b.hasScrolledDown=p[4]),g&32&&(b.isSearchPanelVisible=p[5]),g&64&&(b.delayThemeFadeOnNavBar=p[6]),g&128&&(b.animateNavBarItems=p[7]),g&4194304&&(b.$$scope={dirty:g,ctx:p}),!n&&g&1&&(n=!0,b.isExpanded=p[0],mt(()=>n=!1)),r.$set(b),p[0]?c?(c.p(p,g),g&1&&R(c,1)):(c=cc(p),c.c(),R(c,1),c.m(e,a)):c&&(ae(),I(c,1,1,()=>{c=null}),se()),p[5]?h?(h.p(p,g),g&32&&R(h,1)):(h=fc(p),h.c(),R(h,1),h.m(e,null)):h&&(ae(),I(h,1,1,()=>{h=null}),se()),s&&Ki(s.update)&&g&33&&s.update.call(null,{shouldTrapFocus:p[0]||p[5],triggerElementQuery:""})},i(p){o||(R(r.$$.fragment,p),R(c),R(h),o=!0)},o(p){I(r.$$.fragment,p),I(c),I(h),o=!1},d(p){p&&_(e),K(r),c&&c.d(),h&&h.d(),l=!1,u()}}}function dg(t){let e,r,n,i,a,s,o,l;return Ye(t[18]),r=new mi({props:{containerClass:"relative h-full w-full",$$slots:{default:[fg]},$$scope:{ctx:t}}}),{c(){e=$("nav"),Q(r.$$.fragment),this.h()}
10,l(u){e=Z(u,"NAV",{"data-testid":!0,class:!0,role:!0,"aria-modal":!0});var f=S(e);X(r.$$.fragment,f),f.forEach(_),this.h()},h(){var u;m(e,"data-testid","nav-mobile"),m(e,"class",n="cta-md sticky left-0 top-0 z-global-nav flex w-full items-center transition-all duration-[300ms] ease-nav-easing "+t[11]+" lg:hidden "+(t[4]||t[0]?(u=t[12])==null?void 0:u.backgroundColor:"bg-transparent")),m(e,"role",i=t[0]?"dialog":void 0),m(e,"aria-modal",a=t[0]?"true":void 0),Ft(e,"shadow-xl",t[4])},m(u,f){j(u,e,f),G(r,e,null),s=!0,o||(l=Ee(sd,"resize",t[18]),o=!0)},p(u,[f]){var c;const d={};f&4204287&&(d.$$scope={dirty:f,ctx:u}),r.$set(d),(!s||f&6161&&n!==(n="cta-md sticky left-0 top-0 z-global-nav flex w-full items-center transition-all duration-[300ms] ease-nav-easing "+u[11]+" lg:hidden "+(u[4]||u[0]?(c=u[12])==null?void 0:c.backgroundColor:"bg-transparent")))&&m(e,"class",n),(!s||f&1&&i!==(i=u[0]?"dialog":void 0))&&m(e,"role",i),(!s||f&1&&a!==(a=u[0]?"true":void 0))&&m(e,"aria-modal",a),(!s||f&6161)&&Ft(e,"shadow-xl",u[4])},i(u){s||(R(r.$$.fragment,u),s=!0)},o(u){I(r.$$.fragment,u),s=!1},d(u){u&&_(e),K(r),o=!1,l()}}}function hg(t,e,r){let n,i,a,{$$slots:s={},$$scope:o}=e,{theme:l="white"}=e,{mainNavigation:u}=e,{mainLogoAccessibilityText:f="The Obama Foundation – Home"}=e,{isExpanded:d}=e,{hasScrolledDown:c=!1}=e,{isSearchPanelVisible:h}=e,{delayThemeFadeOnNavBar:p=!1}=e,{animateNavBarItems:g=!1}=e,b,v,y=!1;const C=H=>{r(9,b=H.detail.displayedMobileSection);const M=u.find(N=>N.link.label===H.detail.displayedMobileSection);M.secondarySections.length===0&&M.link.url&&(r(9,b=void 0),window.location.href=M.link.url)},k=()=>{r(9,b=void 0),r(0,d=!d)},E=()=>{r(9,b=void 0)};function L(){r(8,v=sd.innerWidth)}function T(H){d=H,r(0,d),r(5,h)}function O(H){Ht.call(this,t,H)}function P(H){d=H,r(0,d),r(5,h)}return t.$$set=H=>{"theme"in H&&r(1,l=H.theme),"mainNavigation"in H&&r(2,u=H.mainNavigation),"mainLogoAccessibilityText"in H&&r(3,f=H.mainLogoAccessibilityText),"isExpanded"in H&&r(0,d=H.isExpanded),"hasScrolledDown"in H&&r(4,c=H.hasScrolledDown),"isSearchPanelVisible"in H&&r(5,h=H.isSearchPanelVisible),"delayThemeFadeOnNavBar"in H&&r(6,p=H.delayThemeFadeOnNavBar),"animateNavBarItems"in H&&r(7,g=H.animateNavBarItems),"$$scope"in H&&r(22,o=H.$$scope)},t.$$.update=()=>{t.$$.dirty&256&&r(13,n=ji(v)),t.$$.dirty&2&&r(12,i=ft(l)),t.$$.dirty&33&&(h&&d&&(r(10,y=!0),r(0,d=!1)),h||r(10,y=!1)),t.$$.dirty&33&&r(11,a=d||h?"delay-[2000ms]":"")},[d,l,u,f,c,h,p,g,v,b,y,a,i,n,C,k,E,s,L,T,O,P,o]}class mg extends de{constructor(e){super(),he(this,e,hg,dg,fe,{theme:1,mainNavigation:2,mainLogoAccessibilityText:3,isExpanded:0,hasScrolledDown:4,isSearchPanelVisible:5,delayThemeFadeOnNavBar:6,animateNavBarItems:7})}}const pg=t=>({}),dc=t=>({}),gg=t=>({}),hc=t=>({slot:"searchButtonMobile"}),vg=t=>({}),mc=t=>({slot:"searchPanel"}),_g=t=>({}),pc=t=>({}),bg=t=>({}),gc=t=>({slot:"searchPanel"});function yg(t){let e;const r=t[15].utilityNavigation,n=Ze(r,t,t[24],pc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&16777216)&&We(n,r,i,i[24],e?Qe(r,i[24],a,_g):qe(i[24]),pc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Cg(t){let e;const r=t[15].searchPanel,n=Ze(r,t,t[24],gc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&16777216)&&We(n,r,i,i[24],e?Qe(r,i[24],a,bg):qe(i[24]),gc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function wg(t){let e;const r=t[15].utilityNavigationMobile,n=Ze(r,t,t[24],dc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&16777216)&&We(n,r,i,i[24],e?Qe(r,i[24],a,pg):qe(i[24]),dc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Sg(t){let e;const r=t[15].searchButtonMobile,n=Ze(r,t,t[24],hc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&16777216)&&We(n,r,i,i[24],e?Qe(r,i[24],a,gg):qe(i[24]),hc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Eg(t){let e;const r=t[15].searchPanel,n=Ze(r,t,t[24],mc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&16777216)&&We(n,r,i,i[24],e?Qe(r,i[24],a,vg):qe(i[24]),mc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Tg(t){let e,r,n,i,a,s,o,l,u,f,d;Ye(t[17]);function c(y){t[18](y)}function h(y){t[19](y)}let p={currentRoute:t[4],mainNavigation:t[5],hasScrolledDown:t[6],mainLogoAccessibilityText:t[3],isSearchPanelVisible:t[7],delayThemeFadeOnNavBar:t[8],animateNavBarItems:t[9],$$slots:{searchPanel:[Cg],utilityNavigation:[yg]},$$scope:{ctx:t}};t[1]!==void 0&&(p.theme=t[1]),t[0]!==void 0&&(p.isExpanded=t[0]),r=new xp({props:p}),$e.push(()=>pt(r,"theme",c)),$e.push(()=>pt(r,"isExpanded",h)),r.$on("searchClose",t[20]);function g(y){t[21](y)}function b(y){t[22](y)}let v={mainNavigation:t[5],mainLogoAccessibilityText:t[3],isSearchPanelVisible:t[7],hasScrolledDown:t[6],delayThemeFadeOnNavBar:t[8],animateNavBarItems:t[9],$$slots:{searchPanel:[Eg],searchButtonMobile:[Sg],utilityNavigation:[wg]},$$scope:{ctx:t}};return t[0]!==void 0&&(v.isExpanded=t[0]),t[1]!==void 0&&(v.theme=t[1]),s=new mg({props:v}),$e.push(()=>pt(s,"isExpanded",g)),$e.push(()=>pt(s,"theme",b)),s.$on("searchClose",t[23]),{c(){e=$("div"),Q(r.$$.fragment),a=J(),Q(s.$$.fragment),this.h()},l(y){e=Z(y,"DIV",{id:!0,class:!0});var C=S(e);
10X(r.$$.fragment,C),a=ee(C),X(s.$$.fragment,C),C.forEach(_),this.h()},h(){m(e,"id",t[2]),m(e,"class","contents")},m(y,C){j(y,e,C),G(r,e,null),w(e,a),G(s,e,null),u=!0,f||(d=[Ee(window,"click",t[11]),Ee(window,"keydown",t[12]),Ee(window,"resize",t[17]),Ee(e,"focusin",t[13]),Ee(e,"focusout",t[14]),Ee(e,"click",Oh(t[16]))],f=!0)},p(y,[C]){const k={};C&16&&(k.currentRoute=y[4]),C&32&&(k.mainNavigation=y[5]),C&64&&(k.hasScrolledDown=y[6]),C&8&&(k.mainLogoAccessibilityText=y[3]),C&128&&(k.isSearchPanelVisible=y[7]),C&256&&(k.delayThemeFadeOnNavBar=y[8]),C&512&&(k.animateNavBarItems=y[9]),C&16777216&&(k.$$scope={dirty:C,ctx:y}),!n&&C&2&&(n=!0,k.theme=y[1],mt(()=>n=!1)),!i&&C&1&&(i=!0,k.isExpanded=y[0],mt(()=>i=!1)),r.$set(k);const E={};C&32&&(E.mainNavigation=y[5]),C&8&&(E.mainLogoAccessibilityText=y[3]),C&128&&(E.isSearchPanelVisible=y[7]),C&64&&(E.hasScrolledDown=y[6]),C&256&&(E.delayThemeFadeOnNavBar=y[8]),C&512&&(E.animateNavBarItems=y[9]),C&16777216&&(E.$$scope={dirty:C,ctx:y}),!o&&C&1&&(o=!0,E.isExpanded=y[0],mt(()=>o=!1)),!l&&C&2&&(l=!0,E.theme=y[1],mt(()=>l=!1)),s.$set(E),(!u||C&4)&&m(e,"id",y[2])},i(y){u||(R(r.$$.fragment,y),R(s.$$.fragment,y),u=!0)},o(y){I(r.$$.fragment,y),I(s.$$.fragment,y),u=!1},d(y){y&&_(e),K(r),K(s),f=!1,hn(d)}}}function kg(t,e,r){let{$$slots:n={},$$scope:i}=e,{id:a=void 0}=e,{mainLogoAccessibilityText:s="The Obama Foundation – Home"}=e,{currentRoute:o=""}=e,{mainNavigation:l}=e,{isExpanded:u=!1}=e,{hasScrolledDown:f=!1}=e,{isSearchPanelVisible:d=!1}=e,{delayThemeFadeOnNavBar:c=!1}=e,{animateNavBarItems:h=!1}=e,{theme:p="white"}=e,g,b;const v=mn(),y=()=>{v("searchClose")},C=D=>{D.key==="Escape"&&v("searchClose")},k=()=>{b=ji(g)},E=D=>{if(ji(g)!==b){const W=D.target,Y=W.dataset.transitionFocus;if(!Y)return;document.querySelectorAll(`[data-transition-focus="${Y}"]`).forEach(_e=>{W!==_e&&_e.focus()})}};function L(D){Ht.call(this,t,D)}function T(){r(10,g=window.innerWidth)}function O(D){p=D,r(1,p)}function P(D){u=D,r(0,u)}function H(D){Ht.call(this,t,D)}function M(D){u=D,r(0,u)}function N(D){p=D,r(1,p)}function F(D){Ht.call(this,t,D)}return t.$$set=D=>{"id"in D&&r(2,a=D.id),"mainLogoAccessibilityText"in D&&r(3,s=D.mainLogoAccessibilityText),"currentRoute"in D&&r(4,o=D.currentRoute),"mainNavigation"in D&&r(5,l=D.mainNavigation),"isExpanded"in D&&r(0,u=D.isExpanded),"hasScrolledDown"in D&&r(6,f=D.hasScrolledDown),"isSearchPanelVisible"in D&&r(7,d=D.isSearchPanelVisible),"delayThemeFadeOnNavBar"in D&&r(8,c=D.delayThemeFadeOnNavBar),"animateNavBarItems"in D&&r(9,h=D.animateNavBarItems),"theme"in D&&r(1,p=D.theme),"$$scope"in D&&r(24,i=D.$$scope)},[u,p,a,s,o,l,f,d,c,h,g,y,C,k,E,n,L,T,O,P,H,M,N,F,i]}class Lg extends de{constructor(e){super(),he(this,e,kg,Tg,fe,{id:2,mainLogoAccessibilityText:3,currentRoute:4,mainNavigation:5,isExpanded:0,hasScrolledDown:6,isSearchPanelVisible:7,delayThemeFadeOnNavBar:8,animateNavBarItems:9,theme:1})}}const{document:Og}=Xi;function vc(t){let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g,b,v,y,C,k,E,L,T,O,P=t[6]&&_c(t);return g=new fr({props:{id:"close_link",variant:"outline",buttonClass:"mr-6 border-none bg-none ",theme:t[2],$$slots:{default:[Rg]},$$scope:{ctx:t}}}),g.$on("click",t[9]),v=new fr({props:{id:"pop-up_cta",variant:"filled",url:t[5].url,theme:t[2],$$slots:{default:[Pg]},$$scope:{ctx:t}}}),v.$on("click",t[9]),C=new fr({props:{id:"close_icon",iconName:"close",ariaLabel:"Close",buttonClass:"!absolute right-5 top-5 h-10 w-10 flex items-center justify-center border-transparent rounded-full bg-white-60 text-black"}}),C.$on("click",t[9]),{c(){e=$("div"),n=J(),i=$("div"),P&&P.c(),a=J(),s=$("h1"),o=Me(t[3]),f=J(),d=$("p"),c=Me(t[4]),h=J(),p=$("div"),Q(g.$$.fragment),b=J(),Q(v.$$.fragment),y=J(),Q(C.$$.fragment),this.h()},l(H){e=Z(H,"DIV",{id:!0,class:!0,"aria-hidden":!0}),S(e).forEach(_),n=ee(H),i=Z(H,"DIV",{class:!0,role:!0,"aria-labelledby":!0,id:!0});var M=S(i);P&&P.l(M),a=ee(M),s=Z(M,"H1",{id:!0,class:!0});var N=S(s);o=Fe(N,t[3]),N.forEach(_),f=ee(M),d=Z(M,"P",{class:!0});var F=S(d);c=Fe(F,t[4]),F.forEach(_),h=ee(M),p=Z(M,"DIV",{class:!0});var D=S(p);X(g.$$.fragment,D),b=ee(D),X(v.$$.fragment,D),D.forEach(_),y=ee(M),X(C.$$.fragment,M),M.forEach(_),this.h()},h(){m(e,"id","overlay"),m(e,"class","fixed left-0 top-0 z-popup h-full w-full bg-black-60"),m(e,"aria-hidden","true"),m(s,"id",l=t[1]+"-headline"),m(s,"class",u="heading-md "+(t[6]?"":"mr-10 xl:mr-20")+" mb-4 lg:text-h4-medium xl:text-h4-xlarge"),m(d,"class","body-sm mb-6"),m(p,"class","flex flex-row justify-end"),m(i,"class",k="fixed left-1/2 top-1/2 z-popup max-h-screen w-[300px] translate-x-[-50%] translate-y-[-50%] overflow-y-auto md:w-[624px] xl:w-[800px] "+t[8]+" "+(t[6]?"p-3":"p-6")),m(i,"role","dialog"),m(i,"aria-labelledby",t[1]),m(i,"id",t[1])},m(H,M){j(H,e,M),j(H,n,M),j(H,i,M),P&&P.m(i,null),w(i,a),w(i,s),w(s,o),w(i,f),w(i,d),w(d,c),w(i,h),w(i,p),G(g,p,null),w(p,b),G(v,p,null),w(i,y),G(C,i,null),t[11](i),L=!0,T||(O=Ee(e,"click",t[9]),T=!0)},p(H,M){H[6]?P?(P.p(H,M),M&64&&R(P,1)):(P=_c(H),P.c(),R(P,1),P.m(i,a)):P&&(ae(),I(P,1,1,()=>{P=null}),se()),(!L||M&8)&&Je(o,H[3]),(!L||M&2&&l!==(l=H[1]+"-headline"))&&m(s,"id",l),(!L||M&64&&u!==(u="heading-md "+(H[6]?"":"mr-10 xl:mr-20")+" mb-4 lg:text-h4-medium xl:text-h4-xlarge"))&&m(s,"class",u),(!L||M&16)&&Je(c,H[4]);const N={};M&4&&(N.theme=H[2]),M&16384&&(N.$$scope={dirty:M,ctx:H}),g.$set(N);const F={};M&32&&(F.url=H[5].url),M&4&&(F.theme=H[2]),M&16416&&(F.$$scope={dirty:M,ctx:H}),v.$set(F),(!L||M&64&&k!==(k="fixed left-1/2 top-1/2 z-popup max-h-screen w-[300px] translate-x-[-50%] translate-y-[-50%] overflow-y-auto md:w-[624px] xl:w-[800px] "+H[8]+" "+(H[6]?"p-3":"p-6")))&&m(i,"class",k),(!L||M&2)&&m(i,"aria-labelledby",H[1]),(!L||M&2)&&m(i,"id",H[1])},i(H){L||(H&&Ye(()=>{L&&(r||(r=tr(e,gt,{duration:100},!0)),r.run(1))}),R(P),R(g.$$.fragment,H),R(v.$$.fragment,H),R(C.$$.fragment,H),H&&Ye(()=>{L&&(E||(E=tr(i,gt,{duration:100},!0)),E.run(1))}),L=!0)},o(H){H&&(r||(r=tr(e,gt,{duration:100},!1)),r.run(0)),I(P),I(g.$$.fragment,H),I(v.$$.fragment,H),I(C.$$.fragment,H),H&&(E||(E=tr(i,gt,{duration:100},!1)),E.run(0)),L=!1},d(H){H&&(_(e),_(n),_(i)),H&&r&&r.end(),P&&P.d(),K(g),K(v),K(C),t[11](null),H&&E&&E.end(),T=!1,O()}}}function _c(t){let e,r;return e=new ta({props:{src:t[6].src,alt:t[6].alt,containerClass:"mb-6",aspectRatioClasses:"aspect-3/2"}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};
10i&64&&(a.src=n[6].src),i&64&&(a.alt=n[6].alt),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Rg(t){let e;return{c(){e=Me("Close")},l(r){e=Fe(r,"Close")},m(r,n){j(r,e,n)},d(r){r&&_(e)}}}function Pg(t){let e=t[5].text+"",r;return{c(){r=Me(e)},l(n){r=Fe(n,e)},m(n,i){j(n,r,i)},p(n,i){i&32&&e!==(e=n[5].text+"")&&Je(r,e)},d(n){n&&_(r)}}}function Ig(t){let e,r,n,i,a,s=!t[0]&&vc(t);return{c(){e=J(),s&&s.c(),r=ie()},l(o){e=ee(o),s&&s.l(o),r=ie()},m(o,l){j(o,e,l),s&&s.m(o,l),j(o,r,l),n=!0,i||(a=Ee(Og,"keydown",t[10]),i=!0)},p(o,[l]){o[0]?s&&(ae(),I(s,1,1,()=>{s=null}),se()):s?(s.p(o,l),l&1&&R(s,1)):(s=vc(o),s.c(),R(s,1),s.m(r.parentNode,r))},i(o){n||(R(s),n=!0)},o(o){I(s),n=!1},d(o){o&&(_(e),_(r)),s&&s.d(o),i=!1,a()}}}function Hg(t,e,r){let{id:n="popup"}=e,{theme:i}=e,{headline:a}=e,{subtext:s}=e,{cta:o}=e,{image:l}=e,{hidden:u=!0}=e;const f=mn(),d=ft(i);let c=`${d.backgroundColor} ${d.textColor}`,h;const p=v=>{f("dismissal",{method:v.srcElement.id||"close_icon"}),r(0,u=!0)},g=v=>{v.keyCode===27&&(r(0,u=!0),f("dismissal",{method:"escape-key"}))};dn(()=>{var v;(v=document.getElementById("popup-cta"))==null||v.focus()});function b(v){$e[v?"unshift":"push"](()=>{h=v,r(7,h)})}return t.$$set=v=>{"id"in v&&r(1,n=v.id),"theme"in v&&r(2,i=v.theme),"headline"in v&&r(3,a=v.headline),"subtext"in v&&r(4,s=v.subtext),"cta"in v&&r(5,o=v.cta),"image"in v&&r(6,l=v.image),"hidden"in v&&r(0,u=v.hidden)},t.$$.update=()=>{t.$$.dirty&129&&(u?Q2(h,{useGlobalLockState:!0}):(W2({useGlobalLockState:!0}),q2(h,{useGlobalLockState:!0})))},[u,n,i,a,s,o,l,h,c,p,g,b]}class Ag extends de{constructor(e){super(),he(this,e,Hg,Ig,fe,{id:1,theme:2,headline:3,subtext:4,cta:5,image:6,hidden:0})}}const Vg=t=>({}),bc=t=>({slot:"button"});function yc(t){let e,r,n,i,a,s;return n=new t3({props:{componentClass:"mt-10 lg:mt-15",theme:t[11],layoutVariant:"small",links:t[9],title:t[10],$$slots:{button:[Ng]},$$scope:{ctx:t}}}),{c(){e=$("div"),r=$("div"),Q(n.$$.fragment),this.h()},l(o){e=Z(o,"DIV",{class:!0});var l=S(e);r=Z(l,"DIV",{});var u=S(r);X(n.$$.fragment,u),u.forEach(_),l.forEach(_),this.h()},h(){m(e,"class","h-full w-full")},m(o,l){j(o,e,l),w(e,r),G(n,r,null),s=!0},p(o,l){const u={};
10l&2048&&(u.theme=o[11]),l&512&&(u.links=o[9]),l&1024&&(u.title=o[10]),l&1048576&&(u.$$scope={dirty:l,ctx:o}),n.$set(u)},i(o){s||(R(n.$$.fragment,o),o&&Ye(()=>{s&&(i||(i=tr(r,gt,{duration:600,delay:300,easing:it},!0)),i.run(1))}),o&&Ye(()=>{s&&(a||(a=tr(e,Ni,{duration:300,delay:300,easing:it},!0)),a.run(1))}),s=!0)},o(o){I(n.$$.fragment,o),o&&(i||(i=tr(r,gt,{duration:600,delay:300,easing:it},!1)),i.run(0)),o&&(a||(a=tr(e,Ni,{duration:300,delay:300,easing:it},!1)),a.run(0)),s=!1},d(o){o&&_(e),K(n),o&&i&&i.end(),o&&a&&a.end()}}}function Ng(t){let e;const r=t[14].button,n=Ze(r,t,t[20],bc);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,a){n&&n.p&&(!e||a&1048576)&&We(n,r,i,i[20],e?Qe(r,i[20],a,Vg):qe(i[20]),bc)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function Mg(t){var s;let e,r,n,i;e=new Ih({props:{focusOnMount:t[5],searchId:t[1],autocomplete:t[2],isLoading:t[3],errorMessage:t[6],selectedValue:t[4],searchQuerySuggestionsProps:t[7],loadingAccessibilityLabel:t[8]}}),e.$on("submit",t[15]),e.$on("clear",t[16]),e.$on("change",t[17]),e.$on("input",t[18]),e.$on("querySuggestionItemSelect",t[19]);let a=((s=t[9])==null?void 0:s.length)>0&&!t[6]&&yc(t);return{c(){Q(e.$$.fragment),r=J(),a&&a.c(),n=ie()},l(o){X(e.$$.fragment,o),r=ee(o),a&&a.l(o),n=ie()},m(o,l){G(e,o,l),j(o,r,l),a&&a.m(o,l),j(o,n,l),i=!0},p(o,l){var f;const u={};l&32&&(u.focusOnMount=o[5]),l&2&&(u.searchId=o[1]),l&4&&(u.autocomplete=o[2]),l&8&&(u.isLoading=o[3]),l&64&&(u.errorMessage=o[6]),l&16&&(u.selectedValue=o[4]),l&128&&(u.searchQuerySuggestionsProps=o[7]),l&256&&(u.loadingAccessibilityLabel=o[8]),e.$set(u),((f=o[9])==null?void 0:f.length)>0&&!o[6]?a?(a.p(o,l),l&576&&R(a,1)):(a=yc(o),a.c(),R(a,1),a.m(n.parentNode,n)):a&&(ae(),I(a,1,1,()=>{a=null}),se())},i(o){i||(R(e.$$.fragment,o),R(a),i=!0)},o(o){I(e.$$.fragment,o),I(a),i=!1},d(o){o&&(_(r),_(n)),K(e,o),a&&a.d(o)}}}function Fg(t){let e,r,n,i;return r=new mi({props:{$$slots:{default:[Mg]},$$scope:{ctx:t}}}),{c(){e=$("div"),Q(r.$$.fragment),this.h()},l(a){e=Z(a,"DIV",{id:!0,class:!0});var s=S(e);X(r.$$.fragment,s),s.forEach(_),this.h()},h(){m(e,"id",t[0]),m(e,"class",n=t[13].backgroundColor+" max-h-[calc(100dvh_-_var(--nav-height))] overflow-y-auto pb-7.5 pt-7.5 lg:min-h-[250px] lg:pb-15 xl:min-h-[270px] "+t[12])},m(a,s){j(a,e,s),G(r,e,null),i=!0},p(a,[s]){const o={};s&1052670&&(o.$$scope={dirty:s,ctx:a}),r.$set(o),(!i||s&1)&&m(e,"id",a[0]),(!i||s&4096&&n!==(n=a[13].backgroundColor+" max-h-[calc(100dvh_-_var(--nav-height))] overflow-y-auto pb-7.5 pt-7.5 lg:min-h-[250px] lg:pb-15 xl:min-h-[270px] "+a[12]))&&m(e,"class",n)},i(a){i||(R(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&_(e),K(r)}}}function Dg(t,e,r){let{$$slots:n={},$$scope:i}=e,{id:a=void 0}=e,{searchId:s=null}=e,{autocomplete:o=null}=e,{isLoading:l=!1}=e,{selectedValue:u=null}=e,{focusOnMount:f=!1}=e,{errorMessage:d=null}=e,{searchQuerySuggestionsProps:c=null}=e,{loadingAccessibilityLabel:h=null}=e,{results:p=[]}=e,{resultsTitle:g=""}=e,{theme:b="white"}=e,v=ft(b),{class:y=""}=e;function C(O){Ht.call(this,t,O)}function k(O){Ht.call(this,t,O)}function E(O){Ht.call(this,t,O)}function L(O){Ht.call(this,t,O)}function T(O){Ht.call(this,t,O)}return t.$$set=O=>{"id"in O&&r(0,a=O.id),"searchId"in O&&r(1,s=O.searchId),"autocomplete"in O&&r(2,o=O.autocomplete),"isLoading"in O&&r(3,l=O.isLoading),"selectedValue"in O&&r(4,u=O.selectedValue),"focusOnMount"in O&&r(5,f=O.focusOnMount),"errorMessage"in O&&r(6,d=O.errorMessage),"searchQuerySuggestionsProps"in O&&r(7,c=O.searchQuerySuggestionsProps),"loadingAccessibilityLabel"in O&&r(8,h=O.loadingAccessibilityLabel),"results"in O&&r(9,p=O.results),"resultsTitle"in O&&r(10,g=O.resultsTitle),"theme"in O&&r(11,b=O.theme),"class"in O&&r(12,y=O.class),"$$scope"in O&&r(20,i=O.$$scope)},[a,s,o,l,u,f,d,c,h,p,g,b,y,v,n,C,k,E,L,T,i]}class jg extends de{constructor(e){super(),he(this,e,Dg,Fg,fe,{id:0,searchId:1,autocomplete:2,isLoading:3,selectedValue:4,focusOnMount:5,errorMessage:6,searchQuerySuggestionsProps:7,loadingAccessibilityLabel:8,results:9,resultsTitle:10,theme:11,class:12})}}const an=t=>{var e,r;return(r=(e=t==null?void 0:t.sys)==null?void 0:e.contentType)==null?void 0:r.sys.id};var Ug="Expected a function",Cc=0/0,xg="[object Symbol]",Bg=/^\s+|\s+$/g,zg
10=/^[-+]0x[0-9a-f]+$/i,$g=/^0b[01]+$/i,Zg=/^0o[0-7]+$/i,Wg=parseInt,qg=typeof Hn=="object"&&Hn&&Hn.Object===Object&&Hn,Qg=typeof self=="object"&&self&&self.Object===Object&&self,Gg=qg||Qg||Function("return this")(),Kg=Object.prototype,Xg=Kg.toString,Yg=Math.max,Jg=Math.min,Ea=function(){return Gg.Date.now()};function e8(t,e,r){var n,i,a,s,o,l,u=0,f=!1,d=!1,c=!0;if(typeof t!="function")throw new TypeError(Ug);e=wc(e)||0,qa(r)&&(f=!!r.leading,d="maxWait"in r,a=d?Yg(wc(r.maxWait)||0,e):a,c="trailing"in r?!!r.trailing:c);function h(L){var T=n,O=i;return n=i=void 0,u=L,s=t.apply(O,T),s}function p(L){return u=L,o=setTimeout(v,e),f?h(L):s}function g(L){var T=L-l,O=L-u,P=e-T;return d?Jg(P,a-O):P}function b(L){var T=L-l,O=L-u;return l===void 0||T>=e||T<0||d&&O>=a}function v(){var L=Ea();if(b(L))return y(L);o=setTimeout(v,g(L))}function y(L){return o=void 0,c&&n?h(L):(n=i=void 0,s)}function C(){o!==void 0&&clearTimeout(o),u=0,n=l=i=o=void 0}function k(){return o===void 0?s:y(Ea())}function E(){var L=Ea(),T=b(L);if(n=arguments,i=this,l=L,T){if(o===void 0)return p(l);if(d)return o=setTimeout(v,e),h(l)}return o===void 0&&(o=setTimeout(v,e)),s}return E.cancel=C,E.flush=k,E}function qa(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function t8(t){return!!t&&typeof t=="object"}function r8(t){return typeof t=="symbol"||t8(t)&&Xg.call(t)==xg}function wc(t){if(typeof t=="number")return t;if(r8(t))return Cc;if(qa(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qa(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Bg,"");var r=$g.test(t);return r||Zg.test(t)?Wg(t.slice(2),r?2:8):zg.test(t)?Cc:+t}var n8=e8;const i8=gn(n8);var od={exports:{}};/*! algoliasearch-lite.umd.js | 4.23.3 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */(function(t,e){(function(r,n){t.exports=n()})(Hn,function(){function r(U,x,z){return x in U?Object.defineProperty(U,x,{value:z,enumerable:!0,configurable:!0,writable:!0}):U[x]=z,U}function n(U,x){var z=Object.keys(U);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(U);x&&(q=q.filter(function(re){return Object.getOwnPropertyDescriptor(U,re).enumerable})),z.push.apply(z,q)}return z}function i(U){for(var x=1;x<arguments.length;x++){var z=arguments[x]!=null?arguments[x]:{};x%2?n(Object(z),!0).forEach(function(q){r(U,q,z[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(z)):n(Object(z)).forEach(function(q){Object.defineProperty(U,q,Object.getOwnPropertyDescriptor(z,q))})}return U}function a(U,x){if(U==null)return{};var z,q,re=function(ge,oe){if(ge==null)return{};var Se,De,Le={},Ke=Object.keys(ge);for(De=0;De<Ke.length;De++)Se=Ke[De],oe.indexOf(Se)>=0||(Le[Se]=ge[Se]);return Le}(U,x);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(U);for(q=0;q<ue.length;q++)z=ue[q],x.indexOf(z)>=0||Object.prototype.propertyIsEnumerable.call(U,z)&&(re[z]=U[z])}return re}function s(U,x){return function(z){if(Array.isArray(z))return z}(U)||function(z,q){if(Symbol.iterator in Object(z)||Object.prototype.toString.call(z)==="[object Arguments]"){var re=[],ue=!0,ge=!1,oe=void 0;try{for(var Se,De=z[Symbol.iterator]();!(ue=(Se=De.next()).done)&&(re.push(Se.value),!q||re.length!==q);ue=!0);}catch(Le){ge=!0,oe=Le}finally{try{ue||De.return==null||De.return()}finally{if(ge)throw oe}}return re}}(U,x)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(U){return function(x){if(Array.isArray(x)){for(var z=0,q=new Array(x.length);z<x.length;z++)q[z]=x[z];return q}}(U)||function(x){if(Symbol.iterator in Object(x)||Object.prototype.toString.call(x)==="[object Arguments]")return Array.from(x)}(U)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(U){var x,z="algoliasearch-client-js-".concat(U.key),q=function(){return x===void 0&&(x=U.localStorage||window.localStorage),x},re=function(){return JSON.parse(q().getItem(z)||"{}")},ue=function(oe){q().setItem(z,JSON.stringify(oe))},ge=function(){var oe=U.timeToLive?1e3*U.timeToLive:null,Se=re(),De=Object.fromEntries(Object.entries(Se).filter(function(Ke){return s(Ke,2)[1].timestamp!==void 0}));if(ue(De),oe){var Le=Object.fromEntries(Object.entries(De).filter(function(Ke){var Be=s(Ke,2)[1],ot=new Date().getTime();return!(Be.timestamp+oe<ot)}
10));ue(Le)}};return{get:function(oe,Se){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){ge();var Le=JSON.stringify(oe);return re()[Le]}).then(function(Le){return Promise.all([Le?Le.value:Se(),Le!==void 0])}).then(function(Le){var Ke=s(Le,2),Be=Ke[0],ot=Ke[1];return Promise.all([Be,ot||De.miss(Be)])}).then(function(Le){return s(Le,1)[0]})},set:function(oe,Se){return Promise.resolve().then(function(){var De=re();return De[JSON.stringify(oe)]={timestamp:new Date().getTime(),value:Se},q().setItem(z,JSON.stringify(De)),Se})},delete:function(oe){return Promise.resolve().then(function(){var Se=re();delete Se[JSON.stringify(oe)],q().setItem(z,JSON.stringify(Se))})},clear:function(){return Promise.resolve().then(function(){q().removeItem(z)})}}}function u(U){var x=o(U.caches),z=x.shift();return z===void 0?{get:function(q,re){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},ge=re();return ge.then(function(oe){return Promise.all([oe,ue.miss(oe)])}).then(function(oe){return s(oe,1)[0]})},set:function(q,re){return Promise.resolve(re)},delete:function(q){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(q,re){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return z.get(q,re,ue).catch(function(){return u({caches:x}).get(q,re,ue)})},set:function(q,re){return z.set(q,re).catch(function(){return u({caches:x}).set(q,re)})},delete:function(q){return z.delete(q).catch(function(){return u({caches:x}).delete(q)})}
10,clear:function(){return z.clear().catch(function(){return u({caches:x}).clear()})}}}function f(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},x={};return{get:function(z,q){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},ue=JSON.stringify(z);if(ue in x)return Promise.resolve(U.serializable?JSON.parse(x[ue]):x[ue]);var ge=q(),oe=re&&re.miss||function(){return Promise.resolve()};return ge.then(function(Se){return oe(Se)}).then(function(){return ge})},set:function(z,q){return x[JSON.stringify(z)]=U.serializable?JSON.stringify(q):q,Promise.resolve(q)},delete:function(z){return delete x[JSON.stringify(z)],Promise.resolve()},clear:function(){return x={},Promise.resolve()}}}function d(U){for(var x=U.length-1;x>0;x--){var z=Math.floor(Math.random()*(x+1)),q=U[x];U[x]=U[z],U[z]=q}return U}function c(U,x){return x&&Object.keys(x).forEach(function(z){U[z]=x[z](U)}),U}function h(U){for(var x=arguments.length,z=new Array(x>1?x-1:0),q=1;q<x;q++)z[q-1]=arguments[q];var re=0;return U.replace(/%s/g,function(){return encodeURIComponent(z[re++])})}var p={WithinQueryParameters:0,WithinHeaders:1};function g(U,x){var z=U||{},q=z.data||{};return Object.keys(z).forEach(function(re){["timeout","headers","queryParameters","data","cacheable"].indexOf(re)===-1&&(q[re]=z[re])}),{data:Object.entries(q).length>0?q:void 0,timeout:z.timeout||x,headers:z.headers||{},queryParameters:z.queryParameters||{},cacheable:z.cacheable}}var b={Read:1,Write:2,Any:3},v=1,y=2,C=3;function k(U){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v;return i(i({},U),{},{status:x,lastUpdate:Date.now()})}function E(U){return typeof U=="string"?{protocol:"https",url:U,accept:b.Any}:{protocol:U.protocol||"https",url:U.url,accept:U.accept||b.Any}}var L="GET",T="POST";function O(U,x){return Promise.all(x.map(function(z){return U.get(z,function(){return Promise.resolve(k(z))})})).then(function(z){var q=z.filter(function(ge){return function(oe){return oe.status===v||Date.now()-oe.lastUpdate>12e4}(ge)}),re=z.filter(function(ge){return function(oe){return oe.status===C&&Date.now()-oe.lastUpdate<=12e4}(ge)}),ue=[].concat(o(q),o(re));return{getTimeout:function(ge,oe){return(re.length===0&&ge===0?1:re.length+3+ge)*oe},statelessHosts:ue.length>0?ue.map(function(ge){return E(ge)}):x}})}function P(U,x,z,q){var re=[],ue=function(Be,ot){if(!(Be.method===L||Be.data===void 0&&ot.data===void 0)){var Ae=Array.isArray(Be.data)?Be.data:i(i({},Be.data),ot.data);return JSON.stringify(Ae)}}(z,q),ge=function(Be,ot){var Ae=i(i({},Be.headers),ot.headers),rt={};return Object.keys(Ae).forEach(function(B){var je=Ae[B];rt[B.toLowerCase()]=je}),rt}(U,q),oe=z.method,Se=z.method!==L?{}:i(i({},z.data),q.data),De=i(i(i({"x-algolia-agent":U.userAgent.value},U.queryParameters),Se),q.queryParameters),Le=0,Ke=function Be(ot,Ae){var rt=ot.pop();if(rt===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact [email protected].",transporterStackTrace:F(re)};var B={data:ue,headers:ge,method:oe,url:M(rt,z.path,De),connectTimeout:Ae(Le,U.timeouts.connect),responseTimeout:Ae(Le,q.timeout)},je=function(Ue){var Ce={request:B,response:Ue,host:rt,triesLeft:ot.length};return re.push(Ce),Ce},jt={onSuccess:function(Ue){return function(Ce){try{return JSON.parse(Ce.content)}catch(dt){throw function(Ut,or){return{name:"DeserializationError",message:Ut,response:or}}(dt.message,Ce)}}(Ue)},onRetry:function(Ue){var Ce=je(Ue);return Ue.isTimedOut&&Le++,Promise.all([U.logger.info("Retryable failure",D(Ce)),U.hostsCache.set(rt,k(rt,Ue.isTimedOut?C:y))]).then(function(){return Be(ot,Ae)})},onFail:function(Ue){throw je(Ue),function(Ce,dt){var Ut=Ce.content,or=Ce.status,gr=Ut;try{gr=JSON.parse(Ut).message}catch{}return function(Hr,Yr,Si){return{name:"ApiError",message:Hr,status:Yr,transporterStackTrace:Si}}(gr,or,dt)}(Ue,F(re))}};return U.requester.send(B).then(function(Ue){return function(Ce,dt){return function(Ut){var or=Ut.status;return Ut.isTimedOut||function(gr){var Hr=gr.isTimedOut,Yr=gr.status;return!Hr&&~~Yr==0}(Ut)||~~(or/100)!=2&&~~(or/100)!=4}(Ce)?dt.onRetry(Ce):~~(Ce.status/100)==2?dt.onSuccess(Ce):dt.onFail(Ce)}(Ue,jt)})};return O(U.hostsCache,x).then(function(Be){return Ke(o(Be.statelessHosts).reverse(),Be.getTimeout)})}function H(U){var x={value:"Algolia for JavaScript (".concat(U,")"),add:function(z){var q="; ".concat(z.segment).concat(z.version!==void 0?" (".concat(z.version,")"):"");return x.value.indexOf(q)===-1&&(x.value="".concat(x.value).concat(q)),x}};return x}function M(U,x,z){var q=N(z),re="".concat(U.protocol,"://").concat(U.url,"/").concat(x.charAt(0)==="/"?x.substr(1):x);return q.length&&(re+="?".concat(q)),re}function N(U){return Object.keys(U).map(function(x){return h("%s=%s",x,(z=U[x],Object.prototype.toString.call(z)==="[object Object]"||Object.prototype.toString.call(z)==="[object Array]"?JSON.stringify(U[x]):U[x]));var z}).join("&")}function F(U){return U.map(function(x){return D(x)})}function D(U){var x=U.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return i(i({},U),{},{request:i(i({},U.request),{},{headers:i(i({},U.request.headers),x)})})}var W=function(U){var x=U.appId,z=function(re,ue,ge){var oe={"x-algolia-api-key":ge,"x-algolia-application-id":ue};return{headers:function(){return re===p.WithinHeaders?oe:{}},queryParameters:function(){return re===p.WithinQueryParameters?oe:{}}}}(U.authMode!==void 0?U.authMode:p.WithinHeaders,x,U.apiKey),q=function(re){var ue=re.hostsCache,ge=re.logger,oe=re.requester,Se=re.requestsCache,De=re.responsesCache,Le=re.timeouts,Ke=re.userAgent,Be=re.hosts,ot=re.queryParameters,Ae={hostsCache:ue,logger:ge,requester:oe,requestsCache:Se,responsesCache:De,timeouts:Le,userAgent:Ke,headers:re.headers,queryParameters:ot,hosts:Be.map(function(rt){return E(rt)}),read:function(rt,B){var je=g(B,Ae.timeouts.read),jt=function(){return P(Ae,Ae.hosts.filter(function(Ce){return(Ce.accept&b.Read)!=0}),rt,je)};
10if((je.cacheable!==void 0?je.cacheable:rt.cacheable)!==!0)return jt();var Ue={request:rt,mappedRequestOptions:je,transporter:{queryParameters:Ae.queryParameters,headers:Ae.headers}};return Ae.responsesCache.get(Ue,function(){return Ae.requestsCache.get(Ue,function(){return Ae.requestsCache.set(Ue,jt()).then(function(Ce){return Promise.all([Ae.requestsCache.delete(Ue),Ce])},function(Ce){return Promise.all([Ae.requestsCache.delete(Ue),Promise.reject(Ce)])}).then(function(Ce){var dt=s(Ce,2);return dt[0],dt[1]})})},{miss:function(Ce){return Ae.responsesCache.set(Ue,Ce)}})},write:function(rt,B){return P(Ae,Ae.hosts.filter(function(je){return(je.accept&b.Write)!=0}),rt,g(B,Ae.timeouts.write))}};return Ae}(i(i({hosts:[{url:"".concat(x,"-dsn.algolia.net"),accept:b.Read},{url:"".concat(x,".algolia.net"),accept:b.Write}].concat(d([{url:"".concat(x,"-1.algolianet.com")},{url:"".concat(x,"-2.algolianet.com")},{url:"".concat(x,"-3.algolianet.com")}]))},U),{},{headers:i(i(i({},z.headers()),{"content-type":"application/x-www-form-urlencoded"}),U.headers),queryParameters:i(i({},z.queryParameters()),U.queryParameters)}));return c({transporter:q,appId:x,addAlgoliaAgent:function(re,ue){q.userAgent.add({segment:re,version:ue})},clearCache:function(){return Promise.all([q.requestsCache.clear(),q.responsesCache.clear()]).then(function(){})}},U.methods)},Y=function(U){return function(x,z){return x.method===L?U.transporter.read(x,z):U.transporter.write(x,z)}},le=function(U){return function(x){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},q={transporter:U.transporter,appId:U.appId,indexName:x};return c(q,z.methods)}},_e=function(U){return function(x,z){var q=x.map(function(re){return i(i({},re),{},{params:N(re.params||{})})});return U.transporter.read({method:T,path:"1/indexes/*/queries",data:{requests:q},cacheable:!0},z)}},Ie=function(U){return function(x,z){return Promise.all(x.map(function(q){var re=q.params,ue=re.facetName,ge=re.facetQuery,oe=a(re,["facetName","facetQuery"]);return le(U)(q.indexName,{methods:{searchForFacetValues:xe}}).searchForFacetValues(ue,ge,i(i({},z),oe))}))}},pe=function(U){return function(x,z,q){return U.transporter.read({method:T,path:h("1/answers/%s/prediction",U.indexName),data:{query:x,queryLanguages:z},cacheable:!0},q)}},et=function(U){return function(x,z){return U.transporter.read({method:T,path:h("1/indexes/%s/query",U.indexName),data:{query:x},cacheable:!0},z)}},xe=function(U){return function(x,z,q){return U.transporter.read({method:T,path:h("1/indexes/%s/facets/%s/query",U.indexName,x),data:{facetQuery:z},cacheable:!0},q)}},ne=1,tt=2,He=3,Kt=function(U){return function(x,z){var q=x.map(function(re){return i(i({},re),{},{threshold:re.threshold||0})});return U.transporter.read({method:T,path:"1/indexes/*/recommendations",data:{requests:q},cacheable:!0},z)}};function pr(U,x,z){var q,re={appId:U,apiKey:x,timeouts:{connect:1,read:2,write:30},requester:{send:function(ue){return new Promise(function(ge){var oe=new XMLHttpRequest;oe.open(ue.method,ue.url,!0),Object.keys(ue.headers).forEach(function(Ke){return oe.setRequestHeader(Ke,ue.headers[Ke])});var Se,De=function(Ke,Be){return setTimeout(function(){oe.abort(),ge({status:0,content:Be,isTimedOut:!0})},1e3*Ke)},Le=De(ue.connectTimeout,"Connection timeout");oe.onreadystatechange=function(){oe.readyState>oe.OPENED&&Se===void 0&&(clearTimeout(Le),Se=De(ue.responseTimeout,"Socket timeout"))},oe.onerror=function(){oe.status===0&&(clearTimeout(Le),clearTimeout(Se),ge({content:oe.responseText||"Network request failed",status:oe.status,isTimedOut:!1}))},oe.onload=function(){clearTimeout(Le),clearTimeout(Se),ge({content:oe.responseText,status:oe.status,isTimedOut:!1})},oe.send(ue.data)})}},logger:(q=He,{debug:function(ue,ge){return ne>=q&&console.debug(ue,ge),Promise.resolve()},info:function(ue,ge){return tt>=q&&console.info(ue,ge),Promise.resolve()},error:function(ue,ge){return console.error(ue,ge),Promise.resolve()}}),responsesCache:f(),requestsCache:f({serializable:!1}),hostsCache:u({caches:[l({key:"".concat("4.23.3","-").concat(U)}),f()]}),userAgent:H("4.23.3").add({segment:"Browser",version:"lite"}),authMode:p.WithinQueryParameters};return W(i(i(i({},re),z),{},{methods:{search:_e,searchForFacetValues:Ie,multipleQueries:_e,multipleSearchForFacetValues:Ie,customRequest:Y,initIndex:function(ue){return function(ge){return le(ue)(ge,{methods:{search:et,searchForFacetValues:xe,findAnswers:pe}})}},getRecommendations:Kt}}))}return pr.version="4.23.3",pr})})(od);var a8=od.exports;const s8=gn(a8);var o8="ais",la=function(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=r.descendantName,i=r.modifierName,a=n?"-".concat(n):"",s=i?"--".concat(i):"";return"".concat(o8,"-").concat(e).concat(a).concat(s)}};function Et(){}var Ci=function(e,r){return e};function l8(t){return Object.prototype.toString.call(t).slice(8,-1)}function Is(t,e){if(t===void 0||typeof t!="function")throw new Error("The render function is not val
10id (received type ".concat(l8(t),`).
11
12`).concat(e))}var u8={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ld=/[&<>"']/g,c8=RegExp(ld.source);function f8(t){return t&&c8.test(t)?t.replace(ld,function(e){return u8[e]}):t}var d8={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ud=/&(amp|quot|lt|gt|#39);/g,h8=RegExp(ud.source);function m8(t){return t&&h8.test(t)?t.replace(ud,function(e){return d8[e]}):t}function Qa(t){"@babel/helpers - typeof";return Qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qa(t)}function p8(t){return t===null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function g8(t){return Qa(t)==="object"&&t!==null}function cd(t){if(!g8(t)||p8(t)!=="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function qn(t){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(t)}function v8(t){if(t==null)throw new TypeError("Cannot destructure "+t)}function Ga(){return Ga=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ga.apply(this,arguments)}function Sc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ki(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Sc(Object(r),!0).forEach(function(n){fd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fd(t,e,r){return e=_8(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _8(t){var e=b8(t,"string");return qn(e)==="symbol"?e:String(e)}function b8(t,e){if(qn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(qn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var on={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},Rt={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function y8(t){return f8(t).replace(new RegExp(on.highlightPreTag,"g"),Rt.highlightPreTag).replace(new RegExp(on.highlightPostTag,"g"),Rt.highlightPostTag)}function $i(t){return cd(t)&&typeof t.value!="string"?Object.keys(t).reduce(function(e,r){return ki(ki({},e),{},fd({},r,$i(t[r])))},{}):Array.isArray(t)?t.map($i):ki(ki({},t),{},{value:y8(t.value)})}function dd(t){return t.__escaped===void 0&&(t=t.map(function(e){var r=Ga({},(v8(e),e));return r._highlightResult&&(r._highlightResult=$i(r._highlightResult)),r._snippetResult&&(r._snippetResult=$i(r._snippetResult)),r}),t.__escaped=!0),t}function hd(t){var e=Rt.highlightPreTag,r=Rt.highlightPostTag;return t.map(function(n){return n.isHighlighted?e+n.value+r:n.value}).join("")}function md(t){return btoa(encodeURIComponent(JSON.stringify(t)))}function Ec(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ta(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ec(Object(r),!0).forEach(function(n){C8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ec(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function C8(t,e,r){return e=w8(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w8(t){var e=S8(t,"string");return ln(e)==="symbol"?e:String(e)}function S8(t,e){if(ln(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ln(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function E8(t,e){return O8(t)||L8(t,e)||k8(t,e)||T8()}
12function T8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k8(t,e){if(t){if(typeof t=="string")return Tc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tc(t,e)}}function Tc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function L8(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==e);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}function O8(t){if(Array.isArray(t))return t}function ln(t){"@babel/helpers - typeof";return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ln(t)}function R8(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,r=[],n=0;n<Math.ceil(t.length/e);n++)r.push(t.slice(n*e,(n+1)*e));return r}function pd(t){var e=t.getIndex,r=t.widgetType;t.methodName;var n=t.args,i=t.instantSearchInstance;if(n.length===1&&ln(n[0])==="object")return[n[0]];var a=n[0].split(":"),s=E8(a,2),o=s[0],l=s[1],u=n[1],f=n[2],d=n[3]||{};if(!u)return[];if((o==="click"||o==="conversion")&&!f)return[];var c=Array.isArray(u)?u:[u];if(c.length===0)return[];var h=c[0].__queryID,p=R8(c),g=p.map(function(v){return v.map(function(y){return y.objectID})}),b=p.map(function(v){return v.map(function(y){return y.__position})});return o==="view"?i.status!=="idle"?[]:p.map(function(v,y){return{insightsMethod:"viewedObjectIDs",widgetType:r,eventType:o,payload:Ta({eventName:f||"Hits Viewed",index:e(),objectIDs:g[y]},d),hits:v,eventModifier:l}}):o==="click"?p.map(function(v,y){return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:Ta({eventName:f||"Hit Clicked",index:e(),queryID:h,objectIDs:g[y],positions:b[y]},d),hits:v,eventModifier:l}}):o==="conversion"?p.map(function(v,y){return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:Ta({eventName:f||"Hit Converted",index:e(),queryID:h,objectIDs:g[y]},d),hits:v,eventModifier:l}}):[]}function gd(t){var e=t.instantSearchInstance,r=t.getIndex,n=t.widgetType,i={},a=void 0,s=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];var d=pd({widgetType:n,getIndex:r,methodName:"sendEvent",args:u,instantSearchInstance:e});d.forEach(function(c){c.eventType==="click"&&c.eventModifier==="internal"&&i[c.eventType]||(i[c.eventType]=!0,e.sendEventToInsights(c))}),clearTimeout(a),a=setTimeout(function(){i={}},0)};return s}function P8(t){var e=t.getIndex,r=t.widgetType,n=t.instantSearchInstance,i=function(){for(var s=arguments.length,o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];var u=pd({widgetType:r,getIndex:e,methodName:"bindEvent",args:o,instantSearchInstance:n});return u.length?"data-insights-event=".concat(md(u)):""};return i}function Rr(t){return t.$$type==="ais.index"}function Ka(t,e){var r=t[e.getIndexId()]||{};e.getHelper().setState(e.getWidgetSearchParameters(e.getHelper().state,{uiState:r})),e.getWidgets().filter(Rr).forEach(function(n){return Ka(t,n)})}var I8=Promise.resolve();function kn(t){var e=null,r=!1,n=function(){for(var a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];e===null&&(e=I8.then(function(){if(e=null,r){r=!1;return}t.apply(void 0,s)}))};return n.wait=function(){if(e===null)throw new Error("The deferred function should be called before calling `wait()`");return e},n.cancel=function(){e!==null&&(r=!0)},n}function H8(t){var e=t.name,r=t.connector,n=r===void 0?!1:r;return["https://www.algolia.com/doc/api-reference/widgets/",e,"/js/",n?"#connector":""].join("")}function _n(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.map(function(i){return H8(i)}).join(", ");return function(i){return[i,"See documentation: ".concat(n)].filter(
13Boolean).join(`
14
15`)}}function A8(t,e){for(var r,n=0;n<t.length;n++)if(r=t[n],e(r,n,t))return r}function V8(t,e){if(!Array.isArray(t))return-1;for(var r=0;r<t.length;r++)if(e(t[r]))return r;return-1}function N8(t){if(t.transporter){var e=t.transporter,r=e.headers,n=e.queryParameters,i="x-algolia-application-id",a="x-algolia-api-key",s=r[i]||n[i],o=r[a]||n[a];return[s,o]}else return[t.applicationID,t.apiKey]}function vd(t){var e=Rt.highlightPostTag,r=Rt.highlightPreTag,n=t.split(r),i=n.shift(),a=i?[{value:i,isHighlighted:!1}]:[];return n.forEach(function(s){var o=s.split(e);a.push({value:o[0],isHighlighted:!0}),o[1]!==""&&a.push({value:o[1],isHighlighted:!1})}),a}var M8=new RegExp(/\w/i);function F8(t,e){var r,n,i=t[e],a=((r=t[e+1])===null||r===void 0?void 0:r.isHighlighted)||!0,s=((n=t[e-1])===null||n===void 0?void 0:n.isHighlighted)||!0;return!M8.test(m8(i.value))&&s===a?s:i.isHighlighted}function ua(t,e){var r=Array.isArray(e)?e:e.split(".");return r.reduce(function(n,i){return n&&n[i]},t)}function Qn(t){"@babel/helpers - typeof";return Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qn(t)}function kc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Lc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kc(Object(r),!0).forEach(function(n){D8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function D8(t,e,r){return e=j8(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j8(t){var e=U8(t,"string");return Qn(e)==="symbol"?e:String(e)}function U8(t,e){if(Qn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Qn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function x8(t,e,r){return t.map(function(n,i){return Lc(Lc({},n),{},{__position:r*e+i+1})})}function Gn(t){"@babel/helpers - typeof";return Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(t)}function Oc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Rc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Oc(Object(r),!0).forEach(function(n){B8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Oc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function B8(t,e,r){return e=z8(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function z8(t){var e=$8(t,"string");return Gn(e)==="symbol"?e:String(e)}function $8(t,e){if(Gn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Gn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Z8(t,e){return e?t.map(function(r){return Rc(Rc({},r),{},{__queryID:e})}):t}function Kn(t){"@babel/helpers - typeof";return Kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kn(t)}function W8(t,e){return K8(t)||G8(t,e)||Q8(t,e)||q8()}
15function q8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q8(t,e){if(t){if(typeof t=="string")return Pc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pc(t,e)}}function Pc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G8(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==e);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}function K8(t){if(Array.isArray(t))return t}function Ic(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ln(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ic(Object(r),!0).forEach(function(n){_d(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ic(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _d(t,e,r){return e=X8(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X8(t){var e=Y8(t,"string");return Kn(e)==="symbol"?e:String(e)}function Y8(t,e){if(Kn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Kn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function J8(t,e){if(e&&!((!("transporter"in t)||t._cacheHydrated)&&(!t._useCache||typeof t.addAlgoliaAgent!="function"))){var r=Object.keys(e).map(function(s){var o=e[s],l=o.state,u=o.requestParams,f=o.results;return f.map(function(d){return Ln({indexName:l.index||d.index},u||d.params?{params:Hc(u||e9(d.params))}:{})})}),n=Object.keys(e).reduce(function(s,o){return s.concat(e[o].results)},[]);if("transporter"in t&&!t._cacheHydrated){t._cacheHydrated=!0;var i=t.search;t.search=function(s){for(var o=arguments.length,l=new Array(o>1?o-1:0),u=1;u<o;u++)l[u-1]=arguments[u];var f=s.map(function(d){return Ln(Ln({},d),{},{params:Hc(d.params)})});return t.transporter.responsesCache.get({method:"search",args:[f].concat(l)},function(){return i.apply(void 0,[s].concat(l))})},t.transporter.responsesCache.set({method:"search",args:r},{results:n})}if(!("transporter"in t)){var a="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));t.cache=Ln(Ln({},t.cache),{},_d({},a,JSON.stringify({results:Object.keys(e).map(function(s){return e[s].results})})))}}}function e9(t){return t.split("&").reduce(function(e,r){var n=r.split("="),i=W8(n,2),a=i[0],s=i[1];return e[a]=s?decodeURIComponent(s):"",e},{})}function Hc(t){var e=function(i){return Object.prototype.toString.call(i)==="[object Object]"||Object.prototype.toString.call(i)==="[object Array]"},r=function(i){for(var a=arguments.length,s=new Array(a>1?a-1:0),o=1;o<a;o++)s[o-1]=arguments[o];var l=0;return i.replace(/%s/g,function(){return encodeURIComponent(s[l++])})};return Object.keys(t).map(function(n){return r("%s=%s",n,e(t[n])?JSON.stringify(t[n]):t[n])}).join("&")}function Ac(t){return t!==Object(t)}function Hs(t,e){if(t===e)return!0;if(Ac(t)||Ac(e)||typeof t=="function"||typeof e=="function")return t===e;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(!(i in e)||!Hs(t[i],e[i]))return!1}return!0}function t9(t){return t.filter(function(e,r,n){return n.indexOf(e)===r})}function Xn(t){"@babel/helpers - typeof";return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xn(t)}var r9=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function Vc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ar(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
16e%2?Vc(Object(r),!0).forEach(function(n){n9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function n9(t,e,r){return e=i9(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i9(t){var e=a9(t,"string");return Xn(e)==="symbol"?e:String(e)}function a9(t,e){if(Xn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Xn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function s9(t,e){if(t==null)return{};var r=o9(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function o9(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var l9=function(e,r){r.facets,r.disjunctiveFacets,r.facetsRefinements,r.facetsExcludes,r.disjunctiveFacetsRefinements,r.numericRefinements,r.tagRefinements,r.hierarchicalFacets,r.hierarchicalFacetsRefinements,r.ruleContexts;var n=s9(r,r9);return e.setQueryParameters(n)},u9=function(e,r){return r.facets.reduce(function(n,i){return n.addFacet(i)},e)},c9=function(e,r){return r.disjunctiveFacets.reduce(function(n,i){return n.addDisjunctiveFacet(i)},e)},f9=function(e,r){return e.setQueryParameters({hierarchicalFacets:r.hierarchicalFacets.reduce(function(n,i){var a=V8(n,function(o){return o.name===i.name});if(a===-1)return n.concat(i);var s=n.slice();return s.splice(a,1,i),s},e.hierarchicalFacets)})},d9=function(e,r){return r.tagRefinements.reduce(function(n,i){return n.addTagRefinement(i)},e)},h9=function(e,r){return e.setQueryParameters({facetsRefinements:ar(ar({},e.facetsRefinements),r.facetsRefinements)})},m9=function(e,r){return e.setQueryParameters({facetsExcludes:ar(ar({},e.facetsExcludes),r.facetsExcludes)})},p9=function(e,r){return e.setQueryParameters({disjunctiveFacetsRefinements:ar(ar({},e.disjunctiveFacetsRefinements),r.disjunctiveFacetsRefinements)})},g9=function(e,r){return e.setQueryParameters({numericRefinements:ar(ar({},e.numericRefinements),r.numericRefinements)})},v9=function(e,r){return e.setQueryParameters({hierarchicalFacetsRefinements:ar(ar({},e.hierarchicalFacetsRefinements),r.hierarchicalFacetsRefinements)})},_9=function(e,r){var n=t9([].concat(e.ruleContexts).concat(r.ruleContexts).filter(Boolean));return n.length>0?e.setQueryParameters({ruleContexts:n}):e},Ii=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce(function(i,a){var s=v9(i,a),o=f9(s,a),l=d9(o,a),u=g9(l,a),f=p9(u,a),d=m9(f,a),c=h9(d,a),h=c9(c,a),p=_9(h,a),g=u9(p,a);return l9(g,a)})};function Vn(t,e,r){var n=e.getHelper();return{uiState:r,helper:n,parent:e,instantSearchInstance:t,state:n.state,renderState:t.renderState,templatesConfig:t.templatesConfig,createURL:e.createURL,scopedResults:[],searchMetadata:{isSearchStalled:t.status==="stalled"},status:t.status,error:t.error}}function Nc(t,e){var r=e.getResults(),n=e.getHelper();return{helper:n,parent:e,instantSearchInstance:t,results:r,scopedResults:e.getScopedResults(),state:r?r._state:n.state,renderState:t.renderState,templatesConfig:t.templatesConfig,createURL:e.createURL,searchMetadata:{isSearchStalled:t.status==="stalled"},status:t.status,error:t.error}}function b9(t){for(var e=t.getParent(),r=[t.getHelper().state];e!==null;)r=[e.getHelper().state].concat(r),e=e.getParent();return r}function Yn(t){"@babel/helpers - typeof";return Yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yn(t)}function Mc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Li(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
16e%2?Mc(Object(r),!0).forEach(function(n){y9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function y9(t,e,r){return e=C9(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C9(t){var e=w9(t,"string");return Yn(e)==="symbol"?e:String(e)}function w9(t,e){if(Yn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Yn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function bd(t){return t.some(function(e){return e.isHighlighted})?t.map(function(e,r){return Li(Li({},e),{},{isHighlighted:!F8(t,r)})}):t.map(function(e){return Li(Li({},e),{},{isHighlighted:!1})})}function er(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fallback:function(){}},r=e.fallback;return typeof window>"u"?r():t({window})}var S9=la("Highlight");function yd(t){var e=t.attribute,r=t.highlightedTagName,n=r===void 0?"mark":r,i=t.hit,a=t.cssClasses,s=a===void 0?{}:a,o=ua(i._highlightResult,e),l=o||{},u=l.value,f=u===void 0?"":u,d=S9({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return f.replace(new RegExp(Rt.highlightPreTag,"g"),"<".concat(n,' class="').concat(d,'">')).replace(new RegExp(Rt.highlightPostTag,"g"),"</".concat(n,">"))}var E9=la("ReverseHighlight");function Cd(t){var e=t.attribute,r=t.highlightedTagName,n=r===void 0?"mark":r,i=t.hit,a=t.cssClasses,s=a===void 0?{}:a,o=ua(i._highlightResult,e),l=o||{},u=l.value,f=u===void 0?"":u,d=E9({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):""),c=hd(bd(vd(f)));return c.replace(new RegExp(Rt.highlightPreTag,"g"),"<".concat(n,' class="').concat(d,'">')).replace(new RegExp(Rt.highlightPostTag,"g"),"</".concat(n,">"))}var T9=la("Snippet");function wd(t){var e=t.attribute,r=t.highlightedTagName,n=r===void 0?"mark":r,i=t.hit,a=t.cssClasses,s=a===void 0?{}:a,o=ua(i._snippetResult,e),l=o||{},u=l.value,f=u===void 0?"":u,d=T9({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return f.replace(new RegExp(Rt.highlightPreTag,"g"),"<".concat(n,' class="').concat(d,'">')).replace(new RegExp(Rt.highlightPostTag,"g"),"</".concat(n,">"))}var k9=la("ReverseSnippet");function Sd(t){var e=t.attribute,r=t.highlightedTagName,n=r===void 0?"mark":r,i=t.hit,a=t.cssClasses,s=a===void 0?{}:a,o=ua(i._snippetResult,e),l=o||{},u=l.value,f=u===void 0?"":u,d=k9({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):""),c=hd(bd(vd(f)));return c.replace(new RegExp(Rt.highlightPreTag,"g"),"<".concat(n,' class="').concat(d,'">')).replace(new RegExp(Rt.highlightPostTag,"g"),"</".concat(n,">"))}function Xa(t){"@babel/helpers - typeof";return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xa(t)}function L9(t){var e=t.method,r=t.payload;if(Xa(r)!=="object")throw new Error("The insights helper expects the payload to be an object.");var n;try{n=md(r)}catch{throw new Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(e,'" data-insights-payload="').concat(n,'"')}function Ed(t,e){return L9({method:t,payload:e})}function Ya(t){"@babel/helpers - typeof";return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ya(t)}var O9="_ALGOLIA";function R9(t){if(!((typeof document>"u"?"undefined":Ya(document))!=="object"||typeof document.cookie!="string"))for(var e="".concat(t,"="),r=document.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];i.charAt(0)===" ";)i=i.substring(1);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}}function Td(){return R9(O9)}function P9(){return Td()}var I9=["page"];function H9(t,e){if(t==null)return{};var r=A9(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function A9(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function Fc(t){var e=t||{};e.page;var r=H9(e,I9);return r}var ka="ais.infiniteHits";function V9(){return{read:function(e){var r=e.state,n=er(function(a){var s=a.window;return s.sessionStorage});if(!n)return null;try{var i=JSON.parse(n.getItem(ka));return i&&Hs(i.state,Fc(r))?i.hits:null}catch(a){if(a instanceof SyntaxError)try{n.removeItem(ka)}catch{}return null}},write:function(e){var r=e.state,n=e.hits,i=er(function(a){var s=a.window;return s.sessionStorage});if(i)try{i.setItem(ka,JSON.stringify({state:Fc(r),hits:n}))}catch{}}}}function _t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}var As=_t;_t.prototype._events=void 0;_t.prototype._maxListeners=void 0;_t.defaultMaxListeners=10;_t.prototype.setMaxListeners=function(t){if(!N9(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this};_t.prototype.emit=function(t){var e,r,n,i,a,s;if(this._events||(this._events={}),t==="error"&&(!this._events.error||Jn(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var o=new Error('Uncaught, unspecified "error" event. ('+e+")");throw o.context=e,o}if(r=this._events[t],kd(r))return!1;if(dr(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;
16default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(Jn(r))for(i=Array.prototype.slice.call(arguments,1),s=r.slice(),n=s.length,a=0;a<n;a++)s[a].apply(this,i);return!0};_t.prototype.addListener=function(t,e){var r;if(!dr(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,dr(e.listener)?e.listener:e),this._events[t]?Jn(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,Jn(this._events[t])&&!this._events[t].warned&&(kd(this._maxListeners)?r=_t.defaultMaxListeners:r=this._maxListeners,r&&r>0&&this._events[t].length>r&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),typeof console.trace=="function"&&console.trace())),this};_t.prototype.on=_t.prototype.addListener;_t.prototype.once=function(t,e){if(!dr(e))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}return n.listener=e,this.on(t,n),this};_t.prototype.removeListener=function(t,e){var r,n,i,a;if(!dr(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],i=r.length,n=-1,r===e||dr(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(Jn(r)){for(a=i;a-- >0;
16)if(r[a]===e||r[a].listener&&r[a].listener===e){n=a;break}if(n<0)return this;r.length===1?(r.length=0,delete this._events[t]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this};_t.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[t]&&delete this._events[t],this;if(arguments.length===0){for(e in this._events)e!=="removeListener"&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],dr(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this};_t.prototype.listeners=function(t){var e;return!this._events||!this._events[t]?e=[]:dr(this._events[t])?e=[this._events[t]]:e=this._events[t].slice(),e};_t.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(dr(e))return 1;if(e)return e.length}return 0};_t.listenerCount=function(t,e){return t.listenerCount(e)};function dr(t){return typeof t=="function"}function N9(t){return typeof t=="number"}function Jn(t){return typeof t=="object"&&t!==null}function kd(t){return t===void 0}const M9=gn(As);function F9(t,e){t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}var Ld=F9,D9=As,j9=Ld;function wi(t,e,r){this.main=t,this.fn=e,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}j9(wi,D9);wi.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)};wi.prototype.getModifiedState=function(t){return this.fn(t)};wi.prototype.getModifiedRecommendState=function(t){return this.recommendFn(t)};var U9=wi;function x9(t){return typeof t!="string"?t:String(t).replace(/^-/,"\\-")}function B9(t){return typeof t!="string"?t:t.replace(/^\\-/,"-")}var Vs={escapeFacetValue:x9,unescapeFacetValue:B9};function z9(t){return typeof t=="object"&&t!==null?Ns(Array.isArray(t)?[]:{},t):t}function Zi(t){return typeof t=="function"||Array.isArray(t)||Object.prototype.toString.call(t)==="[object Object]"}function Ns(t,e){if(t===e)return t;for(var r in e)if(!(!Object.prototype.hasOwnProperty.call(e,r)||r==="__proto__"||r==="constructor")){var n=e[r],i=t[r];typeof i<"u"&&typeof n>"u"||(Zi(i)&&Zi(n)?t[r]=Ns(i,n):t[r]=z9(n))}return t}function $9(t){Zi(t)||(t={});for(var e=1,r=arguments.length;e<r;e++){var n=arguments[e];Zi(n)&&Ns(t,n)}return t}var ca=$9;function Z9(t){return t&&Object.keys(t).length>0}var Ms=Z9;function W9(t,e){if(t===null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var Fs=W9;function Nn(t){t=t||{},this.params=t.params||[]}Nn.prototype={constructor:Nn,addParams:function(t){var e=this.params.slice(),r=this.params.findIndex(function(n){return n.$$id===t.$$id});return r!==-1?e.splice(r,1,t):e.push(t),new Nn({params:e})},removeParams:function(t){return new Nn({params:this.params.filter(function(e){return e.$$id!==t})})},addFrequentlyBoughtTogether:function(t){return this.addParams(Object.assign({},t,{model:"bought-together"}))},addRelatedProducts:function(t){return this.addParams(Object.assign({},t,{model:"related-products"}))},addTrendingItems:function(t){return this.addParams(Object.assign({},t,{model:"trending-items"}))},addTrendingFacets:function(t){return this.addParams(Object.assign({},t,{model:"trending-facets"}))},addLookingSimilar:function(t){return this.addParams(Object.assign({},t,{model:"looking-similar"}))},_buildQueries:function(t){return this.params.map(function(e){var r=Object.assign({},e,{indexName:t});return delete r.$$id,r})}};var Od=Nn,La=ca;function Oa(t){return Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{})}var Pt={_getQueries:function(e,r){var n=[];return n.push({indexName:e,params:Pt._getHitsSearchParams(r)}),r.getRefinedDisjunctiveFacets().forEach(function(i){n.push({indexName:e,params:Pt._getDisjunctiveFacetSearchParams(r,i)})}),r.getRefinedHierarchicalFacets().forEach(function(i){var a=r.getHierarchicalFacetByName(i),s=r.getHierarchicalRefinement(i),o=r._getHierarchicalFacetSeparator(a);if(s.length>0&&s[0].split(o).length>1){var l=s[0].split(o).slice(0,-1).reduce(function(f,d,c){return f.concat({attribute:a.attributes[c],value:c===0?d:[f[f.length-1].value,d].join(o)})},[]);l.forEach(function(u,f){var d=Pt._getDisjunctiveFacetSearchParams(r,u.attribute,f===0);function c(g){return a.attributes.some(function(b){return b===g.split(":")[0]})}var h=(d.facetFilters||[]).reduce(function(g,b){if(Array.isArray(b)){var v=b.filter(function(y){return!c(y)});v.length>0&&g.push(v)}return typeof b=="string"&&!c(b)&&g.push(b),g},[]),p=l[f-1];f>0?d.facetFilters=h.concat(p.attribute+":"+p.value):d.facetFilters=h.length>0?h:void 0,n.push({indexName:e,params:d})})}}),n},_getHitsSearchParams:function(t){var e=t.facets.concat(t.disjunctiveFacets).concat(Pt._getHitsHierarchicalFacetsAttributes(t)).sort(),r=Pt._getFacetFilters(t),n=Pt._getNumericFilters(t),i=Pt._getTagFilters(t),a={facets:e.indexOf("*")>-1?["*"]:e,tagFilters:i};return r.length>0&&(a.facetFilters=r),n.length>0&&(a.numericFilters=n),Oa(La({},t.getQueryParams(),a))},_getDisjunctiveFacetSearchParams:function(t,e,r){var n=Pt._getFacetFilters(t,e,r),i=Pt._getNumericFilters(t,e),a=Pt._getTagFilters(t),s={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};a.length>0&&(s.tagFilters=a);var o=t.getHierarchicalFacetByName(e);return o?s.facets=Pt._getDisjunctiveHierarchicalFacetAttribute(t,o,r):s.facets=e,i.length>0&&(s.numericFilters=i),n.length>0&&(s.facetFilters=n),Oa(La({},t.getQueryParams(),s))},_getNumericFilters:function(t,e){if(t.numericFilters)return t.numericFilters;var r=[];
16return Object.keys(t.numericRefinements).forEach(function(n){var i=t.numericRefinements[n]||{};Object.keys(i).forEach(function(a){var s=i[a]||[];e!==n&&s.forEach(function(o){if(Array.isArray(o)){var l=o.map(function(u){return n+a+u});r.push(l)}else r.push(n+a+o)})})}),r},_getTagFilters:function(t){return t.tagFilters?t.tagFilters:t.tagRefinements.join(",")},_getFacetFilters:function(t,e,r){var n=[],i=t.facetsRefinements||{};Object.keys(i).sort().forEach(function(l){var u=i[l]||[];u.slice().sort().forEach(function(f){n.push(l+":"+f)})});var a=t.facetsExcludes||{};Object.keys(a).sort().forEach(function(l){var u=a[l]||[];u.sort().forEach(function(f){n.push(l+":-"+f)})});var s=t.disjunctiveFacetsRefinements||{};Object.keys(s).sort().forEach(function(l){var u=s[l]||[];if(!(l===e||!u||u.length===0)){var f=[];u.slice().sort().forEach(function(d){f.push(l+":"+d)}),n.push(f)}});var o=t.hierarchicalFacetsRefinements||{};return Object.keys(o).sort().forEach(function(l){var u=o[l]||[],f=u[0];if(f!==void 0){var d=t.getHierarchicalFacetByName(l),c=t._getHierarchicalFacetSeparator(d),h=t._getHierarchicalRootPath(d),p,g;if(e===l){if(f.indexOf(c)===-1||!h&&r===!0||h&&h.split(c).length===f.split(c).length)return;h?(g=h.split(c).length-1,f=h):(g=f.split(c).length-2,f=f.slice(0,f.lastIndexOf(c))),p=d.attributes[g]}else g=f.split(c).length-1,p=d.attributes[g];p&&n.push([p+":"+f])}}),n},_getHitsHierarchicalFacetsAttributes:function(t){var e=[];return t.hierarchicalFacets.reduce(function(n,i){var a=t.getHierarchicalRefinement(i.name)[0];if(!a)return n.push(i.attributes[0]),n;var s=t._getHierarchicalFacetSeparator(i),o=a.split(s).length,l=i.attributes.slice(0,o+1);return n.concat(l)},e)},_getDisjunctiveHierarchicalFacetAttribute:function(t,e,r){var n=t._getHierarchicalFacetSeparator(e);if(r===!0){var i=t._getHierarchicalRootPath(e),a=0;return i&&(a=i.split(n).length),[e.attributes[a]]}var s=t.getHierarchicalRefinement(e.name)[0]||"",o=s.split(n).length-1;return e.attributes.slice(0,o+1)},getSearchForFacetQuery:function(t,e,r,n){var i=n.isDisjunctiveFacet(t)?n.clearRefinements(t):n,a={facetQuery:e,facetName:t};return typeof r=="number"&&(a.maxFacetHits=r),Oa(La({},Pt._getHitsSearchParams(i),a))}},q9=Pt,Ds=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(r,n){return Object.keys(Object(n)).forEach(function(i){n[i]!==void 0&&(r[i]!==void 0&&delete r[i],r[i]=n[i])}),r},{})},fa=function(e,r){if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(r(e[n]))return e[n]}};function Q9(t,e){return t.filter(function(r,n){return e.indexOf(r)>-1&&t.indexOf(r)===n})}var G9=Q9;function Rd(t){if(typeof t=="number")return t;if(typeof t=="string")return parseFloat(t);if(Array.isArray(t))return t.map(Rd);throw new Error("The value should be a number, a parsable string or an array of those.")}var K9=Rd,X9=function(e){return e===null?!1:/^[a-zA-Z0-9_-]{1,64}$/.test(e)},Y9=Ds,J9=Ms,ev=Fs,Mr={addRefinement:function(e,r,n){if(Mr.isRefined(e,r,n))return e;var i=""+n,a=e[r]?e[r].concat(i):[i],s={};return s[r]=a,Y9({},s,e)},removeRefinement:function(e,r,n){if(n===void 0)return Mr.clearRefinement(e,function(a,s){return r===s});var i=""+n;return Mr.clearRefinement(e,function(a,s){return r===s&&i===a})},toggleRefinement:function(e,r,n){if(n===void 0)throw new Error("toggleRefinement should be used with a value");return Mr.isRefined(e,r,n)?Mr.removeRefinement(e,r,n):Mr.addRefinement(e,r,n)},clearRefinement:function(e,r,n){if(r===void 0)return J9(e)?{}:e;if(typeof r=="string")return ev(e,[r]);if(typeof r=="function"){var i=!1,a=Object.keys(e).reduce(function(s,o){var l=e[o]||[],u=l.filter(function(f){return!r(f,o,n)});return u.length!==l.length&&(i=!0),s[o]=u,s},{});return i?a:e}},isRefined:function(e,r,n){var i=!!e[r]&&e[r].length>0;if(n===void 0||!i)return i;var a=""+n;return e[r].indexOf(a)!==-1}},tv=Mr,Ra=Ds,Pd=fa,Dc=G9,Ja=ca,es=Ms,jc=Fs,Pa=K9,rv=X9,Ge=tv;function js(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every(function(r,n){return js(e[n],r)}):t===e}function nv(t,e){return Pd(t,function(r){return js(r,e)})}function kt(t){var e=t?kt._parseNumbers(t):{};e.userToken!==void 0&&!rv(e.userToken)&&console.warn("[algoliasearch-helper] The `userToken` parameter is invali
16d. This can lead to wrong analytics.\n  - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=e.facets||[],this.disjunctiveFacets=e.disjunctiveFacets||[],this.hierarchicalFacets=e.hierarchicalFacets||[],this.facetsRefinements=e.facetsRefinements||{},this.facetsExcludes=e.facetsExcludes||{},this.disjunctiveFacetsRefinements=e.disjunctiveFacetsRefinements||{},this.numericRefinements=e.numericRefinements||{},this.tagRefinements=e.tagRefinements||[],this.hierarchicalFacetsRefinements=e.hierarchicalFacetsRefinements||{};var r=this;Object.keys(e).forEach(function(n){var i=kt.PARAMETERS.indexOf(n)!==-1,a=e[n]!==void 0;!i&&a&&(r[n]=e[n])})}kt.PARAMETERS=Object.keys(new kt);kt._parseNumbers=function(t){if(t instanceof kt)return t;var e={},r=["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"];if(r.forEach(function(i){var a=t[i];if(typeof a=="string"){var s=parseFloat(a);e[i]=isNaN(s)?a:s}}),Array.isArray(t.insideBoundingBox)&&(e.insideBoundingBox=t.insideBoundingBox.map(function(i){return Array.isArray(i)?i.map(function(a){return parseFloat(a)}):i})),t.numericRefinements){var n={};Object.keys(t.numericRefinements).forEach(function(i){var a=t.numericRefinements[i]||{};n[i]={},Object.keys(a).forEach(function(s){var o=a[s],l=o.map(function(u){return Array.isArray(u)?u.map(function(f){return typeof f=="string"?parseFloat(f):f}):typeof u=="string"?parseFloat(u):u});n[i][s]=l})}),e.numericRefinements=n}return Ja(t,e)};kt.make=function(e){var r=new kt(e),n=e.hierarchicalFacets||[];return n.forEach(function(i){if(i.rootPath){var a=r.getHierarchicalRefinement(i.name);a.length>0&&a[0].indexOf(i.rootPath)!==0&&(r=r.clearRefinements(i.name)),a=r.getHierarchicalRefinement(i.name),a.length===0&&(r=r.toggleHierarchicalFacetRefinement(i.name,i.rootPath))}}),r};kt.validate=function(t,e){var r=e||{};return t.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):t.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):t.numericFilters&&r.numericRefinements&&es(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):es(t.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null};kt.prototype={constructor:kt,clearRefinements:function(e){var r={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:Ge.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:Ge.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:Ge.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:Ge.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return r.numericRefinements===this.numericRefinements&&r.facetsRefinements===this.facetsRefinements&&r.facetsExcludes===this.facetsExcludes&&r.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&r.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(r)},clearTags:function(){return this.tagFilters===void 0&&this.tagRefinements.length===0?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(t,e,r){var n=Pa(r);if(this.isNumericRefined(t,e,n))return this;var i=Ja({},this.numericRefinements);return i[t]=Ja({},i[t]),i[t][e]?(i[t][e]=i[t][e].slice(),i[t][e].push(n)):i[t][e]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(t){return this.isConjunctiveFacet(t)?this.facetsRefinements[t]||[]:[]},getDisjunctiveRefinements:function(t){return this.isDisjunctiveFacet(t)?this.disjunctiveFacetsRefinements[t]||[]:[]},getHierarchicalRefinement:function(t){return this.hierarchicalFacetsRefinements[t]||[]},getExcludeRefinements:function(t){return this.isConjunctiveFacet(t)?this.facetsExcludes[t]||[]:[]},removeNumericRefinement:function(t,e,r){var n=r;return n!==void 0?this.isNumericRefined(t,e,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(i,a){return a===t&&i.op===e&&js(i.val,Pa(n))})}):this:e!==void 0?this.isNumericRefined(t,e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(i,a){return a===t&&i.op===e})}):this:this.isNumericRefined(t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(i,a){return a===t})}):this},getNumericRefinements:function(t){return this.numericRefinements[t]||{}},getNumericRefinement:function(t,e){return this.numericRefinements[t]&&this.numericRefinements[t][e]},_clearNumericRefinements:function(e){if(e===void 0)return es(this.numericRefinements)?{}:this.numericRefinements;if(typeof e=="string")return jc(this.numericRefinements,[e]);if(typeof e=="function"){var r=!1,n=this.numericRefinements,i=Object.keys(n).reduce(function(a,s){var o=n[s],l={};return o=o||{}
16,Object.keys(o).forEach(function(u){var f=o[u]||[],d=[];f.forEach(function(c){var h=e({val:c,op:u},s,"numeric");h||d.push(c)}),d.length!==f.length&&(r=!0),l[u]=d}),a[s]=l,a},{});return r?i:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return Ge.isRefined(this.facetsRefinements,e,r)?this:this.setQueryParameters({facetsRefinements:Ge.addRefinement(this.facetsRefinements,e,r)})},addExcludeRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return Ge.isRefined(this.facetsExcludes,e,r)?this:this.setQueryParameters({facetsExcludes:Ge.addRefinement(this.facetsExcludes,e,r)})},addDisjunctiveFacetRefinement:function(e,r){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return Ge.isRefined(this.disjunctiveFacetsRefinements,e,r)?this:this.setQueryParameters({disjunctiveFacetsRefinements:Ge.addRefinement(this.disjunctiveFacetsRefinements,e,r)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var r={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(r)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(r){return r!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(r){return r!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(r){return r.name!==e})}):this},removeFacetRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return Ge.isRefined(this.facetsRefinements,e,r)?this.setQueryParameters({facetsRefinements:Ge.removeRefinement(this.facetsRefinements,e,r)}):this},removeExcludeRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return Ge.isRefined(this.facetsExcludes,e,r)?this.setQueryParameters({facetsExcludes:Ge.removeRefinement(this.facetsExcludes,e,r)}):this},removeDisjunctiveFacetRefinement:function(e,r){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return Ge.isRefined(this.disjunctiveFacetsRefinements,e,r)?this.setQueryParameters({disjunctiveFacetsRefinements:Ge.removeRefinement(this.disjunctiveFacetsRefinements,e,r)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var r={tagRefinements:this.tagRefinements.filter(function(n){return n!==e})};return this.setQueryParameters(r)},toggleRefinement:function(e,r){return this.toggleFacetRefinement(e,r)},toggleFacetRefinement:function(e,r){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,r);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,r);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,r);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:Ge.toggleRefinement(this.facetsRefinements,e,r)})},toggleExcludeFacetRefinement:function(e,r){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:Ge.toggleRefinement(this.facetsExcludes,e,r)})},toggleDisjunctiveFacetRefinement:function(e,r){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:Ge.toggleRefinement(this.disjunctiveFacetsRefinements,e,r)})},toggleHierarchicalFacetRefinement:function(e,r){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={},a=this.hierarchicalFacetsRefinements[e]!==void 0&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===r||this.hierarchicalFacetsRefinements[e][0].indexOf(r+n)===0);return a?r.indexOf(n)===-1?i[e]=[]:i[e]=[r.slice(0,r.lastIndexOf(n))]:i[e]=[r],this.setQueryParameters({hierarchicalFacetsRefinements:Ra({},i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(t,e){if(this.isHierarchicalFacetRefined(t))throw new Error(t+" is already refined.");if(!this.isHierarchicalFacet(t))throw new Error(t+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[t]=[e],this.setQueryParameters({hierarchicalFacetsRefinements:Ra({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(t){if(!this.isHierarchicalFacetRefined(t))return this;var e={};return e[t]=[],this.setQueryParameters({hierarchicalFacetsRefinements:Ra({},e,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(t){return this.disjunctiveFacets.indexOf(t)>-1},isHierarchicalFacet:function(t){return this.getHierarchicalFacetByName(t)!==void 0},isConjunctiveFacet:function(t){return this.facets.indexOf(t)>-1},isFacetRefined:function(e,r){return this.isConjunctiveFacet(e)?Ge.isRefined(this.facetsRefinements,e,r):!1},isExcludeRefined:function(e,r){return this.isConjunctiveFacet(e)?Ge.isRefined(this.facetsExcludes,e,r):!1},isDisjunctiveFacetRefined:function(e,r){return this.isDisjunctiveFacet(e)?Ge.isRefined(this.disjunctiveFacetsRefinements,e,r):!1},isHierarchicalFacetRefined:function(e,r){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return r?n.indexOf(r)!==-1:n.length>0},isNumericRefined:function(e,r,n){if(n===void 0&&r===void 0)return!!this.numericRefinements[e];var i=this.numericRefinements[e]&&this.numericRefinements[e][r]!==void 0;if(n===void 0||!i)return i;var a=Pa(n),s=nv(this.numericRefinements[e][r],a)!==void 0;return i&&s},isTagRefined:function(e){return this.tagRefinements.indexOf(e)!==-1},getRefinedDisjunctiveFacets:function(){var e=this,r=Dc(Object.keys(this.numericRefinements).filter(function(n){return Object.keys(e.numericRefinements[n]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(n){return e.disjunctiveFacetsRefinements[n].length>0}).concat(r).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return Dc(this.hierarchicalFacets.map(function(r){return r.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(r){return e.hierarchicalFacetsRefinements[r].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var t=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(e){return t.indexOf(e)===-1})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,r={},n=this;
16return Object.keys(this).forEach(function(i){var a=n[i];e.indexOf(i)===-1&&a!==void 0&&(r[i]=a)}),r},setQueryParameter:function(e,r){if(this[e]===r)return this;var n={};return n[e]=r,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var r=kt.validate(this,e);if(r)throw r;var n=this,i=kt._parseNumbers(e),a=Object.keys(this).reduce(function(o,l){return o[l]=n[l],o},{}),s=Object.keys(i).reduce(function(o,l){var u=o[l]!==void 0,f=i[l]!==void 0;return u&&!f?jc(o,[l]):(f&&(o[l]=i[l]),o)},a);return new this.constructor(s)},resetPage:function(){return this.page===void 0?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(t){return t.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(t){return t.separator||" > "},_getHierarchicalRootPath:function(t){return t.rootPath||null},_getHierarchicalShowParentLevel:function(t){return typeof t.showParentLevel=="boolean"?t.showParentLevel:!0},getHierarchicalFacetByName:function(t){return Pd(this.hierarchicalFacets,function(e){return e.name===t})},getHierarchicalFacetBreadcrumb:function(t){if(!this.isHierarchicalFacet(t))return[];var e=this.getHierarchicalRefinement(t)[0];if(!e)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(t)),n=e.split(r);return n.map(function(i){return i.trim()})},toString:function(){return JSON.stringify(this,null,2)}};var Id=kt,iv=function(e){return Array.isArray(e)?e.filter(Boolean):[]},av=function(e,r){if(!Array.isArray(e))return-1;for(var n=0;n<e.length;n++)if(r(e[n]))return n;return-1},sv=fa,Hd=function(e,r){var n=(r||[]).map(function(i){return i.split(":")});return e.reduce(function(a,s){var o=s.split(":"),l=sv(n,function(u){return u[0]===o[0]});return o.length>1||!l?(a[0].push(o[0]),a[1].push(o[1]),a):(a[0].push(l[0]),a[1].push(l[1]),a)},[[],[]])};function ov(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=e!==void 0,a=e===null;if(!a&&t>e||n&&i||!r)return 1;if(!n&&t<e||a&&r||!i)return-1}return 0}function lv(t,e,r){if(!Array.isArray(t))return[];Array.isArray(r)||(r=[]);var n=t.map(function(i,a){return{criteria:e.map(function(s){return i[s]}),index:a,value:i}});return n.sort(function(a,s){for(var o=-1;++o<a.criteria.length;){var l=ov(a.criteria[o],s.criteria[o]);if(l)return o>=r.length?l:r[o]==="desc"?-l:l}return a.index-s.index}),n.map(function(i){return i.value})}var Ad=lv,uv=pv,Vd=Vs,cv=fa,fv=Hd,dv=Ad,hv=Vd.escapeFacetValue,mv=Vd.unescapeFacetValue;function pv(t){return function(r,n){var i=t.hierarchicalFacets[n],a=t.hierarchicalFacetsRefinements[i.name]&&t.hierarchicalFacetsRefinements[i.name][0]||"",s=t._getHierarchicalFacetSeparator(i),o=t._getHierarchicalRootPath(i),l=t._getHierarchicalShowParentLevel(i),u=fv(t._getHierarchicalFacetSortBy(i)),f=r.every(function(h){return h.exhaustive}),d=gv(u,s,o,l,a),c=r;return o&&(c=r.slice(o.split(s).length)),c.reduce(d,{name:t.hierarchicalFacets[n].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:f,data:null})}}function gv(t,e,r,n,i){return function(s,o,l){var u=s;if(l>0){var f=0;for(u=s;f<l;){var d=u&&Array.isArray(u.data)?u.data:[];u=cv(d,function(h){return h.isRefined}),f++}}if(u){var c=Object.keys(o.data).map(function(h){return[h,o.data[h]]}).filter(function(h){var p=h[0];return vv(p,u.path||r,i,e,r,n)});u.data=dv(c.map(function(h){var p=h[0],g=h[1];return _v(g,p,e,mv(i),o.exhaustive)}),t[0],t[1])}return s}}function vv(t,e,r,n,i,a){return i&&(t.indexOf(i)!==0||i===t)?!1:!i&&t.indexOf(n)===-1||i&&t.split(n).length-i.split(n).length===1||t.indexOf(n)===-1&&r.indexOf(n)===-1||r.indexOf(t)===0||t.indexOf(e+n)===0&&(a||t.indexOf(r)===0)}function _v(t,e,r,n,i){var a=e.split(r);return{name:a[a.length-1].trim(),path:e,escapedValue:hv(e),count:t,isRefined:n===e||n.indexOf(e+r)===0,exhaustive:i,data:null}}var Ia=iv,Wi=Ds,Nd=Vs,Wt=fa,On=av,bv=Hd,Uc=ca,Md=Ad,xc=Nd.escapeFacetValue,Fd=Nd.unescapeFacetValue,yv=uv;function Bc(t){var e={};return t.forEach(function(r,n){e[r]=n}),e}function Ha(t,e,r){e&&e[r]&&(t.stats=e[r])}function Cv(t,e){return Wt(t,function(n){var i=n.attributes||[];return i.indexOf(e)>-1})}function Cr(t,e,r){var n=e[0];this._rawResults=e;var i=this;
16Object.keys(n).forEach(function(d){i[d]=n[d]});var a=Uc({persistHierarchicalRootCount:!1},r);Object.keys(a).forEach(function(d){i[d]=a[d]}),this.processingTimeMS=e.reduce(function(d,c){return c.processingTimeMS===void 0?d:d+c.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=t.hierarchicalFacets.map(function(){return[]}),this.facets=[];var s=t.getRefinedDisjunctiveFacets(),o=Bc(t.facets),l=Bc(t.disjunctiveFacets),u=1,f=n.facets||{};Object.keys(f).forEach(function(d){var c=f[d],h=Cv(t.hierarchicalFacets,d);if(h){var p=h.attributes.indexOf(d),g=On(t.hierarchicalFacets,function(C){return C.name===h.name});i.hierarchicalFacets[g][p]={attribute:d,data:c,exhaustive:n.exhaustiveFacetsCount}}else{var b=t.disjunctiveFacets.indexOf(d)!==-1,v=t.facets.indexOf(d)!==-1,y;b&&(y=l[d],i.disjunctiveFacets[y]={name:d,data:c,exhaustive:n.exhaustiveFacetsCount},Ha(i.disjunctiveFacets[y],n.facets_stats,d)),v&&(y=o[d],i.facets[y]={name:d,data:c,exhaustive:n.exhaustiveFacetsCount},Ha(i.facets[y],n.facets_stats,d))}}),this.hierarchicalFacets=Ia(this.hierarchicalFacets),s.forEach(function(d){var c=e[u],h=c&&c.facets?c.facets:{},p=t.getHierarchicalFacetByName(d);Object.keys(h).forEach(function(g){var b=h[g],v;if(p){v=On(t.hierarchicalFacets,function(k){return k.name===p.name});var y=On(i.hierarchicalFacets[v],function(k){return k.attribute===g});if(y===-1)return;i.hierarchicalFacets[v][y].data=Uc({},i.hierarchicalFacets[v][y].data,b)}else{v=l[g];var C=n.facets&&n.facets[g]||{};i.disjunctiveFacets[v]={name:g,data:Wi({},b,C),exhaustive:c.exhaustiveFacetsCount},Ha(i.disjunctiveFacets[v],c.facets_stats,g),t.disjunctiveFacetsRefinements[g]&&t.disjunctiveFacetsRefinements[g].forEach(function(k){!i.disjunctiveFacets[v].data[k]&&t.disjunctiveFacetsRefinements[g].indexOf(Fd(k))>-1&&(i.disjunctiveFacets[v].data[k]=0)})}}),u++}),t.getRefinedHierarchicalFacets().forEach(function(d){var c=t.getHierarchicalFacetByName(d),h=t._getHierarchicalFacetSeparator(c),p=t.getHierarchicalRefinement(d);p.length===0||p[0].split(h).length<2||e.slice(u).forEach(function(g){var b=g&&g.facets?g.facets:{};Object.keys(b).forEach(function(v){var y=b[v],C=On(t.hierarchicalFacets,function(T){return T.name===c.name}),k=On(i.hierarchicalFacets[C],function(T){return T.attribute===v});if(k!==-1){var E={};if(p.length>0&&!i.persistHierarchicalRootCount){var L=p[0].split(h)[0];E[L]=i.hierarchicalFacets[C][k].data[L]}i.hierarchicalFacets[C][k].data=Wi(E,y,i.hierarchicalFacets[C][k].data)}}),u++})}),Object.keys(t.facetsExcludes).forEach(function(d){var c=t.facetsExcludes[d],h=o[d];i.facets[h]={name:d,data:f[d],exhaustive:n.exhaustiveFacetsCount},c.forEach(function(p){i.facets[h]=i.facets[h]||{name:d},i.facets[h].data=i.facets[h].data||{},i.facets[h].data[p]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(yv(t)),this.facets=Ia(this.facets),this.disjunctiveFacets=Ia(this.disjunctiveFacets),this._state=t}Cr.prototype.getFacetByName=function(t){function e(r){return r.name===t}return Wt(this.facets,e)||Wt(this.disjunctiveFacets,e)||Wt(this.hierarchicalFacets,e)};function wv(t,e){function r(f){return f.name===e}if(t._state.isConjunctiveFacet(e)){var n=Wt(t.facets,r);return n?Object.keys(n.data).map(function(f){var d=xc(f);return{name:f,escapedValue:d,count:n.data[f],isRefined:t._state.isFacetRefined(e,d),isExcluded:t._state.isExcludeRefined(e,f)}}):[]}else if(t._state.isDisjunctiveFacet(e)){var i=Wt(t.disjunctiveFacets,r);return i?Object.keys(i.data).map(function(f){var d=xc(f);return{name:f,escapedValue:d,count:i.data[f],isRefined:t._state.isDisjunctiveFacetRefined(e,d)}}):[]}else if(t._state.isHierarchicalFacet(e)){var a=Wt(t.hierarchicalFacets,r);if(!a)return a;var s=t._state.getHierarchicalFacetByName(e),o=t._state._getHierarchicalFacetSeparator(s),l=Fd(t._state.getHierarchicalRefinement(e)[0]||"");l.indexOf(s.rootPath)===0&&(l=l.replace(s.rootPath+o,""));var u=l.split(o);return u.unshift(e),Dd(a,u,0),a}}function Dd(t,e,r){t.isRefined=t.name===(e[r]&&e[r].trim()),t.data&&t.data.forEach(function(n){Dd(n,e,r+1)})}function jd(t,e,r,n){if(n=n||0,Array.isArray(e))return t(e,r[n]);if(!e.data||e.data.length===0)return e;var i=e.data.map(function(o){return jd(t,o,r,n+1)}),a=t(i,r[n]),s=Wi({data:a},e);return s}
16Cr.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"];function Sv(t,e){return e.sort(t)}function Ev(t,e){var r=[],n=[],i=e.order||[],a=i.reduce(function(l,u,f){return l[u]=f,l},{});t.forEach(function(l){var u=l.path||l.name;a[u]!==void 0?r[a[u]]=l:n.push(l)}),r=r.filter(function(l){return l});var s=e.sortRemainingBy,o;return s==="hidden"?r:(s==="alpha"?o=[["path","name"],["asc","asc"]]:o=[["count"],["desc"]],r.concat(Md(n,o[0],o[1])))}function Tv(t,e){return t.renderingContent&&t.renderingContent.facetOrdering&&t.renderingContent.facetOrdering.values&&t.renderingContent.facetOrdering.values[e]}Cr.prototype.getFacetValues=function(t,e){var r=wv(this,t);if(r){var n=Wi({},e,{sortBy:Cr.DEFAULT_SORT,facetOrdering:!(e&&e.sortBy)}),i=this,a;if(Array.isArray(r))a=[t];else{var s=i._state.getHierarchicalFacetByName(r.name);a=s.attributes}return jd(function(o,l){if(n.facetOrdering){var u=Tv(i,l);if(u)return Ev(o,u)}if(Array.isArray(n.sortBy)){var f=bv(n.sortBy,Cr.DEFAULT_SORT);return Md(o,f[0],f[1])}else if(typeof n.sortBy=="function")return Sv(n.sortBy,o);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,a)}};Cr.prototype.getFacetStats=function(t){if(this._state.isConjunctiveFacet(t))return zc(this.facets,t);if(this._state.isDisjunctiveFacet(t))return zc(this.disjunctiveFacets,t)};function zc(t,e){var r=Wt(t,function(n){return n.name===e});return r&&r.stats}Cr.prototype.getRefinements=function(){var t=this._state,e=this,r=[];return Object.keys(t.facetsRefinements).forEach(function(n){t.facetsRefinements[n].forEac
16h(function(i){r.push(Aa(t,"facet",n,i,e.facets))})}),Object.keys(t.facetsExcludes).forEach(function(n){t.facetsExcludes[n].forEach(function(i){r.push(Aa(t,"exclude",n,i,e.facets))})}),Object.keys(t.disjunctiveFacetsRefinements).forEach(function(n){t.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(Aa(t,"disjunctive",n,i,e.disjunctiveFacets))})}),Object.keys(t.hierarchicalFacetsRefinements).forEach(function(n){t.hierarchicalFacetsRefinements[n].forEach(function(i){r.push(kv(t,n,i,e.hierarchicalFacets))})}),Object.keys(t.numericRefinements).forEach(function(n){var i=t.numericRefinements[n];Object.keys(i).forEach(function(a){i[a].forEach(function(s){r.push({type:"numeric",attributeName:n,name:s,numericValue:s,operator:a})})})}),t.tagRefinements.forEach(function(n){r.push({type:"tag",attributeName:"_tags",name:n})}),r};function Aa(t,e,r,n,i){var a=Wt(i,function(l){return l.name===r}),s=a&&a.data&&a.data[n]?a.data[n]:0,o=a&&a.exhaustive||!1;return{type:e,attributeName:r,name:n,count:s,exhaustive:o}}function kv(t,e,r,n){var i=t.getHierarchicalFacetByName(e),a=t._getHierarchicalFacetSeparator(i),s=r.split(a),o=Wt(n,function(c){return c.name===e}),l=s.reduce(function(c,h){var p=c&&Wt(c.data,function(g){return g.name===h});return p!==void 0?p:c},o),u=l&&l.count||0,f=l&&l.exhaustive||!1,d=l&&l.path||"";return{type:"hierarchical",attributeName:e,name:d,count:u,exhaustive:f}}var Ud=Cr,xd="3.19.0",Lv=As,Ov=U9,Rv=Vs.escapeFacetValue,Pv=Ld,Iv=ca,Hv=Ms,Av=Fs,Bd=Od,un=q9,Us=Id,ts=Ud,zd=xd;function te(t,e,r,n){typeof t.addAlgoliaAgent=="function"&&t.addAlgoliaAgent("JS Helper ("+zd+")"),this.setClient(t);var i=r||{};i.index=e,this.state=Us.make(i),this.recommendState=new Bd({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n}Pv(te,Lv);te.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this};te.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this};te.prototype.recommend=function(){return this._recommend(),this};te.prototype.getQuery=function(){var t=this.state;return un._getHitsSearchParams(t)};te.prototype.searchOnce=function(t,e){var r=t?this.state.setQueryParameters(t):this.state,n=un._getQueries(r.index,r),i=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),e){this.client.search(n).then(function(a){i._currentNbQueries--,i._currentNbQueries===0&&i.emit("searchQueueEmpty"),e(null,new ts(r,a.results),r)}).catch(function(a){i._currentNbQueries--,i._currentNbQueries===0&&i.emit("searchQueueEmpty"),e(a,null,r)});return}return this.client.search(n).then(function(a){return i._currentNbQueries--,i._currentNbQueries===0&&i.emit("searchQueueEmpty"),{content:new ts(r,a.results),state:r,_originalResponse:a}},function(a){throw i._currentNbQueries--,i._currentNbQueries===0&&i.emit("searchQueueEmpty"),a})};te.prototype.findAnswers=function(t){console.warn("[algoliasearch-helper] answers is no longer supported");var e=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(e),i=Iv({attributesForPrediction:t.attributesForPrediction,nbHits:t.nbHits},{params:Av(un._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if(typeof this.client.initIndex!="function")throw new Error(a);var s=this.client.initIndex(n.index);if(typeof s.findAnswers!="function")throw new Error(a);return s.findAnswers(n.query,t.queryLanguages,i)};te.prototype.searchForFacetValues=function(t,e,r,n){var i=typeof this.client.searchForFacetValues=="function",a=typeof this.client.initIndex=="function";if(!i&&!a&&typeof this.client.search!="function")throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var s=this.state.setQueryParameters(n||{}),o=s.isDisjunctiveFacet(t),l=un.getSearchForFacetQuery(t,e,r,s);this._currentNbQueries++;var u=this,f;return i?f=this.client.searchForFacetValues([{indexName:s.index,params:l}]):a?f=this.client.initIndex(s.index).searchForFacetValues(l):(delete l.facetName,f=this.client.search([{type:"facet",facet:t,indexName:s.index,params:l}]).then(function(c){return c.results[0]}
16)),this.emit("searchForFacetValues",{state:s,facet:t,query:e}),f.then(function(c){return u._currentNbQueries--,u._currentNbQueries===0&&u.emit("searchQueueEmpty"),c=Array.isArray(c)?c[0]:c,c.facetHits.forEach(function(h){h.escapedValue=Rv(h.value),h.isRefined=o?s.isDisjunctiveFacetRefined(t,h.escapedValue):s.isFacetRefined(t,h.escapedValue)}),c},function(d){throw u._currentNbQueries--,u._currentNbQueries===0&&u.emit("searchQueueEmpty"),d})};te.prototype.setQuery=function(t){return this._change({state:this.state.resetPage().setQuery(t),isPageReset:!0}),this};te.prototype.clearRefinements=function(t){return this._change({state:this.state.resetPage().clearRefinements(t),isPageReset:!0}),this};te.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this};te.prototype.addDisjunctiveFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)};te.prototype.addHierarchicalFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.addNumericRefinement=function(t,e,r){return this._change({state:this.state.resetPage().addNumericRefinement(t,e,r),isPageReset:!0}),this};te.prototype.addFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().addFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)};te.prototype.addFacetExclusion=function(t,e){return this._change({state:this.state.resetPage().addExcludeRefinement(t,e),isPageReset:!0}),this};te.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)};te.prototype.addTag=function(t){return this._change({state:this.state.resetPage().addTagRefinement(t),isPageReset:!0}),this};te.prototype.addFrequentlyBoughtTogether=function(t){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(t)}),this};te.prototype.addRelatedProducts=function(t){return this._recommendChange({state:this.recommendState.addRelatedProducts(t)}),this};te.prototype.addTrendingItems=function(t){return this._recommendChange({state:this.recommendState.addTrendingItems(t)}),this};te.prototype.addTrendingFacets=function(t){return this._recommendChange({state:this.recommendState.addTrendingFacets(t)}),this};te.prototype.addLookingSimilar=function(t){return this._recommendChange({state:this.recommendState.addLookingSimilar(t)}),this};te.prototype.removeNumericRefinement=function(t,e,r){return this._change({state:this.state.resetPage().removeNumericRefinement(t,e,r),isPageReset:!0}),this};te.prototype.removeDisjunctiveFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)};te.prototype.removeHierarchicalFacetRefinement=function(t){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(t),isPageReset:!0}),this};te.prototype.removeFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().removeFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)};te.prototype.removeFacetExclusion=function(t,e){return this._change({state:this.state.resetPage().removeExcludeRefinement(t,e),isPageReset:!0}),this};te.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)};te.prototype.removeTag=function(t){return this._change({state:this.state.resetPage().removeTagRefinement(t),isPageReset:!0}),this};te.prototype.removeFrequentlyBoughtTogether=function(t){return this._recommendChange({state:this.recommendState.removeParams(t)}),this};te.prototype.removeRelatedProducts=function(t){return this._recommendChange({state:this.recommendState.removeParam
16s(t)}),this};te.prototype.removeTrendingItems=function(t){return this._recommendChange({state:this.recommendState.removeParams(t)}),this};te.prototype.removeTrendingFacets=function(t){return this._recommendChange({state:this.recommendState.removeParams(t)}),this};te.prototype.removeLookingSimilar=function(t){return this._recommendChange({state:this.recommendState.removeParams(t)}),this};te.prototype.toggleFacetExclusion=function(t,e){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)};te.prototype.toggleRefinement=function(t,e){return this.toggleFacetRefinement(t,e)};te.prototype.toggleFacetRefinement=function(t,e){return this._change({state:this.state.resetPage().toggleFacetRefinement(t,e),isPageReset:!0}),this};te.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)};te.prototype.toggleTag=function(t){return this._change({state:this.state.resetPage().toggleTagRefinement(t),isPageReset:!0}),this};te.prototype.nextPage=function(){var t=this.state.page||0;return this.setPage(t+1)};te.prototype.previousPage=function(){var t=this.state.page||0;return this.setPage(t-1)};function $d(t){if(t<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(t),isPageReset:!1}),this}te.prototype.setCurrentPage=$d;te.prototype.setPage=$d;te.prototype.setIndex=function(t){return this._change({state:this.state.resetPage().setIndex(t),isPageReset:!0}),this};te.prototype.setQueryParameter=function(t,e){return this._change({state:this.state.resetPage().setQueryParameter(t,e),isPageReset:!0}),this};te.prototype.setState=function(t){return this._change({state:Us.make(t),isPageReset:!1}),this};te.prototype.overrideStateWithoutTriggeringChangeEvent=function(t){return this.state=new Us(t),this};te.prototype.hasRefinements=function(t){return Hv(this.state.getNumericRefinements(t))?!0:this.state.isConjunctiveFacet(t)?this.state.isFacetRefined(t):this.state.isDisjunctiveFacet(t)?this.state.isDisjunctiveFacetRefined(t):this.state.isHierarchicalFacet(t)?this.state.isHierarchicalFacetRefined(t):!1};te.prototype.isExcluded=function(t,e){return this.state.isExcludeRefined(t,e)};te.prototype.isDisjunctiveRefined=function(t,e){return this.state.isDisjunctiveFacetRefined(t,e)};te.prototype.hasTag=function(t){return this.state.isTagRefined(t)};te.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)};te.prototype.getIndex=function(){return this.state.index};function Zd(){return this.state.page}te.prototype.getCurrentPage=Zd;te.prototype.getPage=Zd;te.prototype.getTags=function(){return this.state.tagRefinements};te.prototype.getRefinements=function(t){var e=[];if(this.state.isConjunctiveFacet(t)){var r=this.state.getConjunctiveRefinements(t);r.forEach(function(s){e.push({value:s,type:"conjunctive"})});var n=this.state.getExcludeRefinements(t);n.forEach(function(s){e.push({value:s,type:"exclude"})})}else if(this.state.isDisjunctiveFacet(t)){var i=this.state.getDisjunctiveRefinements(t);i.forEach(function(s){e.push({value:s,type:"disjunctive"})})}var a=this.state.getNumericRefinements(t);return Object.keys(a).forEach(function(s){var o=a[s];e.push({value:o,operator:s,type:"numeric"})}),e};te.prototype.getNumericRefinement=function(t,e){return this.state.getNumericRefinement(t,e)};te.prototype.getHierarchicalFacetBreadcrumb=function(t){return this.state.getHierarchicalFacetBreadcrumb(t)};te.prototype._search=function(t){var e=this.state,r=[],n=[];t.onlyWithDerivedHelpers||(n=un._getQueries(e.index,e),r.push({state:e,queriesCount:n.length,helper:this}),this.emit("search",{state:e,results:this.lastResults}));var i=this.derivedHelpers.map(function(o){var l=o.getModifiedState(e),u=l.index?un._getQueries(l.index,l):[];return r.push({state:l,queriesCount:u.length,helper:o}),o.emit("search",{state:l,results:o.lastResults}),u}),a=Array.prototype.concat.apply(n,i),s=this._queryId++;if(this._currentNbQueries++,!a.length)return Promise.resolve({results:[]}
16).then(this._dispatchAlgoliaResponse.bind(this,r,s));try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,s)).catch(this._dispatchAlgoliaError.bind(this,s))}catch(o){this.emit("error",{error:o})}};te.prototype._recommend=function(){var t=this.state,e=this.recommendState,r=this.getIndex(),n=[{state:e,index:r,helper:this}];this.emit("fetch",{recommend:{state:e,results:this.lastRecommendResults}});var i=this.derivedHelpers.map(function(o){var l=o.getModifiedState(t).index;if(!l)return[];var u=o.getModifiedRecommendState(new Bd);return n.push({state:u,index:l,helper:o}),o.emit("fetch",{recommend:{state:u,results:o.lastRecommendResults}}),u._buildQueries(l)}),a=Array.prototype.concat.apply(this.recommendState._buildQueries(r),i);if(a.length!==0){if(a.length>0&&typeof this.client.getRecommendations>"u"){console.warn("Please update algoliasearch/lite to the latest version in order to use recommendations widgets.");return}var s=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(a).then(this._dispatchRecommendResponse.bind(this,s,n)).catch(this._dispatchRecommendError.bind(this,s))}catch(o){this.emit("error",{error:o})}}};te.prototype._dispatchAlgoliaResponse=function(t,e,r){var n=this;if(!(e<this._lastQueryIdReceived)){this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this._currentNbQueries===0&&this.emit("searchQueueEmpty");var i=r.results.slice();t.forEach(function(a){var s=a.state,o=a.queriesCount,l=a.helper,u=i.splice(0,o);if(!s.index){l.emit("result",{results:null,state:s});return}l.lastResults=new ts(s,u,n._searchResultsOptions),l.emit("result",{results:l.lastResults,state:s})})}};te.prototype._dispatchRecommendResponse=function(t,e,r){if(!(t<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=t-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=t,this._currentNbRecommendQueries===0&&this.emit("recommendQueueEmpty");var n=r.results.slice();e.forEach(function(i){var a=i.state,s=i.helper;if(!i.index){s.emit("recommend:result",{results:null,state:a});return}s.lastRecommendResults=n,s.emit("recommend:result",{recommend:{results:s.lastRecommendResults,state:a}})})}};te.prototype._dispatchAlgoliaError=function(t,e){t<this._lastQueryIdReceived||(this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,this.emit("error",{error:e}),this._currentNbQueries===0&&this.emit("searchQueueEmpty"))};te.prototype._dispatchRecommendError=function(t,e){t<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=t-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=t,this.emit("error",{error:e}),this._currentNbRecommendQueries===0&&this.emit("recommendQueueEmpty"))};te.prototype.containsRefinement=function(t,e,r,n){return t||e.length!==0||r.length!==0||n.length!==0};te.prototype._hasDisjunctiveRefinements=function(t){return this.state.disjunctiveRefinements[t]&&this.state.disjunctiveRefinements[t].length>0};te.prototype._change=function(t){var e=t.state,r=t.isPageReset;e!==this.state&&(this.state=e,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))};te.prototype._recommendChange=function(t){var e=t.state;e!==this.recommendState&&(this.recommendState=e,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))};te.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this};te.prototype.setClient=function(t){return this.client===t?this:(typeof t.addAlgoliaAgent=="function"&&t.addAlgoliaAgent("JS Helper ("+zd+")"),this.client=t,this)};te.prototype.getClient=function(){return this.client};te.prototype.derive=function(t,e){var r=new Ov(this,t,e);return this.derivedHelpers.push(r),r};te.prototype.detachDerivedHelper=function(t){var e=this.derivedHelpers.indexOf(t);if(e===-1)throw new Error("Derived helper already detached");this.derivedHelpers.splice(e,1)};te.prototype.hasPendingRequests=function(){return this._currentNbQueries>0};var Vv=te,Wd=Vv,Nv=Od,Mv=Id,Fv=Ud;function bn(t,e,r,n){return new Wd(t,e,r,n)}bn.version=xd;bn.AlgoliaSearchHelper=Wd;bn.SearchParameters=Mv;bn.RecommendParameters=Nv;bn.SearchResults=Fv;var Dv=bn;const Nt=gn(Dv);function ei(t){"@babel/helpers - typeof";return ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ei(t)}function $c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Vr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
16e%2?$c(Object(r),!0).forEach(function(n){jv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jv(t,e,r){return e=Uv(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Uv(t){var e=xv(t,"string");return ei(e)==="symbol"?e:String(e)}function xv(t,e){if(ei(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ei(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Mn(t,e){return $v(t)||zv(t,e)||qd(t,e)||Bv()}function Bv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zv(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==e);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}function $v(t){if(Array.isArray(t))return t}function Zv(t){return Qv(t)||qv(t)||qd(t)||Wv()}function Wv(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qd(t,e){if(t){if(typeof t=="string")return rs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rs(t,e)}}function qv(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qv(t){if(Array.isArray(t))return rs(t)}function rs(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Qd="2.13.0",Gv="https://cdn.jsdelivr.net/npm/search-insights@".concat(Qd,"/dist/search-insights.min.js");function ns(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.insightsClient,r=t.insightsInitParams,n=t.onEvent,i=t.$$internal,a=i===void 0?!1:i,s=t.$$automatic,o=s===void 0?!1:s,l=e;!e&&e!==null&&er(function(f){var d=f.window,c=d.AlgoliaAnalyticsObject||"aa";typeof c=="string"&&(l=d[c]),l||(d.AlgoliaAnalyticsObject=c,d[c]||(d[c]=function(){d[c].queue||(d[c].queue=[]);for(var h=arguments.length,p=new Array(h),g=0;g<h;g++)p[g]=arguments[g];d[c].queue.push(p)},d[c].version=Qd,d[c].shouldAddScript=!0),l=d[c])});var u=l||Et;return function(f){var d=f.instantSearchInstance,c=d.middleware.filter(function(H){return H.instance.$$type==="ais.insights"&&H.instance.$$internal}).map(function(H){return H.creator});d.unuse.apply(d,Zv(c));var h=N8(d.client),p=Mn(h,2),g=p[0],b=p[1],v=void 0,y=void 0,C=void 0,k=void 0,E=u.queue;if(Array.isArray(E)){var L=["setUserToken","setAuthenticatedUserToken"].map(function(H){var M=A8(E.slice().reverse(),function(D){var W=Mn(D,1),Y=W[0];return Y===H})||[],N=Mn(M,2),F=N[1];return F}),T=Mn(L,2);v=T[0],y=T[1]}u("getUserToken",null,function(H,M){C=Va(M)}),u("getAuthenticatedUserToken",null,function(H,M){k=Va(M)}),(r||!Zc(u))&&u("init",Vr({appId:g,apiKey:b,partial:!0},r));var O,P;return{$$type:"ais.insights",$$internal:a,$$automatic:o,onStateChange:function(){},subscribe:function(){if(u.shouldAddScript){var M="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var N=document.createElement("script");N.async=!0,N.src=Gv,N.onerror=function(){d.emit("error",new Error(M))},document.body.appendChild(N),u.shouldAddScript=!1}catch{u.shouldAddScript=!1,d.emit("error",new Error(M))}}},started:function(){u("addAlgoliaAgent","insights-middleware"),P=d.mainHelper,O={userToken:P.state.userToken,clickAnalytics:P.state.clickAnalytics},o||P.overrideStateWithoutTriggeringChangeEvent(Vr(Vr({},P.state),{},{clickAnalytics:!0})),a||d.scheduleSearch();var M=function(_e){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=Va(_e);if(!pe)return;var et=P.state.userToken;function xe(){P.overrideStateWithoutTriggeringChangeEvent(Vr(Vr({},P.state),{},{userToken:pe})),et&&et!==_e&&d.scheduleSearch()}Ie?xe():setTimeout(xe,0)},N=Td();N&&M(N,!0);function F(le,_e,Ie){M(le,!0),_e&&u("setUserToken",_e),Ie&&u("setAuthenticatedUserToken",Ie)}var D=k||C,W=y||v;D?F(D,C,k):W&&F(W,v,y),u("onUserTokenChange",M,{immediate:!0}),u("onAuthenticatedUserTokenChange",function(le){le||u("getUserToken",null,function(_e,Ie){M(Ie)}),M(le)},{immediate:!0});var Y=u;Zc(u)&&(Y=function(_e,Ie){var pe={headers:{"X-Algolia-Application-Id":g,"X-Algolia-API-Key":b}};return u(_e,Ie,pe)}),d.sendEventToInsights=function(le){n?n(le,Y):le.insightsMethod&&(le.payload.algoliaSource=["instantsearch"],o&&le.payload.algoliaSource.pu
18sh("instantsearch-automatic"),le.eventModifier==="internal"&&le.payload.algoliaSource.push("instantsearch-internal"),Y(le.insightsMethod,le.payload))}},unsubscribe:function(){u("onUserTokenChange",void 0),u("onAuthenticatedUserTokenChange",void 0),d.sendEventToInsights=Et,P&&O&&(P.overrideStateWithoutTriggeringChangeEvent(Vr(Vr({},P.state),O)),d.scheduleSearch())}}}}function Zc(t){var e=(t.version||"").split(".").map(Number),r=Mn(e,2),n=r[0],i=r[1],a=n>=3,s=n===2&&i>=6,o=n===1&&i>=10;return a||s||o}function Va(t){if(t)return typeof t=="number"?t.toString():t}function Gd(t,e,r){var n=Vn(e,e.mainIndex,e._initialUiState);t.forEach(function(i){var a={};if(i.getWidgetRenderState){var s=i.getWidgetRenderState(n);s&&s.widgetParams&&(a=s.widgetParams)}var o=Object.keys(a).filter(function(l){return a[l]!==void 0});r.widgets.push({type:i.$$type,widgetType:i.$$widgetType,params:o}),i.$$type==="ais.index"&&Gd(i.getWidgets(),e,r)})}function Kv(){return er(function(t){var e,r,n=t.window;return((e=n.navigator)===null||e===void 0||(r=e.userAgent)===null||r===void 0?void 0:r.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})}function Xv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.$$internal,r=e===void 0?!1:e;return function(n){var i=n.instantSearchInstance,a={widgets:[]},s=document.createElement("meta"),o=document.querySelector("head");return s.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){var u=i.client;a.ua=u.transporter&&u.transporter.userAgent?u.transporter.userAgent.value:u._ua,Gd(i.mainIndex.getWidgets(),i,a),i.middleware.forEach(function(f){return a.widgets.push({middleware:!0,type:f.instance.$$type,internal:f.instance.$$internal})}),s.content=JSON.stringify(a),o.appendChild(s)},0)},started:function(){},unsubscribe:function(){s.remove()}}}}var Yv=String.prototype.replace,Jv=/%20/g,Na={RFC1738:"RFC1738",RFC3986:"RFC3986"},xs={default:Na.RFC3986,formatters:{RFC1738:function(t){return Yv.call(t,Jv,"+")},RFC3986:function(t){return String(t)}},RFC1738:Na.RFC1738,RFC3986:Na.RFC3986},e_=xs,Ma=Object.prototype.hasOwnProperty,Fr=Array.isArray,Xt=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),t_=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Fr(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},Kd=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},r_=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Fr(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ma.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Fr(e)&&!Fr(r)&&(i=Kd(e,n)),Fr(e)&&Fr(r)?(r.forEach(function(a,s){if(Ma.call(e,s)){var o=e[s];o&&typeof o=="object"&&a&&typeof a=="object"?e[s]=t(o,a,n):e.push(a)}else e[s]=a}),e):Object.keys(r).reduce(function(a,s){var o=r[s];return Ma.call(a,s)?a[s]=t(a[s],o,n):a[s]=o,a},i)},n_=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},i_=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},a_=function(e,r,n,i,a){if(e.length===0)return e;var s=e;if(typeof e=="symbol"?s=Symbol.prototype.toString.call(e):typeof e!="string"&&(s=String(e)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var o="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===e_.RFC1738&&(u===40||u===41)){o+=s.charAt(l);continue}if(u<128){o=o+Xt[u];continue}if(u<2048){o=o+(Xt[192|u>>6]+Xt[128|u&63]);continue}if(u<55296||u>=57344){o=o+(Xt[224|u>>12]+Xt[128|u>>6&63]+Xt[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|s.charCodeAt(l)&1023),o+=Xt[240|u>>18]+Xt[128|u>>12&63]+Xt[128|u>>6&63]+Xt[128|u&63]}return o},s_=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],s=a.obj[a.prop],o=Object.keys(s),l=0;l<o.length;++l){var u=o[l],f=s[u];typeof f=="object"&&f!==null&&n.indexOf(f)===-1&&(r.push({obj:s,prop:u}),n.push(f))}return t_(r),e},o_=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},l_=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},u_=function(e,r){return[].concat(e,r)},c_=function(e,r){if(Fr(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},Xd={arrayToObject:Kd,assign:n_,combine:u_,compact:s_,decode:i_,encode:a_,isBuffer:l_,isRegExp:o_,maybeMap:c_,merge:r_},is=Xd,jn=xs,f_=Object.prototype.hasOwnProperty,Wc={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},Ur=Array.isArray,d_=String.prototype.split,h_=Array.prototype.push,Yd=function(t,e){h_.apply(t,Ur(e)?e:[e])},m_=Date.prototype.toISOString,qc=jn.default,ut={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:is.encode,encodeValuesOnly:!1,format:qc,formatter:jn.formatters[qc],indices:!1,serializeDate:function(e){return m_.call(e)},skipNulls:!1,strictNullHandling:!1},p_=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},g_=function t(e,r,n,i,a,s,o,l,u,f,d,c,h,p){var g=e;if(typeof o=="function"?g=o(r,g):g instanceof Date?g=f(g):n==="comma"&&Ur(g)&&(g=is.maybeMap(g,function(M){return M instanceof Date?f(M):M})),g===null){if(i)return s&&!h?s(r,ut.encoder,p,"key",d):r;g=""}if(p_(g)||is.isBuffer(g)){if(s){var b=h?r:s(r,ut.encoder,p,"key",d);if(n==="comma"&&h){for(var v=d_.call(String(g),","),y="",C=0;C<v.length;++C)y+=(C===0?"":",")+c(s(v[C],ut.encoder,p,"value",d));return[c(b)+"="+y]}return[c(b)+"="+c(s(g,ut.encoder,p,"value",d))]}return[c(r)+"="+c(String(g))]}var k=[];if(typeof g>"u")return k;var E;if(n==="comma"&&Ur(g))E=[{value:g.length>0?g.join(",")||null:void 0}];else if(Ur(o))E=o;else{var L=Object.keys(g);E=l?L.sort(l):L}for(var T=0;T<E.length;++T){var O=E[T],P=typeof O=="object"&&typeof O.value<"u"?O.value:g[O];
vendor: 4,634 bytes, line 18
18if(!(a&&P===null)){var H=Ur(g)?typeof n=="function"?n(r,O):r:r+(u?"."+O:"["+O+"]");Yd(k,t(P,H,n,i,a,s,o,l,u,f,d,c,h,p))}}return k},v_=function(e){if(!e)return ut;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||ut.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=jn.default;if(typeof e.format<"u"){if(!f_.call(jn.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=jn.formatters[n],a=ut.filter;return(typeof e.filter=="function"||Ur(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ut.addQueryPrefix,allowDots:typeof e.allowDots>"u"?ut.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ut.charsetSentinel,delimiter:typeof e.delimiter>"u"?ut.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ut.encode,encoder:typeof e.encoder=="function"?e.encoder:ut.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ut.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ut.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ut.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ut.strictNullHandling}},__=function(t,e){var r=t,n=v_(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Ur(n.filter)&&(a=n.filter,i=a);var s=[];if(typeof r!="object"||r===null)return"";var o;e&&e.arrayFormat in Wc?o=e.arrayFormat:e&&"indices"in e?o=e.indices?"indices":"repeat":o="indices";var l=Wc[o];i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=0;u<i.length;++u){var f=i[u];n.skipNulls&&r[f]===null||Yd(s,g_(r[f],f,l,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset))}var d=s.join(n.delimiter),c=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),d.length>0?c+d:""},cn=Xd,as=Object.prototype.hasOwnProperty,b_=Array.isArray,lt={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:cn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},y_=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Jd=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},C_="utf8=%26%2310003%3B",w_="utf8=%E2%9C%93",S_=function(e,r){var n={},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,s=i.split(r.delimiter,a),o=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<s.length;++l)s[l].indexOf("utf8=")===0&&(s[l]===w_?u="utf-8":s[l]===C_&&(u="iso-8859-1"),o=l,l=s.length);for(l=0;l<s.length;++l)if(l!==o){var f=s[l],d=f.indexOf("]="),c=d===-1?f.indexOf("="):d+1,h,p;c===-1?(h=r.decoder(f,lt.decoder,u,"key"),p=r.strictNullHandling?null:""):(h=r.decoder(f.slice(0,c),lt.decoder,u,"key"),p=cn.maybeMap(Jd(f.slice(c+1),r),function(g){return r.decoder(g,lt.decoder,u,"value")})),p&&r.interpretNumericEntities&&u==="iso-8859-1"&&(p=y_(p)),f.indexOf("[]=")>-1&&(p=b_(p)?[p]:p),as.call(n,h)?n[h]=cn.combine(n[h],p):n[h]=p}return n},E_=function(t,e,r,n){for(var i=n?e:Jd(e,r),a=t.length-1;a>=0;--a){var s,o=t[a];if(o==="[]"&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var l=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:i}:!isNaN(u)&&o!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=i):l!=="__proto__"&&(s[l]=i)}i=s}return i},T_=function(e,r,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(a),u=l?a.slice(0,l.index):a,f=[];if(u){if(!n.plainObjects&&as.call(Object.prototype,u)&&!n.allowPrototypes)return;f.push(u)}for(var d=0;n.depth>0&&(l=o.exec(a))!==null&&d<n.depth;){if(d+=1,!n.plainObjects&&as.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;f.push(l[1])}return l&&f.push("["+a.slice(l.index)+"]"),E_(f,r,n,i)}},k_=function(e){if(!e)return lt;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");
18if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?lt.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?lt.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:lt.allowPrototypes,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:lt.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:lt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:lt.comma,decoder:typeof e.decoder=="function"?e.decoder:lt.decoder,delimiter:typeof e.delimiter=="string"||cn.isRegExp(e.delimiter)?e.delimiter:lt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:lt.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:lt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:lt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:lt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:lt.strictNullHandling}},L_=function(t,e){var r=k_(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?S_(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),s=0;s<a.length;++s){var o=a[s],l=T_(o,n[o],r,typeof t=="string");i=cn.merge(i,l,r)}return cn.compact(i)},O_=__,R_=L_,P_=xs,I_={formats:P_,parse:R_,stringify:O_};const Qc=gn(I_);function ti(t){"@babel/helpers - typeof";return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ti(t)}function H_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eh(n.key),n)}}function A_(t,e,r){return e&&Gc(t.prototype,e),r&&Gc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function bt(t,e,r){return e=eh(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eh(t){var e=V_(t,"string");return ti(e)==="symbol"?e:String(e)}function V_(t,e){if(ti(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ti(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Kc=function(e){e&&(window.document.title=e)},N_=function(){function t(e){var r=this,n=e.windowTitle,i=e.writeDelay,a=i===void 0?400:i,s=e.createURL,o=e.parseURL,l=e.getLocation,u=e.start,f=e.dispose,d=e.push,c=e.cleanUrlOnDispose;H_(this,t),bt(this,"$$type","ais.browser"),bt(this,"windowTitle",void 0),bt(this,"writeDelay",void 0),bt(this,"_createURL",void 0),bt(this,"parseURL",void 0),bt(this,"getLocation",void 0),bt(this,"writeTimer",void 0),bt(this,"_onPopState",void 0),bt(this,"inPopState",!1),bt(this,"isDisposed",!1),bt(this,"latestAcknowledgedHistory",0),bt(this,"_start",void 0),bt(this,"_dispose",void 0),bt(this,"_push",void 0),bt(this,"_cleanUrlOnDispose",void 0),this.windowTitle=n,this.writeTimer=void 0,this.writeDelay=a,this._createURL=s,this.parseURL=o,this.getLocation=l,this._start=u,this._dispose=f,this._push=d,this._cleanUrlOnDispose=typeof c>"u"?!0:c,er(function(h){var p=h.window,g=r.windowTitle&&r.windowTitle(r.read());Kc(g),r.latestAcknowledgedHistory=p.history.length})}return A_(t,[{key:"read",value:function(){return this.parseURL({qsModule:Qc,location:this.getLocation()})}},{key:"write",value:function(r){var n=this;er(function(i){var a=i.window,s=n.createURL(r),o=n.windowTitle&&n.windowTitle(r);n.writeTimer&&clearTimeout(n.writeTimer),n.writeTimer=setTimeout(function(){Kc(o),n.shouldWrite(s)&&(n._push?n._push(s):a.history.pushState(r,o||"",s),n.latestAcknowledgedHistory=a.history.length),n.inPopState=!1,n.writeTimer=void 0},n.writeDelay)})}}
18,{key:"onUpdate",value:function(r){var n=this;this._start&&this._start(function(){r(n.read())}),this._onPopState=function(){n.writeTimer&&(clearTimeout(n.writeTimer),n.writeTimer=void 0),n.inPopState=!0,r(n.read())},er(function(i){var a=i.window;a.addEventListener("popstate",n._onPopState)})}},{key:"createURL",value:function(r){var n=this._createURL({qsModule:Qc,routeState:r,location:this.getLocation()});return n}},{key:"dispose",value:function(){var r=this;this._dispose&&this._dispose(),this.isDisposed=!0,er(function(n){var i=n.window;r._onPopState&&i.removeEventListener("popstate",r._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(r){var n=this;return er(function(i){var a=i.window,s=!(n.isDisposed&&n.latestAcknowledgedHistory!==a.history.length);return!n.inPopState&&s&&r!==a.location.href})}}]),t}();function M_(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.createURL,r=e===void 0?function(p){var g=p.qsModule,b=p.routeState,v=p.location,y=v.protocol,C=v.hostname,k=v.port,E=k===void 0?"":k,L=v.pathname,T=v.hash,O=g.stringify(b),P=E===""?"":":".concat(E);return O?"".concat(y,"//").concat(C).concat(P).concat(L,"?").concat(O).concat(T):"".concat(y,"//").concat(C).concat(P).concat(L).concat(T)}:e,n=t.parseURL,i=n===void 0?function(p){var g=p.qsModule,b=p.location;return g.parse(b.search.slice(1),{arrayLimit:99})}:n,a=t.writeDelay,s=a===void 0?400:a,o=t.windowTitle,l=t.getLocation,u=l===void 0?function(){return er(function(p){var g=p.window;return g.location},{fallback:function(){throw new Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:l,f=t.start,d=t.dispose,c=t.push,h=t.cleanUrlOnDispose;return new N_({createURL:r,parseURL:i,writeDelay:s,windowTitle:o,getLocation:u,start:f,dispose:d,push:c,cleanUrlOnDispose:h})}function ri(t){"@babel/helpers - typeof";return ri=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ri(t)}var F_=["configure"];function Xc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xc(Object(r),!0).forEach(function(n){ss(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ss(t,e,r){return e=D_(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D_(t){var e=j_(t,"string");return ri(e)==="symbol"?e:String(e)}function j_(t,e){if(ri(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ri(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function U_(t,e){if(t==null)return{};var r=x_(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function x_(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function Yc(t){t.configure;var e=U_(t,F_);return e}function B_(){return{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(r,n){return Oi(Oi({},r),{},ss({},n,Yc(e[n])))},{})},routeToState:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(r,n){return Oi(Oi({},r),{},ss({},n,Yc(e[n])))},{})}}}function ni(t){"@babel/helpers - typeof";return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ni(t)}
18function Jc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ri(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jc(Object(r),!0).forEach(function(n){th(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function th(t,e,r){return e=z_(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function z_(t){var e=$_(t,"string");return ni(e)==="symbol"?e:String(e)}function $_(t,e){if(ni(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ni(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Z_=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.router,n=r===void 0?M_():r,i=e.stateMapping,a=i===void 0?B_():i,s=e.$$internal,o=s===void 0?!1:s;return function(l){var u=l.instantSearchInstance;function f(h){var p=u.mainIndex.getWidgets().length===0?u._initialUiState:u.mainIndex.getWidgetUiState({}),g=Object.keys(h).reduce(function(v,y){return Ri(Ri({},v),{},th({},y,h[y]))},p),b=a.stateToRoute(g);return n.createURL(b)}u._createURL=f;var d=void 0,c=u._initialUiState;return{$$type:"ais.router({router:".concat(n.$$type||"__unknown__",", stateMapping:").concat(a.$$type||"__unknown__","})"),$$internal:o,onStateChange:function(p){var g=p.uiState,b=a.stateToRoute(g);(d===void 0||!Hs(d,b))&&(n.write(b),d=b)},subscribe:function(){u._initialUiState=Ri(Ri({},c),a.routeToState(n.read())),n.onUpdate(function(p){u.mainIndex.getWidgets().length>0&&u.setUiState(a.routeToState(p))})},started:function(){var p;(p=n.start)===null||p===void 0||p.call(n)},unsubscribe:function(){n.dispose()}}}};function ii(t){"@babel/helpers - typeof";return ii=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ii(t)}var W_=["initialSearchParameters"],q_=["initialRecommendParameters"];function ef(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ef(Object(r),!0).forEach(function(n){sn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ef(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sn(t,e,r){return e=Q_(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q_(t){var e=G_(t,"string");return ii(e)==="symbol"?e:String(e)}function G_(t,e){if(ii(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ii(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function rh(t){return J_(t)||Y_(t)||X_(t)||K_()}function K_(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
19In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X_(t,e){if(t){if(typeof t=="string")return os(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return os(t,e)}}function Y_(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function J_(t){if(Array.isArray(t))return os(t)}function os(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nh(t,e){if(t==null)return{};var r=eb(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function eb(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var Rn=_n({name:"index-widget"});function ih(t,e){var r=e.state,n=e.recommendState,i=e.isPageReset,a=e._uiState;r!==t.state&&(t.state=r,t.emit("change",{state:t.state,results:t.lastResults,isPageReset:i,_uiState:a}
19)),n!==t.recommendState&&(t.recommendState=n)}function Pn(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.reduce(function(n,i){return Rr(i)||!i.getWidgetUiState&&!i.getWidgetState?n:i.getWidgetUiState?i.getWidgetUiState(n,e):i.getWidgetState(n,e)},r)}function In(t,e){var r=e.initialSearchParameters,n=nh(e,W_);return t.reduce(function(i,a){return!a.getWidgetSearchParameters||Rr(a)?i:a.dependsOn==="search"&&a.getWidgetParameters?a.getWidgetParameters(i,n):a.getWidgetSearchParameters(i,n)},r)}function tf(t,e){var r=e.initialRecommendParameters,n=nh(e,q_);return t.reduce(function(i,a){return!Rr(a)&&a.dependsOn==="recommend"&&a.getWidgetParameters?a.getWidgetParameters(i,n):i},r)}function ah(t){var e=t.filter(Rr);e.length!==0&&e.forEach(function(r){var n=r.getHelper();ih(n,{state:n.state.resetPage(),recommendState:n.recommendState,isPageReset:!0}),ah(r.getWidgets())})}function sh(t){var e=t.filter(Rr);return e.reduce(function(r,n){return r.concat.apply(r,[{indexId:n.getIndexId(),results:n.getResults(),helper:n.getHelper()}].concat(rh(sh(n.getWidgets()))))},[])}var tb=function(e){if(e===void 0||e.indexName===void 0)throw new Error(Rn("The `indexName` option is required."));var r=e.indexName,n=e.indexId,i=n===void 0?r:n,a=[],s={},o=null,l=null,u=null,f=null,d=null;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return r},getIndexId:function(){return i},getHelper:function(){return u},getResults:function(){var h;return(h=f)!==null&&h!==void 0&&h.lastResults?(f.lastResults._state=u.state,f.lastResults):null},getPreviousState:function(){return d},getScopedResults:function(){var h=this.getParent(),p;return h?p=h.getWidgets():r.length===0?p=this.getWidgets():p=[this],sh(p)},getParent:function(){return l},createURL:function(h){return typeof h=="function"?o._createURL(sn({},i,h(s))):o._createURL(sn({},i,Pn(a,{searchParameters:h,helper:u})))},getWidgets:function(){return a},addWidgets:function(h){var p=this;if(!Array.isArray(h))throw new Error(Rn("The `addWidgets` method expects an array of widgets."));if(h.some(function(g){return typeof g.init!="function"&&typeof g.render!="function"}))throw new Error(Rn("The widget definition expects a `render` and/or an `init` method."));return a=a.concat(h),o&&h.length&&(ih(u,{state:In(a,{uiState:s,initialSearchParameters:u.state}),recommendState:tf(a,{uiState:s,initialRecommendParameters:u.recommendState}),_uiState:s}),h.forEach(function(g){if(g.getRenderState){var b=g.getRenderState(o.renderState[p.getIndexId()]||{},Vn(o,p,o._initialUiState));Fa({renderState:b,instantSearchInstance:o,parent:p})}}),h.forEach(function(g){g.init&&g.init(Vn(o,p,o._initialUiState))}),o.scheduleSearch()),this},removeWidgets:function(h){var p=this;if(!Array.isArray(h))throw new Error(Rn("The `removeWidgets` method expects an array of widgets."));if(h.some(function(v){return typeof v.dispose!="function"}))throw new Error(Rn("The widget definition expects a `dispose` method."));if(a=a.filter(function(v){return h.indexOf(v)===-1}),o&&h.length){var g=h.reduce(function(v,y){var C=y.dispose({helper:u,state:v,parent:p});return C||v},u.state),b=o.future.preserveSharedStateOnUnmount?In(a,{uiState:s,initialSearchParameters:new Nt.SearchParameters({index:this.getIndexName()})}):In(a,{uiState:Pn(a,{searchParameters:g,helper:u}),initialSearchParameters:g});s=Pn(a,{searchParameters:b,helper:u}),u.setState(b),a.length&&o.scheduleSearch()}return this},init:function(h){var p=this,g,b=h.instantSearchInstance,v=h.parent,y=h.uiState;if(u===null){o=b,l=v,s=y[i]||{};var C=b.mainHelper,k=In(a,{uiState:s,initialSearchParameters:new Nt.SearchParameters({index:r})}),E=tf(a,{uiState:s,initialRecommendParameters:new Nt.RecommendParameters});u=Nt({},k.index,k),u.recommendState=E,u.search=function(){return b.onStateChange?(b.onStateChange({uiState:b.mainIndex.getWidgetUiState({}),setUiState:function(P){return b.setUiState(P,!1)}}),C):C.search()},u.searchWithoutTriggeringOnStateChange=function(){return C.search()},u.searchForFacetValues=function(O,P,H,M){var N=u.state.setQueryParameters(M);return C.searchForFacetValues(O,P,H,N)},f=C.derive(function(){return Ii.apply(void 0,[C.state].concat(rh(b9(p))))},function(){return p.getHelper().recommendState});var L=(g=b._initialResults)===null||g===void 0?void 0:g[this.getIndexId()];if(L){var T=new Nt.SearchResults(new Nt.SearchParameters(L.state),L.results);f.lastResults=T,u.lastResults=T}u.on("change",function(O){var P=O.isPageReset;P&&ah(a)}),f.on("search",function(){b.scheduleStalledRender()}),f.on("result",function(O){var P=O.results;b.scheduleRender(),u.lastResults=P,d=P==null?void 0:P._state}),f.on("recommend:result",function(O){var P=O.recommend;b.scheduleRender(),u.lastRecommendResults=P.results}),a.forEach(function(O){if(O.getRenderState){var P=O.getRenderState(b.render
19State[p.getIndexId()]||{},Vn(b,p,y));Fa({renderState:P,instantSearchInstance:b,parent:p})}}),a.forEach(function(O){O.init&&O.init(Vn(b,p,y))}),u.on("change",function(O){var P=O.state,H=O._uiState;s=Pn(a,{searchParameters:P,helper:u},H||{}),b.onStateChange||b.onInternalStateChange()}),L&&b.scheduleRender()}},render:function(h){var p=this,g=h.instantSearchInstance;g.status==="error"&&!g.mainHelper.hasPendingRequests()&&d&&u.setState(d);var b=this.getResults()?a:a.filter(Rr);b=b.filter(function(v){return v.shouldRender?v.shouldRender({instantSearchInstance:g}):!0}),b.forEach(function(v){if(v.getRenderState){var y=v.getRenderState(g.renderState[p.getIndexId()]||{},Nc(g,p));Fa({renderState:y,instantSearchInstance:g,parent:p})}}),b.forEach(function(v){v.render&&v.render(Nc(g,p))})},dispose:function(){var h=this,p,g;a.forEach(function(b){b.dispose&&u&&b.dispose({helper:u,state:u.state,parent:h})}),o=null,l=null,(p=u)===null||p===void 0||p.removeAllListeners(),u=null,(g=f)===null||g===void 0||g.detach(),f=null},getWidgetUiState:function(h){return a.filter(Rr).reduce(function(p,g){return g.getWidgetUiState(p)},Jt(Jt({},h),{},sn({},i,Jt(Jt({},h[i]),s))))},getWidgetState:function(h){return this.getWidgetUiState(h)},getWidgetSearchParameters:function(h,p){var g=p.uiState;return In(a,{uiState:g,initialSearchParameters:h})},refreshUiState:function(){s=Pn(a,{searchParameters:this.getHelper().state,helper:this.getHelper()},s)},setIndexUiState:function(h){var p=typeof h=="function"?h(s):h;o.setUiState(function(g){return Jt(Jt({},g),{},sn({},i,p))})}}};const oh=tb;function Fa(t){var e=t.renderState,r=t.instantSearchInstance,n=t.parent,i=n?n.getIndexId():r.mainIndex.getIndexId();r.renderState=Jt(Jt({},r.renderState),{},sn({},i,Jt(Jt({},r.renderState[i]),e)))}function rb(t,e){return t.toLocaleString(e)}function ai(t){"@babel/helpers - typeof";return ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ai(t)}function rf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?rf(Object(r),!0).forEach(function(n){nb(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nb(t,e,r){return e=ib(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ib(t){var e=ab(t,"string");return ai(e)==="symbol"?e:String(e)}function ab(t,e){if(ai(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ai(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function sb(t){var e=t.numberLocale;return{formatNumber:function(n,i){return rb(Number(i(n)),e)},highlight:function(n,i){try{var a=JSON.parse(n);return i(yd(lr(lr({},a),{},{hit:this})))}catch{throw new Error(`
20The highlight helper expects a JSON object of the format:
21{ "attribute": "name", "highlightedTagName": "mark" }`)}},reverseHighlight:function(n,i){try{var a=JSON.parse(n);return i(Cd(lr(lr({},a),{},{hit:this})))}catch{throw new Error(`
22  The reverseHighlight helper expects a JSON object of the format:
23  { "attribute": "name", "highlightedTagName": "mark" }`)}},snippet:function(n,i){try{var a=JSON.parse(n);return i(wd(lr(lr({},a),{},{hit:this})))}catch{throw new Error(`
24The snippet helper expects a JSON object of the format:
25{ "attribute": "name", "highlightedTagName": "mark" }`)}},reverseSnippet:function(n,i){try{var a=JSON.parse(n);return i(Sd(lr(lr({},a),{},{hit:this})))}catch{throw new Error(`
26  The reverseSnippet helper expects a JSON object of the format:
27  { "attribute": "name", "highlightedTagName": "mark" }`)}},insights:function(n,i){try{var a=JSON.parse(n),s=a.method,o=a.payload;return i(Ed(s,lr({objectIDs:[this.objectID]},o)))}catch{throw new Error(`
28The insights helper expects a JSON object of the format:
29{ "method": "method-name", "payload": { "eventName": "name of the event" } }`)}}}}const lh="4.68.1";function fn(t){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(t)}function nf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Da(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
29e%2?nf(Object(r),!0).forEach(function(n){Ve(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ob(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function af(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uh(n.key),n)}}function lb(t,e,r){return e&&af(t.prototype,e),r&&af(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ub(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ls(t,e)}function ls(t,e){return ls=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ls(t,e)}function cb(t){var e=db();return function(){var n=qi(t),i;if(e){var a=qi(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return fb(this,i)}}function fb(t,e){if(e&&(fn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Oe(t)}function Oe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(t)}function Ve(t,e,r){return e=uh(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uh(t){var e=hb(t,"string");return fn(e)==="symbol"?e:String(e)}function hb(t,e){if(fn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(fn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Yt=_n({name:"instantsearch"});function mb(){return"#"}var pb={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},gb=function(t){ub(r,t);var e=cb(r);function r(n){var i;ob(this,r),i=e.call(this),Ve(Oe(i),"client",void 0),Ve(Oe(i),"indexName",void 0),Ve(Oe(i),"insightsClient",void 0),Ve(Oe(i),"onStateChange",null),Ve(Oe(i),"future",void 0),Ve(Oe(i),"helper",void 0),Ve(Oe(i),"mainHelper",void 0),Ve(Oe(i),"mainIndex",void 0),Ve(Oe(i),"started",void 0),Ve(Oe(i),"templatesConfig",void 0),Ve(Oe(i),"renderState",{}),Ve(Oe(i),"_stalledSearchDelay",void 0),Ve(Oe(i),"_searchStalledTimer",void 0),Ve(Oe(i),"_initialUiState",void 0),Ve(Oe(i),"_initialResults",void 0),Ve(Oe(i),"_createURL",void 0),Ve(Oe(i),"_searchFunction",void 0),Ve(Oe(i),"_mainHelperSearch",void 0),Ve(Oe(i),"_insights",void 0),Ve(Oe(i),"middleware",[]),Ve(Oe(i),"sendEventToInsights",void 0),Ve(Oe(i),"status","idle"),Ve(Oe(i),"error",void 0),Ve(Oe(i),"scheduleSearch",kn(function(){i.started&&i.mainHelper.search()})),Ve(Oe(i),"scheduleRender",kn(function(){var M,N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;(M=i.mainHelper)!==null&&M!==void 0&&M.hasPendingRequests()||(clearTimeout(i._searchStalledTimer),i._searchStalledTimer=null,N&&(i.status="idle",i.error=void 0)),i.mainIndex.render({instantSearchInstance:Oe(i)}),i.emit("render")})),Ve(Oe(i),"onInternalStateChange",kn(function(){var M=i.mainIndex.getWidgetUiState({});i.middleware.forEach(function(N){var F=N.instance;F.onStateChange({uiState:M})})})),i.setMaxListeners(100);var a=n.indexName,s=a===void 0?"":a,o=n.numberLocale,l=n.initialUiState,u=l===void 0?{}:l,f=n.routing,d=f===void 0?null:f,c=n.insights,h=c===void 0?void 0:c,p=n.searchFunction,g=n.stalledSearchDelay,b=g===void 0?200:g,v=n.searchClient,y=v===void 0?null:v,C=n.insightsClient,k=C===void 0?null:C,E=n.onStateChange,L=E===void 0?null:E,T=n.future,O=T===void 0?Da(Da({},pb),n.future||{}):T;if(y===null)throw new Error(Yt("The `searchClient` option is required."));if(typeof y.search!="function")throw new Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if(typeof y.addAlgoliaAgent=="function"&&y.addAlgoliaAgent("instantsearch.js (".concat(lh,")")),k&&typeof k!="function")throw new Error(Yt("The `insightsClient` option should be a function."));if(i.client=y,i.future=O,i.insightsClient=k,i.indexName=s,i.helper=null,i.mainHelper=null,i.mainIndex=oh({indexName:s}),i.onStateChange=L,i.started=!1,i.templatesConfig={helpers:sb({numberLocale:o}),compileOptions:{}},i._stalledSearchDelay=b,i._searchStalledTimer=null,i._createURL=mb,i._initialUiState=u,i._initialResults=null,i._insights=h,p&&(i._searchFunction=p),i.sendEventToInsights=Et,d){var P=typeof d=="boolean"?{}:d;P.$$internal=!0,i.use(Z_(P))}if(h){var H=typeof h=="boolean"?{}:h;H.$$internal=!0,i.use(ns(H))}return Kv()&&i.use(Xv({$$internal:!0})),i}return lb(r,[{key:"_isSearchStalled",get:function(){return this.status==="stalled"}},{key:"use",value:function(){for(var i=this,a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];var l=s.map(function(u){var f=Da({$$type:"__unknown__",$$internal:!1,subscribe:Et,started:Et,unsubscribe:Et,onStateChange:Et},u({instantSearchInstance:i}));return i.middleware.push({creator:u,instance:f}),f});return this.started&&l.forEach(function(u){u.subscribe(),u.started()}),this}},{key:"unuse",value:function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return this.middleware.filter(function(o){return a.includes(o.creator)}
29).forEach(function(o){return o.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(o){return!a.includes(o.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){return this.use.apply(this,arguments)}},{key:"addWidget",value:function(i){return this.addWidgets([i])}},{key:"addWidgets",value:function(i){if(!Array.isArray(i))throw new Error(Yt("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(i.some(function(a){return typeof a.init!="function"&&typeof a.render!="function"}))throw new Error(Yt("The widget definition expects a `render` and/or an `init` method."));return this.mainIndex.addWidgets(i),this}},{key:"removeWidget",value:function(i){return this.removeWidgets([i])}},{key:"removeWidgets",value:function(i){if(!Array.isArray(i))throw new Error(Yt("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));if(i.some(function(a){return typeof a.dispose!="function"}))throw new Error(Yt("The widget definition expects a `dispose` method."));return this.mainIndex.removeWidgets(i),this}},{key:"start",value:function(){var i=this;if(this.started)throw new Error(Yt("The `start` method has already been called once."));var a=this.mainHelper||Nt(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(a.search=function(){return i.status="loading",i.scheduleRender(!1),a.searchOnlyWithDerivedHelpers()&&a.recommend()},this._searchFunction){var s={search:function(){return new Promise(Et)}};this._mainHelperSearch=a.search.bind(a),a.search=function(){var l=i.mainIndex.getHelper(),u=Nt(s,l.state.index,l.state);return u.once("search",function(f){var d=f.state;l.overrideStateWithoutTriggeringChangeEvent(d),i._mainHelperSearch()}),u.on("change",function(f){var d=f.state;l.setState(d)}),i._searchFunction(u),a}}if(a.on("error",function(l){var u=l.error;if(!(u instanceof Error)){var f=u;u=Object.keys(f).reduce(function(d,c){return d[c]=f[c],d},new Error(f.message))}u.error=u,i.error=u,i.status="error",i.scheduleRender(!1),i.emit("error",u)}),this.mainHelper=a,this.middleware.forEach(function(l){var u=l.instance;u.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){J8(this.client,this._initialResults);var o=this.scheduleSearch;this.scheduleSearch=kn(Et),kn(function(){i.scheduleSearch=o})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(l){var u=l.instance;u.started()}),typeof this._insights>"u"&&a.derivedHelpers[0].once("result",function(){var l=i.mainIndex.getScopedResults().some(function(u){var f=u.results;return f==null?void 0:f._automaticInsights});l&&i.use(ns({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var i;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),(i=this.mainHelper)===null||i===void 0||i.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(a){var s=a.instance;s.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var i=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){i.status="stalled",i.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(i){var a=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!this.mainHelper)throw new Error(Yt("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var o=typeof i=="function"?i(this.mainIndex.getWidgetUiState({})):i;this.onStateChange&&s?this.onStateChange({uiState:o,setUiState:function(u){Ka(typeof u=="function"?u(o):u,a.mainIndex),a.scheduleSearch(),a.onInternalStateChange()}}):(Ka(o,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.started)throw new Error(Yt("The `start` method needs to be called before `createURL`."));return this._createURL(i)}},{key:"refresh",value:function(){if(!this.mainHelper)throw new Error(Yt("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),r}(M9);const vb=gb;var Gt=function(e){return new vb(e)};Gt.version=lh;Gt.createInfiniteHitsSessionStorageCache=Ci(V9);Gt.highlight=Ci(yd);Gt.reverseHighlight=Ci(Cd);Gt.snippet=Ci(wd);Gt.reverseSnippet=Ci(Sd);Gt.insights=Ed;Gt.getInsightsAnonymousUserToken=P9;Object.defineProperty(Gt,"widgets",{get:function(){throw new ReferenceError(`"instantsearch.widgets" are not available from the ES build.
30
31To import the widgets:
32
33import { searchBox } from 'instantsearch.js/es/widgets'`)}});Object.defineProperty(Gt,"connectors",{get:function(){throw new ReferenceError(`"instantsearch.connectors" are not available from the ES build.
34
35To import the connectors:
36
37import { connectSearchBox } from 'instantsearch.js/es/connectors'`)}});const _b=Gt;var ch={exports:{}},Dr={};
37Object.defineProperty(Dr,"__esModule",{value:!0});var Qi="2.13.0";function Dt(t){return t.reduce(function(i,r){var n=i.events,i=i.additionalParams;return"index"in r?{additionalParams:i,events:n.concat([r])}:{events:n,additionalParams:r}},{events:[],additionalParams:void 0})}var bb=function(){try{return!!navigator.cookieEnabled}catch{return!1}},yb=function(){try{return!!navigator.sendBeacon}catch{return!1}},Cb=function(){try{return!!XMLHttpRequest}catch{return!1}},wb=function(){try{return fetch!==void 0}catch{return!1}},Un=function(t){return t===void 0},Sb=function(t){return typeof t=="number"},Pr=function(t){return typeof t=="function"};function Bs(t){return function(e){for(var r=[],n=arguments.length-1;0<n--;)r[n]=arguments[n+1];e&&Pr(t[e])?t[e].apply(t,r):console.warn("The method `"+e+"` doesn't exist.")}}var Eb=["insights-js ("+Qi+")","insights-js-browser-cjs ("+Qi+")"];function Tb(t){this._ua.indexOf(t)===-1&&this._ua.push(t)}function kb(t){Pr(t)&&t(this.version)}function zs(t,e){var r={};for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]]);return r}function Lb(t){return function(e,r){var n=this;if(!this._userHasOptedOut){if(!(!Un(this._apiKey)&&!Un(this._appId)||(i=r==null?void 0:r.headers)!=null&&i["X-Algolia-Application-Id"]&&((i=r==null?void 0:r.headers)!=null&&i["X-Algolia-API-Key"])))throw new Error("Before calling any methods on the analytics, you first need to call the 'init' function with appId and apiKey parameters or provide custom credentials in additional parameters.");!this._userToken&&this._anonymousUserToken&&this.setAnonymousUserToken(!0);var i=e.map(function(l){var s=l.filters,o=zs(l,["filters"]),l=Object.assign(Object.assign({},o),{userToken:(o=l==null?void 0:l.userToken)!=null?o:n._userToken,authenticatedUserToken:(o=l==null?void 0:l.authenticatedUserToken)!=null?o:n._authenticatedUserToken});return Un(s)||(l.filters=s.map(encodeURIComponent)),l});return Ob(t,this._ua,this._endpointOrigin,i,this._appId,this._apiKey,r==null?void 0:r.headers)}}}
37function Ob(t,e,r,n,i,a,u){var o=(u=u===void 0?{}:u)["X-Algolia-Application-Id"],l=u["X-Algolia-API-Key"],u=zs(u,["X-Algolia-Application-Id","X-Algolia-API-Key"]),f=Object.assign({"X-Algolia-Application-Id":o??i,"X-Algolia-API-Key":l??a,"X-Algolia-Agent":encodeURIComponent(e.join("; "))},u);return t(r+"/1/events?"+Object.keys(f).map(function(d){return d+"="+f[d]}).join("&"),{events:n})}function us(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return(t==="x"?e:3&e|8).toString(16)})}var sf="_ALGOLIA",fh=2592e6,Rb=function(t,e,i){var n=new Date,i=(n.setTime(n.getTime()+i),"expires="+n.toUTCString());document.cookie=t+"="+e+";"+i+";path=/"},Pb=function(t){for(var e=t+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];i.charAt(0)===" ";)i=i.substring(1);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}return""};function Ib(t){(t=t!==void 0&&t)?this.setUserToken("anonymous-"+us()):bb()&&((t=Pb(sf))&&t!==""&&t.indexOf("anonymous-")===0?this.setUserToken(t):(t=this.setUserToken("anonymous-"+us()),Rb(sf,t,this._cookieDuration)))}function Hb(t){return this._userToken=t,Pr(this._onUserTokenChangeCallback)&&this._onUserTokenChangeCallback(this._userToken),this._userToken}function Ab(t,e){return Pr(e)&&e(null,this._userToken),this._userToken}function Vb(t,e){this._onUserTokenChangeCallback=t,e&&e.immediate&&Pr(this._onUserTokenChangeCallback)&&this._onUserTokenChangeCallback(this._userToken)}function Nb(t){return this._authenticatedUserToken=t,Pr(this._onAuthenticatedUserTokenChangeCallback)&&this._onAuthenticatedUserTokenChangeCallback(this._authenticatedUserToken),this._authenticatedUserToken}function Mb(t,e){return Pr(e)&&e(null,this._authenticatedUserToken),this._authenticatedUserToken}function Fb(t,e){this._onAuthenticatedUserTokenChangeCallback=t,e&&e.immediate&&Pr(this._onAuthenticatedUserTokenChangeCallback)&&this._onAuthenticatedUserTokenChangeCallback(this._authenticatedUserToken)}function Ir(t,e){return e.map(function(r){return Object.assign({eventType:t},r)})}function da(t,e,r){return r.map(function(n){return Object.assign({eventType:t,eventSubtype:e},n)})}function Db(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("click",r),n)}function jb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("click",r),n)}function Ub(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("click",r),n)}function xb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("conversion",r),n)}function Bb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(da("conversion","addToCart",r),n)}function zb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(da("conversion","purchase",r),n)}function $b(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("conversion",r),n)}function Zb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(da("conversion","addToCart",r),n)}function Wb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(da("conversion","purchase",r),n)}function qb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("conversion",r),n)}var of=["de","us"];function Qb(t){var e;if(!Un((t=t===void 0?{}:t).region)&&of.indexOf(t.region)===-1)throw new Error("optional region is incorrect, please provide either one of: "+of.join(", ")+".");if(!(Un(t.cookieDuration)||Sb(t.cookieDuration)&&isFinite(t.cookieDuration)&&Math.floor(t.cookieDuration)===t.cookieDuration))throw new Error("optional cookieDuration is incorrect, expected an integer.");Gb(this,t,{_userHasOptedOut:!!t.userHasOptedOut,_region:t.region,_host:t.host,_anonymousUserToken:(e=t.anonymousUserToken)==null||e,_useCookie:(e
37=t.useCookie)!=null&&e,_cookieDuration:t.cookieDuration||6*fh}),this._endpointOrigin=this._host||(this._region?"https://insights."+this._region+".algolia.io":"https://insights.algolia.io"),this._ua=[].concat(Eb),t.authenticatedUserToken&&this.setAuthenticatedUserToken(t.authenticatedUserToken),t.userToken?this.setUserToken(t.userToken):this._userToken||this._userHasOptedOut||!this._useCookie||this.setAnonymousUserToken()}function Gb(t,e,r){var n=e.partial,i=zs(e,["partial"]);n||Object.assign(t,r),Object.assign(t,Object.keys(i).reduce(function(a,s){return Object.assign(Object.assign({},a),((a={})["_"+s]=i[s],a))},{}))}function Kb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("view",r),n)}function Xb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t),r=n.events,n=n.additionalParams;return this.sendEvents(Ir("view",r),n)}var dh=function(t){t=t.requestFn,this._endpointOrigin="https://insights.algolia.io",this._anonymousUserToken=!0,this._userHasOptedOut=!1,this._useCookie=!1,this._cookieDuration=6*fh,this._ua=[],this.version=Qi,this.sendEvents=Lb(t).bind(this),this.init=Qb.bind(this),this.addAlgoliaAgent=Tb.bind(this),this.setUserToken=Hb.bind(this),this.setAnonymousUserToken=Ib.bind(this),this.getUserToken=Ab.bind(this),this.onUserTokenChange=Vb.bind(this),this.setAuthenticatedUserToken=Nb.bind(this),this.getAuthenticatedUserToken=Mb.bind(this),this.onAuthenticatedUserTokenChange=Fb.bind(this),this.clickedObjectIDsAfterSearch=Db.bind(this),this.clickedObjectIDs=jb.bind(this),this.clickedFilters=Ub.bind(this),this.convertedObjectIDsAfterSearch=xb.bind(this),this.purchasedObjectIDsAfterSearch=zb.bind(this),this.addedToCartObjectIDsAfterSearch=Bb.bind(this),this.convertedObjectIDs=$b.bind(this),this.addedToCartObjectIDs=Zb.bind(this),this.purchasedObjectIDs=Wb.bind(this),this.convertedFilters=qb.bind(this),this.viewedObjectIDs=Kb.bind(this),this.viewedFilters=Xb.bind(this),this.getVersion=kb.bind(this)};function Yb(r){var e,r=Bs(new dh({requestFn:r}));if(typeof window=="object"&&!window.AlgoliaAnalyticsObject){for(;e=us(),window[e]!==void 0;);window.AlgoliaAnalyticsObject=e,window[window.AlgoliaAnalyticsObject]=r}return r.version=Qi,r}function Jb(t){var e,r=t.AlgoliaAnalyticsObject;r&&(e=Bs(this),(t=t[r]).queue=t.queue||[],(r=t.queue).forEach(function(a){var a=[].slice.call(a),i=a[0],a=a.slice(1);e.apply(void 0,[i].concat(a))}),r.push=function(a){var a=[].slice.call(a),i=a[0],a=a.slice(1);e.apply(void 0,[i].concat(a))})}var hh=function(t,e){return new Promise(function(r,n){var i=JSON.stringify(e),a=new XMLHttpRequest;a.addEventListener("readystatechange",function(){a.readyState===4&&a.status===200?r(!0):a.readyState===4&&r(!1)}),a.addEventListener("error",function(){return n()}),a.addEventListener("timeout",function(){return r(!1)}),a.open("POST",t),a.setRequestHeader("Content-Type","application/json"),a.setRequestHeader("Content-Length",""+i.length),a.send(i)})},ey=function(t,e){var r=JSON.stringify(e),r=navigator.sendBeacon(t,r);return Promise.resolve(!!r||hh(t,e))},ty=function(t,e){return new Promise(function(r,n){fetch(t,{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}}).then(function(i){r(i.status===200)}).catch(function(i){n(i)})})};function mh(){if(yb())return ey;if(Cb())return hh;if(wb())return ty;throw new Error("Could not find a supported HTTP request client in this environment.")}var ry=Yb(mh());Dr.AlgoliaAnalytics=dh,Dr.default=ry,Dr.getFunctionalInterface=Bs,Dr.getRequesterForBrowser=mh,Dr.processQueue=Jb;(function(t){const e=Dr;t.exports=e.default,Object.keys(e).forEach(r=>{r!=="default"&&(t.exports[r]=e[r])})})(ch);var ny=ch.exports;const lf=gn(ny);function si(t){"@babel/helpers - typeof";return si=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},si(t)}function uf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
37e%2?uf(Object(r),!0).forEach(function(n){ph(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ph(t,e,r){return e=iy(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iy(t){var e=ay(t,"string");return si(e)==="symbol"?e:String(e)}function ay(t,e){if(si(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(si(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var sy=_n({name:"hits",connector:!0}),oy=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Et;return Is(e,sy()),function(n){var i=n||{},a=i.escapeHTML,s=a===void 0?!0:a,o=i.transformItems,l=o===void 0?function(d){return d}:o,u,f;return{$$type:"ais.hits",init:function(c){e(vr(vr({},this.getWidgetRenderState(c)),{},{instantSearchInstance:c.instantSearchInstance}),!0)},render:function(c){var h=this.getWidgetRenderState(c);e(vr(vr({},h),{},{instantSearchInstance:c.instantSearchInstance}),!1),h.sendEvent("view:internal",h.hits)},getRenderState:function(c,h){return vr(vr({},c),{},{hits:this.getWidgetRenderState(h)})},getWidgetRenderState:function(c){var h,p,g,b=c.results,v=c.helper,y=c.instantSearchInstance;if(u||(u=gd({instantSearchInstance:y,getIndex:function(){return v.getIndex()},widgetType:this.$$type})),f||(f=P8({getIndex:function(){return v.getIndex()},widgetType:this.$$type,instantSearchInstance:y})),!b)return{hits:[],results:void 0,banner:void 0,sendEvent:u,bindEvent:f,widgetParams:n};s&&b.hits.length>0&&(b.hits=dd(b.hits));var C=x8(b.hits,b.page,b.hitsPerPage),k=Z8(C,b.queryID),E=l(k,{results:b}),L=(h=b.renderingContent)===null||h===void 0||(p=h.widgets)===null||p===void 0||(g=p.banners)===null||g===void 0?void 0:g[0];return{hits:E,results:b,banner:L,sendEvent:u,bindEvent:f,widgetParams:n}},dispose:function(c){var h=c.state;return r(),s?h.setQueryParameters(Object.keys(on).reduce(function(p,g){return vr(vr({},p),{},ph({},g,void 0))},{})):h},getWidgetSearchParameters:function(c){return s?c.setQueryParameters(on):c}}}};const cf=oy;function oi(t){"@babel/helpers - typeof";return oi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(t)}function ff(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _r(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ff(Object(r),!0).forEach(function(n){ly(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ff(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ly(t,e,r){return e=uy(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uy(t){var e=cy(t,"string");return oi(e)==="symbol"?e:String(e)}function cy(t,e){if(oi(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(oi(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var fy=_n({name:"search-box",connector:!0}),dy=function(e,r){return r(e)},hy=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Et;return Is(e,fy()),function(n){var i=n||{},a=i.queryHook,s=a===void 0?dy:a,o,l;return{$$type:"ais.searchBox",init:function(f){var d=f.instantSearchInstance;e(_r(_r({},this.getWidgetRenderState(f)),{},{instantSearchInstance:d}),!0)},render:function(f){var d=f.instantSearchInstance;e(_r(_r({},this.getWidgetRenderState(f)),{},{instantSearchInstance:d}),!1)},dispose:function(f){var d=f.state;return r(),d.setQueryParameter("query",void 0)},getRenderState:function(f,d){return _r(_r({},f),{},{searchBox:this.getWidgetRenderState(d)})},getWidgetRenderState:function(f){var d=f.helper,c=f.instantSearchInstance,h=f.state;return o||(o=function(g){s(g,function(b){return d.setQuery(b).search()})},l=function(){d.setQuery("").search()}),{query:h.query||"",refine:o,clear:l,widgetParams:n,isSearchStalled:c.status==="stalled"}},getWidgetUiState:function(f,d){var c=d.searchParameters,h=c.query||"";return h===""||f&&f.query===h?f:_r(_r({},f),{},{query:h})},getWidgetSearchParameters:function(f,d){var c=d.uiState;return f.setQueryParameter("query",c.query||"")}}}};const my=hy;function li(t){"@babel/helpers - typeof";return li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},li(t)}function df(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function at(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
37e%2?df(Object(r),!0).forEach(function(n){gh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):df(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gh(t,e,r){return e=py(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function py(t){var e=gy(t,"string");return li(e)==="symbol"?e:String(e)}function gy(t,e){if(li(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(li(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var vy=_n({name:"configure",connector:!0});function hf(t,e){return t.setQueryParameters(Object.keys(e.searchParameters).reduce(function(r,n){return at(at({},r),{},gh({},n,void 0))},{}))}var _y=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Et,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Et;return function(n){if(!n||!cd(n.searchParameters))throw new Error(vy("The `searchParameters` option expects an object."));var i={};function a(s){return function(o){var l=hf(s.state,n),u=Ii(l,new Nt.SearchParameters(o));n.searchParameters=o,s.setState(u).search()}}return{$$type:"ais.configure",init:function(o){var l=o.instantSearchInstance;e(at(at({},this.getWidgetRenderState(o)),{},{instantSearchInstance:l}),!0)},render:function(o){var l=o.instantSearchInstance;e(at(at({},this.getWidgetRenderState(o)),{},{instantSearchInstance:l}),!1)},dispose:function(o){var l=o.state;return r(),hf(l,n)},getRenderState:function(o,l){var u,f=this.getWidgetRenderState(l);return at(at({},o),{},{configure:at(at({},f),{},{widgetParams:at(at({},f.widgetParams),{},{searchParameters:Ii(new Nt.SearchParameters((u=o.configure)===null||u===void 0?void 0:u.widgetParams.searchParameters),new Nt.SearchParameters(f.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(o){var l=o.helper;return i.refine||(i.refine=a(l)),{refine:i.refine,widgetParams:n}},getWidgetSearchParameters:function(o,l){var u=l.uiState;return Ii(o,new Nt.SearchParameters(at(at({},u.configure),n.searchParameters)))},getWidgetUiState:function(o){return at(at({},o),{},{configure:at(at({},o.configure),n.searchParameters)})}}}};const by=_y;function ui(t){"@babel/helpers - typeof";return ui=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(t)}function mf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mf(Object(r),!0).forEach(function(n){vh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vh(t,e,r){return e=yy(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yy(t){var e=Cy(t,"string");return ui(e)==="symbol"?e:String(e)}function Cy(t,e){if(ui(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ui(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var wy=_n({name:"autocomplete",connector:!0}),Sy=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Et;return Is(e,wy()),function(n){var i=n||{},a=i.escapeHTML,s=a===void 0?!0:a,o={};return{$$type:"ais.autocomplete",init:function(u){var f=u.instantSearchInstance;e(Vt(Vt({},this.getWidgetRenderState(u)),{},{instantSearchInstance:f}),!0)},render:function(u){var f=u.instantSearchInstance,d=this.getWidgetRenderState(u);
37d.indices.forEach(function(c){var h=c.sendEvent,p=c.hits;h("view:internal",p)}),e(Vt(Vt({},d),{},{instantSearchInstance:f}),!1)},getRenderState:function(u,f){return Vt(Vt({},u),{},{autocomplete:this.getWidgetRenderState(f)})},getWidgetRenderState:function(u){var f=this,d=u.helper,c=u.state,h=u.scopedResults,p=u.instantSearchInstance;o.refine||(o.refine=function(b){d.setQuery(b).search()});var g=h.map(function(b){b.results.hits=s?dd(b.results.hits):b.results.hits;var v=gd({instantSearchInstance:p,getIndex:function(){return b.results.index},widgetType:f.$$type});return{indexId:b.indexId,indexName:b.results.index,hits:b.results.hits,results:b.results,sendEvent:v}});return{currentRefinement:c.query||"",indices:g,refine:o.refine,widgetParams:n}},getWidgetUiState:function(u,f){var d=f.searchParameters,c=d.query||"";return c===""||u&&u.query===c?u:Vt(Vt({},u),{},{query:c})},getWidgetSearchParameters:function(u,f){var d=f.uiState,c={query:d.query||""};return s?u.setQueryParameters(Vt(Vt({},c),on)):u.setQueryParameters(c)},dispose:function(u){var f=u.state;r();var d=f.setQueryParameter("query",void 0);return s?d.setQueryParameters(Object.keys(on).reduce(function(c,h){return Vt(Vt({},c),{},vh({},h,void 0))},{})):d}}}};const Ey=Sy;function Ty(t){let e;const r=t[9].default,n=Ze(r,t,t[8],null);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,a){n&&n.m(i,a),e=!0},p(i,[a]){n&&n.p&&(!e||a&256)&&We(n,r,i,i[8],e?Qe(r,i[8],a,null):qe(i[8]),null)},i(i){e||(R(n,i),e=!0)},o(i){I(n,i),e=!1},d(i){n&&n.d(i)}}}function ky(t,e,r){let{$$slots:n={},$$scope:i}=e,{isLoading:a}=e,{updateQuery:s}=e,{updateSuggestion:o}=e,{results:l}=e,{suggestions:u}=e,{transformHit:f}=e,{hitRendererSelector:d}=e,{suggestionRendererSelector:c}=e;const h="prod-OBAMAORG-PAGE-INDEX",p="prod-OBAMAORG-SUGGESTION-INDEX",v=s8("3XSKDVA8ZB","2d846341585bf9038b5a7d72d0c4aa37"),y=_b({searchClient:v,indexName:h,searchFunction(P){P.state.query&&P.search()},insights:!0,future:{preserveSharedStateOnUnmount:!1}}),C=(P,H)=>{const{refine:M}=P;return H&&r(1,s=M),null},k=P=>{const{hits:H,sendEvent:M}=P;H&&(r(0,a=!1),r(3,l=H.map(f)));const N=document.querySelectorAll(d);return N==null||N.forEach((F,D)=>{F.addEventListener("click",W=>{W.stopImmediatePropagation(),M("click",H[D],"Hit Clicked")})}),null},E=P=>{const{hits:H,sendEvent:M}=P;r(4,u=H);const N=document.querySelectorAll(c);N==null||N.forEach((F,D)=>{F.addEventListener("click",W=>{W.stopImmediatePropagation(),M("click",u==null?void 0:u[D],"Suggestion Clicked")})})},L=async(P,H)=>{const{refine:M}=P;return H&&r(2,o=M),null};y.addWidgets([by()({searchParameters:{page:0,hitsPerPage:44*2}}),my(C)({}),cf(k)({}),oh({indexName:p}).addWidgets([Ey(L)({}),cf(E)({})])]);const T=j2("_ga"),O=ns({insightsClient:lf,insightsInitParams:{useCookie:xf(),partial:!0},onEvent:(P,H)=>{var W;const{insightsMethod:M,payload:N,widgetType:F,eventType:D}=P;M&&H(M,N),["ais.hits","ais.autocomplete"].includes(F)&&["view","click"].includes(D)&&((W=window.dataLayer)==null||W.push({event:N.eventName}))}});return y.use(O),lf("setUserToken",T),y.start(),t.$$set=P=>{"isLoading"in P&&r(0,a=P.isLoading),"updateQuery"in P&&r(1,s=P.updateQuery),"updateSuggestion"in P&&r(2,o=P.updateSuggestion),"results"in P&&r(3,l=P.results),"suggestions"in P&&r(4,u=P.suggestions),"transformHit"in P&&r(5,f=P.transformHit),"hitRendererSelector"in P&&r(6,d=P.hitRendererSelector),"suggestionRendererSelector"in P&&r(7,c=P.suggestionRendererSelector),"$$scope"in P&&r(8,i=P.$$scope)},[a,s,o,l,u,f,d,c,i,n]}class Ly extends de{constructor(e){super(),he(this,e,ky,Ty,fe,{isLoading:0,updateQuery:1,updateSuggestion:2,results:3,suggestions:4,transformHit:5,hitRendererSelector:6,suggestionRendererSelector:7})}}function pf(t){let e,r,n,i,a,s,o;function l(p){t[18](p)}function u(p){t[19](p)}function f(p){t[20](p)}function d(p){t[21](p)}function c(p){t[22](p)}let h={hitRendererSelector:`#${_h} ul > li > a`,suggestionRendererSelector:`#${bh} > li > button`,transformHit:i3,$$slots:{default:[Ry]},$$scope:{ctx:t}};return t[5]!==void 0&&(h.isLoading=t[5]),t[6]!==void 0&&(h.updateQuery=t[6]),t[7]!==void 0&&(h.updateSuggestion=t[7]),t[2]!==void 0&&(h.results=t[2]),t[3]!==void 0&&(h.suggestions=t[3]),e=new Ly({props:h}),$e.push(()=>pt(e,"isLoading",l)),$e.push(()=>pt(e,"updateQuery",u)),$e.push(()=>pt(e,"updateSuggestion",f)),$e.push(()=>pt(e,"results",d)),$e.push(()=>pt(e,"suggestions",c)),{c(){Q(e.$$.fragment)},l(p){X(e.$$.fragment,p)},m(p,g){G(e,p,g),o=!0},p(p,g){const b={};g&268439350&&(b.$$scope={dirty:g,ctx:p}),!r&&g&32&&(r=!0,b.isLoading=p[5],mt(()=>
37r=!1)),!n&&g&64&&(n=!0,b.updateQuery=p[6],mt(()=>n=!1)),!i&&g&128&&(i=!0,b.updateSuggestion=p[7],mt(()=>i=!1)),!a&&g&4&&(a=!0,b.results=p[2],mt(()=>a=!1)),!s&&g&8&&(s=!0,b.suggestions=p[3],mt(()=>s=!1)),e.$set(b)},i(p){o||(R(e.$$.fragment,p),o=!0)},o(p){I(e.$$.fragment,p),o=!1},d(p){K(e,p)}}}function gf(t){let e,r;return e=new fr({props:{variant:"outline",label:"See all results",theme:"white",buttonClass:"mt-5 xl:mt-7.5 w-full md:w-auto justify-center"}}),e.$on("click",t[14]),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p:ce,i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Oy(t){let e,r,n=t[9]&&gf(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,a){i[9]?n?(n.p(i,a),a&512&&R(n,1)):(n=gf(i),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ae(),I(n,1,1,()=>{n=null}),se())},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}function Ry(t){let e,r;return e=new jg({props:{id:_h,focusOnMount:!0,theme:t[1],results:t[2].slice(0,3),errorMessage:t[10],isLoading:t[5],resultsTitle:t[11],selectedValue:t[8],searchQuerySuggestionsProps:t[4],$$slots:{button:[Oy]},$$scope:{ctx:t}}}),e.$on("submit",t[14]),e.$on("clear",t[12]),e.$on("input",t[13]),e.$on("change",t[17]),e.$on("querySuggestionItemSelect",t[15]),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&2&&(a.theme=n[1]),i&4&&(a.results=n[2].slice(0,3)),i&1024&&(a.errorMessage=n[10]),i&32&&(a.isLoading=n[5]),i&2048&&(a.resultsTitle=n[11]),i&256&&(a.selectedValue=n[8]),i&16&&(a.searchQuerySuggestionsProps=n[4]),i&268435968&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Py(t){let e,r,n=t[0]&&pf(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,[a]){i[0]?n?(n.p(i,a),a&1&&R(n,1)):(n=pf(i),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ae(),I(n,1,1,()=>{n=null}),se())},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}const _h="searchPanel",bh="search-suggestions",Iy=500;function Hy(t,e,r){let n,i,a,s,o;Sr(t,vi,W=>r(23,o=W));const l=ds("featureFlags")??{};let{currentTheme:u}=e,{isSearchPanelVisible:f=!1}=e,d=!1,c,h,p="",g=[],b=[],v="";const y=()=>{r(0,f=!1)},C=()=>{r(2,g=[]),r(4,n=null)},k=()=>{r(16,p=""),r(8,v=""),r(2,g=[]),r(4,n=null)},E=W=>{const Y=W.target.value,le=p.length<Y.length;Y.length>0?(le&&r(5,d=!0),c&&(c(Y),W.source!=="itemSelect"&&h(Y))):C(),r(16,p=Y)},L=i8(E,Iy),T=async()=>{if(!((g==null?void 0:g.length)>3))return;const W=o.url.pathname==="/search/"&&o.url.searchParams.get("q");W||y(),await n3(`/search?q=${p}`,{replaceState:!0,invalidateAll:!0,state:{query:p,results:g}}),W&&window.location.reload()},O=W=>{r(8,v=W.detail),E({target:{value:v},source:"itemSelect"}),n.query,r(4,n.selectedItem=v,n)};function P(W){Ht.call(this,t,W)}function H(W){d=W,r(5,d)}function M(W){c=W,r(6,c)}function N(W){h=W,r(7,h)}function F(W){g=W,r(2,g)}function D(W){b=W,r(3,b)}return t.$$set=W=>{"currentTheme"in W&&r(1,u=W.currentTheme),"isSearchPanelVisible"in W&&r(0,f=W.isSearchPanelVisible)},t.$$.update=()=>{t.$$.dirty&28&&r(4,n=l.querySuggestions&&g.length&&(b!=null&&b.length)?{id:bh,...n,items:r3(b==null?void 0:b.slice(0,3))}:null),t.$$.dirty&4&&r(11,i=g.length>=3?"Top 3 results":g.length<3&&g.length>0?`Top ${g.length} results`:""),t.$$.dirty&65540&&r(10,a=p.length>=3&&g.length===0?"No matching results":""),t.$$.dirty&4&&r(9,s=g.length>3)},[f,u,g,b,n,d,c,h,v,s,a,i,k,L,T,O,p,P,H,M,N,F,D]}class Ay extends de{constructor(e){super(),he(this,e,Hy,Py,fe,{currentTheme:1,isSearchPanelVisible:0})}}function Vy(t){let e,r,n="Search",i,a,s,o,l,u;return a=new pi({props:{name:"search",inheritSize:t[2]}}),{c(){e=$("button"),r=$("span"),r.textContent=n,i=J(),Q(a.$$.fragment),this.h()},l(f){e=Z(f,"BUTTON",{"data-transition-focus":!0,class:!0,"aria-label":!0});var d=S(e);r=Z(d,"SPAN",{class:!0,"data-svelte-h":!0}),hs(r)!=="svelte-wzvdgj"&&(r.textContent=n),i=ee(d),X(a.$$.fragment,d),d.forEach(_),this.h()},h(){m(r,"class","sr-only"),m(e,"data-transition-focus","searchButton"),m(e,"class",s="grid place-items-center "+t[0]+" "+t[1]+"} h-[24px] w-[24px] focus-visible:outline-dashed focus-visible:outline-offset-2"),m(e,"aria-label","Search")},m(f,d){j(f,e,d),w(e,r),w(e,i),G(a,e,null),o=!0,l||(u=Ee(e,"click",t[3]),l=!0)},p(f,[d]){const c={};d&4&&(c.inheritSize=f[2]),a.$set(c),(!o||d&3&&s!==(s="grid place-items-center "+f[0]+" "+f[1]+"} h-[24px] w-[24px] focus-visible:outline-dashed focus-visible:outline-offset-2"))&&m(e,"class",s)},i(f){o||(R(a.$$.fragment,f),o=!0)},o(f){I(a.$$.fragment,f),o=!1},d(f){f&&_(e),K(a),l=!1,u()}}}function Ny(t,e,r){let{focusOutlineColor:n=""}=e,{hoverTextColor:i=""}=e,{shouldIconInheritSize:a=!1}=e;function s(o){Ht.call(this,t,o)}return t.$$set=o=>{"focusOutlineColor"in o&&r(0,n=o.focusOutlineColor),"hoverTextColor"in o&&r(1,i=o.hoverTextColor),"shouldIconInheritSize"in o&&r(2,a=o.shouldIconInheritSize)},[n,i,a,s]}class yh extends de{constructor(e){super(),he(this,e,Ny,Vy,fe,{focusOutlineColor:0,hoverTextColor:1,shouldIconInheritSize:2})}}const{Boolean:Ch}=Xi;function vf(t,e,r){const n=t.slice();return n[34]=e[r],n[36]=r,n}function _f(t,e,r){const n=t.slice();return n[34]=e[r],n[36]=r,n}function My(t){var n,i;let e,r;return e=new yh({props:{focusOutlineColor:(n=t[9])==null?void 0:n.focusOutlineColor,hoverTextColor:(i=t[9])==null?void 0:i.hoverTextColor}}),e.$on("click",t[13]),{c(){Q(e.$$.fragment)},l(a){X(e.$$.fragment,a)},m(a,s){G(e,a,s),r=!0},p(a,s){var l,u;const o={};
37s[0]&512&&(o.focusOutlineColor=(l=a[9])==null?void 0:l.focusOutlineColor),s[0]&512&&(o.hoverTextColor=(u=a[9])==null?void 0:u.hoverTextColor),e.$set(o)},i(a){r||(R(e.$$.fragment,a),r=!0)},o(a){I(e.$$.fragment,a),r=!1},d(a){K(e,a)}}}function bf(t){let e,r,n;function i(s){t[25](s)}let a={id:t[34].id,"data-transition-focus":`${t[34].label.replace(" ","")}-${t[36]}`,variant:"filled",buttonClass:"override-[nav]:px-8 override-[nav]:py-6 "+t[8],componentColorThemeOverride:t[5]==="white"?"cobaltBlue":null,label:t[34].label,url:t[34].url,target:It(t[34].url)?"_blank":""};return t[5]!==void 0&&(a.theme=t[5]),e=new fr({props:a}),$e.push(()=>pt(e,"theme",i)),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){G(e,s,o),n=!0},p(s,o){const l={};o[0]&64&&(l.id=s[34].id),o[0]&64&&(l["data-transition-focus"]=`${s[34].label.replace(" ","")}-${s[36]}`),o[0]&256&&(l.buttonClass="override-[nav]:px-8 override-[nav]:py-6 "+s[8]),o[0]&32&&(l.componentColorThemeOverride=s[5]==="white"?"cobaltBlue":null),o[0]&64&&(l.label=s[34].label),o[0]&64&&(l.url=s[34].url),o[0]&64&&(l.target=It(s[34].url)?"_blank":""),!r&&o[0]&32&&(r=!0,l.theme=s[5],mt(()=>r=!1)),e.$set(l)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){I(e.$$.fragment,s),n=!1},d(s){K(e,s)}}}function Fy(t){let e,r,n,i=t[12]&&My(t),a=ke(t[6]),s=[];for(let l=0;l<a.length;l+=1)s[l]=bf(vf(t,a,l));const o=l=>I(s[l],1,1,()=>{s[l]=null});return{c(){i&&i.c(),e=J();for(let l=0;l<s.length;l+=1)s[l].c();r=ie()},l(l){i&&i.l(l),e=ee(l);for(let u=0;u<s.length;u+=1)s[u].l(l);r=ie()},m(l,u){i&&i.m(l,u),j(l,e,u);for(let f=0;f<s.length;f+=1)s[f]&&s[f].m(l,u);j(l,r,u),n=!0},p(l,u){if(l[12]&&i.p(l,u),u[0]&352){a=ke(l[6]);let f;for(f=0;f<a.length;f+=1){const d=vf(l,a,f);s[f]?(s[f].p(d,u),R(s[f],1)):(s[f]=bf(d),s[f].c(),R(s[f],1),s[f].m(r.parentNode,r))}for(ae(),f=a.length;f<s.length;f+=1)o(f);se()}},i(l){if(!n){R(i);for(let u=0;u<a.length;u+=1)R(s[u]);n=!0}},o(l){I(i),s=s.filter(Ch);for(let u=0;u<s.length;u+=1)I(s[u]);n=!1},d(l){l&&(_(e),_(r)),i&&i.d(l),wr(s,l)}}}function yf(t){let e,r,n;function i(o){t[23](o)}function a(){return t[24](t[34])}let s={id:t[34].id+"-mobile","data-transition-focus":`${t[34].label.replace(" ","")}-${t[36]}`,variant:"filled",buttonClass:"override-[nav]:px-8 override-[nav]:py-6 "+t[8],componentColorThemeOverride:t[5]==="white"?"cobaltBlue":null,label:t[34].label,url:t[34].url,target:It(t[34].url)?"_blank":""};return t[5]!==void 0&&(s.theme=t[5]),e=new fr({props:s}),$e.push(()=>pt(e,"theme",i)),e.$on("click",a),{c(){Q(e.$$.fragment)},l(o){X(e.$$.fragment,o)},m(o,l){G(e,o,l),n=!0},p(o,l){t=o;const u={};l[0]&64&&(u.id=t[34].id+"-mobile"),l[0]&64&&(u["data-transition-focus"]=`${t[34].label.replace(" ","")}-${t[36]}`),l[0]&256&&(u.buttonClass="override-[nav]:px-8 override-[nav]:py-6 "+t[8]),l[0]&32&&(u.componentColorThemeOverride=t[5]==="white"?"cobaltBlue":null),l[0]&64&&(u.label=t[34].label),l[0]&64&&(u.url=t[34].url),l[0]&64&&(u.target=It(t[34].url)?"_blank":""),!r&&l[0]&32&&(r=!0,u.theme=t[5],mt(()=>r=!1)),e.$set(u)},i(o){n||(R(e.$$.fragment,o),n=!0)},o(o){I(e.$$.fragment,o),n=!1},d(o){K(e,o)}}}function Dy(t){let e,r,n=ke(t[6]),i=[];for(let s=0;s<n.length;s+=1)i[s]=yf(_f(t,n,s));const a=s=>I(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=ie()},l(s){for(let o=0;o<i.length;o+=1)i[o].l(s);e=ie()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);j(s,e,o),r=!0},p(s,o){if(o[0]&2400){n=ke(s[6]);let l;for(l=0;l<n.length;l+=1){const u=_f(s,n,l);i[l]?(i[l].p(u,o),R(i[l],1)):(i[l]=yf(u),i[l].c(),R(i[l],1),i[l].m(e.parentNode,e))}for(ae(),l=n.length;l<i.length;l+=1)a(l);se()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)R(i[o]);r=!0}},o(s){i=i.filter(Ch);for(let o=0;o<i.length;o+=1)I(i[o]);r=!1},d(s){s&&_(e),wr(i,s)}}}function jy(t){var i,a;let e,r,n;return r=new yh({props:{focusOutlineColor:(i=t[9])==null?void 0:i.focusOutlineColor,hoverTextColor:(a=t[9])==null?void 0:a.hoverTextColor,shouldIconInheritSize:!0}}),r.$on("click",t[13]),{c(){e=$("div"),Q(r.$$.fragment),this.h()},l(s){e=Z(s,"DIV",{class:!0});var o=S(e);X(r.$$.fragment,o),o.forEach(_),this.h()},h(){m(e,"class","mt-10")},m(s,o){j(s,e,o),G(r,e,null),n=!0},p(s,o){var u,f;const l={};o[0]&512&&(l.focusOutlineColor=(u=s[9])==null?void 0:u.focusOutlineColor),o[0]&512&&(l.hoverTextColor=(f=s[9])==null?void 0:f.hoverTextColor),r.$set(l)},i(s){n||(R(r.$$.fragment,s),n=!0)},o(s){I(r.$$.fragment,s),n=!1},d(s){s&&_(e),K(r)}}}function Uy(t){let e,r,n=t[12]&&jy(t);return{c(){n&&n.c(),e=ie()},l(i){n&&n.l(i),e=ie()},m(i,a){n&&n.m(i,a),j(i,e,a),r=!0},p(i,a){i[12]&&n.p(i,a)},i(i){r||(R(n),r=!0)},o(i){I(n),r=!1},d(i){i&&_(e),n&&n.d(i)}}}function xy(t){let e,r,n;function i(s){t[22](s)}let a={currentTheme:t[5]};return t[3]!==void 0&&(a.isSearchPanelVisible=t[3]),e=new Ay({props:a}),$e.push(()=>pt(e,"isSearchPanelVisible",i)),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){G(e,s,o),n=!0},p(s,o){const l={};o[0]&32&&(l.currentTheme=s[5]),!r&&o[0]&8&&(r=!0,l.isSearchPanelVisible=s[3],mt(()=>r=!1)),e.$set(l)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){I(e.$$.fragment,s),n=!1},d(s){K(e,s)}}}function By(t){let e,r,n,i;function a(l){t[26](l)}function s(l){t[27](l)}
37let o={hasScrolledDown:t[4],mainNavigation:t[10],delayThemeFadeOnNavBar:t[7],animateNavBarItems:t[2],currentRoute:t[0],isSearchPanelVisible:t[3],$$slots:{searchPanel:[xy],searchButtonMobile:[Uy],utilityNavigationMobile:[Dy],utilityNavigation:[Fy]},$$scope:{ctx:t}};return t[5]!==void 0&&(o.theme=t[5]),t[1]!==void 0&&(o.isExpanded=t[1]),e=new Lg({props:o}),$e.push(()=>pt(e,"theme",a)),$e.push(()=>pt(e,"isExpanded",s)),e.$on("searchClose",t[14]),{c(){Q(e.$$.fragment)},l(l){X(e.$$.fragment,l)},m(l,u){G(e,l,u),i=!0},p(l,u){const f={};u[0]&16&&(f.hasScrolledDown=l[4]),u[0]&128&&(f.delayThemeFadeOnNavBar=l[7]),u[0]&4&&(f.animateNavBarItems=l[2]),u[0]&1&&(f.currentRoute=l[0]),u[0]&8&&(f.isSearchPanelVisible=l[3]),u[0]&872|u[1]&128&&(f.$$scope={dirty:u,ctx:l}),!r&&u[0]&32&&(r=!0,f.theme=l[5],mt(()=>r=!1)),!n&&u[0]&2&&(n=!0,f.isExpanded=l[1],mt(()=>n=!1)),e.$set(f)},i(l){i||(R(e.$$.fragment,l),i=!0)},o(l){I(e.$$.fragment,l),i=!1},d(l){K(e,l)}}}function zy(t,e,r){var et,xe;let n,i,a,s,o,l,u;Sr(t,vi,ne=>r(21,u=ne));let{data:f}=e,{activePrimaryUrl:d}=e,{opcEvents:c=[]}=e;const h=(et=f.children)==null?void 0:et.filter(ne=>an(ne)==="menu"),p=[];let g=[];const b=$a({sm:"90px",md:"33vw",lg:"25vw"}),v=ds("featureFlags")??{},y=((xe="/contact/,/stories/take-action-hawaii-fires/,/grassroots/,/publicoutreach/,/stories/take-action-hurricane-helene/,/stories/take-action-hurricanes-helene-and-milton/".split(","))==null?void 0:xe.filter(Boolean))||[];h==null||h.forEach(ne=>{var Kt,pr,U,x,z,q,re,ue,ge,oe,Se,De,Le,Ke,Be,ot,Ae,rt;const tt={label:((U=(pr=(Kt=ne==null?void 0:ne.fields)==null?void 0:Kt.trigger)==null?void 0:pr.fields)==null?void 0:U.text)??((z=(x=ne==null?void 0:ne.trigger)==null?void 0:x.fields)==null?void 0:z.text),url:((oe=(ge=(ue=(re=(q=ne==null?void 0:ne.fields)==null?void 0:q.trigger)==null?void 0:re.fields)==null?void 0:ue.destination)==null?void 0:ge.fields)==null?void 0:oe.url)??((Ke=(Le=(De=(Se=ne==null?void 0:ne.trigger)==null?void 0:Se.fields)==null?void 0:De.destination)==null?void 0:Le.fields)==null?void 0:Ke.url)},He=[];if(tt.url==="/whats-on/"){const B=c.map(Hh);ne.fields.items=[...ne.fields.items,...B].slice(0,4)}(ot=(Be=ne==null?void 0:ne.fields)==null?void 0:Be.items)==null||ot.forEach(B=>{var je,jt,Ue,Ce,dt,Ut,or,gr,Hr,Yr,Si,$s,Zs,Ws,qs,Qs,Gs,Ks,Xs,Ys,Js,eo,to,ro,no,io,ao,so,oo,lo,uo,co,fo,ho,mo,po,go,vo,_o,bo,yo,Co,wo,So,Eo,To,ko,Lo,Oo,Ro,Po,Io,Ho,Ao,Vo,No,Mo,Fo,Do,jo,Uo,xo,Bo,zo,$o,Zo,Wo,qo,Qo,Go,Ko,Xo;((je=B==null?void 0:B.fields)==null?void 0:je.type)==="Static Menu"?He.push({type:"section",mobileStyle:"list",label:(Ce=(Ue=(jt=B==null?void 0:B.fields)==null?void 0:jt.trigger)==null?void 0:Ue.fields)==null?void 0:Ce.text,links:(dt=B==null?void 0:B.fields)==null?void 0:dt.items.map(nt=>{var yn,Cn;return{label:(yn=nt==null?void 0:nt.fields)==null?void 0:yn.text,url:(Cn=nt==null?void 0:nt.fields)==null?void 0:Cn.url,isExternal:It(nt==null?void 0:nt.fields.url)}}),trailingLink:(or=(Ut=B==null?void 0:B.fields)==null?void 0:Ut.trailingItems)!=null&&or.length?{label:(Yr=(Hr=(gr=B==null?void 0:B.fields)==null?void 0:gr.trailingItems[0])==null?void 0:Hr.fields)==null?void 0:Yr.text,url:(Zs=($s=(Si=B==null?void 0:B.fields)==null?void 0:Si.trailingItems[0])==null?void 0:$s.fields)==null?void 0:Zs.url,isExternal:It((Qs=(qs=(Ws=B==null?void 0:B.fields)==null?void 0:Ws.trailingItems[0])==null?void 0:qs.fields)==null?void 0:Qs.url)}:void 0}):((Gs=B==null?void 0:B.fields)==null?void 0:Gs.type)==="Tertiary Menu"?He.push({type:"section",mobileStyle:"accordion",label:(Ys=(Xs=(Ks=B==null?void 0:B.fields)==null?void 0:Ks.trigger)==null?void 0:Xs.fields)==null?void 0:Ys.text,links:(Js=B==null?void 0:B.fields)==null?void 0:Js.items.map(nt=>{var yn,Cn;return{label:(yn=nt==null?void 0:nt.fields)==null?void 0:yn.text,url:(Cn=nt==null?void 0:nt.fields)==null?void 0:Cn.url,isExternal:It(nt==null?void 0:nt.fields.url)}}),trailingLink:(to=(eo=B==null?void 0:B.fields)==null?void 0:eo.trailingItems)!=null&&to.length?{label:(io=(no=(ro=B==null?void 0:B.fields)==null?void 0:ro.trailingItems[0])==null?void 0:no.fields)==null?void 0:io.text,url:(oo=(so=(ao=B==null?void 0:B.fields)==null?void 0:ao.trailingItems[0])==null?void 0:so.fields)==null?void 0:oo.url,isExternal:It((co=(uo=(lo=B==null?void 0:B.fields)==null?void 0:lo.trailingItems[0])==null?void 0:uo.fields)==null?void 0:co.url)}:void 0}):((mo=(ho=(fo=B==null?void 0:B.sys)==null?void 0:fo.contentType)==null?void 0:ho.sys)==null?void 0:mo.id)==="linkComponent"?He.push({type:"card",card:{title:(po=B==null?void 0:B.fields)==null?void 0:po.text,description:(_o=(vo=(go=B==null?void 0:B.fields)==null?void 0:go.destination)==null?void 0:vo.fields)==null?void 0:_o.description,linkLabel:(Co=(yo=(bo=B==null?void 0:B.fields)==null?void 0:bo.destination)==null?void 0:yo.fields)==null?void 0:Co.text,linkUrl:(Eo=(So=(wo=B==null?void 0:B.fields)==null?void 0:wo.destination)==null?void 0:So.fields)==null?void 0:Eo.url,isExternal:It((ko=(To=B==null?void 0:B.fields)==null?void 0:To.destination)==null?void 0:ko.fields.url),imageUrl:cl((Lo=B==null?void 0:B.fields)==null?void 0:Lo.image),srcset:Ui((Io=(Po=(Ro=(Oo=B==null?void 0:B.fields)==null?void 0:Oo.image)==null?void 0:Ro.fields)==null?void 0:Po.file)==null?void 0:Io.url,xi),sizes:b,imageAspectRatio:fl((Ho=B==null?void 0:B.fields)==null?void 0:Ho.image),alt:(No=(Vo=(Ao=B==null?void 0:B.fields)==null?void 0:Ao.image)==null?void 0:Vo.fields)==null?void 0:No.description}}):((Do=(Fo=(Mo=B==null?void 0:B.sys)==null?void 0:Mo.contentType)==null?void 0:Fo.sys)==null?void 0:Do.id)==="navTarget"&&He.push({type:"card",card:{title:(jo=B==null?void 0:B.fields)==null?void 0:jo.text,description:(Uo=B==null?void 0:B.fields)==null?void 0:Uo.description,linkLabel:(xo=B==null?void 0:B.fields)==null?void 0:xo.textLinkDisplayText,linkUrl:(Bo=B==null?void 0:B.fields)==null?void 0:Bo.url,isExternal:It(B==null?void 0:B.fields.url),imageUrl:cl((zo=B==null?void 0:B.fields)==null?void 0:zo.image),srcset:Ui((qo=(Wo=(Zo=($o=B==null?void 0:B.fields)==null?void 0:$o.image)==null?void 0:Zo.fields)==null?void 0:Wo.file)==null?void 0:qo.url,xi),sizes:b,imageAspectRatio:fl((Qo=B==null?void 0:B.fields)==null?void 0:Qo.image),alt:(Xo=(Ko=(Go=B==null?void 0:B.fields)==null?void 0:Go.image)==null?void 0:Ko.fields)==null?void 0:Xo.description}})}),(rt=(Ae=ne==null?void 0:ne.fields)==null?void 0:Ae.externalItems)==null||rt.forEach(B=>{var Ue,Ce,dt;const je=Ah({event:B.fields});let jt=je.eventDate;je.eventTime&&(jt+=` • ${je.eventTime}`),je.eventLocation&&(jt+=`<br>${je.eventLocation}`),He.push({type:"event",card:{title:je.eventTitle,description:jt,linkLabel:je.cta.text,linkUrl:je.cta.url??"",isExternal:!1,imageUrl:((Ue=je.image)==null?void 0:Ue.src)??null,srcset:(Ce=je.image)==null?void 0:Ce.srcset,sizes:b,alt:((dt=je.image)==null?void 0:dt.alt)??""}})}),p.push({link:tt,secondarySections:He})});const C=()=>{r(17,E=window.scrollY)};dn(()=>{var ne;r(2,T=!0),window.addEventListener("scroll",C),!y.includes(n)&&((ne=f.children)==null||ne.filter(tt=>an(tt)==="linkComponent").forEach(tt=>{var U,x,z,q,re,ue;const He=/stripe|\?form/,Kt=(x=(U=tt.fields)==null?void 0:U.destination)==null?void 0:x.fields.url.match(He),pr=((z=u==null?void 0:u.data.pageEntry)==null?void 0:z.fields.donateButtonOverrideUrl)??"";
37Kt&&g.push({id:`primary-utility-nav-${tt.sys.id}`,label:(q=tt.fields)==null?void 0:q.text,url:pr?`${pr}`:(ue=(re=tt.fields)==null?void 0:re.destination.fields)==null?void 0:ue.url})}),r(6,g))});let k=!1,E=0,L=!1,T=!1,O,P=!1,H=!1;G2.subscribe(ne=>{r(18,O=ne)}),K2.subscribe(ne=>{r(19,H=ne==="CTA Above Fold")});const M=ne=>{(ne.url.includes("?form")||ne.label==="Donate")&&r(1,k=!1)},N=v.fullTextSearch,F=()=>{r(3,P=!0)},D=()=>{r(3,P=!1)};function W(ne){P=ne,r(3,P)}function Y(ne){s=ne,r(5,s),r(3,P),r(1,k),r(20,a),r(4,i),r(19,H),r(18,O),r(17,E)}const le=ne=>M(ne);function _e(ne){s=ne,r(5,s),r(3,P),r(1,k),r(20,a),r(4,i),r(19,H),r(18,O),r(17,E)}function Ie(ne){s=ne,r(5,s),r(3,P),r(1,k),r(20,a),r(4,i),r(19,H),r(18,O),r(17,E)}function pe(ne){k=ne,r(1,k)}return t.$$set=ne=>{"data"in ne&&r(15,f=ne.data),"activePrimaryUrl"in ne&&r(0,d=ne.activePrimaryUrl),"opcEvents"in ne&&r(16,c=ne.opcEvents)},t.$$.update=()=>{t.$$.dirty[0]&2097152&&(n=u==null?void 0:u.url.pathname),t.$$.dirty[0]&131072&&r(4,i=!!E),t.$$.dirty[0]&786448&&r(20,a=i||H?"white":O),t.$$.dirty[0]&1048586&&r(5,s=P||k?"lightGrey":a),t.$$.dirty[0]&32&&r(9,o=ft(s)),t.$$.dirty[0]&2&&(k?Bi.set(!0):Bi.set(!1)),t.$$.dirty[0]&16&&(i?r(7,L=!1):(r(7,L=!0),setTimeout(()=>{r(7,L=!1)},500))),t.$$.dirty[0]&4&&r(8,l=T?"transition-all duration-[150ms] ease-nav-easing":"")},[d,k,T,P,i,s,g,L,l,o,p,M,N,F,D,f,c,E,O,H,a,u,W,Y,le,_e,Ie,pe]}class $y extends de{constructor(e){super(),he(this,e,zy,By,fe,{data:15,activePrimaryUrl:0,opcEvents:16},null,[-1,-1])}}function Zy(t){let e,r,n,i,a,s,o,l,u=new Date().getFullYear()+"",f,d,c;return i=new mr({props:{class:"hover:text-white",href:"/501c3-disclaimer",label:"Read more",variant:"inline",theme:wh,isExternal:!1}}),{c(){e=$("div"),r=$("p"),n=Me(`The Obama Foundation is a nonpartisan 501(c)(3) nonprofit organization on a mission to
38      inspire, empower, and connect people to change their world.
39      `),Q(i.$$.fragment),a=Me(`
40       about our tax-exempt status.`),s=J(),o=$("p"),l=Me("© "),f=Me(u),d=Me(" The Barack Obama Foundation."),this.h()},l(h){e=Z(h,"DIV",{slot:!0});var p=S(e);r=Z(p,"P",{class:!0});var g=S(r);n=Fe(g,`The Obama Foundation is a nonpartisan 501(c)(3) nonprofit organization on a mission to
41      inspire, empower, and connect people to change their world.
42      `),X(i.$$.fragment,g),a=Fe(g,`
43       about our tax-exempt status.`),g.forEach(_),s=ee(p),o=Z(p,"P",{class:!0});var b=S(o);l=Fe(b,"© "),f=Fe(b,u),d=Fe(b," The Barack Obama Foundation."),b.forEach(_),p.forEach(_),this.h()},h(){m(r,"class","rich-text rich-text-paragraph"),m(o,"class","rich-text rich-text-paragraph"),m(e,"slot","bottomText")},m(h,p){j(h,e,p),w(e,r),w(r,n),G(i,r,null),w(r,a),w(e,s),w(e,o),w(o,l),w(o,f),w(o,d),c=!0},p:ce,i(h){c||(R(i.$$.fragment,h),c=!0)},o(h){I(i.$$.fragment,h),c=!1},d(h){h&&_(e),K(i)}}}function Wy(t){let e,r;const n=[t[0]];let i={$$slots:{bottomText:[Zy]},$$scope:{ctx:t}};for(let a=0;a<n.length;a+=1)i=ve(i,n[a]);return e=new f7({props:i}),{c(){Q(e.$$.fragment)},l(a){X(e.$$.fragment,a)},m(a,s){G(e,a,s),r=!0},p(a,[s]){const o=s&1?Ct(n,[X2(a[0])]):{};s&1024&&(o.$$scope={dirty:s,ctx:a}),e.$set(o)},i(a){r||(R(e.$$.fragment,a),r=!0)},o(a){I(e.$$.fragment,a),r=!1},d(a){K(e,a)}}}const wh="cobaltBlue",Cf="//images.ctfassets.net/l7h59hfnlxjx/5qLOagBRPSEvvpWDVsl0jd/a70a8374e6c0e3bbb0c6291da2376ba6/1204374f849dd17ba86168f3905700fc";function qy(t,e,r){var h,p,g,b;let{data:n}=e;const i=ds("ignoreContentfulImgResize"),a=(h=n==null?void 0:n.children)==null?void 0:h.filter(v=>an(v)==="navTarget"),s=(p=n==null?void 0:n.children)==null?void 0:p.filter(v=>an(v)==="menu"||an(v)==="linkComponent"),o={Instagram:"instagram",TikTok:"tiktok",Facebook:"facebook",YouTube:"youtube",LinkedIn:"linkedIn",X:"x",Threads:"threads",Bluesky:"bluesky"},l=v=>{var L,T,O,P,H,M;const y=(O=(T=(L=v.fields)==null?void 0:L.trigger)==null?void 0:T.fields)==null?void 0:O.text,C=((P=v.fields.items)==null?void 0:P.map(N=>{var D,W,Y,le,_e,Ie;const F=o[(D=N.fields)==null?void 0:D.text];return{id:`gtm-${(Y=N.fields)==null?void 0:Y.url.substring(1,((W=N.fields)==null?void 0:W.url.length)-1).replaceAll("/","-")}-${N.sys.id}`,href:(le=N.fields)==null?void 0:le.url,text:(_e=N.fields)==null?void 0:_e.text,isExternal:F?!1:It((Ie=N.fields)==null?void 0:Ie.url),iconName:F,type:"link"}}))||[],k=((M=(H=v.fields)==null?void 0:H.externalItems)==null?void 0:M.map(N=>{var F,D,W,Y,le,_e;return{id:`gtm-${(F=N.fields)==null?void 0:F.name.replaceAll(" ","-")}-${N.sys.id}`,name:(D=N.fields)==null?void 0:D.name,hours:(W=N.fields)==null?void 0:W.simpleHours,address:(Y=N.fields)==null?void 0:Y.address,addressLink:(le=N.fields)==null?void 0:le.addressLink,phone:(_e=N.fields)==null?void 0:_e.phone,type:"location"}}))||[],E=[...C,...k];return{title:y,items:E}},u=v=>{var y,C,k,E,L,T,O,P,H,M,N;return{type:"card",card:{label:(y=v.fields)==null?void 0:y.text,imageUrl:(k=(C=v.fields)==null?void 0:C.image)==null?void 0:k.fields.file.url,srcset:i?null:Ui((L=(E=v.fields)==null?void 0:E.image)==null?void 0:L.fields.file.url,xi),sizes:$a({sm:"100vw",md:"50vw",lg:"25vw"}),alt:(O=(T=v.fields)==null?void 0:T.image)==null?void 0:O.fields.description,linkUrl:(H=(P=v.fields)==null?void 0:P.destination)==null?void 0:H.fields.url,isExternal:It((N=(M=v.fields)==null?void 0:M.destination)==null?void 0:N.fields.url),id:`primary-nav-utility-${v.sys.id}`}}},f=(s==null?void 0:s.map(v=>an(v)==="linkComponent"?u(v):l(v)))||[],d=a==null?void 0:a.find(v=>{var y;return((y=v.fields)==null?void 0:y.name)==="Donate"}),c={themeName:wh,title:[{type:"text",content:"Donate",class:"text-[25vw] md:text-[16vw] xl:text-[min(16.5vw,320px)]"},{type:"image",content:Y2(Cf),class:"h-[19vw] md:h-auto md:w-[17.75vw] pl-[1.5vw] md:pl-0",srcset:i?null:Ui(Cf,xi),sizes:$a({sm:"100vw",md:"25vw"})}
43,{type:"text",content:"Today",class:"text-[25vw] md:text-[16vw] xl:text-[min(16.5vw,320px)]"}],subTitle:"We need your help to turn hope into action—to inspire, empower, and connect people to change their world.",ctaButton:{label:(g=d==null?void 0:d.fields)==null?void 0:g.text,href:(b=d==null?void 0:d.fields)==null?void 0:b.url,id:"footer-donate"},footerColumns:[...f],legalLinks:[{href:"/terms-of-service",text:"Terms of service"},{href:"/privacy-statement",text:"Privacy policy"},{href:"#",text:"Privacy preference center",class:"optanon-show-settings underline"}]};return t.$$set=v=>{"data"in v&&r(1,n=v.data)},[c,n]}class Qy extends de{constructor(e){super(),he(this,e,qy,Wy,fe,{data:1})}}function Gy(t,e,r){let n,i;Sr(t,vi,s=>r(1,i=s));let{redirects:a={}}=e;return a3(async()=>{a[n.pathname]&&!n.searchParams.get("form")&&(window.location.href=`${n.origin}${a[n.pathname]}`)}),t.$$set=s=>{"redirects"in s&&r(0,a=s.redirects)},t.$$.update=()=>{t.$$.dirty&2&&(n=i==null?void 0:i.url)},[a,i]}class Ky extends de{constructor(e){super(),he(this,e,Gy,null,fe,{redirects:0})}}function Xy(t){let e,r,n=`(function (nonVWOScriptsToExecute, VWO_HARD_TIMEOUT) {
44      window._vwo_evq = window._vwo_evq || [];
45      var queue = window._vwo_evq;
46      for (var i = 0; i < queue.length; i++) {
47        if (queue[i][0] === "rD") {
48          window.willRedirectionOccur = true;
49          break;
50        }
51      }
52      var _vwoOldPush = window._vwo_evq.push;
53      window._vwo_evq.push = function () {
54        var eventData = arguments[0],
55          willRedirectionOccur;
56        if (eventData[0] === "rD") {
57          willRedirectionOccur = eventData[1];
58          // It will be set to true if a redirection is going to be done by VWO.
59          window.willRedirectionOccurByVWO = willRedirectionOccur;
60        }
61        _vwoOldPush.apply(window._vwo_evq, [].slice.call(arguments));
62      };
63      var hardLimitTimedout = false;
64
65      function tryNonVWOTracking(nonVWOScriptsToExecute) {
66        if (
67          (window._vwo_code && (window._vwo_code.finished() || window._vwo_code.libExecuted)) ||
68          hardLimitTimedout
69        ) {
70          if (!window.willRedirectionOccurByVWO) {
71            clearTimeout(hardLimitTimer);
72            for (var i = 0; i < nonVWOScriptsToExecute.length; i++) {
73              try {
74                nonVWOScriptsToExecute[i]();
75              } catch (e) {}
76            }
77            return;
78          }
79        }
80        setTimeout(function () {
81          tryNonVWOTracking(nonVWOScriptsToExecute);
82        }, 500);
83      }
84
85      var hardLimitTimer = setTimeout(function () {
86        hardLimitTimedout = true;
87      }, VWO_HARD_TIMEOUT);
88      tryNonVWOTracking(nonVWOScriptsToExecute);
89    })(
90      [
91        function () {
92          // GA4 code started
93          window.vwoHelperHasExecuted = true;
94          // GA4 code End/Closed
95        }
96      ],
97      5000 /*MAXIMUM TIME IN SECONDS IN WHICH GA CODE WILL EXECUTE ANYWAY*/
98    );
99    window._vwo_code ||
100      (function () {
101        var account_id = 929716,
102          version = 2.1,
103          settings_tolerance = 2000,
104          hide_element = "body",
105          hide_element_style =
106            "opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;",
107          /* DO NOT EDIT BELOW THIS LINE */
108          f = false,
109          w = window,
110          d = document,
111          v = d.querySelector("#vwoCode"),
112          cK = "_vwo_" + account_id + "_settings",
113          cc = {};
114        try {
115          var c = JSON.parse(localStorage.getItem("_vwo_" + account_id + "_config"));
116          cc = c && typeof c === "object" ? c : {};
117        } catch (e) {}
118        var stT = cc.stT === "session" ? w.sessionStorage : w.localStorage;
119        code = {
120          use_existing_jquery: function () {
121            return typeof use_existing_jquery !== "undefined" ? use_existing_jquery : undefined;
122          },
123          library_tolerance: function () {
124            return typeof library_tolerance !== "undefined" ? library_tolerance : undefined;
125          },
126          settings_tolerance: function () {
127            return cc.sT || settings_tolerance;
128          },
129          hide_element_style: function () {
130            return "{" + (cc.hES || hide_element_style) + "}";
131          },
132          hide_element: function () {
133            if (performance.getEntriesByName("first-contentful-paint")[0]) {
134              return "";
135            }
136            return typeof cc.hE === "string" ? cc.hE : hide_element;
137          },
138          getVersion: function () {
139            return version;
140          },
141          finish: function (e) {
142            if (!f) {
143              f = true;
144              var t = d.getElementById("_vis_opt_path_hides");
145              if (t) t.parentNode.removeChild(t);
146              if (e)
147                new Image().src =
148                  "https://dev.visualwebsiteoptimizer.com/ee.gif?a=" + account_id + e;
149            }
150          },
151          finished: function () {
152            return f;
153          },
154          addScript: function (e) {
155            var t = d.createElement("script");
156            t.type = "text/javascript";
157            if (e.src) {
158              t.src = e.src;
159            } else {
160              t.text = e.text;
161            }
162            d.getElementsByTagName("head")[0].appendChild(t);
163          },
164          load: function (e, t) {
165            var i = this.getSettings(),
166              n = d.createElement("script"),
167              r = this;
168            t = t || {};
169            if (i) {
170              n.textContent = i;
171              d.getElementsByTagName("head")[0].appendChild(n);
172              if (!w.VWO || VWO.caE) {
173                stT.removeItem(cK);
174                r.load(e);
175              }
176            } else {
177              var o = new XMLHttpRequest();
178              o.open("GET", e, true);
179              o.withCredentials = !t.dSC;
180              o.responseType = t.responseType || "text";
181              o.onload = function () {
182                if (t.onloadCb) {
183                  return t.onloadCb(o, e);
184                }
185                if (o.status === 200 || o.status === 304) {
186                  _vwo_code.addScript({ text: o.responseText });
187                } else {
188                  _vwo_code.finish("&e=loading_failure:" + e);
189                }
190              };
191              o.onerror = function () {
192                if (t.onerrorCb) {
193                  return t.onerrorCb(e);
194                }
195                _vwo_code.finish("&e=loading_failure:" + e);
196              };
197              o.send();
198            }
199          },
200          getSettings: function () {
201            try {
202              var e = stT.getItem(cK);
203              if (!e) {
204                return;
205              }
206              e = JSON.parse(e);
207              if (Date.now() > e.e) {
208                stT.removeItem(cK);
209                return;
210              }
211              return e.s;
212            } catch (e) {
213              return;
214            }
215          },
216          init: function () {
217            if (d.URL.indexOf("__vwo_disable__") > -1) return;
218            var e = this.settings_tolerance();
219            w._vwo_settings_timer = setTimeout(function () {
220              _vwo_code.finish();
221              stT.removeItem(cK);
222            }, e);
223            var t;
224            if (this.hide_element() !== "body") {
225              t = d.createElement("style");
226              var i = this.hide_element(),
227                n = i ? i + this.hide_element_style() : "",
228                r = d.getElementsByTagName("head")[0];
229              t.setAttribute("id", "_vis_opt_path_hides");
230              v && t.setAttribute("nonce", v.nonce);
231              t.setAttribute("type", "text/css");
232              if (t.styleSheet) t.styleSheet.cssText = n;
233              else t.appendChild(d.createTextNode(n));
234              r.appendChild(t);
235            } else {
236              t = d.getElementsByTagName("head")[0];
237              var n = d.createElement("div");
238              n.style.cssText =
239                "z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;";
240              n.setAttribute("id", "_vis_opt_path_hides");
241              n.classList.add("_vis_hide_layer");
242              t.parentNode.insertBefore(n, t.nextSibling);
243            }
244            var o =
245              "https://dev.visualwebsiteoptimizer.com/j.php?a=" +
246              account_id +
247              "&u=" +
248              encodeURIComponent(d.URL) +
249              "&vn=" +
250              version;
251            if (w.location.search.indexOf("_vwo_xhr") !== -1) {
252              this.addScript({ src: o });
253            } else {
254              this.load(o + "&x=true");
255            }
256          }
257        };
258        w._vwo_code = code;
259        code.init();
260      })();`;return{c(){e=$("link"),r=$("script"),r.textContent=n,this.h()},l(i){const a=Gi("svelte-15wi1ym",document.head);e=Z(a,"LINK",{rel:!0,href:!0}),r=Z(a,"SCRIPT",{type:!0,id:!0,"data-svelte-h":!0}),hs(r)!=="svelte-9nhpm9"&&(r.textContent=n),a.forEach(_),this.h()},h(){m(e,"rel","preconnect"),m(e,"href","https://dev.visualwebsiteoptimizer.com"),m(r,"type","text/javascript"),m(r,"id","vwoCode")},m(i,a){w(document.head,e),w(document.head,r)},p:ce,i:ce,o:ce,d(i){_(e),_(r)}}}class Yy extends de{constructor(e){super(),he(this,e,null,Xy,fe,{})}}function wf(t){let e,r;return e=new Ps({props:{title:"Too many banners configured to be displayed on some pages!",body:t[3],themeName:"red",isHidden:!1}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};
260i&8&&(a.body=n[3]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Sf(t){let e,r;return e=new Ps({props:{title:"Too many banners configured for this page!",body:`There are currently ${t[1].length} banners configured to display on this page.`,themeName:"red",isHidden:!1}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&2&&(a.body=`There are currently ${n[1].length} banners configured to display on this page.`),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Ef(t){let e,r;return e=new Ps({props:{title:t[6],body:t[7],cta:t[9],themeName:t[8],isHidden:t[4]}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&16&&(a.isHidden=n[4]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Jy(t){let e,r,n,i,a,s;Ye(t[14]);let o=t[5]&&t[3].length>0&&wf(t),l=t[3].length===0&&t[5]&&t[1].length>1&&Sf(t),u=t[2]&&Ef(t);const f=t[13].default,d=Ze(f,t,t[12],null);return{c(){o&&o.c(),e=J(),l&&l.c(),r=J(),u&&u.c(),n=J(),d&&d.c()},l(c){o&&o.l(c),e=ee(c),l&&l.l(c),r=ee(c),u&&u.l(c),n=ee(c),d&&d.l(c)},m(c,h){o&&o.m(c,h),j(c,e,h),l&&l.m(c,h),j(c,r,h),u&&u.m(c,h),j(c,n,h),d&&d.m(c,h),i=!0,a||(s=Ee(window,"resize",t[14]),a=!0)},p(c,[h]){c[5]&&c[3].length>0?o?(o.p(c,h),h&8&&R(o,1)):(o=wf(c),o.c(),R(o,1),o.m(e.parentNode,e)):o&&(ae(),I(o,1,1,()=>{o=null}),se()),c[3].length===0&&c[5]&&c[1].length>1?l?(l.p(c,h),h&10&&R(l,1)):(l=Sf(c),l.c(),R(l,1),l.m(r.parentNode,r)):l&&(ae(),I(l,1,1,()=>{l=null}),se()),c[2]?u?(u.p(c,h),h&4&&R(u,1)):(u=Ef(c),u.c(),R(u,1),u.m(n.parentNode,n)):u&&(ae(),I(u,1,1,()=>{u=null}),se()),d&&d.p&&(!i||h&4096)&&We(d,f,c,c[12],i?Qe(f,c[12],h,null):qe(c[12]),null)},i(c){i||(R(o),R(l),R(u),R(d,c),i=!0)},o(c){I(o),I(l),I(u),I(d,c),i=!1},d(c){c&&(_(e),_(r),_(n)),o&&o.d(c),l&&l.d(c),u&&u.d(c),d&&d.d(c),a=!1,s()}}}function Sh(t,e,r){const n=t&&t.length===0,i=t.includes(r),a=e.includes(r);return(n||i)&&!a}function eC(t){if(!t.length)return{};const e={},r={},n=new Set;for(const a of t){const{pagesToShow:s=[],pagesToHide:o=[]}=a.fields;s.length===0&&o.length===0&&(r[a.sys.id]=a),s.forEach(l=>n.add(l)),o.forEach(l=>n.add(l))}const i=Array.from(n);for(const a of i){const s=[];for(const o of t){const{pagesToShow:l=[],pagesToHide:u=[]}=o.fields;Sh(l,u,a)&&s.push(o.sys.id)}s.length>1&&(e[a]=s)}return Object.keys(r).length>1&&(e[""]=Object.keys(r)),e}function tC(t,e=[]){return!e||e.length===0?[]:e.reduce((n,i)=>{const a=i.fields.pagesToShow||[],s=i.fields.pagesToHide||[];return Sh(a,s,t)?[...n,i]:n},[])}function rC(t,e,r){var O,P,H,M,N,F,D,W,Y;let n,i;Sr(t,Bi,le=>r(11,n=le)),Sr(t,vi,le=>r(16,i=le));let{$$slots:a={},$$scope:s}=e;const o=Of();let{data:l}=e;const u={textLink:"textLink",outlinedLink:"outline",filledLink:"filled"},f=l||[],d=((O=i==null?void 0:i.url)==null?void 0:O.pathname)||"/";let c,h=[],p,g="";if(o)if(c=eC(f),c[""])g=`There are currently ${c[""].length} global banner(s) configured to display!`;else{const le=Object.keys(c).length;if(le&&!c[d]){g=`${le} page(s) have a banner conflict.`;for(const _e in c)if(Object.hasOwn(c,_e)){const Ie=c[_e];g+=` ${_e} has these duplicate banners configured: ${Ie.join(", ")}.`}}}h=tC(d,f),p=h.length>0?h[0]:null;const{headline:b,copy:v,cta:y,theme:C}=(p==null?void 0:p.fields)||{},k=y?{text:(P=y.fields)==null?void 0:P.text,type:u[(H=y.fields)==null?void 0:H.type],url:(F=(N=(M=y.fields)==null?void 0:M.destination)==null?void 0:N.fields)==null?void 0:F.url,isExternal:It((Y=(W=(D=y.fields)==null?void 0:D.destination)==null?void 0:W.fields)==null?void 0:Y.url),id:`banner-cta-${$f(b??y.sys.id)}`}:null;let E=!1,L=0;function T(){r(0,L=window.innerWidth)}return t.$$set=le=>{"data"in le&&r(10,l=le.data),"$$scope"in le&&r(12,s=le.$$scope)},t.$$.update=()=>{t.$$.dirty&2049&&L&&L<J2.lg&&r(4,E=n)},[L,h,p,g,E,o,b,v,C,k,l,n,s,a,T]}class nC extends de{constructor(e){super(),he(this,e,rC,Jy,fe,{data:10})}}function iC(t){let e,r,n,i,a=`function OptanonWrapper() {
261        window.oneTrustWrapperHasExecuted = true;
262        var vwoConsentProvided = OnetrustActiveGroups.includes("C0002");
263        window.VWO = window.VWO || [];
264        window.VWO.init =
265          window.VWO.init ||
266          function (state) {
267            window.VWO.consentState = state;
268          };
269        if (OneTrust.IsAlertBoxClosedAndValid()) {
270          VWO.init(vwoConsentProvided ? 1 : 3);
271        } else {
272          VWO.init(2);
273        }
274      }`;return{c(){e=$("script"),n=J(),i=$("script"),i.textContent=a,this.h()},l(s){e=Z(s,"SCRIPT",{src:!0,type:!0,charset:!0,"data-domain-script":!0});var o=S(e);o.forEach(_),n=ee(s),i=Z(s,"SCRIPT",{type:!0,"data-svelte-h":!0}),hs(i)!=="svelte-ssn0su"&&(i.textContent=a),this.h()},h(){xn(e.src,r="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js")||m(e,"src",r),m(e,"type","text/javascript"),m(e,"charset","UTF-8"),m(e,"data-domain-script",t[0]),m(i,"type","text/javascript")},m(s,o){j(s,e,o),j(s,n,o),j(s,i,o)}
274,p:ce,d(s){s&&(_(e),_(n),_(i))}}}function aC(t){let e,r=t[0]&&iC(t);return{c(){r&&r.c(),e=ie()},l(n){const i=Gi("svelte-151pgqx",document.head);r&&r.l(i),e=ie(),i.forEach(_)},m(n,i){r&&r.m(document.head,null),w(document.head,e)},p(n,[i]){n[0]&&r.p(n,i)},i:ce,o:ce,d(n){r&&r.d(n),_(e)}}}function sC(t){return["01921fee-ce94-7629-a579-a098ac57d38f"]}class oC extends de{constructor(e){super(),he(this,e,sC,aC,fe,{})}}function lC(t){let e,r;return e=new Ag({props:{id:t[4],hidden:t[0],theme:t[1],headline:t[2],subtext:t[3],cta:t[5],image:t[6]}}),e.$on("dismissal",t[7]),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,[i]){const a={};i&1&&(a.hidden=n[0]),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function uC(t,e,r){let n,i;Sr(t,vi,E=>r(9,n=E)),Sr(t,e3,E=>r(10,i=E));let{data:a}=e;const{theme:s,headline:o,subtext:l,ctaText:u,ctaUrl:f,image:d,pagesToHide:c,pagesToShow:h}=a.fields;let p=`popup-${$f(o)}`;const g={text:u,url:f},b={src:`https:${d.fields.imageAsset.fields.file.url}`,alt:d.fields.altText};let v=!0;const y=()=>{var T;const E=n.url.pathname,L=n.url.searchParams.get("form");r(0,v=!((T=window.OneTrust)!=null&&T.IsAlertBoxClosed())||U2(dl)==="dismissed"||(c==null?void 0:c.includes(E))||h&&!(h!=null&&h.includes(E))||i==="/donate/"||L||f===E),v||C({event:"pop-up-viewed","pop-up_id":p,"pop-up_type":`standard_${d?"with_image":"without_image"}`,page_url:n.url,trigger_type:"on_page_load"})},C=E=>{window.dataLayer.push(E)},k=E=>{x2(dl,"dismissed",1),C({event:`${E.detail.method.endsWith("_cta")?"pop-up_cta_clicked":"pop-up_closed"}`,"pop-up_id":p,method:E.detail.method})};return dn(()=>{y(),window.addEventListener("OneTrustGroupsUpdated",()=>{setTimeout(()=>{y()},800)})}),t.$$set=E=>{"data"in E&&r(8,a=E.data)},[v,s,o,l,p,g,b,k,a]}class cC extends de{constructor(e){super(),he(this,e,uC,lC,fe,{data:8})}}const{window:cs}=Xi;function Tf(t){let e,r;return{c(){e=$("script"),this.h()},l(n){e=Z(n,"SCRIPT",{src:!0});var i=S(e);i.forEach(_),this.h()},h(){e.async=!0,xn(e.src,r=t[2])||m(e,"src",r)},m(n,i){j(n,e,i)},p(n,i){i&4&&!xn(e.src,r=n[2])&&m(e,"src",r)},d(n){n&&_(e)}}}function kf(t){let e,r;return e=new oC({}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function Lf(t){let e,r;return e=new cC({props:{data:t[0].popup}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};
274i&1&&(a.data=n[0].popup),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function fC(t){let e,r;return e=new $y({props:{data:t[0].header,activePrimaryUrl:t[0].activePrimaryUrl,opcEvents:t[0].opcEvents}}),{c(){Q(e.$$.fragment)},l(n){X(e.$$.fragment,n)},m(n,i){G(e,n,i),r=!0},p(n,i){const a={};i&1&&(a.data=n[0].header),i&1&&(a.activePrimaryUrl=n[0].activePrimaryUrl),i&1&&(a.opcEvents=n[0].opcEvents),e.$set(a)},i(n){r||(R(e.$$.fragment,n),r=!0)},o(n){I(e.$$.fragment,n),r=!1},d(n){K(e,n)}}}function dC(t){var k;let e,r,n,i,a,s,o,l,u,f,d,c,h,p,g;r=new fr({props:{id:"skip-to-content",url:"#main",theme:"white",label:"Skip to content",variant:"filled",buttonClass:"!absolute !z-[--stack-level-layer-top] !left-4 !top-[-100px] focus-visible:!top-4 hover:bg-white"}});let b=((k=t[0].featureFlags)==null?void 0:k.useOneTrust)&&!t[6]&&kf(),v=t[0].popup&&Lf(t);s=new Im({}),l=new nC({props:{data:t[0].alertBanners,$$slots:{default:[fC]},$$scope:{ctx:t}}});const y=t[7].default,C=Ze(y,t,t[9],null);return h=new Qy({props:{data:t[0].footer}}),{c(){e=$("div"),Q(r.$$.fragment),n=J(),b&&b.c(),i=J(),v&&v.c(),a=J(),Q(s.$$.fragment),o=J(),Q(l.$$.fragment),u=J(),f=$("main"),C&&C.c(),d=J(),c=$("div"),Q(h.$$.fragment),this.h()},l(E){e=Z(E,"DIV",{"data-headings-start":!0});var L=S(e);X(r.$$.fragment,L),n=ee(L),b&&b.l(L),i=ee(L),v&&v.l(L),a=ee(L),X(s.$$.fragment,L),o=ee(L),X(l.$$.fragment,L),u=ee(L),f=Z(L,"MAIN",{id:!0,tabindex:!0,class:!0,"data-headings-increment":!0});var T=S(f);C&&C.l(T),T.forEach(_),d=ee(L),c=Z(L,"DIV",{"aria-hidden":!0});var O=S(c);X(h.$$.fragment,O),O.forEach(_),L.forEach(_),this.h()},h(){m(f,"id","main"),m(f,"tabindex","-1"),m(f,"class","flex-1 relative focus:outline-none min-h-screen"),m(f,"data-headings-increment",""),m(c,"aria-hidden",p=t[4]&&t[5]),m(e,"data-headings-start","")},m(E,L){j(E,e,L),G(r,e,null),w(e,n),b&&b.m(e,null),w(e,i),v&&v.m(e,null),w(e,a),G(s,e,null),w(e,o),G(l,e,null),w(e,u),w(e,f),C&&C.m(f,null),w(e,d),w(e,c),G(h,c,null),g=!0},p(E,L){var P;(P=E[0].featureFlags)!=null&&P.useOneTrust&&!E[6]?b?L&1&&R(b,1):(b=kf(),b.c(),R(b,1),b.m(e,i)):b&&(ae(),I(b,1,1,()=>{b=null}),se()),E[0].popup?v?(v.p(E,L),L&1&&R(v,1)):(v=Lf(E),v.c(),R(v,1),v.m(e,a)):v&&(ae(),I(v,1,1,()=>{v=null}),se());const T={};L&1&&(T.data=E[0].alertBanners),L&513&&(T.$$scope={dirty:L,ctx:E}),l.$set(T),C&&C.p&&(!g||L&512)&&We(C,y,E,E[9],g?Qe(y,E[9],L,null):qe(E[9]),null);const O={};L&1&&(O.data=E[0].footer),h.$set(O),(!g||L&48&&p!==(p=E[4]&&E[5]))&&m(c,"aria-hidden",p)},i(E){g||(R(r.$$.fragment,E),R(b),R(v),R(s.$$.fragment,E),R(l.$$.fragment,E),R(C,E),R(h.$$.fragment,E),g=!0)},o(E){I(r.$$.fragment,E),I(b),I(v),I(s.$$.fragment,E),I(l.$$.fragment,E),I(C,E),I(h.$$.fragment,E),g=!1},d(E){E&&_(e),K(r),b&&b.d(),v&&v.d(),K(s),K(l),C&&C.d(E),K(h)}}}function hC(t){let e,r,n,i,a,s,o,l,u,f;Ye(t[8]);let d=t[2]&&Tf(t);return n=new Yy({}),a=new Ky({props:{redirects:t[0].fruRedirects}}),o=new Bf({props:{$$slots:{default:[dC]},$$scope:{ctx:t}}}),{c(){d&&d.c(),e=ie(),r=J(),Q(n.$$.fragment),i=J(),Q(a.$$.fragment),s=J(),Q(o.$$.fragment)},l(c){const h=Gi("svelte-j2frh6",document.head);d&&d.l(h),e=ie(),h.forEach(_),r=ee(c),X(n.$$.fragment,c),i=ee(c),X(a.$$.fragment,c),s=ee(c),X(o.$$.fragment,c)},m(c,h){d&&d.m(document.head,null),w(document.head,e),j(c,r,h),G(n,c,h),j(c,i,h),G(a,c,h),j(c,s,h),G(o,c,h),l=!0,u||(f=Ee(cs,"resize",t[8]),u=!0)},p(c,[h]){c[2]?d?d.p(c,h):(d=Tf(c),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null);const p={};h&1&&(p.redirects=c[0].fruRedirects),a.$set(p);const g={};h&561&&(g.$$scope={dirty:h,ctx:c}),o.$set(g)},i(c){l||(R(n.$$.fragment,c),R(a.$$.fragment,c),R(o.$$.fragment,c),l=!0)},o(c){I(n.$$.fragment,c),I(a.$$.fragment,c),I(o.$$.fragment,c),l=!1},d(c){c&&(_(r),_(i),_(s)),d&&d.d(c),_(e),K(n,c),K(a,c),K(o,c),u=!1,f()}}}function mC(t,e,r){let n,i;Sr(t,Bi,h=>r(5,i=h));let{$$slots:a={},$$scope:s}=e,{data:o}=e;const l=Of();let u,f;dn(async()=>{var h;Om(),!Lm(navigator.userAgent)&&((h=window.DD_RUM)!=null&&h.getInternalContext()),window.fundraiseup_livemode=!0,r(2,u="https://cdn.fundraiseup.com/widget/AHNVSXNQ"),await s3(l)}),Rh("featureFlags",o.featureFlags);let d;function c(){r(3,f=cs.innerHeight),r(1,d=cs.innerWidth)}return t.$$set=h=>{"data"in h&&r(0,o=h.data),"$$scope"in h&&r(9,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&2&&r(4,n=ji(d))},[o,d,u,f,n,i,l,a,c,s]}class TC extends de{constructor(e){super(),he(this,e,mC,hC,fe,{data:0})}}export{TC as component};
275//# sourceMappingURL=0.15a6b78a.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.