PageSourceSearch

https://develops.today/_next/static/chunks/4f8c65f539c072a3.js

js develops.today collected 2026-10-05 21:33:56 UTC 315,203 bytes, 257 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28431,e=>{"use strict";let t,r,i,n;var a,o,s,l,u,c,d,p,h,f,m,y,v,b,g,x,w,k,S=e.i(43476),E=e.i(37910),_=e.i(71645),O=e.i(97053);e.i(47167);class T{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class C{constructor(e,t,r,i,n,a){this.kind=e,this.start=t,this.end=r,this.line=i,this.column=n,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let N={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},I=new Set(Object.keys(N));function A(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&I.has(t)}function R(e){return"function"==typeof e}function D(e){return function(t){if(R(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}(a=h||(h={})).QUERY="query",a.MUTATION="mutation",a.SUBSCRIPTION="subscription";var F=e.i(90571);function P(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var M=P(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}});function j(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var L=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,i,n,a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=(0,F.__values)(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;
1if(R(l))try{l()}catch(e){n=e instanceof M?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=(0,F.__values)(u),d=c.next();!d.done;d=c.next()){var p=d.value;try{$(p)}catch(e){n=null!=n?n:[],e instanceof M?n=(0,F.__spreadArray)((0,F.__spreadArray)([],(0,F.__read)(n)),(0,F.__read)(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}if(n)throw new M(n)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)$(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&j(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&j(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),V=L.EMPTY;function z(e){return e instanceof L||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function $(e){R(e)?e():e.unsubscribe()}var B=void 0,q={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=q.delegate;return(null==n?void 0:n.setTimeout)?n.setTimeout.apply(n,(0,F.__spreadArray)([e,t],(0,F.__read)(r))):setTimeout.apply(void 0,(0,F.__spreadArray)([e,t],(0,F.__read)(r)))},clearTimeout:function(e){var t=q.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function U(e){q.setTimeout(function(){!1;throw e})}function W(){}var Q=K("C",void 0,void 0);function K(e,t,r){return{kind:e,value:t,error:r}}var H=null;function Y(e){var t,r,i,n;1;e()}var G=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,z(t)&&t.add(r)):r.destination=ei,r}return(0,F.__extends)(t,e),t.create=function(e,t,r){return new ee(e,t,r)},t.prototype.next=function(e){this.isStopped?er(K("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?er(K("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?er(Q,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}(L),J=Function.prototype.bind;function X(e,t){return J.call(e,t)}var Z=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){et(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){et(e)}else et(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){et(e)}},e}(),ee=function(e){function t(t,r,i){var n,a,o=e.call(this)||this;return R(t)||!t?n={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:n=t,o.destination=new Z(n),o}return(0,F.__extends)(t,e),t}(G);function et(e){1;U(e)}function er(e,t){}var ei={closed:!0,next:W,error:function(e){throw e},complete:W};function en(e,t,r,i,n){return new ea(e,t,r,i,n)}var ea=function(e){function t(t,r,i,n,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=n?function(e){try{n(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,F.__extends)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(G);function eo(e,t){return D(function(r,i){var n=0;r.subscribe(en(i,function(r){i.next(e.call(t,r,n++))}))})}function es(e,t){if(!e)throw Error(t)}function el(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){let r;if(null===e)return"null";if(t.includes(e))return"[Circular]";let i=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:el(t,i)}else if(Array.isArray(e)){var n,a,o=e,s=i;
1if(0===o.length)return"[]";if(s.length>2)return"[Array]";let t=Math.min(10,o.length),r=o.length-t,l=[];for(let e=0;e<t;++e)l.push(el(o[e],s));return 1===r?l.push("... 1 more item"):r>1&&l.push(`... ${r} more items`),"["+l.join(", ")+"]"}return n=e,a=i,0===(r=Object.entries(n)).length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(n)+"]":"{ "+r.map(([e,t])=>e+": "+el(t,a)).join(", ")+" }"}(e,t);default:return String(e)}}(o=f||(f={})).NAME="Name",o.DOCUMENT="Document",o.OPERATION_DEFINITION="OperationDefinition",o.VARIABLE_DEFINITION="VariableDefinition",o.SELECTION_SET="SelectionSet",o.FIELD="Field",o.ARGUMENT="Argument",o.FRAGMENT_SPREAD="FragmentSpread",o.INLINE_FRAGMENT="InlineFragment",o.FRAGMENT_DEFINITION="FragmentDefinition",o.VARIABLE="Variable",o.INT="IntValue",o.FLOAT="FloatValue",o.STRING="StringValue",o.BOOLEAN="BooleanValue",o.NULL="NullValue",o.ENUM="EnumValue",o.LIST="ListValue",o.OBJECT="ObjectValue",o.OBJECT_FIELD="ObjectField",o.DIRECTIVE="Directive",o.NAMED_TYPE="NamedType",o.LIST_TYPE="ListType",o.NON_NULL_TYPE="NonNullType",o.SCHEMA_DEFINITION="SchemaDefinition",o.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",o.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",o.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",o.FIELD_DEFINITION="FieldDefinition",o.INPUT_VALUE_DEFINITION="InputValueDefinition",o.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",o.UNION_TYPE_DEFINITION="UnionTypeDefinition",o.ENUM_TYPE_DEFINITION="EnumTypeDefinition",o.ENUM_VALUE_DEFINITION="EnumValueDefinition",o.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",o.DIRECTIVE_DEFINITION="DirectiveDefinition",o.SCHEMA_EXTENSION="SchemaExtension",o.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",o.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",o.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",o.UNION_TYPE_EXTENSION="UnionTypeExtension",o.ENUM_TYPE_EXTENSION="EnumTypeExtension",o.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",o.TYPE_COORDINATE="TypeCoordinate",o.MEMBER_COORDINATE="MemberCoordinate",o.ARGUMENT_COORDINATE="ArgumentCoordinate",o.DIRECTIVE_COORDINATE="DirectiveCoordinate",o.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate";let eu=Object.freeze({});function ec(e,t,r=N){let i,n,a,o=new Map;for(let e of Object.values(f))o.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),l=[e],u=-1,c=[],d=e,p=[],h=[];do{var m,y,v;let e,f=++u===l.length,b=f&&0!==c.length;if(f){if(n=0===h.length?void 0:p[p.length-1],d=a,a=h.pop(),b)if(s){d=d.slice();let e=0;for(let[t,r]of c){let i=t-e;null===r?(d.splice(i,1),e++):d[i]=r}}else for(let[e,t]of(d={...d},c))d[e]=t;u=i.index,l=i.keys,c=i.edits,s=i.inArray,i=i.prev}else if(a){if(null==(d=a[n=s?u:l[u]]))continue;p.push(n)}if(!Array.isArray(d)){A(d)||es(!1,`Invalid AST Node: ${el(d,[])}.`);let r=f?null==(m=o.get(d.kind))?void 0:m.leave:null==(y=o.get(d.kind))?void 0:y.enter;if((e=null==r?void 0:r.call(t,d,n,a,p,h))===eu)break;if(!1===e){if(!f){p.pop();continue}}else if(void 0!==e&&(c.push([n,e]),!f))if(A(e))d=e;else{p.pop();continue}}void 0===e&&b&&c.push([n,d]),f?p.pop():(i={inArray:s,index:u,keys:l,edits:c,prev:i},l=(s=Array.isArray(d))?d:null!=(v=r[d.kind])?v:[],u=-1,c=[],a&&h.push(a),a=d)}while(void 0!==i)return 0!==c.length?c[c.length-1][1]:e}function ed(e,t,r){let i=new Set(e),n=i.size;return ec(t,{Directive(e){if(i.delete(e.name.value)&&(!r||!i.size))return eu}}),r?!i.size:i.size<n}function ep(e){try{return e()}catch{}}let eh=ep(()=>globalThis)||ep(()=>window)||ep(()=>self)||ep(()=>e.g)||ep(function(){return ep.constructor("return this")()}),ef="4.1.6",em=new Map;function ey(e){let t=em.get(e)||1;return em.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}let ev="Invariant Violation";class eb extends Error{constructor(e=ev){super(e),this.name=ev,Object.setPrototypeOf(this,eb.prototype)}}
1let eg=["debug","log","warn","error","silent"],ex=eg.indexOf("silent");function ew(e,...t){if(!e)throw eS(...t)}function ek(e){return function(t,...r){if(eg.indexOf(e)>=ex){let i=console[e]||console.log;if("number"==typeof t){let e=t;(t=eO(e))||(t=eT(e,r),r=[])}i(t,...r)}}}function eS(e,...t){return new eb(eO(e,t)||eT(e,t))}ew.debug=ek("debug"),ew.log=ek("log"),ew.warn=ek("warn"),ew.error=ek("error");let eE=Symbol.for("ApolloErrorMessageHandler_"+ef);function e_(e){if("string"==typeof e)return e;try{return(function(e,t=0){let r=ey("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?r:t,t).split(JSON.stringify(r)).join("<undefined>")})(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function eO(e,t=[]){if(e)return eh[eE]&&eh[eE](e,t.map(e_))}function eT(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,e_(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:ef,message:e,args:t.map(e_)}))}`}class eC{isIncrementalResult(e){return!1}prepareRequest(e){return ew(!ed(["defer","stream"],e.query),67),e}extractErrors(){}startRequest=void 0}var eN="function"==typeof Symbol&&Symbol.observable||"@@observable";function eI(e){return e}var eA=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i=this,n=!function(e){return e&&e instanceof G||e&&R(e.next)&&R(e.error)&&R(e.complete)&&z(e)}(e)?new ee(e,t,r):e;return Y(function(){var e=i.operator,t=i.source;n.add(e?e.call(n,t):t?i._subscribe(n):i._trySubscribe(n))}),n},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=eR(t))(function(t,i){var n=new ee({next:function(t){try{e(t)}catch(e){i(e),n.unsubscribe()}},error:i,complete:t});r.subscribe(n)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[eN]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?eI:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eR(e))(function(e,r){var i;t.subscribe(function(e){return i=e},function(e){return r(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function eR(e){var t;return null!=(t=null!=e?e:B)?t:Promise}var eD=new eA(function(e){return e.complete()});let eF={...eh[Symbol.for("apollo.cacheSize")]};function eP(e,t){return e.definitions.find(e=>"OperationDefinition"===e.kind&&!!e.name)?.name.value??t}let eM=()=>Object.create(null),{forEach:ej,slice:eL}=Array.prototype,{hasOwnProperty:eV}=Object.prototype;class ez{constructor(e=!0,t=eM){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return ej.call(e,e=>t=t.getChildTrie(e)),eV.call(t,"data")?t.data:t.data=this.makeData(eL.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,i=e.length;t&&r<i;++r){let i=t.mapFor(e[r],!1);t=i&&i.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],i=this.mapFor(r,!1),n=i&&i.get(r);n&&(t=n.removeArray(eL.call(e,1)),n.data||n.weak||n.strong&&n.strong.size||i.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new ez(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function e$(){}class eB{constructor(e=1/0,t=e$){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}function eq(){}let eU="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
1,eW="u">typeof WeakMap?WeakMap:Map,eQ="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:eq,unregister:eq}};class eK{constructor(e=1/0,t=eq){this.max=e,this.dispose=t,this.map=new eW,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new eU(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new eQ(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}let eH=new WeakSet;function eY(e){!(e.size<=(e.max||-1))&&(eH.has(e)||(eH.add(e),setTimeout(()=>{e.clean(),eH.delete(e)},100)))}let eG=function(e,t){let r=new eK(e,t);return r.set=function(e,t){let r=eK.prototype.set.call(this,e,t);return eY(this),r},r},eJ=function(e,t){let r=new eB(e,t);return r.set=function(e,t){let r=eB.prototype.set.call(this,e,t);return eY(this),r},r};function eX(e,{max:t,makeCacheKey:r=e=>e}){let i=new ez(!0),n=new eG(t);return(...t)=>{let a=i.lookupArray(r(t)),o=n.get(a);if(o){if(o.error)throw o.error;return o.result}let s=n.set(a,{});try{return s.result=e(...t)}catch(e){throw s.error=e,e}}}let eZ=eX((e,t)=>{ew(e&&"Document"===e.kind,1);let r=e.definitions.filter(e=>"OperationDefinition"===e.kind);t&&ew(1==r.length&&r[0].operation===t,4,t,t,r[0].operation),ec(e,{Field(t,i,n,a){if(t.alias&&("__typename"===t.alias.value||t.alias.value.startsWith("__ac_"))&&t.alias.value!==t.name.value){let i=e,n=[];for(let e of a)(i=i[e]).kind===f.FIELD&&n.push(i.alias?.value||i.name.value);throw n.splice(-1,1,t.name.value),eS(5,t.alias.value,n.join("."),r[0].operation,eP(e,"(anonymous)"))}}})},{max:eF.checkDocument||2e3});function e0(e){return eZ(e),e.definitions.filter(e=>"OperationDefinition"===e.kind)[0]}class e1{static empty(){return new e1(()=>eD)}static from(e){if(0===e.length)return e1.empty();let[t,...r]=e;return t.concat(...r)}static split(e,t,r=new e1((e,t)=>t(e))){return Object.assign(new e1((i,n)=>e(i)?t.request(i,n):r.request(i,n)),{left:t,right:r})}static execute(e,t,r){return e.request(function(e,{client:t}){let r={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:eP(e.query),operationType:e0(e.query).operation},i={...e.context},n=()=>Object.freeze({...i});return Object.defineProperty(r,"setContext",{enumerable:!1,value:e=>{i="function"==typeof e?{...i,...e(n())}:{...i,...e}}}),Object.defineProperty(r,"getContext",{enumerable:!1,value:n}),Object.defineProperty(r,"client",{enumerable:!1,value:t}),r}(t,r),()=>eD)}static concat(...e){return e1.from(e)}constructor(e){e&&(this.request=e)}split(e,t,r){return this.concat(e1.split(e,t,r))}concat(...e){return 0===e.length?this:e.reduce(this.combine.bind(this),this)}combine(e,t){return Object.assign(new e1((r,i)=>e.request(r,e=>t.request(e,i))),{left:e,right:t})}request(e,t){throw eS(65)}left;
1right}let e2=e1.execute,e5=null,e4={},e3=1;function e6(e){try{return e()}catch(e){}}let e8="@wry/context:Slot",e9=e6(()=>globalThis)||e6(()=>e.g)||Object.create(null),e7=e9[e8]||Array[e8]||function(e){try{Object.defineProperty(e9,e8,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",e3++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=e5;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===e4)break;return e!==e5&&(e5.slots[this.id]=t),!0}return e5&&(e5.slots[this.id]=e4),!1}getValue(){if(this.hasValue())return e5.slots[this.id]}withValue(e,t,r,i){let n={__proto__:null,[this.id]:e},a=e5;e5={parent:a,slots:n};try{return t.apply(i,r)}finally{e5=a}}static bind(e){let t=e5;return function(){let r=e5;try{return e5=t,e.apply(this,arguments)}finally{e5=r}}}static noContext(e,t,r){if(!e5)return e.apply(r,t);{let i=e5;try{return e5=null,e.apply(r,t)}finally{e5=i}}}}),{bind:te,noContext:tt}=e7,tr=new e7,{hasOwnProperty:ti}=Object.prototype,tn=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function ta(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let to=[];function ts(e,t){if(!e)throw Error(t||"assertion failure")}function tl(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function tu(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class tc{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++tc.count}peek(){if(1===this.value.length&&!th(this))return td(this),this.value[0]}recompute(e){var t,r,i;return ts(!this.recomputing,"already recomputing"),td(this),th(this)?(t=this,r=e,tb(t),tr.withValue(t,tp,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{ta(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((i=t).dirty=!1,th(i)||function(e){tf(e,ty)}(i)),tu(t.value)):tu(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,tf(e,tm),ta(this))}dispose(){this.setDirty(),tb(this),tf(this,(e,t)=>{e.setDirty(),tg(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=to.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(tn(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),to.push(this.deps),this.deps=null)}}function td(e){let t=tr.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),th(e)?tm(t,e):ty(t,e),t}function tp(e,t){let r;e.recomputing=!0;let{normalizeResult:i}=e;i&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),i&&r&&!tl(r,e.value))try{e.value[0]=i(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function th(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}tc.count=0;function tf(e,t){let r=e.parents.size;if(r){let i=tn(e.parents);for(let n=0;n<r;++n)t(i[n],e)}}function tm(e,t){ts(e.childValues.has(t)),ts(th(t));let r=!th(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=to.pop()||new Set;e.dirtyChildren.add(t),r&&tf(e,tm)}function ty(e,t){ts(e.childValues.has(t)),ts(!th(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):tl(r,t.value)||e.setDirty(),tv(e,t),th(e)||tf(e,ty)}function tv(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(to.length<100&&to.push(r),e.dirtyChildren=null))}function tb(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{tg(e,r)}),e.forgetDeps(),ts(null===e.dirtyChildren)}function tg(e,t){t.parents.delete(e),e.childValues.delete(t),tv(e,t)}let tx={setDirty:!0,dispose:!0,forget:!0};function tw(e){let t=new Map,r=e&&e.subscribe;function i(e){let i=tr.getValue();if(i){let n=t.get(e);n||t.set(e,n=new Set),i.dependOn(n),"function"==typeof r&&(ta(n),n.unsubscribe=r(e))}}return i.dirty=function(e,r){let i=t.get(e);if(i){let n=r&&ti.call(tx,r)?r:"setDirty";tn(i).forEach(e=>e[n]()),t.delete(e),ta(i)}},i}function tk(...e){return(t||(t=new ez("function"==typeof WeakMap))).lookupArray(e)}let tS=new Set;function tE(e,{max:t=65536,keyArgs:r,makeCacheKey:i=tk,normalizeResult:n,subscribe:a,cache:o=eB}=Object.create(null)){let s="function"==typeof o?new o(t,e=>e.dispose()):o,l=function(){let t=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new tc(e)),o.normalizeResult=n,o.subscribe=a,o.forget=()=>s.delete(t));let l=o.recompute(Array.prototype.slice.call(arguments));
1return s.set(t,o),tS.add(s),tr.hasValue()||(tS.forEach(e=>e.clean()),tS.clear()),l};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function c(e){let t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:i,normalizeResult:n,subscribe:a,cache:s}),l.dirtyKey=u,l.dirty=function(){u(i.apply(null,arguments))},l.peekKey=c,l.peek=function(){return c(i.apply(null,arguments))},l.forgetKey=d,l.forget=function(){return d(i.apply(null,arguments))},l.makeCacheKey=i,l.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(l)}function t_(e){return e}class tO{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new tO(t_,{cache:!1})}static split(e,t,r=tO.identity()){return Object.assign(new tO(i=>(e(i)?t:r).transformDocument(i),{cache:!1}),{left:t,right:r})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}resetCache(){if(this.cached){let e=new ez;this.performWork=tE(tO.prototype.performWork.bind(this),{makeCacheKey:t=>{let r=this.getCacheKey(t);if(r)return ew(Array.isArray(r),20),e.lookupArray(r)},max:eF["documentTransform.cache"],cache:eK})}}performWork(e){return eZ(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let t=this.performWork(e);return this.resultCache.add(t),t}concat(e){return Object.assign(new tO(t=>e.transformDocument(this.transformDocument(t)),{cache:!1}),{left:this,right:e})}left;right}function tT(...e){let t={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(r=>{let i=e[r];void 0!==i&&(t[r]=i)})}),t}var tC=P(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),tN=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,F.__extends)(t,e),t.prototype.lift=function(e){var t=new tI(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new tC},t.prototype.next=function(e){var t=this;Y(function(){var r,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var n=(0,F.__values)(t.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(e)}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;Y(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;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.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?V:(this.currentObservers=null,n.push(e),new L(function(){t.currentObservers=null,j(n,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new eA;return e.source=this,e},t.create=function(e,t){return new tI(e,t)},t}(eA),tI=function(e){function t(t,r){var i=e.call(this)||this;return i.destination=t,i.source=r,i}return(0,F.__extends)(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:V},t}(tN),tA={now:function(){return(tA.delegate||Date).now()},delegate:void 0},tR=function(e){function t(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=tA);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=r,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=r===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,r),n}return(0,F.__extends)(t,e),t.prototype.next=function(t){var r=this.isStopped,i=this._buffer,n=this._infiniteTimeWindow,a=this._timestampProvider,o=this._windowTime;!r&&(i.push(t),n||i.push(a.now()+o)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var a=t.now(),o=0,s=1;s<r.length&&r[s]<=a;s+=2)o=s;o&&r.splice(0,o+1)}},t}(tN),tD=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function tF(e){return R(null==e?void 0:e.then)}function tP(e){return Symbol.asyncIterator&&R(null==e?void 0:e[Symbol.asyncIterator])}function tM(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
1d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var tj="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function tL(e){return R(null==e?void 0:e[tj])}function tV(e){return(0,F.__asyncGenerator)(this,arguments,function(){var t,r,i;return(0,F.__generator)(this,function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,(0,F.__await)(t.read())];case 3:if(i=(r=n.sent()).value,!r.done)return[3,5];return[4,(0,F.__await)(void 0)];case 4:return[2,n.sent()];case 5:return[4,(0,F.__await)(i)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function tz(e){return R(null==e?void 0:e.getReader)}function t$(e){if(e instanceof eA)return e;if(null!=e){var t,r,i,n;if(R(e[eN])){return t=e,new eA(function(e){var r=t[eN]();if(R(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if(tD(e)){return r=e,new eA(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if(tF(e)){return i=e,new eA(function(e){i.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,U)})}if(tP(e))return tB(e);if(tL(e)){return n=e,new eA(function(e){var t,r;try{for(var i=(0,F.__values)(n),a=i.next();!a.done;a=i.next()){var o=a.value;if(e.next(o),e.closed)return}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}e.complete()})}if(tz(e))return tB(tV(e))}throw tM(e)}function tB(e){return new eA(function(t){(function(e,t){var r,i,n,a;return(0,F.__awaiter)(this,void 0,void 0,function(){var o;return(0,F.__generator)(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),r=(0,F.__asyncValues)(e),s.label=1;case 1:return[4,r.next()];case 2:if((i=s.sent()).done)return[3,4];if(o=i.value,t.next(o),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return n={error:s.sent()},[3,11];case 6:if(s.trys.push([6,,9,10]),!(i&&!i.done&&(a=r.return)))return[3,8];return[4,a.call(r)];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(n)throw n.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function tq(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new tN}:t,i=e.resetOnError,n=void 0===i||i,a=e.resetOnComplete,o=void 0===a||a,s=e.resetOnRefCountZero,l=void 0===s||s;
1return function(e){var t,i,a,s=0,u=!1,c=!1,d=function(){null==i||i.unsubscribe(),i=void 0},p=function(){d(),t=a=void 0,u=c=!1},h=function(){var e=t;p(),null==e||e.unsubscribe()};return D(function(e,f){s++,c||u||d();var m=a=null!=a?a:r();f.add(function(){0!=--s||c||u||(i=tU(h,l))}),m.subscribe(f),!t&&s>0&&(t=new ee({next:function(e){return m.next(e)},error:function(e){c=!0,d(),i=tU(p,n,e),m.error(e)},complete:function(){u=!0,d(),i=tU(p,o),m.complete()}}),t$(e).subscribe(t))})(e)}}function tU(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];if(!0===t)return void e();if(!1!==t){var n=new ee({next:function(){n.unsubscribe(),e()}});return t$(t.apply(void 0,(0,F.__spreadArray)([],(0,F.__read)(r)))).subscribe(n)}}function tW(e,t,r){var i,n,a,o,s=!1;return e&&"object"==typeof e?(o=void 0===(i=e.bufferSize)?1/0:i,t=void 0===(n=e.windowTime)?1/0:n,s=void 0!==(a=e.refCount)&&a,r=e.scheduler):o=null!=e?e:1/0,tq({connector:function(){return new tR(o,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}let tQ=eX(function(e,t,r){let i,n;function a(e){return e!==i&&(n=r(i=e)),n}return Object.assign(e.pipe(eo(a),tW({bufferSize:1,refCount:!0})),{getCurrentResult:()=>a(e.getCurrentResult())})},{max:1,makeCacheKey:e=>e.slice(0,2)});function tK(e,t){return tT(e,t,t.variables&&{variables:tT({...e&&e.variables,...t.variables})})}function tH(e){return ec(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>"unmask"===e.value))return null}})}function tY(e,t){var r=R(e)?e:function(){return e},i=function(e){return e.error(r())};return new eA(t?function(e){return t.schedule(i,0,e)}:i)}function tG(e){return D(function(t,r){var i,n=null,a=!1;n=t.subscribe(en(r,void 0,void 0,function(o){i=t$(e(o,tG(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function tJ(e,t,r,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var a=t.schedule(function(){r(),n?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(a),!n)return a}function tX(e,t,r){return(void 0===r&&(r=1/0),R(t))?tX(function(r,i){return eo(function(e,n){return t(r,e,i,n)})(t$(e(r,i)))},r):("number"==typeof t&&(r=t),D(function(t,i){var n,a,o,s,l,u,c,d;return n=r,a=[],o=0,s=0,l=!1,u=function(){!l||a.length||o||i.complete()},c=function(e){return o<n?d(e):a.push(e)},d=function(t){o++;var r=!1;t$(e(t,s++)).subscribe(en(i,function(e){i.next(e)},function(){r=!0},void 0,function(){if(r)try{for(o--;a.length&&o<n;)!function(){var e=a.shift();d(e)}();u()}catch(e){i.error(e)}}))},t.subscribe(en(i,c,function(){l=!0,u()})),function(){}}))}function tZ(e){var t;return(t=e[e.length-1])&&R(t.schedule)?e.pop():void 0}function t0(e,t){return void 0===t&&(t=0),D(function(r,i){r.subscribe(en(i,function(r){return tJ(i,e,function(){return i.next(r)},t)},function(){return tJ(i,e,function(){return i.complete()},t)},function(r){return tJ(i,e,function(){return i.error(r)},t)}))})}function t1(e,t){return void 0===t&&(t=0),D(function(r,i){i.add(e.schedule(function(){return r.subscribe(i)},t))})}function t2(e,t){if(!e)throw Error("Iterable cannot be null");return new eA(function(r){tJ(r,t,function(){var i=e[Symbol.asyncIterator]();tJ(r,t,function(){i.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function t5(e,t){return t?function(e,t){if(null!=e){if(R(e[eN]))return t$(e).pipe(t1(t),t0(t));if(tD(e))return new eA(function(r){var i=0;return t.schedule(function(){i===e.length?r.complete():(r.next(e[i++]),r.closed||this.schedule())})});if(tF(e))return t$(e).pipe(t1(t),t0(t));if(tP(e))return t2(e,t);if(tL(e))return new eA(function(r){var i;return tJ(r,t,function(){i=e[tj](),tJ(r,t,function(){var e,t,n;try{t=(e=i.next()).value,n=e.done}catch(e){r.error(e);return}n?r.complete():r.next(t)},0,!0)}),function(){return R(null==i?void 0:i.return)&&i.return()}});if(tz(e))return t2(tV(e),t)}throw tM(e)}(e,t):t$(e)}function t4(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tX(eI,1)(t5(e,tZ(e)))}function t3(e,t){return D(function(r,i){var n=0;r.subscribe(en(i,function(r){return e.call(t,r,n++)&&i.next(r)}))})}var t6=P(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function t8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tZ(e);return t5(e,r)}(s=m||(m={})).NEXT="N",s.ERROR="E",s.COMPLETE="C";var t9=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return function(e,t){var r,i,n,a=e.kind,o=e.value,s=e.error;if("string"!=typeof a)throw TypeError('Invalid notification, missing "kind"');"N"===a?null==(r=t.next)||r.call(t,o):"E"===a?null==(i=t.error)||i.call(t,s):null==(n=t.complete)||n.call(t)}(this,e)},e.prototype.do=function(e,t,r){var i=this.kind,n=this.value,a=this.error;return"N"===i?null==e?void 0:e(n):"E"===i?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){return R(null==e?void 0:e.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this.kind,t=this.value,r=this.error,i="N"===e?t8(t):"E"===e?tY(function(){return r}):"C"===e?eD:0;if(!i)throw TypeError("Unexpected notification kind "+e);return i},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function t7(e,t,r){var i=R(e)||t||r?{next:e,error:t,complete:r}:e;return i?D(function(e,t){null==(r=i.subscribe)||r.call(i);var r,n=!0;e.subscribe(en(t,function(e){var r;null==(r=i.next)||r.call(i,e),t.next(e)},function(){var e;n=!1,null==(e=i.complete)||e.call(i),t.complete()},function(e){var r;n=!1,null==(r=i.error)||r.call(i,e),t.error(e)},function(){var e,t;n&&(null==(e=i.unsubscribe)||e.call(i)),null==(t=i.finalize)||t.call(i)}))}):eI}let re=Object.assign(function(e){return JSON.stringify(e,rt)},{reset(){r=new eJ(eF.canonicalStringify||1e3)}});function rt(e,t){if(t&&"object"==typeof t){let e=Object.getPrototypeOf(t);if(e===Object.prototype||null===e){let i=Object.keys(t);if(i.every(rr))return t;let n=JSON.stringify(i),a=r.get(n);if(!a){i.sort();let e=JSON.stringify(i);a=r.get(e)||i,r.set(n,a),r.set(e,a)}let o=Object.create(e);
1return a.forEach(e=>{o[e]=t[e]}),o}}return t}function rr(e,t,r){return 0===t||r[t-1]<=e}function ri(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function rn(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function ra(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}re.reset();class ro extends Error{static is(e){return ri(e,"CombinedGraphQLErrors")}static formatMessage=ra;errors;data;extensions;constructor(e,t=e.errors||[]){super(ro.formatMessage(t,{result:e,defaultFormatMessage:ra})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",rn(this),Object.setPrototypeOf(this,ro.prototype)}}function rs(e){return e.map(e=>e.message||"Error message not found.").join("\n")}class rl extends Error{static is(e){return ri(e,"CombinedProtocolErrors")}static formatMessage=rs;errors;constructor(e){super(rl.formatMessage(e,{defaultFormatMessage:rs})),this.name="CombinedProtocolErrors",this.errors=e,rn(this),Object.setPrototypeOf(this,rl.prototype)}}class ru extends Error{static is(e){return ri(e,"UnconventionalError")}constructor(e){super("An error of unexpected shape occurred.",{cause:e}),this.name="UnconventionalError",rn(this),Object.setPrototypeOf(this,ru.prototype)}}let rc=Symbol(),rd=new WeakSet,{toString:rp,hasOwnProperty:rh}=Object.prototype,rf=Function.prototype.toString,rm=new Map;function ry(e,t){try{return function e(t,r){if(t===r)return!0;let i=rp.call(t);if(i!==rp.call(r))return!1;switch(i){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(rx(t,r))return!0;let i=rv(t),n=rv(r),a=i.length;if(a!==n.length)return!1;for(let e=0;e<a;++e)if(!rh.call(r,i[e]))return!1;for(let n=0;n<a;++n){let a=i[n];if(!e(t[a],r[a]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(rx(t,r))return!0;let n=t.entries(),a="[object Map]"===i;for(;;){let t=n.next();if(t.done)break;let[i,o]=t.value;if(!r.has(i)||a&&!e(o,r.get(i)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var n,a;let e,i=rf.call(t);if(i!==rf.call(r))return!1;return n=i,a=rg,!((e=n.length-a.length)>=0)||n.indexOf(a,e)!==e}}return!1}(e,t)}finally{rm.clear()}}function rv(e){return Object.keys(e).filter(rb,e)}function rb(e){return void 0!==this[e]}let rg="{ [native code] }";function rx(e,t){let r=rm.get(e);if(r){if(r.has(t))return!0}else rm.set(e,r=new Set);return r.add(t),!1}function rw(e=[]){let t={};return e.forEach(e=>{t[e.name.value]=e}),t}function rk(e){return e.definitions.filter(e=>"FragmentDefinition"===e.kind)}function rS(e){return null!==e&&"object"==typeof e}function rE(e){return e.alias?e.alias.value:e.name.value}let r_=new e7;function rO(e,t,r){return r_.withValue(!0,()=>{let i=function e(t,r,i,n,a){let{knownChanged:o}=i,s=function(e,t){if(t.has(e))return t.get(e);let r=Array.isArray(e)?[]:{};return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(let[a,l]of Array.from(t.entries())){if(null===l){s[a]=null;continue}let t=e(l,r,i,n,void 0);o.has(t)&&o.add(s),s[a]=t}return o.has(s)?s:t}for(let l of r.selections){let r;if(n&&o.add(s),l.kind===f.FIELD){let a=rE(l),u=l.selectionSet;if(void 0===(r=s[a]||t[a]))continue;if(u&&null!==r){let s=e(t[a],u,i,n,void 0);o.has(s)&&(r=s)}s[a]=r}if(l.kind===f.INLINE_FRAGMENT&&(!l.typeCondition||i.cache.fragmentMatches(l,t.__typename))&&(r=e(t,l.selectionSet,i,n,a)),l.kind===f.FRAGMENT_SPREAD){let n=l.name.value,o=i.fragmentMap[n]||(i.fragmentMap[n]=i.
1cache.lookupFragment(n));ew(o,39,n);let s=function(e){let t=e.directives?.find(({name:e})=>"unmask"===e.value);if(!t)return"mask";let r=t.arguments?.find(({name:e})=>"mode"===e.value);return r&&"value"in r.value&&"migrate"===r.value.value?"migrate":"unmask"}(l);"mask"!==s&&(r=e(t,o.selectionSet,i,"migrate"===s,a))}o.has(r)&&o.add(s)}return"__typename"in t&&!("__typename"in s)&&(s.__typename=t.__typename),Object.keys(s).length!==Object.keys(t).length&&o.add(s),o.has(s)?s:t}(e,t,r,!1);return Object.isFrozen(e),i})}function rT(e){return 7===e||8===e}function rC(e){return 9===e||32===e}function rN(e){return e>=48&&e<=57}function rI(e){return e>=97&&e<=122||e>=65&&e<=90}function rA(e){return rI(e)||95===e}let rR=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function rD(e){return rF[e.charCodeAt(0)]}let rF=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],rP={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>rM(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=rz(e.variableDefinitions)?rL("(\n",rM(e.variableDefinitions,"\n"),"\n)"):rL("(",rM(e.variableDefinitions,", "),")"),r=rL("",e.description,"\n")+rM([e.operation,rM([e.name,t]),rM(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:i,description:n})=>rL("",n,"\n")+e+": "+t+rL(" = ",r)+rL(" ",rM(i," "))},SelectionSet:{leave:({selections:e})=>rj(e)},Field:{leave({alias:e,name:t,arguments:r,directives:i,selectionSet:n}){let a=rL("",e,": ")+t,o=a+rL("(",rM(r,", "),")");return o.length>80&&(o=a+rL("(\n",rV(rM(r,"\n")),"\n)")),rM([o,rM(i," "),n]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+rL(" ",rM(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>rM(["...",rL("on ",e),rM(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:i,selectionSet:n,description:a})=>rL("",a,"\n")+`fragment ${e}${rL("(",rM(r,", "),")")} `+`on ${t} ${rL("",rM(i," ")," ")}`+n},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>{let r,i,n,a,o,s,l,u,c,d,p;return t?(n=1===(i=(r=e.replace(/"""/g,'\\"""')).split(/\r\n|[\n\r]/g)).length,a=i.length>1&&i.slice(1).every(e=>0===e.length||rC(e.charCodeAt(0))),o=r.endsWith('\\"""'),s=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=s||l,c=!n||e.length>70||u||a||o,d="",p=n&&rC(e.charCodeAt(0)),(c&&!p||a)&&(d+="\n"),d+=r,(c||u)&&(d+="\n"),'"""'+d+'"""'):`"${e.replace(rR,rD)}"`}},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+rM(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+rM(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+rL("(",rM(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>rL("",e,"\n")+rM(["schema",rM(t," "),rj(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>rL("",e,"\n")+rM(["scalar",t,rM(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:i,fields:n})=>rL("",e,"\n")+rM(["type",t,rL("implements ",rM(r," & ")),rM(i," "),rj(n)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:i,directives:n})=>
1rL("",e,"\n")+t+(rz(r)?rL("(\n",rV(rM(r,"\n")),"\n)"):rL("(",rM(r,", "),")"))+": "+i+rL(" ",rM(n," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:i,directives:n})=>rL("",e,"\n")+rM([t+": "+r,rL("= ",i),rM(n," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:i,fields:n})=>rL("",e,"\n")+rM(["interface",t,rL("implements ",rM(r," & ")),rM(i," "),rj(n)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:i})=>rL("",e,"\n")+rM(["union",t,rM(r," "),rL("= ",rM(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:i})=>rL("",e,"\n")+rM(["enum",t,rM(r," "),rj(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>rL("",e,"\n")+rM([t,rM(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:i})=>rL("",e,"\n")+rM(["input",t,rM(r," "),rj(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:i,locations:n})=>rL("",e,"\n")+"directive @"+t+(rz(r)?rL("(\n",rV(rM(r,"\n")),"\n)"):rL("(",rM(r,", "),")"))+(i?" repeatable":"")+" on "+rM(n," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>rM(["extend schema",rM(e," "),rj(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>rM(["extend scalar",e,rM(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:i})=>rM(["extend type",e,rL("implements ",rM(t," & ")),rM(r," "),rj(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:i})=>rM(["extend interface",e,rL("implements ",rM(t," & ")),rM(r," "),rj(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>rM(["extend union",e,rM(t," "),rL("= ",rM(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>rM(["extend enum",e,rM(t," "),rj(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>rM(["extend input",e,rM(t," "),rj(r)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>rM([e,rL(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>rM([e,rL(".",t),rL("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>rM(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>rM(["@",e,rL("(",t,":)")])}};function rM(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function rj(e){return rL("{\n",rV(rM(e,"\n")),"\n}")}function rL(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function rV(e){return rL("  ",e.replace(/\n/g,"\n  "))}function rz(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}let r$=Object.assign(e=>{let t=i.get(e);return t||(t=ec(e,rP),i.set(e,t)),t},{reset(){i=new eG(eF.print||2e3)}});r$.reset();let rB=Symbol.for("apollo.result.extensions"),rq=Symbol.for("apollo.result.streamInfo"),rU=Symbol.for("apollo.observableQuery.variablesUnknown");function rW(e,t=()=>void 0){return r=>new eA(i=>{let n=t();return r.subscribe({next(t){let r;try{r=e(t,n)}catch(e){i.error(e)}void 0!==r&&i.next(r)},error(e){i.error(e)},complete(){i.complete()}})})}function rQ(e,t,r,i){if(r.kind===f.INT||r.kind===f.FLOAT)e[t.value]=Number(r.value);else if(r.kind===f.BOOLEAN||r.kind===f.STRING)e[t.value]=r.value;else if(r.kind===f.OBJECT){let n={};r.fields.map(e=>rQ(n,e.name,e.value,i)),e[t.value]=n}else if(r.kind===f.VARIABLE){let n=(i||{})[r.name.value];e[t.value]=n}else if(r.kind===f.LIST)e[t.value]=r.values.map(e=>{let r={};return rQ(r,t,e,i),r[t.value]});else if(r.kind===f.ENUM)e[t.value]=r.value;else if(r.kind===f.NULL)e[t.value]=null;else throw eS(19,t.value,r.kind)}function rK(e){let t={},r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(e=>{e.defaultValue&&rQ(t,e.variable.name,e.defaultValue)}),t}function rH(e){return!!e.errors?.length}let rY=Array.isArray;function rG(e){return Array.isArray(e)&&e.length>0}function rJ(e){let t=new Map;return function(r=e){let i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function rX(e){let t={data:e.data};return e.error&&(t.error=e.error),t}(l=y||(y={}))[l.loading=1]="loading",l[l.setVariables=2]="setVariables",l[l.fetchMore=3]="fetchMore",l[l.refetch=4]="refetch",l[l.poll=6]="poll",l[l.ready=7]="ready",l[l.error=8]="error",l[l.streaming=9]="streaming";var rZ=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return(0,F.__extends)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()}
1,enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r.closed||t.next(this._value),r},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,r=this._value;if(e)throw t;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(tN);function r0(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{let r=e.name.value;if("function"==typeof t)return t(r);let i=t&&t[r];return ew(i,9,r),i||null}default:return null}}function r1(e){let t;for(let r of(eZ(e),e.definitions)){if("OperationDefinition"===r.kind)return r;"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw eS(12)}function r2(e){return"Field"===e.kind}function r5({directives:e},t){var r;let i;return!e||!e.length||(i=[],(r=e)&&r.length&&r.forEach(e=>{if(!function({name:{value:e}}){return"skip"===e||"include"===e}(e))return;let t=e.arguments,r=e.name.value;ew(t&&1===t.length,16,r);let n=t[0];ew(n.name&&"if"===n.name.value,17,r);let a=n.value;ew(a&&("Variable"===a.kind||"BooleanValue"===a.kind),18,r),i.push({directive:e,ifArgument:n})}),i).every(({directive:e,ifArgument:r})=>{let i=!1;return"Variable"===r.value.kind?ew(void 0!==(i=t&&t[r.value.name.value]),15,e.name.value):i=r.value.value,"skip"===e.name.value?!i:i})}function r4(e,{data:t,...r},{data:i,...n},a){return ry(r,n)&&function e(t,r,i,n){if(r===i)return!0;let a=new Set;return t.selections.every(t=>{if(a.has(t)||(a.add(t),!r5(t,n.variables)||r3(t)))return!0;if(r2(t)){let a=rE(t),o=r&&r[a],s=i&&i[a],l=t.selectionSet;if(!l)return ry(o,s);let u=Array.isArray(o),c=Array.isArray(s);if(u!==c)return!1;if(u&&c){let t=o.length;if(s.length!==t)return!1;for(let r=0;r<t;++r)if(!e(l,o[r],s[r],n))return!1;return!0}return e(l,o,s,n)}{let a=r0(t,n.fragmentMap);if(a)return!!r3(a)||e(a.selectionSet,r,i,n)}})}(r1(e).selectionSet,t,i,{fragmentMap:rw(rk(e)),variables:a})}function r3(e){return!!e.directives&&e.directives.some(r6)}function r6(e){return"nonreactive"===e.name.value}function r8(e){return e.catch(()=>{}),e}let{assign:r9,hasOwnProperty:r7}=Object,ie={loading:!0,networkStatus:y.loading,data:void 0,dataState:"empty",partial:!0},it={loading:!1,networkStatus:y.ready,data:void 0,dataState:"empty",partial:!0};class ir{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:r=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult="network-only"===t.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:i="cache-first"}={}}=e.defaultOptions,{fetchPolicy:n=i,initialFetchPolicy:a="standby"===n?i:n}=t;t[rU]&&(ew("standby"===n,80),this.variablesUnknown=!0),this.lastQuery=r,this.options={...t,initialFetchPolicy:a,fetchPolicy:n,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const o=e0(this.query);this.queryName=o&&o.name&&o.name.value}initializeObservablesQueue(){this.subject=new rZ({query:this.query,variables:this.variables,result:ie,meta:{}});let e=this.subject.pipe(t7({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),rW(({query:e,variables:t,result:r,meta:i},n)=>{let{shouldEmit:a}=i;if(r===ie&&(n.previous=void 0,n.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===a)return;if(1===a)return l();let{previous:o,previousVariables:s}=n;if(o){let i=this.queryManager.getDocumentInfo(e),n=this.queryManager.dataMasking,a=n?i.nonReactiveQuery:e;if((n||i.hasNonreactiveDirective?r4(a,o,r,t):ry(o,r))&&ry(s,t))return}if(!(3===a&&(!this.options.notifyOnNetworkStatusChange||ry(o,r))))return l();function l(){return n.previous=r,n.previousVariables=t,r}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new tN,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&("network-only"===t||"cache-and-network"===t)&&(t="
1cache-first");let r=()=>{let e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?"complete":void 0===t?"empty":"partial",loading:!e.complete,networkStatus:e.complete?y.ready:y.loading,partial:!e.complete})};switch(t){case"cache-only":return{...r(),loading:!1,networkStatus:y.ready};case"cache-first":return r();case"cache-and-network":return{...r(),loading:!0,networkStatus:y.loading};case"standby":return it;default:return ie}}resubscribeCache(){let{variables:e,fetchPolicy:t}=this.options,r=this.query,i="standby"===t||"no-cache"===t||this.waitForNetworkResult,n=!ii({query:r,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((i||n)&&this.unsubscribeFromCache?.(),i||!n)return;let a={query:r,variables:e,optimistic:!0,watcher:this,callback:e=>{let t=this.queryManager.getDocumentInfo(r);if((t.hasClientExports||t.hasForcedResolvers)&&(a.lastDiff=void 0),a.lastOwnDiff===e)return;let{result:i}=this.subject.getValue();(e.complete||!i.error&&i!==ie&&i!==it)&&(ry(i.data,e.result)||this.scheduleNotify())}},o=this.cache.watch(a);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,o()},{query:r,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),t=e.networkStatus===y.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?e:this.getInitialResult();return t===ie&&(t=this.getInitialResult()),ry(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){let{fetchPolicy:t}=this.options,r={pollInterval:0};return"no-cache"===t?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",e&&!ry(this.variables,e)&&(r.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(r,{newNetworkStatus:y.refetch})}fetchMore({query:e,variables:t,context:r,errorPolicy:i,updateQuery:n}){ew("cache-only"!==this.options.fetchPolicy,82,eP(this.query,"(anonymous)"));let a={...tT(this.options,{errorPolicy:"none"},{query:e,context:r,errorPolicy:i}),variables:e?t:{...this.variables,...t},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};a.query=this.transformDocument(a.query),this.lastQuery=e?this.transformDocument(this.options.query):a.query;let o=!1,s="no-cache"!==this.options.fetchPolicy;s||ew(n,83);let{finalize:l,pushNotification:u}=this.pushOperation(y.fetchMore);u({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});let{promise:c,operator:d}=ia(),{observable:p}=this.queryManager.fetchObservableWithInfo(a,{networkStatus:y.fetchMore,exposeExtensions:!0}),h=p.pipe(d,t3(e=>"N"===e.kind&&"network"===e.source)).subscribe({next:e=>{o=!1;let t=e.value,r=t[rB];if(rT(e.value.networkStatus)&&l(),s){let e=this.getCacheDiff();this.cache.batch({update:e=>{n?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:r},e=>n(e,{fetchMoreResult:t.data,variables:a.variables})):e.writeQuery({query:a.query,variables:a.variables,data:t.data,extensions:r})},onWatchUpdated:(r,i)=>{if(r.watcher===this&&!ry(i.result,e.result)){o=!0;let e=this.getCurrentResult();rT(t.networkStatus)||u({kind:"N",source:"network",value:{...e,networkStatus:t.networkStatus===y.error?y.ready:t.networkStatus,loading:!1,data:i.result,dataState:"streaming"===t.dataState?"streaming":"complete"}})}}})}else{let e=this.getCurrentResult(),r=n(e.data,{fetchMoreResult:t.data,variables:a.variables});u({kind:"N",value:{...e,networkStatus:y.ready,loading:!1,data:r,dataState:"streaming"===e.dataState?"streaming":"complete"},source:"network"})}}});return r8(c.then(e=>rX(this.maskResult(e))).finally(()=>{if(h.unsubscribe(),l(),s&&!o){let e=this.getCurrentResult();"streaming"===e.dataState?u({kind:"N",source:"network",value:{...e,dataState:"complete",networkStatus:y.ready}}):u({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){let t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{let{updateQuery:r,onError:i}=e,{error:n}=t;n?i?i(n):ew.error(84,n):r&&this.updateQuery((e,i)=>r(e,{subscriptionData:t,...i}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){let t=tT(this.options,e||{});r9(this.options,t),this.updatePolling()}async setVariables(e){return(e=this.getVariablesWithDefaults(e),ry(this.variables,e))?rX(this.getCurrentResult()):(this.options.variables=e,this.hasObservers())?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:y.setVariables}
1):rX(this.getCurrentResult())}updateQuery(e){let{queryManager:t}=this,{result:r,complete:i}=this.getCacheDiff({optimistic:!1}),n=e(r,{variables:this.variables,complete:!!i,previousData:r});n&&(this.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){let{fetchPolicy:r="cache-first",initialFetchPolicy:i=r}=t;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy.call(t,r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):"variables-changed"===e?t.fetchPolicy=i:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,r,i){let n=this.options.fetchPolicy;e.context??={};let a=!1,o=e=>new eA(r=>{try{return e.subscribe({next(e){a=!0,r.next(e)},error:e=>r.error(e),complete:()=>r.complete()})}finally{a||(d.override=t,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:u,variables:c,meta:{shouldEmit:3,fetchPolicy:n}}))}}),{observable:s,fromLink:l}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:r,onCacheHit:()=>{a=!0},fetchQueryOperator:o,observableQuery:this}),{query:u,variables:c}=this,d={abort:()=>{h.unsubscribe()},query:u,variables:c};this.activeOperations.add(d);let p=t==y.refetch||t==y.setVariables,h=(s=s.pipe(i,tq())).pipe(t7({next:e=>{"newNetworkStatus"===e.source||"N"===e.kind&&e.value.loading?d.override=t:delete d.override},finalize:()=>this.activeOperations.delete(d)})).subscribe({next:e=>{let t={};p&&"N"===e.kind&&"loading"in e.value&&!e.value.loading&&(p=!1,t.shouldEmit=1),this.input.next({...e,query:u,variables:c,meta:t})}});return{fromLink:l,subscription:h,observable:s}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:t,pollInterval:r}}=this,i=()=>{let{options:e}=this;return!e.pollInterval||!this.hasObservers()||"cache-only"===e.fetchPolicy||"standby"===e.fetchPolicy};if(i())return void this.cancelPolling();if(e?.interval===r)return;(e||(this.pollingInfo={})).interval=r;let n=()=>{if(i())return this.cancelPolling();this.pollingInfo&&(!rT(this.networkStatus)||this.options.skipPollAttempt?.()?a():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:y.poll}).then(a,a))},a=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(n,e.interval))};a()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:r}=t||{};this.queryManager.obsQueries.add(this);let i=r===y.refetch||r===y.poll,n=this.variables,a=this.options.fetchPolicy,o=tT(this.options,e||{});this.variablesUnknown&&="standby"===o.fetchPolicy;let s=i?o:r9(this.options,o),l=this.transformDocument(s.query);this.lastQuery=l,e&&"variables"in e&&(s.variables=this.getVariablesWithDefaults(e.variables)),!i&&(this.updatePolling(),e&&e.variables&&!ry(e.variables,n)&&"standby"!==s.fetchPolicy&&(s.fetchPolicy===a||"function"==typeof s.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",s),void 0===r&&(r=y.setVariables)));let u=this.networkStatus;r||(r=y.loading,u!==y.loading&&e?.variables&&!ry(e.variables,n)&&(r=y.setVariables),"standby"===s.fetchPolicy&&(r=y.ready)),"standby"===s.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();let{promise:c,operator:d}=ia("standby"===s.fetchPolicy?{data:void 0}:void 0),{subscription:p,observable:h,fromLink:f}=this.fetch(s,r,l,d);i||!f&&this.linkSubscription||(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=p);let m=Object.assign(r8(c.then(e=>rX(this.maskResult(e))).finally(()=>{this.hasObservers()||0!==this.activeOperations.size||this.tearDownQuery()})),{retain:()=>{let e=h.subscribe({}),t=()=>e.unsubscribe();return c.then(t,t),m}});return m}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e
1=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:t}=this;if(this.resetNotifications(),t&&("cache-only"===this.options.fetchPolicy||"cache-and-network"===this.options.fetchPolicy||!this.activeOperations.size)){let e=this.getCacheDiff();ry(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:e.result,dataState:e.complete?"complete":e.result?"partial":"empty",networkStatus:y.ready,loading:!1,error:void 0,partial:!e.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1,{query:r,variables:i}=this,n=()=>{this.activeOperations.delete(a)},a={override:e,abort:()=>{t=!0,n()},query:r,variables:i};return this.activeOperations.add(a),{finalize:n,pushNotification:(e,n)=>{t||this.input.next({...e,query:r,variables:i,meta:{...n}})}}}calculateNetworkStatus(e){if(e===y.streaming)return e;let t=Array.from(this.activeOperations.values()).reverse().find(e=>ii(e,this)&&void 0!==e.override);return t?.override??e}abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e="cache-only"===this.options.fetchPolicy;this.setResult(e?it:ie,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=rW(e=>{let t,{query:r,variables:i,meta:n}=e;if("setResult"===e.source)return{query:r,variables:i,result:e.value,meta:n};if("C"===e.kind||!ii(e,this))return;let a=this.subject.getValue();if("cache"===e.source){if((t=e.value).networkStatus===y.ready&&t.partial&&(!this.options.returnPartialData||a.result.networkStatus===y.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===e.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),t="E"===e.kind?{...ii(a,e)?a.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:y.error,loading:!1}:e.value,"E"===e.kind&&"streaming"===t.dataState&&(t.dataState="complete"),t.error&&(n.shouldEmit=1);else if("newNetworkStatus"===e.source){let r=ii(a,e)?a.result:this.getInitialResult(n.fetchPolicy),{resetError:i}=e.value,o=i?void 0:r.error,s=o?y.error:y.ready;t={...r,error:o,networkStatus:s}}return ew(t),t.error||delete t.error,t.networkStatus=this.calculateNetworkStatus(t.networkStatus),t.loading=!rT(t.networkStatus),{query:r,variables:i,result:t=this.maskResult(t),meta:n}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:t}=this.options;"cache-and-network"===e||"network-only"===e?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(r,i){return(this.nextFetchPolicy=t,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(r,i):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}}function ii(e,t){return!!(e&&t&&e.query===t.query&&ry(e.variables,t.variables))}function ia(e){let t=e,r,i;return{promise:new Promise((e,t)=>{r=e,i=t}),operator:t7({next(e){if("E"===e.kind)return i(e.error);"N"!==e.kind||"newNetworkStatus"===e.source||e.value.loading||(t=e.value)},finalize:()=>{if(t)r(t);else{let e="The operation was aborted.",t="AbortError";i("u">typeof DOMException?new DOMException(e,t):Object.assign(Error(e),{name:t}))}}})}}let io={},is=new WeakMap;function il(e,t){let r=e[t];"function"==typeof r&&(e[t]=function(){return is.set(e,(is.get(e)+1)%1e15),r.apply(this,arguments)})}let iu=new WeakMap;class ic{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(e,t){const r=this.cache=e.cache,i=(iu.get(e)||0)+1;iu.set(e,i),this.id=i+"",this.observableQuery=t,this.queryManager=e,is.has(r)||(is.set(r,0),il(r,"evict"),il(r,"modify"),il(r,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){let{lastWrite:r}=this;return!(r&&r.dmCount===is.get(this.cache)&&ry(t,r.variables)&&ry(e.data,r.result.data)&&e.extensions?.[rq]===r.result.extensions?.[rq])}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(e,t,r){let{incrementalHandler:i}=this.queryManager;return i.isIncrementalResult(t)?(this.incremental||=i.startRequest
1({query:r}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:r,errorPolicy:i,cacheWriteBehavior:n}){let a={query:t,variables:r,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let o=0===n,s=o?void 0:this.cache.diff(a),l=this.maybeHandleIncrementalResult(s?.result,e,t);return o||(id(l,i)?this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)},update:e=>{if(this.shouldWrite(l,r))e.writeQuery({query:t,data:l.data,variables:r,overwrite:1===n,extensions:l.extensions}),this.lastWrite={result:l,variables:r,dmCount:is.get(this.cache)};else if(s&&s.complete){l={...l,data:s.result};return}let i=e.diff(a);i.complete&&(l={...l,data:i.result})}}):this.lastWrite=void 0),l}markMutationResult(e,t,r=this.cache){let i=[],n=0===t.cacheWriteBehavior,a=this.maybeHandleIncrementalResult(n?void 0:r.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if("ignore"===t.errorPolicy&&(a={...a,errors:[]}),rH(a)&&"none"===t.errorPolicy)return Promise.resolve(a);let o=()=>({...a,dataState:this.hasNext?"streaming":"complete"});if(!n&&id(a,t.errorPolicy)){i.push({result:a.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables,extensions:a.extensions});let{updateQueries:e}=t;e&&this.queryManager.getObservableQueries("all").forEach(t=>{let r=t&&t.queryName;if(!r||!Object.hasOwnProperty.call(e,r))return;let n=e[r],{query:a,variables:s}=t,{result:l,complete:u}=t.getCacheDiff({optimistic:!1});if(u&&l){let e=n(l,{mutationResult:o(),queryName:a&&eP(a)||void 0,queryVariables:s});e&&i.push({result:e,dataId:"ROOT_QUERY",query:a,variables:s})}})}let s=t.refetchQueries;if("function"==typeof s&&(s=s(o())),i.length>0||(s||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){let e=[];
1if(this.queryManager.refetchQueries({updateCache:e=>{n||i.forEach(t=>e.write(t));let{update:r}=t;if(r){if(!n){let r=e.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});r.complete&&(a={...a,data:r.result})}this.hasNext||r(e,a,{context:t.context,variables:t.variables})}n||t.keepRootFields||this.hasNext||e.modify({id:"ROOT_MUTATION",fields:(e,{fieldName:t,DELETE:r})=>"__typename"===t?e:r})},include:s,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>a)}return Promise.resolve(a)}markMutationOptimistic(e,t){let r="function"==typeof e?e(t.variables,{IGNORE:io}):e;return r!==io&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:r},t,e)}catch(e){ew.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:r,errorPolicy:i,cacheWriteBehavior:n}){0!==n&&(id(e,i)&&this.cache.write({query:t,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:r,extensions:e.extensions}),this.queryManager.broadcastQueries())}}function id(e,t="none"){let r=!rH(e);return!r&&("ignore"===t||"all"===t)&&e.data&&(r=!0),r}class ip{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){const t=new tO(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;const r=e.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches(eS(87))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:r,updateQueries:i,refetchQueries:n=[],awaitRefetchQueries:a=!1,update:o,onQueryUpdated:s,fetchPolicy:l,errorPolicy:u,keepRootFields:c,context:d}){let p=new ic(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:h}=this.getDocumentInfo(e);t=this.getVariables(e,t),h&&(t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:d}));let f=this.mutationStore&&(this.mutationStore[p.id]={mutation:e,variables:t,loading:!0,error:null}),m=r&&p.markMutationOptimistic(r,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==l),errorPolicy:u,context:d,updateQueries:i,update:o,keepRootFields:c});return this.broadcastQueries(),new Promise((h,y)=>{let v={};return this.getObservableFromLink(e,{...d,optimisticResponse:m?r:void 0},t,l,{},!1).observable.pipe(ih(),tX(r=>{let h={...r};return t5(p.markMutationResult(h,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==l),errorPolicy:u,context:d,update:o,updateQueries:i,awaitRefetchQueries:a,refetchQueries:n,removeOptimistic:m?p.id:void 0,onQueryUpdated:s,keepRootFields:c}))})).pipe(eo(e=>{if(rH(e)&&"none"===u)throw new ro(im(e));return f&&(f.loading=!1,f.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!p.hasNext){let r={data:this.maskOperation({document:e,data:t.data,fetchPolicy:l,cause:v})};rH(t)&&(r.error=new ro(t)),Object.keys(t.extensions||{}).length&&(r.extensions=t.extensions),h(r)}},error:e=>(f&&(f.loading=!1,f.error=e),m&&this.cache.removeOptimistic(p.id),this.broadcastQueries(),"ignore"===u)?h({data:void 0}):"all"===u?h({data:void 0,error:e}):void y(e)})})}fetchQuery(e,t){return eZ(e.query,h.QUERY),(async()=>{var r,i,n;return r=this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe(rW(e=>{switch(e.kind){case"E":throw e.error;case"N":if("newNetworkStatus"!==e.source)return rX(e.value)}})),n="object"==typeof(i={defaultValue:{data:void 0}}),new Promise(function(e,t){var a,o=!1;r.subscribe({next:function(e){a=e,o=!0},error:t,complete:function(){o?e(a):n?e(i.defaultValue):t(new t6)}})})})()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new eG(eF["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){let{transformCache:t}=this;if(!t.has(e)){let r,i=e0(e),n={hasClientExports:ed(["client","export"],e,!0),hasForcedResolvers:(r=!1,ec(e,{Directive:{enter(e){if("client"===e.name.value&&e.arguments&&(r=e.arguments.some(e=>"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value)))return eu}}}),r),hasNonreactiveDirective:ed(["nonreactive"],e),hasIncrementalDirective:ed(["defer"],e),nonReactiveQuery:ec(e,{FragmentSpread:e=>{if(!e.directives?.some(e=>"unmask"===e.name.value))return{...e,directives:[...e.directives||[],{kind:f.DIRECTIVE,name:{kind:f.NAME,value:"nonreactive"}}
1]}}}),clientQuery:ed(["client"],e)?e:null,serverQuery:function(e,t){var r,i,n;let a,o,s;eZ(t);let l=rJ(""),u=rJ(""),c=e=>{for(let t=0,r;t<e.length&&(r=e[t]);++t)if(!rY(r)){if(r.kind===f.OPERATION_DEFINITION)return l(r.name&&r.name.value);if(r.kind===f.FRAGMENT_DEFINITION)return u(r.name.value)}return ew.error(14),null},d=0;for(let e=t.definitions.length-1;e>=0;--e)t.definitions[e].kind===f.OPERATION_DEFINITION&&++d;let p=(r=e,a=new Map,o=new Map,r.forEach(e=>{e&&(e.name?a.set(e.name,e):e.test&&o.set(e.test,e))}),e=>{let t=a.get(e.name.value);return!t&&o.size&&o.forEach((r,i)=>{i(e)&&(t=r)}),t}),h=e=>rG(e)&&e.map(p).some(e=>e&&e.remove),m=new Map,y=!1,v={enter(e){if(h(e.directives))return y=!0,null}},b=ec(t,{Field:v,InlineFragment:v,VariableDefinition:{enter:()=>!1},Variable:{enter(e,t,r,i,n){let a=c(n);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,r,i,n){if(h(e.directives))return y=!0,null;let a=c(n);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,r,i){m.set(JSON.stringify(i),e)},leave:(e,t,r,i)=>e===m.get(JSON.stringify(i))?e:d>0&&e.selectionSet.selections.every(e=>e.kind===f.FIELD&&"__typename"===e.name.value)?(u(e.name.value).removed=!0,y=!0,null):void 0},Directive:{leave(e){if(p(e))return y=!0,null}}});if(!y)return t;let g=e=>(!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>{g(u(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),x=new Set;b.definitions.forEach(e=>{e.kind===f.OPERATION_DEFINITION?g(l(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{x.add(e)}):e.kind!==f.FRAGMENT_DEFINITION||0!==d||u(e.name.value).removed||x.add(e.name.value)}),x.forEach(e=>{g(u(e)).fragmentSpreads.forEach(e=>{x.add(e)})});let w={enter(e){let t;if(t=e.name.value,!x.has(t)||u(t).removed)return null}};return!function e(t,r){return!t||t.selectionSet.selections.every(t=>t.kind===f.FRAGMENT_SPREAD&&e(r[t.name.value],r))}(e0(i=ec(b,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave(e){if(e.variableDefinitions){let t=g(l(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}))||(ew("Document"===(n=i).kind,6),ew(n.definitions.length<=1,7),ew("FragmentDefinition"===(s=n.definitions[0]).kind,8),s),rw(rk(i)))?i:null}([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:i?.operation,defaultVars:rK(i),asQuery:{...e,definitions:e.definitions.map(e=>"OperationDefinition"===e.kind&&"query"!==e.operation?{...e,operation:"query"}:e)}};t.set(e,n)}let r=t.get(e);if(r.violation)throw r.violation;return r}getVariables(e,t){let r=this.getDocumentInfo(e).defaultVars,i=Object.entries(t??{}).map(([e,t])=>[e,void 0===t?r[e]:t]);return{...r,...Object.fromEntries(i)}}watchQuery(e){eZ(e.query,h.QUERY);let t=this.transform(e.query);return void 0===(e={...e,variables:this.getVariables(t,e.variables)}).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!0),new ir({queryManager:this,options:e,transformedQuery:t})}query(e){let t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(r=>({...r,data:this.maskOperation({document:t,data:r?.data,fetchPolicy:e.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches(eS(89)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){let t=new Set,r=new Map,i=new Map,n=new Set;return Array.isArray(e)&&e.forEach(e=>{if("string"==typeof e)r.set(e,e),i.set(e,!1);else if(rS(e)&&"Document"===e.kind&&Array.isArray(e.definitions)){let t=r$(this.transform(e));r.set(t,eP(e)),i.set(t,!1)}else rS(e)&&e.query&&n.add(e)}),this.obsQueries.forEach(r=>{let n=r$(this.transform(r.options.query));if("all"===e)return void t.add(r);let{queryName:a,options:{fetchPolicy:o}}=r;("active"!==e||"standby"!==o)&&("active"===e||a&&i.has(a)||n&&i.has(n))&&(t.add(r),a&&i.set(a,!0),n&&i.set(n,!0))}
1),n.size&&n.forEach(e=>{let r=new ir({queryManager:this,options:{...tK(this.defaultOptions.watchQuery,e),fetchPolicy:"network-only"}});t.add(r)}),t}refetchObservableQueries(e=!1){let t=[];return this.getObservableQueries(e?"all":"active").forEach(r=>{let{fetchPolicy:i}=r.options;(e||"standby"!==i)&&"cache-only"!==i&&t.push(r.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let t,{query:r,variables:i}=e,{fetchPolicy:n="cache-first",errorPolicy:a="none",context:o={},extensions:s={}}=e;return eZ(r,h.SUBSCRIPTION),r=this.transform(r),i=this.getVariables(r,i),Object.assign((this.getDocumentInfo(r).hasClientExports?t5(this.localState.getExportedVariables({client:this.client,document:r,variables:i,context:o})):t8(i)).pipe(tX(e=>{let{observable:i,restart:l}=this.getObservableFromLink(r,o,e,n,s),u=new ic(this);return t=l,i.pipe(eo(t=>{u.markSubscriptionResult(t,{document:r,variables:e,errorPolicy:a,cacheWriteBehavior:2*("no-cache"!==n)});let i={data:t.data??void 0};if(rH(t))i.error=new ro(t);else"extensions"in t&&rl.is(t.extensions[rc])&&(i.error=t.extensions[rc],delete t.extensions[rc]);return t.extensions&&Object.keys(t.extensions).length&&(i.extensions=t.extensions),i.error&&"none"===a&&(i.data=void 0),"ignore"===a&&delete i.error,i}),tG(e=>"ignore"===a?t8({data:void 0}):t8({data:void 0,error:e})),t3(e=>!!(e.data||e.error)))})),{restart:()=>t?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new ez(!1);getObservableFromLink(e,t,r,i,n,a=t?.queryDeduplication??this.queryDeduplication){let o={},{serverQuery:s,clientQuery:l,operationType:u,hasIncrementalDirective:c}=this.getDocumentInfo(e),d=eP(e),p={client:this.client};if(s){let{inFlightLinkObservables:e,link:i}=this;try{let l=this.incrementalHandler.prepareRequest({query:s,variables:r,context:{...this.defaultContext,...t,queryDeduplication:a},extensions:n});function f(e){return new eA(t=>{function r(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let i=r();return o.restart||=()=>{i.unsubscribe(),i=r()},()=>{i.unsubscribe(),o.restart=void 0}})}if(t=l.context,a){var m;let t=r$(s),n=re(r);(o=e.lookup(t,n)).observable||(o.observable=e2(i,l,p).pipe(f,(m=()=>{e.peek(t,n)===o&&e.remove(t,n)},D(function(e,t){try{e.subscribe(t)}finally{t.add(m)}})),u===h.SUBSCRIPTION?tq():tW({refCount:!0})))}else o.observable=e2(i,l,p).pipe(f)}catch(e){o.observable=tY(()=>e)}}else o.observable=t8({data:{}});if(l){let{operation:n}=e0(e);ew(!c,94,n[0].toUpperCase()+n.slice(1),d??"(anonymous)"),o.observable=o.observable.pipe(tX(e=>t5(this.localState.execute({client:this.client,document:l,remoteResult:e,context:t,variables:r,fetchPolicy:i}))))}return{restart:()=>o.restart?.(),observable:o.observable.pipe(tG(e=>{var t,r,i;throw i=e=null!==(r=t=e)&&"object"==typeof r&&"string"==typeof r.message&&"string"==typeof r.name&&("string"==typeof r.stack||void 0===r.stack)?t:"string"==typeof t?Error(t,{cause:t}):new ru(t),rd.add(i),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:r,observableQuery:i,exposeExtensions:n}){let a=t.lastRequestId=this.generateRequestId(),{errorPolicy:o}=e,s=this.cache.transformForLink(e.query);return this.getObservableFromLink(s,e.context,e.variables,e.fetchPolicy).observable.pipe(eo(a=>{let l=t.markQueryResult(a,{...e,document:s,cacheWriteBehavior:r}),u=rH(l);if(u&&"none"===o)throw t.resetLastWrite(),i?.resetNotifications(),new ro(im(l));let c={data:l.data,...t.hasNext?{loading:!0,networkStatus:y.streaming,dataState:"streaming",partial:!0}:{dataState:l.data?"complete":"empty",loading:!1,networkStatus:y.ready,partial:!l.data}};return n&&"extensions"in l&&(c[rB]=l.extensions),u&&("none"===o&&(c.data=void 0,c.dataState="empty"),"ignore"!==o&&(c.error=new ro(im(l)),"streaming"!==c.dataState&&(c.networkStatus=y.error))),c}),tG(e=>{if(a>=t.lastRequestId&&"none"===o)throw t.resetLastWrite(),i?.resetNotifications(),e;let r={data:void 0,dataState:"empty",loading:!1,networkStatus:y.ready,partial:!0};return"ignore"!==o&&(r.error=e,r.networkStatus=y.error),t8(r)}))}fetchObservableWithInfo(e,{networkStatus:t=y.loading,query:r=e.query,fetchQueryOperator:i=e=>e,onCacheHit:n=()=>{},observableQuery:a,exposeExtensions:o}){let s,l,u=this.getVariables(r,e.variables),{fetchPolicy:c="cache-first",errorPolicy:d="none",returnPartialData:p=!1,notifyOnNetworkStatusChange:h=!0,context:f={}}=e;this.prioritizeCacheValues&&("network-only"===c||"cache-and-network"===c)&&(c="c
1ache-first");let m=Object.assign({},e,{query:r,variables:u,fetchPolicy:c,errorPolicy:d,returnPartialData:p,notifyOnNetworkStatusChange:h,context:f}),v=new ic(this,a),b=r=>{m.variables=r;let s="no-cache"===c?0:t===y.refetch&&"merge"!==m.refetchWritePolicy?1:2,l=this.fetchQueryByPolicy(m,{queryInfo:v,cacheWriteBehavior:s,onCacheHit:n,observableQuery:a,exposeExtensions:o});return l.observable=l.observable.pipe(i),"standby"!==m.fetchPolicy&&a?.applyNextFetchPolicy("after-fetch",e),l},g=()=>{this.fetchCancelFns.delete(v.id)};this.fetchCancelFns.set(v.id,e=>{x.next({kind:"E",error:e,source:"network"})});let x=new tN;if(this.getDocumentInfo(m.query).hasClientExports)s=t5(this.localState.getExportedVariables({client:this.client,document:m.query,variables:m.variables,context:m.context})).pipe(tX(e=>b(e).observable)),l=!0;else{let e=b(m.variables);l=e.fromLink,s=e.observable}return{observable:new eA(e=>{e.add(g),s.subscribe(e),x.subscribe(e)}).pipe(tq()),fromLink:l}}refetchQueries({updateCache:e,include:t,optimistic:r=!1,removeOptimistic:i=r?ey("refetchQueries"):void 0,onQueryUpdated:n}){let a=new Map;t&&this.getObservableQueries(t).forEach(e=>{if("cache-only"===e.options.fetchPolicy||e.variablesUnknown)return;let t=e.getCurrentResult();a.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});let o=new Map;if(e){let t=new Set;this.cache.batch({update:e,optimistic:r&&i||!1,removeOptimistic:i,onWatchUpdated(e,r,i){let s=e.watcher;if(s instanceof ir&&!t.has(s)){if(t.add(s),n){a.delete(s);let e=n(s,r,i);return!0===e&&(e=s.refetch().retain()),!1!==e&&o.set(s,e),e}null!==n&&"cache-only"!==s.options.fetchPolicy&&a.set(s,{oq:s,lastDiff:i,diff:r})}}})}return a.size&&a.forEach(({oq:e,lastDiff:t,diff:r})=>{let i;n&&(r||(r=e.getCacheDiff()),i=n(e,r,t)),n&&!0!==i||(i=e.refetch().retain()),!1!==i&&o.set(e,i)}),i&&this.cache.removeOptimistic(i),o}noCacheWarningsByCause=new WeakSet;maskOperation(e){var t;let r,{document:i,data:n}=e;return this.dataMasking?(t=this.cache,(ew(r=e0(i),43),null==n)?n:rO(n,r.selectionSet,{operationType:r.operation,operationName:r.name?.value,fragmentMap:rw(rk(i)),cache:t,mutableTargets:new WeakMap,knownChanged:new WeakSet})):n}maskFragment(e){var t,r;let i,n,{data:a,fragment:o,fragmentName:s}=e;return this.dataMasking?(t=this.cache,r=s,i=o.definitions.filter(e=>e.kind===f.FRAGMENT_DEFINITION),void 0===r&&(ew(1===i.length,41,i.length),r=i[0].name.value),(ew(!!(n=i.find(e=>e.name.value===r)),42,r),null==a||ry(a,{}))?a:rO(a,n.selectionSet,{operationType:"fragment",operationName:n.name.value,fragmentMap:rw(rk(o)),cache:t,mutableTargets:new WeakMap,knownChanged:new WeakSet})):a}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:r,errorPolicy:i,returnPartialData:n,context:a},{cacheWriteBehavior:o,onCacheHit:s,queryInfo:l,observableQuery:u,exposeExtensions:c}){let d=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),p=(o,l)=>{let u=o.result,c=e=>(o.complete||n||(e=void 0),{data:e,dataState:o.complete?"complete":e?"partial":"empty",loading:!rT(l),networkStatus:l,partial:!o.complete}),d=e=>t8({kind:"N",value:c(e),source:"cache"});return(o.complete||n)&&this.getDocumentInfo(e).hasForcedResolvers?(s(),t5(this.localState.execute({client:this.client,document:e,remoteResult:u?{data:u}:void 0,context:a,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:r}).then(e=>({kind:"N",value:c(e.data||void 0),source:"cache"})))):d("none"===i&&l===y.refetch&&o.missing?void 0:u||void 0)},h=()=>this.getResultsFromLink({query:e,variables:t,context:a,fetchPolicy:r,errorPolicy:i},{cacheWriteBehavior:o,queryInfo:l,observableQuery:u,exposeExtensions:c}).pipe(ih(),D(function(e,t){e.subscribe(en(t,function(e){t.next(t9.createNext(e))},function(){t.next(t9.createComplete()),t.complete()},function(e){t.next(t9.createError(e)),t.complete()}))}),eo(e=>({...e,source:"network"})));switch(r){default:case"cache-first":{let e=d();if(e.complete)return{fromLink:!1,observable:p(e,y.ready)};if(n)return{fromLink:!0,observable:t4(p(e,y.loading),h())};return{fromLink:!0,observable:h()}}case"cache-and-network":{let e=d();if(e.complete||n)return{fromLink:!0,observable:t4(p(e,y.loading),h())};return{fromLink:!0,observable:h()}}case"cache-only":return{fromLink:!1,observable:t4(p(d(),y.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:h()};case"standby":return{fromLink:!1,observable:eD}}}}function ih(){let e=!1;return t7({next(){e=!0},complete(){ew(e,98)}})}function im(e){if(e.extensions?.[rq]==null)return e;let{extensions:{[rq]:t,...r},...i}=e;return Object.keys(r).length>0&&(i.extensions=r),i}class iy{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){const{cache:t,documentTransform:r,ssrMode:i=!1,ssrForceFetchDelay:n=0,queryDeduplication:a=!0,defaultOptions:o,defaultContext:s,assumeImmutableResults:l=t.assumeImmutableResults,localState:u,devtools:c,dataMasking:d,link:p,incrementalHandler:h=new eC,experiments:f=[]}=e;this.link=p,this.cache=t,this.queryDeduplication=a,this.defaultOptions=o||{},this.devtoolsConfig={...c,enabled:c?.enabled??!1},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=ef,this.queryManager=new ip({client:this,defaultOptions:this.defaultOptions,defaultContext:s,documentTransform:r,queryDeduplication:a,ssrMode:i,dataMasking:!!d,clientOptions:e,incrementalHandler:h,assumeImmutableResults:l,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:u}),this.prioritizeCacheValues=i||n>0,n&&setTimeout(()=>{this.prioritizeCacheValues=!1},n),this.devtoolsConfig.enabled&&this.connectToDevTools(),f.forEach(t=>t.call(this,e))}connectToDevTools(){if("u"<typeof window)return;let e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop()}watchQuery(e){return this.defaultOptions.watchQuery&&(e=tK(this.defaultOptions.watchQuery,e)),this.queryManager.watchQuery(e)}query(e){return this.defaultOptions.query&&(e=tK(this.defaultOptions.query,e)),this.queryManager.query(e)}mutate(e){let t=tK(tT({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return eZ(t.mutation,h.MUTATION),this.queryManager.mutate(t)}subscribe(e){let t={},r=this.queryManager.startGraphQLSubscription(e);return Object.assign(r.pipe(eo(r=>({...r,data:this.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,cause:t})}))),{restart:r.restart})}readQuery(e,t=!1){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){let t=this.queryManager.dataMasking;return this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)})}
1readFragment(e,t=!1){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){let t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}writeFragment(e){let t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return e2(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let t=this.queryManager.refetchQueries(e),r=[],i=[];t.forEach((e,t)=>{r.push(t),i.push(e)});let n=Promise.all(i);return n.queries=r,n.results=i,n.catch(e=>{}),n}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new tO(tH);transform(e,t=!1){let r=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(r):r}}let iv={kind:f.FIELD,name:{kind:f.NAME,value:"__typename"}},ib=Object.assign(function(e){return ec(e,{SelectionSet:{enter(e,t,r){if(r&&r.kind===f.OPERATION_DEFINITION)return;let{selections:i}=e;if(!(!i||i.some(e=>e.kind===f.FIELD&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))))&&!(r.kind===f.FIELD&&r.directives&&r.directives.some(e=>"export"===e.name.value)))return{...e,selections:[...i,iv]}}}})},{added:e=>e===iv});function ig(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function ix(e,t){return e===t}var iw=function(e){function t(t,r){return e.call(this)||this}return(0,F.__extends)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(L),ik={setInterval:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=ik.delegate;return(null==n?void 0:n.setInterval)?n.setInterval.apply(n,(0,F.__spreadArray)([e,t],(0,F.__read)(r))):setInterval.apply(void 0,(0,F.__spreadArray)([e,t],(0,F.__read)(r)))},clearInterval:function(e){var t=ik.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},iS=function(e){function t(t,r){var i=e.call(this,t,r)||this;
1return i.scheduler=t,i.work=r,i.pending=!1,i}return(0,F.__extends)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),ik.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&ik.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,i=!1;try{this.work(e)}catch(e){i=!0,r=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,j(i,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(iw),iE=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=tA.now,e}(),i_=new(function(e){function t(t,r){void 0===r&&(r=iE.now);var i=e.call(this,t,r)||this;return i.actions=[],i._active=!1,i}return(0,F.__extends)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift())if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(iE))(iS);function iO(e,t){let r=t,i=[];return e.definitions.forEach(e=>{if("OperationDefinition"===e.kind)throw eS(10,e.operation,e.name?` named '${e.name.value}'`:"");"FragmentDefinition"===e.kind&&i.push(e)}),void 0===r&&(ew(1===i.length,11,i.length),r=i[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}},...e.definitions]}}class iT{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){let t,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(()=>t=e.update(this),r),t}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:t})}fragmentWatches=new ez(!0);watchFragment(e){let t,{fragment:r,fragmentName:i,from:n}=e,a=this.getFragmentDoc(r,i),o=(Array.isArray(n)?n:[n]).map(e=>{let t=null==e?e:this.toCacheId(e);return t});if(!Array.isArray(n)){let t=this.watchSingleFragment(o[0],a,e);return null===n?t:tQ(t,Symbol.for("apollo.transform.individualResult"),e=>({...e,data:e.data??{}}))}function s(e){let r=e.reduce((e,t,r)=>(e.data.push(t.data),e.complete&&=t.complete,e.dataState=e.complete?"complete":"partial",t.missing&&(e.missing||={},e.missing[r]=t.missing),e),{data:[],dataState:"complete",complete:!0});return ry(t,r)||(t=r),t}if(0===o.length)return iA;let l=!1,u=o.map(t=>this.watchSingleFragment(t,a,e));return Object.assign((0===u.length?eD:new eA(e=>{let t,{length:r}=u,i=Array(r),n=new Map;u.forEach((e,t)=>{n.has(e)||n.set(e,new Set),n.get(e).add(t)});let a=n.size,o=n.size;n.forEach((r,n)=>{let s=!1,l=n.subscribe({next:a=>{r.forEach(e=>i[e]=a),!s&&(s=!0,o--),!o&&((t||=new Set(u.filter(e=>e.dirty))).delete(n),t.size||(e.next(i.slice()),t=void 0))},complete:()=>{--a||e.complete()},error:e.error.bind(e)});e.add(l)})})).pipe(eo(s),t7({subscribe:()=>l=!0,unsubscribe:()=>l=!1}),tW({bufferSize:1,refCount:!0})),{getCurrentResult:()=>l&&t?t:s(u.map(e=>e.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,r){if(null===e)return iN;let{optimistic:i=!0,variables:n}=r,a=[t,re({id:e,optimistic:i,variables:n})],o=this.fragmentWatches.lookupArray(a);if(!o.observable){var s,l;let c,d=!1;function u(e){let i=e.result;return c&&r4(t,{data:c.data},{data:i},r.variables)||(c={data:i,dataState:e.complete?"complete":"partial",complete:e.complete},e.missing&&(c.missing=e.missing.missing)),c}let p=new eA(r=>{d=!0;let o=this.watch({variables:n,returnPartialData:!0,id:e,query:t,optimistic:i,immediate:!0,callback:e=>{p.dirty=!0,this.onAfterBroadcast(()=>{r.next(u(e)),p.dirty=!1})}});return()=>{d=!1,o(),this.fragmentWatches.removeArray(a)}}).pipe((void 0===l&&(l=eI),s=null!=s?s:ix,D(function(e,t){var r,i=!0;e.subscribe(en(t,function(e){var n=l(e);(i||!s(r,n))&&(i=!1,r=n,t.next(e))}))})),tq({connector:()=>new tR(1),resetOnRefCountZero:()=>{var e;return void 0===e&&(e=i_),new eA(function(t){var r=0;r<0&&(r=0);var i=0;return e.schedule(function(){t.closed||(t.next(i++),t.complete())},r)})}}));o.observable=Object.assign(p,{dirty:!1,getCurrentResult:()=>d&&c?c:u(this.diff({id:e,query:t,returnPartialData:!0,optimistic:i,variables:n}))})}return o.observable}getFragmentDoc=tE(iO,{max:eF["cache.fragmentQueryDocuments"]||1e3,cache:eK,makeCacheKey:function(...e){return tk.bind(null,...e)}(this)});
1readFragment(e,t=!!e.optimistic){let r=void 0!==e.from?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:r,optimistic:t})}writeQuery({id:e,data:t,...r}){return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))}writeFragment({data:e,fragment:t,fragmentName:r,...i}){let n=void 0!==i.from?this.toCacheId(i.from):i.id;return this.write(Object.assign(i,{query:this.getFragmentDoc(t,r),dataId:n,result:e}))}updateQuery(e,t){return this.batch({update(r){let i=r.readQuery(e),n=t(i);return null==n?i:(r.writeQuery({...e,data:n}),n)}})}updateFragment(e,t){return this.batch({update(r){let i=r.readFragment(e),n=t(i);return null==n?i:(r.writeFragment({...e,data:n}),n)}})}toCacheId(e){return"string"==typeof e?e:this.identify(e)}}let iC=Object.freeze({data:null,dataState:"complete",complete:!0}),iN=Object.assign(new eA(e=>{e.next(iC)}),{dirty:!1,getCurrentResult:()=>iC}),iI=Object.freeze({data:[],dataState:"complete",complete:!0}),iA=Object.assign(new eA(e=>{e.next(iI)}),{getCurrentResult:()=>iI}),{hasOwnProperty:iR}=Object.prototype,iD=function(e,t,r){return this.merge(e[r],t[r])},iF=e=>isNaN(+e)?{}:[];class iP{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||iD}merge(e,t,r={}){let i=r.atPath;if(i?.length){let[n,...a]=i;void 0===e&&(e=iF(n));let o=e[n];void 0===o&&a.length&&(o=iF(a[0]));let s=this.merge(o,t,{...r,atPath:a});return o!==s&&((e=this.shallowCopyForMerge(e))[n]=s),e}return(Array.isArray(e)&&Array.isArray(t)&&"truncate"===this.options.arrayMerge&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),rS(t)&&rS(e))?(Object.keys(t).forEach(r=>{if(iR.call(e,r)){let i=e[r];if(t[r]!==i){let n=this.reconciler(e,t,r);n!==i&&((e=this.shallowCopyForMerge(e))[r]=n)}}else(e=this.shallowCopyForMerge(e))[r]=t[r]}),e):t}isObject=rS;pastCopies=new Set;shallowCopyForMerge(e){return rS(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e)),e}}function iM(e){return{__ref:String(e)}}let{hasOwnProperty:ij}=Object.prototype;function iL({__typename:e,id:t,_id:r},i){if("string"==typeof e&&(i&&(i.keyObject=null!=t?{id:t}:null!=r?{_id:r}:void 0),null==t&&null!=r&&(t=r),null!=t))return`${e}:${"number"==typeof t||"string"==typeof t?t:JSON.stringify(t)}`}let iV={dataIdFromObject:iL,resultCaching:!0},iz=/^[_a-z][_0-9a-z]*/i;function i$(e){let t=e.match(iz);return t?t[0]:e}function iB(e){return rS(e)&&!ig(e)&&!rY(e)}function iq(e,t){let r=rw(rk(e));return{fragmentMap:r,lookupFragment(e){let i=r[e];return!i&&t&&(i=t.lookup(e)),i||null}}}let iU={},iW=()=>iU,iQ={};class iK{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return void 0!==this.lookup(e,!0)}get(e,t){if(this.group.depend(e,t),ij.call(this.data,e)){let r=this.data[e];if(r&&ij.call(r,t))return r[t]}return"__typename"===t&&ij.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof iJ?this.parent.get(e,t):void 0}lookup(e,t){return(t&&this.group.depend(e,"__exists"),ij.call(this.data,e))?this.data[e]:this instanceof iJ?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?{}:void 0}merge(e,t){let r;ig(e)&&(e=e.__ref),ig(t)&&(t=t.__ref);let i="string"==typeof e?this.lookup(r=e):e,n="string"==typeof t?this.lookup(r=t):t;if(!n)return;ew("string"==typeof r,99);let a=new iP({reconciler:iZ}).merge(i,n);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){let e={};i||(e.__exists=1),Object.keys(n).forEach(t=>{if(!i||i[t]!==a[t]){e[t]=1;let r=i$(t);r===t||this.policies.hasKeyArgs(a.__typename,r)||(e[r]=1),void 0!==a[t]||this instanceof iJ||delete a[t]}}),e.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(r,e))}}modify(e,t,r){let i=this.lookup(e);if(i){let n={},a=!1,o=!0,s={DELETE:iU,INVALIDATE:iQ,isReference:ig,toReference:this.toReference,canRead:this.canRead,readField:(t,r)=>this.policies.readField("string"==typeof t?{fieldName:t,from:r||iM(e)}:t,{store:this})};
1if(Object.keys(i).forEach(l=>{let u=i$(l),c=i[l];if(void 0===c)return;let d="function"==typeof t?t:t[l]||(r?void 0:t[u]);if(d){let t=d===iW?iU:d(c,{...s,fieldName:u,storeFieldName:l,storage:this.getStorage(e,l)});if(t===iQ)this.group.dirty(e,l);else if(t===iU&&(t=void 0),t!==c&&(n[l]=t,a=!0,c=t,0)){let e=e=>{if(void 0===this.lookup(e.__ref))return!0};if(ig(t))e(t);else if(Array.isArray(t)){let r,i=!1;for(let n of t){if(ig(n)){if(i=!0,e(n))break}else if("object"==typeof n&&n){let[e]=this.policies.identify(n);e&&(r=n)}if(i&&void 0!==r)break}}}}void 0!==c&&(o=!1)}),a)return this.merge(e,n),o&&(this instanceof iJ?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,t,r){let i=this.lookup(e);if(i){let n=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:n,fieldName:t,args:r}):t;return this.modify(e,a?{[a]:iW}:iW,!!r)}return!1}evict(e,t){let r=!1;return e.id&&(ij.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof iJ&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r}clear(){this.replace(null)}extract(){let e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{ij.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&ij.call(e,t)||this.delete(t)}),e){let{__META:t,...r}=e;Object.keys(r).forEach(e=>{this.merge(e,r[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof iJ?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),t=this.toObject();e.forEach(r=>{ij.call(t,r)&&(Object.keys(this.findChildRefIds(r)).forEach(e.add,e),delete t[r])});let r=Object.keys(t);if(r.length){let e=this;for(;e instanceof iJ;)e=e.parent;r.forEach(t=>e.delete(t))}return r}refs={};findChildRefIds(e){if(!ij.call(this.refs,e)){let t=this.refs[e]={},r=this.data[e];if(!r)return t;let i=new Set([r]);i.forEach(e=>{ig(e)&&(t[e.__ref]=!0),rS(e)&&Object.keys(e).forEach(t=>{let r=e[t];rS(r)&&i.add(r)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>ig(e)?this.get(e.__ref,t):e&&e[t];canRead=e=>ig(e)?this.has(e.__ref):"object"==typeof e;toReference=(e,t)=>{if("string"==typeof e)return iM(e);if(ig(e))return e;let[r]=this.policies.identify(e);if(r){let i=iM(r);return t&&this.merge(r,e),i}};get supportsResultCaching(){return this.group.caching}}class iH{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?tw():null,this.keyMaker=new ez}depend(e,t){if(this.d){this.d(t+"#"+e);let r=i$(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")}}function iY(e,t){i0(e)&&e.group.depend(t,"__exists")}class iG extends iK{constructor({policies:e,resultCaching:t=!0,seed:r}){super(e,new iH(t)),r&&this.replace(r)}stump=new iX(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new ez;getStorage(){return this.storageTrie.lookupArray(arguments)}}iK.Root=iG;class iJ extends iK{id;parent;replay;group;
1constructor(e,t,r,i){super(t.policies,i),this.id=e,this.parent=t,this.replay=r,this.group=i,r(this)}addLayer(e,t){return new iJ(e,this,t,this.group)}removeLayer(e){let t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(e=>{let r=this.data[e],i=t.lookup(e);i?r?r!==i&&Object.keys(r).forEach(t=>{ry(r[t],i[t])||this.group.dirty(e,t)}):(this.group.dirty(e,"__exists"),Object.keys(i).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let t=this.parent.findChildRefIds(e);return ij.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}}class iX extends iJ{constructor(e){super("EntityStore.Stump",e,()=>{},new iH(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}}function iZ(e,t,r){let i=e[r],n=t[r];return ry(i,n)?i:n}function i0(e){return!!(e&&e.supportsResultCaching)}function i1(e,t){if(e.arguments&&e.arguments.length){let r={};return e.arguments.forEach(({name:e,value:i})=>rQ(r,e,i,t)),r}return null}let i2=["connection","include","skip","client","rest","export","nonreactive","stream"],i5=re,i4=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){let e=r.connection.filter?r.connection.filter:[];e.sort();let i={};e.forEach(e=>{i[e]=t[e]});let n=i5(i);if("{}"!==n)return`${r.connection.key}(${n})`}return r.connection.key}let i=e;if(t){let e=i5(t);"{}"!==e&&(i+=`(${e})`)}return r&&Object.keys(r).forEach(e=>{-1===i2.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?i+=`@${e}(${i5(r[e])})`:i+=`@${e}`)}),i},{setStringify(e){let t=i5;return i5=e,t}}),i3={};function i6(e){let t=JSON.stringify(e);return i3[t]||(i3[t]={})}function i8(e){let t=i6(e);return t.keyFieldsFn||(t.keyFieldsFn=(t,r)=>{let i=(e,t)=>r.readField(t,e),n=r.keyObject=i7(e,e=>{let n=nt(r.storeObject,e,i);return void 0===n&&t!==r.storeObject&&ij.call(t,e[0])&&(n=nt(t,e,ne)),ew(void 0!==n,102,e.join("."),t),n});return`${r.typename}:${JSON.stringify(n)}`})}function i9(e){let t=i6(e);return t.keyArgsFn||(t.keyArgsFn=(t,{field:r,variables:i,fieldName:n})=>{let a=JSON.stringify(i7(e,e=>{let n=e[0],a=n.charAt(0);if("@"===a){if(r&&rG(r.directives)){let t=n.slice(1),a=r.directives.find(e=>e.name.value===t),o=a&&i1(a,i);return o&&nt(o,e.slice(1))}return}if("$"===a){let t=n.slice(1);if(i&&ij.call(i,t)){let r=e.slice(0);return r[0]=t,nt(i,r)}return}if(t)return nt(t,e)}));return(t||"{}"!==a)&&(n+=":"+a),n})}function i7(e,t){let r=new iP;return(function e(t){let r=i6(t);if(!r.paths){let i=r.paths=[],n=[];t.forEach((r,a)=>{rY(r)?(e(r).forEach(e=>i.push(n.concat(e))),n.length=0):(n.push(r),rY(t[a+1])||(i.push(n.slice(0)),n.length=0))})}return r.paths})(e).reduce((e,i)=>{let n=t(i);if(void 0!==n){for(let e=i.length-1;e>=0;--e)n={[i[e]]:n};e=r.merge(e,n)}return e},{})}function ne(e,t){return e[t]}function nt(e,t,r){return r=r||ne,function e(t){return rS(t)?rY(t)?t.map(e):i7(Object.keys(t).sort(),e=>nt(t,e)):t}(t.reduce(function e(t,i){return rY(t)?t.map(t=>e(t,i)):t&&r(t,i)},e))}let nr=new e7,ni=new WeakMap;function nn(e){let t=ni.get(e);return t||ni.set(e,t={vars:new Set,dep:tw()}),t}function na(e){nn(e).vars.forEach(t=>t.forgetCache(e))}function no(e){let t=new Set,r=new Set,i=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(e=>{var t;nn(e).dep.dirty(i),(t=e).broadcastWatches&&t.broadcastWatches()});let n=Array.from(r);r.clear(),n.forEach(t=>t(e))}}else{let e=nr.getValue();e&&(n(e),nn(e).dep(i))}return e};i.onNextChange=e=>(r.add(e),()=>{r.delete(e)});let n=i.attachCache=e=>(t.add(e),nn(e).vars.add(i),i);return i.forgetCache=e=>t.delete(e),i}function ns(e){return void 0!==e.args?e.args:e.field?i1(e.field,e.variables):null}let nl=()=>void 0,nu=(e,t)=>t.fieldName,nc=(e,t,{mergeObjects:r})=>r(e,t),nd=(e,t)=>t,np=(e,t,{streamFieldInfo:r,existingData:i})=>{if(!e&&!i)return t;let n=[],a=e??i,o=r?.isLastChunk?t.length:Math.max(a.length,t.length);for(let e=0;e<o;e++)n[e]=void 0===t[e]?a[e]:t[e];return n};
1class nh{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:iL,...e},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}identify(e,t){let r,i=this,n=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];let a=t&&t.storeObject||e,o={...t,typename:n,storeObject:a,readField:t&&t.readField||((...e)=>{let t=nm(e,a);return i.readField(t,{store:i.cache.data,variables:t.variables})})},s=n&&this.getTypePolicy(n),l=s&&s.keyFn||this.config.dataIdFromObject;return r_.withValue(!0,()=>{for(;l;){let t=l({...e,...a},o);if(rY(t))l=i8(t);else{r=t;break}}}),r=r?String(r):void 0,o.keyObject?[r,o.keyObject]:[r]}addTypePolicies(e){Object.keys(e).forEach(t=>{let{queryType:r,mutationType:i,subscriptionType:n,...a}=e[t];r&&this.setRootTypename("Query",t),i&&this.setRootTypename("Mutation",t),n&&this.setRootTypename("Subscription",t),ij.call(this.toBeAdded,t)?this.toBeAdded[t].push(a):this.toBeAdded[t]=[a]})}updateTypePolicy(e,t,r){let i=this.getTypePolicy(e),{keyFields:n,fields:a}=t;function o(e,t){e.merge="function"==typeof t?t:!0===t?nc:!1===t?nd:e.merge}o(i,t.merge),i.keyFn=!1===n?nl:rY(n)?i8(n):"function"==typeof n?n:i.keyFn,a&&Object.keys(a).forEach(t=>{let i=r[t];i&&i?.typename===e||(i=r[t]={typename:e});let n=a[t];if("function"==typeof n)i.read=n;else{let{keyArgs:e,read:t,merge:r}=n;i.keyFn=!1===e?nu:rY(e)?i9(e):"function"==typeof e?e:i.keyFn,"function"==typeof t&&(i.read=t),o(i,r)}i.read&&i.merge&&(i.keyFn=i.keyFn||nu)})}setRootTypename(e,t=e){let r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];t!==i&&(ew(!i||i===e,103,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);let r=e.match(iz);r&&r[0]===e||this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!ij.call(this.typePolicies,e)){let t=this.typePolicies[e]={};t.fields={};let r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,i)=>{if(t.test(e)){let e=this.supertypeMap.get(i);e&&e.forEach(e=>r.add(e))}})),r&&r.size&&r.forEach(e=>{let{fields:r,...i}=this.getTypePolicy(e);Object.assign(t,i),Object.assign(t.fields,r)})}let t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r}fragmentMatches(e,t,r,i){if(!e.typeCondition)return!0;if(!t)return!1;let n=e.typeCondition.name.value;if(t===n)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(n)){let a=this.getSupertypeSet(t,!0),o=[a],s=e=>{let t=this.getSupertypeSet(e,!1);t&&t.size&&0>o.indexOf(t)&&o.push(t)},l=!!(r&&this.fuzzySubtypes.size),u=!1;for(let c=0;c<o.length;++c){let d=o[c];if(d.has(n))return a.has(n)||a.add(n),!0;d.forEach(s),l&&c===o.length-1&&function e(t,r,i){return!!rS(r)&&(rY(r)?r.every(r=>e(t,r,i)):t.selections.every(t=>{if(r2(t)&&r5(t,i)){let n=rE(t);return ij.call(r,n)&&(!t.selectionSet||e(t.selectionSet,r[n],i))}return!0}))}(e.selectionSet,r,i)&&(l=!1,u=!0,this.fuzzySubtypes.forEach((e,r)=>{let i=t.match(e);i&&i[0]===t&&s(r)}))}}return!1}hasKeyArgs(e,t){let r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)}getStoreFieldName(e){var t,r;let i,n,a,{typename:o,fieldName:s}=e,l=this.getFieldPolicy(o,s),u=l&&l.keyFn;if(u&&o){let t={typename:o,fieldName:s,field:e.field||null,variables:e.variables},r=ns(e);for(;u;){let e=u(r,t);if(rY(e))u=i9(e);else{i=e||s;break}}}return(void 0===i&&(i=e.field?(t=e.field,r=e.variables,n=null,t.directives&&(n={}
1,t.directives.forEach(e=>{n[e.name.value]={},e.arguments&&e.arguments.forEach(({name:t,value:i})=>rQ(n[e.name.value],t,i,r))})),a=null,t.arguments&&t.arguments.length&&(a={},t.arguments.forEach(({name:e,value:t})=>rQ(a,e,t,r))),i4(t.name.value,a,n)):i4(s,ns(e))),!1===i)?s:s===i$(i)?i:s+":"+i}readField(e,t){let r=e.from;if(!r||!(e.field||e.fieldName))return;if(void 0===e.typename){let i=t.store.getFieldValue(r,"__typename");i&&(e.typename=i)}let i=this.getStoreFieldName(e),n=i$(i),a=t.store.getFieldValue(r,i),o=this.getFieldPolicy(e.typename,n),s=o&&o.read;if(s){let n=nf(this,r,e,t,t.store.getStorage(ig(r)?r.__ref:r,i));return nr.withValue(this.cache,s,[a,n])}return a}getReadFunction(e,t){let r=this.getFieldPolicy(e,t);return r&&r.read}getMergeFunction(e,t,r){let i=this.getFieldPolicy(e,t),n=i&&i.merge;return!n&&r&&(n=(i=this.getTypePolicy(r))&&i.merge),n}runMergeFunction(e,t,{field:r,typename:i,merge:n,path:a},o,s){let l=e;if(n===nc)return ny(o.store)(e,t);if(n===nd)return t;o.overwrite&&(e=void 0);let u=o.extensions?.[rq]?.deref()?.peekArray(a);if(u){let{current:e,previous:r}=u;if(r&&ry(r.incoming,t)&&ry(r.streamFieldInfo,e))return r.result}let c=n(e,t,function(e,t,r,i,n,a){let o={...nf(e,t,r,i,n),extensions:i.extensions,existingData:a},s=i.extensions;if(s&&rq in s){let{[rq]:e,...t}=s,i=e?.deref()?.peekArray(r.path);i&&(o.streamFieldInfo=i.current),o.extensions=0===Object.keys(t).length?void 0:t}return o}(this,void 0,{typename:i,fieldName:r.name.value,field:r,variables:o.variables,path:a},o,s||{},l));return u&&(u.previous={incoming:t,streamFieldInfo:u.current,result:c}),c}}function nf(e,t,r,i,n){let a=e.getStoreFieldName(r),o=i$(a),s=r.variables||i.variables,{toReference:l,canRead:u}=i.store;return{args:ns(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:ig,toReference:l,storage:n,cache:e.cache,canRead:u,readField:(...r)=>e.readField(nm(r,t,s),i),mergeObjects:ny(i.store)}}function nm(e,t,r){let i,{0:n,1:a,length:o}=e;return"string"==typeof n?i={fieldName:n,from:o>1?a:t}:(i={...n},ij.call(i,"from")||(i.from=t)),void 0===i.variables&&(i.variables=r),i}function ny(e){return function(t,r){if(rY(t)||rY(r))throw eS(106);if(rS(t)&&rS(r)){let i=e.getFieldValue(t,"__typename"),n=e.getFieldValue(r,"__typename");if(i&&n&&i!==n)return r;if(ig(t)&&iB(r))return e.merge(t.__ref,r),t;if(iB(t)&&ig(r))return e.merge(t,r.__ref),r;if(iB(t)&&iB(r))return{...t,...r}}return r}}class nv extends Error{message;path;query;variables;
1constructor(e,t,r,i){if(super(e),this.message=e,this.path=t,this.query=r,this.variables=i,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=nv.prototype}missing}function nb(e){return[e.selectionSet,e.objectOrReference,e.context]}class ng{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=tE(e=>{let t=nb(e),r=this.executeSelectionSet.peek(...t);return r||(iY(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:eF["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:nb,makeCacheKey(e,t,r){if(i0(r.store))return r.store.makeCacheKey(e,ig(t)?t.__ref:t,r.varString)}}),this.executeSubSelectedArray=tE(e=>(iY(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:eF["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:t,context:r}){if(i0(r.store))return r.store.makeCacheKey(e,t,r.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:r="ROOT_QUERY",variables:i,returnPartialData:n=!0}){let a,o,s=this.config.cache.policies;i={...rK((ew((a=e0(t))&&"query"===a.operation,13),a)),...i};let l=iM(r),u=this.executeSelectionSet({selectionSet:r1(t).selectionSet,objectOrReference:l,enclosingRef:l,context:{store:e,query:t,policies:s,variables:i,varString:re(i),...iq(t,this.config.fragments)}});u.missing&&(o=new nv(function(e){try{JSON.stringify(e,(e,t)=>{if("string"==typeof t)throw t;return t})}catch(e){return e}}(u.missing),u.missing,t,i));let c=!o,{result:d}=u;return{result:c?d:n?0===Object.keys(d).length?null:d:null,complete:c,missing:o}}isFresh(e,t,r,i){if(i0(i.store)&&this.knownResults.get(e)===r){let n=this.executeSelectionSet.peek(r,t,i);if(n&&e===n.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:r,context:i}){let n;if(ig(t)&&!i.policies.rootTypenamesById[t.__ref]&&!i.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};let{variables:a,policies:o,store:s}=i,l=s.getFieldValue(t,"__typename"),u=[],c=new iP;function d(e,t){return e.missing&&(n=c.merge(n,{[t]:e.missing})),e.result}"string"!=typeof l||o.rootIdsByTypename[l]||u.push({__typename:l});let p=new Set(e.selections);p.forEach(e=>{if(r5(e,a))if(r2(e)){let a=o.readField({fieldName:e.name.value,field:e,variables:i.variables,from:t},i),s=rE(e);void 0===a?ib.added(e)||(n=c.merge(n,{[s]:`Can't find field '${e.name.value}' on ${ig(t)?t.__ref+" object":"object "+JSON.stringify(t,null,2)}`})):rY(a)?a.length>0&&(a=d(this.executeSubSelectedArray({field:e,array:a,enclosingRef:r,context:i}),s)):e.selectionSet&&null!=a&&(a=d(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:a,enclosingRef:ig(a)?a:r,context:i}),s)),void 0!==a&&u.push({[s]:a})}else{let t=r0(e,i.lookupFragment);if(!t&&e.kind===f.FRAGMENT_SPREAD)throw eS(107,e.name.value);t&&o.fragmentMatches(t,l)&&t.selectionSet.selections.forEach(p.add,p)}});let h={result:function(e){let t=e[0]||{},r=e.length;if(r>1){let i=new iP;for(let n=1;n<r;++n)t=i.merge(t,e[n])}return t}(u),missing:n};return h.result&&this.knownResults.set(h.result,e),h}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:r,context:i}){let n,a=new iP;function o(e,t){return e.missing&&(n=a.merge(n,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(e=>void 0===e||i.store.canRead(e))),{result:t=t.map((t,n)=>null===t?null:rY(t)?o(this.executeSubSelectedArray({field:e,array:t,enclosingRef:r,context:i}),n):e.selectionSet?o(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:ig(t)?t:r,context:i}),n):t),missing:n}}}let{toString:nx}=Object.prototype;function nw(e,t,r){let i=`${t}${r}`,n=e.flavors.get(i);return n||e.flavors.set(i,n=e.clientOnly===t&&e.deferred===r?e:{...e,clientOnly:t,deferred:r}),n}class nk{cache;reader;fragments;constructor(e,t,r){this.cache=e,this.reader=t,this.fragments=r}writeToStore(e,{query:t,result:r,dataId:i,variables:n,overwrite:a,extensions:o}){let s=e0(t),l=new iP,u={store:e,written:{},merge:(e,t)=>
1l.merge(e,t),variables:n={...rK(s),...n},varString:re(n),...iq(t,this.fragments),overwrite:!!a,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:o},c=this.processSelectionSet({result:r||{},dataId:i,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:u,path:[]});if(!ig(c))throw eS(109,r);return u.incomingById.forEach(({storeObject:t,mergeTree:r,fieldNodeSet:i},n)=>{let a=iM(n);if(r&&r.map.size){let e=this.applyMerges(r,a,t,u);if(ig(e))return;t=e}e.merge(n,t)}),e.retain(c.__ref),c}processSelectionSet({dataId:e,result:t,selectionSet:r,context:i,mergeTree:n,path:a}){let{policies:o}=this.cache,s={},l=e&&o.rootTypenamesById[e]||nT(t,r,i.fragmentMap)||e&&i.store.get(e,"__typename");"string"==typeof l&&(s.__typename=l);let u=(...e)=>{let t=nm(e,s,i.variables);if(ig(t.from)){let e=i.incomingById.get(t.from.__ref);if(e){let r=o.readField({...t,from:e.storeObject},i);if(void 0!==r)return r}}return o.readField(t,i)},c=new Set;this.flattenFields(r,t,i,l).forEach((e,r)=>{let i=t[rE(r)],d=[...a,r.name.value];if(c.add(r),void 0!==i){let t,a=o.getStoreFieldName({typename:l,fieldName:r.name.value,field:r,variables:e.variables}),c=nE(n,a),p=this.processFieldValue(i,r,r.selectionSet?nw(e,!1,!1):e,c,d);r.selectionSet&&(ig(p)||iB(p))&&(t=u("__typename",p));let h=o.getMergeFunction(l,r.name.value,t);h?c.info={field:r,typename:l,merge:h,path:d}:ed(["stream"],r)&&Array.isArray(p)&&e.extensions?.[rq]?c.info={field:r,typename:l,merge:np,path:d}:nO(n,a),s=e.merge(s,{[a]:p})}});try{let[n,a]=o.identify(t,{typename:l,selectionSet:r,fragmentMap:i.fragmentMap,storeObject:s,readField:u});e=e||n,a&&(s=i.merge(s,a))}catch(t){if(!e)throw t}if("string"==typeof e){let a=iM(e),o=i.written[e]||(i.written[e]=[]);if(o.indexOf(r)>=0||(o.push(r),this.reader&&this.reader.isFresh(t,a,r,i)))return a;let l=i.incomingById.get(e);return l?(l.storeObject=i.merge(l.storeObject,s),l.mergeTree=function e(t,r){if(t===r||!r||n_(r))return t;if(!t||n_(t))return r;let i=t.info&&r.info?{...t.info,...r.info}:t.info||r.info,n=t.map.size&&r.map.size,a={info:i,map:n?new Map:t.map.size?t.map:r.map};if(n){let i=new Set(r.map.keys());t.map.forEach((t,n)=>{a.map.set(n,e(t,r.map.get(n))),i.delete(n)}
1),i.forEach(i=>{a.map.set(i,e(r.map.get(i),t.map.get(i)))})}return a}(l.mergeTree,n),c.forEach(e=>l.fieldNodeSet.add(e))):i.incomingById.set(e,{storeObject:s,mergeTree:n_(n)?void 0:n,fieldNodeSet:c}),a}return s}processFieldValue(e,t,r,i,n){return t.selectionSet&&null!==e?rY(e)?e.map((e,a)=>{let o=this.processFieldValue(e,t,r,nE(i,a),[...n,a]);return nO(i,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i,path:n}):e}flattenFields(e,t,r,i=nT(t,e,r.fragmentMap)){let n=new Map,{policies:a}=this.cache,o=new ez(!1);return!function e(s,l){let u=o.lookup(s,l.clientOnly,l.deferred);u.visited||(u.visited=!0,s.selections.forEach(o=>{if(!r5(o,r.variables))return;let{clientOnly:s,deferred:u}=l;if(!(s&&u)&&rG(o.directives)&&o.directives.forEach(e=>{let t=e.name.value;if("client"===t&&(s=!0),"defer"===t){let t=i1(e,r.variables);t&&!1===t.if||(u=!0)}}),r2(o)){let e=n.get(o);e&&(s=s&&e.clientOnly,u=u&&e.deferred),n.set(o,nw(r,s,u))}else{let n=r0(o,r.lookupFragment);if(!n&&o.kind===f.FRAGMENT_SPREAD)throw eS(111,o.name.value);n&&a.fragmentMatches(n,i,t,r.variables)&&e(n.selectionSet,nw(r,s,u))}}))}(e,r),n}applyMerges(e,t,r,i,n){if(e.map.size&&!ig(r)){let a,o=!rY(r)&&(ig(t)||iB(t))?t:void 0,s=r;o&&!n&&(n=[ig(o)?o.__ref:o]);let l=(e,t)=>rY(e)?"number"==typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{let r=l(o,t),u=l(s,t);if(void 0===u)return;n&&n.push(t);let c=this.applyMerges(e,r,u,i,n);c!==u&&(a=a||new Map).set(t,c),n&&ew(n.pop()===t)}),a&&(r=rY(s)?s.slice(0):{...s},a.forEach((e,t)=>{r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,i,n&&i.store.getStorage(...n)):r}}let nS=[];function nE({map:e},t){return e.has(t)||e.set(t,nS.pop()||{map:new Map}),e.get(t)}function n_(e){return!e||!(e.info||e.map.size)}function nO({map:e},t){let r=e.get(t);r&&n_(r)&&(nS.push(r),e.delete(t))}function nT(e,t,r){let i;for(let r of t.selections)if(r2(r)){if("__typename"===r.name.value)return e[rE(r)]}else i?i.push(r):i=[r];if("string"==typeof e.__typename)return e.__typename;if(i)for(let t of i){let i=nT(e,r0(t,r).selectionSet,r);if("string"==typeof i)return i}}class nC extends iT{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new tO(ib);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=no;constructor(e={}){super(),this.config=function(e){return tT(iV,e)}(e),this.policies=new nh({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new iK.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new nk(this,this.storeReader=new ng({cache:this,fragments:e}),e),this.maybeBroadcastWatch=tE((e,t)=>this.broadcastWatch(e,t),{max:eF["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{let t=e.optimistic?this.optimisticData:this.data;if(i0(t)){let{optimistic:r,id:i,variables:n}=e;return t.makeCacheKey(e.query,e.callback,re({optimistic:r,id:i,variables:n}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){let{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}modify(e){if(ij.call(e,"id")&&!e.id)return!1;let t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){var t;
1return this.watches.size||(t=this,nn(t).vars.forEach(e=>e.attachCache(t))),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&na(this),this.maybeBroadcastWatch.forget(e)}}gc(e){re.reset(),r$.reset();let t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(ig(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){}}evict(e){if(!e.id){if(ij.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}reset(e){return this.init(),re.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),na(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){let t,{update:r,optimistic:i=!0,removeOptimistic:n,onWatchUpdated:a}=e,o=e=>{let{data:i,optimisticData:n}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return t=r(this)}finally{--this.txCount,this.data=i,this.optimisticData=n}},s=new Set;return a&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated:e=>(s.add(e),!1)}),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,o):!1===i?o(this.data):o(),"string"==typeof n&&(this.optimisticData=this.optimisticData.removeLayer(n)),a&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){let r=a.call(this,e,t);return!1!==r&&s.delete(e),r}}),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),t}performTransaction(e,t){return this.batch({update:e,optimistic:t||null!==t})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){let t=this.onAfterBroadcast,r=new Set;this.onAfterBroadcast=e=>{r.add(e)};try{this.watches.forEach(t=>this.maybeBroadcastWatch(t,e)),r.forEach(e=>e())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){let{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){let{lastDiff:r}=e,i=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,r)))&&(r&&ry(r.result,i.result)||e.callback(e.lastDiff=i,r))}}class nN extends e1{constructor(e={}){super((t,r)=>{let i=t.client,n=i.queryManager.clientOptions,a=t.getContext();{let{name:r,version:i,transport:o="headers"}=tT({},n.clientAwareness,e.clientAwareness,a.clientAwareness);"headers"===o&&t.setContext(({headers:e})=>({headers:tT({"apollographql-client-name":r,"apollographql-client-version":i},e)}))}{let{transport:r="extensions"}=tT({},n.enhancedClientAwareness,e.enhancedClientAwareness);"extensions"===r&&(t.extensions=tT({clientLibrary:{name:"@apollo/client",version:i.version}},t.extensions)),"headers"===r&&t.setContext(({headers:e})=>({headers:tT({"apollographql-library-name":"@apollo/client","apollographql-library-version":i.version},e)}))}return r(t)})}}function nI(e,t){return e0(e)?.operation===t}class nA extends Error{static is(e){return ri(e,"ServerError")}response;statusCode;bodyText;constructor(e,t){super(e),this.name="ServerError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,rn(this),Object.setPrototypeOf(this,nA.prototype)}}class nR extends Error{static is(e){return ri(e,"ServerParseError")}response;statusCode;bodyText;constructor(e,t){super(e instanceof Error?e.message:"Could not parse server response",{cause:e}),this.name="ServerParseError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,rn(this),Ob
1ject.setPrototypeOf(this,nR.prototype)}}let{hasOwnProperty:nD}=Object.prototype;async function*nF(e){let t,r=new TextDecoder("utf-8"),i=e.headers?.get("content-type"),n=i?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),a="\r\n--"+(n?n[1]??n[2]??n[3]??"-":"-"),o="";ew(e.body&&"function"==typeof e.body.getReader,62);let s=e.body.getReader(),l=!1,u=!1,c=()=>u&&"-"==o[0]&&"-"==o[1];try{for(;!l;){({value:t,done:l}=await s.read());let e="string"==typeof t?t:r.decode(t),i=o.length-a.length+1,n=(o+=e).indexOf(a,i);for(;n>-1&&!c();){let e;u=!0,[e,o]=[o.slice(0,n),o.slice(n+a.length)];let t=e.indexOf("\r\n\r\n"),r=function(e){let t={};return e.split("\n").forEach(e=>{let r=e.indexOf(":");if(r>-1){let i=e.slice(0,r).trim().toLowerCase(),n=e.slice(r+1).trim();t[i]=n}}),t}(e.slice(0,t))["content-type"];if(r&&-1===r.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");let i=e.slice(t);i&&(yield i),n=o.indexOf(a)}if(c())return}throw Error("premature end of multipart body")}finally{s.cancel()}}async function nP(e,t){for await(let r of nF(e)){let i=nM(e,r);if(0!=Object.keys(i).length)if(rS(i)&&"payload"in i){if(1===Object.keys(i).length&&null===i.payload)return;let e={...i.payload};
1"errors"in i&&(e.extensions={...e.extensions,[rc]:new rl(i.errors??[])}),t(e)}else t(i)}}function nM(e,t){if(e.status>=300)throw new nA(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(r){throw new nR(r,{response:e,bodyText:t})}}let nj={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},options:{method:"POST"}},nL=(e,t)=>t(e),nV=ep(()=>fetch);function nz(){}class n$ extends e1{constructor(e={}){let{uri:t="/graphql",fetch:r,print:i=nL,includeExtensions:n,preserveHeaderCase:a,useGETForQueries:o,includeUnusedVariables:s=!1,...l}=e;const u={http:tT({includeExtensions:n,preserveHeaderCase:a}),options:l.fetchOptions,credentials:l.credentials,headers:l.headers};super(e=>{var n,a;let l,c,d,p=(l=e.getContext().uri)||("function"==typeof t?t(e):t||"/graphql"),h=e.getContext(),f={...h.http};nI(e.query,"subscription")&&(f.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...f.accept||[]]);let{options:m,body:y}=function(e,t,...r){let i={},n={};r.forEach(e=>{i={...i,...e.options,headers:{...i.headers,...e.headers}},e.credentials&&(i.credentials=e.credentials),i.headers.accept=(e.http?.accept||[]).concat(i.headers.accept).join(","),n={...n,...e.http}}),i.headers=function(e,t){if(!t){let t={};
1return Object.keys(Object(e)).forEach(r=>{t[r.toLowerCase()]=e[r]}),t}let r={};Object.keys(Object(e)).forEach(t=>{r[t.toLowerCase()]={originalName:t,value:e[t]}});let i={};return Object.keys(r).forEach(e=>{i[r[e].originalName]=r[e].value}),i}(i.headers,n.preserveHeaderCase);let{operationName:a,extensions:o,variables:s,query:l}=e,u={operationName:a,variables:s};return n.includeExtensions&&Object.keys(o||{}).length&&(u.extensions=o),n.includeQuery&&(u.query=t(l,r$)),{options:i,body:u}}(e,i,nj,u,{http:f,options:h.fetchOptions,credentials:h.credentials,headers:h.headers});y.variables&&!s&&(n=y.variables,a=e.query,c={...n},d=new Set(Object.keys(n)),ec(a,{Variable(e,t,r){r&&"VariableDefinition"!==r.kind&&d.delete(e.name.value)}}),d.forEach(e=>{delete c[e]}),y.variables=c);let v=new AbortController,b=()=>{v=void 0};if(m.signal){let e=m.signal,t=()=>{v?.abort(e.reason)};e.addEventListener("abort",t,{once:!0}),b=()=>{v?.signal.removeEventListener("abort",b),v=void 0,e.removeEventListener("abort",t),b=nz},v.signal.addEventListener("abort",b,{once:!0})}return m.signal=v.signal,o&&!nI(e.query,"mutation")&&(m.method="GET"),new eA(t=>{if("GET"===m.method){let{newURI:e,parseError:t}=function(e,t){let r=[],i=(e,t)=>{r.push(`${e}=${encodeURIComponent(t)}`)};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){let e;try{e=JSON.stringify(t.variables)}catch(e){return{parseError:e}}i("variables",e)}if(t.extensions){let e;try{e=JSON.stringify(t.extensions)}catch(e){return{parseError:e}}i("extensions",e)}let n="",a=e,o=e.indexOf("#");-1!==o&&(n=e.substr(o),a=e.substr(0,o));let s=-1===a.indexOf("?")?"?":"&";return{newURI:a+s+r.join("&")+n}}(p,y);if(t)throw t;p=e}else m.body=JSON.stringify(y);let i=r||ep(()=>fetch)||nV,n=t.next.bind(t);return i(p,m).then(t=>{e.setContext({response:t});let r=t.headers?.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?nP(t,n):(t=>t.text().then(r=>{let i=function(e,t){let r=e.headers.get("content-type");if(r?.includes("application/graphql-response+json"))try{return JSON.parse(t)}catch(r){throw new nR(r,{response:e,bodyText:t})}return nM(e,t)}(t,r);if(!Array.isArray(i)&&!nD.call(i,"data")&&!nD.call(i,"errors"))throw new nA(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:t,bodyText:r});return i}))(t).then(n)}).then(()=>{b(),t.complete()}).catch(e=>{b(),t.error(e)}),()=>{v&&v.abort()}})})}}class nB extends e1{constructor(e={}){const{left:t,right:r,request:i}=e1.from([new nN(e),new n$(e)]);super(i),Object.assign(this,{left:t,right:r})}}let nq=null;var nU=e.i(32643);let nW=O.default.div.withConfig({displayName:"ContactFeedback__Wrapper",componentId:"sc-1390c3e8-0"})`
2  padding: 40px 0;
3  text-align: center;
4
5  ${({theme:e})=>e.breakpoints.up("md")} {
6    padding: 128px 0;
7  }
8
9  ${({theme:e})=>e.breakpoints.up("lg")} {
10    padding: 224px 0;
11  }
12`,nQ=O.default.h2.withConfig({displayName:"ContactFeedback__Headline",componentId:"sc-1390c3e8-1"})`
13  ${e=>e.theme.fontStyle.h2}
14  color: ${e=>e.theme.colors.main};
15  margin-bottom: 24px;
16
17  ${({theme:e})=>e.breakpoints.up("md")} {
18    margin-bottom: 40px;
19  }
20`,nK=O.default.p.withConfig({displayName:"ContactFeedback__Description",componentId:"sc-1390c3e8-2"})`
21  ${e=>e.theme.fontStyle.bodyText}
22  margin-bottom: 64px;
23`,nH=()=>(0,S.jsxs)(nW,{children:[(0,S.jsx)(nQ,{children:"Gotcha!"}),(0,S.jsxs)(nK,{children:["Keep an eye on your inbox. We'll be in touch shortly.",(0,S.jsx)("br",{}),"Meanwhile, you can explore our works."]}),(0,S.jsx)(nU.SecondaryButton,{href:"/works",children:"Works"})]});var nY=e.i(7670),nG=e.i(19130);let nJ=e.i(85661).default;var nX=e.i(52039),nZ=e.i(40799);function n0(e){let{controlled:t,default:r,name:i,state:n="value"}=e,{current:a}=_.useRef(void 0!==t),[o,s]=_.useState(r),l=_.useCallback(e=>{a||s(e)},[]);return[a?t:o,l]}let n1=_.createContext(void 0);function n2(){return _.useContext(n1)}function n5(e){try{return e.matches(":focus-visible")}catch(e){}return!1}var n4=e.i(94425),n3=e.i(19636),n6=e.i(10669);let n8=n6.default,n9={};function n7(e,t){let r=_.useRef(n9);return r.current===n9&&(r.current=e(t)),r}class ae{static create(){return new ae}static use(){let e=n7(ae.create).current,[t,r]=_.useState(!1);
23return e.shouldMount=t,e.setShouldMount=r,_.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){let e,t,r;return this.mounted||(this.mounted=((r=new Promise((r,i)=>{e=r,t=i})).resolve=e,r.reject=t,r),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var at=e.i(99105);function ar(){return(ar=Object.assign.bind()).apply(null,arguments)}var ai=e.i(19364),an=e.i(52883);function aa(e,t){var r=Object.create(null);return e&&_.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,_.isValidElement)(e)?t(e):e}),r}function ao(e,t,r){return null!=r[t]?r[t]:e.props[t]}var as=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},al=function(e){function t(t,r){var i=e.call(this,t,r)||this,n=i.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},i}(0,ai.default)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,i,n=t.children,a=t.handleExited;
23return{children:t.firstRender?aa(e.children,function(t){return(0,_.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:ao(t,"appear",e),enter:ao(t,"enter",e),exit:ao(t,"exit",e)})}):(Object.keys(i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var i,n=Object.create(null),a=[];for(var o in e)o in t?a.length&&(n[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(n[l])for(i=0;i<n[l].length;i++){var u=n[l][i];s[n[l][i]]=r(u)}s[l]=r(l)}for(i=0;i<a.length;i++)s[a[i]]=r(a[i]);return s}(n,r=aa(e.children))).forEach(function(t){var o=i[t];if((0,_.isValidElement)(o)){var s=t in n,l=t in r,u=n[t],c=(0,_.isValidElement)(u)&&!u.props.in;l&&(!s||c)?i[t]=(0,_.cloneElement)(o,{onExited:a.bind(null,o),in:!0,exit:ao(o,"exit",e),enter:ao(o,"enter",e)}):l||!s||c?l&&s&&(0,_.isValidElement)(u)&&(i[t]=(0,_.cloneElement)(o,{onExited:a.bind(null,o),in:u.props.in,exit:ao(o,"exit",e),enter:ao(o,"enter",e)})):i[t]=(0,_.cloneElement)(o,{in:!1})}}),i),firstRender:!1}},r.handleExited=function(e,t){var r=aa(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=ar({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,at.default)(e,["component","childFactory"]),n=this.state.contextValue,a=as(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?_.default.createElement(an.default.Provider,{value:n},a):_.default.createElement(an.default.Provider,{value:n},_.default.createElement(t,i,a))},t}(_.default.Component);al.propTypes={},al.defaultProps={component:"div",childFactory:function(e){return e}};let au=[];class ac{static create(){return new ac}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function ad(){var e;let t=n7(ac.create).current;return e=t.disposeEffect,_.useEffect(e,au),t}var ap=e.i(84364),ah=e.i(40672);let af=(0,ah.default)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),am=ap.keyframes`
24  0% {
25    transform: scale(0);
26    opacity: 0.1;
27  }
28
29  100% {
30    transform: scale(1);
31    opacity: 0.3;
32  }
33`,ay=ap.keyframes`
34  0% {
35    opacity: 1;
36  }
37
38  100% {
39    opacity: 0;
40  }
41`,av=ap.keyframes`
42  0% {
43    transform: scale(1);
44  }
45
46  50% {
47    transform: scale(0.92);
48  }
49
50  100% {
51    transform: scale(1);
52  }
53`,ab=(0,nZ.styled)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ag=(0,nZ.styled)(function(e){let{className:t,classes:r,pulsate:i=!1,rippleX:n,rippleY:a,rippleSize:o,in:s,onExited:l,timeout:u}=e,[c,d]=_.useState(!1),p=(0,nY.default)(t,r.ripple,r.rippleVisible,i&&r.ripplePulsate),h=(0,nY.default)(r.child,c&&r.childLeaving,i&&r.childPulsate);return s||c||d(!0),_.useEffect(()=>{if(!s&&null!=l){let e=setTimeout(l,u);return()=>{clearTimeout(e)}}},[l,s,u]),(0,S.jsx)("span",{className:p,style:{width:o,height:o,top:-(o/2)+a,left:-(o/2)+n},children:(0,S.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})`
54  opacity: 0;
55  position: absolute;
56
57  &.${af.rippleVisible} {
58    opacity: 0.3;
59    transform: scale(1);
60    animation-name: ${am};
61    animation-duration: ${550}ms;
62    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
63  }
64
65  &.${af.ripplePulsate} {
66    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
67  }
68
69  & .${af.child} {
70    opacity: 1;
71    display: block;
72    width: 100%;
73    height: 100%;
74    border-radius: 50%;
75    background-color: currentColor;
76  }
77
78  & .${af.childLeaving} {
79    opacity: 0;
80    animation-name: ${ay};
81    animation-duration: ${550}ms;
82    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
83  }
84
85  & .${af.childPulsate} {
86    position: absolute;
87    /* @noflip */
88    left: 0px;
89    top: 0;
90    animation-name: ${av};
91    animation-duration: 2500ms;
92    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
93    animation-iteration-count: infinite;
94    animation-delay: 200ms;
95  }
96`,ax=_.forwardRef(function(e,t){let{center:r=!1,classes:i={},className:n,...a}=(0,n4.useDefaultProps)({props:e,name:"MuiTouchRipple"}),[o,s]=_.useState([]),l=_.useRef(0),u=_.useRef(null);_.useEffect(()=>{u.current&&(u.current(),u.current=null)},[o]);let c=_.useRef(!1),d=ad(),p=_.useRef(null),h=_.useRef(null),f=_.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:o}=e;s(e=>[...e,(0,S.jsx)(ag,{classes:{ripple:(0,nY.default)(i.ripple,af.ripple),rippleVisible:(0,nY.default)(i.rippleVisible,af.rippleVisible),ripplePulsate:(0,nY.default)(i.ripplePulsate,af.ripplePulsate),
96child:(0,nY.default)(i.child,af.child),childLeaving:(0,nY.default)(i.childLeaving,af.childLeaving),childPulsate:(0,nY.default)(i.childPulsate,af.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},l.current)]),l.current+=1,u.current=o},[i]),m=_.useCallback((e={},t={},i=()=>{})=>{let n,a,o,{pulsate:s=!1,center:l=r||t.pulsate,fakeElement:u=!1}=t;if(e?.type==="mousedown"&&c.current){c.current=!1;return}e?.type==="touchstart"&&(c.current=!0);let m=u?null:h.current,y=m?m.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-y.left),a=Math.round(r-y.top)}else n=Math.round(y.width/2),a=Math.round(y.height/2);l?(o=Math.sqrt((2*y.width**2+y.height**2)/3))%2==0&&(o+=1):o=Math.sqrt((2*Math.max(Math.abs((m?m.clientWidth:0)-n),n)+2)**2+(2*Math.max(Math.abs((m?m.clientHeight:0)-a),a)+2)**2),e?.touches?null===p.current&&(p.current=()=>{f({pulsate:s,rippleX:n,rippleY:a,rippleSize:o,cb:i})},d.start(80,()=>{p.current&&(p.current(),p.current=null)})):f({pulsate:s,rippleX:n,rippleY:a,rippleSize:o,cb:i})},[r,f,d]),y=_.useCallback(()=>{m({},{pulsate:!0})},[m]),v=_.useCallback((e,t)=>{if(d.clear(),e?.type==="touchend"&&p.current){p.current(),p.current=null,d.start(0,()=>{v(e,t)});return}p.current=null,s(e=>e.length>0?e.slice(1):e),u.current=t},[d]);return _.useImperativeHandle(t,()=>({pulsate:y,start:m,stop:v}),[y,m,v]),(0,S.jsx)(ab,{className:(0,nY.default)(af.root,i.root,n),ref:h,...a,children:(0,S.jsx)(al,{component:null,exit:!0,children:o})})});var aw=e.i(19727);function ak(e){return(0,aw.default)("MuiButtonBase",e)}let aS=(0,ah.default)("MuiButtonBase",["root","disabled","focusVisible"]),aE=(0,nZ.styled)("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${aS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),a_=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:n=!1,children:a,className:o,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,focusVisibleClassName:p,LinkComponent:h="a",onBlur:f,onClick:m,onContextMenu:y,onDragLeave:v,onFocus:b,onFocusVisible:g,onKeyDown:x,onKeyUp:w,onMouseDown:k,onMouseLeave:E,onMouseUp:O,onTouchEnd:T,onTouchMove:C,onTouchStart:N,tabIndex:I=0,TouchRippleProps:A,touchRippleRef:R,type:D,...F}=r,P=_.useRef(null),M=ae.use(),j=(0,n3.default)(M.ref,R),[L,V]=_.useState(!1);l&&L&&V(!1),_.useImperativeHandle(i,()=>({focusVisible:()=>{V(!0),P.current.focus()}}),[]);let z=M.shouldMount&&!u&&!l;_.useEffect(()=>{L&&d&&!u&&M.pulsate()},[u,d,L,M]);let $=aO(M,"start",k,c),B=aO(M,"stop",y,c),q=aO(M,"stop",v,c),U=aO(M,"stop",O,c),W=aO(M,"stop",e=>{L&&e.preventDefault(),E&&E(e)},c),Q=aO(M,"start",N,c),K=aO(M,"stop",T,c),H=aO(M,"stop",C,c),Y=aO(M,"stop",e=>{n5(e.target)||V(!1),f&&f(e)},!1),G=n8(e=>{P.current||(P.current=e.currentTarget),n5(e.target)&&(V(!0),g&&g(e)),b&&b(e)}),J=()=>{let e=P.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},X=n8(e=>{d&&!e.repeat&&L&&" "===e.key&&M.stop(e,()=>{M.start(e)}),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!l&&(e.preventDefault(),m&&m(e))}),Z=n8(e=>{d&&" "===e.key&&L&&!e.defaultPrevented&&M.stop(e,()=>{M.pulsate(e)}),w&&w(e),m&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&m(e)}),ee=s;"button"===ee&&(F.href||F.to)&&(ee=h);let et={};if("button"===ee){let e=!!F.formAction;et.type=void 0!==D||e?D:"button",et.disabled=l}else F.href||F.to||(et.role="button"),l&&(et["aria-disabled"]=l);let er=(0,n3.default)(t,P),ei={...r,centerRipple:n,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:I,focusVisible:L},en=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:i,classes:n}=e,a=(0,nG.default)({root:["root",t&&"disabled",r&&"focusVisible"]},ak,n);return r&&i&&(a.root+=` ${i}`),a})(ei);return(0,S.jsxs)(aE,{as:ee,className:(0,nY.default)(en.root,o),ownerState:ei,onBlur:Y,onClick:m,onContextMenu:B,onFocus:G,onKeyDown:X,onKeyUp:Z,onMouseDown:$,onMouseLeave:W,onMouseUp:U,onDragLeave:q,onTouchEnd:K,onTouchMove:H,onTouchStart:Q,ref:er,tabIndex:l?-1:I,type:D,...et,...F,children:[a,z?(0,S.jsx)(ax,{ref:j,center:n,...A}):null]})});function aO(e,t,r,i=!1){return n8(n=>(r&&r(n),i||e[t](n),!0))}function aT(e){return(0,aw.default)("PrivateSwitchBase",e)}(0,ah.default)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var aC=e.i(48106);let aN=(0,nZ.styled)(a_,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),aI=(0,nZ.styled)("input",{name:"MuiSwitchBase",shouldForwardProp:nX.default})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),aA=_.forwardRef(function(e,t){let{autoFocus:r,checked:i,checkedIcon:n,defaultChecked:a,disabled:o,disableFocusRipple:s=!1,edge:l=!1,icon:u,id:c,inputProps:d,inputRef:p,name:h,onBlur:f,onChange:m,onFocus:y,readOnly:v,required:b=!1,tabIndex:g,type:x,value:w,slots:k={},slotProps:E={},..._}=e,[O,T]=n0({controlled:i,default:!!a,name:"SwitchBase",state:"checked"}),C=n2(),N=o;C&&void 0===N&&(N=C.disabled);let I="checkbox"===x||"radio"===x,A={...e,checked:O,disabled:N,disableFocusRipple:s,edge:l},R=(e=>{let{classes:t,checked:r,disabled:i,edge:n}=e,a={root:["root",r&&"checked",i&&"disabled",n&&`edge${nJ(n)}`],input:["input"]};return(0,nG.default)(a,aT,t)})(A),D={slots:k,slotProps:{input:d,...E}},[F,P]=(0,aC.default)("root",{ref:t,elementType:aN,className:R.root,shouldForwardComponentProp:!0,externalForwardedProps:{...D,component:"span",..._},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),y&&y(t),C&&C.onFocus&&C.onFocus(t)},onBlur:t=>{e.onBlur?.(t),f&&f(t),C&&C.onBlur&&C.onBlur(t)}}),ownerState:A,additionalProps:{centerRipple:!0,focusRipple:!s,role:void 0,tabIndex:null}}),[M,j]=(0,aC.default)("input",{ref:p,elementType:aI,className:R.input,externalForwardedProps:D,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented||v)return;let t=e.target.checked;T(t),m&&m(e,t)})(t)}}),ownerState:A,additionalProps:{autoFocus:r,checked:i,defaultChecked:a,disabled:N,id:I?c:void 0,name:h,readOnly:v,required:b,tabIndex:g,type:x,..."checkbox"===x&&void 0===w?{}:{value:w}}});return(0,S.jsxs)(F,{...P,children:[(0,S.jsx)(M,{...j}),O?n:u]})});var aR=e.i(75149);function aD(e){return(0,aw.default)("MuiSvgIcon",e)}(0,ah.default)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);let aF=(0,nZ.styled)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${nJ(r.color)}`],t[`fontSize${nJ(r.fontSize)}`]]}})((0,aR.default)(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),aP=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiSvgIcon"}),{children:i,className:n,color:a="inherit",component:o="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24",...p}=r,h=_.isValidElement(i)&&"svg"===i.type,f={...r,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:h},m={};u||(m.viewBox=d);let y=(e=>{let{color:t,fontSize:r,classes:i}=e,n={root:["root","inherit"!==t&&`color${nJ(t)}`,`fontSize${nJ(r)}`]};return(0,nG.default)(n,aD,i)})(f);return(0,S.jsxs)(aF,{as:o,className:(0,nY.default)(y.root,n),focusable:"false",color:l,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t,...m,...p,...h&&i.props,ownerState:f,children:[h?i.props.children:i,c?(0,S.jsx)("title",{children:c}):null]})});function aM(e,t){function r(t,r){return(0,S.jsx)(aP,{"data-testid":void 0,ref:r,...t,children:e})}return r.muiName=aP.muiName,_.memo(_.forwardRef(r))}aP.muiName="SvgIcon";let aj=aM((0,S.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),aL=aM((0,S.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),aV=aM((0,S.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function az(e){return(0,aw.default)("MuiCheckbox",e)}let a$=(0,ah.default)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);function aB(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function aq(e,t){if(!e)return t;function r(e,t){let r={};return Object.keys(t).forEach(i=>
96{var n;let a;n=t[i],a=i.charCodeAt(2),"o"===i[0]&&"n"===i[1]&&a>=65&&a<=90&&"function"==typeof n&&"function"==typeof e[i]&&(r[i]=(...r)=>{e[i](...r),t[i](...r)})}),r}if("function"==typeof e||"function"==typeof t)return i=>{let n="function"==typeof t?t(i):t,a="function"==typeof e?e({...i,...n}):e,o=(0,nY.default)(i?.className,n?.className,a?.className),s=r(a,n);return{...n,...a,...s,...!!o&&{className:o},...n?.style&&a?.style&&{style:{...n.style,...a.style}},...n?.sx&&a?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let i=r(e,t),n=(0,nY.default)(t?.className,e?.className);return{...t,...e,...i,...!!n&&{className:n},...t?.style&&e?.style&&{style:{...t.style,...e.style}},...t?.sx&&e?.sx&&{sx:[...Array.isArray(t.sx)?t.sx:[t.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}let aU=(0,nZ.styled)(aA,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${nJ(r.size)}`],"default"!==r.color&&t[`color${nJ(r.color)}`]]}})((0,aR.default)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{[`&.${a$.checked}, &.${a$.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${a$.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),aW=(0,S.jsx)(aL,{}),aQ=(0,S.jsx)(aj,{}),aK=(0,S.jsx)(aV,{}),aH=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=aW,color:n="primary",icon:a=aQ,indeterminate:o=!1,indeterminateIcon:s=aK,inputProps:l,size:u="medium",disableRipple:c=!1,className:d,slots:p={},slotProps:h={},...f}=r,m=o?s:a,y=o?s:i,v={...r,disableRipple:c,color:n,indeterminate:o,size:u},b=(e=>{let{classes:t,indeterminate:r,color:i,size:n}=e,a={root:["root",r&&"indeterminate",`color${nJ(i)}`,`size${nJ(n)}`]},o=(0,nG.default)(a,az,t);return{...t,...o}})(v),g=h.input??l,[x,w]=(0,aC.default)("root",{ref:t,elementType:aU,className:(0,nY.default)(b.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:p,slotProps:h,...f},ownerState:v,additionalProps:{type:"checkbox",icon:_.cloneElement(m,{fontSize:m.props.fontSize??u}),checkedIcon:_.cloneElement(y,{fontSize:y.props.fontSize??u}),disableRipple:c,slots:p,slotProps:{input:aq("function"==typeof g?g(v):g,{"data-indeterminate":o})}}});return(0,S.jsx)(x,{...w,classes:b})});function aY(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function aG(e,t=!1){return e&&(aY(e.value)&&""!==e.value||t&&aY(e.defaultValue)&&""!==e.defaultValue)}let aJ=e.i(46051).default;function aX(e){return(0,aw.default)("MuiFormControl",e)}(0,ah.default)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);let aZ=(0,nZ.styled)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`margin${nJ(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),a0=_.forwardRef(function(e,t){let r,i=(0,n4.useDefaultProps)({props:e,name:"MuiFormControl"}),{children:n,className:a,color:o="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:p=!1,margin:h="none",required:f=!1,size:m="medium",variant:y="outlined",...v}=i,b={...i,color:o,component:s,disabled:l,error:u,fullWidth:d,hiddenLabel:p,margin:h,required:f,size:m,variant:y},g=(e=>{let{classes:t,margin:r,fullWidth:i}=e,n={root:["root","none"!==r&&`margin${nJ(r)}`,i&&"fullWidth"]};return(0,nG.default)(n,aX,t)})(b),[x,w]=_.useState(()=>{let e=!1;
96return n&&_.Children.forEach(n,t=>{if(!aJ(t,["Input","Select"]))return;let r=aJ(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)}),e}),[k,E]=_.useState(()=>{let e=!1;return n&&_.Children.forEach(n,t=>{aJ(t,["Input","Select"])&&(aG(t.props,!0)||aG(t.props.inputProps,!0))&&(e=!0)}),e}),[O,T]=_.useState(!1);l&&O&&T(!1);let C=void 0===c||l?O:c;_.useRef(!1);let N=_.useCallback(()=>{E(!0)},[]),I=_.useCallback(()=>{E(!1)},[]),A=_.useMemo(()=>({adornedStart:x,setAdornedStart:w,color:o,disabled:l,error:u,filled:k,focused:C,fullWidth:d,hiddenLabel:p,size:m,onBlur:()=>{T(!1)},onFocus:()=>{T(!0)},onEmpty:I,onFilled:N,registerEffect:r,required:f,variant:y}),[x,o,l,u,k,C,d,p,r,I,N,f,m,y]);return(0,S.jsx)(n1.Provider,{value:A,children:(0,S.jsx)(aZ,{as:s,ownerState:b,className:(0,nY.default)(g.root,a),ref:t,...v,children:n})})});var a1=e.i(39416);e.i(54469);var a2=e.i(73852),a2=a2,a5=e.i(40158),a4=e.i(2001);let a3=function(e){return(0,S.jsx)(a2.default,{...e,defaultTheme:a5.default,themeId:a4.default})};function a6(e){return(0,aw.default)("MuiTypography",e)}(0,ah.default)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);let a8={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},a9=a1.extendSxProp,a7=(0,nZ.styled)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${nJ(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,aR.default)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${nJ(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),oe={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ot=_.forwardRef(function(e,t){let{color:r,...i}=(0,n4.useDefaultProps)({props:e,name:"MuiTypography"}),n=!a8[r],a=a9({...i,...n&&{color:r}}),{align:o="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:p="body1",variantMapping:h=oe,...f}=a,m={...a,align:o,color:r,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:p,variantMapping:h},y=l||(d?"p":h[p]||oe[p])||"span",v=(e=>{let{align:t,gutterBottom:r,noWrap:i,paragraph:n,variant:a,classes:o}=e,s={root:["root",a,"inherit"!==e.align&&`align${nJ(t)}`,r&&"gutterBottom",i&&"noWrap",n&&"paragraph"]};return(0,nG.default)(s,a6,o)})(m);return(0,S.jsx)(a7,{as:y,ref:t,className:(0,nY.default)(v.root,s),...f,ownerState:m,style:{..."inherit"!==o&&{"--Typography-textAlign":o},...f.style}})});function or(e){return(0,aw.default)("MuiFormControlLabel",e)}let oi=(0,ah.default)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function on({props:e,states:t,muiFormControl:r}){return t.reduce((t,i)=>(t[i]=e[i],r&&void 0===e[i]&&(t[i]=r[i]),t),{})}let oa=(0,nZ.styled)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${oi.label}`]:t.label},t.root,t[`labelPlacement${nJ(r.labelPlacement)}`]]}})((0,aR.default)(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${oi.disabled}`]:{cursor:"default"},[`& .${oi.label}`]:{[`&.${oi.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}
96))),oo=(0,nZ.styled)("span",{name:"MuiFormControlLabel",slot:"Asterisk"})((0,aR.default)(({theme:e})=>({[`&.${oi.error}`]:{color:(e.vars||e).palette.error.main}}))),os=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiFormControlLabel"}),{checked:i,className:n,componentsProps:a={},control:o,disabled:s,disableTypography:l,inputRef:u,label:c,labelPlacement:d="end",name:p,onChange:h,required:f,slots:m={},slotProps:y={},value:v,...b}=r,g=n2(),x=s??o.props.disabled??g?.disabled,w=f??o.props.required,k={disabled:x,required:w};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===o.props[e]&&void 0!==r[e]&&(k[e]=r[e])});let E=on({props:r,muiFormControl:g,states:["error"]}),O={...r,disabled:x,labelPlacement:d,required:w,error:E.error},T=(e=>{let{classes:t,disabled:r,labelPlacement:i,error:n,required:a}=e,o={root:["root",r&&"disabled",`labelPlacement${nJ(i)}`,n&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",n&&"error"]};return(0,nG.default)(o,or,t)})(O),C={slots:m,slotProps:{...a,...y}},[N,I]=(0,aC.default)("typography",{elementType:ot,externalForwardedProps:C,ownerState:O}),A=c;return null==A||A.type===ot||l||(A=(0,S.jsx)(N,{component:"span",...I,className:(0,nY.default)(T.label,I?.className),children:A})),(0,S.jsxs)(oa,{className:(0,nY.default)(T.root,n),ownerState:O,ref:t,...b,children:[_.cloneElement(o,k),w?(0,S.jsxs)("div",{children:[A,(0,S.jsxs)(oo,{ownerState:O,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}):A]})});function ol(e){return(0,aw.default)("MuiFormGroup",e)}(0,ah.default)("MuiFormGroup",["root","row","error"]);let ou=(0,nZ.styled)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),oc=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiFormGroup"}),{className:i,row:n=!1,...a}=r,o=on({props:r,muiFormControl:n2(),states:["error"]}),s={...r,row:n,error:o.error},l=(e=>{let{classes:t,row:r,error:i}=e;return(0,nG.default)({root:["root",r&&"row",i&&"error"]},ol,t)})(s);return(0,S.jsx)(ou,{className:(0,nY.default)(l.root,i),ownerState:s,ref:t,...a})});function od(e){return(0,aw.default)("MuiFormHelperText",e)}let op=(0,ah.default)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),oh=(0,nZ.styled)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${nJ(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((0,aR.default)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${op.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${op.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),of=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiFormHelperText"}),{children:i,className:n,component:a="p",disabled:o,error:s,filled:l,focused:u,margin:c,required:d,variant:p,...h}=r,f=on({props:r,muiFormControl:n2(),states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:a,contained:"filled"===f.variant||"outlined"===f.variant,variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required};delete m.ownerState;let y=(e=>{let{classes:t,contained:r,size:i,disabled:n,error:a,filled:o,focused:s,required:l}=e,u={root:["root",n&&"disabled",a&&"error",i&&`size${nJ(i)}`,r&&"contained",s&&"focused",o&&"filled",l&&"required"]};return(0,nG.default)(u,od,t)})(m);return(0,S.jsx)(oh,{as:a,className:(0,nY.default)(y.root,n),ref:t,...h,ownerState:m,children:" "===i?v||(v=(0,S.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):i})});var om=e.i(68308),oy=e.i(81908),ov=e.i(81713),ob=e.i(23821),og=e.i(52590);let ox=function(e){let{elementType:t,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:n=!1,...a}=e,o=n?{}:(0,og.default)(r,i),{props:s,internalRef:l}=(0,ob.default)({...a,externalSlotProps:o}),u=(0,oy.default)(l,o?.ref,e.additionalProps?.ref);return(0,ov.default)(t,{...s,ref:u},i)};var ow=e.i(93224),ok=e.i(13714),oS=e.i(7558);let oE={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var o_=e.i(13635),oO=e.i(77539);function oT(e,t,r,i,n){return 1===r?Math.min(e+t,n):Math.max(e-t,i)}function oC(e,t){return e-t}function oN(e,t){let{index:r}=e.reduce((e,r,i)=>{let n=Math.abs(t-r);return null===e||n<e.distance||n===e.distance?{distance:n,index:i}:e},null)??{};return r}function oI(e,t){if(void 0!==t.current&&e.changedTouches){for(let r=0;r<e.changedTouches.length;r+=1){let i=e.changedTouches[r];if(i.identifier===t.current)return{x:i.clientX,y:i.clientY}}return!1}return{x:e.clientX,y:e.clientY}}
96function oA({values:e,newValue:t,index:r}){let i=e.slice();return i[r]=t,i.sort(oC)}function oR({sliderRef:e,activeIndex:t,setActive:r}){let i=(0,ok.default)(e.current);e.current?.contains(i.activeElement)&&Number(i?.activeElement?.getAttribute("data-index"))===t||e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),r&&r(t)}function oD(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,i)=>r(e,t[i]))}(e,t)}let oF={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},oP=e=>e;function oM(){return void 0===n&&(n=!("u">typeof CSS)||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),n}var oj=e.i(98077);function oL(e){return(0,aw.default)("MuiSlider",e)}let oV=(0,ah.default)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);function oz(e){return e}let o$=(0,nZ.styled)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`color${nJ(r.color)}`],"medium"!==r.size&&t[`size${nJ(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})((0,aR.default)(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${oV.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${oV.dragging}`]:{[`& .${oV.thumb}, & .${oV.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),oB=(0,nZ.styled)("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),oq=(0,nZ.styled)("span",{name:"MuiSlider",slot:"Track"})((0,aR.default)(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),oU=(0,nZ.styled)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.thumb,t[`thumbColor${nJ(r.color)}`],"medium"!==r.size&&t[`thumbSize${nJ(r.size)}`]]}})((0,aR.default)(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,he
96ight:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${oV.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${oV.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${oV.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),oW=(0,nZ.styled)(function(e){let{children:t,className:r,value:i}=e,n=(e=>{let{open:t}=e;return{offset:(0,nY.default)(t&&oV.valueLabelOpen),circle:oV.valueLabelCircle,label:oV.valueLabelLabel}})(e);return t?_.cloneElement(t,{className:t.props.className},(0,S.jsxs)(_.Fragment,{children:[t.props.children,(0,S.jsx)("span",{className:(0,nY.default)(n.offset,r),"aria-hidden":!0,children:(0,S.jsx)("span",{className:n.circle,children:(0,S.jsx)("span",{className:n.label,children:i})})})]})):null},{name:"MuiSlider",slot:"ValueLabel"})((0,aR.default)(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${oV.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${oV.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),oQ=(0,nZ.styled)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,oj.default)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{let{markActive:r}=e;return[t.mark,r&&t.markActive]}})((0,aR.default)(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),oK=(0,nZ.styled)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,oj.default)(e)&&"markLabelActive"!==e})((0,aR.default)(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),oH=({children:e})=>e,oY=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiSlider"}),i=(0,om.useRtl)(),{"aria-label":n,"aria-valuetext":a,"aria-labelledby":o,component:s="span",components:l={},componentsProps:u={},color:c="primary",classes:d,className:p,disableSwap:h=!1,disabled:f=!1,getAriaLabel:m,getAriaValueText:y,marks:v=!1,max:b=100,min:g=0,name:x,onChange:w,onChangeCommitted:k,orientation:E="horizontal",shiftStep:O=10,size:T="medium",step:C=1,scale:N=oz,slotProps:I,slots:A,tabIndex:R,track:D="normal",value:F,valueLabelDisplay:P="off",valueLabelFormat:M=oz,...j}=r,L={...r,isRtl:i,max:b,min:g,classes:d,disabled:f,disableSwap:h,orientation:E,marks:v,color:c,size:T,step:C,shiftStep:O,scale:N,track:D,valueLabelDisplay:P,valueLabelFormat:M},{axisProps:V,getRootProps:z,getHiddenInputProps:$,getThumbProps:B,open:q,active:U,axis:W,focusedThumbIndex:Q,range:K,dragging:H,marks:Y,values:G,trackOffset:J,trackLeap:X,getThumbStyle:Z}=function(e){let t,{"aria-labelledby":r,defaultValue:i,disabled:n=!1,disableSwap:a=!1,isRtl:o=!1,marks:s=!1,max:l=100,min:u=0,name:c,onChange:d,onChangeCommitted:p,orientation:h="horizontal",rootRef:f,scale:m=oP,step:y=1,shiftStep:v=10,tabIndex:b,value:g}=e,x=_.useRef(void 0),[w,k]=_.useState(-1),[S,E]=_.useState(-1),[O,T]=_.useState(!1),C=_.useRef(0),N=_.useRef(null),[I,A]=n0({controlled:g,default:i??u,name:"Slider"}),R=d&&((e,t,r)=>{let i=e.nativeEvent||e,n=new i.constructor(i.type,i);Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:c}}),N.current=t,d(n,t,r)}),D=Array.isArray(I),F=D?I.slice().sort(oC):[I];F=F.map(e=>null==e?u:(0,o_.default)(e,u,l));let P=!0===s&&null!==y?[...Array(Math.floor((l-u)/y)+1)].map((e,t)=>({value:u+y*t})):s||[],M=P.map(e=>e.value),[j,L]=_.useState(-1),V=_.useRef(null),z=(0,oy.default)(f,V),$=(e,t)=>{let r=Number(e.currentTarget.getAttribute("data-index")),i=F[r],n=M.indexOf(i),o=t;if(P&&null==y){let e=M[M.length-1];o=o>=e?e:o<=M[0]?M[0]:o<i?M[n-1]:M[n+1]}if(o=(0,o_.default)(o,u,l),D){a&&(o=(0,o_.default)(o,F[r-1]||-1/0,F[r+1]||1/0));let e=o;o=oA({values:F,newValue:o,index:r});let t=r;a||(t=o.indexOf(e)),oR({sliderRef:V,activeIndex:t})}A(o),L(r),R&&!oD(o,I)&&R(e,o,r),p&&p(e,N.current??o)};(0,oS.default)(()=>{n&&V.current.contains(document.activeElement)&&document.activeElement?.blur()},[n]),n&&-1!==w&&k(-1),n&&-1!==j&&L(-1);let B=_.useRef(void 0),q=h;o&&"horizontal"===h&&(q+="-reverse");let U=({finger:e,move:t=!1})=>
96{let r,i,{current:n}=V,{width:o,height:s,bottom:c,left:d}=n.getBoundingClientRect();if(r=q.startsWith("vertical")?(c-e.y)/s:(e.x-d)/o,q.includes("-reverse")&&(r=1-r),i=(l-u)*r+u,y)i=Number((Math.round((i-u)/y)*y+u).toFixed(function(e){if(1>Math.abs(e)){let t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}(y)));else{let e=oN(M,i);i=M[e]}i=(0,o_.default)(i,u,l);let p=0;if(D){p=t?B.current:oN(F,i),a&&(i=(0,o_.default)(i,F[p-1]||-1/0,F[p+1]||1/0));let e=i;i=oA({values:F,newValue:i,index:p}),a&&t||(B.current=p=i.indexOf(e))}return{newValue:i,activeIndex:p}},W=(0,n6.default)(e=>{let t=oI(e,x);if(!t)return;if(C.current+=1,"mousemove"===e.type&&0===e.buttons)return void Q(e);let{newValue:r,activeIndex:i}=U({finger:t,move:!0});oR({sliderRef:V,activeIndex:i,setActive:k}),A(r),!O&&C.current>2&&T(!0),R&&!oD(r,I)&&R(e,r,i)}),Q=(0,n6.default)(e=>{let t=oI(e,x);if(T(!1),!t)return;let{newValue:r}=U({finger:t,move:!0});k(-1),"touchend"===e.type&&E(-1),p&&p(e,N.current??r),x.current=void 0,H()}),K=(0,n6.default)(e=>{if(n)return;oM()||e.preventDefault();let t=e.changedTouches[0];null!=t&&(x.current=t.identifier);let r=oI(e,x);if(!1!==r){let{newValue:t,activeIndex:i}=U({finger:r});oR({sliderRef:V,activeIndex:i,setActive:k}),A(t),R&&!oD(t,I)&&R(e,t,i)}C.current=0;let i=(0,ok.default)(V.current);i.addEventListener("touchmove",W,{passive:!0}),i.addEventListener("touchend",Q,{passive:!0})}),H=_.useCallback(()=>{let e=(0,ok.default)(V.current);e.removeEventListener("mousemove",W),e.removeEventListener("mouseup",Q),e.removeEventListener("touchmove",W),e.removeEventListener("touchend",Q)},[Q,W]);_.useEffect(()=>{let{current:e}=V;return e.addEventListener("touchstart",K,{passive:oM()}),()=>{e.removeEventListener("touchstart",K),H()}},[H,K]),_.useEffect(()=>{n&&H()},[n,H]);let Y=((D?F[0]:u)-u)*100/(l-u),G=(F[F.length-1]-u)*100/(l-u)-Y;return"vertical"===h&&(t=o?"vertical-rl":"vertical-lr"),{active:w,axis:q,axisProps:oF,dragging:O,focusedThumbIndex:j,getHiddenInputProps:(i={})=>{let a,s,d,p,f=(0,oO.default)(i),g={onChange:(a=f||{},e=>{a.onChange?.(e),$(e,e.target.valueAsNumber)}),onFocus:(s=f||{},e=>{let t=Number(e.currentTarget.getAttribute("data-index"));n5(e.target)&&L(t),E(t),s?.onFocus?.(e)}),onBlur:(d=f||{},e=>{n5(e.target)||L(-1),E(-1),d?.onBlur?.(e)}),onKeyDown:(p=f||{},e=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(e.key)){e.preventDefault();let t=F[Number(e.currentTarget.getAttribute("data-index"))],r=null;if(null!=y){let i=e.shiftKey?v:y;switch(e.key){case"ArrowUp":r=oT(t,i,1,u,l);break;case"ArrowRight":r=oT(t,i,o?-1:1,u,l);break;case"ArrowDown":r=oT(t,i,-1,u,l);break;case"ArrowLeft":r=oT(t,i,o?1:-1,u,l);break;case"PageUp":r=oT(t,v,1,u,l);break;case"PageDown":r=oT(t,v,-1,u,l);break;case"Home":r=u;break;case"End":r=l}}else if(P){let i=M[M.length-1],n=M.indexOf(t);[o?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"].includes(e.key)?r=0===n?M[0]:M[n-1]:[o?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"].includes(e.key)&&(r=n===M.length-1?i:M[n+1])}null!=r&&$(e,r)}p?.onKeyDown?.(e)})},x={...f,...g};return{tabIndex:b,"aria-labelledby":r,"aria-orientation":h,"aria-valuemax":m(l),"aria-valuemin":m(u),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:n,...i,...x,style:{...oE,direction:o?"rtl":"ltr",width:"100%",height:"100%",writingMode:t}}},getRootProps:(e={})=>{let t,r=(0,oO.default)(e),i={onMouseDown:(t=r||{},e=>{if(t.onMouseDown?.(e),n||e.defaultPrevented||0!==e.button)return;e.preventDefault();let r=oI(e,x);if(!1!==r){let{newValue:t,activeIndex:i}=U({finger:r});oR({sliderRef:V,activeIndex:i,setActive:k}),A(t),R&&!oD(t,I)&&R(e,t,i)}C.current=0;let i=(0,ok.default)(V.current);i.addEventListener("mousemove",W,{passive:!0}),i.addEventListener("mouseup",Q)})},a={...r,...i};return{...e,ref:z,...a}},getThumbProps:(e={})=>{let t,r,i=(0,oO.default)(e),n={onMouseOver:(t=i||{},e=>{t.onMouseOver?.(e),E(Number(e.currentTarget.getAttribute("data-index")))}),onMouseLeave:(r=i||{},e=>{r.onMouseLeave?.(e),E(-1)})};return{...e,...i,...n}},marks:P,open:S,range:D,rootRef:z,trackLeap:G,trackOffset:Y,values:F,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}({...L,rootRef:t});L.marked=Y.length>0&&Y.some(e=>e.label),L.dragging=H,L.focusedThumbIndex=Q;let ee=(e=>{let{disabled:t,dragging:r,marked:i,orientation:n,track:a,classes:o,color:s,size:l}=e,u={root:["root",t&&"disabled",r&&"dragging",i&&"marked","vertical"===n&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",s&&`color${nJ(s)}`,l&&`size${nJ(l)}
96`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${nJ(l)}`,s&&`thumbColor${nJ(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,nG.default)(u,oL,o)})(L),et=A?.root??l.Root??o$,er=A?.rail??l.Rail??oB,ei=A?.track??l.Track??oq,en=A?.thumb??l.Thumb??oU,ea=A?.valueLabel??l.ValueLabel??oW,eo=A?.mark??l.Mark??oQ,es=A?.markLabel??l.MarkLabel??oK,el=A?.input??l.Input??"input",eu=I?.root??u.root,ec=I?.rail??u.rail,ed=I?.track??u.track,ep=I?.thumb??u.thumb,eh=I?.valueLabel??u.valueLabel,ef=I?.mark??u.mark,em=I?.markLabel??u.markLabel,ey=I?.input??u.input,ev=ox({elementType:et,getSlotProps:z,externalSlotProps:eu,externalForwardedProps:j,additionalProps:{...(!et||!(0,ow.default)(et))&&{as:s}},ownerState:{...L,...eu?.ownerState},className:[ee.root,p]}),eb=ox({elementType:er,externalSlotProps:ec,ownerState:L,className:ee.rail}),eg=ox({elementType:ei,externalSlotProps:ed,additionalProps:{style:{...V[W].offset(J),...V[W].leap(X)}},ownerState:{...L,...ed?.ownerState},className:ee.track}),ex=ox({elementType:en,getSlotProps:B,externalSlotProps:ep,ownerState:{...L,...ep?.ownerState},className:ee.thumb}),ew=ox({elementType:ea,externalSlotProps:eh,ownerState:{...L,...eh?.ownerState},className:ee.valueLabel}),ek=ox({elementType:eo,externalSlotProps:ef,ownerState:L,className:ee.mark}),eS=ox({elementType:es,externalSlotProps:em,ownerState:L,className:ee.markLabel}),eE=ox({elementType:el,getSlotProps:$,externalSlotProps:ey,ownerState:L});return(0,S.jsxs)(et,{...ev,children:[(0,S.jsx)(er,{...eb}),(0,S.jsx)(ei,{...eg}),Y.filter(e=>e.value>=g&&e.value<=b).map((e,t)=>{let r,i=(e.value-g)*100/(b-g),n=V[W].offset(i);return r=!1===D?G.includes(e.value):"normal"===D&&(K?e.value>=G[0]&&e.value<=G[G.length-1]:e.value<=G[0])||"inverted"===D&&(K?e.value<=G[0]||e.value>=G[G.length-1]:e.value>=G[0]),(0,S.jsxs)(_.Fragment,{children:[(0,S.jsx)(eo,{"data-index":t,...ek,...!(0,ow.default)(eo)&&{markActive:r},style:{...n,...ek.style},className:(0,nY.default)(ek.className,r&&ee.markActive)}),null!=e.label?(0,S.jsx)(es,{"aria-hidden":!0,"data-index":t,...eS,...!(0,ow.default)(es)&&{markLabelActive:r},style:{...n,...eS.style},className:(0,nY.default)(ee.markLabel,eS.className,r&&ee.markLabelActive),children:e.label}):null]},t)}),G.map((e,t)=>{let r=(e-g)*100/(b-g),i=V[W].offset(r),s="off"===P?oH:ea;return(0,S.jsx)(s,{...!(0,ow.default)(s)&&{valueLabelFormat:M,valueLabelDisplay:P,value:"function"==typeof M?M(N(e),t):M,index:t,open:q===t||U===t||"on"===P,disabled:f},...ew,children:(0,S.jsx)(en,{"data-index":t,...ex,className:(0,nY.default)(ee.thumb,ex.className,U===t&&ee.active,Q===t&&ee.focusVisible),style:{...i,...Z(t),...ex.style},children:(0,S.jsx)(el,{"data-index":t,"aria-label":m?m(t):n,"aria-valuenow":N(e),"aria-labelledby":o,"aria-valuetext":y?y(N(e),t):a,value:G[t],...eE})})},t)})]})});var oG=e.i(57242),oJ=e.i(76423),oX=e.i(61214);function oZ(e,t=166){let r;function i(...n){let a=()=>{e.apply(this,n)};clearTimeout(r),r=setTimeout(a,t)}return i.clear=()=>{clearTimeout(r)},i}var o0=e.i(10031);function o1(e){return parseInt(e,10)||0}let o2={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function o5(e){return function(e){for(let t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}let o4=_.forwardRef(function(e,t){let{onChange:r,maxRows:i,minRows:n=1,style:a,value:o,...s}=e,{current:l}=_.useRef(null!=o),u=_.useRef(null),c=(0,oy.default)(t,u),d=_.useRef(null),p=_.useRef(null),h=_.useCallback(()=>{let t=u.current,r=p.current;if(!t||!r)return;let a=(0,o0.default)(t).getComputedStyle(t);if("0px"===a.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=a.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let o=a.boxSizing,s=o1(a.paddingBottom)+o1(a.paddingTop),l=o1(a.borderBottomWidth)+o1(a.borderTopWidth),c=r.scrollHeight;r.value="x";let d=r.scrollHeight,h=c;return n&&(h=Math.max(Number(n)*d,h)),i&&(h=Math.min(Number(i)*d,h)),{outerHeightStyle:(h=Math.max(h,d))+("border-box"===o?s+l:0),overflowing:1>=Math.abs(h-c)}},[i,n,e.placeholder]),f=(0,n6.default)(()=>{let e=u.current,t=h();if(!e||!t||o5(t))return!1;let r=t.outerHeightStyle;return null!=d.current&&d.current!==r}),m=_.useCallback(()=>{let e=u.current,t=h();if(!e||!t||o5(t))return;let r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[h]),y=_.useRef(-1);return(0,oS.default)(()=>{let e,t=oZ(m),r=u?.current;if(!r)return;let i=(0,o0.default)(r);return i.addEventListener("resize",t),"u">typeof ResizeObserver&&(e=new ResizeObserver(()=>{f()&&(e.unobserve(r),cancelAnimationFrame(y.current),m(),y.current=requestAnimationFrame(()=>{e.observe(r)}))})).observe(r),()=>{t.clear(),cancelAnimationFrame(y.current),i.removeEventListener("resize",t),e&&e.disconnect()}},[h,m,f]),(0,oS.default)(()=>{m()}),(0,S.jsxs)(_.Fragment,{children:[(0,S.jsx)("textarea",{value:o,onChange:e=>{l||m();let t=e.target,i=t.value.length,n=t.value.endsWith("\n"),a=t.selectionStart===i;
96n&&a&&t.setSelectionRange(i,i),r&&r(e)},ref:c,rows:n,style:a,...s}),(0,S.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:{...o2,...a,paddingTop:0,paddingBottom:0}})]})}),o3=oS.default;function o6(e){return(0,aw.default)("MuiInputBase",e)}let o8=(0,ah.default)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),o9=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${nJ(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},o7=(e,t)=>{let{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},se=(0,nZ.styled)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:o9})((0,aR.default)(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${o8.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),st=(0,nZ.styled)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:o7})((0,aR.default)(({theme:e})=>{let t="light"===e.palette.mode,r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},i={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${o8.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${o8.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),sr=(u={"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}},function(e){return(0,S.jsx)(a3,{styles:"function"==typeof u?t=>u({theme:t,...e}):u})}),si=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:n,autoFocus:a,className:o,color:s,components:l={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:h,error:f,fullWidth:m=!1,id:y,inputComponent:v="input",inputProps:g={},inputRef:x,margin:w,maxRows:k,minRows:E,multiline:O=!1,name:T,onBlur:C,onChange:N,onClick:I,onFocus:A,onKeyDown:R,onKeyUp:D,placeholder:F,readOnly:P,renderSuffix:M,rows:j,size:L,slotProps:V={},slots:z={},startAdornment:$,type:B="text",value:q,...U}=r,W=null!=g.value?g.value:q,{current:Q}=_.useRef(null!=W),K=_.useRef(),H=_.useCallback(e=>{},[]),Y=(0,n3.default)(K,x,g.ref,H),[G,J]=_.useState(!1),X=n2(),Z=on({props:r,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Z.focused=X?X.focused:G,_.useEffect(()=>{!X&&d&&G&&(J(!1),C&&C())},[X,d,G,C]);let ee=X&&X.onFilled,et=X&&X.onEmpty,er=_.useCallback(e=>{aG(e)?ee&&ee():et&&et()},[ee,et]);o3(()=>{Q&&er({value:W})},[W,er,Q]),_.useEffect(()=>{er(K.current)},[]);let ei=v,en=g;
96O&&"input"===ei&&(en=j?{type:void 0,minRows:j,maxRows:j,...en}:{type:void 0,maxRows:k,minRows:E,...en},ei=o4),_.useEffect(()=>{X&&X.setAdornedStart(!!$)},[X,$]);let ea={...r,color:Z.color||"primary",disabled:Z.disabled,endAdornment:h,error:Z.error,focused:Z.focused,formControl:X,fullWidth:m,hiddenLabel:Z.hiddenLabel,multiline:O,size:Z.size,startAdornment:$,type:B},eo=(e=>{let{classes:t,color:r,disabled:i,error:n,endAdornment:a,focused:o,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:h,type:f}=e,m={root:["root",`color${nJ(r)}`,i&&"disabled",n&&"error",l&&"fullWidth",o&&"focused",s&&"formControl",p&&"medium"!==p&&`size${nJ(p)}`,c&&"multiline",h&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",i&&"disabled","search"===f&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,nG.default)(m,o6,t)})(ea),es=z.root||l.Root||se,el=V.root||u.root||{},eu=z.input||l.Input||st;return en={...en,...V.input??u.input},(0,S.jsxs)(_.Fragment,{children:[!p&&"function"==typeof sr&&(b||(b=(0,S.jsx)(sr,{}))),(0,S.jsxs)(es,{...el,ref:t,onClick:e=>{K.current&&e.currentTarget===e.target&&K.current.focus(),I&&I(e)},...U,...!(0,ow.default)(es)&&{ownerState:{...ea,...el.ownerState}},className:(0,nY.default)(eo.root,el.className,o,P&&"MuiInputBase-readOnly"),children:[$,(0,S.jsx)(n1.Provider,{value:null,children:(0,S.jsx)(eu,{"aria-invalid":Z.error,"aria-describedby":i,autoComplete:n,autoFocus:a,defaultValue:c,disabled:Z.disabled,id:y,onAnimationStart:e=>{er("mui-auto-fill-cancel"===e.animationName?K.current:{value:"x"})},name:T,placeholder:F,readOnly:P,required:Z.required,rows:j,value:W,onKeyDown:R,onKeyUp:D,type:B,...en,...!(0,ow.default)(eu)&&{as:ei,ownerState:{...ea,...en.ownerState}},ref:Y,className:(0,nY.default)(eo.input,en.className,P&&"MuiInputBase-readOnly"),onBlur:e=>{C&&C(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):J(!1)},onChange:(e,...t)=>{if(!Q){let t=e.target||K.current;if(null==t)throw Error((0,oX.default)(1));er({value:t.value})}g.onChange&&g.onChange(e,...t),N&&N(e,...t)},onFocus:e=>{A&&A(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):J(!0)}})}),h,M?M({...Z,startAdornment:$}):null]})]})});function sn(e){return(0,aw.default)("MuiInput",e)}let sa={...o8,...(0,ah.default)("MuiInput",["root","underline","input"])},so=(0,nZ.styled)(se,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...o9(e,t),!r.disableUnderline&&t.underline]}})((0,aR.default)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${sa.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${sa.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${sa.disabled}, .${sa.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${sa.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),ss=(0,nZ.styled)(st,{name:"MuiInput",slot:"Input",overridesResolver:o7})({}),sl=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiInput"}),{disableUnderline:i=!1,components:n={},componentsProps:a,fullWidth:o=!1,inputComponent:s="input",multiline:l=!1,slotProps:u,slots:c={}
96,type:d="text",...p}=r,h=(e=>{let{classes:t,disableUnderline:r}=e,i=(0,nG.default)({root:["root",!r&&"underline"],input:["input"]},sn,t);return{...t,...i}})(r),f={root:{ownerState:{disableUnderline:i}}},m=u??a?(0,oJ.default)(u??a,f):f,y=c.root??n.Root??so,v=c.input??n.Input??ss;return(0,S.jsx)(si,{slots:{root:y,input:v},slotProps:m,fullWidth:o,inputComponent:s,multiline:l,ref:t,type:d,...p,classes:h})});function su(e){return(0,aw.default)("MuiFilledInput",e)}sl.muiName="Input";let sc={...o8,...(0,ah.default)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},sd=(0,nZ.styled)(se,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...o9(e,t),!r.disableUnderline&&t.underline]}})((0,aR.default)(({theme:e})=>{let t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${sc.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${sc.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${sc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${sc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${sc.disabled}, .${sc.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${sc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),sp=(0,nZ.styled)(st,{name:"MuiFilledInput",slot:"Input",overridesResolver:o7})((0,aR.default)(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),sh=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:n={},componentsProps:a,fullWidth:o=!1,hiddenLabel:s,inputComponent:l="input",multiline:u=!1,slotProps:c,slots:d={},type:p="text",...h}=r,f={...r,disableUnderline:i,fullWidth:o,inputComponent:l,multiline:u,type:p},m=(e=>{let{classes:t,disableUnderline:r,startAdornment:i,endAdornment:n,size:a,hiddenLabel:o,multiline:s}
96=e,l={root:["root",!r&&"underline",i&&"adornedStart",n&&"adornedEnd","small"===a&&`size${nJ(a)}`,o&&"hiddenLabel",s&&"multiline"],input:["input"]},u=(0,nG.default)(l,su,t);return{...t,...u}})(r),y={root:{ownerState:f},input:{ownerState:f}},v=c??a?(0,oJ.default)(y,c??a):y,b=d.root??n.Root??sd,g=d.input??n.Input??sp;return(0,S.jsx)(si,{slots:{root:b,input:g},slotProps:v,fullWidth:o,inputComponent:l,multiline:u,ref:t,type:p,...h,classes:m})});sh.muiName="Input";let sf=(0,nZ.styled)("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:nX.default})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),sm=(0,nZ.styled)("legend",{name:"MuiNotchedOutlined",shouldForwardProp:nX.default})((0,aR.default)(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function sy(e){return(0,aw.default)("MuiOutlinedInput",e)}let sv={...o8,...(0,ah.default)("MuiOutlinedInput",["root","notchedOutline","input"])},sb=(0,nZ.styled)(se,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:o9})((0,aR.default)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${sv.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${sv.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${sv.focused} .${sv.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{[`&.${sv.focused} .${sv.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${sv.error} .${sv.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${sv.disabled} .${sv.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),sg=(0,nZ.styled)(function(e){let{children:t,classes:r,className:i,label:n,notched:a,...o}=e,s=null!=n&&""!==n,l={...e,notched:a,withLabel:s};return(0,S.jsx)(sf,{"aria-hidden":!0,className:i,ownerState:l,...o,children:(0,S.jsx)(sm,{ownerState:l,children:s?(0,S.jsx)("span",{children:n}):g||(g=(0,S.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})((0,aR.default)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),sx=(0,nZ.styled)(st,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:o7})((0,aR.default)(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),sw=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:n=!1,inputComponent:a="input",label:o,multiline:s=!1,notched:l,slots:u={},slotProps:c={},type:d="text",...p}=r,h=(e=>{let{classes:t}=e,r=(0,nG.default)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},sy,t);return{...t,...r}})(r),f=n2(),m=on({props:r,muiFormControl:f,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),y={...r,color:m.color||"primary",disabled:m.disabled,error:m.error,focused:m.focused,formControl:f,fullWidth:n,hiddenLabel:m.hiddenLabel,multiline:s,size:m.size,type:d},v=u.root??i.Root??sb,b=u.input??i.Input??sx,[g,x]=(0,aC.default)("notchedOutline",{elementType:sg,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:y,externalForwardedProps:{slots:u,slotProps:c},additionalProps:{label:null!=o&&""!==o&&m.required?(0,S.jsxs)(_.Fragment,{children:[o," ","*"]}):o}});return(0,S.jsx)(si,{slots:{root:v,input:b},slotProps:c,renderSuffix:e=>(0,S.jsx)(g,{...x,notched:void 0!==l?l:!!(e.startAdornment||e.filled||e.focused)}),fullWidth:n,inputComponent:a,multiline:s,ref:t,type:d,...p,classes:{...h,notchedOutline:null}})});function sk(e){return(0,aw.default)("MuiFormLabel",e)}sw.muiName="Input";let sS=(0,ah.default)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),sE=(0,nZ.styled)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})((0,aR.default)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(aB()).map(([t])=>({props:{color:t},style:{[`&.${sS.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${sS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${sS.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),s_=(0,nZ.styled)("span",{name:"MuiFormLabel",slot:"Asterisk"})((0,aR.default)(({theme:e})=>({[`&.${sS.error}`]:{color:(e.vars||e).palette.error.main}}))),sO=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiFormLabel"}),{children:i,className:n,color:a,component:o="label",disabled:s,error:l,filled:u,focused:c,required:d,...p}=r,h=on({props:r,muiFormControl:n2(),states:["color","required","focused","disabled","error","filled"]}),f={...r,color:h.color||"primary",component:o,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required},m=(e=>{let{classes:t,color:r,focused:i,disabled:n,error:a,filled:o,required:s}=e,l={root:["root",`color${nJ(r)}`,n&&"disabled",a&&"error",o&&"filled",i&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return(0,nG.default)(l,sk,t)})(f);return(0,S.jsxs)(sE,{as:o,ownerState:f,className:(0,nY.default)(m.root,n),ref:t,...p,children:[i,h.required&&(0,S.jsxs)(s_,{ownerState:f,"aria-hidden":!0,
96className:m.asterisk,children:[" ","*"]})]})});function sT(e){return(0,aw.default)("MuiInputLabel",e)}(0,ah.default)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);let sC=(0,nZ.styled)(sO,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${sS.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((0,aR.default)(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:r})=>"filled"===e&&t.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),sN=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,margin:n,shrink:a,variant:o,className:s,...l}=r,u=n2(),c=a;void 0===c&&u&&(c=u.filled||u.focused||u.adornedStart);let d=on({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),p={...r,disableAnimation:i,formControl:u,shrink:c,size:d.size,variant:d.variant,required:d.required,focused:d.focused},h=(e=>{let{classes:t,formControl:r,size:i,shrink:n,disableAnimation:a,variant:o,required:s}=e,l={root:["root",r&&"formControl",!a&&"animated",n&&"shrink",i&&"medium"!==i&&`size${nJ(i)}`,o],asterisk:[s&&"asterisk"]},u=(0,nG.default)(l,sT,t);return{...t,...u}})(p);return(0,S.jsx)(sC,{"data-shrink":c,ref:t,className:(0,nY.default)(h.root,s),...l,ownerState:p,classes:h})});var sI=e.i(52174);let sA=ok.default,sR=_.createContext({});function sD(e){return(0,aw.default)("MuiList",e)}(0,ah.default)("MuiList",["root","padding","dense","subheader"]);let sF=(0,nZ.styled)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),sP=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiList"}),{children:i,className:n,component:a="ul",dense:o=!1,disablePadding:s=!1,subheader:l,...u}=r,c=_.useMemo(()=>({dense:o}),[o]),d={...r,component:a,dense:o,disablePadding:s},p=(e=>{let{classes:t,disablePadding:r,dense:i,subheader:n}=e;return(0,nG.default)({root:["root",!r&&"padding",i&&"dense",n&&"subheader"]},sD,t)}
96)(d);return(0,S.jsx)(sR.Provider,{value:c,children:(0,S.jsxs)(sF,{as:a,className:(0,nY.default)(p.root,n),ref:t,ownerState:d,...u,children:[l,i]})})});var sM=e.i(69012);let sj=e.i(10891).default,sL=o0.default;function sV(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function sz(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function s$(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),0!==(r=r.trim().toLowerCase()).length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function sB(e,t,r,i,n,a){let o=!1,s=n(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=!i&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&s$(s,a)&&!t)return s.focus(),!0;s=n(e,s,r)}return!1}let sq=_.forwardRef(function(e,t){let{actions:r,autoFocus:i=!1,autoFocusItem:n=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:u,variant:c="selectedMenu",...d}=e,p=_.useRef(null),h=_.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});o3(()=>
96{i&&p.current.focus()},[i]),_.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let r=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&r){let r=`${sj(sL(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,p.current.style.width=`calc(100% + ${r})`}return p.current}}),[]);let f=(0,n3.default)(p,t),m=-1;_.Children.forEach(a,(e,t)=>{if(!_.isValidElement(e)){m===t&&(m+=1)>=a.length&&(m=-1);return}e.props.disabled||("selectedMenu"===c&&e.props.selected?m=t:-1===m&&(m=t)),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1)>=a.length&&(m=-1)});let y=_.Children.map(a,(e,t)=>{if(t===m){let t={};return n&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),_.cloneElement(e,t)}return e});return(0,S.jsx)(sP,{role:"menu",ref:f,className:o,onKeyDown:e=>{let t=p.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey){u&&u(e);return}let i=(0,sM.default)(sA(t));if("ArrowDown"===r)e.preventDefault(),sB(t,i,l,s,sV);else if("ArrowUp"===r)e.preventDefault(),sB(t,i,l,s,sz);else if("Home"===r)e.preventDefault(),sB(t,null,l,s,sV);else if("End"===r)e.preventDefault(),sB(t,null,l,s,sz);else if(1===r.length){let n=h.current,a=r.toLowerCase(),o=performance.now();n.keys.length>0&&(o-n.lastTime>500?(n.keys=[],n.repeating=!0,n.previousKeyMatched=!0):n.repeating&&a!==n.keys[0]&&(n.repeating=!1)),n.lastTime=o,n.keys.push(a);let l=i&&!n.repeating&&s$(i,n);n.previousKeyMatched&&(l||sB(t,i,!1,s,sV,n))?e.preventDefault():n.previousKeyMatched=!1}u&&u(e)},tabIndex:i?0:-1,...d,children:y})});var sU=e.i(6586),sW=e.i(10557),sQ=e.i(1226);function sK(e){return`scale(${e}, ${e**2})`}let sH={entering:{opacity:1,transform:sK(1)},entered:{opacity:1,transform:"none"}},sY="u">typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sG=_.forwardRef(function(e,t){let{addEndListener:r,appear:i=!0,children:n,easing:a,in:o,onEnter:s,onEntered:l,onEntering:u,onExit:c,onExited:d,onExiting:p,style:h,timeout:f="auto",TransitionComponent:m=sU.Transition,...y}=e,v=ad(),b=_.useRef(),g=(0,sW.useTheme)(),x=_.useRef(null),w=(0,n3.default)(x,(0,sI.default)(n),t),k=e=>t=>{if(e){let r=x.current;void 0===t?e(r):e(r,t)}},E=k(u),O=k((e,t)=>{let r;(0,sQ.reflow)(e);let{duration:i,delay:n,easing:o}=(0,sQ.getTransitionProps)({style:h,timeout:f,easing:a},{mode:"enter"});"auto"===f?b.current=r=g.transitions.getAutoHeightDuration(e.clientHeight):r=i,e.style.transition=[g.transitions.create("opacity",{duration:r,delay:n}),g.transitions.create("transform",{duration:sY?r:.666*r,delay:n,easing:o})].join(","),s&&s(e,t)}),T=k(l),C=k(p),N=k(e=>{let t,{duration:r,delay:i,easing:n}=(0,sQ.getTransitionProps)({style:h,timeout:f,easing:a},{mode:"exit"});"auto"===f?b.current=t=g.transitions.getAutoHeightDuration(e.clientHeight):t=r,e.style.transition=[g.transitions.create("opacity",{duration:t,delay:i}),g.transitions.create("transform",{duration:sY?t:.666*t,delay:sY?i:i||.333*t,easing:n})].join(","),e.style.opacity=0,e.style.transform=sK(.75),c&&c(e)}),I=k(d);return(0,S.jsx)(m,{appear:i,in:o,nodeRef:x,onEnter:O,onEntered:T,onEntering:E,onExit:N,onExited:I,onExiting:C,addEndListener:e=>{"auto"===f&&v.start(b.current||0,e),r&&r(x.current,e)},timeout:"auto"===f?null:f,...y,children:(e,{ownerState:t,...r})=>_.cloneElement(n,{style:{opacity:0,transform:sK(.75),visibility:"exited"!==e||o?void 0:"hidden",...sH[e],...h,...n.props.style},ref:w,...r})})});sG&&(sG.muiSupportAuto=!0);var sJ=e.i(18005),sX=e.i(67239),sZ=e.i(54841);function s0(e){return(0,aw.default)("MuiPaper",e)}(0,ah.default)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);let s1=(0,nZ.styled)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;
96return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((0,aR.default)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),s2=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiPaper"}),i=(0,sW.useTheme)(),{className:n,component:a="div",elevation:o=1,square:s=!1,variant:l="elevation",...u}=r,c={...r,component:a,elevation:o,square:s,variant:l},d=(e=>{let{square:t,elevation:r,variant:i,classes:n}=e,a={root:["root",i,!t&&"rounded","elevation"===i&&`elevation${r}`]};return(0,nG.default)(a,s0,n)})(c);return(0,S.jsx)(s1,{as:a,ownerState:c,className:(0,nY.default)(d.root,n),ref:t,...u,style:{..."elevation"===l&&{"--Paper-shadow":(i.vars||i).shadows[o],...i.vars&&{"--Paper-overlay":i.vars.overlays?.[o]},...!i.vars&&"dark"===i.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,sX.alpha)("#fff",(0,sZ.default)(o))}, ${(0,sX.alpha)("#fff",(0,sZ.default)(o))})`}},...u.style}})});function s5(e){return(0,aw.default)("MuiPopover",e)}function s4(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function s3(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function s6(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function s8(e){return"function"==typeof e?e():e}(0,ah.default)("MuiPopover",["root","paper"]);let s9=(0,nZ.styled)(sJ.default,{name:"MuiPopover",slot:"Root"})({}),s7=(0,nZ.styled)(s2,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),le=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiPopover"}),{action:i,anchorEl:n,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:o,anchorReference:s="anchorEl",children:l,className:u,container:c,elevation:d=8,marginThreshold:p=16,open:h,PaperProps:f={},slots:m={},slotProps:y={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:b,transitionDuration:g="auto",TransitionProps:x={},disableScrollLock:w=!1,...k}=r,E=_.useRef(),O={...r,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:p,transformOrigin:v,TransitionComponent:b,transitionDuration:g,TransitionProps:x},T=(e=>{let{classes:t}=e;return(0,nG.default)({root:["root"],paper:["paper"]},s5,t)})(O),C=_.useCallback(()=>{if("anchorPosition"===s)return o;let e=s8(n),t=(e&&1===e.nodeType?e:sA(E.current).body).getBoundingClientRect();return{top:t.top+s4(t,a.vertical),left:t.left+s3(t,a.horizontal)}},[n,a.horizontal,a.vertical,o,s]),N=_.useCallback(e=>({vertical:s4(e,v.vertical),horizontal:s3(e,v.horizontal)}),[v.horizontal,v.vertical]),I=_.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},r=N(t);if("none"===s)return{top:null,left:null,transformOrigin:s6(r)};let i=C(),a=i.top-r.vertical,o=i.left-r.horizontal,l=a+t.height,u=o+t.width,c=sL(s8(n)),d=c.innerHeight-p,h=c.innerWidth-p;if(null!==p&&a<p){let e=a-p;a-=e,r.vertical+=e}else if(null!==p&&l>d){let e=l-d;a-=e,r.vertical+=e}if(null!==p&&o<p){let e=o-p;o-=e,r.horizontal+=e}else if(u>h){let e=u-h;o-=e,r.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:s6(r)}},[n,s,C,N,p]),[A,R]=_.useState(h),D=_.useCallback(()=>{let e=E.current;if(!e)return;let t=I(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,R(!0)},[I]);_.useEffect(()=>(w&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[n,w,D]),_.useEffect(()=>{h&&D()}),_.useImperativeHandle(i,()=>h?{updatePosition:()=>{D()}}:null,[h,D]),_.useEffect(()=>{if(!h)return;let e=oZ(()=>{D()}),t=sL(s8(n));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[n,h,D]);let F=g,P={slots:{transition:b,...m},slotProps:{transition:x,paper:f,...y}},[M,j]=(0,aC.default)("transition",{elementType:sG,externalForwardedProps:P,ownerState:O,getSlotProps:e=>({...e,onEntering:(t,r)=>{e.onEntering?.(t,r),D()},onExited:t=>{e.onExited?.(t),R(!1)}}),additionalProps:{appear:!0,in:h}});"auto"!==g||M.muiSupportAuto||(F=void 0);let L=c||(n?sA(s8(n)).body:void 0),[V,{slots:z,slotProps:$,...B}]=(0,aC.default)("root",{ref:t,elementType:s9,externalForwardedProps:{...P,...k},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:m.backdrop},slotProps:{backdrop:aq("function"==typeof y.backdrop?y.backdrop(O):y.backdrop,{invisible:!0})},container:L,open:h},ownerState:O,className:(0,nY.default)(T.root,u)}),[q,U]=(0,aC.default)("paper",{ref:E,className:T.paper,elementType:s7,externalForwardedProps:P,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:A?void 0:{opacity:0}
96},ownerState:O});return(0,S.jsx)(V,{...B,...!(0,ow.default)(V)&&{slots:z,slotProps:$,disableScrollLock:w},children:(0,S.jsx)(M,{...j,timeout:F,children:(0,S.jsx)(q,{...U,children:l})})})});function lt(e){return(0,aw.default)("MuiMenu",e)}(0,ah.default)("MuiMenu",["root","paper","list"]);let lr={vertical:"top",horizontal:"right"},li={vertical:"top",horizontal:"left"},ln=(0,nZ.styled)(le,{shouldForwardProp:e=>(0,nX.default)(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),la=(0,nZ.styled)(s7,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),lo=(0,nZ.styled)(sq,{name:"MuiMenu",slot:"List"})({outline:0}),ls=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:n,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:l,open:u,PaperProps:c={},PopoverClasses:d,transitionDuration:p="auto",TransitionProps:{onEntering:h,...f}={},variant:m="selectedMenu",slots:y={},slotProps:v={},...b}=r,g=(0,om.useRtl)(),x={...r,autoFocus:i,disableAutoFocusItem:o,MenuListProps:s,onEntering:h,PaperProps:c,transitionDuration:p,TransitionProps:f,variant:m},w=(e=>{let{classes:t}=e;return(0,nG.default)({root:["root"],paper:["paper"],list:["list"]},lt,t)})(x),k=i&&!o&&u,E=_.useRef(null),O=-1;_.Children.map(n,(e,t)=>{_.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected?O=t:-1===O&&(O=t)))});let T={slots:y,slotProps:{list:s,transition:f,paper:c,...v}},C=ox({elementType:y.root,externalSlotProps:v.root,ownerState:x,className:[w.root,a]}),[N,I]=(0,aC.default)("paper",{className:w.paper,elementType:la,externalForwardedProps:T,shouldForwardComponentProp:!0,ownerState:x}),[A,R]=(0,aC.default)("list",{className:(0,nY.default)(w.list,s.className),elementType:lo,shouldForwardComponentProp:!0,externalForwardedProps:T,getSlotProps:e=>({...e,onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),l&&l(t,"tabKeyDown")),e.onKeyDown?.(t)}}),ownerState:x}),D="function"==typeof T.slotProps.transition?T.slotProps.transition(x):T.slotProps.transition;return(0,S.jsx)(ln,{onClose:l,anchorOrigin:{vertical:"bottom",horizontal:g?"right":"left"},transformOrigin:g?lr:li,slots:{root:y.root,paper:N,backdrop:y.backdrop,...y.transition&&{transition:y.transition}},slotProps:{root:C,paper:I,backdrop:"function"==typeof v.backdrop?v.backdrop(x):v.backdrop,transition:{...D,onEntering:(...e)=>{((e,t)=>{E.current&&E.current.adjustStyleForScrollbar(e,{direction:g?"rtl":"ltr"}),h&&h(e,t)})(...e),D?.onEntering?.(...e)}}},open:u,ref:t,transitionDuration:p,ownerState:x,...b,classes:d,children:(0,S.jsx)(A,{actions:E,autoFocus:i&&(-1===O||o),autoFocusItem:k,variant:m,...R,children:n})})});function ll(e){return(0,aw.default)("MuiNativeSelect",e)}let lu=(0,ah.default)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),lc=(0,nZ.styled)("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${lu.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),ld=(0,nZ.styled)(lc,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:nX.default,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${lu.multiple}`]:t.multiple}]}})({}),lp=(0,nZ.styled)("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${lu.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),lh=(0,nZ.styled)(lp,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${nJ(r.variant)}`],r.open&&t.iconOpen]}})({}),lf=_.forwardRef(function(e,t){let{className:r,disabled:i,error:n,IconComponent:a,inputRef:o,variant:s="standard",...l}=e,u={...e,disabled:i,variant:s,error:n},c=(e=>{let{classes:t,variant:r,disabled:i,multiple:n,open:a,error:o}=e,s={select:["select",r,i&&"disabled",n&&"multiple",o&&"error"],icon:["icon",`icon${nJ(r)}`,a&&"iconOpen",i&&"disabled"]};return(0,nG.default)(s,ll,t)})(u);return(0,S.jsxs)(_.Fragment,{children:[(0,S.jsx)(ld,{ownerState:u,className:(0,nY.default)(c.select,r),disabled:i,ref:o||t,...l}),e.multiple?null:(0,S.jsx)(lh,{as:a,ownerState:u,className:c.icon})]})});function lm(e){return(0,aw.default)("MuiSelect",e)}let ly=(0,ah.default)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),lv=(0,nZ.styled)(lc,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`&.${ly.select}`]:t.select},{[`&.${ly.select}`]:t[r.variant]},{[`&.${ly.error}`]:t.error},{[`&.${ly.multiple}`]:t.multiple}]}})({[`&.${ly.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),lb=(0,nZ.styled)(lp,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${nJ(r.variant)}`],r.open&&t.iconOpen]}})({}),lg=(0,nZ.styled)("input",{shouldForwardProp:e=>(0,oj.default)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function lx(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}let lw=_.forwardRef(function(e,t){var r;let i,n,{"aria-describedby":a,"aria-label":o,autoFocus:s,autoWidth:l,children:u,className:c,defaultOpen:d,defaultValue:p,disabled:h,displayEmpty:f,error:m=!1,IconComponent:y,inputRef:v,labelId:b,MenuProps:g={},multiple:w,name:k,onBlur:E,onChange:O,onClose:T,onFocus:C,onKeyDown:N,onMouseDown:I,onOpen:A,open:R,readOnly:D,renderValue:F,required:P,SelectDisplayProps:M={},tabIndex:j,type:L,value:V,variant:z="standard",...$}=e,[B,q]=n0({controlled:V,default:p,name:"Select"}),[U,W]=n0({controlled:R,default:d,name:"Select"}),Q=_.useRef(null),K=_.useRef(null),[H,Y]=_.useState(null),{current:G}=_.useRef(null!=R),[J,X]=_.useState(),Z=(0,n3.default)(t,v),ee=_.useCallback(e=>{K.current=e,e&&Y(e)},[]),et=H?.parentNode;_.useImperativeHandle(Z,()=>({focus:()=>{K.current.focus()}
96,node:Q.current,value:B}),[B]);let er=null!==H&&U;_.useEffect(()=>{if(!er||!et||l||"u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>{X(et.clientWidth)});return e.observe(et),()=>{e.disconnect()}},[er,et,l]),_.useEffect(()=>{d&&U&&H&&!G&&(X(l?null:et.clientWidth),K.current.focus())},[H,l]),_.useEffect(()=>{s&&K.current.focus()},[s]),_.useEffect(()=>{if(!b)return;let e=sA(K.current).getElementById(b);if(e){let t=()=>{getSelection().isCollapsed&&K.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[b]);let ei=(e,t)=>{e?A&&A(t):T&&T(t),G||(X(l?null:et.clientWidth),W(e))},en=_.Children.toArray(u);delete $["aria-invalid"];let ea=[],eo=!1;(aG({value:B})||f)&&(F?i=F(B):eo=!0);let es=en.map(e=>{let t;if(!_.isValidElement(e))return null;if(w){if(!Array.isArray(B))throw Error((0,oX.default)(2));(t=B.some(t=>lx(t,e.props.value)))&&eo&&ea.push(e.props.children)}else(t=lx(B,e.props.value))&&eo&&(n=e.props.children);return _.cloneElement(e,{"aria-selected":t?"true":"false",onClick:t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(w){r=Array.isArray(B)?B.slice():[];let t=B.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),B!==r&&(q(r),O)){let i=t.nativeEvent||t,n=new i.constructor(i.type,i);Object.defineProperty(n,"target",{writable:!0,value:{value:r,name:k}}),O(n,e)}w||ei(!1,t)}},onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});eo&&(i=w?0===ea.length?null:ea.reduce((e,t,r)=>(e.push(t),r<ea.length-1&&e.push(", "),e),[]):n);let el=J;!l&&G&&H&&(el=et.clientWidth);let eu=M.id||(k?`mui-component-select-${k}`:void 0),ec={...e,variant:z,value:B,open:er,error:m},ed=(e=>{let{classes:t,variant:r,disabled:i,multiple:n,open:a,error:o}=e,s={select:["select",r,i&&"disabled",n&&"multiple",o&&"error"],icon:["icon",`icon${nJ(r)}`,a&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return(0,nG.default)(s,lm,t)})(ec),ep={...g.PaperProps,..."function"==typeof g.slotProps?.paper?g.slotProps.paper(ec):g.slotProps?.paper},eh={...g.MenuListProps,..."function"==typeof g.slotProps?.list?g.slotProps.list(ec):g.slotProps?.list},ef=(0,oG.default)();return(0,S.jsxs)(_.Fragment,{children:[(0,S.jsx)(lv,{as:"div",ref:ee,tabIndex:void 0!==j?j:h?null:0,role:"combobox","aria-controls":er?ef:void 0,"aria-disabled":h?"true":void 0,"aria-expanded":er?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[b,eu].filter(Boolean).join(" ")||void 0,"aria-describedby":a,"aria-required":P?"true":void 0,"aria-invalid":m?"true":void 0,onKeyDown:e=>{D||([" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),ei(!0,e)),N?.(e))},onMouseDown:h||D?null:e=>{I?.(e),0===e.button&&(e.preventDefault(),K.current.focus(),ei(!0,e))},onBlur:e=>{!er&&E&&(Object.defineProperty(e,"target",{writable:!0,value:{value:B,name:k}}),E(e))},onFocus:C,...M,ownerState:ec,className:(0,nY.default)(M.className,ed.select,c),id:eu,children:null!=(r=i)&&("string"!=typeof r||r.trim())?i:x||(x=(0,S.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))}),(0,S.jsx)(lg,{"aria-invalid":m,value:Array.isArray(B)?B.join(","):B,name:k,ref:Q,"aria-hidden":!0,onChange:e=>{let t=en.find(t=>t.props.value===e.target.value);void 0!==t&&(q(t.props.value),O&&O(e,t))},tabIndex:-1,disabled:h,className:ed.nativeInput,autoFocus:s,required:P,...$,ownerState:ec}),(0,S.jsx)(lb,{as:y,className:ed.icon,ownerState:ec}),(0,S.jsx)(ls,{id:`menu-${k||""}`,anchorEl:et,open:er,onClose:e=>{ei(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...g,slotProps:{...g.slotProps,list:{"aria-labelledby":b,role:"listbox","aria-multiselectable":w?"true":void 0,disableListWrap:!0,id:ef,...eh},paper:{...ep,style:{minWidth:el,...null!=ep?ep.style:null}}},children:es})]})}),lk=aM((0,S.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),lS={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>(0,nX.default)(e)&&"variant"!==e},lE=(0,nZ.styled)(sl,lS)(""),l_=(0,nZ.styled)(sw,lS)(""),lO=(0,nZ.styled)(sh,lS)(""),lT=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:n,classes:a={},className:o,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:u=lk,id:c,input:d,inputProps:p,label:h,labelId:f,MenuProps:m,multiple:y=!1,native:v=!1,onClose:b,onOpen:g,open:x,renderValue:w,SelectDisplayProps:k,variant:E="outlined",...O}=r,T=on({props:r,muiFormControl:n2(),states:["variant","error"]}
96),C=T.variant||E,N={...r,variant:C,classes:a},I=(e=>{let{classes:t}=e,r=(0,nG.default)({root:["root"]},lm,t);return{...t,...r}})(N),{root:A,...R}=I,D=d||({standard:(0,S.jsx)(lE,{ownerState:N}),outlined:(0,S.jsx)(l_,{label:h,ownerState:N}),filled:(0,S.jsx)(lO,{ownerState:N})})[C],F=(0,n3.default)(t,(0,sI.default)(D));return(0,S.jsx)(_.Fragment,{children:_.cloneElement(D,{inputComponent:v?lf:lw,inputProps:{children:n,error:T.error,IconComponent:u,variant:C,type:void 0,multiple:y,...v?{id:c}:{autoWidth:i,defaultOpen:s,displayEmpty:l,labelId:f,MenuProps:m,onClose:b,onOpen:g,open:x,renderValue:w,SelectDisplayProps:{id:c,...k}},...p,classes:p?(0,oJ.default)(R,p.classes):R,...d?d.props.inputProps:{}},...(y&&v||l)&&"outlined"===C?{notched:!0}:{},ref:F,className:(0,nY.default)(D.props.className,o,I.root),...!d&&{variant:C},...O})})});function lC(e){return(0,aw.default)("MuiTextField",e)}lT.muiName="Select",(0,ah.default)("MuiTextField",["root"]);let lN={standard:sl,filled:sh,outlined:sw},lI=(0,nZ.styled)(a0,{name:"MuiTextField",slot:"Root"})({}),lA=_.forwardRef(function(e,t){let r=(0,n4.useDefaultProps)({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:n=!1,children:a,className:o,color:s="primary",defaultValue:l,disabled:u=!1,error:c=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:h,id:f,InputLabelProps:m,inputProps:y,InputProps:v,inputRef:b,label:g,maxRows:x,minRows:w,multiline:k=!1,name:E,onBlur:_,onChange:O,onFocus:T,placeholder:C,required:N=!1,rows:I,select:A=!1,SelectProps:R,slots:D={},slotProps:F={},type:P,value:M,variant:j="outlined",...L}=r,V={...r,autoFocus:n,color:s,disabled:u,error:c,fullWidth:p,multiline:k,required:N,select:A,variant:j},z=(e=>{let{classes:t}=e;return(0,nG.default)({root:["root"]},lC,t)})(V),$=(0,oG.default)(f),B=h&&$?`${$}-helper-text`:void 0,q=g&&$?`${$}-label`:void 0,U=lN[j],W={slots:D,slotProps:{input:v,inputLabel:m,htmlInput:y,formHelperText:d,select:R,...F}},Q={},K=W.slotProps.inputLabel;"outlined"===j&&(K&&void 0!==K.shrink&&(Q.notched=K.shrink),Q.label=g),A&&(R&&R.native||(Q.id=void 0),Q["aria-describedby"]=void 0);let[H,Y]=(0,aC.default)("root",{elementType:lI,shouldForwardComponentProp:!0,externalForwardedProps:{...W,...L},ownerState:V,className:(0,nY.default)(z.root,o),ref:t,additionalProps:{disabled:u,error:c,fullWidth:p,required:N,color:s,variant:j}}),[G,J]=(0,aC.default)("input",{elementType:U,externalForwardedProps:W,additionalProps:Q,ownerState:V}),[X,Z]=(0,aC.default)("inputLabel",{elementType:sN,externalForwardedProps:W,ownerState:V}),[ee,et]=(0,aC.default)("htmlInput",{elementType:"input",externalForwardedProps:W,ownerState:V}),[er,ei]=(0,aC.default)("formHelperText",{elementType:of,externalForwardedProps:W,ownerState:V}),[en,ea]=(0,aC.default)("select",{elementType:lT,externalForwardedProps:W,ownerState:V}),eo=(0,S.jsx)(G,{"aria-describedby":B,autoComplete:i,autoFocus:n,defaultValue:l,fullWidth:p,multiline:k,name:E,rows:I,maxRows:x,minRows:w,type:P,value:M,id:$,inputRef:b,onBlur:_,onChange:O,onFocus:T,placeholder:C,inputProps:et,slots:{input:D.htmlInput?ee:void 0},...J});return(0,S.jsxs)(H,{...Y,children:[null!=g&&""!==g&&(0,S.jsx)(X,{htmlFor:$,id:q,...Z,children:g}),A?(0,S.jsx)(en,{"aria-describedby":B,id:$,labelId:q,value:M,input:eo,...ea,children:a}):eo,h&&(0,S.jsx)(er,{id:B,...ei,children:h})]})});var lR=e=>e instanceof Date,lD=e=>null==e,lF=e=>!lD(e)&&!Array.isArray(e)&&"object"==typeof e&&!lR(e),lP=e=>lF(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,lM=(e,t)=>e.has(t.substring(0,t.search(/\.\d+(\.|$)/))||t),lj="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function lL(e){let t;if(e instanceof Date)return new Date(e);let r="u">typeof FileList&&e instanceof FileList;if(lj&&(e instanceof Blob||r))return e;let i=Array.isArray(e);if(!i&&!(lF(e)&&lF(t=e.constructor&&e.constructor.prototype)&&t.hasOwnProperty("isPrototypeOf")))return e;let n=i?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=lL(e[t]));return n}var lV=e=>void 0===e,lz=e=>Array.isArray(e)?e.filter(Boolean):[],l$=e=>lz(e.replace(/["|']|\]/g,"").split(/\.|\[/)),lB=(e,t,r)=>{if(!t||!lF(e))return r;let i=(/^\w*$/.test(t)?[t]:l$(t)).reduce((e,t)=>
96lD(e)?e:e[t],e);return lV(i)||i===e?lV(e[t])?r:e[t]:i},lq=e=>"function"==typeof e,lU=(e,t,r)=>{let i=-1,n=/^\w*$/.test(t)?[t]:l$(t),a=n.length,o=a-1;for(;++i<a;){let t=n[i],a=r;if(i!==o){let r=e[t];a=lF(r)||Array.isArray(r)?r:isNaN(+n[i+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let lW="blur",lQ="onChange",lK="onSubmit",lH="maxLength",lY="minLength",lG="pattern",lJ="required",lX=_.default.createContext(null);lX.displayName="HookFormControlContext";var lZ=(e,t,r,i=!0)=>{let n={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(n,a,{get:()=>("all"!==t._proxyFormState[a]&&(t._proxyFormState[a]=!i||"all"),r&&(r[a]=!0),e[a])});return n};let l0="u">typeof window?_.default.useLayoutEffect:_.default.useEffect;var l1=e=>"string"==typeof e,l2=(e,t,r,i,n)=>l1(e)?(i&&t.watch.add(e),lB(r,e,n)):Array.isArray(e)?e.map(e=>(i&&t.watch.add(e),lB(r,e))):(i&&(t.watchAll=!0),r),l5=e=>lD(e)||"object"!=typeof e;function l4(e,t,r=new WeakSet){if(l5(e)||l5(t))return Object.is(e,t);if(lR(e)&&lR(t))return Object.is(e.getTime(),t.getTime());let i=Object.keys(e),n=Object.keys(t);if(i.length!==n.length)return!1;if(r.has(e)||r.has(t))return!0;for(let a of(r.add(e),r.add(t),i)){let i=e[a];if(!n.includes(a))return!1;if("ref"!==a){let e=t[a];if(lR(i)&&lR(e)||lF(i)&&lF(e)||Array.isArray(i)&&Array.isArray(e)?!l4(i,e,r):!Object.is(i,e))return!1}}return!0}let l3=e=>e.render(function(e){let t=_.default.useContext(lX),{name:r,disabled:i,control:n=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,l=lM(n._names.array,r),u=_.default.useMemo(()=>lB(n._formValues,r,lB(n._defaultValues,r,o)),[n,r,o]),c=function(e){let t=_.default.useContext(lX),{control:r=t,name:i,defaultValue:n,disabled:a,exact:o,compute:s}=e||{},l=_.default.useRef(n),u=_.default.useRef(s),c=_.default.useRef(void 0),d=_.default.useRef(r),p=_.default.useRef(i);u.current=s;let[h,f]=_.default.useState(()=>{let e=r._getWatch(i,l.current);return u.current?u.current(e):e}),m=_.default.useCallback(e=>{let t=l2(i,r._names,e||r._formValues,!1,l.current);return u.current?u.current(t):t},[r._formValues,r._names,i]),y=_.default.useCallback(e=>{if(!a){let t=l2(i,r._names,e||r._formValues,!1,l.current);if(u.current){let e=u.current(t);l4(e,c.current)||(f(e),c.current=e)}else f(t)}},[r._formValues,r._names,a,i]);l0(()=>(d.current===r&&l4(p.current,i)||(d.current=r,p.current=i,y()),r._subscribe({name:i,formState:{values:!0},exact:o,callback:e=>{y(e.values)}})),[r,o,i,y]),_.default.useEffect(()=>r._removeUnmounted());let v=d.current!==r,b=p.current,g=_.default.useMemo(()=>{if(a)return null;let e=!v&&!l4(b,i);return v||e?m():null},[a,v,i,b,m]);return null!==g?g:h}({control:n,name:r,defaultValue:u,exact:s}),d=function(e){let t=_.default.useContext(lX),{control:r=t,disabled:i,name:n,exact:a}=e||{},[o,s]=_.default.useState(r._formState),l=_.default.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return l0(()=>r._subscribe({name:n,formState:l.current,exact:a,callback:e=>{i||s({...r._formState,...e})}}),[n,i,a]),_.default.useEffect(()=>{l.current.isValid&&r._setValid(!0)},[r]),_.default.useMemo(()=>lZ(o,r,l.current,!1),[o,r])}({control:n,name:r,exact:s}),p=_.default.useRef(e),h=_.default.useRef(void 0),f=_.default.useRef(n.register(r,{...e.rules,value:c,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));p.current=e;let m=_.default.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!lB(d.errors,r)},isDirty:{enumerable:!0,get:()=>!!lB(d.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!lB(d.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!lB(d.validatingFields,r)},error:{enumerable:!0,get:()=>lB(d.errors,r)}}),[d,r]),y=_.default.useCallback(e=>f.current.onChange({target:{value:lP(e),name:r},type:"change"}),[r]),v=_.default.useCallback(()=>f.current.onBlur({target:{value:lB(n._formValues,r),name:r},type:lW}),[r,n._formValues]),b=_.default.useCallback(e=>{let t=lB(n._fields,r);t&&t._f&&e&&(t._f.ref={focus:()=>lq(e.focus)&&e.focus(),select:()=>lq(e.select)&&e.select(),setCustomValidity:t=>lq(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>lq(e.reportValidity)&&e.reportValidity()})},[n._fields,r]),g=_.default.useMemo(()=>({name:r,value:c,..."boolean"==typeof i||d.disabled?{disabled:d.disabled||i}:{},onChange:y,onBlur:v,ref:b}),[r,i,d.disabled,y,v,b,c]);return _.default.useEffect(()=>{let e=n._options.shouldUnregister||a,t=h.current;t&&t!==r&&!l&&n.unregister(t),n.register(r,{...p.current.rules,..."boolean"==typeof p.current.disabled?{disabled:p.current.disabled}:{}});let i=(e,t)=>{let r=lB(n._fields,e);r&&r._f&&(r._f.mount=t)};if(i(r,!0),e){let e=lL(lB(n._options.defaultValues,r,p.current.defaultValue));lU(n._defaultValues,r,e),lV(lB(n._formValues,r))&&lU(n._formValues,r,e)}return l||n.register(r),h.current=r,()=>{(l?e&&!n._state.action:e)?n.unregister(r):i(r,!1)}},[r,n,l,a]),_.default.useEffect(()=>{n._setDisabledField({disabled:i,name:r})},[i,r,n]),_.default.useMemo(()=>({field:g,formState:d,fieldState:m}),[g,d,m])}(e));_.default.createContext(null).displayName="HookFormContext";var l6=(e,t,r,i,n)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:n||!0}}:{},l8=e=>Array.isArray(e)?e:[e],l9=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}
96,l7=e=>lF(e)&&!Object.keys(e).length,ue=e=>{if(!lj)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ut=e=>ue(e)&&e.isConnected;function ur(e,t){let r=Array.isArray(t)?t:/^\w*$/.test(t)?[t]:l$(t),i=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,i=0;for(;i<r;)e=lV(e)?i++:e[t[i++]];return e}(e,r),n=r.length-1,a=r[n];return i&&delete i[a],0!==n&&(lF(i)&&l7(i)||Array.isArray(i)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!lV(e[t]))return!1;return!0}(i))&&ur(e,r.slice(0,-1)),e}function ui(e){return Array.isArray(e)||lF(e)&&!(e=>{for(let t in e)if(lq(e[t]))return!0;return!1})(e)}function un(e,t={}){for(let r in e){let i=e[r];ui(i)?(t[r]=Array.isArray(i)?[]:{},un(i,t[r])):lV(i)||(t[r]=!0)}return t}function ua(e,t,r){for(let i in r||(r=un(t)),e){let n=e[i];if(ui(n))lV(t)||l5(r[i])?r[i]=un(n,Array.isArray(n)?[]:{}):ua(n,lD(t)?{}:t[i],r[i]);else{let e=t[i];r[i]=!l4(n,e)}}return r}let uo={value:!1,isValid:!1},us={value:!0,isValid:!0};var ul=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!lV(e[0].attributes.value)?lV(e[0].value)||""===e[0].value?us:{value:e[0].value,isValid:!0}:us:uo}return uo},uu=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:i})=>lV(e)?e:t?""===e?NaN:e?+e:e:r&&l1(e)?new Date(e):i?i(e):e;let uc={isValid:!1,value:null};var ud=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,uc):uc;function up(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?ud(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?ul(e.refs).value:uu(lV(t.value)?e.ref.value:t.value,e)}var uh=e=>lV(e)?e:e instanceof RegExp?e.source:lF(e)?e.value instanceof RegExp?e.value.source:e.value:e,uf=e=>({isOnSubmit:!e||e===lK,isOnBlur:"onBlur"===e,isOnChange:e===lQ,isOnAll:"all"===e,isOnTouch:"onTouched"===e});let um="AsyncFunction";var uy=e=>!!e&&!!e.validate&&!!(lq(e.validate)&&e.validate.constructor.name===um||lF(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===um)),uv=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let ub=(e,t,r,i)=>{for(let n of r||Object.keys(e)){let r=lB(e,n);if(r){let{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],n)&&!i)return!0;else if(e.ref&&t(e.ref,e.name)&&!i)return!0;else if(ub(a,t))break}else if(lF(a)&&ub(a,t))break}}};function ug(e,t,r){let i=lB(e,r);if(i||/^\w*$/.test(r))return{error:i,name:r};let n=r.split(".");for(;n.length;){let i=n.join("."),a=lB(t,i),o=lB(e,i);if(a&&!Array.isArray(a)&&r!==i)break;if(o&&o.type)return{name:i,error:o};if(o&&o.root&&o.root.type)return{name:`${i}.root`,error:o.root};n.pop()}return{name:r}}var ux=(e,t,r)=>{let i=l8(lB(e,r));return lU(i,"root",t[r]),lU(e,r,i),e};function uw(e,t,r="validate"){if(l1(e)||Array.isArray(e)&&e.every(l1)||"boolean"==typeof e&&!e)return{type:r,message:l1(e)?e:"",ref:t}}var uk=e=>!lF(e)||e instanceof RegExp?{value:e,message:""}:e,uS=async(e,t,r,i,n,a)=>{let{ref:o,refs:s,required:l,maxLength:u,minLength:c,min:d,max:p,pattern:h,validate:f,name:m,valueAsNumber:y,mount:v}=e._f,b=lB(r,m);if(!v||t.has(m))return{};let g=s?s[0]:o,x=e=>{n&&g.reportValidity&&(g.setCustomValidity("boolean"==typeof e?"":e||""),g.reportValidity())},w={},k="radio"===o.type,S="checkbox"===o.type,E=(y||"file"===o.type)&&lV(o.value)&&lV(b)||ue(o)&&""===o.value||""===b||Array.isArray(b)&&!b.length,_=l6.bind(null,m,i,w),O=(e,t,r,i=lH,n=lY)=>{let a=e?t:r;w[m]={type:e?i:n,message:a,ref:o,..._(e?i:n,a)}};if(a?!Array.isArray(b)||!b.length:l&&(!(k||S)&&(E||lD(b))||"boolean"==typeof b&&!b||S&&!ul(s).isValid||k&&!ud(s).isValid)){let{value:e,message:t}=l1(l)?{value:!!l,message:l}:uk(l);if(e&&(w[m]={type:lJ,message:t,ref:g,..._(lJ,t)},!i))return x(t),w}if(!E&&(!lD(d)||!lD(p))){let e,t,r=uk(p),n=uk(d);if(lD(b)||isNaN(b)){let i=o.valueAsDate||new Date(b),a=e=>new Date(new Date().toDateString()+" "+e),s="time"==o.type,l="week"==o.type;l1(r.value)&&b&&(e=s?a(b)>a(r.value):l?b>r.value:i>new Date(r.value)),l1(n.value)&&b&&(t=s?a(b)<a(n.value):l?b<n.value:i<new Date(n.value))}else{let i=o.valueAsNumber||(b?+b:b);lD(r.value)||(e=i>r.value),lD(n.value)||(t=i<n.value)}if((e||t)&&(O(!!e,r.message,n.message,"max","min"),!i))return x(w[m].message),w}if((u||c)&&!E&&(l1(b)||a&&Array.isArray(b))){let e=uk(u),t=uk(c),r=!lD(e.value)&&b.length>+e.value,n=!lD(t.value)&&b.length<+t.value;if((r||n)&&(O(r,e.message,t.message),!i))return x(w[m].message),w}if(h&&!E&&l1(b)){let{value:e,message:t}=uk(h);if(e instanceof RegExp&&!b.match(e)&&(w[m]={type:lG,message:t,ref:o,..._(lG,t)},!i))return x(t),w}if(f){if(lq(f)){let e=uw(await f(b,r),g);
96if(e&&(w[m]={...e,..._("validate",e.message)},!i))return x(e.message),w}else if(lF(f)){let e={};for(let t in f){if(!l7(e)&&!i)break;let n=uw(await f[t](b,r),g,t);n&&(e={...n,..._(t,n.message)},x(n.message),i&&(w[m]=e))}if(!l7(e)&&(w[m]={ref:g,...e},!i))return w}}return x(!0),w};let uE={mode:lK,reValidateMode:lQ,shouldFocusError:!0};var u_=e.i(95280);let uO=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,uT=O.default.form.withConfig({displayName:"ContactForm__FormWrapper",componentId:"sc-260c803c-0"})`
97  margin-bottom: 48px;
98
99  ${({theme:e})=>e.breakpoints.up("md")} {
100    margin-bottom: 0;
101  }
102`,uC=(0,O.default)(aH).withConfig({displayName:"ContactForm__DCheckbox",componentId:"sc-260c803c-1"})`
103  /* stylelint-disable selector-class-pattern */
104  &.MuiCheckbox-root {
105    color: ${e=>e.theme.colors.dark};
106  }
107
108  &.MuiIconButton-colorSecondary.Mui-checked {
109    color: ${e=>e.theme.colors.main};
110  }
111
112  &.MuiIconButton-colorSecondary:hover,
113  &.MuiCheckbox-colorSecondary.Mui-checked:hover {
114    background-color: rgb(255 93 0 / 4%);
115  }
116  /* stylelint-enable */
117`,uN=(0,O.default)(lA).withConfig({displayName:"ContactForm__NameField",componentId:"sc-260c803c-2"})`
118  width: 100%;
119
120  ${({theme:e})=>e.breakpoints.up("md")} {
121    width: 47%;
122    margin-right: 3% !important;
123  }
124`,uI=(0,O.default)(lA).withConfig({displayName:"ContactForm__EmailField",componentId:"sc-260c803c-3"})`
125  width: 100%;
126
127  ${({theme:e})=>e.breakpoints.up("md")} {
128    width: 47%;
129    margin-left: 3% !important;
130  }
131`,uA=(0,O.default)(oc).withConfig({displayName:"ContactForm__YourBudgetSection",componentId:"sc-260c803c-4"})`
132  margin-bottom: 12px;
133
134  ${({theme:e})=>e.breakpoints.up("md")} {
135    margin-bottom: 24px;
136  }
137`,uR=O.default.p.withConfig({displayName:"ContactForm__YourBudgetLabel",componentId:"sc-260c803c-5"})`
138  ${e=>e.theme.fontStyle.title1Regular}
139  margin-bottom: 12px;
140
141  span {
142    color: ${e=>e.theme.colors.main};
143  }
144`,uD=O.default.div.withConfig({displayName:"ContactForm__ServicesSection",componentId:"sc-260c803c-6"})`
145  margin-bottom: 24px;
146
147  ${({theme:e})=>e.breakpoints.up("md")} {
148    margin-bottom: 40px;
149  }
150`,uF=O.default.p.withConfig({displayName:"ContactForm__ServicesSectionLabel",componentId:"sc-260c803c-7"})`
151  ${e=>e.theme.fontStyle.title1Regular}
152  margin-bottom: 24px;
153`,uP=O.default.div.withConfig({displayName:"ContactForm__ServiceList",componentId:"sc-260c803c-8"})`
154  display: flex;
155  flex-wrap: wrap;
156`,uM=O.default.div.withConfig({displayName:"ContactForm__ServiceOption",componentId:"sc-260c803c-9"})`
157  ${e=>e.theme.fontStyle.tags1}
158  padding: 10px 33px;
159  border-radius: 20px;
160  margin-bottom: 16px;
161  margin-right: 24px;
162  border: 1px solid
163    ${e=>e.$isSelected?e.theme.colors.main:e.theme.colors.dark};
164  background: ${e=>e.$isSelected?e.theme.colors.main:"none"};
165  color: ${e=>e.$isSelected?e.theme.colors.white:e.theme.colors.dark};
166  cursor: pointer;
167  transition: 0.3s background;
168
169  &:hover {
170    background: ${e=>e.$isSelected?e.theme.colors.main:e.theme.colors.dark};
171    color: ${e=>e.theme.colors.white};
172  }
173
174  ${({theme:e})=>e.breakpoints.up("md")} {
175    margin-bottom: 0;
176  }
177`,uj=(0,O.default)(oc).withConfig({displayName:"ContactForm__NameSection",componentId:"sc-260c803c-10"})`
178  margin-bottom: 24px;
179
180  & > div + div {
181    margin-top: 24px;
182  }
183
184  ${({theme:e})=>e.breakpoints.up("md")} {
185    & > div + div {
186      margin-top: 0;
187    }
188  }
189`,uL=(0,O.default)(oc).withConfig({displayName:"ContactForm__AboutProjectSection",componentId:"sc-260c803c-11"})`
190  margin-bottom: 24px;
191`,uV=(0,O.default)(oc).withConfig({displayName:"ContactForm__FollowUpSection",componentId:"sc-260c803c-12"})`
192  justify-content: center;
193  margin-bottom: 40px;
194
195  ${({theme:e})=>e.breakpoints.up("md")} {
196    align-items: flex-start;
197    justify-content: flex-start;
198    margin-bottom: 64px;
199
200    div + label {
201      margin-left: 48px;
202    }
203  }
204`,uz=(0,O.default)(nU.SecondaryButtonElement).withConfig({displayName:"ContactForm__SubmitButton",componentId:"sc-260c803c-13"})`
205  display: block;
206  margin: 0 auto;
207
208  ${({theme:e})=>e.breakpoints.up("md")} {
209    margin: 0;
210  }
211`,u$=({contactInquire:e})=>{let{control:t,register:r,unregister:i,handleSubmit:n,setValue:a,formState:{errors:o}}=function(e={}){let t=_.default.useRef(void 0),r=_.default.useRef(void 0),[i,n]=_.default.useState({isDirty:!1,isValidating:!1,isLoading:lq(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:lq(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!lq(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=function(e={}){let t,r={...uE,...e},i={submitCount:0,isDirty:!1,isReady:!1,isLoading:lq(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},n={},a=(lF(r.defaultValues)||lF(r.values))&&lL(r.defaultValues||r.values)||{},o=r.shouldUnregister?{}:lL(a),s={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},u=0,c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...c},p={...d},h={array:l9(),state:l9()},f="all"===r.criteriaMode,m=async e=>{if(!s.keepIsValid&&!r.disabled&&(d.isValid||p.isValid||e)){let e;
211r.resolver?(e=l7((await g()).errors),y()):e=await w(n,!0),e!==i.isValid&&h.state.next({isValid:e})}},y=(e,t)=>{!r.disabled&&(d.isValidating||d.validatingFields||p.isValidating||p.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?lU(i.validatingFields,e,t):ur(i.validatingFields,e))}),h.state.next({validatingFields:i.validatingFields,isValidating:!l7(i.validatingFields)}))},v=(e,t,r,i)=>{let l=lB(n,e);if(l){let n=lB(o,e,lV(r)?lB(a,e):r);lV(n)||i&&i.defaultChecked||t?lU(o,e,t?n:up(l._f)):E(e,n),s.mount&&!s.action&&m()}},b=(e,t,n,o,s)=>{let l=!1,u=!1,c={name:e};if(!r.disabled){if(!n||o){(d.isDirty||p.isDirty)&&(u=i.isDirty,i.isDirty=c.isDirty=k(),l=u!==c.isDirty);let r=l4(lB(a,e),t);u=!!lB(i.dirtyFields,e),r?ur(i.dirtyFields,e):lU(i.dirtyFields,e,!0),c.dirtyFields=i.dirtyFields,l=l||(d.dirtyFields||p.dirtyFields)&&!r!==u}if(n){let t=lB(i.touchedFields,e);t||(lU(i.touchedFields,e,n),c.touchedFields=i.touchedFields,l=l||(d.touchedFields||p.touchedFields)&&t!==n)}l&&s&&h.state.next(c)}return l?c:{}},g=async e=>(y(e,!0),await r.resolver(o,r.context,((e,t,r,i)=>{let n={};for(let r of e){let e=lB(t,r);e&&lU(n,r,e._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:i}})(e||l.mount,n,r.criteriaMode,r.shouldUseNativeValidation))),x=async e=>{let{errors:t}=await g(e);if(y(e),e)for(let r of e){let e=lB(t,r);e?lU(i.errors,r,e):ur(i.errors,r)}else i.errors=t;return t},w=async(t,n,a={valid:!0})=>{for(let s in t){let u=t[s];if(u){let{_f:t,...s}=u;if(t){let s=l.array.has(t.name),c=u._f&&uy(u._f);c&&d.validatingFields&&y([t.name],!0);let p=await uS(u,l.disabled,o,f,r.shouldUseNativeValidation&&!n,s);if(c&&d.validatingFields&&y([t.name]),p[t.name]&&(a.valid=!1,n||e.shouldUseNativeValidation))break;n||(lB(p,t.name)?s?ux(i.errors,p,t.name):lU(i.errors,t.name,p[t.name]):ur(i.errors,t.name))}l7(s)||await w(s,n,a)}}return a.valid},k=(e,t)=>!r.disabled&&(e&&t&&lU(o,e,t),!l4(I(),a)),S=(e,t,r)=>l2(e,l,{...s.mount?o:lV(t)?a:l1(e)?{[e]:t}:t},r,t),E=(e,t,r={})=>{let i=lB(n,e),a=t;if(i){let r=i._f;r&&(r.disabled||lU(o,e,uu(t,r)),a=ue(r.ref)&&lD(t)?"":t,"select-multiple"===r.ref.type?[...r.ref.options].forEach(e=>e.selected=a.includes(e.value)):r.refs?"checkbox"===r.ref.type?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(a)?e.checked=!!a.find(t=>t===e.value):e.checked=a===e.value||!!a)}):r.refs.forEach(e=>e.checked=e.value===a):"file"===r.ref.type?r.ref.value="":(r.ref.value=a,r.ref.type||h.state.next({name:e,values:lL(o)})))}(r.shouldDirty||r.shouldTouch)&&b(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&N(e)},_=(e,t,r)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let a=t[i],o=e+"."+i,s=lB(n,o);(l.array.has(e)||lF(a)||s&&!s._f)&&!lR(a)?_(o,a,r):E(o,a,r)}},O=(e,t,r={})=>{let u=lB(n,e),c=l.array.has(e),f=lL(t);lU(o,e,f),c?(h.array.next({name:e,values:lL(o)}),(d.isDirty||d.dirtyFields||p.isDirty||p.dirtyFields)&&r.shouldDirty&&h.state.next({name:e,dirtyFields:ua(a,o),isDirty:k(e,f)})):!u||u._f||lD(f)?E(e,f,r):_(e,f,r),uv(e,l)?h.state.next({...i,name:e,values:lL(o)}):h.state.next({name:s.mount?e:void 0,values:lL(o)})},T=async e=>{s.mount=!0;let a=e.target,c=a.name,v=!0,x=lB(n,c),k=e=>{v=Number.isNaN(e)||lR(e)&&isNaN(e.getTime())||l4(e,lB(o,c,e))},S=uf(r.mode),E=uf(r.reValidateMode);if(x){var _,O,T,C,I;let s,F,P,M=a.type?up(x._f):lP(e),j=e.type===lW||"focusout"===e.type,L=!((P=x._f).mount&&(P.required||P.min||P.max||P.maxLength||P.minLength||P.pattern||P.validate))&&!r.resolver&&!lB(i.errors,c)&&!x._f.deps||(_=j,O=lB(i.touchedFields,c),T=i.isSubmitted,C=E,!(I=S).isOnAll&&(!T&&I.isOnTouch?!(O||_):(T?C.isOnBlur:I.isOnBlur)?!_:(T?!C.isOnChange:!I.isOnChange)||_)),V=uv(c,l,j);lU(o,c,M),j?a&&a.readOnly||(x._f.onBlur&&x._f.onBlur(e),t&&t(0)):x._f.onChange&&x._f.onChange(e);let z=b(c,M,j),$=!l7(z)||V;if(j||h.state.next({name:c,type:e.type,values:lL(o)}),L)return(d.isValid||p.isValid)&&("onBlur"===r.mode?j&&m():j||m()),$&&h.state.next({name:c,...V?{}:z});if(!j&&V&&h.state.next({...i}),r.resolver){let{errors:e}=await g([c]);if(y([c]),k(M),v){let t=ug(i.errors,n,c),r=ug(e,n,t.name||c);s=r.error,c=r.name,F=l7(e)}}else y([c],!0),s=(await uS(x,l.disabled,o,f,r.shouldUseNativeValidation))[c],y([c]),k(M),v&&(s?F=!1:(d.isValid||p.isValid)&&(F=await w(n,
211!0)));if(v){x._f.deps&&(!Array.isArray(x._f.deps)||x._f.deps.length>0)&&N(x._f.deps);var A=c,R=F,D=s;let e=lB(i.errors,A),n=(d.isValid||p.isValid)&&"boolean"==typeof R&&i.isValid!==R;if(r.delayError&&D){let e;e=()=>{lU(i.errors,A,D),h.state.next({errors:i.errors})},(t=t=>{clearTimeout(u),u=setTimeout(e,t)})(r.delayError)}else clearTimeout(u),t=null,D?lU(i.errors,A,D):ur(i.errors,A);if((D?!l4(e,D):e)||!l7(z)||n){let e={...z,...n&&"boolean"==typeof R?{isValid:R}:{},errors:i.errors,name:A};i={...i,...e},h.state.next(e)}}}},C=(e,t)=>{if(lB(i.errors,t)&&e.focus)return e.focus(),1},N=async(e,t={})=>{let a,o,s=l8(e);if(r.resolver){let t=await x(lV(e)?e:s);a=l7(t),o=e?!s.some(e=>lB(t,e)):a}else e?((o=(await Promise.all(s.map(async e=>{let t=lB(n,e);return await w(t&&t._f?{[e]:t}:t)}))).every(Boolean))||i.isValid)&&m():o=a=await w(n);return h.state.next({...!l1(e)||(d.isValid||p.isValid)&&a!==i.isValid?{}:{name:e},...r.resolver||!e?{isValid:a}:{},errors:i.errors}),t.shouldFocus&&!o&&ub(n,C,e?s:l.mount),o},I=(e,t)=>{let r={...s.mount?o:a};return t&&(r=function e(t,r){let i={};for(let n in t)if(t.hasOwnProperty(n)){let a=t[n],o=r[n];if(a&&lF(a)&&o){let t=e(a,o);lF(t)&&(i[n]=t)}else t[n]&&(i[n]=o)}return i}(t.dirtyFields?i.dirtyFields:i.touchedFields,r)),lV(e)?r:l1(e)?lB(r,e):e.map(e=>lB(r,e))},A=(e,t)=>({invalid:!!lB((t||i).errors,e),isDirty:!!lB((t||i).dirtyFields,e),error:lB((t||i).errors,e),isValidating:!!lB(i.validatingFields,e),isTouched:!!lB((t||i).touchedFields,e)}),R=(e,t,r)=>{let a=(lB(n,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:l,...u}=lB(i.errors,e)||{};lU(i.errors,e,{...u,...t,ref:a}),h.state.next({name:e,errors:i.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},D=e=>h.state.subscribe({next:t=>{let r,n,s;r=e.name,n=t.name,s=e.exact,(!r||!n||r===n||l8(r).some(e=>e&&(s?e===n:e.startsWith(n)||n.startsWith(e))))&&((e,t,r,i)=>{r(e);let{name:n,...a}=e;return l7(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!i||"all"))})(t,e.formState||d,$,e.reRenderRoot)&&e.callback({values:{...o},...i,...t,defaultValues:a})}}).unsubscribe,F=(e,t={})=>{for(let s of e?l8(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(ur(n,s),ur(o,s)),t.keepError||ur(i.errors,s),t.keepDirty||ur(i.dirtyFields,s),t.keepTouched||ur(i.touchedFields,s),t.keepIsValidating||ur(i.validatingFields,s),r.shouldUnregister||t.keepDefaultValue||ur(a,s);h.state.next({values:lL(o)}),h.state.next({...i,...!t.keepDirty?{}:{isDirty:k()}}),t.keepIsValid||m()},P=({disabled:e,name:t})=>{if("boolean"==typeof e&&s.mount||e||l.disabled.has(t)){let r=l.disabled.has(t);e?l.disabled.add(t):l.disabled.delete(t),!!e!==r&&s.mount&&!s.action&&m()}},M=(e,t={})=>{let i=lB(n,e),o="boolean"==typeof t.disabled||"boolean"==typeof r.disabled;return(lU(n,e,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),i)?P({disabled:"boolean"==typeof t.disabled?t.disabled:r.disabled,name:e}):v(e,!0,t.value),{...o?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:uh(t.min),max:uh(t.max),minLength:uh(t.minLength),maxLength:uh(t.maxLength),pattern:uh(t.pattern)}:{},name:e,onChange:T,onBlur:T,ref:o=>{if(o){let r;M(e,t),i=lB(n,e);let s=lV(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,l="radio"===(r=s).type||"checkbox"===r.type,u=i._f.refs||[];(l?u.find(e=>e===s):s===i._f.ref)||(lU(n,e,{_f:{...i._f,...l?{refs:[...u.filter(ut),s,...Array.isArray(lB(a,e))?[{}]:[]],ref:{type:s.type,name:e}}:{ref:s}}}),v(e,!1,void 0,s))}else(i=lB(n,e,{}))._f&&(i._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(lM(l.array,e)&&s.action)&&l.unMount.add(e)}}},j=()=>r.shouldFocusError&&ub(n,C,l.mount),L=(e,t)=>async a=>{let s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let u=lL(o);if(h.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await g();y(),i.errors=e,u=lL(t)}else await w(n);if(l.disabled.size)for(let e of l.disabled)ur(u,e);if(ur(i.errors,"root"),l7(i.errors)){h.state.next({errors:{}});try{await e(u,a)}catch(e){s=e}}else t&&await t({...i.errors},a),j(),setTimeout(j);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:l7(i.errors)&&!s,submitCount:i.submitCount+1,errors:i.errors}),s)throw s},V=(e,t={})=>{let u=e?lL(e):a,c=lL(u),p=l7(e),f=p?a:c;
211if(t.keepDefaultValues||(a=u),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...l.mount,...Object.keys(ua(a,o))]))){let t=lB(i.dirtyFields,e),r=lB(o,e),n=lB(f,e);t&&!lV(r)?lU(f,e,r):t||lV(n)||O(e,n)}else{if(lj&&lV(e))for(let e of l.mount){let t=lB(n,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(ue(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of l.mount)O(e,lB(f,e));else n={}}o=r.shouldUnregister?t.keepDefaultValues?lL(a):{}:lL(f),h.array.next({values:{...f}}),h.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!r.shouldUnregister&&!l7(f),s.watch=!!r.shouldUnregister,s.keepIsValid=!!t.keepIsValid,s.action=!1,t.keepErrors||(i.errors={}),h.state.next({submitCount:t.keepSubmitCount?i.submitCount:0,isDirty:!p&&(t.keepDirty?i.isDirty:!!(t.keepDefaultValues&&!l4(e,a))),isSubmitted:!!t.keepIsSubmitted&&i.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&o?ua(a,o):i.dirtyFields:t.keepDefaultValues&&e?ua(a,e):t.keepDirty?i.dirtyFields:{},touchedFields:t.keepTouched?i.touchedFields:{},errors:t.keepErrors?i.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1,defaultValues:a})},z=(e,t)=>V(lq(e)?e(o):e,{...r.resetOptions,...t}),$=e=>{i={...i,...e}},B={control:{register:M,unregister:F,getFieldState:A,handleSubmit:L,setError:R,_subscribe:D,_runSchema:g,_updateIsValidating:y,_focusError:j,_getWatch:S,_getDirty:k,_setValid:m,_setFieldArray:(e,t=[],l,u,c=!0,f=!0)=>{if(u&&l&&!r.disabled){if(s.action=!0,f&&Array.isArray(lB(n,e))){let t=l(lB(n,e),u.argA,u.argB);c&&lU(n,e,t)}if(f&&Array.isArray(lB(i.errors,e))){let t,r=l(lB(i.errors,e),u.argA,u.argB);c&&lU(i.errors,e,r),lz(lB(t=i.errors,e)).length||ur(t,e)}if((d.touchedFields||p.touchedFields)&&f&&Array.isArray(lB(i.touchedFields,e))){let t=l(lB(i.touchedFields,e),u.argA,u.argB);c&&lU(i.touchedFields,e,t)}(d.dirtyFields||p.dirtyFields)&&(i.dirtyFields=ua(a,o)),h.state.next({name:e,isDirty:k(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else lU(o,e,t)},_setDisabledField:P,_setErrors:e=>{i.errors=e,h.state.next({errors:i.errors,isValid:!1})},_getFieldArray:e=>lz(lB(s.mount?o:a,e,r.shouldUnregister?lB(a,e,[]):[])),_reset:V,_resetDefaultValues:()=>lq(r.defaultValues)&&r.defaultValues().then(e=>{z(e,r.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of l.unMount){let t=lB(n,e);t&&(t._f.refs?t._f.refs.every(e=>!ut(e)):!ut(t._f.ref))&&F(e)}l.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(h.state.next({disabled:e}),ub(n,(t,r)=>{let i=lB(n,r);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},_subjects:h,_proxyFormState:d,get _fields(){return n},get _formValues(){return o},get _state(){return s},set _state(value){s=value},get _defaultValues(){return a},get _names(){return l},set _names(value){l=value},get _formState(){return i},get _options(){return r},set _options(value){r={...r,...value}}},subscribe:e=>(s.mount=!0,p={...p,...e.formState},D({...e,formState:{...c,...e.formState}})),trigger:N,register:M,handleSubmit:L,watch:(e,t)=>lq(e)?h.state.subscribe({next:r=>"values"in r&&e(S(void 0,t),r)}):S(e,t,!0),setValue:O,getValues:I,reset:z,resetField:(e,t={})=>{lB(n,e)&&(lV(t.defaultValue)?O(e,lL(lB(a,e))):(O(e,t.defaultValue),lU(a,e,lL(t.defaultValue))),t.keepTouched||ur(i.touchedFields,e),t.keepDirty||(ur(i.dirtyFields,e),i.isDirty=t.defaultValue?k(e,lL(lB(a,e))):k()),!t.keepError&&(ur(i.errors,e),d.isValid&&m()),h.state.next({...i}))},clearErrors:e=>{let t=e?l8(e):void 0;null==t||t.forEach(e=>ur(i.errors,e)),t?t.forEach(e=>{h.state.next({name:e,errors:i.errors})}):h.state.next({errors:{}})},unregister:F,setError:R,setFocus:(e,t={})=>{let r=lB(n,e),i=r&&r._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&lq(e.select)&&e.select()})}},getFieldState:A};return{...B,formControl:B}}(e);t.current={...n,formState:i}}let a=t.current.control;return a._options=e,l0(()=>{let e=a._subscribe({formState:a._proxyFormState,callback:()=>n({...a._formState}
211),reRenderRoot:!0});return n(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),_.default.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),_.default.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),_.default.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),_.default.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),_.default.useEffect(()=>{if(a._proxyFormState.isDirty){let e=a._getDirty();e!==i.isDirty&&a._subjects.state.next({isDirty:e})}},[a,i.isDirty]),_.default.useEffect(()=>{var t;e.values&&!l4(e.values,r.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),(null==(t=a._options.resetOptions)?void 0:t.keepIsValid)||a._setValid(),r.current=e.values,n(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),_.default.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=_.default.useMemo(()=>lZ(i,a),[a,i]),t.current}({defaultValues:{name:"",email:"",aboutProject:"",acceptPrivacyPolicy:!1,budget:0,services:{web:!1,mobile:!1,devops:!1,qa:!1},sendNDA:!1}});_.default.useEffect(()=>(r("services"),r("budget"),()=>{i("services"),i("budget")}),[r,i]);let[s,l]=_.default.useState({web:!1,mobile:!1,devops:!1,qa:!1}),[u,c]=_.default.useState(0),d=1e4*u,p=e=>{a("services",{...s,[e]:!s[e]},{shouldDirty:!0}),l({...s,[e]:!s[e]})},h={nameIsInvalid:!!o.name,nameValidationMessage:o.name?.type==="required"?"Would you tell us 
211your name?":o.name?.type==="minLength"?"Is too short (minimum is 2 characters)":"",emailIsInvalid:!!o.email,emailValidationMessage:o.email?.type==="required"?"Would you tell us your email?":o.email?.type==="pattern"?"Email seems to be invalid":"",aboutProjectIsInvalid:!!o.aboutProject,aboutProjectValidationMessage:o.aboutProject?.type==="required"?"Please, tell us briefly about the project":"",acceptPrivacyPolicyIsInvalid:!!o.acceptPrivacyPolicy,acceptPrivacyPolicyValidationMessage:o.acceptPrivacyPolicy?.type==="required"?"More formality, agree to our Privacy Policy to send your message":""};return(0,S.jsxs)(uT,{onSubmit:n(t=>{let r={name:t.name,email:t.email,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,aboutProject:t.aboutProject,services:Object.entries(t.services).filter(e=>e[1]).map(e=>e[0]),budget:1e4*t.budget,sendNDA:t.sendNDA};return window.heap.track("Contact",{...r,services:r.services.join(", ")}),window.gtag("event","submit",{event_category:"contact",event_label:"form"}),e({variables:{data:r}})}),noValidate:!0,autoComplete:"off",children:[(0,S.jsxs)(uD,{children:[(0,S.jsx)(uF,{children:"Pick necessary services"}),(0,S.jsxs)(uP,{children:[(0,S.jsx)(uM,{$isSelected:s.web,onClick:p.bind(null,"web"),children:"Web"}),(0,S.jsx)(uM,{$isSelected:s.mobile,onClick:p.bind(null,"mobile"),children:"Mobile"}),(0,S.jsx)(uM,{$isSelected:s.devops,onClick:p.bind(null,"devops"),children:"DevOps"}),(0,S.jsx)(uM,{$isSelected:s.qa,onClick:p.bind(null,"qa"),children:"QA"})]})]}),(0,S.jsxs)(uA,{row:!0,children:[(0,S.jsxs)(uR,{id:"discrete-slider",children:["Your budget",u>0&&u<20&&(0,S.jsxs)(S.Fragment,{children:[" ","is up to ",(0,S.jsxs)("span",{children:["$",d/1e3,",000"]})]}),20===u&&(0,S.jsxs)(S.Fragment,{children:[" ","is ",(0,S.jsxs)("span",{children:["$",d/1e3,",000"]})," or more"]})]}),(0,S.jsx)(oY,{defaultValue:0,"aria-labelledby":"discrete-slider",valueLabelDisplay:"off",step:1,min:0,max:20,value:u,onChange:(e,t)=>
211{a("budget",t,{shouldDirty:!0}),c(t)}})]}),(0,S.jsxs)(uj,{row:!0,children:[(0,S.jsx)(l3,{name:"name",control:t,defaultValue:"",rules:{required:!0,minLength:2},render:({field:e})=>(0,S.jsx)(uN,{id:"name",label:"Your name",error:h.nameIsInvalid,helperText:h.nameValidationMessage,...e})}),(0,S.jsx)(l3,{name:"email",control:t,defaultValue:"",rules:{required:!0,pattern:uO},render:({field:e})=>(0,S.jsx)(uI,{id:"email",label:"Your email address",error:h.emailIsInvalid,helperText:h.emailValidationMessage,...e})})]}),(0,S.jsx)(uL,{row:!0,children:(0,S.jsx)(l3,{name:"aboutProject",control:t,defaultValue:"",rules:{required:!0},render:({field:e})=>(0,S.jsx)(lA,{id:"aboutProject",label:"About your project",multiline:!0,rows:3,style:{width:"100%"},error:h.aboutProjectIsInvalid,helperText:h.aboutProjectValidationMessage,...e})})}),(0,S.jsxs)(uV,{row:!0,children:[(0,S.jsxs)(a0,{error:h.acceptPrivacyPolicyIsInvalid,children:[(0,S.jsx)(os,{control:(0,S.jsx)(l3,{name:"acceptPrivacyPolicy",control:t,defaultValue:!1,rules:{required:!0},render:({field:e})=>(0,S.jsx)(uC,{...e})}),label:(0,S.jsxs)("span",{children:["I accept your"," ",(0,S.jsx)(u_.default,{href:"/privacy-policy",target:"_blank",$highlighted:!0,children:"Privacy Policy"})]})}),(0,S.jsx)(of,{style:{maxWidth:"240px"},children:h.acceptPrivacyPolicyValidationMessage})]}),(0,S.jsx)(l3,{name:"sendNDA",control:t,defaultValue:!1,render:({field:e})=>(0,S.jsx)(os,{control:(0,S.jsx)(uC,{...e}),label:"Send me NDA"})})]}),(0,S.jsx)(uz,{type:"submit",children:"Send message"})]})},uB=O.default.h1.withConfig({displayName:"ContactHeaderSection__Headline",componentId:"sc-71a507b6-0"})`
212  ${e=>e.theme.fontStyle.h2}
213  margin-top: 48px;
214  margin-bottom: 40px;
215
216  ${({theme:e})=>e.breakpoints.up("md")} {
217    margin-top: 80px;
218    margin-bottom: 64px;
219  }
220
221  ${({theme:e})=>e.breakpoints.up("lg")} {
222    margin-top: 104px;
223    margin-bottom: 80px;
224  }
225`,uq=()=>(0,S.jsxs)(uB,{children:["Got a project",(0,S.jsx)("br",{}),"in mind?"]}),uU=O.default.div.withConfig({displayName:"ContactNotes__Wrapper",componentId:"sc-dc702855-0"})`
226  ${({theme:e})=>e.breakpoints.up("md")} {
227    padding-left: 40px;
228  }
229`,uW=O.default.h2.withConfig({displayName:"ContactNotes__NoteTitle",componentId:"sc-dc702855-1"})`
230  ${e=>e.theme.fontStyle.subhead1Medium}
231  margin-bottom: 16px;
232`,uQ=O.default.p.withConfig({displayName:"ContactNotes__NoteDetails",componentId:"sc-dc702855-2"})`
233  ${e=>e.theme.fontStyle.bodyText}
234  margin-bottom: 40px;
235
236  ${({theme:e})=>e.breakpoints.up("md")} {
237    margin-bottom: 64px;
238  }
239`,uK=()=>(0,S.jsxs)(uU,{children:[(0,S.jsx)(uW,{children:"We'll get back to you in 24 hours"}),(0,S.jsx)(uQ,{children:"to arrange a free personal consultation."}),(0,S.jsx)(uW,{children:"We'll prepare an estimation of the project"}),(0,S.jsx)(uQ,{children:"to address your needs as quickly as possible."}),(0,S.jsx)(uW,{children:"We'll perform a free code review"}),(0,S.jsx)(uQ,{children:"if you already have an existing system or a part of it."})]}),uH=/\r\n|[\n\r]/g;function uY(e,t){let r=0,i=1;for(let n of e.body.matchAll(uH)){if("number"==typeof n.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),n.index>=t)break;r=n.index+n[0].length,i+=1}return{line:i,column:t+1-r}}function uG(e,t){let r=e.locationOffset.column-1,i="".padStart(r)+e.body,n=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=1===t.line?r:0,l=t.column+s,u=`${e.name}:${o}:${l}
240`,c=i.split(/\r\n|[\n\r]/g),d=c[n];if(d.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return u+uJ([[`${o} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return u+uJ([[`${o-1} |`,c[n-1]],[`${o} |`,d],["|","^".padStart(l)],[`${o+1} |`,c[n+1]]])}function uJ(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}class uX extends Error{constructor(e,...t){var r,i,n;const{nodes:a,source:o,positions:s,path:l,originalError:u,extensions:c}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=uZ(Array.isArray(a)?a:a?[a]:void 0);const d=uZ(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==d||null==(i=d[0])?void 0:i.source,this.positions=null!=s?s:null==d?void 0:d.map(e=>e.start),this.locations=s&&o?s.map(e=>uY(o,e)):null==d?void 0:d.map(e=>uY(e.source,e.start));const p=!function(e){return"object"==typeof e&&null!==e}(null==u?void 0:u.extensions)||null==u?void 0:u.extensions;this.extensions=null!=(n=null!=c?c:p)?n:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}
240):Error.captureStackTrace?Error.captureStackTrace(this,uX):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+uG((t=r.loc).source,uY(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+uG(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function uZ(e){return void 0===e||0===e.length?void 0:e}function u0(e,t,r){return new uX(`Syntax Error: ${r}`,{source:e,positions:[t]})}(c=w||(w={})).QUERY="QUERY",c.MUTATION="MUTATION",c.SUBSCRIPTION="SUBSCRIPTION",c.FIELD="FIELD",c.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",c.FRAGMENT_SPREAD="FRAGMENT_SPREAD",c.INLINE_FRAGMENT="INLINE_FRAGMENT",c.VARIABLE_DEFINITION="VARIABLE_DEFINITION",c.SCHEMA="SCHEMA",c.SCALAR="SCALAR",c.OBJECT="OBJECT",c.FIELD_DEFINITION="FIELD_DEFINITION",c.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",c.INTERFACE="INTERFACE",c.UNION="UNION",c.ENUM="ENUM",c.ENUM_VALUE="ENUM_VALUE",c.INPUT_OBJECT="INPUT_OBJECT",c.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(d=k||(k={})).SOF="<SOF>",d.EOF="<EOF>",d.BANG="!",d.DOLLAR="$",d.AMP="&",d.PAREN_L="(",d.PAREN_R=")",d.DOT=".",d.SPREAD="...",d.COLON=":",d.EQUALS="=",d.AT="@",d.BRACKET_L="[",d.BRACKET_R="]",d.BRACE_L="{",d.PIPE="|",d.BRACE_R="}",d.NAME="Name",d.INT="Int",d.FLOAT="Float",d.STRING="String",d.BLOCK_STRING="BlockString",d.COMMENT="Comment";class u1{constructor(e){const t=new C(k.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==k.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,i=r.length,n=t;for(;n<i;){let t=r.charCodeAt(n);switch(t){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++e.line,e.lineStart=n;continue;case 13:10===r.charCodeAt(n+1)?n+=2:++n,++e.line,e.lineStart=n;continue;case 35:return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){let e=r.charCodeAt(n);if(10===e||13===e)break;if(u2(e))++n;else if(u5(r,n))n+=2;else break}return u8(e,k.COMMENT,t,n,r.slice(t+1,n))}(e,n);case 33:return u8(e,k.BANG,n,n+1);case 36:return u8(e,k.DOLLAR,n,n+1);case 38:return u8(e,k.AMP,n,n+1);case 40:return u8(e,k.PAREN_L,n,n+1);case 41:return u8(e,k.PAREN_R,n,n+1);case 46:if(46===r.charCodeAt(n+1)&&46===r.charCodeAt(n+2))return u8(e,k.SPREAD,n,n+3);break;case 58:return u8(e,k.COLON,n,n+1);case 61:return u8(e,k.EQUALS,n,n+1);case 64:return u8(e,k.AT,n,n+1);case 91:return u8(e,k.BRACKET_L,n,n+1);case 93:return u8(e,k.BRACKET_R,n,n+1);case 123:return u8(e,k.BRACE_L,n,n+1);case 124:return u8(e,k.PIPE,n,n+1);case 125:return u8(e,k.BRACE_R,n,n+1);case 34:if(34===r.charCodeAt(n+1)&&34===r.charCodeAt(n+2))return function(e,t){let r=e.source.body,i=r.length,n=e.lineStart,a=t+3,o=a,s="",l=[];for(;a<i;){let i=r.charCodeAt(a);if(34===i&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){s+=r.slice(o,a),l.push(s);let i=u8(e,k.BLOCK_STRING,t,a+3,(function(e){var t,r;let i=Number.MAX_SAFE_INTEGER,n=null,a=-1;for(let t=0;t<e.length;++t){let o=e[t],s=function(e){let t=0;for(;t<e.length&&rC(e.charCodeAt(t));)++t;return t}(o);s!==o.length&&(n=null!=(r=n)?r:t,a=t,0!==t&&s<i&&(i=s))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=n)?t:0,a+1)})(l).join("\n"));return e.line+=l.length-1,e.lineStart=n,i}if(92===i&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)&&34===r.charCodeAt(a+3)){s+=r.slice(o,a),o=a+1,a+=4;continue}if(10===i||13===i){s+=r.slice(o,a),l.push(s),13===i&&10===r.charCodeAt(a+1)?a+=2:++a,s="",o=a,n=a;continue}if(u2(i))++a;else if(u5(r,a))a+=2;else throw u0(e.source,a,`Invalid character within String: ${u6(e,a)}.`)}throw u0(e.source,a,"Unterminated string.")}(e,n);return function(e,t){let r=e.source.body,i=r.length,n=t+1,a=n,o="";for(;n<i;){let i=r.charCodeAt(n);if(34===i)return o+=r.slice(a,n),u8(e,k.STRING,t,n+1,o);if(92===i){o+=r.slice(a,n);let t=117===r.charCodeAt(n+1)?123===r.charCodeAt(n+2)?function(e,t){let r=e.source.body,i=0,n=3;for(;n<12;){let e=r.charCodeAt(t+n++);if(125===e){if(n<5||!u2(i))break;return{value:String.fromCodePoint(i),size:n}}if((i=i<<4|ce(e))<0)break}
240throw u0(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+n)}".`)}(e,n):function(e,t){let r=e.source.body,i=u7(r,t+2);if(u2(i))return{value:String.fromCodePoint(i),size:6};if(u4(i)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=u7(r,t+8);if(u3(e))return{value:String.fromCodePoint(i,e),size:12}}throw u0(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,n):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw u0(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,n);o+=t.value,n+=t.size,a=n;continue}if(10===i||13===i)break;if(u2(i))++n;else if(u5(r,n))n+=2;else throw u0(e.source,n,`Invalid character within String: ${u6(e,n)}.`)}throw u0(e.source,n,"Unterminated string.")}(e,n)}if(rN(t)||45===t)return function(e,t,r){let i=e.source.body,n=t,a=r,o=!1;if(45===a&&(a=i.charCodeAt(++n)),48===a){if(rN(a=i.charCodeAt(++n)))throw u0(e.source,n,`Invalid number, unexpected digit after 0: ${u6(e,n)}.`)}else n=u9(e,n,a),a=i.charCodeAt(n);if(46===a&&(o=!0,a=i.charCodeAt(++n),n=u9(e,n,a),a=i.charCodeAt(n)),(69===a||101===a)&&(o=!0,(43===(a=i.charCodeAt(++n))||45===a)&&(a=i.charCodeAt(++n)),n=u9(e,n,a),a=i.charCodeAt(n)),46===a||rA(a))throw u0(e.source,n,`Invalid number, expected digit but got: ${u6(e,n)}.`);return u8(e,o?k.FLOAT:k.INT,t,n,i.slice(t,n))}(e,n,t);if(rA(t))return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){var a;if(rI(a=r.charCodeAt(n))||rN(a)||95===a)++n;else break}return u8(e,k.NAME,t,n,r.slice(t,n))}(e,n);throw u0(e.source,n,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":u2(t)||u5(r,n)?`Unexpected character: ${u6(e,n)}.`:`Invalid character: ${u6(e,n)}.`)}return u8(e,k.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===k.COMMENT)return e}}function u2(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function u5(e,t){return u4(e.charCodeAt(t))&&u3(e.charCodeAt(t+1))}function u4(e){return e>=55296&&e<=56319}function u3(e){return e>=56320&&e<=57343}function u6(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return k.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function u8(e,t,r,i,n){let a=e.line,o=1+r-e.lineStart;return new C(t,r,i,a,o,n)}function u9(e,t,r){if(!rN(r))throw u0(e.source,t,`Invalid number, expected digit but got: ${u6(e,t)}.`);let i=e.source.body,n=t+1;for(;rN(i.charCodeAt(n));)++n;return n}function u7(e,t){return ce(e.charCodeAt(t))<<12|ce(e.charCodeAt(t+1))<<8|ce(e.charCodeAt(t+2))<<4|ce(e.charCodeAt(t+3))}function ce(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}let ct=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=el(e,[]);throw Error(`Cannot use ${i} "${t}" from another module or realm.
241
242Ensure that there is only one instance of "graphql" in the node_modules
243directory. If different versions of "graphql" are the dependencies of other
244relied on modules, use "resolutions" to ensure only one version is installed.
245
246https://yarnpkg.com/en/docs/selective-version-resolutions
247
248Duplicate "graphql" modules cannot be used at the same time since different
249versions may have different capabilities and behavior. The data from one
250version used in the function from another could produce confusing and
251spurious results.`)}}return!1};class cr{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||es(!1,`Body must be a string. Received: ${function(e){return el(e,[])}(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||es(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||es(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class ci{constructor(e,t={}){const{lexer:r,...i}=t;if(r)this._lexer=r;else{const t=!function(e){return ct(e,cr)}(e)?new cr(e):e;this._lexer=new u1(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(k.NAME);return this.node(e,{kind:f.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:f.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===k.BRACE_L)throw u0(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===k.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw u0(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
251ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(t,{kind:f.OPERATION_DEFINITION,operation:h.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseDescription(),i=this.parseOperationType();return this.peek(k.NAME)&&(e=this.parseName()),this.node(t,{kind:f.OPERATION_DEFINITION,operation:i,description:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(k.NAME);switch(e.value){case"query":return h.QUERY;case"mutation":return h.MUTATION;case"subscription":return h.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:f.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(e,{kind:f.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:f.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(k.COLON)?(e=i,t=this.parseName()):t=i,this.node(r,{kind:f.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,t,k.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(k.COLON),this.node(t,{kind:f.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(k.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(k.NAME)?this.node(e,{kind:f.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:f.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:f.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:f.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case k.BRACKET_L:return this.parseList(e);case k.BRACE_L:return this.parseObject(e);case k.INT:return this.advanceLexer(),this.node(t,{kind:f.INT,value:t.value});case k.FLOAT:return this.advanceLexer(),this.node(t,{kind:f.FLOAT,value:t.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:f.BOOLEAN,value:!0});case"false":return this.node(t,{kind:f.BOOLEAN,value:!1});case"null":return this.node(t,{kind:f.NULL});default:return this.node(t,{kind:f.ENUM,value:t.value})}case k.DOLLAR:if(e){if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){let e=this._lexer.token.value;throw u0(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:f.STRING,value:e.value,block:e.kind===k.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:f.LIST,values:this.any(k.BRACKET_L,t,k.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:f.OBJECT,fields:this.any(k.BRACE_L,t,k.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(k.COLON),this.node(t,{kind:f.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(k.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(k.AT),this.node(t,{kind:f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(k.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(k.BRACKET_R),e=this.node(t,{kind:f.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(t,{kind:f.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:f.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(e,{kind:f.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(k.COLON);let r=this.parseNamedType();return this.node(e,{kind:f.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:f.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:f.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(k.COLON);let n=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:f.FIELD_DEFINITION,description:t,name:r,arguments:i,type:n,directives:a})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),i=this.parseName();this.expectToken(k.COLON);let n=this.parseTypeReference();this.expectOptionalToken(k.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:f.INPUT_VALUE_DEFINITION,description:r,name:i,type:n,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:f.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();return this.node(e,{kind:f.UNION_TYPE_DEFINITION,description:t,name:r,directives:i,types:n})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();return this.node(e,{kind:f.ENUM_TYPE_DEFINITION,description:t,name:r,directives:i,values:n})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:f.ENUM_VALUE_DEFINITION,description:t,name:r,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw u0(this._lexer.source,this._lexer.token.start,`${cn(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();return this.node(e,{kind:f.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:i,fields:n})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===k.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:f.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:f.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.UNION_TYPE_EXTENSION,name:t,directives:r,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.ENUM_TYPE_EXTENSION,name:t,directives:r,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);let r=this.parseName(),i=this.parseArgumentDefs(),n=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:f.DIRECTIVE_DEFINITION,description:t,name:r,arguments:i,repeatable:n,locations:a})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(w,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,r=this._lexer.token,i=this.expectOptionalToken(k.AT),n=this.parseName();return(!i&&this.expectOptionalToken(k.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(k.PAREN_L)&&(t=this.parseName(),this.expectToken(k.COLON),this.expectToken(k.PAREN_R)),i)?t?this.node(r,{kind:f.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:t}):this.node(r,{kind:f.DIRECTIVE_COORDINATE,name:n}):e?t?this.node(r,{kind:f.ARGUMENT_COORDINATE,name:n,fieldName:e,argumentName:t}):this.node(r,{kind:f.MEMBER_COORDINATE,name:n,memberName:e}):this.node(r,{kind:f.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new T(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw u0(this._lexer.source,t.start,`Expected ${ca(e)}, found ${cn(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===k.NAME&&t.value===e)this.advanceLexer();else throw u0(this._lexer.source,t.start,`Expected "${e}", found ${cn(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===k.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return u0(this._lexer.source,t.start,`Unexpected ${cn(t)}.`)}any(e,t,r){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(r);)i.push(t.call(this));return i}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r))return e}return[]}many(e,t,r){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(r))return i}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e))return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==k.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw u0(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function cn(e){let t=e.value;return ca(e.kind)+(null!=t?` "${t}"`:"")}function ca(e){return e===k.BANG||e===k.DOLLAR||e===k.AMP||e===k.PAREN_L||e===k.PAREN_R||e===k.DOT||e===k.SPREAD||e===k.COLON||e===k.EQUALS||e===k.AT||e===k.BRACKET_L||e===k.BRACKET_R||e===k.BRACE_L||e===k.PIPE||e===k.BRACE_R?`"${e}"`:e}var co=new Map,cs=new Map,cl=!0,cu=!1;function cc(e){return e.replace(/[\s,]+/g," ").trim()}function cd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[r+1]}),function(e){var t=cc(e);if(!co.has(t)){let l,u;var r,i,n,a,o,s=(Object.defineProperty(u=(l=new ci(e,{experimentalFragmentVariables:cu,allowLegacyFragmentVariables:cu})).parseDocument(),"tokenCount"
251,{enumerable:!1,value:l.tokenCount}),u);if(!s||"Document"!==s.kind)throw Error("Not a valid GraphQL document.");co.set(t,((a=new Set((r=new Set,i=[],s.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,a=cc((t=e.loc).source.body.substring(t.start,t.end)),o=cs.get(n);o&&!o.has(a)?cl&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||cs.set(n,o=new Set),o.add(a),r.has(a)||(r.add(a),i.push(e))}else i.push(e)}),n=(0,F.__assign)((0,F.__assign)({},s),{definitions:i})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&a.add(r)})}),(o=n.loc)&&(delete o.startToken,delete o.endToken),n))}return co.get(t)}(i)}var cp=cd;(p=cd||(cd={})).gql=cp,p.resetCaches=function(){co.clear(),cs.clear()},p.disableFragmentWarnings=function(){cl=!1},p.enableExperimentalFragmentVariables=function(){cu=!0},p.disableExperimentalFragmentVariables=function(){cu=!1},cd.default=cd;let ch=cd`
252  mutation contactInquire($data: ContactInquireInput!) {
253    contactInquire(data: $data)
254  }
255`,cf=O.default.section.withConfig({displayName:"ContactPage__Wrapper",componentId:"sc-8a165bdb-0"})`
256  ${e=>e.theme.spacing.maxContainerWidth}
257`;e.s(["default",0,()=>{let[e,t]=(0,_.useState)(!1),r=async({variables:e})=>{var r;let i=(nq||(nq=new iy({devtools:{enabled:!0},ssrMode:!1,link:new nB({uri:"https://api.develops.today/graphql",credentials:"same-origin"}),cache:new nC().restore(r||{})})),nq),n=await i.mutate({mutation:ch,variables:e});n.error?(t(!0),console.warn("Failed to send contact inquire",n.error)):t(!0)};return(0,S.jsx)(cf,{children:e?(0,S.jsx)(nH,{}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(uq,{}),(0,S.jsxs)(E.default,{container:!0,justifyContent:"space-between",children:[(0,S.jsx)(E.default,{size:{sm:12,md:7,lg:6},children:(0,S.jsx)(u$,{contactInquire:r})}),(0,S.jsx)(E.default,{size:{sm:12,md:5,lg:5},children:(0,S.jsx)(uK,{})})]})]})})}],28431)}]);

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.