exchange-client/dist/assets/index.2ea22416.js

162 lines
600 KiB
JavaScript
Raw Normal View History

2022-12-18 12:11:40 +00:00
var xg=Object.defineProperty;var Eg=(e,t,n)=>t in e?xg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var gr=(e,t,n)=>(Eg(e,typeof t!="symbol"?t+"":t,n),n);function _g(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const u=Object.getOwnPropertyDescriptor(r,i);u&&Object.defineProperty(e,i,u.get?u:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const u of i)if(u.type==="childList")for(const s of u.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const u={};return i.integrity&&(u.integrity=i.integrity),i.referrerpolicy&&(u.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?u.credentials="include":i.crossorigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(i){if(i.ep)return;i.ep=!0;const u=n(i);fetch(i.href,u)}})();var Ya=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wg(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var j={exports:{}},J={};/**
2022-12-18 10:37:20 +00:00
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2022-12-24 11:28:30 +00:00
*/var bu=Symbol.for("react.element"),Dg=Symbol.for("react.portal"),kg=Symbol.for("react.fragment"),Sg=Symbol.for("react.strict_mode"),Pg=Symbol.for("react.profiler"),Cg=Symbol.for("react.provider"),Og=Symbol.for("react.context"),Fg=Symbol.for("react.forward_ref"),Ng=Symbol.for("react.suspense"),Ag=Symbol.for("react.memo"),Rg=Symbol.for("react.lazy"),j0=Symbol.iterator;function Tg(e){return e===null||typeof e!="object"?null:(e=j0&&e[j0]||e["@@iterator"],typeof e=="function"?e:null)}var eh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},th=Object.assign,nh={};function ei(e,t,n){this.props=e,this.context=t,this.refs=nh,this.updater=n||eh}ei.prototype.isReactComponent={};ei.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ei.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rh(){}rh.prototype=ei.prototype;function yc(e,t,n){this.props=e,this.context=t,this.refs=nh,this.updater=n||eh}var vc=yc.prototype=new rh;vc.constructor=yc;th(vc,ei.prototype);vc.isPureReactComponent=!0;var U0=Array.isArray,ih=Object.prototype.hasOwnProperty,bc={current:null},uh={key:!0,ref:!0,__self:!0,__source:!0};function sh(e,t,n){var r,i={},u=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(u=""+t.key),t)ih.call(t,r)&&!uh.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var o=Array(a),l=0;l<a;l++)o[l]=arguments[l+2];i.children=o}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:bu,type:e,key:u,ref:s,props:i,_owner:bc.current}}function Mg(e,t){return{$$typeof:bu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function xc(e){return typeof e=="object"&&e!==null&&e.$$typeof===bu}function Lg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var V0=/\/+/g;function qa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Lg(""+e.key):t.toString(36)}function hs(e,t,n,r,i){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case bu:case Dg:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+qa(s,0):r,U0(i)?(n="",e!=null&&(n=e.replace(V0,"$&/")+"/"),hs(i,t,n,"",function(l){return l})):i!=null&&(xc(i)&&(i=Mg(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(V0,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",U0(e))for(var a=0;a<e.length;a++){u=e[a];var o=r+qa(u,a);s+=hs(u,t,n,o,i)}else if(o=Tg(e),typeof o=="function")for(e=o.call(e),a=0;!(u=e.next()).done;)u=u.value,o=r+qa(u,a++),s+=hs(u,t,n,o,i);else if(u==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Lu(e,t,n){if(e==null)return e;var r=[],i=0;return hs(e,r,"","",function(u){return t.call(n,u,i++)}),r}function Bg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Qe={current:null},ps={transition:null},Ig={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:ps,ReactCurrentOwner:bc};J.Children={map:Lu,forEach:function(e,t,n){Lu(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Lu(e,function(){t++}),t},toArray:function(e){return Lu(e,function(t){return t})||[]},only:function(e){if(!xc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=ei;J.Fragment=kg;J.Profiler=Pg;J.Pure
2022-12-18 10:37:20 +00:00
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2022-12-24 11:28:30 +00:00
*/(function(e){function t(A,R){var N=A.length;A.push(R);e:for(;0<N;){var z=N-1>>>1,U=A[z];if(0<i(U,R))A[z]=R,A[N]=U,N=z;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var R=A[0],N=A.pop();if(N!==R){A[0]=N;e:for(var z=0,U=A.length,W=U>>>1;z<W;){var q=2*(z+1)-1,X=A[q],Q=q+1,G=A[Q];if(0>i(X,N))Q<U&&0>i(G,X)?(A[z]=G,A[Q]=N,z=Q):(A[z]=X,A[q]=N,z=q);else if(Q<U&&0>i(G,N))A[z]=G,A[Q]=N,z=Q;else break e}}return R}function i(A,R){var N=A.sortIndex-R.sortIndex;return N!==0?N:A.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var o=[],l=[],d=1,p=null,g=3,v=!1,b=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(A){for(var R=n(l);R!==null;){if(R.callback===null)r(l);else if(R.startTime<=A)r(l),R.sortIndex=R.expirationTime,t(o,R);else break;R=n(l)}}function T(A){if(k=!1,w(A),!b)if(n(o)!==null)b=!0,I(D);else{var R=n(l);R!==null&&L(T,R.startTime-A)}}function D(A,R){b=!1,k&&(k=!1,x(f),f=-1),v=!0;var N=g;try{for(w(R),p=n(o);p!==null&&(!(p.expirationTime>R)||A&&!E());){var z=p.callback;if(typeof z=="function"){p.callback=null,g=p.priorityLevel;var U=z(p.expirationTime<=R);R=e.unstable_now(),typeof U=="function"?p.callback=U:p===n(o)&&r(o),w(R)}else r(o);p=n(o)}if(p!==null)var W=!0;else{var q=n(l);q!==null&&L(T,q.startTime-R),W=!1}return W}finally{p=null,g=N,v=!1}}var S=!1,y=null,f=-1,m=5,h=-1;function E(){return!(e.unstable_now()-h<m)}function C(){if(y!==null){var A=e.unstable_now();h=A;var R=!0;try{R=y(!0,A)}finally{R?B():(S=!1,y=null)}}else S=!1}var B;if(typeof _=="function")B=function(){_(C)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,M=F.port2;F.port1.onmessage=C,B=function(){M.postMessage(null)}}else B=function(){O(C,0)};function I(A){y=A,S||(S=!0,B())}function L(A,R){f=O(function(){A(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){b||v||(b=!0,I(D))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):m=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(o)},e.unstable_next=function(A){switch(g){case 1:case 2:case 3:var R=3;break;default:R=g}var N=g;g=R;try{return A()}finally{g=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,R){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var N=g;g=A;try{return R()}finally{g=N}},e.unstable_scheduleCallback=function(A,R,N){var z=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?z+N:z):N=z,A){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=N+U,A={id:d++,callback:R,priorityLevel:A,startTime:N,expirationTime:U,sortIndex:-1},N>z?(A.sortIndex=N,t(l,A),n(o)===null&&A===n(l)&&(k?(x(f),f=-1):k=!0,L(T,N-z))):(A.sortIndex=U,t(o,A),b||v||(b=!0,I(D))),A},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(A){var R=g;return function(){var N=g;g=R;try{return A.apply(this,arguments)}finally{g=N}}}})(lh);(function(e){e.exports=lh})(oh);/**
2022-12-18 10:37:20 +00:00
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2022-12-24 11:28:30 +00:00
*/var ch=j.exports,dt=oh.exports;function H(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var dh=new Set,Gi={};function fr(e,t){Wr(e,t),Wr(e+"Capture",t)}function Wr(e,t){for(Gi[e]=t,e=0;e<t.length;e++)dh.add(t[e])}var sn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nl=Object.prototype.hasOwnProperty,jg=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W0={},H0={};function Ug(e){return nl.call(H0,e)?!0:nl.call(W0,e)?!1:jg.test(e)?H0[e]=!0:(W0[e]=!0,!1)}function Vg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Wg(e,t,n,r){if(t===null||typeof t>"u"||Vg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,r,i,u,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=s}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ec=/[\-:]([a-z])/g;function _c(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-ad
2022-12-18 10:37:20 +00:00
`+Xa+e}var Ga=!1;function Qa(e,t){if(!e||Ga)return"";Ga=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(`
`),u=r.stack.split(`
`),s=i.length-1,a=u.length-1;1<=s&&0<=a&&i[s]!==u[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==u[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==u[a]){var o=`
2022-12-24 11:28:30 +00:00
`+i[s].replace(" at new "," at ");return e.displayName&&o.includes("<anonymous>")&&(o=o.replace("<anonymous>",e.displayName)),o}while(1<=s&&0<=a);break}}}finally{Ga=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Pi(e):""}function Hg(e){switch(e.tag){case 5:return Pi(e.type);case 16:return Pi("Lazy");case 13:return Pi("Suspense");case 19:return Pi("SuspenseList");case 0:case 2:case 15:return e=Qa(e.type,!1),e;case 11:return e=Qa(e.type.render,!1),e;case 1:return e=Qa(e.type,!0),e;default:return""}}function sl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case kr:return"Fragment";case Dr:return"Portal";case rl:return"Profiler";case Dc:return"StrictMode";case il:return"Suspense";case ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hh:return(e.displayName||"Context")+".Consumer";case fh:return(e._context.displayName||"Context")+".Provider";case kc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sc:return t=e.displayName||null,t!==null?t:sl(e.type)||"Memo";case gn:t=e._payload,e=e._init;try{return sl(e(t))}catch{}}return null}function $g(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sl(t);case 8:return t===Dc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Kg(e){var t=mh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,u.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Iu(e){e._valueTracker||(e._valueTracker=Kg(e))}function gh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Cs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function al(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function K0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yh(e,t){t=t.checked,t!=null&&wc(e,"checked",t,!1)}function ol(e,t){yh(e,t);var n=Mn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ll(e,t.type,n):t.hasOwnProperty("defaultValue")&&ll(e,t.type,Mn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Y0(e,t,n){if(t.hasOwnProper
`).replace(nv,"")}function Ku(e,t,n){if(t=g4(t),g4(e)!==t&&n)throw Error(H(425))}function Ls(){}var wl=null,Dl=null;function kl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sl=typeof setTimeout=="function"?setTimeout:void 0,rv=typeof clearTimeout=="function"?clearTimeout:void 0,y4=typeof Promise=="function"?Promise:void 0,iv=typeof queueMicrotask=="function"?queueMicrotask:typeof y4<"u"?function(e){return y4.resolve(null).then(e).catch(uv)}:Sl;function uv(e){setTimeout(function(){throw e})}function co(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),tu(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);tu(t)}function Cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function v4(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ni=Math.random().toString(36).slice(2),Wt="__reactFiber$"+ni,su="__reactProps$"+ni,an="__reactContainer$"+ni,Pl="__reactEvents$"+ni,sv="__reactListeners$"+ni,av="__reactHandles$"+ni;function Qn(e){var t=e[Wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[an]||n[Wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=v4(e);e!==null;){if(n=e[Wt])return n;e=v4(e)}return t}e=n,n=e.parentNode}return null}function _u(e){return e=e[Wt]||e[an],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Or(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(H(33))}function ba(e){return e[su]||null}var Cl=[],Fr=-1;function jn(e){return{current:e}}function fe(e){0>Fr||(e.current=Cl[Fr],Cl[Fr]=null,Fr--)}function le(e,t){Fr++,Cl[Fr]=e.current,e.current=t}var Ln={},$e=jn(Ln),nt=jn(!1),ur=Ln;function Hr(e,t){var n=e.type.contextTypes;if(!n)return Ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},u;for(u in n)i[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rt(e){return e=e.childContextTypes,e!=null}function Bs(){fe(nt),fe($e)}function b4(e,t,n){if($e.current!==Ln)throw Error(H(168));le($e,t),le(nt,n)}function up(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(H(108,$g(e)||"Unknown",i));return ye({},n,r)}function Is(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ln,ur=$e.current,le($e,e),le(nt,nt.current),!0}function x4(e,t,n){var r=e.stateNode;if(!r)throw Error(H(169));n?(e=up(e,t,ur),r.__reactInternalMemoizedMergedChildContext=e,fe(nt),fe($e),le($e,e)):fe(nt),le(nt,n)}var Zt=null,xa=!1,fo=!1;function sp(e){Zt===null?Zt=[e]:Zt.push(e)}function ov(e){xa=!0,sp(e)}function Un(){if(!fo&&Zt!==null){fo=!0;var e=0,t=se;try{var n=Zt;for(se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Zt=null,xa=!1}catch(i){throw Zt!==null&&(Zt=Zt.slice(e+1)),Nh(Cc,Un),i}finally{se=t,fo=!1}}return null}var Nr=[],Ar=0,zs=null,js=0,vt=[],bt=0,sr=null,tn=1,nn="";function $n(e,t){Nr[Ar++]=js,Nr[Ar++]=zs,zs=e,js=t}function ap(e,t,n){vt[bt++]=tn,vt[bt++]=nn,vt[bt++]=sr,sr=e;var r=tn;e=nn;var i=32-Tt(r)-1;r&=~(1<<i),n+=1;var u=32-Tt(t)+i;if(30<u){var s=i-i%5;u=(r&(1<<s)-1).toString(32),r>>=s,i-=s,tn=1<<32-Tt(t)+i|n<<i|r,nn=u+e}else tn=1<<u|n<<i|r,nn=e}function Bc(e){e.return!==null&&($n(e,1),ap(e,1,0))}function Ic(e){for(;e===zs;)zs=Nr[--Ar],Nr[Ar]=null,js=Nr[--Ar],Nr[Ar]=null;for(;e===sr;)sr=vt[--bt],vt[bt]=null,nn=vt[--bt],vt[bt]=null,tn=vt[--bt],vt[bt]=null}var ct=null,ot=null,he=!1,At=null;function op(e,t){var n=Et(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
2022-12-18 10:37:20 +00:00
Error generating stack: `+u.message+`
2022-12-24 11:28:30 +00:00
`+u.stack}return{value:e,source:t,stack:i,digest:null}}function yo(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Tl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var yv=typeof WeakMap=="function"?WeakMap:Map;function Lp(e,t,n){n=rn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qs||(qs=!0,Hl=r),Tl(e,t)},n}function Bp(e,t,n){n=rn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Tl(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){Tl(e,t),typeof r!="function"&&(Fn===null?Fn=new Set([this]):Fn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function F4(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new yv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Nv.bind(null,e,t,n),t.then(e,e))}function N4(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function A4(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=rn(-1,1),t.tag=2,On(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var vv=cn.ReactCurrentOwner,tt=!1;function qe(e,t,n,r){t.child=e===null?mp(t,null,n,r):Kr(t,e.child,n,r)}function R4(e,t,n,r,i){n=n.render;var u=t.ref;return jr(t,i),r=Xc(e,t,n,r,u,i),n=Gc(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ln(e,t,i)):(he&&n&&Bc(t),t.flags|=1,qe(e,t,r,i),t.child)}function T4(e,t,n,r,i){if(e===null){var u=n.type;return typeof u=="function"&&!s0(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,Ip(e,t,u,r,i)):(e=Ds(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,(e.lanes&i)===0){var s=u.memoizedProps;if(n=n.compare,n=n!==null?n:ru,n(s,r)&&e.ref===t.ref)return ln(e,t,i)}return t.flags|=1,e=An(u,r),e.ref=t.ref,e.return=t,t.child=e}function Ip(e,t,n,r,i){if(e!==null){var u=e.memoizedProps;if(ru(u,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=u,(e.lanes&i)!==0)(e.flags&131072)!==0&&(tt=!0);else return t.lanes=e.lanes,ln(e,t,i)}return Ml(e,t,n,r,i)}function zp(e,t,n){var r=t.pendingProps,i=r.children,u=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},le(Mr,at),at|=n;else{if((n&1073741824)===0)return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,le(Mr,at),at|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=u!==null?u.baseLanes:n,le(Mr,at),at|=r}else u!==null?(r=u.baseLanes|n,t.memoizedState=null):r=n,le(Mr,at),at|=r;return qe(e,t,i,n),t.child}function jp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ml(e,t,n,r,i){var u=rt(n)?ur:$e.current;return u=Hr(t,u),jr(t,i),n=Xc(e,t,n,r,u,i),r=Gc(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ln(e,t,i)):(he&&r&&Bc(t),t.flags|=1,qe(e,t,n,i),t.child)}function M4(e,t,n,r,i){if(rt(n)){var u=!0;Is(t)}else u=!1;if(jr(t,i),t.stateNode===null)Es(e,t),hp(t,n,r),Rl(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var o=s.context,l=n.contextType;typeof l=="object"&&l!==null?l=Dt(l):(l=rt(n)?ur:$e.current,l=Hr(t,l));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||o!==l)&&S4(t,s,r,l),yn=!1;var g=t.memoizedState;s.state=g,Ws(t,r,s,i),o=t.memoizedState,a!==r||g!==o||nt.current||yn?(typeof d=="function"&&(Al(t,n,d,r),o=t.memoizedState),(a=yn||k4(t,n,a,r,g,o,l))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componen
2022-12-18 10:37:20 +00:00
* @remix-run/router v1.0.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-12-24 11:28:30 +00:00
*/function Js(){return Js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Js.apply(this,arguments)}var _n;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(_n||(_n={}));const X4="popstate";function Vv(e){e===void 0&&(e={});function t(r,i){let{pathname:u,search:s,hash:a}=r.location;return ql("",{pathname:u,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Xl(i)}return Hv(t,n,null,e)}function Wv(){return Math.random().toString(36).substr(2,8)}function G4(e){return{usr:e.state,key:e.key}}function ql(e,t,n,r){return n===void 0&&(n=null),Js({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ri(t):t,{state:n,key:t&&t.key||r||Wv()})}function Xl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ri(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Hv(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:u=!1}=r,s=i.history,a=_n.Pop,o=null;function l(){a=_n.Pop,o&&o({action:a,location:g.location})}function d(v,b){a=_n.Push;let k=ql(g.location,v,b);n&&n(k,v);let O=G4(k),x=g.createHref(k);try{s.pushState(O,"",x)}catch{i.location.assign(x)}u&&o&&o({action:a,location:k})}function p(v,b){a=_n.Replace;let k=ql(g.location,v,b);n&&n(k,v);let O=G4(k),x=g.createHref(k);s.replaceState(O,"",x),u&&o&&o({action:a,location:k})}let g={get action(){return a},get location(){return e(i,s)},listen(v){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(X4,l),o=v,()=>{i.removeEventListener(X4,l),o=null}},createHref(v){return t(i,v)},push:d,replace:p,go(v){return s.go(v)}};return g}var Q4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Q4||(Q4={}));function $v(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ri(t):t,i=d3(r.pathname||"/",n);if(i==null)return null;let u=c3(e);Kv(u);let s=null;for(let a=0;s==null&&a<u.length;++a)s=t1(u[a],i);return s}function c3(e,t,n,r){return t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=""),e.forEach((i,u)=>{let s={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:u,route:i};s.relativePath.startsWith("/")&&(Ae(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=Rn([r,s.relativePath]),o=n.concat(s);i.children&&i.children.length>0&&(Ae(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),c3(i.children,t,o,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Zv(a,i.index),routesMeta:o})}),t}function Kv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:e1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Yv=/^:\w+$/,qv=3,Xv=2,Gv=1,Qv=10,Jv=-2,J4=e=>e==="*";function Zv(e,t){let n=e.split("/"),r=n.length;return n.some(J4)&&(r+=Jv),t&&(r+=Xv),n.filter(i=>!J4(i)).reduce((i,u)=>i+(Yv.test(u)?qv:u===""?Gv:Qv),r)}function e1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function t1(e,t){let{routesMeta:n}=e,r={},i="/",u=[];for(let s=0;s<n.length;++s){let a=n[s],o=s===n.length-1,l=i==="/"?t:t.slice(i.length)||"/",d=n1({path:a.relativePath,caseSensitive:a.caseSensitive,end:o},l);if(!d)return null;Object.assign(r,d.params);let p=a.route;u.push({params:r,pathname:Rn([i,d.pathname]),pathnameBase:a1(Rn([i,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(i=Rn([i,d.pathnameBase]))}return u}function n1(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=r1(e.path
2022-12-18 10:37:20 +00:00
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2022-12-24 11:28:30 +00:00
*/var f1=j.exports,h1=Symbol.for("react.element"),p1=Symbol.for("react.fragment"),m1=Object.prototype.hasOwnProperty,g1=f1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y1={key:!0,ref:!0,__self:!0,__source:!0};function p3(e,t,n){var r,i={},u=null,s=null;n!==void 0&&(u=""+n),t.key!==void 0&&(u=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)m1.call(t,r)&&!y1.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:h1,type:e,key:u,ref:s,props:i,_owner:g1.current}}Na.Fragment=p1;Na.jsx=p3;Na.jsxs=p3;(function(e){e.exports=Na})(Fa);const He=Fa.exports.Fragment,c=Fa.exports.jsx,P=Fa.exports.jsxs;/**
2022-12-18 10:37:20 +00:00
* React Router v6.4.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-12-24 11:28:30 +00:00
*/function Gl(){return Gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gl.apply(this,arguments)}function v1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const b1=typeof Object.is=="function"?Object.is:v1,{useState:x1,useEffect:E1,useLayoutEffect:_1,useDebugValue:w1}=tl;function D1(e,t,n){const r=t(),[{inst:i},u]=x1({inst:{value:r,getSnapshot:t}});return _1(()=>{i.value=r,i.getSnapshot=t,_o(i)&&u({inst:i})},[e,r,t]),E1(()=>(_o(i)&&u({inst:i}),e(()=>{_o(i)&&u({inst:i})})),[e]),w1(r),r}function _o(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!b1(n,r)}catch{return!0}}function k1(e,t,n){return t()}const S1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P1=!S1,C1=P1?k1:D1;"useSyncExternalStore"in tl&&(e=>e.useSyncExternalStore)(tl);const O1=j.exports.createContext(null),F1=j.exports.createContext(null),m3=j.exports.createContext(null),d0=j.exports.createContext(null),Aa=j.exports.createContext(null),ii=j.exports.createContext({outlet:null,matches:[]}),g3=j.exports.createContext(null);function N1(e,t){let{relative:n}=t===void 0?{}:t;Du()||Ae(!1);let{basename:r,navigator:i}=j.exports.useContext(d0),{hash:u,pathname:s,search:a}=v3(e,{relative:n}),o=s;return r!=="/"&&(o=s==="/"?r:Rn([r,s])),i.createHref({pathname:o,search:a,hash:u})}function Du(){return j.exports.useContext(Aa)!=null}function Ra(){return Du()||Ae(!1),j.exports.useContext(Aa).location}function y3(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function A1(){Du()||Ae(!1);let{basename:e,navigator:t}=j.exports.useContext(d0),{matches:n}=j.exports.useContext(ii),{pathname:r}=Ra(),i=JSON.stringify(y3(n).map(a=>a.pathnameBase)),u=j.exports.useRef(!1);return j.exports.useEffect(()=>{u.current=!0}),j.exports.useCallback(function(a,o){if(o===void 0&&(o={}),!u.current)return;if(typeof a=="number"){t.go(a);return}let l=h3(a,JSON.parse(i),r,o.relative==="path");e!=="/"&&(l.pathname=l.pathname==="/"?e:Rn([e,l.pathname])),(o.replace?t.replace:t.push)(l,o.state,o)},[e,t,i,r])}function R1(){let{matches:e}=j.exports.useContext(ii),t=e[e.length-1];return t?t.params:{}}function v3(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=j.exports.useContext(ii),{pathname:i}=Ra(),u=JSON.stringify(y3(r).map(s=>s.pathnameBase));return j.exports.useMemo(()=>h3(e,JSON.parse(u),i,n==="path"),[e,u,i,n])}function T1(e,t){Du()||Ae(!1);let n=j.exports.useContext(m3),{matches:r}=j.exports.useContext(ii),i=r[r.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Ra(),o;if(t){var l;let b=typeof t=="string"?ri(t):t;s==="/"||((l=b.pathname)==null?void 0:l.startsWith(s))||Ae(!1),o=b}else o=a;let d=o.pathname||"/",p=s==="/"?d:d.slice(s.length)||"/",g=$v(e,{pathname:p}),v=I1(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},u,b.params),pathname:Rn([s,b.pathname]),pathnameBase:b.pathnameBase==="/"?s:Rn([s,b.pathnameBase])})),r,n||void 0);return t?c(Aa.Provider,{value:{location:Gl({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:_n.Pop},children:v}):v}function M1(){let e=j1(),t=d1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},u={padding:"2px 4px",backgroundColor:r};return P(He,{children:[c("h2",{children:"Unhandled Thrown Error!"}),c("h3",{style:{fontStyle:"italic"},children:t}),n?c("pre",{style:i,children:n}):null,c("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),P("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",c("code",{style:u,children:"errorElement"})," props on\xA0",c("code",{style:u,children:"<Route>"})]})]})}class L1 extends j.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.lo
2022-12-18 10:37:20 +00:00
* React Router DOM v6.4.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-12-24 11:28:30 +00:00
*/function W1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,u;for(u=0;u<r.length;u++)i=r[u],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function H1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $1(e,t){return e.button===0&&(!t||t==="_self")&&!H1(e)}const K1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Y1(e){let{basename:t,children:n,window:r}=e,i=j.exports.useRef();i.current==null&&(i.current=Vv({window:r,v5Compat:!0}));let u=i.current,[s,a]=j.exports.useState({action:u.action,location:u.location});return j.exports.useLayoutEffect(()=>u.listen(a),[u]),c(U1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:u})}const K=j.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:u,replace:s,state:a,target:o,to:l,preventScrollReset:d}=t,p=W1(t,K1),g=N1(l,{relative:i}),v=q1(l,{replace:s,state:a,target:o,preventScrollReset:d,relative:i});function b(k){r&&r(k),k.defaultPrevented||v(k)}return c("a",{...p,href:g,onClick:u?r:b,ref:n,target:o})});var td;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(td||(td={}));var nd;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(nd||(nd={}));function q1(e,t){let{target:n,replace:r,state:i,preventScrollReset:u,relative:s}=t===void 0?{}:t,a=A1(),o=Ra(),l=v3(e,{relative:s});return j.exports.useCallback(d=>{if($1(d,n)){d.preventDefault();let p=r!==void 0?r:Xl(o)===Xl(l);a(e,{replace:p,state:i,preventScrollReset:u,relative:s})}},[o,a,l,r,i,n,e,u,s])}const rd="/assets/logo.fe8c8333.svg",X1="/assets/burger.2c869322.svg",G1=({lang:e,setLang:t})=>{const[n,r]=j.exports.useState(!1),i=()=>{r(!n)};return P("header",{className:"header",children:[c("nav",{className:"nav-top",children:c("div",{className:"container",children:P("div",{className:"nav-top-wrapper",children:[c(K,{to:"/",className:"logo",children:c("img",{src:rd,alt:"logo"})}),e==="ru"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"\u0413\u0422\u0421\u0411\u0422"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"\u041A\u043E\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",children:"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/contacts",children:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"})})]}):null,e==="tm"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"TDH\xC7MB"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"Kotirowkalar"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"Kanun\xE7ylyk"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"Habarlar"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",children:"Multimedi\xFDa"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/contacts",children:"Salgymyz"})})]}):null,e==="en"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"SCRMET"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"Quotations"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"Normative base"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"News"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",child
${e==="ru"?"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B":e==="tm"?"Salgymyz":e==="en"?"Contacts":null}`}),P("div",{className:"footer-top-content",children:[P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0422\u0435\u043B\u0435\u0444\u043E\u043D:":e==="tm"?"Telefon belgisi":e==="en"?"Phone":null}),c("h4",{className:"footer-top-item-text",children:"+993 12 44-60-15"})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0412\u0440\u0435\u043C\u044F \u0440\u0430\u0431\u043E\u0442\u044B:":e==="tm"?"I\u015F wagty":e==="en"?"Working time":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A - \u043F\u044F\u0442\u043D\u0438\u0446\u0430: 9:00 - 18:00":e==="tm"?"Du\u015Fenbe - anna: 9:00 - 18:00":e==="en"?"Monday - friday: 9:00 - 18:00":null})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:"Email:"}),c(K,{to:"/",className:"footer-top-item-text",children:"info@exchange.gov.tm"}),c(K,{to:"/",className:"footer-top-item-text",children:"broker@exchange.gov.tm"})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u041F\u0440\u0438\u0435\u043C\u043D\u044B\u0435 \u0434\u043D\u0438:":e==="tm"?"Kabul edi\u015F g\xFCnleri":e==="en"?"Reception days":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A - \u0447\u0435\u0442\u0432\u0435\u0440\u0433: 9:00 - 17:00":e==="tm"?"Du\u015Fenbe - pen\u015Fenbe: 9:00 - 17:00":e==="en"?"Monday - thursday: 9:00 - 17:00":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u044F\u0442\u043D\u0438\u0446\u0430: 9:00 - 13:00":e==="tm"?"Anna: 9:00 - 17:00":e==="en"?"Friday: 9:00 - 17:00":null})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0410\u0434\u0440\u0435\u0441:":e==="tm"?"Salgy":e==="en"?"Adress":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"744000, \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D \u0433. \u0410\u0448\u0445\u0430\u0431\u0430\u0442, \u0410\u0440\u0447\u0430\u0431\u0438\u043B\u044C \u0448\u0430\u0435\u043B\u044B 52":e==="tm"?"744000, T\xFCrkmenistan \u015F. A\u015Fgabat, Ar\xE7abil \u015Fa\xFDoly 52":e==="en"?"744000, Turkmenistan c. Ashgabat, Archabil shayoly 52":null})]})]})]})})}),c("div",{className:"footer-bottom",children:c("div",{className:"container",children:c("div",{className:"footer-bottom-wrapper",children:P("ul",{className:"footer-nav-list",children:[c("li",{className:"footer-nav-list-item",children:c(K,{to:"/gtsbt",className:"footer-nav-list-link",children:e==="ru"?"\u0413\u0422\u0421\u0411\u0422":e==="tm"?"TDH\xC7MB":e==="en"?"SCRMET":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/norm",className:"footer-nav-list-link",children:e==="ru"?"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430":e==="tm"?"Kanun\xE7ylyk":e==="en"?"Normative base":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/trade",className:"footer-nav-list-link",children:e==="ru"?"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438":e==="tm"?"Bir\u017Ea s\xF6wdalary":e==="en"?"Exchange auctions":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/multimedia",className:"footer-nav-list-link",children:e==="ru"?"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430":e==="tm"?"Multimedi\xFDa":e==="en"?"Multimedia":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/fin",className:"footer-nav-list-link",children:e==="ru"?"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433":e==="tm"?"Mali\xFDe g\xF6zeg\xE7iligi":e==="en"?"Financial monitoring":null})}),
2022-12-18 12:11:40 +00:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xb(e,t){if(!!e){if(typeof e=="string")return ad(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ad(e,t)}}function ad(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Eb(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,u=void 0;try{for(var s=e[Symbol.iterator](),a;!(r=(a=s.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(o){i=!0,u=o}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw u}}return n}}function _b(e){if(Array.isArray(e))return e}var wb=/[?&#](?:start|t)=([0-9hms]+)/,Db=/[?&#]end=([0-9hms]+)/,Zl=/(\d+)(h|m|s)/g,kb=/^\d+$/;function k3(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(Zl))return Sb(r);if(kb.test(r))return parseInt(r)}}}function Sb(e){for(var t=0,n=Zl.exec(e);n!==null;){var r=n,i=vb(r,3),u=i[1],s=i[2];s==="h"&&(t+=parseInt(u,10)*60*60),s==="m"&&(t+=parseInt(u,10)*60),s==="s"&&(t+=parseInt(u,10)),n=Zl.exec(e)}return t}function Pb(e){return k3(e,wb)}function Cb(e){return k3(e,Db)}function Ob(){return Math.random().toString(36).substr(2,5)}function Fb(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")}function wo(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var vr={};function Nb(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:gb.default,u=wo(t);return u&&r(u)?Promise.resolve(u):new Promise(function(s,a){if(vr[e]){vr[e].push({resolve:s,reject:a});return}vr[e]=[{resolve:s,reject:a}];var o=function(p){vr[e].forEach(function(g){return g.resolve(p)})};if(n){var l=window[n];window[n]=function(){l&&l(),o(wo(t))}}i(e,function(d){d?(vr[e].forEach(function(p){return p.reject(d)}),vr[e]=null):n||o(wo(t))})})}function Ab(e,t){return(0,yb.default)(t.config,e.config)}function Rb(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var u=(t=[]).concat.apply(t,r),s={},a=Object.keys(e),o=0,l=a;o<l.length;o++){var d=l[o];u.indexOf(d)===-1&&(s[d]=e[d])}return s}function Tb(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c \u2013 ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),u=1;u<r;u++)i[u-1]=arguments[u];return(t=this.player)[e].apply(t,i)}function Mb(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function Lb(e){return/^blob:/.test(e)}function Bb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var Y={};Object.defineProperty(Y,"__esModule",{value:!0});Y.canPlay=Y.FLV_EXTENSIONS=Y.DASH_EXTENSIONS=Y.HLS_EXTENSIONS=Y.VIDEO_EXTENSIONS=Y.AUDIO_EXTENSIONS=Y.MATCH_URL_KALTURA=Y.MATCH_URL_VIDYARD=Y.MATCH_URL_MIXCLOUD=Y.MATCH_URL_DAILYMOTION=Y.MATCH_URL_TWITCH_CHANNEL=Y.MATCH_URL_TWITCH_VIDEO=Y.MATCH_URL_WISTIA=Y.MATCH_URL_STREAMABLE=Y.MATCH_URL_FACEBOOK_WATCH=Y.MATCH_URL_FACEBOOK=Y.MATCH_URL_VIMEO=Y.MATCH_URL_SOUNDCLOUD=Y.MATCH_URL_YOUTUBE=void 0;var od=ae;function Ib(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=zb(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,s=!1,a;return{s:function(){n=e[Symbol.iterator]()},n:function(){var l=n.next();return u=l.done,l},e:function(l){s=!0,a=l},f:function(){try{!u&&n.return!=null&&n.return()}finally{if(s)throw a}}}}function zb(e,t){if(!!e){if(typeof e=="string")return ld(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ld(e,t)}}function ld(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ec=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;Y.MATCH_URL_YOUTUBE=ec;var S3=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;Y.MATCH_URL_SOUNDCLOUD=S3;var P3=/vimeo\.com\/(?!progressive_redirect).+/;Y.MATCH_URL_VIMEO=P3;var C3=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;Y.MATCH_URL_FACEBOOK=C3;var O3=/^https?:\/\/fb\.watch\/.+$/;Y.MATCH_URL_FACEBOOK_WATCH=O3;var F3=/streamable\.com\/([a-z0-9]+)$/;Y.MATCH_URL_STREAMABLE=F3;var N3=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;Y.MATCH_URL_WISTIA=N3;var A3=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;Y.MATCH_URL_TWITCH_VIDEO=A3;var R3=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;Y.MATCH_URL_TWITCH_CHANNEL=R3;var T3=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;Y.MATCH_URL_DAILYMOTION=T3;var M3=/mixcloud\.com\/([^/]+\/[^/]+)/;Y.MATCH_URL_MIXCLOUD=M3;var L3=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;Y.MATCH_URL_VIDYARD=L3;var B3=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;Y.MATCH_URL_KALTURA=B3;var f0=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;Y.AUDIO_EXTENSIONS=f0;var h0=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;Y.VIDEO_EXTENSIONS=h0;var p0=/\.(m3u8)($|\?)/i;Y.HLS_EXTENSIONS=p0;var I3=/\.(mpd)($|\?)/i;Y.DASH_EXTENSIONS=I3;var z3=/\.(flv)($|\?)/i;Y.FLV_EXTENSIONS=z3;var jb=function e(t){if(t instanceof Array){var n=Ib(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(typeof i=="string"&&e(i)||e(i.src))return!0}}catch(u){n.e(u)}finally{n.f()}return!1}return(0,od.isMediaStream)(t)||(0,od.isBlobUrl)(t)?!0:f0.test(t)||h0.test(t)||p0.test(t)||I3.test(t)||z3.test(t)},Ub={youtube:function(t){return t instanceof Array?t.every(function(n){return ec.test(n)}):ec.test(t)},soundcloud:function(t){return S3.test(t)&&!f0.test(t)},vimeo:function(t){return P3.test(t)&&!h0.test(t)&&!p0.test(t)},facebook:function(t){return C3.test(t)||O3.test(t)},streamable:function(t){return F3.test(t)},wistia:function(t){return N3.test(t)},twitch:function(t){return A3.test(t)||R3.test(t)},dailymotion:function(t){return T3.test(t)},mixcloud:function(t){return M3.test(t)},vidyard:function(t){return L3.test(t)},kaltura:function(t){return B3.test(t)},file:jb};Y.canPlay=Ub;var Do={},cd;function Vb(){return cd||(cd=1,function(e){function t(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(N){return typeof N}:t=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},t(A)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(j.exports),r=ae,i=Y;function u(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return u=function(){return A},A}function s(A){if(A&&A.__esModule)return A;if(A===null||t(A)!=="object"&&typeof A!="function")return{default:A};var R=u();if(R&&R.has(A))return R.get(A);var N={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in A)if(Object.prototype.hasOwnProperty.call(A,U)){var W=z?Object.getOwnPropertyDescriptor(A,U):null;W&&(W.get||W.set)?Object.defineProperty(N,U,W):N[U]=A
2022-12-24 11:28:30 +00:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(A,R){if(!!A){if(typeof A=="string")return g(A,R);var N=Object.prototype.toString.call(A).slice(8,-1);if(N==="Object"&&A.constructor&&(N=A.constructor.name),N==="Map"||N==="Set")return Array.from(A);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return g(A,R)}}function g(A,R){(R==null||R>A.length)&&(R=A.length);for(var N=0,z=new Array(R);N<R;N++)z[N]=A[N];return z}function v(A,R){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var N=[],z=!0,U=!1,W=void 0;try{for(var q=A[Symbol.iterator](),X;!(z=(X=q.next()).done)&&(N.push(X.value),!(R&&N.length===R));z=!0);}catch(Q){U=!0,W=Q}finally{try{!z&&q.return!=null&&q.return()}finally{if(U)throw W}}return N}}function b(A){if(Array.isArray(A))return A}function k(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function O(A,R){for(var N=0;N<R.length;N++){var z=R[N];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(A,z.key,z)}}function x(A,R,N){return R&&O(A.prototype,R),N&&O(A,N),A}function _(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),R&&w(A,R)}function w(A,R){return w=Object.setPrototypeOf||function(z,U){return z.__proto__=U,z},w(A,R)}function T(A){var R=y();return function(){var z=f(A),U;if(R){var W=f(this).constructor;U=Reflect.construct(z,arguments,W)}else U=z.apply(this,arguments);return D(this,U)}}function D(A,R){return R&&(t(R)==="object"||typeof R=="function")?R:S(A)}function S(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(A){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},f(A)}function m(A,R,N){return R in A?Object.defineProperty(A,R,{value:N,enumerable:!0,configurable:!0,writable:!0}):A[R]=N,A}var h="https://www.youtube.com/iframe_api",E="YT",C="onYouTubeIframeAPIReady",B=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,F=/user\/([a-zA-Z0-9_-]+)\/?/,M=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",L=function(A){_(N,A);var R=T(N);function N(){var z;k(this,N);for(var U=arguments.length,W=new Array(U),q=0;q<U;q++)W[q]=arguments[q];return z=R.call.apply(R,[this].concat(W)),m(S(z),"callPlayer",r.callPlayer),m(S(z),"parsePlaylist",function(X){if(X instanceof Array)return{listType:"playlist",playlist:X.map(z.getID).join(",")};if(B.test(X)){var Q=X.match(B),G=l(Q,2),we=G[1];return{listType:"playlist",list:we.replace(/^UC/,"UU")}}if(F.test(X)){var Se=X.match(F),ut=l(Se,2),It=ut[1];return{listType:"user_uploads",list:It}}return{}}),m(S(z),"onStateChange",function(X){var Q=X.data,G=z.props,we=G.onPlay,Se=G.onPause,ut=G.onBuffer,It=G.onBufferEnd,Ru=G.onEnded,ai=G.onReady,Tu=G.loop,oi=G.config,mr=oi.playerVars,Mu=oi.onUnstarted,zt=window[E].PlayerState,hg=zt.UNSTARTED,pg=zt.PLAYING,mg=zt.PAUSED,gg=zt.BUFFERING,yg=zt.ENDED,vg=zt.CUED;if(Q===hg&&Mu(),Q===pg&&(we(),It()),Q===mg&&Se(),Q===gg&&ut(),Q===yg){var bg=!!z.callPlayer("getPlaylist");Tu&&!bg&&(mr.start?z.seekTo(mr.start):z.play()),Ru()}Q===vg&&ai()}),m(S(z),"mute",function(){z.callPlayer("mute")}),m(S(z),"unmute",function(){z.callPlayer("unMute")}),m(S(z),"ref",function(X){z.container=X}),z}return x(N,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(U){return!U||U instanceof Array||B.test(U)?null:U.match(i.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(U,W){var q=this,X=this.props,Q=X.playing,G=X.muted,we=X.playsinline,Se=X.controls,ut=X.loop,It=X.config,Ru=X.onError,ai=It.playerVars,Tu=It.embedOptions,oi=this.getID(U);if(W){if
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(F,M){if(!!F){if(typeof F=="string")return g(F,M);var I=Object.prototype.toString.call(F).slice(8,-1);if(I==="Object"&&F.constructor&&(I=F.constructor.name),I==="Map"||I==="Set")return Array.from(F);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return g(F,M)}}function g(F,M){(M==null||M>F.length)&&(M=F.length);for(var I=0,L=new Array(M);I<M;I++)L[I]=F[I];return L}function v(F,M){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(F)))){var I=[],L=!0,A=!1,R=void 0;try{for(var N=F[Symbol.iterator](),z;!(L=(z=N.next()).done)&&(I.push(z.value),!(M&&I.length===M));L=!0);}catch(U){A=!0,R=U}finally{try{!L&&N.return!=null&&N.return()}finally{if(A)throw R}}return I}}function b(F){if(Array.isArray(F))return F}function k(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function O(F,M){for(var I=0;I<M.length;I++){var L=M[I];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(F,L.key,L)}}function x(F,M,I){return M&&O(F.prototype,M),I&&O(F,I),F}function _(F,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(M&&M.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),M&&w(F,M)}function w(F,M){return w=Object.setPrototypeOf||function(L,A){return L.__proto__=A,L},w(F,M)}function T(F){var M=y();return function(){var L=f(F),A;if(M){var R=f(this).constructor;A=Reflect.construct(L,arguments,R)}else A=L.apply(this,arguments);return D(this,A)}}function D(F,M){return M&&(t(M)==="object"||typeof M=="function")?M:S(F)}function S(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(F){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},f(F)}function m(F,M,I){return M in F?Object.defineProperty(F,M,{value:I,enumerable:!0,configurable:!0,writable:!0}):F[M]=I,F}var h="https://api.dmcdn.net/all.js",E="DM",C="dmAsyncInit",B=function(F){_(I,F);var M=T(I);function I(){var L;k(this,I);for(var A=arguments.length,R=new Array(A),N=0;N<A;N++)R[N]=arguments[N];return L=M.call.apply(M,[this].concat(R)),m(S(L),"callPlayer",r.callPlayer),m(S(L),"onDurationChange",function(){var z=L.getDuration();L.props.onDuration(z)}),m(S(L),"mute",function(){L.callPlayer("setMuted",!0)}),m(S(L),"unmute",function(){L.callPlayer("setMuted",!1)}),m(S(L),"ref",function(z){L.container=z}),L}return x(I,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(A){var R=this,N=this.props,z=N.controls,U=N.config,W=N.onError,q=N.playing,X=A.match(i.MATCH_URL_DAILYMOTION),Q=l(X,2),G=Q[1];if(this.player){this.player.load(G,{start:(0,r.parseStartTime)(A),autoplay:q});return}(0,r.getSDK)(h,E,C,function(we){return we.player}).then(function(we){if(!!R.container){var Se=we.player;R.player=new Se(R.container,{width:"100%",height:"100%",video:G,params:o({controls:z,autoplay:R.props.playing,mute:R.props.muted,start:(0,r.parseStartTime)(A),origin:window.location.origin},U.params),events:{apiready:R.props.onReady,seeked:function(){return R.props.onSeek(R.player.currentTime)},video_end:R.props.onEnded,durationchange:R.onDurationChange,pause:R.props.onPause,playing:R.props.onPlay,waiting:R.props.onBuffer,error:function(It){return W(It)}}})}},W)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(A){this.callPlayer("seek",A)}},{key:"setVolume",value:function(A){this.callPlayer("setVolume",A)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ex(e,t){if(!!e){if(typeof e=="string")return tc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tc(e,t)}}function _x(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function wx(e){if(Array.isArray(e))return tc(e)}function tc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kx(e,t,n){return t&&Cd(e.prototype,t),n&&Cd(e,n),e}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nc(e,t)}function nc(e,t){return nc=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},nc(e,t)}function Px(e){var t=Ox();return function(){var r=ea(e),i;if(t){var u=ea(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return Cx(this,i)}}function Cx(e,t){return t&&(Hi(t)==="object"||typeof t=="function")?t:Ue(e)}function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $3(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return $3=function(){return e},e}function K3(e){if(e&&e.__esModule)return e;if(e===null||Hi(e)!=="object"&&typeof e!="function")return{default:e};var t=$3();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var Fx=(0,Gn.lazy)(function(){return Promise.resolve().then(function(){return K3(gx())})}),Nx=typeof window<"u"&&window.document,Ax=typeof Ya<"u"&&Ya.window&&Ya.window.document,Rx=Object.keys(Ni.propTypes),Tx=Nx||Ax?Gn.Suspense:function(){return null},vi=[],Mx=function(t,n){var r,i;return i=r=function(u){Sx(a,u);var s=Px(a);function a(){var o;Dx(this,a);for(var l=arguments.length,d=new Array(l),p=0;p<l;p++)d[p]=arguments[p];return o=s.call.apply(s,[this].concat(d)),ve(Ue(o),"state",{showPreview:!!o.props.light}),ve(Ue(o),"references",{wrapper:function(v){o.wrapper=v},player:function(v){o.player=v}}),ve(Ue(o),"handleClickPreview",function(g){o.setState({showPreview:!1}),o.props.onClickPreview(g)}),ve(Ue(o),"showPreview",function(){o.setState({showPreview:!0})}),ve(Ue(o),"getDuration",function(){return o.player?o.player.getDuration():null}),ve(Ue(o),"getCurrentTime",function(){return o.player?o.player.getCurrentTime():null}),ve(Ue(o),"getSecondsLoaded",function(){return o.player?o.player.getSecondsLoaded():null}),ve(Ue(o),"getInternalPlayer",function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return o.player?o.player.getInternalPlayer(g):null}),ve(Ue(o),"seekTo",function(g,v){if(!o.player)return null;o.player.seekTo(g,v)}),ve(Ue(o),"handleReady",function(){o.props.onReady(Ue(o))}),ve(Ue(o),"getActivePlayer",(0,Io.default)(function(g){for(var v=0,b=[].concat(vi,zo(t));v<b.length;v++){va
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&CE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Rd=Symbol("internals"),om=Symbol("defaults");function Ai(e){return e&&String(e).trim().toLowerCase()}function Zu(e){return e===!1||e==null?e:String(e)}function FE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Td(e,t,n,r){if(V.isFunction(r))return r.call(this,t,n);if(!!V.isString(t)){if(V.isString(r))return t.indexOf(r)!==-1;if(V.isRegExp(r))return r.test(t)}}function NE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function AE(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,u,s){return this[r].call(this,t,i,u,s)},configurable:!0})})}function bi(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}function wt(e,t){e&&this.set(e),this[om]=t||null}Object.assign(wt.prototype,{set:function(e,t,n){const r=this;function i(u,s,a){const o=Ai(s);if(!o)throw new Error("header name must be a non-empty string");const l=bi(r,o);l&&a!==!0&&(r[l]===!1||a===!1)||(V.isArray(u)?u=u.map(Zu):u=Zu(u),r[l||s]=u)}return V.isPlainObject(e)?V.forEach(e,(u,s)=>{i(u,s,t)}):i(t,e,n),this},get:function(e,t){if(e=Ai(e),!e)return;const n=bi(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return FE(r);if(V.isFunction(t))return t.call(this,r,n);if(V.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=Ai(e),e){const n=bi(this,e);return!!(n&&(!t||Td(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let r=!1;function i(u){if(u=Ai(u),u){const s=bi(n,u);s&&(!t||Td(n,n[s],s,t))&&(delete n[s],r=!0)}}return V.isArray(e)?e.forEach(i):i(e),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return V.forEach(this,(r,i)=>{const u=bi(n,i);if(u){t[u]=Zu(r),delete t[i];return}const s=e?NE(i):String(i).trim();s!==i&&delete t[i],t[s]=Zu(r),n[s]=!0}),this},toJSON:function(){const e=Object.create(null);return V.forEach(Object.assign({},this[om]||null,this),(t,n)=>{t==null||t===!1||(e[n]=V.isArray(t)?t.join(", "):t)}),e}});Object.assign(wt,{from:function(e){return V.isString(e)?new this(OE(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[Rd]=this[Rd]={accessors:{}}).accessors,r=this.prototype;function i(u){const s=Ai(u);n[s]||(AE(r,u),n[s]=!0)}return V.isArray(e)?e.forEach(i):i(e),this}});wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);V.freezeMethods(wt.prototype);V.freezeMethods(wt);function RE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,u=0,s;return t=t!==void 0?t:1e3,function(o){const l=Date.now(),d=r[u];s||(s=l),n[i]=o,r[i]=l;let p=u,g=0;for(;p!==i;)g+=n[p++],p=p%e;if(i=(i+1)%e,i===u&&(u=(u+1)%e),l-s<t)return;const v=d&&l-d;return v?Math.round(g*1e3/v):void 0}}function Md(e,t){let n=0;const r=RE(50,250);return i=>{const u=i.loaded,s=i.lengthComputable?i.total:void 0,a=u-n,o=r(a),l=u<=s;n=u;const d={loaded:u,total:s,progress:s?u/s:void 0,bytes:a,rate:o||void 0,estimated:o&&s&&l?(s-u)/o:void 0};d[t?"download":"upload"]=!0,e(d)}}function Ld(e){return new Promise(function(n,r){let i=e.data;const u=wt.from(e.headers).normalize(),s=e.responseType;let a;function o(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}V.isFormData(i)&&un.isStandardBrowserEnv&&u.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";u.set("Authorization","Basic "+btoa(v+":"+b))}const d=am(e.baseURL,e.url);l.open(e.method.toUpperCase(),im(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const v=wt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),k
2022-12-18 10:37:20 +00:00
* Chart.js v3.9.1
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
2022-12-24 11:28:30 +00:00
*/function qt(){}const VE=function(){let e=0;return function(){return e++}}();function ie(e){return e===null||typeof e>"u"}function pe(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function ne(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Me=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function yt(e,t){return Me(e)?e:t}function ee(e,t){return typeof e>"u"?t:e}const WE=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,mm=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function be(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function ue(e,t,n,r){let i,u,s;if(pe(e))if(u=e.length,r)for(i=u-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<u;i++)t.call(n,e[i],i);else if(ne(e))for(s=Object.keys(e),u=s.length,i=0;i<u;i++)t.call(n,e[s[i]],s[i])}function ta(e,t){let n,r,i,u;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],u=t[n],i.datasetIndex!==u.datasetIndex||i.index!==u.index)return!1;return!0}function na(e){if(pe(e))return e.map(na);if(ne(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=na(e[n[i]]);return t}return e}function gm(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function HE(e,t,n,r){if(!gm(e))return;const i=t[e],u=n[e];ne(i)&&ne(u)?mu(i,u,r):t[e]=na(u)}function mu(e,t,n){const r=pe(t)?t:[t],i=r.length;if(!ne(e))return e;n=n||{};const u=n.merger||HE;for(let s=0;s<i;++s){if(t=r[s],!ne(t))continue;const a=Object.keys(t);for(let o=0,l=a.length;o<l;++o)u(a[o],e,t,n)}return e}function $i(e,t){return mu(e,t,{merger:$E})}function $E(e,t,n){if(!gm(e))return;const r=t[e],i=n[e];ne(r)&&ne(i)?$i(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=na(i))}const Ud={"":e=>e,x:e=>e.x,y:e=>e.y};function Bn(e,t){return(Ud[t]||(Ud[t]=KE(t)))(e)}function KE(e){const t=YE(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function YE(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function x0(e){return e.charAt(0).toUpperCase()+e.slice(1)}const St=e=>typeof e<"u",In=e=>typeof e=="function",Vd=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function qE(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const _e=Math.PI,oe=2*_e,XE=oe+_e,ra=Number.POSITIVE_INFINITY,GE=_e/180,Ee=_e/2,xi=_e/4,Wd=_e*2/3,xt=Math.log10,Yt=Math.sign;function Hd(e){const t=Math.round(e);e=Ki(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(xt(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function QE(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((i,u)=>i-u).pop(),t}function Qr(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Ki(e,t,n){return Math.abs(e-t)<n}function JE(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function ym(e,t,n){let r,i,u;for(r=0,i=e.length;r<i;r++)u=e[r][n],isNaN(u)||(t.min=Math.min(t.min,u),t.max=Math.max(t.max,u))}function Rt(e){return e*(_e/180)}function E0(e){return e*(180/_e)}function $d(e){if(!Me(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function vm(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let u=Math.atan2(r,n);return u<-.5*_e&&(u+=oe),{angle:u,distance:i}}function sc(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function ZE(e,t){return(e-t+XE)%oe-_e}function Nt(e){return(e%oe+oe)%oe}function gu(e,t,n,r){const i=Nt(e),u=Nt(t),s=Nt(n),a=Nt(u-i),o=Nt(s-i),l=Nt(i-u),d=Nt(i-s);return i===u||i===s||r&&u===s||a>o&&l<d}function We(e,t,n){return Math.max(t,Math.min(n,e))}function e_(e){return We(e,-32768,32767)}function ia(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function _0(e,t,n){n=n||(s=>e[s]<t);let r=e.length-1,i=0,u;for(;r-i>1;)u=i+r>>1,n(u)?i=u:r=u;return{lo:i,hi:r}}const er=(e,t,n,r)=>_0(e,n,r?i=>e[i][t]<=n:i=>e[i][t]<n),t_=(e,t,n)=>_0(e,n,r=>e[r][t]>=n);function n_(e,t,
2022-12-18 10:37:20 +00:00
* @kurkle/color v0.2.1
* https://github.com/kurkle/color#readme
* (c) 2022 Jukka Kurkela
* Released under the MIT License
2022-12-24 11:28:30 +00:00
*/function Pu(e){return e+.5|0}const wn=(e,t,n)=>Math.max(Math.min(e,n),t);function Ri(e){return wn(Pu(e*2.55),0,255)}function Tn(e){return wn(Pu(e*255),0,255)}function en(e){return wn(Pu(e/2.55)/100,0,1)}function Gd(e){return wn(Pu(e*100),0,100)}const mt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ac=[..."0123456789ABCDEF"],s_=e=>ac[e&15],a_=e=>ac[(e&240)>>4]+ac[e&15],ts=e=>(e&240)>>4===(e&15),o_=e=>ts(e.r)&&ts(e.g)&&ts(e.b)&&ts(e.a);function l_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&mt[e[1]]*17,g:255&mt[e[2]]*17,b:255&mt[e[3]]*17,a:t===5?mt[e[4]]*17:255}:(t===7||t===9)&&(n={r:mt[e[1]]<<4|mt[e[2]],g:mt[e[3]]<<4|mt[e[4]],b:mt[e[5]]<<4|mt[e[6]],a:t===9?mt[e[7]]<<4|mt[e[8]]:255})),n}const c_=(e,t)=>e<255?t(e):"";function d_(e){var t=o_(e)?s_:a_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+c_(e.a,t):void 0}const f_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function km(e,t,n){const r=t*Math.min(n,1-n),i=(u,s=(u+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function h_(e,t,n){const r=(i,u=(i+e/60)%6)=>n-n*t*Math.max(Math.min(u,4-u,1),0);return[r(5),r(3),r(1)]}function p_(e,t,n){const r=km(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function m_(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function w0(e){const n=e.r/255,r=e.g/255,i=e.b/255,u=Math.max(n,r,i),s=Math.min(n,r,i),a=(u+s)/2;let o,l,d;return u!==s&&(d=u-s,l=a>.5?d/(2-u-s):d/(u+s),o=m_(n,r,i,d,u),o=o*60+.5),[o|0,l||0,a]}function D0(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Tn)}function k0(e,t,n){return D0(km,e,t,n)}function g_(e,t,n){return D0(p_,e,t,n)}function y_(e,t,n){return D0(h_,e,t,n)}function Sm(e){return(e%360+360)%360}function v_(e){const t=f_.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Ri(+t[5]):Tn(+t[5]));const i=Sm(+t[2]),u=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=g_(i,u,s):t[1]==="hsv"?r=y_(i,u,s):r=k0(i,u,s),{r:r[0],g:r[1],b:r[2],a:n}}function b_(e,t){var n=w0(e);n[0]=Sm(n[0]+t),n=k0(n),e.r=n[0],e.g=n[1],e.b=n[2]}function x_(e){if(!e)return;const t=w0(e),n=t[0],r=Gd(t[1]),i=Gd(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${en(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const Qd={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Jd={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"
2022-12-18 10:37:20 +00:00
* Chart.js v3.9.1
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
2022-12-24 11:28:30 +00:00
*/class kw{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,i){const u=n.listeners[i],s=n.duration;u.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=Em.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const u=r.items;let s=u.length-1,a=!1,o;for(;s>=0;--s)o=u[s],o._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),a=!0):(u[s]=u[u.length-1],u.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),u.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=u.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Xt=new kw;const df="transparent",Sw={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=ef(e||df),i=r.valid&&ef(t||df);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Pw{constructor(t,n,r,i){const u=n[r];i=is([t.to,i,u,t.from]);const s=is([t.from,u,i]);this._active=!0,this._fn=t.fn||Sw[t.type||typeof s],this._easing=Yi[t.easing]||Yi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],u=r-this._start,s=this._duration-u;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=u,this._loop=!!t.loop,this._to=is([t.to,n,i,t.from]),this._from=is([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,u=this._from,s=this._loop,a=this._to;let o;if(this._active=u!==a&&(s||n<r),!this._active){this._target[i]=a,this._notify(!0);return}if(n<0){this._target[i]=u;return}o=n/r%2,o=s&&o>1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[i]=this._fn(u,a,o)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}const Cw=["x","y","borderWidth","radius","tension"],Ow=["color","borderColor","backgroundColor"];Z.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Fw=Object.keys(Z.animation);Z.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"});Z.set("animations",{colors:{type:"color",properties:Ow},numbers:{type:"number",properties:Cw}});Z.describe("animations",{_fallback:"animation"});Z.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class Um{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!ne(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!ne(i))return;const u={};for(const s
2022-12-18 10:37:20 +00:00
`)>-1?e.split(`
2022-12-24 11:28:30 +00:00
`):e}function PD(e,t){const{element:n,datasetIndex:r,index:i}=t,u=e.getDatasetMeta(r).controller,{label:s,value:a}=u.getLabelAndValue(i);return{chart:e,label:s,parsed:u.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:u.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Bf(e,t){const n=e.chart.ctx,{body:r,footer:i,title:u}=e,{boxWidth:s,boxHeight:a}=t,o=lt(t.bodyFont),l=lt(t.titleFont),d=lt(t.footerFont),p=u.length,g=i.length,v=r.length,b=Pt(t.padding);let k=b.height,O=0,x=r.reduce((T,D)=>T+D.before.length+D.lines.length+D.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*l.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const T=t.displayColors?Math.max(a,o.lineHeight):o.lineHeight;k+=v*T+(x-v)*o.lineHeight+(x-1)*t.bodySpacing}g&&(k+=t.footerMarginTop+g*d.lineHeight+(g-1)*t.footerSpacing);let _=0;const w=function(T){O=Math.max(O,n.measureText(T).width+_)};return n.save(),n.font=l.string,ue(e.title,w),n.font=o.string,ue(e.beforeBody.concat(e.afterBody),w),_=t.displayColors?s+2+t.boxPadding:0,ue(r,T=>{ue(T.before,w),ue(T.lines,w),ue(T.after,w)}),_=0,n.font=d.string,ue(e.footer,w),n.restore(),O+=b.width,{width:O,height:k}}function CD(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function OD(e,t,n,r){const{x:i,width:u}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+u+s>t.width||e==="right"&&i-u-s<0)return!0}function FD(e,t,n,r){const{x:i,width:u}=n,{width:s,chartArea:{left:a,right:o}}=e;let l="center";return r==="center"?l=i<=(a+o)/2?"left":"right":i<=u/2?l="left":i>=s-u/2&&(l="right"),OD(l,e,t,n)&&(l="center"),l}function If(e,t,n){const r=n.yAlign||t.yAlign||CD(e,n);return{xAlign:n.xAlign||t.xAlign||FD(e,t,n,r),yAlign:r}}function ND(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function AD(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function zf(e,t,n,r){const{caretSize:i,caretPadding:u,cornerRadius:s}=e,{xAlign:a,yAlign:o}=n,l=i+u,{topLeft:d,topRight:p,bottomLeft:g,bottomRight:v}=Vr(s);let b=ND(t,a);const k=AD(t,o,l);return o==="center"?a==="left"?b+=l:a==="right"&&(b-=l):a==="left"?b-=Math.max(d,g)+i:a==="right"&&(b+=Math.max(p,v)+i),{x:We(b,0,r.width-t.width),y:We(k,0,r.height-t.height)}}function ds(e,t,n){const r=Pt(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function jf(e){return Ut([],Gt(e))}function RD(e,t,n){return Vn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Uf(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class mc extends hn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,u=new Um(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(u)),u}getContext(){return this.$context||(this.$context=RD(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=r.beforeTitle.apply(this,[t]),u=r.title.apply(this,[t]),s=r.afterTitle.apply(this,[t]);let a=[];return a=Ut(a,Gt(i)),a=Ut(a,Gt(u)),a=Ut(a,Gt(s)),a}getBeforeBody(t,n){return jf(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:r}=n,i=[];return ue(t,u=>{const s={before:[],lines:[],after:[]},a=Uf(r,u);Ut(s.before,Gt(a.beforeLabel.call(this,u))
${e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null}`}),c("div",{className:"news-post-wrapper",children:n?n.data.map((i,u)=>u<=2?c(b3,{title:i.title,shortDes:i.short_description,date:z0(i.date),image:i.image,id:i.id,setPostId:t,lang:e},i.id):null):""})]})})})]})},ck=({lang:e})=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),c("main",{children:P("div",{className:"container",children:[e==="ru"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"\u041E \u0431\u0438\u0440\u0436\u0435"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0413\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u0430\u044F \u0431\u0438\u0440\u0436\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0431\u044B\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u0423\u043A\u0430\u0437\u043E\u043C \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0442 29 \u0438\u044E\u043B\u044F 1994 \u0433\u043E\u0434\u0430 \u0438 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432\u0430\u0436\u043D\u0435\u0439\u0448\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C \u0438\u043D\u0441\u0442\u0438\u0442\u0443\u0442\u043E\u043C \u0441\u0442\u0440\u0430\u043D\u044B. \u0411\u0438\u0440\u0436\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0433\u043B\u0430\u0432\u043D\u043E\u0433\u043E \u043E\u0440\u0433\u0430\u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E-\u0438\u043C\u043F\u043E\u0440\u0442\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439. \u041E\u0442\u043B\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0445\u0430\u043D\u0438\u0437\u043C \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0435\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u0436\u0434\u0443\u043D\u0430\u0440\u043E\u0434\u043D\u0443\u044E \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443."}),c("p",{children:"\u0421\u043F\u0435\u043A\u0442\u0440 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0413\u0422\u0421\u0411\u0422 \u0447\u0440\u0435\u0437\u0432\u044B\u0447\u0430\u0439\u043D\u043E \u0448\u0438\u0440\u043E\u043A \u2013 \u043E\u043D\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0439 \u0431\u0438\u0440\u0436\u0435\u0439, \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044F \u0438 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u044F \u0447\u0435\u0440\u0435\u0437 \u0442\u043E\u0440\u0433\u0438 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0438 (\u0437\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0439 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438), \u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0430 \u0438 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u
2022-12-18 10:37:20 +00:00
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var pa=function(){return pa=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},pa.apply(this,arguments)};mk(`.marquee-container {
overflow-x: hidden !important;
display: flex !important;
flex-direction: row !important;
position: relative;
width: 100%;
}
.marquee-container:hover div {
animation-play-state: var(--pause-on-hover);
}
.marquee-container:active div {
animation-play-state: var(--pause-on-click);
}
.overlay {
position: absolute;
width: 100%;
height: 100%;
}
.overlay::before, .overlay::after {
background: linear-gradient(to right, var(--gradient-color));
content: "";
height: 100%;
position: absolute;
width: var(--gradient-width);
z-index: 2;
}
.overlay::after {
right: 0;
top: 0;
transform: rotateZ(180deg);
}
.overlay::before {
left: 0;
top: 0;
}
.marquee {
flex: 0 0 auto;
min-width: 100%;
z-index: 1;
display: flex;
flex-direction: row;
align-items: center;
animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
animation-play-state: var(--play);
animation-delay: var(--delay);
animation-direction: var(--direction);
}
@keyframes scroll {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
2022-12-24 11:28:30 +00:00
}`);var yk=function(e){var t,n,r,i,u=e.style,s=u===void 0?{}:u,a=e.className,o=a===void 0?"":a,l=e.play,d=l===void 0?!0:l,p=e.pauseOnHover,g=p===void 0?!1:p,v=e.pauseOnClick,b=v===void 0?!1:v,k=e.direction,O=k===void 0?"left":k,x=e.speed,_=x===void 0?20:x,w=e.delay,T=w===void 0?0:w,D=e.loop,S=D===void 0?0:D,y=e.gradient,f=y===void 0?!0:y,m=e.gradientColor,h=m===void 0?[255,255,255]:m,E=e.gradientWidth,C=E===void 0?200:E,B=e.onFinish,F=e.onCycleComplete,M=e.children,I=Qt.useState(0),L=I[0],A=I[1],R=Qt.useState(0),N=R[0],z=R[1],U=Qt.useState(!1),W=U[0],q=U[1],X=Qt.useRef(null),Q=Qt.useRef(null);Qt.useEffect(function(){if(!!W){var Se=function(){Q.current&&X.current&&(A(X.current.getBoundingClientRect().width),z(Q.current.getBoundingClientRect().width))};return Se(),window.addEventListener("resize",Se),function(){window.removeEventListener("resize",Se)}}},[W]),Qt.useEffect(function(){q(!0)},[]);var G="rgba("+h[0]+", "+h[1]+", "+h[2],we=N<L?L/_:N/_;return Si.default.createElement(Qt.Fragment,null,W?Si.default.createElement("div",{ref:X,style:pa(pa({},s),(t={},t["--pause-on-hover"]=!d||g?"paused":"running",t["--pause-on-click"]=!d||g&&!b||b?"paused":"running",t)),className:o+" marquee-container"},f&&Si.default.createElement("div",{style:(n={},n["--gradient-color"]=G+", 1), "+G+", 0)",n["--gradient-width"]=typeof C=="number"?C+"px":C,n),className:"overlay"}),Si.default.createElement("div",{ref:Q,style:(r={},r["--play"]=d?"running":"paused",r["--direction"]=O==="left"?"normal":"reverse",r["--duration"]=we+"s",r["--delay"]=T+"s",r["--iteration-count"]=S?""+S:"infinite",r),className:"marquee",onAnimationIteration:F,onAnimationEnd:B},M),Si.default.createElement("div",{style:(i={},i["--play"]=d?"running":"paused",i["--direction"]=O==="left"?"normal":"reverse",i["--duration"]=we+"s",i["--delay"]=T+"s",i["--iteration-count"]=S?""+S:"infinite",i),className:"marquee","aria-hidden":"true"},M)):null)},vk=fg.default=yk;const bk=({title:e,change:t,price:n,oldPrice:r,currency:i})=>P("div",{className:"ticker-block",children:[c("h3",{className:"ticker-title",children:e}),P("div",{className:"ticker-content",children:[P("div",{className:"ticker-price",children:[n," ",i]}),P("div",{className:"ticker-status",children:[c("div",{className:"ticker-arrow",children:c("img",{src:n>=r?hm:pm})}),c("span",{className:`ticker-status-title ${n>=r?"green":"red"}`,children:t})]})]})]}),xk=20,Ek=()=>{const[e,t]=j.exports.useState();return j.exports.useEffect(()=>{new Be("http://tmex.gov.tm:8765/api/tradings",e,t).get()},[]),c(vk,{className:"ticker",gradient:!1,speed:xk,children:c("div",{className:"ticker-wrapper",children:e?e.data.map(n=>c(bk,{title:n.title,change:n.price_change,price:n.price,oldPrice:n.old_price,currency:n.currency},n.id)):""})})},Gf="/assets/phone.827f98ca.svg",_k="/assets/fax.75231e49.svg",wk="/assets/mail.ecbe6887.svg",Dk=({title:e,firstPosition:t,secondPosition:n,firstPhone:r,secondPhone:i,firstFax:u,firstMail:s})=>P("div",{className:"contacts-card",children:[c("h2",{className:"contacts-card-title",children:e}),P("div",{className:"contacts-card-pos-wrapper",children:[t&&r?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:t}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:Gf,alt:"phone"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}),u?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:_k,alt:"fax"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}):null,s?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:wk,alt:"mail"})}),c("h4",{className:"contacts-card-pos-contact-title",children:s})]}):null]}):null,n&&i?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:n}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-c