From d80a0d03db1af892498000cbe2efdc72f154db04 Mon Sep 17 00:00:00 2001 From: Kakabay Date: Mon, 26 Dec 2022 17:52:34 +0500 Subject: [PATCH] build --- dist/assets/{index.2522ecbc.js => index.e535b560.js} | 4 ++-- dist/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename dist/assets/{index.2522ecbc.js => index.e535b560.js} (98%) diff --git a/dist/assets/index.2522ecbc.js b/dist/assets/index.e535b560.js similarity index 98% rename from dist/assets/index.2522ecbc.js rename to dist/assets/index.e535b560.js index c079778..595bf34 100644 --- a/dist/assets/index.2522ecbc.js +++ b/dist/assets/index.e535b560.js @@ -88,7 +88,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * Released under the MIT License */class Tw{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,i){const u=n.listeners[i],s=n.duration;u.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=km.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const u=r.items;let s=u.length-1,a=!1,o;for(;s>=0;--s)o=u[s],o._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),a=!0):(u[s]=u[u.length-1],u.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),u.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=u.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Gt=new Tw;const mf="transparent",Mw={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=uf(e||mf),i=r.valid&&uf(t||mf);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Lw{constructor(t,n,r,i){const u=n[r];i=ss([t.to,i,u,t.from]);const s=ss([t.from,u,i]);this._active=!0,this._fn=t.fn||Mw[t.type||typeof s],this._easing=qi[t.easing]||qi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],u=r-this._start,s=this._duration-u;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=u,this._loop=!!t.loop,this._to=ss([t.to,n,i,t.from]),this._from=ss([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,u=this._from,s=this._loop,a=this._to;let o;if(this._active=u!==a&&(s||n1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[i]=this._fn(u,a,o)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;ie!=="onProgress"&&e!=="onComplete"&&e!=="fn"});Z.set("animations",{colors:{type:"color",properties:Iw},numbers:{type:"number",properties:Bw}});Z.describe("animations",{_fallback:"animation"});Z.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class $m{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!ne(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!ne(i))return;const u={};for(const s of zw)u[s]=i[s];(pe(i.properties)&&i.properties||[r]).forEach(s=>{(s===r||!n.has(s))&&n.set(s,u)})})}_animateOptions(t,n){const r=n.options,i=Vw(t,r);if(!i)return[];const u=this._createAnimations(i,r);return r.$shared&&jw(t.options.$animations,r).then(()=>{t.options=r},()=>{}),u}_createAnimations(t,n){const r=this._properties,i=[],u=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let o;for(o=s.length-1;o>=0;--o){const l=s[o];if(l.charAt(0)==="$")continue;if(l==="options"){i.push(...this._animateOptions(t,n));continue}const d=n[l];let p=u[l];const g=r.get(l);if(p)if(g&&p.active()){p.update(g,d,a);continue}else p.cancel();if(!g||!g.duration){t[l]=d;continue}u[l]=p=new Lw(g,t,l,d),i.push(p)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return Gt.add(this._chart,r),!0}}function jw(e,t){const n=[],r=Object.keys(t);for(let i=0;i0||!n&&u<0)return i.index}return null}function xf(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:u,vScale:s,index:a}=r,o=u.axis,l=s.axis,d=$w(u,s,r),p=t.length;let g;for(let v=0;vn[r].axis===t).shift()}function qw(e,t){return Wn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Xw(e,t,n){return Wn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function _i(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(!!r){t=t||e._parsed;for(const i of t){const u=i._stacks;if(!u||u[r]===void 0||u[r][n]===void 0)return;delete u[r][n]}}}const Jo=e=>e==="reset"||e==="none",Ef=(e,t)=>t?e:Object.assign({},e),Gw=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Km(n,!0),values:null};class It{constructor(t,n){this.chart=t,this._ctx=t.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 t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=vf(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&_i(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(p,g,v,b)=>p==="x"?g:p==="r"?b:v,u=n.xAxisID=ee(r.xAxisID,Qo(t,"x")),s=n.yAxisID=ee(r.yAxisID,Qo(t,"y")),a=n.rAxisID=ee(r.rAxisID,Qo(t,"r")),o=n.indexAxis,l=n.iAxisID=i(o,u,s,a),d=n.vAxisID=i(o,s,u,a);n.xScale=this.getScaleForId(u),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Gd(this._data,this),t._stacked&&_i(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(ne(n))this._data=Hw(n);else if(r!==n){if(r){Gd(r,this);const i=this._cachedMeta;_i(i),i._parsed=[]}n&&Object.isExtensible(n)&&f_(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const u=n._stacked;n._stacked=vf(n.vScale,n),n.stack!==r.stack&&(i=!0,_i(n),n.stack=r.stack),this._resyncElements(t),(i||u!==n._stacked)&&xf(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:u,_stacked:s}=r,a=u.axis;let o=t===0&&n===i.length?!0:r._sorted,l=t>0&&r._parsed[t-1],d,p,g;if(this._parsing===!1)r._parsed=i,r._sorted=!0,g=i;else{pe(i[t])?g=this.parseArrayData(r,i,t,n):ne(i[t])?g=this.parseObjectData(r,i,t,n):g=this.parsePrimitiveData(r,i,t,n);const v=()=>p[a]===null||l&&p[a]k||p=0;--g)if(!b()){this.updateRangeFromParsed(l,t,v,o);break}}return l}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,u,s;for(i=0,u=n.length;i=0&&tthis.getContext(r,i),k=l.resolveNamedOptions(g,v,b,p);return k.$shared&&(k.$shared=o,u[s]=Object.freeze(Ef(k,o))),k}_resolveAnimations(t,n,r){const i=this.chart,u=this._cachedDataOpts,s=`animation-${n}`,a=u[s];if(a)return a;let o;if(i.options.animation!==!1){const d=this.chart.config,p=d.datasetAnimationScopeKeys(this._type,n),g=d.getOptionScopes(this.getDataset(),p);o=d.createResolver(g,this.getContext(t,r,n))}const l=new $m(i,o&&o.animations);return o&&o._cacheable&&(u[s]=Object.freeze(l)),l}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Jo(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,u=this.getSharedOptions(r),s=this.includeOptions(n,u)||u!==i;return this.updateSharedOptions(u,n,r),{sharedOptions:u,includeOptions:s}}updateElement(t,n,r,i){Jo(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!Jo(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const u=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(u)||u})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,o,l]of this._syncList)this[a](o,l);this._syncList=[];const i=r.length,u=n.length,s=Math.min(u,i);s&&this.parse(0,s),u>i?this._insertElements(i,u-i,t):u{for(l.length+=n,a=l.length-1;a>=s;a--)l[a]=l[a-n]};for(o(u),a=t;ai-u))}return e._cache.$bar}function Jw(e){const t=e.iScale,n=Qw(t,e.type);let r=t._length,i,u,s,a;const o=()=>{s===32767||s===-32768||(Pt(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,u=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(o=a,l=s),t[n.axis]=l,t._custom={barStart:o,barEnd:l,start:i,end:u,min:s,max:a}}function Ym(e,t,n,r){return pe(e)?t2(e,t,n,r):t[n.axis]=n.parse(e,r),t}function _f(e,t,n,r){const i=e.iScale,u=e.vScale,s=i.getLabels(),a=i===u,o=[];let l,d,p,g;for(l=n,d=n+r;l=n?1:-1)}function r2(e){let t,n,r,i,u;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.baseo.controller.options.grouped),u=r.options.stacked,s=[],a=o=>{const l=o.controller.getParsed(n),d=l&&l[o.vScale.axis];if(ie(d)||isNaN(d))return!0};for(const o of i)if(!(n!==void 0&&a(o))&&((u===!1||s.indexOf(o.stack)===-1||u===void 0&&o.stack===void 0)&&s.push(o.stack),o.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),u=n!==void 0?i.indexOf(n):-1;return u===-1?i.length-1:u}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let u,s;for(u=0,s=n.data.length;u=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:r,yScale:i}=n,u=this.getParsed(t),s=r.getLabelForValue(u.x),a=i.getLabelForValue(u.y),o=u._custom;return{label:n.label,value:"("+s+", "+a+(o?", "+o:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,i){const u=i==="reset",{iScale:s,vScale:a}=this._cachedMeta,{sharedOptions:o,includeOptions:l}=this._getSharedOptions(n,i),d=s.axis,p=a.axis;for(let g=n;gyu(w,a,o,!0)?1:Math.max(T,T*n,D,D*n),b=(w,T,D)=>yu(w,a,o,!0)?-1:Math.min(T,T*n,D,D*n),k=v(0,l,p),O=v(Ee,d,g),x=b(_e,l,p),_=b(_e+Ee,d,g);r=(k-x)/2,i=(O-_)/2,u=-(k+x)/2,s=-(O+_)/2}return{ratioX:r,ratioY:i,offsetX:u,offsetY:s}}class Fu extends It{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let u=o=>+r[o];if(ne(r[t])){const{key:o="value"}=this._parsing;u=l=>+In(r[l],o)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?oe*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],u=Ou(n._parsed[t],r.options.locale);return{label:i[t]||"",value:u}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,u,s,a,o;if(!t){for(i=0,u=r.data.datasets.length;ie!=="spacing",_indexable:e=>e!=="spacing"};Fu.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){let t=e.label;const n=": "+e.formattedValue;return pe(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Ha extends It{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:u}=n,s=this.chart._animationsDisabled;let{start:a,count:o}=Pm(n,i,s);this._drawStart=a,this._drawCount=o,Cm(n)&&(a=0,o=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!u._decimated,r.points=i;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:l},t),this.updateElements(i,a,o,t)}updateElements(t,n,r,i){const u=i==="reset",{iScale:s,vScale:a,_stacked:o,_dataset:l}=this._cachedMeta,{sharedOptions:d,includeOptions:p}=this._getSharedOptions(n,i),g=s.axis,v=a.axis,{spanGaps:b,segment:k}=this.options,O=Jr(b)?b:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||u||i==="none";let _=n>0&&this.getParsed(n-1);for(let w=n;w0&&Math.abs(D[g]-_[g])>O,k&&(S.parsed=D,S.raw=l.data[w]),p&&(S.options=d||this.resolveDataElementOptions(w,T.active?"active":i)),x||this.updateElement(T,w,S,i),_=D}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const u=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,u,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Ha.id="line";Ha.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Ha.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class B0 extends It{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],u=Ou(n._parsed[t].r,r.options.locale);return{label:i[t]||"",value:u}}parseObjectData(t,n,r,i){return Vm.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,i)=>{const u=this.getParsed(i).r;!isNaN(u)&&this.chart.getDataVisibility(i)&&(un.max&&(n.max=u))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),u=Math.max(i/2,0),s=Math.max(r.cutoutPercentage?u/100*r.cutoutPercentage:1,0),a=(u-s)/t.getVisibleDatasetCount();this.outerRadius=u-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,r,i){const u=i==="reset",s=this.chart,o=s.options.animation,l=this._cachedMeta.rScale,d=l.xCenter,p=l.yCenter,g=l.getIndexAngle(0)-.5*_e;let v=g,b;const k=360/this.countVisibleElements();for(b=0;b{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Tt(this.resolveDataElementOptions(t,n).angle||r):0}}B0.id="polarArea";B0.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};B0.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){return e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class qm extends Fu{}qm.id="pie";qm.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class I0 extends It{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,i){return Vm.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta,r=n.dataset,i=n.data||[],u=n.iScale.getLabels();if(r.points=i,t!=="resize"){const s=this.resolveDatasetElementOptions(t);this.options.showLine||(s.borderWidth=0);const a={_loop:!0,_fullLoop:u.length===i.length,options:s};this.updateElement(r,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,r,i){const u=this._cachedMeta.rScale,s=i==="reset";for(let a=n;a{i[u]=r[u]&&r[u].active()?r[u]._to:this[u]}),i}}pn.defaults={};pn.defaultRoutes=void 0;const Xm={values(e){return pe(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,u=e;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)&&(i="scientific"),u=o2(e,n)}const s=Et(Math.abs(u)),a=Math.max(Math.min(-1*Math.floor(s),20),0),o={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(o,this.options.ticks.format),Ou(e,r,o)},logarithmic(e,t,n){if(e===0)return"0";const r=e/Math.pow(10,Math.floor(Et(e)));return r===1||r===2||r===5?Xm.numeric.call(this,e,t,n):""}};function o2(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var $a={formatters:Xm};Z.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:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.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:$a.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});Z.route("scale.ticks","color","","color");Z.route("scale.grid","color","","borderColor");Z.route("scale.grid","borderColor","","borderColor");Z.route("scale.title","color","","color");Z.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});Z.describe("scales",{_fallback:"scale"});Z.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function l2(e,t){const n=e.options.ticks,r=n.maxTicksLimit||c2(e),i=n.major.enabled?f2(t):[],u=i.length,s=i[0],a=i[u-1],o=[];if(u>r)return h2(t,o,i,u/r),o;const l=d2(i,t,r);if(u>0){let d,p;const g=u>1?Math.round((a-s)/(u-1)):null;for(os(t,o,l,ie(g)?0:s-g,s),d=0,p=u-1;di)return o}return Math.max(i,1)}function f2(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,kf=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function Sf(e,t){const n=[],r=e.length/t,i=e.length;let u=0;for(;us+a)))return o}function y2(e,t){ue(e,n=>{const r=n.gc,i=r.length/2;let u;if(i>t){for(u=0;ur?r:n,r=i&&n>r?n:r,{min:vt(n,vt(r,n)),max:vt(r,vt(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 t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){be(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:u,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,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=X_(this,u,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=a=u||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const d=this._getLabelSizes(),p=d.widest.width,g=d.highest.height,v=He(this.chart.width-p,0,this.maxWidth);a=t.offset?this.maxWidth/r:v/(r-1),p+6>a&&(a=v/(r-(t.offset?.5:1)),o=this.maxHeight-wi(t.grid)-n.padding-Pf(t.title,this.chart.options.font),l=Math.sqrt(p*p+g*g),s=k0(Math.min(Math.asin(He((d.highest.height+6)/a,-1,1)),Math.asin(He(o/l,-1,1))-Math.asin(He(g/l,-1,1)))),s=Math.max(i,Math.min(u,s))),this.labelRotation=s}afterCalculateLabelRotation(){be(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){be(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:u}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const o=Pf(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=wi(u)+o):(t.height=this.maxHeight,t.width=wi(u)+o),r.display&&this.ticks.length){const{first:l,last:d,widest:p,highest:g}=this._getLabelSizes(),v=r.padding*2,b=Tt(this.labelRotation),k=Math.cos(b),O=Math.sin(b);if(a){const x=r.mirror?0:O*p.width+k*g.height;t.height=Math.min(this.maxHeight,t.height+x+v)}else{const x=r.mirror?0:k*p.width+O*g.height;t.width=Math.min(this.maxWidth,t.width+x+v)}this._calculatePadding(l,d,O,k)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:u,padding:s},position:a}=this.options,o=this.labelRotation!==0,l=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,v=0;o?l?(g=i*t.width,v=r*n.height):(g=r*t.height,v=i*n.width):u==="start"?v=n.width:u==="end"?g=t.width:u!=="inner"&&(g=t.width/2,v=n.width/2),this.paddingLeft=Math.max((g-d+s)*this.width/(this.width-d),0),this.paddingRight=Math.max((v-p+s)*this.width/(this.width-p),0)}else{let d=n.height/2,p=t.height/2;u==="start"?(d=0,p=t.height):u==="end"&&(d=n.height,p=0),this.paddingTop=d+s,this.paddingBottom=p+s}}_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(){be(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:u[y]||0,height:s[y]||0});return{first:S(0),last:S(n-1),widest:S(T),highest:S(D),widths:u,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return l_(this._alignToPixels?Hn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/r:o/i:o*i0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:u,position:s}=i,a=u.offset,o=this.isHorizontal(),d=this.ticks.length+(a?1:0),p=wi(u),g=[],v=u.setContext(this.getContext()),b=v.drawBorder?v.borderWidth:0,k=b/2,O=function(M){return Hn(r,M,b)};let x,_,w,T,D,S,y,f,m,h,E,C;if(s==="top")x=O(this.bottom),S=this.bottom-p,f=x-k,h=O(t.top)+k,C=t.bottom;else if(s==="bottom")x=O(this.top),h=t.top,C=O(t.bottom)-k,S=x+k,f=this.top+p;else if(s==="left")x=O(this.right),D=this.right-p,y=x-k,m=O(t.left)+k,E=t.right;else if(s==="right")x=O(this.left),m=t.left,E=O(t.right)-k,D=x+k,y=this.left+p;else if(n==="x"){if(s==="center")x=O((t.top+t.bottom)/2+.5);else if(ne(s)){const M=Object.keys(s)[0],I=s[M];x=O(this.chart.scales[M].getPixelForValue(I))}h=t.top,C=t.bottom,S=x+k,f=S+p}else if(n==="y"){if(s==="center")x=O((t.left+t.right)/2);else if(ne(s)){const M=Object.keys(s)[0],I=s[M];x=O(this.chart.scales[M].getPixelForValue(I))}D=x-k,y=D-p,m=t.left,E=t.right}const B=ee(i.ticks.maxTicksLimit,d),F=Math.max(1,Math.ceil(d/B));for(_=0;_u.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let u,s;const a=(o,l,d)=>{!d.width||!d.color||(r.save(),r.lineWidth=d.width,r.strokeStyle=d.color,r.setLineDash(d.borderDash||[]),r.lineDashOffset=d.borderDashOffset,r.beginPath(),r.moveTo(o.x,o.y),r.lineTo(l.x,l.y),r.stroke(),r.restore())};if(n.display)for(u=0,s=i.length;u{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r+1,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let u,s;for(u=0,s=n.length;u{const r=n.split("."),i=r.pop(),u=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),o=s.join(".");Z.route(u,i,o,a)})}function D2(e){return"id"in e&&"defaults"in e}class k2{constructor(){this.controllers=new ls(It,"datasets",!0),this.elements=new ls(pn,"elements"),this.plugins=new ls(Object,"plugins"),this.scales=new ls(mr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const u=r||this._getRegistryForType(i);r||u.isForType(i)||u===this.plugins&&i.id?this._exec(t,u,i):ue(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=D0(t);be(r["before"+i],[],r),n[t](r),be(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let T=n;T0&&Math.abs(S[v]-w[v])>x,O&&(y.parsed=S,y.raw=l.data[T]),g&&(y.options=p||this.resolveDataElementOptions(T,D.active?"active":i)),_||this.updateElement(D,T,y,i),w=S}this.updateSharedOptions(p,i,d)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let a=0;for(let o=n.length-1;o>=0;--o)a=Math.max(a,n[o].size(this.resolveDataElementOptions(o))/2);return a>0&&a}const r=t.dataset,i=r.options&&r.options.borderWidth||0;if(!n.length)return i;const u=n[0].size(this.resolveDataElementOptions(0)),s=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,u,s)/2}}z0.id="scatter";z0.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};z0.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function $n(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class pc{constructor(t){this.options=t||{}}init(t){}formats(){return $n()}parse(t,n){return $n()}format(t,n){return $n()}add(t,n,r){return $n()}diff(t,n,r){return $n()}startOf(t,n,r){return $n()}endOf(t,n){return $n()}}pc.override=function(e){Object.assign(pc.prototype,e)};var S2={_date:pc};function P2(e,t,n,r){const{controller:i,data:u,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&u.length){const o=a._reversePixels?c_:tr;if(r){if(i._sharedOptions){const l=u[0],d=typeof l.getRange=="function"&&l.getRange(t);if(d){const p=o(u,t,n-d),g=o(u,t,n+d);return{lo:p.lo,hi:g.hi}}}}else return o(u,t,n)}return{lo:0,hi:u.length-1}}function Nu(e,t,n,r,i){const u=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,o=u.length;a{o[s](t[n],i)&&(u.push({element:o,datasetIndex:l,index:d}),a=a||o.inRange(t.x,t.y,i))}),r&&!a?[]:u}var N2={evaluateInteractionItems:Nu,modes:{index(e,t,n,r){const i=Xn(t,e),u=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?el(e,i,u,r,s):tl(e,i,u,!1,r,s),o=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const d=a[0].index,p=l.data[d];p&&!p.skip&&o.push({element:p,datasetIndex:l.index,index:d})}),o):[]},dataset(e,t,n,r){const i=Xn(t,e),u=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?el(e,i,u,r,s):tl(e,i,u,!1,r,s);if(a.length>0){const o=a[0].datasetIndex,l=e.getDatasetMeta(o).data;a=[];for(let d=0;dn.pos===t)}function Of(e,t){return e.filter(n=>Gm.indexOf(n.pos)===-1&&n.box.axis===t)}function ki(e,t){return e.sort((n,r)=>{const i=t?r:n,u=t?n:r;return i.weight===u.weight?i.index-u.index:i.weight-u.weight})}function A2(e){const t=[];let n,r,i,u,s,a;for(n=0,r=(e||[]).length;nl.box.fullSize),!0),r=ki(Di(t,"left"),!0),i=ki(Di(t,"right")),u=ki(Di(t,"top"),!0),s=ki(Di(t,"bottom")),a=Of(t,"x"),o=Of(t,"y");return{fullSize:n,leftAndTop:r.concat(u),rightAndBottom:i.concat(o).concat(s).concat(a),chartArea:Di(t,"chartArea"),vertical:r.concat(i).concat(o),horizontal:u.concat(s).concat(a)}}function Ff(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Qm(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function L2(e,t,n,r){const{pos:i,box:u}=n,s=e.maxPadding;if(!ne(i)){n.size&&(e[i]-=n.size);const p=r[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?u.height:u.width),n.size=p.size/p.count,e[i]+=n.size}u.getPadding&&Qm(s,u.getPadding());const a=Math.max(0,t.outerWidth-Ff(s,e,"left","right")),o=Math.max(0,t.outerHeight-Ff(s,e,"top","bottom")),l=a!==e.w,d=o!==e.h;return e.w=a,e.h=o,n.horizontal?{same:l,other:d}:{same:d,other:l}}function B2(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function I2(e,t){const n=t.maxPadding;function r(i){const u={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{u[s]=Math.max(t[s],n[s])}),u}return r(e?["left","right"]:["top","bottom"])}function Mi(e,t,n,r){const i=[];let u,s,a,o,l,d;for(u=0,s=e.length,l=0;u{typeof k.beforeLayout=="function"&&k.beforeLayout()});const d=o.reduce((k,O)=>O.box.options&&O.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:u,availableHeight:s,vBoxMaxWidth:u/2/d,hBoxMaxHeight:s/2}),g=Object.assign({},i);Qm(g,Ct(r));const v=Object.assign({maxPadding:g,w:u,h:s,x:i.left,y:i.top},i),b=T2(o.concat(l),p);Mi(a.fullSize,v,p,b),Mi(o,v,p,b),Mi(l,v,p,b)&&Mi(o,v,p,b),B2(v),Nf(a.leftAndTop,v,p,b),v.x+=v.w,v.y+=v.h,Nf(a.rightAndBottom,v,p,b),e.chartArea={left:v.left,top:v.top,right:v.left+v.w,bottom:v.top+v.h,height:v.h,width:v.w},ue(a.chartArea,k=>{const O=k.box;Object.assign(O,e.chartArea),O.update(v.w,v.h,{left:0,top:0,right:0,bottom:0})})}};class Jm{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class z2 extends Jm{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Os="$chartjs",j2={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Af=e=>e===null||e==="";function V2(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[Os]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Af(i)){const u=cf(e,"width");u!==void 0&&(e.width=u)}if(Af(r))if(e.style.height==="")e.height=e.width/(t||2);else{const u=cf(e,"height");u!==void 0&&(e.height=u)}return e}const Zm=vw?{passive:!0}:!1;function U2(e,t,n){e.addEventListener(t,n,Zm)}function W2(e,t,n){e.canvas.removeEventListener(t,n,Zm)}function H2(e,t){const n=j2[e.type]||e.type,{x:r,y:i}=Xn(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function fa(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function $2(e,t,n){const r=e.canvas,i=new MutationObserver(u=>{let s=!1;for(const a of u)s=s||fa(a.addedNodes,r),s=s&&!fa(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function K2(e,t,n){const r=e.canvas,i=new MutationObserver(u=>{let s=!1;for(const a of u)s=s||fa(a.removedNodes,r),s=s&&!fa(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const bu=new Map;let Rf=0;function eg(){const e=window.devicePixelRatio;e!==Rf&&(Rf=e,bu.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Y2(e,t){bu.size||window.addEventListener("resize",eg),bu.set(e,t)}function q2(e){bu.delete(e),bu.size||window.removeEventListener("resize",eg)}function X2(e,t,n){const r=e.canvas,i=r&&T0(r);if(!i)return;const u=Sm((a,o)=>{const l=i.clientWidth;n(a,o),l{const o=a[0],l=o.contentRect.width,d=o.contentRect.height;l===0&&d===0||u(l,d)});return s.observe(i),Y2(e,u),s}function nl(e,t,n){n&&n.disconnect(),t==="resize"&&q2(e)}function G2(e,t,n){const r=e.canvas,i=Sm(u=>{e.ctx!==null&&n(H2(u,e))},e,u=>{const s=u[0];return[s,s.offsetX,s.offsetY]});return U2(r,t,i),i}class Q2 extends Jm{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(V2(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[Os])return!1;const r=n[Os].initial;["height","width"].forEach(u=>{const s=r[u];ie(s)?n.removeAttribute(u):n.setAttribute(u,s)});const i=r.style||{};return Object.keys(i).forEach(u=>{n.style[u]=i[u]}),n.width=n.width,delete n[Os],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:$2,detach:K2,resize:X2}[n]||G2;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:nl,detach:nl,resize:nl}[n]||W2)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return yw(t,n,r,i)}isAttached(t){const n=T0(t);return!!(n&&n.isConnected)}}function J2(e){return!Wm()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?z2:Q2}class Z2{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const u=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(u,t,n,r);return n==="afterDestroy"&&(this._notify(u,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,r,i){i=i||{};for(const u of t){const s=u.plugin,a=s[r],o=[n,i,u.options];if(be(a,o,s)===!1&&i.cancelable)return!1}return!0}invalidate(){ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=ee(r.options&&r.options.plugins,{}),u=eD(r);return i===!1&&!n?[]:nD(t,u,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(u,s)=>u.filter(a=>!s.some(o=>a.plugin.id===o.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function eD(e){const t={},n=[],r=Object.keys($t.plugins.items);for(let u=0;u{const o=r[a];if(!ne(o))return console.error(`Invalid scale configuration for scale: ${a}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const l=gc(a,o),d=uD(l,i),p=n.scales||{};u[l]=u[l]||a,s[a]=Ki(Object.create(null),[{axis:l},o,p[l],p[d]])}),e.data.datasets.forEach(a=>{const o=a.type||e.type,l=a.indexAxis||mc(o,t),p=(fr[o]||{}).scales||{};Object.keys(p).forEach(g=>{const v=iD(g,l),b=a[v+"AxisID"]||u[v]||v;s[b]=s[b]||Object.create(null),Ki(s[b],[{axis:v},r[b],p[g]])})}),Object.keys(s).forEach(a=>{const o=s[a];Ki(o,[Z.scales[o.type],Z.scale])}),s}function tg(e){const t=e.options||(e.options={});t.plugins=ee(t.plugins,{}),t.scales=aD(e,t)}function ng(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function oD(e){return e=e||{},e.data=ng(e.data),tg(e),e}const Tf=new Map,rg=new Set;function fs(e,t){let n=Tf.get(e);return n||(n=t(),Tf.set(e,n),rg.add(n)),n}const Si=(e,t,n)=>{const r=In(t,n);r!==void 0&&e.add(r)};class lD{constructor(t){this._config=oD(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ng(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),tg(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return fs(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return fs(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return fs(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return fs(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:u}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const o=new Set;n.forEach(d=>{t&&(o.add(t),d.forEach(p=>Si(o,t,p))),d.forEach(p=>Si(o,i,p)),d.forEach(p=>Si(o,fr[u]||{},p)),d.forEach(p=>Si(o,Z,p)),d.forEach(p=>Si(o,fc,p))});const l=Array.from(o);return l.length===0&&l.push(Object.create(null)),rg.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,fr[n]||{},Z.datasets[n]||{},{type:n},Z,fc]}resolveNamedOptions(t,n,r,i=[""]){const u={$shared:!0},{resolver:s,subPrefixes:a}=Mf(this._resolverCache,t,i);let o=s;if(dD(s,n)){u.$shared=!1,r=zn(r)?r():r;const l=this.createResolver(t,r,a);o=Zr(s,r,l)}for(const l of n)u[l]=o[l];return u}createResolver(t,n,r=[""],i){const{resolver:u}=Mf(this._resolverCache,t,r);return ne(n)?Zr(u,n,void 0,i):u}}function Mf(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let u=r.get(i);return u||(u={resolver:N0(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,u)),u}const cD=e=>ne(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||zn(e[n]),!1);function dD(e,t){const{isScriptable:n,isIndexable:r}=Bm(e);for(const i of t){const u=n(i),s=r(i),a=(s||u)&&e[i];if(u&&(zn(a)||cD(a))||s&&pe(a))return!0}return!1}var fD="3.9.1";const hD=["top","bottom","left","right","chartArea"];function Lf(e,t){return e==="top"||e==="bottom"||hD.indexOf(e)===-1&&t==="x"}function Bf(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function If(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),be(n&&n.onComplete,[e],t)}function pD(e){const t=e.chart,n=t.options.animation;be(n&&n.onProgress,[e],t)}function ig(e){return Wm()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ha={},ug=e=>{const t=ig(e);return Object.values(ha).filter(n=>n.canvas===t).pop()};function mD(e,t,n){const r=Object.keys(e);for(const i of r){const u=+i;if(u>=t){const s=e[i];delete e[i],(n>0||u>t)&&(e[u+n]=s)}}}function gD(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}class Au{constructor(t,n){const r=this.config=new lD(n),i=ig(t),u=ug(i);if(u)throw new Error("Canvas is already in use. Chart with ID '"+u.id+"' must be destroyed before the canvas with ID '"+u.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||J2(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),o=a&&a.canvas,l=o&&o.height,d=o&&o.width;if(this.id=QE(),this.ctx=a,this.canvas=o,this.width=d,this.height=l,this._options=s,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 Z2,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=h_(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],ha[this.id]=this,!a||!o){console.error("Failed to create chart: can't acquire context from the given item");return}Gt.listen(this,"complete",If),Gt.listen(this,"progress",pD),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:u}=this;return ie(t)?n&&u?u:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():lf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return sf(this.canvas,this.ctx),this}stop(){return Gt.stop(this),this}resize(t,n){Gt.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,u=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,u),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,lf(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),be(r.onResize,[this,s],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ue(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let u=[];n&&(u=u.concat(Object.keys(n).map(s=>{const a=n[s],o=gc(s,a),l=o==="r",d=o==="x";return{options:a,dposition:l?"chartArea":d?"bottom":"left",dtype:l?"radialLinear":d?"category":"linear"}}))),ue(u,s=>{const a=s.options,o=a.id,l=gc(o,a),d=ee(a.type,s.dtype);(a.position===void 0||Lf(a.position,l)!==Lf(s.dposition))&&(a.position=s.dposition),i[o]=!0;let p=null;if(o in r&&r[o].type===d)p=r[o];else{const g=$t.getScale(d);p=new g({id:o,type:d,ctx:this.ctx,chart:this}),r[p.id]=p}p.init(a,t)}),ue(i,(s,a)=>{s||delete r[a]}),ue(r,s=>{ds.configure(this,s,s.options),ds.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,u)=>i.index-u.index),r>n){for(let i=n;in.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(u=>u===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const u=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,d=this.data.datasets.length;l{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Bf("z","_idx"));const{_active:a,_lastEvent:o}=this;o?this._eventHandler(o,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ue(this.scales,t=>{ds.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!Kd(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:u}of n){const s=r==="_removeElements"?-u:u;mD(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=u=>new Set(t.filter(s=>s[0]===u).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let u=1;uu.split(",")).map(u=>({method:u[1],start:+u[2],count:+u[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ds.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],ue(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,u)=>{i._idx=u}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,u=this.chartArea,s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Tm(n,{left:r.left===!1?0:u.left-r.left,right:r.right===!1?this.width:u.right+r.right,top:r.top===!1?0:u.top-r.top,bottom:r.bottom===!1?this.height:u.bottom+r.bottom}),t.controller.draw(),i&&Mm(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return vu(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const u=N2.modes[n];return typeof u=="function"?u(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(u=>u&&u._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Wn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",u=this.getDatasetMeta(t),s=u.controller._resolveAnimations(void 0,i);Pt(n)?(u.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(u,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Gt.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,u,s),t[u]=s},i=(u,s,a)=>{u.offsetX=s,u.offsetY=a,this._eventHandler(u)};ue(this.options.events,u=>r(u,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(o,l)=>{n.addEventListener(this,o,l),t[o]=l},i=(o,l)=>{t[o]&&(n.removeEventListener(this,o,l),delete t[o])},u=(o,l)=>{this.canvas&&this.resize(o,l)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",u),r("detach",s)};s=()=>{this.attached=!1,i("resize",u),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){ue(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},ue(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let u,s,a,o;for(n==="dataset"&&(u=this.getDatasetMeta(t[0].datasetIndex),u.controller["_"+i+"DatasetHoverStyle"]()),a=0,o=t.length;a{const a=this.getDatasetMeta(u);if(!a)throw new Error("No dataset found at index "+u);return{datasetIndex:u,element:a.data[s],index:s}});!ra(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}_updateHoverStyles(t,n,r){const i=this.options.hover,u=(o,l)=>o.filter(d=>!l.some(p=>d.datasetIndex===p.datasetIndex&&d.index===p.index)),s=u(n,t),a=r?t:u(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const u=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(u||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:u}=this,s=n,a=this._getActiveElements(t,i,r,s),o=r_(t),l=gD(t,this._lastEvent,r,o);r&&(this._lastEvent=null,be(u.onHover,[t,a,this],this),o&&be(u.onClick,[t,a,this],this));const d=!ra(a,i);return(d||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=l,d}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const u=this.options.hover;return this.getElementsAtEventForMode(t,u.mode,u,i)}}const zf=()=>ue(Au.instances,e=>e._plugins.invalidate()),gn=!0;Object.defineProperties(Au,{defaults:{enumerable:gn,value:Z},instances:{enumerable:gn,value:ha},overrides:{enumerable:gn,value:fr},registry:{enumerable:gn,value:$t},version:{enumerable:gn,value:fD},getChart:{enumerable:gn,value:ug},register:{enumerable:gn,value:(...e)=>{$t.add(...e),zf()}},unregister:{enumerable:gn,value:(...e)=>{$t.remove(...e),zf()}}});function sg(e,t,n){const{startAngle:r,pixelMargin:i,x:u,y:s,outerRadius:a,innerRadius:o}=t;let l=i/a;e.beginPath(),e.arc(u,s,a,r-l,n+l),o>i?(l=i/o,e.arc(u,s,o,n+l,r-l,!0)):e.arc(u,s,i,n+Ee,r-Ee),e.closePath(),e.clip()}function yD(e){return F0(e,["outerStart","outerEnd","innerStart","innerEnd"])}function vD(e,t,n,r){const i=yD(e.options.borderRadius),u=(n-t)/2,s=Math.min(u,r*t/2),a=o=>{const l=(n-Math.min(u,o))*r/2;return He(o,0,Math.min(u,l))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:He(i.innerStart,0,s),innerEnd:He(i.innerEnd,0,s)}}function wr(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function yc(e,t,n,r,i,u){const{x:s,y:a,startAngle:o,pixelMargin:l,innerRadius:d}=t,p=Math.max(t.outerRadius+r+n-l,0),g=d>0?d+r+n+l:0;let v=0;const b=i-o;if(r){const M=d>0?d-r:0,I=p>0?p-r:0,L=(M+I)/2,A=L!==0?b*L/(L+r):b;v=(b-A)/2}const k=Math.max(.001,b*p-n/_e)/p,O=(b-k)/2,x=o+O+v,_=i-O-v,{outerStart:w,outerEnd:T,innerStart:D,innerEnd:S}=vD(t,g,p,_-x),y=p-w,f=p-T,m=x+w/y,h=_-T/f,E=g+D,C=g+S,B=x+D/E,F=_-S/C;if(e.beginPath(),u){if(e.arc(s,a,p,m,h),T>0){const L=wr(f,h,s,a);e.arc(L.x,L.y,T,h,_+Ee)}const M=wr(C,_,s,a);if(e.lineTo(M.x,M.y),S>0){const L=wr(C,F,s,a);e.arc(L.x,L.y,S,_+Ee,F+Math.PI)}if(e.arc(s,a,g,_-S/g,x+D/g,!0),D>0){const L=wr(E,B,s,a);e.arc(L.x,L.y,D,B+Math.PI,x-Ee)}const I=wr(y,x,s,a);if(e.lineTo(I.x,I.y),w>0){const L=wr(y,m,s,a);e.arc(L.x,L.y,w,x-Ee,m)}}else{e.moveTo(s,a);const M=Math.cos(m)*p+s,I=Math.sin(m)*p+a;e.lineTo(M,I);const L=Math.cos(h)*p+s,A=Math.sin(h)*p+a;e.lineTo(L,A)}e.closePath()}function bD(e,t,n,r,i){const{fullCircles:u,startAngle:s,circumference:a}=t;let o=t.endAngle;if(u){yc(e,t,n,r,s+oe,i);for(let l=0;l=oe||yu(u,a,o),k=sa(s,l+g,d+g);return b&&k}getCenterPoint(t){const{x:n,y:r,startAngle:i,endAngle:u,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:o,spacing:l}=this.options,d=(i+u)/2,p=(s+a+l+o)/2;return{x:n+Math.cos(d)*p,y:r+Math.sin(d)*p}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:r}=this,i=(n.offset||0)/2,u=(n.spacing||0)/2,s=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=r>oe?Math.floor(r/oe):0,r===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(i){a=i/2;const l=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(l)*a,Math.sin(l)*a),this.circumference>=_e&&(a=i)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const o=bD(t,this,a,u,s);ED(t,this,a,u,o,s),t.restore()}}j0.id="arc";j0.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};j0.defaultRoutes={backgroundColor:"backgroundColor"};function ag(e,t,n=t){e.lineCap=ee(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ee(n.borderDash,t.borderDash)),e.lineDashOffset=ee(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ee(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ee(n.borderWidth,t.borderWidth),e.strokeStyle=ee(n.borderColor,t.borderColor)}function _D(e,t,n){e.lineTo(n.x,n.y)}function wD(e){return e.stepped?V_:e.tension||e.cubicInterpolationMode==="monotone"?U_:_D}function og(e,t,n={}){const r=e.length,{start:i=0,end:u=r-1}=n,{start:s,end:a}=t,o=Math.max(i,s),l=Math.min(u,a),d=ia&&u>a;return{count:r,start:o,loop:t.loop,ilen:l(s+(l?a-T:T))%u,w=()=>{k!==O&&(e.lineTo(d,O),e.lineTo(d,k),e.lineTo(d,x))};for(o&&(v=i[_(0)],e.moveTo(v.x,v.y)),g=0;g<=a;++g){if(v=i[_(g)],v.skip)continue;const T=v.x,D=v.y,S=T|0;S===b?(DO&&(O=D),d=(p*d+T)/++p):(w(),e.lineTo(T,D),b=S,p=0,k=O=D),x=D}w()}function vc(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?kD:DD}function SD(e){return e.stepped?bw:e.tension||e.cubicInterpolationMode==="monotone"?xw:Gn}function PD(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),ag(e,t.options),e.stroke(i)}function CD(e,t,n,r){const{segments:i,options:u}=t,s=vc(t);for(const a of i)ag(e,u,a.style),e.beginPath(),s(e,t,a,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const OD=typeof Path2D=="function";function FD(e,t,n,r){OD&&!t.options.segment?PD(e,t,n,r):CD(e,t,n,r)}class Ru extends pn{constructor(t){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,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;dw(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Nw(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],u=this.points,s=Cw(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],o=SD(r);let l,d;for(l=0,d=s.length;le!=="borderDash"&&e!=="fill"};function jf(e,t,n,r){const i=e.options,{[n]:u}=e.getProps([n],r);return Math.abs(t-u)-1?e.split(` -`):e}function LD(e,t){const{element:n,datasetIndex:r,index:i}=t,u=e.getDatasetMeta(r).controller,{label:s,value:a}=u.getLabelAndValue(i);return{chart:e,label:s,parsed:u.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:u.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Vf(e,t){const n=e.chart.ctx,{body:r,footer:i,title:u}=e,{boxWidth:s,boxHeight:a}=t,o=ct(t.bodyFont),l=ct(t.titleFont),d=ct(t.footerFont),p=u.length,g=i.length,v=r.length,b=Ct(t.padding);let k=b.height,O=0,x=r.reduce((T,D)=>T+D.before.length+D.lines.length+D.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*l.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const T=t.displayColors?Math.max(a,o.lineHeight):o.lineHeight;k+=v*T+(x-v)*o.lineHeight+(x-1)*t.bodySpacing}g&&(k+=t.footerMarginTop+g*d.lineHeight+(g-1)*t.footerSpacing);let _=0;const w=function(T){O=Math.max(O,n.measureText(T).width+_)};return n.save(),n.font=l.string,ue(e.title,w),n.font=o.string,ue(e.beforeBody.concat(e.afterBody),w),_=t.displayColors?s+2+t.boxPadding:0,ue(r,T=>{ue(T.before,w),ue(T.lines,w),ue(T.after,w)}),_=0,n.font=d.string,ue(e.footer,w),n.restore(),O+=b.width,{width:O,height:k}}function BD(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function ID(e,t,n,r){const{x:i,width:u}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+u+s>t.width||e==="right"&&i-u-s<0)return!0}function zD(e,t,n,r){const{x:i,width:u}=n,{width:s,chartArea:{left:a,right:o}}=e;let l="center";return r==="center"?l=i<=(a+o)/2?"left":"right":i<=u/2?l="left":i>=s-u/2&&(l="right"),ID(l,e,t,n)&&(l="center"),l}function Uf(e,t,n){const r=n.yAlign||t.yAlign||BD(e,n);return{xAlign:n.xAlign||t.xAlign||zD(e,t,n,r),yAlign:r}}function jD(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function VD(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function Wf(e,t,n,r){const{caretSize:i,caretPadding:u,cornerRadius:s}=e,{xAlign:a,yAlign:o}=n,l=i+u,{topLeft:d,topRight:p,bottomLeft:g,bottomRight:v}=Wr(s);let b=jD(t,a);const k=VD(t,o,l);return o==="center"?a==="left"?b+=l:a==="right"&&(b-=l):a==="left"?b-=Math.max(d,g)+i:a==="right"&&(b+=Math.max(p,v)+i),{x:He(b,0,r.width-t.width),y:He(k,0,r.height-t.height)}}function hs(e,t,n){const r=Ct(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Hf(e){return Ut([],Qt(e))}function UD(e,t,n){return Wn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function $f(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class bc extends pn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,u=new $m(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(u)),u}getContext(){return this.$context||(this.$context=UD(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=r.beforeTitle.apply(this,[t]),u=r.title.apply(this,[t]),s=r.afterTitle.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}getBeforeBody(t,n){return Hf(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:r}=n,i=[];return ue(t,u=>{const s={before:[],lines:[],after:[]},a=$f(r,u);Ut(s.before,Qt(a.beforeLabel.call(this,u))),Ut(s.lines,a.label.call(this,u)),Ut(s.after,Qt(a.afterLabel.call(this,u))),i.push(s)}),i}getAfterBody(t,n){return Hf(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:r}=n,i=r.beforeFooter.apply(this,[t]),u=r.footer.apply(this,[t]),s=r.afterFooter.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],u=[],s=[];let a=[],o,l;for(o=0,l=n.length;ot.filter(d,p,g,r))),t.itemSort&&(a=a.sort((d,p)=>t.itemSort(d,p,r))),ue(a,d=>{const p=$f(t.callbacks,d);i.push(p.labelColor.call(this,d)),u.push(p.labelPointStyle.call(this,d)),s.push(p.labelTextColor.call(this,d))}),this.labelColors=i,this.labelPointStyles=u,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let u,s=[];if(!i.length)this.opacity!==0&&(u={opacity:0});else{const a=Gi[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const o=this._size=Vf(this,r),l=Object.assign({},a,o),d=Uf(this.chart,r,l),p=Wf(r,l,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,u={opacity:1,x:p.x,y:p.y,width:o.width,height:o.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,u&&this._resolveAnimations().update(this,u),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const u=this.getCaretPosition(t,r,i);n.lineTo(u.x1,u.y1),n.lineTo(u.x2,u.y2),n.lineTo(u.x3,u.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:u}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:o,topRight:l,bottomLeft:d,bottomRight:p}=Wr(a),{x:g,y:v}=t,{width:b,height:k}=n;let O,x,_,w,T,D;return u==="center"?(T=v+k/2,i==="left"?(O=g,x=O-s,w=T+s,D=T-s):(O=g+b,x=O+s,w=T-s,D=T+s),_=O):(i==="left"?x=g+Math.max(o,d)+s:i==="right"?x=g+b-Math.max(l,p)-s:x=this.caretX,u==="top"?(w=v,T=w-s,O=x-s,_=x+s):(w=v+k,T=w+s,O=x+s,_=x-s),D=w),{x1:O,x2:x,x3:_,y1:w,y2:T,y3:D}}drawTitle(t,n,r){const i=this.title,u=i.length;let s,a,o;if(u){const l=Go(r.rtl,this.x,this.width);for(t.x=hs(this,r.titleAlign,r),n.textAlign=l.textAlign(r.titleAlign),n.textBaseline="middle",s=ct(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,o=0;ow!==0)?(t.beginPath(),t.fillStyle=u.multiKeyBackground,ca(t,{x:O,y:k,w:l,h:o,radius:_}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),ca(t,{x,y:k+1,w:l-2,h:o-2,radius:_}),t.fill()):(t.fillStyle=u.multiKeyBackground,t.fillRect(O,k,l,o),t.strokeRect(O,k,l,o),t.fillStyle=s.backgroundColor,t.fillRect(x,k+1,l-2,o-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:u,bodyAlign:s,displayColors:a,boxHeight:o,boxWidth:l,boxPadding:d}=r,p=ct(r.bodyFont);let g=p.lineHeight,v=0;const b=Go(r.rtl,this.x,this.width),k=function(f){n.fillText(f,b.x(t.x+v),t.y+g/2),t.y+=g+u},O=b.textAlign(s);let x,_,w,T,D,S,y;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,t.x=hs(this,O,r),n.fillStyle=r.bodyColor,ue(this.beforeBody,k),v=a&&O!=="right"?s==="center"?l/2+d:l+2+d:0,T=0,S=i.length;T0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,u=r&&r.y;if(i||u){const s=Gi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Vf(this,t),o=Object.assign({},s,this._size),l=Uf(n,t,o),d=Wf(t,o,l,n);(i._to!==d.x||u._to!==d.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},u={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=Ct(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(u,t,i,n),Dw(t,n.textDirection),u.y+=s.top,this.drawTitle(u,t,n),this.drawBody(u,t,n),this.drawFooter(u,t,n),kw(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:o})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[o],index:o}}),u=!ra(r,i),s=this._positionChanged(i,n);(u||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,u=this._active||[],s=this._getActiveElements(t,u,n,r),a=this._positionChanged(s,t),o=n||!ra(s,u)||a;return o&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),o}_getActiveElements(t,n,r,i){const u=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,u.mode,u,r);return u.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:u}=this,s=Gi[u.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}bc.positioners=Gi;var WD={id:"tooltip",_element:bc,positioners:Gi,afterInit(e,t,n){n&&(e.tooltip=new bc({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Xt,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const HD=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function $D(e,t,n,r){const i=e.indexOf(t);if(i===-1)return HD(e,t,n,r);const u=e.lastIndexOf(t);return i!==u?n:i}const KD=(e,t)=>e===null?null:He(Math.round(e),0,t);class pa extends mr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:u}of n)r[i]===u&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ie(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:$D(r,t,ee(n,t),this._addedLabels),KD(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let u=this.getLabels();u=t===0&&n===u.length-1?u:u.slice(t,n+1),this._valueRange=Math.max(u.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}pa.id="category";pa.defaults={ticks:{callback:pa.prototype.getLabelForValue}};function YD(e,t){const n=[],{bounds:i,step:u,min:s,max:a,precision:o,count:l,maxTicks:d,maxDigits:p,includeBounds:g}=e,v=u||1,b=d-1,{min:k,max:O}=t,x=!ie(s),_=!ie(a),w=!ie(l),T=(O-k)/(p+1);let D=qd((O-k)/b/v)*v,S,y,f,m;if(D<1e-14&&!x&&!_)return[{value:k},{value:O}];m=Math.ceil(O/D)-Math.floor(k/D),m>b&&(D=qd(m*D/b/v)*v),ie(o)||(S=Math.pow(10,o),D=Math.ceil(D*S)/S),i==="ticks"?(y=Math.floor(k/D)*D,f=Math.ceil(O/D)*D):(y=k,f=O),x&&_&&u&&a_((a-s)/u,D/1e3)?(m=Math.round(Math.min((a-s)/D,d)),D=(a-s)/m,y=s,f=a):w?(y=x?s:y,f=_?a:f,m=l-1,D=(f-y)/m):(m=(f-y)/D,Yi(m,Math.round(m),D/1e3)?m=Math.round(m):m=Math.ceil(m));const h=Math.max(Xd(D),Xd(y));S=Math.pow(10,ie(o)?h:o),y=Math.round(y*S)/S,f=Math.round(f*S)/S;let E=0;for(x&&(g&&y!==s?(n.push({value:s}),yi=n?i:o,a=o=>u=r?u:o;if(t){const o=qt(i),l=qt(u);o<0&&l<0?a(0):o>0&&l>0&&s(0)}if(i===u){let o=1;(u>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(o=Math.abs(u*.05)),a(u+o),t||s(i-o)}this.min=i,this.max=u}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},u=this._range||this,s=YD(i,u);return t.bounds==="ticks"&&Em(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Ou(t,this.chart.options.locale,this.options.ticks.format)}}class U0 extends ma{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?t:0,this.max=Be(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Tt(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,u=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,u.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}U0.id="linear";U0.defaults={ticks:{callback:$a.formatters.numeric}};function Yf(e){return e/Math.pow(10,Math.floor(Et(e)))===1}function qD(e,t){const n=Math.floor(Et(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[];let u=vt(e.min,Math.pow(10,Math.floor(Et(t.min)))),s=Math.floor(Et(u)),a=Math.floor(u/Math.pow(10,s)),o=s<0?Math.pow(10,Math.abs(s)):1;do i.push({value:u,major:Yf(u)}),++a,a===10&&(a=1,++s,o=s>=0?1:o),u=Math.round(a*Math.pow(10,s)*o)/o;while(s0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?Math.max(0,t):null,this.max=Be(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const u=o=>r=t?r:o,s=o=>i=n?i:o,a=(o,l)=>Math.pow(10,Math.floor(Et(o))+l);r===i&&(r<=0?(u(1),s(10)):(u(a(r,-1)),s(a(i,1)))),r<=0&&u(a(i,-1)),i<=0&&s(a(r,1)),this._zero&&this.min!==this._suggestedMin&&r===a(this.min,0)&&u(a(r,-1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=qD(n,this);return t.bounds==="ticks"&&Em(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Ou(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Et(t),this._valueRange=Et(this.max)-Et(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Et(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}cg.id="logarithmic";cg.defaults={ticks:{callback:$a.formatters.logarithmic,major:{enabled:!0}}};function xc(e){const t=e.ticks;if(t.display&&e.display){const n=Ct(t.backdropPadding);return ee(t.font&&t.font.size,Z.font.size)+n.height}return 0}function XD(e,t,n){return n=pe(n)?n:[n],{w:z_(e,t.string,n),h:n.length*t.lineHeight}}function qf(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function GD(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],u=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?_e/u:0;for(let o=0;ot.r&&(a=(r.end-t.r)/u,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(o=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+o))}function JD(e,t,n){const r=[],i=e._pointLabels.length,u=e.options,s=xc(u)/2,a=e.drawingArea,o=u.pointLabels.centerPointLabels?_e/i:0;for(let l=0;l270||n<90)&&(e-=t),e}function nk(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const u=r.setContext(e.getPointLabelContext(i)),s=ct(u.font),{x:a,y:o,textAlign:l,left:d,top:p,right:g,bottom:v}=e._pointLabelItems[i],{backdropColor:b}=u;if(!ie(b)){const k=Wr(u.borderRadius),O=Ct(u.backdropPadding);n.fillStyle=b;const x=d-O.left,_=p-O.top,w=g-d+O.width,T=v-p+O.height;Object.values(k).some(D=>D!==0)?(n.beginPath(),ca(n,{x,y:_,w,h:T,radius:k}),n.fill()):n.fillRect(x,_,w,T)}la(n,e._pointLabels[i],a,o+s.lineHeight/2,s,{color:u.color,textAlign:l,textBaseline:"middle"})}}function dg(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,oe);else{let u=e.getPointPosition(0,t);i.moveTo(u.x,u.y);for(let s=1;s{const i=be(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?GD(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=oe/(this._pointLabels.length||1),r=this.options.startAngle||0;return At(t*n+Tt(r))}getDistanceFromCenterForValue(t){if(ie(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ie(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){a=this.getDistanceFromCenterForValue(l.value);const p=i.setContext(this.getContext(d-1));rk(this,p,a,u)}}),r.display){for(t.save(),s=u-1;s>=0;s--){const l=r.setContext(this.getPointLabelContext(s)),{color:d,lineWidth:p}=l;!p||!d||(t.lineWidth=p,t.strokeStyle=d,t.setLineDash(l.borderDash),t.lineDashOffset=l.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),o=this.getPointPosition(s,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(o.x,o.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let u,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,o)=>{if(o===0&&!n.reverse)return;const l=r.setContext(this.getContext(o)),d=ct(l.font);if(u=this.getDistanceFromCenterForValue(this.ticks[o].value),l.showLabelBackdrop){t.font=d.string,s=t.measureText(a.label).width,t.fillStyle=l.backdropColor;const p=Ct(l.backdropPadding);t.fillRect(-s/2-p.left,-u-d.size/2-p.top,s+p.width,d.size+p.height)}la(t,a.label,0,-u,d,{color:l.color})}),t.restore()}drawTitle(){}}Ya.id="radialLinear";Ya.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:$a.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};Ya.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Ya.descriptors={angleLines:{_fallback:"grid"}};const qa={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}},tt=Object.keys(qa);function uk(e,t){return e-t}function Xf(e,t){if(ie(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:u}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),Be(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Jr(u)||u===!0)?n.startOf(s,"isoWeek",u):n.startOf(s,i)),+s)}function Gf(e,t,n,r){const i=tt.length;for(let u=tt.indexOf(e);u=tt.indexOf(n);u--){const s=tt[u];if(qa[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return tt[n?tt.indexOf(n):0]}function ak(e){for(let t=tt.indexOf(e)+1,n=tt.length;t=t?n[r]:n[i];e[u]=!0}}function ok(e,t,n,r){const i=e._adapter,u=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,o;for(a=u;a<=s;a=+i.add(a,1,r))o=n[a],o>=0&&(t[o].major=!0);return t}function Jf(e,t,n){const r=[],i={},u=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t){let n=0,r=0,i,u;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,u=this.getDecimalForValue(t[t.length-1]),t.length===1?r=u:r=(u-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=He(n,0,s),r=He(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,u=i.time,s=u.unit||Gf(u.minUnit,n,r,this._getLabelCapacity(n)),a=ee(u.stepSize,1),o=s==="week"?u.isoWeekday:!1,l=Jr(o)||o===!0,d={};let p=n,g,v;if(l&&(p=+t.startOf(p,"isoWeek",o)),p=+t.startOf(p,l?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const b=i.ticks.source==="data"&&this.getDataTimestamps();for(g=p,v=0;gk-O).map(k=>+k)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}_tickFormatFunction(t,n,r,i){const u=this.options,s=u.time.displayFormats,a=this._unit,o=this._majorUnit,l=a&&s[a],d=o&&s[o],p=r[n],g=o&&d&&p&&p.major,v=this._adapter.format(t,i||(g?d:l)),b=u.ticks.callback;return b?be(b,[v,n,r],this):v}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=tr(e,"pos",t)),{pos:u,time:a}=e[r],{pos:s,time:o}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=tr(e,"time",t)),{time:u,pos:a}=e[r],{time:s,pos:o}=e[i]);const l=s-u;return l?a+(o-a)*(t-u)/l:a}class fg extends Xa{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=ps(n,this.min),this._tableRange=ps(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],u=[];let s,a,o,l,d;for(s=0,a=t.length;s=n&&l<=r&&i.push(l);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s2&&arguments[2]!==void 0?arguments[2]:hg;const r=[];e.datasets=t.map(i=>{const u=e.datasets.find(s=>s[n]===i[n]);return!u||!i.data||r.includes(u)?{...i}:(r.push(u),Object.assign(u,i),u)})}function ck(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg;const n={labels:[],datasets:[]};return pg(n,e.labels),mg(n,e.datasets,t),n}function dk(e,t){let{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:u,type:s,data:a,options:o,plugins:l=[],fallbackContent:d,updateMode:p,...g}=e;const v=j.exports.useRef(null),b=j.exports.useRef(),k=()=>{!v.current||(b.current=new Au(v.current,{type:s,data:ck(a,u),options:o&&{...o},plugins:l}),Zf(t,b.current))},O=()=>{Zf(t,null),b.current&&(b.current.destroy(),b.current=null)};return j.exports.useEffect(()=>{!i&&b.current&&o&&lk(b.current,o)},[i,o]),j.exports.useEffect(()=>{!i&&b.current&&pg(b.current.config.data,a.labels)},[i,a.labels]),j.exports.useEffect(()=>{!i&&b.current&&a.datasets&&mg(b.current.config.data,a.datasets,u)},[i,a.datasets]),j.exports.useEffect(()=>{!b.current||(i?(O(),setTimeout(k)):b.current.update(p))},[i,o,a.labels,a.datasets,p]),j.exports.useEffect(()=>{!b.current||(O(),setTimeout(k))},[s]),j.exports.useEffect(()=>(k(),()=>O()),[]),c("canvas",{...Object.assign({ref:v,role:"img",height:n,width:r},g),children:d})}const fk=j.exports.forwardRef(dk);function hk(e,t){return Au.register(t),j.exports.forwardRef((n,r)=>c(fk,{...Object.assign({},n,{ref:r,type:e})}))}const pk=hk("line",Ha),W0=e=>e.split("-").reverse().join("."),mk=e=>e.split(" ")[0].split("-").reverse().join(".");Au.register(Ru,Ka,U0,WD,pa);const gk=({activeRow:e,tabIndex:t})=>{const[n,r]=j.exports.useState();j.exports.useEffect(()=>{t&&new Re(`http://tmex.gov.tm:8765/api/categories/${t}/tradings`,n,r).get()},[t]);let i;const u={labels:n?n.data[e].all_prices.map(a=>mk(a.date)):[""],datasets:[{data:n?n.data[e].all_prices.map((a,o)=>o<=9?a.price:""):[""],borderColor:"#4b8dff",pointBorderWidth:2,pointBackgroundColor:"#4b8dff",tension:.1,animation:{onComplete:()=>{i=!0},delay:a=>{let o=0;return a.type==="data"&&a.mode==="default"&&!i&&(o=a.dataIndex*100+a.datasetIndex*100),o}}}]};return c("div",{className:"line-chart",children:c(pk,{data:u,options:{maintainAspectRatio:!1,radius:5,hitRadius:30,hoverRadius:7,scales:{x:{grid:{display:!1}},y:{ticks:{callback:a=>a},grid:{borderDash:[10]}}}}})})},yk=({lang:e})=>{const[t,n]=j.exports.useState(),[r,i]=j.exports.useState(0),[u,s]=j.exports.useState(0),[a,o]=j.exports.useState();j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/categories",t,n).get({"X-Localization":e})},[e]),j.exports.useEffect(()=>{t&&o(t.data[0].id)},[t]),j.exports.useEffect(()=>{i(0)},[u]);const l=(d,p)=>{o(d),s(p)};return c("section",{className:"chart",children:c("div",{className:"container",children:P("div",{className:"chart-wrapper",children:[c("div",{className:"chart-tabs",children:t?t.data.map((d,p)=>c("div",{className:`${a===d.id?"active":""} tab`,onClick:()=>{l(d.id,p)},children:c("span",{children:d.title})},Ua())):null}),P("div",{className:"chart-data",children:[c(GE,{activeRow:r,setActiveRow:i,tabIndex:a,lang:e}),c("div",{className:"line-chart-wrapper",children:c(gk,{activeRow:r,tabIndex:a})})]})]})})})},vk=({lang:e,setPostId:t})=>{const[n,r]=j.exports.useState();return j.exports.useState(),j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),P("main",{className:"home-main",children:[c(nb,{lang:e}),c("section",{className:"about",children:c("div",{className:"container",children:P("div",{className:"about-wrapper",children:[e==="ru"?P("div",{className:"about-left",children:[c(ce,{title:"\u041E \u0413\u0422\u0421\u0411\u0422"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",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("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043A\u043E\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"})]})]})]}):null,e==="tm"?P("div",{className:"about-left",children:[c(ce,{title:"TDH\xC7MB BARADA"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easy (TDH\xC7MB) T\xFCrkmenistany\u0148 Prezidentini\u0148 1994-nji \xFDyly\u0148 29-njy i\xFDulyndaky Karary bilen d\xF6redildi we \xFDurdu\u0148 i\u0148 m\xF6h\xFCm ykdysady instituty bolup dur\xFDar. Bir\u017Ea eksport we import amallaryny amala a\u015Fyrmakda d\xF6wleti d\xFCzg\xFCnle\u015Fdir\xFD\xE4n esasy edarany\u0148 wezipesini \xFDerine \xFDetir\xFD\xE4r. Sazla\u015Fykly d\xF6redilen mehanizm halkara ykdysady ulgamyna \xFCst\xFCnlikli birle\u015Fm\xE4ge m\xFCmkin\xE7ilik ber\xFD\xE4r. TDH\xC7MB-ny\u0148 i\u015Fini\u0148 gerimi \xF6r\xE4n gi\u0148dir \u2013 d\xFCrli haryt we maddy ba\xFDlyklary (intellektual e\xFDe\xE7iligi hasaba almazdan), sungat eserlerini we gozgalma\xFDan eml\xE4kleri kabul edip sat\xFDan k\xF6ptarapla\xFDyn bir\u017Easydyr."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Kotirowkalara ge\xE7"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Nyrhlar we \xFDygymlar"})]})]})]}):null,e==="en"?P("div",{className:"about-left",children:[c(ce,{title:"About the SCRMET"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"The State Commodity and Raw Materials Exchange of Turkmenistan (SCRMET) was established by the Decree of the President of Turkmenistan on July 29, 1994 and is the most important economic institution of the country. The Exchange functions as the main body of state regulation of export-import operations. Its smoothly functioning mechanism enables it to successfully integrate into the international economic system."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View Quotations"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View tariffs and fees"})]})]})]}):null,c("div",{className:"about-right",children:c(Q3,{videoUrl:"https://www.exchange.gov.tm/page/normative-base?lang=ru"})})]})})}),c(yk,{lang:e}),c("section",{className:"news",children:c("div",{className:"container",children:P("div",{className:"news-wrapper",children:[c(ce,{title:` +`):e}function LD(e,t){const{element:n,datasetIndex:r,index:i}=t,u=e.getDatasetMeta(r).controller,{label:s,value:a}=u.getLabelAndValue(i);return{chart:e,label:s,parsed:u.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:u.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Vf(e,t){const n=e.chart.ctx,{body:r,footer:i,title:u}=e,{boxWidth:s,boxHeight:a}=t,o=ct(t.bodyFont),l=ct(t.titleFont),d=ct(t.footerFont),p=u.length,g=i.length,v=r.length,b=Ct(t.padding);let k=b.height,O=0,x=r.reduce((T,D)=>T+D.before.length+D.lines.length+D.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*l.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const T=t.displayColors?Math.max(a,o.lineHeight):o.lineHeight;k+=v*T+(x-v)*o.lineHeight+(x-1)*t.bodySpacing}g&&(k+=t.footerMarginTop+g*d.lineHeight+(g-1)*t.footerSpacing);let _=0;const w=function(T){O=Math.max(O,n.measureText(T).width+_)};return n.save(),n.font=l.string,ue(e.title,w),n.font=o.string,ue(e.beforeBody.concat(e.afterBody),w),_=t.displayColors?s+2+t.boxPadding:0,ue(r,T=>{ue(T.before,w),ue(T.lines,w),ue(T.after,w)}),_=0,n.font=d.string,ue(e.footer,w),n.restore(),O+=b.width,{width:O,height:k}}function BD(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function ID(e,t,n,r){const{x:i,width:u}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+u+s>t.width||e==="right"&&i-u-s<0)return!0}function zD(e,t,n,r){const{x:i,width:u}=n,{width:s,chartArea:{left:a,right:o}}=e;let l="center";return r==="center"?l=i<=(a+o)/2?"left":"right":i<=u/2?l="left":i>=s-u/2&&(l="right"),ID(l,e,t,n)&&(l="center"),l}function Uf(e,t,n){const r=n.yAlign||t.yAlign||BD(e,n);return{xAlign:n.xAlign||t.xAlign||zD(e,t,n,r),yAlign:r}}function jD(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function VD(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function Wf(e,t,n,r){const{caretSize:i,caretPadding:u,cornerRadius:s}=e,{xAlign:a,yAlign:o}=n,l=i+u,{topLeft:d,topRight:p,bottomLeft:g,bottomRight:v}=Wr(s);let b=jD(t,a);const k=VD(t,o,l);return o==="center"?a==="left"?b+=l:a==="right"&&(b-=l):a==="left"?b-=Math.max(d,g)+i:a==="right"&&(b+=Math.max(p,v)+i),{x:He(b,0,r.width-t.width),y:He(k,0,r.height-t.height)}}function hs(e,t,n){const r=Ct(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Hf(e){return Ut([],Qt(e))}function UD(e,t,n){return Wn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function $f(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class bc extends pn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,u=new $m(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(u)),u}getContext(){return this.$context||(this.$context=UD(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=r.beforeTitle.apply(this,[t]),u=r.title.apply(this,[t]),s=r.afterTitle.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}getBeforeBody(t,n){return Hf(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:r}=n,i=[];return ue(t,u=>{const s={before:[],lines:[],after:[]},a=$f(r,u);Ut(s.before,Qt(a.beforeLabel.call(this,u))),Ut(s.lines,a.label.call(this,u)),Ut(s.after,Qt(a.afterLabel.call(this,u))),i.push(s)}),i}getAfterBody(t,n){return Hf(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:r}=n,i=r.beforeFooter.apply(this,[t]),u=r.footer.apply(this,[t]),s=r.afterFooter.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],u=[],s=[];let a=[],o,l;for(o=0,l=n.length;ot.filter(d,p,g,r))),t.itemSort&&(a=a.sort((d,p)=>t.itemSort(d,p,r))),ue(a,d=>{const p=$f(t.callbacks,d);i.push(p.labelColor.call(this,d)),u.push(p.labelPointStyle.call(this,d)),s.push(p.labelTextColor.call(this,d))}),this.labelColors=i,this.labelPointStyles=u,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let u,s=[];if(!i.length)this.opacity!==0&&(u={opacity:0});else{const a=Gi[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const o=this._size=Vf(this,r),l=Object.assign({},a,o),d=Uf(this.chart,r,l),p=Wf(r,l,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,u={opacity:1,x:p.x,y:p.y,width:o.width,height:o.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,u&&this._resolveAnimations().update(this,u),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const u=this.getCaretPosition(t,r,i);n.lineTo(u.x1,u.y1),n.lineTo(u.x2,u.y2),n.lineTo(u.x3,u.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:u}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:o,topRight:l,bottomLeft:d,bottomRight:p}=Wr(a),{x:g,y:v}=t,{width:b,height:k}=n;let O,x,_,w,T,D;return u==="center"?(T=v+k/2,i==="left"?(O=g,x=O-s,w=T+s,D=T-s):(O=g+b,x=O+s,w=T-s,D=T+s),_=O):(i==="left"?x=g+Math.max(o,d)+s:i==="right"?x=g+b-Math.max(l,p)-s:x=this.caretX,u==="top"?(w=v,T=w-s,O=x-s,_=x+s):(w=v+k,T=w+s,O=x+s,_=x-s),D=w),{x1:O,x2:x,x3:_,y1:w,y2:T,y3:D}}drawTitle(t,n,r){const i=this.title,u=i.length;let s,a,o;if(u){const l=Go(r.rtl,this.x,this.width);for(t.x=hs(this,r.titleAlign,r),n.textAlign=l.textAlign(r.titleAlign),n.textBaseline="middle",s=ct(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,o=0;ow!==0)?(t.beginPath(),t.fillStyle=u.multiKeyBackground,ca(t,{x:O,y:k,w:l,h:o,radius:_}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),ca(t,{x,y:k+1,w:l-2,h:o-2,radius:_}),t.fill()):(t.fillStyle=u.multiKeyBackground,t.fillRect(O,k,l,o),t.strokeRect(O,k,l,o),t.fillStyle=s.backgroundColor,t.fillRect(x,k+1,l-2,o-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:u,bodyAlign:s,displayColors:a,boxHeight:o,boxWidth:l,boxPadding:d}=r,p=ct(r.bodyFont);let g=p.lineHeight,v=0;const b=Go(r.rtl,this.x,this.width),k=function(f){n.fillText(f,b.x(t.x+v),t.y+g/2),t.y+=g+u},O=b.textAlign(s);let x,_,w,T,D,S,y;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,t.x=hs(this,O,r),n.fillStyle=r.bodyColor,ue(this.beforeBody,k),v=a&&O!=="right"?s==="center"?l/2+d:l+2+d:0,T=0,S=i.length;T0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,u=r&&r.y;if(i||u){const s=Gi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Vf(this,t),o=Object.assign({},s,this._size),l=Uf(n,t,o),d=Wf(t,o,l,n);(i._to!==d.x||u._to!==d.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},u={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=Ct(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(u,t,i,n),Dw(t,n.textDirection),u.y+=s.top,this.drawTitle(u,t,n),this.drawBody(u,t,n),this.drawFooter(u,t,n),kw(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:o})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[o],index:o}}),u=!ra(r,i),s=this._positionChanged(i,n);(u||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,u=this._active||[],s=this._getActiveElements(t,u,n,r),a=this._positionChanged(s,t),o=n||!ra(s,u)||a;return o&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),o}_getActiveElements(t,n,r,i){const u=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,u.mode,u,r);return u.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:u}=this,s=Gi[u.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}bc.positioners=Gi;var WD={id:"tooltip",_element:bc,positioners:Gi,afterInit(e,t,n){n&&(e.tooltip=new bc({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Xt,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const HD=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function $D(e,t,n,r){const i=e.indexOf(t);if(i===-1)return HD(e,t,n,r);const u=e.lastIndexOf(t);return i!==u?n:i}const KD=(e,t)=>e===null?null:He(Math.round(e),0,t);class pa extends mr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:u}of n)r[i]===u&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ie(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:$D(r,t,ee(n,t),this._addedLabels),KD(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let u=this.getLabels();u=t===0&&n===u.length-1?u:u.slice(t,n+1),this._valueRange=Math.max(u.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}pa.id="category";pa.defaults={ticks:{callback:pa.prototype.getLabelForValue}};function YD(e,t){const n=[],{bounds:i,step:u,min:s,max:a,precision:o,count:l,maxTicks:d,maxDigits:p,includeBounds:g}=e,v=u||1,b=d-1,{min:k,max:O}=t,x=!ie(s),_=!ie(a),w=!ie(l),T=(O-k)/(p+1);let D=qd((O-k)/b/v)*v,S,y,f,m;if(D<1e-14&&!x&&!_)return[{value:k},{value:O}];m=Math.ceil(O/D)-Math.floor(k/D),m>b&&(D=qd(m*D/b/v)*v),ie(o)||(S=Math.pow(10,o),D=Math.ceil(D*S)/S),i==="ticks"?(y=Math.floor(k/D)*D,f=Math.ceil(O/D)*D):(y=k,f=O),x&&_&&u&&a_((a-s)/u,D/1e3)?(m=Math.round(Math.min((a-s)/D,d)),D=(a-s)/m,y=s,f=a):w?(y=x?s:y,f=_?a:f,m=l-1,D=(f-y)/m):(m=(f-y)/D,Yi(m,Math.round(m),D/1e3)?m=Math.round(m):m=Math.ceil(m));const h=Math.max(Xd(D),Xd(y));S=Math.pow(10,ie(o)?h:o),y=Math.round(y*S)/S,f=Math.round(f*S)/S;let E=0;for(x&&(g&&y!==s?(n.push({value:s}),yi=n?i:o,a=o=>u=r?u:o;if(t){const o=qt(i),l=qt(u);o<0&&l<0?a(0):o>0&&l>0&&s(0)}if(i===u){let o=1;(u>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(o=Math.abs(u*.05)),a(u+o),t||s(i-o)}this.min=i,this.max=u}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},u=this._range||this,s=YD(i,u);return t.bounds==="ticks"&&Em(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Ou(t,this.chart.options.locale,this.options.ticks.format)}}class U0 extends ma{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?t:0,this.max=Be(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Tt(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,u=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,u.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}U0.id="linear";U0.defaults={ticks:{callback:$a.formatters.numeric}};function Yf(e){return e/Math.pow(10,Math.floor(Et(e)))===1}function qD(e,t){const n=Math.floor(Et(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[];let u=vt(e.min,Math.pow(10,Math.floor(Et(t.min)))),s=Math.floor(Et(u)),a=Math.floor(u/Math.pow(10,s)),o=s<0?Math.pow(10,Math.abs(s)):1;do i.push({value:u,major:Yf(u)}),++a,a===10&&(a=1,++s,o=s>=0?1:o),u=Math.round(a*Math.pow(10,s)*o)/o;while(s0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?Math.max(0,t):null,this.max=Be(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const u=o=>r=t?r:o,s=o=>i=n?i:o,a=(o,l)=>Math.pow(10,Math.floor(Et(o))+l);r===i&&(r<=0?(u(1),s(10)):(u(a(r,-1)),s(a(i,1)))),r<=0&&u(a(i,-1)),i<=0&&s(a(r,1)),this._zero&&this.min!==this._suggestedMin&&r===a(this.min,0)&&u(a(r,-1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=qD(n,this);return t.bounds==="ticks"&&Em(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Ou(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Et(t),this._valueRange=Et(this.max)-Et(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Et(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}cg.id="logarithmic";cg.defaults={ticks:{callback:$a.formatters.logarithmic,major:{enabled:!0}}};function xc(e){const t=e.ticks;if(t.display&&e.display){const n=Ct(t.backdropPadding);return ee(t.font&&t.font.size,Z.font.size)+n.height}return 0}function XD(e,t,n){return n=pe(n)?n:[n],{w:z_(e,t.string,n),h:n.length*t.lineHeight}}function qf(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function GD(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],u=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?_e/u:0;for(let o=0;ot.r&&(a=(r.end-t.r)/u,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(o=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+o))}function JD(e,t,n){const r=[],i=e._pointLabels.length,u=e.options,s=xc(u)/2,a=e.drawingArea,o=u.pointLabels.centerPointLabels?_e/i:0;for(let l=0;l270||n<90)&&(e-=t),e}function nk(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const u=r.setContext(e.getPointLabelContext(i)),s=ct(u.font),{x:a,y:o,textAlign:l,left:d,top:p,right:g,bottom:v}=e._pointLabelItems[i],{backdropColor:b}=u;if(!ie(b)){const k=Wr(u.borderRadius),O=Ct(u.backdropPadding);n.fillStyle=b;const x=d-O.left,_=p-O.top,w=g-d+O.width,T=v-p+O.height;Object.values(k).some(D=>D!==0)?(n.beginPath(),ca(n,{x,y:_,w,h:T,radius:k}),n.fill()):n.fillRect(x,_,w,T)}la(n,e._pointLabels[i],a,o+s.lineHeight/2,s,{color:u.color,textAlign:l,textBaseline:"middle"})}}function dg(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,oe);else{let u=e.getPointPosition(0,t);i.moveTo(u.x,u.y);for(let s=1;s{const i=be(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?GD(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=oe/(this._pointLabels.length||1),r=this.options.startAngle||0;return At(t*n+Tt(r))}getDistanceFromCenterForValue(t){if(ie(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ie(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){a=this.getDistanceFromCenterForValue(l.value);const p=i.setContext(this.getContext(d-1));rk(this,p,a,u)}}),r.display){for(t.save(),s=u-1;s>=0;s--){const l=r.setContext(this.getPointLabelContext(s)),{color:d,lineWidth:p}=l;!p||!d||(t.lineWidth=p,t.strokeStyle=d,t.setLineDash(l.borderDash),t.lineDashOffset=l.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),o=this.getPointPosition(s,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(o.x,o.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let u,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,o)=>{if(o===0&&!n.reverse)return;const l=r.setContext(this.getContext(o)),d=ct(l.font);if(u=this.getDistanceFromCenterForValue(this.ticks[o].value),l.showLabelBackdrop){t.font=d.string,s=t.measureText(a.label).width,t.fillStyle=l.backdropColor;const p=Ct(l.backdropPadding);t.fillRect(-s/2-p.left,-u-d.size/2-p.top,s+p.width,d.size+p.height)}la(t,a.label,0,-u,d,{color:l.color})}),t.restore()}drawTitle(){}}Ya.id="radialLinear";Ya.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:$a.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};Ya.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Ya.descriptors={angleLines:{_fallback:"grid"}};const qa={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}},tt=Object.keys(qa);function uk(e,t){return e-t}function Xf(e,t){if(ie(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:u}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),Be(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Jr(u)||u===!0)?n.startOf(s,"isoWeek",u):n.startOf(s,i)),+s)}function Gf(e,t,n,r){const i=tt.length;for(let u=tt.indexOf(e);u=tt.indexOf(n);u--){const s=tt[u];if(qa[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return tt[n?tt.indexOf(n):0]}function ak(e){for(let t=tt.indexOf(e)+1,n=tt.length;t=t?n[r]:n[i];e[u]=!0}}function ok(e,t,n,r){const i=e._adapter,u=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,o;for(a=u;a<=s;a=+i.add(a,1,r))o=n[a],o>=0&&(t[o].major=!0);return t}function Jf(e,t,n){const r=[],i={},u=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t){let n=0,r=0,i,u;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,u=this.getDecimalForValue(t[t.length-1]),t.length===1?r=u:r=(u-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=He(n,0,s),r=He(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,u=i.time,s=u.unit||Gf(u.minUnit,n,r,this._getLabelCapacity(n)),a=ee(u.stepSize,1),o=s==="week"?u.isoWeekday:!1,l=Jr(o)||o===!0,d={};let p=n,g,v;if(l&&(p=+t.startOf(p,"isoWeek",o)),p=+t.startOf(p,l?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const b=i.ticks.source==="data"&&this.getDataTimestamps();for(g=p,v=0;gk-O).map(k=>+k)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}_tickFormatFunction(t,n,r,i){const u=this.options,s=u.time.displayFormats,a=this._unit,o=this._majorUnit,l=a&&s[a],d=o&&s[o],p=r[n],g=o&&d&&p&&p.major,v=this._adapter.format(t,i||(g?d:l)),b=u.ticks.callback;return b?be(b,[v,n,r],this):v}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=tr(e,"pos",t)),{pos:u,time:a}=e[r],{pos:s,time:o}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=tr(e,"time",t)),{time:u,pos:a}=e[r],{time:s,pos:o}=e[i]);const l=s-u;return l?a+(o-a)*(t-u)/l:a}class fg extends Xa{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=ps(n,this.min),this._tableRange=ps(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],u=[];let s,a,o,l,d;for(s=0,a=t.length;s=n&&l<=r&&i.push(l);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s2&&arguments[2]!==void 0?arguments[2]:hg;const r=[];e.datasets=t.map(i=>{const u=e.datasets.find(s=>s[n]===i[n]);return!u||!i.data||r.includes(u)?{...i}:(r.push(u),Object.assign(u,i),u)})}function ck(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg;const n={labels:[],datasets:[]};return pg(n,e.labels),mg(n,e.datasets,t),n}function dk(e,t){let{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:u,type:s,data:a,options:o,plugins:l=[],fallbackContent:d,updateMode:p,...g}=e;const v=j.exports.useRef(null),b=j.exports.useRef(),k=()=>{!v.current||(b.current=new Au(v.current,{type:s,data:ck(a,u),options:o&&{...o},plugins:l}),Zf(t,b.current))},O=()=>{Zf(t,null),b.current&&(b.current.destroy(),b.current=null)};return j.exports.useEffect(()=>{!i&&b.current&&o&&lk(b.current,o)},[i,o]),j.exports.useEffect(()=>{!i&&b.current&&pg(b.current.config.data,a.labels)},[i,a.labels]),j.exports.useEffect(()=>{!i&&b.current&&a.datasets&&mg(b.current.config.data,a.datasets,u)},[i,a.datasets]),j.exports.useEffect(()=>{!b.current||(i?(O(),setTimeout(k)):b.current.update(p))},[i,o,a.labels,a.datasets,p]),j.exports.useEffect(()=>{!b.current||(O(),setTimeout(k))},[s]),j.exports.useEffect(()=>(k(),()=>O()),[]),c("canvas",{...Object.assign({ref:v,role:"img",height:n,width:r},g),children:d})}const fk=j.exports.forwardRef(dk);function hk(e,t){return Au.register(t),j.exports.forwardRef((n,r)=>c(fk,{...Object.assign({},n,{ref:r,type:e})}))}const pk=hk("line",Ha),W0=e=>e.split("-").reverse().join("."),mk=e=>e.split(" ")[0].split("-").reverse().join(".");Au.register(Ru,Ka,U0,WD,pa);const gk=({activeRow:e,tabIndex:t})=>{const[n,r]=j.exports.useState();j.exports.useEffect(()=>{t&&new Re(`http://tmex.gov.tm:8765/api/categories/${t}/tradings`,n,r).get()},[t]);let i;const u={labels:n?n.data[e].all_prices.map(a=>mk(a.date)).reverse():[""],datasets:[{data:n?n.data[e].all_prices.map((a,o)=>o<=9?a.price:""):[""],borderColor:"#4b8dff",pointBorderWidth:2,pointBackgroundColor:"#4b8dff",tension:.1,animation:{onComplete:()=>{i=!0},delay:a=>{let o=0;return a.type==="data"&&a.mode==="default"&&!i&&(o=a.dataIndex*100+a.datasetIndex*100),o}}}]};return c("div",{className:"line-chart",children:c(pk,{data:u,options:{maintainAspectRatio:!1,radius:5,hitRadius:30,hoverRadius:7,scales:{x:{grid:{display:!1}},y:{ticks:{callback:a=>a},grid:{borderDash:[10]}}}}})})},yk=({lang:e})=>{const[t,n]=j.exports.useState(),[r,i]=j.exports.useState(0),[u,s]=j.exports.useState(0),[a,o]=j.exports.useState();j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/categories",t,n).get({"X-Localization":e})},[e]),j.exports.useEffect(()=>{t&&o(t.data[0].id)},[t]),j.exports.useEffect(()=>{i(0)},[u]);const l=(d,p)=>{o(d),s(p)};return c("section",{className:"chart",children:c("div",{className:"container",children:P("div",{className:"chart-wrapper",children:[c("div",{className:"chart-tabs",children:t?t.data.map((d,p)=>c("div",{className:`${a===d.id?"active":""} tab`,onClick:()=>{l(d.id,p)},children:c("span",{children:d.title})},Ua())):null}),P("div",{className:"chart-data",children:[c(GE,{activeRow:r,setActiveRow:i,tabIndex:a,lang:e}),c("div",{className:"line-chart-wrapper",children:c(gk,{activeRow:r,tabIndex:a})})]})]})})})},vk=({lang:e,setPostId:t})=>{const[n,r]=j.exports.useState();return j.exports.useState(),j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),P("main",{className:"home-main",children:[c(nb,{lang:e}),c("section",{className:"about",children:c("div",{className:"container",children:P("div",{className:"about-wrapper",children:[e==="ru"?P("div",{className:"about-left",children:[c(ce,{title:"\u041E \u0413\u0422\u0421\u0411\u0422"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",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("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043A\u043E\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"})]})]})]}):null,e==="tm"?P("div",{className:"about-left",children:[c(ce,{title:"TDH\xC7MB BARADA"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easy (TDH\xC7MB) T\xFCrkmenistany\u0148 Prezidentini\u0148 1994-nji \xFDyly\u0148 29-njy i\xFDulyndaky Karary bilen d\xF6redildi we \xFDurdu\u0148 i\u0148 m\xF6h\xFCm ykdysady instituty bolup dur\xFDar. Bir\u017Ea eksport we import amallaryny amala a\u015Fyrmakda d\xF6wleti d\xFCzg\xFCnle\u015Fdir\xFD\xE4n esasy edarany\u0148 wezipesini \xFDerine \xFDetir\xFD\xE4r. Sazla\u015Fykly d\xF6redilen mehanizm halkara ykdysady ulgamyna \xFCst\xFCnlikli birle\u015Fm\xE4ge m\xFCmkin\xE7ilik ber\xFD\xE4r. TDH\xC7MB-ny\u0148 i\u015Fini\u0148 gerimi \xF6r\xE4n gi\u0148dir \u2013 d\xFCrli haryt we maddy ba\xFDlyklary (intellektual e\xFDe\xE7iligi hasaba almazdan), sungat eserlerini we gozgalma\xFDan eml\xE4kleri kabul edip sat\xFDan k\xF6ptarapla\xFDyn bir\u017Easydyr."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Kotirowkalara ge\xE7"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Nyrhlar we \xFDygymlar"})]})]})]}):null,e==="en"?P("div",{className:"about-left",children:[c(ce,{title:"About the SCRMET"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"The State Commodity and Raw Materials Exchange of Turkmenistan (SCRMET) was established by the Decree of the President of Turkmenistan on July 29, 1994 and is the most important economic institution of the country. The Exchange functions as the main body of state regulation of export-import operations. Its smoothly functioning mechanism enables it to successfully integrate into the international economic system."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View Quotations"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View tariffs and fees"})]})]})]}):null,c("div",{className:"about-right",children:c(Q3,{videoUrl:"https://www.exchange.gov.tm/page/normative-base?lang=ru"})})]})})}),c(yk,{lang:e}),c("section",{className:"news",children:c("div",{className:"container",children:P("div",{className:"news-wrapper",children:[c(ce,{title:` ${e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null}`}),c("div",{className:"news-post-wrapper",children:n?n.data.map((i,u)=>u<=2?c(w3,{title:i.title,shortDes:i.short_description,date:W0(i.date),image:i.image,id:i.id,setPostId:t,lang:e},i.id):null):""})]})})})]})},bk=({lang:e})=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),c("main",{children:P("div",{className:"container",children:[e==="ru"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"\u041E \u0431\u0438\u0440\u0436\u0435"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0413\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u0430\u044F \u0431\u0438\u0440\u0436\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0431\u044B\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u0423\u043A\u0430\u0437\u043E\u043C \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0442 29 \u0438\u044E\u043B\u044F 1994 \u0433\u043E\u0434\u0430 \u0438 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432\u0430\u0436\u043D\u0435\u0439\u0448\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C \u0438\u043D\u0441\u0442\u0438\u0442\u0443\u0442\u043E\u043C \u0441\u0442\u0440\u0430\u043D\u044B. \u0411\u0438\u0440\u0436\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0433\u043B\u0430\u0432\u043D\u043E\u0433\u043E \u043E\u0440\u0433\u0430\u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E-\u0438\u043C\u043F\u043E\u0440\u0442\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439. \u041E\u0442\u043B\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0445\u0430\u043D\u0438\u0437\u043C \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0435\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u0436\u0434\u0443\u043D\u0430\u0440\u043E\u0434\u043D\u0443\u044E \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443."}),c("p",{children:"\u0421\u043F\u0435\u043A\u0442\u0440 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0413\u0422\u0421\u0411\u0422 \u0447\u0440\u0435\u0437\u0432\u044B\u0447\u0430\u0439\u043D\u043E \u0448\u0438\u0440\u043E\u043A \u2013 \u043E\u043D\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0439 \u0431\u0438\u0440\u0436\u0435\u0439, \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044F \u0438 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u044F \u0447\u0435\u0440\u0435\u0437 \u0442\u043E\u0440\u0433\u0438 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0438 (\u0437\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0439 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438), \u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0430 \u0438 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0438 \u0446\u0435\u043B\u0438 \u0431\u0438\u0440\u0436\u0438"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("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."}),c("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."}),c("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."})]}),P("div",{className:"sub-page-title-text",children:[c("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"}),c("div",{className:"sub-page-text-wrapper",children:c("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."})})]}),P("div",{className:"sub-page-list-wrapper",children:[c("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:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("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."}),c("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."})]})]})]}):null,e==="tm"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"Bir\u017Ea barada"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easy (TDH\xC7MB) T\xFCrkmenistany\u0148 Prezidentini\u0148 1994-nji \xFDyly\u0148 29-njy i\xFDulyndaky Karary bilen d\xF6redildi we \xFDurdu\u0148 i\u0148 m\xF6h\xFCm ykdysady instituty bolup dur\xFDar. Bir\u017Ea eksport we import amallaryny amala a\u015Fyrmakda d\xF6wleti d\xFCzg\xFCnle\u015Fdir\xFD\xE4n esasy edarany\u0148 wezipesini \xFDerine \xFDetir\xFD\xE4r. Sazla\u015Fykly d\xF6redilen mehanizm halkara ykdysady ulgamyna \xFCst\xFCnlikli birle\u015Fm\xE4ge m\xFCmkin\xE7ilik ber\xFD\xE4r."}),c("p",{children:"TDH\xC7MB-ny\u0148 i\u015Fini\u0148 gerimi \xF6r\xE4n gi\u0148dir \u2013 d\xFCrli haryt we maddy ba\xFDlyklary (intellektual e\xFDe\xE7iligi hasaba almazdan), sungat eserlerini we gozgalma\xFDan eml\xE4kleri kabul edip sat\xFDan k\xF6ptarapla\xFDyn bir\u017Easydyr."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Bir\u017Eany\u0148 wezipeleri we maksatlary:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eany\u0148 m\xFC\u015Fderileri \u2013 T\xFCrkmenistanly teleke\xE7iler we da\u015Fary \xFDurtly i\u015Few\xFCrler \xFC\xE7in de\u0148 \u015Fertleri d\xF6retmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"S\xF6wda dolany\u015Fygyny \xFDokarlandyrmak we \xE7altla\u015Fdyrmak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\xDDurdu\u0148 milli ykdysady toplumyny d\xF6wrebapla\u015Fdyrmak \xFC\xE7in i\xE7erki bazary zerur sarp edi\u015F harytlary, \xF6n\xFCm\xE7ilik, tehniki \xF6n\xFCmler we enjamlar bilen doldurmak."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Bir\u017Eany\u0148 \xF6kde h\xFCn\xE4rmenleri \xF6n\xFCmleri\u0148 importyny\u0148 we eksportyny\u0148 maksadala\xFDyklygyna baha ber\xFD\xE4rler, d\xFCrli faktorlary\u0148 harytlary\u0148 we \xF6n\xFCmleri\u0148 importyna we eksportyna ed\xFD\xE4n t\xE4sirini seljer\xFD\xE4rler."}),c("p",{children:"Bir\u017Ea s\xF6wdasynda \xFDerli \xF6nd\xFCrilen \xF6n\xFCmler d\xFCn\xFD\xE4ni\u0148 40-dan gowrak \xFDurduna eksport edil\xFD\xE4r we aly\u015F-\xE7aly\u015F s\xF6wdala\u015Fyklarynda satyl\xFDar. Olary\u0148 arasynda T\xFCrki\xFDe, Hyta\xFD, Russi\xFDa, BAE, Germani\xFDa, AB\u015E, Be\xFDik Britani\xFDa, Ukraina, \u015Ewe\xFDsari\xFDa \xFDaly \xFDurtlar bar. Esasy eksport \xF6n\xFCmleri bolup nebit, pagta s\xFC\xFD\xFCmi, dokma we himi\xFDa senagatyny\u0148 \xF6n\xFCmleri we \u015F.m. hyzmat ed\xFD\xE4r."})]})]})]}):null,e==="en"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"About the Exchange"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"The State Commodity and Raw Materials Exchange of Turkmenistan (SCRMET) was established by the Decree of the President of Turkmenistan on July 29, 1994 and is the most important economic institution of the country. The Exchange functions as the main body of state regulation of export-import operations. Its smoothly functioning mechanism enables it to successfully integrate into the international economic system."}),c("p",{children:"The range of the SCRMET activities is extremely wide \u2013 it is a universal exchange, accepting and selling various commodities and materials (except intellectual property objects), works of art and real estate through auctions."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Objectives and aims of the exchange:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"to create an equal playing field for its participants \u2013 foreign businessmen and entrepreneurs of Turkmenistan;"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"to increase and accelerate trade turnover;"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"to saturate domestic market with necessary consumer goods, production of industrial-technical purpose and equipment for modernization of national economy complex."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Qualified specialists of the exchange evaluate expediency of import and export of products, analyze influence of various factors on import and export of goods and products."}),c("p",{children:"Domestic products, which are exported to more than 40 countries, are traded at commodity exchanges. Among them are Turkey, China, Russia, UAE, Germany, USA, UK, Ukraine and Switzerland. The main export items are petroleum products, cotton fibre, textile and chemical products, etc."})]})]})]}):null]})})),xk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("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."}),c("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."})]}),P("div",{className:"sub-page-title-text",children:[c("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"}),P("div",{className:"sub-page-text-wrapper",children:[c("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."}),c("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."})]})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"Mali\xFDe g\xF6zeg\xE7iligi"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Jena\xFDat\xE7ylykdan alnan girdejileri\u0148 kanunla\u015Fdyrylmagyna we terror\xE7ylygy mali\xFDele\u015Fdirm\xE4ge gar\u015Fy \xE7\xE4releri guramak \xFC\xE7in bir\u017Ea esasy maksatlary we wezipeleri, i\xE7erki g\xF6zeg\xE7ilik talaplaryny kesgitle\xFD\xE4n d\xFCzg\xFCnlerini d\xF6retdi. \u015Ee\xFDle hem, bir\u017Ea bu d\xFCzg\xFCnleri\u0148 berja\xFD edilmegi \xFC\xE7in jogapk\xE4r adamy belle\xFD\xE4r."}),c("p",{children:"M\xFC\u015Fderiden alnan maglumatlara esaslanyp, komissi\xFDany\u0148 i\u015Fg\xE4ri m\xFC\u015Fderini\u0148 i\u015Flerini\u0148 we amallaryny\u0148 g\xF6rn\xFC\u015Flerini g\xF6z \xF6\u0148\xFCnde tutup, ony \xFCns bilen barla\xFDar, degi\u015Fli t\xF6wekgel\xE7ilik derejesini bahalandyr\xFDar we belle\xFD\xE4r, \u015Fe\xFDle hem ABU-yna giriz\xFD\xE4r."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"Mali\xFDe g\xF6zeg\xE7iligi b\xF6l\xFCminde hasaba aly\u015F "}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Hukuk guramasyny\u0148 \xFDa-da teleke\xE7ini\u0148 kanunla\u015Fdyrylmagy \xFC\xE7in resminamalary onla\xFDn g\xF6rn\xFC\u015Finde hasaba alyp bolar. Ulanyjyny\u0148 \u015Fahsy otagy maglumatlary girizm\xE4ge we resminamalary \xFD\xFCklem\xE4ge, anketalary we nusgalary g\xF6\xE7\xFCrip almaga, aly\u015F-\xE7aly\u015F dolandyryjylary bilen habarla\u015Fmaga, zerur bolsa resminamalar bukjasyny doldurmaga m\xFCmkin\xE7ilik ber\xFD\xE4r. Umuman, bir\u017Ea bilen baglany\u015Fykly \xE4hli i\u015Fler interneti\u0148 k\xF6megi bilen doly awtomatla\u015Fdyryl\xFDar."}),c("p",{children:"Hyzmaty ulanmak \xFC\xE7in \u015Eahsy otagy\u0148yzda hasaba alynmagy\u0148yz h\xF6kmanydyr."})]})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Financial monitoring"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"In order to organize counteraction to the legalization of proceeds from criminal activity and the financing of terrorism, the exchange has established Rules that define the main goals and objectives, internal control requirements. The exchange also appoints a person responsible for compliance with these rules."}),c("p",{children:"An employee of the commission, based on the information received from the client, carefully checks it taking into account the types of activities and operations of the client, evaluates and assigns the appropriate level of risk, and also enters it into the AES."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"Registration in the financial monitoring department"}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"You can submit documents for the legalization of a legal entity or entrepreneur online. The user's personal account allows you to enter data and upload documents, download forms and application samples, communicate with exchange administrators, supplement the package of documents if necessary. In fact, all work with the exchange becomes automated using the Internet."}),c("p",{children:"To use the service, register in your Personal Account."})]})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})},Ek=({lang:e,id:t,title:n})=>{const[r,i]=j.exports.useState();return j.exports.useEffect(()=>{new Re(`http://tmex.gov.tm:8765/api/documents?category=${t}`,r,i).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),P("div",{className:"documents-wrapper",children:[c("h2",{className:"sub-page-file-title",children:n}),c("div",{className:"documents-links-wrapper",children:r?r.data.map(u=>u.page==="\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"&&u.title!="-"?c(La,{title:u.title,link:u.file},Ua()):null):""})]})},_k=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/document/categories",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("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."})}),P("div",{className:"sub-page-list-wrapper",children:[c("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:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("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."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("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"}),c("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."})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"KADALA\u015EDYRYLAN TOPLUM"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"Arbitra\u017E ge\u0148e\u015Fi \xF6z i\u015Finde T\xFCrkmenistany\u0148 Konstitusi\xFDasy, T\xFCrkmenistany\u0148 Prezidentini\u0148 Permanlary, Kararlary, Bir\u017Eany\u0148 d\xFCzg\xFCnleri, aly\u015F-\xE7aly\u015F s\xF6wdasyny\u0148 kadalary we be\xFDleki kadala\u015Fdyryjy hukuk namalaryna esaslan\xFDar."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Arbitra\u017E ge\u0148e\u015Fini\u0148 ygty\xFDarlygy \u015Fulary \xF6z i\xE7ine al\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdala\u015Fyklarynda baglany\u015Fylan ylala\u015Fyklary\u0148 t\xE4sirini\u0148 \xFDatyrylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eada hasaba alnan we talap edilmedik \u015Fertnamalary\u0148 \xFDatyrylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea amallary we aly\u015F-\xE7aly\u015F s\xF6wdasy baradaky jedellere garamak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Jedeller baglany\u015Fylanda, \xFC\xFDtgedilende we \xFDatyrylanda \u015Fertnamalara garamak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Ge\u0148e\u015Fi\u0148 kabul edilen karary \xFC\xFDtgetm\xE4ge, \xFDatyrmaga we dikeltm\xE4ge hukugy bar."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fyjylar tarapyndan \xFDol berlen d\xFCzg\xFCn bozulmalaryna garamak."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Konsullygy kanunla\u015Fdyrmagy\u0148 tertibi bo\xFDun\xE7a g\xF6rkezmeler"}),c("p",{children:"Konsullygy\u0148 kanunla\u015Fdyrylmagy resminamalara we hereketlere gollary\u0148 dogrudygyny kesgitlemekden, \u015Fe\xFDle hem kanunla\u015Fdyrmak \xFDazgysyny \xFDazmak \xFDa-da d\xF6wlet we i\u0148lis dillerinde kanunla\u015Fdyry\u015F m\xF6h\xFCrini go\xFDmak arkaly konsuly\u0148 kabul ed\xFD\xE4n d\xF6wletini\u0148 kanunlaryna la\xFDyk gelmegini kesgitlemekden ybaratdyr."})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Regulatory framework"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"The Arbitration Commission in its activities is guided by the Constitution, laws, acts of the President, the regulations of the Exchange, the rules of exchange trading and other regulatory legal acts."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"The competence of the Arbitration Commission includes:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Cancellation of transactions concluded at exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Cancellation of contracts registered and unclaimed on the Exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of disputes on exchange transactions and issues of exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of disputes under contracts, when they are concluded, amended and terminated."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"The Commission has the right to change, cancel and restore the adopted decision."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of violations committed by participants of exchange trading."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Instructions on the procedure of consular legalization"}),c("p",{children:"Consular legalization consists in establishing and certifying the authenticity of signatures on legal documents and acts, as well as their compliance with the laws of the consul's state of residence by making a legalization inscription or affixing a legalization stamp in the state and English languages."})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),t?t.data.map(r=>r.title!="-"?c(Ek,{id:r.id,lang:e,title:r.title},Ua()):null):null]})]})})})},wk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("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."})}),P("div",{className:"sub-page-list-wrapper",children:[c("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:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("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."}),c("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."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("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"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("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:"}),P("ul",{className:"sub-page-list-item-list",children:[c("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"}),c("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;"}),c("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)"}),c("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;"}),c("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;"}),c("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);"}),c("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;"}),c("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.'})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("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:"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u043D\u0435\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),P("ul",{className:"sub-page-list-item-list",children:[c("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."}),c("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."})]}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),c("ul",{className:"sub-page-list-item-list",children:c("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."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[P("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:"," "]}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("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."})]})]})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"Bir\u017Ea s\xF6wda d\xFCzg\xFCnleri"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"T\xFCrkmenistany\u0148 \u201CHaryt-\xE7ig mal bir\u017Ealary baradaky\u201D Kanunyna la\xFDyklykda, e\xFDe\xE7iligi\u0148 \xE4hli g\xF6rn\xFC\u015Find\xE4ki k\xE4rhanalar we guramalar, T\xFCrkmenistany\u0148 we be\xFDleki d\xF6wletleri\u0148 ra\xFDatlary dellal\xE7ylyk \xFDerini satyn almak \xFDa-da aly\u015F-\xE7aly\u015F dellallary bilen hyzmat \u015Fertnamasyny bagla\u015Fmak arkaly aly\u015F-\xE7aly\u015F s\xF6wdasyna gatna\u015Fyp bilerler."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Bir\u017Ea s\xF6wdasy a\u015Fakdaky \xFD\xF6relgeler esasynda gurnal\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyny\u0148 el\xFDeterliligi we mahabaty."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea auksionlarynda bahalary\u0148 emele gelmegini\u0148 azatlygy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea amallaryny\u0148 me\xFDletin bagla\u015Fylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fyjylar \xFC\xE7in aly\u015F-\xE7aly\u015F s\xF6wdasyna gatna\u015Fmak \u015Fertlerini\u0148 de\u0148ligi."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fmak \xFC\xE7in birinjilik bilen dellal \xFDerini satyn almaly. Satyjy \xFDa-da alyjy h\xF6km\xFCnde T\xFCrkmenistany\u0148 we da\u015Fary \xFDurtlary\u0148 e\xFDe\xE7iligind\xE4ki \xE4hli \u015Fahslar we \xFDuridiki \u015Fahslar hereket edip bilerler."}),c("p",{children:"Haryt satyn almak we satmak \xFC\xE7in amallary amala a\u015Fyrmak \xFC\xE7in dellal\xE7ylyk \xFDerini satyn almadyk adamlar bir\u017Eany\u0148 dellallary bilen dellal\xE7ylyk hyzmatlary barada \u015Fertnama bagla\u015Fyp bilerler."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Dellal\xE7ylyk \xFDerini hasaba almagy\u0148 tertibi"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Mali\xFDe g\xF6zeg\xE7iligi b\xF6l\xFCminde hasaba aly\u015F prosedurasyny tamamlamaly."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"Resminamalar bukjasyny bermeli:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"TDH\xC7MB-ny\u0148 wekiline dellal\xE7ylyk \xFDerini hasaba almak we satyn almak barada \xFD\xFCz tutma haty"}),c("li",{className:"sub-page-list-item-list-item",children:"Kompani\xFDany\u0148 ba\u015Flygyny\u0148 m\xF6h\xFCri we goly bilen wekil (dellal) \xFC\xE7in ynan\xE7 haty"}),c("li",{className:"sub-page-list-item-list-item",children:"Umumy ynan\xE7 hatyny\u0148 g\xF6\xE7\xFCrmesi (kanunla\u015Fdyrylan)"}),c("li",{className:"sub-page-list-item-list-item",children:"Wekili\u0148 (dellaly\u0148) we kompani\xFDany\u0148 \xFDolba\u015F\xE7ysyny\u0148 pasportyny\u0148 g\xF6\xE7\xFCrmesi"}),c("li",{className:"sub-page-list-item-list-item",children:"Kompani\xFDany\u0148 ba\u015Flygyny\u0148 m\xF6h\xFCri we goly bilen tassyklanan bank maglumatlaryny\u0148 doldurylan g\xF6rn\xFC\u015Fi"})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"TDH\xC7MB-ny\u0148 \xF6zara hasapla\u015Fyk b\xF6l\xFCminden hasap-faktura almaly we t\xF6legini ge\xE7irmeli:"}),c("h3",{className:"sub-page-list-item-text",children:"D\xF6wleti\u0148 \xFDa\u015Fa\xFDjysy bolmadyk \u015Fahslar \xFC\xE7in:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"\xDDe\u0148il senagat \xFC\xE7in bir \xFDyllyk dellal\xE7ylyk \xFDerini\u0148 bahasy 5000 AB\u015E dollary. Go\xFDum - 6000 AB\u015E dollary."}),c("li",{className:"sub-page-list-item-list-item",children:"\u0421Nebit pudagynda 1 \xFDyllyk dellal \xFDerini\u0148 bahasy 10,000 AB\u015E dollary. Go\xFDum - 50,000 AB\u015E dollary."})]}),c("h3",{className:"sub-page-list-item-text",children:"D\xF6wleti\u0148 \xFDa\u015Fa\xFDjysy bolan \u015Fahslar \xFC\xE7in:"}),c("ul",{className:"sub-page-list-item-list",children:c("li",{className:"sub-page-list-item-list-item",children:"1 \xFDyllyk dellal\xE7ylyk \xFDerini\u0148 bahasy 10,000 manat."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Dellaly\u0148 i\u015Fini bes etmegi\u0148 esaslary:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDerini \xFDapmak \xFC\xE7in \xFD\xFCztutma."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDeri \xFC\xE7in \xFDyllyk t\xF6legini wagtynda t\xF6lemezlik."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDeri \xFC\xE7in \xFDyllyk t\xF6legi t\xF6lemekden \xFD\xFCz \xF6w\xFCrmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eany\u0148 Arbitra\u017E Kommissi\xFDasyny\u0148 karary esasynda"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\xDDuridik \u015Fahsy\u0148 i\u015Fini\u0148 bes edilmegi \xFDa-da \xFDatyrylmagy."})]})]})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Exchange trading Rules"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:'In accordance with the Law of Turkmenistan "On Commodity Exchanges", enterprises and organizations of all forms of ownership, citizens of Turkmenistan and other states can participate in exchange trading by purchasing a brokerage place or concluding a service contract with exchange brokers.'})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Exchange trading is organized on the basis of the following principles:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Transparency and publicity of exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Freedom of price formation at stock trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Voluntary conclusion of exchange transactions."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Equality of conditions of participation in exchange trading for participants of exchange trading."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"To participate in stock trading, you need to purchase a brokerage place. Individuals and legal entities of Turkmenistan and foreign states of all forms of ownership can act as a seller or buyer."}),c("p",{children:"Persons who have not acquired a brokerage place in order to carry out transactions for the purchase and sale of goods can conclude a contract for the provision of brokerage services with brokers of the Exchange."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"To register a brokerage place, you must:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Go through the registration procedure in the Financial Monitoring Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"Provide a package of documents:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"letter of appeal addressed to the representative of the SCRMET about registration and purchase of a brokerage place;"}),c("li",{className:"sub-page-list-item-list-item",children:"power of attorney for a representative (broker) with the original seal and signature of the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the general power of attorney (legalized);"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the passport of the representative (broker) and the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a completed form of bank details, certified with the original seal and signature of the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the constituent documents (charter, register);"}),c("li",{className:"sub-page-list-item-list-item",children:"one 3x4 broker photo;"}),c("li",{className:"sub-page-list-item-list-item",children:'a completed "Commitment" form, stamped and signed by the head of the company.'})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:'Get invoices from the SCRMET "Mutual Settlements" department and pay:'}),c("h3",{className:"sub-page-list-item-text",children:"For non-residents:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for light industry for a period of 1 year is $ 5,000. The deposit is $6,000."}),c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for the oil industry for a period of 1 year is $ 10,000. The deposit is 50,000 US dollars."})]}),c("h3",{className:"sub-page-list-item-text",children:"For residents:"}),c("ul",{className:"sub-page-list-item-list",children:c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for a period of 1 year is 10,000 manats."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Grounds for termination of the broker's activity:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Application for the closure of the brokerage place."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Failure to pay the annual fee for the brokerage place within the established time limits."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Failure to pay the annual fee for the brokerage place within the established time limits."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"The decision of the Arbitration Commission of the Exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Termination or liquidation of the activity of a legal entity."})]})]})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})},Dk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("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:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("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."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("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."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("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:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("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."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("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."})]})]})]})})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"\u015Eertnamalary hasaba almak"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easynda \u015Fertnamalary hasaba aly\u015F a\u015Fakdaky tertibe la\xFDyklykda amala a\u015Fyryl\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"9:00-dan 17:00-a \xE7enli resminamalary kabul etmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Der\u0148ew we bahalary anyklamak b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Hukuk we i\u015Fg\xE4rleri dolandyrmak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Hasaba aly\u015F b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\xD6zara hasapla\u015Fyk b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Gol \xE7ekmek \xFC\xE7in dolandyryjylara ge\xE7irmek."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u015Ee\xFDle hem, bir\u017Ea gatna\u015Fyjylary \u015Eahsy otagy ulanyp, internet sahypalarynda \u015Fertnamalary hasaba almak prosesini yzarlap bilerler. Munu\u0148 \xFC\xE7in di\u0148e ulgamda hasaba alynyp, degi\u015Fli b\xF6l\xFCme ge\xE7meli we indiki g\xF6rkezmelere e\xFDermeli. Internet sahypasynda i\u015Flemek, aly\u015F-\xE7aly\u015F binasyndaky terminallarynda i\u015Flemek bilen de\u0148dir."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Harytlary aly\u015F-\xE7aly\u015F auksionlaryna \xFDerle\u015Fdirmek \xFC\xE7in zerur resminamalary\u0148 sanawy:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary aly\u015F-\xE7aly\u015F auksionlaryna go\xFDmak \xFC\xE7in rugsat soramak bilen \xFD\xFCz tutma haty."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary satmak \xFC\xE7in bellenen g\xF6rn\xFC\u015Fde doldurylan hat."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"TDH\xC7MB-i\u0148 talaplaryna la\xFDyklykda d\xFCz\xFClen harytlary\u0148 spesifikasi\xFDasy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Teleke\xE7ilik i\u015Fi bilen me\u015Fgullanmak hukugyny tassykla\xFDan resminamalar."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary\u0148 gelip \xE7yky\u015Fyny tassykla\xFDan resminamalar."})]})]})]})})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Registration of contracts"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Registration of contracts at the The State Commodity and Raw Materials Exchange of Turkmenistan is carried out according to the following scheme:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Acceptance of documents from 9.00 to 17.00."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Department of Analysis and Securities market."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Management of Law and Personnel."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Registration Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Mutual Settlements Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Transfer to managers for signature."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"Also, exchange participants can track the process of registering contracts online on the website using their Personal Account. To do this, it is enough to register in the system, go to the appropriate section and follow further instructions. Working on the site is identical to working through terminals in the exchange building."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"The list of necessary documents for placing goods on the stock exchange:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"A letter of request for permission to put the goods on the stock exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"A letter of appeal for the sale of goods, filled out in the prescribed form."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Product specification, compiled in accordance with the requirements of the SCRMET."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Documents confirming the right to engage in entrepreneurial activity."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Documents confirming the origin of the goods."})]})]})]})})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})};var gg={};function kk(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(gg,"__esModule",{value:!0});var Jt=j.exports;function Sk(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Pi=Sk(Jt);/*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -158,4 +158,4 @@ PERFORMANCE OF THIS SOFTWARE. 100% { transform: translateX(-100%); } -}`);var Pk=function(e){var t,n,r,i,u=e.style,s=u===void 0?{}:u,a=e.className,o=a===void 0?"":a,l=e.play,d=l===void 0?!0:l,p=e.pauseOnHover,g=p===void 0?!1:p,v=e.pauseOnClick,b=v===void 0?!1:v,k=e.direction,O=k===void 0?"left":k,x=e.speed,_=x===void 0?20:x,w=e.delay,T=w===void 0?0:w,D=e.loop,S=D===void 0?0:D,y=e.gradient,f=y===void 0?!0:y,m=e.gradientColor,h=m===void 0?[255,255,255]:m,E=e.gradientWidth,C=E===void 0?200:E,B=e.onFinish,F=e.onCycleComplete,M=e.children,I=Jt.useState(0),L=I[0],A=I[1],R=Jt.useState(0),N=R[0],z=R[1],V=Jt.useState(!1),W=V[0],q=V[1],X=Jt.useRef(null),Q=Jt.useRef(null);Jt.useEffect(function(){if(!!W){var Se=function(){Q.current&&X.current&&(A(X.current.getBoundingClientRect().width),z(Q.current.getBoundingClientRect().width))};return Se(),window.addEventListener("resize",Se),function(){window.removeEventListener("resize",Se)}}},[W]),Jt.useEffect(function(){q(!0)},[]);var G="rgba("+h[0]+", "+h[1]+", "+h[2],we=NP("div",{className:"ticker-block",children:[c("h3",{className:"ticker-title",children:e}),P("div",{className:"ticker-content",children:[P("div",{className:"ticker-price",children:[n," ",i]}),P("div",{className:"ticker-status",children:[c("div",{className:"ticker-arrow",children:c("img",{src:n>=r?ym:vm})}),c("span",{className:`ticker-status-title ${n>=r?"green":"red"}`,children:t})]})]})]}),Fk=20,Nk=()=>{const[e,t]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/tradings",e,t).get()},[]),c(Ck,{className:"ticker",gradient:!1,speed:Fk,children:c("div",{className:"ticker-wrapper",children:e?e.data.map(n=>c(Ok,{title:n.title,change:n.price_change,price:n.price,oldPrice:n.old_price,currency:n.currency},n.id)):""})})},eh="/assets/phone.827f98ca.svg",Ak="/assets/fax.75231e49.svg",Rk="/assets/mail.ecbe6887.svg",Tk=({title:e,firstPosition:t,secondPosition:n,firstPhone:r,secondPhone:i,firstFax:u,firstMail:s})=>P("div",{className:"contacts-card",children:[c("h2",{className:"contacts-card-title",children:e}),P("div",{className:"contacts-card-pos-wrapper",children:[t&&r?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:t}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:eh,alt:"phone"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}),u?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:Ak,alt:"fax"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}):null,s?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:Rk,alt:"mail"})}),c("h4",{className:"contacts-card-pos-contact-title",children:s})]}):null]}):null,n&&i?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:n}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:eh,alt:"phone"})}),c("h4",{className:"contacts-card-pos-contact-title",children:i})]})]}):null]})]}),Mk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/contacts",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"}),c("div",{className:"contacts-wrapper",children:t?t.data.map(r=>{var i,u,s,a;return c(Tk,{title:r.name,firstPosition:r.contacts[0].title,firstPhone:r.contacts[0].phone,firstFax:r.contacts[0].fax,firstMail:r.contacts[0].mail,secondPosition:(i=r.contacts[1])!=null&&i.title?(u=r.contacts[1])==null?void 0:u.title:null,secondPhone:(s=r.contacts[1])!=null&&s.phone?(a=r.contacts[1])==null?void 0:a.phone:null},r.id)}):null})]})})})},Lk=({lang:e,setPostId:t,postsData:n,setPostsData:r})=>{const[i,u]=j.exports.useState("http://tmex.gov.tm:8765/api/news");return j.exports.useEffect(()=>{new Re(i,n,r).get({"X-Localization":e})},[e,i]),j.exports.useEffect(()=>{setTimeout(()=>{window.scrollTo(0,0)},300)},[i]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:`${e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null}`}),c("div",{className:"news-page-wrapper",children:n?n.data.map(s=>c(w3,{title:s.title,shortDes:s.short_description,description:s.description,date:W0(s.date),image:s.image,id:s.id,setPostId:t,lang:e},s.id)):null}),n?P("div",{className:"pagination",children:[c("button",{disabled:!n.meta.pagination.links.previous,className:"arr-left pagination-arrow",onClick:()=>{n&&n.meta.pagination.links.previous&&u(n.meta.pagination.links.previous)},children:c(od,{className:"arr-pagination-svg"})}),c("div",{className:"pagination-count",children:n?`${n.meta.pagination.current_page} / ${n.meta.pagination.total_pages}`:"1 / 1"}),c("button",{disabled:!n.meta.pagination.links.next,className:"arr-right pagination-arrow",onClick:()=>{n&&n.meta.pagination.links.next&&u(n.meta.pagination.links.next)},children:c(od,{className:"arr-pagination-svg"})})]}):null]})})})},Bk=({title:e,date:t,setPostId:n,id:r})=>P(K,{to:`/post/${r}`,className:"latest-new",onClick:()=>n(r),children:[c("h3",{className:"latest-new-date",children:t}),c("h2",{className:"latest-new-title",children:e})]}),Ik=({lang:e,setPostId:t,postsData:n,setPostsData:r})=>{const{id:i}=B1(),u=j.exports.useRef(!0);return j.exports.useEffect(()=>{n||new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-localization":e})},[n]),j.exports.useEffect(()=>{if(u.current){u.current=!1;return}new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-localization":e})},[e]),c("div",{className:"container",children:P("div",{className:"post-page-wrapper",children:[c("main",{children:n?n.data.map(s=>s.id===parseInt(i)?P("div",{className:"post-page-main-wrapper",children:[P("div",{className:"post-page-header",children:[c("h1",{className:"post-page-title",children:s.title}),c("h2",{className:"post-page-main-date",children:s.data})]}),c("div",{className:"post-page-img",children:c("img",{src:s.image,alt:"img"})}),c("div",{className:"post-page-text",children:c("p",{className:"post-page-text-item",children:s.description})})]},s.id):null):null}),c("aside",{children:P("div",{className:"post-page-latest-wrapper",children:[c("h2",{className:"post-page-latest-title",children:e==="ru"?"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 \u043D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"So\u0148ky habarlar":e==="en"?"The latest news":null}),c("div",{className:"post-page-latest-news",children:n?n.data.map((s,a)=>a<=6?c(Bk,{title:s.title,setPostId:t,id:s.id,date:W0(s.date).split(" ")[0].replace("-",".").replace("-",".")},s.id):null):null})]})})]})})},Dr=({text:e,active:t,onClick:n})=>c("div",{className:`tab-dark ${t?"active-tab":null}`,onClick:n,children:c("span",{children:e})}),th=({title:e,price:t})=>P("div",{className:"tarif-service-item",children:[c("h2",{className:"tarif-service-text",children:e}),P("h2",{className:"tarif-service-price",children:[t," "]})]}),zk=({lang:e})=>{const[t,n]=j.exports.useState(1),[r,i]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/tariffs",r,i).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[e==="ru"?c(ce,{title:"\u0422\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"}):e==="tm"?c(ce,{title:"Nyrhlar we \xFDygymlar"}):e==="en"?c(ce,{title:"Tariffs and fees"}):null,c("div",{className:"tarif-wrapper",children:c("div",{className:"tarif-wrapper-top",children:e==="ru"?P($e,{children:[c(Dr,{text:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"\u0414\u043B\u044F \u043D\u0435 \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===2,onClick:()=>n(2)})]}):e==="tm"?P($e,{children:[c(Dr,{text:"\xDDerli \xFDa\u015Fa\xFDjylar \xFC\xE7in",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"\xDDerli bolmadyk \xFDa\u015Fa\xFDjylar \xFC\xE7in",active:t===2,onClick:()=>n(2)})]}):e==="en"?P($e,{children:[c(Dr,{text:"For residents",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"For non-residents",active:t===2,onClick:()=>n(2)})]}):null})}),t===1?c("div",{className:"tarif-table",children:r?r.data.map(u=>u.type==="resident"&&u.title!="-"?c(th,{title:u.title,price:u.prices.map(s=>s.price+" ")}):null):null}):null,t===2?c("div",{className:"tarif-table",children:r?r.data.map(u=>u.type==="non_resident"&&u.title!="-"?c(th,{title:u.title,price:u.prices.map(s=>s.price+" ")}):null):null}):null]})})})},nh=({title:e,onClick:t,active:n})=>c("h2",{className:`multimedia-tab ${n?"m-tab-active":null}`,onClick:t,children:e}),jk=({img:e})=>c("div",{className:"gallery-item",children:c("img",{src:e,alt:"image"})}),Vk=({imageTabIndex:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{e&&new Re(`http://tmex.gov.tm:8765/api/medias/${e}`,t,n).get()},[e]),c("div",{className:"gallery-wrapper",children:c("div",{className:"gallery",children:t?t.data.map(r=>c(jk,{img:r.media},r.id)):null})})},Uk=({videoTabIndex:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{e&&new Re(`http://tmex.gov.tm:8765/api/medias/${e}`,t,n).get()},[e]),c("div",{className:"videos-wrapper",children:t?t.data.map(r=>c(Q3,{videoUrl:r.media},r.id)):null})},Wk=({lang:e})=>{const[t,n]=j.exports.useState(0),[r,i]=j.exports.useState(),[u,s]=j.exports.useState(0),[a,o]=j.exports.useState(),[l,d]=j.exports.useState();j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/media/categories",l,d).get({"X-Localization":e})},[e]),j.exports.useEffect(()=>{l&&i(l.data[0].id)},[l]);const p=(v,b)=>{n(v),i(b),s(null)},g=(v,b)=>{s(v),o(b),n(null)};return c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:`${e==="ru"?"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430":e==="tm"?"Multimedi\xFDa":e==="en"?"Multimedia":null}`}),P("div",{className:"multimedia-wrapper",children:[P("nav",{className:"multimedia-nav",children:[c("div",{className:"multimedia-top-gallery",children:l?l.data.map((v,b)=>v.type==="image"?c(nh,{title:v.title,active:t===b,onClick:()=>p(b,v.id)},v.id):null):null}),c("div",{className:"multimedia-top-video",children:l?l.data.map((v,b)=>v.type==="video"?c(nh,{title:v.title,active:u===b,onClick:()=>g(b,v.id)},v.id):null):null})]}),u?c(Uk,{videoTabIndex:a}):c(Vk,{imageTabIndex:r})]})]})})})};class Hk{getLang(){return localStorage.getItem("lastLanguage")?localStorage.getItem("lastLanguage"):"ru"}saveLang(t){localStorage.setItem("lastLanguage",t)}}const $k=()=>{const e=new Hk,[t,n]=j.exports.useState(e.getLang()),[r,i]=j.exports.useState(),[u,s]=j.exports.useState();return j.exports.useEffect(()=>{e.saveLang(t)},[t]),P("div",{className:"App",children:[c(Nk,{}),c(eb,{lang:t,setLang:n}),P(K1,{children:[c(yt,{index:!0,element:c(vk,{lang:t,setPostId:i})}),c(yt,{path:"/gtsbt",element:c(bk,{lang:t})}),c(yt,{path:"/norm",element:c(_k,{lang:t})}),c(yt,{path:"/news",element:c(Lk,{lang:t,setPostId:i,postId:r,postsData:u,setPostsData:s})}),c(yt,{path:"/multimedia",element:c(Wk,{lang:t})}),c(yt,{path:"/contacts",element:c(Mk,{lang:t})}),c(yt,{path:"/trade",element:c(wk,{lang:t})}),c(yt,{path:"/fin",element:c(xk,{lang:t})}),c(yt,{path:"/register",element:c(Dk,{lang:t})}),c(yt,{path:"/tarif",element:c(zk,{lang:t})}),c(yt,{path:"/post/:id",element:c(Ik,{lang:t,setPostId:i,postsData:u,setPostsData:s})})]}),c(tb,{lang:t})]})},Kk=document.getElementById("root"),Yk=h3(Kk);Yk.render(c(j.exports.StrictMode,{children:c(Q1,{children:c($k,{})})})); +}`);var Pk=function(e){var t,n,r,i,u=e.style,s=u===void 0?{}:u,a=e.className,o=a===void 0?"":a,l=e.play,d=l===void 0?!0:l,p=e.pauseOnHover,g=p===void 0?!1:p,v=e.pauseOnClick,b=v===void 0?!1:v,k=e.direction,O=k===void 0?"left":k,x=e.speed,_=x===void 0?20:x,w=e.delay,T=w===void 0?0:w,D=e.loop,S=D===void 0?0:D,y=e.gradient,f=y===void 0?!0:y,m=e.gradientColor,h=m===void 0?[255,255,255]:m,E=e.gradientWidth,C=E===void 0?200:E,B=e.onFinish,F=e.onCycleComplete,M=e.children,I=Jt.useState(0),L=I[0],A=I[1],R=Jt.useState(0),N=R[0],z=R[1],V=Jt.useState(!1),W=V[0],q=V[1],X=Jt.useRef(null),Q=Jt.useRef(null);Jt.useEffect(function(){if(!!W){var Se=function(){Q.current&&X.current&&(A(X.current.getBoundingClientRect().width),z(Q.current.getBoundingClientRect().width))};return Se(),window.addEventListener("resize",Se),function(){window.removeEventListener("resize",Se)}}},[W]),Jt.useEffect(function(){q(!0)},[]);var G="rgba("+h[0]+", "+h[1]+", "+h[2],we=NP("div",{className:"ticker-block",children:[c("h3",{className:"ticker-title",children:e}),P("div",{className:"ticker-content",children:[P("div",{className:"ticker-price",children:[n," ",i]}),P("div",{className:"ticker-status",children:[c("div",{className:"ticker-arrow",children:c("img",{src:n>=r?ym:vm})}),c("span",{className:`ticker-status-title ${n>=r?"green":"red"}`,children:t})]})]})]}),Fk=30,Nk=()=>{const[e,t]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/tradings",e,t).get()},[]),c(Ck,{className:"ticker",gradient:!1,speed:Fk,children:c("div",{className:"ticker-wrapper",children:e?e.data.map(n=>c(Ok,{title:n.title,change:n.price_change,price:n.price,oldPrice:n.old_price,currency:n.currency},n.id)):""})})},eh="/assets/phone.827f98ca.svg",Ak="/assets/fax.75231e49.svg",Rk="/assets/mail.ecbe6887.svg",Tk=({title:e,firstPosition:t,secondPosition:n,firstPhone:r,secondPhone:i,firstFax:u,firstMail:s})=>P("div",{className:"contacts-card",children:[c("h2",{className:"contacts-card-title",children:e}),P("div",{className:"contacts-card-pos-wrapper",children:[t&&r?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:t}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:eh,alt:"phone"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}),u?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:Ak,alt:"fax"})}),c("h4",{className:"contacts-card-pos-contact-title",children:r})]}):null,s?P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:Rk,alt:"mail"})}),c("h4",{className:"contacts-card-pos-contact-title",children:s})]}):null]}):null,n&&i?P("div",{className:"contacts-card-pos",children:[c("h3",{className:"contacts-card-pos-title",children:n}),P("div",{className:"contacts-card-pos-contact",children:[c("div",{className:"contacts-card-pos-contact-icon",children:c("img",{src:eh,alt:"phone"})}),c("h4",{className:"contacts-card-pos-contact-title",children:i})]})]}):null]})]}),Mk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/contacts",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"}),c("div",{className:"contacts-wrapper",children:t?t.data.map(r=>{var i,u,s,a;return c(Tk,{title:r.name,firstPosition:r.contacts[0].title,firstPhone:r.contacts[0].phone,firstFax:r.contacts[0].fax,firstMail:r.contacts[0].mail,secondPosition:(i=r.contacts[1])!=null&&i.title?(u=r.contacts[1])==null?void 0:u.title:null,secondPhone:(s=r.contacts[1])!=null&&s.phone?(a=r.contacts[1])==null?void 0:a.phone:null},r.id)}):null})]})})})},Lk=({lang:e,setPostId:t,postsData:n,setPostsData:r})=>{const[i,u]=j.exports.useState("http://tmex.gov.tm:8765/api/news");return j.exports.useEffect(()=>{new Re(i,n,r).get({"X-Localization":e})},[e,i]),j.exports.useEffect(()=>{setTimeout(()=>{window.scrollTo(0,0)},300)},[i]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:`${e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null}`}),c("div",{className:"news-page-wrapper",children:n?n.data.map(s=>c(w3,{title:s.title,shortDes:s.short_description,description:s.description,date:W0(s.date),image:s.image,id:s.id,setPostId:t,lang:e},s.id)):null}),n?P("div",{className:"pagination",children:[c("button",{disabled:!n.meta.pagination.links.previous,className:"arr-left pagination-arrow",onClick:()=>{n&&n.meta.pagination.links.previous&&u(n.meta.pagination.links.previous)},children:c(od,{className:"arr-pagination-svg"})}),c("div",{className:"pagination-count",children:n?`${n.meta.pagination.current_page} / ${n.meta.pagination.total_pages}`:"1 / 1"}),c("button",{disabled:!n.meta.pagination.links.next,className:"arr-right pagination-arrow",onClick:()=>{n&&n.meta.pagination.links.next&&u(n.meta.pagination.links.next)},children:c(od,{className:"arr-pagination-svg"})})]}):null]})})})},Bk=({title:e,date:t,setPostId:n,id:r})=>P(K,{to:`/post/${r}`,className:"latest-new",onClick:()=>n(r),children:[c("h3",{className:"latest-new-date",children:t}),c("h2",{className:"latest-new-title",children:e})]}),Ik=({lang:e,setPostId:t,postsData:n,setPostsData:r})=>{const{id:i}=B1(),u=j.exports.useRef(!0);return j.exports.useEffect(()=>{n||new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-localization":e})},[n]),j.exports.useEffect(()=>{if(u.current){u.current=!1;return}new Re("http://tmex.gov.tm:8765/api/news",n,r).get({"X-localization":e})},[e]),c("div",{className:"container",children:P("div",{className:"post-page-wrapper",children:[c("main",{children:n?n.data.map(s=>s.id===parseInt(i)?P("div",{className:"post-page-main-wrapper",children:[P("div",{className:"post-page-header",children:[c("h1",{className:"post-page-title",children:s.title}),c("h2",{className:"post-page-main-date",children:s.data})]}),c("div",{className:"post-page-img",children:c("img",{src:s.image,alt:"img"})}),c("div",{className:"post-page-text",children:c("p",{className:"post-page-text-item",children:s.description})})]},s.id):null):null}),c("aside",{children:P("div",{className:"post-page-latest-wrapper",children:[c("h2",{className:"post-page-latest-title",children:e==="ru"?"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 \u043D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"So\u0148ky habarlar":e==="en"?"The latest news":null}),c("div",{className:"post-page-latest-news",children:n?n.data.map((s,a)=>a<=6?c(Bk,{title:s.title,setPostId:t,id:s.id,date:W0(s.date).split(" ")[0].replace("-",".").replace("-",".")},s.id):null):null})]})})]})})},Dr=({text:e,active:t,onClick:n})=>c("div",{className:`tab-dark ${t?"active-tab":null}`,onClick:n,children:c("span",{children:e})}),th=({title:e,price:t})=>P("div",{className:"tarif-service-item",children:[c("h2",{className:"tarif-service-text",children:e}),P("h2",{className:"tarif-service-price",children:[t," "]})]}),zk=({lang:e})=>{const[t,n]=j.exports.useState(1),[r,i]=j.exports.useState();return j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/tariffs",r,i).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[e==="ru"?c(ce,{title:"\u0422\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"}):e==="tm"?c(ce,{title:"Nyrhlar we \xFDygymlar"}):e==="en"?c(ce,{title:"Tariffs and fees"}):null,c("div",{className:"tarif-wrapper",children:c("div",{className:"tarif-wrapper-top",children:e==="ru"?P($e,{children:[c(Dr,{text:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"\u0414\u043B\u044F \u043D\u0435 \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432",active:t===2,onClick:()=>n(2)})]}):e==="tm"?P($e,{children:[c(Dr,{text:"\xDDerli \xFDa\u015Fa\xFDjylar \xFC\xE7in",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"\xDDerli bolmadyk \xFDa\u015Fa\xFDjylar \xFC\xE7in",active:t===2,onClick:()=>n(2)})]}):e==="en"?P($e,{children:[c(Dr,{text:"For residents",active:t===1,onClick:()=>n(1)}),c(Dr,{text:"For non-residents",active:t===2,onClick:()=>n(2)})]}):null})}),t===1?c("div",{className:"tarif-table",children:r?r.data.map(u=>u.type==="resident"&&u.title!="-"?c(th,{title:u.title,price:u.prices.map(s=>s.price+" ")}):null):null}):null,t===2?c("div",{className:"tarif-table",children:r?r.data.map(u=>u.type==="non_resident"&&u.title!="-"?c(th,{title:u.title,price:u.prices.map(s=>s.price+" ")}):null):null}):null]})})})},nh=({title:e,onClick:t,active:n})=>c("h2",{className:`multimedia-tab ${n?"m-tab-active":null}`,onClick:t,children:e}),jk=({img:e})=>c("div",{className:"gallery-item",children:c("img",{src:e,alt:"image"})}),Vk=({imageTabIndex:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{e&&new Re(`http://tmex.gov.tm:8765/api/medias/${e}`,t,n).get()},[e]),c("div",{className:"gallery-wrapper",children:c("div",{className:"gallery",children:t?t.data.map(r=>c(jk,{img:r.media},r.id)):null})})},Uk=({videoTabIndex:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{e&&new Re(`http://tmex.gov.tm:8765/api/medias/${e}`,t,n).get()},[e]),c("div",{className:"videos-wrapper",children:t?t.data.map(r=>c(Q3,{videoUrl:r.media},r.id)):null})},Wk=({lang:e})=>{const[t,n]=j.exports.useState(0),[r,i]=j.exports.useState(),[u,s]=j.exports.useState(0),[a,o]=j.exports.useState(),[l,d]=j.exports.useState();j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),j.exports.useEffect(()=>{new Re("http://tmex.gov.tm:8765/api/media/categories",l,d).get({"X-Localization":e})},[e]),j.exports.useEffect(()=>{l&&i(l.data[0].id)},[l]);const p=(v,b)=>{n(v),i(b),s(null)},g=(v,b)=>{s(v),o(b),n(null)};return c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper sub-page-full",children:[c(ce,{title:`${e==="ru"?"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430":e==="tm"?"Multimedi\xFDa":e==="en"?"Multimedia":null}`}),P("div",{className:"multimedia-wrapper",children:[P("nav",{className:"multimedia-nav",children:[c("div",{className:"multimedia-top-gallery",children:l?l.data.map((v,b)=>v.type==="image"?c(nh,{title:v.title,active:t===b,onClick:()=>p(b,v.id)},v.id):null):null}),c("div",{className:"multimedia-top-video",children:l?l.data.map((v,b)=>v.type==="video"?c(nh,{title:v.title,active:u===b,onClick:()=>g(b,v.id)},v.id):null):null})]}),u?c(Uk,{videoTabIndex:a}):c(Vk,{imageTabIndex:r})]})]})})})};class Hk{getLang(){return localStorage.getItem("lastLanguage")?localStorage.getItem("lastLanguage"):"ru"}saveLang(t){localStorage.setItem("lastLanguage",t)}}const $k=()=>{const e=new Hk,[t,n]=j.exports.useState(e.getLang()),[r,i]=j.exports.useState(),[u,s]=j.exports.useState();return j.exports.useEffect(()=>{e.saveLang(t)},[t]),P("div",{className:"App",children:[c(Nk,{}),c(eb,{lang:t,setLang:n}),P(K1,{children:[c(yt,{index:!0,element:c(vk,{lang:t,setPostId:i})}),c(yt,{path:"/gtsbt",element:c(bk,{lang:t})}),c(yt,{path:"/norm",element:c(_k,{lang:t})}),c(yt,{path:"/news",element:c(Lk,{lang:t,setPostId:i,postId:r,postsData:u,setPostsData:s})}),c(yt,{path:"/multimedia",element:c(Wk,{lang:t})}),c(yt,{path:"/contacts",element:c(Mk,{lang:t})}),c(yt,{path:"/trade",element:c(wk,{lang:t})}),c(yt,{path:"/fin",element:c(xk,{lang:t})}),c(yt,{path:"/register",element:c(Dk,{lang:t})}),c(yt,{path:"/tarif",element:c(zk,{lang:t})}),c(yt,{path:"/post/:id",element:c(Ik,{lang:t,setPostId:i,postsData:u,setPostsData:s})})]}),c(tb,{lang:t})]})},Kk=document.getElementById("root"),Yk=h3(Kk);Yk.render(c(j.exports.StrictMode,{children:c(Q1,{children:c($k,{})})})); diff --git a/dist/index.html b/dist/index.html index 272a014..dda0914 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ Exchange - +