@flarehr/apollo-benefits 2.12.424 → 2.12.426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{datadog-1ddc8e11.js → datadog-7bedfe3b.js} +1 -1
- package/dist/assets/{index-24c5848d.js → index-1245ab47.js} +1 -1
- package/dist/assets/{index-fbf934cd.css → index-39e3cf7d.css} +1 -1
- package/dist/assets/index-e51f367a.js +3 -0
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/index-a5f2279c.js +0 -3
|
@@ -2,4 +2,4 @@ var De={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},pt=consol
|
|
|
2
2
|
`).forEach(function(a){var i=yo(a)||wo(a)||Co(a)||Ro(a);i&&(!i.func&&i.line&&(i.func=ge),e.push(i))}),{message:Xe(t,"message"),name:Xe(t,"name"),stack:e}}var Wn="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Kt="(?::(\\d+))",bo=new RegExp("^\\s*at (.*?) ?\\(".concat(Wn).concat(Kt,"?").concat(Kt,"?\\)?\\s*$"),"i"),So=new RegExp("\\((\\S*)".concat(Kt).concat(Kt,"\\)"));function yo(t){var e=bo.exec(t);if(e){var r=e[2]&&e[2].indexOf("native")===0,n=e[2]&&e[2].indexOf("eval")===0,a=So.exec(e[2]);return n&&a&&(e[2]=a[1],e[3]=a[2],e[4]=a[3]),{args:r?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||ge,line:e[3]?+e[3]:void 0,url:r?void 0:e[2]}}}var Eo=new RegExp("^\\s*at ?".concat(Wn).concat(Kt,"?").concat(Kt,"??\\s*$"),"i");function wo(t){var e=Eo.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:ge,line:e[2]?+e[2]:void 0,url:e[1]}}var To=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Co(t){var e=To.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||ge,line:+e[3],url:e[2]}}var Io=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Ao=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Ro(t){var e=Io.exec(t);if(e){var r=e[3]&&e[3].indexOf(" > eval")>-1,n=Ao.exec(e[3]);return r&&n&&(e[3]=n[1],e[4]=n[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||ge,line:e[4]?+e[4]:void 0,url:e[3]}}}function Xe(t,e){if(!(typeof t!="object"||!t||!(e in t))){var r=t[e];return typeof r=="string"?r:void 0}}function Oo(t,e,r,n){var a=[{url:e,column:n,line:r}],i=No(t),o=i.name,s=i.message;return{name:o,message:s,stack:a}}var xo=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function No(t){var e,r,n;return{}.toString.call(t)==="[object String]"&&(e=xo.exec(t),r=e[1],n=e[2]),{name:r,message:n}}var ko=220*Lt,Lo="$",Mo=3;function Q(t,e){var r;e===void 0&&(e=ko);var n=Ht(Object.prototype),a=Ht(Array.prototype),i=[],o=new WeakMap,s=Je(t,Lo,void 0,i,o),u=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(u>e){$e(e,"discarded",t);return}for(;i.length>0&&u<e;){var c=i.shift(),l=0;if(Array.isArray(c.source))for(var d=0;d<c.source.length;d++){var f=Je(c.source[d],c.path,d,i,o);if(f!==void 0?u+=JSON.stringify(f).length:u+=4,u+=l,l=1,u>e){$e(e,"truncated",t);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f=Je(c.source[d],c.path,d,i,o);if(f!==void 0&&(u+=JSON.stringify(f).length+l+d.length+Mo,l=1),u>e){$e(e,"truncated",t);break}c.target[d]=f}}return n(),a(),s}function Je(t,e,r,n,a){var i=Do(t);if(!i||typeof i!="object")return Uo(i);var o=Po(i);if(o!=="[Object]"&&o!=="[Array]"&&o!=="[Error]")return o;var s=t;if(a.has(s))return"[Reference seen at ".concat(a.get(s),"]");var u=r!==void 0?"".concat(e,".").concat(r):e,c=Array.isArray(i)?[]:{};return a.set(s,u),n.push({source:i,target:c,path:u}),c}function Uo(t){return typeof t=="bigint"?"[BigInt] ".concat(t.toString()):typeof t=="function"?"[Function] ".concat(t.name||"unknown"):typeof t=="symbol"?"[Symbol] ".concat(t.description||t.toString()):t}function Po(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t),r=e.match(/\[object (.*)\]/);if(r&&r[1])return"[".concat(r[1],"]")}catch{}return"[Unserializable]"}function Do(t){var e=t;if(e&&typeof e.toJSON=="function")try{return e.toJSON()}catch{}return t}function $e(t,e,r){O.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),r)}var qn="No stack, consider using an instance of Error";function jn(t){var e=t.stackTrace,r=t.originalError,n=t.handlingStack,a=t.startClocks,i=t.nonErrorPrefix,o=t.source,s=t.handling,u=r instanceof Error,c=Fo(e,u,i,r),l=Bo(u,e)?$t(e):qn,d=u?zo(r,o):void 0,f=e==null?void 0:e.name,v=Zn(r);return{startClocks:a,source:o,handling:s,handlingStack:n,originalError:r,type:f,message:c,stack:l,causes:d,fingerprint:v}}function Fo(t,e,r,n){return t!=null&&t.message&&(t!=null&&t.name)?t.message:e?"Empty message":"".concat(r," ").concat(Pt(Q(n)))}function Bo(t,e){return e===void 0?!1:t?!0:e.stack.length>0&&(e.stack.length>1||e.stack[0].url!==void 0)}function Zn(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function $t(t){var e=Xn(t);return t.stack.forEach(function(r){var n=r.func==="?"?"<anonymous>":r.func,a=r.args&&r.args.length>0?"(".concat(r.args.join(", "),")"):"",i=r.line?":".concat(r.line):"",o=r.line&&r.column?":".concat(r.column):"";e+=`
|
|
3
3
|
at `.concat(n).concat(a," @ ").concat(r.url).concat(i).concat(o)}),e}function Xn(t){return"".concat(t.name||"Error",": ").concat(t.message)}function Jn(){var t=2,e=new Error,r;if(!e.stack)try{throw e}catch{}return Ct(function(){var n=At(e);n.stack=n.stack.slice(t),r=$t(n)}),r}function zo(t,e){for(var r=t,n=[];(r==null?void 0:r.cause)instanceof Error&&n.length<10;){var a=At(r.cause);n.push({message:r.cause.message,source:e,type:a==null?void 0:a.name,stack:a&&$t(a)}),r=r.cause}return n.length?n:void 0}var Qt={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Vo(t){var e=function(a,i){var o=jn({stackTrace:a,originalError:i,startClocks:J(),nonErrorPrefix:"Uncaught",source:Qt.SOURCE,handling:"unhandled"});t.notify(o)},r=Ho(e).stop,n=Go(e).stop;return{stop:function(){r(),n()}}}function Ho(t){return X(window,"onerror",{before:function(e,r,n,a,i){var o;i instanceof Error?o=At(i):o=Oo(e,r,n,a),t(o,i??e)}})}function Go(t){return X(window,"onunhandledrejection",{before:function(e){var r=e.reason||"Empty reason",n=At(r);t(n,r)}})}function Yo(t){var e=C({version:"5.1.0",onReady:function(r){r()}},t);return Object.defineProperty(e,"_setDebug",{get:function(){return Ci},enumerable:!1}),e}function Ko(t,e,r){var n=t[e];t[e]=r,n&&n.q&&n.q.forEach(function(a){return On(a,"onReady callback threw an error:")()})}var _;(function(t){t.BEFORE_UNLOAD="beforeunload",t.CLICK="click",t.DBL_CLICK="dblclick",t.KEY_DOWN="keydown",t.LOAD="load",t.POP_STATE="popstate",t.SCROLL="scroll",t.TOUCH_START="touchstart",t.TOUCH_END="touchend",t.TOUCH_MOVE="touchmove",t.VISIBILITY_CHANGE="visibilitychange",t.PAGE_SHOW="pageshow",t.FREEZE="freeze",t.RESUME="resume",t.DOM_CONTENT_LOADED="DOMContentLoaded",t.POINTER_DOWN="pointerdown",t.POINTER_UP="pointerup",t.POINTER_CANCEL="pointercancel",t.HASH_CHANGE="hashchange",t.PAGE_HIDE="pagehide",t.MOUSE_DOWN="mousedown",t.MOUSE_UP="mouseup",t.MOUSE_MOVE="mousemove",t.FOCUS="focus",t.BLUR="blur",t.CONTEXT_MENU="contextmenu",t.RESIZE="resize",t.CHANGE="change",t.INPUT="input",t.PLAY="play",t.PAUSE="pause",t.SECURITY_POLICY_VIOLATION="securitypolicyviolation",t.SELECTION_CHANGE="selectionchange",t.STORAGE="storage"})(_||(_={}));function P(t,e,r,n,a){return W(t,e,[r],n,a)}function W(t,e,r,n,a){var i=a===void 0?{}:a,o=i.once,s=i.capture,u=i.passive,c=E(function(v){!v.isTrusted&&!v.__ddIsTrusted&&!t.allowUntrustedEvents||(o&&f(),n(v))}),l=u?{capture:s,passive:u}:s,d=Tt(e,"addEventListener");r.forEach(function(v){return d.call(e,v,c,l)});function f(){var v=Tt(e,"removeEventListener");r.forEach(function(p){return v.call(e,p,c,l)})}return{stop:f}}var Wt={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Wo(t,e){var r=[];_t(e,Wt.cspViolation)&&r.push(jo(t));var n=e.filter(function(a){return a!==Wt.cspViolation});return n.length&&r.push(qo(n)),Pn.apply(void 0,r)}function qo(t){var e=new L(function(){if(window.ReportingObserver){var r=E(function(a,i){return a.forEach(function(o){e.notify(Zo(o))})}),n=new window.ReportingObserver(r,{types:t,buffered:!0});return n.observe(),function(){n.disconnect()}}});return e}function jo(t){var e=new L(function(){var r=P(t,document,_.SECURITY_POLICY_VIOLATION,function(n){e.notify(Xo(n))}).stop;return r});return e}function Zo(t){var e=t.type,r=t.body;return{type:e,subtype:r.id,message:"".concat(e,": ").concat(r.message),stack:$n(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Xo(t){var e=Wt.cspViolation,r="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive");return{type:Wt.cspViolation,subtype:t.effectiveDirective,message:"".concat(e,": ").concat(r),stack:$n(t.effectiveDirective,t.originalPolicy?"".concat(r,' of the policy "').concat(Dn(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)}}function $n(t,e,r,n,a){return r?$t({name:t,message:e,stack:[{func:"?",url:r,line:n??void 0,column:a??void 0}]}):void 0}function xr(t,e){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:t,payload:e})}function Rt(t){return t===null?"null":Array.isArray(t)?"array":typeof t}function Me(t,e,r){if(r===void 0&&(r=Jo()),e===void 0)return t;if(typeof e!="object"||e===null)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var n=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,n)}if(!r.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var a=Array.isArray(t)?t:[],i=0;i<e.length;++i)a[i]=Me(a[i],e[i],r);return a}var o=Rt(t)==="object"?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(o[s]=Me(o[s],e[s],r));return o}}function Nr(t){return Me(void 0,t)}function lt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n=0,a=t;n<a.length;n++){var i=a[n];i!=null&&(r=Me(r,i))}return r}function Jo(){if(typeof WeakSet<"u"){var t=new WeakSet;return{hasAlreadyBeenSeen:function(r){var n=t.has(r);return n||t.add(r),n}}}var e=[];return{hasAlreadyBeenSeen:function(r){var n=e.indexOf(r)>=0;return n||e.push(r),n}}}var kr={log:"log",configuration:"configuration"},$o=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Qo=[oo],at={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},hr;function ts(t,e){var r,n=new L;at.telemetryEnabled=!_t(Qo,e.site)&&Yt(e.telemetrySampleRate),at.telemetryConfigurationEnabled=at.telemetryEnabled&&Yt(e.telemetryConfigurationSampleRate);var a=es();hr=function(o){if(at.telemetryEnabled){var s=i(t,o,a);n.notify(s),xr("telemetry",s)}},Ti(Ue),C(at,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0});function i(o,s,u){return lt({type:"telemetry",date:F(),service:o,version:"5.1.0",source:"browser",_dd:{format_version:2},telemetry:lt(s,{runtime_env:u}),experimental_features:Mn(ci())},r!==void 0?r():{})}return{setContextProvider:function(o){r=o},observable:n,enabled:at.telemetryEnabled}}function es(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function rs(t){return t.site===Yn}function Dt(t,e){fr(De.debug,t,e),Lr(C({type:kr.log,message:t,status:"debug"},e))}function Ue(t,e){Lr(C({type:kr.log,status:"error"},as(t),e))}function ns(t){at.telemetryConfigurationEnabled&&Lr({type:kr.configuration,configuration:t})}function Lr(t){hr&&at.sentEventCount<at.maxEventsPerPage&&(at.sentEventCount+=1,hr(t))}function as(t){if(t instanceof Error){var e=At(t);return{error:{kind:e.name,stack:$t(is(e))},message:e.message}}return{error:{stack:qn},message:"".concat("Uncaught"," ").concat(Pt(t))}}function is(t){return t.stack=t.stack.filter(function(e){return!e.url||$o.some(function(r){return Be(e.url,r)})}),t}var Re=1/0,os=q,te=function(){function t(e,r){var n=this;this.expireDelay=e,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=me(function(){return n.clearOldValues()},os)}return t.prototype.add=function(e,r){var n=this,a={value:e,startTime:r,endTime:Re,remove:function(){var i=n.entries.indexOf(a);i>=0&&n.entries.splice(i,1)},close:function(i){a.endTime=i}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(a),a},t.prototype.find=function(e){e===void 0&&(e=Re);for(var r=0,n=this.entries;r<n.length;r++){var a=n[r];if(a.startTime<=e){if(e<=a.endTime)return a.value;break}}},t.prototype.closeActive=function(e){var r=this.entries[0];r&&r.endTime===Re&&r.close(e)},t.prototype.findAll=function(e,r){e===void 0&&(e=Re),r===void 0&&(r=0);var n=Zt(e,r);return this.entries.filter(function(a){return a.startTime<=n&&e<=a.endTime}).map(function(a){return a.value})},t.prototype.reset=function(){this.entries=[]},t.prototype.stop=function(){Ir(this.clearOldValuesInterval)},t.prototype.clearOldValues=function(){for(var e=nt()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},t}(),ss=q,us=Jt;function cs(t,e,r){var n=Qi(t.sessionStoreStrategyType,e,r),a=new te(us);n.renewObservable.subscribe(function(){a.add(i(),nt())}),n.expireObservable.subscribe(function(){a.closeActive(nt())}),n.expandOrRenewSession(),a.add(i(),Nn().relative),ls(t,function(){return n.expandOrRenewSession()}),ds(t,function(){return n.expandSession()});function i(){return{id:n.getSession().id,trackingType:n.getSession()[e]}}return{findActiveSession:function(o){return a.find(o)},renewObservable:n.renewObservable,expireObservable:n.expireObservable,expire:n.expire}}function ls(t,e){W(t,window,[_.CLICK,_.TOUCH_START,_.KEY_DOWN,_.SCROLL],e,{capture:!0,passive:!0}).stop}function ds(t,e){var r=function(){document.visibilityState==="visible"&&e()};P(t,document,_.VISIBILITY_CHANGE,r).stop,me(r,ss)}function fs(t){return t>=500}function vs(t){try{return t.clone()}catch{return}}var ps=80*Lt,hs=32,Qn=3*Ln,_s=q,ta=K;function ea(t,e,r,n,a){e.transportStatus===0&&e.queuedPayloads.size()===0&&e.bandwidthMonitor.canHandle(t)?na(t,e,r,{onSuccess:function(){return aa(0,e,r,n,a)},onFailure:function(){e.queuedPayloads.enqueue(t),ra(e,r,n,a)}}):e.queuedPayloads.enqueue(t)}function ra(t,e,r,n){t.transportStatus===2&&H(function(){var a=t.queuedPayloads.first();na(a,t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=ta,aa(1,t,e,r,n)},onFailure:function(){t.currentBackoffTime=Math.min(_s,t.currentBackoffTime*2),ra(t,e,r,n)}})},t.currentBackoffTime)}function na(t,e,r,n){var a=n.onSuccess,i=n.onFailure;e.bandwidthMonitor.add(t),r(t,function(o){e.bandwidthMonitor.remove(t),ms(o)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:o.status},i()):(e.transportStatus=0,a())})}function aa(t,e,r,n,a){t===0&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(a({message:"Reached max ".concat(n," events size queued for upload: ").concat(Qn/Ln,"MiB"),source:Qt.AGENT,startClocks:J()}),e.queueFullReported=!0);var i=e.queuedPayloads;for(e.queuedPayloads=ia();i.size()>0;)ea(i.dequeue(),e,r,n,a)}function ms(t){return t.type!=="opaque"&&(t.status===0&&!navigator.onLine||t.status===408||t.status===429||fs(t.status))}function gs(){return{transportStatus:0,currentBackoffTime:ta,bandwidthMonitor:bs(),queuedPayloads:ia(),queueFullReported:!1}}function ia(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=Qn}}}function bs(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return this.ongoingRequestCount===0||this.ongoingByteCount+t.bytesCount<=ps&&this.ongoingRequestCount<hs},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}}}function oa(t,e,r,n){var a=gs(),i=function(o,s){return Es(t,e,r,o,s)};return{send:function(o){ea(o,a,i,e.trackType,n)},sendOnExit:function(o){Ss(t,e,r,o)}}}function Ss(t,e,r,n){var a=!!navigator.sendBeacon&&n.bytesCount<r;if(a)try{var i=e.build("beacon",n),o=navigator.sendBeacon(i,n.data);if(o)return}catch(u){ys(u)}var s=e.build("xhr",n);_r(t,s,n.data)}var Jr=!1;function ys(t){Jr||(Jr=!0,Ue(t))}function Es(t,e,r,n,a){var i=ws()&&n.bytesCount<r;if(i){var o=e.build("fetch",n);fetch(o,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(E(function(u){return a==null?void 0:a({status:u.status,type:u.type})}),E(function(){var u=e.build("xhr",n);_r(t,u,n.data,a)}))}else{var s=e.build("xhr",n);_r(t,s,n.data,a)}}function ws(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function _r(t,e,r,n){var a=new XMLHttpRequest;a.open("POST",e,!0),P(t,a,"loadend",function(){n==null||n({status:a.status})},{once:!0}),a.send(r)}function Mr(){var t=Ts();if(t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,r){t.send(JSON.stringify({eventType:e,event:r}))}}}function qt(t){var e;t===void 0&&(t=(e=It().location)===null||e===void 0?void 0:e.hostname);var r=Mr();return!!r&&r.getAllowedWebViewHosts().some(function(n){return t===n||Si(t,".".concat(n))})}function Ts(){return It().DatadogEventBridge}var Nt={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function Cs(t){var e=new L(function(){var r=gt(tt.PAGEHIDE),n=W(t,window,[_.VISIBILITY_CHANGE,_.FREEZE,_.PAGE_HIDE],function(i){i.type===_.PAGE_HIDE&&r?e.notify({reason:Nt.PAGEHIDE}):i.type===_.VISIBILITY_CHANGE&&document.visibilityState==="hidden"?e.notify({reason:Nt.HIDDEN}):i.type===_.FREEZE&&e.notify({reason:Nt.FROZEN})},{capture:!0}).stop,a=N;return r||(a=P(t,window,_.BEFORE_UNLOAD,function(){e.notify({reason:Nt.UNLOADING})}).stop),function(){n(),a()}});return e}function sa(t){return _t(Fe(Nt),t)}var Is=function(){function t(e,r,n){var a=this;this.request=e,this.flushController=r,this.messageBytesLimit=n,this.pushOnlyBuffer=[],this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(i){return a.flush(i)})}return t.prototype.add=function(e){this.addOrUpdate(e)},t.prototype.upsert=function(e,r){this.addOrUpdate(e,r)},t.prototype.stop=function(){this.flushSubscription.unsubscribe()},t.prototype.flush=function(e){var r=this.pushOnlyBuffer.concat(Fe(this.upsertBuffer));this.pushOnlyBuffer=[],this.upsertBuffer={};var n={data:r.join(`
|
|
4
4
|
`),bytesCount:e.bytesCount,flushReason:e.reason};sa(e.reason)?this.request.sendOnExit(n):this.request.send(n)},t.prototype.addOrUpdate=function(e,r){var n=this.process(e),a=n.processedMessage,i=n.messageBytesCount;if(i>=this.messageBytesLimit){O.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(r)&&this.remove(r),this.push(a,i,r)},t.prototype.process=function(e){var r=Pt(e),n=ve(r);return{processedMessage:r,messageBytesCount:n}},t.prototype.push=function(e,r,n){var a=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(r+a),n!==void 0?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.flushController.notifyAfterAddMessage()},t.prototype.remove=function(e){var r=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=ve(r),a=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+a)},t.prototype.hasMessageFor=function(e){return e!==void 0&&this.upsertBuffer[e]!==void 0},t}();function As(t){var e=t.messagesLimit,r=t.bytesLimit,n=t.durationLimit,a=t.pageExitObservable,i=t.sessionExpireObservable,o=a.subscribe(function(h){return d(h.reason)}),s=i.subscribe(function(){return d("session_expire")}),u=new L(function(){return function(){o.unsubscribe(),s.unsubscribe()}}),c=0,l=0;function d(h){if(l!==0){var m=l,y=c;l=0,c=0,p(),u.notify({reason:h,messagesCount:m,bytesCount:y})}}var f;function v(){f===void 0&&(f=H(function(){d("duration_limit")},n))}function p(){ot(f),f=void 0}return{flushObservable:u,get messagesCount(){return l},notifyBeforeAddMessage:function(h){c+h>=r&&d("bytes_limit"),l+=1,c+=h,v()},notifyAfterAddMessage:function(){l>=e?d("messages_limit"):c>=r&&d("bytes_limit")},notifyAfterRemoveMessage:function(h){c-=h,l-=1,l===0&&p()}}}function Rs(t,e,r,n,a,i){var o=u(t,e.endpoint),s=r&&u(t,r.endpoint);function u(c,l){return new Is(oa(c,l,c.batchBytesLimit,n),As({messagesLimit:c.batchMessagesLimit,bytesLimit:c.batchBytesLimit,durationLimit:c.flushTimeout,pageExitObservable:a,sessionExpireObservable:i}),c.messageBytesLimit)}return{flushObservable:o.flushController.flushObservable,add:function(c,l){l===void 0&&(l=!0),o.add(c),s&&l&&s.add(r.transformMessage?r.transformMessage(c):c)},upsert:function(c,l){o.upsert(c,l),s&&s.upsert(r.transformMessage?r.transformMessage(c):c,l)},stop:function(){o.stop(),s==null||s.stop()}}}var Os=function(){function t(){this.callbacks={}}return t.prototype.notify=function(e,r){var n=this.callbacks[e];n&&n.forEach(function(a){return a(r)})},t.prototype.subscribe=function(e,r){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(r),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter(function(a){return r!==a})}}},t}();function $r(t,e,r){var n=0,a=!1;return{isLimitReached:function(){if(n===0&&H(function(){n=0},q),n+=1,n<=e||a)return a=!1,!1;if(n===e+1){a=!0;try{r({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:Qt.AGENT,startClocks:J()})}finally{a=!1}}return!0}}}function Ur(t,e,r){if(document.readyState===e||document.readyState==="complete")r();else{var n=e==="complete"?_.LOAD:_.DOM_CONTENT_LOADED;P(t,window,n,r,{once:!0})}}var Qe,Pr=new WeakMap;function xs(t){return Qe||(Qe=Ns(t)),Qe}function Ns(t){var e=new L(function(){var r=X(XMLHttpRequest.prototype,"open",{before:ks}).stop,n=X(XMLHttpRequest.prototype,"send",{before:function(){Ls.call(this,t,e)}}).stop,a=X(XMLHttpRequest.prototype,"abort",{before:Ms}).stop;return function(){r(),n(),a()}});return e}function ks(t,e){Pr.set(this,{state:"open",method:t.toUpperCase(),url:Or(String(e))})}function Ls(t,e){var r=this,n=Pr.get(this);if(n){var a=n;a.state="start",a.startClocks=J(),a.isAborted=!1,a.xhr=this;var i=!1,o=X(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&s()}}).stop,s=function(){if(u(),o(),!i){i=!0;var c=n;c.state="complete",c.duration=$(a.startClocks.timeStamp,F()),c.status=r.status,e.notify(pe(c))}},u=P(t,this,"loadend",s).stop;e.notify(a)}}function Ms(){var t=Pr.get(this);t&&(t.isAborted=!0)}var tr;function Us(){return tr||(tr=Ps()),tr}function Ps(){var t=new L(function(){if(window.fetch){var e=Kn(window,"fetch",function(r){return function(n,a){var i,o=Ct(Ds,null,[t,n,a]);return o?(i=r.call(this,o.input,o.init),Ct(Fs,null,[t,i,o])):i=r.call(this,n,a),i}}).stop;return e}});return t}function Ds(t,e,r){var n=r&&r.method||e instanceof Request&&e.method,a=n?n.toUpperCase():"GET",i=e instanceof Request?e.url:Or(String(e)),o=J(),s={state:"start",init:r,input:e,method:a,startClocks:o,url:i};return t.notify(s),s}function Fs(t,e,r){var n=function(a){var i=r;i.state="resolve","stack"in a||a instanceof Error?(i.status=0,i.isAborted=a instanceof DOMException&&a.code===DOMException.ABORT_ERR,i.error=a):"status"in a&&(i.response=a,i.responseType=a.type,i.status=a.status,i.isAborted=!1),t.notify(i)};e.then(E(n),E(n))}var er={};function Bs(t){var e=t.map(function(r){return er[r]||(er[r]=zs(r)),er[r]});return Pn.apply(void 0,e)}function zs(t){var e=new L(function(){var r=pt[t];return pt[t]=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];r.apply(console,n);var i=Jn();Ct(function(){e.notify(Vs(n,t,i))})},function(){pt[t]=r}});return e}function Vs(t,e,r){var n=t.map(function(s){return Hs(s)}).join(" "),a,i;if(e===De.error){var o=Xt(t,function(s){return s instanceof Error});a=o?$t(At(o)):void 0,i=Zn(o)}return{api:e,message:n,stack:a,handlingStack:r,fingerprint:i}}function Hs(t){return typeof t=="string"?Q(t):t instanceof Error?Xn(At(t)):Pt(Q(t),void 0,2)}var Gs=500,Qr=function(){function t(){this.buffer=[]}return t.prototype.add=function(e){var r=this.buffer.push(e);r>Gs&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(e){return e()}),this.buffer.length=0},t}(),Ft,tn=3*Lt,Ys=(Ft={},Ft[0]="feature flag evaluation",Ft[1]="user",Ft[2]="global context",Ft[3]="logger context",Ft);function ua(t,e){return t>tn?(O.warn("The ".concat(Ys[e]," data exceeds the recommended ").concat(tn/Lt,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0):!1}var Ks=200;function mr(t,e){e===void 0&&(e=ve);var r={},n,a=!1,i=new L,o=bt(function(u){n=e(Pt(u)),a||(a=ua(n,t))},Ks).throttled,s={getBytesCount:function(){return n},getContext:function(){return Nr(r)},setContext:function(u){Rt(u)==="object"?(r=Q(u),o(r)):s.clearContext(),i.notify()},setContextProperty:function(u,c){r[u]=Q(c),o(r),i.notify()},removeContextProperty:function(u){delete r[u],o(r),i.notify()},clearContext:function(){r={},n=0,i.notify()},changeObservable:i};return s}var Ws="_dd_c",qs=[];function en(t,e,r,n){n===void 0&&(n=ve);var a=js(e,r),i=mr(r,n);return o(),qs.push(P(t,window,_.STORAGE,function(u){var c=u.key;a===c&&o()})),i.changeObservable.subscribe(s),i;function o(){var u=localStorage.getItem(a),c=u!==null?JSON.parse(u):{};i.setContext(c)}function s(){localStorage.setItem(a,JSON.stringify(i.getContext()))}}function js(t,e){return"".concat(Ws,"_").concat(t,"_").concat(e)}function Zs(t,e,r){var n=t.getReader(),a=[],i=0;o();function o(){n.read().then(E(function(u){if(u.done){s();return}r.collectStreamBody&&a.push(u.value),i+=u.value.length,i>r.bytesLimit?s():o()}),E(function(u){return e(u)}))}function s(){n.cancel().catch(N);var u,c;if(r.collectStreamBody){var l;if(a.length===1)l=a[0];else{l=new Uint8Array(i);var d=0;a.forEach(function(f){l.set(f,d),d+=f.length})}u=l.slice(0,r.bytesLimit),c=l.length>r.bytesLimit}e(void 0,u,c)}}var Xs="datadog-synthetics-public-id",Js="datadog-synthetics-result-id",$s="datadog-synthetics-injects-rum";function ca(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||st($s))}function Qs(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||st(Xs);return typeof t=="string"?t:void 0}function tu(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||st(Js);return typeof t=="string"?t:void 0}function rn(t){var e=C({},t),r=["id","name","email"];return r.forEach(function(n){n in e&&(e[n]=String(e[n]))}),e}function eu(t){var e=Rt(t)==="object";return e||O.error("Unsupported user:",t),e}function Dr(t){var e=Rt(t);return e==="string"||e==="function"||t instanceof RegExp}function la(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?Be(e,n):n===e}catch(a){O.error(a)}return!1})}function ru(t){var e=t;return Rt(e)==="object"&&Dr(e.match)&&Array.isArray(e.propagatorTypes)}function nu(t){t.status===0&&!t.isAborted&&(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function au(t,e){return{clearTracingIfNeeded:nu,traceFetch:function(r){return nn(t,r,e,function(n){var a;if(r.input instanceof Request&&!(!((a=r.init)===null||a===void 0)&&a.headers))r.input=new Request(r.input),Object.keys(n).forEach(function(o){r.input.headers.append(o,n[o])});else{r.init=pe(r.init);var i=[];r.init.headers instanceof Headers?r.init.headers.forEach(function(o,s){i.push([s,o])}):Array.isArray(r.init.headers)?r.init.headers.forEach(function(o){i.push(o)}):r.init.headers&&Object.keys(r.init.headers).forEach(function(o){i.push([o,r.init.headers[o]])}),r.init.headers=i.concat(Tr(n))}})},traceXhr:function(r,n){return nn(t,r,e,function(a){Object.keys(a).forEach(function(i){n.setRequestHeader(i,a[i])})})}}}function nn(t,e,r,n){if(!(!iu()||!r.findTrackedSession())){var a=Xt(t.allowedTracingUrls,function(i){return la([i.match],e.url,!0)});a&&(e.traceId=new an,e.spanId=new an,e.traceSampled=!jt(t.traceSampleRate)||Yt(t.traceSampleRate),n(ou(e.traceId,e.spanId,e.traceSampled,a.propagatorTypes)))}}function iu(){return da()!==void 0}function da(){return window.crypto||window.msCrypto}function ou(t,e,r,n){var a={};return n.forEach(function(i){switch(i){case"datadog":{C(a,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toDecimalString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":t.toDecimalString()});break}case"tracecontext":{C(a,{traceparent:"00-0000000000000000".concat(t.toPaddedHexadecimalString(),"-").concat(e.toPaddedHexadecimalString(),"-0").concat(r?"1":"0")});break}case"b3":{C(a,{b3:"".concat(t.toPaddedHexadecimalString(),"-").concat(e.toPaddedHexadecimalString(),"-").concat(r?"1":"0")});break}case"b3multi":{C(a,{"X-B3-TraceId":t.toPaddedHexadecimalString(),"X-B3-SpanId":e.toPaddedHexadecimalString(),"X-B3-Sampled":r?"1":"0"});break}}}),a}var an=function(){function t(){this.buffer=new Uint8Array(8),da().getRandomValues(this.buffer),this.buffer[0]=this.buffer[0]&127}return t.prototype.toString=function(e){var r=this.readInt32(0),n=this.readInt32(4),a="";do{var i=r%e*4294967296+n;r=Math.floor(r/e),n=Math.floor(i/e),a=(i%e).toString(e)+a}while(r||n);return a},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var e=this.toString(16);return Array(17-e.length).join("0")+e},t.prototype.readInt32=function(e){return this.buffer[e]*16777216+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},t}(),fa=["tracecontext","datadog"];function su(t){var e,r;if(!t.applicationId){O.error("Application ID is not configured, no RUM data will be collected.");return}if(t.sessionReplaySampleRate!==void 0&&!ce(t.sessionReplaySampleRate)){O.error("Session Replay Sample Rate should be a number between 0 and 100");return}if(t.traceSampleRate!==void 0&&!ce(t.traceSampleRate)){O.error("Trace Sample Rate should be a number between 0 and 100");return}if(t.excludedActivityUrls!==void 0&&!Array.isArray(t.excludedActivityUrls)){O.error("Excluded Activity Urls should be an array");return}var n=uu(t);if(n){var a=mo(t);if(a)return C({applicationId:t.applicationId,version:t.version,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:(e=t.sessionReplaySampleRate)!==null&&e!==void 0?e:0,startSessionReplayRecordingManually:!!t.startSessionReplayRecordingManually,traceSampleRate:t.traceSampleRate,allowedTracingUrls:n,excludedActivityUrls:(r=t.excludedActivityUrls)!==null&&r!==void 0?r:[],workerUrl:t.workerUrl,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:Cr(fe,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:fe.MASK,customerDataTelemetrySampleRate:1},a)}}function uu(t){if(t.allowedTracingUrls!==void 0){if(!Array.isArray(t.allowedTracingUrls)){O.error("Allowed Tracing URLs should be an array");return}if(t.allowedTracingUrls.length!==0&&t.service===void 0){O.error("Service needs to be configured when tracing is enabled");return}var e=[];return t.allowedTracingUrls.forEach(function(r){Dr(r)?e.push({match:r,propagatorTypes:fa}):ru(r)?e.push(r):O.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",r)}),e}return[]}function cu(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach(function(r){Dr(r)?fa.forEach(function(n){return e.add(n)}):Rt(r)==="object"&&Array.isArray(r.propagatorTypes)&&r.propagatorTypes.forEach(function(n){return e.add(n)})}),Mn(e)}function lu(t){var e=go(t);return C({session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:cu(t),default_privacy_level:t.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks},e)}function gr(t,e,r){return{context:t.getContext(),user:e.getContext(),hasReplay:r.isRecording()?!0:void 0}}var on="rum";function du(t,e,r){var n=r===void 0?{}:r,a=n.ignoreInitIfSyntheticsWillInjectRum,i=a===void 0?!0:a,o=!1,s=mr(2),u=mr(1),c=function(){},l=function(){},d=N,f=function(){},v=new Qr,p=function(g,S){S===void 0&&(S=F()),v.add(function(){return p(g,S)})},h=function(g,S){S===void 0&&(S=J()),v.add(function(){return h(g,S)})},m=function(g,S){S===void 0&&(S=gr(s,u,e)),v.add(function(){return m(g,S)})},y=function(g,S){S===void 0&&(S=gr(s,u,e)),v.add(function(){return y(g,S)})},A=function(){v.add(function(){return A()})},x=function(){v.add(function(){return x()})},R=function(g,S){v.add(function(){return R(g,S)})};function b(g){if(!g){O.error("Missing configuration");return}if(l=function(){return Nr(g)},!(i&&ca())){var S=qt();if(S&&(g=B(g)),!!Ot(g)){var D=su(g);if(D){if(!S&&!D.sessionStoreStrategyType){O.warn("No storage available for session. We will not send any data.");return}if(!D.trackViewsManually)T(g,D);else{var U=v;v=new Qr,h=function(dt){T(g,D,dt)},U.drain()}o=!0}}}}function T(g,S,D){if(g.storeContextsAcrossPages){var U=s.getContext();s=en(S,on,2),s.setContext(lt(s.getContext(),U));var dt=u.getContext();u=en(S,on,1),u.setContext(lt(u.getContext(),dt))}var G=t(g,S,e,s,u,D);f=function(){return e.getSessionReplayLink(S,G.session,G.viewContexts)},A=e.start,x=e.stop,h=G.startView,m=G.addAction,y=G.addError,p=G.addTiming,R=G.addFeatureFlagEvaluation,c=G.getInternalContext,d=G.stopSession,e.onRumStart(G.lifeCycle,S,G.session,G.viewContexts),v.drain()}var z=E(function(g){var S=typeof g=="object"?g:{name:g};h(S)}),Z=Yo({init:E(b),setGlobalContextProperty:E(function(g,S){return s.setContextProperty(g,S)}),removeGlobalContextProperty:E(function(g){return s.removeContextProperty(g)}),getGlobalContext:E(function(){return s.getContext()}),setGlobalContext:E(function(g){return s.setContext(g)}),clearGlobalContext:E(function(){return s.clearContext()}),getInternalContext:E(function(g){return c(g)}),getInitConfiguration:E(function(){return l()}),addAction:E(function(g,S){m({name:Q(g),context:Q(S),startClocks:J(),type:"custom"})}),addError:function(g,S){var D=Jn();Ct(function(){y({error:g,handlingStack:D,context:Q(S),startClocks:J()})})},addTiming:E(function(g,S){p(Q(g),S)}),setUser:E(function(g){eu(g)&&u.setContext(rn(g))}),getUser:E(function(){return u.getContext()}),setUserProperty:E(function(g,S){var D,U=rn((D={},D[g]=S,D))[g];u.setContextProperty(g,U)}),removeUserProperty:E(function(g){return u.removeContextProperty(g)}),clearUser:E(function(){return u.clearContext()}),startView:z,stopSession:E(function(){d()}),startSessionReplayRecording:E(function(){return A()}),stopSessionReplayRecording:E(function(){return x()}),addFeatureFlagEvaluation:E(function(g,S){R(Q(g),Q(S))}),getSessionReplayLink:E(function(){return f()})});return Z;function Ot(g){return o?(g.silentMultipleInit||O.error("DD_RUM is already initialized."),!1):!0}function B(g){return C({},g,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}}function fu(){var t=va(),e=new L(function(){if(t){var r=new t(E(function(){return e.notify()}));return r.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return r.disconnect()}}});return e}function va(){var t,e=window;if(e.Zone&&(t=Tt(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var r=new e.MutationObserver(N),n=Tt(r,"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}var pa="initial_document",vu=[["document",function(t){return pa===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 _t(["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 _t(["audio","video"],t)||/\.(mp3|mp4)$/i.exec(e)!==null}]];function pu(t){var e=t.name;if(!to(e))return Dt('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var r=eo(e),n=0,a=vu;n<a.length;n++){var i=a[n],o=i[0],s=i[1];if(s(t.initiatorType,r))return o}return"other"}function br(){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 hu(t){return t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch"}function _u(t){var e=t.duration,r=t.startTime,n=t.responseEnd;return e===0&&r<n?k($(r,n)):k(e)}function mu(t){var e=ha(t);if(e){var r=e.startTime,n=e.fetchStart,a=e.redirectStart,i=e.redirectEnd,o=e.domainLookupStart,s=e.domainLookupEnd,u=e.connectStart,c=e.secureConnectionStart,l=e.connectEnd,d=e.requestStart,f=e.responseStart,v=e.responseEnd,p={download:Bt(r,f,v),first_byte:Bt(r,d,f)};return l!==n&&(p.connect=Bt(r,u,l),br(u,c,l)&&(p.ssl=Bt(r,c,l))),s!==n&&(p.dns=Bt(r,o,s)),_a(t)&&(p.redirect=Bt(r,a,i)),p}}function ha(t){if(br(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!_a(t))return t;var e=t.redirectStart,r=t.redirectEnd;if(e<t.startTime&&(e=t.startTime),r<t.startTime&&(r=t.fetchStart),!!br(t.startTime,e,r,t.fetchStart))return C({},t,{redirectEnd:r,redirectStart:e})}}function _a(t){return t.fetchStart!==t.startTime}function Bt(t,e,r){return{duration:k($(e,r)),start:k($(t,e))}}function gu(t){if(t.startTime<t.responseStart)return t.decodedBodySize}function Fr(t,e){return e&&!t.isIntakeUrl(e)}function ma(t){return t.nodeType===Node.TEXT_NODE}function bu(t){return t.nodeType===Node.COMMENT_NODE}function ee(t){return t.nodeType===Node.ELEMENT_NODE}function He(t){return ee(t)&&!!t.shadowRoot}function Br(t){var e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ee(e.host)}function Su(t){return t.childNodes.length>0||He(t)}function ga(t,e){t.childNodes.forEach(e),He(t)&&e(t.shadowRoot)}function Ge(t){return Br(t)?t.host:t.parentNode}var yu=2*q;function Eu(t){var e=wu(t)||Tu(t);if(!(!e||e.traceTime<=ut()-yu))return e.traceId}function wu(t){var e=t.querySelector("meta[name=dd-trace-id]"),r=t.querySelector("meta[name=dd-trace-time]");return ba(e&&e.content,r&&r.content)}function Tu(t){var e=Cu(t);if(e)return ba(vr(e,"trace-id"),vr(e,"trace-time"))}function ba(t,e){var r=e&&Number(e);if(!(!t||!r))return{traceId:t,traceTime:r}}function Cu(t){for(var e=0;e<t.childNodes.length;e+=1){var r=sn(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=sn(n);if(r)return r;if(!ma(n))break}}function sn(t){if(t&&bu(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}var I;(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.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource"})(I||(I={}));function un(){return window.performance!==void 0&&"getEntries"in performance}function he(t){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(t)}function Iu(t,e){if(Au(e,function(s){oe(t,e,[s])}),un()){var r=performance.getEntries();H(function(){return oe(t,e,r)})}if(window.PerformanceObserver){var n=E(function(s){return oe(t,e,s.getEntries())}),a=[I.RESOURCE,I.NAVIGATION,I.LONG_TASK,I.PAINT],i=[I.LARGEST_CONTENTFUL_PAINT,I.FIRST_INPUT,I.LAYOUT_SHIFT,I.EVENT];try{i.forEach(function(s){var u=new window.PerformanceObserver(n);u.observe({type:s,buffered:!0,durationThreshold:40})})}catch{a.push.apply(a,i)}var o=new PerformanceObserver(n);o.observe({entryTypes:a}),un()&&"addEventListener"in performance&&P(e,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}he(I.NAVIGATION)||Ru(e,function(s){oe(t,e,[s])}),he(I.FIRST_INPUT)||Ou(e,function(s){oe(t,e,[s])})}function Au(t,e){Ur(t,"interactive",function(){var r,n={entryType:I.RESOURCE,initiatorType:pa,traceId:Eu(document),toJSON:function(){return C({},r,{toJSON:void 0})}};if(he(I.NAVIGATION)&&performance.getEntriesByType(I.NAVIGATION).length>0){var a=performance.getEntriesByType(I.NAVIGATION)[0];r=C(a.toJSON(),n)}else{var i=Sa();r=C(i,{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0},n)}e(r)})}function Ru(t,e){function r(){e(C(Sa(),{entryType:I.NAVIGATION}))}Ur(t,"complete",function(){H(r)})}function Ou(t,e){var r=ut(),n=!1,a=W(t,window,[_.CLICK,_.MOUSE_DOWN,_.KEY_DOWN,_.TOUCH_START,_.POINTER_DOWN],function(s){if(s.cancelable){var u={entryType:I.FIRST_INPUT,processingStart:nt(),processingEnd:nt(),startTime:s.timeStamp,duration:0,name:""};s.type===_.POINTER_DOWN?i(t,u):o(u)}},{passive:!0,capture:!0}).stop;function i(s,u){W(s,window,[_.POINTER_UP,_.POINTER_CANCEL],function(c){c.type===_.POINTER_UP&&o(u)},{once:!0})}function o(s){if(!n){n=!0,a();var u=s.processingStart-s.startTime;u>=0&&u<ut()-r&&e(s)}}}function Sa(){var t={},e=performance.timing;for(var r in e)if(jt(e[r])){var n=r,a=e[n];t[n]=a===0?0:kn(a)}return t}function oe(t,e,r){var n=r.filter(function(i){return Cr(I,i.entryType)}),a=n.filter(function(i){return!xu(i)&&!Nu(e,i)});a.length&&t.notify(0,a)}function xu(t){return t.entryType===I.NAVIGATION&&t.loadEventEnd<=0}function Nu(t,e){return e.entryType===I.RESOURCE&&!Fr(t,e.name)}function ku(){var t=Qs(),e=tu();if(t&&e)return{test_id:t,result_id:e,injected:ca()}}function Lu(){var t,e=(t=window.Cypress)===null||t===void 0?void 0:t.env("traceId");if(typeof e=="string")return{test_execution_id:e}}function Mu(t,e,r){var n=Nr(t),a=r(n);return Tr(e).forEach(function(i){var o=i[0],s=i[1],u=Uu(n,o),c=Rt(u);c===s?cn(t,o,Q(u)):s==="object"&&(c==="undefined"||c==="null")&&cn(t,o,{})}),a}function Uu(t,e){for(var r=t,n=0,a=e.split(".");n<a.length;n++){var i=a[n];if(!Pu(r,i))return;r=r[i]}return r}function cn(t,e,r){for(var n=t,a=e.split("."),i=0;i<a.length;i+=1){var o=a[i];if(!ya(n))return;i!==a.length-1?n=n[o]:n[o]=r}}function ya(t){return Rt(t)==="object"}function Pu(t,e){return ya(t)&&Object.prototype.hasOwnProperty.call(t,e)}var se={"view.name":"string","view.url":"string","view.referrer":"string"},Oe={context:"object"},Ea;function Du(t,e,r,n,a,i,o,s,u){var c,l;Ea=(c={},c.view=se,c.error=C({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},Oe,se),c.resource=C({"resource.url":"string"},Oe,se),c.action=C({"action.target.name":"string"},Oe,se),c.long_task=C({},Oe,se),c);var d=(l={},l.error=$r("error",t.eventRateLimiterThreshold,u),l.action=$r("action",t.eventRateLimiterThreshold,u),l),f=ku(),v=Lu();e.subscribe(10,function(p){var h=p.startTime,m=p.rawRumEvent,y=p.domainContext,A=p.savedCommonContext,x=p.customerContext,R=n.findView(h),b=a.findUrl(h),T=r.findTrackedSession(h);if(T&&R&&b){var z=A||s(),Z=i.findActionId(h),Ot={_dd:{format_version:2,drift:vi(),configuration:{session_sample_rate:Le(t.sessionSampleRate,3),session_replay_sample_rate:Le(t.sessionReplaySampleRate,3)},browser_sdk_version:qt()?"5.1.0":void 0},application:{id:t.applicationId},date:F(),service:R.service||t.service,version:R.version||t.version,source:"browser",session:{id:T.id,type:f?"synthetics":v?"ci_test":"user"},view:{id:R.id,name:R.name,url:b.url,referrer:b.referrer},action:Bu(m)&&Z?{id:Z}:void 0,synthetics:f,ci_test:v,display:o.get()},B=lt(Ot,m);B.context=lt(z.context,x),"has_replay"in B.session||(B.session.has_replay=z.hasReplay),B.type==="view"&&(B.session.sampled_for_replay=T.sessionReplayAllowed),ht(z.user)||(B.usr=z.user),Fu(B,t.beforeSend,y,d)&&(ht(B.context)&&delete B.context,e.notify(11,B))}})}function Fu(t,e,r,n){var a;if(e){var i=Mu(t,Ea[t.type],function(s){return e(s,r)});if(i===!1&&t.type!=="view")return!1;i===!1&&O.warn("Can't dismiss view events using beforeSend!")}var o=(a=n[t.type])===null||a===void 0?void 0:a.isLimitReached();return!o}function Bu(t){return["error","resource","long_task"].indexOf(t.type)!==-1}function zu(t,e,r,n,a){return{get:function(i){var o=r.findView(i),s=a.findUrl(i),u=e.findTrackedSession(i);if(u&&o&&s){var c=n.findActionId(i);return{application_id:t,session_id:u.id,user_action:c?{id:c}:void 0,view:{id:o.id,name:o.name,referrer:s.referrer,url:s.url}}}}}}var Vu=Os,Hu=Jt;function Gu(t){var e=new te(Hu);t.subscribe(2,function(n){e.add(r(n),n.startClocks.relative)}),t.subscribe(4,function(n){var a=n.endClocks;e.closeActive(a.relative)}),t.subscribe(8,function(){e.reset()});function r(n){return{service:n.service,version:n.version,id:n.id,name:n.name,startClocks:n.startClocks}}return{findView:function(n){return e.find(n)},stop:function(){e.stop()}}}var ln=1;function Yu(t,e,r){var n=au(e,r);Ku(t,e,n),Wu(t,e,n)}function Ku(t,e,r){var n=xs(e).subscribe(function(a){var i=a;if(Fr(e,i.url))switch(i.state){case"start":r.traceXhr(i,i.xhr),i.requestIndex=wa(),t.notify(5,{requestIndex:i.requestIndex,url:i.url});break;case"complete":r.clearTracingIfNeeded(i),t.notify(6,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:"xhr",url:i.url,xhr:i.xhr});break}});return{stop:function(){return n.unsubscribe()}}}function Wu(t,e,r){var n=Us().subscribe(function(a){var i=a;if(Fr(e,i.url))switch(i.state){case"start":r.traceFetch(i),i.requestIndex=wa(),t.notify(5,{requestIndex:i.requestIndex,url:i.url});break;case"resolve":qu(i,function(o){r.clearTracingIfNeeded(i),t.notify(6,{duration:o,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})});break}});return{stop:function(){return n.unsubscribe()}}}function wa(){var t=ln;return ln+=1,t}function qu(t,e){var r=t.response&&vs(t.response);!r||!r.body?e($(t.startClocks.timeStamp,F())):Zs(r.body,function(){e($(t.startClocks.timeStamp,F()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1})}function Ta(t){var e=t.lifeCycle,r=t.isChildEvent,n=t.onChange,a=n===void 0?N:n,i={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},o=e.subscribe(11,function(s){var u;if(!(s.type==="view"||!r(s)))switch(s.type){case"error":i.errorCount+=1,a();break;case"action":i.actionCount+=1,s.action.frustration&&(i.frustrationCount+=s.action.frustration.type.length),a();break;case"long_task":i.longTaskCount+=1,a();break;case"resource":!((u=s._dd)===null||u===void 0)&&u.discarded||(i.resourceCount+=1,a());break}});return{stop:function(){o.unsubscribe()},eventCounts:i}}var Ca=100,ju=100;function zr(t,e,r,n,a){var i=Xu(t,e,r);return Zu(i,n,a)}function Zu(t,e,r){var n,a=!1,i=H(E(function(){return c({hadActivity:!1})}),Ca),o=r!==void 0?H(E(function(){return c({hadActivity:!0,end:F()})}),r):void 0,s=t.subscribe(function(l){var d=l.isBusy;ot(i),ot(n);var f=F();d||(n=H(E(function(){return c({hadActivity:!0,end:f})}),ju))}),u=function(){a=!0,ot(i),ot(n),ot(o),s.unsubscribe()};function c(l){a||(u(),e(l))}return{stop:u}}function Xu(t,e,r){var n=new L(function(){var a=[],i,o=0;a.push(e.subscribe(u),t.subscribe(0,function(c){c.some(function(l){return l.entryType===I.RESOURCE&&!rr(r,l.name)})&&u()}),t.subscribe(5,function(c){rr(r,c.url)||(i===void 0&&(i=c.requestIndex),o+=1,u())}),t.subscribe(6,function(c){rr(r,c.url)||i===void 0||c.requestIndex<i||(o-=1,u())}));var s=Ju(u).stop;return function(){s(),a.forEach(function(c){return c.unsubscribe()})};function u(){n.notify({isBusy:o>0})}});return n}function rr(t,e){return la(t.excludedActivityUrls,e)}function Ju(t){return X(window,"open",{before:t})}var Vr="data-dd-action-name";function $u(t,e){return dn(t,Vr)||e&&dn(t,e)||fn(t,e,Qu)||fn(t,e,tc)||""}function dn(t,e){var r;if(ic())r=t.closest("[".concat(e,"]"));else for(var n=t;n;){if(n.hasAttribute(e)){r=n;break}n=n.parentElement}if(r){var a=r.getAttribute(e);return Aa(Ia(a.trim()))}}var Qu=[function(t,e){if(ac()){if("labels"in t&&t.labels&&t.labels.length>0)return Vt(t.labels[0],e)}else if(t.id){var r=t.ownerDocument&&Xt(t.ownerDocument.querySelectorAll("label"),function(n){return n.htmlFor===t.id});return r&&Vt(r,e)}},function(t){if(t.nodeName==="INPUT"){var e=t,r=e.getAttribute("type");if(r==="button"||r==="submit"||r==="reset")return e.value}},function(t,e){if(t.nodeName==="BUTTON"||t.nodeName==="LABEL"||t.getAttribute("role")==="button")return Vt(t,e)},function(t){return t.getAttribute("aria-label")},function(t,e){var r=t.getAttribute("aria-labelledby");if(r)return r.split(/\s+/).map(function(n){return rc(t,n)}).filter(function(n){return!!n}).map(function(n){return Vt(n,e)}).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return Vt(t.options[0],e)}],tc=[function(t,e){return Vt(t,e)}],ec=10;function fn(t,e,r){for(var n=t,a=0;a<=ec&&n&&n.nodeName!=="BODY"&&n.nodeName!=="HTML"&&n.nodeName!=="HEAD";){for(var i=0,o=r;i<o.length;i++){var s=o[i],u=s(n,e);if(typeof u=="string"){var c=u.trim();if(c)return Aa(Ia(c))}}if(n.nodeName==="FORM")break;n=n.parentElement,a+=1}}function Ia(t){return t.replace(/\s+/g," ")}function Aa(t){return t.length>100?"".concat(Dn(t,100)," [...]"):t}function rc(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}function Vt(t,e){if(!t.isContentEditable){if("innerText"in t){var r=t.innerText,n=function(a){for(var i=t.querySelectorAll(a),o=0;o<i.length;o+=1){var s=i[o];if("innerText"in s){var u=s.innerText;u&&u.trim().length>0&&(r=r.replace(u,""))}}};return nc()||n("script, style"),n("[".concat(Vr,"]")),e&&n("[".concat(e,"]")),r}return t.textContent}}function nc(){return!Ii()}var nr;function ac(){return nr===void 0&&(nr="labels"in HTMLInputElement.prototype),nr}var ar;function ic(){return ar===void 0&&(ar="closest"in HTMLElement.prototype),ar}var Ra=[Vr,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],oc=[xa,uc],sc=[xa,cc,lc];function be(t,e){for(var r="",n=t;n&&n.nodeName!=="HTML";){var a=vn(n,oc,fc,e,r);if(a)return a;n.parentElement||Dt("selector from element without parent",{debug:{selector:Pe(mt(n.tagName),r),isConnected:n.isConnected}});var i=vn(n,sc,vc,e,r);r=i||Pe(dc(n),r),n=n.parentElement}return r}function Oa(t){return/[0-9]/.test(t)}function uc(t){if(t.id&&!Oa(t.id))return"#".concat(mt(t.id))}function cc(t){if(t.tagName!=="BODY"&&t.classList.length>0)for(var e=0;e<t.classList.length;e+=1){var r=t.classList[e];if(!Oa(r))return"".concat(mt(t.tagName),".").concat(mt(r))}}function lc(t){return mt(t.tagName)}function xa(t,e){if(e){var r=o(e);if(r)return r}for(var n=0,a=Ra;n<a.length;n++){var i=a[n],r=o(i);if(r)return r}function o(s){if(t.hasAttribute(s))return"".concat(mt(t.tagName),"[").concat(s,'="').concat(mt(t.getAttribute(s)),'"]')}}function dc(t){for(var e=t.parentElement.firstElementChild,r=1;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return"".concat(mt(t.tagName),":nth-of-type(").concat(r,")")}function vn(t,e,r,n,a){for(var i=0,o=e;i<o.length;i++){var s=o[i],u=s(t,n);if(u){var c=Pe(u,a);if(r(t,c))return c}}}function fc(t,e){return t.ownerDocument.querySelectorAll(e).length===1}function vc(t,e){return t.parentElement.querySelectorAll(pc()?Pe(":scope",e):e).length===1}function Pe(t,e){return e?"".concat(t,">").concat(e):t}var xe;function pc(){if(xe===void 0)try{document.querySelector(":scope"),xe=!0}catch{xe=!1}return xe}var Na=K,hc=100;function _c(t,e){var r=[],n=0,a;i(t);function i(u){u.stopObservable.subscribe(o),r.push(u),ot(a),a=H(s,Na)}function o(){n===1&&r.every(function(u){return u.isStopped()})&&(n=2,e(r))}function s(){ot(a),n===0&&(n=1,o())}return{tryAppend:function(u){return n!==0?!1:r.length>0&&!mc(r[r.length-1].event,u.event)?(s(),!1):(i(u),!0)},stop:function(){s()}}}function mc(t,e){return t.target===e.target&&gc(t,e)<=hc&&t.timeStamp-e.timeStamp<=Na}function gc(t,e){return Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2))}function bc(t,e){var r=e.onPointerDown,n=e.onPointerUp,a,i={selection:!1,input:!1},o,s=[P(t,window,_.POINTER_DOWN,function(u){hn(u)&&(a=pn(),i={selection:!1,input:!1},o=r(u))},{capture:!0}),P(t,window,_.SELECTION_CHANGE,function(){(!a||!pn())&&(i.selection=!0)},{capture:!0}),P(t,window,_.POINTER_UP,function(u){if(hn(u)&&o){var c=i;n(o,u,function(){return c}),o=void 0}},{capture:!0}),P(t,window,_.INPUT,function(){i.input=!0},{capture:!0})];return{stop:function(){s.forEach(function(u){return u.stop()})}}}function pn(){var t=window.getSelection();return!t||t.isCollapsed}function hn(t){return t.target instanceof Element&&t.isPrimary!==!1}var _n=3;function Sc(t,e){if(yc(t))return e.addFrustration("rage_click"),t.some(mn)&&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"),mn(n)&&!r&&n.addFrustration("dead_click")}),{isRage:!1}}function yc(t){if(t.some(function(r){return r.getUserActivity().selection}))return!1;for(var e=0;e<t.length-(_n-1);e+=1)if(t[e+_n-1].event.timeStamp-t[e].event.timeStamp<=K)return!0;return!1}var Ec='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 mn(t){return t.hasPageActivity||t.getUserActivity().input?!1:!yi(t.event.target,Ec)}var wc=10*K,Tc=5*q;function Cc(t,e,r){var n=new te(Tc),a=new L,i;t.subscribe(8,function(){n.reset()}),t.subscribe(4,c);var o=bc(r,{onPointerDown:function(l){return Ic(r,t,e,l)},onPointerUp:function(l,d,f){var v=l.clickActionBase,p=l.hadActivityOnPointerDown;return Ac(r,t,e,n,a,u,v,d,f,p)}}).stop,s={findActionId:function(l){return n.findAll(l)}};return{stop:function(){c(),a.notify(),o()},actionContexts:s};function u(l){if(!i||!i.tryAppend(l)){var d=l.clone();i=_c(l,function(f){Oc(f,d)})}}function c(){i&&i.stop()}}function Ic(t,e,r,n){var a=Rc(n,t.actionNameAttribute),i=!1;return zr(e,r,t,function(o){i=o.hadActivity},Ca),{clickActionBase:a,hadActivityOnPointerDown:function(){return i}}}function Ac(t,e,r,n,a,i,o,s,u,c){var l=ka(e,n,u,o,s);i(l);var d=zr(e,r,t,function(p){p.hadActivity&&p.end<l.startClocks.timeStamp?l.discard():p.hadActivity?l.stop(p.end):c()?l.stop(l.startClocks.timeStamp):l.stop()},wc).stop,f=e.subscribe(4,function(p){var h=p.endClocks;l.stop(h.timeStamp)}),v=a.subscribe(function(){l.stop()});l.stopObservable.subscribe(function(){f.unsubscribe(),d(),v.unsubscribe()})}function Rc(t,e){var r=t.target.getBoundingClientRect();return{type:"click",target:{width:Math.round(r.width),height:Math.round(r.height),selector:be(t.target,e)},position:{x:Math.round(t.clientX-r.left),y:Math.round(t.clientY-r.top)},name:$u(t.target,e)}}function ka(t,e,r,n,a){var i=j(),o=J(),s=e.add(i,o.relative),u=Ta({lifeCycle:t,isChildEvent:function(p){return p.action!==void 0&&(Array.isArray(p.action.id)?_t(p.action.id,i):p.action.id===i)}}),c=0,l,d=[],f=new L;function v(p){c===0&&(l=p,c=1,l?s.close(kn(l)):s.remove(),u.stop(),f.notify())}return{event:a,stop:v,stopObservable:f,get hasError(){return u.eventCounts.errorCount>0},get hasPageActivity(){return l!==void 0},getUserActivity:r,addFrustration:function(p){d.push(p)},startClocks:o,isStopped:function(){return c===1||c===2},clone:function(){return ka(t,e,r,n,a)},validate:function(p){if(v(),c===1){var h=u.eventCounts,m=h.resourceCount,y=h.errorCount,A=h.longTaskCount,x=C({type:"click",duration:l&&$(o.timeStamp,l),startClocks:o,id:i,frustrationTypes:d,counts:{resourceCount:m,errorCount:y,longTaskCount:A},events:p??[a],event:a},n);t.notify(1,x),c=2}},discard:function(){v(),c=2}}}function Oc(t,e){var r=Sc(t,e).isRage;r?(t.forEach(function(n){return n.discard()}),e.stop(F()),e.validate(t.map(function(n){return n.event}))):(e.discard(),t.forEach(function(n){return n.validate()}))}function xc(t,e,r,n){t.subscribe(1,function(i){return t.notify(10,gn(i,n))});var a={findActionId:N};return r.trackUserInteractions&&(a=Cc(t,e,r).actionContexts),{addAction:function(i,o){t.notify(10,C({savedCommonContext:o},gn(i,n)))},actionContexts:a}}function gn(t,e){var r=ir(t)?{action:{id:t.id,loading_time:k(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}}}:void 0,n=ir(t)?void 0:t.context,a=lt({action:{id:j(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},r);return{customerContext:n,rawRumEvent:a,startTime:t.startClocks.relative,domainContext:ir(t)?{events:t.events}:{}}}function ir(t){return t.type!=="custom"}function Nc(t){var e=Bs([De.error]).subscribe(function(r){return t.notify({startClocks:J(),message:r.message,stack:r.stack,fingerprint:r.fingerprint,source:Qt.CONSOLE,handling:"handled",handlingStack:r.handlingStack})});return{stop:function(){e.unsubscribe()}}}function kc(t,e){var r=Wo(t,[Wt.cspViolation,Wt.intervention]).subscribe(function(n){return e.notify({startClocks:J(),message:n.message,stack:n.stack,type:n.subtype,source:Qt.REPORT,handling:"unhandled"})});return{stop:function(){r.unsubscribe()}}}function Lc(t,e,r,n){var a=new L;return Nc(a),Vo(a),kc(e,a),a.subscribe(function(i){return t.notify(12,{error:i})}),Mc(t,r,n)}function Mc(t,e,r){return t.subscribe(12,function(n){var a=n.error,i=n.customerContext,o=n.savedCommonContext;t.notify(10,C({customerContext:i,savedCommonContext:o},Uc(a,e,r)))}),{addError:function(n,a){var i=n.error,o=n.handlingStack,s=n.startClocks,u=n.context,c=i instanceof Error?At(i):void 0,l=jn({stackTrace:c,originalError:i,handlingStack:o,startClocks:s,nonErrorPrefix:"Provided",source:Qt.CUSTOM,handling:"handled"});t.notify(12,{customerContext:u,savedCommonContext:a,error:l})}}}function Uc(t,e,r){var n={date:t.startClocks.timeStamp,error:{id:j(),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},type:"error",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},a=r.findFeatureFlagEvaluations(t.startClocks.relative);return a&&!ht(a)&&(n.feature_flags=a),{rawRumEvent:n,startTime:t.startClocks.relative,domainContext:{error:t.originalError}}}function Pc(t,e,r){t.subscribe(0,function(n){for(var a=0,i=n;a<i.length;a++){var o=i[a];if(o.entryType!==I.LONG_TASK)break;var s=r.findTrackedSession(o.startTime);if(!s||!e.trackLongTasks)break;var u=wr(o.startTime),c={date:u.timeStamp,long_task:{id:j(),duration:k(o.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(10,{rawRumEvent:c,startTime:u.relative,domainContext:{performanceEntry:o}})}})}function Dc(t){if(!(!performance||!("getEntriesByName"in performance))){var e=performance.getEntriesByName(t.url,"resource");if(!(!e.length||!("toJSON"in e[0]))){var r=e.map(function(n){return n.toJSON()}).filter(ha).filter(function(n){return Fc(n,t.startClocks.relative,La({startTime:t.startClocks.relative,duration:t.duration}))});if(r.length===1)return r[0]}}}function La(t){return Zt(t.startTime,t.duration)}function Fc(t,e,r){var n=1;return t.startTime>=e-n&&La(t)<=Zt(r,n)}function Bc(t,e,r,n){t.subscribe(6,function(a){t.notify(10,zc(a,e,r,n))}),t.subscribe(0,function(a){for(var i=0,o=a;i<o.length;i++){var s=o[i];s.entryType===I.RESOURCE&&!hu(s)&&t.notify(10,Vc(s,e,r,n))}})}function zc(t,e,r,n){var a,i=t.type==="xhr"?"xhr":"fetch",o=Dc(t),s=o?wr(o.startTime):t.startClocks,u=o?Ma(o):void 0,c=Hc(t,e),l=Pa(e,r,s),d=Yc(n,s,t.duration),f=Da(n,s,(a=o==null?void 0:o.duration)!==null&&a!==void 0?a:t.duration),v=lt({date:s.timeStamp,resource:{id:j(),type:i,duration:d,method:t.method,status_code:t.status,url:t.url},type:"resource"},c,u,l,f);return{startTime:s.relative,rawRumEvent:v,domainContext:{performanceEntry:o,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}}function Vc(t,e,r,n){var a=pu(t),i=Ma(t),o=wr(t.startTime),s=Gc(t,e),u=Pa(e,r,o),c=Da(n,o,t.duration),l=lt({date:o.timeStamp,resource:{id:j(),type:a,url:t.name},type:"resource"},s,i,u,c);return{startTime:o.relative,rawRumEvent:l,domainContext:{performanceEntry:t}}}function Ma(t){return{resource:C({duration:_u(t),size:gu(t)},mu(t))}}function Hc(t,e){var r=t.traceSampled&&t.traceId&&t.spanId;if(r)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:Ua(e)}}}function Gc(t,e){var r=t.traceId;if(r)return{_dd:{trace_id:t.traceId,rule_psr:Ua(e)}}}function Ua(t){return jt(t.traceSampleRate)?t.traceSampleRate/100:void 0}function Pa(t,e,r){var n=e.findTrackedSession(r.relative);return{_dd:{discarded:!n||!t.trackResources}}}function Da(t,e,r){if(gt(tt.RESOURCE_PAGE_STATES))return{_dd:{page_states:t.findAll(e.relative,r),page_was_discarded:String(document.wasDiscarded)}}}function Yc(t,e,r){var n,a=(n=t.findAll(e.relative,r))===null||n===void 0?void 0:n.some(function(i){return i.state==="frozen"});return a?void 0:k(r)}function Kc(t,e,r){var n=Ta({lifeCycle:t,isChildEvent:function(o){return o.view.id===e},onChange:r}),a=n.stop,i=n.eventCounts;return{stop:a,eventCounts:i}}var Wc=10*q;function qc(t,e,r){var n=t.subscribe(0,function(a){var i=Xt(a,function(o){return o.entryType===I.PAINT&&o.name==="first-contentful-paint"&&o.startTime<e.timeStamp&&o.startTime<Wc});i&&r(i.startTime)}).unsubscribe;return{stop:n}}function jc(t,e,r,n){var a=t.subscribe(0,function(i){var o=Xt(i,function(c){return c.entryType===I.FIRST_INPUT&&c.startTime<r.timeStamp});if(o){var s=$(o.startTime,o.processingStart),u=void 0;gt(tt.WEB_VITALS_ATTRIBUTION)&&o.target&&ee(o.target)&&(u=be(o.target,e.actionNameAttribute)),n({delay:s>=0?s:0,time:o.startTime,targetSelector:u})}}).unsubscribe;return{stop:a}}function Zc(t,e){var r=t.subscribe(0,function(n){for(var a=0,i=n;a<i.length;a++){var o=i[a];o.entryType===I.NAVIGATION&&e({domComplete:o.domComplete,domContentLoaded:o.domContentLoadedEventEnd,domInteractive:o.domInteractive,loadEvent:o.loadEventEnd,firstByte:o.responseStart>=0&&o.responseStart<=nt()?o.responseStart:void 0})}}).unsubscribe;return{stop:r}}var Xc=10*q;function Jc(t,e,r,n,a){var i=1/0,o=W(e,n,[_.POINTER_DOWN,_.KEY_DOWN],function(u){i=u.timeStamp},{capture:!0,once:!0}).stop,s=t.subscribe(0,function(u){var c=gi(u,function(d){return d.entryType===I.LARGEST_CONTENTFUL_PAINT&&d.startTime<i&&d.startTime<r.timeStamp&&d.startTime<Xc});if(c){var l=void 0;gt(tt.WEB_VITALS_ATTRIBUTION)&&c.element&&(l=be(c.element,e.actionNameAttribute)),a({value:c.startTime,targetSelector:l})}}).unsubscribe;return{stop:function(){o(),s()}}}function $c(t,e){e===void 0&&(e=window);var r,n;return document.visibilityState==="hidden"?r=0:(r=1/0,n=W(t,e,[_.PAGE_HIDE,_.VISIBILITY_CHANGE],function(a){(a.type===_.PAGE_HIDE||document.visibilityState==="hidden")&&(r=a.timeStamp,n())},{capture:!0}).stop),{get timeStamp(){return r},stop:function(){n==null||n()}}}function Qc(t,e,r,n){var a={},i=Zc(t,function(d){r(d.loadEvent),a.navigationTimings=d,n()}).stop,o=$c(e),s=qc(t,o,function(d){a.firstContentfulPaint=d,n()}).stop,u=Jc(t,e,o,window,function(d){a.largestContentfulPaint=d,n()}).stop,c=jc(t,e,o,function(d){a.firstInput=d,n()}).stop;function l(){i(),s(),u(),c(),o.stop()}return{stop:l,initialViewMetrics:a}}function tl(t,e,r){if(!rl())return{stop:N};var n=0;r({value:0});var a=el(),i=e.subscribe(0,function(o){for(var s=0,u=o;s<u.length;s++){var c=u[s];if(c.entryType===I.LAYOUT_SHIFT&&!c.hadRecentInput&&(a.update(c),a.value()>n)){n=a.value();var l=Le(n,4),d=a.largestLayoutShiftTarget(),f=void 0;gt(tt.WEB_VITALS_ATTRIBUTION)&&d&&(f=be(d,t.actionNameAttribute)),r({value:l,targetSelector:f})}}}).unsubscribe;return{stop:i}}function el(){var t=0,e,r,n=0,a,i;return{update:function(o){var s,u,c=e===void 0||o.startTime-r>=K||o.startTime-e>=5*K;c?(e=r=o.startTime,t=o.value,n=0,a=void 0):(t+=o.value,r=o.startTime),o.value>n&&(n=o.value,i=o.startTime,!((s=o.sources)===null||s===void 0)&&s.length?a=(u=Xt(o.sources,function(l){return!!l.node&&ee(l.node)}))===null||u===void 0?void 0:u.node:a=void 0)},value:function(){return t},largestLayoutShiftTarget:function(){return a},largestLayoutShiftTime:function(){return i}}}function rl(){return he(I.LAYOUT_SHIFT)}var ke,Fa=0,or=1/0,sr=0;function nl(){"interactionCount"in performance||ke||(ke=new window.PerformanceObserver(E(function(t){t.getEntries().forEach(function(e){var r=e;r.interactionId&&(or=Math.min(or,r.interactionId),sr=Math.max(sr,r.interactionId),Fa=(sr-or)/7+1)})})),ke.observe({type:"event",buffered:!0,durationThreshold:0}))}var bn=function(){return ke?Fa:window.performance.interactionCount||0},Sn=10,al=1*q;function il(t,e,r,n){if(!ul())return{getInteractionToNextPaint:function(){},setViewEnd:N,stop:N};var a=sl(r),i=a.getViewInteractionCount,o=a.stopViewInteractionCount,s=1/0,u=ol(i),c=-1,l,d=n.subscribe(0,function(f){for(var v=0,p=f;v<p.length;v++){var h=p[v];(h.entryType===I.EVENT||h.entryType===I.FIRST_INPUT)&&h.interactionId&&h.startTime>=e&&h.startTime<=s&&u.process(h)}var m=u.estimateP98Interaction();m&&(c=m.duration,gt(tt.WEB_VITALS_ATTRIBUTION)&&m.target&&ee(m.target)?l=be(m.target,t.actionNameAttribute):l=void 0)}).unsubscribe;return{getInteractionToNextPaint:function(){if(c>=0)return{value:Math.min(c,al),targetSelector:l};if(i())return{value:0}},setViewEnd:function(f){s=f,o()},stop:d}}function ol(t){var e=[];function r(){e.sort(function(n,a){return a.duration-n.duration}).splice(Sn)}return{process:function(n){var a=e.findIndex(function(o){return n.interactionId===o.interactionId}),i=e[e.length-1];a!==-1?n.duration>e[a].duration&&(e[a]=n,r()):(e.length<Sn||n.duration>i.duration)&&(e.push(n),r())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}function sl(t){nl();var e=t==="initial_load"?0:bn(),r={stopped:!1};function n(){return bn()-e}return{getViewInteractionCount:function(){return r.stopped?r.interactionCount:n()},stopViewInteractionCount:function(){r={stopped:!0,interactionCount:n()}}}}function ul(){return he(I.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function cl(t,e,r,n,a,i){var o=n==="initial_load",s=!0,u=[];function c(){!s&&!o&&u.length>0&&i(Math.max.apply(Math,u))}var l=zr(t,e,r,function(d){s&&(s=!1,d.hadActivity&&u.push($(a.timeStamp,d.end)),c())}).stop;return{stop:l,setLoadEvent:function(d){o&&(o=!1,u.push(d),c())}}}function Ba(){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 Hr(){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 ur;function za(t){return ur||(ur=ll(t)),ur}function ll(t){var e=new L(function(){var r=bt(function(){e.notify(Ye())},200).throttled;return P(t,window,_.RESIZE,r,{capture:!0,passive:!0}).stop});return e}function Ye(){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 dl=K;function fl(t,e,r,n){n===void 0&&(n=pl(t));var a=0,i=0,o=0,s=n.subscribe(function(u){var c=u.scrollDepth,l=u.scrollTop,d=u.scrollHeight,f=!1;if(c>a&&(a=c,f=!0),d>i){i=d;var v=nt();o=$(e.relative,v),f=!0}f&&r({maxDepth:Math.min(a,i),maxDepthScrollTop:l,maxScrollHeight:i,maxScrollHeightTime:o})});return{stop:function(){return s.unsubscribe()}}}function vl(){var t=Hr(),e=Ye().height,r=Math.round((document.scrollingElement||document.documentElement).scrollHeight),n=Math.round(e+t);return{scrollHeight:r,scrollDepth:n,scrollTop:t}}function pl(t,e){e===void 0&&(e=dl);var r=new L(function(){function n(){r.notify(vl())}if(window.ResizeObserver){var a=bt(n,e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,o=new ResizeObserver(E(a.throttled));o.observe(i);var s=P(t,window,_.SCROLL,a.throttled,{passive:!0});return function(){a.cancel(),o.unobserve(i),s.stop()}}});return r}function hl(t,e,r,n,a,i){var o={},s=cl(t,e,r,a,i,function(m){o.loadingTime=m,n()}),u=s.stop,c=s.setLoadEvent,l=fl(r,i,function(m){o.scroll=m}).stop,d=tl(r,t,function(m){o.cumulativeLayoutShift=m,n()}).stop,f=il(r,i.relative,a,t),v=f.stop,p=f.getInteractionToNextPaint,h=f.setViewEnd;return{stop:function(){u(),d(),l()},stopINPTracking:v,setLoadEvent:c,setViewEnd:h,getCommonViewMetrics:function(){return o.interactionToNextPaint=p(),o}}}var _l=3e3,ml=5*q,gl=5*q;function bl(t,e,r,n,a,i,o){var s=new Set,u=l("initial_load",Nn(),o);d();var c;i&&(c=f(a));function l(v,p,h){var m=Sl(e,r,n,t,v,p,h);return s.add(m),m.stopObservable.subscribe(function(){s.delete(m)}),m}function d(){e.subscribe(8,function(){u=l("route_change",void 0,{name:u.name,service:u.service,version:u.version})}),e.subscribe(7,function(){u.end({sessionIsActive:!1})}),e.subscribe(9,function(v){(v.reason===Nt.UNLOADING||v.reason===Nt.PAGEHIDE)&&u.end()})}function f(v){return v.subscribe(function(p){var h=p.oldLocation,m=p.newLocation;El(h,m)&&(u.end(),u=l("route_change"))})}return{addTiming:function(v,p){p===void 0&&(p=F()),u.addTiming(v,p)},startView:function(v,p){u.end({endClocks:p}),u=l("route_change",p,v)},stop:function(){c==null||c.unsubscribe(),u.end(),s.forEach(function(v){return v.stop()})}}}function Sl(t,e,r,n,a,i,o){i===void 0&&(i=J());var s=j(),u=new L,c={},l=0,d,f=pe(n),v=!0,p,h,m;o&&(p=o.name,h=o.service,m=o.version),t.notify(2,{id:s,name:p,startClocks:i,service:h,version:m});var y=bt(ye,_l,{leading:!1}),A=y.throttled,x=y.cancel,R=hl(t,e,r,A,a,i),b=R.setLoadEvent,T=R.setViewEnd,z=R.stop,Z=R.stopINPTracking,Ot=R.getCommonViewMetrics,B=a==="initial_load"?Qc(t,r,b,A):{stop:N,initialViewMetrics:{}},g=B.stop,S=B.initialViewMetrics,D=Kc(t,s,A),U=D.stop,dt=D.eventCounts,G=me(ye,ml);ye();function ye(){x(),l+=1;var yt=d===void 0?F():d.timeStamp;t.notify(3,{customTimings:c,documentVersion:l,id:s,name:p,service:h,version:m,loadingType:a,location:f,startClocks:i,commonViewMetrics:Ot(),initialViewMetrics:S,duration:$(i.timeStamp,yt),isActive:d===void 0,sessionIsActive:v,eventCounts:dt})}return{name:p,service:h,version:m,stopObservable:u,end:function(yt){var re=this,ne,qe;yt===void 0&&(yt={}),!d&&(d=(ne=yt.endClocks)!==null&&ne!==void 0?ne:J(),v=(qe=yt.sessionIsActive)!==null&&qe!==void 0?qe:!0,t.notify(4,{endClocks:d}),Ir(G),T(d.relative),z(),ye(),H(function(){re.stop()},gl))},stop:function(){g(),U(),Z(),u.notify()},addTiming:function(yt,re){if(!d){var ne=hi(re)?re:$(i.timeStamp,re);c[yl(yt)]=ne,A()}}}}function yl(t){var e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&O.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(e)),e}function El(t,e){return t.pathname!==e.pathname||!wl(e.hash)&&yn(e.hash)!==yn(t.hash)}function wl(t){var e=t.substring(1);return e!==""&&!!document.getElementById(e)}function yn(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function Tl(t,e,r,n,a,i,o,s,u){return t.subscribe(3,function(c){return t.notify(10,Cl(c,e,i,s,o))}),bl(r,t,n,e,a,!e.trackViewsManually,u)}function Cl(t,e,r,n,a){var i,o,s,u,c,l,d,f,v,p,h,m,y,A,x=n.getReplayStats(t.id),R=r.findFeatureFlagEvaluations(t.startClocks.relative),b=a.findAll(t.startClocks.relative,t.duration),T={_dd:{document_version:t.documentVersion,replay_stats:x,page_states:b},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:(i=t.commonViewMetrics.cumulativeLayoutShift)===null||i===void 0?void 0:i.value,cumulative_layout_shift_target_selector:(o=t.commonViewMetrics.cumulativeLayoutShift)===null||o===void 0?void 0:o.targetSelector,first_byte:k((s=t.initialViewMetrics.navigationTimings)===null||s===void 0?void 0:s.firstByte),dom_complete:k((u=t.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domComplete),dom_content_loaded:k((c=t.initialViewMetrics.navigationTimings)===null||c===void 0?void 0:c.domContentLoaded),dom_interactive:k((l=t.initialViewMetrics.navigationTimings)===null||l===void 0?void 0:l.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:k(t.initialViewMetrics.firstContentfulPaint),first_input_delay:k((d=t.initialViewMetrics.firstInput)===null||d===void 0?void 0:d.delay),first_input_time:k((f=t.initialViewMetrics.firstInput)===null||f===void 0?void 0:f.time),first_input_target_selector:(v=t.initialViewMetrics.firstInput)===null||v===void 0?void 0:v.targetSelector,interaction_to_next_paint:k((p=t.commonViewMetrics.interactionToNextPaint)===null||p===void 0?void 0:p.value),interaction_to_next_paint_target_selector:(h=t.commonViewMetrics.interactionToNextPaint)===null||h===void 0?void 0:h.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:k((m=t.initialViewMetrics.largestContentfulPaint)===null||m===void 0?void 0:m.value),largest_contentful_paint_target_selector:(y=t.initialViewMetrics.largestContentfulPaint)===null||y===void 0?void 0:y.targetSelector,load_event:k((A=t.initialViewMetrics.navigationTimings)===null||A===void 0?void 0:A.loadEvent),loading_time:Il(k(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:k(t.duration)},feature_flags:R&&!ht(R)?R: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:k(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:x?!0:void 0,is_active:t.sessionIsActive?void 0:!1},privacy:{replay_level:e.defaultPrivacyLevel}};return ht(t.customTimings)||(T.view.custom_timings=Ei(t.customTimings,k)),{rawRumEvent:T,startTime:t.startClocks.relative,domainContext:{location:t.location}}}function Il(t){return jt(t)&&t<0?void 0:t}var Al="rum";function Rl(t,e){var r=cs(t,Al,function(n){return xl(t,n)});return r.expireObservable.subscribe(function(){e.notify(7)}),r.renewObservable.subscribe(function(){e.notify(8)}),{findTrackedSession:function(n){var a=r.findActiveSession(n);if(!(!a||!Va(a.trackingType)))return{id:a.id,sessionReplayAllowed:a.trackingType==="1"}},expire:r.expire,expireObservable:r.expireObservable}}function Ol(){var t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplayAllowed:!1};return{findTrackedSession:function(){return t},expire:N,expireObservable:new L}}function xl(t,e){var r;return Nl(e)?r=e:Yt(t.sessionSampleRate)?Yt(t.sessionReplaySampleRate)?r="1":r="2":r="0",{trackingType:r,isTracked:Va(r)}}function Nl(t){return t==="0"||t==="1"||t==="2"}function Va(t){return t==="2"||t==="1"}function kl(t,e,r,n,a,i){var o=t.replica,s=Rs(t,{endpoint:t.rumEndpointBuilder},o&&{endpoint:o.rumEndpointBuilder,transformMessage:function(u){return lt(u,{application:{id:o.applicationId}})}},n,a,i);return e.subscribe(11,function(u){u.type==="view"?s.upsert(u,u.view.id):s.add(u)}),r.subscribe(function(u){return s.add(u,rs(t))}),s}function Ll(t){var e=Mr();t.subscribe(11,function(r){e.send("rum",r)})}var Ml=Jt;function Ul(t,e,r){var n=new te(Ml),a;t.subscribe(4,function(s){var u=s.endClocks;n.closeActive(u.relative)}),t.subscribe(2,function(s){var u=s.startClocks,c=r.href;n.add(o({url:c,referrer:a||document.referrer}),u.relative),a=c});var i=e.subscribe(function(s){var u=s.newLocation,c=n.find();if(c){var l=nt();n.closeActive(l),n.add(o({url:u.href,referrer:c.referrer}),l)}});function o(s){var u=s.url,c=s.referrer;return{url:u,referrer:c}}return{findUrl:function(s){return n.find(s)},stop:function(){i.unsubscribe(),n.stop()}}}function Pl(t,e){var r=pe(e),n=new L(function(){var i=Dl(t,a).stop,o=Fl(t,a).stop;return function(){i(),o()}});function a(){if(r.href!==e.href){var i=pe(e);n.notify({newLocation:i,oldLocation:r}),r=i}}return n}function Dl(t,e){var r=X(history,"pushState",{after:e}).stop,n=X(history,"replaceState",{after:e}).stop,a=P(t,window,_.POP_STATE,e).stop;return{stop:function(){r(),n(),a()}}}function Fl(t,e){return P(t,window,_.HASH_CHANGE,e)}var Bl=Jt,zl=200;function Vl(t,e){if(e===void 0&&(e=ve),!gt(tt.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:N,stop:N};var r=new te(Bl),n=0,a=!1;t.subscribe(4,function(u){var c=u.endClocks;r.closeActive(c.relative)}),t.subscribe(2,function(u){var c=u.startClocks;r.add({},c.relative),n=0});var i=bt(function(u){n=e(Pt(u)),a||(a=ua(n,0))},zl),o=i.throttled,s=i.cancel;return{findFeatureFlagEvaluations:function(u){return r.find(u)},getFeatureFlagBytesCount:function(){var u=r.find();return u?n:0},addFeatureFlagEvaluation:function(u,c){var l=r.find();l&&(l[u]=c,o(l))},stop:s}}var Hl=10*K,ft,xt,Sr;function Gl(t,e,r,n,a,i,o){var s=e.enabled&&Yt(t.customerDataTelemetrySampleRate);s&&(Ha(),En(),r.subscribe(11,function(u){Sr=!0,ue(xt.globalContextBytes,ht(n.getContext())?0:n.getBytesCount()),ue(xt.userContextBytes,ht(a.getContext())?0:a.getBytesCount());var c=i.findFeatureFlagEvaluations(),l=_t(["view","error"],u.type)&&c&&!ht(c);ue(xt.featureFlagBytes,l?i.getFeatureFlagBytesCount():0)}),o.subscribe(function(u){var c=u.bytesCount,l=u.messagesCount;Sr&&(ft.batchCount+=1,ue(ft.batchBytesCount,c),ue(ft.batchMessagesCount,l),cr(ft.globalContextBytes,xt.globalContextBytes),cr(ft.userContextBytes,xt.userContextBytes),cr(ft.featureFlagBytes,xt.featureFlagBytes),En())}),me(Yl,Hl))}function Yl(){ft.batchCount!==0&&(Dt("Customer data measures",ft),Ha())}function wt(){return{min:1/0,max:0,sum:0}}function ue(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function cr(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function Ha(){ft={batchCount:0,batchBytesCount:wt(),batchMessagesCount:wt(),globalContextBytes:wt(),userContextBytes:wt(),featureFlagBytes:wt()}}function En(){Sr=!1,xt={globalContextBytes:wt(),userContextBytes:wt(),featureFlagBytes:wt()}}var Kl=4e3,Wl=500,ql=Jt;function jl(t,e){e===void 0&&(e=Wl);var r=new te(ql,Kl),n;i(Ga(),nt());var a=W(t,window,[_.PAGE_SHOW,_.FOCUS,_.BLUR,_.VISIBILITY_CHANGE,_.RESUME,_.FREEZE,_.PAGE_HIDE],function(o){i(Zl(o),o.timeStamp)},{capture:!0}).stop;function i(o,s){s===void 0&&(s=nt()),o!==n&&(n=o,r.closeActive(s),r.add({state:n,startTime:s},s))}return{findAll:function(o,s){var u=r.findAll(o,s);if(u.length!==0){for(var c=[],l=Math.max(0,u.length-e),d=u.length-1;d>=l;d--){var f=u[d],v=$(o,f.startTime);c.push({state:f.state,start:k(v)})}return c}},isInActivePageStateAt:function(o){var s=r.find(o);return s!==void 0&&s.state==="active"},addPageState:i,stop:function(){a(),r.stop()}}}function Zl(t){return t.type===_.FREEZE?"frozen":t.type===_.PAGE_HIDE?t.persisted?"frozen":"terminated":Ga()}function Ga(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function Xl(t){var e=Ye(),r=za(t).subscribe(function(n){e=n}).unsubscribe;return{get:function(){return{viewport:e}},stop:r}}function Jl(t,e,r,n,a,i){var o=[],s=new Vu;s.subscribe(11,function(U){return xr("rum",U)});var u=$l(e);u.setContextProvider(function(){var U,dt;return{application:{id:e.applicationId},session:{id:(U=v.findTrackedSession())===null||U===void 0?void 0:U.id},view:{id:(dt=A.findView())===null||dt===void 0?void 0:dt.id},action:{id:b.findActionId()}}});var c=function(U){s.notify(12,{error:U}),Dt("Error reported to customer",{"error.message":U.message})},l=Vl(s),d=Cs(e),f=d.subscribe(function(U){s.notify(9,U)});o.push(function(){return f.unsubscribe()});var v=qt()?Ol():Rl(e,s);if(qt())Ll(s);else{var p=kl(e,s,u.observable,c,d,v.expireObservable);o.push(function(){return p.stop()}),Gl(e,u,s,n,a,l,p.flushObservable)}var h=fu(),m=Pl(e,location),y=Ql(s,e,location,v,m,h,function(){return gr(n,a,r)},c),A=y.viewContexts,x=y.pageStateHistory,R=y.urlContexts,b=y.actionContexts,T=y.addAction,z=y.stop;o.push(z),ns(lu(t)),Pc(s,e,v),Bc(s,e,v,x);var Z=Tl(s,e,location,h,m,l,x,r,i),Ot=Z.addTiming,B=Z.startView,g=Z.stop;o.push(g);var S=Lc(s,e,x,l).addError;Yu(s,e,v),Iu(s,e);var D=zu(e.applicationId,v,A,b,R);return{addAction:T,addError:S,addTiming:Ot,addFeatureFlagEvaluation:l.addFeatureFlagEvaluation,startView:B,lifeCycle:s,viewContexts:A,session:v,stopSession:function(){return v.expire()},getInternalContext:D.get,stop:function(){o.forEach(function(U){return U()})}}}function $l(t){var e=ts("browser-rum-sdk",t);if(qt()){var r=Mr();e.observable.subscribe(function(n){return r.send("internal_telemetry",n)})}return e}function Ql(t,e,r,n,a,i,o,s){var u=Gu(t),c=Ul(t,a,r),l=jl(e),d=xc(t,i,e,l),f=d.addAction,v=d.actionContexts,p=Xl(e);return Du(e,t,n,u,c,v,p,o,s),{viewContexts:u,pageStateHistory:l,urlContexts:c,addAction:f,actionContexts:v,stop:function(){p.stop(),l.stop(),c.stop(),u.stop(),l.stop()}}}function td(t,e){var r=e.session,n=e.viewContext,a=e.errorType,i=r?r.id:"no-session-id",o=[];a!==void 0&&o.push("error-type=".concat(a)),n&&(o.push("seed=".concat(n.id)),o.push("from=".concat(n.startClocks.timeStamp)));var s=ed(t),u="/rum/replay/sessions/".concat(i);return"".concat(s).concat(u,"?").concat(o.join("&"))}function ed(t){var e=t.site,r=t.subdomain||rd(t);return"https://".concat(r?"".concat(r,"."):"").concat(e)}function rd(t){switch(t.site){case Gt:case io:return"app";case Yn:return"dd";default:return}}var it={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Mt={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},vt={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},rt={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},wn={Play:0,Pause:1};function Et(t,e){return{data:C({source:t},e),type:it.IncrementalSnapshot,timestamp:F()}}var w={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:fe.ALLOW,MASK:fe.MASK,MASK_USER_INPUT:fe.MASK_USER_INPUT},Gr="data-dd-privacy",nd="allow",ad="mask",id="mask-user-input",Ya="hidden",od="dd-privacy-allow",sd="dd-privacy-mask",ud="dd-privacy-mask-user-input",cd="dd-privacy-hidden",kt="***",ld="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",dd={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},fd=1e5,vd="x";function St(t,e){var r=Ge(t),n=r?St(r,e):e,a=Wa(t);return Ka(a,n)}function Ka(t,e){switch(e){case w.HIDDEN:case w.IGNORE:return e}switch(t){case w.ALLOW:case w.MASK:case w.MASK_USER_INPUT:case w.HIDDEN:case w.IGNORE:return t;default:return e}}function Wa(t){if(ee(t)){var e=t.getAttribute(Gr);if(t.tagName==="BASE")return w.ALLOW;if(t.tagName==="INPUT"){var r=t;if(r.type==="password"||r.type==="email"||r.type==="tel"||r.type==="hidden")return w.MASK;var n=r.getAttribute("autocomplete");if(n&&n.indexOf("cc-")===0)return w.MASK}if(e===Ya||t.classList.contains(cd))return w.HIDDEN;if(e===ad||t.classList.contains(sd))return w.MASK;if(e===id||t.classList.contains(ud))return w.MASK_USER_INPUT;if(e===nd||t.classList.contains(od))return w.ALLOW;if(hd(t))return w.IGNORE}}function Ke(t,e){switch(e){case w.MASK:case w.HIDDEN:case w.IGNORE:return!0;case w.MASK_USER_INPUT:return ma(t)?Tn(t.parentNode):Tn(t);default:return!1}}function Tn(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!!dd[e.tagName]}var pd=function(t){return t.replace(/\S/g,vd)};function qa(t,e,r){var n,a=(n=t.parentElement)===null||n===void 0?void 0:n.tagName,i=t.textContent||"";if(!(e&&!i.trim())){var o=r,s=a==="SCRIPT";if(s)i=kt;else if(o===w.HIDDEN)i=kt;else if(Ke(t,o))if(a==="DATALIST"||a==="SELECT"||a==="OPTGROUP"){if(!i.trim())return}else a==="OPTION"?i=kt:i=pd(i);return i}}function hd(t){if(t.nodeName==="SCRIPT")return!0;if(t.nodeName==="LINK"){var e=a("rel");return/preload|prefetch/i.test(e)&&a("as")==="script"||e==="shortcut icon"||e==="icon"}if(t.nodeName==="META"){var r=a("name"),e=a("rel"),n=a("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 a(i){return(t.getAttribute(i)||"").toLowerCase()}return!1}var Yr=new WeakMap;function ct(t){return Yr.has(t)}function _d(t){for(var e=t;e;){if(!ct(e)&&!Br(e))return!1;e=Ge(e)}return!0}function Y(t){return Yr.get(t)}function md(t,e){Yr.set(t,e)}function Kr(t,e){var r=t.tagName,n=t.value;if(Ke(t,e)){var a=t.type;return r==="INPUT"&&(a==="button"||a==="submit"||a==="reset")?n:!n||r==="OPTION"?void 0:kt}if(r==="OPTION"||r==="SELECT")return t.value;if(!(r!=="INPUT"&&r!=="TEXTAREA"))return n}var gd=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,bd=/^[A-Za-z]+:|^\/\//,Sd=/^data:.*,/i;function yd(t,e){return t.replace(gd,function(r,n,a,i,o,s){var u=a||o||s;if(!e||!u||bd.test(u)||Sd.test(u))return r;var c=n||i||"";return"url(".concat(c).concat(Ed(u,e)).concat(c,")")})}function Ed(t,e){try{return Ve(t,e).href}catch{return t}}var wd=/[^a-z1-6-_]/;function ja(t){var e=t.toLowerCase().trim();return wd.test(e)?"div":e}function Za(t){if(!(t===void 0||t.length===0))return t.map(function(e){var r=e.cssRules||e.rules,n=Array.from(r,function(i){return i.cssText}),a={cssRules:n,disabled:e.disabled||void 0,media:e.media.length>0?Array.from(e.media):void 0};return a})}function Xa(t,e,r,n){if(e===w.HIDDEN)return null;var a=t.getAttribute(r);if(e===w.MASK&&r!==Gr&&!Ra.includes(r)&&r!==n.actionNameAttribute){var i=t.tagName;switch(r){case"title":case"alt":case"placeholder":return kt}if((i==="IMG"||i==="SOURCE")&&(r==="src"||r==="srcset"))return ld;if(i==="A"&&r==="href"||a&&Be(r,"data-"))return kt}return!a||typeof a!="string"?a:a.length>fd&&a.slice(0,5)==="data:"?"data:truncated":a}function Td(t,e,r){var n;if(e===w.HIDDEN)return{};for(var a={},i=ja(t.tagName),o=t.ownerDocument,s=0;s<t.attributes.length;s+=1){var u=t.attributes.item(s),c=u.name,l=Xa(t,e,c,r.configuration);l!==null&&(a[c]=l)}if(t.value&&(i==="textarea"||i==="select"||i==="option"||i==="input")){var d=Kr(t,e);d!==void 0&&(a.value=d)}if(i==="option"&&e===w.ALLOW){var f=t;f.selected&&(a.selected=f.selected)}if(i==="link"){var v=Array.from(o.styleSheets).find(function(R){return R.href===t.href}),p=yr(v);p&&v&&!gt(tt.DISABLE_REPLAY_INLINE_CSS)&&(a._cssText=p)}if(i==="style"&&t.sheet){var p=yr(t.sheet);p&&(a._cssText=p)}var h=t;if(i==="input"&&(h.type==="radio"||h.type==="checkbox")&&(e===w.ALLOW?a.checked=!!h.checked:Ke(h,e)&&delete a.checked),i==="audio"||i==="video"){var m=t;a.rr_mediaState=m.paused?"paused":"played"}var y,A,x=r.serializationContext;switch(x.status){case 0:y=Math.round(t.scrollTop),A=Math.round(t.scrollLeft),(y||A)&&x.elementsScrollPositions.set(t,{scrollTop:y,scrollLeft:A});break;case 1:x.elementsScrollPositions.has(t)&&(n=x.elementsScrollPositions.get(t),y=n.scrollTop,A=n.scrollLeft);break}return A&&(a.rr_scrollLeft=A),y&&(a.rr_scrollTop=y),a}function yr(t){if(!t)return null;var e;try{e=t.rules||t.cssRules}catch{}if(!e)return null;var r=Array.from(e,Ri()?Cd:Ja).join("");return yd(r,t.href)}function Cd(t){if(Ad(t)&&t.selectorText.includes(":")){var e=/(\[[\w-]+[^\\])(:[^\]]+\])/g;return t.cssText.replace(e,"$1\\$2")}return Ja(t)}function Ja(t){return Id(t)&&yr(t.styleSheet)||t.cssText}function Id(t){return"styleSheet"in t}function Ad(t){return"selectorText"in t}function Wr(t,e){var r=xd(t,e);if(!r)return null;var n=Y(t)||Od(),a=r;return a.id=n,md(t,n),e.serializedNodeIds&&e.serializedNodeIds.add(n),a}var Rd=1;function Od(){return Rd++}function qr(t,e){var r=[];return ga(t,function(n){var a=Wr(n,e);a&&r.push(a)}),r}function xd(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return Nd(t,e);case t.DOCUMENT_FRAGMENT_NODE:return kd(t,e);case t.DOCUMENT_TYPE_NODE:return Ld(t);case t.ELEMENT_NODE:return Md(t,e);case t.TEXT_NODE:return Pd(t,e);case t.CDATA_SECTION_NODE:return Dd()}}function Nd(t,e){return{type:Mt.Document,childNodes:qr(t,e),adoptedStyleSheets:Za(t.adoptedStyleSheets)}}function kd(t,e){var r=Br(t);return r&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:Mt.DocumentFragment,childNodes:qr(t,e),isShadowRoot:r,adoptedStyleSheets:r?Za(t.adoptedStyleSheets):void 0}}function Ld(t){return{type:Mt.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId}}function Md(t,e){var r,n=ja(t.tagName),a=Ud(t)||void 0,i=Ka(Wa(t),e.parentNodePrivacyLevel);if(i===w.HIDDEN){var o=t.getBoundingClientRect(),s=o.width,u=o.height;return{type:Mt.Element,tagName:n,attributes:(r={rr_width:"".concat(s,"px"),rr_height:"".concat(u,"px")},r[Gr]=Ya,r),childNodes:[],isSVG:a}}if(i!==w.IGNORE){var c=Td(t,i,e),l=[];if(Su(t)&&n!=="style"){var d=void 0;e.parentNodePrivacyLevel===i&&e.ignoreWhiteSpace===(n==="head")?d=e:d=C({},e,{parentNodePrivacyLevel:i,ignoreWhiteSpace:n==="head"}),l=qr(t,d)}return{type:Mt.Element,tagName:n,attributes:c,childNodes:l,isSVG:a}}}function Ud(t){return t.tagName==="svg"||t instanceof SVGElement}function Pd(t,e){var r=qa(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(r!==void 0)return{type:Mt.Text,textContent:r}}function Dd(){return{type:Mt.CDATA,textContent:""}}function Fd(t,e,r){return Wr(t,{serializationContext:r,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function $a(t){return!!t.changedTouches}function Se(t){return t.composed===!0&&He(t.target)?t.composedPath()[0]:t.target}var Cn=25;function Bd(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>Cn||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>Cn}var zd=function(t,e){var r=window.visualViewport,n={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};if(r)Bd(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},Qa=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}},Vd=50;function Hd(t,e){var r=bt(function(n){var a=Se(n);if(ct(a)){var i=ti(n);if(!i)return;var o={id:Y(a),timeOffset:0,x:i.x,y:i.y};e([o],$a(n)?vt.TouchMove:vt.MouseMove)}},Vd,{trailing:!1}).throttled;return W(t,document,[_.MOUSE_MOVE,_.TOUCH_MOVE],r,{capture:!0,passive:!0}).stop}function ti(t){var e=$a(t)?t.changedTouches[0]:t,r=e.clientX,n=e.clientY;if(window.visualViewport){var a=zd(r,n),i=a.visualViewportX,o=a.visualViewportY;r=i,n=o}if(!Number.isFinite(r)||!Number.isFinite(n)){t.isTrusted&&Dt("mouse/touch event without x/y");return}return{x:r,y:n}}var Gd=100;function Yd(t,e,r,n){var a=bt(function(i){var o=Se(i);if(!(!o||St(o,r)===w.HIDDEN||!ct(o))){var s=Y(o),u=o===document?{scrollTop:Hr(),scrollLeft:Ba()}:{scrollTop:Math.round(o.scrollTop),scrollLeft:Math.round(o.scrollLeft)};n.set(o,u),e({id:s,x:u.scrollLeft,y:u.scrollTop})}},Gd).throttled;return P(t,document,_.SCROLL,a,{capture:!0,passive:!0}).stop}var et,In=(et={},et[_.POINTER_UP]=rt.MouseUp,et[_.MOUSE_DOWN]=rt.MouseDown,et[_.CLICK]=rt.Click,et[_.CONTEXT_MENU]=rt.ContextMenu,et[_.DBL_CLICK]=rt.DblClick,et[_.FOCUS]=rt.Focus,et[_.BLUR]=rt.Blur,et[_.TOUCH_START]=rt.TouchStart,et[_.TOUCH_END]=rt.TouchEnd,et);function Kd(t,e,r){var n=function(a){var i=Se(a);if(!(St(i,t.defaultPrivacyLevel)===w.HIDDEN||!ct(i))){var o=Y(i),s=In[a.type],u;if(s!==rt.Blur&&s!==rt.Focus){var c=ti(a);if(!c)return;u={id:o,type:s,x:c.x,y:c.y}}else u={id:o,type:s};var l=C({id:r.getIdForEvent(a)},Et(vt.MouseInteraction,u));e(l)}};return W(t,document,Object.keys(In),n,{capture:!0,passive:!0}).stop}function ei(t,e,r){r===void 0&&(r=document);var n=t.defaultPrivacyLevel,a=new WeakMap,i=r!==document,o=W(t,r,i?[_.CHANGE]:[_.INPUT,_.CHANGE],function(d){var f=Se(d);(f instanceof HTMLInputElement||f instanceof HTMLTextAreaElement||f instanceof HTMLSelectElement)&&c(f)},{capture:!0,passive:!0}).stop,s;if(i)s=N;else{var u=[ie(HTMLInputElement.prototype,"value",c),ie(HTMLInputElement.prototype,"checked",c),ie(HTMLSelectElement.prototype,"value",c),ie(HTMLTextAreaElement.prototype,"value",c),ie(HTMLSelectElement.prototype,"selectedIndex",c)];s=function(){u.forEach(function(d){return d.stop()})}}return function(){s(),o()};function c(d){var f=St(d,n);if(f!==w.HIDDEN){var v=d.type,p;if(v==="radio"||v==="checkbox"){if(Ke(d,f))return;p={isChecked:d.checked}}else{var h=Kr(d,f);if(h===void 0)return;p={text:h}}l(d,p);var m=d.name;v==="radio"&&m&&d.checked&&bi(document.querySelectorAll('input[type="radio"][name="'.concat(mt(m),'"]')),function(y){y!==d&&l(y,{isChecked:!1})})}}function l(d,f){if(ct(d)){var v=a.get(d);(!v||v.text!==f.text||v.isChecked!==f.isChecked)&&(a.set(d,f),e(C({id:Y(d)},f)))}}}function Wd(t){function e(a,i){a&&ct(a.ownerNode)&&i(Y(a.ownerNode))}var r=[X(CSSStyleSheet.prototype,"insertRule",{before:function(a,i){e(this,function(o){return t({id:o,adds:[{rule:a,index:i}]})})}}),X(CSSStyleSheet.prototype,"deleteRule",{before:function(a){e(this,function(i){return t({id:i,removes:[{index:a}]})})}})];typeof CSSGroupingRule<"u"?n(CSSGroupingRule):(n(CSSMediaRule),n(CSSSupportsRule));function n(a){r.push(X(a.prototype,"insertRule",{before:function(i,o){var s=this;e(this.parentStyleSheet,function(u){var c=An(s);c&&(c.push(o||0),t({id:u,adds:[{rule:i,index:c}]}))})}}),X(a.prototype,"deleteRule",{before:function(i){var o=this;e(this.parentStyleSheet,function(s){var u=An(o);u&&(u.push(i),t({id:s,removes:[{index:u}]}))})}}))}return function(){return r.forEach(function(a){return a.stop()})}}function An(t){for(var e=[],r=t;r.parentRule;){var n=Array.from(r.parentRule.cssRules),a=n.indexOf(r);e.unshift(a),r=r.parentRule}if(r.parentStyleSheet){var i=Array.from(r.parentStyleSheet.cssRules),o=i.indexOf(r);return e.unshift(o),e}}function qd(t,e,r){return W(t,document,[_.PLAY,_.PAUSE],function(n){var a=Se(n);!a||St(a,r)===w.HIDDEN||!ct(a)||e({id:Y(a),type:n.type===_.PLAY?wn.Play:wn.Pause})},{capture:!0,passive:!0}).stop}function jd(t,e,r){return t.subscribe(10,function(n){var a,i,o;n.rawRumEvent.type==="action"&&n.rawRumEvent.action.type==="click"&&(!((i=(a=n.rawRumEvent.action.frustration)===null||a===void 0?void 0:a.type)===null||i===void 0)&&i.length)&&"events"in n.domainContext&&(!((o=n.domainContext.events)===null||o===void 0)&&o.length)&&e({timestamp:n.rawRumEvent.date,type:it.FrustrationRecord,data:{frustrationTypes:n.rawRumEvent.action.frustration.type,recordIds:n.domainContext.events.map(function(s){return r.getIdForEvent(s)})}})}).unsubscribe}var Zd=200;function Xd(t,e){return za(t).subscribe(e).unsubscribe}function Jd(t,e){var r=window.visualViewport;if(!r)return N;var n=bt(function(){e(Qa(r))},Zd,{trailing:!1}),a=n.throttled,i=n.cancel,o=W(t,r,[_.RESIZE,_.SCROLL],a,{capture:!0,passive:!0}).stop;return function(){o(),i()}}var $d=100;function Qd(t){var e=N,r=[];function n(){e(),t(r),r=[]}return{addMutations:function(a){r.length===0&&(e=tf(n,{timeout:$d})),r.push.apply(r,a)},flush:n,stop:function(){e()}}}function tf(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var r=window.requestIdleCallback(E(t),e);return function(){return window.cancelIdleCallback(r)}}var n=window.requestAnimationFrame(E(t));return function(){return window.cancelAnimationFrame(n)}}function ri(t,e,r,n){var a=va();if(!a)return{stop:N,flush:N};var i=Qd(function(s){ef(s.concat(o.takeRecords()),t,e,r)}),o=new a(E(i.addMutations));return o.observe(n,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){o.disconnect(),i.stop()},flush:function(){i.flush()}}}function ef(t,e,r,n){t.filter(function(d){return d.type==="childList"}).forEach(function(d){d.removedNodes.forEach(function(f){ni(f,n.removeShadowRoot)})});var a=t.filter(function(d){return d.target.isConnected&&_d(d.target)&&St(d.target,r.defaultPrivacyLevel)!==w.HIDDEN}),i=rf(a.filter(function(d){return d.type==="childList"}),r,n),o=i.adds,s=i.removes,u=i.hasBeenSerialized,c=nf(a.filter(function(d){return d.type==="characterData"&&!u(d.target)}),r),l=af(a.filter(function(d){return d.type==="attributes"&&!u(d.target)}),r);!c.length&&!l.length&&!s.length&&!o.length||e({adds:o,removes:s,texts:c,attributes:l})}function rf(t,e,r){for(var n=new Set,a=new Map,i=function(b){b.addedNodes.forEach(function(T){n.add(T)}),b.removedNodes.forEach(function(T){n.has(T)||a.set(T,b.target),n.delete(T)})},o=0,s=t;o<s.length;o++){var u=s[o];i(u)}var c=Array.from(n);of(c);for(var l=new Set,d=[],f=0,v=c;f<v.length;f++){var p=v[f];if(!x(p)){var h=St(p.parentNode,e.defaultPrivacyLevel);if(!(h===w.HIDDEN||h===w.IGNORE)){var m=Wr(p,{serializedNodeIds:l,parentNodePrivacyLevel:h,serializationContext:{status:2,shadowRootsController:r},configuration:e});if(m){var y=Ge(p);d.push({nextId:R(p),parentId:Y(y),node:m})}}}}var A=[];return a.forEach(function(b,T){ct(T)&&A.push({parentId:Y(b),id:Y(T)})}),{adds:d,removes:A,hasBeenSerialized:x};function x(b){return ct(b)&&l.has(Y(b))}function R(b){for(var T=b.nextSibling;T;){if(ct(T))return Y(T);T=T.nextSibling}return null}}function nf(t,e){for(var r,n=[],a=new Set,i=t.filter(function(d){return a.has(d.target)?!1:(a.add(d.target),!0)}),o=0,s=i;o<s.length;o++){var u=s[o],c=u.target.textContent;if(c!==u.oldValue){var l=St(Ge(u.target),e.defaultPrivacyLevel);l===w.HIDDEN||l===w.IGNORE||n.push({id:Y(u.target),value:(r=qa(u.target,!1,l))!==null&&r!==void 0?r:null})}}return n}function af(t,e){for(var r=[],n=new Map,a=t.filter(function(h){var m=n.get(h.target);return m!=null&&m.has(h.attributeName)?!1:(m?m.add(h.attributeName):n.set(h.target,new Set([h.attributeName])),!0)}),i=new Map,o=0,s=a;o<s.length;o++){var u=s[o],c=u.target.getAttribute(u.attributeName);if(c!==u.oldValue){var l=St(u.target,e.defaultPrivacyLevel),d=Xa(u.target,l,u.attributeName,e),f=void 0;if(u.attributeName==="value"){var v=Kr(u.target,l);if(v===void 0)continue;f=v}else typeof d=="string"?f=d:f=null;var p=i.get(u.target);p||(p={id:Y(u.target),attributes:{}},r.push(p),i.set(u.target,p)),p.attributes[u.attributeName]=f}}return r}function of(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 ni(t,e){He(t)&&e(t.shadowRoot),ga(t,function(r){return ni(r,e)})}function sf(t,e){return W(t,window,[_.FOCUS,_.BLUR],function(){e({has_focus:document.hasFocus()})}).stop}function uf(){var t=new WeakMap,e=1;return{getIdForEvent:function(r){return t.has(r)||t.set(r,e++),t.get(r)}}}function cf(t,e){var r=uf(),n=ri(e.mutationCb,e.configuration,e.shadowRootsController,document),a=Hd(t,e.mousemoveCb),i=Kd(t,e.mouseInteractionCb,r),o=Yd(t,e.scrollCb,e.configuration.defaultPrivacyLevel,e.elementsScrollPositions),s=Xd(t,e.viewportResizeCb),u=ei(t,e.inputCb),c=qd(t,e.mediaInteractionCb,e.configuration.defaultPrivacyLevel),l=Wd(e.styleSheetCb),d=sf(t,e.focusCb),f=Jd(t,e.visualViewportResizeCb),v=jd(e.lifeCycle,e.frustrationCb,r);return{flush:function(){n.flush()},stop:function(){n.stop(),a(),i(),o(),s(),u(),c(),l(),d(),f(),v()}}}function lf(){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 df=function(t,e){var r=e.mutationCb,n=e.inputCb,a=new Map,i={addShadowRoot:function(o){var s=ri(r,t,i,o),u=s.stop,c=s.flush,l=ei(t,n,o);a.set(o,{flush:c,stop:function(){u(),l()}})},removeShadowRoot:function(o){var s=a.get(o);s&&(s.stop(),a.delete(o))},stop:function(){a.forEach(function(o){var s=o.stop;return s()})},flush:function(){a.forEach(function(o){var s=o.flush;return s()})}};return i};function ff(t){var e=t.emit,r=t.configuration;if(!e)throw new Error("emit function is required");var n=lf(),a=function(f){e(Et(vt.Mutation,f))},i=function(f){return e(Et(vt.Input,f))},o=df(r,{mutationCb:a,inputCb:i}),s=function(f,v){f===void 0&&(f=F()),v===void 0&&(v={status:0,elementsScrollPositions:n,shadowRootsController:o});var p=Ye(),h=p.width,m=p.height;e({data:{height:m,href:window.location.href,width:h},type:it.Meta,timestamp:f}),e({data:{has_focus:document.hasFocus()},type:it.Focus,timestamp:f}),e({data:{node:Fd(document,r,v),initialOffset:{left:Ba(),top:Hr()}},type:it.FullSnapshot,timestamp:f}),window.visualViewport&&e({data:Qa(window.visualViewport),type:it.VisualViewport,timestamp:f})};s();var u=cf(r,{lifeCycle:t.lifeCycle,configuration:r,elementsScrollPositions:n,inputCb:i,mediaInteractionCb:function(f){return e(Et(vt.MediaInteraction,f))},mouseInteractionCb:function(f){return e(f)},mousemoveCb:function(f,v){return e(Et(v,{positions:f}))},mutationCb:a,scrollCb:function(f){return e(Et(vt.Scroll,f))},styleSheetCb:function(f){return e(Et(vt.StyleSheetRule,f))},viewportResizeCb:function(f){return e(Et(vt.ViewportResize,f))},frustrationCb:function(f){return e(f)},focusCb:function(f){return e({data:f,type:it.Focus,timestamp:F()})},visualViewportResizeCb:function(f){e({data:f,type:it.VisualViewport,timestamp:F()})},shadowRootsController:o}),c=u.stop,l=u.flush;function d(){o.flush(),l()}return{stop:function(){o.stop(),c()},takeSubsequentFullSnapshot:function(f){d(),s(f,{shadowRootsController:o,status:1,elementsScrollPositions:n})},flushMutations:d,shadowRootsController:o}}function vf(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 a=C({raw_segment_size:r,compressed_segment_size:t.byteLength},e),i=JSON.stringify(a);return n.append("event",new Blob([i],{type:"application/json"})),{data:n,bytesCount:t.byteLength}}var pf=10,V;function hf(t){return We(t).segments_count}function _f(t){We(t).segments_count+=1}function mf(t){We(t).records_count+=1}function gf(t,e){We(t).segments_total_raw_size+=e}function bf(t){return V==null?void 0:V.get(t)}function We(t){V||(V=new Map);var e;return V.has(t)?e=V.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},V.set(t,e),V.size>pf&&Sf()),e}function Sf(){if(V)if(V.keys)V.delete(V.keys().next().value);else{var t=!0;V.forEach(function(e,r){t&&(V.delete(r),t=!1)})}}var yf=function(){function t(e,r,n){this.encoder=e;var a=r.view.id;this.metadata=C({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:hf(a),source:"browser"},r),_f(a)}return t.prototype.addRecord=function(e,r){var n;this.metadata.start=Math.min(this.metadata.start,e.timestamp),this.metadata.end=Math.max(this.metadata.end,e.timestamp),this.metadata.records_count+=1,(n=this.metadata).has_full_snapshot||(n.has_full_snapshot=e.type===it.FullSnapshot),xr("record",{record:e,segment:this.metadata}),mf(this.metadata.view.id);var a=this.metadata.records_count===1?'{"records":[':",";this.encoder.write(a+JSON.stringify(e),r)},t.prototype.flush=function(e){var r=this;if(this.metadata.records_count===0)throw new Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),`
|
|
5
|
-
`),function(){gf(r.metadata.view.id,r.encoder.rawBytesCount),e(r.metadata)}),this.encoder.reset()},t}(),Ef=30*K,ai=6e4;function wf(t,e,r,n,a,i){return Tf(t,function(){return Cf(e.applicationId,r,n)},a,i)}function Tf(t,e,r,n){var a={status:0,nextSegmentCreationReason:"init"},i=t.subscribe(2,function(){s("view_change")}).unsubscribe,o=t.subscribe(9,function(u){s(u.reason)}).unsubscribe;function s(u){a.status===1&&(a.segment.flush(function(c){var l=vf(n.encodedBytes,c,n.rawBytesCount);sa(u)?r.sendOnExit(l):r.send(l)}),ot(a.expirationTimeoutId)),u!=="stop"?a={status:0,nextSegmentCreationReason:u}:a={status:2}}return{addRecord:function(u){if(a.status!==2){if(a.status===0){var c=e();if(!c)return;a={status:1,segment:new yf(n,c,a.nextSegmentCreationReason),expirationTimeoutId:H(function(){s("segment_duration_limit")},Ef)}}var l=a.segment;l.addRecord(u,function(){a.status===1&&a.segment===l&&n.encodedBytesCount>ai&&s("segment_bytes_limit")})}},stop:function(){s("stop"),i(),o()}}}function Cf(t,e,r){var n=e.findTrackedSession(),a=r.findView();if(!(!n||!a))return{application:{id:t},session:{id:n.id},view:{id:a.id}}}function If(t,e,r,n,a,i){var o=function(y){t.notify(12,{error:y}),Dt("Error reported to customer",{"error.message":y.message})},s=i||oa(e,e.sessionReplayEndpointBuilder,ai,o),u=wf(t,e,r,n,s,a),c=u.addRecord,l=u.stop,d=ff({emit:c,configuration:e,lifeCycle:t}),f=d.stop,v=d.takeSubsequentFullSnapshot,p=d.flushMutations,h=t.subscribe(4,function(){p(),c({timestamp:F(),type:it.ViewEnd})}).unsubscribe,m=t.subscribe(2,function(y){v(y.startClocks.timeStamp)}).unsubscribe;return{stop:function(){h(),m(),f(),l()}}}function ii(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function Af(t,e,r,n){var a=e.findTrackedSession(),i=Rf(a,n),o=r.findView();return td(t,{viewContext:o,errorType:i,session:a})}function Rf(t,e){if(!ii())return"browser-not-supported";if(!t)return"rum-not-tracked";if(!t.sessionReplayAllowed)return"incorrect-session-plan";if(!e)return"replay-not-started"}function Of(t,e,r){var n=0,a=[],i,o=0,s=[],u=P(t,e,"message",function(c){var l=c.data;if(!(l.type!=="wrote"||l.streamId!==r)){var d=s.shift();d&&d.id===l.id?(l.id===0?(n=l.additionalBytesCount,a=[l.result]):(n+=l.additionalBytesCount,a.push(l.result)),i=l.trailer,d.callback()):(u(),Dt("Worker responses received out of order."))}}).stop;return{get encodedBytes(){return a.length?mi(a.concat(i)):new Uint8Array(0)},get encodedBytesCount(){return a.length?a.reduce(function(c,l){return c+l.length},0)+i.length:0},get rawBytesCount(){return n},write:function(c,l){e.postMessage({action:"write",id:o,data:c,streamId:r}),s.push({id:o,callback:l}),o+=1},reset:function(){e.postMessage({action:"reset",streamId:r}),o=0},stop:function(){u()}}}var xf=10*K;function oi(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]),_=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]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=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},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=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},U=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},S=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]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,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):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;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--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(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++,R(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(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));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;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(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)},D=function(t,e,n,r){var i,s,_=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)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[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?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(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*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;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(E(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,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!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,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_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)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,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|0},H=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}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={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"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=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))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=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-ct)){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,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),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=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(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<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(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=yt(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=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||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=X(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=yt(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&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(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=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(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 Lt=[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(Zt(t),0===t.lookahead&&e===q)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,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){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=ut,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),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(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),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(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 Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[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},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(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)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||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=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)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+ft;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=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(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=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=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},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};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 Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.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?Pt:Mt,"[object ArrayBuffer]"===Ht.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===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;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},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(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,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.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.1.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,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,_=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++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;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,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var M={status:0};function Nf(t,e,r,n){switch(n===void 0&&(n=oi),M.status===0&&kf(t,e,n),M.status){case 1:return M.initializationFailureCallbacks.push(r),M.worker;case 3:return M.worker}}function Rn(){return M.status}function kf(t,e,r){r===void 0&&(r=oi);try{var n=r(t),a=P(t,n,"error",function(s){lr(t,e,s)}).stop,i=P(t,n,"message",function(s){var u=s.data;u.type==="errored"?lr(t,e,u.error,u.streamId):u.type==="initialized"&&Mf(u.version)}).stop;n.postMessage({action:"init"}),H(function(){return Lf(e)},xf);var o=function(){a(),i()};M={status:1,worker:n,stop:o,initializationFailureCallbacks:[]}}catch(s){lr(t,e,s)}}function Lf(t){M.status===1&&(O.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),M.initializationFailureCallbacks.forEach(function(e){return e()}),M={status:2})}function Mf(t){M.status===1&&(M={status:3,worker:M.worker,stop:M.stop,version:t})}function lr(t,e,r,n){if(M.status===1||M.status===0){if(O.error("".concat(e," failed to start: an error occurred while creating the Worker:"),r),r instanceof Event||r instanceof Error&&Uf(r.message)){var a=void 0;t.workerUrl?a="Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):a="Please make sure CSP is correctly configured.",O.error("".concat(a," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else Ue(r);M.status===1&&M.initializationFailureCallbacks.forEach(function(i){return i()}),M={status:2}}else Ue(r,{worker_version:M.status===3&&M.version,stream_id:n})}function Uf(t){return _t(t,"Content Security Policy")||_t(t,"requires 'TrustedScriptURL'")}function Pf(t,e){if(qt()||!ii())return{start:N,stop:N,getReplayStats:function(){},onRumStart:N,isRecording:function(){return!1},getSessionReplayLink:function(){}};var r={status:1},n=function(){r={status:1}},a=function(){r={status:0}};return{start:function(){return n()},stop:function(){return a()},getSessionReplayLink:function(i,o,s){return Af(i,o,s,r.status!==0)},onRumStart:function(i,o,s,u){o.startSessionReplayRecordingManually&&(r={status:0}),i.subscribe(7,function(){(r.status===2||r.status===3)&&(a(),r={status:1})}),i.subscribe(8,function(){r.status===1&&n()}),n=function(){var c=s.findTrackedSession();if(!c||!c.sessionReplayAllowed){r={status:1};return}r.status===2||r.status===3||(r={status:2},Ur(o,"interactive",function(){if(r.status===2){var l=Nf(o,"Datadog Session Replay",function(){a()},e);if(!l){r={status:0};return}var d=t(i,o,s,u,Of(o,l,1)).stop;r={status:3,stopRecording:d}}}))},a=function(){r.status!==0&&(r.status===3&&r.stopRecording(),r={status:0})},r.status===1&&n()},isRecording:function(){return Rn()===3&&r.status===3},getReplayStats:function(i){return Rn()===3?bf(i):void 0}}}var Df=Pf(If),si=du(Jl,Df);Ko(It(),"DD_RUM",si);const Ff=()=>window.location.hostname.toLocaleLowerCase().replace(/[^.a-z]/,""),Bf=()=>"2.12.424".toLocaleLowerCase().replace(/[^0-9a-z.]/,""),zf=()=>si.init({applicationId:"cb2e3b66-3ab8-404f-bf6f-f988a2c063c4",clientToken:"pub457932dc74411c968aec6f5d9f0ba68e",site:"datadoghq.com",service:"apollo-benefits",env:`${Ff()}`,version:`${Bf()}`,sessionSampleRate:100,sessionReplaySampleRate:0,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input"});export{zf as i};
|
|
5
|
+
`),function(){gf(r.metadata.view.id,r.encoder.rawBytesCount),e(r.metadata)}),this.encoder.reset()},t}(),Ef=30*K,ai=6e4;function wf(t,e,r,n,a,i){return Tf(t,function(){return Cf(e.applicationId,r,n)},a,i)}function Tf(t,e,r,n){var a={status:0,nextSegmentCreationReason:"init"},i=t.subscribe(2,function(){s("view_change")}).unsubscribe,o=t.subscribe(9,function(u){s(u.reason)}).unsubscribe;function s(u){a.status===1&&(a.segment.flush(function(c){var l=vf(n.encodedBytes,c,n.rawBytesCount);sa(u)?r.sendOnExit(l):r.send(l)}),ot(a.expirationTimeoutId)),u!=="stop"?a={status:0,nextSegmentCreationReason:u}:a={status:2}}return{addRecord:function(u){if(a.status!==2){if(a.status===0){var c=e();if(!c)return;a={status:1,segment:new yf(n,c,a.nextSegmentCreationReason),expirationTimeoutId:H(function(){s("segment_duration_limit")},Ef)}}var l=a.segment;l.addRecord(u,function(){a.status===1&&a.segment===l&&n.encodedBytesCount>ai&&s("segment_bytes_limit")})}},stop:function(){s("stop"),i(),o()}}}function Cf(t,e,r){var n=e.findTrackedSession(),a=r.findView();if(!(!n||!a))return{application:{id:t},session:{id:n.id},view:{id:a.id}}}function If(t,e,r,n,a,i){var o=function(y){t.notify(12,{error:y}),Dt("Error reported to customer",{"error.message":y.message})},s=i||oa(e,e.sessionReplayEndpointBuilder,ai,o),u=wf(t,e,r,n,s,a),c=u.addRecord,l=u.stop,d=ff({emit:c,configuration:e,lifeCycle:t}),f=d.stop,v=d.takeSubsequentFullSnapshot,p=d.flushMutations,h=t.subscribe(4,function(){p(),c({timestamp:F(),type:it.ViewEnd})}).unsubscribe,m=t.subscribe(2,function(y){v(y.startClocks.timeStamp)}).unsubscribe;return{stop:function(){h(),m(),f(),l()}}}function ii(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function Af(t,e,r,n){var a=e.findTrackedSession(),i=Rf(a,n),o=r.findView();return td(t,{viewContext:o,errorType:i,session:a})}function Rf(t,e){if(!ii())return"browser-not-supported";if(!t)return"rum-not-tracked";if(!t.sessionReplayAllowed)return"incorrect-session-plan";if(!e)return"replay-not-started"}function Of(t,e,r){var n=0,a=[],i,o=0,s=[],u=P(t,e,"message",function(c){var l=c.data;if(!(l.type!=="wrote"||l.streamId!==r)){var d=s.shift();d&&d.id===l.id?(l.id===0?(n=l.additionalBytesCount,a=[l.result]):(n+=l.additionalBytesCount,a.push(l.result)),i=l.trailer,d.callback()):(u(),Dt("Worker responses received out of order."))}}).stop;return{get encodedBytes(){return a.length?mi(a.concat(i)):new Uint8Array(0)},get encodedBytesCount(){return a.length?a.reduce(function(c,l){return c+l.length},0)+i.length:0},get rawBytesCount(){return n},write:function(c,l){e.postMessage({action:"write",id:o,data:c,streamId:r}),s.push({id:o,callback:l}),o+=1},reset:function(){e.postMessage({action:"reset",streamId:r}),o=0},stop:function(){u()}}}var xf=10*K;function oi(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]),_=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]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=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},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=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},U=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},S=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]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,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):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;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--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(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++,R(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(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));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;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(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)},D=function(t,e,n,r){var i,s,_=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)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[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?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(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*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;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(E(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,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!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,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_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)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,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|0},H=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}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={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"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=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))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=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-ct)){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,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),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=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(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<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(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=yt(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=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||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=X(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=yt(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&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(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=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(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 Lt=[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(Zt(t),0===t.lookahead&&e===q)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,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){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=ut,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),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(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),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(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 Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[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},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(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)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||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=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)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+ft;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=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(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=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=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},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};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 Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.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?Pt:Mt,"[object ArrayBuffer]"===Ht.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===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;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},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(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,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.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.1.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,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,_=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++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;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,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var M={status:0};function Nf(t,e,r,n){switch(n===void 0&&(n=oi),M.status===0&&kf(t,e,n),M.status){case 1:return M.initializationFailureCallbacks.push(r),M.worker;case 3:return M.worker}}function Rn(){return M.status}function kf(t,e,r){r===void 0&&(r=oi);try{var n=r(t),a=P(t,n,"error",function(s){lr(t,e,s)}).stop,i=P(t,n,"message",function(s){var u=s.data;u.type==="errored"?lr(t,e,u.error,u.streamId):u.type==="initialized"&&Mf(u.version)}).stop;n.postMessage({action:"init"}),H(function(){return Lf(e)},xf);var o=function(){a(),i()};M={status:1,worker:n,stop:o,initializationFailureCallbacks:[]}}catch(s){lr(t,e,s)}}function Lf(t){M.status===1&&(O.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),M.initializationFailureCallbacks.forEach(function(e){return e()}),M={status:2})}function Mf(t){M.status===1&&(M={status:3,worker:M.worker,stop:M.stop,version:t})}function lr(t,e,r,n){if(M.status===1||M.status===0){if(O.error("".concat(e," failed to start: an error occurred while creating the Worker:"),r),r instanceof Event||r instanceof Error&&Uf(r.message)){var a=void 0;t.workerUrl?a="Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):a="Please make sure CSP is correctly configured.",O.error("".concat(a," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else Ue(r);M.status===1&&M.initializationFailureCallbacks.forEach(function(i){return i()}),M={status:2}}else Ue(r,{worker_version:M.status===3&&M.version,stream_id:n})}function Uf(t){return _t(t,"Content Security Policy")||_t(t,"requires 'TrustedScriptURL'")}function Pf(t,e){if(qt()||!ii())return{start:N,stop:N,getReplayStats:function(){},onRumStart:N,isRecording:function(){return!1},getSessionReplayLink:function(){}};var r={status:1},n=function(){r={status:1}},a=function(){r={status:0}};return{start:function(){return n()},stop:function(){return a()},getSessionReplayLink:function(i,o,s){return Af(i,o,s,r.status!==0)},onRumStart:function(i,o,s,u){o.startSessionReplayRecordingManually&&(r={status:0}),i.subscribe(7,function(){(r.status===2||r.status===3)&&(a(),r={status:1})}),i.subscribe(8,function(){r.status===1&&n()}),n=function(){var c=s.findTrackedSession();if(!c||!c.sessionReplayAllowed){r={status:1};return}r.status===2||r.status===3||(r={status:2},Ur(o,"interactive",function(){if(r.status===2){var l=Nf(o,"Datadog Session Replay",function(){a()},e);if(!l){r={status:0};return}var d=t(i,o,s,u,Of(o,l,1)).stop;r={status:3,stopRecording:d}}}))},a=function(){r.status!==0&&(r.status===3&&r.stopRecording(),r={status:0})},r.status===1&&n()},isRecording:function(){return Rn()===3&&r.status===3},getReplayStats:function(i){return Rn()===3?bf(i):void 0}}}var Df=Pf(If),si=du(Jl,Df);Ko(It(),"DD_RUM",si);const Ff=()=>window.location.hostname.toLocaleLowerCase().replace(/[^.a-z]/,""),Bf=()=>"2.12.426".toLocaleLowerCase().replace(/[^0-9a-z.]/,""),zf=()=>si.init({applicationId:"cb2e3b66-3ab8-404f-bf6f-f988a2c063c4",clientToken:"pub457932dc74411c968aec6f5d9f0ba68e",site:"datadoghq.com",service:"apollo-benefits",env:`${Ff()}`,version:`${Bf()}`,sessionSampleRate:100,sessionReplaySampleRate:0,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input"});export{zf as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var es=Object.defineProperty;var ts=(t,e,r)=>e in t?es(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var O=(t,e,r)=>(ts(t,typeof e!="symbol"?e+"":e,r),r);import{r as s,aA as rs,aB as ns,j as se,aC as Ur,p as M,k as is,G as as,q as Oi,h as X,l as A,T as R,F as At,y as ss,aD as _i,S as ls,v as zr,x as Wr,B as os,al as cs,J as xe,Q as ds,aE as Pi,af as Tt,u as j,H as ke,C as Hr,N as B,w as Yr,aF as Mn,aG as us,aH as fs,a8 as hs,aI as Ii,aJ as nt,aK as $i,a9 as Li,z as Vi,I as Te,aL as ms,A as gs,aM as On,ae as ue,aN as ps,aO as ae,aP as Dr,aQ as ys,aR as vs,D as Ri,aS as bs,ab as ji,ac as it,ad as Ae,s as Bi,aT as Ui,aU as zi,W as bt,X as ws,R as xs,aV as ks,aW as Es,aX as Ds,ap as Fs,aq as Ns,ar as wt}from"./vendor-184a22d2.js";import{B as at,u as Ss,U as Cs,M as Kr,L as gt,g as Wi,a as pt,w as Ee,b as qr,c as $,d as Hi,e as st,f as As,P as Ut,h as Yi,i as Ki,j as _n,s as Pn,p as In,D as Ts,k as qi,l as $n,m as T,n as Ms,o as Os,I as cr,q as dr,r as Ln,t as _s,v as Gi,x as Mt,y as Ps,H as Is,z as $s,A as Ls}from"./index-
|
|
1
|
+
var es=Object.defineProperty;var ts=(t,e,r)=>e in t?es(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var O=(t,e,r)=>(ts(t,typeof e!="symbol"?e+"":e,r),r);import{r as s,aA as rs,aB as ns,j as se,aC as Ur,p as M,k as is,G as as,q as Oi,h as X,l as A,T as R,F as At,y as ss,aD as _i,S as ls,v as zr,x as Wr,B as os,al as cs,J as xe,Q as ds,aE as Pi,af as Tt,u as j,H as ke,C as Hr,N as B,w as Yr,aF as Mn,aG as us,aH as fs,a8 as hs,aI as Ii,aJ as nt,aK as $i,a9 as Li,z as Vi,I as Te,aL as ms,A as gs,aM as On,ae as ue,aN as ps,aO as ae,aP as Dr,aQ as ys,aR as vs,D as Ri,aS as bs,ab as ji,ac as it,ad as Ae,s as Bi,aT as Ui,aU as zi,W as bt,X as ws,R as xs,aV as ks,aW as Es,aX as Ds,ap as Fs,aq as Ns,ar as wt}from"./vendor-184a22d2.js";import{B as at,u as Ss,U as Cs,M as Kr,L as gt,g as Wi,a as pt,w as Ee,b as qr,c as $,d as Hi,e as st,f as As,P as Ut,h as Yi,i as Ki,j as _n,s as Pn,p as In,D as Ts,k as qi,l as $n,m as T,n as Ms,o as Os,I as cr,q as dr,r as Ln,t as _s,v as Gi,x as Mt,y as Ps,H as Is,z as $s,A as Ls}from"./index-e51f367a.js";import{g as Gr,d as Vn,t as Xi,e as Rn,f as Vs,h as Ot,m as Ji,j as Rs,k as js,s as jn}from"./lodash-5d893f8c.js";import{m as Ve,L as Xr}from"./framer-motion-d04c7e95.js";import{p as xt,i as ur,b as Bn}from"./date-fns-9238277e.js";import"./oidc-client-6f6e47c2.js";import"./datadog-7bedfe3b.js";const zt=t=>s("div",{className:"lg:flex lg:items-center lg:justify-between",children:[s("div",{className:"flex-1 min-w-0",children:s("div",{className:"relative",children:[s("h3",{className:"text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl",children:t.title}),s("p",{className:"mt-3 text-lg text-gray-500",children:t.subTitle})]})}),t.buttonTitle&&s("div",{className:"mt-5 flex lg:mt-0 lg:ml-4 self-end",children:s("span",{children:s("button",{type:"button",disabled:t.isLoading,className:"inline-flex items-center px-4 py-2 border border-transparent disabled:opacity-50 rounded-md shadow-sm text-sm font-medium text-white bg-gray-600 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500",onClick:t.handleButtonClick,children:[s(rs,{className:"-ml-1 mr-2 h-5 w-5","aria-hidden":"true"}),t.buttonTitle]})})})]});var Bs=function(e){return Us(e)&&!zs(e)};function Us(t){return!!t&&typeof t=="object"}function zs(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Ys(t)}var Ws=typeof Symbol=="function"&&Symbol.for,Hs=Ws?Symbol.for("react.element"):60103;function Ys(t){return t.$$typeof===Hs}function Ks(t){return Array.isArray(t)?[]:{}}function _t(t,e){return e.clone!==!1&&e.isMergeableObject(t)?dt(Ks(t),t,e):t}function qs(t,e,r){return t.concat(e).map(function(n){return _t(n,r)})}function Gs(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach(function(i){n[i]=_t(t[i],r)}),Object.keys(e).forEach(function(i){!r.isMergeableObject(e[i])||!t[i]?n[i]=_t(e[i],r):n[i]=dt(t[i],e[i],r)}),n}function dt(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||qs,r.isMergeableObject=r.isMergeableObject||Bs;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):Gs(t,e,r):_t(e,r)}dt.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return dt(n,i,r)},{})};var Fr=dt,Un=Array.isArray,zn=Object.keys,Xs=Object.prototype.hasOwnProperty,Js=typeof Element<"u";function Nr(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Un(t),n=Un(e),i,a,l;if(r&&n){if(a=t.length,a!=e.length)return!1;for(i=a;i--!==0;)if(!Nr(t[i],e[i]))return!1;return!0}if(r!=n)return!1;var o=t instanceof Date,c=e instanceof Date;if(o!=c)return!1;if(o&&c)return t.getTime()==e.getTime();var d=t instanceof RegExp,f=e instanceof RegExp;if(d!=f)return!1;if(d&&f)return t.toString()==e.toString();var h=zn(t);if(a=h.length,a!==zn(e).length)return!1;for(i=a;i--!==0;)if(!Xs.call(e,h[i]))return!1;if(Js&&t instanceof Element&&e instanceof Element)return t===e;for(i=a;i--!==0;)if(l=h[i],!(l==="_owner"&&t.$$typeof)&&!Nr(t[l],e[l]))return!1;return!0}return t!==t&&e!==e}var Qs=function(e,r){try{return Nr(e,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const ge=Gr(Qs);var Zs=!0;function Jr(t,e){if(!Zs){if(t)return;var r="Warning: "+e;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Qi={exports:{}},I={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 940px){.container{max-width:940px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-lg{font-size:1.125rem;line-height:1.7777778}.prose-lg :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.prose-lg :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.prose-lg :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.prose-lg :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.prose-lg :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.prose-lg :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.prose-lg :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;border-radius:.3125rem;padding:.2222222em .4444444em}.prose-lg :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-lg :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8666667em}.prose-lg :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.875em}.prose-lg :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.prose-lg :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;margin-bottom:.6666667em}.prose-lg :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(.prose-lg>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose-lg>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;padding-left:1.5555556em}.prose-lg :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.prose-lg :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5}.prose-lg :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.prose-lg :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.75em}.prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.prose-lg :where(.prose-lg>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(.prose-lg>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-indigo{--tw-prose-links: #4f46e5;--tw-prose-invert-links: #6366f1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-\[5\%\]{right:-5%}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.order-2{order:2}.col-span-12{grid-column:span 12 / span 12}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.m-auto{margin:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-auto{margin-top:auto;margin-bottom:auto}.-mb-px{margin-bottom:-1px}.-ml-1{margin-left:-.25rem}.-ml-px{margin-left:-1px}.-mr-12{margin-right:-3rem}.-mr-2{margin-right:-.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-6{margin-right:1.5rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-full{height:100%}.h-screen{height:100vh}.min-h-\[80vh\]{min-height:80vh}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-160{width:40rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-96{width:24rem}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-7xl{max-width:80rem}.max-w-\[90rem\]{max-width:90rem}.max-w-lg{max-width:32rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.content-end{align-content:flex-end}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-y-4{row-gap:1rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.place-self-center{place-self:center}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(46 102 247 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-40{--tw-bg-opacity: .4}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.bg-\[linear-gradient\(0deg\,_\#2E66F7_0\%\,_\#0005D2_100\%\)\]{background-image:linear-gradient(0deg,#2E66F7 0%,#0005D2 100%)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-black{--tw-gradient-from: #000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.bg-cover{background-size:cover}.bg-center{background-position:center}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-bottom{-o-object-position:bottom;object-position:bottom}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-9{padding-bottom:2.25rem}.pl-10{padding-left:2.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-9{padding-left:2.25rem}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-10{line-height:2.5rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-primary{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.ring-offset-2{--tw-ring-offset-width: 2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[250px\]{--tw-blur: blur(250px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html{-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar{display:none}.hide-scrollbar::-webkit-scrollbar{display:none}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.interVarCv11{font-feature-settings:"cv11"}.pipe:before{content:"";position:absolute;height:.75rem;top:.275rem;border-left:1px solid #D1D5DB}.pipe-white:before{border-left:1px solid #FFFFFF}.pipe-medium:before{top:.375rem}.datepicker-cell.range-start.range-end{border-radius:.5rem}.first-letter\:overflow-hidden:first-letter{overflow:hidden}.focus-within\:z-10:focus-within{z-index:10}.focus-within\:border-primary:focus-within{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus-within\:bg-yellow-100:focus-within{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-25:hover{--tw-bg-opacity: .25}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.hover\:text-yellow-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:ring-primary:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:ring-offset-2:hover{--tw-ring-offset-width: 2px}.focus\:z-10:focus{z-index:10}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-primary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.focus\:ring-white:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:mt-4{margin-top:1rem}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-10{height:2.5rem}.sm\:h-screen{height:100vh}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.sm\:gap-y-10{row-gap:2.5rem}.sm\:space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:overflow-hidden{overflow:hidden}.sm\:rounded-lg{border-radius:.5rem}.sm\:rounded-md{border-radius:.375rem}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:relative{position:relative}.md\:-bottom-0{bottom:-0px}.md\:col-span-2{grid-column:span 2 / span 2}.md\:col-span-4{grid-column:span 4 / span 4}.md\:mb-10{margin-bottom:2.5rem}.md\:mb-16{margin-bottom:4rem}.md\:mb-2{margin-bottom:.5rem}.md\:mb-auto{margin-bottom:auto}.md\:ml-0{margin-left:0}.md\:ml-4{margin-left:1rem}.md\:ml-6{margin-left:1.5rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:mt-auto{margin-top:auto}.md\:block{display:block}.md\:inline-block{display:inline-block}.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:hidden{display:none}.md\:h-16{height:4rem}.md\:h-48{height:12rem}.md\:h-\[40rem\]{height:40rem}.md\:h-auto{height:auto}.md\:w-16{width:4rem}.md\:w-160{width:40rem}.md\:w-2\/4{width:50%}.md\:w-4\/5{width:80%}.md\:w-48{width:12rem}.md\:w-\[80rem\]{width:80rem}.md\:w-auto{width:auto}.md\:max-w-\[80rem\]{max-width:80rem}.md\:flex-shrink-0{flex-shrink:0}.md\:flex-grow-0{flex-grow:0}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:items-center{align-items:center}.md\:justify-items-center{justify-items:center}.md\:gap-10{gap:2.5rem}.md\:overflow-hidden{overflow:hidden}.md\:overflow-y-hidden{overflow-y:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-b{border-bottom-width:1px}.md\:border-none{border-style:none}.md\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.md\:p-0{padding:0}.md\:p-10{padding:2.5rem}.md\:p-4{padding:1rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-12{padding-top:3rem;padding-bottom:3rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pr-0{padding-right:0}.md\:pt-8{padding-top:2rem}.md\:text-center{text-align:center}.md\:align-middle{vertical-align:middle}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:font-extrabold{font-weight:800}.md\:leading-10{line-height:2.5rem}.md\:leading-6{line-height:1.5rem}.md\:leading-9{line-height:2.25rem}.md\:leading-loose{line-height:2}}@media (min-width: 1024px){.lg\:-right-\[3\%\]{right:-3%}.lg\:bottom-0{bottom:0}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:ml-4{margin-left:1rem}.lg\:mt-0{margin-top:0}.lg\:flex{display:flex}.lg\:w-1\/2{width:50%}.lg\:w-1\/5{width:20%}.lg\:w-4\/5{width:80%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:items-center{align-items:center}.lg\:justify-between{justify-content:space-between}.lg\:gap-16{gap:4rem}.lg\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.lg\:p-20{padding:5rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:leading-10{line-height:2.5rem}}@media (min-width: 1280px){.xl\:-bottom-10{bottom:-2.5rem}.xl\:right-0{right:0}.xl\:w-full{width:100%}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:gap-20{gap:5rem}.xl\:p-24{padding:6rem}.xl\:text-4xl{font-size:2.25rem;line-height:2.5rem}}.gradient-tile{position:relative;box-sizing:border-box;background-clip:padding-box;border:1px #E5E7EB solid;transition:border-color .3s ease}.gradient-tile:hover{border-color:transparent}.gradient-tile:hover:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:-.125rem;border-radius:inherit;background:linear-gradient(90deg,#8B4FFF 0%,#9453F3 14%,#AC5FD5 38%,#D372A4 69%,#FF876F 100%);transition:opacity .3s ease;opacity:1}.notfound{padding:0 5%;margin:100px 0}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 940px){.container{max-width:940px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-lg{font-size:1.125rem;line-height:1.7777778}.prose-lg :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.prose-lg :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.prose-lg :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.prose-lg :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.prose-lg :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.prose-lg :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.prose-lg :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;border-radius:.3125rem;padding:.2222222em .4444444em}.prose-lg :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-lg :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8666667em}.prose-lg :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.875em}.prose-lg :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.prose-lg :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;margin-bottom:.6666667em}.prose-lg :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(.prose-lg>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose-lg>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;padding-left:1.5555556em}.prose-lg :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.prose-lg :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5}.prose-lg :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.prose-lg :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.75em}.prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.prose-lg :where(.prose-lg>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(.prose-lg>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-indigo{--tw-prose-links: #4f46e5;--tw-prose-invert-links: #6366f1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-\[5\%\]{right:-5%}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.order-2{order:2}.col-span-12{grid-column:span 12 / span 12}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.m-auto{margin:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-auto{margin-top:auto;margin-bottom:auto}.-mb-px{margin-bottom:-1px}.-ml-1{margin-left:-.25rem}.-ml-px{margin-left:-1px}.-mr-12{margin-right:-3rem}.-mr-2{margin-right:-.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-6{margin-right:1.5rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-full{height:100%}.h-screen{height:100vh}.min-h-\[80vh\]{min-height:80vh}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-160{width:40rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-96{width:24rem}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-7xl{max-width:80rem}.max-w-\[90rem\]{max-width:90rem}.max-w-lg{max-width:32rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.content-end{align-content:flex-end}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-y-4{row-gap:1rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.place-self-center{place-self:center}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(46 102 247 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-40{--tw-bg-opacity: .4}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.bg-\[linear-gradient\(0deg\,_\#2E66F7_0\%\,_\#0005D2_100\%\)\]{background-image:linear-gradient(0deg,#2E66F7 0%,#0005D2 100%)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-black{--tw-gradient-from: #000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.bg-cover{background-size:cover}.bg-center{background-position:center}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-bottom{-o-object-position:bottom;object-position:bottom}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-9{padding-bottom:2.25rem}.pl-10{padding-left:2.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-9{padding-left:2.25rem}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-10{line-height:2.5rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-primary{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.ring-offset-2{--tw-ring-offset-width: 2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[250px\]{--tw-blur: blur(250px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html{-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar{display:none}.hide-scrollbar::-webkit-scrollbar{display:none}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.interVarCv11{font-feature-settings:"cv11"}.pipe:before{content:"";position:absolute;height:.75rem;top:.275rem;border-left:1px solid #D1D5DB}.pipe-white:before{border-left:1px solid #FFFFFF}.pipe-medium:before{top:.375rem}.datepicker-cell.range-start.range-end{border-radius:.5rem}.first-letter\:overflow-hidden:first-letter{overflow:hidden}.focus-within\:z-10:focus-within{z-index:10}.focus-within\:border-primary:focus-within{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus-within\:bg-yellow-100:focus-within{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-25:hover{--tw-bg-opacity: .25}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.hover\:text-yellow-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:ring-primary:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:ring-offset-2:hover{--tw-ring-offset-width: 2px}.focus\:z-10:focus{z-index:10}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-primary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.focus\:ring-white:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:mt-4{margin-top:1rem}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-10{height:2.5rem}.sm\:h-screen{height:100vh}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.sm\:gap-y-10{row-gap:2.5rem}.sm\:space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:overflow-hidden{overflow:hidden}.sm\:rounded-lg{border-radius:.5rem}.sm\:rounded-md{border-radius:.375rem}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:relative{position:relative}.md\:-bottom-0{bottom:-0px}.md\:col-span-2{grid-column:span 2 / span 2}.md\:col-span-4{grid-column:span 4 / span 4}.md\:mb-10{margin-bottom:2.5rem}.md\:mb-16{margin-bottom:4rem}.md\:mb-2{margin-bottom:.5rem}.md\:mb-auto{margin-bottom:auto}.md\:ml-0{margin-left:0}.md\:ml-4{margin-left:1rem}.md\:ml-6{margin-left:1.5rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:mt-auto{margin-top:auto}.md\:block{display:block}.md\:inline-block{display:inline-block}.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:hidden{display:none}.md\:h-16{height:4rem}.md\:h-48{height:12rem}.md\:h-\[40rem\]{height:40rem}.md\:h-auto{height:auto}.md\:max-h-screen{max-height:100vh}.md\:w-16{width:4rem}.md\:w-160{width:40rem}.md\:w-2\/4{width:50%}.md\:w-4\/5{width:80%}.md\:w-48{width:12rem}.md\:w-\[80rem\]{width:80rem}.md\:w-auto{width:auto}.md\:max-w-\[70rem\]{max-width:70rem}.md\:flex-shrink-0{flex-shrink:0}.md\:flex-grow-0{flex-grow:0}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:items-center{align-items:center}.md\:justify-items-center{justify-items:center}.md\:gap-10{gap:2.5rem}.md\:gap-8{gap:2rem}.md\:overflow-hidden{overflow:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-b{border-bottom-width:1px}.md\:border-none{border-style:none}.md\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.md\:p-0{padding:0}.md\:p-10{padding:2.5rem}.md\:p-4{padding:1rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-12{padding-top:3rem;padding-bottom:3rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pr-0{padding-right:0}.md\:pt-8{padding-top:2rem}.md\:text-center{text-align:center}.md\:align-middle{vertical-align:middle}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:font-extrabold{font-weight:800}.md\:leading-10{line-height:2.5rem}.md\:leading-6{line-height:1.5rem}.md\:leading-9{line-height:2.25rem}.md\:leading-loose{line-height:2}}@media (min-width: 1024px){.lg\:-right-\[3\%\]{right:-3%}.lg\:bottom-0{bottom:0}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:ml-4{margin-left:1rem}.lg\:mt-0{margin-top:0}.lg\:flex{display:flex}.lg\:w-1\/2{width:50%}.lg\:w-1\/5{width:20%}.lg\:w-4\/5{width:80%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:items-center{align-items:center}.lg\:justify-between{justify-content:space-between}.lg\:gap-14{gap:3.5rem}.lg\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.lg\:p-16{padding:4rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:leading-10{line-height:2.5rem}}@media (min-width: 1280px){.xl\:-bottom-10{bottom:-2.5rem}.xl\:right-0{right:0}.xl\:w-full{width:100%}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:gap-16{gap:4rem}.xl\:p-20{padding:5rem}.xl\:text-4xl{font-size:2.25rem;line-height:2.5rem}}.gradient-tile{position:relative;box-sizing:border-box;background-clip:padding-box;border:1px #E5E7EB solid;transition:border-color .3s ease}.gradient-tile:hover{border-color:transparent}.gradient-tile:hover:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:-.125rem;border-radius:inherit;background:linear-gradient(90deg,#8B4FFF 0%,#9453F3 14%,#AC5FD5 38%,#D372A4 69%,#FF876F 100%);transition:opacity .3s ease;opacity:1}.notfound{padding:0 5%;margin:100px 0}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var Xt=Object.defineProperty;var Zt=(a,t,r)=>t in a?Xt(a,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[t]=r;var c=(a,t,r)=>(Zt(a,typeof t!="symbol"?t+"":t,r),r);import{Q as xe,m as ea,s as ta,E as aa,n as ra,t as pt,o as _e,r as e,S as Ue,u,v as Z,x as ee,z as me,A as ve,B as gt,C as W,D as sa,H as he,I as v,J as U,K as L,O as _,L as na,l as m,p as d,M as ze,F as ft,N as o,P as Ne,X as bt,R as ia,U as Q,W as ne,w as te,Y as la,q as $e,T as We,Z as Oe,$ as ca,a0 as oa,a1 as da,a2 as ua,a3 as ma,h as pe,a4 as Ge,a5 as ha,a6 as pa,a7 as ga,a8 as Se,a9 as yt,aa as fa,ab as wt,ac as ie,ad as le,ae as qe,af as Qe,ag as ba,ah as x,ai as ae,aj as xt,ak as ya,al as wa,am as xa,j as va,an as ka,ao as Na,ap as vt,aq as kt,ar as M,as as Pa,at as Ca,au as Aa,av as Sa,aw as Ia,ax as Ta,ay as La,az as Ea}from"./vendor-184a22d2.js";import{O as re}from"./oidc-client-6f6e47c2.js";import{f as z,p as _a,a as Ye}from"./date-fns-9238277e.js";import{m as Ke}from"./framer-motion-d04c7e95.js";import{i as Ua}from"./datadog-7bedfe3b.js";import"./lodash-5d893f8c.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();xe.prototype.selectCached=function(a,t=r=>null){return this.selectHasCache().pipe(ea(0),ta(r=>r?aa:ra(a()).pipe(pt(t))))};class k{static setParameters(t,r){this._apiBaseUrl=t,this._jwt=r}static get instance(){return _e(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-APP-VERSION":"2.12.426"})}}c(k,"_apiBaseUrl"),c(k,"_jwt");class $a extends k{}class Nt extends k{}class K{static setParameters(t,r,n){this._apiBaseUrl=t,this._jwt=r,this._profileId=n}static get instance(){return _e(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-PROFILE-ID":this._profileId,"X-APP-VERSION":"2.12.426"})}}c(K,"_apiBaseUrl"),c(K,"_jwt"),c(K,"_profileId");const Oa=({size:a})=>e("svg",{className:`animate-spin h-${a??5} w-${a??5}`,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),ke=()=>e("div",{className:"flex justify-center items-center h-screen text-primary",children:[e(Oa,{size:5}),e("div",{className:"pl-3 text-xl font-light text-primary",children:"Loading..."})]}),Pt="/benefits/app/assets/logo-a34e9b4b.png",Ra=()=>e("div",{className:"flex flex-col justify-center items-center h-screen text-grey-900",children:[e("img",{className:"block h-8 w-auto",src:Pt,alt:"Flare Benefits"}),e("h1",{className:"mt-8",children:"You have been successfully logged out of Flare Benefits"})]});var Je,Xe;const ge=["money","mind","body","work","life"];var Ct=(a=>(a.WellbeingHub="wellbeing",a.FlareApp="flareMobileApp",a.SalaryPackagingCars="salaryPackagingCars",a))(Ct||{});const Ma=["default","pba"];function Ba(){return{user:u,config:u,navTab:"benefits",appView:"employee",redirectPath:u,mode:"default",shopifyUrl:u}}let Va=(Je=Z({name:"benefits-app",resettable:!0,producerFn:ee}),Je(Xe=class extends Ue{constructor(){super(Ba())}})||Xe);const $=new Va;class Fa extends xe{constructor(r){super(r);c(this,"signedInUser$",this.select(r=>r.user));c(this,"appConfig$",this.select(r=>r.config));c(this,"navPage$",this.select(r=>r.navTab));c(this,"appView$",this.select(r=>r.appView));c(this,"signedInUserRole$",this.select(r=>me.pipe(r.user,ve(()=>"user",n=>n.benefitsProfile.role))));this.store=r}}const V=new Fa($);function C(a,t){return gt(a,sa(()=>t))}function fe(a){return C(a,null)}function Ie(a,t="Option value is none."){if(W(a))throw new Error(t);return a.value}function Ze(a,t){return gt(a,ve(()=>t===null,r=>r===t))}const Da=()=>{const a=async()=>{const n=await _e(`${window.location.origin}/benefits/app/config.json`).get().json();$.update({config:he(n)})},t=()=>Ie(V.getValue().config);return{fetchConfigAsync:a,getConfig:t,getPublicBackendUrl:()=>t().apiBaseUrl.replace("backend","public")}},P=Da();function be(a,t){const r=new URLSearchParams(t);return v(r.get(a))}function Pe(a,t){const r=new URLSearchParams(t.replace(/^#+/,""));return v(r.get(a))}const Te=a=>{if(a!=null&&a.startsWith(P.getConfig().apiGatewayBaseUrl+"/benefits/app/#"))return a.split("#")[1]},ja=()=>{const a="redirectPath",t="mode",r=s=>{$.update({redirectPath:s})},n=s=>{$.update({mode:s})};return{extractRedirectPath:()=>{const s=be(a,window.location.search);U(s)&&r(s)},extractMode(){const s=be(t,window.location.search);U(s)&&Ma.includes(s.value)&&n(s.value)},redirectToPathIfExists(){const s=V.getValue().redirectPath;U(s)&&(r(u),L(s.value))}}},Le=ja();class At{constructor(t){c(this,"_value",u);this.factory=t}get value(){if(U(this._value))return this._value.value;const t=this.factory();return this._value=he(t),t}}var et,tt,N=(a=>(a[a.Unauthorized=0]="Unauthorized",a[a.SignInPending=1]="SignInPending",a[a.Authenticated=2]="Authenticated",a[a.SignOutPending=3]="SignOutPending",a[a.Error=4]="Error",a))(N||{});function Ha(){return{authStatus:0,jwt:u}}let za=(et=Z({name:"authentication",resettable:!0,producerFn:ee}),et(tt=class extends Ue{constructor(){super(Ha())}})||tt);const D=new za;var ce=(a=>(a.SignIn="callback",a.SignOut="logout",a.SilentRefresh="silent-refresh",a))(ce||{});class Wa{constructor(){c(this,"userManager");c(this,"tokenQueryParameter","token");c(this,"b2cJwtQueryParameter","b2cJwt");c(this,"profileIdQueryParameter","profileId");c(this,"getHostOidcUrl",()=>`${window.location.origin}/benefits/app/#/oidc`);this.userManager=new At(()=>{const t=new re.UserManager(this.userManagerSettings());return t.events.addAccessTokenExpired(()=>this.signOutRedirectAsync()),t.events.addUserLoaded(this.sessionUpdatedHandler),this.configureLogging(),t})}async refreshIfExpired(){const t=await this.userManager.value.getUser();t!=null&&t.expired&&this.userManager.value.signinSilent()}tokenExists(t){const r=be(this.tokenQueryParameter,t);return _.isSome(r)}b2cJwtExists(t){const r=Pe(this.b2cJwtQueryParameter,t);return _.isSome(r)}isOidcRoute(t){return t.includes("callback")||t.includes("logout")||t.includes("silent-refresh")}async initFromB2cJwt(t,r){const n=Ie(Pe(this.b2cJwtQueryParameter,r),`"${this.b2cJwtQueryParameter}" fragment is required`),s=Ie(Pe(this.profileIdQueryParameter,r),`"${this.profileIdQueryParameter}" fragment is required`);K.setParameters(P.getConfig().workplaceBackendUrl,n,s);const i=await K.instance.url("token").get().json();window.location.href=t+"?token="+i.token}async initFromToken(t,r){if(this.isOidcRoute(t))return;const n=be(this.tokenQueryParameter,r);if(_.isNone(n))throw D.update({authStatus:N.Error}),Error(`"${this.tokenQueryParameter}" URL query parameter is required`);await this.signInRedirectAsync(n)}signOutRedirectAsync(){return D.update({authStatus:N.SignOutPending}),this.userManager.value.signoutRedirect()}async signInRedirectCallbackAsync(){await this.userManager.value.signinRedirectCallback(window.location.href.replace("/oidc/callback?","")),D.update({authStatus:N.Authenticated})}async signOutRedirectCallbackAsync(){await this.userManager.value.signoutRedirectCallback(),na()}async silentRefreshCallbackAsync(){await this.userManager.value.signinSilentCallback()}async signOut(){return D.update({authStatus:N.Unauthorized,jwt:_.none})}async signInRedirectAsync(t){D.update({authStatus:N.SignInPending}),await this.userManager.value.signinRedirect({extraQueryParams:{irt:t.value}})}sessionUpdatedHandler(t){D.update({jwt:_.fromNullable(t.access_token)})}userManagerSettings(){return{authority:P.getConfig().oidcAuthority,client_id:"apollo-benefits-ui",redirect_uri:`${this.getHostOidcUrl()}/callback?`,response_type:"id_token token",scope:"openid",post_logout_redirect_uri:`${this.getHostOidcUrl()}/logout?`,silent_redirect_uri:`${this.getHostOidcUrl()}/silent-refresh?`,automaticSilentRenew:!0,accessTokenExpiringNotificationTime:10,filterProtocolClaims:!0,loadUserInfo:!0,clockSkew:2592e3}}configureLogging(){re.Log.logger=console,re.Log.level=re.Log.DEBUG}}const I=new Wa,Ga=({mode:a})=>{const[t,r]=m(!1);return d(()=>{(async()=>{switch(a){case ce.SignIn:await I.signInRedirectCallbackAsync(),window.location.hash="#",L("/"),Le.redirectToPathIfExists();break;case ce.SignOut:await I.signOutRedirectCallbackAsync(),r(!0);break;case ce.SilentRefresh:await I.silentRefreshCallbackAsync();break}})()},[]),t?e(Ra,{}):e(ke,{})},qa=({fragment:a})=>(d(()=>{(async()=>await I.initFromB2cJwt(window.location.pathname,a))()},[]),e(ke,{}));class Qa extends xe{constructor(r){super(r);c(this,"authState$",this.select());this.store=r}get isUnauthorized(){return this.getValue().authStatus===N.Unauthorized||this.getValue().authStatus===N.Error}get isAuthorized(){return this.getValue().authStatus===N.Authenticated}get jwt(){const r=this.getValue().jwt;return U(r)?r.value:""}}const St=new Qa(D),Ya="/benefits/app/assets/external_link-599a0aec.svg";class Ka{async getBenefitsAsync(){return k.instance.url("benefits").get().json()}async postDocumentAsync(t){return k.instance.url("document").addon(ze).formData(t).post().badRequest(r=>{throw new Error(r.message)}).json()}async postImageAsync(t){return k.instance.url("image").addon(ze).formData(t).post().badRequest(r=>{throw new Error(r.message)}).json()}async getShopifyUrl(){return k.instance.url("shopify-url").get().json()}}const It=new Ka;class Ja{async setShopifyUrl(){const t=await this.fetchShopifyUrl();$.update({shopifyUrl:t})}getShopifyUrl(){return V.getValue().shopifyUrl}async fetchShopifyUrl(){return v((await It.getShopifyUrl()).redirectUrl)}}const oe=new Ja;function O(...a){return a.filter(Boolean).join(" ")}const Xa=a=>`${a[0].toUpperCase()}${a.slice(1)}`,at=({user:{featureFlags:a}})=>{const[t,r]=m(u),n=ft(()=>{const s=new Map([["benefits","/"]]);return a.wellbeing&&s.set("wellbeing","/wellbeing-hub"),Array.from(s)},[]);return d(()=>{const s=[V.navPage$.subscribe(i=>{r(v(i))})];return()=>{s.map(i=>i.unsubscribe())}},[]),e("nav",{className:"-mb-px flex","aria-label":"Tabs",children:[n.map(([s,i])=>e("div",{onClick:async()=>{r(v(s)),L(i)},className:O(Ze(t,s)?"border-primary text-primary":"border-transparent text-gray-500","cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4 flex-grow md:flex-grow-0","py-4 text-center border-b-4 text-base leading-6 font-semibold cursor-pointer capitalize"),"aria-current":Ze(t,s)?"page":void 0,children:e("span",{children:s})},s)),e("div",{className:"border-transparent text-gray-500 cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4 flex-grow md:flex-grow-0 py-4 text-center border-b-4 text-base leading-6 font-semibold cursor-pointer capitalize",children:e("a",{className:"inline-flex",href:C(oe.getShopifyUrl(),"#"),target:"_blank",rel:"noreferrer",children:[e("span",{children:"discounts"})," ",e("img",{className:"ml-2",src:Ya})]})})]})},Za=()=>{const[a,t]=m("employee");return d(()=>{const r=[V.appView$.subscribe(t)];return()=>{r.map(n=>n.unsubscribe())}},[]),e("span",{className:"relative z-0 inline-flex shadow-sm rounded-md",children:[e("button",{type:"button",className:O(a==="admin"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","relative inline-flex items-center px-4 py-1 rounded-l-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{a!=="admin"&&L("/admin")},children:"Admin view"}),e("button",{type:"button",className:O(a==="employee"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","-ml-px relative inline-flex items-center px-4 py-1 rounded-r-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{a!=="employee"&&L("/")},children:"Employee view"})]})},er=[{name:"Admin view",href:"#/admin"},{name:"Employee view",href:"#/"}],Tt=()=>e("span",{className:"inline-block h-8 w-8 rounded-full overflow-hidden bg-white border",children:e("svg",{className:"h-full w-full text-gray-300",fill:"currentColor",viewBox:"0 0 24 24",children:e("path",{d:"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z"})})}),tr=({user:a})=>e(o,{children:e(Q,{as:"div",className:"z-30 relative inline-block text-left",children:({open:t})=>e(o,{children:[e("div",{children:e(Q.Button,{className:`max-w-xs bg-white flex items-center text-sm rounded-full hover:outline-none hover:ring-2 hover:ring-offset-2 hover:ring-primary ${t?"outline-none ring-2 ring-offset-2 ring-primary":""} `,children:e(Tt,{})})}),e(ne,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:e(Q.Items,{className:"absolute right-0 mt-2 w-56 divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:e("div",{className:"px-1 py-1 ",children:[e(Q.Item,{children:()=>e("div",{className:"mx-3 py-2",children:[e("div",{className:"text-base font-medium text-gray-800",children:a.basicProfile.firstName}),e("div",{className:"text-sm font-medium text-gray-500",children:a.basicProfile.email})]})}),e("div",{className:"border-t border-grey-900",children:e(Q.Item,{children:({active:r})=>e("button",{onClick:()=>I.signOutRedirectAsync(),className:`${r?"bg-secondary text-primary rounded-md":"text-gray-900 "} group flex w-full items-center mt-2 mb-1 px-3 py-2 text-sm font-medium`,children:"Logout"})})})]})})})]})})}),Re=a=>{const t=a.user;if(W(t))return e(o,{});const[r,n]=m(!1),s=t.value.benefitsProfile.role!=="user";return d(()=>{const i=[V.appView$.subscribe(l=>{n(l==="employee")})];return()=>{i.map(l=>l.unsubscribe())}},[]),e(o,{children:e(Ne,{as:"nav",className:"bg-gray-50 border-0 md:border-b md:border-gray-200",children:({open:i})=>e(o,{children:[e("div",{className:`mx-auto px-4 sm:px-6 lg:px-8 border-b border-gray-200 md:border-none ${s&&!r?"":"max-w-[90rem]"}`,children:e("div",{className:"flex justify-between h-16",children:[e("div",{className:"flex",children:e("div",{className:"flex-shrink-0 flex items-center",children:e("img",{className:"block h-8 w-auto",src:Pt,alt:"Flare Benefits"})})}),e("div",{className:"ml-10 flex flex-wrap flex-grow content-end",children:e("div",{className:"hidden sm:block",children:r&&e(at,{user:t.value})})}),e("div",{className:"flex flex-wrap content-center",children:e("div",{className:"hidden md:block",children:s&&e(Za,{})})}),e("div",{className:"hidden md:ml-6 md:flex md:items-center",children:e(tr,{user:t.value})}),e("div",{className:"-mr-2 flex items-center md:hidden",children:e(Ne.Button,{className:"bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",children:[e("span",{className:"sr-only",children:"Open main menu"}),i?e(bt,{className:"block h-6 w-6","aria-hidden":"true"}):e(ia,{className:"block h-6 w-6","aria-hidden":"true"})]})})]})}),e(Ne.Panel,{className:"md:hidden",children:e("div",{className:"pt-4 pb-3 border-b border-gray-200",children:[e("div",{className:"flex items-center px-4",children:[e("div",{className:"flex-shrink-0",children:e(Tt,{})}),e("div",{className:"ml-3",children:[e("div",{className:"text-base font-medium text-gray-800",children:t.value.basicProfile.firstName}),e("div",{className:"text-sm font-medium text-gray-500",children:t.value.basicProfile.email})]})]}),e("div",{className:"mt-3 space-y-1",children:[s&&e(o,{children:er.map(l=>e("a",{href:l.href,className:"block px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:l.name},l.name))}),e("a",{onClick:()=>I.signOutRedirectAsync(),className:"block cursor-pointer px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:"Logout"})]})]})}),r&&e("div",{className:"sm:hidden bg-white border-b border-gray-200",children:e(at,{user:t.value})})]})})})};class ar{async getUserProfile(){return await k.instance.url("users/self").get().json()}async getBasicProfileByEmail(t){const r=await k.instance.url(`users?email=${t}`).get().notFound(()=>null).json();return v(r)}}const rr=new ar;class sr{constructor(){c(this,"basicProfile");c(this,"benefitsProfile");c(this,"featureFlags")}static toDomain(t){return{basicProfile:t.basicProfile,benefitsProfile:t.benefitsProfile,featureFlags:t.featureFlags}}}const H=class H{static get profileId(){if(W(this._profileId))throw Error("ProfileId is missing.");return this._profileId.value}static set profileId(t){this._profileId=v(t)}static set accountId(t){this._accountId=v(t)}static get profileIdOrDefault(){return C(this._profileId,"")}static get accountIdOrDefault(){return C(this._accountId,"")}static get partnerIdOrDefault(){return C(this._partnerId,"")}extractProfileId(t){const r=v(la(t).sub);if(W(r))throw Error("profileId property is missing.");H.profileId=r.value}async loadSignedInUserProfileAsync(){const t=sr.toDomain(await rr.getUserProfile());H.accountId=t.basicProfile.accountId,$.update(r=>{r.user=v(t)})}};c(H,"_profileId",u),c(H,"_accountId",u),c(H,"_partnerId",u);let Ee=H;const q=te.createContext(u),Lt=te.createContext(!1),rt=new Ee,nr=()=>{const a=$e(q),t=ft(()=>fe(a),[a]),r=We(s=>{if(!t)return!1;const{featureFlags:i}=t;return i[s]},[t]),n=We(()=>t?t.featureFlags:{},[t]);return{getTreatment:r,getAllTreatments:n}};class ir{async postTrackEventAsync(t){return k.instance.url("benefits/track-event").post(t).res()}}const lr=new ir;class cr{async trackAppLoadedAsync(){return this.trackEventAsync("appLoaded")}async trackBenefitsOpenedAsync(){return this.trackEventAsync("benefitsOpened")}async trackAppOfferViewedAsync(){return this.trackEventAsync("appOfferViewed")}async trackAppOfferAcceptedAsync(){return this.trackEventAsync("appOfferAccepted")}async trackWellbeingOpenedAsync(){return this.trackEventAsync("wellbeingOpened")}async trackAdminOpenedAsync(){return this.trackEventAsync("adminOpened")}async trackMarketplaceOfferViewedAsync(t,r,n){const s={offer:t,experiment:r,treatment:n};return this.trackEventAsync({marketplaceOfferViewed:s})}async trackMarketplaceOfferAcceptedAsync(t,r,n){const s={offer:t,experiment:r,treatment:n};return this.trackEventAsync({marketplaceOfferAccepted:s})}async trackPerksListViewedAsync(t){const r={pillar:t};return this.trackEventAsync({perksListViewed:r})}async trackEntriesListViewedAsync(t){const r={pillar:t};return this.trackEventAsync({entriesListViewed:r})}async trackFeaturePerkViewedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,placement:"feature"};return this.trackEventAsync({perkViewed:n})}async trackExplorePerkViewedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,placement:"explore"};return this.trackEventAsync({perkViewed:n})}async trackDocumentClickedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,type:"document"};return this.trackEventAsync({attachmentOpened:n})}async trackPerkVisitedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title};return this.trackEventAsync({perkVisited:n})}async trackPerksListSearched(t){const r={query:t};return this.trackEventAsync({perksListSearched:r})}async trackRoleAssignedAsync(t){return this.trackEventAsync({roleAssigned:t})}async trackEntryViewed(t){return this.trackEventAsync({entryViewed:t})}async trackEntriesListSearchedAsync(t){const r={query:t};return this.trackEventAsync({entriesListSearched:r})}async trackEventAsync(t){try{await lr.postTrackEventAsync({event:t})}catch{return}}}const f=new cr,or=()=>{const a=()=>V.getValue().mode;return{isDefault:()=>a()==="default",isPba:()=>a()==="pba"}},Et=or(),dr="/benefits/app/assets/workplace_link_banner-63babe3b.png",_t=({bgImageUrl:a,className:t,children:r,excludeGradient:n})=>{const s=a?{backgroundImage:`url(${a})`}:{};return e("div",{className:O("relative w-full rounded-lg bg-cover bg-center",t??""),style:s,children:[!n&&e(o,{children:[e("div",{className:"absolute inset-0 rounded-lg bg-black bg-opacity-10"}),e("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-r from-black opacity-80"})]}),e("div",{className:"relative h-full rounded-lg overflow-hidden",children:r})]})},ur=()=>(d(()=>{f.trackAppOfferViewedAsync()},[]),e(o,{children:e("div",{className:"flex flex-col md:flex-row",children:e(_t,{excludeGradient:!0,className:"w-full bg-gray-50 text-gray-900 border-grey-100 border",children:e("div",{className:"md:flex md:flex-row w-full md:w-2/4 lg:w-4/5 xl:w-full pl-6 pr-8 md:pr-0 pt-0 md:pt-8",children:[e("div",{className:"flex flex-col pb-8 md:mr-8",children:[e("div",{className:"text-2xl leading-8 lg:text-3xl xl:text-4xl lg:leading-10 font-extrabold pt-4",children:"Workplace benefits in your pocket!"}),e("div",{className:"text-md md:text-lg leading-6 mt-2 font-medium max-w-lg",children:"Download the Flare app for easy access to your workplace benefits and much more."}),e("div",{className:"pt-5",children:e("a",{className:"uiid-browse-discounts-button",target:"_blank",children:e("button",{type:"button",className:"block w-full mx-auto md:w-auto text-center md:inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm leading-6 font-semibold rounded-md text-white bg-primary",onClick:()=>L("/workplace-link"),children:"Get Flare App"})})})]}),e("div",{className:"hidden md:block w-1/2 sm:w-1/4 lg:w-1/5",children:e("img",{className:"absolute object-contain object-bottom md:-bottom-0 lg:bottom-0 xl:-bottom-10 -right-[5%] lg:-right-[3%] xl:right-0 w-2/3 lg:w-1/2",src:dr})})]})})})}));const mr=({children:a,className:t})=>e("div",{className:"gradient-tile "+t,children:a}),hr=({title:a,subtitle:t,externalUrl:r,icon:n,onClick:s})=>e("a",{className:"w-full cursor-pointer",href:r,target:r&&"_blank"||void 0,onClick:s,children:e(mr,{className:"pl-6 pr-4 py-4 md:w-48 md:h-48 md:px-4 md:py-6 bg-white bg-opacity-50 hover:bg-opacity-100 shadow hover:shadow-lg border-2 rounded-md flex md:flex-col md:justify-items-center md:items-center",children:[e("div",{className:"flex justify-start item-center self-center",children:n}),e("div",{className:"ml-6 md:ml-0 md:text-center md:mt-auto",children:[e("div",{className:"text-blue-600 text-l md:text-xl font-bold leading-7",children:a}),e("div",{className:"text-gray-900 text-base font-medium leading-normal",children:t})]})]})}),w=({height:a,width:t,className:r})=>e("div",{className:r,children:e("div",{className:"flex animate-pulse flex-row h-full",children:e("div",{style:{width:`${t?`${t}rem`:"100%"}`,height:`${a}rem`},className:"bg-gray-300 rounded"})})}),pr=()=>e(o,{children:[e(w,{className:"mb-1 md:mb-2",width:20,height:4}),e(w,{className:"mb-5 md:mb-10",width:40,height:2}),e("div",{className:"flex flex-col md:flex-row gap-3 md:gap-8 flex-wrap",children:[e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6}),e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6}),e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6}),e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6}),e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6}),e(w,{className:"hidden md:block",width:12,height:12}),e(w,{className:"md:hidden block",height:6})]})]}),gr=({categories:a})=>{const t=()=>{const n=window.setInterval(async()=>{oe.setShopifyUrl()},12e4);return v(n)};return d(()=>{let r=u;return(async()=>(await oe.setShopifyUrl(),r=t(),f.trackMarketplaceOfferViewedAsync("Perks","default","default")))(),()=>{U(r)&&window.clearInterval(r.value)}},[]),e("div",{className:"relative",children:[e("div",{className:"bg-[linear-gradient(0deg,_#2E66F7_0%,_#0005D2_100%)] absolute w-full h-full blur-[250px] opacity-10"}),a?e(o,{children:[e("div",{className:"text-gray-700 text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 mb-1 md:mb-2",children:"Your benefits plan"}),e("div",{className:"text-black text-base md:text-2xl font-normal leading-normal md:leading-loose mb-5 md:mb-10",children:"Get more out of your pay with major savings on household and everyday expenses."}),e("div",{className:"flex flex-col md:flex-row gap-3 md:gap-8 flex-wrap mb-6",children:a==null?void 0:a.map(r=>e("div",{className:"category-container flex md:flex-col",children:e(hr,{externalUrl:r.externalUrl==="shopify"?C(oe.getShopifyUrl(),"#"):r.externalUrl,title:r.title,subtitle:r.subtitle,icon:e("img",{src:r.iconUrl,className:"w-10 h-10 md:w-16 md:h-16"}),onClick:()=>{r.externalUrl?f.trackMarketplaceOfferAcceptedAsync(r.trackingId,"default","default"):L("/categories/"+r.title.toLocaleLowerCase())}},r.id)}))}),e("div",{className:"text-black text-sm md:text-base font-normal leading-5 md:leading-6",children:"*These figures are based on average annual savings per category on the Flare Benefits Program as of Sep 2023."})]}):e(pr,{})]})},fr="/benefits/app/assets/all_tab_color-548783b9.svg",br="/benefits/app/assets/all_tab_gray-a5051313.svg",Ut={money:"text-blue-400",mind:"text-green-400",body:"text-red-400",work:"text-orange-400",life:"text-yellow-400"},st=["all",...ge],yr=({children:a})=>e("nav",{className:"flex p-2 space-x-8 bg-gray-50","aria-label":"Tabs",children:a}),wr=a=>{const{children:t,onClick:r,className:n,selected:s}=a;return e("div",{onClick:r,className:O(n??"",s?"bg-white shadow-md text-gray-800":"text-gray-600 hover:bg-gray-100","w-full py-2 capitalize text-base leading-6 font-semibold rounded-lg focus:outline-none","cursor-pointer flex items-center justify-center"),"aria-current":s?"page":void 0,children:t})},xr=({currentTab:a,tabNameList:t,onTabClicked:r})=>e(o,{children:[e("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),e("select",{id:"tabs",name:"tabs",className:"block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md",value:a,onChange:n=>{const s=n.currentTarget.value;r(s)},children:t.map(n=>e("option",{value:n,children:Xa(n)}))})]}),vr={money:ca.faUsdSquare,mind:oa.faSpa,body:da.faHeartbeat,work:ua.faBriefcase,life:ma.faUmbrellaBeach},$t=(a,t)=>e(Oe,{size:t??"lg",icon:vr[a]}),Ot=({currentTab:a,onTabClicked:t})=>{const r=l=>$t(l,"1x"),n=l=>e("div",{className:Ut[l],children:r(l)}),s={all:e("img",{className:"h-3.5 w-3.5",src:br,alt:""}),...Object.fromEntries(ge.map(l=>[l,r(l)]))},i={all:e("img",{className:"h-3.5 w-3.5",src:fr,alt:""}),...Object.fromEntries(ge.map(l=>[l,n(l)]))};return e(o,{children:[e("div",{className:"sm:hidden",children:e(xr,{currentTab:a,onTabClicked:l=>t(l),tabNameList:[...st]})}),e("div",{className:"hidden sm:block",children:e(yr,{children:st.map(l=>e(wr,{onClick:()=>{t(l)},selected:a===l,className:"uiid-explore-perks-tabs",children:[a===l?i[l]:s[l],e("span",{className:"uiid-explore-tab-name ml-3",children:l})]},l))})})]})},Rt=({onSearchEvent:a})=>{const t=pe(null),r=pe(null),[n,s]=m(!1);return d(()=>{const i=[t.current&&Ge(t.current,"input").pipe(ha("target","value"),pt(l=>{s(!!l)}),pa(500)).subscribe(async l=>{a(l)}),r.current&&Ge(r.current,"click").subscribe(()=>{t.current.value="",s(!1),a("")})];return()=>{i.map(l=>l==null?void 0:l.unsubscribe())}},[]),e("div",{className:"flex relative rounded-md shadow-sm",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none","aria-hidden":"true",children:e(ga,{className:"mr-3 h-4 w-4 text-gray-400","aria-hidden":"true"})}),e("input",{type:"text",name:"search",id:"search",ref:t,placeholder:"Search perks",className:"uiid-search-bar-input block w-full pl-9 rounded-none rounded-md sm:text-sm border-gray-300"}),e("div",{className:O(n?"":"hidden","absolute inset-y-0 right-0 pr-3 flex items-center z-10 cursor-pointer"),ref:r,children:e(Se,{className:"h-5 w-5 text-gray-400 ","aria-hidden":"true"})})]})};var nt,it;const kr=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),Nr=()=>({perksTab:"all",searchString:""});let Pr=(nt=Z({name:"explore-perks",cache:{ttl:"3600000"},idKey:"benefitId",resettable:!0,producerFn:ee}),nt(it=class extends yt{constructor(){super(Nr())}})||it);const J=new Pr,Cr=()=>({setTab:a=>{J.update(t=>{t.perksTab=a})},searchPerks:a=>{J.update(t=>{t.searchString=a,t.perksTab="all"})}}),Ce=Cr(),Mt=({children:a,className:t})=>e("div",{className:O(t??"","grid items-stretch sm:grid-cols-2 lg:grid-cols-3 gap-8"),children:a}),Bt=({children:a})=>e("div",{className:"uiid-preview-empty flex items-center justify-center sm:col-span-2 lg:col-span-3 justify-items-center content-center bg-gray-100 rounded-lg overflow-hidden h-72",children:e("div",{className:"text-xl font-medium text-gray-400 text-center",children:a})}),Ar="/benefits-plan/backend/v1.0/categories";class Sr{async getCategoriesAsync(){return Nt.instance.url(Ar).get().json()}}const Ir=new Sr,Vt=async(a,t)=>{const[r]=await Promise.all([a,new Promise(n=>window.setTimeout(n,t))]);return r};class Tr{constructor(){c(this,"client",new At(()=>{const t=P.getConfig();return fa({space:t.contentfulSpace,environment:t.contentfulEnvironment,accessToken:t.contentfulApiKey})}))}async loadCollectionsAsync(){return(await this.client.value.getEntries({content_type:"benefitsCollection"})).items.map(r=>{var s,i,l,h,p;const{fields:n}=r;return{id:r.sys.id,title:n.title,description:n.description,coverPhotoUrl:((l=(i=(s=n.coverPhoto)==null?void 0:s.fields)==null?void 0:i.file)==null?void 0:l.url)??"",pillar:((h=n.pillar)==null?void 0:h.toLowerCase())??"money",articles:((p=n.contentLibrary)==null?void 0:p.map(g=>({id:g.sys.id,title:g.fields.title,subtitle:g.fields.subtitle,coverPhotoUrl:g.fields.coverPhoto.fields.file.url,pillar:g.fields.pillar.toLowerCase(),primaryContentType:g.fields.primaryContentType.toLowerCase(),slug:"",externalLink:""})))??[],state:"visible"}})}async loadAvailableEntryPreviewsAsync(){return(await this.client.value.getEntries({"sys.contentType.sys.id[in]":"benefitsWellbeingArticle,benefitsExternalLink",select:"sys.id,fields"})).items.map(r=>{const{fields:n}=r;return{id:r.sys.id,title:n.title,subtitle:n.subtitle,coverPhotoUrl:n.coverPhoto.fields.file.url,pillar:n.pillar.toLowerCase(),primaryContentType:n.primaryContentType.toLowerCase(),slug:n.slug,externalLink:n.externalLink}})}async loadArticleAsync(t){const r=await this.client.value.getEntries({content_type:"benefitsWellbeingArticle",limit:1,include:10,"fields.slug":t});if(r.items.length===0)throw Error("Couldn't find this article");return r.items[0].fields}async loadBenefitsPlanCategoryAsync(){return(await this.client.value.getEntries({content_type:"benefitsPlanCategory"})).items.map(r=>r.fields)}}const Me=new Tr,Lr=["Start","Get Estimate","View","Ineligible"],Er=async()=>Vt(Me.loadBenefitsPlanCategoryAsync(),700),_r=a=>{switch(a.component){case"cars-calculator-ungated":return"cars-calculator-ungated";case"cars-calculator-gated":return"cars-calculator-gated";case"typeform":return a.typeformId?"typeform":"none";default:return"none"}},Ur=async()=>{const a=await Ir.getCategoriesAsync(),t=await Er();return a.categories.filter(n=>t.find(i=>i.title.toLowerCase()===n.title.toLowerCase())&&Lr.includes(n.status)).map(n=>{const s=t.find(h=>h.title.toLowerCase()===n.title.toLowerCase()),i=_r(s),l=s.landingModal&&i!="none"?{modalBody:s.landingModal,disclaimer:s.landingDisclaimer,heroImageDesktop:s.heroImageDesktop,heroImageMobile:s.heroImageMobile,buttonText:s.landingButtonText,component:i,typeformId:s.typeformId}:void 0;return{id:"",title:s.title,displayTitle:s.displayTitle,trackingId:s.trackingId,subtitle:s.subtitle,iconUrl:n.iconUrl,externalUrl:s.link,order:s.positionInList,landing:l}}).sort((n,s)=>n.order-s.order)},$r="/workplace-link";class R extends wt{constructor(r){super(r);c(this,"perksTab$",this.select(r=>r.perksTab));c(this,"all$",ie([this.selectAll()]).pipe(le(([r])=>R.filterPerks(r,"","all"))));c(this,"classifiedPerks$",ie([this.selectAll(),this.select(r=>r.searchString)]).pipe(le(([r,n])=>{const s=n?R.searchPerks(r,n):r;return R.classifyPerks(s)})));c(this,"perksOnStage$",ie([this.selectAll(),this.select(r=>r.searchString),this.select(r=>r.perksTab)]).pipe(le(([r,n,s])=>this.getHasCache()?_.fromNullable(R.filterPerks(r,n,s)):u)));this.store=r}static filterPerks(r,n,s){const i=R.searchPerks(r,n).filter(l=>s==="all"||l.benefit.category===s);return R.excludeLocalPerk(i,$r)}static searchPerks(r,n){return r.filter(s=>s.benefit.title.toLowerCase().includes(n.toLowerCase())||s.benefit.subtitle.toLowerCase().includes(n.toLowerCase()))}static classifyPerks(r){const n=kr();return r.forEach(s=>{const i=s.benefit.category;n[i].push(s)}),n.all=r,n}static findLocalPerk(r,n){const s=r.filter(i=>{var l;return(l=Te(i.benefit.url))==null?void 0:l.startsWith(n)});return s.length===0?void 0:s[0]}static excludeLocalPerk(r,n){return r.filter(i=>{var l;return!((l=Te(i.benefit.url))!=null&&l.startsWith(n))})}}const ye=new R(J);var lt,ct;function Or(){return{loading:!1,featuredPerks:u,viewPerk:{isOpen:!1,perk:u},viewCategory:{isOpen:!1,category:u},categories:void 0}}let Rr=(lt=Z({name:"home-page",resettable:!0,producerFn:ee}),lt(ct=class extends Ue{constructor(){super(Or())}})||ct);const j=new Rr;class Mr extends xe{constructor(r){super(r);c(this,"homePageState$",this.select(r=>r.featuredPerks));c(this,"viewPerkState$",this.select(r=>r.viewPerk));c(this,"viewCategoryState$",this.select(r=>r.viewCategory));c(this,"categoryState$",this.select(r=>r.categories));this.store=r}}const X=new Mr(j),Br=()=>({getViewPageState:()=>{const a=t=>{j.update(r=>{r.featuredPerks=v(t)}),J.set(t.availableBenefits)};return ye.selectCached(()=>It.getBenefitsAsync(),a)},getMarketplaceCategoryState:()=>{const a=t=>{j.update(r=>{r.categories=t})};return X.selectCached(()=>Ur(),a)},reloadViewPageState:()=>{J.setHasCache(!1)},openPerk:a=>{j.update(t=>{t.viewCategory.isOpen=!1,t.viewPerk={isOpen:!0,perk:he(a)}})},closePerk:()=>{j.update(a=>{a.viewPerk.isOpen=!1})},openCategory:a=>{j.update(t=>{t.viewPerk.isOpen=!1,t.viewCategory={isOpen:!0,category:he(a)}})},closeCategory:()=>{j.update(a=>{a.viewCategory.isOpen=!1})}}),B=Br(),Ft="/benefits/app/assets/default_backdrop-fdd955b8.png",Dt=a=>{const t=e(o,{children:[e("div",{className:"flex-shrink-0",children:e("img",{className:"h-48 w-full object-cover",src:a.imageUrl,alt:""})}),e("div",{className:"flex-1 bg-white p-6 pb-9 flex flex-col justify-between",children:a.children})]});return e("div",{onClick:a.onClick,className:O(a.className??"",a.onClick?"cursor-pointer":"","flex flex-col rounded-lg shadow-lg overflow-hidden"),children:a.externalLink?e("a",{href:a.externalLink,target:"_blank",rel:"noopener noreferrer",children:t}):t})},Vr=a=>qe.match(a.toLowerCase()).with("body",()=>"bg-pink-100 text-pink-800").with("life",()=>"bg-yellow-100 text-yellow-800").with("mind",()=>"bg-green-100 text-green-800").with("money",()=>"bg-blue-100 text-blue-800").with("work",()=>"bg-orange-100 text-orange-800").with(qe.__,()=>"bg-gray-100 text-gray-800").exhaustive(),Be=a=>{const t=Vr(a.name),r=a.size==="xs"?"text-xs":"text-sm";return e("div",{className:O(a.className??"","capitalize inline-flex items-center px-2 py-0.5 rounded font-medium",t,r),children:a.name})},jt=({perk:a,onClick:t,className:r})=>{var n;return e(Dt,{className:r,imageUrl:((n=a.backdrop)==null?void 0:n.downloadUrl)??Ft,onClick:t,children:e("div",{className:"flex-1",children:[e(Be,{className:"uiid-perk-tag",name:a.category}),e("div",{className:"block mt-2",children:[e("p",{className:"uiid-perk-item-title text-xl font-semibold text-gray-900",children:a.title}),e("p",{className:"uiid-perk-item-subtitle mt-1 text-sm text-gray-500",children:a.subtitle})]})]})})},Ht=()=>e("div",{className:"flex flex-col animate-pulse shadow-lg rounded-lg overflow-hidden",children:[e("div",{className:"flex-shrink-0",children:e("div",{className:"h-48 bg-gray-300"})}),e("div",{className:"flex-1 bg-white p-6 pb-9 flex flex-col justify-between",children:e("div",{className:"flex-1",children:[e("div",{className:"h-6 bg-gray-300 rounded w-12"}),e("div",{className:"block mt-2",children:[e("div",{className:"h-4 mt-4 bg-gray-300 rounded w-1/2"}),e("div",{className:"h-4 mt-2 bg-gray-300 rounded w-3/4"})]})]})})]}),zt=()=>e(o,{children:[...Array(3).keys()].map((a,t)=>e(Ht,{},t))}),Fr=()=>{const[a,t]=m(u);d(()=>{const s=[ye.perksOnStage$.subscribe(t)];return()=>{s.map(i=>i.unsubscribe())}},[]);const r=async s=>{B.openPerk(s),await f.trackExplorePerkViewedAsync(s)},n=C(a,[]).length>0?C(a,[]).map(s=>{const{benefit:i,benefitId:l}=s;return e(jt,{className:"uiid-explore-perk",perk:i,onClick:()=>r(s)},l)}):e(Bt,{children:[e("p",{children:"Sorry, no entries were found matching your search request."}),e("p",{children:"Please try another search."})]});return e(Mt,{className:"uiid-perks-grid",children:W(a)?e(zt,{}):n})},Dr=()=>{const[a,t]=m(0),[r,n]=m("all");d(()=>{(async()=>f.trackPerksListViewedAsync(r))();const i=[ye.all$.subscribe(l=>{t(l.length)}),ye.perksTab$.subscribe(n)];return()=>{i.map(l=>l.unsubscribe())}},[]),d(()=>()=>{Ce.searchPerks("")},[]);const s=async i=>{Ce.setTab(i),await f.trackPerksListViewedAsync(i)};return e("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[e("div",{className:"sm:flex sm:items-center sm:justify-between",children:[e("div",{className:"flex",children:[e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Explore other perks"}),e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-500 ml-2",children:["(",a,")"]})]}),e("div",{className:"mt-4 sm:mt-0",children:e(Rt,{onSearchEvent:async i=>{Ce.searchPerks(i),i&&await f.trackPerksListSearched(i)}})})]}),e("div",{className:"mt-4",children:e(Ot,{currentTab:r,onTabClicked:s})}),e("div",{className:"mt-6",children:e(Fr,{})})]})},jr=a=>{const{perks:t}=a,[r,n]=m(!0);d(()=>{n(W(t))},[t]);const s=async l=>{B.openPerk(l),await f.trackFeaturePerkViewedAsync(l)},i=C(t,[]).map(l=>{const{benefit:h,benefitId:p}=l;return e(jt,{className:"uiid-featured-perk",perk:h,onClick:()=>s(l)},p)});return e("div",{className:"flex flex-col",children:[e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Featured Perks"}),e("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-8 pt-6",children:r?e(zt,{}):i})]})},Wt=({isOpen:a,fullWidthMobile:t,onClose:r,children:n})=>e(ne.Root,{show:a,as:o,children:e(Qe,{as:"div",static:!0,className:"modal fixed z-40 inset-0 overflow-y-auto",open:a,onClose:r,children:e("div",{className:`flex items-center justify-center min-h-screen md:max-h-screen mt-auto text-center ${t?"w-screen md:w-auto md:p-4":"p-4"}`,children:[e(ne.Child,{as:o,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e(Qe.Overlay,{className:"fixed inset-0 bg-black bg-opacity-75 transition-opacity"})}),e("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:""}),e(ne.Child,{as:o,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:e("div",{className:`inline-block align-bottom transition-all md:align-middle bg-white text-left overflow-hidden shadow-xl transform ${t?"mt-auto md:mb-auto md:rounded-lg overflow-visible md:overflow-hidden":"rounded-lg overflow-hidden"}`,children:n})})]})})}),Hr=({formId:a,profile:t})=>{let r={};return t&&(r={email:t.email,first_name:t.firstName,last_name:t.lastName,mobile:t.mobilePhone,profile_id:t.profileId,account_id:t.accountId,partner_id:t.partnerId,campaign_class:"Platform",campaign_source:"Flare",campaign_medium:"Web Benefits",campaign_name:"Assessment"}),e(ba.Widget,{id:a,className:"mx-auto w-screen h-screen md:h-[40rem] md:w-[80rem]",hidden:r})},zr={renderText:a=>a.split(`
|
|
2
|
+
`).flatMap((t,r)=>[r>0&&e("br",{}),t]),renderNode:{[x.BLOCKS.PARAGRAPH]:(a,t)=>e("p",{className:"text-xs leading-4 font-normal text-gray-600",children:t}),[x.INLINES.HYPERLINK]:(a,t)=>e("a",{className:"text-blue-600",href:a.data.uri,target:"_blank",rel:"noopener noreferrer",children:t}),[x.BLOCKS.LIST_ITEM]:(a,t)=>ae.documentToReactComponents(a,{renderNode:{[x.BLOCKS.PARAGRAPH]:(r,n)=>e("p",{className:"text-gray-600 leading-5 text-sm ",children:n}),[x.BLOCKS.LIST_ITEM]:(r,n)=>e("li",{className:"flex gap-2",children:[e(Oe,{className:"text-primary w-3 h-5",icon:xt}),n]})}})}},Wr=({body:a})=>e(o,{children:ae.documentToReactComponents(a,zr)}),Gr={renderText:a=>a.split(`
|
|
3
|
+
`).flatMap((t,r)=>[r>0&&e("br",{}),t]),renderNode:{[x.BLOCKS.HEADING_1]:(a,t)=>e("h1",{className:"text-2xl leading-8 font-bold pb-2",children:t}),[x.BLOCKS.PARAGRAPH]:(a,t)=>e("p",{className:"text-base leading-6 font-normal text-gray-600 pb-4",children:t}),[x.BLOCKS.UL_LIST]:(a,t)=>e("ul",{className:"py-4 px-3 md:px-8 rounded-lg border-gray-200 border-2 shadow-sm flex flex-col space-y-2 mb-4",children:t}),[x.BLOCKS.LIST_ITEM]:(a,t)=>ae.documentToReactComponents(a,{renderNode:{[x.BLOCKS.PARAGRAPH]:(r,n)=>e("p",{className:"text-gray-600 leading-5 text-sm ",children:n}),[x.BLOCKS.LIST_ITEM]:(r,n)=>e("li",{className:"flex gap-2",children:[e(Oe,{className:"text-primary w-3 h-5",icon:xt}),n]})}})}},qr=({body:a})=>e(o,{children:ae.documentToReactComponents(a,Gr)}),Qr=()=>{var S,Fe,De;const[a,t]=m(!1),[r,n]=m(u),[s,i]=m(!1),l=pe(null),h=()=>{var F;return(F=l.current)==null?void 0:F.scrollIntoView({behavior:"smooth",block:"start"})},p=()=>{s?h():i(!0)};d(()=>{s&&h()},[s]),d(()=>{a&&i(!1)},[a]),d(()=>{const F=[X.viewCategoryState$.subscribe(({isOpen:y,category:G})=>{const E=fe(G);if(E!=null&&E.landing)t(y),n(G);else if(y)throw new Error("Category is not configured for view: "+(E==null?void 0:E.title))})];return()=>{F.map(y=>y.unsubscribe())}},[]);const g=()=>{L("/")},b=fe(r),A=()=>{var E,je,He;const F=$e(q),y=U(F)?F.value.basicProfile:void 0;let G={};switch(y&&(G={email:y.email,"first-name":y.firstName,"last-name":y.lastName,mobile:y.mobilePhone,"profile-id":y.profileId,"account-id":y.accountId,"partner-id":y.partnerId}),(E=b==null?void 0:b.landing)==null?void 0:E.component){case"cars-calculator-ungated":return e("cars-calculator",{...G,"backend-url":P.getConfig().apolloBaseUrl,"datadog-disabled":!0});case"cars-calculator-gated":return e("cars-calculator",{...G,"backend-url":P.getConfig().apolloBaseUrl,"is-gated":!0,"datadog-disabled":!0});case"typeform":return((je=b==null?void 0:b.landing)==null?void 0:je.typeformId)&&e(Hr,{formId:(He=b==null?void 0:b.landing)==null?void 0:He.typeformId,profile:y});default:return e(o,{})}};return b?e(Wt,{isOpen:a,fullWidthMobile:!0,onClose:g,children:e("div",{className:"w-screen md:w-auto md:max-w-[70rem] md:rounded-lg",children:[e("div",{className:"absolute top-0 right-0 pt-4 pr-4 z-30",children:e("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:g,children:[e("span",{className:"sr-only",children:"Close"}),e(Se,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),e("div",{className:`${s?"md:absolute":"md:relative"} w-full grid grid-cols-1 md:grid-cols-2 md:gap-10 lg:gap-14 xl:gap-16 p-0 md:p-10 lg:p-16 xl:p-20`,children:[e("img",{src:`${(S=b.landing)==null?void 0:S.heroImageDesktop.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto w-full order-2 self-center hidden md:block"}),e("img",{src:`${(Fe=b.landing)==null?void 0:Fe.heroImageMobile.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto w-full self-center block md:hidden"}),e("div",{className:"flex flex-col self-center p-4 md:p-0",children:[e(qr,{body:b.landing.modalBody}),e("button",{type:"button",className:"block w-full mx-auto md:w-auto md:ml-0 text-center md:inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm leading-6 font-semibold rounded-md text-white bg-primary mb-6",onClick:p,children:(De=b.landing)==null?void 0:De.buttonText}),e(Wr,{body:b.landing.disclaimer})]})]}),e("div",{ref:l,className:`${s?"block":"hidden"} h-screen md:h-auto absolute md:relative md:rounded-lg bg-white`,children:e("div",{className:"m-auto relative",children:[e("div",{className:"md:hidden absolute top-0 right-0 pt-4 pr-4 z-30",children:e("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:g,children:[e("span",{className:"sr-only",children:"Close"}),e(Se,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),A()]})})]})}):e("div",{})},Gt="dd/MM/yyyy",qt="hh:mm a",Ae="ccc d MMM",Yr="p",Kr=(a,t,r)=>{if(a.data.dateRange){const n=T(r,!1),s=T(new Date(a.data.dateRange.end),a.data.dateRange.allDay);switch(t){case"Upcoming":return a.type==="customEvent"&&n<=s;case"Past":return a.type==="customEvent"&&n>s;case"Library":return a.type==="eventTemplate"}}else switch(t){case"Library":return a.type==="eventTemplate"}return!1},Os=(a,t)=>a.filter(r=>Kr(r,t,new Date)),T=(a,t)=>t?new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),0,0,0,0):new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0),Rs=(a,t)=>{const r=new Date,n=_a(`${a} ${t||"12:00 AM"}`,`${Gt} ${qt}`,r);return t?Ye(n):(r.setUTCFullYear(n.getFullYear()),r.setUTCMonth(n.getMonth()),r.setUTCDate(n.getDate()),r.setUTCHours(0,0,0,0),Ye(r))},Ms=(a,t)=>({date:z(T(a,t),Gt),time:t?void 0:z(a,qt)}),Bs=(a,t,r)=>{if(!a.data.dateRange)return 1;if(!t.data.dateRange)return-1;if(a.data.dateRange&&t.data.dateRange){const n=T(new Date(a.data.dateRange.start),a.data.dateRange.allDay),s=T(new Date(t.data.dateRange.start),t.data.dateRange.allDay),i=n<s?-1:1;return r.filter==="Past"?i*-1:i}else return 0},Jr=(a,t,r)=>{const n=T(new Date(a),r),s=T(new Date(t),r),i=n.getTime()===s.getTime()?z(n,Ae):`${z(n,Ae)} - ${z(s,Ae)}`,l=r?"":`, ${z(new Date(a),Yr)}`;return`${i}${l}`},Vs=(a,t)=>t?a?a.getMonth()!==t.getMonth()?ot(a):void 0:"More":a?ot(a):void 0,Fs=(a,t)=>a&&t?a.getFullYear()!==t.getFullYear()?a.getFullYear().toString():void 0:a==null?void 0:a.getFullYear().toString(),Ds=(a,t,r)=>{const n=a[t],s=a[t-1];if(t===0){if(n.data.dateRange){const i=T(new Date(n.data.dateRange.start),n.data.dateRange.allDay);return r(i,void 0)}}else if(s.data.dateRange){const i=T(new Date(s.data.dateRange.start),s.data.dateRange.allDay);if(n.data.dateRange){const l=T(new Date(n.data.dateRange.start),n.data.dateRange.allDay);return r(l,i)}else return r(void 0,i)}},ot=a=>a.toLocaleString("default",{month:"long"})+" "+(a==null?void 0:a.getFullYear().toString()),Xr=a=>{const t=Te(a.href);return e(o,{children:t?e("a",{className:a.className,onClick:a.onClick,href:`/benefits/app/#${t}`,children:a.children}):e("a",{href:a.href,className:a.className,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer",children:a.children})})},Zr=({actionButton:a,item:t,itemId:r,onClose:n})=>{var l,h;const s=((l=t.backdrop)==null?void 0:l.downloadUrl)??Ft,i=(h=t.icon)==null?void 0:h.downloadUrl;return e("div",{className:"uiid-perk-details md:w-160 first-letter:overflow-hidden",children:[e("div",{className:"absolute top-0 right-0 pt-4 pr-4 z-30",children:e("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:n,children:[e("span",{className:"sr-only",children:"Close"}),e(bt,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),a&&e("div",{className:"absolute top-0 left-0 pt-4 pl-4 z-30",children:a}),e("div",{className:"relative bg-cover bg-center",style:`background-image: url(${s})`,children:[e("div",{className:"absolute inset-0 bg-gradient-to-t from-black opacity-90"}),e("div",{className:"relative flex items-end py-4 px-8 h-64",children:e("div",{className:"flex items-center",children:[!t.dateRange&&e("div",{className:"h-24 w-24 flex-shrink-0",children:e("div",{className:"bg-gray-200 rounded-lg",children:i?e("img",{className:"h-24 w-24 object-contain rounded-lg",src:i,alt:""}):e("div",{className:"h-24 w-24 rounded-lg text-gray-800 grid",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-12 w-12 place-self-center",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"})})})})}),e("div",{className:`text-white ${t.dateRange?"":"pl-4"}`,children:[e("div",{className:"uiid-perk-details-title text-xl leading-6 md:text-3xl md:leading-9 font-extrabold",children:t.title}),e("div",{className:"relative text-sm leading-4 md:text-base md:leading-6 font-medium",children:[t.dateRange?Jr(t.dateRange.start,t.dateRange.end,t.dateRange.allDay):t.subtitle,t.dateRange&&t.location&&e(o,{children:[e("span",{className:"pipe pipe-white pipe-medium mx-3"}),e("span",{children:t.location})]})]}),e(Be,{className:"uiid-perk-details-tag",name:t.category,size:"xs"})]})]})})]}),e("div",{className:"flex flex-col p-8",children:[e("div",{className:"flex-grow",children:[t.dateRange&&e("p",{className:"text-lg leading-8 font-semibold mb-4",children:t.subtitle}),e("p",{className:"whitespace-pre-wrap",children:t.description}),t.linkLabel&&t.url&&e(Xr,{href:t.url,onClick:()=>r&&f.trackPerkVisitedAsync({benefit:t,benefitId:r}),className:"w-auto mt-6 inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 text-sm leading-5 font-medium",children:t.linkLabel})]}),t.attachments&&t.attachments.length>0&&e("div",{className:"border border-gray-200 rounded-md mt-8",children:e("div",{className:"pl-3 pr-4 py-3 flex items-center justify-between text-sm",children:[e("div",{className:"w-0 flex-1 flex items-center",children:[e(ya,{className:"flex-shrink-0 h-5 w-5 text-gray-400","aria-hidden":"true"}),e("span",{className:"ml-2 flex-1 w-0 truncate",children:t.attachments[0].title})]}),e("div",{className:"ml-4 flex-shrink-0",children:e("a",{href:t.attachments[0].downloadUrl,target:"_blank",className:"font-medium text-primary",onClick:()=>r&&f.trackDocumentClickedAsync({benefit:t,benefitId:r}),children:"View"})})]})})]})]})},es=()=>{const[a,t]=m(!1),[r,n]=m(u);d(()=>{const i=[X.viewPerkState$.subscribe(({isOpen:l,perk:h})=>{t(l),n(h)})];return()=>{i.map(l=>l.unsubscribe())}},[]);const s=fe(r);return s?e(Wt,{isOpen:a,onClose:B.closePerk,children:e(Zr,{item:s.benefit,itemId:s.benefitId,onClose:B.closePerk})}):e("div",{})},dt=({category:a})=>{const t=te.useContext(q),[r,n]=m(u),[s,i]=m();d(()=>{f.trackBenefitsOpenedAsync();const A=[X.homePageState$.subscribe(S=>{n(S)}),X.categoryState$.subscribe(S=>{i(S)}),B.getViewPageState().subscribe(),B.getMarketplaceCategoryState().subscribe()];return()=>{A.map(S=>S.unsubscribe())}},[]),d(()=>{const A=s==null?void 0:s.find(S=>S.title.toLocaleLowerCase()===(a==null?void 0:a.toLocaleLowerCase()));A?B.openCategory(A):B.closeCategory()},[s,a]);const l=me.pipe(r,wa(A=>A.promotedBenefits)),h=me.pipe(l,ve(()=>!1,A=>A.length>0)),p=Et.isPba(),{getTreatment:g}=nr(),b=g(Ct.FlareApp);return e(o,{children:[!p&&e(Re,{user:t}),e("div",{className:"max-w-[90rem] min-w-5xl mx-auto py-8 px-4 sm:px-6 lg:px-8",children:[b&&e("div",{className:"md:mb-16 mb-5",children:e(ur,{})}),(!s||(s==null?void 0:s.length)>0)&&e("div",{className:"md:mb-16 mb-5",children:e(gr,{categories:s})}),h&&e("div",{className:"md:mb-16 mb-5",children:e(jr,{perks:l})}),e("div",{children:e(Dr,{})})]}),e(es,{}),e(Qr,{})]})};const de=()=>{const a=$e(q);return d(()=>{f.trackAppOfferAcceptedAsync()},[]),e(o,{children:[e(Re,{user:a}),e("workplace-link",{"access-token":St.jwt,"backend-url":P.getConfig().apiGatewayBaseUrl})]})},Qt=()=>{const a=xa(),t=a.startsWith("state")||a.startsWith("code")||a.startsWith("error");return e(o,{children:t?e(de,{}):e("div",{className:"notfound",children:[e("h1",{children:"Error 404"}),e("p",{children:"That page doesn't exist."}),e("a",{href:"#/",children:e("h4",{children:"Back to Home"})})]})})};function se(a){return te.useContext(Lt)?va(a.component,a):e(ke,{})}const Yt=a=>({listen:t=>a.listen(({location:r})=>t(r)),location:a.location,push:a.push,replace:a.replace}),Kt=(a,t,r)=>{d(()=>{let n=!0;return a(()=>n),()=>{n=!1,me.pipe(t,ve(()=>{},s=>s()))}},r)};var ut,mt;const ts=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),as=()=>({currentTab:"all",searchString:""});let rs=(ut=Z({name:"explore-wellbeing",cache:{ttl:"3600000"},resettable:!0,producerFn:ee}),ut(mt=class extends yt{constructor(){super(as())}})||mt);const ue=new rs;class we extends wt{constructor(r){super(r);c(this,"currentTab$",this.select(r=>r.currentTab));c(this,"previewsOnStage$",ie([this.selectAll(),this.select(r=>r.searchString),this.select(r=>r.currentTab)]).pipe(le(([r,n,s])=>this.getHasCache()?_.fromNullable(we.filterPreviews(r,n,s)):u)));this.store=r}get isPreviewsLoaded(){var r;return(((r=this.getValue().ids)==null?void 0:r.length)??0)>0}static filterPreviews(r,n,s){return we.searchPreviews(r,n).filter(i=>s==="all"||i.pillar===s)}static searchPreviews(r,n){return r.filter(s=>s.title.toLowerCase().includes(n.toLowerCase())||s.subtitle.toLowerCase().includes(n.toLowerCase()))}static classifyPreviews(r){const n=ts();return r.forEach(s=>{const i=s.pillar;n[i].push(s)}),n.all=r,n}}const Ve=new we(ue),ss=()=>({setTab:a=>{ue.update(t=>{t.currentTab=a})},searchPreviews:a=>{ue.update(t=>{t.searchString=a,t.currentTab="all"})},loadEntryPreviews:()=>Ve.selectCached(()=>Me.loadAvailableEntryPreviewsAsync(),a=>ue.set(a))}),Y=ss(),ns=()=>e(o,{children:[...Array(3).keys()].map((a,t)=>e(Ht,{},t))}),is=()=>{const[a,t]=m(u);d(()=>{const s=[Ve.previewsOnStage$.subscribe(t)];return()=>{s.map(i=>i.unsubscribe())}},[]);const r=async s=>{s.externalLink||L(`/wellbeing-hub/articles/${s.slug}`),f.trackEntryViewed({contentId:s.id,contentTitle:s.slug,contentType:s.primaryContentType,contentPillar:s.pillar})},n=C(a,[]).length>0?C(a,[]).map(s=>e(Dt,{className:"uiid-preview-item",imageUrl:`${s.coverPhotoUrl}?fm=jpg&q=50&w=640&h=480`,externalLink:s.externalLink,onClick:()=>r(s),children:e("div",{className:"flex-1",children:[e("div",{className:"flex items-center",children:[e(Be,{className:"uiid-preview-tag",name:s.pillar}),e("div",{className:"text-sm leading-5 font-normal px-2 text-gray-300",children:"|"}),e("div",{className:"text-xs leading-4 font-semibold tracking-wider uppercase text-gray-400",children:s.primaryContentType}),e("div",{className:"flex-grow"}),s.externalLink&&e(ka,{className:"h-5 w-5 text-gray-400 border-0"})]}),e("div",{className:"block mt-2",children:[e("p",{className:"uiid-preview-item-title text-xl font-semibold text-gray-900",children:s.title}),e("p",{className:"uiid-preview-item-subtitle mt-1 text-sm text-gray-500",children:s.subtitle})]})]})},s.id)):e(Bt,{children:[e("p",{children:"Sorry, no entries were found matching your search request."}),e("p",{children:"Please try another search."})]});return e(Mt,{className:"uiid-preview-grid",children:W(a)?e(ns,{}):n})},ls=()=>{const[a,t]=m("all");d(()=>{const s=[Ve.currentTab$.subscribe(t),Y.loadEntryPreviews().subscribe()];return()=>{s.map(i=>i.unsubscribe())}},[]),d(()=>()=>{Y.searchPreviews("")},[]);const r=async s=>{Y.setTab(s),L(`/wellbeing-hub/${s}`),f.trackEntriesListViewedAsync(s)},n=async s=>{Y.searchPreviews(s),f.trackEntriesListSearchedAsync(s)};return e("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[e("div",{className:"sm:flex sm:items-center sm:justify-between",children:[e("div",{className:"flex",children:e("div",{className:"text-3xl leading-9 font-semibold text-gray-700",children:"Explore the 5 pillars of wellness"})}),e("div",{className:"mt-4 sm:mt-0",children:e(Rt,{onSearchEvent:n})})]}),e("div",{className:"mt-4",children:e(Ot,{currentTab:a,onTabClicked:r})}),e("div",{className:"mt-6",children:e(is,{})})]})},cs="/benefits/app/assets/wellbeing_banner-6903d615.png",os=({children:a})=>e("div",{className:"relative filter inline-flex items-center w-12 h-12 rounded-lg text-md font-medium bg-black bg-opacity-40 text-gray-800",children:[e("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-b from-black bg-opacity-50"}),e("div",{className:"relative h-full w-full flex flex-wrap content-center justify-center",children:a})]}),ds=()=>e("div",{className:"flex gap-4",children:ge.map(a=>e(os,{children:e("div",{className:Ut[a],children:$t(a)})}))}),us=()=>e(_t,{className:"h-full",bgImageUrl:cs,children:e("div",{className:"px-4 py-10 md:px-8 md:py-24 text-white",children:[e("div",{className:"text-2xl leading-8 font-bold",children:"Wellbeing Hub"}),e("div",{className:"max-w-sm text-md md:text-lg leading-6 mt-1 font-medium hidden md:block",children:"Providing education, support and tools to help you live a healthier and happier life!"}),e("div",{className:"pt-4 hidden md:block",children:e(ds,{})})]})}),ht=({pillarFilter:a})=>{const t=pe(null);return Kt(async()=>{await f.trackWellbeingOpenedAsync()},_.none,[]),d(()=>{var r;Y.setTab(a??"all"),f.trackEntriesListViewedAsync(a??"all"),a&&((r=t.current)==null||r.scrollIntoView({behavior:"smooth"}))},[a,t]),e("div",{className:"max-w-7xl min-w-5xl mx-auto px-4 py-8 sm:px-6 lg:px-8 mb-20",children:[e("div",{className:"flex flex-col md:flex-row",children:e("div",{className:"w-full",children:e(us,{})})}),e("div",{className:"mt-8 pt-4",ref:t,children:e(ls,{})})]})},ms=({pages:a,homePageUrl:t})=>e("nav",{className:"bg-white border-b border-gray-200 flex","aria-label":"Breadcrumb",children:e("ol",{role:"list",className:"max-w-screen-xl w-full mx-auto px-4 flex space-x-4 sm:px-6 lg:px-8",children:[e("li",{className:"flex",children:e("div",{className:"flex items-center",children:e("a",{href:t??"#",className:"text-gray-400 hover:text-gray-500",children:[e(Na,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),e("span",{className:"sr-only",children:"Home"})]})})}),a.map((r,n)=>e("li",{className:"flex",children:e("div",{className:"flex items-center",children:[e("svg",{className:"flex-shrink-0 w-6 h-full text-gray-200",viewBox:"0 0 24 44",preserveAspectRatio:"none",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e("path",{d:"M.293 0l22 22-22 22h1.414l22-22-22-22H.293z"})}),e("a",{href:r.href,className:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700","aria-current":a.length===n+1?"page":void 0,children:r.name})]})},r.name))]})}),hs=(a,t)=>{d(()=>{window.scrollTo(a)},t)},ps=(a,t)=>{hs({top:0,...a},t)},gs={renderNode:{[x.BLOCKS.EMBEDDED_ASSET]:a=>{const{title:t,description:r,file:n}=a.data.target.fields;return e("figure",{children:[e("img",{src:`${n.url}?fm=jpg&q=90&w=640&h=480`,alt:t}),e("figcaption",{children:r})]})}}},fs=({body:a})=>e("article",{className:"prose prose-lg prose-indigo",children:ae.documentToReactComponents(a,gs)}),bs=()=>e("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8 animate-pulse",children:[e("div",{class:"h-8 bg-gray-200 rounded w-2/3"}),e("div",{className:"flex space-x-3 mt-4",children:[e("div",{className:"flex-shrink-0",children:e("div",{class:"rounded-full bg-gray-200 h-10 w-10 mr-1"})}),e("div",{className:"min-w-0 flex flex-col justify-between flex-1",children:[e("div",{class:"h-4 bg-gray-200 rounded w-1/3"}),e("div",{class:"h-4 bg-gray-200 rounded w-1/4"})]})]}),e("div",{className:"mt-8",children:e("div",{class:"flex-1 space-y-8 py-1",children:[e("div",{class:"h-8 bg-gray-200 rounded w-3/4"}),e("div",{class:"h-48 bg-gray-200 rounded w-full"}),e("div",{class:"h-24 bg-gray-200 rounded w-3/4"}),e("div",{class:"h-36 bg-gray-200 rounded w-full"}),e("div",{class:"h-12 bg-gray-200 rounded w-1/4"})]})})]}),ys=({articleSlug:a})=>{const[t,r]=m();if(Kt(async s=>{const i=await Vt(Me.loadArticleAsync(a),700);s()&&r(i)},_.none,[a]),ps(),!t)return e(Ke.div,{initial:{opacity:0},animate:{opacity:1},children:e(bs,{})},"loading");const n=[{name:t==null?void 0:t.pillar,href:`#/wellbeing-hub/${t==null?void 0:t.pillar.toLowerCase()}`}];return e(o,{children:[e(ms,{pages:n,homePageUrl:"#/wellbeing-hub"}),e(Ke.div,{initial:{opacity:0},animate:{opacity:1},children:e("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8",children:[e("h2",{className:"text-4xl leading-10 font-extrabold tracking-tight",children:t.title}),e("div",{className:"flex space-x-3 mt-4",children:[e("div",{className:"flex-shrink-0",children:e("img",{className:"h-10 w-10 rounded-full",src:`${t.author.fields.avatar.fields.file.url}?fm=jpg&q=90&w=640&h=480`,alt:""})}),e("div",{className:"min-w-0 flex-1",children:[e("p",{className:"text-sm font-medium text-gray-900",children:t.author.fields.name}),e("p",{className:"text-sm text-gray-500",children:z(new Date(t.originalPublicationDate),"dd MMM yyyy")})]})]}),e("div",{className:"mt-8",children:e(fs,{body:t.articleBody})})]})},"article")]})},ws=()=>{const a=te.useContext(q),t=Et.isPba();return e(o,{children:[!t&&e(Re,{user:a}),e(vt,{history:Yt(kt()),children:[e(M,{path:"/wellbeing-hub",component:ht}),e(M,{path:"/wellbeing-hub/:pillarFilter",component:ht}),e(M,{path:"/wellbeing-hub/articles/:articleSlug",component:ys})]})]})},Jt=a=>{analytics.identify(a.basicProfile.profileId,{profile:a.basicProfile.profileId,account:a.basicProfile.accountId,partner:a.basicProfile.partnerId,benefitsRole:a.benefitsProfile.role})},xs=a=>{const t=`${a.eventName} ${a.eventAction}`,r={...a};delete r.eventName,delete r.eventAction,analytics.track(t,r)},vs=a=>()=>{},Hs={identifyUser:Jt,trackEvent:xs,handleTrackingOnClick:vs},ks=Pa(()=>Ca(()=>import("./index-1245ab47.js"),["assets/index-1245ab47.js","assets/vendor-184a22d2.js","assets/lodash-5d893f8c.js","assets/framer-motion-d04c7e95.js","assets/date-fns-9238277e.js","assets/oidc-client-6f6e47c2.js","assets/datadog-7bedfe3b.js"])),Ns=()=>{const[a,t]=m({user:u}),[r,n]=m(!1),[s,i]=m(!1);if(typeof window<"u"&&window.location.pathname.replace("/benefits/app","")!=="/")return window.location.pathname="/benefits/app/",null;d(()=>{(async()=>{if(await P.fetchConfigAsync(),Le.extractRedirectPath(),Le.extractMode(),I.tokenExists(window.location.search)){await I.signOut(),await I.initFromToken(window.location.pathname,window.location.search);return}i(!0)})();const h=[V.signedInUser$.subscribe(p=>{t({user:p}),U(p)&&Jt(p.value)}),St.authState$.subscribe(async({authStatus:p,jwt:g})=>{U(g)&&p===N.Authenticated?(await I.refreshIfExpired(),k.setParameters(P.getConfig().apiBaseUrl,g.value),Nt.setParameters(P.getConfig().apolloBaseUrl,g.value),$a.setParameters(P.getConfig().apiV2BaseUrl,g.value),rt.extractProfileId(g.value),await rt.loadSignedInUserProfileAsync(),n(p===N.Authenticated)):n(!1)})];return()=>{h.map(p=>p.unsubscribe())}},[]);const l=h=>{switch(h.url.replace(/^\/+/,"").split("/")[0]){case"":$.update({appView:"employee",navTab:"benefits"});break;case"admin":$.update({appView:"admin",navTab:"benefits"});break;case"wellbeing-hub":$.update({appView:"employee",navTab:"wellbeing"});break}};return d(()=>{s&&r&&f.trackAppLoadedAsync()},[s,r]),s?e("div",{id:"preact_root",className:"min-h-screen",children:e(Lt.Provider,{value:r,children:e(q.Provider,{value:a.user,children:e(vt,{history:Yt(kt()),onChange:l,children:[e(se,{path:"/",component:dt}),e(se,{path:"/categories/:category",component:dt}),e(se,{path:"/wellbeing-hub/:subroute*",component:ws}),e(se,{path:"/admin/:subroute*",component:ks}),e(M,{path:"/oidc/:mode*",component:Ga}),e(M,{path:"/b2c/:fragment",component:qa}),e(M,{path:"/workplace-link",component:de}),e(M,{path:"state=:fragment*",component:de}),e(M,{path:"/code*",component:de}),e(Qt,{default:!0})]})})})}):e(ke,{})};typeof window<"u"&&(Aa({storage:window.sessionStorage,key:"benefits-client-v2"}),Sa(),Ia.polyfill(),Ua());Ta(e(Ea,{children:e(La,{fallback:Qt,children:e(Ns,{})})}),document.body);export{Yt as A,k as B,Ft as D,Re as H,Zr as I,Oa as L,Wt as M,Be as P,sr as U,Ie as a,f as b,O as c,q as d,$a as e,Me as f,fe as g,Xa as h,ge as i,T as j,Jr as k,Ds as l,Hs as m,Fs as n,Vs as o,Rs as p,Kr as q,Bs as r,Ms as s,Os as t,rr as u,B as v,Vt as w,It as x,nr as y,Pt as z};
|
package/dist/index.html
CHANGED
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
}
|
|
69
69
|
})();
|
|
70
70
|
</script>
|
|
71
|
-
<script type="module" crossorigin src="/benefits/app/assets/index-
|
|
71
|
+
<script type="module" crossorigin src="/benefits/app/assets/index-e51f367a.js"></script>
|
|
72
72
|
<link rel="modulepreload" crossorigin href="/benefits/app/assets/lodash-5d893f8c.js">
|
|
73
73
|
<link rel="modulepreload" crossorigin href="/benefits/app/assets/vendor-184a22d2.js">
|
|
74
74
|
<link rel="modulepreload" crossorigin href="/benefits/app/assets/oidc-client-6f6e47c2.js">
|
|
75
75
|
<link rel="modulepreload" crossorigin href="/benefits/app/assets/date-fns-9238277e.js">
|
|
76
76
|
<link rel="modulepreload" crossorigin href="/benefits/app/assets/framer-motion-d04c7e95.js">
|
|
77
|
-
<link rel="modulepreload" crossorigin href="/benefits/app/assets/datadog-
|
|
78
|
-
<link rel="stylesheet" href="/benefits/app/assets/index-
|
|
77
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/datadog-7bedfe3b.js">
|
|
78
|
+
<link rel="stylesheet" href="/benefits/app/assets/index-39e3cf7d.css">
|
|
79
79
|
</head>
|
|
80
80
|
<body>
|
|
81
81
|
<script type="module" src="https://npm-cdn.flarehr.com/@flarehr/salpac-cars-calculator@__ENVIRONMENT/dist/salpac-cars-calculator.js"></script>
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var Jt=Object.defineProperty;var Xt=(a,t,r)=>t in a?Jt(a,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[t]=r;var c=(a,t,r)=>(Xt(a,typeof t!="symbol"?t+"":t,r),r);import{Q as we,m as Zt,s as ea,E as ta,n as aa,t as mt,o as Le,r as e,S as Ee,u,v as X,x as Z,z as ue,A as xe,B as ht,C as z,D as ra,H as me,I as x,J as _,K as T,O as E,L as sa,l as m,p as o,M as je,F as pt,N as d,P as ke,X as gt,R as na,U as q,W as se,w as ee,Y as ia,q as _e,T as He,Z as Ue,$ as la,a0 as ca,a1 as oa,a2 as da,a3 as ua,h as he,a4 as ze,a5 as ma,a6 as ha,a7 as pa,a8 as ft,a9 as bt,aa as ga,ab as yt,ac as ne,ad as ie,ae as We,af as Ge,ag as fa,ah as w,ai as te,aj as wt,ak as ba,al as ya,am as wa,j as xa,an as va,ao as ka,ap as xt,aq as vt,ar as R,as as Na,at as Pa,au as Aa,av as Ca,aw as Sa,ax as Ia,ay as Ta,az as La}from"./vendor-184a22d2.js";import{O as ae}from"./oidc-client-6f6e47c2.js";import{f as H,p as Ea,a as qe}from"./date-fns-9238277e.js";import{m as Qe}from"./framer-motion-d04c7e95.js";import{i as _a}from"./datadog-1ddc8e11.js";import"./lodash-5d893f8c.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();we.prototype.selectCached=function(a,t=r=>null){return this.selectHasCache().pipe(Zt(0),ea(r=>r?ta:aa(a()).pipe(mt(t))))};class v{static setParameters(t,r){this._apiBaseUrl=t,this._jwt=r}static get instance(){return Le(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-APP-VERSION":"2.12.424"})}}c(v,"_apiBaseUrl"),c(v,"_jwt");class Ua extends v{}class kt extends v{}class Y{static setParameters(t,r,n){this._apiBaseUrl=t,this._jwt=r,this._profileId=n}static get instance(){return Le(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-PROFILE-ID":this._profileId,"X-APP-VERSION":"2.12.424"})}}c(Y,"_apiBaseUrl"),c(Y,"_jwt"),c(Y,"_profileId");const Oa=({size:a})=>e("svg",{className:`animate-spin h-${a??5} w-${a??5}`,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),ve=()=>e("div",{className:"flex justify-center items-center h-screen text-primary",children:[e(Oa,{size:5}),e("div",{className:"pl-3 text-xl font-light text-primary",children:"Loading..."})]}),Nt="/benefits/app/assets/logo-a34e9b4b.png",$a=()=>e("div",{className:"flex flex-col justify-center items-center h-screen text-grey-900",children:[e("img",{className:"block h-8 w-auto",src:Nt,alt:"Flare Benefits"}),e("h1",{className:"mt-8",children:"You have been successfully logged out of Flare Benefits"})]});var Ye,Ke;const pe=["money","mind","body","work","life"];var Pt=(a=>(a.WellbeingHub="wellbeing",a.FlareApp="flareMobileApp",a.SalaryPackagingCars="salaryPackagingCars",a))(Pt||{});const Ra=["default","pba"];function Ma(){return{user:u,config:u,navTab:"benefits",appView:"employee",redirectPath:u,mode:"default",shopifyUrl:u}}let Ba=(Ye=X({name:"benefits-app",resettable:!0,producerFn:Z}),Ye(Ke=class extends Ee{constructor(){super(Ma())}})||Ke);const U=new Ba;class Va extends we{constructor(r){super(r);c(this,"signedInUser$",this.select(r=>r.user));c(this,"appConfig$",this.select(r=>r.config));c(this,"navPage$",this.select(r=>r.navTab));c(this,"appView$",this.select(r=>r.appView));c(this,"signedInUserRole$",this.select(r=>ue.pipe(r.user,xe(()=>"user",n=>n.benefitsProfile.role))));this.store=r}}const B=new Va(U);function P(a,t){return ht(a,ra(()=>t))}function ge(a){return P(a,null)}function Ce(a,t="Option value is none."){if(z(a))throw new Error(t);return a.value}function Je(a,t){return ht(a,xe(()=>t===null,r=>r===t))}const Fa=()=>{const a=async()=>{const n=await Le(`${window.location.origin}/benefits/app/config.json`).get().json();U.update({config:me(n)})},t=()=>Ce(B.getValue().config);return{fetchConfigAsync:a,getConfig:t,getPublicBackendUrl:()=>t().apiBaseUrl.replace("backend","public")}},N=Fa();function fe(a,t){const r=new URLSearchParams(t);return x(r.get(a))}function Ne(a,t){const r=new URLSearchParams(t.replace(/^#+/,""));return x(r.get(a))}const Se=a=>{if(a!=null&&a.startsWith(N.getConfig().apiGatewayBaseUrl+"/benefits/app/#"))return a.split("#")[1]},Da=()=>{const a="redirectPath",t="mode",r=s=>{U.update({redirectPath:s})},n=s=>{U.update({mode:s})};return{extractRedirectPath:()=>{const s=fe(a,window.location.search);_(s)&&r(s)},extractMode(){const s=fe(t,window.location.search);_(s)&&Ra.includes(s.value)&&n(s.value)},redirectToPathIfExists(){const s=B.getValue().redirectPath;_(s)&&(r(u),T(s.value))}}},Ie=Da();class At{constructor(t){c(this,"_value",u);this.factory=t}get value(){if(_(this._value))return this._value.value;const t=this.factory();return this._value=me(t),t}}var Xe,Ze,k=(a=>(a[a.Unauthorized=0]="Unauthorized",a[a.SignInPending=1]="SignInPending",a[a.Authenticated=2]="Authenticated",a[a.SignOutPending=3]="SignOutPending",a[a.Error=4]="Error",a))(k||{});function ja(){return{authStatus:0,jwt:u}}let Ha=(Xe=X({name:"authentication",resettable:!0,producerFn:Z}),Xe(Ze=class extends Ee{constructor(){super(ja())}})||Ze);const F=new Ha;var le=(a=>(a.SignIn="callback",a.SignOut="logout",a.SilentRefresh="silent-refresh",a))(le||{});class za{constructor(){c(this,"userManager");c(this,"tokenQueryParameter","token");c(this,"b2cJwtQueryParameter","b2cJwt");c(this,"profileIdQueryParameter","profileId");c(this,"getHostOidcUrl",()=>`${window.location.origin}/benefits/app/#/oidc`);this.userManager=new At(()=>{const t=new ae.UserManager(this.userManagerSettings());return t.events.addAccessTokenExpired(()=>this.signOutRedirectAsync()),t.events.addUserLoaded(this.sessionUpdatedHandler),this.configureLogging(),t})}async refreshIfExpired(){const t=await this.userManager.value.getUser();t!=null&&t.expired&&this.userManager.value.signinSilent()}tokenExists(t){const r=fe(this.tokenQueryParameter,t);return E.isSome(r)}b2cJwtExists(t){const r=Ne(this.b2cJwtQueryParameter,t);return E.isSome(r)}isOidcRoute(t){return t.includes("callback")||t.includes("logout")||t.includes("silent-refresh")}async initFromB2cJwt(t,r){const n=Ce(Ne(this.b2cJwtQueryParameter,r),`"${this.b2cJwtQueryParameter}" fragment is required`),s=Ce(Ne(this.profileIdQueryParameter,r),`"${this.profileIdQueryParameter}" fragment is required`);Y.setParameters(N.getConfig().workplaceBackendUrl,n,s);const i=await Y.instance.url("token").get().json();window.location.href=t+"?token="+i.token}async initFromToken(t,r){if(this.isOidcRoute(t))return;const n=fe(this.tokenQueryParameter,r);if(E.isNone(n))throw F.update({authStatus:k.Error}),Error(`"${this.tokenQueryParameter}" URL query parameter is required`);await this.signInRedirectAsync(n)}signOutRedirectAsync(){return F.update({authStatus:k.SignOutPending}),this.userManager.value.signoutRedirect()}async signInRedirectCallbackAsync(){await this.userManager.value.signinRedirectCallback(window.location.href.replace("/oidc/callback?","")),F.update({authStatus:k.Authenticated})}async signOutRedirectCallbackAsync(){await this.userManager.value.signoutRedirectCallback(),sa()}async silentRefreshCallbackAsync(){await this.userManager.value.signinSilentCallback()}async signOut(){return F.update({authStatus:k.Unauthorized,jwt:E.none})}async signInRedirectAsync(t){F.update({authStatus:k.SignInPending}),await this.userManager.value.signinRedirect({extraQueryParams:{irt:t.value}})}sessionUpdatedHandler(t){F.update({jwt:E.fromNullable(t.access_token)})}userManagerSettings(){return{authority:N.getConfig().oidcAuthority,client_id:"apollo-benefits-ui",redirect_uri:`${this.getHostOidcUrl()}/callback?`,response_type:"id_token token",scope:"openid",post_logout_redirect_uri:`${this.getHostOidcUrl()}/logout?`,silent_redirect_uri:`${this.getHostOidcUrl()}/silent-refresh?`,automaticSilentRenew:!0,accessTokenExpiringNotificationTime:10,filterProtocolClaims:!0,loadUserInfo:!0,clockSkew:2592e3}}configureLogging(){ae.Log.logger=console,ae.Log.level=ae.Log.DEBUG}}const S=new za,Wa=({mode:a})=>{const[t,r]=m(!1);return o(()=>{(async()=>{switch(a){case le.SignIn:await S.signInRedirectCallbackAsync(),window.location.hash="#",T("/"),Ie.redirectToPathIfExists();break;case le.SignOut:await S.signOutRedirectCallbackAsync(),r(!0);break;case le.SilentRefresh:await S.silentRefreshCallbackAsync();break}})()},[]),t?e($a,{}):e(ve,{})},Ga=({fragment:a})=>(o(()=>{(async()=>await S.initFromB2cJwt(window.location.pathname,a))()},[]),e(ve,{}));class qa extends we{constructor(r){super(r);c(this,"authState$",this.select());this.store=r}get isUnauthorized(){return this.getValue().authStatus===k.Unauthorized||this.getValue().authStatus===k.Error}get isAuthorized(){return this.getValue().authStatus===k.Authenticated}get jwt(){const r=this.getValue().jwt;return _(r)?r.value:""}}const Ct=new qa(F),Qa="/benefits/app/assets/external_link-599a0aec.svg";class Ya{async getBenefitsAsync(){return v.instance.url("benefits").get().json()}async postDocumentAsync(t){return v.instance.url("document").addon(je).formData(t).post().badRequest(r=>{throw new Error(r.message)}).json()}async postImageAsync(t){return v.instance.url("image").addon(je).formData(t).post().badRequest(r=>{throw new Error(r.message)}).json()}async getShopifyUrl(){return v.instance.url("shopify-url").get().json()}}const St=new Ya;class Ka{async setShopifyUrl(){const t=await this.fetchShopifyUrl();U.update({shopifyUrl:t})}getShopifyUrl(){return B.getValue().shopifyUrl}async fetchShopifyUrl(){return x((await St.getShopifyUrl()).redirectUrl)}}const ce=new Ka;function O(...a){return a.filter(Boolean).join(" ")}const Ja=a=>`${a[0].toUpperCase()}${a.slice(1)}`,et=({user:{featureFlags:a}})=>{const[t,r]=m(u),n=pt(()=>{const s=new Map([["benefits","/"]]);return a.wellbeing&&s.set("wellbeing","/wellbeing-hub"),Array.from(s)},[]);return o(()=>{const s=[B.navPage$.subscribe(i=>{r(x(i))})];return()=>{s.map(i=>i.unsubscribe())}},[]),e("nav",{className:"-mb-px flex","aria-label":"Tabs",children:[n.map(([s,i])=>e("div",{onClick:async()=>{r(x(s)),T(i)},className:O(Je(t,s)?"border-primary text-primary":"border-transparent text-gray-500","cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4 flex-grow md:flex-grow-0","py-4 text-center border-b-4 text-base leading-6 font-semibold cursor-pointer capitalize"),"aria-current":Je(t,s)?"page":void 0,children:e("span",{children:s})},s)),e("div",{className:"border-transparent text-gray-500 cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4 flex-grow md:flex-grow-0 py-4 text-center border-b-4 text-base leading-6 font-semibold cursor-pointer capitalize",children:e("a",{className:"inline-flex",href:P(ce.getShopifyUrl(),"#"),target:"_blank",rel:"noreferrer",children:[e("span",{children:"discounts"})," ",e("img",{className:"ml-2",src:Qa})]})})]})},Xa=()=>{const[a,t]=m("employee");return o(()=>{const r=[B.appView$.subscribe(t)];return()=>{r.map(n=>n.unsubscribe())}},[]),e("span",{className:"relative z-0 inline-flex shadow-sm rounded-md",children:[e("button",{type:"button",className:O(a==="admin"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","relative inline-flex items-center px-4 py-1 rounded-l-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{a!=="admin"&&T("/admin")},children:"Admin view"}),e("button",{type:"button",className:O(a==="employee"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","-ml-px relative inline-flex items-center px-4 py-1 rounded-r-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{a!=="employee"&&T("/")},children:"Employee view"})]})},Za=[{name:"Admin view",href:"#/admin"},{name:"Employee view",href:"#/"}],It=()=>e("span",{className:"inline-block h-8 w-8 rounded-full overflow-hidden bg-white border",children:e("svg",{className:"h-full w-full text-gray-300",fill:"currentColor",viewBox:"0 0 24 24",children:e("path",{d:"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z"})})}),er=({user:a})=>e(d,{children:e(q,{as:"div",className:"z-30 relative inline-block text-left",children:({open:t})=>e(d,{children:[e("div",{children:e(q.Button,{className:`max-w-xs bg-white flex items-center text-sm rounded-full hover:outline-none hover:ring-2 hover:ring-offset-2 hover:ring-primary ${t?"outline-none ring-2 ring-offset-2 ring-primary":""} `,children:e(It,{})})}),e(se,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:e(q.Items,{className:"absolute right-0 mt-2 w-56 divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:e("div",{className:"px-1 py-1 ",children:[e(q.Item,{children:()=>e("div",{className:"mx-3 py-2",children:[e("div",{className:"text-base font-medium text-gray-800",children:a.basicProfile.firstName}),e("div",{className:"text-sm font-medium text-gray-500",children:a.basicProfile.email})]})}),e("div",{className:"border-t border-grey-900",children:e(q.Item,{children:({active:r})=>e("button",{onClick:()=>S.signOutRedirectAsync(),className:`${r?"bg-secondary text-primary rounded-md":"text-gray-900 "} group flex w-full items-center mt-2 mb-1 px-3 py-2 text-sm font-medium`,children:"Logout"})})})]})})})]})})}),Oe=a=>{const t=a.user;if(z(t))return e(d,{});const[r,n]=m(!1),s=t.value.benefitsProfile.role!=="user";return o(()=>{const i=[B.appView$.subscribe(l=>{n(l==="employee")})];return()=>{i.map(l=>l.unsubscribe())}},[]),e(d,{children:e(ke,{as:"nav",className:"bg-gray-50 border-0 md:border-b md:border-gray-200",children:({open:i})=>e(d,{children:[e("div",{className:`mx-auto px-4 sm:px-6 lg:px-8 border-b border-gray-200 md:border-none ${s&&!r?"":"max-w-[90rem]"}`,children:e("div",{className:"flex justify-between h-16",children:[e("div",{className:"flex",children:e("div",{className:"flex-shrink-0 flex items-center",children:e("img",{className:"block h-8 w-auto",src:Nt,alt:"Flare Benefits"})})}),e("div",{className:"ml-10 flex flex-wrap flex-grow content-end",children:e("div",{className:"hidden sm:block",children:r&&e(et,{user:t.value})})}),e("div",{className:"flex flex-wrap content-center",children:e("div",{className:"hidden md:block",children:s&&e(Xa,{})})}),e("div",{className:"hidden md:ml-6 md:flex md:items-center",children:e(er,{user:t.value})}),e("div",{className:"-mr-2 flex items-center md:hidden",children:e(ke.Button,{className:"bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",children:[e("span",{className:"sr-only",children:"Open main menu"}),i?e(gt,{className:"block h-6 w-6","aria-hidden":"true"}):e(na,{className:"block h-6 w-6","aria-hidden":"true"})]})})]})}),e(ke.Panel,{className:"md:hidden",children:e("div",{className:"pt-4 pb-3 border-b border-gray-200",children:[e("div",{className:"flex items-center px-4",children:[e("div",{className:"flex-shrink-0",children:e(It,{})}),e("div",{className:"ml-3",children:[e("div",{className:"text-base font-medium text-gray-800",children:t.value.basicProfile.firstName}),e("div",{className:"text-sm font-medium text-gray-500",children:t.value.basicProfile.email})]})]}),e("div",{className:"mt-3 space-y-1",children:[s&&e(d,{children:Za.map(l=>e("a",{href:l.href,className:"block px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:l.name},l.name))}),e("a",{onClick:()=>S.signOutRedirectAsync(),className:"block cursor-pointer px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:"Logout"})]})]})}),r&&e("div",{className:"sm:hidden bg-white border-b border-gray-200",children:e(et,{user:t.value})})]})})})};class tr{async getUserProfile(){return await v.instance.url("users/self").get().json()}async getBasicProfileByEmail(t){const r=await v.instance.url(`users?email=${t}`).get().notFound(()=>null).json();return x(r)}}const ar=new tr;class rr{constructor(){c(this,"basicProfile");c(this,"benefitsProfile");c(this,"featureFlags")}static toDomain(t){return{basicProfile:t.basicProfile,benefitsProfile:t.benefitsProfile,featureFlags:t.featureFlags}}}const j=class j{static get profileId(){if(z(this._profileId))throw Error("ProfileId is missing.");return this._profileId.value}static set profileId(t){this._profileId=x(t)}static set accountId(t){this._accountId=x(t)}static get profileIdOrDefault(){return P(this._profileId,"")}static get accountIdOrDefault(){return P(this._accountId,"")}static get partnerIdOrDefault(){return P(this._partnerId,"")}extractProfileId(t){const r=x(ia(t).sub);if(z(r))throw Error("profileId property is missing.");j.profileId=r.value}async loadSignedInUserProfileAsync(){const t=rr.toDomain(await ar.getUserProfile());j.accountId=t.basicProfile.accountId,U.update(r=>{r.user=x(t)})}};c(j,"_profileId",u),c(j,"_accountId",u),c(j,"_partnerId",u);let Te=j;const G=ee.createContext(u),Tt=ee.createContext(!1),tt=new Te,sr=()=>{const a=_e(G),t=pt(()=>ge(a),[a]),r=He(s=>{if(!t)return!1;const{featureFlags:i}=t;return i[s]},[t]),n=He(()=>t?t.featureFlags:{},[t]);return{getTreatment:r,getAllTreatments:n}};class nr{async postTrackEventAsync(t){return v.instance.url("benefits/track-event").post(t).res()}}const ir=new nr;class lr{async trackAppLoadedAsync(){return this.trackEventAsync("appLoaded")}async trackBenefitsOpenedAsync(){return this.trackEventAsync("benefitsOpened")}async trackAppOfferViewedAsync(){return this.trackEventAsync("appOfferViewed")}async trackAppOfferAcceptedAsync(){return this.trackEventAsync("appOfferAccepted")}async trackWellbeingOpenedAsync(){return this.trackEventAsync("wellbeingOpened")}async trackAdminOpenedAsync(){return this.trackEventAsync("adminOpened")}async trackMarketplaceOfferViewedAsync(t,r,n){const s={offer:t,experiment:r,treatment:n};return this.trackEventAsync({marketplaceOfferViewed:s})}async trackMarketplaceOfferAcceptedAsync(t,r,n){const s={offer:t,experiment:r,treatment:n};return this.trackEventAsync({marketplaceOfferAccepted:s})}async trackPerksListViewedAsync(t){const r={pillar:t};return this.trackEventAsync({perksListViewed:r})}async trackEntriesListViewedAsync(t){const r={pillar:t};return this.trackEventAsync({entriesListViewed:r})}async trackFeaturePerkViewedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,placement:"feature"};return this.trackEventAsync({perkViewed:n})}async trackExplorePerkViewedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,placement:"explore"};return this.trackEventAsync({perkViewed:n})}async trackDocumentClickedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title,type:"document"};return this.trackEventAsync({attachmentOpened:n})}async trackPerkVisitedAsync({benefitId:t,benefit:r}){const n={perkId:t,perkPillar:r.category,perkTitle:r.title};return this.trackEventAsync({perkVisited:n})}async trackPerksListSearched(t){const r={query:t};return this.trackEventAsync({perksListSearched:r})}async trackRoleAssignedAsync(t){return this.trackEventAsync({roleAssigned:t})}async trackEntryViewed(t){return this.trackEventAsync({entryViewed:t})}async trackEntriesListSearchedAsync(t){const r={query:t};return this.trackEventAsync({entriesListSearched:r})}async trackEventAsync(t){try{await ir.postTrackEventAsync({event:t})}catch{return}}}const g=new lr,cr=()=>{const a=()=>B.getValue().mode;return{isDefault:()=>a()==="default",isPba:()=>a()==="pba"}},Lt=cr(),or="/benefits/app/assets/workplace_link_banner-63babe3b.png",Et=({bgImageUrl:a,className:t,children:r,excludeGradient:n})=>{const s=a?{backgroundImage:`url(${a})`}:{};return e("div",{className:O("relative w-full rounded-lg bg-cover bg-center",t??""),style:s,children:[!n&&e(d,{children:[e("div",{className:"absolute inset-0 rounded-lg bg-black bg-opacity-10"}),e("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-r from-black opacity-80"})]}),e("div",{className:"relative h-full rounded-lg overflow-hidden",children:r})]})},dr=()=>(o(()=>{g.trackAppOfferViewedAsync()},[]),e(d,{children:e("div",{className:"flex flex-col md:flex-row",children:e(Et,{excludeGradient:!0,className:"w-full bg-gray-50 text-gray-900 border-grey-100 border",children:e("div",{className:"md:flex md:flex-row w-full md:w-2/4 lg:w-4/5 xl:w-full pl-6 pr-8 md:pr-0 pt-0 md:pt-8",children:[e("div",{className:"flex flex-col pb-8 md:mr-8",children:[e("div",{className:"text-2xl leading-8 lg:text-3xl xl:text-4xl lg:leading-10 font-extrabold pt-4",children:"Workplace benefits in your pocket!"}),e("div",{className:"text-md md:text-lg leading-6 mt-2 font-medium max-w-lg",children:"Download the Flare app for easy access to your workplace benefits and much more."}),e("div",{className:"pt-5",children:e("a",{className:"uiid-browse-discounts-button",target:"_blank",children:e("button",{type:"button",className:"block w-full mx-auto md:w-auto text-center md:inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm leading-6 font-semibold rounded-md text-white bg-primary",onClick:()=>T("/workplace-link"),children:"Get Flare App"})})})]}),e("div",{className:"hidden md:block w-1/2 sm:w-1/4 lg:w-1/5",children:e("img",{className:"absolute object-contain object-bottom md:-bottom-0 lg:bottom-0 xl:-bottom-10 -right-[5%] lg:-right-[3%] xl:right-0 w-2/3 lg:w-1/2",src:or})})]})})})}));const ur=({children:a,className:t})=>e("div",{className:"gradient-tile "+t,children:a}),mr=({title:a,subtitle:t,externalUrl:r,icon:n,onClick:s})=>e("a",{className:"w-full cursor-pointer",href:r,target:r&&"_blank"||void 0,onClick:s,children:e(ur,{className:"pl-6 pr-4 py-4 md:w-48 md:h-48 md:px-4 md:py-6 bg-white bg-opacity-50 hover:bg-opacity-100 shadow hover:shadow-lg border-2 rounded-md flex md:flex-col md:justify-items-center md:items-center",children:[e("div",{className:"flex justify-start item-center self-center",children:n}),e("div",{className:"ml-6 md:ml-0 md:text-center md:mt-auto",children:[e("div",{className:"text-blue-600 text-l md:text-xl font-bold leading-7",children:a}),e("div",{className:"text-gray-900 text-base font-medium leading-normal",children:t})]})]})}),hr=({categories:a})=>{const t=()=>{const n=window.setInterval(async()=>{ce.setShopifyUrl()},12e4);return x(n)};return o(()=>{let r=u;return(async()=>(await ce.setShopifyUrl(),r=t(),g.trackMarketplaceOfferViewedAsync("Perks","default","default")))(),()=>{_(r)&&window.clearInterval(r.value)}},[]),e("div",{className:"relative",children:[e("div",{className:"bg-[linear-gradient(0deg,_#2E66F7_0%,_#0005D2_100%)] absolute w-full h-full blur-[250px] opacity-10"}),e("div",{className:"text-gray-700 text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 mb-1 md:mb-2",children:"Your benefits plan"}),e("div",{className:"text-black text-base md:text-2xl font-normal leading-normal md:leading-loose mb-5 md:mb-10",children:"Save thousands across these categories through exclusive offers from Flare"}),e("div",{className:"flex flex-col md:flex-row gap-8 flex-wrap",children:a==null?void 0:a.map(r=>e("div",{className:"category-container flex md:flex-col",children:e(mr,{externalUrl:r.externalUrl==="shopify"?P(ce.getShopifyUrl(),"#"):r.externalUrl,title:r.title,subtitle:r.subtitle,icon:e("img",{src:r.iconUrl,className:"w-10 h-10 md:w-16 md:h-16"}),onClick:()=>{r.externalUrl?g.trackMarketplaceOfferAcceptedAsync(r.trackingId,"default","default"):T("/categories/"+r.title.toLocaleLowerCase())}},r.id)}))})]})},pr="/benefits/app/assets/all_tab_color-548783b9.svg",gr="/benefits/app/assets/all_tab_gray-a5051313.svg",_t={money:"text-blue-400",mind:"text-green-400",body:"text-red-400",work:"text-orange-400",life:"text-yellow-400"},at=["all",...pe],fr=({children:a})=>e("nav",{className:"flex p-2 space-x-8 bg-gray-50","aria-label":"Tabs",children:a}),br=a=>{const{children:t,onClick:r,className:n,selected:s}=a;return e("div",{onClick:r,className:O(n??"",s?"bg-white shadow-md text-gray-800":"text-gray-600 hover:bg-gray-100","w-full py-2 capitalize text-base leading-6 font-semibold rounded-lg focus:outline-none","cursor-pointer flex items-center justify-center"),"aria-current":s?"page":void 0,children:t})},yr=({currentTab:a,tabNameList:t,onTabClicked:r})=>e(d,{children:[e("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),e("select",{id:"tabs",name:"tabs",className:"block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md",value:a,onChange:n=>{const s=n.currentTarget.value;r(s)},children:t.map(n=>e("option",{value:n,children:Ja(n)}))})]}),wr={money:la.faUsdSquare,mind:ca.faSpa,body:oa.faHeartbeat,work:da.faBriefcase,life:ua.faUmbrellaBeach},Ut=(a,t)=>e(Ue,{size:t??"lg",icon:wr[a]}),Ot=({currentTab:a,onTabClicked:t})=>{const r=l=>Ut(l,"1x"),n=l=>e("div",{className:_t[l],children:r(l)}),s={all:e("img",{className:"h-3.5 w-3.5",src:gr,alt:""}),...Object.fromEntries(pe.map(l=>[l,r(l)]))},i={all:e("img",{className:"h-3.5 w-3.5",src:pr,alt:""}),...Object.fromEntries(pe.map(l=>[l,n(l)]))};return e(d,{children:[e("div",{className:"sm:hidden",children:e(yr,{currentTab:a,onTabClicked:l=>t(l),tabNameList:[...at]})}),e("div",{className:"hidden sm:block",children:e(fr,{children:at.map(l=>e(br,{onClick:()=>{t(l)},selected:a===l,className:"uiid-explore-perks-tabs",children:[a===l?i[l]:s[l],e("span",{className:"uiid-explore-tab-name ml-3",children:l})]},l))})})]})},$t=({onSearchEvent:a})=>{const t=he(null),r=he(null),[n,s]=m(!1);return o(()=>{const i=[t.current&&ze(t.current,"input").pipe(ma("target","value"),mt(l=>{s(!!l)}),ha(500)).subscribe(async l=>{a(l)}),r.current&&ze(r.current,"click").subscribe(()=>{t.current.value="",s(!1),a("")})];return()=>{i.map(l=>l==null?void 0:l.unsubscribe())}},[]),e("div",{className:"flex relative rounded-md shadow-sm",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none","aria-hidden":"true",children:e(pa,{className:"mr-3 h-4 w-4 text-gray-400","aria-hidden":"true"})}),e("input",{type:"text",name:"search",id:"search",ref:t,placeholder:"Search perks",className:"uiid-search-bar-input block w-full pl-9 rounded-none rounded-md sm:text-sm border-gray-300"}),e("div",{className:O(n?"":"hidden","absolute inset-y-0 right-0 pr-3 flex items-center z-10 cursor-pointer"),ref:r,children:e(ft,{className:"h-5 w-5 text-gray-400 ","aria-hidden":"true"})})]})};var rt,st;const xr=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),vr=()=>({perksTab:"all",searchString:""});let kr=(rt=X({name:"explore-perks",cache:{ttl:"3600000"},idKey:"benefitId",resettable:!0,producerFn:Z}),rt(st=class extends bt{constructor(){super(vr())}})||st);const K=new kr,Nr=()=>({setTab:a=>{K.update(t=>{t.perksTab=a})},searchPerks:a=>{K.update(t=>{t.searchString=a,t.perksTab="all"})}}),Pe=Nr(),Rt=({children:a,className:t})=>e("div",{className:O(t??"","grid items-stretch sm:grid-cols-2 lg:grid-cols-3 gap-8"),children:a}),Mt=({children:a})=>e("div",{className:"uiid-preview-empty flex items-center justify-center sm:col-span-2 lg:col-span-3 justify-items-center content-center bg-gray-100 rounded-lg overflow-hidden h-72",children:e("div",{className:"text-xl font-medium text-gray-400 text-center",children:a})}),Pr="/benefits-plan/backend/v1.0/categories";class Ar{async getCategoriesAsync(){return kt.instance.url(Pr).get().json()}}const Cr=new Ar,Bt=async(a,t)=>{const[r]=await Promise.all([a,new Promise(n=>window.setTimeout(n,t))]);return r};class Sr{constructor(){c(this,"client",new At(()=>{const t=N.getConfig();return ga({space:t.contentfulSpace,environment:t.contentfulEnvironment,accessToken:t.contentfulApiKey})}))}async loadCollectionsAsync(){return(await this.client.value.getEntries({content_type:"benefitsCollection"})).items.map(r=>{var s,i,l,h,p;const{fields:n}=r;return{id:r.sys.id,title:n.title,description:n.description,coverPhotoUrl:((l=(i=(s=n.coverPhoto)==null?void 0:s.fields)==null?void 0:i.file)==null?void 0:l.url)??"",pillar:((h=n.pillar)==null?void 0:h.toLowerCase())??"money",articles:((p=n.contentLibrary)==null?void 0:p.map(f=>({id:f.sys.id,title:f.fields.title,subtitle:f.fields.subtitle,coverPhotoUrl:f.fields.coverPhoto.fields.file.url,pillar:f.fields.pillar.toLowerCase(),primaryContentType:f.fields.primaryContentType.toLowerCase(),slug:"",externalLink:""})))??[],state:"visible"}})}async loadAvailableEntryPreviewsAsync(){return(await this.client.value.getEntries({"sys.contentType.sys.id[in]":"benefitsWellbeingArticle,benefitsExternalLink",select:"sys.id,fields"})).items.map(r=>{const{fields:n}=r;return{id:r.sys.id,title:n.title,subtitle:n.subtitle,coverPhotoUrl:n.coverPhoto.fields.file.url,pillar:n.pillar.toLowerCase(),primaryContentType:n.primaryContentType.toLowerCase(),slug:n.slug,externalLink:n.externalLink}})}async loadArticleAsync(t){const r=await this.client.value.getEntries({content_type:"benefitsWellbeingArticle",limit:1,include:10,"fields.slug":t});if(r.items.length===0)throw Error("Couldn't find this article");return r.items[0].fields}async loadBenefitsPlanCategoryAsync(){return(await this.client.value.getEntries({content_type:"benefitsPlanCategory"})).items.map(r=>r.fields)}}const $e=new Sr,Ir=["Start","Get Estimate","View","Ineligible"],Tr=async()=>Bt($e.loadBenefitsPlanCategoryAsync(),700),Lr=a=>{switch(a.component){case"cars-calculator-ungated":return"cars-calculator-ungated";case"cars-calculator-gated":return"cars-calculator-gated";case"typeform":return a.typeformId?"typeform":"none";default:return"none"}},Er=async()=>{const a=await Cr.getCategoriesAsync(),t=await Tr();return a.categories.filter(n=>t.find(i=>i.title.toLowerCase()===n.title.toLowerCase())&&Ir.includes(n.status)).map(n=>{const s=t.find(h=>h.title.toLowerCase()===n.title.toLowerCase()),i=Lr(s),l=s.landingModal&&i!="none"?{modalBody:s.landingModal,disclaimer:s.landingDisclaimer,heroImageDesktop:s.heroImageDesktop,heroImageMobile:s.heroImageMobile,buttonText:s.landingButtonText,component:i,typeformId:s.typeformId}:void 0;return{id:"",title:s.title,displayTitle:s.displayTitle,trackingId:s.trackingId,subtitle:s.subtitle,iconUrl:n.iconUrl,externalUrl:s.link,order:s.positionInList,landing:l}}).sort((n,s)=>n.order-s.order)},_r="/workplace-link";class $ extends yt{constructor(r){super(r);c(this,"perksTab$",this.select(r=>r.perksTab));c(this,"all$",ne([this.selectAll()]).pipe(ie(([r])=>$.filterPerks(r,"","all"))));c(this,"classifiedPerks$",ne([this.selectAll(),this.select(r=>r.searchString)]).pipe(ie(([r,n])=>{const s=n?$.searchPerks(r,n):r;return $.classifyPerks(s)})));c(this,"perksOnStage$",ne([this.selectAll(),this.select(r=>r.searchString),this.select(r=>r.perksTab)]).pipe(ie(([r,n,s])=>this.getHasCache()?E.fromNullable($.filterPerks(r,n,s)):u)));this.store=r}static filterPerks(r,n,s){const i=$.searchPerks(r,n).filter(l=>s==="all"||l.benefit.category===s);return $.excludeLocalPerk(i,_r)}static searchPerks(r,n){return r.filter(s=>s.benefit.title.toLowerCase().includes(n.toLowerCase())||s.benefit.subtitle.toLowerCase().includes(n.toLowerCase()))}static classifyPerks(r){const n=xr();return r.forEach(s=>{const i=s.benefit.category;n[i].push(s)}),n.all=r,n}static findLocalPerk(r,n){const s=r.filter(i=>{var l;return(l=Se(i.benefit.url))==null?void 0:l.startsWith(n)});return s.length===0?void 0:s[0]}static excludeLocalPerk(r,n){return r.filter(i=>{var l;return!((l=Se(i.benefit.url))!=null&&l.startsWith(n))})}}const be=new $(K);var nt,it;function Ur(){return{loading:!1,featuredPerks:u,viewPerk:{isOpen:!1,perk:u},viewCategory:{isOpen:!1,category:u},categories:[]}}let Or=(nt=X({name:"home-page",resettable:!0,producerFn:Z}),nt(it=class extends Ee{constructor(){super(Ur())}})||it);const D=new Or;class $r extends we{constructor(r){super(r);c(this,"homePageState$",this.select(r=>r.featuredPerks));c(this,"viewPerkState$",this.select(r=>r.viewPerk));c(this,"viewCategoryState$",this.select(r=>r.viewCategory));c(this,"categoryState$",this.select(r=>r.categories));this.store=r}}const J=new $r(D),Rr=()=>({getViewPageState:()=>{const a=t=>{D.update(r=>{r.featuredPerks=x(t)}),K.set(t.availableBenefits)};return be.selectCached(()=>St.getBenefitsAsync(),a)},getMarketplaceCategoryState:()=>{const a=t=>{D.update(r=>{r.categories=t})};return J.selectCached(()=>Er(),a)},reloadViewPageState:()=>{K.setHasCache(!1)},openPerk:a=>{D.update(t=>{t.viewCategory.isOpen=!1,t.viewPerk={isOpen:!0,perk:me(a)}})},closePerk:()=>{D.update(a=>{a.viewPerk.isOpen=!1})},openCategory:a=>{D.update(t=>{t.viewPerk.isOpen=!1,t.viewCategory={isOpen:!0,category:me(a)}})},closeCategory:()=>{D.update(a=>{a.viewCategory.isOpen=!1})}}),M=Rr(),Vt="/benefits/app/assets/default_backdrop-fdd955b8.png",Ft=a=>{const t=e(d,{children:[e("div",{className:"flex-shrink-0",children:e("img",{className:"h-48 w-full object-cover",src:a.imageUrl,alt:""})}),e("div",{className:"flex-1 bg-white p-6 pb-9 flex flex-col justify-between",children:a.children})]});return e("div",{onClick:a.onClick,className:O(a.className??"",a.onClick?"cursor-pointer":"","flex flex-col rounded-lg shadow-lg overflow-hidden"),children:a.externalLink?e("a",{href:a.externalLink,target:"_blank",rel:"noopener noreferrer",children:t}):t})},Mr=a=>We.match(a.toLowerCase()).with("body",()=>"bg-pink-100 text-pink-800").with("life",()=>"bg-yellow-100 text-yellow-800").with("mind",()=>"bg-green-100 text-green-800").with("money",()=>"bg-blue-100 text-blue-800").with("work",()=>"bg-orange-100 text-orange-800").with(We.__,()=>"bg-gray-100 text-gray-800").exhaustive(),Re=a=>{const t=Mr(a.name),r=a.size==="xs"?"text-xs":"text-sm";return e("div",{className:O(a.className??"","capitalize inline-flex items-center px-2 py-0.5 rounded font-medium",t,r),children:a.name})},Dt=({perk:a,onClick:t,className:r})=>{var n;return e(Ft,{className:r,imageUrl:((n=a.backdrop)==null?void 0:n.downloadUrl)??Vt,onClick:t,children:e("div",{className:"flex-1",children:[e(Re,{className:"uiid-perk-tag",name:a.category}),e("div",{className:"block mt-2",children:[e("p",{className:"uiid-perk-item-title text-xl font-semibold text-gray-900",children:a.title}),e("p",{className:"uiid-perk-item-subtitle mt-1 text-sm text-gray-500",children:a.subtitle})]})]})})},jt=()=>e("div",{className:"flex flex-col animate-pulse shadow-lg rounded-lg overflow-hidden",children:[e("div",{className:"flex-shrink-0",children:e("div",{className:"h-48 bg-gray-300"})}),e("div",{className:"flex-1 bg-white p-6 pb-9 flex flex-col justify-between",children:e("div",{className:"flex-1",children:[e("div",{className:"h-6 bg-gray-300 rounded w-12"}),e("div",{className:"block mt-2",children:[e("div",{className:"h-4 mt-4 bg-gray-300 rounded w-1/2"}),e("div",{className:"h-4 mt-2 bg-gray-300 rounded w-3/4"})]})]})})]}),Ht=()=>e(d,{children:[...Array(3).keys()].map((a,t)=>e(jt,{},t))}),Br=()=>{const[a,t]=m(u);o(()=>{const s=[be.perksOnStage$.subscribe(t)];return()=>{s.map(i=>i.unsubscribe())}},[]);const r=async s=>{M.openPerk(s),await g.trackExplorePerkViewedAsync(s)},n=P(a,[]).length>0?P(a,[]).map(s=>{const{benefit:i,benefitId:l}=s;return e(Dt,{className:"uiid-explore-perk",perk:i,onClick:()=>r(s)},l)}):e(Mt,{children:[e("p",{children:"Sorry, no entries were found matching your search request."}),e("p",{children:"Please try another search."})]});return e(Rt,{className:"uiid-perks-grid",children:z(a)?e(Ht,{}):n})},Vr=()=>{const[a,t]=m(0),[r,n]=m("all");o(()=>{(async()=>g.trackPerksListViewedAsync(r))();const i=[be.all$.subscribe(l=>{t(l.length)}),be.perksTab$.subscribe(n)];return()=>{i.map(l=>l.unsubscribe())}},[]),o(()=>()=>{Pe.searchPerks("")},[]);const s=async i=>{Pe.setTab(i),await g.trackPerksListViewedAsync(i)};return e("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[e("div",{className:"sm:flex sm:items-center sm:justify-between",children:[e("div",{className:"flex",children:[e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Explore other perks"}),e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-500 ml-2",children:["(",a,")"]})]}),e("div",{className:"mt-4 sm:mt-0",children:e($t,{onSearchEvent:async i=>{Pe.searchPerks(i),i&&await g.trackPerksListSearched(i)}})})]}),e("div",{className:"mt-4",children:e(Ot,{currentTab:r,onTabClicked:s})}),e("div",{className:"mt-6",children:e(Br,{})})]})},Fr=a=>{const{perks:t}=a,[r,n]=m(!0);o(()=>{n(z(t))},[t]);const s=async l=>{M.openPerk(l),await g.trackFeaturePerkViewedAsync(l)},i=P(t,[]).map(l=>{const{benefit:h,benefitId:p}=l;return e(Dt,{className:"uiid-featured-perk",perk:h,onClick:()=>s(l)},p)});return e("div",{className:"flex flex-col",children:[e("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Featured Perks"}),e("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-8 pt-6",children:r?e(Ht,{}):i})]})},zt=({isOpen:a,fullWidthMobile:t,onClose:r,children:n})=>e(se.Root,{show:a,as:d,children:e(Ge,{as:"div",static:!0,className:"modal fixed z-40 inset-0 overflow-y-auto md:overflow-y-hidden",open:a,onClose:r,children:e("div",{className:`flex items-center justify-center min-h-screen mt-auto text-center ${t?"w-screen md:w-auto md:p-4":"p-4"}`,children:[e(se.Child,{as:d,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e(Ge.Overlay,{className:"fixed inset-0 bg-black bg-opacity-75 transition-opacity"})}),e("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:""}),e(se.Child,{as:d,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:e("div",{className:`inline-block align-bottom transition-all md:align-middle bg-white text-left overflow-hidden shadow-xl transform ${t?"mt-auto md:mb-auto md:rounded-lg overflow-visible md:overflow-hidden":"rounded-lg overflow-hidden"}`,children:n})})]})})}),Dr=({formId:a,profile:t})=>{let r={};return t&&(r={email:t.email,first_name:t.firstName,last_name:t.lastName,mobile:t.mobilePhone,profile_id:t.profileId,account_id:t.accountId,partner_id:t.partnerId,campaign_class:"Platform",campaign_source:"Flare",campaign_medium:"Web Benefits",campaign_name:"Assessment"}),e(fa.Widget,{id:a,className:"mx-auto w-screen h-screen md:h-[40rem] md:w-[80rem]",hidden:r})},jr={renderText:a=>a.split(`
|
|
2
|
-
`).flatMap((t,r)=>[r>0&&e("br",{}),t]),renderNode:{[w.BLOCKS.PARAGRAPH]:(a,t)=>e("p",{className:"text-xs leading-4 font-normal text-gray-600",children:t}),[w.INLINES.HYPERLINK]:(a,t)=>e("a",{className:"text-blue-600",href:a.data.uri,target:"_blank",rel:"noopener noreferrer",children:t}),[w.BLOCKS.LIST_ITEM]:(a,t)=>te.documentToReactComponents(a,{renderNode:{[w.BLOCKS.PARAGRAPH]:(r,n)=>e("p",{className:"text-gray-600 leading-5 text-sm ",children:n}),[w.BLOCKS.LIST_ITEM]:(r,n)=>e("li",{className:"flex gap-2",children:[e(Ue,{className:"text-primary w-3 h-5",icon:wt}),n]})}})}},Hr=({body:a})=>e(d,{children:te.documentToReactComponents(a,jr)}),zr={renderText:a=>a.split(`
|
|
3
|
-
`).flatMap((t,r)=>[r>0&&e("br",{}),t]),renderNode:{[w.BLOCKS.HEADING_1]:(a,t)=>e("h1",{className:"text-2xl leading-8 font-bold pb-2",children:t}),[w.BLOCKS.PARAGRAPH]:(a,t)=>e("p",{className:"text-base leading-6 font-normal text-gray-600 pb-4",children:t}),[w.BLOCKS.UL_LIST]:(a,t)=>e("ul",{className:"py-4 px-3 md:px-8 rounded-lg border-gray-200 border-2 shadow-sm flex flex-col space-y-2 mb-4",children:t}),[w.BLOCKS.LIST_ITEM]:(a,t)=>te.documentToReactComponents(a,{renderNode:{[w.BLOCKS.PARAGRAPH]:(r,n)=>e("p",{className:"text-gray-600 leading-5 text-sm ",children:n}),[w.BLOCKS.LIST_ITEM]:(r,n)=>e("li",{className:"flex gap-2",children:[e(Ue,{className:"text-primary w-3 h-5",icon:wt}),n]})}})}},Wr=({body:a})=>e(d,{children:te.documentToReactComponents(a,zr)}),Gr=()=>{var C,Be,Ve;const[a,t]=m(!1),[r,n]=m(u),[s,i]=m(!1),l=he(null),h=()=>{var V;return(V=l.current)==null?void 0:V.scrollIntoView({behavior:"smooth",block:"start"})},p=()=>{s?h():i(!0)};o(()=>{s&&h()},[s]),o(()=>{a&&i(!1)},[a]),o(()=>{const V=[J.viewCategoryState$.subscribe(({isOpen:y,category:W})=>{const L=ge(W);if(L!=null&&L.landing)t(y),n(W);else if(y)throw new Error("Category is not configured for view: "+(L==null?void 0:L.title))})];return()=>{V.map(y=>y.unsubscribe())}},[]);const f=()=>{T("/")},b=ge(r),A=()=>{var L,Fe,De;const V=_e(G),y=_(V)?V.value.basicProfile:void 0;let W={};switch(y&&(W={email:y.email,"first-name":y.firstName,"last-name":y.lastName,mobile:y.mobilePhone,"profile-id":y.profileId,"account-id":y.accountId,"partner-id":y.partnerId}),(L=b==null?void 0:b.landing)==null?void 0:L.component){case"cars-calculator-ungated":return e("cars-calculator",{...W,"backend-url":N.getConfig().apolloBaseUrl,"datadog-disabled":!0});case"cars-calculator-gated":return e("cars-calculator",{...W,"backend-url":N.getConfig().apolloBaseUrl,"is-gated":!0,"datadog-disabled":!0});case"typeform":return((Fe=b==null?void 0:b.landing)==null?void 0:Fe.typeformId)&&e(Dr,{formId:(De=b==null?void 0:b.landing)==null?void 0:De.typeformId,profile:y});default:return e(d,{})}};return b?e(zt,{isOpen:a,fullWidthMobile:!0,onClose:f,children:e("div",{className:"w-screen md:w-auto md:max-w-[80rem] md:rounded-lg overflow-hidden",children:[e("div",{className:"absolute top-0 right-0 pt-4 pr-4 z-30",children:e("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:f,children:[e("span",{className:"sr-only",children:"Close"}),e(ft,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),e("div",{className:`${s?"md:absolute":"md:relative"} w-full grid grid-cols-1 md:grid-cols-2 md:gap-10 lg:gap-16 xl:gap-20 p-0 md:p-10 lg:p-20 xl:p-24`,children:[e("img",{src:`${(C=b.landing)==null?void 0:C.heroImageDesktop.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto w-full order-2 self-center hidden md:block"}),e("img",{src:`${(Be=b.landing)==null?void 0:Be.heroImageMobile.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto w-full self-center block md:hidden"}),e("div",{className:"flex flex-col self-center p-4 md:p-0",children:[e(Wr,{body:b.landing.modalBody}),e("button",{type:"button",className:"block w-full mx-auto md:w-auto md:ml-0 text-center md:inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm leading-6 font-semibold rounded-md text-white bg-primary mb-6",onClick:p,children:(Ve=b.landing)==null?void 0:Ve.buttonText}),e(Hr,{body:b.landing.disclaimer})]})]}),e("div",{ref:l,className:`${s?"block":"hidden"} h-screen md:h-auto absolute md:relative md:rounded-lg bg-white`,children:e("div",{className:"m-auto",children:A()})})]})}):e("div",{})},Wt="dd/MM/yyyy",Gt="hh:mm a",Ae="ccc d MMM",qr="p",Qr=(a,t,r)=>{if(a.data.dateRange){const n=I(r,!1),s=I(new Date(a.data.dateRange.end),a.data.dateRange.allDay);switch(t){case"Upcoming":return a.type==="customEvent"&&n<=s;case"Past":return a.type==="customEvent"&&n>s;case"Library":return a.type==="eventTemplate"}}else switch(t){case"Library":return a.type==="eventTemplate"}return!1},Us=(a,t)=>a.filter(r=>Qr(r,t,new Date)),I=(a,t)=>t?new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),0,0,0,0):new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0),Os=(a,t)=>{const r=new Date,n=Ea(`${a} ${t||"12:00 AM"}`,`${Wt} ${Gt}`,r);return t?qe(n):(r.setUTCFullYear(n.getFullYear()),r.setUTCMonth(n.getMonth()),r.setUTCDate(n.getDate()),r.setUTCHours(0,0,0,0),qe(r))},$s=(a,t)=>({date:H(I(a,t),Wt),time:t?void 0:H(a,Gt)}),Rs=(a,t,r)=>{if(!a.data.dateRange)return 1;if(!t.data.dateRange)return-1;if(a.data.dateRange&&t.data.dateRange){const n=I(new Date(a.data.dateRange.start),a.data.dateRange.allDay),s=I(new Date(t.data.dateRange.start),t.data.dateRange.allDay),i=n<s?-1:1;return r.filter==="Past"?i*-1:i}else return 0},Yr=(a,t,r)=>{const n=I(new Date(a),r),s=I(new Date(t),r),i=n.getTime()===s.getTime()?H(n,Ae):`${H(n,Ae)} - ${H(s,Ae)}`,l=r?"":`, ${H(new Date(a),qr)}`;return`${i}${l}`},Ms=(a,t)=>t?a?a.getMonth()!==t.getMonth()?lt(a):void 0:"More":a?lt(a):void 0,Bs=(a,t)=>a&&t?a.getFullYear()!==t.getFullYear()?a.getFullYear().toString():void 0:a==null?void 0:a.getFullYear().toString(),Vs=(a,t,r)=>{const n=a[t],s=a[t-1];if(t===0){if(n.data.dateRange){const i=I(new Date(n.data.dateRange.start),n.data.dateRange.allDay);return r(i,void 0)}}else if(s.data.dateRange){const i=I(new Date(s.data.dateRange.start),s.data.dateRange.allDay);if(n.data.dateRange){const l=I(new Date(n.data.dateRange.start),n.data.dateRange.allDay);return r(l,i)}else return r(void 0,i)}},lt=a=>a.toLocaleString("default",{month:"long"})+" "+(a==null?void 0:a.getFullYear().toString()),Kr=a=>{const t=Se(a.href);return e(d,{children:t?e("a",{className:a.className,onClick:a.onClick,href:`/benefits/app/#${t}`,children:a.children}):e("a",{href:a.href,className:a.className,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer",children:a.children})})},Jr=({actionButton:a,item:t,itemId:r,onClose:n})=>{var l,h;const s=((l=t.backdrop)==null?void 0:l.downloadUrl)??Vt,i=(h=t.icon)==null?void 0:h.downloadUrl;return e("div",{className:"uiid-perk-details md:w-160 first-letter:overflow-hidden",children:[e("div",{className:"absolute top-0 right-0 pt-4 pr-4 z-30",children:e("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:n,children:[e("span",{className:"sr-only",children:"Close"}),e(gt,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),a&&e("div",{className:"absolute top-0 left-0 pt-4 pl-4 z-30",children:a}),e("div",{className:"relative bg-cover bg-center",style:`background-image: url(${s})`,children:[e("div",{className:"absolute inset-0 bg-gradient-to-t from-black opacity-90"}),e("div",{className:"relative flex items-end py-4 px-8 h-64",children:e("div",{className:"flex items-center",children:[!t.dateRange&&e("div",{className:"h-24 w-24 flex-shrink-0",children:e("div",{className:"bg-gray-200 rounded-lg",children:i?e("img",{className:"h-24 w-24 object-contain rounded-lg",src:i,alt:""}):e("div",{className:"h-24 w-24 rounded-lg text-gray-800 grid",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-12 w-12 place-self-center",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"})})})})}),e("div",{className:`text-white ${t.dateRange?"":"pl-4"}`,children:[e("div",{className:"uiid-perk-details-title text-xl leading-6 md:text-3xl md:leading-9 font-extrabold",children:t.title}),e("div",{className:"relative text-sm leading-4 md:text-base md:leading-6 font-medium",children:[t.dateRange?Yr(t.dateRange.start,t.dateRange.end,t.dateRange.allDay):t.subtitle,t.dateRange&&t.location&&e(d,{children:[e("span",{className:"pipe pipe-white pipe-medium mx-3"}),e("span",{children:t.location})]})]}),e(Re,{className:"uiid-perk-details-tag",name:t.category,size:"xs"})]})]})})]}),e("div",{className:"flex flex-col p-8",children:[e("div",{className:"flex-grow",children:[t.dateRange&&e("p",{className:"text-lg leading-8 font-semibold mb-4",children:t.subtitle}),e("p",{className:"whitespace-pre-wrap",children:t.description}),t.linkLabel&&t.url&&e(Kr,{href:t.url,onClick:()=>r&&g.trackPerkVisitedAsync({benefit:t,benefitId:r}),className:"w-auto mt-6 inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 text-sm leading-5 font-medium",children:t.linkLabel})]}),t.attachments&&t.attachments.length>0&&e("div",{className:"border border-gray-200 rounded-md mt-8",children:e("div",{className:"pl-3 pr-4 py-3 flex items-center justify-between text-sm",children:[e("div",{className:"w-0 flex-1 flex items-center",children:[e(ba,{className:"flex-shrink-0 h-5 w-5 text-gray-400","aria-hidden":"true"}),e("span",{className:"ml-2 flex-1 w-0 truncate",children:t.attachments[0].title})]}),e("div",{className:"ml-4 flex-shrink-0",children:e("a",{href:t.attachments[0].downloadUrl,target:"_blank",className:"font-medium text-primary",onClick:()=>r&&g.trackDocumentClickedAsync({benefit:t,benefitId:r}),children:"View"})})]})})]})]})},Xr=()=>{const[a,t]=m(!1),[r,n]=m(u);o(()=>{const i=[J.viewPerkState$.subscribe(({isOpen:l,perk:h})=>{t(l),n(h)})];return()=>{i.map(l=>l.unsubscribe())}},[]);const s=ge(r);return s?e(zt,{isOpen:a,onClose:M.closePerk,children:e(Jr,{item:s.benefit,itemId:s.benefitId,onClose:M.closePerk})}):e("div",{})},ct=({category:a})=>{const t=ee.useContext(G),[r,n]=m(u),[s,i]=m();o(()=>{g.trackBenefitsOpenedAsync();const A=[J.homePageState$.subscribe(C=>{n(C)}),J.categoryState$.subscribe(C=>{i(C)}),M.getViewPageState().subscribe(),M.getMarketplaceCategoryState().subscribe()];return()=>{A.map(C=>C.unsubscribe())}},[]),o(()=>{const A=s==null?void 0:s.find(C=>C.title.toLocaleLowerCase()===(a==null?void 0:a.toLocaleLowerCase()));A?M.openCategory(A):M.closeCategory()},[s,a]);const l=ue.pipe(r,ya(A=>A.promotedBenefits)),h=ue.pipe(l,xe(()=>!1,A=>A.length>0)),p=Lt.isPba(),{getTreatment:f}=sr(),b=f(Pt.FlareApp);return e(d,{children:[!p&&e(Oe,{user:t}),e("div",{className:"max-w-[90rem] min-w-5xl mx-auto py-8 px-4 sm:px-6 lg:px-8",children:[b&&e("div",{className:"md:mb-16 py-5",children:e(dr,{})}),e("div",{className:"md:mb-16 mb-6 py-5",children:e(hr,{categories:s})}),h&&e("div",{className:"md:mb-16 mb-6 py-5",children:e(Fr,{perks:l})}),e("div",{className:"md:mb-16 py-5",children:e(Vr,{})})]}),e(Xr,{}),e(Gr,{})]})};const oe=()=>{const a=_e(G);return o(()=>{g.trackAppOfferAcceptedAsync()},[]),e(d,{children:[e(Oe,{user:a}),e("workplace-link",{"access-token":Ct.jwt,"backend-url":N.getConfig().apiGatewayBaseUrl})]})},qt=()=>{const a=wa(),t=a.startsWith("state")||a.startsWith("code")||a.startsWith("error");return e(d,{children:t?e(oe,{}):e("div",{className:"notfound",children:[e("h1",{children:"Error 404"}),e("p",{children:"That page doesn't exist."}),e("a",{href:"#/",children:e("h4",{children:"Back to Home"})})]})})};function re(a){return ee.useContext(Tt)?xa(a.component,a):e(ve,{})}const Qt=a=>({listen:t=>a.listen(({location:r})=>t(r)),location:a.location,push:a.push,replace:a.replace}),Yt=(a,t,r)=>{o(()=>{let n=!0;return a(()=>n),()=>{n=!1,ue.pipe(t,xe(()=>{},s=>s()))}},r)};var ot,dt;const Zr=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),es=()=>({currentTab:"all",searchString:""});let ts=(ot=X({name:"explore-wellbeing",cache:{ttl:"3600000"},resettable:!0,producerFn:Z}),ot(dt=class extends bt{constructor(){super(es())}})||dt);const de=new ts;class ye extends yt{constructor(r){super(r);c(this,"currentTab$",this.select(r=>r.currentTab));c(this,"previewsOnStage$",ne([this.selectAll(),this.select(r=>r.searchString),this.select(r=>r.currentTab)]).pipe(ie(([r,n,s])=>this.getHasCache()?E.fromNullable(ye.filterPreviews(r,n,s)):u)));this.store=r}get isPreviewsLoaded(){var r;return(((r=this.getValue().ids)==null?void 0:r.length)??0)>0}static filterPreviews(r,n,s){return ye.searchPreviews(r,n).filter(i=>s==="all"||i.pillar===s)}static searchPreviews(r,n){return r.filter(s=>s.title.toLowerCase().includes(n.toLowerCase())||s.subtitle.toLowerCase().includes(n.toLowerCase()))}static classifyPreviews(r){const n=Zr();return r.forEach(s=>{const i=s.pillar;n[i].push(s)}),n.all=r,n}}const Me=new ye(de),as=()=>({setTab:a=>{de.update(t=>{t.currentTab=a})},searchPreviews:a=>{de.update(t=>{t.searchString=a,t.currentTab="all"})},loadEntryPreviews:()=>Me.selectCached(()=>$e.loadAvailableEntryPreviewsAsync(),a=>de.set(a))}),Q=as(),rs=()=>e(d,{children:[...Array(3).keys()].map((a,t)=>e(jt,{},t))}),ss=()=>{const[a,t]=m(u);o(()=>{const s=[Me.previewsOnStage$.subscribe(t)];return()=>{s.map(i=>i.unsubscribe())}},[]);const r=async s=>{s.externalLink||T(`/wellbeing-hub/articles/${s.slug}`),g.trackEntryViewed({contentId:s.id,contentTitle:s.slug,contentType:s.primaryContentType,contentPillar:s.pillar})},n=P(a,[]).length>0?P(a,[]).map(s=>e(Ft,{className:"uiid-preview-item",imageUrl:`${s.coverPhotoUrl}?fm=jpg&q=50&w=640&h=480`,externalLink:s.externalLink,onClick:()=>r(s),children:e("div",{className:"flex-1",children:[e("div",{className:"flex items-center",children:[e(Re,{className:"uiid-preview-tag",name:s.pillar}),e("div",{className:"text-sm leading-5 font-normal px-2 text-gray-300",children:"|"}),e("div",{className:"text-xs leading-4 font-semibold tracking-wider uppercase text-gray-400",children:s.primaryContentType}),e("div",{className:"flex-grow"}),s.externalLink&&e(va,{className:"h-5 w-5 text-gray-400 border-0"})]}),e("div",{className:"block mt-2",children:[e("p",{className:"uiid-preview-item-title text-xl font-semibold text-gray-900",children:s.title}),e("p",{className:"uiid-preview-item-subtitle mt-1 text-sm text-gray-500",children:s.subtitle})]})]})},s.id)):e(Mt,{children:[e("p",{children:"Sorry, no entries were found matching your search request."}),e("p",{children:"Please try another search."})]});return e(Rt,{className:"uiid-preview-grid",children:z(a)?e(rs,{}):n})},ns=()=>{const[a,t]=m("all");o(()=>{const s=[Me.currentTab$.subscribe(t),Q.loadEntryPreviews().subscribe()];return()=>{s.map(i=>i.unsubscribe())}},[]),o(()=>()=>{Q.searchPreviews("")},[]);const r=async s=>{Q.setTab(s),T(`/wellbeing-hub/${s}`),g.trackEntriesListViewedAsync(s)},n=async s=>{Q.searchPreviews(s),g.trackEntriesListSearchedAsync(s)};return e("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[e("div",{className:"sm:flex sm:items-center sm:justify-between",children:[e("div",{className:"flex",children:e("div",{className:"text-3xl leading-9 font-semibold text-gray-700",children:"Explore the 5 pillars of wellness"})}),e("div",{className:"mt-4 sm:mt-0",children:e($t,{onSearchEvent:n})})]}),e("div",{className:"mt-4",children:e(Ot,{currentTab:a,onTabClicked:r})}),e("div",{className:"mt-6",children:e(ss,{})})]})},is="/benefits/app/assets/wellbeing_banner-6903d615.png",ls=({children:a})=>e("div",{className:"relative filter inline-flex items-center w-12 h-12 rounded-lg text-md font-medium bg-black bg-opacity-40 text-gray-800",children:[e("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-b from-black bg-opacity-50"}),e("div",{className:"relative h-full w-full flex flex-wrap content-center justify-center",children:a})]}),cs=()=>e("div",{className:"flex gap-4",children:pe.map(a=>e(ls,{children:e("div",{className:_t[a],children:Ut(a)})}))}),os=()=>e(Et,{className:"h-full",bgImageUrl:is,children:e("div",{className:"px-4 py-10 md:px-8 md:py-24 text-white",children:[e("div",{className:"text-2xl leading-8 font-bold",children:"Wellbeing Hub"}),e("div",{className:"max-w-sm text-md md:text-lg leading-6 mt-1 font-medium hidden md:block",children:"Providing education, support and tools to help you live a healthier and happier life!"}),e("div",{className:"pt-4 hidden md:block",children:e(cs,{})})]})}),ut=({pillarFilter:a})=>{const t=he(null);return Yt(async()=>{await g.trackWellbeingOpenedAsync()},E.none,[]),o(()=>{var r;Q.setTab(a??"all"),g.trackEntriesListViewedAsync(a??"all"),a&&((r=t.current)==null||r.scrollIntoView({behavior:"smooth"}))},[a,t]),e("div",{className:"max-w-7xl min-w-5xl mx-auto px-4 py-8 sm:px-6 lg:px-8 mb-20",children:[e("div",{className:"flex flex-col md:flex-row",children:e("div",{className:"w-full",children:e(os,{})})}),e("div",{className:"mt-8 pt-4",ref:t,children:e(ns,{})})]})},ds=({pages:a,homePageUrl:t})=>e("nav",{className:"bg-white border-b border-gray-200 flex","aria-label":"Breadcrumb",children:e("ol",{role:"list",className:"max-w-screen-xl w-full mx-auto px-4 flex space-x-4 sm:px-6 lg:px-8",children:[e("li",{className:"flex",children:e("div",{className:"flex items-center",children:e("a",{href:t??"#",className:"text-gray-400 hover:text-gray-500",children:[e(ka,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),e("span",{className:"sr-only",children:"Home"})]})})}),a.map((r,n)=>e("li",{className:"flex",children:e("div",{className:"flex items-center",children:[e("svg",{className:"flex-shrink-0 w-6 h-full text-gray-200",viewBox:"0 0 24 44",preserveAspectRatio:"none",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e("path",{d:"M.293 0l22 22-22 22h1.414l22-22-22-22H.293z"})}),e("a",{href:r.href,className:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700","aria-current":a.length===n+1?"page":void 0,children:r.name})]})},r.name))]})}),us=(a,t)=>{o(()=>{window.scrollTo(a)},t)},ms=(a,t)=>{us({top:0,...a},t)},hs={renderNode:{[w.BLOCKS.EMBEDDED_ASSET]:a=>{const{title:t,description:r,file:n}=a.data.target.fields;return e("figure",{children:[e("img",{src:`${n.url}?fm=jpg&q=90&w=640&h=480`,alt:t}),e("figcaption",{children:r})]})}}},ps=({body:a})=>e("article",{className:"prose prose-lg prose-indigo",children:te.documentToReactComponents(a,hs)}),gs=()=>e("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8 animate-pulse",children:[e("div",{class:"h-8 bg-gray-200 rounded w-2/3"}),e("div",{className:"flex space-x-3 mt-4",children:[e("div",{className:"flex-shrink-0",children:e("div",{class:"rounded-full bg-gray-200 h-10 w-10 mr-1"})}),e("div",{className:"min-w-0 flex flex-col justify-between flex-1",children:[e("div",{class:"h-4 bg-gray-200 rounded w-1/3"}),e("div",{class:"h-4 bg-gray-200 rounded w-1/4"})]})]}),e("div",{className:"mt-8",children:e("div",{class:"flex-1 space-y-8 py-1",children:[e("div",{class:"h-8 bg-gray-200 rounded w-3/4"}),e("div",{class:"h-48 bg-gray-200 rounded w-full"}),e("div",{class:"h-24 bg-gray-200 rounded w-3/4"}),e("div",{class:"h-36 bg-gray-200 rounded w-full"}),e("div",{class:"h-12 bg-gray-200 rounded w-1/4"})]})})]}),fs=({articleSlug:a})=>{const[t,r]=m();if(Yt(async s=>{const i=await Bt($e.loadArticleAsync(a),700);s()&&r(i)},E.none,[a]),ms(),!t)return e(Qe.div,{initial:{opacity:0},animate:{opacity:1},children:e(gs,{})},"loading");const n=[{name:t==null?void 0:t.pillar,href:`#/wellbeing-hub/${t==null?void 0:t.pillar.toLowerCase()}`}];return e(d,{children:[e(ds,{pages:n,homePageUrl:"#/wellbeing-hub"}),e(Qe.div,{initial:{opacity:0},animate:{opacity:1},children:e("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8",children:[e("h2",{className:"text-4xl leading-10 font-extrabold tracking-tight",children:t.title}),e("div",{className:"flex space-x-3 mt-4",children:[e("div",{className:"flex-shrink-0",children:e("img",{className:"h-10 w-10 rounded-full",src:`${t.author.fields.avatar.fields.file.url}?fm=jpg&q=90&w=640&h=480`,alt:""})}),e("div",{className:"min-w-0 flex-1",children:[e("p",{className:"text-sm font-medium text-gray-900",children:t.author.fields.name}),e("p",{className:"text-sm text-gray-500",children:H(new Date(t.originalPublicationDate),"dd MMM yyyy")})]})]}),e("div",{className:"mt-8",children:e(ps,{body:t.articleBody})})]})},"article")]})},bs=()=>{const a=ee.useContext(G),t=Lt.isPba();return e(d,{children:[!t&&e(Oe,{user:a}),e(xt,{history:Qt(vt()),children:[e(R,{path:"/wellbeing-hub",component:ut}),e(R,{path:"/wellbeing-hub/:pillarFilter",component:ut}),e(R,{path:"/wellbeing-hub/articles/:articleSlug",component:fs})]})]})},Kt=a=>{analytics.identify(a.basicProfile.profileId,{profile:a.basicProfile.profileId,account:a.basicProfile.accountId,partner:a.basicProfile.partnerId,benefitsRole:a.benefitsProfile.role})},ys=a=>{const t=`${a.eventName} ${a.eventAction}`,r={...a};delete r.eventName,delete r.eventAction,analytics.track(t,r)},ws=a=>()=>{},Ds={identifyUser:Kt,trackEvent:ys,handleTrackingOnClick:ws},xs=Na(()=>Pa(()=>import("./index-24c5848d.js"),["assets/index-24c5848d.js","assets/vendor-184a22d2.js","assets/lodash-5d893f8c.js","assets/framer-motion-d04c7e95.js","assets/date-fns-9238277e.js","assets/oidc-client-6f6e47c2.js","assets/datadog-1ddc8e11.js"])),vs=()=>{const[a,t]=m({user:u}),[r,n]=m(!1),[s,i]=m(!1);if(typeof window<"u"&&window.location.pathname.replace("/benefits/app","")!=="/")return window.location.pathname="/benefits/app/",null;o(()=>{(async()=>{if(await N.fetchConfigAsync(),Ie.extractRedirectPath(),Ie.extractMode(),S.tokenExists(window.location.search)){await S.signOut(),await S.initFromToken(window.location.pathname,window.location.search);return}i(!0)})();const h=[B.signedInUser$.subscribe(p=>{t({user:p}),_(p)&&Kt(p.value)}),Ct.authState$.subscribe(async({authStatus:p,jwt:f})=>{_(f)&&p===k.Authenticated?(await S.refreshIfExpired(),v.setParameters(N.getConfig().apiBaseUrl,f.value),kt.setParameters(N.getConfig().apolloBaseUrl,f.value),Ua.setParameters(N.getConfig().apiV2BaseUrl,f.value),tt.extractProfileId(f.value),await tt.loadSignedInUserProfileAsync(),n(p===k.Authenticated)):n(!1)})];return()=>{h.map(p=>p.unsubscribe())}},[]);const l=h=>{switch(h.url.replace(/^\/+/,"").split("/")[0]){case"":U.update({appView:"employee",navTab:"benefits"});break;case"admin":U.update({appView:"admin",navTab:"benefits"});break;case"wellbeing-hub":U.update({appView:"employee",navTab:"wellbeing"});break}};return o(()=>{s&&r&&g.trackAppLoadedAsync()},[s,r]),s?e("div",{id:"preact_root",className:"min-h-screen",children:e(Tt.Provider,{value:r,children:e(G.Provider,{value:a.user,children:e(xt,{history:Qt(vt()),onChange:l,children:[e(re,{path:"/",component:ct}),e(re,{path:"/categories/:category",component:ct}),e(re,{path:"/wellbeing-hub/:subroute*",component:bs}),e(re,{path:"/admin/:subroute*",component:xs}),e(R,{path:"/oidc/:mode*",component:Wa}),e(R,{path:"/b2c/:fragment",component:Ga}),e(R,{path:"/workplace-link",component:oe}),e(R,{path:"state=:fragment*",component:oe}),e(R,{path:"/code*",component:oe}),e(qt,{default:!0})]})})})}):e(ve,{})};typeof window<"u"&&(Aa({storage:window.sessionStorage,key:"benefits-client-v2"}),Ca(),Sa.polyfill(),_a());Ia(e(La,{children:e(Ta,{fallback:qt,children:e(vs,{})})}),document.body);export{Qt as A,v as B,Vt as D,Oe as H,Jr as I,Oa as L,zt as M,Re as P,rr as U,Ce as a,g as b,O as c,G as d,Ua as e,$e as f,ge as g,Ja as h,pe as i,I as j,Yr as k,Vs as l,Ds as m,Bs as n,Ms as o,Os as p,Qr as q,Rs as r,$s as s,Us as t,ar as u,M as v,Bt as w,St as x,sr as y,Nt as z};
|