1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[343],{25:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},514:(e,t,r)=>{"use strict";r.d(t,{UU:()=>rU});let n=!(typeof navigator>"u")&&"ReactNative"===navigator.product,i={timeout:n?6e4:12e4},o=function(e){let t={...i,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(i.timeout):{connect:r,socket:r}}(t.timeout),t.query){let{url:e,searchParams:r}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let r=e.slice(0,t),i=e.slice(t+1);if(!n)return{url:r,searchParams:new URLSearchParams(i)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let o=new URLSearchParams;for(let e of i.split("&")){let[t,r]=e.split("=");t&&o.append(s(t),s(r||""))}return{url:r,searchParams:o}}(t.url);for(let[n,i]of Object.entries(t.query)){if(void 0!==i)if(Array.isArray(i))for(let e of i)r.append(n,e);else r.append(n,i);let o=r.toString();o&&(t.url=`${e}?${o}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function s(e){return decodeURIComponent(e.replace(/\+/g," "))}let a=/^https?:\/\//i,u=function(e){if(!a.test(e.url))throw Error(`"${e.url}" is not a valid URL`)};function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}let l=["request","response","progress","error","abort"],f=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var h,p,d=c(function(){if(p)return h;p=1;var e=function(e){return e.replace(/^\s+|\s+$/g,"")};return h=function(t){if(!t)return{};for(var r=Object.create(null),n=e(t).split("\n"),i=0;i<n.length;i++){var o,s=n[i],a=s.indexOf(":"),u=e(s.slice(0,a)).toLowerCase(),c=e(s.slice(a+1));typeof r[u]>"u"?r[u]=c:(o=r[u],"[object Array]"===Object.prototype.toString.call(o))?r[u].push(c):r[u]=[r[u],c]}return r}}());class g{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#r;#n={};#i;#o={};#s;open(e,t,r){this.#e=e,this.#t=t,this.#r="",this.readyState=1,this.onreadystatechange?.(),this.#i=void 0}abort(){this.#i&&this.#i.abort()}getAllResponseHeaders(){return this.#r}setRequestHeader(e,t){this.#n[e]=t}setInit(e,t=!0){this.#o=e,this.#s=t}send(e){let t="arraybuffer"!==this.responseType,r={...this.#o,method:this.#e,headers:this.#n,body:e};"function"==typeof AbortController&&this.#s&&(this.#i=new AbortController,"u">typeof EventTarget&&this.#i.signal instanceof EventTarget&&(r.signal=this.#i.signal)),"u">typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,r).then(e=>(e.headers.forEach((e,t)=>{this.#r+=`${t}: ${e}\r 2`}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,this.onreadystatechange?.(),t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange?.()}).catch(e=>{"AbortError"!==e.name?this.onerror?.(e):this.onabort?.()})}}let y="function"==typeof XMLHttpRequest?"xhr":"fetch",v="xhr"===y?XMLHttpRequest:g,m=(e,t)=>{let r=e.options,n=e.applyMiddleware("finalizeOptions",r),i={},o=e.applyMiddleware("interceptRequest",void 0,{adapter:y,context:e});if(o){let e=setTimeout(t,0,null,o);return{abort:()=>clearTimeout(e)}}let s=new v;s instanceof g&&"object"==typeof n.fetch&&s.setInit(n.fetch,n.useAbortSignal??!0);let a=n.headers,u=n.timeout,c=!1,l=!1,f=!1;if(s.onerror=e=>{m(s instanceof g?e instanceof Error?e:Error(`Request error while attempting to reach is ${n.url}`,{cause:e}):Error(`Request error while attempting to reach is ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.ontimeout=e=>{m(Error(`Request timeout while attempting to reach ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.onabort=()=>{p(!0),c=!0},s.onreadystatechange=function(){u&&(p(),i.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),u.socket)),!c&&s&&4===s.readyState&&0!==s.status&&function(){if(!(c||l||f)){if(0===s.status)return m(Error("Unknown XHR error"));p(),l=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:d(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,a&&s.setRequestHeader)for(let e in a)a.hasOwnProperty(e)&&s.setRequestHeader(e,a[e]);return n.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:y,request:s,context:e}),s.send(n.body||null),u&&(i.connect=setTimeout(()=>h("ETIMEDOUT"),u.connect)),{abort:function(){c=!0,s&&s.abort()}};function h(t){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${n.url}`:`Connection timed out on request to ${n.url}`);r.code=t,e.channels.error.publish(r)}function p(e){(e||c||s&&s.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function m(e){if(l)return;p(!0),l=!0,s=null;let r=e||Error(`Network error while attempting to reach ${n.url}`);r.isNetworkError=!0,r.request=n,t(r)}},b=(e=[],t=m)=>(function e(t,r){let n=[],i=f.reduce((e,t)=>
2(e[t]=e[t]||[],e),{processOptions:[o],validateOptions:[u]});function s(e){let t,n=l.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),o=function(e,t,...r){let n="onError"===e,o=t;for(let t=0;t<i[e].length&&(o=(0,i[e][t])(o,...r),!n||o);t++);return o},s=o("processOptions",e);o("validateOptions",s);let a={options:s,channels:n,applyMiddleware:o},u=n.request.subscribe(e=>{t=r(e,(t,r)=>((e,t,r)=>{let i=e,s=t;if(!i)try{s=o("onResponse",t,r)}catch(e){s=null,i=e}(i=i&&o("onError",i,r))?n.error.publish(i):s&&n.response.publish(s)})(t,r,e))});n.abort.subscribe(()=>{u(),t&&t.abort()});let c=o("onReturn",n,a);return c===n&&n.request.publish(a),c}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&i.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return f.forEach(t=>{e[t]&&i[t].push(e[t])}),n.push(e),s},s.clone=()=>e(n,r),t.forEach(s.use),s})(e,t);var w=r(9742),_=r(8220).Buffer,x,C,E,O,S,A={exports:{}};S||(S=1,function(e,t){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!e&&"u">typeof w&&"env"in w&&(e=w.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),r=!1,t.destroy=()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(O?E:(O=1,E=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;let r=Number(new Date);a.diff=r-(n||r),a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(a,t),e.splice(i,1),i--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,r){let n=t(this.namespace+(typeof r>"u"?":":r)+e);return n.log=this.log,n}function n(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(
2Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=function(){if(C)return x;function e(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}return C=1,x=function(t,r){r=r||{};var n,i,o=typeof t;if("string"===o&&t.length>0){var s=t;if(!((s=String(s)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(a){var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return 6048e5*u;case"days":case"day":case"d":return 864e5*u;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*u;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*u;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u}}}return}if("number"===o&&isFinite(t))return r.long?(i=Math.abs(t))>=864e5?e(t,i,864e5,"day"):i>=36e5?e(t,i,36e5,"hour"):i>=6e4?e(t,i,6e4,"minute"):i>=1e3?e(t,i,1e3,"second"):t+" ms":(n=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":n>=36e5?Math.round(t/36e5)+"h":n>=6e4?Math.round(t/6e4)+"m":n>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}))(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(A,A.exports)),A.exports,Object.prototype.hasOwnProperty;let P=typeof _>"u"?()=>!1:e=>_.isBuffer(e);function T(e){return"[object Object]"===Object.prototype.toString.call(e)}let R=["boolean","string","number"],M={};"u">typeof globalThis?M=globalThis:"u">typeof window?M=window:"u">typeof global?M=global:"u">typeof self&&(M=self);var j=M;let I=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new t((t,i)=>{let o=n.options.cancelToken;o&&o.promise.then(e=>{r.abort.publish(e),i(e)}),r.error.subscribe(i),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){i(e)}},0)})}};class k{__CANCEL__=!0;message;constructor(e){this.message=e}toString(){return"Cancel"+(this.message?`: ${this.message}`:"")}}class F{promise;reason;constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new k(e),t(this.reason))})}static source=()=>{let e;return{token:new F(t=>{e=t}),cancel:e}}}I.Cancel=k,I.CancelToken=F,I.isCancel=e=>!(!e||!e?.__CANCEL__);var q=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);function z(e){return 100*Math.pow(2,e)+100*Math.random()}let B=(e={})=>(e=>{let t=e.maxRetries||5,r=e.retryDelay||z,n=e.shouldRetry;return{onError:(e,i)=>{var o;let s=i.options,a=s.maxRetries||t,u=s.retryDelay||r,c=s.shouldRetry||n,l=s.attemptNumber||0;if(null!==(o=s.body)&&"object"==typeof o&&"function"==typeof o.pipe||!c(e,l,s)||l>=a)return e;let f=Object.assign({},i,{options:Object.assign({},s,{attemptNumber:l+1})});return setTimeout(()=>i.channels.request.publish(f),u(l)),null}}})({shouldRetry:q,...e});B.shouldRetry=q;var U=r(4902);function D(e){return"function"==typeof e}function $(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var N=$(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function L(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Y=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,n,i,o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=(0,U.__values)(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var u=this.initialTeardown;
2if(D(u))try{u()}catch(e){i=e instanceof N?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var l=(0,U.__values)(c),f=l.next();!f.done;f=l.next()){var h=f.value;try{W(h)}catch(e){i=null!=i?i:[],e instanceof N?i=(0,U.__spreadArray)((0,U.__spreadArray)([],(0,U.__read)(i)),(0,U.__read)(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(i)throw new N(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)W(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&L(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&L(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),H=Y.EMPTY;function X(e){return e instanceof Y||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function W(e){D(e)?e():e.unsubscribe()}var V={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},G={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=G.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,U.__spreadArray)([e,t],(0,U.__read)(r))):setTimeout.apply(void 0,(0,U.__spreadArray)([e,t],(0,U.__read)(r)))},clearTimeout:function(e){var t=G.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function J(e){G.setTimeout(function(){var t=V.onUnhandledError;if(t)t(e);else throw e})}function Z(){}var K=Q("C",void 0,void 0);function Q(e,t,r){return{kind:e,value:t,error:r}}var ee=null;function et(e){if(V.useDeprecatedSynchronousErrorHandling){var t=!ee;if(t&&(ee={errorThrown:!1,error:null}),e(),t){var r=ee,n=r.errorThrown,i=r.error;if(ee=null,n)throw i}}else e()}var er=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,X(t)&&t.add(r)):r.destination=ec,r}return(0,U.__extends)(t,e),t.create=function(e,t,r){return new es(e,t,r)},t.prototype.next=function(e){this.isStopped?eu(Q("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?eu(Q("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?eu(K,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Y),en=Function.prototype.bind;function ei(e,t){return en.call(e,t)}var eo=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ea(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ea(e)}else ea(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ea(e)}},e}(),es=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;return D(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&V.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&ei(t.next,o),error:t.error&&ei(t.error,o),complete:t.complete&&ei(t.complete,o)}):i=t,s.destination=new eo(i),s}return(0,U.__extends)(t,e),t}(er);function ea(e){if(V.useDeprecatedSynchronousErrorHandling)V.useDeprecatedSynchronousErrorHandling&&ee&&(ee.errorThrown=!0,ee.error=e);else J(e)}function eu(e,t){var r=V.onStoppedNotification;r&&G.setTimeout(function(){return r(e,t)})}var ec={closed:!0,next:Z,error:function(e){throw e},complete:Z},el="function"==typeof Symbol&&Symbol.observable||"@@observable";function ef(e){return e}function eh(e){return 0===e.length?ef:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var ep=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this,i=!function(e){return e&&e instanceof er||e&&D(e.next)&&D(e.error)&&D(e.complete)&&X(e)}(e)?new es(e,t,r):e;return et(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=ed(t))(function(t,n){var i=new es({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[el]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eh(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ed(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function ed(e){var t;return null!=(t=null!=e?e:V.Promise)?t:Promise}var eg=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function ey(e){return D(null==e?void 0:e.then)}function ev(e){return Symbol.asyncIterator&&D(null==e?void 0:e[Symbol.asyncIterator])}function em(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
2d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var eb="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ew(e){return D(null==e?void 0:e[eb])}function e_(e){return(0,U.__asyncGenerator)(this,arguments,function(){var t,r,n;return(0,U.__generator)(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,U.__await)(t.read())];case 3:if(n=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,U.__await)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,U.__await)(n)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function ex(e){return D(null==e?void 0:e.getReader)}function eC(e){if(e instanceof ep)return e;if(null!=e){var t,r,n,i;if(D(e[el])){return t=e,new ep(function(e){var r=t[el]();if(D(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if(eg(e)){return r=e,new ep(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if(ey(e)){return n=e,new ep(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,J)})}if(ev(e))return eE(e);if(ew(e)){return i=e,new ep(function(e){var t,r;try{for(var n=(0,U.__values)(i),o=n.next();!o.done;o=n.next()){var s=o.value;if(e.next(s),e.closed)return}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.complete()})}if(ex(e))return eE(e_(e))}throw em(e)}function eE(e){return new ep(function(t){(function(e,t){var r,n,i,o;return(0,U.__awaiter)(this,void 0,void 0,function(){var s;return(0,U.__generator)(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=(0,U.__asyncValues)(e),a.label=1;case 1:return[4,r.next()];case 2:if((n=a.sent()).done)return[3,4];if(s=n.value,t.next(s),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(n&&!n.done&&(o=r.return)))return[3,8];return[4,o.call(r)];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function eO(e){return new ep(function(t){eC(e()).subscribe(t)})}function eS(e){return e[e.length-1]}function eA(e){var t;return(t=eS(e))&&D(t.schedule)?e.pop():void 0}function eP(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(o),!i)return o}function eT(e){return function(t){if(D(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}function eR(e,t,r,n,i){return new eM(e,t,r,n,i)}var eM=function(e){function t(t,r,n,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,U.__extends)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(er);function ej(e,t){return void 0===t&&(t=0),eT(function(r,n){r.subscribe(eR(n,function(r){return eP(n,e,function(){return n.next(r)},t)},function(){return eP(n,e,function(){return n.complete()},t)},function(r){return eP(n,e,function(){return n.error(r)},t)}))})}function eI(e,t){return void 0===t&&(t=0),eT(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function ek(e,t){if(!e)throw Error("Iterable cannot be null");return new ep(function(r){eP(r,t,function(){var n=e[Symbol.asyncIterator]();eP(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function eF(e,t){return t?function(e,t){if(null!=e){if(D(e[el]))return eC(e).pipe(eI(t),ej(t));if(eg(e))return new ep(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[
2n++]),r.closed||this.schedule())})});if(ey(e))return eC(e).pipe(eI(t),ej(t));if(ev(e))return ek(e,t);if(ew(e))return new ep(function(r){var n;return eP(r,t,function(){n=e[eb](),eP(r,t,function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){r.error(e);return}i?r.complete():r.next(t)},0,!0)}),function(){return D(null==n?void 0:n.return)&&n.return()}});if(ex(e))return ek(e_(e),t)}throw em(e)}(e,t):eC(e)}function eq(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=eA(e);return eF(e,r)}function ez(e,t){return eT(function(r,n){var i=0;r.subscribe(eR(n,function(r){n.next(e.call(t,r,i++))}))})}function eB(e,t,r){return(void 0===r&&(r=1/0),D(t))?eB(function(r,n){return ez(function(e,i){return t(r,e,n,i)})(eC(e(r,n)))},r):("number"==typeof t&&(r=t),eT(function(t,n){var i,o,s,a,u,c,l,f,h;return i=r,s=[],a=0,u=0,c=!1,l=function(){!c||s.length||a||n.complete()},f=function(e){return a<i?h(e):s.push(e)},h=function(t){a++;var r=!1;eC(e(t,u++)).subscribe(eR(n,function(e){o?f(e):n.next(e)},function(){r=!0},void 0,function(){if(r)try{for(a--;s.length&&a<i;)!function(){var e=s.shift();h(e)}();l()}catch(e){n.error(e)}}))},t.subscribe(eR(n,f,function(){c=!0,l()})),function(){}}))}var eU=$(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function eD(e,t){var r="object"==typeof t;return new Promise(function(n,i){var o,s=!1;e.subscribe({next:function(e){o=e,s=!0},error:i,complete:function(){s?n(o):r?n(t.defaultValue):i(new eU)}})})}var e$=$(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),eN=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,U.__extends)(t,e),t.prototype.lift=function(e){var t=new eL(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new e$},t.prototype.next=function(e){var t=this;et(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,U.__values)(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;et(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;et(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,i=this.observers;return r||n?H:(this.currentObservers=null,i.push(e),new Y(function(){t.currentObservers=null,L(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new ep;return e.source=this,e},t.create=function(e,t){return new eL(e,t)},t}(ep),eL=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,U.__extends)(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:H},t}
2(eN),eY={now:function(){return(eY.delegate||Date).now()},delegate:void 0},eH=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=eY);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return(0,U.__extends)(t,e),t.prototype.next=function(t){var r=this.isStopped,n=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(n.push(t),i||n.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){for(var o=t.now(),s=0,a=1;a<r.length&&r[a]<=o;a+=2)s=a;s&&r.splice(0,s+1)}},t}(eN);function eX(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new eN}:t,n=e.resetOnError,i=void 0===n||n,o=e.resetOnComplete,s=void 0===o||o,a=e.resetOnRefCountZero,u=void 0===a||a;return function(e){var t,n,o,a=0,c=!1,l=!1,f=function(){null==n||n.unsubscribe(),n=void 0},h=function(){f(),t=o=void 0,c=l=!1},p=function(){var e=t;h(),null==e||e.unsubscribe()};return eT(function(e,d){a++,l||c||f();var g=o=null!=o?o:r();d.add(function(){0!=--a||l||c||(n=eW(p,u))}),g.subscribe(d),!t&&a>0&&(t=new es({next:function(e){return g.next(e)},error:function(e){l=!0,f(),n=eW(h,i,e),g.error(e)},complete:function(){c=!0,f(),n=eW(h,s),g.complete()}}),eC(e).subscribe(t))})(e)}}function eW(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(!0===t)return void e();if(!1!==t){var i=new es({next:function(){i.unsubscribe(),e()}});return eC(t.apply(void 0,(0,U.__spreadArray)([],(0,U.__read)(r)))).subscribe(i)}}function eV(e){return eT(function(t,r){var n,i=null,o=!1;i=t.subscribe(eR(r,void 0,void 0,function(s){n=eC(e(s,eV(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):o=!0})),o&&(i.unsubscribe(),i=null,n.subscribe(r))})}function eG(e){return void 0===e&&(e=1/0),eB(ef,e)}function eJ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eG(1)(eF(e,eA(e)))}var eZ=function(e){function t(t,r){return e.call(this)||this}return(0,U.__extends)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(Y),eK={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=eK.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,U.__spreadArray)([e,t],(0,U.__read)(r))):setInterval.apply(void 0,(0,U.__spreadArray)([e,t],(0,U.__read)(r)))},clearInterval:function(e){var t=eK.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},eQ=function(e){function t(t,r){var n=e.call(this,t,r)||this;
2return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,U.__extends)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),eK.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&eK.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,L(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(eZ),e0=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=eY.now,e}(),e1=new(function(e){function t(t,r){void 0===r&&(r=e0.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,U.__extends)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(e0))(eQ);function e2(e,t){var r=D(e)?e:function(){return e},n=function(e){return e.error(r())};return new ep(t?function(e){return t.schedule(n,0,e)}:n)}function e3(e){return eT(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}var e5=new ep(function(e){return e.complete()}),e6=r(8050),e8=Array.isArray,e4=Array.isArray;function e9(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=D(eS(e))?e.pop():void 0;return r?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eh(e)}(e9.apply(void 0,(0,U.__spreadArray)([],(0,U.__read)(e))),ez(function(e){return e4(e)?r.apply(void 0,(0,U.__spreadArray)([],(0,U.__read)(e))):r(e)})):eT(function(t,r){var n,i,o;(n=(0,U.__spreadArray)([t],(0,U.__read)(1===e.length&&e8(e[0])?e[0]:e)),void 0===o&&(o=ef),function(e){var t,r,s;t=void 0,r=function(){for(var t=n.length,r=Array(t),s=t,a=t,u=function(t){var u,c,l;u=i,c=function(){var u=eF(n[t],i),c=!1;u.subscribe(eR(e,function(n){r[t]=n,!c&&(c=!0,a--),a||e.next(o(r.slice()))},function(){--s||e.complete()}))},l=e,u?eP(l,u,c):c()},c=0;c<t;c++)u(c)},s=e,t?eP(s,t,r):r()})(r)})}function e7(e,t){return eT(function(r,n){var i=0;r.subscribe(eR(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}class te extends Error{response;statusCode=400;responseBody;details;constructor(e){let t=tr(e);super(t.message),Object.assign(this,t)}}class tt extends Error{response;statusCode=500;responseBody;details;constructor(e){let t=tr(e);super(t.message),Object.assign(this,t)}}function tr(e){var t,r,n;let i=e.body,o={response:e,statusCode:e.statusCode,responseBody:(t=i,-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(t,null,2):t),message:"",details:void 0};if(i.error&&i.message)return o.message=`${i.error} - ${i.message}`,o;if(tn(r=i)&&tn(r.error)&&"mutationError"===r.error.type&&"string"==typeof r.error.description||tn(n=i)&&tn(n.error)&&"actionError"===n.error.type&&"string"==typeof n.error.description){let e=i.error.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),r=t.length?`: 3- ${t.join(` 4- `)}`:"";return e.length>5&&(r+=` 5...and ${e.length-5} more`),o.message=`${i.error.description}${r}`,o.details=i.error,o}return i.error&&i.error.description?(o.message=i.error.description,o.details=i.error):o.message=i.error||i.message||function(e){let t=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${t}`}(e),o}function tn(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}
5class ti extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;let t=new URL(`https://sanity.io/manage/project/${e}/api`);if("u">typeof location){let{origin:e}=location;t.searchParams.set("cors","add"),t.searchParams.set("origin",e),this.addOriginUrl=t,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${t}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${t}`}}let to={onResponse:e=>{if(e.statusCode>=500)throw new tt(e);if(e.statusCode>=400)throw new te(e);return e}};function ts(e){return b([B({shouldRetry:ta}),...e,function(){let e={};return{onResponse:t=>{let r=t.headers["x-sanity-warning"];for(let t of Array.isArray(r)?r:[r])!t||e[t]||(e[t]=!0,console.warn(t));return t}}}(),{processOptions:e=>{let t=e.body;return!t||"function"==typeof t.pipe||P(t)||-1===R.indexOf(typeof t)&&!Array.isArray(t)&&!function(e){if(!1===T(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!1!==T(r)&&!1!==r.hasOwnProperty("isPrototypeOf")}(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}},{onResponse:e=>{let t=e.headers["content-type"]||"",r=-1!==t.indexOf("application/json");return e.body&&t&&r?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},to,function(e={}){let t=e.implementation||j.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:ep})])}function ta(e,t,r){if(0===r.maxRetries)return!1;let n="GET"===r.method||"HEAD"===r.method,i=(r.uri||r.url).startsWith("/data/query"),o=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!n||!!i)&&!!o||B.shouldRetry(e,t,r)}function tu(e){return"https://www.sanity.io/help/"+e}let tc=["image","file"],tl=["before","after","replace"],tf=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},th=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},tp=e=>{if(-1===tc.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${tc.join(", ")}`)},td=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},tg=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},ty=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);tg(e,t._id)},tv=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===tl.indexOf(e)){let e=tl.map(e=>`"${e}"`).join(", ");throw Error(`${n} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw Error(`${n} takes an "items"-argument which must be an array`)},tm=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},tb=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},tw=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":if(2!==r.split(".").length)throw Error('Dataset resource ID must be in the format "project.dataset"');return;case"dashboard":case"media-library":case"canvas":return;default:throw Error(`Unsupported resource type: ${t.toString()}`)}},t_=(e,t)=>
5{if(t["~experimental_resource"])throw Error(`\`${e}\` does not support resource-based operations`)},tx=e=>(function(e){let t=!1,r;return(...n)=>(t||(r=e(...n),t=!0),r)})((...t)=>console.warn(e.join(" "),...t)),tC=tx(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),tE=tx(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),tO=tx(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),tS=tx(["The `previewDrafts` perspective has been renamed to `drafts` and will be removed in a future API version"]),tA=tx(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${tu("js-client-browser-token")} for more information and how to hide this warning.`]),tP=tx(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),tT=tx(["Using the Sanity client without specifying an API version is deprecated.",`See ${tu("js-client-api-version")}`]),tR=(tx(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),{apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}}),tM=["localhost","127.0.0.1","0.0.0.0"],tj=e=>-1!==tM.indexOf(e);function tI(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}let tk=(e,t)=>{let r={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||tR.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};r.apiVersion||tT();let n={...tR,...r},i=n.useProjectHostname&&!n["~experimental_resource"];if(typeof Promise>"u"){let e=tu("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(i&&!n.projectId)throw Error("Configuration must contain `projectId`");if(n["~experimental_resource"]&&tw(n),"u">typeof n.perspective&&tI(n.perspective),"encodeSourceMap"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");if("boolean"!=typeof n.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${n.stega.enabled}`);if(n.stega.enabled&&void 0===n.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(n.stega.enabled&&"string"!=typeof n.stega.studioUrl&&"function"!=typeof n.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${n.stega.studioUrl}`);let o="u">typeof window&&window.location&&window.location.hostname,s=o&&tj(window.location.hostname),a=!!n.token;n.withCredentials&&a&&(tP(),n.withCredentials=!1),o&&s&&a&&!0!==n.ignoreBrowserTokenWarning?tA():typeof n.useCdn>"u"&&tE(),i&&th(n.projectId),n.dataset&&tf(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?tb(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion=`${n.apiVersion}`.replace(/^v/,""),n.isDefaultApi=n.apiHost===tR.apiHost,!0===n.useCdn&&n.withCredentials&&tC(),n.useCdn=!1!==n.useCdn&&!n.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(n.apiVersion);let u=n.apiHost.split("://",2),c=u[0],l=u[1],f=n.isDefaultApi?"apicdn.sanity.io":l;return i?(n.url=`${c}://${n.projectId}.${l}/v${n.apiVersion}`,n.cdnUrl=`${c}://${n.projectId}.${f}/v${n.apiVersion}
5`):(n.url=`${n.apiHost}/v${n.apiVersion}`,n.cdnUrl=n.url),n};class tF extends Error{name="ConnectionFailedError"}class tq extends Error{name="DisconnectError";reason;constructor(e,t,r={}){super(e,r),this.reason=t}}class tz extends Error{name="ChannelError";data;constructor(e,t){super(e),this.data=t}}class tB extends Error{name="MessageError";data;constructor(e,t,r={}){super(e,r),this.data=t}}class tU extends Error{name="MessageParseError"}let tD=["channelError","disconnect"];function t$(e,t){return eO(()=>{let t=e();return t&&(t instanceof ep||D(t.lift)&&D(t.subscribe))?t:eq(t)}).pipe(eB(e=>{var r,n;return r=e,n=t,new ep(e=>{let t=n.includes("open"),i=n.includes("reconnect");function o(t){if("data"in t){let[r,n]=tN(t);e.error(r?new tU("Unable to parse EventSource error message",{cause:n}):new tB((n?.data).message,n));return}r.readyState===r.CLOSED?e.error(new tF("EventSource connection failed")):i&&e.next({type:"reconnect"})}function s(){e.next({type:"open"})}function a(t){var r;let[n,i]=tN(t);return n?void e.error(new tU("Unable to parse EventSource message",{cause:n})):"channelError"===t.type?void e.error(new tz((r=i?.data).error?r.error.description?r.error.description:"string"==typeof r.error?r.error:JSON.stringify(r.error,null,2):r.message||"Unknown listener error",i.data)):"disconnect"===t.type?void e.error(new tq(`Server disconnected client: ${i.data?.reason||"unknown error"}`)):void e.next({type:t.type,id:t.lastEventId,...i.data?{data:i.data}:{}})}r.addEventListener("error",o),t&&r.addEventListener("open",s);let u=[...new Set([...tD,...n])].filter(e=>"error"!==e&&"open"!==e&&"reconnect"!==e);return u.forEach(e=>r.addEventListener(e,a)),()=>{r.removeEventListener("error",o),t&&r.removeEventListener("open",s),u.forEach(e=>r.removeEventListener(e,a)),r.close()}})}))}function tN(e){try{let t="string"==typeof e.data&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...!function(e){for(let t in e)return!1;return!0}(t)?{data:t}:{}}]}catch(e){return[e,null]}}function tL(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(` 6`);throw Error(`Unknown selection - must be one of: 7 8${t}`)}class tY{selection;operations;constructor(e,t={}){this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return td("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return tv(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,r,n){let i=t<0?t-1:t,o=typeof r>"u"||-1===r?-1:Math.max(0,t+r),s=`${e}[${i}:${i<0&&o>=0?"":o}]`;return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...tL(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,r=!0){return td(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}class tH extends tY{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new tH(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}class tX extends tY{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new tX(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}let tW={returnDocuments:!1};class tV{operations;trxId;constructor(e=[],t){this.operations=e,this.trxId=t}create(e){return td("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return td(t,e),ty(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return td(t,e),ty(t,e),this._add({[t]:e})}delete(e){return tg("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class tG extends tV{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new tG([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},tW,e||{}))}patch(e,t){let r="function"==typeof t,n="string"!=typeof e&&e instanceof tX,i="object"==typeof e&&("query"in e||"id"in e);if(n)return this._add({patch:e.serialize()});if(r){let r=t(new tX(e,{},this.#a));if(!(r instanceof tX))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}if(i){let r=new tX(e,t||{},this.#a);return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}class tJ extends tV{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new tJ([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},tW,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof tH)return this._add({patch:e.serialize()});if(r){let r=t(new tH(e,{},this.#a));if(!(r instanceof tH))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}let tZ=({query:e,params:t={},options:r={}})=>{let n=new URLSearchParams,{tag:i,includeMutations:o,returnQuery:s,...a}=r;for(let[r,o]of(i&&n.append("tag",i),n.append("query",e),Object.entries(t)))n.append(`$${r}`,JSON.stringify(o));for(let[e,t]of Object.entries(a))t&&n.append(e,`${t}`);return!1===s&&n.append("returnQuery","false"),!1===o&&n.append("includeMutations","fal
8se"),`?${n}`},tK=(e,t)=>!1===e?void 0:typeof e>"u"?t:e,tQ=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:tK(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),t0=e=>"response"===e.type,t1=e=>e.body,t2=(e,t)=>e.reduce((e,r)=>(e[t(r)]=r,e),Object.create(null));function t3(e,t,n,i,o={},s={}){let a="stega"in s?{...n||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:n,u=a.enabled?(0,e6.Q)(o):o,c=!1===s.filterResponse?e=>e:e=>e.result,{cache:l,next:f,...h}={useAbortSignal:"u">typeof s.signal,resultSourceMap:a.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},p=rt(e,t,"query",{query:i,params:u},"u">typeof l||"u">typeof f?{...h,fetch:{cache:l,next:f}}:h);return a.enabled?p.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e9.apply(void 0,(0,U.__spreadArray)([],(0,U.__read)(e)))}(eF(r.e(244).then(r.bind(r,4244)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),ez(([e,t])=>{let r=t(e.result,e.resultSourceMap,a);return c({...e,result:r})})):p.pipe(ez(c))}function t5(e,t,r,n={}){let i={uri:rh(e,"doc",r),json:!0,tag:n.tag,signal:n.signal};return rl(e,t,i).pipe(e7(t0),ez(e=>e.body.documents&&e.body.documents[0]))}function t6(e,t,r,n={}){let i={uri:rh(e,"doc",r.join(",")),json:!0,tag:n.tag,signal:n.signal};return rl(e,t,i).pipe(e7(t0),ez(e=>{let t=t2(e.body.documents||[],e=>e._id);return r.map(e=>t[e]||null)}))}function t8(e,t,r,n){return ty("createIfNotExists",r),rr(e,t,r,"createIfNotExists",n)}function t4(e,t,r,n){return ty("createOrReplace",r),rr(e,t,r,"createOrReplace",n)}function t9(e,t,r,n){return rt(e,t,"mutate",{mutations:[{delete:tL(r)}]},n)}function t7(e,t,r,n){let i;return rt(e,t,"mutate",{mutations:Array.isArray(i=r instanceof tX||r instanceof tH?{patch:r.serialize()}:r instanceof tG||r instanceof tJ?r.serialize():r)?i:[i],transactionId:n&&n.transactionId||void 0},n)}function re(e,t,r,n){let i=Array.isArray(r)?r:[r],o=n&&n.transactionId||void 0;return rt(e,t,"actions",{actions:i,transactionId:o,skipCrossDatasetReferenceValidation:n&&n.skipCrossDatasetReferenceValidation||void 0,dryRun:n&&n.dryRun||void 0},n)}function rt(e,t,r,n,i={}){let o="mutate"===r,s="actions"===r,a=o||s?"":tZ(n),u=!o&&!s&&a.length<11264,c=u?a:"",l=i.returnFirst,{timeout:f,token:h,tag:p,headers:d,returnQuery:g,lastLiveEventId:y,cacheMode:v}=i,m={method:u?"GET":"POST",uri:rh(e,r,c),json:!0,body:u?void 0:n,query:o&&tQ(i),timeout:f,headers:d,token:h,tag:p,returnQuery:g,perspective:i.perspective,resultSourceMap:i.resultSourceMap,lastLiveEventId:Array.isArray(y)?y[0]:y,cacheMode:v,canUseCdn:"query"===r,signal:i.signal,fetch:i.fetch,useAbortSignal:i.useAbortSignal,useCdn:i.useCdn};return rl(e,t,m).pipe(e7(t0),ez(t1),ez(e=>{if(!o)return e;let t=e.results||[];if(i.returnDocuments)return l?t[0]&&t[0].document:t.map(e=>e.document);let r=l?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[l?"documentId":"documentIds"]:r}}))}function rr(e,t,r,n,i={}){return rt(e,t,"mutate",{mutations:[{[n]:r}]},Object.assign({returnFirst:!0,returnDocuments:!0},i))}let rn=e=>void 0!==e.config().dataset&&void 0!==e.config().projectId||void 0!==e.config()["~experimental_resource"],ri=(e,t)=>rn(e)&&t.startsWith(rh(e,"query")),ro=(e,t)=>rn(e)&&t.startsWith(rh(e,"mutate")),rs=(e,t)=>rn(e)&&t.startsWith(rh(e,"doc","")),ra=(e,t)=>rn(e)&&t.startsWith(rh(e,"listen")),ru=(e,t)=>rn(e)&&t.startsWith(rh(e,"history","")),rc=(e,t)=>t.startsWith("/data/")||ri(e,t)||ro(e,t)||rs(e,t)||ra(e,t)||ru(e,t);function rl(e,t,r){var n;let i=r.url||r.uri,o=e.config(),s=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&rc(e,i):r.canUseCdn,a=(r.useCdn??o.useCdn)&&s,u=r.tag&&o.requestTagPrefix?[o.requestTagPrefix,r.tag].join("."):r.tag||o.requestTagPrefix;if(u&&null!==r.tag&&(r.query={tag:tb(u),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&ri(e,i)){let e=r.resultSourceMap??o.resultSourceMap;void 0!==e&&!1!==e&&(r.query={resultSourceMap:e,...r.query});let t=r.perspective||o.perspective;"u">typeof t&&("previewDrafts"===t&&tS(),tI(t),r.query={perspective:Array.isArray(t)?t.join(","):t,...r.query},(Array.isArray(t)&&t.length>0||"previewDrafts"===t||"drafts"===t)&&a&&(a=!1,tO())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),!1===r.returnQuery&&(r.query={returnQuery:"false",...r.query}),a&&"noStale"==r.cacheMode&&(r.query={cacheMode:"noStale",...r.query})}let c=function(e,t={}){let r={},n=t.token||e.token;n&&(r.Authorization=`Bearer ${n}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let i=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),o=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:typeof o>"u"?3e5:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(o,Object.assign({},r,{url:rp(e,i,a)})),l=new ep(e=>t(c,o.requester).subscribe(e));return r.signal?l.pipe((n=r.signal,e=>new ep(t=>{let r=()=>t.error(function(e){if(rd)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}(n));if(n&&n.aborted)return void r();let i=e.subscribe(t);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),i.unsubscribe()}}))):l}function rf(e,t,r){return rl(e,t,r).pipe(e7(e=>"response"===e.type),ez(e=>e.body))}function rh(e,t,r){let n=e.config();if(n["~experimental_resource"]){tw(n);let e=rg(n),i=void 0!==r?`${t}/${r}`:t;return`${e}/${i}`.replace(/\/($|\?)/,"$1")}let i=tm(n),o=`/${t}/${i}`;return`/data${void 0!==r?`${o}/${r}`:o}`.replace(/\/($|\?)/,"$1")}function rp(e,t,r=!1){let{url:n,cdnUrl:i}=e.config();return`${r?i:n}/${t.replace(/^\//,"")}`}let rd=!!globalThis.DOMException,rg=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":{let e=r.split(".");if(2!==e.length)throw Error('Dataset ID must be in the format "project.dataset"');return`/projects/${e[0]}/datasets/${e[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}};class ry{#a;#u;
8constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return rm(this.#a,this.#u,e,t,r)}}class rv{#a;#u;constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return eD(rm(this.#a,this.#u,e,t,r).pipe(e7(e=>"response"===e.type),ez(e=>e.body.document)))}}function rm(e,t,r,n,i={}){var o,s;tp(r);let a=i.extract||void 0;a&&!a.length&&(a=["none"]);let u=e.config(),c=(o=i,s=n,!(typeof File>"u")&&s instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:s.name,contentType:s.type},o):o),{tag:l,label:f,title:h,description:p,creditLine:d,filename:g,source:y}=c,v={label:f,title:h,description:p,filename:g,meta:a,creditLine:d};return y&&(v.sourceId=y.id,v.sourceName=y.name,v.sourceUrl=y.url),rl(e,t,{tag:l,method:"POST",timeout:c.timeout||0,uri:function(e,t){let r="image"===t?"images":"files";if(e["~experimental_resource"]){let{type:t,id:n}=e["~experimental_resource"];switch(t){case"dataset":throw Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${n}/assets/${r}`;case"media-library":return`/media-libraries/${n}/upload`;case"dashboard":return`/dashboards/${n}/assets/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}}let n=tm(e);return`assets/${r}/${n}`}(u,r),headers:c.contentType?{"Content-Type":c.contentType}:{},query:v,body:n})}var rb=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((r,n)=>(r[n]=typeof e[n]>"u"?t[n]:e[n],r),{});let rw=(e,t)=>t.reduce((t,r)=>(typeof e[r]>"u"||(t[r]=e[r]),t),{}),r_=eO(()=>r.e(723).then(r.t.bind(r,5723,19))).pipe(ez(({default:e})=>e),function(e,t,r){var n,i,o,s,a=!1;return s=null!=e?e:1/0,eX({connector:function(){return new eH(s,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}(1));function rx(){return function(e){return e.pipe(eV((e,t)=>{var r;return e instanceof tF?eJ(eq({type:"reconnect"}),(void 0===r&&(r=e1),new ep(function(e){var t=1e3;t<0&&(t=0);var n=0;return r.schedule(function(){e.closed||(e.next(n++),e.complete())},t)})).pipe(eB(()=>t))):e2(()=>e)}))}}let rC=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","tag"],rE={includeResult:!0};function rO(e,t,r={}){let{url:n,token:i,withCredentials:o,requestTagPrefix:s}=this.config(),a=r.tag&&s?[s,r.tag].join("."):r.tag,u={...rb(r,rE),tag:a},c=tZ({query:e,params:t,options:{tag:a,...rw(u,rC)}}),l=`${n}${rh(this,"listen",c)}`;if(l.length>14800)return e2(()=>Error("Query too large for listener"));let f=u.events?u.events:["mutation"],h={};return o&&(h.withCredentials=!0),i&&(h.headers={Authorization:`Bearer ${i}`}),t$(()=>(typeof EventSource>"u"||h.headers?r_:eq(EventSource)).pipe(ez(e=>new e(l,h))),f).pipe(rx(),e7(e=>f.includes(e.type)),ez(e=>({type:e.type,..."data"in e?e.data:{}})))}let rS="2021-03-25";class rA{#a;constructor(e){this.#a=e}events({includeDrafts:e=!1,tag:t}={}){var r,n,i,o;t_("live",this.#a.config());let{projectId:s,apiVersion:a,token:u,withCredentials:c,requestTagPrefix:l}=this.#a.config(),f=a.replace(/^v/,"");if("X"!==f&&f<rS)throw Error(`The live events API requires API version ${rS} or later. The current API version is ${f}. Please update your API version to use this feature.`);if(e&&!u&&!c)throw Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");let h=rh(this.#a,"live/events"),p=new URL(this.#a.getUrl(h,!1)),d=t&&l?[l,t].join("."):t;d&&p.searchParams.set("tag",d),e&&p.searchParams.set("includeDrafts","true");let g={};e&&u&&(g.headers={Authorization:`Bearer ${u}`}),e&&c&&(g.withCredentials=!0);let y=`${p.href}::${JSON.stringify(g)}`,v=rP.get(y);if(v)return v;let m=t$(()=>(typeof EventSource>"u"||g.headers?r_:eq(EventSource)).pipe(ez(e=>new e(p.href,g))),["message","restart","welcome","reconnect","goaway"]).pipe(rx(),ez(e=>{if("message"===e.type){let{data:t,...r}=e;return{...r,tags:t.tags}}return e})),b=eJ((n=p,i={method:"OPTIONS",mode:"cors",credentials:g.withCredentials?"include":"omit",headers:g.headers},new ep(e=>{let t=new AbortController,r=t.signal;return fetch(n,{...i,signal:t.signal}).then(t=>{e.next(t),e.complete()},t=>{r.aborted||e.error(t)}),()=>t.abort()})).pipe(eB(()=>e5),eV(()=>{throw new ti({projectId:s})})),m).pipe(e3(()=>rP.delete(y)),(o="function"==typeof(r={predicate:e=>"welcome"===e.type})?{predicate:r,...void 0}:r,e=>{var t,r,n,i;let s,a=!1,{predicate:u,...c}=o;return function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=eA(t),i=(e=1/0,"number"==typeof eS(t)?t.pop():e);return t.length?1===t.length?eC(t[0]):eG(i)(eF(t,n)):e5}(e.pipe((i=D(t=e=>{o.predicate(e)&&(a=!0,s=e)})?{next:t,error:r,complete:n}:t)?eT(function(e,t){null==(r=i.subscribe)||r.call(i);var r,n=!0;e.subscribe(eR(t,function(e){var r;null==(r=i.next)||r.call(i,e),t.next(e)},function(){var e;n=!1,null==(e=i.complete)||e.call(i),t.complete()},function(e){var r;n=!1,null==(r=i.error)||r.call(i,e),t.error(e)},function(){var e,t;n&&(null==(e=i.unsubscribe)||e.call(i)),null==(t=i.finalize)||t.call(i)}))}):ef,e3(()=>{a=!1,s=void 0}),eX(c)),new ep(e=>{a&&e.next(s),e.complete()}
8))}));return rP.set(y,b),b}}let rP=new Map;class rT{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return rM(this.#a,this.#u,"PUT",e,t)}edit(e,t){return rM(this.#a,this.#u,"PATCH",e,t)}delete(e){return rM(this.#a,this.#u,"DELETE",e)}list(){return rf(this.#a,this.#u,{uri:"/datasets",tag:null})}}class rR{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return t_("dataset",this.#a.config()),eD(rM(this.#a,this.#u,"PUT",e,t))}edit(e,t){return t_("dataset",this.#a.config()),eD(rM(this.#a,this.#u,"PATCH",e,t))}delete(e){return t_("dataset",this.#a.config()),eD(rM(this.#a,this.#u,"DELETE",e))}list(){return t_("dataset",this.#a.config()),eD(rf(this.#a,this.#u,{uri:"/datasets",tag:null}))}}function rM(e,t,r,n,i){return t_("dataset",e.config()),tf(n),rf(e,t,{method:r,uri:`/datasets/${n}`,body:i,tag:null})}class rj{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){t_("projects",this.#a.config());let t=e?.includeMembers===!1?"/projects?includeMembers=false":"/projects";return rf(this.#a,this.#u,{uri:t})}getById(e){return t_("projects",this.#a.config()),rf(this.#a,this.#u,{uri:`/projects/${e}`})}}class rI{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){t_("projects",this.#a.config());let t=e?.includeMembers===!1?"/projects?includeMembers=false":"/projects";return eD(rf(this.#a,this.#u,{uri:t}))}getById(e){return t_("projects",this.#a.config()),eD(rf(this.#a,this.#u,{uri:`/projects/${e}`}))}}class rk{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return rf(this.#a,this.#u,{uri:`/users/${e}`})}}class rF{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return eD(rf(this.#a,this.#u,{uri:`/users/${e}`}))}}class rq{assets;datasets;live;projects;users;#c;#u;listen=rO;constructor(e,t=tR){this.config(t),this.#u=e,this.assets=new ry(this,this.#u),this.datasets=new rT(this,this.#u),this.live=new rA(this),this.projects=new rj(this,this.#u),this.users=new rk(this,this.#u)}clone(){return new rq(this.#u,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#c=tk(e,this.#c||{}),this}withConfig(e){let t=this.config();return new rq(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return t3(this,this.#u,this.#c.stega,e,t,r)}getDocument(e,t){return t5(this,this.#u,e,t)}getDocuments(e,t){return t6(this,this.#u,e,t)}create(e,t){return rr(this,this.#u,e,"create",t)}createIfNotExists(e,t){return t8(this,this.#u,e,t)}createOrReplace(e,t){return t4(this,this.#u,e,t)}delete(e,t){return t9(this,this.#u,e,t)}mutate(e,t){return t7(this,this.#u,e,t)}patch(e,t){return new tH(e,t,this)}transaction(e){return new tJ(e,this)}action(e,t){return re(this,this.#u,e,t)}request(e){return rf(this,this.#u,e)}getUrl(e,t){return rp(this,e,t)}getDataUrl(e,t){return rh(this,e,t)}}class rz{assets;datasets;live;projects;users;observable;#c;#u;listen=rO;constructor(e,t=tR){this.config(t),this.#u=e,this.assets=new rv(this,this.#u),this.datasets=new rR(this,this.#u),this.live=new rA(this),this.projects=new rI(this,this.#u),this.users=new rF(this,this.#u),this.observable=new rq(e,t)}clone(){return new rz(this.#u,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#c=tk(e,this.#c||{}),this}withConfig(e){let t=this.config();return new rz(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return eD(t3(this,this.#u,this.#c.stega,e,t,r))}getDocument(e,t){return eD(t5(this,this.#u,e,t))}getDocuments(e,t){return eD(t6(this,this.#u,e,t))}create(e,t){return eD(rr(this,this.#u,e,"create",t))}createIfNotExists(e,t){return eD(t8(this,this.#u,e,t))}createOrReplace(e,t){return eD(t4(this,this.#u,e,t))}delete(e,t){return eD(t9(this,this.#u,e,t))}mutate(e,t){return eD(t7(this,this.#u,e,t))}patch(e,t){return new tX(e,t,this)}transaction(e){return new tG(e,this)}action(e,t){return eD(re(this,this.#u,e,t))}request(e){return eD(rf(this,this.#u,e))}dataRequest(e,t,r){return eD(rt(this,this.#u,e,t,r))}getUrl(e,t){return rp(this,e,t)}getDataUrl(e,t){return rh(this,e,t)}}let rB=function(e,t){return{requester:ts(e),createClient:r=>{let n=ts(e);return new t((e,t)=>
8(t||n)({maxRedirects:0,maxRetries:r.maxRetries,retryDelay:r.retryDelay,...e}),r)}}}([],rz),rU=(rB.requester,rB.createClient)},825:(e,t,r)=>{e.exports=r(9632).style},1049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},1514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(4232),i=r(4137),o="function"==typeof IntersectionObserver,s=new Map,a=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,c=u||!o,[l,f]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(c||l)return;let e=h.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=s.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},a.push(r),s.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),s.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,r,t,l,h.current]),[p,l,(0,n.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2552:()=>{},3025:(e,t,r)=>{"use strict";function n(e,...t){let r=e.length-1;return e.slice(0,r).reduce((e,r,n)=>e+r+t[n],"")+e[r]}r.d(t,{A:()=>n})},5237:(e,t,r)=>{"use strict";var n=r(9742),i=r(3095);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let s=r(4252),a=r(8365),u=r(7876),c=a._(r(4232)),l=s._(r(7666)),f=r(6781),h=r(7405),p=r(5441);function d(e){void 0===e&&(e=!1);let t=[(0,u.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,u.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function g(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===c.default.Fragment?e.concat(c.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(1049);let y=["name","httpEquiv","charSet","itemProp"];function v(e,t){let{inAmpMode:r}=t;return e.reduce(g,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,s=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){s=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=y.length;e<t;e++){let t=y[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!s)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let s=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e.props||{});return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,c.default.cloneElement(e,t)}return c.default.cloneElement(e,{key:s})})}let m=function(e){let{children:t}=e,r=(0,c.useContext)(f.AmpStateContext),n=(0,c.useContext)(h.HeadManagerContext);return(0,u.jsx)(l.default,{reduceComponentsToState:v,headManager:n,inAmpMode:(0,p.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
8dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5441:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},6251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(9092).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6276:function(e,t){(function(e){"use strict";var t,r,n,i,o,s,a,u,c,l,f,h,p,d=function(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t},g=1,y=[],v=[],m=[],b=Date.now,w=function(e,t){return t},_=function(){var e=c.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,v),n.push.apply(n,m),v=r,m=n,w=function(e,r){return t[e](r)}},x=function(e,t){return~m.indexOf(e)&&m[m.indexOf(e)+1][t]},C=function(e){return!!~l.indexOf(e)},E=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!1!==n,capture:!!i})},O=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},S="scrollLeft",A="scrollTop",P=function(){return f&&f.isPressed||v.cache++},T=function(e,t){var r=function r(i){if(i||0===i){g&&(n.history.scrollRestoration="manual");var o=f&&f.isPressed;e(i=r.v=Math.round(i)||(f&&f.iOS?1:0)),r.cacheID=v.cache,o&&w("ss",i)}else(t||v.cache!==r.cacheID||w("ref"))&&(r.cacheID=v.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},R={s:S,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:T(function(e){return arguments.length?n.scrollTo(e,M.sc()):n.pageXOffset||i[S]||o[S]||s[S]||0})},M={s:A,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:T(function(e){return arguments.length?n.scrollTo(R.sc(),e):n.pageYOffset||i[A]||o[A]||s[A]||0})},j=function(e,r){return(r&&r._ctx&&r._ctx.selector||t.utils.toArray)(e)[0]||("string"==typeof e&&!1!==t.config().nullTargetWarn?console.warn("Element not found:",e):null)},I=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},k=function(e,r){var n=r.s,s=r.sc;C(e)&&(e=i.scrollingElement||o);var a=v.indexOf(e),u=s===M.sc?1:2;~a||(a=v.push(e)-1),v[a+u]||E(e,"scroll",P);var c=v[a+u],l=c||(v[a+u]=T(x(e,n),!0)||(C(e)?s:T(function(t){return arguments.length?e[n]=t:e[n]})));return l.target=e,c||(l.smooth="smooth"===t.getProperty(e,"scrollBehavior")),l},F=function(e,t,r){var n=e,i=e,o=b(),s=o,a=t||50,u=Math.max(500,3*a),c=function(e,t){var u=b();t||u-o>a?(i=n,n=e,s=o,o=u):r?n+=e:n=i+(e-i)/(u-s)*(o-s)};return{update:c,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(e){var t=s,a=i,l=b();return(e||0===e)&&e!==n&&c(e),o===s||l-s>u?0:(n+(r?a:-a))/((r?l:o)-t)*1e3}}},q=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},z=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},B=function(){(c=t.core.globals().ScrollTrigger)&&c.core&&_()},U=function(e){return t=e||d(),!r&&t&&"undefined"!=typeof document&&document.body&&(n=window,o=(i=document).documentElement,s=i.body,l=[n,i,o,s],t.utils.clamp,p=t.core.context||function(){},u="onpointerenter"in s?"pointer":"mouse",a=D.isTouch=n.matchMedia&&n.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in n||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),h=D.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in o)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return g=0},500),B(),r=1),r};R.op=M,v.cache=0;var D=function(){var e;function l(e){this.init(e)}return l.prototype.init=function(e){r||U(t)||console.warn("Please gsap.registerPlugin(Observer)"),c||B();var l=e.tolerance,d=e.dragMinimum,g=e.type,v=e.target,m=e.lineHeight,w=e.debounce,_=e.preventDefault,x=e.onStop,S=e.onStopDelay,A=e.ignore,T=e.wheelSpeed,D=e.event,$=e.onDragStart,N=e.onDragEnd,L=e.onDrag,Y=e.onPress,H=e.onRelease,X=e.onRight,W=e.onLeft,V=e.onUp,G=e.onDown,J=e.onChangeX,Z=e.onChangeY,K=e.onCh
vendor: 9,256 bytes, line 8
8ange,Q=e.onToggleX,ee=e.onToggleY,et=e.onHover,er=e.onHoverEnd,en=e.onMove,ei=e.ignoreCheck,eo=e.isNormalizer,es=e.onGestureStart,ea=e.onGestureEnd,eu=e.onWheel,ec=e.onEnable,el=e.onDisable,ef=e.onClick,eh=e.scrollSpeed,ep=e.capture,ed=e.allowClicks,eg=e.lockAxis,ey=e.onLockAxis;this.target=v=j(v)||o,this.vars=e,A&&(A=t.utils.toArray(A)),l=l||1e-9,d=d||0,T=T||1,eh=eh||1,g=g||"wheel,touch,pointer",w=!1!==w,m||(m=parseFloat(n.getComputedStyle(s).lineHeight)||22);var ev,em,eb,ew,e_,ex,eC,eE=this,eO=0,eS=0,eA=e.passive||!_&&!1!==e.passive,eP=k(v,R),eT=k(v,M),eR=eP(),eM=eT(),ej=~g.indexOf("touch")&&!~g.indexOf("pointer")&&"pointerdown"===h[0],eI=C(v),ek=v.ownerDocument||i,eF=[0,0,0],eq=[0,0,0],ez=0,eB=function(){return ez=b()},eU=function(e,t){return(eE.event=e)&&A&&I(e.target,A)||t&&ej&&"touch"!==e.pointerType||ei&&ei(e,t)},eD=function(){var e=eE.deltaX=z(eF),t=eE.deltaY=z(eq),r=Math.abs(e)>=l,n=Math.abs(t)>=l;K&&(r||n)&&K(eE,e,t,eF,eq),r&&(X&&eE.deltaX>0&&X(eE),W&&eE.deltaX<0&&W(eE),J&&J(eE),Q&&eE.deltaX<0!=eO<0&&Q(eE),eO=eE.deltaX,eF[0]=eF[1]=eF[2]=0),n&&(G&&eE.deltaY>0&&G(eE),V&&eE.deltaY<0&&V(eE),Z&&Z(eE),ee&&eE.deltaY<0!=eS<0&&ee(eE),eS=eE.deltaY,eq[0]=eq[1]=eq[2]=0),(ew||eb)&&(en&&en(eE),eb&&($&&1===eb&&$(eE),L&&L(eE),eb=0),ew=!1),ex&&(ex=!1,1)&&ey&&ey(eE),e_&&(eu(eE),e_=!1),ev=0},e$=function(e,t,r){eF[r]+=e,eq[r]+=t,eE._vx.update(e),eE._vy.update(t),w?ev||(ev=requestAnimationFrame(eD)):eD()},eN=function(e,t){eg&&!eC&&(eE.axis=eC=Math.abs(e)>Math.abs(t)?"x":"y",ex=!0),"y"!==eC&&(eF[2]+=e,eE._vx.update(e,!0)),"x"!==eC&&(eq[2]+=t,eE._vy.update(t,!0)),w?ev||(ev=requestAnimationFrame(eD)):eD()},eL=function(e){if(!eU(e,1)){var t=(e=q(e,_)).clientX,r=e.clientY,n=t-eE.x,i=r-eE.y,o=eE.isDragging;eE.x=t,eE.y=r,(o||(n||i)&&(Math.abs(eE.startX-t)>=d||Math.abs(eE.startY-r)>=d))&&(eb||(eb=o?2:1),o||(eE.isDragging=!0),eN(n,i))}},eY=eE.onPress=function(e){eU(e,1)||e&&e.button||(eE.axis=eC=null,em.pause(),eE.isPressed=!0,e=q(e),eO=eS=0,eE.startX=eE.x=e.clientX,eE.startY=eE.y=e.clientY,eE._vx.reset(),eE._vy.reset(),E(eo?v:ek,h[1],eL,eA,!0),eE.deltaX=eE.deltaY=0,Y&&Y(eE))},eH=eE.onRelease=function(e){if(!eU(e,1)){O(eo?v:ek,h[1],eL,!0);var r=!isNaN(eE.y-eE.startY),i=eE.isDragging,o=i&&(Math.abs(eE.x-eE.startX)>3||Math.abs(eE.y-eE.startY)>3),s=q(e);!o&&r&&(eE._vx.reset(),eE._vy.reset(),_&&ed&&t.delayedCall(.08,function(){if(b()-ez>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(ek.createEvent){var t=ek.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,n,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eE.isDragging=eE.isGesturing=eE.isPressed=!1,x&&i&&!eo&&em.restart(!0),eb&&eD(),N&&i&&N(eE),H&&H(eE,o)}},eX=function(e){return e.touches&&e.touches.length>1&&(eE.isGesturing=!0)&&es(e,eE.isDragging)},eW=function(){return eE.isGesturing=!1,ea(eE)},eV=function(e){if(!eU(e)){var t=eP(),r=eT();e$((t-eR)*eh,(r-eM)*eh,1),eR=t,eM=r,x&&em.restart(!0)}},eG=function(e){if(!eU(e)){e=q(e,_),eu&&(e_=!0);var t=(1===e.deltaMode?m:2===e.deltaMode?n.innerHeight:1)*T;e$(e.deltaX*t,e.deltaY*t,0),x&&!eo&&em.restart(!0)}},eJ=function(e){if(!eU(e)){var t=e.clientX,r=e.clientY,n=t-eE.x,i=r-eE.y;eE.x=t,eE.y=r,ew=!0,x&&em.restart(!0),(n||i)&&eN(n,i)}},eZ=function(e){eE.event=e,et(eE)},eK=function(e){eE.event=e,er(eE)},eQ=function(e){return eU(e)||q(e,_)&&ef(eE)};em=eE._dc=t.delayedCall(S||.25,function(){eE._vx.reset(),eE._vy.reset(),em.pause(),x&&x(eE)}).pause(),eE.deltaX=eE.deltaY=0,eE._vx=F(0,50,!0),eE._vy=F(0,50,!0),eE.scrollX=eP,eE.scrollY=eT,eE.isDragging=eE.isGesturing=eE.isPressed=!1,p(this),eE.enable=function(e){return!eE.isEnabled&&(E(eI?ek:v,"scroll",P),g.indexOf("scroll")>=0&&E(eI?ek:v,"scroll",eV,eA,ep),g.indexOf("wheel")>=0&&E(v,"wheel",eG,eA,ep),(g.indexOf("touch")>=0&&a||g.indexOf("pointer")>=0)&&(E(v,h[0],eY,eA,ep),E(ek,h[2],eH),E(ek,h[3],eH),ed&&E(v,"click",eB,!0,!0),ef&&E(v,"click",eQ),es&&E(ek,"gesturestart",eX),ea&&E(ek,"gestureend",eW),et&&E(v,u+"enter",eZ),er&&E(v,u+"leave",eK),en&&E(v,u+"move",eJ)),eE.isEnabled=!0,eE.isDragging=eE.isGesturing=eE.isPressed=ew=eb=!1,eE._vx.reset(),eE._vy.reset(),eR=eP(),eM=eT(),e&&e.type&&eY(e),ec&&ec(eE)),eE},eE.disable=function(){eE.isEnabled&&(y.filter(function(e){return e!==eE&&C(e.target)}).length||O(eI?ek:v,"scroll",P),eE.isPressed&&(eE._vx.reset(),eE._vy.reset(),O(eo?v:ek,h[1],eL,!0)),O(eI?ek:v,"scroll",eV,ep),O(v,"wheel",eG,ep),O(v,h[0],eY,ep),O(ek,h[2],eH),O(ek,h[3],eH),O(v,"click",eB,!0),O(v,"click",eQ),O(ek,"gesturestart",eX),O(ek,"gestureend",eW),O(v,u+"enter",eZ),O(v,u+"leave",eK),O(v,u+"move",eJ),eE.isEnabled=eE.isPressed=eE.isDragging=!1,el&&el(eE))},eE.kill=eE.revert=function(){eE.disable();var e=y.indexOf(eE);e>=0&&y.splice(e,1),f===eE&&(f=0)},y.push(eE),eo&&C(v)&&(f=eE),eE.enable(D)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(l.prototype,e),l}();D.version="3.14.2",D.create=function(e){return new D(e)},D.register=U,D.getAll=function(){return y.slice()},D.getById=function(e){return y.filter(function(t){return t.vars.id===e})[0]},d()&&t.registerPlugin(D);var $,N,L,Y,H,X,W,V,G,J,Z,K,Q,ee,et,er,en,ei,eo,es,ea,eu,ec,el,ef,eh,ep,ed,eg,ey,ev,em,eb,ew,e_,ex,eC,eE,eO=1,eS=Date.now,eA=eS(),eP=0,eT=0,eR=function(e,t,r){var n=eY(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},eM=function(e,t){return t&&(!eY(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},ej=function(){return ee=1},eI=function(){return ee=0},ek=function(e){return e},eF=function(e){return Math.round(1e5*e)/1e5||0},eq=function(){return"undefined"!=typeof window},ez=function(){return $||eq()&&($=window.gsap)&&$.registerPlugin&&$},eB=function(e){return!!~W.indexOf(e)},eU=function(e){return("Height"===e?ev:L["inner"+e])||H["client"+e]||X["client"+e]},eD=function(e){return x(e,"getBoundingClientRect")||(eB(e)?function(){return tW.width=L.innerWidth,tW.height=ev,tW}:function(){return tr(e)})},e$=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=x(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?eU(i):e["client"+i])||0}},eN=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(o=x(e,r="scroll"+n))?o()-eD(e)()[i]:eB(e)?(H[r]||X[r])-eU(n):e[r]-e["offset"+n])},eL=function(e,t){for(var r=0;r<eo.length;r+=3)(!t||~t.indexOf(eo[r+1]))&&e(eo[r],eo[r+1],eo[r+2])},eY=function(e){return"string"==typeof e},eH=function(e){return"function"==typeof e},eX=function(e){return"number"==typeof e},eW=function(e){return"object"==typeof e},eV=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},eG=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},eJ=Math.abs,eZ="left",eK="right",eQ="bottom",e0="width",e1="height",e2="Right",e3="Left",e5="Bottom",e6="padding",e8="margin",e4="Width",e9="Height",e7=function(e){return L.getComputedStyle(e)},te=function(e){var t=e7(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},tr=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==e7(e)[et]&&$.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},tn=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},ti=function(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r},to=function(e){var t=$.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,i){var o;if(void 0===i&&(i=.001),!n)return t(e);if(n>0){for(e-=i,o=0;o<r.length;o++)if(r[o]>=e)return r[o];return r[o-1]}for(o=r.length,e+=i;o--;)if(r[o]<=e)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=t(r);return!n||Math.abs(o-r)<i||o-r<0==n<0?o:t(n<0?r-e:r+e)}},ts=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},ta=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},tu=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},tc=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},tl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},tf={toggleActions:"play",anticipatePin:0},th={top:0,left:0,center:.5,bottom:1,right:1},tp=function(e,t){if(eY(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in th?th[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},td=function(e,t,r,n,i,o,s,a){var u=i.startColor,c=i.endColor,l=i.fontSize,f=i.indent,h=i.fontWeight,p=Y.createElement("div"),d=eB(r)||"fixed"===x(r,"pinType"),g=-1!==e.indexOf("scroller"),y=d?X:r,v=-1!==e.indexOf("start"),m=v?u:c,b="border-color:"+m+";font-size:"+l+";color:"+m+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||a)&&d?"fixed;":"absolute;
8"),(g||a||!d)&&(b+=(n===M?eK:eQ)+":"+(o+parseFloat(f))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=b,p.innerText=t||0===t?e+"-"+t:e,y.children[0]?y.insertBefore(p,y.children[0]):y.appendChild(p),p._offset=p["offset"+n.op.d2],tg(p,0,n,v),p},tg=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+e4]=1,i["border"+s+e4]=0,i[r.p]=t+"px",$.set(e,i)},ty=[],tv={},tm=function(){return eS()-eP>34&&(e_||(e_=requestAnimationFrame(tB)))},tb=function(){ec&&ec.isPressed&&!(ec.startX>X.clientWidth)||(v.cache++,ec?e_||(e_=requestAnimationFrame(tB)):tB(),eP||tO("scrollStart"),eP=eS())},tw=function(){eh=L.innerWidth,ef=L.innerHeight},t_=function(e){v.cache++,(!0===e||!Q&&!eu&&!Y.fullscreenElement&&!Y.webkitFullscreenElement&&(!el||eh!==L.innerWidth||Math.abs(L.innerHeight-ef)>.25*L.innerHeight))&&V.restart(!0)},tx={},tC=[],tE=function e(){return tu(t0,"scrollEnd",e)||tF(!0)},tO=function(e){return tx[e]&&tx[e].map(function(e){return e()})||tC},tS=[],tA=function(e){for(var t=0;t<tS.length;t+=5)(!e||tS[t+4]&&tS[t+4].query===e)&&(tS[t].style.cssText=tS[t+1],tS[t].getBBox&&tS[t].setAttribute("transform",tS[t+2]||""),tS[t+3].uncache=1)},tP=function(){return v.forEach(function(e){return eH(e)&&++e.cacheID&&(e.rec=e())})},tT=function(e,t){var r;for(er=0;er<ty.length;er++)(r=ty[er])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));em=!0,t&&tA(t),t||tO("revert")},tR=function(e,t){v.cache++,(t||!ex)&&v.forEach(function(e){return eH(e)&&e.cacheID++&&(e.rec=0)}),eY(e)&&(L.history.scrollRestoration=eg=e)},tM=0,tj=function(){if(eC!==tM){var e=eC=tM;requestAnimationFrame(function(){return e===tM&&tF(!0)})}},tI=function(){X.appendChild(ey),ev=!ec&&ey.offsetHeight||L.innerHeight,X.removeChild(ey)},tk=function(e){return G(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tF=function(e,t){if(H=Y.documentElement,X=Y.body,W=[L,Y,H,X],eP&&!e&&!em)return void ta(t0,"scrollEnd",tE);tI(),ex=t0.isRefreshing=!0,em||tP();var r=tO("refreshInit");es&&t0.sort(),t||tT(),v.forEach(function(e){eH(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),ty.slice(0).forEach(function(e){return e.refresh()}),em=!1,ty.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),eb=1,tk(!0),ty.forEach(function(e){var t=eN(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),tk(!1),eb=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),v.forEach(function(e){eH(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tR(eg,1),V.pause(),tM++,ex=2,tB(2),ty.forEach(function(e){return eH(e.vars.onRefresh)&&e.vars.onRefresh(e)}),ex=t0.isRefreshing=!1,tO("refresh")},tq=0,tz=1,tB=function(e){if(2===e||!ex&&!em){t0.isUpdating=!0,eE&&eE.update(0);var t=ty.length,r=eS(),n=r-eA>=50,i=t&&ty[0].scroll();if(tz=tq>i?-1:1,ex||(tq=i),n&&(eP&&!ee&&r-eP>200&&(eP=0,tO("scrollEnd")),Z=eA,eA=r),tz<0){for(er=t;er-- >0;)ty[er]&&ty[er].update(0,n);tz=1}else for(er=0;er<t;er++)ty[er]&&ty[er].update(0,n);t0.isUpdating=!1}e_=0},tU=[eZ,"top",eQ,eK,e8+e5,e8+e2,e8+"Top",e8+e3,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],tD=tU.concat([e0,e1,"boxSizing","max"+e4,"max"+e9,"position",e8,e6,e6+"Top",e6+e2,e6+e5,e6+e3]),t$=function(e,t,r){tY(r);var n=e._gsap;if(n.spacerIsNative)tY(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},tN=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i,o=tU.length,s=t.style,a=e.style;o--;)s[i=tU[o]]=r[i];s.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(s.display="inline-block"),a[eQ]=a[eK]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[e0]=tn(e,R)+"px",s[e1]=tn(e,M)+"px",s[e6]=a[e8]=a.top=a[eZ]="0",tY(n),a[e0]=a["max"+e4]=r[e0],a[e1]=a["max"+e9]=r[e1],a[e6]=r[e6],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tL=/([A-Z])/g,tY=function(e){if(e){var t,r,n=e.t.style,i=e.length,o=0;for((e.t._gsap||$.core.getCache(e.t)).uncache=1;o<i;o+=2)r=e[o+1],t=e[o],r?n[t]=r:n[t]&&n.removeProperty(t.replace(tL,"-$1").toLowerCase())}},tH=function(e){for(var t=tD.length,r=e.style,n=[],i=0;i<t;i++)n.push(tD[i],r[tD[i]]);return n.t=e,n},tX=function(e,t,r){for(var n,i=[],o=e.length,s=8*!!r;s<o;s+=2)n=e[s],i.push(n,n in t?t[n]:e[s+1]);return i.t=e.t,i},tW={left:0,top:0},tV=function(e,t,r,n,i,o,s,a,u,c,l,f,h,p){eH(e)&&(e=e(a)),eY(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?tp("0"+e.substr(3),r):0));var d,g,y,v=h?h.time():0;if(h&&h.seek(0),isNaN(e)||(e*=1),eX(e))h&&(e=$.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,e)),s&&tg(s,r,n,!0);else{eH(t)&&(t=t(a));var m,b,w,_,x=(e||"0").split(" ");(m=tr(y=j(t,a)||X)||{}
vendor: 2,758 bytes, line 8
8).left||m.top||"none"!==e7(y).display||(_=y.style.display,y.style.display="block",m=tr(y),_?y.style.display=_:y.style.removeProperty("display")),b=tp(x[0],m[n.d]),w=tp(x[1]||"0",r),e=m[n.p]-u[n.p]-c+b+i-w,s&&tg(s,w,n,r-w<20||s._isStart&&w>20),r-=r-w}if(p&&(a[p]=e||-.001,e<0&&(e=0)),o){var C=e+r,E=o._isStart;d="scroll"+n.d2,tg(o,C,n,E&&C>20||!E&&(l?Math.max(X[d],H[d]):o.parentNode[d])<=C+1),l&&(u=tr(s),l&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+"px"))}return h&&y&&(d=tr(y),h.seek(f),g=tr(y),h._caScrollDist=d[n.p]-g[n.p],e=e/h._caScrollDist*f),h&&h.seek(v),h?e:Math.round(e)},tG=/(webkit|moz|length|cssText|inset)/i,tJ=function(e,t,r,n){if(e.parentNode!==t){var i,o,s=e.style;if(t===X){for(i in e._stOrig=s.cssText,o=e7(e))+i||tG.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=e._stOrig;$.core.getCache(e).uncache=1,t.appendChild(e)}},tZ=function(e,t,r){var n=t,i=n;return function(t){var o=Math.round(e());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(t=o,r&&r()),i=n,n=Math.round(t)}},tK=function(e,t,r){var n={};n[t.p]="+="+r,$.set(e,n)},tQ=function(e,t){var r=k(e,t),n="_scroll"+t.p2,i=function t(i,o,s,a,u){var c=t.tween,l=o.onComplete,f={};s=s||r();var h=tZ(r,s,function(){c.kill(),t.tween=0});return u=a&&u||0,a=a||i-s,c&&c.kill(),o[n]=i,o.inherit=!1,o.modifiers=f,f[n]=function(){return h(s+a*c.ratio+u*c.ratio*c.ratio)},o.onUpdate=function(){v.cache++,t.tween&&tB()},o.onComplete=function(){t.tween=0,l&&l.call(c)},c=t.tween=$.to(e,o)};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ta(e,"wheel",r.wheelHandler),t0.isTouch&&ta(e,"touchmove",r.wheelHandler),i},t0=function(){function e(t,r){N||e.register($)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ed(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eT){this.update=this.refresh=this.kill=ek;return}var n,i,o,s,a,u,c,l,f,h,p,d,g,y,b,w,_,C,E,O,S,A,P,T,I,F,q,z,B,U,D,N,W,V,K,et,en,ei,eo,eu,ec,el=t=tt(eY(t)||eX(t)||t.nodeType?{trigger:t}:t,tf),ef=el.onUpdate,eh=el.toggleClass,ep=el.id,ed=el.onToggle,eg=el.onRefresh,ey=el.scrub,ev=el.trigger,em=el.pin,e_=el.pinSpacing,eC=el.invalidateOnRefresh,eA=el.anticipatePin,ej=el.onScrubComplete,eI=el.onSnapComplete,eq=el.once,ez=el.snap,eU=el.pinReparent,eL=el.pinSpacer,eZ=el.containerAnimation,eK=el.fastScrollEnd,eQ=el.preventOverlaps,ts=t.horizontal||t.containerAnimation&&!1!==t.horizontal?R:M,tc=!ey&&0!==ey,th=j(t.scroller||L),tg=$.core.getCache(th),tm=eB(th),tw=("pinType"in t?t.pinType:x(th,"pinType")||tm&&"fixed")==="fixed",tx=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],tC=tc&&t.toggleActions.split(" "),tO="markers"in t?t.markers:tf.markers,tS=tm?0:p
8arseFloat(e7(th)["border"+ts.p2+e4])||0,tA=this,tP=t.onRefreshInit&&function(){return t.onRefreshInit(tA)},tT=e$(th,tm,ts),tR=!tm||~m.indexOf(th)?eD(th):function(){return tW},tM=0,tI=0,tk=0,tF=k(th,ts);if(tA._startClamp=tA._endClamp=!1,tA._dir=ts,eA*=45,tA.scroller=th,tA.scroll=eZ?eZ.time.bind(eZ):tF,u=tF(),tA.vars=t,r=r||t.animation,"refreshPriority"in t&&(es=1,-9999===t.refreshPriority&&(eE=tA)),tg.tweenScroll=tg.tweenScroll||{top:tQ(th,M),left:tQ(th,R)},tA.tweenTo=o=tg.tweenScroll[ts.p],tA.scrubDuration=function(e){(K=eX(e)&&e)?V?V.duration(e):V=$.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:K,paused:!0,onComplete:function(){return ej&&ej(tA)}}):(V&&V.progress(1).kill(),V=0)},r&&(r.vars.lazy=!1,r._initted&&!tA.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),tA.animation=r.pause(),r.scrollTrigger=tA,tA.scrubDuration(ey),N=0,ep||(ep=r.vars.id)),ez&&((!eW(ez)||ez.push)&&(ez={snapTo:ez}),"scrollBehavior"in X.style&&$.set(tm?[X,H]:th,{scrollBehavior:"auto"}),v.forEach(function(e){return eH(e)&&e.target===(tm?Y.scrollingElement||H:th)&&(e.smooth=!1)}),a=eH(ez.snapTo)?ez.snapTo:"labels"===ez.snapTo?(n=r,function(e){return $.utils.snap(ti(n),e)}):"labelsDirectional"===ez.snapTo?(i=r,function(e,t){return to(ti(i))(e,t.direction)}):!1!==ez.directional?function(e,t){return to(ez.snapTo)(e,eS()-tI<500?0:t.direction)}:$.utils.snap(ez.snapTo),et=eW(et=ez.duration||{min:.1,max:2})?J(et.min,et.max):J(et,et),en=$.delayedCall(ez.delay||K/2||.1,function(){var e=tF(),t=eS()-tI<500,n=o.tween;if((t||10>Math.abs(tA.getVelocity()))&&!n&&!ee&&tM!==e){var i,s,u=(e-l)/w,c=r&&!tc?r.totalProgress():u,h=t?0:(c-W)/(eS()-Z)*1e3||0,p=$.utils.clamp(-u,1-u,eJ(h/2)*h/.185),d=u+(!1===ez.inertia?0:p),g=ez,y=g.onStart,v=g.onInterrupt,m=g.onComplete;if(eX(i=a(d,tA))||(i=d),s=Math.max(0,Math.round(l+i*w)),e<=f&&e>=l&&s!==e){if(n&&!n._initted&&n.data<=eJ(s-e))return;!1===ez.inertia&&(p=i-u),o(s,{duration:et(eJ(.185*Math.max(eJ(d-c),eJ(i-c))/h/.05||0)),ease:ez.ease||"power3",data:eJ(s-e),onInterrupt:function(){return en.restart(!0)&&v&&v(tA)},onComplete:function(){tA.update(),tM=tF(),r&&!tc&&(V?V.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),N=W=r&&!tc?r.totalProgress():tA.progress,eI&&eI(tA),m&&m(tA)}},e,p*w,s-e-p*w),y&&y(tA,o.tween)}}else tA.isActive&&tM!==e&&en.restart(!0)}).pause()),ep&&(tv[ep]=tA),(ec=(ev=tA.trigger=j(ev||!0!==em&&em))&&ev._gsap&&ev._gsap.stRevert)&&(ec=ec(tA)),em=!0===em?ev:j(em),eY(eh)&&(eh={targets:ev,className:eh}),em&&(!1===e_||e_===e8||(e_=(!!e_||!em.parentNode||!em.parentNode.style||"flex"!==e7(em.parentNode).display)&&e6),tA.pin=em,(s=$.core.getCache(em)).spacer?_=s.pinState:(eL&&((eL=j(eL))&&!eL.nodeType&&(eL=eL.current||eL.nativeElement),s.spacerIsNative=!!eL,eL&&(s.spacerState=tH(eL))),s.spacer=O=eL||Y.createElement("div"),O.classList.add("pin-spacer"),ep&&O.classList.add("pin-spacer-"+ep),s.pinState=_=tH(em)),!1!==t.force3D&&$.set(em,{force3D:!0}),tA.spacer=O=s.spacer,F=(D=e7(em))[e_+ts.os2],A=$.getProperty(em),P=$.quickSetter(em,ts.a,"px"),tN(em,O,D),E=tH(em)),tO){y=eW(tO)?tt(tO,tl):tl,d=td("scroller-start",ep,th,ts,y,0),g=td("scroller-end",ep,th,ts,y,0,d),S=d["offset"+ts.op.d2];var tq=j(x(th,"content")||th);h=this.markerStart=td("start",ep,tq,ts,y,S,0,eZ),p=this.markerEnd=td("end",ep,tq,ts,y,S,0,eZ),eZ&&(eu=$.quickSetter([h,p],ts.a,"px")),tw||m.length&&!0===x(th,"fixedMarkers")||(te(tm?X:th),$.set([d,g],{force3D:!0}),z=$.quickSetter(d,ts.a,"px"),U=$.quickSetter(g,ts.a,"px"))}if(eZ){var tB=eZ.vars.onUpdate,tU=eZ.vars.onUpdateParams;eZ.eventCallback("onUpdate",function(){tA.update(0,0,1),tB&&tB.apply(eZ,tU||[])})}if(tA.previous=function(){return ty[ty.indexOf(tA)-1]},tA.next=function(){return ty[ty.indexOf(tA)+1]},tA.revert=function(e,t){if(!t)return tA.kill(!0);var n=!1!==e||!tA.enabled,i=Q;n!==tA.isReverted&&(n&&(ei=Math.max(tF(),tA.scroll.rec||0),tk=tA.progress,eo=r&&r.progress()),h&&[h,p,d,g].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(Q=tA,tA.update(n)),!em||eU&&tA.isActive||(n?t$(em,O,_):tN(em,O,e7(em),q)),n||tA.update(n),Q=i,tA.isReverted=n)},tA.refresh=function(n,i,s,a){if(!Q&&tA.enabled||i){if(em&&n&&eP)return void ta(e,"scrollEnd",tE);!ex&&tP&&tP(tA),Q=tA,o.tween&&!s&&(o.tween.kill(),o.tween=0),V&&V.pause(),eC&&r&&(r.revert({kill:!1}
8).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tA.isReverted||tA.revert(!0,!0),tA._subPinOffset=!1;var y,v,m,x,S,P,F,z,U,D,N,L,W,G=tT(),J=tR(),Z=eZ?eZ.duration():eN(th,ts),K=w<=.01||!w,ee=0,et=a||0,er=eW(s)?s.end:t.end,es=t.endTrigger||ev,eu=eW(s)?s.start:t.start||(0!==t.start&&ev?em?"0 0":"0 100%":0),ec=tA.pinnedContainer=t.pinnedContainer&&j(t.pinnedContainer,tA),el=ev&&Math.max(0,ty.indexOf(tA))||0,ef=el;for(tO&&eW(s)&&(L=$.getProperty(d,ts.p),W=$.getProperty(g,ts.p));ef-- >0;)(P=ty[ef]).end||P.refresh(0,1)||(Q=tA),(F=P.pin)&&(F===ev||F===em||F===ec)&&!P.isReverted&&(D||(D=[]),D.unshift(P),P.revert(!0,!0)),P!==ty[ef]&&(el--,ef--);for(eH(eu)&&(eu=eu(tA)),l=tV(eu=eR(eu,"start",tA),ev,G,ts,tF(),h,d,tA,J,tS,tw,Z,eZ,tA._startClamp&&"_startClamp")||(em?-.001:0),eH(er)&&(er=er(tA)),eY(er)&&!er.indexOf("+=")&&(~er.indexOf(" ")?er=(eY(eu)?eu.split(" ")[0]:"")+er:(ee=tp(er.substr(2),G),er=eY(eu)?eu:(eZ?$.utils.mapRange(0,eZ.duration(),eZ.scrollTrigger.start,eZ.scrollTrigger.end,l):l)+ee,es=ev)),er=eR(er,"end",tA),f=Math.max(l,tV(er||(es?"100% 0":Z),es,G,ts,tF()+ee,p,g,tA,J,tS,tw,Z,eZ,tA._endClamp&&"_endClamp"))||-.001,ee=0,ef=el;ef--;)(F=(P=ty[ef]||{}).pin)&&P.start-P._pinPush<=l&&!eZ&&P.end>0&&(y=P.end-(tA._startClamp?Math.max(0,P.start):P.start),(F===ev&&P.start-P._pinPush<l||F===ec)&&isNaN(eu)&&(ee+=y*(1-P.progress)),F===em&&(et+=y));if(l+=ee,f+=ee,tA._startClamp&&(tA._startClamp+=ee),tA._endClamp&&!ex&&(tA._endClamp=f||-.001,f=Math.min(f,eN(th,ts))),w=f-l||(l-=.01)&&.001,K&&(tk=$.utils.clamp(0,1,$.utils.normalize(l,f,ei))),tA._pinPush=et,h&&ee&&((y={})[ts.a]="+="+ee,ec&&(y[ts.p]="-="+tF()),$.set([h,p],y)),em&&!(eb&&tA.end>=eN(th,ts)))y=e7(em),x=ts===M,m=tF(),T=parseFloat(A(ts.a))+et,!Z&&f>1&&(N={style:N=(tm?Y.scrollingElement||H:th).style,value:N["overflow"+ts.a.toUpperCase()]},tm&&"scroll"!==e7(X)["overflow"+ts.a.toUpperCase()]&&(N.style["overflow"+ts.a.toUpperCase()]="scroll")),tN(em,O,y),E=tH(em),v=tr(em,!0),z=tw&&k(th,x?R:M)(),e_?((q=[e_+ts.os2,w+et+"px"]).t=O,(ef=e_===e6?tn(em,ts)+w+et:0)&&(q.push(ts.d,ef+"px"),"auto"!==O.style.flexBasis&&(O.style.flexBasis=ef+"px")),tY(q),ec&&ty.forEach(function(e){e.pin===ec&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tw&&tF(ei)):(ef=tn(em,ts))&&"auto"!==O.style.flexBasis&&(O.style.flexBasis=ef+"px"),tw&&((S={top:v.top+(x?m-l:z)+"px",left:v.left+(x?z:m-l)+"px",boxSizing:"border-box",position:"fixed"})[e0]=S["max"+e4]=Math.ceil(v.width)+"px",S[e1]=S["max"+e9]=Math.ceil(v.height)+"px",S[e8]=S[e8+"Top"]=S[e8+e2]=S[e8+e5]=S[e8+e3]="0",S[e6]=y[e6],S[e6+"Top"]=y[e6+"Top"],S[e6+e2]=y[e6+e2],S[e6+e5]=y[e6+e5],S[e6+e3]=y[e6+e3],C=tX(_,S,eU),ex&&tF(0)),r?(U=r._initted,ea(1),r.render(r.duration(),!0,!0),I=A(ts.a)-T+w+et,B=Math.abs(w-I)>1,tw&&B&&C.splice(C.length-2,2),r.render(0,!0,!0),U||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ea(0)):I=w,N&&(N.value?N.style["overflow"+ts.a.toUpperCase()]=N.value:N.style.removeProperty("overflow-"+ts.a));else if(ev&&tF()&&!eZ)for(v=ev.parentNode;v&&v!==X;)v._pinOffset&&(l-=v._pinOffset,f-=v._pinOffset),v=v.parentNode;D&&D.forEach(function(e){return e.revert(!1,!0)}),tA.start=l,tA.end=f,u=c=ex?ei:tF(),eZ||ex||(u<ei&&tF(ei),tA.scroll.rec=0),tA.revert(!1,!0),tI=eS(),en&&(tM=-1,en.restart(!0)),Q=0,r&&tc&&(r._initted||eo)&&r.progress()!==eo&&r.progress(eo||0,!0).render(r.time(),!0,!0),(K||tk!==tA.progress||eZ||eC||r&&!r._initted)&&(r&&!tc&&(r._initted||tk||!1!==r.vars.immediateRender)&&r.totalProgress(eZ&&l<-.001&&!tk?$.utils.normalize(l,f,0):tk,!0),tA.progress=K||(u-l)/w===tk?0:tk),em&&e_&&(O._pinOffset=Math.round(tA.progress*I)),V&&V.invalidate(),isNaN(L)||(L-=$.getProperty(d,ts.p),W-=$.getProperty(g,ts.p),tK(d,ts,L),tK(h,ts,L-(a||0)),tK(g,ts,W),tK(p,ts,W-(a||0))),K&&!ex&&tA.update(),!eg||ex||b||(b=!0,eg(tA),b=!1)}},tA.getVelocity=function(){return(tF()-c)/(eS()-Z)*1e3||0},tA.endAnimation=function(){eV(tA.callbackAnimation),r&&(V?V.progress(1):r.paused()?tc||eV(r,tA.direction<0,1):eV(r,r.reversed()))},tA.labelToScroll=function(e){return r&&r.labels&&(l||tA.refresh()||l)+r.labels[e]/r.duration()*w||0},tA.getTrailing=function(e){var t=ty.indexOf(tA),r=tA.direction>0?ty.slice(0,t).reverse():ty.slice(t+1);return(eY(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return tA.direction>0?e.end<=l:e.start>=f})},tA.update=function(e,t,n){if(!eZ||n||e){var i,s,a,h,p,g,y,v=!0===ex?ei:tA.scroll(),m=e?0:(v-l)/w,b=m<0?0:m>1?1:m||0,_=tA.progress;if(t&&(c=u,u=eZ?tF():v,ez&&(W=N,N=r&&!tc?r.totalProgress():b)),eA&&em&&!Q&&!eO&&eP&&(!b&&l<v+(v-c)/(eS()-Z)*eA?b=1e-4:1===b&&f>v+(v-c)/(eS()-Z)*eA&&(b=.9999)),b!==_&&tA.enabled){if(h=(p=(i=tA.isActive=!!b&&b<1)!=(!!_&&_<1))||!!b!=!!_,tA.direction=b>_?1:-1,tA.progress=b,h&&!Q&&(s=b&&!_?0:1===b?1:1===_?2:3,tc&&(a=!p&&"none"!==tC[s+1]&&tC[s+1]||tC[s],y=r&&("complete"===a||"reset"===a||a in r))),eQ&&(p||y)&&(y||ey||!r)&&(eH(eQ)?eQ(tA):tA.getTrailing(eQ).forEac
8h(function(e){return e.endAnimation()})),!tc&&(!V||Q||eO?r&&r.totalProgress(b,!!(Q&&(tI||e))):(V._dp._time-V._start!==V._time&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",b,r._tTime/r._tDur):(V.vars.totalProgress=b,V.invalidate().restart()))),em)if(e&&e_&&(O.style[e_+ts.os2]=F),tw){if(h){if(g=!e&&b>_&&f+1>v&&v+1>=eN(th,ts),eU)if(!e&&(i||g)){var x=tr(em,!0),S=v-l;tJ(em,X,x.top+(ts===M?S:0)+"px",x.left+(ts===M?0:S)+"px")}else tJ(em,O);tY(i||g?C:E),B&&b<1&&i||P(T+(1!==b||g?0:I))}}else P(eF(T+I*b));!ez||o.tween||Q||eO||en.restart(!0),eh&&(p||eq&&b&&(b<1||!ew))&&G(eh.targets).forEach(function(e){return e.classList[i||eq?"add":"remove"](eh.className)}),!ef||tc||e||ef(tA),h&&!Q?(tc&&(y&&("complete"===a?r.pause().totalProgress(1):"reset"===a?r.restart(!0).pause():"restart"===a?r.restart(!0):r[a]()),ef&&ef(tA)),(p||!ew)&&(ed&&p&&eG(tA,ed),tx[s]&&eG(tA,tx[s]),eq&&(1===b?tA.kill(!1,1):tx[s]=0),!p&&tx[s=1===b?1:3]&&eG(tA,tx[s])),eK&&!i&&Math.abs(tA.getVelocity())>(eX(eK)?eK:2500)&&(eV(tA.callbackAnimation),V?V.progress(1):eV(r,"reverse"===a?1:!b,1))):tc&&ef&&!Q&&ef(tA)}if(U){var A=eZ?v/eZ.duration()*(eZ._caScrollDist||0):v;z(A+ +!!d._isFlipped),U(A)}eu&&eu(-v/eZ.duration()*(eZ._caScrollDist||0))}},tA.enable=function(t,r){tA.enabled||(tA.enabled=!0,ta(th,"resize",t_),tm||ta(th,"scroll",tb),tP&&ta(e,"refreshInit",tP),!1!==t&&(tA.progress=tk=0,u=c=tM=tF()),!1!==r&&tA.refresh())},tA.getTween=function(e){return e&&o?o.tween:V},tA.setPositions=function(e,t,r,n){if(eZ){var i=eZ.scrollTrigger,o=eZ.duration(),s=i.end-i.start;e=i.start+s*e/o,t=i.start+s*t/o}tA.refresh(!1,!1,{start:eM(e,r&&!!tA._startClamp),end:eM(t,r&&!!tA._endClamp)},n),tA.update()},tA.adjustPinSpacing=function(e){if(q&&e){var t=q.indexOf(ts.d)+1;q[t]=parseFloat(q[t])+e+"px",q[1]=parseFloat(q[1])+e+"px",tY(q)}},tA.disable=function(t,r){if(!1!==t&&tA.revert(!0,!0),tA.enabled&&(tA.enabled=tA.isActive=!1,r||V&&V.pause(),ei=0,s&&(s.uncache=1),tP&&tu(e,"refreshInit",tP),en&&(en.pause(),o.tween&&o.tween.kill()&&(o.tween=0)),!tm)){for(var n=ty.length;n--;)if(ty[n].scroller===th&&ty[n]!==tA)return;tu(th,"resize",t_),tm||tu(th,"scroll",tb)}},tA.kill=function(e,n){tA.disable(e,n),V&&!n&&V.kill(),ep&&delete tv[ep];var i=ty.indexOf(tA);
vendor: 10,495 bytes, line 8
8i>=0&&ty.splice(i,1),i===er&&tz>0&&er--,i=0,ty.forEach(function(e){return e.scroller===tA.scroller&&(i=1)}),i||ex||(tA.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),h&&[h,p,d,g].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eE===tA&&(eE=0),em&&(s&&(s.uncache=1),i=0,ty.forEach(function(e){return e.pin===em&&i++}),i||(s.spacer=0)),t.onKill&&t.onKill(tA)},ty.push(tA),tA.enable(!1,!1),ec&&ec(tA),r&&r.add&&!w){var tD=tA.update;tA.update=function(){tA.update=tD,v.cache++,l||f||tA.refresh()},$.delayedCall(.01,tA.update),w=.01,l=f=0}else tA.refresh();em&&tj()},e.register=function(t){return N||($=t||ez(),eq()&&window.document&&e.enable(),N=eT),N},e.defaults=function(e){if(e)for(var t in e)tf[t]=e[t];return tf},e.disable=function(e,t){eT=0,ty.forEach(function(r){return r[t?"kill":"disable"](e)}),tu(L,"wheel",tb),tu(Y,"scroll",tb),clearInterval(K),tu(Y,"touchcancel",ek),tu(X,"touchstart",ek),ts(tu,Y,"pointerdown,touchstart,mousedown",ej),ts(tu,Y,"pointerup,touchend,mouseup",eI),V.kill(),eL(tu);for(var r=0;r<v.length;r+=3)tc(tu,v[r],v[r+1]),tc(tu,v[r],v[r+2])},e.enable=function(){if(L=window,H=(Y=document).documentElement,X=Y.body,$&&(G=$.utils.toArray,J=$.utils.clamp,ed=$.core.context||ek,ea=$.core.suppressOverwrites||ek,eg=L.history.scrollRestoration||"auto",tq=L.pageYOffset||0,$.core.globals("ScrollTrigger",e),X)){eT=1,(ey=document.createElement("div")).style.height="100vh",ey.style.position="absolute",tI(),function e(){return eT&&requestAnimationFrame(e)}(),D.register($),e.isTouch=D.isTouch,ep=D.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),el=1===D.isTouch,ta(L,"wheel",tb),W=[L,Y,H,X],$.matchMedia?(e.matchMedia=function(e){var t,r=$.matchMedia();for(t in e)r.add(t,e[t]);return r},$.addEventListener("matchMediaInit",function(){tP(),tT()}),$.addEventListener("matchMediaRevert",function(){return tA()}),$.addEventListener("matchMedia",function(){tF(0,1),tO("matchMedia")}),$.matchMedia().add("(orientation: portrait)",function(){return tw(),tw})):console.warn("Requires GSAP 3.11.0 or later"),tw(),ta(Y,"scroll",tb);var t,r,n=X.hasAttribute("style"),i=X.style,o=i.borderTopStyle,s=$.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",M.m=Math.round((t=tr(X)).top+M.sc())||0,R.m=Math.round(t.left+R.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),n||(X.setAttribute("style",""),X.removeAttribute("style")),K=setInterval(tm,250),$.delayedCall(.5,function(){return eO=0}),ta(Y,"touchcancel",ek),ta(X,"touchstart",ek),ts(ta,Y,"pointerdown,touchstart,mousedown",ej),ts(ta,Y,"pointerup,touchend,mouseup",eI),et=$.utils.checkPrefix("transform"),tD.push(et),N=eS(),V=$.delayedCall(.2,tF).pause(),eo=[Y,"visibilitychange",function(){var e=L.innerWidth,t=L.innerHeight;Y.hidden?(en=e,ei=t):(en!==e||ei!==t)&&t_()},Y,"DOMContentLoaded",tF,L,"load",tF,L,"resize",t_],eL(ta),ty.forEach(function(e){return e.enable(0,1)}),r=0;r<v.length;r+=3)tc(tu,v[r],v[r+1]),tc(tu,v[r],v[r+2])}},e.config=function(t){"limitCallbacks"in t&&(ew=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(K)||(K=r)&&setInterval(tm,r),"ignoreMobileResize"in t&&(el=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eL(tu)||eL(ta,t.autoRefreshEvents||"none"),eu=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=j(e),n=v.indexOf(r),i=eB(r);~n&&v.splice(n,i?6:2),t&&(i?m.unshift(L,t,X,t,H,t):m.unshift(r,t))},e.clearMatchMedia=function(e){ty.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(eY(e)?j(e):e).getBoundingClientRect(),i=n[r?e0:e1]*t||0;return r?n.right-i>0&&n.left+i<L.innerWidth:n.bottom-i>0&&n.top+i<L.innerHeight},e.positionInViewport=function(e,t,r){eY(e)&&(e=j(e));var n=e.getBoundingClientRect(),i=n[r?e0:e1],o=null==t?i/2:t in th?th[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+o)/L.innerWidth:(n.top+o)/L.innerHeight},e.killAll=function(e){if(ty.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tx.killAll||[];tx={},t.forEach(function(e){return e()})}},e}();t0.version="3.14.2",t0.saveStyles=function(e){return e?G(e).forEach(function(e){if(e&&e.style){var t=tS.indexOf(e);t>=0&&tS.splice(t,5),tS.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),$.core.getCache(e),ed())}}):tS},t0.revert=function(e,t){return tT(!e,t)},t0.create=function(e,t){return new t0(e,t)},t0.refresh=function(e){return e?t_(!0):(N||t0.register())&&tF(!0)},t0.update=function(e){return++v.cache&&tB(2*(!0===e))},t0.clearScrollMemory=tR,t0.maxScroll=function(e,t){return eN(e,t?R:M)},t0.getScrollFunc=function(e,t){return k(j(e),t?R:M)},t0.getById=function(e){return tv[e]},t0.getAll=function(){return ty.filter(function(e){return"ScrollSmoother"!==e.vars.id})},t0.isScrolling=function(){return!!eP},t0.snapDirectional=to,t0.addEventListener=function(e,t){var r=tx[e]||(tx[e]=[]);~r.indexOf(t)||r.push(t)},t0.removeEventListener=function(e,t){var r=tx[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},t0.batch=function(e,t){var r,n=[],i={},o=t.interval||.016,s=t.batchMax||1e9,a=function(e,t){var r=[],n=[],i=$.delayedCall(o,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),s<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&eH(t[r])&&"onRefreshInit"!==r?a(r,t[r]):t[r];return eH(s)&&(s=s(),ta(t0,"refresh",function(){return s=t.batchMax()})),G(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(t0.create(t))}),n};var t1,t2=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},t3=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(D.isTouch?" pinch-zoom":""):"none",t===H&&e(X,r)},t5={auto:1,scroll:1},t6=function(e){var t,r=e.event,n=e.target,i=e.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||$.core.getCache(o),a=eS();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==X&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(t5[(t=e7(o)).overflowY]||t5[t.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==n&&!eB(o)&&(t5[(t=e7(o)).overflowY]||t5[t.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},t8=function(e,t,r,n){return D.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&t6,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ta(Y,D.eventTypes[0],t9,!1,!0)},onDisable:function(){return tu(Y,D.eventTypes[0],t9,!0)}})},t4=/(input|label|select|textarea)/i,t9=function(e){var t=t4.test(e.target.tagName);(t||t1)&&(e._gsapAllow=!0,t1=t)},t7=function(e){eW(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,o,s,a,u,c=e,l=c.normalizeScrollX,f=c.momentum,h=c.allowNestedScroll,p=c.onRelease,d=j(e.target)||H,g=$.core.globals().ScrollSmoother,y=g&&g.get(),m=ep&&(e.content&&j(e.content)||y&&!1!==e.content&&!y.smooth()&&y.content()),b=k(d,M),w=k(d,R),_=1,x=(D.isTouch&&L.visualViewport?L.visualViewport.scale*L.visualViewport.width:L.outerWidth)/L.innerWidth,C=0,E=eH(f)?function(){return f(t)}:function(){return f||2.8},O=t8(d,e.type,!0,h),S=function(){return i=!1},A=ek,P=ek,T=function(){r=eN(d,M),P=J(+!!ep,r),l&&(A=J(0,eN(d,R))),n=tM},I=function(){m._gsap.y=eF(parseFloat(m._gsap.y)+b.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",b.offset=b.cacheID=0},F=function(){if(i){requestAnimationFrame(S);var e=eF(t.deltaY/2),r=P(b.v-e);if(m&&r!==b.v+b.offset){b.offset=r-b.v;var n=eF((parseFloat(m&&m._gsap.y)||0)-b.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",b.cacheID=v.cache,tB()}return!0}b.offset&&I(),i=!0},q=function(){T(),o.isActive()&&o.vars.scrollY>r&&(b()>r?o.progress(1)&&b(r):o.resetTo("scrollY",r))};return m&&$.set(m,{y:"+=0"}),e.ignoreCheck=function(e){return ep&&"touchmove"===e.type&&F()||_>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=_;_=eF((L.visualViewport&&L.visualViewport.scale||1)/x),o.pause(),e!==_&&t3(d,_>1.01||!l&&"x"),s=w(),a=b(),T(),n=tM},e.onRelease=e.onGestureStart=function(e,t){if(b.offset&&I(),t){v.cache++;var n,i,s=E();l&&(i=(n=w())+-(.05*s*e.velocityX)/.227,s*=t2(w,n,i,eN(d,R)),o.vars.scrollX=A(i)),i=(n=b())+-(.05*s*e.velocityY)/.227,s*=t2(b,n,i,eN(d,M)),o.vars.scrollY=P(i),o.invalidate().duration(s).play(.01),(ep&&o.vars.scrollY>=r||n>=r-1)&&$.to({},{onUpdate:q,duration:s})}else u.restart(!0);p&&p(e)},e.onWheel=function(){o._ts&&o.pause(),eS()-C>1e3&&(n=0,C=eS())},e.onChange=function(e,t,r,i,o){if(tM!==n&&T(),t&&l&&w(A(i[2]===t?s+(e.startX-e.x):w()+t-i[1])),r){b.offset&&I();var u=o[2]===r,c=u?a+e.startY-e.y:b()+r-o[1],f=P(c);u&&c!==f&&(a+=f-c),b(f)}(r||t)&&tB()},e.onEnable=function(){t3(d,!l&&"x"),t0.addEventListener("refresh",q),ta(L,"resize",q),b.smooth&&(b.target.style.scrollBehavior="auto",b.smooth=w.smooth=!1),O.enable()},e.onDisable=function(){t3(d,!0),tu(L,"resize",q),t0.removeEventListener("refresh",q),O.kill()},e.lockAxis=!1!==e.lockAxis,(t=new D(e)).iOS=ep,ep&&!b()&&b(1),ep&&$.ticker.add(ek),u=t._dc,o=$.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:l?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tZ(b,b(),function(){return o.pause()})},onUpdate:tB,onComplete:u.vars.onComplete}),t};t0.sort=function(e){if(eH(e))return ty.sort(e);var t=L.pageYOffset||0;return t0.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+L.innerHeight}),ty.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},t0.observe=function(e){return new D(e)},t0.normalizeScroll=function(e){if(void 0===e)return ec;if(!0===e&&ec)return ec.enable();if(!1===e){ec&&ec.kill(),ec=e;return}var t=e instanceof D?e:t7(e);return ec&&ec.target===t.target&&ec.kill(),eB(t.target)&&(ec=t),t},t0.core={_getVelocityProp:F,_inputObserver:t8,_scrollers:v,_proxies:m,bridge:{ss:function(){eP||tO("scrollStart"),eP=eS()},ref:function(){return Q}}},ez()&&$.registerPlugin(t0),e.ScrollTrigger=t0,e.default=t0,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esMo
8dule",{value:!0}):delete window.default})(t)},6445:function(e){e.exports=function(){function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],o=["clip","crop","fill","fillmax","max","scale","min"],s=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"],u=function(){function u(t,r){this.options=void 0,this.options=t?e({},t.options||{},r||{}):e({},r||{})}var c=u.prototype;return c.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,o={baseUrl:n};for(var s in r)r.hasOwnProperty(s)&&(o[function(e){for(var r,n=function(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,void 0)}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(r=n()).done;){var o=r.value,s=o[0],a=o[1];if(e===s||e===a)return s}return e}(s)]=r[s]);return new u(this,e({baseUrl:n},o))},c.image=function(e){return this.withOptions({source:e})},c.dataset=function(e){return this.withOptions({dataset:e})},c.projectId=function(e){return this.withOptions({projectId:e})},c.bg=function(e){return this.withOptions({bg:e})},c.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},c.width=function(e){return this.withOptions({width:e})},c.height=function(e){return this.withOptions({height:e})},c.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},c.maxWidth=function(e){return this.withOptions({maxWidth:e})},c.minWidth=function(e){return this.withOptions({minWidth:e})},c.maxHeight=function(e){return this.withOptions({maxHeight:e})},c.minHeight=function(e){return this.withOptions({minHeight:e})},c.size=function(e,t){return this.withOptions({width:e,height:t})},c.blur=function(e){return this.withOptions({blur:e})},c.sharpen=function(e){return this.withOptions({sharpen:e})},c.rect=function(e,t,r,n){return this.withOptions({rect:{left:e,top:t,width:r,height:n}})},c.format=function(e){return this.withOptions({format:e})},c.invert=function(e){return this.withOptions({invert:e})},c.orientation=function(e){return this.withOptions({orientation:e})},c.quality=function(e){return this.withOptions({quality:e})},c.forceDownload=function(e){return this.withOptions({download:e})},c.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},c.flipVertical=function(){return this.withOptions({flipVertical:!0})},c.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},c.fit=function(e){if(-1===o.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},c.crop=function(e){if(-1===s.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},c.saturation=function(e){return this.withOptions({saturation:e})},c.auto=function(e){if(-1===a.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},c.pad=function(e){return this.withOptions({pad:e})},c.vanityName=function(e){return this.withOptions({vanityName:e})},c.frame=function(e){if(1!==e)throw Error('Invalid frame value "'+e+'"');return this.withOptions({frame:e})},c.url=function(){return function(t){var o=e({},t||{}),s=o.source;delete o.source;var a=function(t){var r,i;if(!t)return null;if("string"==typeof t&&(i=t,/^https?:\/\//.test(""+i)))r={asset:{_ref:n(t)}};else if("string"==typeof t)r={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)r={asset:t};else if(t&&"string"==typeof t._id)r={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)r={asset:{_ref:n(t.asset.url)}};else{if("object"!=typeof t.asset)return null;r=e({},t)}return t.crop&&(r.crop=t.crop),t.hotspot&&(r.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var r=e({},t);
8return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(s);if(!a)throw Error("Unable to resolve image URL from source ("+JSON.stringify(s)+")");var u=function(e){var t=e.split("-"),n=t[1],i=t[2],o=t[3];if(!n||!i||!o)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');var s=i.split("x"),a=s[0],u=s[1],c=+a,l=+u;if(!(isFinite(c)&&isFinite(l)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');return{id:n,width:c,height:l,format:o}}(a.asset._ref||a.asset._id||""),c=Math.round(a.crop.left*u.width),l=Math.round(a.crop.top*u.height),f={left:c,top:l,width:Math.round(u.width-a.crop.right*u.width-c),height:Math.round(u.height-a.crop.bottom*u.height-l)},h=a.hotspot.height*u.height/2,p=a.hotspot.width*u.width/2,d=a.hotspot.x*u.width,g=a.hotspot.y*u.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=e({},o,function(e,t){var r,n=t.width,i=t.height;if(!(n&&i))return{width:n,height:i,rect:e.crop};var o=e.crop,s=e.hotspot,a=n/i;if(o.width/o.height>a){var u=Math.round(o.height),c=Math.round(u*a),l=Math.max(0,Math.round(o.top)),f=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-c/2));f<o.left?f=o.left:f+c>o.left+o.width&&(f=o.left+o.width-c),r={left:f,top:l,width:c,height:u}}else{var h=o.width,p=Math.round(h/a),d=Math.max(0,Math.round(o.left)),g=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-p/2));g<o.top?g=o.top:g+p>o.top+o.height&&(g=o.top+o.height-p),r={left:d,top:g,width:h,height:p}}return{width:n,height:i,rect:r}}({crop:f,hotspot:{left:d-p,top:g-h,right:d+p,bottom:g+h}},o))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=e.vanityName?"/"+e.vanityName:"",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format+r,o=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,s=[];if(e.rect){var a=e.rect,u=a.left,c=a.top,l=a.width,f=a.height;(0!==u||0!==c||f!==e.asset.height||l!==e.asset.width)&&s.push("rect="+u+","+c+","+l+","+f)}e.bg&&s.push("bg="+e.bg),e.focalPoint&&(s.push("fp-x="+e.focalPoint.x),s.push("fp-y="+e.focalPoint.y));var h=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");
8return(h&&s.push("flip="+h),i.forEach(function(t){var r=t[0],n=t[1];void 0!==e[r]?s.push(n+"="+encodeURIComponent(e[r])):void 0!==e[n]&&s.push(n+"="+encodeURIComponent(e[n]))}),0===s.length)?o:o+"?"+s.join("&")}(e({},o,{asset:u}))}(this.options)},c.toString=function(){return this.url()},u}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),r=t.apiHost,n=t.projectId,i=t.dataset;return new u(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:i})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var o=e.clientConfig,s=o.apiHost,a=o.projectId,c=o.dataset;return new u(null,{baseUrl:(s||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:a,dataset:c})}return new u(null,e||{})}}()},6781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(4252)._(r(4232)).default.createContext({})},6941:(e,t,r)=>{"use strict";r.d(t,{os:()=>e_});var n,i,o,s,a,u,c,l=r(1705),f={},h=180/Math.PI,p=Math.PI/180,d=Math.atan2,g=/([A-Z])/g,y=/(left|right|width|margin|padding|x)/i,v=/[\s,\(]\S/,m={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},b=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},w=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},x=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},C=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},E=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},O=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},S=function(e,t,r){return e.style[t]=r},A=function(e,t,r){return e.style.setProperty(t,r)},P=function(e,t,r){return e._gsap[t]=r},T=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},R=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},M=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},j="transform",I=j+"Origin",k=function e(t,r){var n=this,i=this.target,o=i.style,s=i._gsap;if(t in f&&o){if(this.tfm=this.tfm||{},"transform"===t)return m.transform.split(",").forEach(function(t){return e.call(n,t,r)});if(~(t=m[t]||t).indexOf(",")?t.split(",").forEach(function(e){return n.tfm[e]=K(i,e)}):this.tfm[t]=s.x?s[t]:K(i,t),t===I&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(j)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(I,r,"")),t=j}(o||r)&&this.props.push(t,r,o[t])},F=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},q=function(){var e,t,r=this.props,n=this.target,i=n.style,o=n._gsap;for(e=0;e<r.length;e+=3)r[e+1]?2===r[e+1]?n[r[e]](r[e+2]):n[r[e]]=r[e+2]:r[e+2]?i[r[e]]=r[e+2]:i.removeProperty("--"===r[e].substr(0,2)?r[e]:r[e].replace(g,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)o[t]=this.tfm[t];o.svg&&(o.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(e=u())&&e.isStart||i[j]||(F(i),o.zOrigin&&i[I]&&(i[I]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},z=function(e,t){var r={target:e,props:[],revert:q,save:k};return e._gsap||l.os.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return r.save(e)}),r},B=function(e,t){var r=n.createElementNS?n.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):n.createElement(e);return r&&r.style?r:n.createElement(e)},U=function e(t,r,n){var i=getComputedStyle(t);return i[r]||i.getPropertyValue(r.replace(g,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&e(t,$(r)||r,1)||""},D="O,Moz,ms,Ms,Webkit".split(","),$=function(e,t,r){var n=(t||s).style,i=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(D[i]+e in n););return i<0?null:(3===i?"ms":i>=0?D[i]:"")+e},N=function(){"undefined"!=typeof window&&window.document&&(i=(n=window.document).documentElement,s=B("div")||{style:{}},B("div"),I=(j=$(j))+"Origin",s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",c=!!$("perspective"),u=l.os.core.reverting,o=1)},L=function(e){var t,r=e.ownerSVGElement,n=B("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=e.cloneNode(!0);o.style.display="block",n.appendChild(o),i.appendChild(n);try{t=o.getBBox()}catch(e){}return n.removeChild(o),i.removeChild(n),t},Y=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},H=function(e){var t,r;try{t=e.getBBox()}catch(n){t=L(e),r=1}return t&&(t.width||t.height)||r||(t=L(e)),!t||t.width||t.x||t.y?t:{x:+Y(e,["x","cx","x1"])||0,y:+Y(e,["y","cy","y1"])||0,width:0,height:0}},X=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&H(e))},W=function(e,t){if(t){var r,n=e.style;t in f&&t!==I&&(t=j),n.removeProperty?(("ms"===(r=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),n.removeProperty("--"===r?t:t.replace(g,"-$1").toLowerCase())):n.removeAttribute(t)}},V=function(e,t,r,n,i,o){var s=new l.J7(e._pt,t,r,0,1,o?O:E);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},G={deg:1,rad:1,turn:1},J={grid:1,flex:1},Z=function e(t,r,i,o){var a,u,c,h,p=parseFloat(i)||0,d=(i+"").trim().substr((p+"").length)||"px",g=s.style,v=y.test(r),m="svg"===t.tagName.toLowerCase(),b=(m?"client":"offset")+(v?"Width":"Height"),w="px"===o,_="%"===o;if(o===d||!p||G[o]||G[d])return p;if("px"===d||w||(p=e(t,r,i,"px")),h=t.getCTM&&X(t),(_||"%"===d)&&(f[r]||~r.indexOf("adius")))return a=h?t.getBBox()[v?"width":"height"]:t[b],(0,l.E_)(_?p/a*100:p/100*a);if(g[v?"width":"height"]=100+(w?d:o),u="rem"!==o&&~r.indexOf("adius")||"em"===o&&t.appendChild&&!m?t:t.parentNode,h&&(u=(t.ownerSVGElement||{}).parentNode),u&&u!==n&&u.appendChild||(u=n.body),(c=u._gsap)&&_&&c.width&&v&&c.time===l.au.time&&!c.uncache)return(0,l.E_)(p/c.width*100);if(_&&("height"===r||"width"===r)){var x=t.style[r];t.style[r]=100+o,a=t[b],x?t.style[r]=x:W(t,r)}else(_||"%"===d)&&!J[U(u,"display")]&&(g.position=U(t,"position")),u===t&&(g.position="static"),u.appendChild(s),a=s[b],u.removeChild(s),g.position="absolute";return v&&_&&((c=(0,l.a0)(u)).time=l.au.time,c.width=u[b]),(0,l.E_)(w?a*p/100:a&&p?100/a*p:0)},K=function(e,t,r,n){var i;return o||N(),t in m&&"transform"!==t&&~(t=m[t]).indexOf(",")&&(t=t.
8split(",")[0]),f[t]&&"transform"!==t?(i=el(e,n),i="transformOrigin"!==t?i[t]:i.svg?i.origin:ef(U(e,I))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=en[t]&&en[t](e,t,r)||U(e,t)||(0,l.n)(e,t)||+("opacity"===t)),r&&!~(i+"").trim().indexOf(" ")?Z(e,t,i,r)+r:i},Q=function(e,t,r,n){if(!r||"none"===r){var i=$(t,e,1),o=i&&U(e,i,1);o&&o!==r?(t=i,r=o):"borderColor"===t&&(r=U(e,"borderTopColor"))}var s,a,u,c,f,h,p,d,g,y,v,m=new l.J7(this._pt,e.style,t,0,1,l.l1),b=0,w=0;if(m.b=r,m.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=U(e,n.substring(4,n.indexOf(")")))),"auto"===n&&(h=e.style[t],e.style[t]=n,n=U(e,t)||n,h?e.style[t]=h:W(e,t)),s=[r,n],(0,l.Uc)(s),r=s[0],n=s[1],u=r.match(l.vM)||[],(n.match(l.vM)||[]).length){for(;a=l.vM.exec(n);)p=a[0],g=n.substring(b,a.index),f?f=(f+1)%5:("rgba("===g.substr(-5)||"hsla("===g.substr(-5))&&(f=1),p!==(h=u[w++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),"="===p.charAt(1)&&(p=(0,l.B0)(c,p)+v),d=parseFloat(p),y=p.substr((d+"").length),b=l.vM.lastIndex-y.length,y||(y=y||l.Yz.units[t]||v,b===n.length&&(n+=y,m.e+=y)),v!==y&&(c=Z(e,t,h,y)||0),m._pt={_next:m._pt,p:g||1===w?g:",",s:c,c:d-c,m:f&&f<4||"zIndex"===t?Math.round:0});m.c=b<n.length?n.substring(b,n.length):""}else m.r="display"===t&&"none"===n?O:E;return l.Ks.test(n)&&(m.e=0),this._pt=m,m},ee={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},et=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return("top"===r||"bottom"===r||"left"===n||"right"===n)&&(e=r,r=n,n=e),t[0]=ee[r]||r,t[1]=ee[n]||n,t.join(" ")},er=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r,n,i,o=t.t,s=o.style,a=t.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)f[r=a[i]]&&(n=1,r="transformOrigin"===r?I:j),W(o,r);n&&(W(o,j),u&&(u.svg&&o.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",el(o,1),u.uncache=1,F(s)))}},en={clearProps:function(e,t,r,n,i){if("isFromStart"!==i.data){var o=e._pt=new l.J7(e._pt,t,r,0,0,er);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},ei=[1,0,0,1,0,0],eo={},es=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},ea=function(e){var t=U(e,j);return es(t)?ei:t.substr(7).match(l.vX).map(l.E_)},eu=function(e,t){var r,n,o,s,a=e._gsap||(0,l.a0)(e),u=e.style,c=ea(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(c=[(o=e.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?ei:c:(c!==ei||e.offsetParent||e===i||a.svg||(o=u.display,u.display="block",(r=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(s=1,n=e.nextElementSibling,i.appendChild(e)),c=ea(e),o?u.display=o:W(e,"display"),s&&(n?r.insertBefore(e,n):r?r.appendChild(e):i.removeChild(e))),t&&c.length>6?[c[0],c[1],c[4],c[5],c[12],c[13]]:c)},ec=function(e,t,r,n,i,o){var s,a,u,c,l=e._gsap,f=i||eu(e,!0),h=l.xOrigin||0,p=l.yOrigin||0,d=l.xOffset||0,g=l.yOffset||0,y=f[0],v=f[1],m=f[2],b=f[3],w=f[4],_=f[5],x=t.split(" "),C=parseFloat(x[0])||0,E=parseFloat(x[1])||0;r?f!==ei&&(a=y*b-v*m)&&(u=b/a*C+-m/a*E+(m*_-b*w)/a,c=-v/a*C+y/a*E-(y*_-v*w)/a,C=u,E=c):(C=(s=H(e)).x+(~x[0].indexOf("%")?C/100*s.width:C),E=s.y+(~(x[1]||x[0]).indexOf("%")?E/100*s.height:E)),n||!1!==n&&l.smooth?(l.xOffset=d+((w=C-h)*y+(_=E-p)*m)-w,l.yOffset=g+(w*v+_*b)-_):l.xOffset=l.yOffset=0,l.xOrigin=C,l.yOrigin=E,l.smooth=!!n,l.origin=t,l.originIsAbsolute=!!r,e.style[I]="0px 0px",o&&(V(o,l,"xOrigin",h,C),V(o,l,"yOrigin",p,E),V(o,l,"xOffset",d,l.xOffset),V(o,l,"yOffset",g,l.yOffset)),e.setAttribute("data-svg-origin",C+" "+E)},el=function(e,t){var r=e._gsap||new l.n6(e);if("x"in r&&!t&&!r.uncache)return r;var n,i,o,s,a,u,f,g,y,v,m,b,w,_,x,C,E,O,S,A,P,T,R,M,k,F,q,z,B,D,$,N,L=e.style,Y=r.scaleX<0,H=getComputedStyle(e),W=U(e,I)||"0";return n=i=o=u=f=g=y=v=m=0,s=a=1,r.svg=!!(e.getCTM&&X(e)),H.translate&&(("none"!==H.translate||"none"!==H.scale||"none"!==H.rotate)&&(L[j]=("none"!==H.translate?"translate3d("+(H.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==H.rotate?"rotate("+H.rotate+") ":"")+("none"!==H.scale?"scale("+H.scale.split(" ").join(",")+") ":"")+("none"!==H[j]?H[j]:"")),L.scale=L.rotate=L.translate="none"),_=eu(e,r.svg),r.svg&&(r.uncache?(k=e.getBBox(),W=r.xOrigin-k.x+"px "+(r.yOrigin-k.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),ec(e,M||W,!!M||r.originIsAbsolute,!1!==r.smooth,_)),b=r.xOrigin||0,w=r.yOrigin||0,_!==ei&&
8(O=_[0],S=_[1],A=_[2],P=_[3],n=T=_[4],i=R=_[5],6===_.length?(s=Math.sqrt(O*O+S*S),a=Math.sqrt(P*P+A*A),u=O||S?d(S,O)*h:0,(y=A||P?d(A,P)*h+u:0)&&(a*=Math.abs(Math.cos(y*p))),r.svg&&(n-=b-(b*O+w*A),i-=w-(b*S+w*P))):(N=_[6],D=_[7],q=_[8],z=_[9],B=_[10],$=_[11],n=_[12],i=_[13],o=_[14],f=(x=d(N,B))*h,x&&(M=T*(C=Math.cos(-x))+q*(E=Math.sin(-x)),k=R*C+z*E,F=N*C+B*E,q=-(T*E)+q*C,z=-(R*E)+z*C,B=-(N*E)+B*C,$=-(D*E)+$*C,T=M,R=k,N=F),g=(x=d(-A,B))*h,x&&(M=O*(C=Math.cos(-x))-q*(E=Math.sin(-x)),k=S*C-z*E,F=A*C-B*E,$=P*E+$*C,O=M,S=k,A=F),u=(x=d(S,O))*h,x&&(M=O*(C=Math.cos(x))+S*(E=Math.sin(x)),k=T*C+R*E,S=S*C-O*E,R=R*C-T*E,O=M,T=k),f&&Math.abs(f)+Math.abs(u)>359.9&&(f=u=0,g=180-g),s=(0,l.E_)(Math.sqrt(O*O+S*S+A*A)),a=(0,l.E_)(Math.sqrt(R*R+N*N)),y=Math.abs(x=d(T,R))>2e-4?x*h:0,m=$?1/($<0?-$:$):0),r.svg&&(M=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!es(U(e,j)),M&&e.setAttribute("transform",M))),Math.abs(y)>90&&270>Math.abs(y)&&(Y?(s*=-1,y+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,y+=y<=0?180:-180)),t=t||r.uncache,r.x=n-((r.xPercent=n&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+"px",r.z=o+"px",r.scaleX=(0,l.E_)(s),r.scaleY=(0,l.E_)(a),r.rotation=(0,l.E_)(u)+"deg",r.rotationX=(0,l.E_)(f)+"deg",r.rotationY=(0,l.E_)(g)+"deg",r.skewX=y+"deg",r.skewY=v+"deg",r.transformPerspective=m+"px",(r.zOrigin=parseFloat(W.split(" ")[2])||!t&&r.zOrigin||0)&&(L[I]=ef(W)),r.xOffset=r.yOffset=0,r.force3D=l.Yz.force3D,r.renderTransform=r.svg?ey:c?eg:ep,r.uncache=0,r},ef=function(e){return(e=e.split(" "))[0]+" "+e[1]},eh=function(e,t,r){var n=(0,l.l_)(t);return(0,l.E_)(parseFloat(t)+parseFloat(Z(e,"x",r+"px",n)))+n},ep=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,eg(e,t)},ed="0deg",eg=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,c=r.rotationY,l=r.rotationX,f=r.skewX,h=r.skewY,d=r.scaleX,g=r.scaleY,y=r.transformPerspective,v=r.force3D,m=r.target,b=r.zOrigin,w="",_="auto"===v&&e&&1!==e||!0===v;if(b&&(l!==ed||c!==ed)){var x,C=parseFloat(c)*p,E=Math.sin(C),O=Math.cos(C);o=eh(m,o,-(E*(x=Math.cos(C=parseFloat(l)*p))*b)),s=eh(m,s,-(-Math.sin(C)*b)),a=eh(m,a,-(O*x*b)+b)}"0px"!==y&&(w+="perspective("+y+") "),(n||i)&&(w+="translate("+n+"%, "+i+"%) "),(_||"0px"!==o||"0px"!==s||"0px"!==a)&&(w+="0px"!==a||_?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),u!==ed&&(w+="rotate("+u+") "),c!==ed&&(w+="rotateY("+c+") "),l!==ed&&(w+="rotateX("+l+") "),(f!==ed||h!==ed)&&(w+="skew("+f+", "+h+") "),(1!==d||1!==g)&&(w+="scale("+d+", "+g+") "),m.style[j]=w||"translate(0, 0)"},ey=function(e,t){var r,n,i,o,s,a=t||this,u=a.xPercent,c=a.yPercent,f=a.x,h=a.y,d=a.rotation,g=a.skewX,y=a.skewY,v=a.scaleX,m=a.scaleY,b=a.target,w=a.xOrigin,_=a.yOrigin,x=a.xOffset,C=a.yOffset,E=a.forceCSS,O=parseFloat(f),S=parseFloat(h);d=parseFloat(d),g=parseFloat(g),(y=parseFloat(y))&&(g+=y=parseFloat(y),d+=y),d||g?(d*=p,g*=p,r=Math.cos(d)*v,n=Math.sin(d)*v,i=-(Math.sin(d-g)*m),o=Math.cos(d-g)*m,g&&(y*=p,i*=s=Math.sqrt(1+(s=Math.tan(g-y))*s),o*=s,y&&(r*=s=Math.sqrt(1+(s=Math.tan(y))*s),n*=s)),r=(0,l.E_)(r),n=(0,l.E_)(n),i=(0,l.E_)(i),o=(0,l.E_)(o)):(r=v,o=m,n=i=0),(O&&!~(f+"").indexOf("px")||S&&!~(h+"").indexOf("px"))&&(O=Z(b,"x",f,"px"),S=Z(b,"y",h,"px")),(w||_||x||C)&&(O=(0,l.E_)(O+w-(w*r+_*i)+x),S=(0,l.E_)(S+_-(w*n+_*o)+C)),(u||c)&&(s=b.getBBox(),O=(0,l.E_)(O+u/100*s.width),S=(0,l.E_)(S+c/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+O+","+S+")",b.setAttribute("transform",s),E&&(b.style[j]=s)},ev=function(e,t,r,n,i){var o,s,a=(0,l.vQ)(i),u=parseFloat(i)*(a&&~i.indexOf("rad")?h:1)-n,c=n+u+"deg";return a&&("short"===(o=i.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===o&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===o&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),e._pt=s=new l.J7(e._pt,t,r,n,u,w),s.e=c,s.u="deg",e._props.push(r),s},em=function(e,t){for(var r in t)e[r]=t[r];return e},eb=function(e,t,r){var n,i,o,s,a,u,c,h=em({},r._gsap),p=r.style;for(i in h.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),p[j]=t,n=el(r,1),W(r,j),r.setAttribute("transform",o)):(o=getComputedStyle(r)[j],p[j]=t,n=el(r,1),p[j]=o),f)(o=h[i])!==(s=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(a=(0,l.l_)(o)!==(c=(0,l.l_)(s))?Z(r,i,o,c):parseFloat(o),u=parseFloat(s),e._pt=new l.J7(e._pt,n,i,a,u-a,b),e._pt.u=c||0,e._props.push(i));em(n,h)};(0,l.fA)("padding,margin,Width,Radius",function(e,t){var r="Right",n="Bottom",i="Left",o=(t<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return t<2?e+r:"border"+r+e});en[t>1?"border"+e:e]=function(e,t,r,n,i){var s,a;if(arguments.length<4)return 5===(a=(s=o.map(function(t){return K(e,t,r)})).join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]}),e.init(t,a,i)}});var ew={name:"css",register:N,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s,a,u,c,h,p,d,g,y,w,E,O,S,A,P,T,R,M=this._props,k=e.style,F=r.vars.startAt;for(d in o||N(),this.styles=this.styles||z(e),T=this.styles.props,this.tween=r,t)if("autoRound"!==d&&(a=t[d],!(l.wU[d]&&(0,l.Zm)(d,t,r,n,e,i)))){if(h=typeof a,p=en[d],"function"===h&&
8(h=typeof(a=a.call(r,n,e,i))),"string"===h&&~a.indexOf("random(")&&(a=(0,l.Vy)(a)),p)p(this,e,d,a,r)&&(P=1);else if("--"===d.substr(0,2))s=(getComputedStyle(e).getPropertyValue(d)+"").trim(),a+="",l.qA.lastIndex=0,!l.qA.test(s)&&(g=(0,l.l_)(s),(y=(0,l.l_)(a))?g!==y&&(s=Z(e,d,s,y)+y):g&&(a+=g)),this.add(k,"setProperty",s,a,n,i,0,0,d),M.push(d),T.push(d,0,k[d]);else if("undefined"!==h){if(F&&d in F?(s="function"==typeof F[d]?F[d].call(r,n,e,i):F[d],(0,l.vQ)(s)&&~s.indexOf("random(")&&(s=(0,l.Vy)(s)),(0,l.l_)(s+"")||"auto"===s||(s+=l.Yz.units[d]||(0,l.l_)(K(e,d))||""),"="===(s+"").charAt(1)&&(s=K(e,d))):s=K(e,d),c=parseFloat(s),(w="string"===h&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),u=parseFloat(a),d in m&&("autoAlpha"===d&&(1===c&&"hidden"===K(e,"visibility")&&u&&(c=0),T.push("visibility",0,k.visibility),V(this,k,"visibility",c?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==d&&"transform"!==d&&~(d=m[d]).indexOf(",")&&(d=d.split(",")[0])),E=d in f){if(this.styles.save(d),R=a,"string"===h&&"var(--"===a.substring(0,6)){if("calc("===(a=U(e,a.substring(4,a.indexOf(")")))).substring(0,5)){var q=e.style.perspective;e.style.perspective=a,a=U(e,"perspective"),q?e.style.perspective=q:W
8(e,"perspective")}u=parseFloat(a)}if(O||((S=e._gsap).renderTransform&&!t.parseTransform||el(e,t.parseTransform),A=!1!==t.smoothOrigin&&S.smooth,(O=this._pt=new l.J7(this._pt,k,j,0,1,S.renderTransform,S,0,-1)).dep=1),"scale"===d)this._pt=new l.J7(this._pt,S,"scaleY",S.scaleY,(w?(0,l.B0)(S.scaleY,w+u):u)-S.scaleY||0,b),this._pt.u=0,M.push("scaleY",d),d+="X";else if("transformOrigin"===d){T.push(I,0,k[I]),a=et(a),S.svg?ec(e,a,0,A,0,this):((y=parseFloat(a.split(" ")[2])||0)!==S.zOrigin&&V(this,S,"zOrigin",S.zOrigin,y),V(this,k,d,ef(s),ef(a)));continue}else if("svgOrigin"===d){ec(e,a,1,A,0,this);continue}else if(d in eo){ev(this,S,d,c,w?(0,l.B0)(c,w+a):a);continue}else if("smoothOrigin"===d){V(this,S,"smooth",S.smooth,a);continue}else if("force3D"===d){S[d]=a;continue}else if("transform"===d){eb(this,a,e);continue}}else d in k||(d=$(d)||d);if(E||(u||0===u)&&(c||0===c)&&!v.test(a)&&d in k)g=(s+"").substr((c+"").length),u||(u=0),y=(0,l.l_)(a)||(d in l.Yz.units?l.Yz.units[d]:g),g!==y&&(c=Z(e,d,s,y)),this._pt=new l.J7(this._pt,E?S:k,d,c,(w?(0,l.B0)(c,w+u):u)-c,!E&&("px"===y||"zIndex"===d)&&!1!==t.autoRound?C:b),this._pt.u=y||0,E&&R!==a?(this._pt.b=s,this._pt.e=R,this._pt.r=x):g!==y&&"%"!==y&&(this._pt.b=s,this._pt.r=_);else if(d in k)Q.call(this,e,d,s,w?w+a:a);else if(d in e)this.add(e,d,s||e[d],w?w+a:a,n,i);else if("parseTransform"!==d){(0,l.dg)(d,a);continue}E||(d in k?T.push(d,0,k[d]):"function"==typeof e[d]?T.push(d,2,e[d]()):T.push(d,1,s||e[d])),M.push(d)}}P&&(0,l.St)(this)},render:function(e,t){if(t.tween._time||!u())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:K,aliases:m,getSetter:function(e,t,r){var n=m[t];return n&&0>n.indexOf(",")&&(t=n),t in f&&t!==I&&(e._gsap.x||K(e,"x"))?r&&a===r?"scale"===t?T:P:(a=r||{},"scale"===t?R:M):e.style&&!(0,l.OF)(e.style[t])?S:~t.indexOf("-")?A:(0,l.Dx)(e,t)},core:{_removeProperty:W,_getMatrix:eu}};l.os.utils.checkPrefix=$,l.os.core.getStyleSaver=z,function(e,t,r,n){var i=(0,l.fA)(e+","+t+","+r,function(e){f[e]=1});(0,l.fA)(t,function(e){l.Yz.units[e]="deg",eo[e]=1}),m[i[13]]=e+","+t,(0,l.fA)(n,function(e){var t=e.split(":");m[t[1]]=i[t[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),(0,l.fA)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){l.Yz.units[e]="px"}),l.os.registerPlugin(ew);var e_=l.os.registerPlugin(ew)||l.os;e_.core.Tween},7328:(e,t,r)=>{e.exports=r(5237)},7666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(4232),i=n.useLayoutEffect,o=n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},8050:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,Q:()=>c});var n={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},i={0:8203,1:8204,2:8205,3:65279},o=[,,,,].fill(String.fromCodePoint(i[0])).join("");function s(e,t,r="auto"){let n;return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${n=JSON.stringify(t),`${o}${Array.from(n).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${n} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(i[e])).join("")}).join("")}`}`}Object.fromEntries(Object.entries(i).map(e=>e.reverse())),Object.fromEntries(Object.entries(n).map(e=>e.reverse()));var a=`${Object.values(n).map(e=>`\\u{${e.toString(16)}}`).join("")}`,u=RegExp(`[${a}]{4,}`,"gu");function c(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(u,""),encoded:(null==(r=t.match(u))?void 0:r[0])||""}.cleaned)}},8220:e=>{!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),s=o[0],a=o[1],c=new i((s+a)*3/4-a),l=0,f=a>0?s-4:s;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
8+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),u=s(o),c=u.write(n,i);return c!==o&&(u=u.slice(0,c)),u}if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return a.from(l,t,r);var d=function(e){if(a.isBuffer(e)){var t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return c(e),s(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)};function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(i)return n?-1:O(e).length;t=(""+t).toLowerCase(),i=!0}}function d(e,t,r){var i,o,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=R[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,s=r,0===o&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;o<a;
vendor: 12,407 bytes, line 8
8o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*s}else -1!==l&&(o-=o-l),l=-1}else for(r+u>a&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;h<u;h++)if(c(e,o+h)!==c(t,h)){f=!1;break}if(f)return o}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(T(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),T(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(T(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(T(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,u=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r),f=0;f<u;++f)if(c[f]!==l[f]){o=c[f],s=l[f];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)};function m(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:(192&(o=e[i+1]))==128&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,h.slice(g,g+=4096));return d}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function x(e,t,r,n,o){return t*=1,r>>>=0,o||_(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function C(e,t,r,n,o){return t*=1,r>>>=0,o||_(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,u,c,l,f,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,u=parseInt(t.substr(2*s,2),16);if((a=u)!=a)break;e[r+s]=u}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,P(O(e,this.length-i),this,i,o);case"ascii":return s=t,a=r,P(S(e),this,s,a);case"latin1":case"binary":return function(e,t,r,n){return P(S(t),e,r,n)}(this,e,t,r);case"base64":return u=t,c=r,P(A(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,f=r,P(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-l),this,l,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return C(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return C(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var o=i-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;
8if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%u]}return this};var E=/[^+/0-9A-Za-z-_]/g;function O(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function S(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var R=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,p=e[t+f];for(f+=h,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+p]=255&s,p+=d,s/=256,c-=8);e[r+p-d]|=128*g}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},s=!0;try{t[e](o,o.exports,n),s=!1}finally{s&&delete r[e]}return o.exports}n.ab="//",e.exports=n(72)}()},8230:(e,t,r)=>{e.exports=r(8761)},8761:(e,t,r)=>{"use strict";var n=r(3095),i=r(7327);let o=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onNavigate","onMouseEnter","onTouchStart","legacyBehavior"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return A},useLinkStatus:function(){return S}});let u=r(8365),c=r(7876),l=u._(r(4232)),f=r(9463),h=r(2679),p=r(5882),d=r(7728),g=r(509),y=r(9874),v=r(1514),m=r(9527),b=r(726),w=r(9539);r(25);let _=new Set;function x(e,t,r,n){if((0,h.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(_.has(i))return;_.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function C(e){return"string"==typeof e?e:(0,p.formatUrl)(e)}let E=l.default.forwardRef(function(e,t){let r,n,{href:s,as:u,children:p,prefetch:_=null,passHref:E,replace:O,shallow:S,scroll:A,locale:P,onClick:T,onNavigate:R,onMouseEnter:M,onTouchStart:j,legacyBehavior:I=!1}=e,k=i(e,o);r=p,I&&("string"==typeof r||"number"==typeof r)&&(r=(0,c.jsx)("a",{children:r}));let F=l.default.useContext(y.RouterContext),q=!1!==_,{href:z,as:B}=l.default.useMemo(()=>
8{if(!F){let e=C(s);return{href:e,as:u?C(u):e}}let[e,t]=(0,f.resolveHref)(F,s,!0);return{href:e,as:u?(0,f.resolveHref)(F,u):t||e}},[F,s,u]),U=l.default.useRef(z),D=l.default.useRef(B);I&&(n=l.default.Children.only(r));let $=I?n&&"object"==typeof n&&n.ref:t,[N,L,Y]=(0,v.useIntersection)({rootMargin:"200px"}),H=l.default.useCallback(e=>{(D.current!==B||U.current!==z)&&(Y(),D.current=B,U.current=z),N(e)},[B,z,Y,N]),X=(0,w.useMergedRef)(H,$);l.default.useEffect(()=>{F&&L&&q&&x(F,z,B,{locale:P})},[B,z,L,P,q,null==F?void 0:F.locale,F]);let W={ref:X,onClick(e){I||"function"!=typeof T||T(e),I&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),F&&(e.defaultPrevented||function(e,t,r,n,i,o,s,a,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,h.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==s||s;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:a,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,F,z,B,O,S,A,P,R))},onMouseEnter(e){I||"function"!=typeof M||M(e),I&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),F&&x(F,z,B,{locale:P,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){I||"function"!=typeof j||j(e),I&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),F&&x(F,z,B,{locale:P,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(B))W.href=B;else if(!I||E||"a"===n.type&&!("href"in n.props)){let e=void 0!==P?P:null==F?void 0:F.locale;W.href=(null==F?void 0:F.isLocaleDomain)&&(0,m.getDomainLocale)(B,e,null==F?void 0:F.locales,null==F?void 0:F.domainLocales)||(0,b.addBasePath)((0,g.addLocale)(B,e,null==F?void 0:F.defaultLocale))}return I?l.default.cloneElement(n,W):(0,c.jsx)("a",a(a(a({},k),W),{},{children:r}))}),O=(0,l.createContext)({pending:!1}),S=()=>(0,l.useContext)(O),A=E;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let n=r(5591);function i(e,t,i,o){{let s=r(6251).normalizeLocalePath,a=r(2314).detectDomainLocale,u=t||s(e,i).detectedLocale,c=a(o,void 0,u);if(c){let t="http"+(c.http?"":"s")+"://",r=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,n.normalizePathTrailingSlash)(""+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(4232);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9632:(e,t,r)=>{var n=r(9742);r(2552);var i=r(4232),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),s=void 0!==n&&n.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?s:i;c(a(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var u=document.querySelector('meta[property="csp-nonce"]');this._nonce=u?u.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
8Sheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(a(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
8h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(a(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var l=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},f={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return f[n]||(f[n]="jsx-"+l(e+"-"+r)),f[n]}function p(e,t){var r=e+t;return f[r]||(f[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),f[r]}var d=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new u({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=h(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:h(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),g=i.createContext(null);g.displayName="StyleSheetContext";var y=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new d;function m(e){var t=v||i.useContext(g);return t&&y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}m.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=m}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.