1/*! For license information please see bce83fd975e0fc59.vendor.js.LICENSE.txt */ 2(globalThis.webpackChunk_canva_web=globalThis.webpackChunk_canva_web||[]).push([[98821],{4333:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(715786);function i(e){return(0,r.T)(null==e?void 0:e.then)}},15924:(e,t,n)=>{"use strict";var r,i;function o(e){return e.type===r.literal}function s(e){return e.type===r.argument}function a(e){return e.type===r.number}function u(e){return e.type===r.date}function c(e){return e.type===r.time}function l(e){return e.type===r.select}function h(e){return e.type===r.plural}function f(e){return e.type===r.pound}function d(e){return e.type===r.tag}function p(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function m(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}n.d(t,{Im:()=>s,Jp:()=>l,N1:()=>p,N6:()=>h,Qh:()=>c,Tu:()=>m,ZE:()=>r,eW:()=>o,jA:()=>f,oF:()=>a,rq:()=>i,tv:()=>u,xm:()=>d}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(r||(r={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}))},27798:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},30801:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,U:()=>s});var r=n(944339),i=n(715786);function o(e){return(0,r.AQ)(this,arguments,(function(){var t,n,i;return(0,r.YH)(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.N3)(t.read())];case 3:return n=o.sent(),i=n.value,n.done?[4,(0,r.N3)(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,(0,r.N3)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}
vendor: 4,998 bytes, line 2
2))}))}function s(e){return(0,i.T)(null==e?void 0:e.getReader)}},34334:(e,t,n)=>{"use strict";function r(){}n.d(t,{l:()=>r})},37684:(e,t,n)=>{"use strict";n.d(t,{zR:()=>g});var r=n(437391),i=n(493036),o=(n(989706),n(168682));function s(e){return"/"===e.charAt(0)?e:"/"+e}function a(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function c(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function l(e,t,n,o){var s;"string"==typeof e?(s=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),s.state=t):(void 0===(s=(0,r.A)({},e)).pathname&&(s.pathname=""),s.search?"?"!==s.search.charAt(0)&&(s.search="?"+s.search):s.search="",s.hash?"#"!==s.hash.charAt(0)&&(s.hash="#"+s.hash):s.hash="",void 0!==t&&void 0===s.state&&(s.state=t));try{s.pathname=decodeURI(s.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+s.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return n&&(s.key=n),o?s.pathname?"/"!==s.pathname.charAt(0)&&(s.pathname=(0,i.A)(s.pathname,o.pathname)):s.pathname=o.pathname:s.pathname||(s.pathname="/"),s}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var f=!("undefined"==typeof window||!window.document||!window.document.createElement);function d(e,t){t(window.confirm(e))}var p="popstate",m="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function g(e){void 0===e&&(e={}),f||(0,o.A)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,g=!(-1===window.navigator.userAgent.indexOf("Trident")),b=e,E=b.forceRefresh,y=void 0!==E&&E,w=b.getUserConfirmation,T=void 0===w?d:w,_=b.keyLength,A=void 0===_?6:_,x=e.basename?u(s(e.basename)):"";function R(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return x&&(o=a(o,x)),l(o,r,n)}function S(){return Math.random().toString(36).substr(2,A)}var C=h();function P(e){(0,r.A)(G,e),G.length=n.length,C.notifyListeners(G.location,G.action)}function I(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(R(e.state))}function N(){M(R(v()))}var O=!1;function M(e){if(O)O=!1,P();else{C.confirmTransitionTo(e,"POP",T,(function(t){t?P({action:"POP",location:e}):function(e){var t=G.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(O=!0,U(i))}(e)}))}}var L=R(v()),B=[L.key];function F(e){return x+c(e)}function U(e){n.go(e)}var D=0;function H(e){1===(D+=e)&&1===e?(window.addEventListener(p,I),g&&window.addEventListener(m,N)):0===D&&(window.removeEventListener(p,I),g&&window.removeEventListener(m,N))}var k=!1;var G={length:n.length,action:"POP",location:L,createHref:F,push:function(e,t){var r="PUSH",o=l(e,t,S(),G.location);C.confirmTransitionTo(o,r,T,(function(e){if(e){var t=F(o),s=o.key,a=o.state;if(i)if(n.pushState({key:s,state:a},null,t),y)window.location.href=t;else{var u=B.indexOf(G.location.key),c=B.slice(0,u+1);c.push(o.key),B=c,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=l(e,t,S(),G.location);C.confirmTransitionTo(o,r,T,(function(e){if(e){var t=F(o),s=o.key,a=o.state;if(i)if(n.replaceState({key:s,state:a},null,t),y)window.location.replace(t);else{var u=B.indexOf(G.location.key);-1!==u&&(B[u]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return k||(H(1),k=!0),function(){return k&&(k=!1,H(-1)),t()}},listen:function(e){var t=C.appendListener(e);return H(1),function(){H(-1),t()}}};return G}},49392:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(168499);function i(e,t){return void 0===t&&(t=0),(0,r.N)((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}},53656:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(116758),i=new r.c((function(e){return e.complete()}
2))},54374:(e,t,n)=>{"use strict";function r(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule((function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(o),!i)return o}n.d(t,{N:()=>r})},96204:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(984431),i=n(715786);function o(e){return(0,i.T)(e[r.s])}},105572:(e,t,n)=>{var r=n(876461),i=n(493668),o=n(334986),s=n(565800),a=n(451118),u=n(999208),c=n(689420);c.alea=r,c.xor128=i,c.xorwow=o,c.xorshift7=s,c.xor4096=a,c.tychei=u,e.exports=c},106853:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},106881:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(168499),i=n(875031);function o(e,t){return void 0===t&&(t=!1),(0,r.N)((function(n,r){var o=0;n.subscribe((0,i._)(r,(function(n){var i=e(n,o++);(i||t)&&r.next(n),!i&&r.complete()})))}))}},109916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var r=(0,n(746704).L)((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}}))},116758:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(390453),i=n(324094),o=n(984431),s=n(731602),a=n(639541),u=n(715786),c=n(751527),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,s=this,a=(o=e)&&o instanceof r.vU||function(e){return e&&(0,u.T)(e.next)&&(0,u.T)(e.error)&&(0,u.T)(e.complete)}(o)&&(0,i.Uv)(o)?e:new r.Ms(e,t,n);return(0,c.Y)((function(){var e=s,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?s._subscribe(a):s._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=h(t))((function(t,i){var o=new r.Ms({next:function(t){try{e(t)}catch(n){i(n),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,s.m)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=h(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function h(e){var t;return null!==(t=null!=e?e:a.$.Promise)&&void 0!==t?t:Promise}},118451:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(168499);function i(e){return(0,r.N)((function(t,n){try{t.subscribe(n)}finally{n.add(e)}}))}},120609:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(944339),i={setInterval:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,r.fX)([e,t],(0,r.zs)(n))):setInterval.apply(void 0,(0,r.fX)([e,t],(0,r.zs)(n)))},clearInterval:function(e){var t=i.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0}},133225:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(339862),i=n(30801);function o(e,t){return(0,r.M)((0,i.C)(e),t)}},135493:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(715786);function i(e){return e&&(0,r.T)(e.schedule)}},143833:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(116758);function i(e,t){return new r.c((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}},164975:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(866949),i=n(54374),o=n(875031);function s(e,t,n,s,a,u,c,l){var h=[],f=0,d=0,p=!1,m=function(){!p||h.length||f||t.complete()},v=function(e){return f<s?g(e):h.push(e)},g=function(e){u&&t.next(e),f++;var l=!1;(0,r.Tg)(n(e,d++)).subscribe((0,o._)(t,(function(e){null==a||a(e),u?v(e):t.next(e)}),(function(){l=!0}),void 0,(function(){if(l)try{f--;for(var e=function(){var e=h.shift();c?(0,i.N)(t,c,(function(){return g(e)})):g(e)};h.length&&f<s;)e();m()}catch(n){t.error(n)}})))};return e.subscribe((0,o._)(t,v,(function(){p=!0,m()}))),function(){null==l||l()}}},167921:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var r=n(944339),i=n(607597),o=n(919010),s=n(853469);function a(e,t){return t?Object.keys(e).reduce((function(n,i){var o,s;return n[i]=(o=e[i],(s=t[i])?(0,r.Cl)((0,r.Cl)((0,r.Cl)({},o||{}),s||{}
2),Object.keys(o).reduce((function(e,t){return e[t]=(0,r.Cl)((0,r.Cl)({},o[t]),s[t]||{}),e}),{})):o),n}),(0,r.Cl)({},e)):e}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var c=function(){function e(t,n,i,c){var l,h=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=h.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===s.TT.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,s.hN)(h.ast,h.locales,h.formatters,h.formats,e,void 0,h.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=h.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(h.locales)[0]}},this.getAst=function(){return h.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=c||{},d=(f.formatters,(0,r.Tt)(f,["formatters"]));this.ast=e.__parse(t,(0,r.Cl)((0,r.Cl)({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=a(e.formats,i),this.formatters=c&&c.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:u(l.number),strategy:o.W.variadic}),getDateTimeFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:u(l.dateTime),strategy:o.W.variadic}),getPluralRules:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:u(l.pluralRules),strategy:o.W.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=i.qg,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},168499:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,S:()=>i});var r=n(715786);function i(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return function(t){if(i(t))return t.lift((function(t){try{return e(t,this)}catch(n){this.error(n)}}));throw new TypeError("Unable to lift unknown Observable type")}}},168682:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,i="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(i);var n="function"==typeof t?t():t,o=n?"".concat(i,": ").concat(n):i;throw new Error(o)}}},181615:(e,t,n)=>{"use strict";function r(e,t,n,i){function o(e,t){return function(n){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),a(n,"An initializer"),e.push(n)}}function s(e,t,n,r,i,s,a,u,c){var l;switch(i){case 1:l="accessor";break;case 2:l="method";break;case 3:l="getter";break;case 4:l="setter";break;default:l="field"}var h,f,d={kind:l,name:a?"#"+t:t,static:s,private:a,metadata:u},p={v:!1};if(d.addInitializer=o(r,p),0===i?a?(h=n.get,f=n.set):(h=function(){return this[t]},f=function(e){this[t]=e}):2===i?h=function(){return n.value}:(1!==i&&3!==i||(h=function(){return n.get.call(this)}),1!==i&&4!==i||(f=function(e){n.set.call(this,e)})),h){var m=h;h=function(e){return 0===arguments.length&&(e=this),m.call(e)}}if(f){var v=f;f=function(e,t){return 1===arguments.length&&(t=e,e=this),v.call(e,t)}}if(a)d.access=h&&f?{get:h,set:f}:h?{get:h}:{set:f};else{var g=function(e){return t in e};d.access=h&&f?{has:g,get:h,set:f}:h?{has:g,get:h}:{has:g,set:f}}var b=e(c,d);return p.v=!0,b}function a(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function u(e,t){var n=typeof t;if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&a(t.get,"accessor.get"),void 0!==t.set&&a(t.set,"accessor.set"),void 0!==t.init&&a(t.init,"accessor.init")}else if("function"!==n){var r;throw r=0===e?"field":10===e?"class":"method",new TypeError(r+" decorators must return a function or void 0")}}function c(e,t,n,r,i,o,a,c,l){var h,f,d,p,m,v,g=n[0];if(a?h=0===i||1===i?{get:n[3],set:n[4]}:3===i?{get:n[3]}:4===i?{set:n[3]}:{value:n[3]}:0!==i&&(h=Object.getOwnPropertyDescriptor(t,r)),1===i?d={get:h.get,set:h.set}:2===i?d=h.value:3===i?d=h.get:4===i&&(d=h.set),"function"==typeof g)void 0!==(p=s(g,r,h,c,i,o,a,l,d))&&(u(i,p),0===i?f=p:1===i?(f=p.init,m=p.get||d.get,v=p.set||d.set,d={get:m,set:v}):d=p);else for(var b=g.length-1;b>=0;b--){var E;if(void 0!==(p=s(g[b],r,h,c,i,o,a,l,d)))u(i,p),0===i?E=p:1===i?(E=p.init,m=p.get||d.get,v=p.set||d.set,d={get:m,set:v}):d=p,void 0!==E&&(void 0===f?f=E:"function"==typeof f?f=[f,E]:f.push(E))}if(0===i||1===i){if(void 0===f)f=function(e,t){return t};else if("function"!=typeof f){var y=f;f=function(e,t){for(var n=t,r=0;r<y.length;r++)n=y[r].call(e,n);return n}}else{var w=f;f=function(e,t){return w.call(e,t)}}e.push(f)}0!==i&&(1===i?(h.get=d.get,h.set=d.set):2===i?h.value=d:3===i?h.get=d:4===i&&(h.set=d),a?1===i?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===i?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(t,r,h))}function l(e,t){t&&e.push((function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e}))}function h(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return r=function(e,t,n,r){if(void 0!==r)var i=r[Symbol.metadata||Symbol.for("Symbol.metadata")];var s=Object.create(void 0===i?null:i),a=function(e,t,n){for(var r,i,o=[],s=new Map,a=new Map,u=0;u<t.length;u++){var h=t[u];
2if(Array.isArray(h)){var f,d,p=h[1],m=h[2],v=h.length>3,g=p>=5;if(g?(f=e,p-=5,d=i=i||[]):(f=e.prototype,d=r=r||[]),0!==p&&!v){var b=g?a:s,E=b.get(m)||0;if(!0===E||3===E&&4!==p||4===E&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+m);!E&&p>2?b.set(m,p):b.set(m,!0)}c(o,f,h,m,p,g,v,d,n)}}return l(o,r),l(o,i),o}(e,t,s);return n.length||h(e,s),{e:a,get c(){return function(e,t,n){if(t.length>0){for(var r=[],i=e,s=e.name,a=t.length-1;a>=0;a--){var c={v:!1},l=t[a](i,{kind:"class",name:s,addInitializer:o(r,c),metadata:n});c.v=!0,void 0!==l&&(u(10,l),i=l)}return[h(i,n),function(){for(var e=0;e<r.length;e++)r[e].call(i)}]}}(e,n,s)}}},r(e,t,n,i)}n.d(t,{_:()=>r})},192897:(e,t,n)=>{var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function s(e,t,n){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var a=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function l(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function h(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,s=0;s<r.length;s+=1)if(t[i]===r[s]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,s=0;s<n.length;s+=1)if(r[i]===n[s]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function p(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function m(e,t,n){function r(){a&&i&&o&&(a(s),a=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,s=null,a=n||null;c?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,s=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),h(e,"head",t)}function v(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=l(e,"script",{src:t}),s=!1;return o.onload=o.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout((function(){s||(s=!0,n&&n(Error("Script load timeout")))}),r||5e3),o}return null}function g(){this.a=0,this.c=null}function b(e){return e.a++,function(){e.a--,y(e)}}function E(e,t){e.c=t,y(e)}function y(e){0==e.a&&e.c&&(e.c(),e.c=null)}function w(e){this.a=e||"-"}function T(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function _(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function A(e){return e.a+e.f}function x(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function R(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function S(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new w("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function C(e){if(e.g){var t=p(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),d(e.f,n,r)}P(e,"inactive")}function P(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,A(n)):e.h[t]())}function I(){this.c={}}function N(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function O(e){h(e.c,"body",e.a)}function M(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+_(e.c)+";font-style:"+x(e)+";font-weight:"+e.f+"00;"}function L(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function B(e,t,n,r,i,o,s){this.v=e,this.B=t,this.c=n,this.a=r,this.s=s||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new N(this.c,this.s),this.h=new N(this.c,this.s),this.j=new N(this.c,this.s),this.m=new N(this.c,this.s),e=M(e=new T(this.a.c+",serif",A(this.a))),this.g.a.style.cssText=e,e=M(e=new T(this.a.c+",sans-serif",A(this.a))),this.h.a.style.cssText=e,e=M(e=new T("serif",A(this.a))),this.j.a.style.cssText=e,e=M(e=new T("sans-serif",A(this.a))),this.m.a.style.cssText=e,O(this.g),O(this.h),O(this.j),O(this.m)}w.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},L.prototype.start=function(){var e=this.c.o.document,t=this,n=a(),r=new Promise((function(r,i){!function o(){a()-n>=t.f?i():e.fonts.load(function(e){return x(e)+" "+e.f+"00 300px "+_(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(o,25)}),(function(){i()}))}()})),i=null,o=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([o,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var F={D:"serif",C:"sans-serif"},U=null;
vendor: 5,126 bytes, line 2
2function D(){if(null===U){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);U=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return U}function H(e,t,n){for(var r in F)if(F.hasOwnProperty(r)&&t===e.f[F[r]]&&n===e.f[F[r]])return!0;return!1}function k(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=D()&&H(e,n,r)),t?a()-e.A>=e.w?D()&&H(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?G(e,e.v):G(e,e.B):function(e){setTimeout(s((function(){k(this)}),e),50)}(e):G(e,e.v)}function G(e,t){setTimeout(s((function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),t(this.a)}),e),0)}function j(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}B.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),k(this)};var V=null;function X(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&d(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),P(e,"active")):C(e.a))}function z(e){this.j=e,this.a=new I,this.h=0,this.f=this.g=!0}function W(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,a=r||{};if(0===n.length&&o)C(t.a);else{t.f+=n.length,o&&(t.j=o);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],h=a[l.c],f=t.a,p=l;if(f.g&&d(f.f,[f.a.c("wf",p.c,A(p).toString(),"loading")]),P(f,"fontloading",p),f=null,null===V)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);V=p?42<parseInt(p[1],10):!m}else V=!1;f=V?new L(s(t.g,t),s(t.h,t),t.c,l,t.s,h):new B(s(t.g,t),s(t.h,t),t.c,l,t.s,e,h),c.push(f)}for(u=0;u<c.length;u++)c[u].start()}}),0)}function q(e,t){this.c=e,this.a=t}function Y(e,t){this.c=e,this.a=t}function $(e,t){this.c=e||K,this.a=[],this.f=[],this.g=t||""}j.prototype.g=function(e){var t=this.a;t.g&&d(t.f,[t.a.c("wf",e.c,A(e).toString(),"active")],[t.a.c("wf",e.c,A(e).toString(),"loading"),t.a.c("wf",e.c,A(e).toString(),"inactive")]),P(t,"fontactive",e),this.m=!0,X(this)},j.prototype.h=function(e){var t=this.a;if(t.g){var n=p(t.f,t.a.c("wf",e.c,A(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,A(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,A(e).toString(),"inactive")),d(t.f,r,i)}P(t,"fontinactive",e),X(this)},z.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&d(e.f,[e.a.c("wf","loading")]),P(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new j(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,o,t,n,r)}))}(this,new S(this.c,e),e)},q.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),s=[];if(i)for(var a=0;a<i.length;a++){var u=i[a].fontfamily;null!=i[a].fontStyle&&null!=i[a].fontWeight?(n=i[a].fontStyle+i[a].fontWeight,s.push(new T(u,n))):s.push(new T(u))}e(s)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;v(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),(function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},Y.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},s=new g;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],b(s));var a=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),c=0;c<u.length;c+=1)a.push(new T(r[0],u[c]));else a.push(new T(r[0]));E(s,(function(){e(a,o)}))};var K="https://fonts.googleapis.com/css";function Z(e){this.f=e,this.a=[],this.c={}}var J={latin:"BESbswy","latin-ext":"çöüÄÅ",cyrillic:"йÑÐ",greek:"αβΣ",khmer:"ááá",Hanuman:"ááá"},Q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new g,n=this.c,r=new $(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new Z(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var s;if(s=[],a=r[1])for(var a,u=(a=a.split(",")).length,c=0;c<u;c++){var l;if((l=a[c]).match(/^[\w-]+$/))if(null==(h=te.exec(l.toLowerCase())))l="";
2else{if(l=null==(l=h[2])||""==l?"n":ee[l],null==(h=h[1])||""==h)h="4";else var h=Q[h]||(isNaN(h)?"4":h.substr(0,1));l=[l,h].join("")}else l="";l&&s.push(l)}0<s.length&&(o=s),3==r.length&&(s=[],0<(r=(r=r[2])?r.split(","):s).length&&(r=J[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=J[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new T(i,o[r]))}}(o),m(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),b(t)),E(t,(function(){e(o.a,o.c,re)}))},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?v(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],s=t[i+1],a=0;a<s.length;a++)r.push(new T(o,s[a]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(u){}e(r)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var s=n.fonts[i];r.a.push(new T(s.name,R("font-weight:"+s.weight+";font-style:"+s.style)))}e(r.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var se=new z(window);se.a.c.custom=function(e,t){return new Y(t,e)},se.a.c.fontdeck=function(e,t){return new oe(t,e)},se.a.c.monotype=function(e,t){return new q(t,e)},se.a.c.typekit=function(e,t){return new ie(t,e)},se.a.c.google=function(e,t){return new ne(t,e)};var ae={load:s(se.load,se)};void 0===(r=function(){return ae}.call(t,n,t,e))||(e.exports=r)}()},197139:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(944339),i=n(116758),o=n(324094),s=n(730406),a=n(326359),u=n(751527),c=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,r.C6)(t,e),t.prototype.lift=function(e){var t=new l(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new s.P},t.prototype.next=function(e){var t=this;(0,u.Y)((function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=(0,r.Ju)(t.currentObservers),s=o.next();!s.done;s=o.next()){s.value.next(e)}}catch(a){n={error:a}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;(0,u.Y)((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;(0,u.Y)((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?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,n=this,r=n.hasError,i=n.isStopped,s=n.observers;return r||i?o.Kn:(this.currentObservers=null,s.push(e),new o.yU((function(){t.currentObservers=null,(0,a.o)(s,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new i.c;return e.source=this,e},t.create=function(e,t){return new l(e,t)},t}(i.c),l=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.C6)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:o.Kn},t}(c)},204430:(e,t,n)=>{"use strict";e.exports=n(542410)},208463:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
2n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},215056:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(702540),i=n(715786);function o(e){return(0,i.T)(null==e?void 0:e[r.l])}},215823:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(531289),i=n(168499),o=n(875031);function s(e,t){return void 0===t&&(t=r.E),(0,i.N)((function(n,r){var i=null,s=null,a=null,u=function(){if(i){i.unsubscribe(),i=null;var e=s;s=null,r.next(e)}};function c(){var n=a+e,o=t.now();if(o<n)return i=this.schedule(void 0,n-o),void r.add(i);u()}n.subscribe((0,o._)(r,(function(n){s=n,a=t.now(),i||(i=t.schedule(c,e),r.add(i))}),(function(){u(),r.complete()}),void 0,(function(){s=i=null})))}))}},222182:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(687991),i=n(436368);function o(e){return void 0===e&&(e=1/0),(0,r.Z)(i.D,e)}},230777:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(436368),i=n(168499),o=n(875031);function s(e,t){return void 0===t&&(t=r.D),e=null!=e?e:a,(0,i.N)((function(n,r){var i,s=!0;n.subscribe((0,o._)(r,(function(n){var o=t(n);!s&&e(i,o)||(s=!1,i=o,r.next(n))})))}))}function a(e,t){return e===t}},262382:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(944339),i=n(866949),o=n(197139),s=n(390453),a=n(168499);function u(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new o.B}:t,r=e.resetOnError,u=void 0===r||r,l=e.resetOnComplete,h=void 0===l||l,f=e.resetOnRefCountZero,d=void 0===f||f;return function(e){var t,r,o,l=0,f=!1,p=!1,m=function(){null==r||r.unsubscribe(),r=void 0},v=function(){m(),t=o=void 0,f=p=!1},g=function(){var e=t;v(),null==e||e.unsubscribe()};return(0,a.N)((function(e,a){l++,p||f||m();var b=o=null!=o?o:n();a.add((function(){0!==--l||p||f||(r=c(g,d))})),b.subscribe(a),!t&&l>0&&(t=new s.Ms({next:function(e){return b.next(e)},error:function(e){p=!0,m(),r=c(v,u,e),b.error(e)},complete:function(){f=!0,m(),r=c(v,h),b.complete()}}),(0,i.Tg)(e).subscribe(t))}))(e)}}function c(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(!0!==t){if(!1!==t){var a=new s.Ms({next:function(){a.unsubscribe(),e()}});return(0,i.Tg)(t.apply(void 0,(0,r.fX)([],(0,r.zs)(n)))).subscribe(a)}}else e()}},264995:(e,t,n)=>{"use strict";n.d(t,{R0:()=>s,lI:()=>o});n(715786);var r=n(135493);function i(e){return e[e.length-1]}function o(e){return(0,r.m)(i(e))?e.pop():void 0}function s(e,t){return"number"==typeof i(e)?e.pop():t}},270713:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(167921).S},276089:(e,t,n)=>{"use strict";function r(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return e instanceof Node||e instanceof i(e).Node}function a(e){return e instanceof Element||e instanceof i(e).Element}function u(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function l(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function h(e){return["table","td","th"].includes(r(e))}function f(e){const t=p(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function d(e){let t=b(e);for(;u(t)&&!m(t);){if(f(t))return t;t=b(t)}return null}function p(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function v(e){return i(e).getComputedStyle(e)}function g(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||o(e);return c(t)?t.host:t}function E(e){const t=b(e);return m(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&l(t)?t:E(t)}function y(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=E(e),s=o===(null==(r=e.ownerDocument)?void 0:r.body),a=i(o);
2return s?t.concat(a,a.visualViewport||[],l(o)?o:[],a.frameElement&&n?y(a.frameElement):[]):t.concat(o,y(o,[],n))}n.d(t,{$4:()=>b,CP:()=>g,L9:()=>v,Lv:()=>h,Ng:()=>c,Tc:()=>p,ZU:()=>l,ep:()=>o,eu:()=>m,gJ:()=>d,mq:()=>r,sQ:()=>f,sb:()=>u,v9:()=>y,vq:()=>a,zk:()=>i})},286352:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(944339),i=n(982346),o=function(e){function t(t,n){void 0===n&&(n=i._.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return(0,r.C6)(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i._)},287643:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(437391),i=n(27798),o=n(969116),s=n(434008),a=n(951265),u=n(978109),c=n(915004),l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,a.A)(e,t)}))},h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return(0,s.A)(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&l(e,r),i&&l(e,i),o&&l(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.A)(e,["classNames"]));return u.createElement(c.Ay,(0,r.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.Component);h.defaultProps={classNames:""},h.propTypes={};const f=h},294462:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function a(){s(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}
vendor: 4,662 bytes, line 2
2));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=b(0,0,0,0);function d(e){return parseFloat(e)||0}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=h(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=d(o)}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=d(r.width),u=d(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=p(r,"left","right")+o),Math.round(u+s)!==n&&(u-=p(r,"top","bottom")+s)),!function(e){return e===h(e).document.documentElement}(e)){var c=Math.round(a+o)-t,l=Math.round(u+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(l)&&(u-=l)}return b(i.left,i.top,a,u)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?v(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):m(e):f}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var E=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,i,o,s,a,u,c=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(a.prototype),l(u,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new E(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}
2));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!=typeof WeakMap?new WeakMap:new r,_=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);T.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){_.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));const A=void 0!==o.ResizeObserver?o.ResizeObserver:_},300729:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,UE:()=>g,UU:()=>m,cY:()=>d,jD:()=>v,we:()=>h});var r=n(821046),i=n(978109),o=n(3372),s="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function a(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){const n=u(e);return Math.round(t*n)/n}function l(e){const t=i.useRef(e);return s((()=>{t.current=e})),t}function h(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:h=[],platform:f,elements:{reference:d,floating:p}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,E]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,w]=i.useState(h);a(y,h)||w(h);const[T,_]=i.useState(null),[A,x]=i.useState(null),R=i.useCallback((e=>{e!==I.current&&(I.current=e,_(e))}),[]),S=i.useCallback((e=>{e!==N.current&&(N.current=e,x(e))}),[]),C=d||T,P=p||A,I=i.useRef(null),N=i.useRef(null),O=i.useRef(b),M=null!=v,L=l(v),B=l(f),F=i.useCallback((()=>{if(!I.current||!N.current)return;const e={placement:t,strategy:n,middleware:y};B.current&&(e.platform=B.current),(0,r.rD)(I.current,N.current,e).then((e=>{const t={...e,isPositioned:!0};U.current&&!a(O.current,t)&&(O.current=t,o.flushSync((()=>{E(t)})))}))}),[y,t,n,B]);s((()=>{!1===g&&O.current.isPositioned&&(O.current.isPositioned=!1,E((e=>({...e,isPositioned:!1}))))}),[g]);const U=i.useRef(!1);s((()=>(U.current=!0,()=>{U.current=!1})),[]),s((()=>{if(C&&(I.current=C),P&&(N.current=P),C&&P){if(L.current)return L.current(C,P,F);F()}}),[C,P,F,L,M]);const D=i.useMemo((()=>({reference:I,floating:N,setReference:R,setFloating:S})),[R,S]),H=i.useMemo((()=>({reference:C,floating:P})),[C,P]),k=i.useMemo((()=>{const e={position:n,left:0,top:0};if(!H.floating)return e;const t=c(H.floating,b.x),r=c(H.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,m,H.floating,b.x,b.y]);return i.useMemo((()=>({...b,update:F,refs:D,elements:H,floatingStyles:k})),[b,F,D,H,k])}const f=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:i}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{};var o}}),d=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),v=(e,t)=>
2({...(0,r.jD)(e),options:[e,t]}),g=(e,t)=>({...f(e),options:[e,t]})},312556:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(264995),i=n(664245);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,r.lI)(e);return(0,i.H)(e,n)}},315703:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r=n(866949),i=n(168499),o=n(875031);function s(e,t){return(0,i.N)((function(n,i){var s=null,a=0,u=!1,c=function(){return u&&!s&&i.complete()};n.subscribe((0,o._)(i,(function(n){null==s||s.unsubscribe();var u=0,l=a++;(0,r.Tg)(e(n,l)).subscribe(s=(0,o._)(i,(function(e){return i.next(t?t(n,e,l,u++):e)}),(function(){s=null,c()})))}),(function(){u=!0,c()})))}))}},324094:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>u,Uv:()=>c,yU:()=>a});var r=n(944339),i=n(715786),o=n(109916),s=n(326359),a=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,s,a;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=(0,r.Ju)(u),h=c.next();!h.done;h=c.next()){h.value.remove(this)}}catch(g){e={error:g}}finally{try{h&&!h.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else u.remove(this);var f=this.initialTeardown;if((0,i.T)(f))try{f()}catch(b){a=b instanceof o.Z?b.errors:[b]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=(0,r.Ju)(d),m=p.next();!m.done;m=p.next()){var v=m.value;try{l(v)}catch(E){a=null!=a?a:[],E instanceof o.Z?a=(0,r.fX)((0,r.fX)([],(0,r.zs)(a)),(0,r.zs)(E.errors)):a.push(E)}}}catch(y){n={error:y}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(n)throw n.error}}}if(a)throw new o.Z(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,s.o)(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&(0,s.o)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),u=a.EMPTY;function c(e){return e instanceof a||e&&"closed"in e&&(0,i.T)(e.remove)&&(0,i.T)(e.add)&&(0,i.T)(e.unsubscribe)}function l(e){(0,i.T)(e)?e():e.unsubscribe()}},326359:(e,t,n)=>{"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},327569:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(222182),i=n(866949),o=n(53656),s=n(264995),a=n(664245);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,s.lI)(e),u=(0,s.R0)(e,1/0),c=e;return c.length?1===c.length?(0,i.Tg)(c[0]):(0,r.U)(u)((0,a.H)(c,n)):o.w}},332386:(e,t,n)=>{"use strict";n.d(t,{i:()=>N});var r,i=n(944339),o=n(810487),s=n(15924),a=n(688125),u=n(680811),c=n(553824),l=n(358892),h=new RegExp("^".concat(a.r.source,"*")),f=new RegExp("".concat(a.r.source,"*$"));function d(e,t){return{start:e,end:t}}var p=!!String.prototype.startsWith&&"_a".startsWith("a",1),m=!!String.fromCodePoint,v=!!Object.fromEntries,g=!!String.prototype.codePointAt,b=!!String.prototype.trimStart,E=!!String.prototype.trimEnd,y=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},w=!0;try{w="a"===(null===(r=P("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===r?void 0:r[0])}catch(B){w=!1}var T,_=p?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},A=m?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},x=v?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},R=g?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},S=b?function(e){return e.trimStart()}:function(e){return e.replace(h,"")},C=E?function(e){return e.trimEnd()}:function(e){return e.replace(f,"")};function P(e,t){return new RegExp(e,t)}if(w){var I=P("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");T=function(e,t){var n;return I.lastIndex=t,null!==(n=I.exec(e)[1])&&void 0!==n?n:""}}else T=function(e,t){for(var n=[];;){var r=R(e,t);if(void 0===r||M(r)||L(r))break;n.push(r),t+=r>=65536?2:1}return A.apply(void 0,n)};var N=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();
vendor: 5,512 bytes, line 2
2if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(o.F.UNMATCHED_CLOSING_TAG,d(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&O(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var u=this.clonePosition();this.bump(),r.push({type:s.ZE.pound,location:d(u,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:s.ZE.literal,value:"<".concat(r,"/>"),location:d(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!O(this.char()))return this.error(o.F.INVALID_TAG,d(u,this.clonePosition()));var c=this.clonePosition();return r!==this.parseTagName()?this.error(o.F.UNMATCHED_CLOSING_TAG,d(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:s.ZE.tag,value:r,children:a,location:d(n,this.clonePosition())},err:null}:this.error(o.F.INVALID_TAG,d(u,this.clonePosition())))}return this.error(o.F.UNCLOSED_TAG,d(n,this.clonePosition()))}return this.error(o.F.INVALID_TAG,d(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var u=d(n,this.clonePosition());return{val:{type:s.ZE.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(O(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return A.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),A(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.F.EXPECT_ARGUMENT_CLOSING_BRACE,d(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.F.EMPTY_ARGUMENT,d(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.F.MALFORMED_ARGUMENT,d(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.F.EXPECT_ARGUMENT_CLOSING_BRACE,d(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.ZE.argument,value:r,location:d(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.F.EXPECT_ARGUMENT_CLOSING_BRACE,d(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.F.MALFORMED_ARGUMENT,d(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=T(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:d(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var a,c=this.clonePosition(),h=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(h){case"":return this.error(o.F.EXPECT_ARGUMENT_TYPE,d(c,f));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var m=this.clonePosition();if((A=this.parseSimpleArgStyleIfPossible()).err)return A;if(0===(E=C(A.val)).length)return this.error(o.F.EXPECT_ARGUMENT_STYLE,d(this.clonePosition(),this.clonePosition()));p={style:E,styleLocation:d(m,this.clonePosition())}}if((R=this.tryParseArgumentClose(r)).err)return R;var v=d(r,this.clonePosition());if(p&&_(null==p?void 0:p.style,"::",0)){var g=S(p.style.slice(2));if("number"===h)return(A=this.parseNumberSkeletonFromString(g,p.styleLocation)).err?A:{val:{type:s.ZE.number,value:n,location:v,style:A.val},err:null};if(0===g.length)return this.error(o.F.EXPECT_DATE_TIME_SKELETON,v);var b=g;this.locale&&(b=(0,l.d)(g,this.locale));var E={type:s.rq.dateTime,pattern:b,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,u.e)(b):{}};return{val:{type:"date"===h?s.ZE.date:s.ZE.time,value:n,location:v,style:E},err:null}}return{val:{type:"number"===h?s.ZE.number:"date"===h?s.ZE.date:s.ZE.time,value:n,location:v,style:null!==(a=null==p?void 0:p.style)&&void 0!==a?a:null},err:null};
2case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.F.EXPECT_SELECT_ARGUMENT_OPTIONS,d(y,(0,i.Cl)({},y)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),T=0;if("select"!==h&&"offset"===w.value){if(!this.bumpIf(":"))return this.error(o.F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,d(this.clonePosition(),this.clonePosition()));var A;if(this.bumpSpace(),(A=this.tryParseDecimalInteger(o.F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return A;this.bumpSpace(),w=this.parseIdentifierIfPossible(),T=A.val}var R,P=this.tryParsePluralOrSelectOptions(e,h,t,w);if(P.err)return P;if((R=this.tryParseArgumentClose(r)).err)return R;var I=d(r,this.clonePosition());return"select"===h?{val:{type:s.ZE.select,value:n,options:x(P.val),location:I},err:null}:{val:{type:s.ZE.plural,value:n,options:x(P.val),offset:T,pluralType:"plural"===h?"cardinal":"ordinal",location:I},err:null};default:return this.error(o.F.INVALID_ARGUMENT_TYPE,d(c,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.F.EXPECT_ARGUMENT_CLOSING_BRACE,d(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,d(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(0,c.r)(e)}catch(r){return this.error(o.F.INVALID_NUMBER_SKELETON,t)}return{val:{type:s.rq.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?(0,c.e)(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,s=!1,a=[],u=new Set,c=r.value,l=r.location;;){if(0===c.length){var h=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(o.F.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=d(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}if(u.has(c))return this.error("select"===t?o.F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===c&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,d(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var v=this.tryParseArgumentClose(p);if(v.err)return v;a.push([c,{value:m.val,location:d(p,this.clonePosition())}]),u.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===a.length?this.error("select"===t?o.F.EXPECT_SELECT_ARGUMENT_SELECTOR:o.F.EXPECT_PLURAL_ARGUMENT_SELECTOR,d(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(o.F.MISSING_OTHER_CLAUSE,d(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}var a=d(r,this.clonePosition());return i?y(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=R(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();
vendor: 4,414 bytes, line 2
210===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(_(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&M(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function O(e){return e>=97&&e<=122||e>=65&&e<=90}function M(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function L(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}}
2,334986:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this,n="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^e^e<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;r++)t.x^=0|n.charCodeAt(r),r==n.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function u(e,t){var n=new s(e),r=t&&t.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.xorwow=u}(0,e=n.nmd(e),n.amdD)},335745:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(27798),i=n(437391),o=n(473922),s=n(969116),a=n(978109),u=n(681162),c=n(995097),l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},h=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,s.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;
2return{children:t.firstRender?(0,c.dw)(e,r):(0,c.qX)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,c.p7)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.A)(e,["component","childFactory"]),o=this.state.contextValue,s=l(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?a.createElement(u.A.Provider,{value:o},s):a.createElement(u.A.Provider,{value:o},a.createElement(t,i,s))},t}(a.Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};const f=h},339098:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(944339),i=n(197139),o=n(681088),s=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.U);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return(0,r.C6)(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(i.B)},339862:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(116758),i=n(54374);function o(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.c((function(n){(0,i.N)(n,t,(function(){var r=e[Symbol.asyncIterator]();(0,i.N)(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}},353514:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var r={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
2:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]}},354818:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r={};Object.defineProperty(r,"__esModule",{value:!0});var i=r.styleq=void 0,o=new WeakMap;function s(e){var t,n,r;return null!=e&&(t=!0===e.disableCache,n=!0===e.disableMix,r=e.transform),function(){for(var e=[],i="",s=null,a="",u=t?null:o,c=new Array(arguments.length),l=0;l<arguments.length;l++)c[l]=arguments[l];for(;c.length>0;){var h=c.pop();if(null!=h&&!1!==h)if(Array.isArray(h))for(var f=0;f<h.length;f++)c.push(h[f]);else{var d=null!=r?r(h):h;if(null!=d.$$css){var p="";if(null!=u&&u.has(d)){var m=u.get(d);null!=m&&(p=m[0],a=m[2],e.push.apply(e,m[1]),u=m[3])}else{var v=[];for(var g in d){var b=d[g];if("$$css"!==g)"string"==typeof b||null===b?e.includes(g)||(e.push(g),null!=u&&v.push(g),"string"==typeof b&&(p+=p?" "+b:b)):console.error("styleq: ".concat(g," typeof ").concat(String(b),' is not "string" or "null".'));else{var E=d[g];!0!==E&&(a=a?E+"; "+a:E)}}if(null!=u){var y=new WeakMap;u.set(d,[p,v,a,y]),u=y}}p&&(i=i?p+" "+i:p)}else if(n)null==s&&(s={}),s=Object.assign({},d,s);else{var w=null;for(var T in d){var _=d[T];void 0!==_&&(e.includes(T)||(null!=_&&(null==s&&(s={}),null==w&&(w={}),w[T]=_),e.push(T),u=null))}null!=w&&(s=Object.assign(w,s))}}}return[i,s,a]}}(i=r.styleq=s()).factory=s;const a=i.factory({disableMix:!0});function u(...e){const[t,n,r]=a(e),i={};if(null!=t&&""!==t&&(i.className=t),null!=n&&(i.style=n),null!=r&&""!==r){const e=r.split(";"),t={};for(const n of e){const e=n.trim(),[r,i]=e.split(":");null!=i&&(t[r]=null!=t[r]?`${t[r]},${i}`:i)}i["data-style-src"]=Object.keys(t).map((e=>`${e}:${t[e]}`)).join("; ")}return i}},358892:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(353514);function i(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var s=0;r+1<e.length&&e.charAt(r+1)===i;)s++,r++;var a=1+(1&s),u=s<2?1:3+(s>>1),c=o(t);for("H"!=c&&"k"!=c||(u=0);u-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===i?"H":i}return n}function o(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(r.c[n||""]||r.c[i||""]||r.c["".concat(i,"-001")]||r.c["001"])[0]}},373877:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(866949),i=n(986192),o=n(49392);function s(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}},377982:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(715786);function i(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},378237:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={disabled:!1}},384268:(e,t,n)=>{"use strict";n.r(t),n.d(t,{attrs:()=>_,create:()=>c,createTheme:()=>l,defaultMarker:()=>x,defineConsts:()=>h,defineMarker:()=>g,defineVars:()=>f,env:()=>S,firstThatWorks:()=>b,keyframes:()=>E,legacyMerge:()=>P,positionTry:()=>y,props:()=>w,types:()=>C,unstable_conditional:()=>d,unstable_createThemeNested:()=>v,unstable_defineConstsNested:()=>m,unstable_defineVarsNested:()=>p,viewTransitionClass:()=>A,when:()=>R});var r,i={};function o(){if(r)return i;r=1,Object.defineProperty(i,"__esModule",{value:!0}),i.styleq=void 0;var e=new WeakMap;function t(t){var n,r,i;return null!=t&&(n=!0===t.disableCache,r=!0===t.disableMix,i=t.transform),function(){for(var t=[],o="",s=null,a="",u=n?null:e,c=new Array(arguments.length),l=0;l<arguments.length;l++)c[l]=arguments[l];for(;c.length>0;){var h=c.pop();if(null!=h&&!1!==h)if(Array.isArray(h))for(var f=0;f<h.length;f++)c.push(h[f]);else{var d=null!=i?i(h):h;if(null!=d.$$css){var p="";if(null!=u&&u.has(d)){var m=u.get(d);null!=m&&(p=m[0],a=m[2],t.push.apply(t,m[1]),u=m[3])}else{var v=[];for(var g in d){var b=d[g];if("$$css"!==g)"string"==typeof b||null===b?t.includes(g)||(t.push(g),null!=u&&v.push(g),"string"==typeof b&&(p+=p?" "+b:b)):console.error("styleq: ".concat(g," typeof ").concat(String(b),' is not "string" or "null".'));else{var E=d[g];!0!==E&&(a=a?E+"; "+a:E)}}if(null!=u){var y=new WeakMap;u.set(d,[p,v,a,y]),u=y}}p&&(o=o?p+" "+o:p)}else if(r)null==s&&(s={}),s=Object.assign({},d,s);else{var w=null;for(var T in d){var _=d[T];void 0!==_&&(t.includes(T)||(null!=_&&(null==s&&(s={}),null==w&&(w={}),w[T]=_),t.push(T),u=null))}null!=w&&(s=Object.assign(w,s))}}}return[o,s,a]}}return(i.styleq=t()).factory=t,i}var s=o();const a=e=>new Error(`Unexpected 'stylex.${e}' call at runtime. Styles must be compiled by '@stylexjs/babel-plugin'.`),u=e=>a(`types.${e}`),c=function(e){throw a("create")},l=(e,t)=>
2{throw a("createTheme")},h=function(e){throw a("defineConsts")},f=function(e){throw a("defineVars")},d=function(e){throw a("unstable_conditional")},p=function(e){throw a("unstable_defineVarsNested")},m=function(e){throw a("unstable_defineConstsNested")},v=(e,t)=>{throw a("unstable_createThemeNested")},g=()=>{throw a("defineMarker")},b=(...e)=>{throw a("firstThatWorks")},E=e=>{throw a("keyframes")},y=e=>{throw a("positionTry")};function w(...e){const[t,n,r]=s.styleq(e),i={};return null!=t&&""!==t&&(i.className=t),null!=n&&Object.keys(n).length>0&&(i.style=n),null!=r&&""!==r&&(i["data-style-src"]=r),i}const T=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase();function _(...e){const{className:t,style:n,"data-style-src":r}=w.apply(this,e),i={};return null!=t&&(i.class=t),null!=n&&(i.style=Object.entries(n).map((([e,t])=>`${T(e)}:${t}`)).join(";")),null!=r&&(i["data-style-src"]=r),i}const A=e=>{throw a("viewTransitionClass")},x=()=>{throw a("defaultMarker")},R={ancestor:e=>{throw a("when.ancestor")},descendant:e=>{throw a("when.descendant")},siblingBefore:e=>{throw a("when.siblingBefore")},siblingAfter:e=>{throw a("when.siblingAfter")},anySibling:e=>{throw a("when.anySibling")}},S=Object.freeze({}),C={angle:e=>{throw u("angle")},color:e=>{throw u("color")},url:e=>{throw u("url")},image:e=>{throw u("image")},integer:e=>{throw u("integer")},lengthPercentage:e=>{throw u("lengthPercentage")},length:e=>{throw u("length")},percentage:e=>{throw u("percentage")},number:e=>{throw u("number")},resolution:e=>{throw u("resolution")},time:e=>{throw u("time")},transformFunction:e=>{throw u("transformFunction")},transformList:e=>{throw u("transformList")}},P=function(){function e(...e){const[t]=s.styleq(e);return t}return e.create=c,e.createTheme=l,e.defineConsts=h,e.defineMarker=g,e.defineVars=f,e.defaultMarker=x,e.firstThatWorks=b,e.keyframes=E,e.positionTry=y,e.props=w,e.attrs=_,e.types=C,e.when=R,e.viewTransitionClass=A,e.env=S,e.unstable_conditional=d,e.unstable_defineVarsNested=p,e.unstable_defineConstsNested=m,e.unstable_createThemeNested=v,e}()},384376:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(116758),i=n(702540),o=n(715786),s=n(54374);function a(e,t){return new r.c((function(n){var r;return(0,s.N)(n,t,(function(){r=e[i.l](),(0,s.N)(n,t,(function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(o){return void n.error(o)}i?n.complete():n.next(t)}),0,!0)})),function(){return(0,o.T)(null==r?void 0:r.return)&&r.return()}}))}},390453:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>v,vU:()=>f});var r=n(944339),i=n(715786),o=n(324094),s=n(639541),a=n(745347),u=n(34334),c=n(740988),l=n(682435),h=n(751527),f=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Uv)(t)&&t.add(n)):n.destination=E,n}return(0,r.C6)(t,e),t.create=function(e,t,n){return new v(e,t,n)},t.prototype.next=function(e){this.isStopped?b((0,c.ro)(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?b((0,c.A2)(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?b(c.M7,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}(o.yU),d=Function.prototype.bind;function p(e,t){return d.call(e,t)}var m=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(n){g(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){g(n)}else g(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){g(t)}},e}(),v=function(e){function t(t,n,r){var o,a,u=e.call(this)||this;(0,i.T)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:u&&s.$.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},o={next:t.next&&p(t.next,a),error:t.error&&p(t.error,a),complete:t.complete&&p(t.complete,a)}):o=t;return u.destination=new m(o),u}return(0,r.C6)(t,e),t}(f);function g(e){s.$.useDeprecatedSynchronousErrorHandling?(0,h.l)(e):(0,a.m)(e)}function b(e,t){var n=s.$.onStoppedNotification;n&&l.f.setTimeout((function(){return n(e,t)}))}var E={closed:!0,next:u.l,error:function(e){throw e},complete:u.l}},409091:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(944339),i=n(801327),o=n(120609),s=n(326359),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;
2return r.scheduler=t,r.work=n,r.pending=!1,r}return(0,r.C6)(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),o.f.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.f.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(i){r=!0,n=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.o)(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i.r)},434008:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(675421);function i(e,t){e.classList?e.classList.add(t):(0,r.A)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},436368:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},437391:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},451118:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this;t.next=function(){var e,n,r=t.w,i=t.X,o=t.i;return t.w=r=r+1640531527|0,n=i[o+34&127],e=i[o=o+1&127],n^=n<<13,e^=e<<17,n^=n>>>15,e^=e>>>12,n=i[o]=n^e,t.i=o,n+(r^r>>>16)|0},function(e,t){var n,r,i,o,s,a=[],u=128;for(t===(0|t)?(r=t,t=null):(t+="\0",r=0,u=Math.max(u,t.length)),i=0,o=-32;o<u;++o)t&&(r^=t.charCodeAt((o+32)%t.length)),0===o&&(s=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,o>=0&&(s=s+1640531527|0,i=0==(n=a[127&o]^=r+s)?i+1:0);for(i>=128&&(a[127&(t&&t.length||0)]=-1),i=127,o=512;o>0;--o)r=a[i+34&127],n=a[i=i+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,a[i]=r^n;e.w=s,e.X=a,e.i=i}(t,e)}function a(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function u(e,t){null==e&&(e=+new Date);var n=new s(e),r=t&&t.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},i.int32=n.next,i.quick=i,r&&(r.X&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.xor4096=u}(0,e=n.nmd(e),n.amdD)},460803:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(944339),i=n(944047),o=Array.isArray;function s(e){return(0,i.T)((function(t){return function(e,t){return o(t)?e.apply(void 0,(0,r.fX)([],(0,r.zs)(t))):e(t)}(e,t)}))}},473922:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},476375:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},480831:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(866949),i=n(986192),o=n(49392);function s(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}},493036:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{A:()=>o});const o=function(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&r(e),u=t&&r(t),c=a||u;if(e&&r(e)?s=o:o.length&&(s.pop(),s=s.concat(o)),!s.length)return"/";if(s.length){var l=s[s.length-1];n="."===l||".."===l||""===l}else n=!1;for(var h=0,f=s.length;f>=0;f--){var d=s[f];"."===d?i(s,f):".."===d?(i(s,f),h++):h&&(i(s,f),h--)}if(!c)for(;h--;h)s.unshift("..");!c||""===s[0]||s[0]&&r(s[0])||s.unshift("");var p=s.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p}},493668:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this,n="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;
2r++)t.x^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function u(e,t){var n=new s(e),r=t&&t.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.xor128=u}(0,e=n.nmd(e),n.amdD)},499401:()=>{},523546:(e,t,n)=>{"use strict";n.d(t,{AO:()=>_,Kr:()=>T});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,s=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},u=function e(t,n){var r;void 0===n&&(n=!0);var i=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},c=function(e,t,n){if(u(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&s.call(e,i)&&r.unshift(e),r=r.filter(n)},l=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var c=a.shift();if(!u(c,!1))if("SLOT"===c.tagName){var l=c.assignedElements(),h=e(l.length?l:c.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else{s.call(c,i)&&r.filter(c)&&(n||!t.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),d=!u(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(f&&d){var p=e(!0===f?c.children:f.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:c,candidates:p})}else a.unshift.apply(a,c.children)}}return o},h=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!h(e)?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},m=function(e){return function(e){return p(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||a(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},v=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},g=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=s.call(e,"details>summary:first-of-type")?e.parentElement:e;if(s.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return v(e)}else{if("function"==typeof r){for(var o=e;e;){var u=e.parentElement,c=a(e);if(u&&!u.shadowRoot&&!0===r(u))return v(e);e=e.assignedSlot?e.assignedSlot:u||c===e.ownerDocument?u:c.host}e=o}if(function(e){var t,n,r,i,o=e&&a(e),s=null===(t=o)||void 0===t?void 0:t.host,u=!1;if(o&&o!==e)for(u=!!(null!==(n=s)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(s)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!u&&s;){var c,l,h;u=!(null===(l=s=null===(c=o=a(s))||void 0===c?void 0:c.host)||void 0===l||null===(h=l.ownerDocument)||void 0===h||!h.contains(s))}return u}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(e,t){return!(t.disabled||u(t)||function(e){return p(e)&&"hidden"===e.type}(t)||g(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}
2(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!s.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},E=function(e,t){return!(m(t)||f(t)<0||!b(e,t))},y=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},w=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,s=o?t.scopeParent:t,a=function(e,t){var n=f(e);return n<0&&t&&!h(e)?0:n}(s,o),u=o?e(t.candidates):s;0===a?o?n.push.apply(n,u):n.push(s):r.push({documentOrder:i,tabIndex:a,item:t,isScope:o,content:u})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},T=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:E.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):c(e,t.includeContainer,E.bind(null,t)),w(n)},_=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==s.call(e,i)&&E(t,e)}},531289:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(409091),i=new(n(286352).q)(r.R)},542410:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});class n extends Error{}class r extends n{}class i extends n{}class o extends n{}class s extends n{}class a extends n{}class u extends n{}class c extends n{constructor(e){super(`unhandled case: ${JSON.stringify(e)}`)}}let l=0;function h(){return l++}function f(e){return null!=e}function d(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Float32Array}function p(e){switch(e){case"i8":return 5120;case"u8":return 5121;case"i16":return 5122;case"u16":return 5123;case"i32":return 5124;case"u32":return 5125;case"f32":return 5126;default:throw new c(e)}}const m={FLOAT:{type:"float",name:"float",length:1},VEC2:{type:"float",name:"vec2",length:2},VEC3:{type:"float",name:"vec3",length:3},VEC4:{type:"float",name:"vec4",length:4}},v={MAT2:{type:"matrix",name:"mat2",length:4},MAT3:{type:"matrix",name:"mat3",length:9},MAT4:{type:"matrix",name:"mat4",length:16}},g={INT:{type:"int",name:"int",length:1},IVEC2:{type:"int",name:"ivec2",length:2},IVEC3:{type:"int",name:"ivec3",length:3},IVEC4:{type:"int",name:"ivec4",length:4},SAMPLER2D:{type:"int",name:"sampler2D",length:1}},b=new Map([[5126,m.FLOAT],[35664,m.VEC2],[35665,m.VEC3],[35666,m.VEC4],[35674,v.MAT2],[35675,v.MAT3],[35676,v.MAT4],[5124,g.INT],[35667,g.IVEC2],[35668,g.IVEC3],[35669,g.IVEC4],[35678,g.SAMPLER2D]]);class E{constructor(e){var t;this.id=h(),this.source=e,e instanceof ArrayBuffer?this.dataType="f32":(t=e,"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer?this.dataType="f32":this.dataType=function(e){if(e instanceof Float32Array)return"f32";if(e instanceof Uint8Array)return"u8";if(e instanceof Int32Array)return"i32";if(e instanceof Uint32Array)return"u32";if(e instanceof Uint8ClampedArray)return"u8";if(e instanceof Int8Array)return"i8";if(e instanceof Int16Array)return"i16";if(e instanceof Uint16Array)return"u16";throw new c(e)}(e)),this.length=e.byteLength/function(e){switch(e){case"i8":case"u8":return 1;case"i16":case"u16":return 2;case"i32":case"u32":case"f32":return 4;default:throw new c(e)}}(this.dataType)}}class y extends E{constructor(){super(...arguments),this.resourceType="buffer"}}class w extends E{constructor(){super(...arguments),this.resourceType="elements"}}const T={points:0,lines:1,"line loop":2,"line strip":3,triangles:4,"triangle strip":5,"triangle fan":6},_={zero:0,one:1,"src color":768,"one minus src color":769,"dst color":774,"one minus dst color":775,"src alpha":770,"one minus src alpha":771,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},A={front:1028,back:1029,"front and back":1032},x={cw:2304,ccw:2305},R={add:32774,subtract:32778,"reverse subtract":32779},S={source:"one",destination:"zero",equation:"add"};const C={never:512,less:513,equal:514,lequal:515,greater:516,notequal:517,gequal:518,always:519};class P{constructor({primitive:e="triangles",shader:t,attributes:n,indices:r,count:i=0,instances:o,uniforms:s={},textures:a={},blend:u,depthTest:c,cullFace:l,frontFace:h,renderTarget:f}){var p;this.primitive=T[e],this.shader=t,this.attributes=function(e){const t=Object.create(null);for(const[n,r]of Object.entries(e)){let e;e="buffer"in r&&!d(r)?{...r,buffer:I(r.buffer)}:{buffer:I(r)},t[n]=e}return t}(n),this.indices=r?(p=r,Array.isArray(p)&&(p=new Uint16Array(p)),d(p)&&(p=new w(p)),p):void 0,this.count=i,this.instances=o,this.uniforms=s,this.textures=a,this._cullFace=l?A[l]:void 0,this._frontFace=h?x[h]:2305,this.blend=u?function(e){var t,n;const r={...S,...null!=(t=e.rgb)?t:e},i={...S,...null!=(n=e.alpha)?n:e};return{rgb:{source:_[r.source],destination:_[r.destination],equation:R[r.equation]}
2,alpha:{source:_[i.source],destination:_[i.destination],equation:R[i.equation]}}}(u):void 0,this.depthTest=c?function(e){var t,n;return{mask:null==(t=e.mask)||t,func:C[null!=(n=e.func)?n:"less"],range:{near:0,far:1,...e.range}}}(c):void 0,this.renderTarget=f}get cullFace(){return this._cullFace}set cullFace(e){this._cullFace=void 0!==e?A[e]:void 0}get frontFace(){return this._frontFace}set frontFace(e){e in x&&(this._frontFace=x[e])}get resources(){return[this.shader,...Object.values(this.attributes).map((e=>e.buffer)),...Object.values(this.textures),this.indices,this.renderTarget].filter(f)}}function I(e){return Array.isArray(e)&&(e=new Float32Array(e)),d(e)&&(e=new y(e)),e}class N{constructor(e){this.id=h(),this.resourceType="shader",this.vertexSource=e.vertexSource,this.fragmentSource=e.fragmentSource}}const O="preserve",M="fixed";class L{constructor(e){var t;this.id=h(),this.resourceType="texture",this.textureType="image",this.size=M,this.numberFormat="u8",this.source=e.source,this.name=e.name,this.alpha=e.alpha||O,this.anisotropy=null!=(t=e.anisotropy)?t:0,this.colorFormat=e.colorFormat||"rgba"}get width(){return this.source.width}get height(){return this.source.height}}class B{constructor(e){var t;this.id=h(),this.resourceType="texture",this.textureType="binary",this.size=M,this.source=e.source,this.name=e.name,this.alpha=e.alpha||O,this.width=e.width,this.height=e.height,this.anisotropy=null!=(t=e.anisotropy)?t:0}get colorFormat(){const e=this.source.length/(this.width*this.height);if(1===e)return"r";if(3===e)return"rgb";if(4===e)return"rgba";throw new a(`Invalid number of color channels for binary texture with ID: ${this.id}. Number of channels must be 1 (R) or 3 (RGB) or 4 (RGBA) but the provided data has ${e} channels.`)}get numberFormat(){return this.source instanceof Uint8Array?"u8":"f32"}}class F{constructor(e){var t;this.id=h(),this.resourceType="texture",this.textureType="render",this.source=null,this.name=e.name,this.alpha=e.alpha||O,this.size=e.size||M,this.width=e.width||("fixed"===this.size?0:1),this.height=e.height||("fixed"===this.size?0:1),this.colorFormat=e.colorFormat,this.numberFormat=e.numberFormat,this.anisotropy=null!=(t=e.anisotropy)?t:0}}function U(e,t){return{width:"fixed"===e.size?e.width||t.width:(e.width||1)*t.width,height:"fixed"===e.size?e.height||t.height:(e.height||1)*t.height}}function D(e,t){if("u32"===t.dataType&&!e.getExtension("OES_element_index_uint"))throw new s("UNSIGNED_INT indices are not supported on this device.");const n=e.createBuffer(),r="buffer"===t.resourceType?e.ARRAY_BUFFER:e.ELEMENT_ARRAY_BUFFER;return e.bindBuffer(r,n),e.bufferData(r,t.source,e.STATIC_DRAW),e.bindBuffer(r,null),n}class H{constructor(e,t,n){this.name=e.name,this.length=e.size,this.location=t;const r=b.get(e.type);if(!r)throw new a(`Type of uniform '${e.name}' is not supported.`);this.meta=r,this._data=this.parseData(n)}parseData(e){if(!e)return new Array(this.meta.length).fill(0);const t=this.meta.length*this.length;if(e.flat().length!==t)throw new a(`Could not set uniform '${this.meta.type} ${this.name}'. Expected data with a length of ${t} but your data has a length of ${e.length}.`);return e}equals(e){const t=this._data,n=e;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}get data(){return this._data}set data(e){this._data=this.parseData(e)}}function k(e,t){const{meta:n,name:r,location:i,data:o}=t,s=o.flat();if("int"===n.type)switch(n.length){case 1:e.uniform1iv(i,s);break;case 2:e.uniform2iv(i,s);break;case 3:e.uniform3iv(i,s);break;case 4:e.uniform4iv(i,s);break;default:throw new a(`Could not set the value for uniform '${r}'. Make sure its length is between 1 and 4 (inclusive).`)}else if("float"===n.type)switch(n.length){case 1:e.uniform1fv(i,s);break;case 2:e.uniform2fv(i,s);break;case 3:e.uniform3fv(i,s);break;case 4:e.uniform4fv(i,s);break;default:throw new a(`Could not set the value for uniform '${r}'. Make sure its length is between 1 and 4 (inclusive).`)}else switch(n.length){case 4:e.uniformMatrix2fv(i,!1,s);break;case 9:e.uniformMatrix3fv(i,!1,s);break;case 16:e.uniformMatrix4fv(i,!1,s);break;default:throw new a(`Could not set the value for uniform '${r}'. Make sure its length is between 2 and 4 (inclusive).`)}}function G(e,t,n){(function(e){const t=e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT);return!!t&&t.precision>10})(e)&&(n=function(e){return e.replace("precision mediump float;","precision highp float;")}(n));const o=e.createShader(t);if(!o)throw new i("Could not create shader");if(e.shaderSource(o,n),e.compileShader(o),e.getShaderParameter(o,e.COMPILE_STATUS))return o;{const n=e.getShaderInfoLog(o);e.deleteShader(o);const i=t===e.VERTEX_SHADER?"vertex":"fragment";throw new r(`Could not compile ${i} shader. Details: ${n}`)}}function j(e,t){const n=function(e,t,n){const o=e.createProgram();if(!o)throw new i("Could not create program");const s=G(e,e.VERTEX_SHADER,t),a=G(e,e.FRAGMENT_SHADER,n);if(e.attachShader(o,s),e.attachShader(o,a),e.linkProgram(o),e.deleteShader(s),e.deleteShader(a),e.getProgramParameter(o,e.LINK_STATUS))return o;throw new r(`Could not link program. Details: ${e.getProgramInfoLog(o)}`)}(e,t.vertexSource,t.fragmentSource);e.useProgram(n);const o=e.getProgramParameter(n,e.ACTIVE_ATTRIBUTES),s=new Map;for(let r=0;r<o;r++){const t=e.getActiveAttrib(n,r),i=t?e.getAttribLocation(n,t.name):-1;if(!t||-1===i)throw new u(`Could not cache attribute. Could not find attribute or location at index ${r}. This is likely a bug with the renderer.`);const o=b.get(t.type);if(!o)throw new a(`Type of attribute '${t.name}' is not supported.`);e.enableVertexAttribArray(i),s.set(t.name,{location:i,meta:o})}const c=e.getProgramParameter(n,e.ACTIVE_UNIFORMS),l=new Map,h=new Map;let f=0;for(let r=0;r<c;r++){const t=e.getActiveUniform(n,r),i=t?e.getUniformLocation(n,t.name):null;if(!t||!i)throw new u(`Could not cache uniform. Could not find uniform or location at index ${r}. This is likely a bug with the renderer.`);const o=t.name.endsWith("[0]")?t.name.slice(0,-3):t.name;if(t.type===e.SAMPLER_2D||t.type===e.SAMPLER_CUBE){const n=new H(t,i,[f]);l.set(o,n),k(e,n),f++}else{const n=new H(t,i);h.set(o,n),k(e,n)}}return e.useProgram(null),{program:n,attributes:s,textures:l,uniforms:h}}let V;function X(e,t){return U(t,{width:e.drawingBufferWidth,height:e.drawingBufferHeight})}function z(e,t,n){var r;if("undefined"!=typeof WebGLRenderingContext&&e instanceof WebGLRenderingContext&&"f32"===t.numberFormat&&!e.getExtension("OES_texture_float"))throw new s("No support for floating point textures");const o=e.TEXTURE_2D,a=null!=(r=null==n?void 0:n.texture)?r:e.createTexture();if(!a)throw new i(`Could not create \`WebGLTexture\` for texture: ${function(e){return JSON.stringify(e,(function(e,t){if("resourceType"!==e){if(t instanceof Uint8Array||t instanceof Float32Array){const{length:e}=t;return{length:e}}if(t instanceof HTMLImageElement||t instanceof HTMLVideoElement){const{src:e,width:n,height:r}=t;return{src:e,width:n,height:r}}return t}console.log("stripping resource type",t)}),2)}(t)}`);e.bindTexture(o,a),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,"premultiply"===t.alpha),e.pixelStorei(e.UNPACK_ALIGNMENT,"r"===t.colorFormat?1:4);const u="f32"===t.numberFormat?e.FLOAT:e.UNSIGNED_BYTE,l=function(e,t){if("image"===t.textureType){const e=t.source;if("undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap)return e;if(e instanceof HTMLImageElement)return`${e.src}:${e.currentSrc}:${q(t)}`;if(e instanceof HTMLVideoElement)return`${e.src}:${e.currentSrc}:${e.currentTime}:${q(t)}`}else if("render"===t.textureType){const{width:n,height:r}=X(e,t);return`${n}:${r}`}}(e,t),h=q(t),f=!n||!l||l!==n.hash,d=W(e,t.colorFormat),p=function(e,t,n){if(!("undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext&&"f32"===n))return W(e,t);
2switch(t){case"r":throw e.R32F;case"rgb":return e.RGB32F;case"rgba":return e.RGBA32F;default:throw new c(t)}}(e,t.colorFormat,t.numberFormat);if(h&&f)if("image"!==t.textureType){const n=t.source,{width:r,height:i}=X(e,t);e.texImage2D(o,0,p,r,i,0,d,u,n)}else{const n=t.source;(function(e){return"tagName"in e&&"IMG"===e.tagName})(n)&&function(e){const t=document.createElement("a");return t.href=e,!("data:"===t.protocol||"blob:"===t.protocol)}(n.src)&&!n.crossOrigin&&console.warn(`Fragl warning: ${n.src} image may come from a different origin but you did not set the crossOrigin attribute.`),e.texImage2D(o,0,p,d,u,n)}const m="f32"===t.numberFormat?e.NEAREST:e.LINEAR;e.texParameteri(o,e.TEXTURE_MIN_FILTER,m),e.texParameteri(o,e.TEXTURE_MAG_FILTER,m),e.texParameteri(o,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(o,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE);const{anisotropy:v}=t,g=v?e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic"):null;return v&&g&&(null!=V||(V=e.getParameter(g.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),e.texParameterf(e.TEXTURE_2D,g.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(v,V))),e.bindTexture(o,null),{texture:a,hash:l}}function W(e,t){switch(t){case"r":return e.LUMINANCE;case"rgb":return e.RGB;case"rgba":return e.RGBA;default:throw new c(t)}}function q(e){if("image"===e.textureType){const t=e.source;if(t instanceof HTMLImageElement)return t.complete;if(t instanceof HTMLVideoElement)return t.readyState>=2}return!0}class Y{constructor(e){this.gl=e,this.maxAttribs=Number(e.getParameter(e.MAX_VERTEX_ATTRIBS)),this.shouldEnable=Array.from({length:this.maxAttribs}).fill(!1),this.hasEnabled=Array.from({length:this.maxAttribs}).fill(!1)}setEnabled(e,t){if(e<0)throw new Error(`Attribute index ${e} is out of bounds`);if(e>=this.maxAttribs)throw new Error(`Attribute index ${e} exceeds the maximum number of attributes supported by this device: ${this.maxAttribs}`);this.shouldEnable[e]=t}update(){for(let e=0;e<this.maxAttribs;e++)this.shouldEnable[e]!==this.hasEnabled[e]&&(this.hasEnabled[e]=this.shouldEnable[e],this.shouldEnable[e]?this.gl.enableVertexAttribArray(e):this.gl.disableVertexAttribArray(e))}reset(){for(let e=0;e<this.maxAttribs;e++)this.shouldEnable[e]=!1}}class ${constructor(e,t){this.gl=e,this.bufferCache=new Map,this.shaderCache=new Map,this.textureCache=new Map,this.handleContextLost=e=>{if(this.onContextLost){let t="No WebGLContextEvent";e&&(t=(null==e?void 0:e.statusMessage)||"No statusMessage"),this.onContextLost(new o(`Error: WebGL context lost - ${t}`))}},this.env=(null==t?void 0:t.env)||window||{devicePixelRatio:1};const n=e.canvas;if(!n)throw new o("Unexpected canvas type: "+typeof n);this.onDispose=null==t?void 0:t.onDispose,this.canvas=n;const[r,i]=this.canvasSize;this.canvas.width=((null==t?void 0:t.width)||r)*this.env.devicePixelRatio,this.canvas.height=((null==t?void 0:t.height)||i)*this.env.devicePixelRatio,this.canvas.addEventListener("webglcontextlost",this.handleContextLost,{once:!0}),this.fbo=e.createFramebuffer(),this.vertexAttribArrayState=new Y(e)}flush(){this.gl.flush()}resize(...e){let t,n;"undefined"!=typeof HTMLCanvasElement&&this.canvas instanceof HTMLCanvasElement?[t=this.canvas.clientWidth,n=this.canvas.clientHeight]=e:[t,n]=e,this.canvas.width=t*this.env.devicePixelRatio,this.canvas.height=n*this.env.devicePixelRatio}load(e){const t=this.gl,n=Array.isArray(e)?e:e.resources;for(const r of n)switch(r.resourceType){case"buffer":case"elements":this.bufferCache.has(r.id)||this.bufferCache.set(r.id,D(t,r));break;case"shader":this.shaderCache.has(r.id)||this.shaderCache.set(r.id,j(t,r));break;case"texture":this.textureCache.has(r.id)||this.textureCache.set(r.id,z(t,r));break;default:throw new c(r)}}update(e){const t=this.gl,n=Array.isArray(e)?e:e.resources;for(const r of n)if("texture"===r.resourceType){const e=this.textureCache.get(r.id);if(!e)throw new o(`Could not update texture with ID: '${r.id}'. Did you remember to use load()?`);this.textureCache.set(r.id,z(t,r,e))}}clear(e,t){var n;const r=this.gl;if(t){const e=null==(n=this.textureCache.get(t.id))?void 0:n.texture;if(!e)throw new o(`Could not find render target with ID: ${t.id}
2. Did you remember to use load()?`);r.bindFramebuffer(r.FRAMEBUFFER,this.fbo),r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,e,0)}else r.bindFramebuffer(r.FRAMEBUFFER,null);const i=Array.isArray(e),s=i?e:e.color,a=i?1:e.depth,u=i?255:e.stencil,c=void 0!==s,l=void 0!==a,h=void 0!==u;c&&r.clearColor(...s),l&&r.clearDepth(a),h&&r.clearStencil(u);const f=(c?r.COLOR_BUFFER_BIT:0)|(l?r.DEPTH_BUFFER_BIT:0)|(h?r.STENCIL_BUFFER_BIT:0);r.clear(f)}render(e){var t,n,r,i,u,c,l;const h=this.gl,f=Array.isArray(e)?e:e.renderables;for(const d of f){const e=this.shaderCache.get(d.shader.id);if(!e)throw new o(`Could not find shader with ID: ${d.shader.id}. Did you remember to use load()?`);if(d.blend){const{rgb:e,alpha:t}=d.blend;h.enable(h.BLEND),h.blendFuncSeparate(e.source,e.destination,t.source,t.destination),h.blendEquationSeparate(e.equation,t.equation)}else h.disable(h.BLEND);if(d.depthTest){const{depthTest:e}=d;h.enable(h.DEPTH_TEST),h.depthMask(e.mask),h.depthFunc(e.func),h.depthRange(e.range.near,e.range.far)}else h.disable(h.DEPTH_TEST);if(d.cullFace?(h.enable(h.CULL_FACE),h.frontFace(d.frontFace),h.cullFace(d.cullFace)):h.disable(h.CULL_FACE),h.useProgram(e.program),d.indices){const e=this.getBuffer(d.indices);h.bindBuffer(h.ELEMENT_ARRAY_BUFFER,e)}else h.bindBuffer(h.ELEMENT_ARRAY_BUFFER,null);const f=d.instances?h.getExtension("ANGLE_instanced_arrays"):null;if(d.instances&&!f)throw new s("Instancing is required but not supported on this device");this.vertexAttribArrayState.reset();for(const[s,{location:a,meta:u}]of e.attributes.entries()){this.vertexAttribArrayState.setEnabled(a,!0);const e=d.attributes[s];if(!e)throw new o(`Could not locate shader attribute ${s} within Renderable's attributes.`);const c=p(null!=(t=e.type)?t:e.buffer.dataType),l=this.getBuffer(e.buffer);h.bindBuffer(h.ARRAY_BUFFER,l),h.vertexAttribPointer(a,u.length,c,null!=(n=e.normalized)&&n,null!=(r=e.stride)?r:0,null!=(i=e.offset)?i:0),d.instances&&e.divisor&&f.vertexAttribDivisorANGLE(a,e.divisor)}this.vertexAttribArrayState.update();const m={...d.uniforms,...this.commonUniforms};for(const[t,n]of e.uniforms.entries()){const e=m[t];if(!e)throw new a(`Could not find a value for uniform '${t}'. Make sure you provide a value.`);n.equals(e)||(n.data=e,k(h,n))}for(const[t,n]of e.textures.entries()){h.activeTexture(h.TEXTURE0+n.data.flat()[0]),h.bindTexture(h.TEXTURE_2D,null);const e=d.textures[t];if(!e)throw new a(`Could not find a texture associated with uniform '${t}'. Make sure you provide a value.`);const r=null==(u=this.textureCache.get(e.id))?void 0:u.texture;if(!r)throw new o(`Could not find texture with ID: ${e.id}. Did you remember to use load()?`);h.bindTexture(h.TEXTURE_2D,r)}if(d.renderTarget){const e=null==(c=this.textureCache.get(d.renderTarget.id))?void 0:c.texture;if(!e)throw new o(`Could not find render target with ID: ${d.renderTarget.id}. Did you remember to use load()?`);const{width:t,height:n}=X(h,d.renderTarget);h.bindFramebuffer(h.FRAMEBUFFER,this.fbo),h.framebufferTexture2D(h.FRAMEBUFFER,h.COLOR_ATTACHMENT0,h.TEXTURE_2D,e,0),h.viewport(0,0,t,n)}else h.bindFramebuffer(h.FRAMEBUFFER,null),h.viewport(0,0,h.drawingBufferWidth,h.drawingBufferHeight);d.instances?d.indices?f.drawElementsInstancedANGLE(d.primitive,d.indices.length,p(d.indices.dataType),0,d.instances):f.drawArraysInstancedANGLE(d.primitive,0,d.count,d.instances):d.indices?h.drawElements(d.primitive,d.indices.length,p(d.indices.dataType),0):h.drawArrays(d.primitive,0,null!=(l=d.count)?l:0)}}release(e){const t=Array.isArray(e)?e:e.resources;for(const n of t)this.deleteResource(n.id,n.resourceType)}readPixels(e){var t;const n=this.gl;let r;if(e){const i=null==(t=this.textureCache.get(e.id))?void 0:t.texture;if(!i)throw new o(`Could not find render target with ID: ${e.id}. Did you remember to use load()?`);r=X(n,e),n.bindFramebuffer(n.FRAMEBUFFER,this.fbo),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,i,0)}else n.bindFramebuffer(n.FRAMEBUFFER,null),r={width:n.drawingBufferWidth,height:n.drawingBufferHeight};const i=new Uint8Array(r.width*r.height*4);return n.readPixels(0,0,r.width,r.height,n.RGBA,n.UNSIGNED_BYTE,i),new ImageData(new Uint8ClampedArray(i.buffer),r.width,r.height)}dispose(){var e;const t=this.gl;for(const r of this.bufferCache.keys())this.deleteResource(r,"buffer");for(const r of this.shaderCache.keys())this.deleteResource(r,"shader");for(const r of this.textureCache.keys())this.deleteResource(r,"texture");this.bufferCache.clear(),this.shaderCache.clear(),this.textureCache.clear(),t.deleteFramebuffer(this.fbo),t.bindBuffer(t.ARRAY_BUFFER,null),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null);const n=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);for(let r=0;r<n;r++)t.activeTexture(t.TEXTURE0+r),t.bindTexture(t.TEXTURE_2D,null),t.bindTexture(t.TEXTURE_CUBE_MAP,null);this.canvas.width=this.canvas.height=0,this.canvas.removeEventListener("webglcontextlost",this.handleContextLost),null==(e=this.onDispose)||e.call(this)}deleteResource(e,t){var n;const r=this.gl;switch(t){case"buffer":case"elements":const i=this.bufferCache.get(e)||null;r.deleteBuffer(i),this.bufferCache.delete(e);break;case"shader":const o=this.shaderCache.get(e);r.deleteProgram((null==o?void 0:o.program)||null),this.shaderCache.delete(e);break;case"texture":const s=null==(n=this.textureCache.get(e))?void 0:n.texture;r.deleteTexture(s||null),this.textureCache.delete(e);break;default:throw new c(t)}}getBuffer(e){const t=this.bufferCache.get(e.id);if(!t)throw new o(`Could not find buffer with ID: ${e.id}
2. Did you remember to use load()?`);return t}get commonUniforms(){return{uResolution:[this.gl.drawingBufferWidth,this.gl.drawingBufferHeight],uViewSize:this.canvasSize,uDevicePixelRatio:[this.env.devicePixelRatio]}}get canvasSize(){return"undefined"!=typeof HTMLCanvasElement&&this.canvas instanceof HTMLCanvasElement?[this.canvas.clientWidth,this.canvas.clientHeight]:[this.canvas.width,this.canvas.height]}}const K="uPrevResult",Z={attributes:{aPosition:new y(new Float32Array([-1,-1,3,-1,-1,3]))},count:3},J={attributes:{aPosition:new y(new Float32Array([-1,-1,1,1,-1,1,1,1,-1,-1,1,-1]))},count:6};function Q(e){return e.replace(/void\s+main\(\s*\)\s*{([\s\S]*?)}\s*$/,((e,t)=>`void main() {${t}gl_FragColor.rgb *= gl_FragColor.a;\n}`))}function ee(e){return function(e){return Array.isArray(e)}(e)?e:[e]}const te=[],ne=te;function re(e,t,n,r,i=te){const o=i,s=o.find((i=>!e.includes(i.texture)&&t===i.width&&n===i.height&&r===i.size));if(s)return s.texture;const a=function(e,t,n,r){return new F({name:e,width:t,height:n,size:r||"relative",colorFormat:"rgba",numberFormat:"u8"})}(`pooled-render-texture-${o.length.toString()}`,t,n,r);return o.push({texture:a,width:t,height:n,size:r}),a}class ie{constructor(e){this.index=0,this._textures=null!=e?e:[new F({colorFormat:"rgba",numberFormat:"u8"}),new F({colorFormat:"rgba",numberFormat:"u8"})]}get textures(){return this._textures}currentBuffer(){return this._textures[this.index]}nextBuffer(){return this.index=(this.index+1)%this._textures.length,this._textures[this.index]}}const oe=class e{static createPingpongBuffers({width:e,height:t,size:n}={}){const r=re([],e,t,n),i=re([r],e,t,n);return new ie([r,i])}constructor({passes:t,uniforms:n,textures:r,options:{buffers:i,renderTarget:o,enableOneTriangleOptimisation:s}={}}){this.enableOneTriangleOptimisation=null!=s?s:e.enableOneTriangleOptimisation;const a=null!=i?i:e.createPingpongBuffers(o),{passes:u,uniforms:c}=this.convertShorthands(t,n);this.uniforms=c;const l=u[u.length-1];this.finalPassShaderForCanvas=this.getShader(l,!0),this.finalPassShaderForRenderTexture=this.getShader(l,!1);const h=this.createRenderTextures(u,a,o);this.renderables=this.getRenderables(u,h,a,r,o)}convertShorthands(e,t){return{passes:e.map((e=>"string"==typeof e?{fragment:e}:e)),uniforms:Object.fromEntries(Object.entries(null!=t?t:{}).map((([e,t])=>[e,ee(t)])))}}createRenderTextures(e,t,n){const r=new Map;for(const i of e)i.output&&r.set(i.output,re([...t.textures,...r.values()],null==n?void 0:n.width,null==n?void 0:n.height,null==n?void 0:n.size));return r}getRenderables(e,t,n,r,i){const o=e.slice(0,-1).map((e=>{const i=this.getShader(e,!1),o=n.currentBuffer(),s=e.output?this.getRenderTexture(e.output,t):n.nextBuffer();return this.getRenderable(e,i,o,s,t,r)})),s=i?this.finalPassShaderForRenderTexture:this.finalPassShaderForCanvas;return[...o,this.getRenderable(e[e.length-1],s,n.currentBuffer(),i,t,r)]}getRenderable(e,t,n,r,i,o){const s=this.uniforms,a=this.getTextures(e,{...o,[K]:n},i),u=this.enableOneTriangleOptimisation?Z:J;return new P({...u,shader:t,uniforms:s,textures:a,renderTarget:r})}getShader(e,t){const n=`\nattribute vec2 aPosition;\nvarying vec2 vTexCoord;\n\nvoid main()\n{\n gl_Position = vec4(aPosition, 0.0, 1.0);\n vTexCoord = aPosition * 0.5 + 0.5;\n ${t?"vTexCoord.y = 1.0 - vTexCoord.y;":""}\n}\n `,r=this.getFragmentSource(e.fragment,t);return new N({vertexSource:n,fragmentSource:r})}getFragmentSource(e,t){return t?Q(e):e}getRenderTexture(e,t){const n=t.get(e);if(!n)throw new a(`Unable to assign texture. Could not find texture '${e}'.`);return n}getTextures(e,t,n){if(e.inputs)for(const r of e.inputs)t[r]=this.getRenderTexture(r,n);return t}update({textures:e,uniforms:t,renderTarget:n}){if(e)for(const[r,i]of Object.entries(e))if(i)for(const e of this.renderables)e.textures[r]=i;if(t)for(const[r,i]of Object.entries(t))this.uniforms[r]&&(this.uniforms[r]=ee(i));if(void 0!==n){const e=this.renderables[this.renderables.length-1],t=null===n?this.finalPassShaderForCanvas:this.finalPassShaderForRenderTexture;e.renderTarget=null!=n?n:void 0,e.shader=t}}get resources(){return[...new Set([...this.renderables.flatMap((e=>e.resources)),this.finalPassShaderForCanvas,this.finalPassShaderForRenderTexture])]}};
2oe.enableOneTriangleOptimisation=!1;let se,ae,ue=oe;function ce(e,t){if(!(se&&ae||(se=document.createElement("canvas"),ae=se.getContext("2d"),ae)))throw new n("Unable to establish `CanvasRenderingContext2D` for debugging");return se.width=e,se.height=t,{canvas:se,context:ae}}function le(e,t){const n=e.readPixels(t),{width:r,height:i}=n,{canvas:o,context:s}=ce(r,i);s.putImageData(n,0,0);const a=o.toDataURL();de(null!=t?t:e.canvas,a,r/i)}function he(e){const{width:t,height:n}=e,{canvas:r,context:i}=ce(t,n);e.source instanceof ImageData?i.putImageData(e.source,0,0):i.drawImage(e.source,0,0);de(e,r.toDataURL(),t/n)}function fe(e){const{source:t,colorFormat:n,width:r,height:i}=e,{canvas:o,context:s}=ce(r,i),a="rgba"===n,u=s.createImageData(r,i),c=u.data;for(let l=0,h=0;l<t.length;l+=a?4:3,h+=4)c[h]=t[l],c[h+1]=t[l+1],c[h+2]=t[l+2],c[h+3]=a?t[l+3]:255;s.putImageData(u,0,0);de(e,o.toDataURL(),r/i)}function de(e,t,n){const r=`\n font-size: 0;\n padding-left: 256px;\n padding-bottom: ${256/n}px;\n vertical-align: top;\n background-image: \n url(${t}),\n url('data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n <rect width="10" height="10" fill="#ccc"/>\n <rect x="10" y="10" width="10" height="10" fill="#ccc"/>\n <rect x="10" y="0" width="10" height="10" fill="white"/>\n <rect y="10" width="10" height="10" fill="white"/>\n </svg>')}');\n background-position: center, 0 0;\n background-size: contain, 20px 20px;\n background-repeat: no-repeat, repeat;\n `;console.group("Debugging",e),console.log("%c ",r),console.groupEnd()}const pe="LkEaxkGQc",me="mXA59BV4k",ve="x8cqPYjGq",ge="zAvK5sktl",be="j5BD_wqsh",Ee="Flt8u8M0x",ye="m5a6RRSnk",we="MpMrqOkTf",Te="ihJIFSpvi",_e="mjiW1vcGg",Ae="T1GP6ZTnQ",xe="zztE2SnZx",Re="LPlLw5zPI",Se="MLGoNA0wv";var Ce=1e-6,Pe="undefined"!=typeof Float32Array?Float32Array:Array;function Ie(){var e=new Pe(9);return Pe!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function Ne(){var e=new Pe(16);return Pe!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function Oe(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function Me(e,t,n){var r=t[0],i=t[1],o=t[2],s=t[3],a=t[4],u=t[5],c=t[6],l=t[7],h=t[8],f=t[9],d=t[10],p=t[11],m=t[12],v=t[13],g=t[14],b=t[15],E=n[0],y=n[1],w=n[2],T=n[3];return e[0]=E*r+y*a+w*h+T*m,e[1]=E*i+y*u+w*f+T*v,e[2]=E*o+y*c+w*d+T*g,e[3]=E*s+y*l+w*p+T*b,E=n[4],y=n[5],w=n[6],T=n[7],e[4]=E*r+y*a+w*h+T*m,e[5]=E*i+y*u+w*f+T*v,e[6]=E*o+y*c+w*d+T*g,e[7]=E*s+y*l+w*p+T*b,E=n[8],y=n[9],w=n[10],T=n[11],e[8]=E*r+y*a+w*h+T*m,e[9]=E*i+y*u+w*f+T*v,e[10]=E*o+y*c+w*d+T*g,e[11]=E*s+y*l+w*p+T*b,E=n[12],y=n[13],w=n[14],T=n[15],e[12]=E*r+y*a+w*h+T*m,e[13]=E*i+y*u+w*f+T*v,e[14]=E*o+y*c+w*d+T*g,e[15]=E*s+y*l+w*p+T*b,e}function Le(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}function Be(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],s=n+n,a=r+r,u=i+i,c=n*s,l=r*s,h=r*a,f=i*s,d=i*a,p=i*u,m=o*s,v=o*a,g=o*u;return e[0]=1-h-p,e[1]=l+g,e[2]=f-v,e[3]=0,e[4]=l-g,e[5]=1-c-p,e[6]=d+m,e[7]=0,e[8]=f+v,e[9]=d-m,e[10]=1-c-h,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});var Fe=function(e,t,n,r,i){var o,s=1/Math.tan(t/2);return e[0]=s/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(o=1/(r-i),e[10]=(i+r)*o,e[14]=2*i*r*o):(e[10]=-1,e[14]=-2*r),e};function Ue(e,t,n,r){var i,o,s,a,u,c,l,h,f,d,p=t[0],m=t[1],v=t[2],g=r[0],b=r[1],E=r[2],y=n[0],w=n[1],T=n[2];return Math.abs(p-y)<Ce&&Math.abs(m-w)<Ce&&Math.abs(v-T)<Ce?Oe(e):(l=p-y,h=m-w,f=v-T,i=b*(f*=d=1/Math.hypot(l,h,f))-E*(h*=d),o=E*(l*=d)-g*f,s=g*h-b*l,(d=Math.hypot(i,o,s))?(i*=d=1/d,o*=d,s*=d):(i=0,o=0,s=0),a=h*s-f*o,u=f*i-l*s,c=l*o-h*i,(d=Math.hypot(a,u,c))?(a*=d=1/d,u*=d,c*=d):(a=0,u=0,c=0),e[0]=i,e[1]=a,e[2]=l,e[3]=0,e[4]=o,e[5]=u,e[6]=h,e[7]=0,e[8]=s,e[9]=c,e[10
2]=f,e[11]=0,e[12]=-(i*p+o*m+s*v),e[13]=-(a*p+u*m+c*v),e[14]=-(l*p+h*m+f*v),e[15]=1,e)}function De(){var e=new Pe(3);return Pe!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function He(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function ke(e,t,n){var r=new Pe(3);return r[0]=e,r[1]=t,r[2]=n,r}function Ge(){var e=new Pe(4);return Pe!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}De(),function(){var e=function(){var e=new Pe(4);return Pe!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e}()}();var je=function(e,t,n,r){var i=new Pe(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i};!function(){var e=De(),t=ke(1,0,0),n=ke(0,1,0)}(),function(){var e=Ge(),t=Ge()}(),function(){var e=Ie()}();const Ve=new B({width:1,height:1,source:new Uint8Array([0,0,0,0])});const Xe=e=>{if(void 0===e.camera)return{cameraKind:"perspective",perspective:{aspectRatio:1.7777777,yfov:.39959652046304894,znear:.10000000149011612,zfar:1e3},id:-1,name:"default camera",rotation:[0,0,0,0],scale:[1,1,1],translation:[0,0,.3499999940395355]};const t=void 0!==e.camera.perspective?"perspective":"orthographic";return"perspective"===t?{name:e.name,id:e.id,translation:e.translation,rotation:e.rotation,scale:e.scale,cameraKind:t,perspective:e.camera.perspective}:{name:e.name,id:e.id,translation:e.translation,rotation:e.rotation,scale:e.scale,cameraKind:t,orthographic:e.camera.orthographic}},ze=1313821514,We=5130562;var qe=(e=>(e[e.GLTF_BUFFER_TYPE_BYTE=5120]="GLTF_BUFFER_TYPE_BYTE",e[e.GLTF_BUFFER_TYPE_UNSIGNED_BYTE=5121]="GLTF_BUFFER_TYPE_UNSIGNED_BYTE",e[e.GLTF_BUFFER_TYPE_SHORT=5122]="GLTF_BUFFER_TYPE_SHORT",e[e.GLTF_BUFFER_TYPE_UNSIGNED_SHORT=5123]="GLTF_BUFFER_TYPE_UNSIGNED_SHORT",e[e.GLTF_BUFFER_TYPE_UNSIGNED_INT=5125]="GLTF_BUFFER_TYPE_UNSIGNED_INT",e[e.GLTF_BUFFER_TYPE_FLOAT=5126]="GLTF_BUFFER_TYPE_FLOAT",e))(qe||{});const Ye={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},$e={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},Ke=async e=>(await fetch(e)).arrayBuffer(),Ze=e=>(new TextDecoder).decode(e);class Je{constructor(e,t,n){this.chunks=[],this.bufferCache=[],this.imageCache=[],this.baseUrl="",this.gltf=t,this.chunks=n,this.baseUrl=e}async accessorData(e){if(!this.gltf.accessors)throw new Error("No accessors views found.");const t=this.gltf.accessors[e],n=$e[t.type];return{buffer:await this.getBufferViewFromAccessor(t),elementsPerType:n}}async getBufferViewFromAccessor(e){if(void 0!==e.bufferView){const t=await this.bufferViewData(e.bufferView,e.componentType);return e.sparse?new Uint8Array(t):t}const t=$e[e.type],n=Ye[e.componentType].BYTES_PER_ELEMENT*t*e.count;return new Uint8Array(n)}async bufferViewData(e,t){if(!this.gltf.bufferViews)throw new Error("No buffer views found.");const n=this.gltf.bufferViews[e],r=await this.getBufferData(n.buffer),i=n.byteLength||0,o=n.byteOffset||0,s=r.buffer,a=r.byteOffset;switch(t){case qe.GLTF_BUFFER_TYPE_BYTE:return new Int8Array(s,a+o,i);case qe.GLTF_BUFFER_TYPE_UNSIGNED_BYTE:return new Uint8Array(s,a+o,i);case qe.GLTF_BUFFER_TYPE_SHORT:return new Int16Array(s,a+o,i/2);case qe.GLTF_BUFFER_TYPE_UNSIGNED_SHORT:return new Uint16Array(s,a+o,i/2);case qe.GLTF_BUFFER_TYPE_UNSIGNED_INT:return new Uint32Array(s,a+o,i/4);case qe.GLTF_BUFFER_TYPE_FLOAT:return new Float32Array(s,a+o,i/4)}return new Uint8Array(s,a+o,i)}async getBufferData(e){if(void 0!==this.bufferCache[e])return this.bufferCache[e];if(!this.gltf.buffers)throw new Error("No buffers found.");const t=this.gltf.buffers[e];if(void 0===t.uri){if(0!==e)throw new Error("GLB container is required to be the first buffer");if(void 0===this.chunks)throw new Error("invalid gltf: buffer has no uri nor is there a GLB buffer");return this.chunks[e]}let n=new ArrayBuffer(0);n=t.uri.includes("data:application")?(e=>{try{const t=e.split("base64,")[1];return Uint8Array.from(atob(t),(e=>e.charCodeAt(0))).buffer}catch{return new ArrayBuffer(0)}})(t.uri):await Ke(this.baseUrl+t.uri);const r=new Uint8Array(n);return this.bufferCache[e]=r,r}async getImageData(e){if(void 0!==this.imageCache[e])return this.imageCache[e];if(!this.gltf.images)throw new Error("No images found.");const t=this.gltf.images[e];let n;if(void 0!==t.bufferView){const e=await this.bufferViewData(t.bufferView,qe.GLTF_BUFFER_TYPE_BYTE),r
2=new Blob([e],{type:t.mimeType});n=URL.createObjectURL(r)}else{if(void 0===t.uri)throw new Error("Invalid glTF: image must either have a `uri` or a `bufferView`");n=t.uri.includes("base64")?t.uri:this.baseUrl+t.uri}const r=await(async e=>new Promise(((t,n)=>{const r=new Image;r.onload=()=>{t(r)},r.onerror=e=>{n(e)},r.crossOrigin="anonymous",r.src=e})))(n);return this.imageCache[e]=r,r}}const Qe=e=>{let t="";try{const n=new URL(e),r=n.href.split("/");t=n.href.replace(r[r.length-1],"")}catch{t=""}return t},et=async e=>{let t,n,r=[];if(!(e.startsWith("blob:")||e.startsWith("http://")||e.startsWith("https://")))return console.log("fetch retunr external "),null;try{t=await(async e=>await(await fetch(e)).json())(e),n={magic:"glTF",version:parseFloat(t.asset.version),length:0}}catch{let i=await Ke(e);n=(e=>{const t=new DataView(e,0,12);return{magic:Ze(new Uint8Array(e,0,4)),version:t.getUint32(4,!0),length:t.getUint32(8,!0)}})(i),({json:t,chunks:r}=nt(i))}return{json:t,header:n,chunks:r}},tt=async e=>{var t;if("string"!=typeof e)throw new Error("Invalid URI: String is expected.");const n=null!=(t=await et(e))?t:(e=>{try{const t=JSON.parse(e);return{json:t,header:{magic:"glTF",version:parseFloat(t.asset.version),length:0},chunks:[]}}catch{return null}})(e);if(null===n)throw new Error("Failed to fetch data.");const{json:r,header:i,chunks:o}=n;if("glTF"!==i.magic||i.version<2)throw new Error(`File format is not supported! Current header magic: ${i.magic}, version ${i.version}`);if(void 0===r)throw new Error("JSON content not found.");if(void 0===r.asset||parseFloat(r.asset.version)<2)throw new Error("Unsupported asset. glTF versions >= 2.0 are supported.");return{json:r,chunks:o}},nt=e=>{const t=[];let n;const r=new DataView(e,12);let i=0;for(;i<r.byteLength;){const o=r.getUint32(i,!0);i+=4;const s=r.getUint32(i,!0);if(i+=4,s===ze){const t=new Uint8Array(e,12+i,o);n=JSON.parse(Ze(t))}else if(s===We){const n=12+i;t.push(new Uint8Array(e,n,o))}i+=o}return{json:n,chunks:t}},rt="placeholder",it=e=>e instanceof Uint16Array?5123:e instanceof Uint32Array?5125:5121,ot=e=>{const t=[];return e.forEach(((e,n)=>{var r,i;e.name.toLowerCase().includes(rt)?t.push({meshIndex:n,name:e.name}):null!=(r=e.material)&&r.name.toLowerCase().includes(rt)&&t.push({meshIndex:n,name:null==(i=e.material)?void 0:i.name})})),t},st=e=>{const t=[];return e.forEach((e=>{e.targets.length>0&&t.push(...e.targets)})),t},at=(e,t)=>
2{const n=(e=>{const t=[];return e.mesh.forEach(((n,r)=>{const i=n.uvs&&n.uvs.length?n.uvs:new Float32Array(n.positions.length/3*2);t.push({name:e.name+"_"+(r+1).toString(),vertices:n.positions,normals:n.normals,uvs:i,tangent:n.tangent,indices:n.indices,material:n.material,id:r,renderingContextBase:it(n.indices)})})),t})(e),r=(e=>{let t=0;return e.forEach((e=>{t+=e.positions.length})),t})(e.mesh);return{mesh:n,placeholder:ot(n),targets:st(e.mesh),transform:e.translation.length>0?Le(Ne(),ke(e.translation[0],e.translation[1],e.translation[2])):Ne(),rotation:e.rotation.length>0?Be(Ne(),je(e.rotation[0],e.rotation[1],e.rotation[2],e.rotation[3])):Ne(),scale:e.scale.length>0?ke(e.scale[0],e.scale[1],e.scale[2]):ke(1,1,1),name:e.name,parrent:t,positionPrevious:new Float32Array(r),positionNext:new Float32Array(r),animation:{rotation:{times:new Uint8Array,values:[],interpolation:""},transform:{times:new Uint8Array,values:[],interpolation:""},scale:{times:new Uint8Array,values:[],interpolation:""},weights:{times:new Uint8Array,values:new Float32Array,targets:[],interpolation:"",positions:[]}},progression:0,extras:e.extras}},ut=(e=-1,t="",n=[])=>({id:e,name:t,children:n,mesh:[],scale:[],rotation:[],translation:[],camera:void 0,extras:{highlightCorrection:1,shadowCorrection:1}});const ct=ke(0,1,0),lt=[.5*Math.PI,.5*Math.PI];t.AdditiveBlending={source:"src alpha",destination:"one",equation:"add"},t.BinaryTexture=B,t.Buffer=y,t.Effect=ue,t.ElementsBuffer=w,t.FraglAllocationError=i,t.FraglCompilationError=r,t.FraglError=n,t.FraglInternalError=u,t.FraglPlatformError=s,t.FraglRuntimeError=o,t.FraglValidationError=a,t.GltfParser=class{constructor(e){this.src=e,this.camera=ut(),this.cameraModel=Xe(this.camera),this.nodes=[],this.clips=[],this.model=[],this.images=[],this.textures=[],this.samplers=[]}async parse(e={}){return this.model=[],this.asset=await(async e=>{const t=Qe(e),n=await tt(e);return new Je(t,n.json,n.chunks)})(this.src),this.images=await this.getTextureImages(e.imageFilesToReplace),this.updateTexturesData(),this.camera=ut(),this.nodes=await this.get
2SubNodes(),this.cameraModel=this.getCameraModel(),this.clips=await this.getClips(),this.model=await this.getModel(),this.updateAnimation(),{camera:this.cameraModel,model:this.model,images:this.images,textures:this.textures,samplers:this.samplers}}async getModel(e,t,n=[]){const r=(void 0===e?this.nodes:e).map((e=>{const r=at(e,t);return e.children.length>0&&this.getModel(e.children,e,n),r}));return n.push(...await Promise.all(r)),n}updateAnimation(){this.clips.forEach((e=>{e.tracks.forEach((e=>{const t=this.model.findIndex((t=>t.name===e.targetObject));if(t>-1){const n=this.model[t];switch(e.targetProperty.toLocaleLowerCase()){case"translation":n.animation.transform.values=this.decodeVector3Animation(e.values,e.valuesElements),n.animation.transform.times=e.times,n.animation.transform.interpolation=e.interpolation;break;case"rotation":n.animation.rotation.values=this.decodeQuaternionAnimation(e.values,e.valuesElements),n.animation.rotation.times=e.times,n.animation.rotation.interpolation=e.interpolation;break;case"scale":n.animation.scale.values=this.decodeVector3Animation(e.values,e.valuesElements),n.animation.scale.times=e.times,n.animation.scale.interpolation=e.interpolation;break;case"weights":n.targets.length>0&&(n.animation.weights.targets=this.model[t].targets,n.animation.weights.times=e.times,n.animation.weights.values=e.values,n.animation.weights.interpolation=e.interpolation,((e,t)=>{const n=e.values.length/e.targets.length;for(let r=0;r<n;r++){const n=r*e.targets.length,i=[];for(let r=0;r<t;r+=3){i[r]=0,i[r+1]=0,i[r+2]=0;for(let t=0;t<e.targets.length;t++){const o=n+t;i[r]+=e.targets[t].positions[r]*e.values[o],i[r+1]+=e.targets[t].positions[r+1]*e.values[o],i[r+2]+=e.targets[t].positions[r+2]*e.values[o]}}e.positions[r]=new Float32Array(i)}})(n.animation.weights,this.getModelVerticesLength(n.mesh)))}}}))})),this.cameraModel.id>-1&&(this.cameraModel.animation=this.model[this.cameraModel.id].animation,this.model=this.model.filter((e=>!e.name.toLocaleLowerCase().includes("camera"))))}getModelVerticesLength(e){let t=0;return e.forEach((e=>{t+=e.vertices.length})),t}decodeQuaternionAnimation(e,t){const n=[];let r=0;for(let i=0;i<e.length;i+=t){const o=Ge();for(let n=0;n<t;n++)o[n]=e[i+n];n[r]=o,r++}return n}decodeVector3Animation(e,t){const n=[];let r=0;for(let i=0;i<e.length;i+=t){const o=De();for(let n=0;n<t;n++)o[n]=e[i+n];n[r]=o,r++}return n}async getClips(e=[]){const t=this.getGltfFromAsset();if(void 0===t.animations)return e;const n=t.animations.map((async e=>{const t=await this.getTracks(e);return{name:e.name,tracks:t}}));return e.push(...await Promise.all(n)),e}getTracks(e){const t=this.getAsset();return Promise.all(e.channels.map((async n=>{var r;const i=e.samplers[n.sampler],o=await t.accessorData(i.input),s=await t.accessorData(i.output);return{targetIndex:n.target.node,targetObject:t.gltf.nodes[n.target.node].name,targetProperty:n.target.path,interpolation:null!=(r=i.interpolation)?r:"LINEAR",times:o.buffer,timesElements:o.elementsPerType,values:s.buffer,valuesElements:s.elementsPerType}})))}getCameraModel(){return Xe(this.camera)}updateTexturesData(){var e;this.textures=[],this.samplers=[];const t=this.getGltfFromAsset();this.samplers=null!=(e=t.samplers)?e:[],void 0!==t.textures&&t.textures.forEach(((e,t)=>{e&&(this.textures[t]={sampler:e.sampler,source:e.source})}))}replaceImages(e,t){const n=t.find((t=>{var n;if(null!=(n=e.name)&&n.includes(t.name))return t}));if(!n)throw new a(`No image file found with the name of: ${e.name}`);return n}async getTextureImages(e){if(void 0===this.asset||void 0===this.asset.gltf.images)return[];const t=this.asset.gltf.images.map((async(t,n)=>{var r;return e?this.replaceImages(t,e):{mimeType:t.mimeType,name:t.name,img:await(null==(r=this.asset)?void 0:r.getImageData(n))}}));return Promise.all(t)}async getSubNodes(e,t){const n=this.getGltfFromAsset(),r=0|n.scene,i=n.scenes[r],o=(void 0===e?i.nodes:e).map((async e=>{const r=n.nodes[e],i=ut(e,r.name);
2return void 0!==r.children&&(i.children=await this.getSubNodes(r.children,r)),void 0!==r.mesh&&(i.mesh=await this.getSubMesh(n.meshes[r.mesh])),i.rotation=[0,0,0,0],void 0!==r.rotation?i.rotation=r.rotation:void 0!==t&&void 0!==t.rotation&&(i.rotation[0]=i.rotation[0]*t.rotation[0],i.rotation[1]=i.rotation[1]*t.rotation[1],i.rotation[2]=i.rotation[2]*t.rotation[2],i.rotation[3]=i.rotation[3]*t.rotation[3]),i.translation=[0,0,0],void 0!==r.translation?i.translation=r.translation:void 0!==t&&void 0!==t.translation&&(i.translation[0]=i.translation[0]*t.translation[0],i.translation[1]=i.translation[1]*t.translation[1],i.translation[2]=i.translation[2]*t.translation[2]),i.scale=[1,1,1],void 0!==r.scale?i.scale=r.scale:void 0!==t&&void 0!==t.scale&&(i.scale[0]=i.scale[0]*t.scale[0],i.scale[1]=i.scale[1]*t.scale[1],i.scale[2]=i.scale[2]*t.scale[2]),void 0!==r.camera&&(i.camera=n.cameras[r.camera],this.camera=i),i.extras=void 0,void 0!==r.extras&&(i.extras={highlightCorrection:1,shadowCorrection:1},i.extras.highlightCorrection=void 0!==r.extras.Highlight_Correction?r.extras.Highlight_Correction:1,i.extras.shadowCorrection=void 0!==r.extras.Shadow_Correction?r.extras.Shadow_Correction:1),i}));return Promise.all(o)}getMaterial(e){const t=this.getAsset().gltf.materials[e];return void 0!==t.pbrMetallicRoughness&&(void 0===t.pbrMetallicRoughness.metallicFactor&&(t.pbrMetallicRoughness.metallicFactor=1),void 0===t.pbrMetallicRoughness.roughnessFactor&&(t.pbrMetallicRoughness.roughnessFactor=1),void 0===t.pbrMetallicRoughness.baseColorFactor&&(t.pbrMetallicRoughness.baseColorFactor=[1,1,1,1])),t}async getTargets(e){const t=this.getAsset(),n=e.targets.map((async e=>{const n={normals:new Uint8Array(0),positions:new Uint8Array(0),tangent:new Uint8Array(0)};return void 0!==e.POSITION&&(n.positions=(await t.accessorData(e.POSITION)).buffer),void 0!==e.NORMAL&&(n.normals=(await t.accessorData(e.NORMAL)).buffer),void 0!==e.TANGENT&&(n.tangent=(await t.accessorData(e.TANGENT)).buffer),n}));return Promise.all(n)}async getSubMesh(e){const t=this.getAsset(),n=e.primitives.map((async e=>{const n={positions:new Uint8Array(0),normals:new Uint8Array(0),uvs:new Uint8Array(0),tangent:new Uint8Array(0),indices:new Uint8Array(0),targets:[],material:void 0};if(void 0!==e.attributes.POSITION&&(n.positions=(await t.accessorData(e.attributes.POSITION)).buffer),void 0!==e.attributes.NORMAL&&(n.normals=(await t.accessorData(e.attributes.NORMAL)).buffer),void 0!==e.attributes.TEXCOORD_0&&(n.uvs=(await t.accessorData(e.attributes.TEXCOORD_0)).buffer,0===n.uvs.length&&(n.uvs=new Float32Array(n.positions.length/3*2))),void 0!==e.attributes.TANGENT&&(n.tangent=(await t.accessorData(e.attributes.TANGENT)).buffer),void 0!==e.indices){const r=await t.accessorData(e.indices);n.indices=r.buffer}return void 0!==e.targets&&(n.targets=await this.getTargets(e)),void 0!==e.material&&(n.material=this.getMaterial(e.material)),n}));return Promise.all(n)}getAsset(){if(void 0===this.asset)throw new Error("Asset is undefined");return this.asset}getGltfFromAsset(){return this.getAsset().gltf}},t.ImageTexture=L,t.MockWebGLRenderingContext=class{constructor(e){this.canvas=e,this.drawingBufferColorSpace="srgb",this.DEPTH_BUFFER_BIT=256,this.STENCIL_BUFFER_BIT=1024,this.COLOR_BUFFER_BIT=16384,this.POINTS=0,this.LINES=1,this.LINE_LOOP=2,this.LINE_STRIP=3,this.TRIANGLES=4,this.TRIANGLE_STRIP=5,this.TRIANGLE_FAN=6,this.ZERO=0,this.ONE=1,this.SRC_COLOR=768,this.ONE_MINUS_SRC_COLOR=769,this.SRC_ALPHA=770,this.ONE_MINUS_SRC_ALPHA=771,this.DST_ALPHA=772,this.ONE_MINUS_DST_ALPHA=773,this.DST_COLOR=774,this.ONE_MINUS_DST_COLOR=775,this.SRC_ALPHA_SATURATE=776,this.FUNC_ADD=32774,this.BLEND_EQUATION=32777,this.BLEND_EQUATION_RGB=32777,this.BLEND_EQUATION_ALPHA=34877,this.FUNC_SUBTRACT=32778,this.FUNC_REVERSE_SUBTRACT=32779,this.BLEND_DST_RGB=32968,this.BLEND_SRC_RGB=32969,this.BLEND_DST_ALPHA=32970,this.BLEND_SRC_ALPHA=32971,this.CONSTANT_COLOR=32769,this.ONE_MINUS_CONSTANT_COLOR=32770,this.CONSTANT_ALPHA=32771,this.ONE_MINUS_CONSTANT_ALPHA=32772,this.BLEND_COLOR=32773,this.ARRAY_BUFFER=34962,this.ELEMENT_ARRAY_BUFFER=34963,this.ARRAY_BUFFER_BINDING=34964,this.ELEMENT_ARRAY_BUFFER_BINDING=34965,this.STREAM_DRAW=35040,this.STATIC_DRAW=35044,this.DYNAMIC_DRAW=35048,this.BUFFER_SIZE=34660,this.BUFFER_USAGE=34661,this.CURRENT_VERTEX_ATTRIB=34342,this.FRONT=1028,this.BACK=1029,this.FRONT_AND_BACK=1032,this.CULL_FACE=2884,this.BLEND=3042,this.DITHER=3024,this.STENCIL_TEST=2960,this.DEPTH_TEST=2929,this.SCISSOR_TEST=3089,this.POLYGON_OFFSET_FILL=32823,this.SAMPLE_ALPHA_TO_COVERAGE=32926,this.SAMPLE_COVERAGE=32928,this.NO_ERROR=0,this.INVALID_ENUM=1280,this.INVALID_VALUE=1281,this.INVALID_OPERATION=1282,this.OUT_OF_MEMORY=1285,this.CW=2304,this.CCW=2305,this.LINE_WIDTH=2849,this.ALIASED_POINT_SIZE_RANGE=33901,this.ALIASED_LINE_WIDTH_RANGE=33902,this.CULL_FACE_MODE=2885,this.FRONT_FACE=2886,this.DEPTH_RANGE=2928,this.DEPTH_WRITEMA
2SK=2930,this.DEPTH_CLEAR_VALUE=2931,this.DEPTH_FUNC=2932,this.STENCIL_CLEAR_VALUE=2961,this.STENCIL_FUNC=2962,this.STENCIL_FAIL=2964,this.STENCIL_PASS_DEPTH_FAIL=2965,this.STENCIL_PASS_DEPTH_PASS=2966,this.STENCIL_REF=2967,this.STENCIL_VALUE_MASK=2963,this.STENCIL_WRITEMASK=2968,this.STENCIL_BACK_FUNC=34816,this.STENCIL_BACK_FAIL=34817,this.STENCIL_BACK_PASS_DEPTH_FAIL=34818,this.STENCIL_BACK_PASS_DEPTH_PASS=34819,this.STENCIL_BACK_REF=36003,this.STENCIL_BACK_VALUE_MASK=36004,this.STENCIL_BACK_WRITEMASK=36005,this.VIEWPORT=2978,this.SCISSOR_BOX=3088,this.COLOR_CLEAR_VALUE=3106,this.COLOR_WRITEMASK=3107,this.UNPACK_ALIGNMENT=3317,this.PACK_ALIGNMENT=3333,this.MAX_TEXTURE_SIZE=3379,this.MAX_VIEWPORT_DIMS=3386,this.SUBPIXEL_BITS=3408,this.RED_BITS=3410,this.GREEN_BITS=3411,this.BLUE_BITS=3412,this.ALPHA_BITS=3413,this.DEPTH_BITS=3414,this.STENCIL_BITS=3415,this.POLYGON_OFFSET_UNITS=10752,this.POLYGON_OFFSET_FACTOR=32824,this.TEXTURE_BINDING_2D=32873,this.SAMPLE_BUFFERS=32936,this.SAMPLES=32937,this.SAMPLE_COVERAGE_VALUE=32938,this.SAMPLE_COVERAGE_INVERT=32939,this.COMPRESSED_TEXTURE_FORMATS=34467,this.DONT_CARE=4352,this.FASTEST=4353,this.NICEST=4354,this.GENERATE_MIPMAP_HINT=33170,this.BYTE=5120,this.UNSIGNED_BYTE=5121,this.SHORT=5122,this.UNSIGNED_SHORT=5123,this.INT=5124,this.UNSIGNED_INT=5125,this.FLOAT=5126,this.DEPTH_COMPONENT=6402,this.ALPHA=6406,this.RGB=6407,this.RGBA=6408,this.LUMINANCE=6409,this.LUMINANCE_ALPHA=6410,this.UNSIGNED_SHORT_4_4_4_4=32819,this.UNSIGNED_SHORT_5_5_5_1=32820,this.UNSIGNED_SHORT_5_6_5=33635,this.FRAGMENT_SHADER=35632,this.VERTEX_SHADER=35633,this.MAX_VERTEX_ATTRIBS=34921,this.MAX_VERTEX_UNIFORM_VECTORS=36347,this.MAX_VARYING_VECTORS=36348,this.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661,this.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660,this.MAX_TEXTURE_IMAGE_UNITS=34930,this.MAX_FRAGMENT_UNIFORM_VECTORS=36349,this.SHADER_TYPE=35663,this.DELETE_STATUS=35712,this.LINK_STATUS=35714,this.VALIDATE_STATUS=35715,this.ATTACHED_SHADERS=35717,this.ACTIVE_UNIFORMS=35718,this.ACTIVE_ATTRIBUTES=35721,this.SHADING_LANGUAGE_VERSION=35724,this.CURRENT_PROGRAM=35725,this.NEVER=512,this.LESS=513,this.EQUAL=514,this.LEQUAL=515,this.GREATER=516,this.NOTEQUAL=517,this.GEQUAL=518,this.ALWAYS=519,this.KEEP=7680,this.REPLACE=7681,this.INCR=7682,this.DECR=7683,this.INVERT=5386,this.INCR_WRAP=34055,this.DECR_WRAP=34056,this.VENDOR=7936,this.RENDERER=7937,this.VERSION=7938,this.NEAREST=9728,this.LINEAR=9729,this.NEAREST_MIPMAP_NEAREST=9984,this.LINEAR_MIPMAP_NEAREST=9985,this.NEAREST_MIPMAP_LINEAR=9986,this.LINEAR_MIPMAP_LINEAR=9987,this.TEXTURE_MAG_FILTER=10240,this.TEXTURE_MIN_FILTER=10241,this.TEXTURE_WRAP_S=10242,this.TEXTURE_WRAP_T=10243,this.TEXTURE_2D=3553,this.TEXTURE=5890,this.TEXTURE_CUBE_MAP=34067,this.TEXTURE_BINDING_CUBE_MAP=34068,this.TEXTURE_CUBE_MAP_POSITIVE_X=34069,this.TEXTURE_CUBE_MAP_NEGATIVE_X=34070,this.TEXTURE_CUBE_MAP_POSITIVE_Y=34071,this.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072,this.TEXTURE_CUBE_MAP_POSITIVE_Z=34073,this.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074,this.MAX_CUBE_MAP_TEXTURE_SIZE=34076,this.TEXTURE0=33984,this.TEXTURE1=33985,this.TEXTURE2=33986,this.TEXTURE3=33987,this.TEXTURE4=33988,this.TEXTURE5=33989,this.TEXTURE6=33990,this.TEXTURE7=33991,this.TEXTURE8=33992,this.TEXTURE9=33993,this.TEXTURE10=33994,this.TEXTURE11=33995,this.TEXTURE12=33996,this.TEXTURE13=33997,this.TEXTURE14=33998,this.TEXTURE15=33999,this.TEXTURE16=34e3,this.TEXTURE17=34001,this.TEXTURE18=34002,this.TEXTURE19=34003,this.TEXTURE20=34004,this.TEXTURE21=34005,this.TEXTURE22=34006,this.TEXTURE23=34007,this.TEXTURE24=34008,this.TEXTURE25=34009,this.TEXTURE26=34010,this.TEXTURE27=34011,this.TEXTURE28=34012,this.TEXTURE29=34013,this.TEXTURE30=34014,this.TEXTURE31=34015,this.ACTIVE_TEXTURE=34016,this.REPEAT=10497,this.CLAMP_TO_EDGE=33071,this.MIRRORED_REPEAT=33648,this.FLOAT_VEC2=35664,this.FLOAT_VEC3=35665,this.FLOAT_VEC4=35666,this.INT_VEC2=35667,this.INT_VEC3=35668,this.INT_VEC4=35669,this.BOOL=35670,this.BOOL_VEC2=35671,this.BOOL_VEC3=35672,this.BOOL_VEC4=35673,this.FLOAT_MAT2=35674,this.FLOAT_MAT3=35675,this.FLOAT_MAT4=35676,this.SAMPLER_2D=35678,this.SAMPLER_CUBE=35680,this.VERTEX_ATTRIB_ARRAY_ENABLED=34338,this.VERTEX_ATTRIB_ARRAY_SIZE=34339,this.VERTEX_ATTRIB_ARRAY_STRIDE=34340,this.VERTEX_ATTRIB_ARRAY_TYPE=34341,this.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922,this.VERTEX_ATTRIB_ARRAY_POINTER=34373,this.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975,this.IMPLEMENTATION_COLOR_READ_TYPE=35738,this.IMPLEMENTATION_COLOR_READ_FORMAT=35739,this.COMPILE_STATUS=35713,this.LOW_FLOAT=36336,this.MEDIUM_FLOAT=36337,this.HIGH_FLOAT=36338,this.LOW_INT=36339,this.MEDIUM_INT=36340,this.HIGH_INT=36341,this.FRAMEBUFFER=36160,this.RENDERBUFFER=36161,this.RGBA4=32854,this.RGB5_A1=32855,this.RGBA8=32856,this.RGB565=36194,this.DEPTH_COMPONENT16=33189,this.STENCIL_INDEX8=36168,this.DEPTH_STENCIL=34041,this.RENDERBUFFER_WIDTH=36162,this.RENDERBUFFER_HEIGHT=36163,this.RENDERBUFFER_INTERNAL_FORMAT=36164,this.RENDERBUFFER_RED_SIZE=36176,this.RENDERBUFFER_GREEN_SIZE=36177,this.RENDERBUFFER_BLUE_SIZE=36178,this.RENDERBUFFER_ALPHA_SIZE=36179,this.RENDERBUFFER_DEPTH_SIZE=36180,this.RENDERBUFFER_STENCIL_SIZE=36181,this.FRAMEBUFFER_ATTACHMENT_OBJ
2ECT_TYPE=36048,this.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049,this.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050,this.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051,this.COLOR_ATTACHMENT0=36064,this.DEPTH_ATTACHMENT=36096,this.STENCIL_ATTACHMENT=36128,this.DEPTH_STENCIL_ATTACHMENT=33306,this.NONE=0,this.FRAMEBUFFER_COMPLETE=36053,this.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054,this.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055,this.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057,this.FRAMEBUFFER_UNSUPPORTED=36061,this.FRAMEBUFFER_BINDING=36006,this.RENDERBUFFER_BINDING=36007,this.MAX_RENDERBUFFER_SIZE=34024,this.INVALID_FRAMEBUFFER_OPERATION=1286,this.UNPACK_FLIP_Y_WEBGL=37440,this.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441,this.CONTEXT_LOST_WEBGL=37442,this.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443,this.BROWSER_DEFAULT_WEBGL=37444}get drawingBufferWidth(){return this.canvas.width}get drawingBufferHeight(){return this.canvas.height}activeTexture(){}attachShader(){}bindAttribLocation(){}bindBuffer(){}bindFramebuffer(){}bindRenderbuffer(){}bindTexture(){}blendColor(){}blendEquation(){}blendEquationSeparate(){}blendFunc(){}blendFuncSeparate(){}bufferData(){}bufferSubData(){}checkFramebufferStatus(){return this.FRAMEBUFFER_COMPLETE}clear(){}clearColor(){}clearDepth(){}clearStencil(){}colorMask(){}compileShader(){}compressedTexImage2D(){}compressedTexSubImage2D(){}copyTexImage2D(){}copyTexSubImage2D(){}createBuffer(){return{}}createFramebuffer(){return{}}createProgram(){return{}}createRenderbuffer(){return{}}createShader(){return{}}createTexture(){return{}}cullFace(){}deleteBuffer(){}deleteFramebuffer(){}deleteProgram(){}deleteRenderbuffer(){}deleteShader(){}deleteTexture(){}depthFunc(){}depthMask(){}depthRange(){}detachShader(){}disable(){}disableVertexAttribArray(){}drawArrays(){}drawElements(){}enable(){}enableVertexAttribArray(){}finish(){}flush(){}framebufferRenderbuffer(){}framebufferTexture2D(){}frontFace(){}generateMipmap(){}getActiveAttrib(){return{}}getActiveUniform(){return null}getAttachedShaders(){return[]}getAttribLocation(){return 0}getBufferParameter(){return 0}getContextAttributes(){return{}}getError(){return this.NO_ERROR}getExtension(){return null}getFramebufferAttachmentParameter(){return 0}getParameter(){return 0}getProgramInfoLog(){return""}getProgramParameter(){return{}}getRenderbufferParameter(){return 0}getShaderInfoLog(){return""}getShaderParameter(){return!0}getShaderPrecisionFormat(){return{rangeMin:127,rangeMax:127,precision:127}}getShaderSource(){return""}getSupportedExtensions(){return[]}getTexParameter(){return 0}getUniform(){return 0}getUniformLocation(){return null}getVertexAttrib(){return 0}getVertexAttribOffset(){return 0}hint(){}isBuffer(){return!1}isContextLost(){return!1}isEnabled(){return!1}isFramebuffer(){return!1}isProgram(){return!1}isRenderbuffer(){return!1}isShader(){return!1}isTexture(){return!1}lineWidth(){}linkProgram(){}pixelStorei(){}polygonOffset(){}readPixels(){}renderbufferStorage(){}sampleCoverage(){}scissor(){}shaderSource(){}stencilFunc(){}stencilFuncSeparate(){}stencilMask(){}stencilMaskSeparate(){}stencilOp(){}stencilOpSeparate(){}texImage2D(){}texParameterf(){}texParameteri(){}texSubImage2D(){}uniform1f(){}uniform1fv(){}uniform1i(){}uniform1iv(){}uniform2f(){}uniform2fv(){}uniform2i(){}uniform2iv(){}uniform3f(){}uniform3fv(){}uniform3i(){}uniform3iv(){}uniform4f(){}uniform4fv(){}uniform4i(){}uniform4iv(){}
2uniformMatrix2fv(){}uniformMatrix3fv(){}uniformMatrix4fv(){}useProgram(){}validateProgram(){}vertexAttrib1f(){}vertexAttrib1fv(){}vertexAttrib2f(){}vertexAttrib2fv(){}vertexAttrib3f(){}vertexAttrib3fv(){}vertexAttrib4f(){}vertexAttrib4fv(){}vertexAttribPointer(){}viewport(){}},t.ModelViewer=class{constructor(e){this._renderables={},this._renderables=e}get renderables(){return Object.values(this._renderables)}get resources(){return this.renderables.flatMap((e=>e.resources))}getUniformsToUpdateView(e,t){return e.getUniformsToUpdateView(t)}updateAll({uniforms:e}){if(e)for(const t of this.renderables)e.uCameraPosition&&(t.uniforms[Se]=e.uCameraPosition),e.uMVPMatrix&&(t.uniforms[Ae]=e.uMVPMatrix),e.uNormalMatrix&&(t.uniforms[Re]=e.uNormalMatrix)}updateOne({id:e,textures:t}){const n=this._renderables[e];if(!n)throw new a(`Renderable with id ${e} not found`);t&&t.uPlaceholderTexture&&(n.textures[Ee]=t.uPlaceholderTexture)}},t.ModelViewerGltfData=class{constructor(e,t=!1){this.gltf=e,this.meshes=this.gltf.model.map((e=>e.mesh)).flat(),this.shader=new N({vertexSource:"#extension GL_OES_standard_derivatives:enable\nprecision highp float;attribute vec2 zztE2SnZx;attribute vec3 ihJIFSpvi,mjiW1vcGg;uniform mat4 T1GP6ZTnQ;uniform mat3 LPlLw5zPI;uniform vec3 MLGoNA0wv;varying vec2 m;varying vec3 j,p,L,s;void main(){mat4 a=T1GP6ZTnQ;gl_Position=a*vec4(ihJIFSpvi,1.),j=ihJIFSpvi,s=MLGoNA0wv,m=zztE2SnZx,p=LPlLw5zPI*mjiW1vcGg,L=normalize(mjiW1vcGg);}vec3 l=vec3(1.);",fragmentSource:t?"#extension GL_OES_standard_derivatives:enable\nprecision highp float;uniform vec4 LkEaxkGQc;uniform float x8cqPYjGq,zAvK5sktl;uniform sampler2D j5BD_wqsh,m5a6RRSnk,Flt8u8M0x,MpMrqOkTf;varying vec2 m;varying vec3 j,p,s;uniform ivec4 mXA59BV4k;bool D(){return mXA59BV4k.x==1;}bool E(){return mXA59BV4k.y==1;}bool F(){return mXA59BV4k.z==1;}bool G(){return mXA59BV4k.w==1;}float u(vec3 d,vec3 e,float a){float c=a*a*a*a,b=max(dot(d,e),0.),f=b*b*(c-1.)+1.;return c/(3.141593*f*f);}float v(float b,float c){float a=c+1.,d=a*a*.125;return b/(b*(1.-d)+d);}float w(vec3 a,vec3 b,vec3 c,float d){float e=max(dot(a,c),0.),f=max(dot(a,b),0.);return v(e,d)*v(f,d);}vec3 x(float b,vec3 a){return a+(1.-a)*pow(1.-b,5.);}vec3 H(sampler2D e,vec3 b,const vec2 a,vec3 f){vec3 o=texture2D(e,a).xyz*2.-1.,g=dFdx(b),h=dFdy(b);vec2 i=dFdx(a),k=dFdy(a);vec3 c=normalize(f),d=normalize(g*k.t-h*i.t),n=-normalize(cross(c,d));mat3 q=mat3(d,n,c);return normalize(q*o);}vec3 l=vec3(1.);vec3 r(vec3 I,vec3 a,vec3 b,vec3 c,vec3 k,float d,float n,float J){vec3 e=vec3(.04);e=mix(e,I,n);vec3 f=normalize(c+b);float o=u(a,f,d),q=w(a,b,c,d);vec3 g=x(max(dot(f,b),0.),e),y=g,i=vec3(1.)-y;i*=1.-n;float h=max(dot(a,c),0.);vec3 z=o*q*g;float A=4.*max(dot(a,b),0.)*h+1e-3;vec3 B=z/A,C=i,K=(C+B)*k*h;return J*K;}void main(){vec3 b[6];b[0]=normalize(vec3(0.,0.,1.5)),b[1]=normalize(vec3(-1.,0.,.3)),b[2]=normalize(vec3(1.,0.,.3)),b[3]=normalize(vec3(0.,1.,1.5));vec3 c=p,a=LkEaxkGQc.rgb;float g=LkEaxkGQc.a;if(D())a=texture2D(j5BD_wqsh,m).rgb,g=texture2D(j5BD_wqsh,m).a;c=E()?H(m5a6RRSnk,j,m,p):c;float d=x8cqPYjGq;d=G()?texture2D(MpMrqOkTf,m).r:d;float h=zAvK5sktl;vec3 i=normalize(s-j),e=vec3(0.);e=r(a,c,i,b[0]-j,l,d,h,1.5),e+=r(a,c,i,normalize(b[1]-j),l,d,h,.75),e+=r(a,c,i,normalize(b[2]-j),l,d,h,.75),e+=r(a,c,i,normalize(b[3]-j),l,d,h,.75);if(F()){vec4 f=texture2D(Flt8u8M0x,m);a=g==0.?f.rgb*f.a:f.rgb*f.a+a*(1.-f.a),g=max(g,f.a);}a=pow(a,vec3(2.2));vec3 k=a*e*.45;k=pow(k,vec3(.454545)),gl_FragColor=vec4(k,g);}":"#extension GL_OES_standard_derivatives:enable\nprecision highp float;uniform vec4 LkEaxkGQc;uniform float x8cqPYjGq,zAvK5sktl;uniform sampler2D j5BD_wqsh,m5a6RRSnk,Flt8u8M0x,MpMrqOkTf;varying vec2 m;varying vec3 j,p,s;uniform ivec4 mXA59BV4k;bool D(){return mXA59BV4k.x==1;}bool E(){return mXA59BV4k.y==1;}bool F(){return mXA59BV4k.z==1;}bool G(){return mXA59BV4k.w==1;}float u(vec3 d,vec3 e,float a){float c=a*a*a*a,b=max(dot(d,e),0.),f=b*b*(c-1.)+1.;return c/(3.141593*f*f);}float v(float b,float c){float a=c+1.,d=a*a*.125;return b/(b*(1.-d)+d);}float w(vec3 a,vec3 b,vec3 c,float d){float e=max(dot(a,c),0.),f=max(dot(a,b),0.);return v(e,d)*v(f,d);}vec3 x(float b,vec3 a){return a+(1.-a)*pow(1.-b,5.);}vec3 H(sampler2D e,vec3 b,const vec2 a,vec3 f){vec3 o=texture2D(e,a).xyz*2.-1.,g=dFdx(b),h=dFdy(b);vec2 i=dFdx(a),k=dFdy(a);vec3 c=normalize(f),d=normalize(g*k.t-h*i.t),n=-normalize(cross(c,d));mat3 q=mat3(d,n,c);return normalize(q*o);}vec3 l=vec3(1.);vec3 t(vec3 b,vec3 c,vec3 d,vec3 e,float h){float f=max(dot(c,d),0.);vec3 g=f*e*b,a=g;a=clamp(a,0.,1.);return h*a;}vec3 r(vec3 I,vec3 a,vec3 b,vec3 c,vec3 k,float d,float n,float J){vec3 e=vec3(.04);e=mix(e,I,n);vec3 f=normalize(c+b);float o=u(a,f,d),q=w(a,b,c,d);vec3 g=x(max(dot(f,b),0.),e),y=g,i=vec3(1.)-y;i*=1.-n;float h=max(dot(a,c),0.);vec3 z=o*q*g;float A=4.*max(dot(a,b),0.)*h+1e-3;vec3 B=z/A,C=i,K=(C+B)*k*h;return J*K;}void main(){vec3 a[6];a[0]=normalize(vec3(1.,-.5,1.)),a[1]=normalize(vec3(-1.,1.5,1.)),a[2]=normalize(vec3(.4,.4,-1.)),a[3]=normalize(vec3(0.,-1.,0.)),a[4]=normalize(vec3(-1.,0.,0.)),a[5]=normalize(vec3(1.,0.,0.));vec3 c=p,b=LkEaxkGQc.rgb;float g=LkEaxkGQc.a;if(D())b=texture2D(j5BD_wqsh,m).rgb,g=texture2D(j5BD_wqsh,m).a,b=pow(b,vec3(2.2));c=E()?H(m5a6RRSnk,j,m,p):c;float h=x8cqPYjGq;h=G()?texture2D(MpMrqOkTf,m).r:h;float k=zAvK5sktl;vec3 n=normalize(s-j),i=vec3(0.);i=r(b,c,n,a[0]-j,l,h,k,.1),i+=r(b,c,n,normalize(a[1]-j),l,h,k,.1),i+=r(b,c,n,normalize(a[2]-j),l,h,k,.1);vec3 d=t(b,c,a[0]-j,l,1.);d+=t(b,c,a[1]-j,l,1.),d+=t(b,c,a[2]-j,l,1.45),d+=t(b,c,a[3]-j,l,.65),d+=t(b,c,a[4]-j,l,.65),d+=t(b,c,a[5]-j,l,.25);vec3 e=LkEaxkGQc.rgb;if(F()){vec4 f=texture2D(Flt8u8M0x,m);e=g==0.?f.rgb*f.a:f.rgb*f.a+e*(1.-f.a),e=pow(e,vec3(2.2)),g=max(g,f.a);}vec3 o=e*(d+i);o=pow(o,vec3(.454545)),gl_FragColor=vec4(o,g);}"})}getRenderables(){return Object.fromEntries(this.meshes.map((e=>[e.name,this.gltfMeshToRenderable(e)])))}gltfMeshToRenderable(e){if(!e.material)throw new s("Mesh material not found");const{baseColorFactor:t,baseColorTexture:n,isBaseColorTexture:r,metallicFactor:i,roughnessFactor:o,roughnessTexture:a,isRoughnessTexture:u,normalTexture:c,isNormalTexture:l,placeholder:h,isPlaceholderTexture:f,isDoubleSided:d}=this.gltfMaterialToTextures(e.material,this.gltf.images,this.gltf.textures),p=r?1:0,m=l?1:0,v=f?1:0,g=u?1:0;return new P({attributes:{[Te]:new y(e.vertices),[_e]:new y(e.normals),[xe]:new y(e.uvs)},textures:{[be]:n,[Ee]:h,[ye]:c,[we]:a},uniforms:{[Se]:[0,0,0],[pe]:[t[0],t[1],t[2],t[3]],[ge]:[i],[ve]:[o],[me]:[p,m,v,g],[Ae]:Array.from(Ne()),[Re]:Array.from(Ie())},shader:this.shader,indices:new w(e.indices),depthTest:{mask:!0,func:"less",range:{near:0,far:1}},...!d&&{cullFace:"back"}})}
2gltfMaterialToTextures(e,t,n){const r=e.pbrMetallicRoughness.baseColorFactor,i=e.pbrMetallicRoughness.metallicFactor,o=e.pbrMetallicRoughness.roughnessFactor,s=void 0!==e.pbrMetallicRoughness.baseColorTexture,a=e.pbrMetallicRoughness.baseColorTexture?new L({source:t[n[e.pbrMetallicRoughness.baseColorTexture.index].source].img,anisotropy:16}):Ve,u=e.normalTexture?new L({source:t[n[e.normalTexture.index].source].img,anisotropy:16}):Ve,c=void 0!==e.normalTexture,l=e.pbrMetallicRoughness.metallicRoughnessTexture?new L({source:t[n[e.pbrMetallicRoughness.metallicRoughnessTexture.index].source].img,anisotropy:16}):Ve,h=void 0!==e.pbrMetallicRoughness.metallicRoughnessTexture,f=e.name.includes("placeholder");return{baseColorFactor:r,baseColorTexture:a,metallicFactor:i,roughnessFactor:o,roughnessTexture:l,isRoughnessTexture:h,isBaseColorTexture:s,normalTexture:u,isNormalTexture:c,placeholder:Ve,isPlaceholderTexture:f,isDoubleSided:e.doubleSided}}getDataToUpdateAllPlaceholders(e){return this.meshes.filter((e=>{var t;return null==(t=e.material)?void 0:t.name.includes("placeholder")})).map((t=>({id:t.name,textures:{uPlaceholderTexture:new L({source:e,anisotropy:16})}})))}getDataToUpdateSinglePlaceholder(e,t){if(!this.meshes.find((t=>{var n;return t.name===e&&(null==(n=t.material)?void 0:n.name.includes("placeholder"))})))throw new s("Mesh not found");return{id:e,textures:{uPlaceholderTexture:new L({source:t,anisotropy:16})}}}},t.OrbitControls=class{constructor(e,{initialDistance:t,minDistance:n,maxDistance:r,initialRotation:i,rotationTarget:o,enableZooming:s=!1}){if(this.container=e,this.velocity=[0,0],this.mousePosition=[0,0],this.clientSizeRatio=[1,1],this.isMouseDown=!1,this.projectionMatrix=Ne(),this.viewMatrix=Ne(),this.modelMatrix=Ne(),this.modelViewProjectionMatrix=Ne(),this.cameraPosition=De(),this.onMouseDown=e=>{e.preventDefault(),this.mousePosition[0]=e.x,this.mousePosition[1]=e.y,this.clientSizeRatio[0]=window.innerWidth/this.container.clientWidth,this.clientSizeRatio[1]=window.innerHeight/this.container.clientHeight,this.isMouseDown=!0},this.onMouseMove=e=>{if(!this.isMouseDown)return;const{x:t,y:n}=e,r=t-this.mousePosition[0],i=n-this.mousePosition[1],o=.3*Math.sqrt(this.distance);this.velocity[0]=r*o*this.clientSizeRatio[0],this.velocity[1]=i*o*this.clientSizeRatio[1],this.mousePosition[0]=t,this.mousePosition[1]=n,this.tick()},this.onMouseUp=e=>{this.isMouseDown=!1,e.target===this.container&&e.preventDefault()},this.onWheelMove=e=>{e.preventDefault(),e.stopPropagation();const{deltaY:t}=e;if(Number.isNaN(t))return;const n=this.distance+t*this.distance*5e-4;this.zoomToDistance(n)},this.toggleZooming=e=>{e?this.container.addEventListener("wheel",this.onWheelMove,!1):this.container.removeEventListener("wheel",this.onWheelMove,!1)},this.tick=()=>{this.rotation[0]+=.01*this.velocity[0],this.rotation[1]-=.01*this.velocity[1],this.rotation[0]=(this.rotation[0]+2*Math.PI)%(2*Math.PI),this.rotation[1]=Math.min(.99*Math.PI,Math.max(.01,this.rotation[1])),this.velocity[0]*=.95,this.velocity[1]*=.95;const e=this.velocity[0]*this.velocity[0],t=this.velocity[1]*this.velocity[1];return Math.sqrt(e+t)<5e-5&&(this.velocity[0]=0,this.velocity[1]=0),this.updateCameraPosition(),this},this.moveToRotation=(e,t)=>{null!=e&&(this.rotation[0]=(e+2*Math.PI)%(2*Math.PI)),null!=t&&(this.rotation[1]=Math.min(.99*Math.PI,Math.max(.01,t))),this.velocity[0]=0,this.velocity[1]=0},this.loadCameraSettings=({initialCameraDistance:e,cameraDistanceRange:t})=>{this.zoomToDistance(e),this.enableZooming&&null!=t?(this.minDistance=t.min,this.maxDistance=t.max,this.toggleZooming(!0)):this.toggleZooming(!1)},this.zoomToDistance=e=>{null!=e&&(this.distance=Math.min(this.maxDistance,Math.max(e,this.minDistance)))},this.checkCamera=()=>{},void 0!==n&&n<=0)throw new a("Invalid value of minDistance. Expected value must be greater than 0.");this.enableZooming=s,this.distance=null!=t?t:1.5,this.minDistance=null!=n?n:.1,this.maxDistance=null!=r?r:20,this.rotationTarget=null!=o?o:"camera",this.rotation=null!=i?i:lt,this.updateCameraPosition(),this.container.addEventListener("mousedown",this.onMouseDown,!1),window.addEventListener("mousemove",this.onMouseMove,!1),window.addEventListener("mouseup",this.onMouseUp,!1)}dispose(){this.container.removeEventListener("mousedown",this.onMouseDown,!1),window.removeEventListener("mousemove",this.onMouseMove,!1),window.removeEventListener("mouseup",this.onMouseUp,!1),this.toggleZooming(!1)}getUniformsToUpdateView(e){return{uniforms:{uCameraPosition:[this.cameraPosition[0],this.cameraPosition[1],this.cameraPosition[2]],uMVPMatrix:this.createMVPMatrix(e),uNormalMatrix:this.createNormalMatrix()}}}createViewMatrix(e){if("model"===this.rotationTarget){const t=[0,0,He(e)];Ue(this.viewMatrix,t,e,ct)}else Ue(this.viewMatrix,e,e,ct);return this.viewMatrix}createModelMatrix(){if(Oe(this.modelMatrix),"model"===this.rotationTarget){const[e,t]=this.rotation;(function(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[4],s=t[5],a=t[6],u=t[7],c=t[8],l=t[9],h=t[10],f=t[11];t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+c*r,e[5]=s*i+l*r,e[6]=a*i+h*r,e[7]=u*i+f*r,e[8]=c*i-o*r,e[9]=l*i-s*r,e[10]=h*i-a*r,e[11
2]=f*i-u*r})(this.modelMatrix,this.modelMatrix,-t+Math.PI/2),function(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[0],s=t[1],a=t[2],u=t[3],c=t[8],l=t[9],h=t[10],f=t[11];t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i-c*r,e[1]=s*i-l*r,e[2]=a*i-h*r,e[3]=u*i-f*r,e[8]=o*r+c*i,e[9]=s*r+l*i,e[10]=a*r+h*i,e[11]=u*r+f*i}(this.modelMatrix,this.modelMatrix,e-Math.PI/2)}return this.modelMatrix}createMVPMatrix(e){this.createModelMatrix(),this.createViewMatrix(this.cameraPosition),Fe(this.projectionMatrix,.4,e,.01,1e3);const t=ke(0,0,0),n=ke(0,1,0);return Ue(this.viewMatrix,this.cameraPosition,t,n),Me(this.modelViewProjectionMatrix,this.viewMatrix,this.modelMatrix),Me(this.modelViewProjectionMatrix,this.projectionMatrix,this.modelViewProjectionMatrix),Array.from(this.modelViewProjectionMatrix)}updateCameraPosition(){const[e,t]="camera"===this.rotationTarget?this.rotation:lt;this.cameraPosition[0]=this.distance*Math.cos(e)*Math.sin(t),this.cameraPosition[1]=this.distance*Math.cos(t),this.cameraPosition[2]=this.distance*Math.sin(e)*Math.sin(t)}createNormalMatrix(){const e=Ie();return function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],s=t[4],a=t[5],u=t[6],c=t[7],l=t[8],h=t[9],f=t[10],d=t[11],p=t[12],m=t[13],v=t[14],g=t[15],b=n*a-r*s,E=n*u-i*s,y=n*c-o*s,w=r*u-i*a,T=r*c-o*a,_=i*c-o*u,A=l*m-h*p,x=l*v-f*p,R=l*g-d*p,S=h*v-f*m,C=h*g-d*m,P=f*g-d*v,I=b*P-E*C+y*S+w*R-T*x+_*A;I&&(I=1/I,e[0]=(a*P-u*C+c*S)*I,e[1]=(u*R-s*P-c*x)*I,e[2]=(s*C-a*R+c*A)*I,e[3]=(i*C-r*P-o*S)*I,e[4]=(n*P-i*R+o*x)*I,e[5]=(r*R-n*C-o*A)*I,e[6]=(m*_-v*T+g*w)*I,e[7]=(v*y-p*_-g*E)*I,e[8]=(p*T-m*y+g*b)*I)}(e,this.modelMatrix),Array.from(e)}},t.PingpongBuffers=ie,t.PremultipliedNormalBlending={source:"one",destination:"one minus src alpha",equation:"add"},t.RenderTexture=F,t.Renderable=P,t.Renderer=class{constructor(e){this.resources=new Map,this.create=e,this.backend=this.createBackend()}createBackend(){const e=this.create();return e.onContextLost=e=>{var t;null==(t=this.onContextLost)||t.call(this,e)},e}load(e){this.backend.load(e);const t=Array.isArray(e)?e:e.resources;for(const n of t)this.resources.set(n.id,n)}update(e){this.backend.update(e)}clear(e,t){this.backend.clear(e,t)}render(e){this.backend.render(e)}readPixels(e){return this.backend.readPixels(e)}flush(){this.backend.flush()}release(e){this.backend.release(e);const t=Array.isArray(e)?e:e.resources;for(const n of t)this.resources.delete(n.id)}dispose(){this.backend.dispose(),this.resources.clear()}restore(){this.backend.dispose(),this.backend=this.createBackend(),this.backend.load(Array.from(this.resources.values()))}resize(...e){const[t,n]=e;if(t===this.canvas.width&&n===this.canvas.height)return;this.backend.resize(...e);const r=Array.from(this.resources.values()).filter((e=>"texture"===e.resourceType&&!e.source&&"relative"===e.size));this.backend.update(r)}get canvas(){return this.backend.canvas}},t.Shader=N,t.WebGlRenderer=$,t._renderTexturePool=ne,t.createWebGlRenderer=function(e,t){var n,r,o,s,a;const u=null!=(r=null==(n=null==t?void 0:t.createCanvas)?void 0:n.call(t))?r:document.createElement("canvas");e.append(u),u.style.width="100%",u.style.height="100%";let c="Unknown";const l=e=>{e.statusMessage&&(c=e.statusMessage)};u.addEventListener("webglcontextcreationerror",l);const h={alpha:null==(o=null==t?void 0:t.alpha)||o,antialias:null==(s=null==t?void 0:t.antialias)||s,depth:null!=(a=null==t?void 0:t.depth)&&a,stencil:!1,preserveDrawingBuffer:!(null==t||!t.preserveDrawingBuffer),powerPreference:"high-performance",failIfMajorPerformanceCaveat:!(null==t||!t.failIfMajorPerformanceCaveat)},f=null!=t&&t.useWebGl2?u.getContext("webgl2",h):u.getContext("webgl",h);if(u.removeEventListener("webglcontextcreationerror",l),!f)throw new i(`A WebGL context could not be created. Reason: ${c}`);return new $(f,{...t,onDispose:()=>{u.remove()}})},t.debugBinaryTexture=fe,t.debugImageTexture=he,t.debugRenderTexture=le,t.debugTexture=function(e,t){t&&"render"!==t.textureType?"image"===t.textureType?he(t):fe(t):le(e,t)},t.getAbsoluteTextureSize=U,t.getPooledRenderTexture=re,t.injectAlphaPremultiplication=Q,t.paddedTuple=function(e,t,n){if(e.length>n)return e.slice(0,n);const r=[...e];for(;r.length<n;)r.push(t);return r}},553824:(e,t,n)=>{"use strict";n.d(t,{e:()=>p,r:()=>o});var r=n(944339),i=n(106853);function o(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(i.R).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),u=0,c=a;u<c.length;u++){if(0===c[u].length)throw new Error("Invalid number skeleton")}t.push({stem:s,options:a})}return t}var s=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,a=/^(@+)?(\+|#+)?[rs]?$/g,u=/(\*)(0+)|(#+)(0+)|(0+)/g,c=/^(0+)$/;function l(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(a,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function h(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function f(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!c.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function d(e){var t=h(e);return t||{}}function p(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;
2case"scientific":t=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return(0,r.Cl)((0,r.Cl)({},e),d(t))}),{}));continue;case"engineering":t=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return(0,r.Cl)((0,r.Cl)({},e),d(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(u,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(c.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(s.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(s,(function(e,n,r,i,o,s){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var p=o.options[0];"w"===p?t=(0,r.Cl)((0,r.Cl)({},t),{trailingZeroDisplay:"stripIfInteger"}):p&&(t=(0,r.Cl)((0,r.Cl)({},t),l(p)))}else if(a.test(o.stem))t=(0,r.Cl)((0,r.Cl)({},t),l(o.stem));else{var m=h(o.stem);m&&(t=(0,r.Cl)((0,r.Cl)({},t),m));var v=f(o.stem);v&&(t=(0,r.Cl)((0,r.Cl)({},t),v))}}return t}},554486:(e,t,n)=>{"use strict";n.d(t,{B1:()=>S,C0:()=>h,DD:()=>o,Dz:()=>v,PG:()=>d,Sg:()=>f,T9:()=>a,TV:()=>m,WJ:()=>b,_3:()=>l,aD:()=>E,bV:()=>x,jk:()=>s,lP:()=>A,nI:()=>R,qE:()=>c,r_:()=>r,sq:()=>p,w7:()=>g});const r=["top","right","bottom","left"],i=["start","end"],o=r.reduce(((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1])),[]),s=Math.min,a=Math.max,u=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"});function c(e,t,n){return a(e,s(t,n))}function l(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function d(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function m(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return d(m(e))}function g(e,t,n){void 0===n&&(n=!1);const r=f(e),i=v(e),o=p(i);let s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=x(s)),[s,x(s)]}function b(e){const t=x(e);return[E(e),t,E(t)]}function E(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const y=["left","right"],w=["right","left"],T=["top","bottom"],_=["bottom","top"];function A(e,t,n,r){const i=f(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?w:y:t?y:w;case"left":case"right":return t?T:_;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(E)))),o}function x(e){const t=h(e);return u[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?function(e){var t,n,r,i;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}}(e):{top:e,right:e,bottom:e,left:e}}function S(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},565800:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this;t.next=function(){var e,n,r=t.x,i=t.i;return e=r[i],n=(e^=e>>>7)^e<<24,n^=(e=r[i+1&7])^e>>>10,n^=(e=r[i+3&7])^e>>>3,n^=(e=r[i+4&7])^e<<7,e=r[i+7&7],n^=(e^=e<<13)^e<<9,r[i]=n,t.i=i+1&7,n},function(e,t){var n,r=[];if(t===(0|t))r[0]=t;else for(t=""+t,n=0;n<t.length;++n)r[7&n]=r[7&n]<<15^t.charCodeAt(n)+r[n+1&7]<<13;for(;r.length<8;)r.push(0);for(n=0;n<8&&0===r[n];++n);for(8==n?r[7]=-1:r[n],e.x=r,e.i=0,n=256;n>0;--n)e.next()}(t,e)}function a(e,t){return t.x=e.x.slice(),t.i=e.i,t}function u(e,t){null==e&&(e=+new Date);var n=new s(e),r=t&&t.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},i.int32=n.next,i.quick=i,r&&(r.x&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.xorshift7=u}(0,e=n.nmd(e),n.amdD)},570457:(e,t,n)=>{"use strict";n.d(t,{R:()=>d});var r=n(944339),i=n(866949),o=n(116758),s=n(687991),a=n(836110),u=n(715786),c=n(460803),l=["addListener","removeListener"],h=["addEventListener","removeEventListener"],f=["on","off"];function d(e,t,n,m){if((0,u.T)(n)&&(m=n,n=void 0),m)return d(e,t,n).pipe((0,c.I)(m));var v=(0,r.zs)(function(e){return(0,u.T)(e.addEventListener)&&(0,u.T)(e.removeEventListener)}(e)?h.map((function(r){return function(i){return e[r](t,i,n)}})):function(e){return(0,u.T)(e.addListener)&&(0,u.T)(e.removeListener)}(e)?l.map(p(e,t)):function(e){return(0,u.T)(e.on)&&(0,u.T)(e.off)}(e)?f.map(p(e,t)):[],2),g=v[0],b=v[1];if(!g&&(0,a.X)(e))return(0,s.Z)((function(e){return d(e,t,n)}))((0,i.Tg)(e));if(!g)throw new TypeError("Invalid event target");return new o.c((function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return g(t),function(){return b(t)}}))}function p(e,t){return function(n){return function(r){return e[n](t,r)}}}},588587:(e,t,n)=>{"use strict";var r,i=n(776266);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e;(0,i.A)(r)},607597:(e,t,n)=>{"use strict";n.d(t,{Im:()=>s.Im,Jp:()=>s.Jp,N1:()=>s.N1,N6:()=>s.N6,Qh:()=>s.Qh,Tu:()=>s.Tu,eW:()=>s.eW,jA:()=>s.jA,oF:()=>s.oF,qg:()=>u,tv:()=>s.tv,xm:()=>s.xm});var r=n(944339),i=n(810487),o=n(332386),s=n(15924);function a(e){e.forEach((function(e){if(delete e.location,(0,s.Jp)(e)||(0,s.N6)(e))for(var t in e.options)delete e.options[t].location,a(e.options[t].value);else(0,s.oF)(e)&&(0,s.N1)(e.style)||((0,s.tv)(e)||(0,s.Qh)(e))&&(0,s.Tu)(e.style)?delete e.style.location:(0,s.xm)(e)&&a(e.children)}))}function u(e,t){void 0===t&&(t={}),t=(0,r.Cl)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new o.i(e,t).parse();if(n.err){var s=SyntaxError(i.F[n.err.kind]);throw s.location=n.err.location,s.originalMessage=n.err.message,s}return(null==t?void 0:t.captureLocation)||a(n.val),n.val}o.i},612151:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>a,LI:()=>o,RI:()=>s,T9:()=>i,jk:()=>r});const r=Math.min,i=Math.max,o=Math.round,s=Math.floor,a=e=>({x:e,y:e})},633597:(e,t,n)=>{"use strict";n.d(t,{Aj:()=>A,Sx:()=>f,Z8:()=>E,_y:()=>m,eG:()=>u,iB:()=>N,tB:()=>w,uP:()=>T});var r=n(638214),i=function(){};function o(e,t){void 0===t&&(t="Illegal state"),e||function(e){throw new Error("[mobx-utils] "+e)}(t)}var s=function(e){return e&&e!==Object.prototype&&Object.getOwnPropertyNames(e).concat(s(Object.getPrototypeOf(e))||[])},a=function(e){return function(e){var t=s(e);return t.filter((function(e,n){return t.indexOf(e)===n}))}(e).filter((function(e){return"constructor"!==e&&!~e.indexOf("__")}))},u="pending",c="fulfilled",l="rejected";function h(e){switch(this.state){case u:return e.pending&&e.pending(this.value);case l:return e.rejected&&e.rejected(this.value);case c:return e.fulfilled?e.fulfilled(this.value):this.value}}function f(e,t){if(o(arguments.length<=2,"fromPromise expects up to two arguments"),o("function"==typeof e||"object"==typeof e&&e&&"function"==typeof e.then,"Please pass a promise or function to fromPromise"),!0===e.isPromiseBasedObservable)return e;"function"==typeof e&&(e=new Promise(e));var n=e;e.then((0,r.XI)("observableFromPromise-resolve",(function(e){n.value=e,n.state=c})),(0,r.XI)("observableFromPromise-reject",(function(e){n.value=e,n.state=l}))),n.isPromiseBasedObservable=!0,n.case=h;var i=!t||t.state!==c&&t.state!==u?void 0:t.value;return(0,r.kt)(n,{value:i,state:u},{},{deep:!1}),n}!function(e){e.reject=(0,r.XI)("fromPromise.reject",(function(t){var n=e(Promise.reject(t));return n.state=l,n.value=t,n})),e.resolve=(0,r.XI)("fromPromise.resolve",(function(t){void 0===t&&(t=void 0);var n=e(Promise.resolve(t));return n.state=c,n.value=t,n}))}(f||(f={}));function d(e,t,n){void 0===t&&(t=i),void 0===n&&(n=void 0);var s=!1,a=!1,u=n,c=function(){s&&(s=!1,t())},l=(0,r.MN)("ResourceBasedObservable",(function(){o(!s&&!a),s=!0,e((function(e){(0,r.vx)(!0,(function(){u=e,l.reportChanged()}))}))}),c);return{current:function(){return o(!a,"subscribingObservable has already been disposed"),l.reportObserved()||s||console.warn("Called `get` of a subscribingObservable outside a reaction. Current value will be returned but no new subscription has started"),u},dispose:function(){a=!0,c()},isAlive:function(){return s}}}var p=function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};function m(e,t){var n;void 0===t&&(t=!1);var i=(0,r.EW)(e);return(n={subscribe:function(e){return"function"==typeof e?{unsubscribe:(0,r.lB)(i,(function(t){var n=t.newValue;return e(n)}),t)}:e&&"object"==typeof e&&e.next?{unsubscribe:(0,r.lB)(i,(function(t){var n=t.newValue;return e.next(n)}),t)}:{unsubscribe:function(){}}}})["function"==typeof Symbol&&Symbol.observable||"@@observable"]=function(){return this},n}!function(){function e(e,t){var n=this;Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscription",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),(0,r.Gn)(this),(0,r.h5)((function(){n.current=t,n.subscription=e.subscribe(n)}))}
2Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.subscription&&this.subscription.unsubscribe()}}),Object.defineProperty(e.prototype,"next",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.current=e}}),Object.defineProperty(e.prototype,"complete",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.dispose()}}),Object.defineProperty(e.prototype,"error",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.current=e,this.dispose()}}),p([r.sH.ref],e.prototype,"current",void 0),p([r.XI.bound],e.prototype,"next",null),p([r.XI.bound],e.prototype,"complete",null),p([r.XI.bound],e.prototype,"error",null)}();var v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},v.apply(this,arguments)},g=function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},b=["model","reset","submit","isDirty","isPropertyDirty","resetProperty"];!function(){function e(e){var t=this;Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"localValues",{enumerable:!0,configurable:!0,writable:!0,value:r.sH.map({})}),Object.defineProperty(this,"localComputedValues",{enumerable:!0,configurable:!0,writable:!0,value:r.sH.map({})}),Object.defineProperty(this,"isPropertyDirty",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return t.localValues.has(e)}}),(0,r.Gn)(this),o((0,r.OB)(e),"createViewModel expects an observable object");var n=a(this);a(e).forEach((function(i){var s;if(!n.includes(i)&&i!==r.BQ&&"__mobxDidRunLazyInitializers"!==i){if(o(-1===b.indexOf(i),"The propertyname "+i+" is reserved and cannot be used with viewModels"),(0,r.H8)(e,i)){var a=(0,r.Mr)(e,i),u=a.derivation.bind(t),c=null===(s=a.setter_)||void 0===s?void 0:s.bind(t);t.localComputedValues.set(i,(0,r.EW)(u,{set:c}))}var l=Object.getOwnPropertyDescriptor(e,i),h=l?{enumerable:l.enumerable}:{};Object.defineProperty(t,i,v(v({},h),{configurable:!0,get:function(){return(0,r.H8)(e,i)?t.localComputedValues.get(i).get():t.isPropertyDirty(i)?t.localValues.get(i):t.model[i]},set:(0,r.XI)((function(n){(0,r.H8)(e,i)?t.localComputedValues.get(i).set(n):n!==t.model[i]?t.localValues.set(i,n):t.localValues.delete(i)}))}))}}))}Object.defineProperty(e.prototype,"isDirty",{get:function(){return this.localValues.size>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"changedValues",{get:function(){return new Map(this.localValues)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"submit",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;(0,r.HP)(this.localValues).forEach((function(t){var n=e.localValues.get(t),i=e.model[t];(0,r.Fq)(i)?i.replace(n):(0,r.uz)(i)?(i.clear(),i.merge(n)):(0,r.YQ)(n)||(e.model[t]=n)})),this.localValues.clear()}}),Object.defineProperty(e.prototype,"reset",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.localValues.clear()}}),Object.defineProperty(e.prototype,"resetProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.localValues.delete(e)}}),g([r.EW],e.prototype,"isDirty",null),g([r.EW],e.prototype,"changedValues",null),g([r.XI.bound],e.prototype,"submit",null),g([r.XI.bound],e.prototype,"reset",null),g([r.XI.bound],e.prototype,"resetProperty",null)}();function E(e,t){var n=(0,r.go)(e,t);if(!n)throw new Error("No computed provided, please provide an object created with `computed(() => expr)` or an object + property name");return(0,r.lB)(n,(function(){}))}var y={};function w(e){return void 0===e&&(e=1e3),(0,r.Tx)()?(y[e]||(y[e]="number"==typeof e?function(e){var t;return d((function(n){n(Date.now()),t=setInterval((function(){return n(Date.now())}),e)}),(function(){clearInterval(t)}),Date.now())}(e):t=d((function(e){function n(){window.requestAnimationFrame((function(){e(Date.now()),t.isAlive()&&n()}))}e(Date.now()),n()}),(function(){}),Date.now())),y[e].current()):Date.now();var t}function T(e){return(0,r.Tx)()||console.warn("'expr' should only be used inside other reactive functions."),(0,r.EW)(e).get()}var _=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_.apply(this,arguments)};function A(e,t){o("function"==typeof e&&e.length<2,"createTransformer expects a function that accepts one argument");var n=new Map,i=function(e){return"object"==typeof e?e:"function"==typeof e?{onCleanup:e}:{}}(t),s=i.debugNameGenerator,a=i.keepAlive,u=i.onCleanup;var c=!1;return function(t){var o;!function(e){var t=typeof e;if(null===e||"object"!==t&&"function"!==t&&"string"!==t&&"number"!==t)throw new Error("[mobx-utils] transform expected an object, function, string or number, got: "+String(e))}(t);var l=n.get(t);if(l)return l.get();if(!a&&!(0,r.Tx)()){!c&&(null!==(o=i.requiresReaction)&&void 0!==o?o:(0,r.sG)().computedRequiresReaction)&&(console.warn("Invoking a transformer from outside a reactive context won't be memoized and is cleaned up immediately, unless keepAlive is set."),c=!0);var h=e(t);return u&&u(h,t),h}return l=function(t){var o,c=typeof t,l=s?s(t):"Transformer-"+e.name+"-"+("str
2ing"===c||"number"===c?t:"object"),h=(0,r.EW)((function(){return o=e(t)}),_(_({},i),{name:l}));if(!a)var f=(0,r.q$)(h,(function(){n.delete(t),f(),u&&u(o,t)}));return h}(t),n.set(t,l),l.get()}}var x,R=(x=function(e,t){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},x(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=(function(e){function t(t,n,i){var o=void 0===i?{}:i,s=o.name,a=void 0===s?"ogm"+(1e3*Math.random()|0):s,u=o.keyToName,c=void 0===u?function(e){return""+e}:u,l=e.call(this)||this;Object.defineProperty(l,"_base",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_ogmInfoKey",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_groupBy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_keyToName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_disposeBaseObserver",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),l._keyToName=c,l._groupBy=n,l._ogmInfoKey=Symbol("ogmInfo"+a),l._base=t;for(var h=0;h<t.length;h++)l._addItem(t[h]);return l._disposeBaseObserver=(0,r.lB)(l._base,(function(e){if("splice"===e.type)(0,r.Rn)((function(){for(var t=0,n=e.removed;t<n.length;t++){var r=n[t];l._removeItem(r)}for(var i=0,o=e.added;i<o.length;i++){var s=o[i];l._addItem(s)}}));else{if("update"!==e.type)throw new Error("illegal state");(0,r.Rn)((function(){l._removeItem(e.oldValue),l._addItem(e.newValue)}))}})),l}R(t,e),Object.defineProperty(t.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){throw new Error("not supported")}}),Object.defineProperty(t.prototype,"delete",{enumerable:!1,configurable:!0,writable:!0,value:function(e){throw new Error("not supported")}}),Object.defineProperty(t.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){throw new Error("not supported")}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposeBaseObserver();for(var e=0;e<this._base.length;e++){var t=this._base[e];t[this._ogmInfoKey].reaction(),delete t[this._ogmInfoKey]}}}),Object.defineProperty(t.prototype,"_getGroupArr",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var n=e.prototype.get.call(this,t);return void 0===n&&(n=(0,r.sH)([],{name:"GroupArray["+this._keyToName(t)+"]",deep:!1}),e.prototype.set.call(this,t,n)),n}}),Object.defineProperty(t.prototype,"_removeFromGroupArr",{enumerable:!1,configurable:!0,writable:!0,value:function(t,n){var r=e.prototype.get.call(this,t);1===r.length?e.prototype.delete.call(this,t):(n===r.length-1||(r[n]=r[r.length-1],r[n][this._ogmInfoKey].groupArrIndex=n),r.length--)}}),Object.defineProperty(t.prototype,"_addItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,n=this._groupBy(e),i=this._getGroupArr(n),o={groupByValue:n,groupArrIndex:i.length,reaction:(0,r.mJ)((function(){return t._groupBy(e)}),(function(n,r){var i=e[t._ogmInfoKey];t._removeFromGroupArr(i.groupByValue,i.groupArrIndex);var o=t._getGroupArr(n),s=o.length;o.push(e),i.groupByValue=n,i.groupArrIndex=s}))};Object.defineProperty(e,this._ogmInfoKey,{configurable:!0,enumerable:!1,value:o}),i.push(e)}}),Object.defineProperty(t.prototype,"_removeItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e[this._ogmInfoKey];this._removeFromGroupArr(t.groupByValue,t.groupArrIndex),t.reaction(),delete e[this._ogmInfoKey]}})}(r.Es),function(){function e(e,t,n,r){Object.defineProperty(this,"base",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"versionChecker",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"closest",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"closestIdx",{enumerable:!0,configurable:!0,writable:!0,value:0});for(var i=this.closest=this.root=e,o=0;o<this.args.length-1&&(i=i.get(t[o]));o++)this.closest=i;this.closestIdx=o}return Object.defineProperty(e.prototype,"exists",{enumerable:!1,
2configurable:!0,writable:!0,value:function(){this.assertCurrentVersion();var e=this.args.length;return this.closestIdx>=e-1&&this.closest.has(this.args[e-1])}}),Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.assertCurrentVersion(),!this.exists())throw new Error("Entry doesn't exist");return this.closest.get(this.args[this.args.length-1])}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.assertCurrentVersion();for(var t=this.args.length,n=this.closest,r=this.closestIdx;r<t-1;r++){var i=new Map;n.set(this.args[r],i),n=i}this.closestIdx=t-1,this.closest=n,n.set(this.args[t-1],e)}}),Object.defineProperty(e.prototype,"delete",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.assertCurrentVersion(),!this.exists())throw new Error("Entry doesn't exist");var e=this.args.length;this.closest.delete(this.args[e-1]);for(var t=this.root,n=[t],r=0;r<e-1;r++)t=t.get(this.args[r]),n.push(t);for(r=n.length-1;r>0;r--)0===n[r].size&&n[r-1].delete(this.args[r-1])}}),Object.defineProperty(e.prototype,"assertCurrentVersion",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this.versionChecker(this.version))throw new Error("Concurrent modification exception")}}),e}()),C=function(){function e(){var e=this;Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"argsLength",{enumerable:!0,configurable:!0,writable:!0,value:-1}),Object.defineProperty(this,"currentVersion",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"checkVersion",{enumerable:!0,configurable:!0,writable:!0,value:function(t){return e.currentVersion===t}})}return Object.defineProperty(e.prototype,"entry",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(-1===this.argsLength)this.argsLength=e.length;else if(this.argsLength!==e.length)throw new Error("DeepMap should be used with functions with a consistent length, expected: "+this.argsLength+", got: "+e.length);return this.currentVersion>=Number.MAX_SAFE_INTEGER&&(this.currentVersion=0),this.currentVersion++,new S(this.store,e,this.currentVersion,this.checkVersion)}}),e}(),P=function(){return P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},P.apply(this,arguments)},I=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};function N(e,t){if(void 0===t&&(t=!1),(0,r.ve)(e))throw new Error("computedFn shouldn't be used on actions");var n=!1,i=0,o="boolean"==typeof t?{keepAlive:t}:t,s=new C;return function(){for(var t,a=this,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];var l,h=s.entry(u);if(h.exists())return h.get().get();if(!o.keepAlive&&!(0,r.Tx)()){!n&&(null!==(t=o.requiresReaction)&&void 0!==t?t:(0,r.sG)().computedRequiresReaction)&&(console.warn("Invoking a computedFn from outside a reactive context won't be memoized and is cleaned up immediately, unless keepAlive is set."),n=!0);var f=e.apply(this,u);return o.onCleanup&&o.onCleanup.apply(o,I([f],u)),f}var d=(0,r.EW)((function(){return l=e.apply(a,u)}),P(P({},o),{name:"computedFn("+(o.name||e.name)+"#"+ ++i+")"}));return h.set(d),o.keepAlive||(0,r.q$)(d,(function(){s.entry(u).delete(),o.onCleanup&&o.onCleanup.apply(o,I([l],u)),l=void 0})),d.get()}}},639541:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},645163:(e,t,n)=>{"use strict";n.d(t,{$t:()=>a,$u:()=>y,EW:()=>b,F2:()=>g,Go:()=>d,O_:()=>p,Pg:()=>c,RS:()=>i,WZ:()=>T,YE:()=>v,YF:()=>u,cX:()=>f,gR:()=>o,jo:()=>w,nr:()=>l,tZ:()=>m,uo:()=>s});var r=n(276089);function i(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function o(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;
2if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function a(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function u(e){return!(0!==e.mozInputSource||!e.isTrusted)||(h()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function c(e){return!a().includes("jsdom/")&&(!h()&&0===e.width&&0===e.height||h()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function l(){return/apple/i.test(navigator.vendor)}function h(){const e=/android/i;return e.test(s())||e.test(a())}function f(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function d(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function p(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function v(e){return(null==e?void 0:e.ownerDocument)||document}function g(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function b(e){return"composedPath"in e?e.composedPath()[0]:e.target}const E="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function y(e){return(0,r.sb)(e)&&e.matches(E)}function w(e){e.preventDefault(),e.stopPropagation()}function T(e){return!!e&&("combobox"===e.getAttribute("role")&&y(e))}},663934:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(53656),i=n(168499),o=n(875031);function s(e){return e<=0?function(){return r.w}:(0,i.N)((function(t,n){var r=0;t.subscribe((0,o._)(n,(function(t){++r<=e&&(n.next(t),e<=r&&n.complete())})))}))}},664245:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(940712),i=n(866949);function o(e,t){return t?(0,r.c)(e,t):(0,i.Tg)(e)}},675421:(e,t,n)=>{"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{A:()=>r})},680811:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function i(e){var t={};return e.replace(r,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}}
2,681088:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},681162:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(978109).createContext(null)},682435:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(944339),i={setTimeout:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,r.fX)([e,t],(0,r.zs)(n))):setTimeout.apply(void 0,(0,r.fX)([e,t],(0,r.zs)(n)))},clearTimeout:function(e){var t=i.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},687991:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(944047),i=n(866949),o=n(168499),s=n(164975),a=n(715786);function u(e,t,n){return void 0===n&&(n=1/0),(0,a.T)(t)?u((function(n,o){return(0,r.T)((function(e,r){return t(n,e,o,r)}))((0,i.Tg)(e(n,o)))}),n):("number"==typeof t&&(n=t),(0,o.N)((function(t,r){return(0,s.h)(t,r,e,n)})))}},688125:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},689420:function(e,t,n){var r;!function(i,o,s){var a,u=256,c=s.pow(u,6),l=s.pow(2,52),h=2*l,f=u-1;function d(e,t,n){var r=[],f=g(v((t=1==t?{entropy:!0}:t||{}).entropy?[e,b(o)]:null==e?function(){try{var e;return a&&(e=a.randomBytes)?e=e(u):(e=new Uint8Array(u),(i.crypto||i.msCrypto).getRandomValues(e)),b(e)}catch(r){var t=i.navigator,n=t&&t.plugins;return[+new Date,i,n,i.screen,b(o)]}}():e,3),r),d=new p(r),E=function(){for(var e=d.g(6),t=c,n=0;e<l;)e=(e+n)*u,t*=u,n=d.g(1);for(;e>=h;)e/=2,t/=2,n>>>=1;return(e+n)/t};return E.int32=function(){return 0|d.g(4)},E.quick=function(){return d.g(4)/4294967296},E.double=E,g(b(d.S),o),(t.pass||n||function(e,t,n,r){return r&&(r.S&&m(r,d),e.state=function(){return m(d,{})}),n?(s.random=e,t):e})(E,f,"global"in t?t.global:this==s,t.state)}function p(e){var t,n=e.length,r=this,i=0,o=r.i=r.j=0,s=r.S=[];for(n||(e=[n++]);i<u;)s[i]=i++;for(i=0;i<u;i++)s[i]=s[o=f&o+e[i%n]+(t=s[i])],s[o]=t;(r.g=function(e){for(var t,n=0,i=r.i,o=r.j,s=r.S;e--;)t=s[i=f&i+1],n=n*u+s[f&(s[i]=s[o=f&o+t])+(s[o]=t)];return r.i=i,r.j=o,n})(u)}function m(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function v(e,t){var n,r=[],i=typeof e;if(t&&"object"==i)for(n in e)try{r.push(v(e[n],t-1))}catch(o){}return r.length?r:"string"==i?e:e+"\0"}function g(e,t){for(var n,r=e+"",i=0;i<r.length;)t[f&i]=f&(n^=19*t[f&i])+r.charCodeAt(i++);return b(t)}function b(e){return String.fromCharCode.apply(0,e)}if(g(s.random(),o),e.exports){e.exports=d;try{a=n(499401)}catch(E){}}else void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}("undefined"!=typeof self?self:this,[],Math)},698553:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(116758),i=n(866949);function o(e){return new r.c((function(t){(0,i.Tg)(e()).subscribe(t)}))}},702540:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},715786:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},721180:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(168499),i=n(875031),o=n(866949),s=n(34334);function a(e){return(0,r.N)((function(t,n){(0,o.Tg)(e).subscribe((0,i._)(n,(function(){return n.complete()}),s.l)),!n.closed&&t.subscribe(n)}))}},730406:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var r=(0,n(746704).L)((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}))},731602:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(436368);function i(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},740988:(e,t,n)=>{"use strict";n.d(t,{A2:()=>i,M7:()=>r,ro:()=>o});var r=s("C",void 0,void 0);function i(e){return s("E",void 0,e)}function o(e){return s("N",e,void 0)}function s(e,t,n){return{kind:e,value:t,error:n}}},745347:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(639541),i=n(682435);function o(e){i.f.setTimeout((function(){var t=r.$.onUnhandledError;if(!t)throw e;t(e)}))}},746704:(e,t,n)=>{"use strict";function r(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},751527:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>s});var r=n(639541),i=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,s=n.error;if(i=null,o)throw s}}else e()}function s(e){r.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},776266:(e,t,n)=>{"use strict";function r(e){var t,n=e.Symbol;if("function"==typeof n)if(n.observable)t=n.observable;else{t="function"==typeof n.for?n.for("https://github.com/benlesh/symbol-observable"):n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch(r){}}else t="@@observable";return t}n.d(t,{A:()=>r})},797090:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{_:()=>r})},801327:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(944339),i=function(e){function t(t,n){return e.call(this)||this}return(0,r.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(324094).yU)},810487:(e,t,n)=>{"use strict";var r;n.d(t,{F:()=>r}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_
2NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(r||(r={}))},811935:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(168499),i=n(875031);function o(e,t){return(0,r.N)((function(n,r){var o=0;n.subscribe((0,i._)(r,(function(n){return e.call(t,n,o++)&&r.next(n)})))}))}},815703:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.rT});var r=n(984543)},821046:(e,t,n)=>{"use strict";n.d(t,{BN:()=>S,ER:()=>M,Ej:()=>P,RK:()=>R,UE:()=>N,UU:()=>C,__:()=>A,cY:()=>x,iD:()=>T,jD:()=>I,ll:()=>_,mG:()=>O,rD:()=>L});var r=n(554486),i=n(953740),o=n(612151),s=n(276089);function a(e){const t=(0,s.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=(0,s.sb)(e),a=i?e.offsetWidth:n,u=i?e.offsetHeight:r,c=(0,o.LI)(n)!==a||(0,o.LI)(r)!==u;return c&&(n=a,r=u),{width:n,height:r,$:c}}function u(e){return(0,s.vq)(e)?e:e.contextElement}function c(e){const t=u(e);if(!(0,s.sb)(t))return(0,o.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:c}=a(t);let l=(c?(0,o.LI)(n.width):n.width)/r,h=(c?(0,o.LI)(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),h&&Number.isFinite(h)||(h=1),{x:l,y:h}}const l=(0,o.Jx)(0);function h(e){const t=(0,s.zk)(e);return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:l}function f(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),l=u(e);let f=(0,o.Jx)(1);t&&(i?(0,s.vq)(i)&&(f=c(i)):f=c(e));const d=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,s.zk)(e))&&t}(l,n,i)?h(l):(0,o.Jx)(0);let p=(a.left+d.x)/f.x,m=(a.top+d.y)/f.y,v=a.width/f.x,g=a.height/f.y;if(l){const e=(0,s.zk)(l),t=i&&(0,s.vq)(i)?(0,s.zk)(i):i;let n=e,r=n.frameElement;for(;r&&i&&t!==n;){const e=c(r),t=r.getBoundingClientRect(),i=(0,s.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;p*=e.x,m*=e.y,v*=e.x,g*=e.y,p+=o,m+=a,n=(0,s.zk)(r),r=n.frameElement}}return(0,r.B1)({width:v,height:g,x:p,y:m})}const d=[":popover-open",":modal"];function p(e){return d.some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function m(e){return f((0,s.ep)(e)).left+(0,s.CP)(e).scrollLeft}function v(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=(0,s.zk)(e),r=(0,s.ep)(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,u=0,c=0;if(i){o=i.width,a=i.height;const e=(0,s.Tc)();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:u,y:c}}(e,n);else if("document"===t)i=function(e){const t=(0,s.ep)(e),n=(0,s.CP)(e),r=e.ownerDocument.body,i=(0,o.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=(0,o.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let u=-n.scrollLeft+m(e);const c=-n.scrollTop;return"rtl"===(0,s.L9)(r).direction&&(u+=(0,o.T9)(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:u,y:c}}((0,s.ep)(e));else if((0,s.vq)(t))i=function(e,t){const n=f(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=(0,s.sb)(e)?c(e):(0,o.Jx)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{const n=h(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(i)}function g(e,t){const n=(0,s.$4)(e);return!(n===t||!(0,s.vq)(n)||(0,s.eu)(n))&&("fixed"===(0,s.L9)(n).position||g(n,t))}function b(e,t,n){const r=(0,s.sb)(t),i=(0,s.ep)(t),a="fixed"===n,u=f(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const l=(0,o.Jx)(0);if(r||!r&&!a)if(("body"!==(0,s.mq)(t)||(0,s.ZU)(i))&&(c=(0,s.CP)(t)),r){const e=f(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=m(i));return{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function E(e){return"static"===(0,s.L9)(e).position}function y(e,t){return(0,s.sb)(e)&&"fixed"!==(0,s.L9)(e).position?t?t(e):e.offsetParent:null}function w(e,t){const n=(0,s.zk)(e);if(p(e))return n;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!E(t))return t;t=(0,s.$4)(t)}return n}let r=y(e,t);for(;r&&(0,s.Lv)(r)&&E(r);)r=y(r,t);return r&&(0,s.eu)(r)&&E(r)&&!(0,s.sQ)(r)?n:r||(0,s.gJ)(e)||n}const T={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a="fixed"===i,u=(0,s.ep)(r),l=!!t&&p(t.floating);if(r===u||l&&a)return n;let h={scrollLeft:0,scrollTop:0},d=(0,o.Jx)(1);const m=(0,o.Jx)(0),v=(0,s.sb)(r);if((v||!v&&!a)&&(("body"!==(0,s.mq)(r)||(0,s.ZU)(u))&&(h=(0,s.CP)(r)),(0,s.sb)(r))){const e=f(r);d=c(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-h.scrollLeft*d.x+m.x,y:n.y*d.y-h.scrollTop*d.y+m.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===n?p(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,s.v9)(e,[],!1).filter((e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e))),i=null;const o="fixed"===(0,s.L9)(e).position;let a=o?(0,s.$4)(e):e;for(;(0,s.vq)(a)&&!(0,s.eu)(a);){const t=(0,s.L9)(a),n=(0,s.sQ)(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||(0,s.ZU)(a)&&!n&&g(e,a))?r=r.filter((e=>e!==a)):i=t,a=(0,s.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=a[0],c=a.reduce(((e,n)=>{const r=v(t,n,i);return e.top=(0,o.T9)(r.top,e.top),e.right=(0,o.jk)(r.right,e.right),e.bottom=(0,o.jk)(r.bottom,e.bottom),e.left=(0,o.T9)(r.left,e.left),e}),v(t,u,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:w,getElementRects:async function(e){const t=this.getOffsetParent||w,n=this.getDimensions,r=await n(e.floating);return{reference:b(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=a(e);return{width:t,height:n}},getScale:c,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}};function _(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,d=u(e),p=i||a?[...d?(0,s.v9)(d):[],...(0,s.v9)(t)]:[];p.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const m=d&&l?function(e,t){let n,r=null;const i=(0,s.ep)(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),a();const{left:l,top:h,width:f,height:d}=e.getBoundingClientRect();if(u||t(),!f||!d)return;const p={rootMargin:-(0,o.RI)(h)+"px "+-(0,o.RI)(i.clientWidth-(l+f))+"px "+-(0,o.RI)(i.clientHeight-(h+d))+"px "+-(0,o.RI)(l)+"px",threshold:(0,o.T9)(0,(0,o.jk)(1,c))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(v,{...p,root:i.ownerDocument})}catch(g){r=new IntersectionObserver(v,p)}r.observe(e)}(!0),a}(d,n):null;let v,g=-1,b=null;c&&(b=new ResizeObserver((e=>{let[r]=e;r&&r.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=b)||e.observe(t)}))),n()})),d&&!h&&b.observe(d),b.observe(t));let E=h?f(e):null;return h&&function t(){const r=f(e);!E||r.x===E.x&&r.y===E.y&&r.width===E.width&&r.height===E.height||n();E=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=b)||e.disconnect(),b=null,h&&cancelAnimationFrame(v)}}const A=i.__,x=i.cY,R=i.RK,S=i.BN,C=i.UU,P=i.Ej,I=i.jD,N=i.UE,O=i.mG,M=i.ER,L=(e,t,n)=>{const r=new Map,o={platform:T,...n},s={...o.platform,_c:r};return(0,i.rD)(e,t,{...o,platform:s})}},836110:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},853469:(e,t,n)=>{"use strict";n.d(t,{TT:()=>r,hN:()=>a});var r,i=n(607597),o=n(873066);function s(e){return"function"==typeof e}function a(e,t,n,u,c,l,h){if(1===e.length&&(0,i.eW)(e[0]))return[{type:r.literal,value:e[0].value}];for(var f=[],d=0,p=e;d<p.length;d++){var m=p[d];if((0,i.eW)(m))f.push({type:r.literal,value:m.value});
2else if((0,i.jA)(m))"number"==typeof l&&f.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var v=m.value;if(!c||!(v in c))throw new o.Ei(v,h);var g=c[v];if((0,i.Im)(m))g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),f.push({type:"string"==typeof g?r.literal:r.object,value:g});else if((0,i.tv)(m)){var b="string"==typeof m.style?u.date[m.style]:(0,i.Tu)(m.style)?m.style.parsedOptions:void 0;f.push({type:r.literal,value:n.getDateTimeFormat(t,b).format(g)})}else if((0,i.Qh)(m)){b="string"==typeof m.style?u.time[m.style]:(0,i.Tu)(m.style)?m.style.parsedOptions:u.time.medium;f.push({type:r.literal,value:n.getDateTimeFormat(t,b).format(g)})}else if((0,i.oF)(m)){(b="string"==typeof m.style?u.number[m.style]:(0,i.N1)(m.style)?m.style.parsedOptions:void 0)&&b.scale&&(g*=b.scale||1),f.push({type:r.literal,value:n.getNumberFormat(t,b).format(g)})}else{if((0,i.xm)(m)){var E=m.children,y=m.value,w=c[y];if(!s(w))throw new o.Zo(y,"function",h);var T=w(a(E,t,n,u,c,l).map((function(e){return e.value})));Array.isArray(T)||(T=[T]),f.push.apply(f,T.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,i.Jp)(m)){if(!(_=m.options[g]||m.options.other))throw new o.$x(m.value,g,Object.keys(m.options),h);f.push.apply(f,a(_.value,t,n,u,c))}else if((0,i.N6)(m)){var _;if(!(_=m.options["=".concat(g)])){if(!Intl.PluralRules)throw new o.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.O4.MISSING_INTL_API,h);var A=n.getPluralRules(t,{type:m.pluralType}).select(g-(m.offset||0));_=m.options[A]||m.options.other}if(!_)throw new o.$x(m.value,g,Object.keys(m.options),h);f.push.apply(f,a(_.value,t,n,u,c,g-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(f)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},866949:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>m});var r=n(944339),i=n(836110),o=n(4333),s=n(116758),a=n(96204),u=n(377982),c=n(942574),l=n(215056),h=n(30801),f=n(715786),d=n(745347),p=n(984431);function m(e){if(e instanceof s.c)return e;if(null!=e){if((0,a.l)(e))return b=e,new s.c((function(e){var t=b[p.s]();if((0,f.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,i.X)(e))return g=e,new s.c((function(e){for(var t=0;t<g.length&&!e.closed;t++)e.next(g[t]);e.complete()}));if((0,o.y)(e))return m=e,new s.c((function(e){m.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,d.m)}));if((0,u.T)(e))return v(e);if((0,l.x)(e))return n=e,new s.c((function(e){var t,i;try{for(var o=(0,r.Ju)(n),s=o.next();!s.done;s=o.next()){var a=s.value;if(e.next(a),e.closed)return}}catch(u){t={error:u}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}e.complete()}));if((0,h.U)(e))return t=e,v((0,h.C)(t))}var t,n,m,g,b;throw(0,c.L)(e)}function v(e){return new s.c((function(t){(function(e,t){var n,i,o,s;return(0,r.sH)(this,void 0,void 0,(function(){var a,u;return(0,r.YH)(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=(0,r.xN)(e),c.label=1;case 1:return[4,n.next()];case 2:if((i=c.sent()).done)return[3,4];if(a=i.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=c.sent(),o={error:u},[3,11];case 6:return c.trys.push([6,,9,10]),i&&!i.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}},873066:(e,t,n)=>{"use strict";n.d(t,{$x:()=>s,Ei:()=>u,IF:()=>o,O4:()=>r,Zo:()=>a});var r,i=n(944339);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,i.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),s=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return(0,i.C6)(t,e),t}(o),a=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVA
2LID_VALUE,i)||this}return(0,i.C6)(t,e),t}(o),u=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,i.C6)(t,e),t}(o)},875031:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(944339);function i(e,t,n,r,i){return new o(e,t,n,r,i)}var o=function(e){function t(t,n,r,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,r.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(n(390453).vU)},876461:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this,n=function(){var e=4022871197,t=function(t){t=String(t);for(var n=0;n<t.length;n++){var r=.02519603282416938*(e+=t.charCodeAt(n));r-=e=r>>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)};return t}();t.next=function(){var e=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=e-(t.c=0|e)},t.c=1,t.s0=n(" "),t.s1=n(" "),t.s2=n(" "),t.s0-=n(e),t.s0<0&&(t.s0+=1),t.s1-=n(e),t.s1<0&&(t.s1+=1),t.s2-=n(e),t.s2<0&&(t.s2+=1),n=null}function a(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function u(e,t){var n=new s(e),r=t&&t.state,i=n.next;return i.int32=function(){return 4294967296*n.next()|0},i.double=function(){return i()+11102230246251565e-32*(2097152*i()|0)},i.quick=i,r&&("object"==typeof r&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.alea=u}(0,e=n.nmd(e),n.amdD)},882262:e=>{!function(){function t(e,t){var n,r,i,o,s,a,u,c;for(n=3&e.length,r=e.length-n,i=t,s=3432918353,a=461845907,c=0;c<r;)u=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,i=27492+(65535&(o=5*(65535&(i=(i^=u=(65535&(u=(u=(65535&u)*s+(((u>>>16)*s&65535)<<16)&4294967295)<<15|u>>>17))*a+(((u>>>16)*a&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(u=0,n){case 3:u^=(255&e.charCodeAt(c+2))<<16;case 2:u^=(255&e.charCodeAt(c+1))<<8;case 1:i^=u=(65535&(u=(u=(65535&(u^=255&e.charCodeAt(c)))*s+(((u>>>16)*s&65535)<<16)&4294967295)<<15|u>>>17))*a+(((u>>>16)*a&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}var n=t;n.v2=function(e,t){for(var n,r=e.length,i=t^r,o=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:i^=(255&e.charCodeAt(o+2))<<16;case 2:i^=(255&e.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0},n.v3=t,e.exports=n}()},886566:(e,t,n)=>{"use strict";var r;n.d(t,{we:()=>R});var i=n(978109),o=(n(645163),n(612151),n(821046),n(276089)),s=n(300729);n(523546),n(3372);const a={...r||(r=n.t(i,2))},u=a.useInsertionEffect||(e=>e());function c(e){const t=i.useRef((()=>{0}));return u((()=>{t.current=e})),i.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const l="ArrowUp",h="ArrowDown",f="ArrowLeft",d="ArrowRight";var p="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;const m=[f,d],v=[l,h];let g=!1,b=0;const E=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+b++;const y=a.useId||function(){const[e,t]=i.useState((()=>g?E():void 0));return p((()=>{null==e&&t(E())}),[]),i.useEffect((()=>{g=!0}),[]),e};function w(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const T=i.createContext(null),_=i.createContext(null),A=()=>{var e;return(null==(e=i.useContext(T))?void 0:e.id)||null},x=()=>i.useContext(_);function R(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=y(),s=i.useRef({}),[a]=i.useState((()=>w())),u=null!=A(),[l,h]=i.useState(r.reference),f=c(((e,t,r)=>{s.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:u}),null==n||n(e,t,r)})),d=i.useMemo((()=>({setPositionReference:h})),[]),p=i.useMemo((()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference})),[l,r.reference,r.floating]);return i.useMemo((()=>({dataRef:s,open:t,onOpenChange:f,elements:p,events:a,floatingId:o,refs:d})),[t,f,p,a,o,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,a=r.elements,[u,l]=i.useState(null),[h,f]=i.useState(null),d=(null==a?void 0:a.reference)||u,m=i.useRef(null),v=x();p((()=>{d&&(m.current=d)}),[d]);const g=(0,s.we)({...e,elements:{...a,...h&&{reference:h}}}),b=i.useCallback((e=>{const t=(0,o.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),g.refs.setReference(t)}),[g.refs]),E=i.useCallback((e=>{((0,o.vq)(e)||null===e)&&(m.current=e,l(e)),((0,o.vq)(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!(0,o.vq)(e))&&g.refs.setReference(e)}),[g.refs]),T=i.useMemo((()=>({...g.refs,setReference:E,setPositionReference:b,domReference:m})),[g.refs,E,b]),_=i.useMemo((()=>({...g.elements,domReference:d})),[g.elements,d]),R=i.useMemo((()=>({...g,...r,refs:T,elements:_,nodeId:t})),[g,T,_,t,r]);return p((()=>{r.dataRef.current.floatingContext=R;const e=null==v?void 0:v.nodesRef.current.find((e=>e.id===t));e&&(e.context=R)})),i.useMemo((()=>({...g,context:R,refs:T,elements:_})),[g,T,_,R])}},894751:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(116758),i=n(34334),o=new r.c(i.l)}
vendor: 4,268 bytes, line 2
2,915004:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,_K:()=>f,kp:()=>l,ns:()=>h,qD:()=>c,ze:()=>d});var r=n(27798),i=n(969116),o=n(978109),s=n(3372),a=n(378237),u=n(681162),c="unmounted",l="exited",h="entering",f="entered",d="exiting",p=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=l,r.appearStatus=h):i=f:i=t.unmountOnExit||t.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}(0,i.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:l}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==f&&(t=h):n!==h&&n!==f||(t=d)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===h?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],u=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||a.A.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,u),this.safeSetState({status:h},(function(){t.props.onEntering(o,u),t.onTransitionEnd(l,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(o,u)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);t&&!a.A.disabled?(this.props.onExit(r),this.safeSetState({status:d},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:l},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(u.A.Provider,{value:null},"function"==typeof n?n(e,i):o.cloneElement(o.Children.only(n),i))},t}(o.Component);function m(){}p.contextType=u.A,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},p.UNMOUNTED=c,p.EXITED=l,p.ENTERING=h,p.ENTERED=f,p.EXITING=d;const v=p},919010:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:a)(e,{cache:n,serializer:r})}function i(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function s(e,t,n,r,i){return n.bind(t,e,r,i)}
2function a(e,t){return s(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}n.d(t,{B:()=>r,W:()=>h});var u=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new c}},h={variadic:function(e,t){return s(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return s(e,this,i,t.cache.create(),t.serializer)}}},940712:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(480831),i=n(373877),o=n(143833),s=n(384376),a=n(339862),u=n(96204),c=n(4333),l=n(836110),h=n(215056),f=n(377982),d=n(942574),p=n(30801),m=n(133225);function v(e,t){if(null!=e){if((0,u.l)(e))return(0,r.x)(e,t);if((0,l.X)(e))return(0,o.V)(e,t);if((0,c.y)(e))return(0,i.P)(e,t);if((0,f.T)(e))return(0,a.M)(e,t);if((0,h.x)(e))return(0,s.S)(e,t);if((0,p.U)(e))return(0,m.v)(e,t)}throw(0,d.L)(e)}},942574:(e,t,n)=>{"use strict";function r(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(t,{L:()=>r})},944047:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(168499),i=n(875031);function o(e,t){return(0,r.N)((function(n,r){var o=0;n.subscribe((0,i._)(r,(function(n){r.next(e.call(t,n,o++))})))}))}},944339:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>d,C6:()=>i,Cl:()=>o,Ju:()=>c,N3:()=>f,Tt:()=>s,YH:()=>u,fX:()=>h,sH:()=>a,xN:()=>p,zs:()=>l});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function c(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
vendor: 2,016 bytes, line 2
2if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function h(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function f(e){return this instanceof f?(this.v=e,this):new f(e)}function d(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",(function(e){return function(t){return Promise.resolve(t).then(e,c)}})),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))},t&&(r[e]=t(r[e])))}function a(e,t){try{(n=i[e](t)).value instanceof f?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(r){l(o[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function p(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=c(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}Object.create;"function"==typeof SuppressedError&&SuppressedError},951265:(e,t,n)=>{"use strict";
2function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function i(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}n.d(t,{A:()=>i})},953740:(e,t,n)=>{"use strict";n.d(t,{BN:()=>g,ER:()=>b,Ej:()=>E,RK:()=>u,UE:()=>a,UU:()=>c,__:()=>o,cY:()=>v,jD:()=>f,mG:()=>p,rD:()=>s});var r=n(554486);function i(e,t,n){let{reference:i,floating:o}=e;const s=(0,r.TV)(t),a=(0,r.Dz)(t),u=(0,r.sq)(a),c=(0,r.C0)(t),l="y"===s,h=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,d=i[u]/2-o[u]/2;let p;switch(c){case"top":p={x:h,y:i.y-o.height};break;case"bottom":p={x:h,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:f};break;case"left":p={x:i.x-o.width,y:f};break;default:p={x:i.x,y:i.y}}const m=(0,r.Sg)(t);return m&&(p[a]+=d*("end"===m?1:-1)*(n&&l?-1:1)),p}async function o(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:s,rects:a,elements:u,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=(0,r._3)(t,e),m=(0,r.nI)(p),v=u[d?"floating"===f?"reference":"floating":f],g=(0,r.B1)(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(v)))||n?v:v.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(u.floating)),boundary:l,rootBoundary:h,strategy:c})),b="floating"===f?{x:i,y:o,width:a.floating.width,height:a.floating.height}:a.reference,E=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u.floating)),y=await(null==s.isElement?void 0:s.isElement(E))&&await(null==s.getScale?void 0:s.getScale(E))||{x:1,y:1},w=(0,r.B1)(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:E,strategy:c}):b);return{top:(g.top-w.top+m.top)/y.y,bottom:(w.bottom-g.bottom+m.bottom)/y.y,left:(g.left-w.left+m.left)/y.x,right:(w.right-g.right+m.right)/y.x}}const s=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:u}=n,c=u.detectOverflow?u:{...u,detectOverflow:o},l=await(null==u.isRTL?void 0:u.isRTL(t));let h=await u.getElementRects({reference:e,floating:t,strategy:s}),{x:f,y:d}=i(h,r,l),p=r,m=0;const v={};for(let o=0;o<a.length;o++){const n=a[o];if(!n)continue;const{name:g,fn:b}=n,{x:E,y,data:w,reset:T}=await b({x:f,y:d,initialPlacement:r,placement:p,strategy:s,middlewareData:v,rects:h,platform:c,elements:{reference:e,floating:t}});f=null!=E?E:f,d=null!=y?y:d,v[g]={...v[g],...w},T&&m<50&&(m++,"object"==typeof T&&(T.placement&&(p=T.placement),T.rects&&(h=!0===T.rects?await u.getElementRects({reference:e,floating:t,strategy:s}):T.rects),({x:f,y:d}=i(h,p,l))),o=-1)}return{x:f,y:d,placement:p,strategy:s,middlewareData:v}},a=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:s,platform:a,elements:u,middlewareData:c}=t,{element:l,padding:h=0}=(0,r._3)(e,t)||{};if(null==l)return{};const f=(0,r.nI)(h),d={x:n,y:i},p=(0,r.Dz)(o),m=(0,r.sq)(p),v=await a.getDimensions(l),g="y"===p,b=g?"top":"left",E=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=s.reference[m]+s.reference[p]-d[p]-s.floating[m],T=d[p]-s.reference[p],_=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let A=_?_[y]:0;A&&await(null==a.isElement?void 0:a.isElement(_))||(A=u.floating[y]||s.floating[m]);const x=w/2-T/2,R=A/2-v[m]/2-1,S=(0,r.jk)(f[b],R),C=(0,r.jk)(f[E],R),P=A-v[m]-C,I=A/2-v[m]/2+x,N=(0,r.qE)(S,I,P),O=!c.arrow&&null!=(0,r.Sg)(o)&&I!==N&&s.reference[m]/2-(I<S?S:C)-v[m]/2<0,M=O?I<S?I-S:I-P:0;return{[p]:d[p]+M,data:{[p]:N,centerOffset:I-N-M,...O&&{alignmentOffset:M}},reset:O}}});const u=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o;const{rects:s,middlewareData:a,placement:u,platform:c,elements:l}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:d=r.DD,autoAlignment:p=!0,...m}=(0,r._3)(e,t),v=void 0!==f||d===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(f||null,p,d):d,g=(null==(n=a.autoPlacement)?void 0:n.index)||0,b=v[g];if(null==b)return{};if(u!==b)return{reset:{placement:v[0]}};const E=await c.detectOverflow(t,m),y=(0,r.w7)(b,s,await(null==c.isRTL?void 0:c.isRTL(l.floating))),w=[E[(0,r.C0)(b)],E[y[0]],E[y[1]]],T=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:b,overflows:w}],_=v[g+1];if(_)return{data:{index:g+1,overflows:T},reset:{placement:_}};const A=T.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),x=(null==(o=A.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||A[0][0];return x!==u?{data:{index:g+1,overflows:T},reset:{placement:x}}:{}}}},c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:s,rects:a,initialPlacement:u,platform:c,elements:l}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0,...g}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(o),E=(0,r.TV)(u),y=(0,r.C0)(u)===u,w=await(null==c.isRTL?void 0:c.isRTL(l.floating)),T=d||(y||!v?[(0,r.bV)(u)]:(0,r.WJ)(u)),_="none"!==m;!d&&_&&T.push(...(0,r.lP)(u,v,m,w));const A=[u,...T],x=await c.detectOverflow(t,g),R=[];let S=(null==(i=s.flip)?void 0:i.overflows)||[];if(h&&R.push(x[b]),f){const e=(0,r.w7)(o,a,w);R.push(x[e[0]],x[e[1]])}if(S=[...S,{placement:o,overflows:R}],!R.every((e=>e<=0))){var C,P;const e=((null==(C=s.flip)?void 0:C.index)||0)+1,t=A[e];if(t){if(!("alignment"===f&&E!==(0,r.TV)(t))||S.every((e=>(0,r.TV)(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}}}let n=null==(P=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:P.placement;if(!n)switch(p){case"bestFit":{var I;const e=null==(I=S.filter((e=>{if(_){const t=(0,r.TV)(e.placement);return t===E||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:I[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}};function l(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function h(e){return r.r_.some((t=>e[t]>=0))}const f=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:i}=t,{strategy:o="referenceHidden",...s}=(0,r._3)(e,t);switch(o){case"referenceHidden":{const e=l(await i.detectOverflow(t,{...s,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:h(e)}}}case"escaped":{const e=l(await i.detectOverflow(t,{...s,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:h(e)}}}default:return{}}}}};function d(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}const p=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:o,platform:s,strategy:a}=t,{padding:u=2,x:c,y:l}=(0,r._3)(e,t),h=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(i.reference))||[]);if(!h.length)return{};const f=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let i=null;for(let r=0;r<t.length;r++){const e=t[r];!i||e.y-i.y>i.height/2?n.push([e]):n[n.length-1].push(e),i=e}return n.map((e=>(0,r.B1)(d(e))))}(h),p=(0,r.B1)(d(h)),m=(0,r.nI)(u);const v=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&(f[0].left>f[1].right||f[1].left>f[0].right)&&null!=c&&null!=l)return f.find((e=>c>e.left-m.left&&c<e.right+m.right&&l>e.top-m.top&&l<e.bottom+m.bottom))||p;if(f.length>=2){if("y"===(0,r.TV)(n)){const e=f[0],t=f[f.length-1],i="top"===(0,r.C0)(n),o=e.top,s=t.bottom,a=i?e.left:t.left,u=i?e.right:t.right;return(0,r.B1)({x:a,y:o,width:u-a,height:s-o})}
2const e="left"===(0,r.C0)(n),t=(0,r.T9)(...f.map((e=>e.right))),i=(0,r.jk)(...f.map((e=>e.left))),o=f.filter((n=>e?n.left===i:n.right===t)),s=o[0].top,a=o[o.length-1].bottom;return(0,r.B1)({x:i,y:s,width:t-i,height:a-s})}return p}},floating:i.floating,strategy:a});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},m=new Set(["left","top"]);const v=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:s,placement:a,middlewareData:u}=t,c=await async function(e,t){const{placement:n,platform:i,elements:o}=e,s=await(null==i.isRTL?void 0:i.isRTL(o.floating)),a=(0,r.C0)(n),u=(0,r.Sg)(n),c="y"===(0,r.TV)(n),l=m.has(a)?-1:1,h=s&&c?-1:1,f=(0,r._3)(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof v&&(p="end"===u?-1*v:v),c?{x:p*h,y:d*l}:{x:d*l,y:p*h}}(t,e);return a===(null==(n=u.offset)?void 0:n.placement)&&null!=(i=u.arrow)&&i.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:a}}}}},g=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o,platform:s}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=(0,r._3)(e,t),h={x:n,y:i},f=await s.detectOverflow(t,l),d=(0,r.TV)(o),p=(0,r.PG)(d);let m=h[p],v=h[d];const g=(e,t)=>(0,r.qE)(t+f["y"===e?"top":"left"],t,t-f["y"===e?"bottom":"right"]);a&&(m=g(p,m)),u&&(v=g(d,v));const b=c.fn({...t,[p]:m,[d]:v});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[p]:a,[d]:u}}}}}},b=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i;const{x:o,y:s,placement:a,rects:u,middlewareData:c}=t,{offset:l=0,mainAxis:h=!0,crossAxis:f=!0}=(0,r._3)(e,t),d={x:o,y:s},p=(0,r.TV)(a),v=(0,r.PG)(p);let g=d[v],b=d[p];const E=(0,r._3)(l,t),y="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:null!=(n=E.mainAxis)?n:0,crossAxis:null!=(i=E.crossAxis)?i:0};if(h){const e="y"===v?"height":"width",t=u.reference[v]-u.floating[e]+y.mainAxis,n=u.reference[v]+u.reference[e]-y.mainAxis;g<t?g=t:g>n&&(g=n)}if(f){var w,T;const e="y"===v?"width":"height",t=m.has((0,r.C0)(a)),n=u.reference[p]-u.floating[e]+(t&&(null==(w=c.offset)?void 0:w[p])||0)+(t?0:y.crossAxis),i=u.reference[p]+u.reference[e]+(t?0:(null==(T=c.offset)?void 0:T[p])||0)-(t?y.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[v]:g,[p]:b}}}},E=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:o,elements:s}=t,{apply:a=(()=>{}),...u}=(0,r._3)(e,t),c=await o.detectOverflow(t,u),l=(0,r.C0)(n),h=(0,r.Sg)(n),f="y"===(0,r.TV)(n),{width:d,height:p}=i.floating;let m,v;"top"===l||"bottom"===l?(m=l,v=h===(await(null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(v=l,m="end"===h?"top":"bottom");const g=p-c.top-c.bottom,b=d-c.left-c.right,E=(0,r.jk)(p-c[m],g),y=(0,r.jk)(d-c[v],b),w=t.middlewareData.shift,T=!w;let _=E,A=y;null!=w&&w.enabled.x&&(A=b),null!=w&&w.enabled.y&&(_=g),T&&!h&&(f?A=d-2*(0,r.T9)(c.left,c.right):_=p-2*(0,r.T9)(c.top,c.bottom)),await a({...t,availableWidth:A,availableHeight:_});const x=await o.getDimensions(s.floating);return d!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}}},969116:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(476375);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},982346:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(681088),i=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=r.U.now,e}()},984431:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},984543:(e,t,n)=>{"use strict";n.d(t,{rT:()=>i});Symbol("Snapshot.wrapped");const r={value:new Map};class i{constructor(e){this.name=e?.name||"",this.defaultValue=e?.defaultValue}get(){const e=r.value,t=e.get(this);
2return void 0!==t||e.has(this)?t:this.defaultValue}run(e,t,...n){const i=new Map(r.value);i.set(this,e);const o=r.value;r.value=i;try{return t.call(null,...n)}finally{r.value=o}}}},986192:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var r=n(54374),i=n(168499),o=n(875031);function s(e,t){return void 0===t&&(t=0),(0,i.N)((function(n,i){n.subscribe((0,o._)(i,(function(n){return(0,r.N)(i,e,(function(){return i.next(n)}),t)}),(function(){return(0,r.N)(i,e,(function(){return i.complete()}),t)}),(function(n){return(0,r.N)(i,e,(function(){return i.error(n)}),t)})))}))}},989706:(e,t,n)=>{"use strict";function r(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}n.d(t,{A:()=>i});const i=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var i=r(t),o=r(n);return i!==t||o!==n?e(i,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1}},995097:(e,t,n)=>{"use strict";n.d(t,{dw:()=>s,p7:()=>i,qX:()=>a});var r=n(978109);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function s(e,t){return i(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function a(e,t,n){var s=i(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];a[i[u][r]]=n(c)}a[u]=n(u)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(t,s);return Object.keys(a).forEach((function(i){var u=a[i];if((0,r.isValidElement)(u)){var c=i in t,l=i in s,h=t[i],f=(0,r.isValidElement)(h)&&!h.props.in;!l||c&&!f?l||!c||f?l&&c&&(0,r.isValidElement)(h)&&(a[i]=(0,r.cloneElement)(u,{onExited:n.bind(null,u),in:h.props.in,exit:o(u,"exit",e),enter:o(u,"enter",e)})):a[i]=(0,r.cloneElement)(u,{in:!1}):a[i]=(0,r.cloneElement)(u,{onExited:n.bind(null,u),in:!0,exit:o(u,"exit",e),enter:o(u,"enter",e)})}})),a}},999208:function(e,t,n){var r;!function(e,i,o){function s(e){var t=this,n="";t.next=function(){var e=t.b,n=t.c,r=t.d,i=t.a;return e=e<<25^e>>>7^n,n=n-r|0,r=r<<24^r>>>8^i,i=i-e|0,t.b=e=e<<20^e>>>12^n,t.c=n=n-r|0,t.d=r<<16^n>>>16^i,t.a=i-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):n+=e;for(var r=0;r<n.length+20;r++)t.b^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function u(e,t){var n=new s(e),r=t&&t.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&a(r,n),i.state=function(){return a(n,{})}),i}i&&i.exports?i.exports=u:n.amdD&&n.amdO?void 0===(r=function(){return u}.call(t,n,t,i))||(i.exports=r):this.tychei=u}(0,e=n.nmd(e),n.amdD)}}]); 3//# sourceMappingURL=sourcemaps/bce83fd975e0fc59.vendor.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.