0&&b<1;if(k){var T=this.player.getDuration();if(!T){console.warn("ReactPlayer: could not seek using fraction \u2013\xA0duration not yet available");return}this.player.seekTo(T*b);return}this.player.seekTo(b)}},{key:"render",value:function(){var b=this.props.activePlayer;return b?n.default.createElement(b,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),p}(n.Component);t.default=D,N(D,"displayName","Player"),N(D,"propTypes",u.propTypes),N(D,"defaultProps",u.defaultProps)})(z3);var Fa={},Ef;function pE(){return Ef||(Ef=1,function(t){function e(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(g){return typeof g}:e=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(P)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(j.exports);function r(){if(typeof WeakMap!="function")return null;var P=new WeakMap;return r=function(){return P},P}function u(P){if(P&&P.__esModule)return P;if(P===null||e(P)!=="object"&&typeof P!="function")return{default:P};var D=r();if(D&&D.has(P))return D.get(P);var g={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in P)if(Object.prototype.hasOwnProperty.call(P,p)){var d=f?Object.getOwnPropertyDescriptor(P,p):null;d&&(d.get||d.set)?Object.defineProperty(g,p,d):g[p]=P[p]}return g.default=P,D&&D.set(P,g),g}function i(P,D){var g=Object.keys(P);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(P);D&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(P,p).enumerable})),g.push.apply(g,f)}return g}function o(P){for(var D=1;D"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 C(P){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},C(P)}function E(P,D,g){return D in P?Object.defineProperty(P,D,{value:g,enumerable:!0,configurable:!0,writable:!0}):P[D]=g,P}var w="64px",x={},N=function(P){c(g,P);var D=m(g);function g(){var f;s(this,g);for(var p=arguments.length,d=new Array(p),b=0;bt.length)&&(e=t.length);for(var n=0,r=new Array(e);n"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 ts(t){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ts(t)}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j3(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return j3=function(){return t},t}function V3(t){if(t&&t.__esModule)return t;if(t===null||Uu(t)!=="object"&&typeof t!="function")return{default:t};var e=j3();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var i=r?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}var CE=(0,qn.lazy)(function(){return Promise.resolve().then(function(){return V3(pE())})}),kE=typeof window<"u"&&window.document,AE=typeof Ks<"u"&&Ks.window&&Ks.window.document,RE=Object.keys(ku.propTypes),ME=kE||AE?qn.Suspense:function(){return null},pu=[],NE=function(e,n){var r,u;return u=r=function(i){PE(s,i);var o=SE(s);function s(){var a;wE(this,s);for(var l=arguments.length,c=new Array(l),h=0;h0&&arguments[0]!==void 0?arguments[0]:"player";return a.player?a.player.getInternalPlayer(m):null}),ve(ze(a),"seekTo",function(m,y){if(!a.player)return null;a.player.seekTo(m,y)}),ve(ze(a),"handleReady",function(){a.props.onReady(ze(a))}),ve(ze(a),"getActivePlayer",(0,La.default)(function(m){for(var y=0,v=[].concat(pu,Ba(e));y_("div",{className:"video-player",children:_(TE,{url:t,controls:!0,volume:1,light:!0,height:"100%",width:"100%"})});function W3(t,e){return function(){return t.apply(e,arguments)}}const{toString:H3}=Object.prototype,{getPrototypeOf:d0}=Object,h0=(t=>e=>{const n=H3.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=t=>(t=t.toLowerCase(),e=>h0(e)===t),Ls=t=>e=>typeof e===t,{isArray:Si}=Array,tc=Ls("undefined");function FE(t){return t!==null&&!tc(t)&&t.constructor!==null&&!tc(t.constructor)&&tu(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const $3=fn("ArrayBuffer");function LE(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&$3(t.buffer),e}const BE=Ls("string"),tu=Ls("function"),K3=Ls("number"),Y3=t=>t!==null&&typeof t=="object",IE=t=>t===!0||t===!1,Do=t=>{if(h0(t)!=="object")return!1;const e=d0(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},zE=fn("Date"),jE=fn("File"),VE=fn("Blob"),UE=fn("FileList"),WE=t=>Y3(t)&&tu(t.pipe),HE=t=>{const e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||H3.call(t)===e||tu(t.toString)&&t.toString()===e)},$E=fn("URLSearchParams"),KE=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bs(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,u;if(typeof t!="object"&&(t=[t]),Si(t))for(r=0,u=t.length;r{Do(t[r])&&Do(n)?t[r]=nc(t[r],n):Do(n)?t[r]=nc({},n):Si(n)?t[r]=n.slice():t[r]=n};for(let n=0,r=arguments.length;n(Bs(e,(u,i)=>{n&&tu(u)?t[i]=W3(u,n):t[i]=u},{allOwnKeys:r}),t),qE=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),XE=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},GE=(t,e,n,r)=>{let u,i,o;const s={};if(e=e||{},t==null)return e;do{for(u=Object.getOwnPropertyNames(t),i=u.length;i-- >0;)o=u[i],(!r||r(o,t,e))&&!s[o]&&(e[o]=t[o],s[o]=!0);t=n!==!1&&d0(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},QE=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},ZE=t=>{if(!t)return null;if(Si(t))return t;let e=t.length;if(!K3(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},JE=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&d0(Uint8Array)),e2=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let u;for(;(u=r.next())&&!u.done;){const i=u.value;e.call(t,i[0],i[1])}},t2=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},n2=fn("HTMLFormElement"),r2=t=>t.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,u){return r.toUpperCase()+u}),Sf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),u2=fn("RegExp"),q3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Bs(n,(u,i)=>{e(u,i,t)!==!1&&(r[i]=u)}),Object.defineProperties(t,r)},i2=t=>{q3(t,(e,n)=>{const r=t[n];if(!!tu(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not read-only method '"+n+"'")})}})},o2=(t,e)=>{const n={},r=u=>{u.forEach(i=>{n[i]=!0})};return Si(t)?r(t):r(String(t).split(e)),n},s2=()=>{},a2=(t,e)=>(t=+t,Number.isFinite(t)?t:e),U={isArray:Si,isArrayBuffer:$3,isBuffer:FE,isFormData:HE,isArrayBufferView:LE,isString:BE,isNumber:K3,isBoolean:IE,isObject:Y3,isPlainObject:Do,isUndefined:tc,isDate:zE,isFile:jE,isBlob:VE,isRegExp:u2,isFunction:tu,isStream:WE,isURLSearchParams:$E,isTypedArray:JE,isFileList:UE,forEach:Bs,merge:nc,extend:YE,trim:KE,stripBOM:qE,inherits:XE,toFlatObject:GE,kindOf:h0,kindOfTest:fn,endsWith:QE,toArray:ZE,forEachEntry:e2,matchAll:t2,isHTMLForm:n2,hasOwnProperty:Sf,hasOwnProp:Sf,reduceDescriptors:q3,freezeMethods:i2,toObjectSet:o2,toCamelCase:r2,noop:s2,toFiniteNumber:a2};function re(t,e,n,r,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),u&&(this.response=u)}U.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const X3=re.prototype,G3={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{G3[t]={value:t}});Object.defineProperties(re,G3);Object.defineProperty(X3,"isAxiosError",{value:!0});re.from=(t,e,n,r,u,i)=>{const o=Object.create(X3);return U.toFlatObject(t,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),re.call(o,t.message,e,n,r,u),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};var l2=typeof self=="object"?self.FormData:window.FormData;function rc(t){return U.isPlainObject(t)||U.isArray(t)}function Q3(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function Df(t,e,n){return t?t.concat(e).map(function(u,i){return u=Q3(u),!n&&i?"["+u+"]":u}).join(n?".":""):e}function c2(t){return U.isArray(t)&&!t.some(rc)}const f2=U.toFlatObject(U,{},null,function(e){return/^is[A-Z]/.test(e)});function d2(t){return t&&U.isFunction(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator]}function Is(t,e,n){if(!U.isObject(t))throw new TypeError("target must be an object");e=e||new(l2||FormData),n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!U.isUndefined(C[S])});const r=n.metaTokens,u=n.visitor||c,i=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&d2(e);if(!U.isFunction(u))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(U.isDate(v))return v.toISOString();if(!a&&U.isBlob(v))throw new re("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(v)||U.isTypedArray(v)?a&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function c(v,S,C){let E=v;if(v&&!C&&typeof v=="object"){if(U.endsWith(S,"{}"))S=r?S:S.slice(0,-2),v=JSON.stringify(v);else if(U.isArray(v)&&c2(v)||U.isFileList(v)||U.endsWith(S,"[]")&&(E=U.toArray(v)))return S=Q3(S),E.forEach(function(x,N){!U.isUndefined(x)&&e.append(o===!0?Df([S],N,i):o===null?S:S+"[]",l(x))}),!1}return rc(v)?!0:(e.append(Df(C,S,i),l(v)),!1)}const h=[],m=Object.assign(f2,{defaultVisitor:c,convertValue:l,isVisitable:rc});function y(v,S){if(!U.isUndefined(v)){if(h.indexOf(v)!==-1)throw Error("Circular reference detected in "+S.join("."));h.push(v),U.forEach(v,function(E,w){(!U.isUndefined(E)&&u.call(e,E,U.isString(w)?w.trim():w,S,m))===!0&&y(E,S?S.concat(w):[w])}),h.pop()}}if(!U.isObject(t))throw new TypeError("data must be an object");return y(t),e}function Of(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function p0(t,e){this._pairs=[],t&&Is(t,this,e)}const Z3=p0.prototype;Z3.append=function(e,n){this._pairs.push([e,n])};Z3.toString=function(e){const n=e?function(r){return e.call(this,r,Of)}:Of;return this._pairs.map(function(u){return n(u[0])+"="+n(u[1])},"").join("&")};function h2(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J3(t,e,n){if(!e)return t;const r=t.indexOf("#");r!==-1&&(t=t.slice(0,r));const u=n&&n.encode||h2,i=U.isURLSearchParams(e)?e.toString():new p0(e,n).toString(u);return i&&(t+=(t.indexOf("?")===-1?"?":"&")+i),t}class Cf{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){U.forEach(this.handlers,function(r){r!==null&&e(r)})}}const em={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},p2=typeof URLSearchParams<"u"?URLSearchParams:p0,m2=FormData,g2=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),rn={isBrowser:!0,classes:{URLSearchParams:p2,FormData:m2,Blob},isStandardBrowserEnv:g2,protocols:["http","https","file","blob","url","data"]};function y2(t,e){return Is(t,new rn.classes.URLSearchParams,Object.assign({visitor:function(n,r,u,i){return rn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function v2(t){return U.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _2(t){const e={},n=Object.keys(t);let r;const u=n.length;let i;for(r=0;r=n.length;return o=!o&&U.isArray(u)?u.length:o,a?(U.hasOwnProp(u,o)?u[o]=[u[o],r]:u[o]=r,!s):((!u[o]||!U.isObject(u[o]))&&(u[o]=[]),e(n,r,u[o],i)&&U.isArray(u[o])&&(u[o]=_2(u[o])),!s)}if(U.isFormData(t)&&U.isFunction(t.entries)){const n={};return U.forEachEntry(t,(r,u)=>{e(v2(r),u,n,0)}),n}return null}function E2(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const b2=rn.isStandardBrowserEnv?function(){return{write:function(n,r,u,i,o,s){const a=[];a.push(n+"="+encodeURIComponent(r)),U.isNumber(u)&&a.push("expires="+new Date(u).toGMTString()),U.isString(i)&&a.push("path="+i),U.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function w2(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function x2(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function nm(t,e){return t&&!w2(e)?x2(t,e):e}const P2=rn.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function u(i){let o=i;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=u(window.location.href),function(o){const s=U.isString(o)?u(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Di(t,e,n){re.call(this,t==null?"canceled":t,re.ERR_CANCELED,e,n),this.name="CanceledError"}U.inherits(Di,re,{__CANCEL__:!0});function S2(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}const D2=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),O2=t=>{const e={};let n,r,u;return t&&t.split(`
+`).forEach(function(o){u=o.indexOf(":"),n=o.substring(0,u).trim().toLowerCase(),r=o.substring(u+1).trim(),!(!n||e[n]&&D2[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},kf=Symbol("internals"),rm=Symbol("defaults");function Au(t){return t&&String(t).trim().toLowerCase()}function Ji(t){return t===!1||t==null?t:String(t)}function C2(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}function Af(t,e,n,r){if(U.isFunction(r))return r.call(this,e,n);if(!!U.isString(e)){if(U.isString(r))return e.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(e)}}function k2(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function A2(t,e){const n=U.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(u,i,o){return this[r].call(this,e,u,i,o)},configurable:!0})})}function mu(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,u;for(;r-- >0;)if(u=n[r],e===u.toLowerCase())return u;return null}function xt(t,e){t&&this.set(t),this[rm]=e||null}Object.assign(xt.prototype,{set:function(t,e,n){const r=this;function u(i,o,s){const a=Au(o);if(!a)throw new Error("header name must be a non-empty string");const l=mu(r,a);l&&s!==!0&&(r[l]===!1||s===!1)||(U.isArray(i)?i=i.map(Ji):i=Ji(i),r[l||o]=i)}return U.isPlainObject(t)?U.forEach(t,(i,o)=>{u(i,o,e)}):u(e,t,n),this},get:function(t,e){if(t=Au(t),!t)return;const n=mu(this,t);if(n){const r=this[n];if(!e)return r;if(e===!0)return C2(r);if(U.isFunction(e))return e.call(this,r,n);if(U.isRegExp(e))return e.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(t,e){if(t=Au(t),t){const n=mu(this,t);return!!(n&&(!e||Af(this,this[n],n,e)))}return!1},delete:function(t,e){const n=this;let r=!1;function u(i){if(i=Au(i),i){const o=mu(n,i);o&&(!e||Af(n,n[o],o,e))&&(delete n[o],r=!0)}}return U.isArray(t)?t.forEach(u):u(t),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(t){const e=this,n={};return U.forEach(this,(r,u)=>{const i=mu(n,u);if(i){e[i]=Ji(r),delete e[u];return}const o=t?k2(u):String(u).trim();o!==u&&delete e[u],e[o]=Ji(r),n[o]=!0}),this},toJSON:function(){const t=Object.create(null);return U.forEach(Object.assign({},this[rm]||null,this),(e,n)=>{e==null||e===!1||(t[n]=U.isArray(e)?e.join(", "):e)}),t}});Object.assign(xt,{from:function(t){return U.isString(t)?new this(O2(t)):t instanceof this?t:new this(t)},accessor:function(t){const n=(this[kf]=this[kf]={accessors:{}}).accessors,r=this.prototype;function u(i){const o=Au(i);n[o]||(A2(r,i),n[o]=!0)}return U.isArray(t)?t.forEach(u):u(t),this}});xt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);U.freezeMethods(xt.prototype);U.freezeMethods(xt);function R2(t,e){t=t||10;const n=new Array(t),r=new Array(t);let u=0,i=0,o;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),c=r[i];o||(o=l),n[u]=a,r[u]=l;let h=i,m=0;for(;h!==u;)m+=n[h++],h=h%t;if(u=(u+1)%t,u===i&&(i=(i+1)%t),l-o{const i=u.loaded,o=u.lengthComputable?u.total:void 0,s=i-n,a=r(s),l=i<=o;n=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:s,rate:a||void 0,estimated:a&&o&&l?(o-i)/a:void 0};c[e?"download":"upload"]=!0,t(c)}}function Mf(t){return new Promise(function(n,r){let u=t.data;const i=xt.from(t.headers).normalize(),o=t.responseType;let s;function a(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}U.isFormData(u)&&rn.isStandardBrowserEnv&&i.setContentType(!1);let l=new XMLHttpRequest;if(t.auth){const y=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(y+":"+v))}const c=nm(t.baseURL,t.url);l.open(t.method.toUpperCase(),J3(c,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function h(){if(!l)return;const y=xt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),S={data:!o||o==="text"||o==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:t,request:l};E2(function(E){n(E),a()},function(E){r(E),a()},S),l=null}if("onloadend"in l?l.onloadend=h:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(h)},l.onabort=function(){!l||(r(new re("Request aborted",re.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let v=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const S=t.transitional||em;t.timeoutErrorMessage&&(v=t.timeoutErrorMessage),r(new re(v,S.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,t,l)),l=null},rn.isStandardBrowserEnv){const y=(t.withCredentials||P2(c))&&t.xsrfCookieName&&b2.read(t.xsrfCookieName);y&&i.set(t.xsrfHeaderName,y)}u===void 0&&i.setContentType(null),"setRequestHeader"in l&&U.forEach(i.toJSON(),function(v,S){l.setRequestHeader(S,v)}),U.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",Rf(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Rf(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=y=>{!l||(r(!y||y.type?new Di(null,t,l):y),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));const m=S2(c);if(m&&rn.protocols.indexOf(m)===-1){r(new re("Unsupported protocol "+m+":",re.ERR_BAD_REQUEST,t));return}l.send(u||null)})}const Nf={http:Mf,xhr:Mf},Tf={getAdapter:t=>{if(U.isString(t)){const e=Nf[t];if(!t)throw Error(U.hasOwnProp(t)?`Adapter '${t}' is not available in the build`:`Can not resolve adapter '${t}'`);return e}if(!U.isFunction(t))throw new TypeError("adapter is not a function");return t},adapters:Nf},M2={"Content-Type":"application/x-www-form-urlencoded"};function N2(){let t;return typeof XMLHttpRequest<"u"?t=Tf.getAdapter("xhr"):typeof process<"u"&&U.kindOf(process)==="process"&&(t=Tf.getAdapter("http")),t}function T2(t,e,n){if(U.isString(t))try{return(e||JSON.parse)(t),U.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const nu={transitional:em,adapter:N2(),transformRequest:[function(e,n){const r=n.getContentType()||"",u=r.indexOf("application/json")>-1,i=U.isObject(e);if(i&&U.isHTMLForm(e)&&(e=new FormData(e)),U.isFormData(e))return u&&u?JSON.stringify(tm(e)):e;if(U.isArrayBuffer(e)||U.isBuffer(e)||U.isStream(e)||U.isFile(e)||U.isBlob(e))return e;if(U.isArrayBufferView(e))return e.buffer;if(U.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y2(e,this.formSerializer).toString();if((s=U.isFileList(e))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Is(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||u?(n.setContentType("application/json",!1),T2(e)):e}],transformResponse:[function(e){const n=this.transitional||nu.transitional,r=n&&n.forcedJSONParsing,u=this.responseType==="json";if(e&&U.isString(e)&&(r&&!this.responseType||u)){const o=!(n&&n.silentJSONParsing)&&u;try{return JSON.parse(e)}catch(s){if(o)throw s.name==="SyntaxError"?re.from(s,re.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rn.classes.FormData,Blob:rn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(e){nu.headers[e]={}});U.forEach(["post","put","patch"],function(e){nu.headers[e]=U.merge(M2)});function Ia(t,e){const n=this||nu,r=e||n,u=xt.from(r.headers);let i=r.data;return U.forEach(t,function(s){i=s.call(n,i,u.normalize(),e?e.status:void 0)}),u.normalize(),i}function um(t){return!!(t&&t.__CANCEL__)}function za(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Di}function Ff(t){return za(t),t.headers=xt.from(t.headers),t.data=Ia.call(t,t.transformRequest),(t.adapter||nu.adapter)(t).then(function(r){return za(t),r.data=Ia.call(t,t.transformResponse,r),r.headers=xt.from(r.headers),r},function(r){return um(r)||(za(t),r&&r.response&&(r.response.data=Ia.call(t,t.transformResponse,r.response),r.response.headers=xt.from(r.response.headers))),Promise.reject(r)})}function di(t,e){e=e||{};const n={};function r(l,c){return U.isPlainObject(l)&&U.isPlainObject(c)?U.merge(l,c):U.isPlainObject(c)?U.merge({},c):U.isArray(c)?c.slice():c}function u(l){if(U.isUndefined(e[l])){if(!U.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],e[l])}function i(l){if(!U.isUndefined(e[l]))return r(void 0,e[l])}function o(l){if(U.isUndefined(e[l])){if(!U.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,e[l])}function s(l){if(l in e)return r(t[l],e[l]);if(l in t)return r(void 0,t[l])}const a={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s};return U.forEach(Object.keys(t).concat(Object.keys(e)),function(c){const h=a[c]||u,m=h(c);U.isUndefined(m)&&h!==s||(n[c]=m)}),n}const im="1.1.2",m0={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{m0[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Lf={};m0.transitional=function(e,n,r){function u(i,o){return"[Axios v"+im+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(e===!1)throw new re(u(o," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Lf[o]&&(Lf[o]=!0,console.warn(u(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,s):!0}};function F2(t,e,n){if(typeof t!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let u=r.length;for(;u-- >0;){const i=r[u],o=e[i];if(o){const s=t[i],a=s===void 0||o(s,i,t);if(a!==!0)throw new re("option "+i+" must be "+a,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+i,re.ERR_BAD_OPTION)}}const om={assertOptions:F2,validators:m0},vr=om.validators;class tr{constructor(e){this.defaults=e,this.interceptors={request:new Cf,response:new Cf}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=di(this.defaults,n);const r=n.transitional;r!==void 0&&om.assertOptions(r,{silentJSONParsing:vr.transitional(vr.boolean),forcedJSONParsing:vr.transitional(vr.boolean),clarifyTimeoutError:vr.transitional(vr.boolean)},!1),n.method=(n.method||this.defaults.method||"get").toLowerCase();const u=n.headers&&U.merge(n.headers.common,n.headers[n.method]);u&&U.forEach(["delete","get","head","post","put","patch","common"],function(y){delete n.headers[y]}),n.headers=new xt(n.headers,u);const i=[];let o=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(o=o&&y.synchronous,i.unshift(y.fulfilled,y.rejected))});const s=[];this.interceptors.response.forEach(function(y){s.push(y.fulfilled,y.rejected)});let a,l=0,c;if(!o){const m=[Ff.bind(this),void 0];for(m.unshift.apply(m,i),m.push.apply(m,s),c=m.length,a=Promise.resolve(n);l{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](u);r._listeners=null}),this.promise.then=u=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(u);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,s){r.reason||(r.reason=new Di(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new g0(function(u){e=u}),cancel:e}}}function L2(t){return function(n){return t.apply(null,n)}}function B2(t){return U.isObject(t)&&t.isAxiosError===!0}function sm(t){const e=new tr(t),n=W3(tr.prototype.request,e);return U.extend(n,tr.prototype,e,{allOwnKeys:!0}),U.extend(n,e,null,{allOwnKeys:!0}),n.create=function(u){return sm(di(t,u))},n}const Xe=sm(nu);Xe.Axios=tr;Xe.CanceledError=Di;Xe.CancelToken=g0;Xe.isCancel=um;Xe.VERSION=im;Xe.toFormData=Is;Xe.AxiosError=re;Xe.Cancel=Xe.CanceledError;Xe.all=function(e){return Promise.all(e)};Xe.spread=L2;Xe.isAxiosError=B2;Xe.formToJSON=t=>tm(U.isHTMLForm(t)?new FormData(t):t);class qe{constructor(e,n,r,u,i){pr(this,"destination");pr(this,"initialState");pr(this,"setState");pr(this,"setLoader");pr(this,"middleware",e=>e);this.destination=e,this.initialState=n,this.setState=r,this.setLoader=u,this.middleware=i}get(e,n=!1){try{return Xe.get(this.destination,e?{headers:e}:null).then(r=>{n&&this.setLoader(!0),this.setState(r.data)}).finally(()=>{n&&this.setLoader(!1)})}catch(r){throw new Error("Bad parameters",r)}}post(e,n=!1,r=!1){try{return Xe.post(this.destination,e).then(u=>{r&&this.setLoader(!0),n&&this.setState(u.data)}).finally(()=>{r&&this.setLoader(!1)})}catch(u){throw new Error("Bad parameters",u)}}}const am="/assets/arrow-up.403bca16.svg",lm="/assets/arrow-down.6e85faaa.svg",I2=({active:t,onClick:e,title:n,priceChange:r,price:u,currency:i,titleHide:o})=>{const s=c=>{const h=Array.from(c);h.pop();let m="";return h.forEach(y=>{m=m+y}),parseFloat(m)},[a,l]=j.exports.useState();return j.exports.useEffect(()=>{l(s(r))},[r]),z("div",{className:`table-row ${t}`,onClick:()=>e(),children:[_("div",{className:`table-product-name ${o}`,children:n}),z("div",{className:"table-row-status",children:[_("div",{className:"table-row-arrow",children:_("img",{src:a>0?am:a<0?lm:""})}),_("span",{className:a>0?"table-row-status-title green":a<0?"table-row-status-title red":"table-row-status-title",children:r})]}),z("div",{className:"table-product-price",children:[u," ",i]})]})},z2=({activeRow:t,setActiveRow:e})=>{const[n,r]=j.exports.useState(),u=i=>{e(i)};return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/categories/8/tradings",n,r).get()},[]),z("div",{className:"table",children:[z("div",{className:"table-top",children:[_("h4",{className:"table-title",children:"\u0422\u043E\u0432\u0430\u0440\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F"}),_("h4",{className:"table-title",children:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0446\u0435\u043D\u044B"}),_("h4",{className:"table-title",children:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0446\u0435\u043D\u0430"})]}),_("div",{className:"table-bottom",children:n?n.data.map((i,o)=>_(I2,{title:i.title,titleHide:i.title.length>7?"title-hide":null,priceChange:i.price_change,price:i.price,currency:i.currency,onClick:()=>u(o),active:t===o?"active":""},i.id)):null})]})};/*!
+ * Chart.js v3.9.1
+ * https://www.chartjs.org
+ * (c) 2022 Chart.js Contributors
+ * Released under the MIT License
+ */const j2=function(){let t=0;return function(){return t++}}();function ie(t){return t===null||typeof t>"u"}function fe(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function ne(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}const Te=t=>(typeof t=="number"||t instanceof Number)&&isFinite(+t);function yt(t,e){return Te(t)?t:e}function ee(t,e){return typeof t>"u"?e:t}const V2=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:t/e,cm=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function _e(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function ue(t,e,n,r){let u,i,o;if(fe(t))if(i=t.length,r)for(u=i-1;u>=0;u--)e.call(n,t[u],u);else for(u=0;ut,x:t=>t.x,y:t=>t.y};function Ln(t,e){return(Bf[e]||(Bf[e]=H2(e)))(t)}function H2(t){const e=$2(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function $2(t){const e=t.split("."),n=[];let r="";for(const u of e)r+=u,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function y0(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Dt=t=>typeof t<"u",Bn=t=>typeof t=="function",If=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function K2(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const pe=Math.PI,ae=2*pe,Y2=ae+pe,us=Number.POSITIVE_INFINITY,q2=pe/180,be=pe/2,gu=pe/4,zf=pe*2/3,Et=Math.log10,Kt=Math.sign;function jf(t){const e=Math.round(t);t=Hu(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Et(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function X2(t){const e=[],n=Math.sqrt(t);let r;for(r=1;ru-i).pop(),e}function qr(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Hu(t,e,n){return Math.abs(t-e)=t}function dm(t,e,n){let r,u,i;for(r=0,u=t.length;ra&&l=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function _0(t,e,n){n=n||(o=>t[o]1;)i=u+r>>1,n(i)?u=i:r=i;return{lo:u,hi:r}}const Zn=(t,e,n,r)=>_0(t,n,r?u=>t[u][e]<=n:u=>t[u][e]_0(t,n,r=>t[r][e]>=n);function eb(t,e,n){let r=0,u=t.length;for(;rr&&t[u-1]>n;)u--;return r>0||u{const r="_onData"+y0(n),u=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const o=u.apply(this,i);return t._chartjs.listeners.forEach(s=>{typeof s[r]=="function"&&s[r](...i)}),o}})})}function Uf(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,u=r.indexOf(e);u!==-1&&r.splice(u,1),!(r.length>0)&&(pm.forEach(i=>{delete t[i]}),delete t._chartjs)}function mm(t){const e=new Set;let n,r;for(n=0,r=t.length;n"u"?function(t){return t()}:window.requestAnimationFrame}();function ym(t,e,n){const r=n||(o=>Array.prototype.slice.call(o));let u=!1,i=[];return function(...o){i=r(o),u||(u=!0,gm.call(window,()=>{u=!1,t.apply(e,i)}))}}function nb(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const vm=t=>t==="start"?"left":t==="end"?"right":"center",$u=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function _m(t,e,n){const r=e.length;let u=0,i=r;if(t._sorted){const{iScale:o,_parsed:s}=t,a=o.axis,{min:l,max:c,minDefined:h,maxDefined:m}=o.getUserBounds();h&&(u=Ve(Math.min(Zn(s,o.axis,l).lo,n?r:Zn(e,a,o.getPixelForValue(l)).lo),0,r-1)),m?i=Ve(Math.max(Zn(s,o.axis,c,!0).hi+1,n?0:Zn(e,a,o.getPixelForValue(c),!0).hi+1),u,r)-u:i=r-u}return{start:u,count:i}}function Em(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,u={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=u,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,u),i}const eo=t=>t===0||t===1,Wf=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*ae/n)),Hf=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*ae/n)+1,Ku={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*be)+1,easeOutSine:t=>Math.sin(t*be),easeInOutSine:t=>-.5*(Math.cos(pe*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>eo(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>eo(t)?t:Wf(t,.075,.3),easeOutElastic:t=>eo(t)?t:Hf(t,.075,.3),easeInOutElastic(t){return eo(t)?t:t<.5?.5*Wf(t*2,.1125,.45):.5+.5*Hf(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Ku.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Ku.easeInBounce(t*2)*.5:Ku.easeOutBounce(t*2-1)*.5+.5};/*!
+ * @kurkle/color v0.2.1
+ * https://github.com/kurkle/color#readme
+ * (c) 2022 Jukka Kurkela
+ * Released under the MIT License
+ */function Oi(t){return t+.5|0}const bn=(t,e,n)=>Math.max(Math.min(t,n),e);function Ru(t){return bn(Oi(t*2.55),0,255)}function Nn(t){return bn(Oi(t*255),0,255)}function Jt(t){return bn(Oi(t/2.55)/100,0,1)}function $f(t){return bn(Oi(t*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},ic=[..."0123456789ABCDEF"],rb=t=>ic[t&15],ub=t=>ic[(t&240)>>4]+ic[t&15],to=t=>(t&240)>>4===(t&15),ib=t=>to(t.r)&&to(t.g)&&to(t.b)&&to(t.a);function ob(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&mt[t[1]]*17,g:255&mt[t[2]]*17,b:255&mt[t[3]]*17,a:e===5?mt[t[4]]*17:255}:(e===7||e===9)&&(n={r:mt[t[1]]<<4|mt[t[2]],g:mt[t[3]]<<4|mt[t[4]],b:mt[t[5]]<<4|mt[t[6]],a:e===9?mt[t[7]]<<4|mt[t[8]]:255})),n}const sb=(t,e)=>t<255?e(t):"";function ab(t){var e=ib(t)?rb:ub;return t?"#"+e(t.r)+e(t.g)+e(t.b)+sb(t.a,e):void 0}const lb=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function bm(t,e,n){const r=e*Math.min(n,1-n),u=(i,o=(i+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[u(0),u(8),u(4)]}function cb(t,e,n){const r=(u,i=(u+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function fb(t,e,n){const r=bm(t,1,.5);let u;for(e+n>1&&(u=1/(e+n),e*=u,n*=u),u=0;u<3;u++)r[u]*=1-e-n,r[u]+=e;return r}function db(t,e,n,r,u){return t===u?(e-n)/r+(e.5?c/(2-i-o):c/(i+o),a=db(n,r,u,c,i),a=a*60+.5),[a|0,l||0,s]}function b0(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Nn)}function w0(t,e,n){return b0(bm,t,e,n)}function hb(t,e,n){return b0(fb,t,e,n)}function pb(t,e,n){return b0(cb,t,e,n)}function wm(t){return(t%360+360)%360}function mb(t){const e=lb.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Ru(+e[5]):Nn(+e[5]));const u=wm(+e[2]),i=+e[3]/100,o=+e[4]/100;return e[1]==="hwb"?r=hb(u,i,o):e[1]==="hsv"?r=pb(u,i,o):r=w0(u,i,o),{r:r[0],g:r[1],b:r[2],a:n}}function gb(t,e){var n=E0(t);n[0]=wm(n[0]+e),n=w0(n),t.r=n[0],t.g=n[1],t.b=n[2]}function yb(t){if(!t)return;const e=E0(t),n=e[0],r=$f(e[1]),u=$f(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${u}%, ${Jt(t.a)})`:`hsl(${n}, ${r}%, ${u}%)`}const Kf={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"},Yf={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:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function vb(){const t={},e=Object.keys(Yf),n=Object.keys(Kf);let r,u,i,o,s;for(r=0;r>16&255,i>>8&255,i&255]}return t}let no;function _b(t){no||(no=vb(),no.transparent=[0,0,0,0]);const e=no[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Eb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function bb(t){const e=Eb.exec(t);let n=255,r,u,i;if(!!e){if(e[7]!==r){const o=+e[7];n=e[8]?Ru(o):bn(o*255,0,255)}return r=+e[1],u=+e[3],i=+e[5],r=255&(e[2]?Ru(r):bn(r,0,255)),u=255&(e[4]?Ru(u):bn(u,0,255)),i=255&(e[6]?Ru(i):bn(i,0,255)),{r,g:u,b:i,a:n}}}function wb(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Jt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ja=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,_r=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function xb(t,e,n){const r=_r(Jt(t.r)),u=_r(Jt(t.g)),i=_r(Jt(t.b));return{r:Nn(ja(r+n*(_r(Jt(e.r))-r))),g:Nn(ja(u+n*(_r(Jt(e.g))-u))),b:Nn(ja(i+n*(_r(Jt(e.b))-i))),a:t.a+n*(e.a-t.a)}}function ro(t,e,n){if(t){let r=E0(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=w0(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function xm(t,e){return t&&Object.assign(e||{},t)}function qf(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Nn(t[3]))):(e=xm(t,{r:0,g:0,b:0,a:1}),e.a=Nn(e.a)),e}function Pb(t){return t.charAt(0)==="r"?bb(t):mb(t)}class os{constructor(e){if(e instanceof os)return e;const n=typeof e;let r;n==="object"?r=qf(e):n==="string"&&(r=ob(e)||_b(e)||Pb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=xm(this._rgb);return e&&(e.a=Jt(e.a)),e}set rgb(e){this._rgb=qf(e)}rgbString(){return this._valid?wb(this._rgb):void 0}hexString(){return this._valid?ab(this._rgb):void 0}hslString(){return this._valid?yb(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,u=e.rgb;let i;const o=n===i?.5:n,s=2*o-1,a=r.a-u.a,l=((s*a===-1?s:(s+a)/(1+s*a))+1)/2;i=1-l,r.r=255&l*r.r+i*u.r+.5,r.g=255&l*r.g+i*u.g+.5,r.b=255&l*r.b+i*u.b+.5,r.a=o*r.a+(1-o)*u.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=xb(this._rgb,e._rgb,n)),this}clone(){return new os(this.rgb)}alpha(e){return this._rgb.a=Nn(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Oi(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ro(this._rgb,2,e),this}darken(e){return ro(this._rgb,2,-e),this}saturate(e){return ro(this._rgb,1,e),this}desaturate(e){return ro(this._rgb,1,-e),this}rotate(e){return gb(this._rgb,e),this}}function Pm(t){return new os(t)}function Sm(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Xf(t){return Sm(t)?t:Pm(t)}function Va(t){return Sm(t)?t:Pm(t).saturate(.5).darken(.1).hexString()}const lr=Object.create(null),oc=Object.create(null);function Yu(t,e){if(!e)return t;const n=e.split(".");for(let r=0,u=n.length;rn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,r)=>Va(r.backgroundColor),this.hoverBorderColor=(n,r)=>Va(r.borderColor),this.hoverColor=(n,r)=>Va(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,n){return Ua(this,e,n)}get(e){return Yu(this,e)}describe(e,n){return Ua(oc,e,n)}override(e,n){return Ua(lr,e,n)}route(e,n,r,u){const i=Yu(this,e),o=Yu(this,r),s="_"+n;Object.defineProperties(i,{[s]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const a=this[s],l=o[u];return ne(a)?Object.assign({},l,a):ee(a,l)},set(a){this[s]=a}}})}}var J=new Sb({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Db(t){return!t||ie(t.size)||ie(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ss(t,e,n,r,u){let i=e[u];return i||(i=e[u]=t.measureText(u).width,n.push(u)),i>r&&(r=i),r}function Ob(t,e,n,r){r=r||{};let u=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(u=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let o=0;const s=n.length;let a,l,c,h,m;for(a=0;an.length){for(a=0;a0&&t.stroke()}}function mi(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&i.strokeColor!=="";let a,l;for(t.save(),t.font=u.string,Rb(t,i),a=0;a+t||0;function x0(t,e){const n={},r=ne(e),u=r?Object.keys(e):e,i=ne(t)?r?o=>ee(t[o],t[e[o]]):o=>t[o]:()=>t;for(const o of u)n[o]=Lb(i(o));return n}function Cm(t){return x0(t,{top:"y",right:"x",bottom:"y",left:"x"})}function zr(t){return x0(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ft(t){const e=Cm(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ke(t,e){t=t||{},e=e||J.font;let n=ee(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=ee(t.style,e.style);r&&!(""+r).match(Tb)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const u={family:ee(t.family,e.family),lineHeight:Fb(ee(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:ee(t.weight,e.weight),string:""};return u.string=Db(u),u}function uo(t,e,n,r){let u=!0,i,o,s;for(i=0,o=t.length;in&&s===0?0:s+a;return{min:o(r,-Math.abs(i)),max:o(u,i)}}function Vn(t,e){return Object.assign(Object.create(t),e)}function P0(t,e=[""],n=t,r,u=()=>t[0]){Dt(r)||(r=Mm("_fallback",t));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:u,override:o=>P0([o,...t],e,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete o._keys,delete t[0][s],!0},get(o,s){return Am(o,s,()=>$b(s,e,t,o))},getOwnPropertyDescriptor(o,s){return Reflect.getOwnPropertyDescriptor(o._scopes[0],s)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(o,s){return Zf(o).includes(s)},ownKeys(o){return Zf(o)},set(o,s,a){const l=o._storage||(o._storage=u());return o[s]=l[s]=a,delete o._keys,!0}})}function Xr(t,e,n,r){const u={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:km(t,r),setContext:i=>Xr(t,i,n,r),override:i=>Xr(t.override(i),e,n,r)};return new Proxy(u,{deleteProperty(i,o){return delete i[o],delete t[o],!0},get(i,o,s){return Am(i,o,()=>zb(i,o,s))},getOwnPropertyDescriptor(i,o){return i._descriptors.allKeys?Reflect.has(t,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,o)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,o){return Reflect.has(t,o)},ownKeys(){return Reflect.ownKeys(t)},set(i,o,s){return t[o]=s,delete i[o],!0}})}function km(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:u=e.allKeys}=t;return{allKeys:u,scriptable:n,indexable:r,isScriptable:Bn(n)?n:()=>n,isIndexable:Bn(r)?r:()=>r}}const Ib=(t,e)=>t?t+y0(e):e,S0=(t,e)=>ne(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Am(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function zb(t,e,n){const{_proxy:r,_context:u,_subProxy:i,_descriptors:o}=t;let s=r[e];return Bn(s)&&o.isScriptable(e)&&(s=jb(e,s,t,n)),fe(s)&&s.length&&(s=Vb(e,s,t,o.isIndexable)),S0(e,s)&&(s=Xr(s,u,i&&i[e],o)),s}function jb(t,e,n,r){const{_proxy:u,_context:i,_subProxy:o,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);return s.add(t),e=e(i,o||r),s.delete(t),S0(t,e)&&(e=D0(u._scopes,u,t,e)),e}function Vb(t,e,n,r){const{_proxy:u,_context:i,_subProxy:o,_descriptors:s}=n;if(Dt(i.index)&&r(t))e=e[i.index%e.length];else if(ne(e[0])){const a=e,l=u._scopes.filter(c=>c!==a);e=[];for(const c of a){const h=D0(l,u,t,c);e.push(Xr(h,i,o&&o[t],s))}}return e}function Rm(t,e,n){return Bn(t)?t(e,n):t}const Ub=(t,e)=>t===!0?e:typeof t=="string"?Ln(e,t):void 0;function Wb(t,e,n,r,u){for(const i of e){const o=Ub(n,i);if(o){t.add(o);const s=Rm(o._fallback,n,u);if(Dt(s)&&s!==n&&s!==r)return s}else if(o===!1&&Dt(r)&&n!==r)return null}return!1}function D0(t,e,n,r){const u=e._rootScopes,i=Rm(e._fallback,n,r),o=[...t,...u],s=new Set;s.add(r);let a=Qf(s,o,n,i||n,r);return a===null||Dt(i)&&i!==n&&(a=Qf(s,o,i,a,r),a===null)?!1:P0(Array.from(s),[""],u,i,()=>Hb(e,n,r))}function Qf(t,e,n,r,u){for(;n;)n=Wb(t,e,n,r,u);return n}function Hb(t,e,n){const r=t._getTarget();e in r||(r[e]={});const u=r[e];return fe(u)&&ne(n)?n:u}function $b(t,e,n,r){let u;for(const i of e)if(u=Mm(Ib(i,t),n),Dt(u))return S0(t,u)?D0(n,r,t,u):u}function Mm(t,e){for(const n of e){if(!n)continue;const r=n[t];if(Dt(r))return r}}function Zf(t){let e=t._keys;return e||(e=t._keys=Kb(t._scopes)),e}function Kb(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(u=>!u.startsWith("_")))e.add(r);return Array.from(e)}function Nm(t,e,n,r){const{iScale:u}=t,{key:i="r"}=this._parsing,o=new Array(r);let s,a,l,c;for(s=0,a=r;set==="x"?"y":"x";function qb(t,e,n,r){const u=t.skip?e:t,i=e,o=n.skip?e:n,s=uc(i,u),a=uc(o,i);let l=s/(s+a),c=a/(s+a);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const h=r*l,m=r*c;return{previous:{x:i.x-h*(o.x-u.x),y:i.y-h*(o.y-u.y)},next:{x:i.x+m*(o.x-u.x),y:i.y+m*(o.y-u.y)}}}function Xb(t,e,n){const r=t.length;let u,i,o,s,a,l=Gr(t,0);for(let c=0;c!l.skip)),e.cubicInterpolationMode==="monotone")Qb(t,u);else{let l=r?t[t.length-1]:t[0];for(i=0,o=t.length;iwindow.getComputedStyle(t,null);function ew(t,e){return zs(t).getPropertyValue(e)}const tw=["top","right","bottom","left"];function nr(t,e,n){const r={};n=n?"-"+n:"";for(let u=0;u<4;u++){const i=tw[u];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const nw=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function rw(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:u,offsetY:i}=r;let o=!1,s,a;if(nw(u,i,t.target))s=u,a=i;else{const l=e.getBoundingClientRect();s=r.clientX-l.left,a=r.clientY-l.top,o=!0}return{x:s,y:a,box:o}}function Kn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,u=zs(n),i=u.boxSizing==="border-box",o=nr(u,"padding"),s=nr(u,"border","width"),{x:a,y:l,box:c}=rw(t,n),h=o.left+(c&&s.left),m=o.top+(c&&s.top);let{width:y,height:v}=e;return i&&(y-=o.width+s.width,v-=o.height+s.height),{x:Math.round((a-h)/y*n.width/r),y:Math.round((l-m)/v*n.height/r)}}function uw(t,e,n){let r,u;if(e===void 0||n===void 0){const i=O0(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const o=i.getBoundingClientRect(),s=zs(i),a=nr(s,"border","width"),l=nr(s,"padding");e=o.width-l.width-a.width,n=o.height-l.height-a.height,r=ls(s.maxWidth,i,"clientWidth"),u=ls(s.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||us,maxHeight:u||us}}const Wa=t=>Math.round(t*10)/10;function iw(t,e,n,r){const u=zs(t),i=nr(u,"margin"),o=ls(u.maxWidth,t,"clientWidth")||us,s=ls(u.maxHeight,t,"clientHeight")||us,a=uw(t,e,n);let{width:l,height:c}=a;if(u.boxSizing==="content-box"){const h=nr(u,"border","width"),m=nr(u,"padding");l-=m.width+h.width,c-=m.height+h.height}return l=Math.max(0,l-i.width),c=Math.max(0,r?Math.floor(l/r):c-i.height),l=Wa(Math.min(l,o,a.maxWidth)),c=Wa(Math.min(c,s,a.maxHeight)),l&&!c&&(c=Wa(l/2)),{width:l,height:c}}function Jf(t,e,n){const r=e||1,u=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=u/r,t.width=i/r;const o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||o.height!==u||o.width!==i?(t.currentDevicePixelRatio=r,o.height=u,o.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const ow=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return t}();function ed(t,e){const n=ew(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Yn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function sw(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function aw(t,e,n,r){const u={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},o=Yn(t,u,n),s=Yn(u,i,n),a=Yn(i,e,n),l=Yn(o,s,n),c=Yn(s,a,n);return Yn(l,c,n)}const td=new Map;function lw(t,e){e=e||{};const n=t+JSON.stringify(e);let r=td.get(n);return r||(r=new Intl.NumberFormat(t,e),td.set(n,r)),r}function Ci(t,e,n){return lw(e,n).format(t)}const cw=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},fw=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Ha(t,e,n){return t?cw(e,n):fw()}function dw(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function hw(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Lm(t){return t==="angle"?{between:pi,compare:Q2,normalize:At}:{between:is,compare:(e,n)=>e-n,normalize:e=>e}}function nd({start:t,end:e,count:n,loop:r,style:u}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:u}}function pw(t,e,n){const{property:r,start:u,end:i}=n,{between:o,normalize:s}=Lm(r),a=e.length;let{start:l,end:c,loop:h}=t,m,y;if(h){for(l+=a,c+=a,m=0,y=a;ma(u,x,E)&&s(u,x)!==0,P=()=>s(i,E)===0||a(i,x,E),D=()=>S||N(),g=()=>!S||P();for(let f=c,p=c;f<=h;++f)w=e[f%o],!w.skip&&(E=l(w[r]),E!==x&&(S=a(E,u,i),C===null&&D()&&(C=s(E,u)===0?f:p),C!==null&&g()&&(v.push(nd({start:C,end:f,loop:m,count:o,style:y})),C=null),p=f,x=E));return C!==null&&v.push(nd({start:C,end:h,loop:m,count:o,style:y})),v}function gw(t,e){const n=[],r=t.segments;for(let u=0;uu&&t[i%e].skip;)i--;return i%=e,{start:u,end:i}}function vw(t,e,n,r){const u=t.length,i=[];let o=e,s=t[e],a;for(a=e+1;a<=n;++a){const l=t[a%u];l.skip||l.stop?s.skip||(r=!1,i.push({start:e%u,end:(a-1)%u,loop:r}),e=o=l.stop?a:null):(o=a,s.skip&&(e=a)),s=l}return o!==null&&i.push({start:e%u,end:o%u,loop:r}),i}function _w(t,e){const n=t.points,r=t.options.spanGaps,u=n.length;if(!u)return[];const i=!!t._loop,{start:o,end:s}=yw(n,u,i,r);if(r===!0)return rd(t,[{start:o,end:s,loop:i}],n,e);const a=ss({chart:e,initial:n.initial,numSteps:o,currentStep:Math.min(r-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=gm.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,u)=>{if(!r.running||!r.items.length)return;const i=r.items;let o=i.length-1,s=!1,a;for(;o>=0;--o)a=i[o],a._active?(a._total>r.duration&&(r.duration=a._total),a.tick(e),s=!0):(i[o]=i[i.length-1],i.pop());s&&(u.draw(),this._notify(u,r,e,"progress")),i.length||(r.running=!1,this._notify(u,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,u)=>Math.max(r,u._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let u=r.length-1;for(;u>=0;--u)r[u].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var qt=new ww;const id="transparent",xw={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=Xf(t||id),u=r.valid&&Xf(e||id);return u&&u.valid?u.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Pw{constructor(e,n,r,u){const i=n[r];u=uo([e.to,u,i,e.from]);const o=uo([e.from,i,u]);this._active=!0,this._fn=e.fn||xw[e.type||typeof o],this._easing=Ku[e.easing]||Ku.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=o,this._to=u,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const u=this._target[this._prop],i=r-this._start,o=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=uo([e.to,n,u,e.from]),this._from=uo([e.from,u,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,u=this._prop,i=this._from,o=this._loop,s=this._to;let a;if(this._active=i!==s&&(o||n1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[u]=this._fn(i,s,a)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let u=0;ut!=="onProgress"&&t!=="onComplete"&&t!=="fn"});J.set("animations",{colors:{type:"color",properties:Dw},numbers:{type:"number",properties:Sw}});J.describe("animations",{_fallback:"animation"});J.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:t=>t|0}}}});class Bm{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ne(e))return;const n=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const u=e[r];if(!ne(u))return;const i={};for(const o of Ow)i[o]=u[o];(fe(u.properties)&&u.properties||[r]).forEach(o=>{(o===r||!n.has(o))&&n.set(o,i)})})}_animateOptions(e,n){const r=n.options,u=kw(e,r);if(!u)return[];const i=this._createAnimations(u,r);return r.$shared&&Cw(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,u=[],i=e.$animations||(e.$animations={}),o=Object.keys(n),s=Date.now();let a;for(a=o.length-1;a>=0;--a){const l=o[a];if(l.charAt(0)==="$")continue;if(l==="options"){u.push(...this._animateOptions(e,n));continue}const c=n[l];let h=i[l];const m=r.get(l);if(h)if(m&&h.active()){h.update(m,c,s);continue}else h.cancel();if(!m||!m.duration){e[l]=c;continue}i[l]=h=new Pw(m,e,l,c),u.push(h)}return u}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return qt.add(this._chart,r),!0}}function Cw(t,e){const n=[],r=Object.keys(e);for(let u=0;u0||!n&&i<0)return u.index}return null}function cd(t,e){const{chart:n,_cachedMeta:r}=t,u=n._stacks||(n._stacks={}),{iScale:i,vScale:o,index:s}=r,a=i.axis,l=o.axis,c=Nw(i,o,r),h=e.length;let m;for(let y=0;yn[r].axis===e).shift()}function Lw(t,e){return Vn(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Bw(t,e,n){return Vn(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function yu(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(!!r){e=e||t._parsed;for(const u of e){const i=u._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n]}}}const Ka=t=>t==="reset"||t==="none",fd=(t,e)=>e?t:Object.assign({},t),Iw=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Im(n,!0),values:null};class Lt{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=ad(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&yu(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),u=(h,m,y,v)=>h==="x"?m:h==="r"?v:y,i=n.xAxisID=ee(r.xAxisID,$a(e,"x")),o=n.yAxisID=ee(r.yAxisID,$a(e,"y")),s=n.rAxisID=ee(r.rAxisID,$a(e,"r")),a=n.indexAxis,l=n.iAxisID=u(a,i,o,s),c=n.vAxisID=u(a,o,i,s);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(s),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Uf(this._data,this),e._stacked&&yu(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ne(n))this._data=Mw(n);else if(r!==n){if(r){Uf(r,this);const u=this._cachedMeta;yu(u),u._parsed=[]}n&&Object.isExtensible(n)&&tb(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let u=!1;this._dataCheck();const i=n._stacked;n._stacked=ad(n.vScale,n),n.stack!==r.stack&&(u=!0,yu(n),n.stack=r.stack),this._resyncElements(e),(u||i!==n._stacked)&&cd(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:u}=this,{iScale:i,_stacked:o}=r,s=i.axis;let a=e===0&&n===u.length?!0:r._sorted,l=e>0&&r._parsed[e-1],c,h,m;if(this._parsing===!1)r._parsed=u,r._sorted=!0,m=u;else{fe(u[e])?m=this.parseArrayData(r,u,e,n):ne(u[e])?m=this.parseObjectData(r,u,e,n):m=this.parsePrimitiveData(r,u,e,n);const y=()=>h[s]===null||l&&h[s]S||h=0;--m)if(!v()){this.updateRangeFromParsed(l,e,y,a);break}}return l}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let u,i,o;for(u=0,i=n.length;u=0&ðis.getContext(r,u),S=l.resolveNamedOptions(m,y,v,h);return S.$shared&&(S.$shared=a,i[o]=Object.freeze(fd(S,a))),S}_resolveAnimations(e,n,r){const u=this.chart,i=this._cachedDataOpts,o=`animation-${n}`,s=i[o];if(s)return s;let a;if(u.options.animation!==!1){const c=this.chart.config,h=c.datasetAnimationScopeKeys(this._type,n),m=c.getOptionScopes(this.getDataset(),h);a=c.createResolver(m,this.getContext(e,r,n))}const l=new Bm(u,a&&a.animations);return a&&a._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(e){if(!!e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||Ka(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),u=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(n,i)||i!==u;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:o}}updateElement(e,n,r,u){Ka(u)?Object.assign(e,r):this._resolveAnimations(n,u).update(e,r)}updateSharedOptions(e,n,r){e&&!Ka(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,u){e.active=u;const i=this.getStyle(n,u);this._resolveAnimations(n,r,u).update(e,{options:!u&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[s,a,l]of this._syncList)this[s](a,l);this._syncList=[];const u=r.length,i=n.length,o=Math.min(i,u);o&&this.parse(0,o),i>u?this._insertElements(u,i-u,e):i{for(l.length+=n,s=l.length-1;s>=o;s--)l[s]=l[s-n]};for(a(i),s=e;su-i))}return t._cache.$bar}function jw(t){const e=t.iScale,n=zw(e,t.type);let r=e._length,u,i,o,s;const a=()=>{o===32767||o===-32768||(Dt(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(u=0,i=n.length;u0?u[t-1]:null,s=tMath.abs(s)&&(a=s,l=o),e[n.axis]=l,e._custom={barStart:a,barEnd:l,start:u,end:i,min:o,max:s}}function zm(t,e,n,r){return fe(t)?Ww(t,e,n,r):e[n.axis]=n.parse(t,r),e}function dd(t,e,n,r){const u=t.iScale,i=t.vScale,o=u.getLabels(),s=u===i,a=[];let l,c,h,m;for(l=n,c=n+r;l=n?1:-1)}function $w(t){let e,n,r,u,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.basea.controller.options.grouped),i=r.options.stacked,o=[],s=a=>{const l=a.controller.getParsed(n),c=l&&l[a.vScale.axis];if(ie(c)||isNaN(c))return!0};for(const a of u)if(!(n!==void 0&&s(a))&&((i===!1||o.indexOf(a.stack)===-1||i===void 0&&a.stack===void 0)&&o.push(a.stack),a.index===e))break;return o.length||o.push(void 0),o}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,n,r){const u=this._getStacks(e,r),i=n!==void 0?u.indexOf(n):-1;return i===-1?u.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,u=[];let i,o;for(i=0,o=n.data.length;i=0;--r)n=Math.max(n,e[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,{xScale:r,yScale:u}=n,i=this.getParsed(e),o=r.getLabelForValue(i.x),s=u.getLabelForValue(i.y),a=i._custom;return{label:n.label,value:"("+o+", "+s+(a?", "+a:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,r,u){const i=u==="reset",{iScale:o,vScale:s}=this._cachedMeta,{sharedOptions:a,includeOptions:l}=this._getSharedOptions(n,u),c=o.axis,h=s.axis;for(let m=n;mpi(x,s,a,!0)?1:Math.max(N,N*n,P,P*n),v=(x,N,P)=>pi(x,s,a,!0)?-1:Math.min(N,N*n,P,P*n),S=y(0,l,h),C=y(be,c,m),E=v(pe,l,h),w=v(pe+be,c,m);r=(S-E)/2,u=(C-w)/2,i=-(S+E)/2,o=-(C+w)/2}return{ratioX:r,ratioY:u,offsetX:i,offsetY:o}}class ki extends Lt{constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const r=this.getDataset().data,u=this._cachedMeta;if(this._parsing===!1)u._parsed=r;else{let i=a=>+r[a];if(ne(r[e])){const{key:a="value"}=this._parsing;i=l=>+Ln(r[l],a)}let o,s;for(o=e,s=e+n;o0&&!isNaN(e)?ae*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,u=r.data.labels||[],i=Ci(n._parsed[e],r.options.locale);return{label:u[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const r=this.chart;let u,i,o,s,a;if(!e){for(u=0,i=r.data.datasets.length;ut!=="spacing",_indexable:t=>t!=="spacing"};ki.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((r,u)=>{const o=t.getDatasetMeta(0).controller.getStyle(u);return{text:r,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(u),index:u}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return fe(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class js extends Lt{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:u=[],_dataset:i}=n,o=this.chart._animationsDisabled;let{start:s,count:a}=_m(n,u,o);this._drawStart=s,this._drawCount=a,Em(n)&&(s=0,a=u.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=u;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(r,void 0,{animated:!o,options:l},e),this.updateElements(u,s,a,e)}updateElements(e,n,r,u){const i=u==="reset",{iScale:o,vScale:s,_stacked:a,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(n,u),m=o.axis,y=s.axis,{spanGaps:v,segment:S}=this.options,C=qr(v)?v:Number.POSITIVE_INFINITY,E=this.chart._animationsDisabled||i||u==="none";let w=n>0&&this.getParsed(n-1);for(let x=n;x0&&Math.abs(P[m]-w[m])>C,S&&(D.parsed=P,D.raw=l.data[x]),h&&(D.options=c||this.resolveDataElementOptions(x,N.active?"active":u)),E||this.updateElement(N,x,D,u),w=P}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,u=e.data||[];if(!u.length)return r;const i=u[0].size(this.resolveDataElementOptions(0)),o=u[u.length-1].size(this.resolveDataElementOptions(u.length-1));return Math.max(r,i,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}js.id="line";js.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};js.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class A0 extends Lt{constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,u=r.data.labels||[],i=Ci(n._parsed[e].r,r.options.locale);return{label:u[e]||"",value:i}}parseObjectData(e,n,r,u){return Nm.bind(this)(e,n,r,u)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,u)=>{const i=this.getParsed(u).r;!isNaN(i)&&this.chart.getDataVisibility(u)&&(in.max&&(n.max=i))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,u=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(u/2,0),o=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),s=(i-o)/e.getVisibleDatasetCount();this.outerRadius=i-s*this.index,this.innerRadius=this.outerRadius-s}updateElements(e,n,r,u){const i=u==="reset",o=this.chart,a=o.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,h=l.yCenter,m=l.getIndexAngle(0)-.5*pe;let y=m,v;const S=360/this.countVisibleElements();for(v=0;v{!isNaN(this.getParsed(u).r)&&this.chart.getDataVisibility(u)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?Mt(this.resolveDataElementOptions(e,n).angle||r):0}}A0.id="polarArea";A0.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};A0.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((r,u)=>{const o=t.getDatasetMeta(0).controller.getStyle(u);return{text:r,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(u),index:u}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class jm extends ki{}jm.id="pie";jm.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class R0 extends Lt{getLabelAndValue(e){const n=this._cachedMeta.vScale,r=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(e,n,r,u){return Nm.bind(this)(e,n,r,u)}update(e){const n=this._cachedMeta,r=n.dataset,u=n.data||[],i=n.iScale.getLabels();if(r.points=u,e!=="resize"){const o=this.resolveDatasetElementOptions(e);this.options.showLine||(o.borderWidth=0);const s={_loop:!0,_fullLoop:i.length===u.length,options:o};this.updateElement(r,void 0,s,e)}this.updateElements(u,0,u.length,e)}updateElements(e,n,r,u){const i=this._cachedMeta.rScale,o=u==="reset";for(let s=n;s{u[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),u}}Yt.defaults={};Yt.defaultRoutes=void 0;const Vm={values(t){return fe(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let u,i=t;if(n.length>1){const l=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(l<1e-4||l>1e15)&&(u="scientific"),i=Gw(t,n)}const o=Et(Math.abs(i)),s=Math.max(Math.min(-1*Math.floor(o),20),0),a={notation:u,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(a,this.options.ticks.format),Ci(t,r,a)},logarithmic(t,e,n){if(t===0)return"0";const r=t/Math.pow(10,Math.floor(Et(t)));return r===1||r===2||r===5?Vm.numeric.call(this,t,e,n):""}};function Gw(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var Vs={formatters:Vm};J.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Vs.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});J.route("scale.ticks","color","","color");J.route("scale.grid","color","","borderColor");J.route("scale.grid","borderColor","","borderColor");J.route("scale.title","color","","color");J.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"});J.describe("scales",{_fallback:"scale"});J.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"});function Qw(t,e){const n=t.options.ticks,r=n.maxTicksLimit||Zw(t),u=n.major.enabled?ex(e):[],i=u.length,o=u[0],s=u[i-1],a=[];if(i>r)return tx(e,a,u,i/r),a;const l=Jw(u,e,r);if(i>0){let c,h;const m=i>1?Math.round((s-o)/(i-1)):null;for(oo(e,a,l,ie(m)?0:o-m,o),c=0,h=i-1;cu)return a}return Math.max(u,1)}function ex(t){const e=[];let n,r;for(n=0,r=t.length;nt==="left"?"right":t==="right"?"left":t,md=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n;function gd(t,e){const n=[],r=t.length/e,u=t.length;let i=0;for(;io+s)))return a}function ix(t,e){ue(t,n=>{const r=n.gc,u=r.length/2;let i;if(u>e){for(i=0;ir?r:n,r=u&&n>r?n:r,{min:yt(n,yt(r,n)),max:yt(r,yt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){_e(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:u,grace:i,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Bb(this,i,u),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const a=s=i||r<=1||!this.isHorizontal()){this.labelRotation=u;return}const c=this._getLabelSizes(),h=c.widest.width,m=c.highest.height,y=Ve(this.chart.width-h,0,this.maxWidth);s=e.offset?this.maxWidth/r:y/(r-1),h+6>s&&(s=y/(r-(e.offset?.5:1)),a=this.maxHeight-vu(e.grid)-n.padding-yd(e.title,this.chart.options.font),l=Math.sqrt(h*h+m*m),o=v0(Math.min(Math.asin(Ve((c.highest.height+6)/s,-1,1)),Math.asin(Ve(a/l,-1,1))-Math.asin(Ve(m/l,-1,1)))),o=Math.max(u,Math.min(i,o))),this.labelRotation=o}afterCalculateLabelRotation(){_e(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){_e(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:u,grid:i}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){const a=yd(u,n.options.font);if(s?(e.width=this.maxWidth,e.height=vu(i)+a):(e.height=this.maxHeight,e.width=vu(i)+a),r.display&&this.ticks.length){const{first:l,last:c,widest:h,highest:m}=this._getLabelSizes(),y=r.padding*2,v=Mt(this.labelRotation),S=Math.cos(v),C=Math.sin(v);if(s){const E=r.mirror?0:C*h.width+S*m.height;e.height=Math.min(this.maxHeight,e.height+E+y)}else{const E=r.mirror?0:S*h.width+C*m.height;e.width=Math.min(this.maxWidth,e.width+E+y)}this._calculatePadding(l,c,C,S)}}this._handleMargins(),s?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,u){const{ticks:{align:i,padding:o},position:s}=this.options,a=this.labelRotation!==0,l=s!=="top"&&this.axis==="x";if(this.isHorizontal()){const c=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let m=0,y=0;a?l?(m=u*e.width,y=r*n.height):(m=r*e.height,y=u*n.width):i==="start"?y=n.width:i==="end"?m=e.width:i!=="inner"&&(m=e.width/2,y=n.width/2),this.paddingLeft=Math.max((m-c+o)*this.width/(this.width-c),0),this.paddingRight=Math.max((y-h+o)*this.width/(this.width-h),0)}else{let c=n.height/2,h=e.height/2;i==="start"?(c=0,h=e.height):i==="end"&&(c=n.height,h=0),this.paddingTop=c+o,this.paddingBottom=h+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){_e(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n({width:i[g]||0,height:o[g]||0});return{first:D(0),last:D(n-1),widest:D(N),highest:D(P),widths:i,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Z2(this._alignToPixels?Un(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&es*u?s/r:a/u:a*u0}_computeGridLineItems(e){const n=this.axis,r=this.chart,u=this.options,{grid:i,position:o}=u,s=i.offset,a=this.isHorizontal(),c=this.ticks.length+(s?1:0),h=vu(i),m=[],y=i.setContext(this.getContext()),v=y.drawBorder?y.borderWidth:0,S=v/2,C=function(T){return Un(r,T,v)};let E,w,x,N,P,D,g,f,p,d,b,O;if(o==="top")E=C(this.bottom),D=this.bottom-h,f=E-S,d=C(e.top)+S,O=e.bottom;else if(o==="bottom")E=C(this.top),d=e.top,O=C(e.bottom)-S,D=E+S,f=this.top+h;else if(o==="left")E=C(this.right),P=this.right-h,g=E-S,p=C(e.left)+S,b=e.right;else if(o==="right")E=C(this.left),p=e.left,b=C(e.right)-S,P=E+S,g=this.left+h;else if(n==="x"){if(o==="center")E=C((e.top+e.bottom)/2+.5);else if(ne(o)){const T=Object.keys(o)[0],B=o[T];E=C(this.chart.scales[T].getPixelForValue(B))}d=e.top,O=e.bottom,D=E+S,f=D+h}else if(n==="y"){if(o==="center")E=C((e.left+e.right)/2);else if(ne(o)){const T=Object.keys(o)[0],B=o[T];E=C(this.chart.scales[T].getPixelForValue(B))}P=E-S,g=P-h,p=e.left,b=e.right}const L=ee(u.ticks.maxTicksLimit,c),k=Math.max(1,Math.ceil(c/L));for(w=0;wi.value===e);return u>=0?n.setContext(this.getContext(u)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,u=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,o;const s=(a,l,c)=>{!c.width||!c.color||(r.save(),r.lineWidth=c.width,r.strokeStyle=c.color,r.setLineDash(c.borderDash||[]),r.lineDashOffset=c.borderDashOffset,r.beginPath(),r.moveTo(a.x,a.y),r.lineTo(l.x,l.y),r.stroke(),r.restore())};if(n.display)for(i=0,o=u.length;i{this.draw(u)}}]:[{z:r,draw:u=>{this.drawBackground(),this.drawGrid(u),this.drawTitle()}},{z:r+1,draw:()=>{this.drawBorder()}},{z:n,draw:u=>{this.drawLabels(u)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",u=[];let i,o;for(i=0,o=n.length;i{const r=n.split("."),u=r.pop(),i=[t].concat(r).join("."),o=e[n].split("."),s=o.pop(),a=o.join(".");J.route(i,u,a,s)})}function dx(t){return"id"in t&&"defaults"in t}class hx{constructor(){this.controllers=new so(Lt,"datasets",!0),this.elements=new so(Yt,"elements"),this.plugins=new so(Object,"plugins"),this.scales=new so(dr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(u=>{const i=r||this._getRegistryForType(u);r||i.isForType(u)||i===this.plugins&&u.id?this._exec(e,i,u):ue(u,o=>{const s=r||this._getRegistryForType(o);this._exec(e,s,o)})})}_exec(e,n,r){const u=y0(e);_e(r["before"+u],[],r),n[e](r),_e(r["after"+u],[],r)}_getRegistryForType(e){for(let n=0;n0&&this.getParsed(n-1);for(let N=n;N0&&Math.abs(D[y]-x[y])>E,C&&(g.parsed=D,g.raw=l.data[N]),m&&(g.options=h||this.resolveDataElementOptions(N,P.active?"active":u)),w||this.updateElement(P,N,g,u),x=D}this.updateSharedOptions(h,u,c)}getMaxOverflow(){const e=this._cachedMeta,n=e.data||[];if(!this.options.showLine){let s=0;for(let a=n.length-1;a>=0;--a)s=Math.max(s,n[a].size(this.resolveDataElementOptions(a))/2);return s>0&&s}const r=e.dataset,u=r.options&&r.options.borderWidth||0;if(!n.length)return u;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(u,i,o)/2}}M0.id="scatter";M0.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};M0.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function Wn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ac{constructor(e){this.options=e||{}}init(e){}formats(){return Wn()}parse(e,n){return Wn()}format(e,n){return Wn()}add(e,n,r){return Wn()}diff(e,n,r){return Wn()}startOf(e,n,r){return Wn()}endOf(e,n){return Wn()}}ac.override=function(t){Object.assign(ac.prototype,t)};var px={_date:ac};function mx(t,e,n,r){const{controller:u,data:i,_sorted:o}=t,s=u._cachedMeta.iScale;if(s&&e===s.axis&&e!=="r"&&o&&i.length){const a=s._reversePixels?J2:Zn;if(r){if(u._sharedOptions){const l=i[0],c=typeof l.getRange=="function"&&l.getRange(e);if(c){const h=a(i,e,n-c),m=a(i,e,n+c);return{lo:h.lo,hi:m.hi}}}}else return a(i,e,n)}return{lo:0,hi:i.length-1}}function Ai(t,e,n,r,u){const i=t.getSortedVisibleDatasetMetas(),o=n[e];for(let s=0,a=i.length;s{a[o](e[n],u)&&(i.push({element:a,datasetIndex:l,index:c}),s=s||a.inRange(e.x,e.y,u))}),r&&!s?[]:i}var _x={evaluateInteractionItems:Ai,modes:{index(t,e,n,r){const u=Kn(e,t),i=n.axis||"x",o=n.includeInvisible||!1,s=n.intersect?qa(t,u,i,r,o):Xa(t,u,i,!1,r,o),a=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach(l=>{const c=s[0].index,h=l.data[c];h&&!h.skip&&a.push({element:h,datasetIndex:l.index,index:c})}),a):[]},dataset(t,e,n,r){const u=Kn(e,t),i=n.axis||"xy",o=n.includeInvisible||!1;let s=n.intersect?qa(t,u,i,r,o):Xa(t,u,i,!1,r,o);if(s.length>0){const a=s[0].datasetIndex,l=t.getDatasetMeta(a).data;s=[];for(let c=0;cn.pos===e)}function _d(t,e){return t.filter(n=>Um.indexOf(n.pos)===-1&&n.box.axis===e)}function Eu(t,e){return t.sort((n,r)=>{const u=e?r:n,i=e?n:r;return u.weight===i.weight?u.index-i.index:u.weight-i.weight})}function Ex(t){const e=[];let n,r,u,i,o,s;for(n=0,r=(t||[]).length;nl.box.fullSize),!0),r=Eu(_u(e,"left"),!0),u=Eu(_u(e,"right")),i=Eu(_u(e,"top"),!0),o=Eu(_u(e,"bottom")),s=_d(e,"x"),a=_d(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:u.concat(a).concat(o).concat(s),chartArea:_u(e,"chartArea"),vertical:r.concat(u).concat(a),horizontal:i.concat(o).concat(s)}}function Ed(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Wm(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Px(t,e,n,r){const{pos:u,box:i}=n,o=t.maxPadding;if(!ne(u)){n.size&&(t[u]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[u]+=n.size}i.getPadding&&Wm(o,i.getPadding());const s=Math.max(0,e.outerWidth-Ed(o,t,"left","right")),a=Math.max(0,e.outerHeight-Ed(o,t,"top","bottom")),l=s!==t.w,c=a!==t.h;return t.w=s,t.h=a,n.horizontal?{same:l,other:c}:{same:c,other:l}}function Sx(t){const e=t.maxPadding;function n(r){const u=Math.max(e[r]-t[r],0);return t[r]+=u,u}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function Dx(t,e){const n=e.maxPadding;function r(u){const i={left:0,top:0,right:0,bottom:0};return u.forEach(o=>{i[o]=Math.max(e[o],n[o])}),i}return r(t?["left","right"]:["top","bottom"])}function Mu(t,e,n,r){const u=[];let i,o,s,a,l,c;for(i=0,o=t.length,l=0;i{typeof S.beforeLayout=="function"&&S.beforeLayout()});const c=a.reduce((S,C)=>C.box.options&&C.box.options.display===!1?S:S+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:u,availableWidth:i,availableHeight:o,vBoxMaxWidth:i/2/c,hBoxMaxHeight:o/2}),m=Object.assign({},u);Wm(m,ft(r));const y=Object.assign({maxPadding:m,w:i,h:o,x:u.left,y:u.top},u),v=wx(a.concat(l),h);Mu(s.fullSize,y,h,v),Mu(a,y,h,v),Mu(l,y,h,v)&&Mu(a,y,h,v),Sx(y),bd(s.leftAndTop,y,h,v),y.x+=y.w,y.y+=y.h,bd(s.rightAndBottom,y,h,v),t.chartArea={left:y.left,top:y.top,right:y.left+y.w,bottom:y.top+y.h,height:y.h,width:y.w},ue(s.chartArea,S=>{const C=S.box;Object.assign(C,t.chartArea),C.update(y.w,y.h,{left:0,top:0,right:0,bottom:0})})}};class Hm{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,u){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,u?Math.floor(n/u):r)}}isAttached(e){return!0}updateConfig(e){}}class Ox extends Hm{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Oo="$chartjs",Cx={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},wd=t=>t===null||t==="";function kx(t,e){const n=t.style,r=t.getAttribute("height"),u=t.getAttribute("width");if(t[Oo]={initial:{height:r,width:u,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",wd(u)){const i=ed(t,"width");i!==void 0&&(t.width=i)}if(wd(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=ed(t,"height");i!==void 0&&(t.height=i)}return t}const $m=ow?{passive:!0}:!1;function Ax(t,e,n){t.addEventListener(e,n,$m)}function Rx(t,e,n){t.canvas.removeEventListener(e,n,$m)}function Mx(t,e){const n=Cx[t.type]||t.type,{x:r,y:u}=Kn(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:u!==void 0?u:null}}function cs(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Nx(t,e,n){const r=t.canvas,u=new MutationObserver(i=>{let o=!1;for(const s of i)o=o||cs(s.addedNodes,r),o=o&&!cs(s.removedNodes,r);o&&n()});return u.observe(document,{childList:!0,subtree:!0}),u}function Tx(t,e,n){const r=t.canvas,u=new MutationObserver(i=>{let o=!1;for(const s of i)o=o||cs(s.removedNodes,r),o=o&&!cs(s.addedNodes,r);o&&n()});return u.observe(document,{childList:!0,subtree:!0}),u}const yi=new Map;let xd=0;function Km(){const t=window.devicePixelRatio;t!==xd&&(xd=t,yi.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Fx(t,e){yi.size||window.addEventListener("resize",Km),yi.set(t,e)}function Lx(t){yi.delete(t),yi.size||window.removeEventListener("resize",Km)}function Bx(t,e,n){const r=t.canvas,u=r&&O0(r);if(!u)return;const i=ym((s,a)=>{const l=u.clientWidth;n(s,a),l{const a=s[0],l=a.contentRect.width,c=a.contentRect.height;l===0&&c===0||i(l,c)});return o.observe(u),Fx(t,i),o}function Ga(t,e,n){n&&n.disconnect(),e==="resize"&&Lx(t)}function Ix(t,e,n){const r=t.canvas,u=ym(i=>{t.ctx!==null&&n(Mx(i,t))},t,i=>{const o=i[0];return[o,o.offsetX,o.offsetY]});return Ax(r,e,u),u}class zx extends Hm{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(kx(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Oo])return!1;const r=n[Oo].initial;["height","width"].forEach(i=>{const o=r[i];ie(o)?n.removeAttribute(i):n.setAttribute(i,o)});const u=r.style||{};return Object.keys(u).forEach(i=>{n.style[i]=u[i]}),n.width=n.width,delete n[Oo],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const u=e.$proxies||(e.$proxies={}),o={attach:Nx,detach:Tx,resize:Bx}[n]||Ix;u[n]=o(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),u=r[n];if(!u)return;({attach:Ga,detach:Ga,resize:Ga}[n]||Rx)(e,n,u),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,u){return iw(e,n,r,u)}isAttached(e){const n=O0(e);return!!(n&&n.isConnected)}}function jx(t){return!Fm()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Ox:zx}class Vx{constructor(){this._init=[]}notify(e,n,r,u){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=u?this._descriptors(e).filter(u):this._descriptors(e),o=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,n,r,u){u=u||{};for(const i of e){const o=i.plugin,s=o[r],a=[n,u,i.options];if(_e(s,a,o)===!1&&u.cancelable)return!1}return!0}invalidate(){ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,u=ee(r.options&&r.options.plugins,{}),i=Ux(r);return u===!1&&!n?[]:Hx(e,i,u,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,u=(i,o)=>i.filter(s=>!o.some(a=>s.plugin.id===a.plugin.id));this._notify(u(n,r),e,"stop"),this._notify(u(r,n),e,"start")}}function Ux(t){const e={},n=[],r=Object.keys(Wt.plugins.items);for(let i=0;i{const a=r[s];if(!ne(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=cc(s,a),c=Yx(l,u),h=n.scales||{};i[l]=i[l]||s,o[s]=Wu(Object.create(null),[{axis:l},a,h[l],h[c]])}),t.data.datasets.forEach(s=>{const a=s.type||t.type,l=s.indexAxis||lc(a,e),h=(lr[a]||{}).scales||{};Object.keys(h).forEach(m=>{const y=Kx(m,l),v=s[y+"AxisID"]||i[y]||y;o[v]=o[v]||Object.create(null),Wu(o[v],[{axis:y},r[v],h[m]])})}),Object.keys(o).forEach(s=>{const a=o[s];Wu(a,[J.scales[a.type],J.scale])}),o}function Ym(t){const e=t.options||(t.options={});e.plugins=ee(e.plugins,{}),e.scales=Xx(t,e)}function qm(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Gx(t){return t=t||{},t.data=qm(t.data),Ym(t),t}const Pd=new Map,Xm=new Set;function lo(t,e){let n=Pd.get(t);return n||(n=e(),Pd.set(t,n),Xm.add(n)),n}const bu=(t,e,n)=>{const r=Ln(e,n);r!==void 0&&t.add(r)};class Qx{constructor(e){this._config=Gx(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=qm(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Ym(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return lo(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return lo(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return lo(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return lo(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let u=r.get(e);return(!u||n)&&(u=new Map,r.set(e,u)),u}getOptionScopes(e,n,r){const{options:u,type:i}=this,o=this._cachedScopes(e,r),s=o.get(n);if(s)return s;const a=new Set;n.forEach(c=>{e&&(a.add(e),c.forEach(h=>bu(a,e,h))),c.forEach(h=>bu(a,u,h)),c.forEach(h=>bu(a,lr[i]||{},h)),c.forEach(h=>bu(a,J,h)),c.forEach(h=>bu(a,oc,h))});const l=Array.from(a);return l.length===0&&l.push(Object.create(null)),Xm.has(n)&&o.set(n,l),l}chartOptionScopes(){const{options:e,type:n}=this;return[e,lr[n]||{},J.datasets[n]||{},{type:n},J,oc]}resolveNamedOptions(e,n,r,u=[""]){const i={$shared:!0},{resolver:o,subPrefixes:s}=Sd(this._resolverCache,e,u);let a=o;if(Jx(o,n)){i.$shared=!1,r=Bn(r)?r():r;const l=this.createResolver(e,r,s);a=Xr(o,r,l)}for(const l of n)i[l]=a[l];return i}createResolver(e,n,r=[""],u){const{resolver:i}=Sd(this._resolverCache,e,r);return ne(n)?Xr(i,n,void 0,u):i}}function Sd(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const u=n.join();let i=r.get(u);return i||(i={resolver:P0(e,n),subPrefixes:n.filter(s=>!s.toLowerCase().includes("hover"))},r.set(u,i)),i}const Zx=t=>ne(t)&&Object.getOwnPropertyNames(t).reduce((e,n)=>e||Bn(t[n]),!1);function Jx(t,e){const{isScriptable:n,isIndexable:r}=km(t);for(const u of e){const i=n(u),o=r(u),s=(o||i)&&t[u];if(i&&(Bn(s)||Zx(s))||o&&fe(s))return!0}return!1}var eP="3.9.1";const tP=["top","bottom","left","right","chartArea"];function Dd(t,e){return t==="top"||t==="bottom"||tP.indexOf(t)===-1&&e==="x"}function Od(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Cd(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),_e(n&&n.onComplete,[t],e)}function nP(t){const e=t.chart,n=e.options.animation;_e(n&&n.onProgress,[t],e)}function Gm(t){return Fm()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const fs={},Qm=t=>{const e=Gm(t);return Object.values(fs).filter(n=>n.canvas===e).pop()};function rP(t,e,n){const r=Object.keys(t);for(const u of r){const i=+u;if(i>=e){const o=t[u];delete t[u],(n>0||i>e)&&(t[i+n]=o)}}}function uP(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}class Ri{constructor(e,n){const r=this.config=new Qx(n),u=Gm(e),i=Qm(u);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const o=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||jx(u)),this.platform.updateConfig(r);const s=this.platform.acquireContext(u,o.aspectRatio),a=s&&s.canvas,l=a&&a.height,c=a&&a.width;if(this.id=j2(),this.ctx=s,this.canvas=a,this.width=c,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Vx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=nb(h=>this.update(h),o.resizeDelay||0),this._dataChanges=[],fs[this.id]=this,!s||!a){console.error("Failed to create chart: can't acquire context from the given item");return}qt.listen(this,"complete",Cd),qt.listen(this,"progress",nP),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:u,_aspectRatio:i}=this;return ie(e)?n&&i?i:u?r/u:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Jf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Gf(this.canvas,this.ctx),this}stop(){return qt.stop(this),this}resize(e,n){qt.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,u=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(u,e,n,i),s=r.devicePixelRatio||this.platform.getDevicePixelRatio(),a=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Jf(this,s,!0)&&(this.notifyPlugins("resize",{size:o}),_e(r.onResize,[this,o],this),this.attached&&this._doResize(a)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ue(n,(r,u)=>{r.id=u})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,u=Object.keys(r).reduce((o,s)=>(o[s]=!1,o),{});let i=[];n&&(i=i.concat(Object.keys(n).map(o=>{const s=n[o],a=cc(o,s),l=a==="r",c=a==="x";return{options:s,dposition:l?"chartArea":c?"bottom":"left",dtype:l?"radialLinear":c?"category":"linear"}}))),ue(i,o=>{const s=o.options,a=s.id,l=cc(a,s),c=ee(s.type,o.dtype);(s.position===void 0||Dd(s.position,l)!==Dd(o.dposition))&&(s.position=o.dposition),u[a]=!0;let h=null;if(a in r&&r[a].type===c)h=r[a];else{const m=Wt.getScale(c);h=new m({id:a,type:c,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(s,e)}),ue(u,(o,s)=>{o||delete r[s]}),ue(r,o=>{wn.configure(this,o,o.options),wn.addBox(this,o)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((u,i)=>u.index-i.index),r>n){for(let u=n;un.length&&delete this._stacks,e.forEach((r,u)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(u)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,u;for(this._removeUnreferencedMetasets(),r=0,u=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),u=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let l=0,c=this.data.datasets.length;l{l.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Od("z","_idx"));const{_active:s,_lastEvent:a}=this;a?this._eventHandler(a,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){ue(this.scales,e=>{wn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!If(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:u,count:i}of n){const o=r==="_removeElements"?-i:i;rP(e,u,o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(o=>o[0]===i).map((o,s)=>s+","+o.splice(1).join(","))),u=r(0);for(let i=1;ii.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;wn.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],ue(this.boxes,u=>{r&&u.position==="chartArea"||(u.configure&&u.configure(),this._layers.push(...u._layers()))},this),this._layers.forEach((u,i)=>{u._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,u=!r.disabled,i=this.chartArea,o={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(u&&Dm(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),u&&Om(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return mi(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,u){const i=_x.modes[n];return typeof i=="function"?i(this,e,r,u):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let u=r.filter(i=>i&&i._dataset===n).pop();return u||(u={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(u)),u}getContext(){return this.$context||(this.$context=Vn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const u=r?"show":"hide",i=this.getDatasetMeta(e),o=i.controller._resolveAnimations(void 0,u);Dt(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),o.update(i,{visible:r}),this.update(s=>s.datasetIndex===e?u:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),qt.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,i,o),e[i]=o},u=(i,o,s)=>{i.offsetX=o,i.offsetY=s,this._eventHandler(i)};ue(this.options.events,i=>r(i,u))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(a,l)=>{n.addEventListener(this,a,l),e[a]=l},u=(a,l)=>{e[a]&&(n.removeEventListener(this,a,l),delete e[a])},i=(a,l)=>{this.canvas&&this.resize(a,l)};let o;const s=()=>{u("attach",s),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,u("resize",i),this._stop(),this._resize(0,0),r("attach",s)},n.isAttached(this.canvas)?s():o()}unbindEvents(){ue(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},ue(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const u=r?"set":"remove";let i,o,s,a;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+u+"DatasetHoverStyle"]()),s=0,a=e.length;s{const s=this.getDatasetMeta(i);if(!s)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:s.data[o],index:o}});!ns(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}_updateHoverStyles(e,n,r){const u=this.options.hover,i=(a,l)=>a.filter(c=>!l.some(h=>c.datasetIndex===h.datasetIndex&&c.index===h.index)),o=i(n,e),s=r?e:i(e,n);o.length&&this.updateHoverStyle(o,u.mode,!1),s.length&&u.mode&&this.updateHoverStyle(s,u.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},u=o=>(o.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,u)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,u),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:u=[],options:i}=this,o=n,s=this._getActiveElements(e,u,r,o),a=K2(e),l=uP(e,this._lastEvent,r,a);r&&(this._lastEvent=null,_e(i.onHover,[e,s,this],this),a&&_e(i.onClick,[e,s,this],this));const c=!ns(s,u);return(c||n)&&(this._active=s,this._updateHoverStyles(s,u,n)),this._lastEvent=l,c}_getActiveElements(e,n,r,u){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,u)}}const kd=()=>ue(Ri.instances,t=>t._plugins.invalidate()),hn=!0;Object.defineProperties(Ri,{defaults:{enumerable:hn,value:J},instances:{enumerable:hn,value:fs},overrides:{enumerable:hn,value:lr},registry:{enumerable:hn,value:Wt},version:{enumerable:hn,value:eP},getChart:{enumerable:hn,value:Qm},register:{enumerable:hn,value:(...t)=>{Wt.add(...t),kd()}},unregister:{enumerable:hn,value:(...t)=>{Wt.remove(...t),kd()}}});function Zm(t,e,n){const{startAngle:r,pixelMargin:u,x:i,y:o,outerRadius:s,innerRadius:a}=e;let l=u/s;t.beginPath(),t.arc(i,o,s,r-l,n+l),a>u?(l=u/a,t.arc(i,o,a,n+l,r-l,!0)):t.arc(i,o,u,n+be,r-be),t.closePath(),t.clip()}function iP(t){return x0(t,["outerStart","outerEnd","innerStart","innerEnd"])}function oP(t,e,n,r){const u=iP(t.options.borderRadius),i=(n-e)/2,o=Math.min(i,r*e/2),s=a=>{const l=(n-Math.min(i,a))*r/2;return Ve(a,0,Math.min(i,l))};return{outerStart:s(u.outerStart),outerEnd:s(u.outerEnd),innerStart:Ve(u.innerStart,0,o),innerEnd:Ve(u.innerEnd,0,o)}}function Er(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function fc(t,e,n,r,u,i){const{x:o,y:s,startAngle:a,pixelMargin:l,innerRadius:c}=e,h=Math.max(e.outerRadius+r+n-l,0),m=c>0?c+r+n+l:0;let y=0;const v=u-a;if(r){const T=c>0?c-r:0,B=h>0?h-r:0,F=(T+B)/2,R=F!==0?v*F/(F+r):v;y=(v-R)/2}const S=Math.max(.001,v*h-n/pe)/h,C=(v-S)/2,E=a+C+y,w=u-C-y,{outerStart:x,outerEnd:N,innerStart:P,innerEnd:D}=oP(e,m,h,w-E),g=h-x,f=h-N,p=E+x/g,d=w-N/f,b=m+P,O=m+D,L=E+P/b,k=w-D/O;if(t.beginPath(),i){if(t.arc(o,s,h,p,d),N>0){const F=Er(f,d,o,s);t.arc(F.x,F.y,N,d,w+be)}const T=Er(O,w,o,s);if(t.lineTo(T.x,T.y),D>0){const F=Er(O,k,o,s);t.arc(F.x,F.y,D,w+be,k+Math.PI)}if(t.arc(o,s,m,w-D/m,E+P/m,!0),P>0){const F=Er(b,L,o,s);t.arc(F.x,F.y,P,L+Math.PI,E-be)}const B=Er(g,E,o,s);if(t.lineTo(B.x,B.y),x>0){const F=Er(g,p,o,s);t.arc(F.x,F.y,x,E-be,p)}}else{t.moveTo(o,s);const T=Math.cos(p)*h+o,B=Math.sin(p)*h+s;t.lineTo(T,B);const F=Math.cos(d)*h+o,R=Math.sin(d)*h+s;t.lineTo(F,R)}t.closePath()}function sP(t,e,n,r,u){const{fullCircles:i,startAngle:o,circumference:s}=e;let a=e.endAngle;if(i){fc(t,e,n,r,o+ae,u);for(let l=0;l=ae||pi(i,s,a),S=is(o,l+m,c+m);return v&&S}getCenterPoint(e){const{x:n,y:r,startAngle:u,endAngle:i,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:a,spacing:l}=this.options,c=(u+i)/2,h=(o+s+l+a)/2;return{x:n+Math.cos(c)*h,y:r+Math.sin(c)*h}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:r}=this,u=(n.offset||0)/2,i=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=r>ae?Math.floor(r/ae):0,r===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let s=0;if(u){s=u/2;const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*s,Math.sin(l)*s),this.circumference>=pe&&(s=u)}e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor;const a=sP(e,this,s,i,o);lP(e,this,s,i,a,o),e.restore()}}N0.id="arc";N0.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};N0.defaultRoutes={backgroundColor:"backgroundColor"};function Jm(t,e,n=e){t.lineCap=ee(n.borderCapStyle,e.borderCapStyle),t.setLineDash(ee(n.borderDash,e.borderDash)),t.lineDashOffset=ee(n.borderDashOffset,e.borderDashOffset),t.lineJoin=ee(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=ee(n.borderWidth,e.borderWidth),t.strokeStyle=ee(n.borderColor,e.borderColor)}function cP(t,e,n){t.lineTo(n.x,n.y)}function fP(t){return t.stepped?kb:t.tension||t.cubicInterpolationMode==="monotone"?Ab:cP}function eg(t,e,n={}){const r=t.length,{start:u=0,end:i=r-1}=n,{start:o,end:s}=e,a=Math.max(u,o),l=Math.min(i,s),c=us&&i>s;return{count:r,start:a,loop:e.loop,ilen:l(o+(l?s-N:N))%i,x=()=>{S!==C&&(t.lineTo(c,C),t.lineTo(c,S),t.lineTo(c,E))};for(a&&(y=u[w(0)],t.moveTo(y.x,y.y)),m=0;m<=s;++m){if(y=u[w(m)],y.skip)continue;const N=y.x,P=y.y,D=N|0;D===v?(PC&&(C=P),c=(h*c+N)/++h):(x(),t.lineTo(N,P),v=D,h=0,S=C=P),E=P}x()}function dc(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?hP:dP}function pP(t){return t.stepped?sw:t.tension||t.cubicInterpolationMode==="monotone"?aw:Yn}function mP(t,e,n,r){let u=e._path;u||(u=e._path=new Path2D,e.path(u,n,r)&&u.closePath()),Jm(t,e.options),t.stroke(u)}function gP(t,e,n,r){const{segments:u,options:i}=e,o=dc(e);for(const s of u)Jm(t,i,s.style),t.beginPath(),o(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const yP=typeof Path2D=="function";function vP(t,e,n,r){yP&&!e.options.segment?mP(t,e,n,r):gP(t,e,n,r)}class Mi extends Yt{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const u=r.spanGaps?this._loop:this._fullLoop;Jb(this._points,r,e,u,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=_w(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,u=e[n],i=this.points,o=gw(this,{property:n,start:u,end:u});if(!o.length)return;const s=[],a=pP(r);let l,c;for(l=0,c=o.length;lt!=="borderDash"&&t!=="fill"};function Ad(t,e,n,r){const u=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)-1?t.split(`
+`):t}function DP(t,e){const{element:n,datasetIndex:r,index:u}=e,i=t.getDatasetMeta(r).controller,{label:o,value:s}=i.getLabelAndValue(u);return{chart:t,label:o,parsed:i.getParsed(u),raw:t.data.datasets[r].data[u],formattedValue:s,dataset:i.getDataset(),dataIndex:u,datasetIndex:r,element:n}}function Rd(t,e){const n=t.chart.ctx,{body:r,footer:u,title:i}=t,{boxWidth:o,boxHeight:s}=e,a=Ke(e.bodyFont),l=Ke(e.titleFont),c=Ke(e.footerFont),h=i.length,m=u.length,y=r.length,v=ft(e.padding);let S=v.height,C=0,E=r.reduce((N,P)=>N+P.before.length+P.lines.length+P.after.length,0);if(E+=t.beforeBody.length+t.afterBody.length,h&&(S+=h*l.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),E){const N=e.displayColors?Math.max(s,a.lineHeight):a.lineHeight;S+=y*N+(E-y)*a.lineHeight+(E-1)*e.bodySpacing}m&&(S+=e.footerMarginTop+m*c.lineHeight+(m-1)*e.footerSpacing);let w=0;const x=function(N){C=Math.max(C,n.measureText(N).width+w)};return n.save(),n.font=l.string,ue(t.title,x),n.font=a.string,ue(t.beforeBody.concat(t.afterBody),x),w=e.displayColors?o+2+e.boxPadding:0,ue(r,N=>{ue(N.before,x),ue(N.lines,x),ue(N.after,x)}),w=0,n.font=c.string,ue(t.footer,x),n.restore(),C+=v.width,{width:C,height:S}}function OP(t,e){const{y:n,height:r}=e;return nt.height-r/2?"bottom":"center"}function CP(t,e,n,r){const{x:u,width:i}=r,o=n.caretSize+n.caretPadding;if(t==="left"&&u+i+o>e.width||t==="right"&&u-i-o<0)return!0}function kP(t,e,n,r){const{x:u,width:i}=n,{width:o,chartArea:{left:s,right:a}}=t;let l="center";return r==="center"?l=u<=(s+a)/2?"left":"right":u<=i/2?l="left":u>=o-i/2&&(l="right"),CP(l,t,e,n)&&(l="center"),l}function Md(t,e,n){const r=n.yAlign||e.yAlign||OP(t,n);return{xAlign:n.xAlign||e.xAlign||kP(t,e,n,r),yAlign:r}}function AP(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function RP(t,e,n){let{y:r,height:u}=t;return e==="top"?r+=n:e==="bottom"?r-=u+n:r-=u/2,r}function Nd(t,e,n,r){const{caretSize:u,caretPadding:i,cornerRadius:o}=t,{xAlign:s,yAlign:a}=n,l=u+i,{topLeft:c,topRight:h,bottomLeft:m,bottomRight:y}=zr(o);let v=AP(e,s);const S=RP(e,a,l);return a==="center"?s==="left"?v+=l:s==="right"&&(v-=l):s==="left"?v-=Math.max(c,m)+u:s==="right"&&(v+=Math.max(h,y)+u),{x:Ve(v,0,r.width-e.width),y:Ve(S,0,r.height-e.height)}}function co(t,e,n){const r=ft(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function Td(t){return jt([],Xt(t))}function MP(t,e,n){return Vn(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Fd(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class NP extends Yt{constructor(e){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=e.chart||e._chart,this._chart=this.chart,this.options=e.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(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),u=r.enabled&&n.options.animation&&r.animations,i=new Bm(this.chart,u);return u._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=MP(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,u=r.beforeTitle.apply(this,[e]),i=r.title.apply(this,[e]),o=r.afterTitle.apply(this,[e]);let s=[];return s=jt(s,Xt(u)),s=jt(s,Xt(i)),s=jt(s,Xt(o)),s}getBeforeBody(e,n){return Td(n.callbacks.beforeBody.apply(this,[e]))}getBody(e,n){const{callbacks:r}=n,u=[];return ue(e,i=>{const o={before:[],lines:[],after:[]},s=Fd(r,i);jt(o.before,Xt(s.beforeLabel.call(this,i))),jt(o.lines,s.label.call(this,i)),jt(o.after,Xt(s.afterLabel.call(this,i))),u.push(o)}),u}getAfterBody(e,n){return Td(n.callbacks.afterBody.apply(this,[e]))}getFooter(e,n){const{callbacks:r}=n,u=r.beforeFooter.apply(this,[e]),i=r.footer.apply(this,[e]),o=r.afterFooter.apply(this,[e]);let s=[];return s=jt(s,Xt(u)),s=jt(s,Xt(i)),s=jt(s,Xt(o)),s}_createItems(e){const n=this._active,r=this.chart.data,u=[],i=[],o=[];let s=[],a,l;for(a=0,l=n.length;ae.filter(c,h,m,r))),e.itemSort&&(s=s.sort((c,h)=>e.itemSort(c,h,r))),ue(s,c=>{const h=Fd(e.callbacks,c);u.push(h.labelColor.call(this,c)),i.push(h.labelPointStyle.call(this,c)),o.push(h.labelTextColor.call(this,c))}),this.labelColors=u,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=s,s}update(e,n){const r=this.options.setContext(this.getContext()),u=this._active;let i,o=[];if(!u.length)this.opacity!==0&&(i={opacity:0});else{const s=Co[r.position].call(this,u,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const a=this._size=Rd(this,r),l=Object.assign({},s,a),c=Md(this.chart,r,l),h=Nd(r,l,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,i={opacity:1,x:h.x,y:h.y,width:a.width,height:a.height,caretX:s.x,caretY:s.y}}this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,u){const i=this.getCaretPosition(e,r,u);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:u,yAlign:i}=this,{caretSize:o,cornerRadius:s}=r,{topLeft:a,topRight:l,bottomLeft:c,bottomRight:h}=zr(s),{x:m,y}=e,{width:v,height:S}=n;let C,E,w,x,N,P;return i==="center"?(N=y+S/2,u==="left"?(C=m,E=C-o,x=N+o,P=N-o):(C=m+v,E=C+o,x=N-o,P=N+o),w=C):(u==="left"?E=m+Math.max(a,c)+o:u==="right"?E=m+v-Math.max(l,h)-o:E=this.caretX,i==="top"?(x=y,N=x-o,C=E-o,w=E+o):(x=y+S,N=x+o,C=E+o,w=E-o),P=x),{x1:C,x2:E,x3:w,y1:x,y2:N,y3:P}}drawTitle(e,n,r){const u=this.title,i=u.length;let o,s,a;if(i){const l=Ha(r.rtl,this.x,this.width);for(e.x=co(this,r.titleAlign,r),n.textAlign=l.textAlign(r.titleAlign),n.textBaseline="middle",o=Ke(r.titleFont),s=r.titleSpacing,n.fillStyle=r.titleColor,n.font=o.string,a=0;ax!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,as(e,{x:C,y:S,w:l,h:a,radius:w}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),as(e,{x:E,y:S+1,w:l-2,h:a-2,radius:w}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(C,S,l,a),e.strokeRect(C,S,l,a),e.fillStyle=o.backgroundColor,e.fillRect(E,S+1,l-2,a-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:u}=this,{bodySpacing:i,bodyAlign:o,displayColors:s,boxHeight:a,boxWidth:l,boxPadding:c}=r,h=Ke(r.bodyFont);let m=h.lineHeight,y=0;const v=Ha(r.rtl,this.x,this.width),S=function(f){n.fillText(f,v.x(e.x+y),e.y+m/2),e.y+=m+i},C=v.textAlign(o);let E,w,x,N,P,D,g;for(n.textAlign=o,n.textBaseline="middle",n.font=h.string,e.x=co(this,C,r),n.fillStyle=r.bodyColor,ue(this.beforeBody,S),y=s&&C!=="right"?o==="center"?l/2+c:l+2+c:0,N=0,D=u.length;N0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,u=r&&r.x,i=r&&r.y;if(u||i){const o=Co[e.position].call(this,this._active,this._eventPosition);if(!o)return;const s=this._size=Rd(this,e),a=Object.assign({},o,this._size),l=Md(n,e,a),c=Nd(e,a,l,n);(u._to!==c.x||i._to!==c.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=s.width,this.height=s.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const u={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const o=ft(n.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&s&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,u,n),dw(e,n.textDirection),i.y+=o.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),hw(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,u=e.map(({datasetIndex:s,index:a})=>{const l=this.chart.getDatasetMeta(s);if(!l)throw new Error("Cannot find a dataset at index "+s);return{datasetIndex:s,element:l.data[a],index:a}}),i=!ns(r,u),o=this._positionChanged(u,n);(i||o)&&(this._active=u,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const u=this.options,i=this._active||[],o=this._getActiveElements(e,i,n,r),s=this._positionChanged(o,e),a=n||!ns(o,i)||s;return a&&(this._active=o,(u.enabled||u.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),a}_getActiveElements(e,n,r,u){const i=this.options;if(e.type==="mouseout")return[];if(!u)return n;const o=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(e,n){const{caretX:r,caretY:u,options:i}=this,o=Co[i.position].call(this,e,n);return o!==!1&&(r!==o.x||u!==o.y)}}NP.positioners=Co;const TP=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function FP(t,e,n,r){const u=t.indexOf(e);if(u===-1)return TP(t,e,n,r);const i=t.lastIndexOf(e);return u!==i?n:u}const LP=(t,e)=>t===null?null:Ve(Math.round(t),0,e);class ds extends dr{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:u,label:i}of n)r[u]===i&&r.splice(u,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(ie(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:FP(r,e,ee(n,e),this._addedLabels),LP(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:u}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(u=this.getLabels().length-1)),this.min=r,this.max=u}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,u=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let o=e;o<=n;o++)u.push({value:o});return u}getLabelForValue(e){const n=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}ds.id="category";ds.defaults={ticks:{callback:ds.prototype.getLabelForValue}};function BP(t,e){const n=[],{bounds:u,step:i,min:o,max:s,precision:a,count:l,maxTicks:c,maxDigits:h,includeBounds:m}=t,y=i||1,v=c-1,{min:S,max:C}=e,E=!ie(o),w=!ie(s),x=!ie(l),N=(C-S)/(h+1);let P=jf((C-S)/v/y)*y,D,g,f,p;if(P<1e-14&&!E&&!w)return[{value:S},{value:C}];p=Math.ceil(C/P)-Math.floor(S/P),p>v&&(P=jf(p*P/v/y)*y),ie(a)||(D=Math.pow(10,a),P=Math.ceil(P*D)/D),u==="ticks"?(g=Math.floor(S/P)*P,f=Math.ceil(C/P)*P):(g=S,f=C),E&&w&&i&&G2((s-o)/i,P/1e3)?(p=Math.round(Math.min((s-o)/P,c)),P=(s-o)/p,g=o,f=s):x?(g=E?o:g,f=w?s:f,p=l-1,P=(f-g)/p):(p=(f-g)/P,Hu(p,Math.round(p),P/1e3)?p=Math.round(p):p=Math.ceil(p));const d=Math.max(Vf(P),Vf(g));D=Math.pow(10,ie(a)?d:a),g=Math.round(g*D)/D,f=Math.round(f*D)/D;let b=0;for(E&&(m&&g!==o?(n.push({value:o}),gu=n?u:a,s=a=>i=r?i:a;if(e){const a=Kt(u),l=Kt(i);a<0&&l<0?s(0):a>0&&l>0&&o(0)}if(u===i){let a=1;(i>=Number.MAX_SAFE_INTEGER||u<=Number.MIN_SAFE_INTEGER)&&(a=Math.abs(i*.05)),s(i+a),e||o(u-a)}this.min=u,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,u;return r?(u=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,u>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${u} ticks. Limiting to 1000.`),u=1e3)):(u=this.computeTickLimit(),n=n||11),n&&(u=Math.min(n,u)),u}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const u={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,o=BP(u,i);return e.bounds==="ticks"&&dm(o,this,"value"),e.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const u=(r-n)/Math.max(e.length-1,1)/2;n-=u,r+=u}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Ci(e,this.chart.options.locale,this.options.ticks.format)}}class F0 extends hs{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Te(e)?e:0,this.max=Te(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Mt(this.options.ticks.minRotation),u=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/u))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}F0.id="linear";F0.defaults={ticks:{callback:Vs.formatters.numeric}};function Bd(t){return t/Math.pow(10,Math.floor(Et(t)))===1}function IP(t,e){const n=Math.floor(Et(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),u=[];let i=yt(t.min,Math.pow(10,Math.floor(Et(e.min)))),o=Math.floor(Et(i)),s=Math.floor(i/Math.pow(10,o)),a=o<0?Math.pow(10,Math.abs(o)):1;do u.push({value:i,major:Bd(i)}),++s,s===10&&(s=1,++o,a=o>=0?1:a),i=Math.round(s*Math.pow(10,o)*a)/a;while(o0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Te(e)?Math.max(0,e):null,this.max=Te(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,u=this.max;const i=a=>r=e?r:a,o=a=>u=n?u:a,s=(a,l)=>Math.pow(10,Math.floor(Et(a))+l);r===u&&(r<=0?(i(1),o(10)):(i(s(r,-1)),o(s(u,1)))),r<=0&&i(s(u,-1)),u<=0&&o(s(r,1)),this._zero&&this.min!==this._suggestedMin&&r===s(this.min,0)&&i(s(r,-1)),this.min=r,this.max=u}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=IP(n,this);return e.bounds==="ticks"&&dm(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":Ci(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Et(e),this._valueRange=Et(this.max)-Et(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Et(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}rg.id="logarithmic";rg.defaults={ticks:{callback:Vs.formatters.logarithmic,major:{enabled:!0}}};function hc(t){const e=t.ticks;if(e.display&&t.display){const n=ft(e.backdropPadding);return ee(e.font&&e.font.size,J.font.size)+n.height}return 0}function zP(t,e,n){return n=fe(n)?n:[n],{w:Ob(t,e.string,n),h:n.length*e.lineHeight}}function Id(t,e,n,r,u){return t===r||t===u?{start:e-n/2,end:e+n/2}:tu?{start:e-n,end:e}:{start:e,end:e+n}}function jP(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],u=[],i=t._pointLabels.length,o=t.options.pointLabels,s=o.centerPointLabels?pe/i:0;for(let a=0;ae.r&&(s=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+s)),u.starte.b&&(a=(u.end-e.b)/o,t.b=Math.max(t.b,e.b+a))}function UP(t,e,n){const r=[],u=t._pointLabels.length,i=t.options,o=hc(i)/2,s=t.drawingArea,a=i.pointLabels.centerPointLabels?pe/u:0;for(let l=0;l270||n<90)&&(t-=e),t}function KP(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let u=e-1;u>=0;u--){const i=r.setContext(t.getPointLabelContext(u)),o=Ke(i.font),{x:s,y:a,textAlign:l,left:c,top:h,right:m,bottom:y}=t._pointLabelItems[u],{backdropColor:v}=i;if(!ie(v)){const S=zr(i.borderRadius),C=ft(i.backdropPadding);n.fillStyle=v;const E=c-C.left,w=h-C.top,x=m-c+C.width,N=y-h+C.height;Object.values(S).some(P=>P!==0)?(n.beginPath(),as(n,{x:E,y:w,w:x,h:N,radius:S}),n.fill()):n.fillRect(E,w,x,N)}gi(n,t._pointLabels[u],s,a+o.lineHeight/2,o,{color:i.color,textAlign:l,textBaseline:"middle"})}}function ug(t,e,n,r){const{ctx:u}=t;if(n)u.arc(t.xCenter,t.yCenter,e,0,ae);else{let i=t.getPointPosition(0,e);u.moveTo(i.x,i.y);for(let o=1;o{const u=_e(this.options.pointLabels.callback,[n,r],this);return u||u===0?u:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?jP(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,u){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-u)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,u))}getIndexAngle(e){const n=ae/(this._pointLabels.length||1),r=this.options.startAngle||0;return At(e*n+Mt(r))}getDistanceFromCenterForValue(e){if(ie(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(ie(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(c!==0){s=this.getDistanceFromCenterForValue(l.value);const h=u.setContext(this.getContext(c-1));YP(this,h,s,i)}}),r.display){for(e.save(),o=i-1;o>=0;o--){const l=r.setContext(this.getPointLabelContext(o)),{color:c,lineWidth:h}=l;!h||!c||(e.lineWidth=h,e.strokeStyle=c,e.setLineDash(l.borderDash),e.lineDashOffset=l.borderDashOffset,s=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),a=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(a.x,a.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const u=this.getIndexAngle(0);let i,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(u),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((s,a)=>{if(a===0&&!n.reverse)return;const l=r.setContext(this.getContext(a)),c=Ke(l.font);if(i=this.getDistanceFromCenterForValue(this.ticks[a].value),l.showLabelBackdrop){e.font=c.string,o=e.measureText(s.label).width,e.fillStyle=l.backdropColor;const h=ft(l.backdropPadding);e.fillRect(-o/2-h.left,-i-c.size/2-h.top,o+h.width,c.size+h.height)}gi(e,s.label,0,-i,c,{color:l.color})}),e.restore()}drawTitle(){}}Ws.id="radialLinear";Ws.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Vs.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};Ws.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Ws.descriptors={angleLines:{_fallback:"grid"}};const Hs={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Je=Object.keys(Hs);function XP(t,e){return t-e}function zd(t,e){if(ie(e))return null;const n=t._adapter,{parser:r,round:u,isoWeekday:i}=t._parseOpts;let o=e;return typeof r=="function"&&(o=r(o)),Te(o)||(o=typeof r=="string"?n.parse(o,r):n.parse(o)),o===null?null:(u&&(o=u==="week"&&(qr(i)||i===!0)?n.startOf(o,"isoWeek",i):n.startOf(o,u)),+o)}function jd(t,e,n,r){const u=Je.length;for(let i=Je.indexOf(t);i=Je.indexOf(n);i--){const o=Je[i];if(Hs[o].common&&t._adapter.diff(u,r,o)>=e-1)return o}return Je[n?Je.indexOf(n):0]}function QP(t){for(let e=Je.indexOf(t)+1,n=Je.length;e=e?n[r]:n[u];t[i]=!0}}function ZP(t,e,n,r){const u=t._adapter,i=+u.startOf(e[0].value,r),o=e[e.length-1].value;let s,a;for(s=i;s<=o;s=+u.add(s,1,r))a=n[s],a>=0&&(e[a].major=!0);return e}function Ud(t,e,n){const r=[],u={},i=e.length;let o,s;for(o=0;o+e.value))}initOffsets(e){let n=0,r=0,u,i;this.options.offset&&e.length&&(u=this.getDecimalForValue(e[0]),e.length===1?n=1-u:n=(this.getDecimalForValue(e[1])-u)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=Ve(n,0,o),r=Ve(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,u=this.options,i=u.time,o=i.unit||jd(i.minUnit,n,r,this._getLabelCapacity(n)),s=ee(i.stepSize,1),a=o==="week"?i.isoWeekday:!1,l=qr(a)||a===!0,c={};let h=n,m,y;if(l&&(h=+e.startOf(h,"isoWeek",a)),h=+e.startOf(h,l?"day":o),e.diff(r,n,o)>1e5*s)throw new Error(n+" and "+r+" are too far apart with stepSize of "+s+" "+o);const v=u.ticks.source==="data"&&this.getDataTimestamps();for(m=h,y=0;mS-C).map(S=>+S)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}_tickFormatFunction(e,n,r,u){const i=this.options,o=i.time.displayFormats,s=this._unit,a=this._majorUnit,l=s&&o[s],c=a&&o[a],h=r[n],m=a&&c&&h&&h.major,y=this._adapter.format(e,u||(m?c:l)),v=i.ticks.callback;return v?_e(v,[y,n,r],this):y}generateTickLabels(e){let n,r,u;for(n=0,r=e.length;n0?s:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const u=this.getMatchingVisibleMetas();if(this._normalized&&u.length)return this._cache.data=u[0].controller.getAllParsedValues(this);for(n=0,r=u.length;n=t[r].pos&&e<=t[u].pos&&({lo:r,hi:u}=Zn(t,"pos",e)),{pos:i,time:s}=t[r],{pos:o,time:a}=t[u]):(e>=t[r].time&&e<=t[u].time&&({lo:r,hi:u}=Zn(t,"time",e)),{time:i,pos:s}=t[r],{time:o,pos:a}=t[u]);const l=o-i;return l?s+(a-s)*(e-i)/l:s}class ig extends $s{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=fo(n,this.min),this._tableRange=fo(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,u=[],i=[];let o,s,a,l,c;for(o=0,s=e.length;o=n&&l<=r&&u.push(l);if(u.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(o=0,s=u.length;o2&&arguments[2]!==void 0?arguments[2]:og;const r=[];t.datasets=e.map(u=>{const i=t.datasets.find(o=>o[n]===u[n]);return!i||!u.data||r.includes(i)?{...u}:(r.push(i),Object.assign(i,u),i)})}function eS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:og;const n={labels:[],datasets:[]};return sg(n,t.labels),ag(n,t.datasets,e),n}function tS(t,e){let{height:n=150,width:r=300,redraw:u=!1,datasetIdKey:i,type:o,data:s,options:a,plugins:l=[],fallbackContent:c,updateMode:h,...m}=t;const y=j.exports.useRef(null),v=j.exports.useRef(),S=()=>{!y.current||(v.current=new Ri(y.current,{type:o,data:eS(s,i),options:a&&{...a},plugins:l}),Wd(e,v.current))},C=()=>{Wd(e,null),v.current&&(v.current.destroy(),v.current=null)};return j.exports.useEffect(()=>{!u&&v.current&&a&&JP(v.current,a)},[u,a]),j.exports.useEffect(()=>{!u&&v.current&&sg(v.current.config.data,s.labels)},[u,s.labels]),j.exports.useEffect(()=>{!u&&v.current&&s.datasets&&ag(v.current.config.data,s.datasets,i)},[u,s.datasets]),j.exports.useEffect(()=>{!v.current||(u?(C(),setTimeout(S)):v.current.update(h))},[u,a,s.labels,s.datasets,h]),j.exports.useEffect(()=>{!v.current||(C(),setTimeout(S))},[o]),j.exports.useEffect(()=>(S(),()=>C()),[]),_("canvas",{...Object.assign({ref:y,role:"img",height:n,width:r},m),children:c})}const nS=j.exports.forwardRef(tS);function rS(t,e){return Ri.register(e),j.exports.forwardRef((n,r)=>_(nS,{...Object.assign({},n,{ref:r,type:t})}))}const uS=rS("line",js);Ri.register(Mi,Us,F0,SP,ds);const iS=({activeRow:t})=>{const[e,n]=j.exports.useState();j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/categories/8/tradings",e,n).get()},[]);let r;const u={labels:e?e.data[t].all_prices.map(o=>o.date.split(" ")[0].replace("-",".").replace("-",".")):[""],datasets:[{data:e?e.data[t].all_prices.map((o,s)=>s<=9?o.price:""):[""],borderColor:"#4b8dff",pointBorderWidth:2,pointBackgroundColor:"#4b8dff",tension:.1,animation:{onComplete:()=>{r=!0},delay:o=>{let s=0;return o.type==="data"&&o.mode==="default"&&!r&&(s=o.dataIndex*100+o.datasetIndex*100),s}}}]};return _("div",{className:"line-chart",children:_(uS,{data:u,options:{responsive:!0,radius:5,hitRadius:30,hoverRadius:7,scales:{x:{grid:{display:!1}},y:{ticks:{callback:o=>o},grid:{borderDash:[10]}}}}})})},oS=()=>{const[t,e]=j.exports.useState(0),[n,r]=j.exports.useState(1),[u,i]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/categories",u,i).get()},[]),_("section",{className:"chart",children:_("div",{className:"container",children:z("div",{className:"chart-wrapper",children:[_("div",{className:"chart-tabs",children:u?u.data.map((o,s)=>s<=2?_("div",{className:`${n===s?"active":""} tab`,onClick:()=>r(s),children:_("span",{children:o.title})},o.id):null):null}),z("div",{className:"chart-data",children:[_(z2,{activeRow:t,setActiveRow:e}),_("div",{className:"line-chart-wrapper",children:_(iS,{activeRow:t})})]})]})})})},sS=()=>{const[t,e]=j.exports.useState(),[n,r]=j.exports.useState(),[u,i]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/video",u,i).get(),new qe("http://tmex.gov.tm:8765/api/news",n,r).get({"X-Localization":"en"}),new qe("http://tmex.gov.tm:8765/api/documents",t,e).get({"X-Localization":"en"})},[]),z("main",{className:"home-main",children:[_(X1,{}),_("section",{className:"about",children:_("div",{className:"container",children:z("div",{className:"about-wrapper",children:[z("div",{className:"about-left",children:[_(lt,{title:"\u0443\u0441\u043B\u0443\u0433\u0438 \u0431\u0438\u0440\u0436\u044B"}),z("div",{className:"about-text-wrapper",children:[_("p",{className:"about-text",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Eu nisl, rhoncus aenean dignissim velit vestibulum cras ultrices etiam. Iaculis vitae imperdiet eget fringilla a egestas purus. Iaculis vitae imperdiet eget fringilla a egestas purus."}),_("p",{className:"about-text",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Eu nisl, rhoncus aenean dignissim velit vestibulum cras ultrices etiam. Iaculis vitae imperdiet eget fringilla a egestas purus. Iaculis vitae imperdiet eget fringilla a egestas purus."})]}),z("div",{className:"about-link-wrapper",children:[z(Q,{to:"/",className:"about-link",children:[_("img",{src:Cu,alt:"link",className:"about-link-text"}),_("h3",{className:"about-link-text",children:"\u041F\u043E\u0434\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043E\u043D\u043B\u0430\u0439\u043D"})]}),z(Q,{to:"/",className:"about-link",children:[_("img",{src:Cu,alt:"link",className:"about-link-text"}),_("h3",{className:"about-link-text",children:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u043E\u0432"})]}),z(Q,{to:"/",className:"about-link",children:[_("img",{src:Cu,alt:"link",className:"about-link-text"}),_("h3",{className:"about-link-text",children:"\u0423\u0437\u043D\u0430\u0442\u044C \u0438\u043C\u043F\u043E\u0440\u0442\u043D\u044B\u0435 \u0446\u0435\u043D\u044B \u043C\u043E\u0436\u043D\u043E \u0437\u0434\u0435\u0441\u044C"})]}),z(Q,{to:"/",className:"about-link",children:[_("img",{src:Cu,alt:"link",className:"about-link-text"}),_("h3",{className:"about-link-text",children:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B \u0434\u043B\u044F \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u0431\u0438\u0440\u0436\u044B"})]})]})]}),_("div",{className:"about-right",children:u?_(U3,{videoUrl:u.data.video}):null})]})})}),_(oS,{}),_("section",{className:"news",children:_("div",{className:"container",children:z("div",{className:"news-wrapper",children:[_(lt,{title:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"}),_("div",{className:"news-post-wrapper",children:n?n.data.map((o,s)=>s<=2?_(p3,{title:o.title,shortDes:o.short_description,date:o.date,image:o.image},o.id):null):""})]})})}),_("section",{className:"documents",children:_("div",{className:"container",children:z("div",{className:"documents-wrapper",children:[_(lt,{title:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F"}),_("div",{className:"documents-links-wrapper",children:t?t.data.map(o=>_(Q1,{title:o.title,link:o.file},o.id)):""})]})})})]})},aS=()=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041E \u0431\u0438\u0440\u0436\u0435"}),z("div",{className:"sub-page-content-wrapper",children:[z("div",{className:"sub-page-text-wrapper",children:[_("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."}),_("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\u0442\u044C."})]}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0438 \u0446\u0435\u043B\u0438 \u0431\u0438\u0440\u0436\u0438"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0440\u0430\u0432\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F \u0434\u043B\u044F \u0435\u0435 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u2013 \u0434\u0435\u043B\u043E\u0432\u044B\u043C \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C \u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044F\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430"})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0438 \u0443\u0441\u043A\u043E\u0440\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440\u043E\u043E\u0431\u043E\u0440\u043E\u0442"})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u041D\u0430\u0441\u044B\u0442\u0438\u0442\u044C \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0440\u044B\u043D\u043E\u043A \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u043C\u0438 \u0442\u043E\u0432\u0430\u0440\u0430\u043C\u0438 \u043D\u0430\u0440\u043E\u0434\u043D\u043E\u0433\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u044F, \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0435\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u0435\u043D\u043D\u043E-\u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438 \u043E\u0431\u043E\u0440\u0443\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u043C, \u043F\u0440\u0435\u0434\u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044B\u043C \u0434\u043B\u044F \u043C\u043E\u0434\u0435\u0440\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u043D\u0430\u0440\u043E\u0434\u043D\u043E-\u0445\u043E\u0437\u044F\u0439\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u0430 \u0441\u0442\u0440\u0430\u043D\u044B."})]})]})]}),z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u041A\u0432\u0430\u043B\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0441\u0442\u044B \u0431\u0438\u0440\u0436\u0438 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044E\u0442 \u0446\u0435\u043B\u0435\u0441\u043E\u043E\u0431\u0440\u0430\u0437\u043D\u043E\u0441\u0442\u044C \u0432\u0432\u043E\u0437\u0430 \u0438 \u0432\u044B\u0432\u043E\u0437\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0438, \u043F\u0440\u043E\u0432\u043E\u0434\u044F\u0442 \u0430\u043D\u0430\u043B\u0438\u0437 \u0432\u043B\u0438\u044F\u043D\u0438\u044F \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u0444\u0430\u043A\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0438\u043C\u043F\u043E\u0440\u0442 \u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u0438 \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0438."}),_("p",{children:"\u0413\u043B\u0430\u0432\u043D\u044B\u043C \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043B\u0435\u0442 \u0441\u0442\u0430\u043B\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043E\u0431\u043E\u0440\u043E\u0442\u0430 \u2013 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u043E\u0432 \u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u043D\u0430\u0447\u0438\u043D\u0430\u044F \u0441 \u0438\u0445 \u0432\u0432\u043E\u0434\u0430 \u0432 \u0431\u0430\u0437\u0443 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0438 \u0432\u044B\u0434\u0430\u0447\u0435\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u0443."}),_("p",{children:"\u041D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442\u0441\u044F \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u044F \u043E\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u0430, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0432 \u0431\u043E\u043B\u0435\u0435 40 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043C\u0438\u0440\u0430. \u0421\u0440\u0435\u0434\u0438 \u043D\u0438\u0445 - \u0422\u0443\u0440\u0446\u0438\u044F, \u041A\u0438\u0442\u0430\u0439, \u0420\u043E\u0441\u0441\u0438\u044F, \u041E\u0410\u042D, \u0413\u0435\u0440\u043C\u0430\u043D\u0438\u044F, \u0421\u0428\u0410, \u0412\u0435\u043B\u0438\u043A\u043E\u0431\u0440\u0438\u0442\u0430\u043D\u0438\u044F, \u0423\u043A\u0440\u0430\u0438\u043D\u0430, \u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044F. \u041E\u0441\u043D\u043E\u0432\u043D\u044B\u043C\u0438 \u0441\u0442\u0430\u0442\u044C\u044F\u043C\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430 \u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043D\u0435\u0444\u0442\u0435\u043F\u0440\u043E\u0434\u0443\u043A\u0442\u044B, \u0445\u043B\u043E\u043F\u043E\u043A-\u0432\u043E\u043B\u043E\u043A\u043D\u043E, \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u044F \u0442\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043D\u043E\u0439 \u0438 \u0445\u0438\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0438 \u0442.\u0434."})]}),z("div",{className:"sub-page-title-text",children:[_("h2",{className:"sub-page-title",children:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438"}),_("div",{className:"sub-page-text-wrapper",children:_("p",{children:"\u0412 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0417\u0430\u043A\u043E\u043D\u043E\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \xAB\u041E \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u044B\u0445 \u0431\u0438\u0440\u0436\u0430\u0445\xBB, \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u044F \u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438, \u0433\u0440\u0430\u0436\u0434\u0430\u043D\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043F\u0443\u0442\u0435\u043C \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0438\u043B\u0438 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438."})})]}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0443\u044E\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u043D\u0446\u0438\u043F\u043E\u0432:"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u0413\u043B\u0430\u0441\u043D\u043E\u0441\u0442\u044C \u0438 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u0421\u0432\u043E\u0431\u043E\u0434\u0430 \u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0446\u0435\u043D \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u0431\u0440\u043E\u0432\u043E\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0441\u0434\u0435\u043B\u043E\u043A."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0432\u0435\u043D\u0441\u0442\u0432\u043E \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u0443\u0447\u0430\u0441\u0442\u0438\u044F \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0434\u043B\u044F \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]})]})]}),z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u0427\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0438\u043B\u0438 \u043F\u043E\u043A\u0443\u043F\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0441\u0442\u0443\u043F\u0430\u0442\u044C \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043B\u0438\u0446\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438."}),_("p",{children:"\u041B\u0438\u0446\u0430, \u043D\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0448\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E, \u0447\u0442\u043E\u0431\u044B \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0442\u043E\u0432\u0430\u0440\u043E\u0432, \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u0433\u043E\u0432\u043E\u0440 \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u0438\u0445 \u0443\u0441\u043B\u0443\u0433 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0411\u0438\u0440\u0436\u0438."})]})]})]})})})),lS=()=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"}),z("div",{className:"sub-page-content-wrapper",children:[z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u0412 \u0446\u0435\u043B\u044F\u0445 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043E\u0445\u043E\u0434\u043E\u0432, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0445 \u043E\u0442 \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438, \u0438 \u0444\u0438\u043D\u0430\u043D\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044E \u0442\u0435\u0440\u0440\u043E\u0440\u0438\u0437\u043C\u0430, \u043D\u0430 \u0431\u0438\u0440\u0436\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u044B \u041F\u0440\u0430\u0432\u0438\u043B\u0430, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u044E\u0442 \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0446\u0435\u043B\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0438, \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044F. \u0422\u0430\u043A\u0436\u0435 \u0431\u0438\u0440\u0436\u0435\u0439 \u043D\u0430\u0437\u043D\u0430\u0447\u0430\u0435\u0442\u0441\u044F \u043B\u0438\u0446\u043E, \u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435 \u0437\u0430 \u0441\u043E\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435 \u044D\u0442\u0438\u0445 \u043F\u0440\u0430\u0432\u0438\u043B."}),_("p",{children:"\u0421\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438, \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043E\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430, \u0442\u0449\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u0442 \u0435\u0435 \u0441 \u0443\u0447\u0435\u0442\u043E\u043C \u0432\u0438\u0434\u043E\u0432 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u0430, \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0440\u0438\u0441\u043A\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0432\u043D\u043E\u0441\u0438\u0442 \u0435\u0435 \u0432 \u0410\u0411\u0421."})]}),z("div",{className:"sub-page-title-text",children:[_("h2",{className:"sub-page-title",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \u0444\u0438\u043D. \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433\u0430"}),z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u041F\u043E\u0434\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043D\u0430 \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430 \u0438\u043B\u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0436\u043D\u043E \u043E\u043D\u043B\u0430\u0439\u043D. \u041B\u0438\u0447\u043D\u044B\u0439 \u043A\u0430\u0431\u0438\u043D\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u043D\u0435\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u044B\u0435 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0431\u043B\u0430\u043D\u043A\u0438 \u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u0437\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u0439, \u0432\u0435\u0441\u0442\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438, \u0434\u043E\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u043F\u0430\u043A\u0435\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0435\u0441\u043B\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043A\u0430\u044F \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \u0424\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u0432\u0441\u044F \u0440\u0430\u0431\u043E\u0442\u0430 \u0441 \u0431\u0438\u0440\u0436\u0435\u0439 \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0430."}),_("p",{children:"\u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u043C \u2013 \u043F\u0440\u043E\u0439\u0434\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044E \u0432 \u041B\u0438\u0447\u043D\u043E\u043C \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0435."})]})]})]})]})})})),cS=()=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"}),z("div",{className:"sub-page-content-wrapper",children:[_("div",{className:"sub-page-text-wrapper",children:_("p",{children:"\u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u0430\u044F \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0432 \u0441\u0432\u043E\u0435\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044F \u041A\u043E\u043D\u0441\u0442\u0438\u0442\u0443\u0446\u0438\u0435\u0439, \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u0430\u043A\u0442\u0430\u043C\u0438 \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430, \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C \u0411\u0438\u0440\u0436\u0438, \u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u043E-\u043F\u0440\u0430\u0432\u043E\u0432\u044B\u043C\u0438 \u0430\u043A\u0442\u0430\u043C\u0438."})}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u0412 \u043A\u043E\u043C\u043F\u0435\u0442\u0435\u043D\u0446\u0438\u044E \u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u043E\u0439 \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438 \u0432\u0445\u043E\u0434\u0438\u0442:"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u0410\u043D\u043D\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u0434\u0435\u043B\u043E\u043A, \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0445 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u0410\u043D\u043D\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0438 \u043D\u0435\u0432\u043E\u0441\u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043D\u0430 \u0411\u0438\u0440\u0436\u0435 \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043F\u043E\u0440\u043E\u0432 \u043F\u043E \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u043C \u0441\u0434\u0435\u043B\u043A\u0430\u043C \u0438 \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043F\u043E\u0440\u043E\u0432 \u043F\u043E \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430\u043C, \u043F\u0440\u0438 \u0438\u0445 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438, \u0432\u043D\u0435\u0441\u0435\u043D\u0438\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0438 \u0440\u0430\u0441\u0442\u043E\u0440\u0436\u0435\u043D\u0438\u0438."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"5"}),_("h3",{className:"sub-page-list-item-text",children:"\u041A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0432\u043F\u0440\u0430\u0432\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C, \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u0438\u043D\u044F\u0442\u043E\u0435 \u0440\u0435\u0448\u0435\u043D\u0438\u0435."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"6"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u043D\u0430\u0440\u0443\u0448\u0435\u043D\u0438\u0439, \u0434\u043E\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0445 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438."})]})]})]}),z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044F \u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0441\u043A\u043E\u0439 \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438"}),_("p",{children:"\u041A\u043E\u043D\u0441\u0443\u043B\u044C\u0441\u043A\u0430\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u0437\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0438 \u0438 \u0437\u0430\u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0438 \u043F\u043E\u0434\u043B\u0438\u043D\u043D\u043E\u0441\u0442\u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439 \u043D\u0430 \u044A\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0445 \u0438 \u0430\u043A\u0442\u0430\u0445, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u0438\u0445 \u0437\u0430\u043A\u043E\u043D\u0430\u043C \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0430 \u043F\u0440\u0435\u0431\u044B\u0432\u0430\u043D\u0438\u044F \u043A\u043E\u043D\u0441\u0443\u043B\u0430 \u043F\u0443\u0442\u0435\u043C \u0441\u043E\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043D\u0430\u0434\u043F\u0438\u0441\u0438 \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0448\u0442\u0430\u043C\u043F\u0430 \u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u0438 \u0430\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u043E\u043C \u044F\u0437\u044B\u043A\u0430\u0445."})]})]})]})})})),fS=()=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438"}),z("div",{className:"sub-page-content-wrapper",children:[_("div",{className:"sub-page-text-wrapper",children:_("p",{children:"\u0412 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0417\u0430\u043A\u043E\u043D\u043E\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \xAB\u041E \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u044B\u0445 \u0431\u0438\u0440\u0436\u0430\u0445\xBB, \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u044F \u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438, \u0433\u0440\u0430\u0436\u0434\u0430\u043D\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043F\u0443\u0442\u0435\u043C \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0438\u043B\u0438 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438."})}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0443\u044E\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u043D\u0446\u0438\u043F\u043E\u0432:"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u0413\u043B\u0430\u0441\u043D\u043E\u0441\u0442\u044C \u0438 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u0421\u0432\u043E\u0431\u043E\u0434\u0430 \u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0446\u0435\u043D \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u0431\u0440\u043E\u0432\u043E\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0441\u0434\u0435\u043B\u043E\u043A."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0432\u0435\u043D\u0441\u0442\u0432\u043E \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u0443\u0447\u0430\u0441\u0442\u0438\u044F \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0434\u043B\u044F \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]})]})]}),z("div",{className:"sub-page-text-wrapper",children:[_("p",{children:"\u0427\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0438\u043B\u0438 \u043F\u043E\u043A\u0443\u043F\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0441\u0442\u0443\u043F\u0430\u0442\u044C \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043B\u0438\u0446\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438."}),_("p",{children:"\u041B\u0438\u0446\u0430, \u043D\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0448\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E, \u0447\u0442\u043E\u0431\u044B \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0442\u043E\u0432\u0430\u0440\u043E\u0432, \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u0433\u043E\u0432\u043E\u0440 \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u0438\u0445 \u0443\u0441\u043B\u0443\u0433 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0411\u0438\u0440\u0436\u0438."})]}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u043E\u0439\u0442\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u043E\u0433\u043E \u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433\u0430."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),z("div",{className:"sub-page-list-item-content",children:[_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432:"}),z("ul",{className:"sub-page-list-item-list",children:[_("li",{className:"sub-page-list-item-list-item",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u043D\u0430 \u0438\u043C\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F \u0413\u0422\u0421\u0411\u0422 \u043E \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430"}),_("li",{className:"sub-page-list-item-list-item",children:"\u0414\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u043D\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F (\u0431\u0440\u043E\u043A\u0435\u0440\u0430) \u0441 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u043E\u043C \u043F\u0435\u0447\u0430\u0442\u0438 \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),_("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0439 \u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u0438 (\u043B\u0435\u0433\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0439)"}),_("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044F \u043F\u0430\u0441\u043F\u043E\u0440\u0442\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F (\u0431\u0440\u043E\u043A\u0435\u0440\u0430) \u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),_("li",{className:"sub-page-list-item-list-item",children:"\u0417\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0439 \u0431\u043B\u0430\u043D\u043A \u0431\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u0438\u0445 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432, \u0437\u0430\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u0435\u0447\u0430\u0442\u044C\u044E \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),_("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044E \u0443\u0447\u0440\u0435\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 (\u0443\u0441\u0442\u0430\u0432, \u0440\u0435\u0435\u0441\u0442\u0440);"}),_("li",{className:"sub-page-list-item-list-item",children:"\u041E\u0434\u043D\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0430 3x4;"}),_("li",{className:"sub-page-list-item-list-item",children:'\u0417\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0439 \u0431\u043B\u0430\u043D\u043A "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u043E", \u0437\u0430\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u043F\u0435\u0447\u0430\u0442\u044C\u044E \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.'})]})]})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),z("div",{className:"sub-page-list-item-content",children:[_("h3",{className:"sub-page-list-item-text",children:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \xAB\u0412\u0437\u0430\u0438\u043C\u043E\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432\xBB \u0413\u0422\u0421\u0411\u0422 \u0441\u0447\u0435\u0442\u0430 \u0438 \u043E\u043F\u043B\u0430\u0442\u0438\u0442\u044C:"}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u043D\u0435\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),z("ul",{className:"sub-page-list-item-list",children:[_("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u043D\u0430 \u043B\u0451\u0433\u043A\u0443\u044E \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 5000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410. \u0414\u0435\u043F\u043E\u0437\u0438\u0442 \u2013 6 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410."}),_("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u043D\u0430 \u043D\u0435\u0444\u0442\u044F\u043D\u0443\u044E \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 10 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410. \u0414\u0435\u043F\u043E\u0437\u0438\u0442 \u2013 50 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410."})]}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),_("ul",{className:"sub-page-list-item-list",children:_("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 10 000 \u043C\u0430\u043D\u0430\u0442."})})]})]})]})]}),z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u041E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u043F\u0440\u0435\u043A\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0430: "}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u0417\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u041D\u0435 \u0443\u043F\u043B\u0430\u0442\u0430 \u0433\u043E\u0434\u043E\u0432\u043E\u0439 \u043E\u043F\u043B\u0430\u0442\u044B \u0437\u0430 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u0441\u0440\u043E\u043A\u0438."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0443\u043F\u043B\u0430\u0442\u044B \u0433\u043E\u0434\u043E\u0432\u043E\u0439 \u043E\u043F\u043B\u0430\u0442\u044B \u0437\u0430 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u043E\u0439 \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438 \u0411\u0438\u0440\u0436\u0438."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"5"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0435\u043A\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043B\u0438\u043A\u0432\u0438\u0434\u0430\u0446\u0438\u044F \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430."})]})]})]})]})]})})})),dS=()=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"}),_("div",{className:"sub-page-content-wrapper",children:z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432 \u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0439 \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u043E\u0439 \u0431\u0438\u0440\u0436\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u043E \u043F\u0440\u0438\u0432\u0435\u0434\u0435\u043D\u043D\u043E\u0439 \u0441\u0445\u0435\u043C\u0435:"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0438\u0435\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0441 9.00 \u0434\u043E 17.00."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u0434\u0435\u043B \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u0440\u044B\u043D\u043A\u0430 \u0446\u0435\u043D."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0430\u0432\u0430 \u0438 \u043A\u0430\u0434\u0440\u043E\u0432."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u043E\u0442\u0434\u0435\u043B."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"5"}),_("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u0434\u0435\u043B \u0432\u0437\u0430\u0438\u043C\u043E\u0440\u0430\u0441\u0447\u0435\u0442\u0430."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"6"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043D\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u044C \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F\u043C."})]})]})]})}),_("div",{className:"sub-page-text-wrapper",children:_("p",{children:"\u0422\u0430\u043A\u0436\u0435 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0438 \u0431\u0438\u0440\u0436\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u043E\u0432 \u043E\u043D\u043B\u0430\u0439\u043D \u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u041B\u0438\u0447\u043D\u043E\u0433\u043E \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0430. \u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435, \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043B \u0438 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043B\u044C\u043D\u0435\u0439\u0448\u0438\u043C \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u044F\u043C. \u0420\u0430\u0431\u043E\u0442\u0430 \u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u0430 \u0441 \u0440\u0430\u0431\u043E\u0442\u043E\u0439 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u044B \u0432 \u0437\u0434\u0430\u043D\u0438\u0438 \u0431\u0438\u0440\u0436\u0438."})}),_("div",{className:"sub-page-content-wrapper",children:z("div",{className:"sub-page-list-wrapper",children:[_("h2",{className:"sub-page-title",children:"\u041F\u0435\u0440\u0435\u0447\u0435\u043D\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u043B\u044F \u0432\u044B\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438:"}),z("div",{className:"sub-page-list",children:[z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"1"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u0441 \u043F\u0440\u043E\u0441\u044C\u0431\u043E\u0439 \u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0438 \u0432\u044B\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"2"}),_("h3",{className:"sub-page-list-item-text",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u043E \u043F\u0440\u043E\u0434\u0430\u0436\u0435 \u0442\u043E\u0432\u0430\u0440\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0435 \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0444\u043E\u0440\u043C\u0435."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"3"}),_("h3",{className:"sub-page-list-item-text",children:"\u0421\u043F\u0435\u0446\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u0430, \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u0430\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0413\u0422\u0421\u0411\u0422."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"4"}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E\u0449\u0438\u0435 \u043F\u0440\u0430\u0432\u043E \u0437\u0430\u043D\u0438\u043C\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C\u044E."})]}),z("div",{className:"sub-page-list-item",children:[_("div",{className:"sub-page-list-num",children:"5"}),_("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E\u0449\u0438\u0435 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u0430."})]})]})]})})]})})}));var lg={};function hS(t){if(!t||typeof window>"u")return;const e=document.createElement("style");return e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e),t}Object.defineProperty(lg,"__esModule",{value:!0});var Gt=j.exports;function pS(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var wu=pS(Gt);/*! *****************************************************************************
+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 ps=function(){return ps=Object.assign||function(e){for(var n,r=1,u=arguments.length;rz("div",{className:"ticker-block",children:[_("h3",{className:"ticker-title",children:t}),z("div",{className:"ticker-content",children:[z("div",{className:"ticker-price",children:[n," ",u]}),z("div",{className:"ticker-status",children:[_("div",{className:"ticker-arrow",children:_("img",{src:n>=r?am:lm})}),_("span",{className:`ticker-status-title ${n>=r?"green":"red"}`,children:e})]})]})]}),vS=40,_S=()=>{const[t,e]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/tradings",t,e).get()},[]),_(gS,{className:"ticker",gradient:!1,speed:vS,children:_("div",{className:"ticker-wrapper",children:t?t.data.map(n=>_(yS,{title:n.title,change:n.price_change,price:n.price,oldPrice:n.old_price,currency:n.currency},n.id)):""})})},Hd="/assets/phone.827f98ca.svg",ES="/assets/fax.75231e49.svg",bS="/assets/mail.ecbe6887.svg",wS=({title:t,firstPosition:e,secondPosition:n,firstPhone:r,secondPhone:u,firstFax:i,firstMail:o})=>z("div",{className:"contacts-card",children:[_("h2",{className:"contacts-card-title",children:t}),z("div",{className:"contacts-card-pos-wrapper",children:[e&&r?z("div",{className:"contacts-card-pos",children:[_("h3",{className:"contacts-card-pos-title",children:e}),z("div",{className:"contacts-card-pos-contact",children:[_("div",{className:"contacts-card-pos-contact-icon",children:_("img",{src:Hd,alt:"phone"})}),_("h4",{className:"contacts-card-pos-contact-title",children:r})]}),i?z("div",{className:"contacts-card-pos-contact",children:[_("div",{className:"contacts-card-pos-contact-icon",children:_("img",{src:ES,alt:"fax"})}),_("h4",{className:"contacts-card-pos-contact-title",children:r})]}):null,o?z("div",{className:"contacts-card-pos-contact",children:[_("div",{className:"contacts-card-pos-contact-icon",children:_("img",{src:bS,alt:"mail"})}),_("h4",{className:"contacts-card-pos-contact-title",children:o})]}):null]}):null,n&&u?z("div",{className:"contacts-card-pos",children:[_("h3",{className:"contacts-card-pos-title",children:n}),z("div",{className:"contacts-card-pos-contact",children:[_("div",{className:"contacts-card-pos-contact-icon",children:_("img",{src:Hd,alt:"phone"})}),_("h4",{className:"contacts-card-pos-contact-title",children:u})]})]}):null]})]}),xS=()=>{const[t,e]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/contacts",t,e).get(),window.scrollTo(0,0)},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"}),_("div",{className:"contacts-wrapper",children:t?t.data.map(n=>{var r,u,i,o;return _(wS,{title:n.name,firstPosition:n.contacts[0].title,firstPhone:n.contacts[0].phone,firstFax:n.contacts[0].fax,firstMail:n.contacts[0].mail,secondPosition:(r=n.contacts[1])!=null&&r.title?(u=n.contacts[1])==null?void 0:u.title:null,secondPhone:(i=n.contacts[1])!=null&&i.phone?(o=n.contacts[1])==null?void 0:o.phone:null},n.id)}):null})]})})})},PS=()=>{const[t,e]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/news",t,e).get()},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"}),_("div",{className:"news-page-wrapper",children:t?t.data.map(n=>_(p3,{title:n.title,shortDes:n.short_description,description:n.description,date:n.date,image:n.image},n.id)):null})]})})})},SS="/assets/post-img.3023eadf.png",xu=()=>z(Q,{to:"/",className:"latest-new",children:[_("h3",{className:"latest-new-date",children:"18.08.2022"}),_("h2",{className:"latest-new-title",children:"\u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043F\u0440\u0438\u043D\u044F\u043B \u043A\u0430\u0434\u0440\u043E\u0432\u043E\u0435 \u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432 \u0441\u043E\u0441\u0442\u0430\u0432\u0435 \u043E\u0440\u0433\u0430\u043D\u043E\u0432 \u043F\u0440\u043E\u043A\u0443\u0440\u0430\u0442\u0443\u0440\u044B"})]}),DS=()=>{const[t,e]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/news",t,e).get({"X-localization":"en"})},[]),_("div",{className:"container",children:z("div",{className:"post-page-wrapper",children:[_("main",{children:z("div",{className:"post-page-main-wrapper",children:[z("div",{className:"post-page-header",children:[_("h1",{className:"post-page-title",children:"T\xFCrki\xFDeden we Owganystandan gelen teleke\xE7iler 4,5 m\xFC\u0148 tonnadan gowrak STG satyn aldylar"}),_("h2",{className:"post-page-main-date",children:"18.08.2022"})]}),_("div",{className:"post-page-img",children:_("img",{src:SS,alt:"img"})}),z("div",{className:"post-page-text",children:[_("p",{className:"post-page-text-item",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."}),_("p",{className:"post-page-text-item",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\u0442\u044C."}),_("p",{className:"post-page-text-item",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\u0442\u044C."})]})]})}),_("aside",{children:z("div",{className:"post-page-latest-wrapper",children:[_("h2",{className:"post-page-latest-title",children:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 \u043D\u043E\u0432\u043E\u0441\u0442\u0438"}),z("div",{className:"post-page-latest-news",children:[t?t.data.map((n,r)=>{r<=6&&n.title}):null,_(xu,{}),_(xu,{}),_(xu,{}),_(xu,{})]})]})})]})})},$d=({text:t,active:e,onClick:n})=>_("div",{className:`tab-dark ${e?"active-tab":null}`,onClick:n,children:_("span",{children:t})}),Kd=({title:t,price:e})=>z("div",{className:"tarif-service-item",children:[_("h2",{className:"tarif-service-text",children:t}),z("h2",{className:"tarif-service-price",children:[e," "]})]}),OS=()=>{const[t,e]=j.exports.useState(1),[n,r]=j.exports.useState();return j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/tariffs",n,r).get({"X-Localization":"en"})},[]),_("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u0422\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"}),_("div",{className:"tarif-wrapper",children:z("div",{className:"tarif-wrapper-top",children:[_($d,{text:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===1,onClick:()=>e(1)}),_($d,{text:"\u0414\u043B\u044F \u043D\u0435 \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===2,onClick:()=>e(2)})]})}),t===1?_("div",{className:"tarif-table",children:n?n.data.map(u=>u.type==="resident"?_(Kd,{title:u.title,price:u.prices.map(i=>i.price+" ")}):null):null}):null,t===2?_("div",{className:"tarif-table",children:n?n.data.map(u=>u.type==="non_resident"?_(Kd,{title:u.title,price:u.prices.map(i=>i.price+" ")}):null):null}):null]})})})},Yd=({title:t,onClick:e,active:n})=>_("h2",{className:`multimedia-tab ${n?"m-tab-active":null}`,onClick:e,children:t}),CS=({img:t})=>_("div",{className:"gallery-item",children:_("img",{src:t,alt:"image"})}),kS=({imageTabIndex:t})=>{const[e,n]=j.exports.useState();return j.exports.useEffect(()=>{new qe(`http://tmex.gov.tm:8765/api/medias/${t}`,e,n).get()},[]),j.exports.useEffect(()=>{new qe(`http://tmex.gov.tm:8765/api/medias/${t}`,e,n).get()},[t]),console.log(e,t),_("div",{className:"gallery-wrapper",children:_("div",{className:"gallery",children:e?e.data.map(r=>_(CS,{img:r.media},r.id)):null})})},AS=({videoTabIndex:t})=>{const[e,n]=j.exports.useState();return j.exports.useEffect(()=>{new qe(`http://tmex.gov.tm:8765/api/medias/${t}`,e,n).get()},[t]),console.log(t),_("div",{className:"videos-wrapper",children:e?e.data.map(r=>_(U3,{videoUrl:r.media},r.id)):null})},RS=()=>{const[t,e]=j.exports.useState(),[n,r]=j.exports.useState(),[u,i]=j.exports.useState(0),[o,s]=j.exports.useState(),[a,l]=j.exports.useState();j.exports.useEffect(()=>{new qe("http://tmex.gov.tm:8765/api/media/categories",a,l).get({"X-Localization":"ru"})},[]);const c=(m,y)=>{e(m),r(y),i(null)},h=(m,y)=>{i(m),s(y),e(null)};return _("main",{children:_("div",{className:"container",children:z("div",{className:"sub-page-wrapper",children:[_(lt,{title:"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u044F"}),z("div",{className:"multimedia-wrapper",children:[z("nav",{className:"multimedia-nav",children:[_("div",{className:"multimedia-top-gallery",children:a?a.data.map((m,y)=>m.type==="image"?_(Yd,{title:m.title,active:t===y,onClick:()=>c(y,m.id)},m.id):null):null}),_("div",{className:"multimedia-top-video",children:a?a.data.map((m,y)=>m.type==="video"?_(Yd,{title:m.title,active:u===y,onClick:()=>h(y,m.id)},m.id):null):null})]}),u?_(AS,{videoTabIndex:o}):_(kS,{imageTabIndex:n})]})]})})})},MS=()=>z("div",{className:"App",children:[_(_S,{}),_(Y1,{}),z(z1,{children:[_(gt,{index:!0,element:_(sS,{})}),_(gt,{path:"/gtsbt",element:_(aS,{})}),_(gt,{path:"/fin",element:_(lS,{})}),_(gt,{path:"/norm",element:_(cS,{})}),_(gt,{path:"/trade",element:_(fS,{})}),_(gt,{path:"/register",element:_(dS,{})}),_(gt,{path:"/contacts",element:_(xS,{})}),_(gt,{path:"/news",element:_(PS,{})}),_(gt,{path:"/post",element:_(DS,{})}),_(gt,{path:"/tarif",element:_(OS,{})}),_(gt,{path:"/multimedia",element:_(RS,{})})]}),_(q1,{})]}),NS=document.getElementById("root"),TS=u3(NS);TS.render(_(j.exports.StrictMode,{children:_(H1,{children:_(MS,{})})}));
diff --git a/dist/assets/logo.fe8c8333.svg b/dist/assets/logo.fe8c8333.svg
new file mode 100644
index 0000000..bd7cbb7
--- /dev/null
+++ b/dist/assets/logo.fe8c8333.svg
@@ -0,0 +1,13 @@
+
diff --git a/dist/assets/mail.ecbe6887.svg b/dist/assets/mail.ecbe6887.svg
new file mode 100644
index 0000000..a566461
--- /dev/null
+++ b/dist/assets/mail.ecbe6887.svg
@@ -0,0 +1,10 @@
+
diff --git a/dist/assets/phone.827f98ca.svg b/dist/assets/phone.827f98ca.svg
new file mode 100644
index 0000000..f2ca4ff
--- /dev/null
+++ b/dist/assets/phone.827f98ca.svg
@@ -0,0 +1,10 @@
+
diff --git a/dist/assets/post-img.3023eadf.png b/dist/assets/post-img.3023eadf.png
new file mode 100644
index 0000000..958da93
Binary files /dev/null and b/dist/assets/post-img.3023eadf.png differ
diff --git a/dist/index.html b/dist/index.html
new file mode 100644
index 0000000..88624b8
--- /dev/null
+++ b/dist/index.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+ Exchange
+
+
+
+
+
+
+
+