1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ce":function(t,e,n){"use strict";var i,r=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(E){c=null}var l=function(){throw new a},u=c?function(){try{return l}catch(t){try{return c(arguments,"callee").get}catch(e){return l}}}():l,d=n("5156")(),h=Object.getPrototypeOf||function(t){return t.__proto__},f={},p="undefined"===typeof Uint8Array?i:h(Uint8Array),m={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":d?h(h([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?h((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?h((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):i,"%Symbol%":d?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":u,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet},g=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&(n=h(r.prototype))}return m[e]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=n("0f7c"),y=n("a0d3"),b=_.call(Function.call,Array.prototype.concat),w=_.call(Function.apply,Array.prototype.splice),k=_.call(Function.call,String.prototype.replace),x=_.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,S=function(t){var e=x(t,0,1),n=x(t,-1);if("%"===e&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return k(t,T,(function(t,e,n,r){i[i.length]=n?k(r,M,"$1"):e||t})),i},C=function(t,e){var n,i=t;if(y(v,i)&&(n=v[i],i="%"+n[0]+"%"),y(m,i)){var o=m[i];if(o===f&&(o=g(i)),"undefined"===typeof o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:o}}throw new r("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new a('"allowMissing" argument must be a boolean');var n=S(t),i=n.length>0?n[0]:"",o=C("%"+i+"%",e),s=o.name,l=o.value,u=!1,d=o.alias;d&&(i=d[0],w(n,b([0,1],d)));for(var h=1,f=!0;h<n.length;h+=1){var p=n[h],g=x(p,0,1),v=x(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==p&&f||(u=!0),i+="."+p,s="%"+i+"%",y(m,s))l=m[s];else if(null!=l){if(!(p in l)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&h+1>=n.length){var _=c(l,p);f=!!_,l=f&&"get"in _&&!("originalValue"in _.get)?_.get:l[p]}else f=y(l,p),l=l[p];f&&!u&&(m[s]=l)}}return l}},"00e7":function(t,e,n){(function(){Number.isInteger=Number.isInteger||function(t){return"number"===typeof t&&isFinite(t)&&Math.floor(t)===t};var e=n("06b1"),i={install:function(t){t.prototype.$cookie=this,t.cookie=this},set:function(t,n,i){var r=i;return Number.isInteger(i)&&(r={expires:i}),e.set(t,n,r)},get:function(t){return e.get(t)},delete:function(t,e){var n={expires:-1};void 0!==e&&(n=Object.assign(e,n)),this.set(t,"",n)}};t.exports=i})()},"00ed":function(t,e,n){"use strict";n("159b");var i=n("4d13");
1t.exports=function(t,e,n){return i.forEach(n,(function(n){t=n(t,e)})),t}},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"010e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 2//! moment.js locale configuration 3var e=t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return e}))},"02fb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
4//! moment.js locale configuration 5var e=t.defineLocale("ml",{months:"à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´àµ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼".split("_"),monthsShort:"à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.".split("_"),monthsParseExact:!0,weekdays:"à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´".split("_"),weekdaysShort:"à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി".split("_"),weekdaysMin:"à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶".split("_"),longDateFormat:{LT:"A h:mm -à´¨àµ",LTS:"A h:mm:ss -à´¨àµ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -à´¨àµ",LLLL:"dddd, D MMMM YYYY, A h:mm -à´¨àµ"},calendar:{sameDay:"[à´à´¨àµà´¨àµ] LT",nextDay:"[നാളàµ] LT",nextWeek:"dddd, LT",lastDay:"[à´à´¨àµà´¨à´²àµ] LT",lastWeek:"[à´à´´à´¿à´àµà´] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à´à´´à´¿à´àµà´àµ",past:"%s à´®àµàµ»à´ªàµ",s:"ഠൽപ നിമിഷà´àµà´àµ¾",ss:"%d à´¸àµà´àµà´àµ»à´¡àµ",m:"à´à´°àµ മിനിറàµà´±àµ",mm:"%d മിനിറàµà´±àµ",h:"à´à´°àµ മണിà´àµà´àµàµ¼",hh:"%d മണിà´àµà´àµàµ¼",d:"à´à´°àµ ദിവസà´",dd:"%d ദിവസà´",M:"à´à´°àµ മാസà´",MM:"%d മാസà´",y:"à´à´°àµ വർഷà´",yy:"%d വർഷà´"},meridiemParse:/രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാതàµà´°à´¿"===e&&t>=4||"à´à´àµà´ à´à´´à´¿à´àµà´àµ"===e||"à´µàµà´àµà´¨àµà´¨àµà´°à´"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാതàµà´°à´¿":t<12?"രാവിലàµ":t<17?"à´à´àµà´ à´à´´à´¿à´àµà´àµ":t<20?"à´µàµà´àµà´¨àµà´¨àµà´°à´":"രാതàµà´°à´¿"}});return e}))},"0325":function(t,e,n){t.exports={default:n("bcd6"),__esModule:!0}},"0361":function(t,e,n){"use strict";n("d3b7"),n("159b"),n("ac1f"),n("5319");var i=n("4d13"),r=n("47cc"),o=n("8228"),a=n("8437"),s=n("776d");function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")}
5,i.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}})),i.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=c},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"03d6":function(t,e,n){var i=n("9c0e"),r=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(e.length>c)i(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},"03ec":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 6//! moment.js locale configuration 7var e=t.defineLocale("cv",{months:"кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав".split("_"),monthsShort:"кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ".split("_"),weekdays:"вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн".split("_"),weekdaysShort:"вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм".split("_"),weekdaysMin:"вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ]",LLL:"YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm",LLLL:"dddd, YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm"},calendar:{sameDay:"[ÐаÑн] LT [ÑÐµÑ ÐµÑÑе]",nextDay:"[ЫÑан] LT [ÑÐµÑ ÐµÑÑе]",lastDay:"[ÓнеÑ] LT [ÑÐµÑ ÐµÑÑе]",nextWeek:"[ҪиÑеÑ] dddd LT [ÑÐµÑ ÐµÑÑе]",lastWeek:"[ÐÑÑнÓ] dddd LT [ÑÐµÑ ÐµÑÑе]",sameElse:"L"},relativeTime:{future:function(t){var e=/ÑÐµÑ ÐµÑ$/i.exec(t)?"Ñен":/Ò«Ñл$/i.exec(t)?"Ñан":"Ñан";return t+e},past:"%s каÑлла",s:"пÓÑ-ик ҫеккÑнÑ",ss:"%d ҫеккÑнÑ",m:"пÓÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"пÓÑ ÑÐµÑ ÐµÑ",hh:"%d ÑÐµÑ ÐµÑ",d:"пÓÑ ÐºÑн",dd:"%d кÑн",M:"пÓÑ ÑйÓÑ ",MM:"%d ÑйÓÑ ",y:"пÓÑ Ò«Ñл",yy:"%d Ò«Ñл"},dayOfMonthOrdinalParse:/\d{1,2}-мÓÑ/,ordinal:"%d-мÓÑ",week:{dow:1,doy:7}});return e}))},"049c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("bba1"),r=n("28b3");i.default.interceptors.request.use((function(t){return!t.method||"post"!==t.method.toLocaleLowerCase()&&"put"!==t.method.toLocaleLowerCase()||(t.headers["content-type"]="application/x-www-form-urlencoded;charset=utf-8",t.data=r.stringify(t.data)),t})),e.default={install:function(t){t.prototype.$axios=i.default}}},"04d1":function(t,e,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"051b":function(t,e,n){var i=n("1a14"),r=n("10db");t.exports=n("0bad")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"0538":function(t,e,n){"use strict";var i=n("1c0b"),r=n("861d"),o=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";a[e]=Function("C,a","return new C("+i.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=o.call(arguments,1),a=function(){var i=n.concat(o.call(arguments));return this instanceof a?s(e,i.length,i):e.apply(t,i)};return r(e.prototype)&&(a.prototype=e.prototype),a}},"0558":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
8//! moment.js locale configuration 9function e(t){return t%100===11||t%10!==1}function n(t,n,i,r){var o=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||r?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mÃnúta":"mÃnútu";case"mm":return e(t)?o+(n||r?"mÃnútur":"mÃnútum"):n?o+"mÃnúta":o+"mÃnútu";case"hh":return e(t)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(r?"daga":"dögum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(r?"mánuði":"mánuðum"):n?o+"mánuður":o+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?o+(n||r?"ár":"árum"):o+(n||r?"ár":"ári")}}var i=t.defineLocale("is",{months:"janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Ãr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gær kl.] LT",lastWeek:"[sÃðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s sÃðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"057f":function(t,e,n){var i=n("fc6a"),r=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},"05a9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default='<div :id="this.id"/>'},"05f5":function(t,e,n){var i=n("7a41"),r=n("ef08").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"06b1":function(t,e,n){var i,r; 10/*! 11 * tiny-cookie - A tiny cookie manipulation plugin 12 * https://github.com/Alex1990/tiny-cookie 13 * Under the MIT license | (c) Alex Chao 14 */!function(o,a){i=a,r="function"===typeof i?i.call(e,n,e,t):i,void 0===r||(t.exports=r)}(0,(function(){"use strict";function t(e,n,i){if(void 0===n)return t.get(e);null===n?t.remove(e):t.set(e,n,i)}function e(t){return t.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function n(t){var e="";for(var n in t)if(t.hasOwnProperty(n)){if("expires"===n){var r=t[n];"object"!==typeof r&&(r+="number"===typeof r?"D":"",r=i(r)),t[n]=r.toUTCString()}if("secure"===n){t[n]&&(e+=";"+n);continue}e+=";"+n+"="+t[n]}return t.hasOwnProperty("path")||(e+=";path=/"),e}function i(t){var e=new Date,n=t.charAt(t.length-1),i=parseInt(t,10);switch(n){case"Y":e.setFullYear(e.getFullYear()+i);break;case"M":e.setMonth(e.getMonth()+i);break;case"D":e.setDate(e.getDate()+i);break;case"h":e.setHours(e.getHours()+i);break;case"m":e.setMinutes(e.getMinutes()+i);break;case"s":e.setSeconds(e.getSeconds()+i);break;default:e=new Date(t)}return e}return t.enabled=function(){var e,n="__test_key";return document.cookie=n+"=1",e=!!document.cookie,e&&t.remove(n),e},t.get=function(t,n){if("string"!==typeof t||!t)return null;t="(?:^|; )"+e(t)+"(?:=([^;]*?))?(?:;|$)";var i=new RegExp(t),r=i.exec(document.cookie);return null!==r?n?r[1]:decodeURIComponent(r[1]):null},t.getRaw=function(e){return t.get(e,!0)},t.set=function(t,e,i,r){!0!==i&&(r=i,i=!1),r=n(r||{});var o=t+"="+(i?e:encodeURIComponent(e))+r;document.cookie=o},t.setRaw=function(e,n,i){t.set(e,n,!0,i)},t.remove=function(e){t.set(e,"a",{expires:new Date})},t}))},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3");var i=n("6b75");function r(t,e){if(t){if("string"===typeof t)return Object(i["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i["a"])(t,e):void 0}}},"06cf":function(t,e,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("a04b"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=a(t),e=s(e),l)try{return u(t,e)}catch(n){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},"0721":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
15//! moment.js locale configuration 16var e=t.defineLocale("fo",{months:"januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frÃ_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[à morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gjár kl.] LT",lastWeek:"[sÃðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s sÃðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tÃmi",hh:"%d tÃmar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"079e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
17//! moment.js locale configuration 18var e=t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令å",narrow:"ã¿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"å¹³æ",narrow:"ã»",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"æå",narrow:"ã¼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大æ£",narrow:"ã½",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"ææ²»",narrow:"ã¾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西æ¦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"ç´å å",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(å |\d+)å¹´/,eraYearOrdinalParse:function(t,e){return"å "===e[1]?1:parseInt(e[1]||t,10)},months:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥".split("_"),weekdaysShort:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),weekdaysMin:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥ dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥(ddd) HH:mm"},meridiemParse:/åå|åå¾/i,isPM:function(t){return"åå¾"===t},meridiem:function(t,e,n){return t<12?"åå":"åå¾"},calendar:{sameDay:"[仿¥] LT",nextDay:"[ææ¥] LT",nextWeek:function(t){return t.week()!==this.week()?"[æ¥é±]dddd LT":"dddd LT"},lastDay:"[æ¨æ¥] LT",lastWeek:function(t){return this.week()!==t.week()?"[å é±]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}æ¥/,ordinal:function(t,e){switch(e){case"y":return 1===t?"å å¹´":t+"å¹´";case"d":case"D":case"DDD":return t+"æ¥";default:return t}},relativeTime:{future:"%så¾",past:"%så",s:"æ°ç§",ss:"%dç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"}});return e}))},"07ac":function(t,e,n){var i=n("23e7"),r=n("6f53").values;i({target:"Object",stat:!0},{values:function(t){return r(t)}})},"0983":function(t,e,n){var i=n("c901");t.exports=function(t){return Object(i(t))}},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b49"),a=n("5270"),s=n("4a7b"),c=n("848b"),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var u=[a,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(o),r=Promise.resolve(t);while(u.length)r=r.then(u.shift(),u.shift());return r}var d=t;while(n.length){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{r=a(d)}catch(p){return Promise.reject(p)}while(o.length)r=r.then(o.shift(),o.shift());return r},u.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")}
vendor: 2,554 bytes, lines 18-20
18,i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=u},"0a3c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 19//! moment.js locale configuration 20var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},"0a84":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
21//! moment.js locale configuration 22var e=t.defineLocale("ar-ma",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}});return e}))},"0ae2":function(t,e,n){var i=n("9876"),r=n("fed5"),o=n("1917");t.exports=function(t){var e=i(t),n=r.f;if(n){var a,s=n(t),c=o.f,l=0;while(s.length>l)c.call(t,a=s[l++])&&e.push(a)}return e}},"0b25":function(t,e,n){var i=n("a691"),r=n("50c4");t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length or index");return n}},"0b42":function(t,e,n){var i=n("861d"),r=n("e8b5"),o=n("b622"),a=o("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)?i(e)&&(e=e[a],null===e&&(e=void 0)):e=void 0),void 0===e?Array:e}},"0b99":function(t,e,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},"0bad":function(t,e,n){t.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 3,646 bytes, lines 23-24
23//! moment.js locale configuration 24function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return n}))},"0cb2":function(t,e,n){var i=n("7b0b"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,c,l,u){var d=n+t.length,h=c.length,f=s;return void 0!==l&&(l=i(l),f=a),o.call(u,f,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":a=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>h){var u=r(s/10);return 0===u?i:u<=h?void 0===c[u-1]?o.charAt(1):c[u-1]+o.charAt(1):i}a=c[s-1]}return void 0===a?"":a}))}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d37":function(t,e,n){n("fc96");var i=n("5524").Object;t.exports=function(t,e){return i.defineProperties(t,e)}},"0d3b":function(t,e,n){var i=n("d039"),r=n("b622"),o=n("c430"),a=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e["delete"]("b"),n+=i+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://ÑеÑÑ").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e49":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,305 bytes, lines 25-26
25//! moment.js locale configuration 26var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e6b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
27//! moment.js locale configuration 28var e=t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:0,doy:4}});return e}))},"0e81":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,604 bytes, lines 29-30
29//! moment.js locale configuration 30var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=t.defineLocale("tr",{months:"Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Ãar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ãa_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÃÃ":n?"ös":"ÃS"},meridiemParse:/öö|ÃÃ|ös|ÃS/,isPM:function(t){return"ös"===t||"ÃS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10,r=t%100-i,o=t>=100?100:null;return t+(e[i]||e[r]||e[o])}},week:{dow:1,doy:7}});return n}))},"0f14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
31//! moment.js locale configuration 32var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0f38":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
33//! moment.js locale configuration 34var e=t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"0f7c":function(t,e,n){"use strict";var i=n("688e");t.exports=Function.prototype.bind||i},"0ff2":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
35//! moment.js locale configuration 36var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}))},"107c":function(t,e,n){var i=n("d039");t.exports=i((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},1098:function(t,e,n){"use strict";e.__esModule=!0;var i=n("17ed"),r=c(i),o=n("f893"),a=c(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(t){return typeof t}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function c(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof a.default&&"symbol"===s(r.default)?function(t){return"undefined"===typeof t?"undefined":s(t)}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"===typeof t?"undefined":s(t)}},"10db":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"10e8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,529 bytes, lines 37-38
37//! moment.js locale configuration 38var e=t.defineLocale("th",{months:"มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡".split("_"),monthsShort:"ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.".split("_"),monthsParseExact:!0,weekdays:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysShort:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysMin:"à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY à¹à¸§à¸¥à¸² H:mm",LLLL:"วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM:function(t){return"หลัà¸à¹à¸à¸µà¹à¸¢à¸"===t},meridiem:function(t,e,n){return t<12?"à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸":"หลัà¸à¹à¸à¸µà¹à¸¢à¸"},calendar:{sameDay:"[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextDay:"[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextWeek:"dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT",lastDay:"[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",lastWeek:"[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT",sameElse:"L"},relativeTime:{future:"à¸à¸µà¸ %s",past:"%sà¸à¸µà¹à¹à¸¥à¹à¸§",s:"à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ",ss:"%d วิà¸à¸²à¸à¸µ",m:"1 à¸à¸²à¸à¸µ",mm:"%d à¸à¸²à¸à¸µ",h:"1 à¸à¸±à¹à¸§à¹à¸¡à¸",hh:"%d à¸à¸±à¹à¸§à¹à¸¡à¸",d:"1 วัà¸",dd:"%d วัà¸",w:"1 สัà¸à¸à¸²à¸«à¹",ww:"%d สัà¸à¸à¸²à¸«à¹",M:"1 à¹à¸à¸·à¸à¸",MM:"%d à¹à¸à¸·à¸à¸",y:"1 à¸à¸µ",yy:"%d à¸à¸µ"}});return e}))},1148:function(t,e,n){"use strict";var i=n("a691"),r=n("577e"),o=n("1d80");t.exports=function(t){var e=r(o(this)),n="",a=i(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},"124e":function(t,e,n){},1276:function(t,e,n){"use strict";var i=n("d784"),r=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),c=n("8aa5"),l=n("50c4"),u=n("577e"),d=n("14c3"),h=n("9263"),f=n("9f7f"),p=n("d039"),m=f.UNSUPPORTED_Y,g=[].push,v=Math.min,_=4294967295,y=!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=u(a(this)),o=void 0===n?_:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);var s,c,l,d=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,m=new RegExp(t.source,f+"g");while(s=h.call(m,i)){if(c=m.lastIndex,c>p&&(d.push(i.slice(p,s.index)),s.length>1&&s.index<i.length&&g.apply(d,s.slice(1)),l=s[0].length,p=c,d.length>=o))break;m.lastIndex===s.index&&m.lastIndex++}return p===i.length?!l&&m.test("")||d.push(""):d.push(i.slice(p)),d.length>o?d.slice(0,o):d}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=a(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,r,n):i.call(u(r),e,n)},function(t,r){var a=o(this),h=u(t),f=n(i,a,h,r,i!==e);if(f.done)return f.value;var p=s(a,RegExp),g=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(m?"g":"y"),b=new p(m?"^(?:"+a.source+")":a,y),w=void 0===r?_:r>>>0;if(0===w)return[];if(0===h.length)return null===d(b,h)?[h]:[];var k=0,x=0,T=[];while(x<h.length){b.lastIndex=m?0:x;var M,S=d(b,m?h.slice(x):h);if(null===S||(M=v(l(b.lastIndex+(m?x:0)),h.length))===k)x=c(h,x,g);else{if(T.push(h.slice(k,x)),T.length===w)return T;for(var C=1;C<=S.length-1;C++)if(T.push(S[C]),T.length===w)return T;x=k=M}}return T.push(h.slice(k)),T}]}),!y,m)},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"131a":function(t,e,n){var i=n("23e7"),r=n("d2bb");i({target:"Object",stat:!0},{setPrototypeOf:r})},"13e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
39//! moment.js locale configuration 40var e={words:{ss:["ÑекÑнда","ÑекÑнде","ÑекÑнди"],m:["Ñедан минÑÑ","Ñедне минÑÑе"],mm:["минÑÑ","минÑÑе","минÑÑа"],h:["Ñедан ÑаÑ","Ñедног ÑаÑа"],hh:["ÑаÑ","ÑаÑа","ÑаÑи"],dd:["дан","дана","дана"],MM:["меÑеÑ","меÑеÑа","меÑеÑи"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr-cyrl",{months:"ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_окÑобаÑ_новембаÑ_деÑембаÑ".split("_"),monthsShort:"Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.".split("_"),monthsParseExact:!0,weekdays:"недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа".split("_"),weekdaysShort:"нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.".split("_"),weekdaysMin:"не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[Ð´Ð°Ð½Ð°Ñ Ñ] LT",nextDay:"[ÑÑÑÑа Ñ] LT",nextWeek:function(){switch(this.day()){case 0:return"[Ñ] [недеÑÑ] [Ñ] LT";case 3:return"[Ñ] [ÑÑедÑ] [Ñ] LT";case 6:return"[Ñ] [ÑÑбоÑÑ] [Ñ] LT";case 1:case 2:case 4:case 5:return"[Ñ] dddd [Ñ] LT"}},lastDay:"[ÑÑÑе Ñ] LT",lastWeek:function(){var t=["[пÑоÑле] [недеÑе] [Ñ] LT","[пÑоÑлог] [понедеÑка] [Ñ] LT","[пÑоÑлог] [ÑÑоÑка] [Ñ] LT","[пÑоÑле] [ÑÑеде] [Ñ] LT","[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT","[пÑоÑлог] [пеÑка] [Ñ] LT","[пÑоÑле] [ÑÑбоÑе] [Ñ] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑе %s",s:"неколико ÑекÑнди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"меÑеÑ",MM:e.translate,y:"годинÑ",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1448:function(t,e,n){var i=n("dfb9"),r=n("b6b7");t.exports=function(t,e){return i(r(t),e)}},"145e":function(t,e,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("50c4"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),s=o(n.length),c=r(t,s),l=r(e,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:r(u,s))-l,s-c),h=1;l<c&&c<l+d&&(h=-1,l+=d-1,c+=d-1);while(d-- >0)l in n?n[c]=n[l]:delete n[c],c+=h,l+=h;return n}},"14c3":function(t,e,n){var i=n("c6b6"),r=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},1599:function(t,e,n){},"159b":function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in r){var c=i[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch(u){l.forEach=o}}},1609:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"167b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
41//! moment.js locale configuration 42var e=t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}});return e}))},1696:function(t,e,n){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(e in t[e]=i,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},"170b":function(t,e,n){"use strict";var i=n("ebb5"),r=n("50c4"),o=n("23cb"),a=n("b6b7"),s=i.aTypedArray,c=i.exportTypedArrayMethod;c("subarray",(function(t,e){var n=s(this),i=n.length,c=o(t,i),l=a(n);return new l(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,r((void 0===e?i:o(e,i))-c))}))},1727:function(t,e,n){t.exports={default:n("7d42"),__esModule:!0}},1765:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=n("1bd1").any},"17c2":function(t,e,n){"use strict";var i=n("b727").forEach,r=n("a640"),o=r("forEach");t.exports=o?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},"17ed":function(t,e,n){t.exports={default:n("511f"),__esModule:!0}},"182d":function(t,e,n){var i=n("f8cd");t.exports=function(t,e){var n=i(t);if(n%e)throw RangeError("Wrong offset");return n}},1836:function(t,e,n){var i=n("6ca1"),r=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},"18a5":function(t,e,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("anchor")},{anchor:function(t){return r(this,"a","name",t)}})},1907:function(t,e,n){t.exports={default:n("d46b"),__esModule:!0}},1917:function(t,e){e.f={}.propertyIsEnumerable},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"19fa":function(t,e,n){var i=n("fc5e"),r=n("c901");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),c=i(n),l=s.length;return c<0||c>=l?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(t,e,n){var i=n("77e9"),r=n("faf5"),o=n("3397"),a=Object.defineProperty;e.f=n("0bad")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"1b45":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
43//! moment.js locale configuration 44var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"fâ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1b8d":function(t,e){function n(t){return t.replace(/\n\r?\s*/g,"")}t.exports=function(t){for(var e="",i=0;i<arguments.length;i++)e+=n(t[i])+(arguments[i+1]||"");return e}},"1bd1":function(t,e,n){var i,r,o; 45/** 46 * isMobile.js v0.4.1 47 * 48 * A simple library to detect Apple phones and tablets, 49 * Android phones and tablets, other mobile devices (like blackberry, mini-opera and windows phone), 50 * and any kind of seven inch device, via user agent sniffing. 51 * 52 * @author: Kai Mallea ([email protected]) 53 * 54 * @license: http://creativecommons.org/publicdomain/zero/1.0/ 55 */(function(n){var a=/iPhone/i,s=/iPod/i,c=/iPad/i,l=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,u=/Android/i,d=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,h=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,f=/Windows Phone/i,p=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,m=/BlackBerry/i,g=/BB10/i,v=/Opera Mini/i,_=/(CriOS|Chrome)(?=.*\bMobile\b)/i,y=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,b=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),w=function(t,e){return t.test(e)},k=function(t){var e=t||navigator.userAgent,n=e.split("[FBAN");if("undefined"!==typeof n[1]&&(e=n[0]),n=e.split("Twitter"),"undefined"!==typeof n[1]&&(e=n[0]),this.apple={phone:w(a,e),ipod:w(s,e),tablet:!w(a,e)&&w(c,e),device:w(a,e)||w(s,e)||w(c,e)},this.amazon={phone:w(d,e),tablet:!w(d,e)&&w(h,e),device:w(d,e)||w(h,e)},this.android={phone:w(d,e)||w(l,e),tablet:!w(d,e)&&!w(l,e)&&(w(h,e)||w(u,e)),device:w(d,e)||w(h,e)||w(l,e)||w(u,e)},this.windows={phone:w(f,e),tablet:w(p,e),device:w(f,e)||w(p,e)},this.other={blackberry:w(m,e),blackberry10:w(g,e),opera:w(v,e),firefox:w(y,e),chrome:w(_,e),device:w(m,e)||w(g,e)||w(v,e)||w(y,e)||w(_,e)},this.seven_inch=w(b,e),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"===typeof window)return this},x=function(){var t=new k;return t.Class=k,t};t.exports&&"undefined"===typeof window?t.exports=k:t.exports&&"undefined"!==typeof window?t.exports=x():(r=[],i=n.isMobile=x(),o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))})(this)},"1bd7":function(t,e,n){},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var i=n("b622"),r=i("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},"1cdc":function(t,e,n){var i=n("342f");t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(i)},"1cfd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
56//! moment.js locale configuration 57var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},r=function(t){return function(e,r,o,a){var s=n(e),c=i[t][n(e)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,e)}},o=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","٠ارس","أبرÙÙ","٠اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"],a=t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(t){return"Ù "===t},meridiem:function(t,e,n){return t<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/Ø/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}});return a}))},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1da1":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("d3b7");function i(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,c,"next",t)}function c(t){i(a,r,o,s,c,"throw",t)}s(void 0)}))}}},"1dde":function(t,e,n){var i=n("d039"),r=n("b622"),o=n("2d00"),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,921 bytes, lines 58-59
58//! moment.js locale configuration 59function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:n?"Ñ Ð²ÑлÑна_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн":"Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн",hh:n?"гадзÑна_гадзÑнÑ_гадзÑн":"гадзÑнÑ_гадзÑнÑ_гадзÑн",dd:"дзенÑ_днÑ_дзÑн",MM:"меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ",yy:"год_гадÑ_гадоÑ"};return"m"===i?n?"Ñ Ð²ÑлÑна":"Ñ Ð²ÑлÑнÑ":"h"===i?n?"гадзÑна":"гадзÑнÑ":t+" "+e(r[i],+t)}var i=t.defineLocale("be",{months:{format:"ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ".split("_"),standalone:"ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ".split("_")},monthsShort:"ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж".split("_"),weekdays:{format:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ".split("_"),standalone:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа".split("_"),isFormat:/\[ ?[УÑÑ] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/},weekdaysShort:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[СÑÐ½Ð½Ñ Ñ] LT",nextDay:"[ÐаÑÑÑа Ñ] LT",lastDay:"[УÑоÑа Ñ] LT",nextWeek:function(){return"[У] dddd [Ñ] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мÑнÑлÑÑ] dddd [Ñ] LT";case 1:case 2:case 4:return"[У мÑнÑлÑ] dddd [Ñ] LT"}},sameElse:"L"},relativeTime:{future:"пÑаз %s",past:"%s ÑамÑ",s:"некалÑÐºÑ ÑекÑнд",m:n,mm:n,h:n,hh:n,d:"дзенÑ",dd:n,M:"меÑÑÑ",MM:n,y:"год",yy:n},meridiemParse:/ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/,isPM:function(t){return/^(днÑ|веÑаÑа)$/.test(t)},meridiem:function(t,e,n){return t<4?"ноÑÑ":t<12?"ÑанÑÑÑ":t<17?"днÑ":"веÑаÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñ|Ñ|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-Ñ":t+"-Ñ";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}});return i}))},"201b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
60//! moment.js locale configuration 61var e=t.defineLocale("ka",{months:"áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á".split("_"),monthsShort:"ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá".split("_"),weekdays:{standalone:"áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá".split("_"),format:"áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡".split("_"),isFormat:/(á¬ááá|á¨ááááá)/},weekdaysShort:"ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá".split("_"),weekdaysMin:"áá_áá _á¡á_áá_á®á£_áá_á¨á".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[áá¦áá¡] LT[-áá]",nextDay:"[á®ááá] LT[-áá]",lastDay:"[áá£á¨áá] LT[-áá]",nextWeek:"[á¨ááááá] dddd LT[-áá]",lastWeek:"[á¬ááá] dddd LT-áá",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(á¬áá|á¬á£á|á¡ááá|á¬áá|áá¦|áá)(á|á)/,(function(t,e,n){return"á"===n?e+"á¨á":e+n+"á¨á"}))},past:function(t){return/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(t)?t.replace(/(á|á)$/,"áá¡ á¬áá"):/á¬ááá/.test(t)?t.replace(/á¬ááá$/,"á¬ááá¡ á¬áá"):t},s:"á áááááááá á¬ááá",ss:"%d á¬ááá",m:"á¬á£áá",mm:"%d á¬á£áá",h:"á¡áááá",hh:"%d á¡áááá",d:"áá¦á",dd:"%d áá¦á",M:"ááá",MM:"%d ááá",y:"á¬ááá",yy:"%d á¬ááá"},dayOfMonthOrdinalParse:/0|1-áá|áá-\d{1,2}|\d{1,2}-á/,ordinal:function(t){return 0===t?t:1===t?t+"-áá":t<20||t<=100&&t%20===0||t%100===0?"áá-"+t:t+"-á"},week:{dow:1,doy:7}});return e}))},"20bf":function(t,e,n){"use strict";var i=n("8aa7"),r=n("ebb5").exportTypedArrayStaticMethod,o=n("a078");r("from",o,i)},"219c":function(t,e,n){"use strict";var i=n("ebb5"),r=n("da84"),o=n("d039"),a=n("1c0b"),s=n("50c4"),c=n("addb"),l=n("04d1"),u=n("d998"),d=n("2d00"),h=n("512ce"),f=i.aTypedArray,p=i.exportTypedArrayMethod,m=r.Uint16Array,g=m&&m.prototype.sort,v=!!g&&!o((function(){var t=new m(2);t.sort(null),t.sort({})})),_=!!g&&!o((function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(h)return h<602;var t,e,n=new m(516),i=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,i[t]=t-2*e+3;for(n.sort((function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==i[t])return!0})),y=function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!==n?-1:e!==e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}};p("sort",(function(t){var e=this;if(void 0!==t&&a(t),_)return g.call(e,t);f(e);var n,i=s(e.length),r=Array(i);for(n=0;n<i;n++)r[n]=e[n];for(r=c(e,y(t)),n=0;n<i;n++)e[n]=r[n];return e}),!_||v)},2247:function(t,e,n){"use strict";n("159b"),n("ac1f"),n("1276"),n("498a"),n("99af");var i=n("4d13"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},2266:function(t,e,n){var i=n("825a"),r=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),c=n("2a62"),l=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u,d,h,f,p,m,g,v=n&&n.that,_=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),w=a(e,v,1+_+b),k=function(t){return u&&c(u),new l(!0,t)},x=function(t){return _?(i(t),b?w(t[0],t[1],k):w(t[0],t[1])):b?w(t,k):w(t)};if(y)u=t;else{if(d=s(t),"function"!=typeof d)throw TypeError("Target is not iterable");if(r(d)){for(h=0,f=o(t.length);f>h;h++)if(p=x(t[h]),p&&p instanceof l)return p;return new l(!1)}u=d.call(t)}m=u.next;while(!(g=m.call(u)).done){try{p=x(g.value)}catch(T){throw c(u),T}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},"22bf":function(t,e,n){n("dfe5"),n("0b99"),n("658f"),n("c579"),n("365c"),n("5cb7"),t.exp
61orts=n("5524").Promise},"22f8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 62//! moment.js locale configuration 63var e=t.defineLocale("ko",{months:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),monthsShort:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),weekdays:"ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼".split("_"),weekdaysShort:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),weekdaysMin:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYYë MMMM Dì¼",LLL:"YYYYë MMMM Dì¼ A h:mm",LLLL:"YYYYë MMMM Dì¼ dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYYë MMMM Dì¼",lll:"YYYYë MMMM Dì¼ A h:mm",llll:"YYYYë MMMM Dì¼ dddd A h:mm"},calendar:{sameDay:"ì¤ë LT",nextDay:"ë´ì¼ LT",nextWeek:"dddd LT",lastDay:"ì´ì LT",lastWeek:"ì§ë주 dddd LT",sameElse:"L"},relativeTime:{future:"%s í",past:"%s ì ",s:"ëª ì´",ss:"%dì´",m:"1ë¶",mm:"%dë¶",h:"í ìê°",hh:"%dìê°",d:"í루",dd:"%dì¼",M:"í ë¬",MM:"%dë¬",y:"ì¼ ë ",yy:"%dë "},dayOfMonthOrdinalParse:/\d{1,2}(ì¼|ì|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"ì¼";case"M":return t+"ì";case"w":case"W":return t+"주";default:return t}},meridiemParse:/ì¤ì |ì¤í/,isPM:function(t){return"ì¤í"===t},meridiem:function(t,e,n){return t<12?"ì¤ì ":"ì¤í"}});return e}))},"23cb":function(t,e,n){var i=n("a691"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23dd":function(t,e,n){var i=n("6aa8"),r=n("cc15")("iterator"),o=n("8a0d");t.exports=n("5524").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,d,h,f,p,m=t.target,g=t.global,v=t.stat;if(u=g?i:v?i[m]||s(m,{}):(i[m]||{}).prototype,u)for(d in e){if(f=e[d],t.noTargetGet?(p=r(u,d),h=p&&p.value):h=u[d],n=l(g?d:m+(v?".":"#")+d,t.forced),!n&&void 0!==h){if(typeof f===typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(u,d,f,t)}}},2409:function(t,e,n){"use strict";var i=n("f04c"),r=n("3986");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},2421:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
64//! moment.js locale configuration 65var e={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=["کاÙÙÙÛ Ø¯ÙÙÛÙ ","Ø´ÙØ¨Ø§Øª","ئازار","ÙÛØ³Ø§Ù","Ø¦Ø§ÛØ§Ø±","ØÙزÛÛØ±Ø§Ù","تÛÙ Ù ÙØ²","ئاب","ئÛÛÙÙÙÙ","تشرÛÙÛ ÛÛÙÛÙ ","تشرÛÙÛ Ø¯ÙÙÛÙ ","ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ "],r=t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"ÛÙâÙØ´ÙâÙ Ù Ùâ_دÙÙØ´ÙâÙ Ù Ùâ_Ø³ÛØ´ÙâÙ Ù Ùâ_ÚÙØ§Ø±Ø´ÙâÙ Ù Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ Ù Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ".split("_"),weekdaysShort:"ÛÙâÙØ´ÙâÙ _دÙÙØ´ÙâÙ _Ø³ÛØ´ÙâÙ _ÚÙØ§Ø±Ø´ÙâÙ _Ù¾ÛÙØ¬Ø´ÙâÙ _ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_Ù_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/,isPM:function(t){return/ئÛÙØ§Ø±Ùâ/.test(t)},meridiem:function(t,e,n){return t<12?"بÙâÛØ§ÙÛ":"ئÛÙØ§Ø±Ùâ"},calendar:{sameDay:"[ئÙâÙ Ø±Û ÙØ§ØªÚÙ ÛØ±] LT",nextDay:"[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ ÛØ±] LT",nextWeek:"dddd [ÙØ§ØªÚÙ ÛØ±] LT",lastDay:"[دÙÛÙÛ ÙØ§ØªÚÙ ÛØ±] LT",lastWeek:"dddd [ÙØ§ØªÚÙ ÛØ±] LT",sameElse:"L"},relativeTime:{future:"ÙÙâ %s",past:"%s",s:"ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ",ss:"ÚØ±ÙÙâ %d",m:"ÛÙâÙ Ø®ÙÙÙâÙ",mm:"%d Ø®ÙÙÙâÙ",h:"ÛÙâÙ ÙØ§ØªÚÙ ÛØ±",hh:"%d ÙØ§ØªÚÙ ÛØ±",d:"ÛÙâÙ ÚÛÚ",dd:"%d ÚÛÚ",M:"ÛÙâ٠٠اÙÚ¯",MM:"%d ٠اÙÚ¯",y:"ÛÙâ٠ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/Ø/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}});return r}))},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function l(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),l(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(a)})),t.exports=u}).call(this,n("4362"))},"24a2":function(t,e,n){var i=n("77e9"),r=n("7a41"),o=n("f2c2");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},2532:function(t,e,n){"use strict";var i=n("23e7"),r=n("5a34"),o=n("1d80"),a=n("577e"),s=n("ab13");i({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~a(o(this)).indexOf(a(r(t)),arguments.length>1?arguments[1]:void 0)}})},2554:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
66//! moment.js locale configuration 67function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[proÅ¡lu] dddd [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"25a1":function(t,e,n){"use strict";var i=n("ebb5"),r=n("d58f").right,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("reduceRight",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(t,e,n){"use strict";var i=n("6eeb"),r=n("825a"),o=n("577e"),a=n("d039"),s=n("ad6d"),c="toString",l=RegExp.prototype,u=l[c],d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=c;(d||h)&&i(RegExp.prototype,c,(function(){var t=r(this),e=o(t.source),n=t.flags,i=o(void 0===n&&t instanceof RegExp&&!("flags"in l)?s.call(t):n);return"/"+e+"/"+i}),{unsafe:!0})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2693:function(t,e,n){var i=n("0983"),r=n("ce7a");n("7336")("getPrototypeOf",(function(){return function(t){return r(i(t))}}))},2699:function(t,e,n){"use strict";var i=n("e11e"),r=function(t,e){var n,i=function(){var i=[],r=arguments.length;while(r--)i[r]=arguments[r];var o=this;n&&clearTimeout(n),n=setTimeout((function(){t.apply(o,i),n=null}),e)};return i.cancel=function(){n&&clearTimeout(n)},i},o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},a=function(t,e,n,r){var a=function(r){var a="set"+o(r),s=n[r].type===Object||n[r].type===Array||Array.isArray(n[r].type);n[r].custom&&t[a]?t.$watch(r,(function(e,n){t[a](e,n)}),{deep:s}
67):"setOptions"===a?t.$watch(r,(function(t,n){Object(i["setOptions"])(e,t)}),{deep:s}):e[a]&&t.$watch(r,(function(t,n){e[a](t)}),{deep:s})};for(var s in n)a(s)},s=function(t){var e={};for(var n in t){var i=t[n];null!==i&&void 0!==i&&(e[n]=i)}return e},c=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=s(n);t=s(t);var r=e.$options.props;for(var o in t){var a=r[o]?r[o].default&&"function"===typeof r[o].default?r[o].default.call():r[o].default:Symbol("unique"),c=!1;c=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[o]):a===t[o],i[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),i[o]=t[o]):i[o]||(i[o]=t[o])}return i},l={props:{options:{type:Object,default:function(){return{}}}}},u={name:"LMap",mixins:[l],props:{center:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},bounds:{type:[Array,Object],custom:!0,default:null},maxBounds:{type:[Array,Object],default:null},zoom:{type:Number,custom:!0,default:0},minZoom:{type:Number,default:null},maxZoom:{type:Number,default:null},paddingBottomRight:{type:Array,custom:!0,default:null},paddingTopLeft:{type:Array,custom:!0,default:null},padding:{type:Array,custom:!0,default:null},worldCopyJump:{type:Boolean,default:!1},crs:{type:Object,custom:!0,default:function(){return i["CRS"].EPSG3857}},maxBoundsViscosity:{type:Number,default:null},inertia:{type:Boolean,default:null},inertiaDeceleration:{type:Number,default:null},inertiaMaxSpeed:{type:Number,default:null},easeLinearity:{type:Number,default:null},zoomAnimation:{type:Boolean,default:null},zoomAnimationThreshold:{type:Number,default:null},fadeAnimation:{type:Boolean,default:null},markerZoomAnimation:{type:Boolean,default:null},noBlockingAnimations:{type:Boolean,default:!1}},data:function(){return{ready:!1,lastSetCenter:this.center?Object(i["latLng"])(this.center):null,lastSetBounds:this.bounds?Object(i["latLngBounds"])(this.bounds):null,layerControl:void 0,layersToAdd:[],layersInControl:[]}},computed:{fitBoundsOptions:function(){var t={animate:!this.noBlockingAnimations&&null};return this.padding?t.padding=this.padding:(this.paddingBottomRight&&(t.paddingBottomRight=this.paddingBottomRight),this.paddingTopLeft&&(t.paddingTopLeft=this.paddingTopLeft)),t}},beforeDestroy:function(){this.debouncedMoveEndHandler&&this.debouncedMoveEndHandler.cancel(),this.mapObject&&this.mapObject.remove()},mounted:function(){var t=this,e=c({minZoom:this.minZoom,maxZoom:this.maxZoom,maxBounds:this.maxBounds,maxBoundsViscosity:this.maxBoundsViscosity,worldCopyJump:this.worldCopyJump,crs:this.crs,center:this.center,zoom:this.zoom,inertia:this.inertia,inertiaDeceleration:this.inertiaDeceleration,inertiaMaxSpeed:this.inertiaMaxSpeed,easeLinearity:this.easeLinearity,zoomAnimation:this.zoomAnimation,zoomAnimationThreshold:this.zoomAnimationThreshold,fadeAnimation:this.fadeAnimation,markerZoomAnimation:this.markerZoomAnimation},this);this.mapObject=Object(i["map"])(this.$el,e),this.bounds&&this.fitBounds(this.bounds),this.debouncedMoveEndHandler=r(this.moveEndHandler,100),this.mapObject.on("moveend",this.debouncedMoveEndHandler),this.mapObject.on("overlayadd",this.overlayAddHandler),this.mapObject.on("overlayremove",this.overlayRemoveHandler),i["DomEvent"].on(this.mapObject,this.$listeners),a(this,this.mapObject,this.$options.props),this.ready=!0,this.$emit("leaflet:load"),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},methods:{registerLayerControl:function(t){var e=this;this.layerControl=t,this.mapObject.addControl(t.mapObject),this.layersToAdd.forEach((function(t){e.layerControl.addLayer(t)})),this.layersToAdd=[]},addLayer:function(t,e){if(void 0!==t.layerType)if(void 0===this.layerControl)this.layersToAdd.push(t);else{var n=this.layersInControl.find((function(e){return e.mapObject._leaflet_id===t.mapObject._leaflet_id}));n||(this.layerControl.addLayer(t),this.layersInControl.push(t))}e||!1===t.visible||this.mapObject.addLayer(t.mapObject)},hideLayer:function(t){this.mapObject.removeLayer(t.mapObject)},removeLayer:function(t,e){void 0!==t.layerType&&(void 0===this.layerControl?this.layersToAdd=this.layersToAdd.filter((function(e){return e.name!==t.name}
67)):(this.layerControl.removeLayer(t),this.layersInControl=this.layersInControl.filter((function(e){return e.mapObject._leaflet_id!==t.mapObject._leaflet_id})))),e||this.mapObject.removeLayer(t.mapObject)},setZoom:function(t,e){void 0!==t&&null!==t&&(this.mapObject.setZoom(t,{animate:!this.noBlockingAnimations&&null}),this.cacheMapView())},setCenter:function(t,e){if(null!=t){var n=Object(i["latLng"])(t),r=this.lastSetCenter||this.mapObject.getCenter();r.lat===n.lat&&r.lng===n.lng||(this.lastSetCenter=n,this.mapObject.panTo(n,{animate:!this.noBlockingAnimations&&null}),this.cacheMapView(void 0,n))}},setBounds:function(t,e){if(t){var n=Object(i["latLngBounds"])(t);if(n.isValid()){var r=this.lastSetBounds||this.mapObject.getBounds(),o=!r.equals(n,0);o&&(this.fitBounds(n),this.cacheMapView(n))}}},setPaddingBottomRight:function(t,e){this.paddingBottomRight=t},setPaddingTopLeft:function(t,e){this.paddingTopLeft=t},setPadding:function(t,e){this.padding=t},setCrs:function(t,e){var n=this.mapObject,i=n.getBounds();n.options.crs=t,this.fitBounds(i,{animate:!1})},fitBounds:function(t,e){this.mapObject.fitBounds(t,Object.assign({},this.fitBoundsOptions,e))},moveEndHandler:function(){this.$emit("update:zoom",this.mapObject.getZoom());var t=this.mapObject.getCenter();this.$emit("update:center",t);var e=this.mapObject.getBounds();this.$emit("update:bounds",e)},overlayAddHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!0)},overlayRemoveHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!1)},cacheMapView:function(t,e){this.lastSetBounds=t||this.mapObject.getBounds(),this.lastSetCenter=e||this.lastSetBounds.getCenter()}}};function d(t,e,n,i,r,o,a,s,c,l){"boolean"!==typeof a&&(c=s,s=a,a=!1);var u,d="function"===typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var h,f="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function p(t){return function(t,e){return g(t,e)}}var m={};function g(t,e){var n=f?e.media||"default":t,i=m[n]||(m[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);var r=e.source;if(e.map&&(r+="\n/*# sourceURL="+e.map.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===h&&(h=document.head||document.getElementsByTagName("head")[0]),h.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(r),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var o=i.ids.size-1,a=document.createTextNode(r),s=i.element.childNodes;s[o]&&i.element.removeChild(s[o]),s.length?i.element.insertBefore(a,s[o]):i.element.appendChild(a)}}}var v=u,_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue2leaflet-map"},[t.ready?t._t("default"):t._e()],2)},y=[],b=function(t){t&&t("data-v-09f270aa_0",{source:".vue2leaflet-map{height:100%;width:100%}",map:void 0,media:void 0})},w=void 0,k=void 0,x=!1,T=d({render:_,staticRenderFns:y},b,v,w,x,k,!1,p,void 0,void 0);e["a"]=T},"26dd":function(t,e,n){"use strict";var i=n("6f4f"),r=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,556 bytes, lines 68-69
68//! moment.js locale configuration 69var e={ss:"sekundÄ_sekundžių_sekundes",m:"minutÄ_minutÄs_minutÄ",mm:"minutÄs_minuÄių_minutes",h:"valanda_valandos_valandÄ ",hh:"valandos_valandų_valandas",d:"diena_dienos_dienÄ ",dd:"dienos_dienų_dienas",M:"mÄnuo_mÄnesio_mÄnesį",MM:"mÄnesiai_mÄnesių_mÄnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundÄs":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?o(n)[0]:i?o(n)[1]:o(n)[2]}function r(t){return t%10===0||t>10&&t<20}function o(t){return e[t].split("_")}function a(t,e,n,a){var s=t+" ";return 1===t?s+i(t,e,n[0],a):e?s+(r(t)?o(n)[1]:o(n)[0]):a?s+o(n)[1]:s+(r(t)?o(n)[1]:o(n)[2])}var s=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Å ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Å iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[PraÄjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieÅ¡ %s",s:n,ss:a,m:i,mm:a,h:i,hh:a,d:i,dd:a,M:i,MM:a,y:i,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return s}))},2714:function(t,e,n){var i="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"===typeof r.get?r.get:null,a=i&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&
vendor: 7,525 bytes, line 69
69c&&"function"===typeof c.get?c.get:null,u=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype,p=f?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype,g=m?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,_=Object.prototype.toString,y=Function.prototype.toString,b=String.prototype.match,w="function"===typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,x="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"===typeof Symbol&&"object"===typeof Symbol.iterator,M=Object.prototype.propertyIsEnumerable,S=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),C=n(2).custom,E=C&&z(C)?C:null,L="function"===typeof Symbol&&"undefined"!==typeof Symbol.toStringTag?Symbol.toStringTag:null;function A(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function O(t){return String(t).replace(/"/g,""")}function P(t){return"[object Array]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function D(t){return"[object Date]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function j(t){return"[object RegExp]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function I(t){return"[object Error]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function R(t){return"[object String]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function N(t){return"[object Number]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function Y(t){return"[object Boolean]"===V(t)&&(!L||!("object"===typeof t&&L in t))}function z(t){if(T)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!x)return!1;try{return x.call(t),!0}catch(e){}return!1}function B(t){if(!t||"object"!==typeof t||!w)return!1;try{return w.call(t),!0}catch(e){}return!1}t.exports=function t(e,n,i,r){var s=n||{};if(H(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!H(s,"customInspect")||s.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if("undefined"===typeof e)return"undefined";if(null===e)return"null";if("boolean"===typeof e)return e?"true":"false";if("string"===typeof e)return K(e,s);if("number"===typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"===typeof e)return String(e)+"n";var d="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof i&&(i=0),i>=d&&d>0&&"object"===typeof e)return P(e)?"[Array]":"[Object]";var h=rt(s,i);if("undefined"===typeof r)r=[];else if(W(r,e)>=0)return"[Circular]";function f(e,n,o){if(n&&(r=r.slice(),r.push(n)),o){var a={depth:s.depth};return H(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,i+1,r)}return t(e,s,i+1,r)}if("function"===typeof e){var p=U(e),m=at(e,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(m.length>0?" { "+m.join(", ")+" }":"")}if(z(e)){var g=T?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==typeof e||T?g:tt(g)}if(J(e)){for(var _="<"+String(e.nodeName).toLowerCase(),y=e.attributes||[],b=0;b<y.length;b++)_+=" "+y[b].name+"="+A(O(y[b].value),"double",s);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+String(e.nodeName).toLowerCase()+">",_}if(P(e)){if(0===e.length)return"[]";var k=at(e,f);return h&&!it(k)?"["+ot(k,h)+"]":"[ "+k.join(", ")+" ]"}if(I(e)){var M=at(e,f);return 0===M.length?"["+String(e)+"]":"{ ["+String(e)+"] "+M.join(", ")+" }"}if("object"===typeof e&&c){if(E&&"function"===typeof e[E])return e[E]();if("symbol"!==c&&"function"===typeof e.inspect)return e.inspect()}if($(e)){var C=[];return a.call(e,(function(t,n){C.push(f(n,e,!0)+" => "+f(t,e))})),nt("Map",o.call(e),C,h)}if(G(e)){var F=[];return u.call(e,(function(t){F.push(f(t,e))})),nt("Set",l.call(e),F,h)}if(X(e))return et("WeakMap");if(Z(e))return et("WeakSet");if(q(e))return et("WeakRef");if(N(e))return tt(f(Number(e)));if(B(e))return tt(f(w.call(e)));if(Y(e))return tt(v.call(e));if(R(e))return tt(f(String(e)));if(!D(e)&&!j(e)){var Q=at(e,f),st=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,ct=e instanceof Object?"":"null prototype",lt=!st&&L&&Object(e)===e&&L in e?V(e).slice(8,-1):ct?"Object":"",ut=st||"function"!==typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",dt=ut+(lt||ct?"["+[].concat(lt||[],ct||[]).join(": ")+"] ":"");return 0===Q.length?dt+"{}":h?dt+"{"+ot(Q,h)+"}":dt+"{ "+Q.join(", ")+" }"}return String(e)};var F=Object.prototype.hasOwnProperty||function(t){return t in this};function H(t,e){return F.call(t,e)}function V(t){return _.call(t)}function U(t){if(t.name)return t.name;var e=b.call(y.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function W(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}function $(t){if(!o||!t||"object"!==typeof t)return!1;try{o.call(t);try{l.call(t)}catch(e){return!0}return t instanceof Map}catch(n){}return!1}function X(t){if(!h||!t||"object"!==typeof t)return!1;try{h.call(t,h);try{p.call(t,p)}catch(e){return!0}return t instanceof WeakMap}catch(n){}return!1}function q(t){if(!g||!t||"object"!==typeof t)return!1;try{return g.call(t),!0}catch(e){}return!1}function G(t){if(!l||!t||"object"!==typeof t)return!1;try{l.call(t);try{o.call(t)}catch(e){return!0}return t instanceof Set}catch(n){}return!1}function Z(t){if(!p||!t||"object"!==typeof t)return!1;try{p.call(t,p);try{h.call(t,h)}catch(e){return!0}return t instanceof WeakSet}catch(n){}return!1}function J(t){return!(!t||"object"!==typeof t)&&("undefined"!==typeof HTMLElement&&t instanceof HTMLElement||"string"===typeof t.nodeName&&"function"===typeof t.getAttribute)}function K(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return K(t.slice(0,e.maxStringLength),e)+i}var r=t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,Q);return A(r,"single",e)}function Q(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function tt(t){return"Object("+t+")"}function et(t){return t+" { ? }"}function nt(t,e,n,i){var r=i?ot(n,i):n.join(", ");return t+" ("+e+") {"+r+"}"}function it(t){for(var e=0;e<t.length;e++)if(W(t[e],"\n")>=0)return!1;return!0}function rt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}function ot(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function at(t,e){var n=P(t),i=[];if(n){i.length=t.length;for(var r=0;r<t.length;r++)i[r]=H(t,r)?e(t[r],t):""}var o,a="function"===typeof k?k(t):[];if(T){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var c in t)H(t,c)&&(n&&String(Number(c))===c&&c<t.length||T&&o["$"+c]instanceof Symbol||(/[^\
69w$]/.test(c)?i.push(e(c,t)+": "+e(t[c],t)):i.push(c+": "+e(t[c],t))));if("function"===typeof k)for(var l=0;l<a.length;l++)M.call(t,a[l])&&i.push("["+e(a[l])+"]: "+e(t[a[l]],t));return i}},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return i}))},"28b3":function(t,e,n){"use strict";var i=n("c010"),r=n("fe6c"),o=n("be23");t.exports={formats:o,parse:r,stringify:i}},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("6b75");function r(t){if(Array.isArray(t))return Object(i["a"])(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630");function o(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var a=n("06c5");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t){return r(t)||o(t)||Object(a["a"])(t)||s()}},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,529 bytes, lines 70-71
70//! moment.js locale configuration 71var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [nÄm] YYYY",LLL:"D MMMM [nÄm] YYYY HH:mm",LLLL:"dddd, D MMMM [nÄm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngà y mai lúc] LT",nextWeek:"dddd [tuần tá»i lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trưá»c lúc] LT",sameElse:"L"},relativeTime:{future:"%s tá»i",past:"%s trưá»c",s:"và i giây",ss:"%d giây",m:"má»t phút",mm:"%d phút",h:"má»t giá»",hh:"%d giá»",d:"má»t ngà y",dd:"%d ngà y",w:"má»t tuần",ww:"%d tuần",M:"má»t tháng",MM:"%d tháng",y:"má»t nÄm",yy:"%d nÄm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"293c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 14,069 bytes, lines 72-73
72//! moment.js locale configuration 73var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){var t=["[proÅ¡le] [nedjelje] [u] LT","[proÅ¡log] [ponedjeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srijede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},2954:function(t,e,n){"use strict";var i=n("ebb5"),r=n("b6b7"),o=n("d039"),a=i.aTypedArray,s=i.exportTypedArrayMethod,c=[].slice,l=o((function(){new Int8Array(1).slice()}));s("slice",(function(t,e){var n=c.call(a(this),t,e),i=r(this),o=0,s=n.length,l=new i(s);while(s>o)l[o]=n[o++];return l}),l)},"2a62":function(t,e,n){var i=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return i(e.call(t)).value}},"2af1":function(t,e,n){var i=n("23e7"),r=n("f748");i({target:"Math",stat:!0},{sign:r})},"2b3d":function(t,e,n){"use strict";n("3ca3");var i,r=n("23e7"),o=n("83ab"),a=n("0d3b"),s=n("da84"),c=n("37e8"),l=n("6eeb"),u=n("19aa"),d=n("5135"),h=n("60da"),f=n("4df4"),p=n("6547").codeAt,m=n("5fb2"),g=n("577e"),v=n("d44e"),_=n("9861"),y=n("69f3"),b=s.URL,w=_.URLSearchParams,k=_.getState,x=y.set,T=y.getterFor("URL"),M=Math.floor,S=Math.pow,C="Invalid authority",E="Invalid scheme",L="Invalid host",A="Invalid port",O=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,D=/\d/,j=/^0x/i,I=/^[0-7]+$/,R=/^\d+$/,N=/^[\dA-Fa-f]+$/,Y=/[\0\t\n\r #%/:<>?@[\\\]^|]/,z=/[\0\t\n\r #/:<>?@[\\\]^|]/,B=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,F=/[\t\n\r]/g,H=function(t,e){var n,i,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return L;if(n=U(e.slice(1,-1)),!n)return L;t.host=n}else if(Q(t)){if(e=m(e),Y.test(e))return L;if(n=V(e),null===n)return L;t.host=n}else{if(z.test(e))return L;for(n="",i=f(e),r=0;r<i.length;r++)n+=J(i[r],X);t.host=n}},V=function(t){var e,n,i,r,o,a,s,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),e=c.length,e>4)return t;for(n=[],i=0;i<e;i++){if(r=c[i],""==r)return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=j.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)a=0;else{if(!(10==o?R:8==o?I:N).test(r))return t;a=parseInt(r,o)}n.push(a)}for(i=0;i<e;i++)if(a=n[i],i==e-1){if(a>=S(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*S(256,3-i);return s},U=function(t){var e,n,i,r,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,h=function(){return t.charAt(d)};if(":"==h()){if(":"!=t.charAt(1))return;d+=2,l++,u=l}while(h()){if(8==l)return;if(":"!=h()){e=n=0;while(n<4&&N.test(h()))e=16*e+parseInt(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,l>6)return;i=0;while(h()){if(r=null,i>0){if(!("."==h()&&i<4))return;d++}if(!D.test(h()))return;while(D.test(h())){if(o=parseInt(h(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;d++}c[l]=256*c[l]+r,i++,2!=i&&4!=i||l++}if(4!=i)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;c[l++]=e}else{if(null!==u)return;d++,l++,u=l}}if(null!==u){a=l-u,l=7;while(0!=l&&a>0)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s}else if(8!=l)return;return c},W=function(t){for(var e=null,n=1,i=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(e=i,n=r),e},$=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=M(t/256);return e.join(".")}if("object"==typeof t){for(e="",i=W(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},X={},q=h({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),G=h({},q,{"#":1,"?":1,"{":1,"}":1}),Z=h({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(t,e){var n=p(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(t){return d(K,t.scheme)},tt=function(t){return""!=t.username||""!=t.password},et=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},nt=function(t,e){var n;return 2==t.length&&O.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},it=function(t){var e;return t.length>1&&nt(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},rt=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&nt(e[0],!0)||e.pop()},ot=function(t){return"."===t||"%2e"===t.toLowerCase()},at=function(t){return t=t.toLowerCase(),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},st={},ct={},lt={},ut={},dt={},ht={},ft={},pt={},mt={},gt={},vt={},_t={},yt={},bt={},wt={},kt={},xt={},Tt={},Mt={},St={},Ct={},Et=function(t,e,n,r){var o,a,s,c,l=n||st,u=0,h="",p=!1,m=!1,g=!1;n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(B,"")),e=e.replace(F,""),o=f(e);while(u<=o.length){switch(a=o[u],l){case st:if(!a||!O.test(a)){if(n)return E;l=lt;continue}h+=a.toLowerCase(),l=ct;break;case ct:if(a&&(P.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return E;h="",l=lt,u=0;continue}if(n&&(Q(t)!=d(K,h)||"file"==h&&(tt(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Q(t)&&K[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?l=bt:Q(t)&&r&&r.scheme==t.scheme?l=ut:Q(t)?l=pt:"/"==o[u+1]?(l=dt,u++):(t.cannotBeABaseURL=!0,t.path.push(""),l=Mt)}break;case lt:if(!r||r.cannotBeABaseURL&&"#"!=a)return E;if(r.cannotBeABaseURL&&"#"==a){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,l=Ct;break}l="file"==r.scheme?bt:ht;continue;case ut:if("/"!=a||"/"!=o[u+1]){l=ht;continue}l=mt,u++;break;case dt:if("/"==a){l=gt;break}l=Tt;continue;case ht:if(t.scheme=r.scheme,a==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==a||"\\"==a&&Q(t))l=ft;else if("?"==a)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",l=St;else{if("#"!=a){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),l=Tt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",l=Ct}break;case ft:if(!Q(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,l=Tt;continue}l=gt}else l=mt;break;case pt:if(l=mt,"/"!=a||"/"!=h.charAt(u+1))continue;u++;break;case mt:if("/"!=a&&"\\"!=a){l=gt;continue}break;case gt:if("@"==a){p&&(h="%40"+h),p=!0,s=f(h);for(var v=0;v<s.length;v++){var _=s[v];if(":"!=_||g){var y=J(_,Z);g?t.password+=y:t.username+=y}else g=!0}h=""}else if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)){if(p&&""==h)return C;u-=f(h).length+1,h="",l=vt}else h+=a;break;case vt:case _t:if(n&&"file"==t.scheme){l=kt;continue}if(":"!=a||m){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)){if(Q(t)&&""==h)return L;if(n&&""==h&&(tt(t)||null!==t.port))return;if(c=H(t,h),c)return c;if(h="",l=xt,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),h+=a}else{if(""==h)return L;if(c=H(t,h),c)return c;if(h="",l=yt,n==_t)return}break;case yt:if(!D.test(a)){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)||n){if(""!=h){var b=parseInt(h,10);if(b>65535)return A;t.port=Q(t)&&b===K[t.scheme]?null:b,h=""}if(n)return;l=xt;continue}return A}h+=a;break;case bt:if(t.scheme="file","/"==a||"\\"==a)l=wt;else{if(!r||"file"!=r.scheme){l=Tt;continue}if(a==i)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==a)t.host=r.host,t.path=r.path.slice(),t.query="",l=St;else{if("#"!=a){it(o.slice(u).join(""))||(t.host=r.host,t.path=r.path.slice(),rt(t)),l=Tt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",l=Ct}}break;case wt:if("/"==a||"\\"==a){l=kt;break}r&&"file"==r.scheme&&!it(o.slice(u).join(""))&&(nt(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),l=Tt;continue;case kt:if(a==i||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&nt(h))l=Tt;else if(""==h){if(t.host="",n)return;l=xt}else{if(c=H(t,h),c)return c;if("localhost"==t.host&&(t.host=""),n)return;h="",l=xt}continue}h+=a;break;case xt:if(Q(t)){if(l=Tt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=i&&(l=Tt,"/"!=a))continue}else t.fragment="",l=Ct;else t.query="",l=St;break;case Tt:if(a==i||"/"==a||"\\"==a&&Q(t)||!n&&("?"==a||"#"==a)){if(at(h)?(rt(t),"/"==a||"\\"==a&&Q(t)||t.path.push("")):ot(h)?"/"==a||"\\"==a&&Q(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&nt(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(a==i||"?"==a||"#"==a))while(t.path.length>1&&""===t.path[0])t.path.shift();"?"==a?(t.query="",l=St):"#"==a&&(t.fragment="",l=Ct)}else h+=J(a,G);break;case Mt:"?"==a?(t.query="",l=St):"#"==a?(t.fragment="",l=Ct):a!=i&&(t.path[0]+=J(a,X));break;case St:n||"#"!=a?a!=i&&("'"==a&&Q(t)?t.query+="%27":t.query+="#"==a?"%23":J(a,X)):(t.fragment="",l=Ct);break;case Ct:a!=i&&(t.fragment+=J(a,q));break}u++}},Lt=function(t){var e,n,i=u(this,Lt,"URL"),r=arguments.length>1?arguments[1]:void 0,a=g(t),s=x(i,{type:"URL"});if(void 0!==r)if(r instanceof Lt)e=T(r);else if(n=Et(e={},g(r)),n)throw TypeError(n);if(n=Et(s,a,null,e),n)throw TypeError(n);var c=s.searchParams=new w,l=k(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(i.href=Ot.call(i),i.origin=Pt.call(i),i.protocol=Dt.call(i),i.username=jt.call(i),i.password=It.call(i),i.host=Rt.call(i),i.hostname=Nt.call(i),i.port=Yt.call(i),i.pathname=zt.call(i),i.search=Bt.call(i),i.searchParams=Ft.call(i),i.hash=Ht.call(i))},At=Lt.prototype,Ot=function(){var t=T(this),e=t.scheme,n=t.username,i=t.password,r=t.host,o=t.port,a=t.path,s=t.query,c=t.fragment,l=e+":";return null!==r?(l+="//",tt(t)&&(l+=n+(i?":"+i:"")+"@"),l+=$(r),null!==o&&(l+=":"+o)):"file"==e&&(l+="//"),l+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Pt=function(){var t=T(this),e=t.scheme,n=t.port;if("blob"==e)try{return new Lt(e.path[0]).origin}catch(i){return"null"}return"file"!=e&&Q(t)?e+"://"+$(t.host)+(null!==n?":"+n:""):"null"},Dt=function(){return T(this).scheme+":"},jt=function(){return T(this).username},It=function(){return T(this).password},Rt=function(){var t=T(this),e=t.host,n=t.port;return null===e?"":null===n?$(e):$(e)+":"+n},Nt=function(){var t=T(this).host;return null===t?"":$(t)},Yt=function(){var t=T(this).port;return null===t?"":String(t)},zt=function(){var t=T(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Bt=function(){var t=T(this).query;return t?"?"+t:""},Ft=function(){return T(this).searchParams},Ht=function(){var t=T(this).fragment;return t?"#"+t:""},Vt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&c(At,{href:Vt(Ot,(function(t){var e=T(this),n=g(t),i=Et(e,n);if(i)throw TypeError(i);k(e.searchParams).updateSearchParams(e.query)})),origin:Vt(Pt),protocol:Vt(Dt,(function(t){var e=T(this);Et(e,g(t)+":",st)})),username:Vt(jt,(function(t){var e=T(this),n=f(g(t));if(!et(e)){e.username="";for(var i=0;i<n.length;i++)e.username+=J(n[i],Z)}})),password:Vt(It,(function(t){var e=T(this),n=f(g(t));if(!et(e)){e.password="";for(var i=0;i<n.length;i++)e.password+=J(n[i],Z)}})),host:Vt(Rt,(function(t){var e=T(this);e.cannotBeABaseURL||Et(e,g(t),vt)})),hostname:Vt(Nt,(function(t){var e=T(this);e.cannotBeABaseURL||Et(e,g(t),_t)})),port:Vt(Yt,(function(t){var e=T(this);et(e)||(t=g(t),""==t?e.port=null:Et(e,t,yt))})),pathname:Vt(zt,(function(t){var e=T(this);e.cannotBeABaseURL||(e.path=[],Et(e,g(t),xt))})),search:Vt(Bt,(function(t){var e=T(this);t=g(t),""==t?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Et(e,t,St)),k(e.searchParams).updateSearchParams(e.query)})),searchParams:Vt(Ft),hash:Vt(Ht,(function(t){var e=T(this);t=g(t),""!=t?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Et(e,t,Ct)):e.fragment=null}))}),l(At,"toJSON",(function(){return Ot.call(this)}),{enumerable:!0}),l(At,"toString",(function(){return Ot.call(this)}),{enumerable:!0}),b){var Ut=b.createObjectURL,Wt=b.revokeObjectURL;Ut&&l(Lt,"createObjectURL",(function(t){return Ut.apply(b,arguments)})),Wt&&l(Lt,"revokeObjectURL",(function(t){return Wt.apply(b,arguments)}))}v(Lt,"URL"),r({global:!0,forced:!a,sham:!o},{URL:Lt})},"2b8c":function(t,e,n){var i=n("be09"),r=t.exports={WebVTT:n("d02c"),VTTCue:n("b03c"),VTTRegion:n("f97d")};i.vttjs=r,i.WebVTT=r.WebVTT;var o=r.VTTCue,a=r.VTTRegion,s=i.VTTCue,c=i.VTTRegion;r.shim=function(){i.VTTCue=o,i.VTTRegion=a},r.restore=function(){i.VTTCue=s,i.VTTRegion=c},i.VTTCue||r.shim()},"2bfb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
74//! moment.js locale configuration 75var e=t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return e}))},"2ca0":function(t,e,n){"use strict";var i=n("23e7"),r=n("06cf").f,o=n("50c4"),a=n("577e"),s=n("5a34"),c=n("1d80"),l=n("ab13"),u=n("c430"),d="".startsWith,h=Math.min,f=l("startsWith"),p=!u&&!f&&!!function(){var t=r(String.prototype,"startsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!p&&!f},{startsWith:function(t){var e=a(c(this));s(t);var n=o(h(arguments.length>1?arguments[1]:void 0,e.length)),i=a(t);return d?d.call(e,i,n):e.slice(n,n+i.length)===i}})},"2cf4":function(t,e,n){var i,r,o,a,s=n("da84"),c=n("d039"),l=n("0366"),u=n("1be4"),d=n("cc12"),h=n("1cdc"),f=n("605d"),p=s.setImmediate,m=s.clearImmediate,g=s.process,v=s.MessageChannel,_=s.Dispatch,y=0,b={},w="onreadystatechange";try{i=s.location}catch(S){}var k=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},x=function(t){return function(){k(t)}},T=function(t){k(t.data)},M=function(t){s.postMessage(String(t),i.protocol+"//"+i.host)};p&&m||(p=function(t){var e=[],n=arguments.length,i=1;while(n>i)e.push(arguments[i++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},m=function(t){delete b[t]},f?r=function(t){g.nextTick(x(t))}:_&&_.now?r=function(t){_.now(x(t))}:v&&!h?(o=new v,a=o.port2,o.port1.onmessage=T,r=l(a.postMessage,a,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&i&&"file:"!==i.protocol&&!c(M)?(r=M,s.addEventListener("message",T,!1)):r=w in d("script")?function(t){u.appendChild(d("script"))[w]=function(){u.removeChild(this),k(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:p,clear:m}},"2d00":function(t,e,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u?(i=u.split("."),r=i[0]<4?1:i[0]+i[1]):a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=i[1]))),t.exports=r&&+r},"2d14":function(t,e,n){"use strict";n("d3b7"),n("159b");var i=n("4d13"),r=n("f3e5"),o=n("47cc"),a=n("2409"),s=n("2247"),c=n("829a"),l=n("905a");t.exports=function(t){return new Promise((function(e,u){var d=t.data,h=t.headers;i.isFormData(d)&&delete h["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",m=t.auth.password||"";h.Authorization="Basic "+btoa(p+":"+m)}var g=a(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),o(g,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?f.response:f.responseText,o={data:i,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,u,o),f=null}},f.onabort=function(){f&&(u(l("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(l("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),u(l(e,t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var v=n("3bea"),_=(t.withCredentials||c(g))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;_&&(h[t.xsrfHeaderName]=_)}
75if("setRequestHeader"in f&&i.forEach(h,(function(t,e){"undefined"===typeof d&&"content-type"===e.toLowerCase()?delete h[e]:f.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),u(t),f=null)})),void 0===d&&(d=null),f.send(d)}))}},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2e8c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 76//! moment.js locale configuration 77var e=t.defineLocale("uz",{months:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба".split("_"),weekdaysShort:"ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан".split("_"),weekdaysMin:"Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[ÐÑгÑн ÑоаÑ] LT [да]",nextDay:"[ÐÑÑага] LT [да]",nextWeek:"dddd [кÑни ÑоаÑ] LT [да]",lastDay:"[ÐеÑа ÑоаÑ] LT [да]",lastWeek:"[УÑган] dddd [кÑни ÑоаÑ] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s иÑида",past:"ÐÐ¸Ñ Ð½ÐµÑа %s олдин",s:"ÑÑÑÑаÑ",ss:"%d ÑÑÑÑаÑ",m:"Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°",mm:"%d дакика",h:"Ð±Ð¸Ñ ÑоаÑ",hh:"%d ÑоаÑ",d:"Ð±Ð¸Ñ ÐºÑн",dd:"%d кÑн",M:"Ð±Ð¸Ñ Ð¾Ð¹",MM:"%d ой",y:"Ð±Ð¸Ñ Ð¹Ð¸Ð»",yy:"%d йил"},week:{dow:1,doy:7}});return e}))},"2ebd":function(t,e,n){n("2693"),t.exports=n("5524").Object.getPrototypeOf},"2ef0":function(t,e,n){(function(t,i){var r; 78/** 79 * @license 80 * Lodash <https://lodash.com/> 81 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 82 * Released under MIT license <https://lodash.com/license> 83 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 84 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 85 */(function(){var o,a="4.17.21",s=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,f="__lodash_placeholder__",p=1,m=2,g=4,v=1,_=2,y=1,b=2,w=4,k=8,x=16,T=32,M=64,S=128,C=256,E=512,L=30,A="...",O=800,P=16,D=1,j=2,I=3,R=1/0,N=9007199254740991,Y=17976931348623157e292,z=NaN,B=4294967295,F=B-1,H=B>>>1,V=[["ary",S],["bind",y],["bindKey",b],["curry",k],["curryRight",x],["flip",E],["partial",T],["partialRight",M],["rearg",C]],U="[object Arguments]",W="[object Array]",$="[object AsyncFunction]",X="[object Boolean]",q="[object Date]",G="[object DOMException]",Z="[object Error]",J="[object Function]",K="[object GeneratorFunction]",Q="[object Map]",tt="[object Number]",et="[object Null]",nt="[object Object]",it="[object Promise]",rt="[object Proxy]",ot="[object RegExp]",at="[object Set]",st="[object String]",ct="[object Symbol]",lt="[object Undefined]",ut="[object WeakMap]",dt="[object WeakSet]",ht="[object ArrayBuffer]",ft="[object DataView]",pt="[object Float32Array]",mt="[object Float64Array]",gt="[object Int8Array]",vt="[object Int16Array]",_t="[object Int32Array]",yt="[object Uint8Array]",bt="[object Uint8ClampedArray]",wt="[object Uint16Array]",kt="[object Uint32Array]",xt=/\b__p \+= '';/g,Tt=/\b(__p \+=) '' \+/g,Mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,St=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,Et=RegExp(St.source),Lt=RegExp(Ct.source),At=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g,Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/,It=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}
vendor: 4,821 bytes, line 85
85|]/g,Nt=RegExp(Rt.source),Yt=/^\s+/,zt=/\s/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Ht=/,? & /,Vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ut=/[()=,{}\[\]\/\s]/,Wt=/\\(\\)?/g,$t=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Xt=/\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,ne="\\ud800-\\udfff",ie="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ae=ie+re+oe,se="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",le="\\xac\\xb1\\xd7\\xf7",ue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",de="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",me=le+ue+de+he,ge="['â]",ve="["+ne+"]",_e="["+me+"]",ye="["+ae+"]",be="\\d+",we="["+se+"]",ke="["+ce+"]",xe="[^"+ne+me+be+se+ce+fe+"]",Te="\\ud83c[\\udffb-\\udfff]",Me="(?:"+ye+"|"+Te+")",Se="[^"+ne+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="["+fe+"]",Ae="\\u200d",Oe="(?:"+ke+"|"+xe+")",Pe="(?:"+Le+"|"+xe+")",De="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",je="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",Ie=Me+"?",Re="["+pe+"]?",Ne="(?:"+Ae+"(?:"+[Se,Ce,Ee].join("|")+")"+Re+Ie+")*",Ye="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ze="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Be=Re+Ie+Ne,Fe="(?:"+[we,Ce,Ee].join("|")+")"+Be,He="(?:"+[Se+ye+"?",ye,Ce,Ee,ve].join("|")+")",Ve=RegExp(ge,"g"),Ue=RegExp(ye,"g"),We=RegExp(Te+"(?="+Te+")|"+He+Be,"g"),$e=RegExp([Le+"?"+ke+"+"+De+"(?="+[_e,Le,"$"].join("|")+")",Pe+"+"+je+"(?="+[_e,Le+Oe,"$"].join("|")+")",Le+"?"+Oe+"+"+De,Le+"+"+je,ze,Ye,be,Fe].join("|"),"g"),Xe=RegExp("["+Ae+ne+ae+pe+"]"),qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ge=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ze=-1,Je={};Je[pt]=Je[mt]=Je[gt]=Je[vt]=Je[_t]=Je[yt]=Je[bt]=Je[wt]=Je[kt]=!0,Je[U]=Je[W]=Je[ht]=Je[X]=Je[ft]=Je[q]=Je[Z]=Je[J]=Je[Q]=Je[tt]=Je[nt]=Je[ot]=Je[at]=Je[st]=Je[ut]=!1;var Ke={};Ke[U]=Ke[W]=Ke[ht]=Ke[ft]=Ke[X]=Ke[q]=Ke[pt]=Ke[mt]=Ke[gt]=Ke[vt]=Ke[_t]=Ke[Q]=Ke[tt]=Ke[nt]=Ke[ot]=Ke[at]=Ke[st]=Ke[ct]=Ke[yt]=Ke[bt]=Ke[wt]=Ke[kt]=!0,Ke[Z]=Ke[J]=Ke[ut]=!1;var Qe={"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"},tn={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,an="object"==typeof t&&t&&t.Object===Object&&t,sn="object"==typeof self&&self&&self.Object===Object&&self,cn=an||sn||Function("return this")(),ln=e&&!e.nodeType&&e,un=ln&&"object"==typeof i&&i&&
vendor: 64,464 bytes, line 85
85!i.nodeType&&i,dn=un&&un.exports===ln,hn=dn&&an.process,fn=function(){try{var t=un&&un.require&&un.require("util").types;return t||hn&&hn.binding&&hn.binding("util")}catch(e){}}(),pn=fn&&fn.isArrayBuffer,mn=fn&&fn.isDate,gn=fn&&fn.isMap,vn=fn&&fn.isRegExp,_n=fn&&fn.isSet,yn=fn&&fn.isTypedArray;function bn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function wn(t,e,n,i){var r=-1,o=null==t?0:t.length;while(++r<o){var a=t[r];e(i,a,n(a),t)}return i}function kn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!1===e(t[n],n,t))break;return t}function xn(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function Tn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!e(t[n],n,t))return!1;return!0}function Mn(t,e){var n=-1,i=null==t?0:t.length,r=0,o=[];while(++n<i){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function Sn(t,e){var n=null==t?0:t.length;return!!n&&Yn(t,e,0)>-1}function Cn(t,e,n){var i=-1,r=null==t?0:t.length;while(++i<r)if(n(e,t[i]))return!0;return!1}function En(t,e){var n=-1,i=null==t?0:t.length,r=Array(i);while(++n<i)r[n]=e(t[n],n,t);return r}function Ln(t,e){var n=-1,i=e.length,r=t.length;while(++n<i)t[r+n]=e[n];return t}function An(t,e,n,i){var r=-1,o=null==t?0:t.length;i&&o&&(n=t[++r]);while(++r<o)n=e(n,t[r],r,t);return n}function On(t,e,n,i){var r=null==t?0:t.length;i&&r&&(n=t[--r]);while(r--)n=e(n,t[r],r,t);return n}function Pn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(e(t[n],n,t))return!0;return!1}var Dn=Hn("length");function jn(t){return t.split("")}function In(t){return t.match(Vt)||[]}function Rn(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Nn(t,e,n,i){var r=t.length,o=n+(i?1:-1);while(i?o--:++o<r)if(e(t[o],o,t))return o;return-1}function Yn(t,e,n){return e===e?pi(t,e,n):Nn(t,Bn,n)}function zn(t,e,n,i){var r=n-1,o=t.length;while(++r<o)if(i(t[r],e))return r;return-1}function Bn(t){return t!==t}function Fn(t,e){var n=null==t?0:t.length;return n?$n(t,e)/n:z}function Hn(t){return function(e){return null==e?o:e[t]}}function Vn(t){return function(e){return null==t?o:t[e]}}function Un(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function Wn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function $n(t,e){var n,i=-1,r=t.length;while(++i<r){var a=e(t[i]);a!==o&&(n=n===o?a:n+a)}return n}function Xn(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}function qn(t,e){return En(e,(function(e){return[e,t[e]]}))}function Gn(t){return t?t.slice(0,_i(t)+1).replace(Yt,""):t}function Zn(t){return function(e){return t(e)}}function Jn(t,e){return En(e,(function(e){return t[e]}))}function Kn(t,e){return t.has(e)}function Qn(t,e){var n=-1,i=t.length;while(++n<i&&Yn(e,t[n],0)>-1);return n}function ti(t,e){var n=t.length;while(n--&&Yn(e,t[n],0)>-1);return n}function ei(t,e){var n=t.length,i=0;while(n--)t[n]===e&&++i;return i}var ni=Vn(Qe),ii=Vn(tn);function ri(t){return"\\"+nn[t]}function oi(t,e){return null==t?o:t[e]}function ai(t){return Xe.test(t)}function si(t){return qe.test(t)}function ci(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function li(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function ui(t,e){return function(n){return t(e(n))}}function di(t,e){var n=-1,i=t.length,r=0,o=[];while(++n<i){var a=t[n];a!==e&&a!==f||(t[n]=f,o[r++]=n)}return o}function hi(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function fi(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pi(t,e,n){var i=n-1,r=t.length;while(++i<r)if(t[i]===e)return i;return-1}function mi(t,e,n){var i=n+1;while(i--)if(t[i]===e)return i;return i}function gi(t){return ai(t)?bi(t):Dn(t)}function vi(t){return ai(t)?wi(t):jn(t)}function _i(t){var e=t.length;while(e--&&zt.test(t.charAt(e)));return e}var yi=Vn(en);function bi(t){var e=We.lastIndex=0;while(We.test(t))++e;return e}function wi(t){return t.match(We)||[]}function ki(t){return t.match($e)||[]}var xi=function t(e){e=null==e?cn:Ti.defaults(cn.Object(),e,Ti.pick(cn,Ge));var n=e.Array,i=e.Date,r=e.Error,zt=e.Function,Vt=e.Math,ne=e.Object,ie=e.RegExp,re=e.String,oe=e.TypeError,ae=n.prototype,se=zt.prototype,ce=ne.prototype,le=e["__core-js_shared__"],ue=se.toString,de=ce.hasOwnProperty,he=0,fe=function(){var t=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=ce.toString,me=ue.call(ne),ge=cn._,ve=ie("^"+ue.call(de).replace(Rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_e=dn?e.Buffer:o,ye=e.Symbol,be=e.Uint8Array,we=_e?_e.allocUnsafe:o,ke=ui(ne.getPrototypeOf,ne),xe=ne.create,Te=ce.propertyIsEnumerable,Me=ae.splice,Se=ye?ye.isConcatSpreadable:o,Ce=ye?ye.iterator:o,Ee=ye?ye.toStringTag:o,Le=function(){try{var t=Xa(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ae=e.clearTimeout!==cn.clearTimeout&&e.clearTimeout,Oe=i&&i.now!==cn.Date.now&&i.now,Pe=e.setTimeout!==cn.setTimeout&&e.setTimeout,De=Vt.ceil,je=Vt.floor,Ie=ne.getOwnPropertySymbols,Re=_e?_e.isBuffer:o,Ne=e.isFinite,Ye=ae.join,ze=ui(ne.keys,ne),Be=Vt.max,Fe=Vt.min,He=i.now,We=e.parseInt,$e=Vt.random,Xe=ae.reverse,qe=Xa(e,"DataView"),Qe=Xa(e,"Map"),tn=Xa(e,"Promise"),en=Xa(e,"Set"),nn=Xa(e,"WeakMap"),an=Xa(ne,"create"),sn=nn&&new nn,ln={},un=Ps(qe),hn=Ps(Qe),fn=Ps(tn),Dn=Ps(en),jn=Ps(nn),Vn=ye?ye.prototype:o,pi=Vn?Vn.valueOf:o,bi=Vn?Vn.toString:o;function wi(t){if(Mu(t)&&!cu(t)&&!(t instanceof Ci)){if(t instanceof Si)return t;if(de.call(t,"__wrapped__"))return js(t)}return new Si(t)}var xi=function(){function t(){}return function(e){if(!Tu(e))return{};if(xe)return xe(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Mi(){}function Si(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Ci(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function Ei(){var t=new Ci(this.__wrapped__);return t.__actions__=ra(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ra(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ra(this.__views__),t}function Li(){if(this.__filtered__){var t=new Ci(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ai(){var t=this.__wrapped__.value(),e=this.__dir__,n=cu(t),i=e<0,r=n?t.length:0,o=Ka(0,r,this.__views__),a=o.start,s=o.end,c=s-a,l=i?s:a-1,u=this.__iteratees__,d=u.length,h=0,f=Fe(c,this.__takeCount__);if(!n||!i&&r==c&&f==c)return zo(t,this.__actions__);var p=[];t:while(c--&&h<f){l+=e;var m=-1,g=t[l];while(++m<d){var v=u[m],_=v.iteratee,y=v.type,b=_(g);if(y==j)g=b;else if(!b){if(y==D)continue t;break t}}p[h++]=g}return p}function Oi(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Pi(){this.__data__=an?an(null):{},this.size=0}function Di(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function ji(t){var e=this.__data__;if(an){var n=e[t];return n===d?o:n}return de.call(e,t)?e[t]:o}function Ii(t){var e=this.__data__;return an?e[t]!==o:de.call(e,t)}function Ri(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=an&&e===o?d:e,this}function Ni(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Yi(){this.__data__=[],this.size=0}function zi(t){var e=this.__data__,n=ur(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():Me.call(e,n,1),--this.size,!0}function Bi(t){var e=this.__data__,n=ur(e,t);return n<0?o:e[n][1]}function Fi(t){return ur(this.__data__,t)>-1}function Hi(t,e){var n=this.__data__,i=ur(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Vi(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Ui(){this.size=0,this.__data__={hash:new Oi,map:new(Qe||Ni),string:new Oi}}function Wi(t){var e=Wa(this,t)["delete"](t);return this.size-=e?1:0,e}function $i(t){return Wa(this,t).get(t)}function Xi(t){return Wa(this,t).has(t)}function qi(t,e){var n=Wa(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function Gi(t){var e=-1,n=null==t?0:t.length;this.__data__=new Vi;while(++e<n)this.add(t[e])}function Zi(t){return this.__data__.set(t,d),this}function Ji(t){return this.__data__.has(t)}function Ki(t){var e=this.__data__=new Ni(t);this.size=e.size}function Qi(){this.__data__=new Ni,this.size=0}function tr(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function er(t){return this.__data__.get(t)}function nr(t){return this.__data__.has(t)}function ir(t,e){var n=this.__data__;if(n instanceof Ni){var i=n.__data__;if(!Qe||i.length<s-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vi(i)}return n.set(t,e),this.size=n.size,this}function rr(t,e){var n=cu(t),i=!n&&su(t),r=!n&&!i&&fu(t),o=!n&&!i&&!r&&Bu(t),a=n||i||r||o,s=a?Xn(t.length,re):[],c=s.length;for(var l in t)!e&&!de.call(t,l)||a&&("length"==l||r&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||as(l,c))||s.push(l);return s}function or(t){var e=t.length;return e?t[_o(0,e-1)]:o}function ar(t,e){return Ls(ra(t),gr(e,0,t.length))}function sr(t){return Ls(ra(t))}function cr(t,e,n){(n!==o&&!ru(t[e],n)||n===o&&!(e in t))&&pr(t,e,n)}function lr(t,e,n){var i=t[e];de.call(t,e)&&ru(i,n)&&(n!==o||e in t)||pr(t,e,n)}function ur(t,e){var n=t.length;while(n--)if(ru(t[n][0],e))return n;return-1}function dr(t,e,n,i){return kr(t,(function(t,r,o){e(i,t,n(t),o)})),i}function hr(t,e){return t&&oa(e,kd(e),t)}function fr(t,e){return t&&oa(e,xd(e),t)}function pr(t,e,n){"__proto__"==e&&Le?Le(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function mr(t,e){var i=-1,r=e.length,a=n(r),s=null==t;while(++i<r)a[i]=s?o:gd(t,e[i]);return a}function gr(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function vr(t,e,n,i,r,a){var s,c=e&p,l=e&m,u=e&g;if(n&&(s=r?n(t,i,r,a):n(t)),s!==o)return s;if(!Tu(t))return t;var d=cu(t);if(d){if(s=es(t),!c)return ra(t,s)}else{var h=Ja(t),f=h==J||h==K;if(fu(t))return qo(t,c);if(h==nt||h==U||f&&!r){if(s=l||f?{}:ns(t),!c)return l?sa(t,fr(s,t)):aa(t,hr(s,t))}else{if(!Ke[h])return r?t:{};s=is(t,h,c)}}a||(a=new Ki);var v=a.get(t);if(v)return v;a.set(t,s),Nu(t)?t.forEach((function(i){s.add(vr(i,e,n,i,t,a))})):Su(t)&&t.forEach((function(i,r){s.set(r,vr(i,e,n,r,t,a))}));var _=u?l?Ba:za:l?xd:kd,y=d?o:_(t);return kn(y||t,(function(i,r){y&&(r=i,i=t[r]),lr(s,r,vr(i,e,n,r,t,a))})),s}function _r(t){var e=kd(t);return function(n){return yr(n,t,e)}}function yr(t,e,n){var i=n.length;if(null==t)return!i;t=ne(t);while(i--){var r=n[i],a=e[r],s=t[r];if(s===o&&!(r in t)||!a(s))return!1}return!0}function br(t,e,n){if("function"!=typeof t)throw new oe(l);return Ms((function(){t.apply(o,n)}),e)}function wr(t,e,n,i){var r=-1,o=Sn,a=!0,c=t.length,l=[],u=e.length;if(!c)return l;n&&(e=En(e,Zn(n))),i?(o=Cn,a=!1):e.length>=s&&(o=Kn,a=!1,e=new Gi(e));t:while(++r<c){var d=t[r],h=null==n?d:n(d);if(d=i||0!==d?d:0,a&&h===h){var f=u;while(f--)if(e[f]===h)continue t;l.push(d)}else o(e,h,i)||l.push(d)}return l}wi.templateSettings={escape:At,evaluate:Ot,interpolate:Pt,variable:"",imports:{_:wi}},wi.prototype=Mi.prototype,wi.prototype.constructor=wi,Si.prototype=xi(Mi.prototype),Si.prototype.constructor=Si,Ci.prototype=xi(Mi.prototype),Ci.prototype.constructor=Ci,Oi.prototype.clear=Pi,Oi.prototype["delete"]=Di,Oi.prototype.get=ji,Oi.prototype.has=Ii,Oi.prototype.set=Ri,Ni.prototype.clear=Yi,Ni.prototype["delete"]=zi,Ni.prototype.get=Bi,Ni.prototype.has=Fi,Ni.prototype.set=Hi,Vi.prototype.clear=Ui,Vi.prototype["delete"]=Wi,Vi.prototype.get=$i,Vi.prototype.has=Xi,Vi.prototype.set=qi,Gi.prototype.add=Gi.prototype.push=Zi,Gi.prototype.has=Ji,Ki.prototype.clear=Qi,Ki.prototype["delete"]=tr,Ki.prototype.get=er,Ki.prototype.has=nr,Ki.prototype.set=ir;var kr=ua(Or),xr=ua(Pr,!0);function Tr(t,e){var n=!0;return kr(t,(function(t,i,r){return n=!!e(t,i,r),n})),n}function Mr(t,e,n){var i=-1,r=t.length;while(++i<r){var a=t[i],s=e(a);if(null!=s&&(c===o?s===s&&!zu(s):n(s,c)))var c=s,l=a}return l}function Sr(t,e,n,i){var r=t.length;n=qu(n),n<0&&(n=-n>r?0:r+n),i=i===o||i>r?r:qu(i),i<0&&(i+=r),i=n>i?0:Gu(i);while(n<i)t[n++]=e;return t}function Cr(t,e){var n=[];return kr(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function Er(t,e,n,i,r){var o=-1,a=t.length;n||(n=os),r||(r=[]);while(++o<a){var s=t[o];e>0&&n(s)?e>1?Er(s,e-1,n,i,r):Ln(r,s):i||(r[r.length]=s)}return r}var Lr=da(),Ar=da(!0);function Or(t,e){return t&&Lr(t,e,kd)}function Pr(t,e){return t&&Ar(t,e,kd)}function Dr(t,e){return Mn(e,(function(e){return wu(t[e])}))}function jr(t,e){e=Uo(e,t);var n=0,i=e.length;while(null!=t&&n<i)t=t[Os(e[n++])];return n&&n==i?t:o}function Ir(t,e,n){var i=e(t);return cu(t)?i:Ln(i,n(t))}function Rr(t){return null==t?t===o?lt:et:Ee&&Ee in ne(t)?qa(t):ys(t)}function Nr(t,e){return t>e}function Yr(t,e){return null!=t&&de.call(t,e)}function zr(t,e){return null!=t&&e in ne(t)}function Br(t,e,n){return t>=Fe(e,n)&&t<Be(e,n)}function Fr(t,e,i){var r=i?Cn:Sn,a=t[0].length,s=t.length,c=s,l=n(s),u=1/0,d=[];while(c--){var h=t[c];c&&e&&(h=En(h,Zn(e))),u=Fe(h.length,u),l[c]=!i&&(e||a>=120&&h.length>=120)?new Gi(c&&h):o}h=t[0];var f=-1,p=l[0];t:while(++f<a&&d.length<u){var m=h[f],g=e?e(m):m;if(m=i||0!==m?m:0,!(p?Kn(p,g):r(d,g,i))){c=s;while(--c){var v=l[c];if(!(v?Kn(v,g):r(t[c],g,i)))continue t}p&&p.push(g),d.push(m)}}return d}function Hr(t,e,n,i){return Or(t,(function(t,r,o){e(i,n(t),r,o)})),i}function Vr(t,e,n){e=Uo(e,t),t=ws(t,e);var i=null==t?t:t[Os(oc(e))];return null==i?o:bn(i,t,n)}function Ur(t){return Mu(t)&&Rr(t)==U}function Wr(t){return Mu(t)&&Rr(t)==ht}function $r(t){return Mu(t)&&Rr(t)==q}function Xr(t,e,n,i,r){return t===e||(null==t||null==e||!Mu(t)&&!Mu(e)?t!==t&&e!==e:qr(t,e,n,i,Xr,r))}function qr(t,e,n,i,r,o){var a=cu(t),s=cu(e),c=a?W:Ja(t),l=s?W:Ja(e);c=c==U?nt:c,l=l==U?nt:l;var u=c==nt,d=l==nt,h=c==l;if(h&&fu(t)){if(!fu(e))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new Ki),a||Bu(t)?Ia(t,e,n,i,r,o):Ra(t,e,c,n,i,r,o);if(!(n&v)){var f=u&&de.call(t,"__wrapped__"),p=d&&de.call(e,"__wrapped__");if(f||p){var m=f?t.value():t,g=p?e.value():e;return o||(o=new Ki),r(m,g,n,i,o)}}return!!h&&(o||(o=new Ki),Na(t,e,n,i,r,o))}function Gr(t){return Mu(t)&&Ja(t)==Q}function Zr(t,e,n,i){var r=n.length,a=r,s=!i;if(null==t)return!a;t=ne(t);while(r--){var c=n[r];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++r<a){c=n[r];var l=c[0],u=t[l],d=c[1];if(s&&c[2]){if(u===o&&!(l in t))return!1}else{var h=new Ki;if(i)var f=i(u,d,l,t,e,h);if(!(f===o?Xr(d,u,v|_,i,h):f))return!1}}return!0}function Jr(t){if(!Tu(t)||ds(t))return!1;var e=wu(t)?ve:Zt;return e.test(Ps(t))}function Kr(t){return Mu(t)&&Rr(t)==ot}function Qr(t){return Mu(t)&&Ja(t)==at}function to(t){return Mu(t)&&xu(t.length)&&!!Je[Rr(t)]}function eo(t){return"function"==typeof t?t:null==t?Ah:"object"==typeof t?cu(t)?so(t[0],t[1]):ao(t):Vh(t)}function no(t){if(!fs(t))return ze(t);var e=[];for(var n in ne(t))de.call(t,n)&&"constructor"!=n&&e.push(n);return e}function io(t){if(!Tu(t))return _s(t);var e=fs(t),n=[];for(var i in t)("constructor"!=i||!e&&de.call(t,i))&&n.push(i);return n}function ro(t,e){return t<e}function oo(t,e){var i=-1,r=uu(t)?n(t.length):[];return kr(t,(function(t,n,o){r[++i]=e(t,n,o)})),r}function ao(t){var e=$a(t);return 1==e.length&&e[0][2]?ms(e[0][0],e[0][1]):function(n){return n===t||Zr(n,t,e)}}function so(t,e){return cs(t)&&ps(e)?ms(Os(t),e):function(n){var i=gd(n,t);return i===o&&i===e?_d(n,t):Xr(e,i,v|_)}}function co(t,e,n,i,r){t!==e&&Lr(e,(function(a,s){if(r||(r=new Ki),Tu(a))lo(t,e,s,n,co,i,r);else{var c=i?i(xs(t,s),a,s+"",t,e,r):o;c===o&&(c=a),cr(t,s,c)}}),xd)}function lo(t,e,n,i,r,a,s){var c=xs(t,n),l=xs(e,n),u=s.get(l);if(u)cr(t,n,u);else{var d=a?a(c,l,n+"",t,e,s):o,h=d===o;if(h){var f=cu(l),p=!f&&fu(l),m=!f&&!p&&Bu(l);d=l,f||p||m?cu(c)?d=c:du(c)?d=ra(c):p?(h=!1,d=qo(l,!0)):m?(h=!1,d=Qo(l,!0)):d=[]:ju(l)||su(l)?(d=c,su(c)?d=Ju(c):Tu(c)&&!wu(c)||(d=ns(l))):h=!1}h&&(s.set(l,d),r(d,l,i,a,s),s["delete"](l)),cr(t,n,d)}}function uo(t,e){var n=t.length;if(n)return e+=e<0?n:0,as(e,n)?t[e]:o}function ho(t,e,n){e=e.length?En(e,(function(t){return cu(t)?function(e){return jr(e,1===t.length?t[0]:t)}:t})):[Ah];var i=-1;e=En(e,Zn(Ua()));var r=oo(t,(function(t,n,r){var o=En(e,(function(e){return e(t)}));return{criteria:o,index:++i,value:t}}));return Wn(r,(function(t,e){return ea(t,e,n)}))}function fo(t,e){return po(t,e,(function(e,n){return _d(t,n)}))}function po(t,e,n){var i=-1,r=e.length,o={};while(++i<r){var a=e[i],s=jr(t,a);n(s,a)&&To(o,Uo(a,t),s)}return o}function mo(t){return function(e){return jr(e,t)}}function go(t,e,n,i){var r=i?zn:Yn,o=-1,a=e.length,s=t;t===e&&(e=ra(e)),n&&(s=En(t,Zn(n)));while(++o<a){var c=0,l=e[o],u=n?n(l):l;while((c=r(s,u,c,i))>-1)s!==t&&Me.call(s,c,1),Me.call(t,c,1)}return t}function vo(t,e){var n=t?e.length:0,i=n-1;while(n--){var r=e[n];if(n==i||r!==o){var o=r;as(r)?Me.call(t,r,1):Ro(t,r)}}return t}function _o(t,e){return t+je($e()*(e-t+1))}function yo(t,e,i,r){var o=-1,a=Be(De((e-t)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=t,t+=i;return s}function bo(t,e){var n="";if(!t||e<1||e>N)return n;do{e%2&&(n+=t),e=je(e/2),e&&(t+=t)}while(e);return n}function wo(t,e){return Ss(bs(t,e,Ah),t+"")}function ko(t){return or(Fd(t))}function xo(t,e){var n=Fd(t);return Ls(n,gr(e,0,n.length))}function To(t,e,n,i){if(!Tu(t))return t;e=Uo(e,t);var r=-1,a=e.length,s=a-1,c=t;while(null!=c&&++r<a){var l=Os(e[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=s){var d=c[l];u=i?i(d,l,c):o,u===o&&(u=Tu(d)?d:as(e[r+1])?[]:{})}lr(c,l,u),c=c[l]}return t}var Mo=sn?function(t,e){return sn.set(t,e),t}:Ah,So=Le?function(t,e){return Le(t,"toString",{configurable:!0,enumerable:!1,value:Sh(e),writable:!0})}:Ah;function Co(t){return Ls(Fd(t))}function Eo(t,e,i){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),i=i>o?o:i,i<0&&(i+=o),o=e>i?0:i-e>>>0,e>>>=0;var a=n(o);while(++r<o)a[r]=t[r+e];return a}function Lo(t,e){var n;return kr(t,(function(t,i,r){return n=e(t,i,r),!n})),!!n}function Ao(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e===e&&r<=H){while(i<r){var o=i+r>>>1,a=t[o];null!==a&&!zu(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return Oo(t,e,Ah,n)}function Oo(t,e,n,i){var r=0,a=null==t?0:t.length;if(0===a)return 0;e=n(e);var s=e!==e,c=null===e,l=zu(e),u=e===o;while(r<a){var d=je((r+a)/2),h=n(t[d]),f=h!==o,p=null===h,m=h===h,g=zu(h);if(s)var v=i||m;else v=u?m&&(i||f):c?m&&f&&(i||!p):l?m&&f&&!p&&(i||!g):!p&&!g&&(i?h<=e:h<e);v?r=d+1:a=d}return Fe(a,F)}function Po(t,e){var n=-1,i=t.length,r=0,o=[];while(++n<i){var a=t[n],s=e?e(a):a;if(!n||!ru(s,c)){var c=s;o[r++]=0===a?0:a}}return o}function Do(t){return"number"==typeof t?t:zu(t)?z:+t}function jo(t){if("string"==typeof t)return t;if(cu(t))return En(t,jo)+"";if(zu(t))return bi?bi.call(t):"";var e=t+"";return"0"==e&&1/t==-R?"-0":e}function Io(t,e,n){var i=-1,r=Sn,o=t.length,a=!0,c=[],l=c;if(n)a=!1,r=Cn;else if(o>=s){var u=e?null:La(t);if(u)return hi(u);a=!1,r=Kn,l=new Gi}else l=e?[]:c;t:while(++i<o){var d=t[i],h=e?e(d):d;if(d=n||0!==d?d:0,a&&h===h){var f=l.length;while(f--)if(l[f]===h)continue t;e&&l.push(h),c.push(d)}else r(l,h,n)||(l!==c&&l.push(h),c.push(d))}return c}function Ro(t,e){return e=Uo(e,t),t=ws(t,e),null==t||delete t[Os(oc(e))]}function No(t,e,n,i){return To(t,e,n(jr(t,e)),i)}function Yo(t,e,n,i){var r=t.length,o=i?r:-1;while((i?o--:++o<r)&&e(t[o],o,t));return n?Eo(t,i?0:o,i?o+1:r):Eo(t,i?o+1:0,i?r:o)}function zo(t,e){var n=t;return n instanceof Ci&&(n=n.value()),An(e,(function(t,e){return e.func.apply(e.thisArg,Ln([t],e.args))}),n)}function Bo(t,e,i){var r=t.length;if(r<2)return r?Io(t[0]):[];var o=-1,a=n(r);while(++o<r){var s=t[o],c=-1;while(++c<r)c!=o&&(a[o]=wr(a[o]||s,t[c],e,i))}return Io(Er(a,1),e,i)}function Fo(t,e,n){var i=-1,r=t.length,a=e.length,s={};while(++i<r){var c=i<a?e[i]:o;n(s,t[i],c)}return s}function Ho(t){return du(t)?t:[]}function Vo(t){return"function"==typeof t?t:Ah}function Uo(t,e){return cu(t)?t:cs(t,e)?[t]:As(Qu(t))}var Wo=wo;function $o(t,e,n){var i=t.length;return n=n===o?i:n,!e&&n>=i?t:Eo(t,e,n)}var Xo=Ae||function(t){return cn.clearTimeout(t)};function qo(t,e){if(e)return t.slice();var n=t.length,i=we?we(n):new t.constructor(n);return t.copy(i),i}function Go(t){var e=new t.constructor(t.byteLength);return new be(e).set(new be(t)),e}function Zo(t,e){var n=e?Go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Jo(t){var e=new t.constructor(t.source,Xt.exec(t));return e.lastIndex=t.lastIndex,e}function Ko(t){return pi?ne(pi.call(t)):{}}function Qo(t,e){var n=e?Go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ta(t,e){if(t!==e){var n=t!==o,i=null===t,r=t===t,a=zu(t),s=e!==o,c=null===e,l=e===e,u=zu(e);if(!c&&!u&&!a&&t>e||a&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||c&&n&&r||!s&&r||!l)return-1}return 0}function ea(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;while(++i<a){var c=ta(r[i],o[i]);if(c){if(i>=s)return c;var l=n[i];return c*("desc"==l?-1:1)}}return t.index-e.index}function na(t,e,i,r){var o=-1,a=t.length,s=i.length,c=-1,l=e.length,u=Be(a-s,0),d=n(l+u),h=!r;while(++c<l)d[c]=e[c];while(++o<s)(h||o<a)&&(d[i[o]]=t[o]);while(u--)d[c++]=t[o++];return d}function ia(t,e,i,r){var o=-1,a=t.length,s=-1,c=i.length,l=-1,u=e.length,d=Be(a-c,0),h=n(d+u),f=!r;while(++o<d)h[o]=t[o];var p=o;while(++l<u)h[p+l]=e[l];while(++s<c)(f||o<a)&&(h[p+i[s]]=t[o++]);return h}function ra(t,e){var i=-1,r=t.length;e||(e=n(r));while(++i<r)e[i]=t[i];return e}function oa(t,e,n,i){var r=!n;n||(n={});var a=-1,s=e.length;while(++a<s){var c=e[a],l=i?i(n[c],t[c],c,n,t):o;l===o&&(l=t[c]),r?pr(n,c,l):lr(n,c,l)}return n}function aa(t,e){return oa(t,Ga(t),e)}function sa(t,e){return oa(t,Za(t),e)}function ca(t,e){return function(n,i){var r=cu(n)?wn:dr,o=e?e():{};return r(n,t,Ua(i,2),o)}}function la(t){return wo((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:o,s=r>2?n[2]:o;a=t.length>3&&"function"==typeof a?(r--,a):o,s&&ss(n[0],n[1],s)&&(a=r<3?o:a,r=1),e=ne(e);while(++i<r){var c=n[i];c&&t(e,c,i,a)}return e}))}function ua(t,e){return function(n,i){if(null==n)return n;if(!uu(n))return t(n,i);var r=n.length,o=e?r:-1,a=ne(n);while(e?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}function da(t){return function(e,n,i){var r=-1,o=ne(e),a=i(e),s=a.length;while(s--){var c=a[t?s:++r];if(!1===n(o[c],c,o))break}return e}}function ha(t,e,n){var i=e&y,r=ma(t);function o(){var e=this&&this!==cn&&this instanceof o?r:t;return e.apply(i?n:this,arguments)}return o}function fa(t){return function(e){e=Qu(e);var n=ai(e)?vi(e):o,i=n?n[0]:e.charAt(0),r=n?$o(n,1).join(""):e.slice(1);return i[t]()+r}}function pa(t){return function(e){return An(wh(qd(e).replace(Ve,"")),t,"")}}function ma(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=xi(t.prototype),i=t.apply(n,e);return Tu(i)?i:n}}function ga(t,e,i){var r=ma(t);function a(){var s=arguments.length,c=n(s),l=s,u=Va(a);while(l--)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:di(c,u);if(s-=d.length,s<i)return Ca(t,e,ya,a.placeholder,o,c,d,o,o,i-s);var h=this&&this!==cn&&this instanceof a?r:t;return bn(h,this,c)}return a}function va(t){return function(e,n,i){var r=ne(e);if(!uu(e)){var a=Ua(n,3);e=kd(e),n=function(t){return a(r[t],t,r)}}var s=t(e,n,i);return s>-1?r[a?e[s]:s]:o}}function _a(t){return Ya((function(e){var n=e.length,i=n,r=Si.prototype.thru;t&&e.reverse();while(i--){var a=e[i];if("function"!=typeof a)throw new oe(l);if(r&&!s&&"wrapper"==Ha(a))var s=new Si([],!0)}i=s?i:n;while(++i<n){a=e[i];var c=Ha(a),u="wrapper"==c?Fa(a):o;s=u&&us(u[0])&&u[1]==(S|k|T|C)&&!u[4].length&&1==u[9]?s[Ha(u[0])].apply(s,u[3]):1==a.length&&us(a)?s[c]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&cu(i))return s.plant(i).value();var r=0,o=n?e[r].apply(this,t):i;while(++r<n)o=e[r].call(this,o);return o}}))}function ya(t,e,i,r,a,s,c,l,u,d){var h=e&S,f=e&y,p=e&b,m=e&(k|x),g=e&E,v=p?o:ma(t);function _(){var o=arguments.length,y=n(o),b=o;while(b--)y[b]=arguments[b];if(m)var w=Va(_),k=ei(y,w);if(r&&(y=na(y,r,a,m)),s&&(y=ia(y,s,c,m)),o-=k,m&&o<d){var x=di(y,w);return Ca(t,e,ya,_.placeholder,i,y,x,l,u,d-o)}var T=f?i:this,M=p?T[t]:t;return o=y.length,l?y=ks(y,l):g&&o>1&&y.reverse(),h&&u<o&&(y.length=u),this&&this!==cn&&this instanceof _&&(M=v||ma(M)),M.apply(T,y)}return _}function ba(t,e){return function(n,i){return Hr(n,t,e(i),{})}}function wa(t,e){return function(n,i){var r;if(n===o&&i===o)return e;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=jo(n),i=jo(i)):(n=Do(n),i=Do(i)),r=t(n,i)}return r}}function ka(t){return Ya((function(e){return e=En(e,Zn(Ua())),wo((function(n){var i=this;return t(e,(function(t){return bn(t,i,n)}))}))}))}function xa(t,e){e=e===o?" ":jo(e);var n=e.length;if(n<2)return n?bo(e,t):e;var i=bo(e,De(t/gi(e)));return ai(e)?$o(vi(i),0,t).join(""):i.slice(0,t)}function Ta(t,e,i,r){var o=e&y,a=ma(t);function s(){var e=-1,c=arguments.length,l=-1,u=r.length,d=n(u+c),h=this&&this!==cn&&this instanceof s?a:t;while(++l<u)d[l]=r[l];while(c--)d[l++]=arguments[++e];return bn(h,o?i:this,d)}return s}function Ma(t){return function(e,n,i){return i&&"number"!=typeof i&&ss(e,n,i)&&(n=i=o),e=Xu(e),n===o?(n=e,e=0):n=Xu(n),i=i===o?e<n?1:-1:Xu(i),yo(e,n,i,t)}}function Sa(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Zu(e),n=Zu(n)),t(e,n)}}function Ca(t,e,n,i,r,a,s,c,l,u){var d=e&k,h=d?s:o,f=d?o:s,p=d?a:o,m=d?o:a;e|=d?T:M,e&=~(d?M:T),e&w||(e&=~(y|b));var g=[t,e,r,p,h,m,f,c,l,u],v=n.apply(o,g);return us(t)&&Ts(v,g),v.placeholder=i,Cs(v,t,e)}function Ea(t){var e=Vt[t];return function(t,n){if(t=Zu(t),n=null==n?0:Fe(qu(n),292),n&&Ne(t)){var i=(Qu(t)+"e").split("e"),r=e(i[0]+"e"+(+i[1]+n));return i=(Qu(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}var La=en&&1/hi(new en([,-0]))[1]==R?function(t){return new en(t)}:Yh;function Aa(t){return function(e){var n=Ja(e);return n==Q?li(e):n==at?fi(e):qn(e,t(e))}}function Oa(t,e,n,i,r,a,s,c){var u=e&b;if(!u&&"function"!=typeof t)throw new oe(l);var d=i?i.length:0;if(d||(e&=~(T|M),i=r=o),s=s===o?s:Be(qu(s),0),c=c===o?c:qu(c),d-=r?r.length:0,e&M){var h=i,f=r;i=r=o}var p=u?o:Fa(t),m=[t,e,n,i,r,h,f,a,s,c];if(p&&vs(m,p),t=m[0],e=m[1],n=m[2],i=m[3],r=m[4],c=m[9]=m[9]===o?u?0:t.length:Be(m[9]-d,0),!c&&e&(k|x)&&(e&=~(k|x)),e&&e!=y)g=e==k||e==x?ga(t,e,c):e!=T&&e!=(y|T)||r.length?ya.apply(o,m):Ta(t,e,n,i);else var g=ha(t,e,n);var v=p?Mo:Ts;return Cs(v(g,m),t,e)}function Pa(t,e,n,i){return t===o||ru(t,ce[n])&&!de.call(i,n)?e:t}function Da(t,e,n,i,r,a){return Tu(t)&&Tu(e)&&(a.set(e,t),co(t,e,o,Da,a),a["delete"](e)),t}function ja(t){return ju(t)?o:t}function Ia(t,e,n,i,r,a){var s=n&v,c=t.length,l=e.length;if(c!=l&&!(s&&l>c))return!1;var u=a.get(t),d=a.get(e);if(u&&d)return u==e&&d==t;var h=-1,f=!0,p=n&_?new Gi:o;a.set(t,e),a.set(e,t);while(++h<c){var m=t[h],g=e[h];if(i)var y=s?i(g,m,h,e,t,a):i(m,g,h,t,e,a);if(y!==o){if(y)continue;f=!1;break}if(p){if(!Pn(e,(function(t,e){if(!Kn(p,e)&&(m===t||r(m,t,n,i,a)))return p.push(e)}))){f=!1;break}}else if(m!==g&&!r(m,g,n,i,a)){f=!1;break}}return a["delete"](t),a["delete"](e),f}function Ra(t,e,n,i,r,o,a){switch(n){case ft:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ht:return!(t.byteLength!=e.byteLength||!o(new be(t),new be(e)));case X:case q:case tt:return ru(+t,+e);case Z:return t.name==e.name&&t.message==e.message;case ot:case st:return t==e+"";case Q:var s=li;case at:var c=i&v;if(s||(s=hi),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;i|=_,a.set(t,e);var u=Ia(s(t),s(e),i,r,o,a);return a["delete"](t),u;case ct:if(pi)return pi.call(t)==pi.call(e)}return!1}function Na(t,e,n,i,r,a){var s=n&v,c=za(t),l=c.length,u=za(e),d=u.length;if(l!=d&&!s)return!1;var h=l;while(h--){var f=c[h];if(!(s?f in e:de.call(e,f)))return!1}var p=a.get(t),m=a.get(e);if(p&&m)return p==e&&m==t;var g=!0;a.set(t,e),a.set(e,t);var _=s;while(++h<l){f=c[h];var y=t[f],b=e[f];if(i)var w=s?i(b,y,f,e,t,a):i(y,b,f,t,e,a);if(!(w===o?y===b||r(y,b,n,i,a):w)){g=!1;break}_||(_="constructor"==f)}if(g&&!_){var k=t.constructor,x=e.constructor;k==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof k&&k instanceof k&&"function"==typeof x&&x instanceof x||(g=!1)}return a["delete"](t),a["delete"](e),g}function Ya(t){return Ss(bs(t,o,qs),t+"")}function za(t){return Ir(t,kd,Ga)}function Ba(t){return Ir(t,xd,Za)}var Fa=sn?function(t){return sn.get(t)}:Yh;function Ha(t){var e=t.name+"",n=ln[e],i=de.call(ln,e)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Va(t){var e=de.call(wi,"placeholder")?wi:t;return e.placeholder}function Ua(){var t=wi.iteratee||Oh;return t=t===Oh?eo:t,arguments.length?t(arguments[0],arguments[1]):t}function Wa(t,e){var n=t.__data__;return ls(e)?n["string"==typeof e?"string":"hash"]:n.map}function $a(t){var e=kd(t),n=e.length;while(n--){var i=e[n],r=t[i];e[n]=[i,r,ps(r)]}return e}function Xa(t,e){var n=oi(t,e);return Jr(n)?n:o}function qa(t){var e=de.call(t,Ee),n=t[Ee];try{t[Ee]=o;var i=!0}catch(a){}var r=pe.call(t);return i&&(e?t[Ee]=n:delete t[Ee]),r}var Ga=Ie?function(t){return null==t?[]:(t=ne(t),Mn(Ie(t),(function(e){return Te.call(t,e)})))}:Xh,Za=Ie?function(t){var e=[];while(t)Ln(e,Ga(t)),t=ke(t);return e}:Xh,Ja=Rr;function Ka(t,e,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Fe(e,t+a);break;case"takeRight":t=Be(t,e-a);break}}return{start:t,end:e}}function Qa(t){var e=t.match(Ft);return e?e[1].split(Ht):[]}function ts(t,e,n){e=Uo(e,t);var i=-1,r=e.length,o=!1;while(++i<r){var a=Os(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:(r=null==t?0:t.length,!!r&&xu(r)&&as(a,r)&&(cu(t)||su(t)))}function es(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&de.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function ns(t){return"function"!=typeof t.constructor||fs(t)?{}:xi(ke(t))}function is(t,e,n){var i=t.constructor;switch(e){case ht:return Go(t);case X:case q:return new i(+t);case ft:return Zo(t,n);case pt:case mt:case gt:case vt:case _t:case yt:case bt:case wt:case kt:return Qo(t,n);case Q:return new i;case tt:case st:return new i(t);case ot:return Jo(t);case at:return new i;case ct:return Ko(t)}}function rs(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(Bt,"{\n/* [wrapped with "+e+"] */\n")}function os(t){return cu(t)||su(t)||!!(Se&&t&&t[Se])}function as(t,e){var n=typeof t;return e=null==e?N:e,!!e&&("number"==n||"symbol"!=n&&Kt.test(t))&&t>-1&&t%1==0&&t<e}function ss(t,e,n){if(!Tu(n))return!1;var i=typeof e;return!!("number"==i?uu(n)&&as(e,n.length):"string"==i&&e in n)&&ru(n[e],t)}function cs(t,e){if(cu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!zu(t))||(jt.test(t)||!Dt.test(t)||null!=e&&t in ne(e))}function ls(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function us(t){var e=Ha(t),n=wi[e];if("function"!=typeof n||!(e in Ci.prototype))return!1;if(t===n)return!0;var i=Fa(n);return!!i&&t===i[0]}function ds(t){return!!fe&&fe in t}(qe&&Ja(new qe(new ArrayBuffer(1)))!=ft||Qe&&Ja(new Qe)!=Q||tn&&Ja(tn.resolve())!=it||en&&Ja(new en)!=at||nn&&Ja(new nn)!=ut)&&(Ja=function(t){var e=Rr(t),n=e==nt?t.constructor:o,i=n?Ps(n):"";if(i)switch(i){case un:return ft;case hn:return Q;case fn:return it;case Dn:return at;case jn:return ut}return e});var hs=le?wu:qh;function fs(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ce;return t===n}function ps(t){return t===t&&!Tu(t)}function ms(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in ne(n)))}}function gs(t){var e=Bl(t,(function(t){return n.size===h&&n.clear(),t})),n=e.cache;return e}function vs(t,e){var n=t[1],i=e[1],r=n|i,o=r<(y|b|S),a=i==S&&n==k||i==S&&n==C&&t[7].length<=e[8]||i==(S|C)&&e[7].length<=e[8]&&n==k;if(!o&&!a)return t;i&y&&(t[2]=e[2],r|=n&y?0:w);var s=e[3];if(s){var c=t[3];t[3]=c?na(c,s,e[4]):s,t[4]=c?di(t[3],f):e[4]}return s=e[5],s&&(c=t[5],t[5]=c?ia(c,s,e[6]):s,t[6]=c?di(t[5],f):e[6]),s=e[7],s&&(t[7]=s),i&S&&(t[8]=null==t[8]?e[8]:Fe(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function _s(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function ys(t){return pe.call(t)}function bs(t,e,i){return e=Be(e===o?t.length-1:e,0),function(){var r=arguments,o=-1,a=Be(r.length-e,0),s=n(a);while(++o<a)s[o]=r[e+o];o=-1;var c=n(e+1);while(++o<e)c[o]=r[o];return c[e]=i(s),bn(t,this,c)}}function ws(t,e){return e.length<2?t:jr(t,Eo(e,0,-1))}function ks(t,e){var n=t.length,i=Fe(e.length,n),r=ra(t);while(i--){var a=e[i];t[i]=as(a,n)?r[a]:o}return t}function xs(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Ts=Es(Mo),Ms=Pe||function(t,e){return cn.setTimeout(t,e)},Ss=Es(So);function Cs(t,e,n){var i=e+"";return Ss(t,rs(i,Ds(Qa(i),n)))}function Es(t){var e=0,n=0;return function(){var i=He(),r=P-(i-n);if(n=i,r>0){if(++e>=O)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Ls(t,e){var n=-1,i=t.length,r=i-1;e=e===o?i:e;while(++n<e){var a=_o(n,r),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var As=gs((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(It,(function(t,n,i,r){e.push(i?r.replace(Wt,"$1"):n||t)})),e}));function Os(t){if("string"==typeof t||zu(t))return t;var e=t+"";return"0"==e&&1/t==-R?"-0":e}function Ps(t){if(null!=t){try{return ue.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ds(t,e){return kn(V,(function(n){var i="_."+n[0];e&n[1]&&!Sn(t,i)&&t.push(i)})),t.sort()}function js(t){if(t instanceof Ci)return t.clone();var e=new Si(t.__wrapped__,t.__chain__);return e.__actions__=ra(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Is(t,e,i){e=(i?ss(t,e,i):e===o)?1:Be(qu(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];var a=0,s=0,c=n(De(r/e));while(a<r)c[s++]=Eo(t,a,a+=e);return c}function Rs(t){var e=-1,n=null==t?0:t.length,i=0,r=[];while(++e<n){var o=t[e];o&&(r[i++]=o)}return r}function Ns(){var t=arguments.length;if(!t)return[];var e=n(t-1),i=arguments[0],r=t;while(r--)e[r-1]=arguments[r];return Ln(cu(i)?ra(i):[i],Er(e,1))}var Ys=wo((function(t,e){return du(t)?wr(t,Er(e,1,du,!0)):[]})),zs=wo((function(t,e){var n=oc(e);return du(n)&&(n=o),du(t)?wr(t,Er(e,1,du,!0),Ua(n,2)):[]})),Bs=wo((function(t,e){var n=oc(e);return du(n)&&(n=o),du(t)?wr(t,Er(e,1,du,!0),o,n):[]}));function Fs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:qu(e),Eo(t,e<0?0:e,i)):[]}function Hs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:qu(e),e=i-e,Eo(t,0,e<0?0:e)):[]}function Vs(t,e){return t&&t.length?Yo(t,Ua(e,3),!0,!0):[]}function Us(t,e){return t&&t.length?Yo(t,Ua(e,3),!0):[]}function Ws(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&ss(t,e,n)&&(n=0,i=r),Sr(t,e,n,i)):[]}function $s(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:qu(n);return r<0&&(r=Be(i+r,0)),Nn(t,Ua(e,3),r)}function Xs(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==o&&(r=qu(n),r=n<0?Be(i+r,0):Fe(r,i-1)),Nn(t,Ua(e,3),r,!0)}function qs(t){var e=null==t?0:t.length;return e?Er(t,1):[]}function Gs(t){var e=null==t?0:t.length;return e?Er(t,R):[]}function Zs(t,e){var n=null==t?0:t.length;return n?(e=e===o?1:qu(e),Er(t,e)):[]}function Js(t){var e=-1,n=null==t?0:t.length,i={};while(++e<n){var r=t[e];i[r[0]]=r[1]}return i}function Ks(t){return t&&t.length?t[0]:o}function Qs(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:qu(n);return r<0&&(r=Be(i+r,0)),Yn(t,e,r)}function tc(t){var e=null==t?0:t.length;return e?Eo(t,0,-1):[]}var ec=wo((function(t){var e=En(t,Ho);return e.length&&e[0]===t[0]?Fr(e):[]})),nc=wo((function(t){var e=oc(t),n=En(t,Ho);return e===oc(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Fr(n,Ua(e,2)):[]})),ic=wo((function(t){var e=oc(t),n=En(t,Ho);return e="function"==typeof e?e:o,e&&n.pop(),n.length&&n[0]===t[0]?Fr(n,o,e):[]}));function rc(t,e){return null==t?"":Ye.call(t,e)}function oc(t){var e=null==t?0:t.length;return e?t[e-1]:o}function ac(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==o&&(r=qu(n),r=r<0?Be(i+r,0):Fe(r,i-1)),e===e?mi(t,e,r):Nn(t,Bn,r,!0)}function sc(t,e){return t&&t.length?uo(t,qu(e)):o}var cc=wo(lc);function lc(t,e){return t&&t.length&&e&&e.length?go(t,e):t}function uc(t,e,n){return t&&t.length&&e&&e.length?go(t,e,Ua(n,2)):t}function dc(t,e,n){return t&&t.length&&e&&e.length?go(t,e,o,n):t}var hc=Ya((function(t,e){var n=null==t?0:t.length,i=mr(t,e);return vo(t,En(e,(function(t){return as(t,n)?+t:t})).sort(ta)),i}));function fc(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;e=Ua(e,3);while(++i<o){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return vo(t,r),n}function pc(t){return null==t?t:Xe.call(t)}function mc(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&ss(t,e,n)?(e=0,n=i):(e=null==e?0:qu(e),n=n===o?i:qu(n)),Eo(t,e,n)):[]}function gc(t,e){return Ao(t,e)}function vc(t,e,n){return Oo(t,e,Ua(n,2))}function _c(t,e){var n=null==t?0:t.length;if(n){var i=Ao(t,e);if(i<n&&ru(t[i],e))return i}return-1}function yc(t,e){return Ao(t,e,!0)}function bc(t,e,n){return Oo(t,e,Ua(n,2),!0)}function wc(t,e){var n=null==t?0:t.length;if(n){var i=Ao(t,e,!0)-1;if(ru(t[i],e))return i}return-1}function kc(t){return t&&t.length?Po(t):[]}function xc(t,e){return t&&t.length?Po(t,Ua(e,2)):[]}function Tc(t){var e=null==t?0:t.length;return e?Eo(t,1,e):[]}function Mc(t,e,n){return t&&t.length?(e=n||e===o?1:qu(e),Eo(t,0,e<0?0:e)):[]}function Sc(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:qu(e),e=i-e,Eo(t,e<0?0:e,i)):[]}function Cc(t,e){return t&&t.length?Yo(t,Ua(e,3),!1,!0):[]}function Ec(t,e){return t&&t.length?Yo(t,Ua(e,3)):[]}var Lc=wo((function(t){return Io(Er(t,1,du,!0))})),Ac=wo((function(t){var e=oc(t);return du(e)&&(e=o),Io(Er(t,1,du,!0),Ua(e,2))})),Oc=wo((function(t){var e=oc(t);return e="function"==typeof e?e:o,Io(Er(t,1,du,!0),o,e)}));function Pc(t){return t&&t.length?Io(t):[]}function Dc(t,e){return t&&t.length?Io(t,Ua(e,2)):[]}function jc(t,e){return e="function"==typeof e?e:o,t&&t.length?Io(t,o,e):[]}function Ic(t){if(!t||!t.length)return[];var e=0;return t=Mn(t,(function(t){if(du(t))return e=Be(t.length,e),!0})),Xn(e,(function(e){return En(t,Hn(e))}))}function Rc(t,e){if(!t||!t.length)return[];var n=Ic(t);return null==e?n:En(n,(function(t){return bn(e,o,t)}))}var Nc=wo((function(t,e){return du(t)?wr(t,e):[]})),Yc=wo((function(t){return Bo(Mn(t,du))})),zc=wo((function(t){var e=oc(t);return du(e)&&(e=o),Bo(Mn(t,du),Ua(e,2))})),Bc=wo((function(t){var e=oc(t);return e="function"==typeof e?e:o,Bo(Mn(t,du),o,e)})),Fc=wo(Ic);function Hc(t,e){return Fo(t||[],e||[],lr)}function Vc(t,e){return Fo(t||[],e||[],To)}var Uc=wo((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,Rc(t,n)}));function Wc(t){var e=wi(t);return e.__chain__=!0,e}function $c(t,e){return e(t),t}function Xc(t,e){return e(t)}var qc=Ya((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return mr(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Ci&&as(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:Xc,args:[r],thisArg:o}),new Si(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(r)}));function Gc(){return Wc(this)}function Zc(){return new Si(this.value(),this.__chain__)}function Jc(){this.__values__===o&&(this.__values__=$u(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Kc(){return this}function Qc(t){var e,n=this;while(n instanceof Mi){var i=js(n);i.__index__=0,i.__values__=o,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function tl(){var t=this.__wrapped__;if(t instanceof Ci){var e=t;return this.__actions__.length&&(e=new Ci(this)),e=e.reverse(),e.__actions__.push({func:Xc,args:[pc],thisArg:o}),new Si(e,this.__chain__)}return this.thru(pc)}function el(){return zo(this.__wrapped__,this.__actions__)}var nl=ca((function(t,e,n){de.call(t,n)?++t[n]:pr(t,n,1)}));function il(t,e,n){var i=cu(t)?Tn:Tr;return n&&ss(t,e,n)&&(e=o),i(t,Ua(e,3))}function rl(t,e){var n=cu(t)?Mn:Cr;return n(t,Ua(e,3))}var ol=va($s),al=va(Xs);function sl(t,e){return Er(gl(t,e),1)}function cl(t,e){return Er(gl(t,e),R)}function ll(t,e,n){return n=n===o?1:qu(n),Er(gl(t,e),n)}function ul(t,e){var n=cu(t)?kn:kr;return n(t,Ua(e,3))}function dl(t,e){var n=cu(t)?xn:xr;return n(t,Ua(e,3))}var hl=ca((function(t,e,n){de.call(t,n)?t[n].push(e):pr(t,n,[e])}));function fl(t,e,n,i){t=uu(t)?t:Fd(t),n=n&&!i?qu(n):0;var r=t.length;return n<0&&(n=Be(r+n,0)),Yu(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Yn(t,e,n)>-1}var pl=wo((function(t,e,i){var r=-1,o="function"==typeof e,a=uu(t)?n(t.length):[];return kr(t,(function(t){a[++r]=o?bn(e,t,i):Vr(t,e,i)})),a})),ml=ca((function(t,e,n){pr(t,n,e)}));function gl(t,e){var n=cu(t)?En:oo;return n(t,Ua(e,3))}function vl(t,e,n,i){return null==t?[]:(cu(e)||(e=null==e?[]:[e]),n=i?o:n,cu(n)||(n=null==n?[]:[n]),ho(t,e,n))}var _l=ca((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function yl(t,e,n){var i=cu(t)?An:Un,r=arguments.length<3;return i(t,Ua(e,4),n,r,kr)}function bl(t,e,n){var i=cu(t)?On:Un,r=arguments.length<3;return i(t,Ua(e,4),n,r,xr)}function wl(t,e){var n=cu(t)?Mn:Cr;return n(t,Fl(Ua(e,3)))}function kl(t){var e=cu(t)?or:ko;return e(t)}function xl(t,e,n){e=(n?ss(t,e,n):e===o)?1:qu(e);var i=cu(t)?ar:xo;return i(t,e)}function Tl(t){var e=cu(t)?sr:Co;return e(t)}function Ml(t){if(null==t)return 0;if(uu(t))return Yu(t)?gi(t):t.length;var e=Ja(t);return e==Q||e==at?t.size:no(t).length}function Sl(t,e,n){var i=cu(t)?Pn:Lo;return n&&ss(t,e,n)&&(e=o),i(t,Ua(e,3))}var Cl=wo((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ss(t,e[0],e[1])?e=[]:n>2&&ss(e[0],e[1],e[2])&&(e=[e[0]]),ho(t,Er(e,1),[])})),El=Oe||function(){return cn.Date.now()};function Ll(t,e){if("function"!=typeof e)throw new oe(l);return t=qu(t),function(){if(--t<1)return e.apply(this,arguments)}}function Al(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Oa(t,S,o,o,o,o,e)}function Ol(t,e){var n;if("function"!=typeof e)throw new oe(l);return t=qu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Pl=wo((function(t,e,n){var i=y;if(n.length){var r=di(n,Va(Pl));i|=T}return Oa(t,i,e,n,r)})),Dl=wo((function(t,e,n){var i=y|b;if(n.length){var r=di(n,Va(Dl));i|=T}return Oa(e,i,t,n,r)}));function jl(t,e,n){e=n?o:e;var i=Oa(t,k,o,o,o,o,o,e);return i.placeholder=jl.placeholder,i}function Il(t,e,n){e=n?o:e;var i=Oa(t,x,o,o,o,o,o,e);return i.placeholder=Il.placeholder,i}function Rl(t,e,n){var i,r,a,s,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof t)throw new oe(l);function m(e){var n=i,a=r;return i=r=o,d=e,s=t.apply(a,n),s}function g(t){return d=t,c=Ms(y,e),h?m(t):s}function v(t){var n=t-u,i=t-d,r=e-n;return f?Fe(r,a-i):r}function _(t){var n=t-u,i=t-d;return u===o||n>=e||n<0||f&&i>=a}function y(){var t=El();if(_(t))return b(t);c=Ms(y,v(t))}function b(t){return c=o,p&&i?m(t):(i=r=o,s)}function w(){c!==o&&Xo(c),d=0,i=u=r=c=o}function k(){return c===o?s:b(El())}function x(){var t=El(),n=_(t);if(i=arguments,r=this,u=t,n){if(c===o)return g(u);if(f)return Xo(c),c=Ms(y,e),m(u)}return c===o&&(c=Ms(y,e)),s}return e=Zu(e)||0,Tu(n)&&(h=!!n.leading,f="maxWait"in n,a=f?Be(Zu(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),x.cancel=w,x.flush=k,x}var Nl=wo((function(t,e){return br(t,1,e)})),Yl=wo((function(t,e,n){return br(t,Zu(e)||0,n)}));function zl(t){return Oa(t,E)}function Bl(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(l);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Bl.Cache||Vi),n}function Fl(t){if("function"!=typeof t)throw new oe(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Hl(t){return Ol(2,t)}Bl.Cache=Vi;var Vl=Wo((function(t,e){e=1==e.length&&cu(e[0])?En(e[0],Zn(Ua())):En(Er(e,1),Zn(Ua()));var n=e.length;return wo((function(i){var r=-1,o=Fe(i.length,n);while(++r<o)i[r]=e[r].call(this,i[r]);return bn(t,this,i)}))})),Ul=wo((function(t,e){var n=di(e,Va(Ul));return Oa(t,T,o,e,n)})),Wl=wo((function(t,e){var n=di(e,Va(Wl));return Oa(t,M,o,e,n)})),$l=Ya((function(t,e){return Oa(t,C,o,o,o,e)}));function Xl(t,e){if("function"!=typeof t)throw new oe(l);return e=e===o?e:qu(e),wo(t,e)}function ql(t,e){if("function"!=typeof t)throw new oe(l);return e=null==e?0:Be(qu(e),0),wo((function(n){var i=n[e],r=$o(n,0,e);return i&&Ln(r,i),bn(t,this,r)}))}function Gl(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new oe(l);return Tu(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Rl(t,e,{leading:i,maxWait:e,trailing:r})}function Zl(t){return Al(t,1)}function Jl(t,e){return Ul(Vo(e),t)}function Kl(){if(!arguments.length)return[];var t=arguments[0];return cu(t)?t:[t]}function Ql(t){return vr(t,g)}function tu(t,e){return e="function"==typeof e?e:o,vr(t,g,e)}function eu(t){return vr(t,p|g)}function nu(t,e){return e="function"==typeof e?e:o,vr(t,p|g,e)}function iu(t,e){return null==e||yr(t,e,kd(e))}function ru(t,e){return t===e||t!==t&&e!==e}var ou=Sa(Nr),au=Sa((function(t,e){return t>=e})),su=Ur(function(){return arguments}())?Ur:function(t){return Mu(t)&&de.call(t,"callee")&&!Te.call(t,"callee")},cu=n.isArray,lu=pn?Zn(pn):Wr;function uu(t){return null!=t&&xu(t.length)&&!wu(t)}function du(t){return Mu(t)&&uu(t)}function hu(t){return!0===t||!1===t||Mu(t)&&Rr(t)==X}var fu=Re||qh,pu=mn?Zn(mn):$r;function mu(t){return Mu(t)&&1===t.nodeType&&!ju(t)}function gu(t){if(null==t)return!0;if(uu(t)&&(cu(t)||"string"==typeof t||"function"==typeof t.splice||fu(t)||Bu(t)||su(t)))return!t.length;var e=Ja(t);if(e==Q||e==at)return!t.size;if(fs(t))return!no(t).length;for(var n in t)if(de.call(t,n))return!1;return!0}function vu(t,e){return Xr(t,e)}function _u(t,e,n){n="function"==typeof n?n:o;var i=n?n(t,e):o;return i===o?Xr(t,e,o,n):!!i}function yu(t){if(!Mu(t))return!1;var e=Rr(t);return e==Z||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!ju(t)}function bu(t){return"number"==typeof t&&Ne(t)}function wu(t){if(!Tu(t))return!1;var e=Rr(t);return e==J||e==K||e==$||e==rt}function ku(t){return"number"==typeof t&&t==qu(t)}function xu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=N}function Tu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Mu(t){return null!=t&&"object"==typeof t}var Su=gn?Zn(gn):Gr;function Cu(t,e){return t===e||Zr(t,e,$a(e))}function Eu(t,e,n){return n="function"==typeof n?n:o,Zr(t,e,$a(e),n)}function Lu(t){return Du(t)&&t!=+t}function Au(t){if(hs(t))throw new r(c);return Jr(t)}function Ou(t){return null===t}function Pu(t){return null==t}function Du(t){return"number"==typeof t||Mu(t)&&Rr(t)==tt}function ju(t){if(!Mu(t)||Rr(t)!=nt)return!1;var e=ke(t);if(null===e)return!0;var n=de.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==me}var Iu=vn?Zn(vn):Kr;function Ru(t){return ku(t)&&t>=-N&&t<=N}var Nu=_n?Zn(_n):Qr;function Yu(t){return"string"==typeof t||!cu(t)&&Mu(t)&&Rr(t)==st}function zu(t){return"symbol"==typeof t||Mu(t)&&Rr(t)==ct}var Bu=yn?Zn(yn):to;function Fu(t){return t===o}function Hu(t){return Mu(t)&&Ja(t)==ut}function Vu(t){return Mu(t)&&Rr(t)==dt}var Uu=Sa(ro),Wu=Sa((function(t,e){return t<=e}));function $u(t){if(!t)return[];if(uu(t))return Yu(t)?vi(t):ra(t);if(Ce&&t[Ce])return ci(t[Ce]());var e=Ja(t),n=e==Q?li:e==at?hi:Fd;return n(t)}function Xu(t){if(!t)return 0===t?t:0;if(t=Zu(t),t===R||t===-R){var e=t<0?-1:1;return e*Y}return t===t?t:0}function qu(t){var e=Xu(t),n=e%1;return e===e?n?e-n:e:0}function Gu(t){return t?gr(qu(t),0,B):0}function Zu(t){if("number"==typeof t)return t;if(zu(t))return z;if(Tu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Tu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Gn(t);var n=Gt.test(t);return n||Jt.test(t)?on(t.slice(2),n?2:8):qt.test(t)?z:+t}function Ju(t){return oa(t,xd(t))}function Ku(t){return t?gr(qu(t),-N,N):0===t?t:0}function Qu(t){return null==t?"":jo(t)}var td=la((function(t,e){if(fs(e)||uu(e))oa(e,kd(e),t);else for(var n in e)de.call(e,n)&&lr(t,n,e[n])})),ed=la((function(t,e){oa(e,xd(e),t)})),nd=la((function(t,e,n,i){oa(e,xd(e),t,i)})),id=la((function(t,e,n,i){oa(e,kd(e),t,i)})),rd=Ya(mr);function od(t,e){var n=xi(t);return null==e?n:hr(n,e)}var ad=wo((function(t,e){t=ne(t);var n=-1,i=e.length,r=i>2?e[2]:o;r&&ss(e[0],e[1],r)&&(i=1);while(++n<i){var a=e[n],s=xd(a),c=-1,l=s.length;while(++c<l){var u=s[c],d=t[u];(d===o||ru(d,ce[u])&&!de.call(t,u))&&(t[u]=a[u])}}return t})),sd=wo((function(t){return t.push(o,Da),bn(Cd,o,t)}));function cd(t,e){return Rn(t,Ua(e,3),Or)}function ld(t,e){return Rn(t,Ua(e,3),Pr)}function ud(t,e){return null==t?t:Lr(t,Ua(e,3),xd)}function dd(t,e){return null==t?t:Ar(t,Ua(e,3),xd)}function hd(t,e){return t&&Or(t,Ua(e,3))}function fd(t,e){return t&&Pr(t,Ua(e,3))}function pd(t){return null==t?[]:Dr(t,kd(t))}function md(t){return null==t?[]:Dr(t,xd(t))}function gd(t,e,n){var i=null==t?o:jr(t,e);return i===o?n:i}function vd(t,e){return null!=t&&ts(t,e,Yr)}function _d(t,e){return null!=t&&ts(t,e,zr)}var yd=ba((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n}),Sh(Ah)),bd=ba((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),de.call(t,e)?t[e].push(n):t[e]=[n]}),Ua),wd=wo(Vr);function kd(t){return uu(t)?rr(t):no(t)}function xd(t){return uu(t)?rr(t,!0):io(t)}function Td(t,e){var n={};return e=Ua(e,3),Or(t,(function(t,i,r){pr(n,e(t,i,r),t)})),n}function Md(t,e){var n={};return e=Ua(e,3),Or(t,(function(t,i,r){pr(n,i,e(t,i,r))})),n}var Sd=la((function(t,e,n){co(t,e,n)})),Cd=la((function(t,e,n,i){co(t,e,n,i)})),Ed=Ya((function(t,e){var n={};if(null==t)return n;var i=!1;e=En(e,(function(e){return e=Uo(e,t),i||(i=e.length>1),e})),oa(t,Ba(t),n),i&&(n=vr(n,p|m|g,ja));var r=e.length;while(r--)Ro(n,e[r]);return n}));function Ld(t,e){return Od(t,Fl(Ua(e)))}var Ad=Ya((function(t,e){return null==t?{}:fo(t,e)}));function Od(t,e){if(null==t)return{};var n=En(Ba(t),(function(t){return[t]}));return e=Ua(e),po(t,n,(function(t,n){return e(t,n[0])}))}function Pd(t,e,n){e=Uo(e,t);var i=-1,r=e.length;r||(r=1,t=o);while(++i<r){var a=null==t?o:t[Os(e[i])];a===o&&(i=r,a=n),t=wu(a)?a.call(t):a}return t}function Dd(t,e,n){return null==t?t:To(t,e,n)}function jd(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:To(t,e,n,i)}var Id=Aa(kd),Rd=Aa(xd);function Nd(t,e,n){var i=cu(t),r=i||fu(t)||Bu(t);if(e=Ua(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Tu(t)&&wu(o)?xi(ke(t)):{}}return(r?kn:Or)(t,(function(t,i,r){return e(n,t,i,r)})),n}function Yd(t,e){return null==t||Ro(t,e)}function zd(t,e,n){return null==t?t:No(t,e,Vo(n))}function Bd(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:No(t,e,Vo(n),i)}function Fd(t){return null==t?[]:Jn(t,kd(t))}function Hd(t){return null==t?[]:Jn(t,xd(t))}function Vd(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=Zu(n),n=n===n?n:0),e!==o&&(e=Zu(e),e=e===e?e:0),gr(Zu(t),e,n)}function Ud(t,e,n){return e=Xu(e),n===o?(n=e,e=0):n=Xu(n),t=Zu(t),Br(t,e,n)}function Wd(t,e,n){if(n&&"boolean"!=typeof n&&ss(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Xu(t),e===o?(e=t,t=0):e=Xu(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=$e();return Fe(t+r*(e-t+rn("1e-"+((r+"").length-1))),e)}return _o(t,e)}var $d=pa((function(t,e,n){return e=e.toLowerCase(),t+(n?Xd(e):e)}));function Xd(t){return bh(Qu(t).toLowerCase())}function qd(t){return t=Qu(t),t&&t.replace(Qt,ni).replace(Ue,"")}function Gd(t,e,n){t=Qu(t),e=jo(e);var i=t.length;n=n===o?i:gr(qu(n),0,i);var r=n;return n-=e.length,n>=0&&t.slice(n,r)==e}function Zd(t){return t=Qu(t),t&&Lt.test(t)?t.replace(Ct,ii):t}function Jd(t){return t=Qu(t),t&&Nt.test(t)?t.replace(Rt,"\\$&"):t}var Kd=pa((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Qd=pa((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),th=fa("toLowerCase");function eh(t,e,n){t=Qu(t),e=qu(e);var i=e?gi(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return xa(je(r),n)+t+xa(De(r),n)}function nh(t,e,n){t=Qu(t),e=qu(e);var i=e?gi(t):0;return e&&i<e?t+xa(e-i,n):t}function ih(t,e,n){t=Qu(t),e=qu(e);var i=e?gi(t):0;return e&&i<e?xa(e-i,n)+t:t}function rh(t,e,n){return n||null==e?e=0:e&&(e=+e),We(Qu(t).replace(Yt,""),e||0)}function oh(t,e,n){return e=(n?ss(t,e,n):e===o)?1:qu(e),bo(Qu(t),e)}function ah(){var t=arguments,e=Qu(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var sh=pa((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function ch(t,e,n){return n&&"number"!=typeof n&&ss(t,e,n)&&(e=n=o),n=n===o?B:n>>>0,n?(t=Qu(t),t&&("string"==typeof e||null!=e&&!Iu(e))&&(e=jo(e),!e&&ai(t))?$o(vi(t),0,n):t.split(e,n)):[]}var lh=pa((function(t,e,n){return t+(n?" ":"")+bh(e)}));function uh(t,e,n){return t=Qu(t),n=null==n?0:gr(qu(n),0,t.length),e=jo(e),t.slice(n,n+e.length)==e}function dh(t,e,n){var i=wi.templateSettings;n&&ss(t,e,n)&&(e=o),t=Qu(t),e=nd({},e,i,Pa);var a,s,c=nd({},e.imports,i.imports,Pa),l=kd(c),d=Jn(c,l),h=0,f=e.interpolate||te,p="__p += '",m=ie((e.escape||te).source+"|"+f.source+"|"+(f===Pt?$t:te).source+"|"+(e.evaluate||te).source+"|$","g"),g="//# sourceURL="+(de.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ze+"]")+"\n";t.replace(m,(function(e,n,i,r,o,c){return i||(i=r),p+=t.slice(h,c).replace(ee,ri),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),h=c+e.length,e})),p+="';\n";var v=de.call(e,"variable")&&e.variable;if(v){if(Ut.test(v))throw new r(u)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(xt,""):p).replace(Tt,"$1").replace(Mt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var _=kh((function(){return zt(l,g+"return "+p).apply(o,d)}));if(_.source=p,yu(_))throw _;return _}function hh(t){return Qu(t).toLowerCase()}function fh(t){return Qu(t).toUpperCase()}function ph(t,e,n){if(t=Qu(t),t&&(n||e===o))return Gn(t);if(!t||!(e=jo(e)))return t;var i=vi(t),r=vi(e),a=Qn(i,r),s=ti(i,r)+1;return $o(i,a,s).join("")}function mh(t,e,n){if(t=Qu(t),t&&(n||e===o))return t.slice(0,_i(t)+1);if(!t||!(e=jo(e)))return t;var i=vi(t),r=ti(i,vi(e))+1;return $o(i,0,r).join("")}function gh(t,e,n){if(t=Qu(t),t&&(n||e===o))return t.replace(Yt,"");if(!t||!(e=jo(e)))return t;var i=vi(t),r=Qn(i,vi(e));return $o(i,r).join("")}function vh(t,e){var n=L,i=A;if(Tu(e)){var r="separator"in e?e.separator:r;n="length"in e?qu(e.length):n,i="omission"in e?jo(e.omission):i}t=Qu(t);var a=t.length;if(ai(t)){var s=vi(t);a=s.length}if(n>=a)return t;var c=n-gi(i);if(c<1)return i;var l=s?$o(s,0,c).join(""):t.slice(0,c);if(r===o)return l+i;if(s&&(c+=l.length-c),Iu(r)){if(t.slice(c).search(r)){var u,d=l;r.global||(r=ie(r.source,Qu(Xt.exec(r))+"g")),r.lastIndex=0;while(u=r.exec(d))var h=u.index;l=l.slice(0,h===o?c:h)}}else if(t.indexOf(jo(r),c)!=c){var f=l.lastIndexOf(r);f>-1&&(l=l.slice(0,f))}return l+i}function _h(t){return t=Qu(t),t&&Et.test(t)?t.replace(St,yi):t}var yh=pa((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),bh=fa("toUpperCase");function wh(t,e,n){return t=Qu(t),e=n?o:e,e===o?si(t)?ki(t):In(t):t.match(e)||[]}var kh=wo((function(t,e){try{return bn(t,o,e)}catch(n){return yu(n)?n:new r(n)}})),xh=Ya((function(t,e){return kn(e,(function(e){e=Os(e),pr(t,e,Pl(t[e],t))})),t}));function Th(t){var e=null==t?0:t.length,n=Ua();return t=e?En(t,(function(t){if("function"!=typeof t[1])throw new oe(l);return[n(t[0]),t[1]]})):[],wo((function(n){var i=-1;while(++i<e){var r=t[i];if(bn(r[0],this,n))return bn(r[1],this,n)}}))}function Mh(t){return _r(vr(t,p))}function Sh(t){return function(){return t}}function Ch(t,e){return null==t||t!==t?e:t}var Eh=_a(),Lh=_a(!0);function Ah(t){return t}function Oh(t){return eo("function"==typeof t?t:vr(t,p))}function Ph(t){return ao(vr(t,p))}function Dh(t,e){return so(t,vr(e,p))}var jh=wo((function(t,e){return function(n){return Vr(n,t,e)}})),Ih=wo((function(t,e){return function(n){return Vr(t,n,e)}}));function Rh(t,e,n){var i=kd(e),r=Dr(e,i);null!=n||Tu(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Dr(e,kd(e)));var o=!(Tu(n)&&"chain"in n)||!!n.chain,a=wu(t);return kn(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=ra(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Ln([this.value()],arguments))})})),t}function Nh(){return cn._===this&&(cn._=ge),this}function Yh(){}function zh(t){return t=qu(t),wo((function(e){return uo(e,t)}))}var Bh=ka(En),Fh=ka(Tn),Hh=ka(Pn);function Vh(t){return cs(t)?Hn(Os(t)):mo(t)}function Uh(t){return function(e){return null==t?o:jr(t,e)}}var Wh=Ma(),$h=Ma(!0);function Xh(){return[]}function qh(){return!1}function Gh(){return{}}function Zh(){return""}function Jh(){return!0}function Kh(t,e){if(t=qu(t),t<1||t>N)return[];var n=B,i=Fe(t,B);e=Ua(e),t-=B;var r=Xn(i,e);while(++n<t)e(n);return r}function Qh(t){return cu(t)?En(t,Os):zu(t)?[t]:ra(As(Qu(t)))}function tf(t){var e=++he;return Qu(t)+e}var ef=wa((function(t,e){return t+e}),0),nf=Ea("ceil"),rf=wa((function(t,e){return t/e}),1),of=Ea("floor");function af(t){return t&&t.length?Mr(t,Ah,Nr):o}function sf(t,e){return t&&t.length?Mr(t,Ua(e,2),Nr):o}function cf(t){return Fn(t,Ah)}function lf(t,e){return Fn(t,Ua(e,2))}function uf(t){return t&&t.length?Mr(t,Ah,ro):o}function df(t,e){return t&&t.length?Mr(t,Ua(e,2),ro):o}var hf=wa((function(t,e){return t*e}),1),ff=Ea("round"),pf=wa((function(t,e){return t-e}),0);function mf(t){return t&&t.length?$n(t,Ah):0}function gf(t,e){return t&&t.length?$n(t,Ua(e,2)):0}return wi.after=Ll,wi.ary=Al,wi.assign=td,wi.assignIn=ed,wi.assignInWith=nd,wi.assignWith=id,wi.at=rd,wi.before=Ol,wi.bind=Pl,wi.bindAll=xh,wi.bindKey=Dl,wi.castArray=Kl,wi.chain=Wc,wi.chunk=Is,wi.compact=Rs,wi.concat=Ns,wi.cond=Th,wi.conforms=Mh,wi.constant=Sh,wi.countBy=nl,wi.create=od,wi.curry=jl,wi.curryRight=Il,wi.debounce=Rl,wi.defaults=ad,wi.defaultsDeep=sd,wi.defer=Nl,wi.delay=Yl,wi.difference=Ys,wi.differenceBy=zs,wi.differenceWith=Bs,wi.drop=Fs,wi.dropRight=Hs,wi.dropRightWhile=Vs,wi.dropWhile=Us,wi.fill=Ws,wi.filter=rl,wi.flatMap=sl,wi.flatMapDeep=cl,wi.flatMapDepth=ll,wi.flatten=qs,wi.flattenDeep=Gs,wi.flattenDepth=Zs,wi.flip=zl,wi.flow=Eh,wi.flowRight=Lh,wi.fromPairs=Js,wi.functions=pd,wi.functionsIn=md,wi.groupBy=hl,wi.initial=tc,wi.intersection=ec,wi.intersectionBy=nc,wi.intersectionWith=ic,wi.invert=yd,wi.invertBy=bd,wi.invokeMap=pl,wi.iteratee=Oh,wi.keyBy=ml,wi.keys=kd,wi.keysIn=xd,wi.map=gl,wi.mapKeys=Td,wi.mapValues=Md,wi.matches=Ph,wi.matchesProperty=Dh,wi.memoize=Bl,wi.merge=Sd,wi.mergeWith=Cd,wi.method=jh,wi.methodOf=Ih,wi.mixin=Rh,wi.negate=Fl,wi.nthArg=zh,wi.omit=Ed,wi.omitBy=Ld,wi.once=Hl,wi.orderBy=vl,wi.over=Bh,wi.overArgs=Vl,wi.overEvery=Fh,wi.overSome=Hh,wi.partial=Ul,wi.partialRight=Wl,wi.partition=_l,wi.pick=Ad,wi.pickBy=Od,wi.property=Vh,wi.propertyOf=Uh,wi.pull=cc,wi.pullAll=lc,wi.pullAllBy=uc,wi.pullAllWith=dc,wi.pullAt=hc,wi.range=Wh,wi.rangeRight=$h,wi.rearg=$l,wi.reject=wl,wi.remove=fc,wi.rest=Xl,wi.reverse=pc,wi.sampleSize=xl,wi.set=Dd,wi.setWith=jd,wi.shuffle=Tl,wi.slice=mc,wi.sortBy=Cl,wi.sortedUniq=kc,wi.sortedUniqBy=xc,wi.split=ch,wi.spread=ql,wi.tail=Tc,wi.take=Mc,wi.takeRight=Sc,wi.takeRightWhile=Cc,wi.takeWhile=Ec,wi.tap=$c,wi.throttle=Gl,wi.thru=Xc,wi.toArray=$u,wi.toPairs=Id,wi.toPairsIn=Rd,wi.toPath=Qh,wi.toPlainObject=Ju,wi.transform=Nd,wi.unary=Zl,wi.union=Lc,wi.unionBy=Ac,wi.unionWith=Oc,wi.uniq=Pc,wi.uniqBy=Dc,wi.uniqWith=jc,wi.unset=Yd,wi.unzip=Ic,wi.unzipWith=Rc,wi.update=zd,wi.updateWith=Bd,wi.values=Fd,wi.valuesIn=Hd,wi.without=Nc,wi.words=wh,wi.wrap=Jl,wi.xor=Yc,wi.xorBy=zc,wi.xorWith=Bc,wi.zip=Fc,wi.zipObject=Hc,wi.zipObjectDeep=Vc,wi.zipWith=Uc,wi.entries=Id,wi.entriesIn=Rd,wi.extend=ed,wi.extendWith=nd,Rh(wi,wi),wi.add=ef,wi.attempt=kh,wi.camelCase=$d,wi.capitalize=Xd,wi.ceil=nf,wi.clamp=Vd,wi.clone=Ql,wi.cloneDeep=eu,wi.cloneDeepWith=nu,wi.cloneWith=tu,wi.conformsTo=iu,wi.deburr=qd,wi.defaultTo=Ch,wi.divide=rf,wi.endsWith=Gd,wi.eq=ru,wi.escape=Zd,wi.escapeRegExp=Jd,wi.every=il,wi.find=ol,wi.findIndex=$s,wi.findKey=cd,wi.findLast=al,wi.findLastIndex=Xs,wi.findLastKey=ld,wi.floor=of,wi.forEach=ul,wi.forEachRight=dl,wi.forIn=ud,wi.forInRight=dd,wi.forOwn=hd,wi.forOwnRight=fd,wi.get=gd,wi.gt=ou,wi.gte=au,wi.has=vd,wi.hasIn=_d,wi.head=Ks,wi.identity=Ah,wi.includes=fl,wi.indexOf=Qs,wi.inRange=Ud,wi.invoke=wd,wi.isArguments=su,wi.isArray=cu,wi.isArrayBuffer=lu,wi.isArrayLike=uu,wi.isArrayLikeObject=du,wi.isBoolean=hu,wi.isBuffer=fu,wi.isDate=pu,wi.isElement=mu,wi.isEmpty=gu,wi.isEqual=vu,wi.isEqualWith=_u,wi.isError=yu,wi.isFinite=bu,wi.isFunction=wu,wi.isInteger=ku,wi.isLength=xu,wi.isMap=Su,wi.isMatch=Cu,wi.isMatchWith=Eu,wi.isNaN=Lu,wi.isNative=Au,wi.isNil=Pu,wi.isNull=Ou,wi.isNumber=Du,wi.isObject=Tu,wi.isObjectLike=Mu,wi.isPlainObject=ju,wi.isRegExp=Iu,wi.isSafeInteger=Ru,wi.isSet=Nu,wi.isString=Yu,wi.isSymbol=zu,wi.isTypedArray=Bu,wi.isUndefined=Fu,wi.isWeakMap=Hu,wi.isWeakSet=Vu,wi.join=rc,wi.kebabCase=Kd,wi.last=oc,wi.lastIndexOf=ac,wi.lowerCase=Qd,wi.lowerFirst=th,wi.lt=Uu,wi.lte=Wu,wi.max=af,wi.maxBy=sf,wi.mean=cf,wi.meanBy=lf,wi.min=uf,wi.minBy=df,wi.stubArray=Xh,wi.stubFalse=qh,wi.stubObject=Gh,wi.stubString=Zh,wi.stubTrue=Jh,wi.multiply=hf,wi.nth=sc,wi.noConflict=Nh,wi.noop=Yh,wi.now=El,wi.pad=eh,wi.padEnd=nh,wi.padStart=ih,wi.parseInt=rh,wi.random=Wd,wi.reduce=yl,wi.reduceRight=bl,wi.repeat=oh,wi.replace=ah,wi.result=Pd,wi.round=ff,wi.runInContext=t,wi.sample=kl,wi.size=Ml,wi.snakeCase=sh,wi.some=Sl,wi.sortedIndex=gc,wi.sortedIndexBy=vc,wi.sortedIndexOf=_c,wi.sortedLastIndex=yc,wi.sortedLastIndexBy=bc,wi.sortedLastIndexOf=wc,wi.startCase=lh,wi.startsWith=uh,wi.subtract=pf,wi.sum=mf,wi.sumBy=gf,wi.template=dh,wi.times=Kh,wi.toFinite=Xu,wi.toInteger=qu,wi.toLength=Gu,wi.toLower=hh,wi.toNumber=Zu,wi.toSafeInteger=Ku,wi.toString=Qu,wi.toUpper=fh,wi.trim=ph,wi.trimEnd=mh,wi.trimStart=gh,wi.truncate=vh,wi.unescape=_h,wi.uniqueId=tf,wi.upperCase=yh,wi.upperFirst=bh,wi.each=ul,wi.eachRight=dl,wi.first=Ks,Rh(wi,function(){var t={};return Or(wi,(function(e,n){de.call(wi.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),wi.VERSION=a,kn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){wi[t].placeholder=wi})),kn(["drop","take"],(function(t,e){Ci.prototype[t]=function(n){n=n===o?1:Be(qu(n),0);var i=this.__filtered__&&!e?new Ci(this):this.clone();return i.__filtered__?i.__takeCount__=Fe(n,i.__takeCount__):i.__views__.push({size:Fe(n,B),type:t+(i.__dir__<0?"Right":"")}),i},Ci.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),kn(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=n==D||n==I;Ci.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ua(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),kn(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Ci.prototype[t]=function(){return this[n](1).value()[0]}})),kn(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Ci.prototype[t]=function(){return this.__filtered__?new Ci(this):this[n](1)}})),Ci.prototype.compact=function(){return this.filter(Ah)},Ci.prototype.find=function(t){return this.filter(t).head()},Ci.prototype.findLast=function(t){return this.reverse().find(t)},Ci.prototype.invokeMap=wo((function(t,e){return"function"==typeof t?new Ci(this):this.map((function(n){return Vr(n,t,e)}))}
vendor: 4,935 bytes, lines 85-91
85)),Ci.prototype.reject=function(t){return this.filter(Fl(Ua(t)))},Ci.prototype.slice=function(t,e){t=qu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Ci(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(e=qu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Ci.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Ci.prototype.toArray=function(){return this.take(B)},Or(Ci.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=wi[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(wi.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,c=e instanceof Ci,l=s[0],u=c||cu(e),d=function(t){var e=r.apply(wi,Ln([t],s));return i&&h?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=c&&!f;if(!a&&u){e=m?e:new Ci(this);var g=t.apply(e,s);return g.__actions__.push({func:Xc,args:[d],thisArg:o}),new Si(g,h)}return p&&m?t.apply(this,s):(g=this.thru(d),p?i?g.value()[0]:g.value():g)})})),kn(["pop","push","shift","sort","splice","unshift"],(function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);wi.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(cu(r)?r:[],t)}return this[n]((function(n){return e.apply(cu(n)?n:[],t)}))}})),Or(Ci.prototype,(function(t,e){var n=wi[e];if(n){var i=n.name+"";de.call(ln,i)||(ln[i]=[]),ln[i].push({name:e,func:n})}})),ln[ya(o,b).name]=[{name:"wrapper",func:o}],Ci.prototype.clone=Ei,Ci.prototype.reverse=Li,Ci.prototype.value=Ai,wi.prototype.at=qc,wi.prototype.chain=Gc,wi.prototype.commit=Zc,wi.prototype.next=Jc,wi.prototype.plant=Qc,wi.prototype.reverse=tl,wi.prototype.toJSON=wi.prototype.valueOf=wi.prototype.value=el,wi.prototype.first=wi.prototype.head,Ce&&(wi.prototype[Ce]=Kc),wi},Ti=xi();cn._=Ti,r=function(){return Ti}.call(e,n,e,i),r===o||(i.exports=r)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},"2f62":function(t,e,n){"use strict";(function(t){ 86/*! 87 * vuex v3.6.2 88 * (c) 2021 Evan You 89 * @license MIT 90 */ 91function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return R})),n.d(e,"c",(function(){return I}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=c(t[n],e)})),i}function l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function d(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){l(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var m=function(t){this.register([],t,!1)};function g(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;g(t.concat(i),e.getChild(i),n.modules[i])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}
vendor: 4,509 bytes, line 91
91),"")},m.prototype.update=function(t){g([],this.root,t)},m.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var v;var _=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,c=o.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return c.call(r,t,e,n)},this.strict=i;var l=this._modules.root.state;x(this,l,[],this._modules.root),k(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:v.config.devtools;u&&a(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;x(t,n,[],t._modules.root,!0),k(t,n,e)}function k(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};l(r,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,t._vm=new v({data:{$$state:e},computed:o}),v.config.silent=a,t.strict&&L(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),v.nextTick((function(){return i.$destroy()})))}function x(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=A(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){v.set(s,c,i.state)}))}var l=i.context=T(t,a,n);i.forEachMutation((function(e,n){var i=a+n;S(t,i,e,l)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;C(t,i,r,l)})),i.forEachGetter((function(e,n){var i=a+n;E(t,i,e,l)})),i.forEachChild((function(i,o){x(t,e,n.concat(o),i,r)}))}function T(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=O(n,i,r),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:i?t.commit:function(n,i,r){var o=O(n,i,r),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return M(t,e)}},state:{get:function(){return A(t.state,n)}}}),r}function M(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function S(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function C(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return d(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function E(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function L(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function O(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){v&&t===v||(v=t,i(v))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},_.prototype.commit=function(t,e,n){var i=this,r=O(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),c=this._mutations[o];
vendor: 4,714 bytes, line 91
91c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},_.prototype.dispatch=function(t,e){var n=this,i=O(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(l){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(l){0}e(t)}))}))}},_.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},_.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},_.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},_.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},_.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),n.preserveState),k(this,this.state)},_.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));v.delete(n,t[t.length-1])})),w(this)},_.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},_.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},_.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(_.prototype,y);var D=B((function(t,e){var n={};return Y(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=F(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),j=B((function(t,e){var n={};return Y(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=F(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),I=B((function(t,e){var n={};return Y(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||F(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),R=B((function(t,e){var n={};return Y(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=F(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),N=function(t){return{mapState:D.bind(null,t),mapGetters:I.bind(null,t),mapMutations:j.bind(null,t),mapActions:R.bind(null,t)}};function Y(t){return z(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function z(t){return Array.isArray(t)||u(t)}function B(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function F(t,e,n){var i=t._modulesNamespaceMap[n];return i}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=c(t.state);"undefined"!==typeof u&&(s&&t.subscribe((function(t,o){var a=c(o);if(n(t,d,a)){var s=W(),l=r(t),h="mutation "+t.type+s;V(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),U(u)}d=a})),l&&t.subscribeAction((function(t,n){if(o(t,n)){var i=W(),r=a(t),s="action "+t.type+i;V(u,s,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),U(u)}})))}}function V(t,e,n){var i=n?t.groupCollapsed:t.group;
91try{i.call(t,e)}catch(r){t.log(e)}}function U(t){try{t.groupEnd()}catch(e){t.log("ââ log end ââ")}}function W(){var t=new Date;return" @ "+X(t.getHours(),2)+":"+X(t.getMinutes(),2)+":"+X(t.getSeconds(),2)+"."+X(t.getMilliseconds(),3)}function $(t,e){return new Array(e+1).join(t)}function X(t,e){return $("0",e-t.toString().length)+t}var q={Store:_,install:P,version:"3.6.2",mapState:D,mapMutations:j,mapGetters:I,mapActions:R,createNamespacedHelpers:N,createLogger:H};e["a"]=q}).call(this,n("c8ba"))},"2f9a":function(t,e){t.exports=function(){}},"301c":function(t,e,n){n("e198")("asyncIterator")},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},3280:function(t,e,n){"use strict";var i=n("ebb5"),r=n("e58c"),o=i.aTypedArray,a=i.exportTypedArrayMethod;a("lastIndexOf",(function(t){return r.apply(o(this),arguments)}))},3397:function(t,e,n){var i=n("7a41");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},3410:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177"),c=r((function(){a(1)}));i({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),r=n("3f8c"),o=n("b622"),a=o("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||r[i(t)]}},"365c":function(t,e,n){"use strict";var i=n("512c"),r=n("5524"),o=n("ef08"),a=n("db37"),s=n("24a2");i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},3787:function(t,e,n){n("c183");var i=n("5524").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},"37e8":function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("825a"),a=n("df75");t.exports=i?Object.defineProperties:function(t,e){o(t);var n,i=a(e),s=i.length,c=0;while(s>c)r.f(t,n=i[c++],e[n]);return t}},3835:function(t,e,n){"use strict";function i(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return s}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function r(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done);a=!0)if(o.push(i.value),e&&o.length===e)break}catch(c){s=!0,r=c}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw r}}return o}}var o=n("06c5");function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){return i(t)||r(t,e)||Object(o["a"])(t,e)||a()}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}}
91,3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 92//! moment.js locale configuration 93var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"393a":function(t,e,n){"use strict";var i=n("e444"),r=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),c=n("26dd"),l=n("92f0"),u=n("ce7a"),d=n("cc15")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};t.exports=function(t,e,n,v,_,y,b){c(n,e,v);var w,k,x,T=function(t){if(!h&&t in E)return E[t];switch(t){case p:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},M=e+" Iterator",S=_==m,C=!1,E=t.prototype,L=E[d]||E[f]||_&&E[_],A=L||T(_),O=_?S?T("entries"):A:void 0,P="Array"==e&&E.entries||L;if(P&&(x=u(P.call(new t)),x!==Object.prototype&&x.next&&(l(x,M,!0),i||"function"==typeof x[d]||a(x,d,g))),S&&L&&L.name!==m&&(C=!0,A=function(){return L.call(this)}),i&&!b||!h&&!C&&E[d]||a(E,d,A),s[e]=A,s[M]=g,_)if(w={values:S?A:T(m),keys:y?A:T(p),entries:O},b)for(k in w)k in E||o(E,k,w[k]);else r(r.P+r.F*(h||C),e,w);return w}},3986:function(t,e,n){"use strict";n("ac1f"),n("5319"),t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"39a6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,453 bytes, lines 94-95
94//! moment.js locale configuration 95var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"39ad":function(t,e,n){var i=n("6ca1"),r=n("d16a"),o=n("9d11");t.exports=function(t){return function(e,n,a){var s,c=i(e),l=r(c.length),u=o(a,l);if(t&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},"39bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 5,926 bytes, lines 96-99
96//! moment.js locale configuration 97var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};function i(t,e,n,i){var r="";if(e)switch(n){case"s":r="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦";break;case"ss":r="%d सà¥à¤à¤à¤¦";break;case"m":r="à¤à¤ मिनिà¤";break;case"mm":r="%d मिनिà¤à¥";break;case"h":r="à¤à¤ तास";break;case"hh":r="%d तास";break;case"d":r="à¤à¤ दिवस";break;case"dd":r="%d दिवस";break;case"M":r="à¤à¤ महिना";break;case"MM":r="%d महिनà¥";break;case"y":r="à¤à¤ वरà¥à¤·";break;case"yy":r="%d वरà¥à¤·à¥";break}else switch(n){case"s":r="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à¤";break;case"ss":r="%d सà¥à¤à¤à¤¦à¤¾à¤";break;case"m":r="à¤à¤à¤¾ मिनिà¤à¤¾";break;case"mm":r="%d मिनिà¤à¤¾à¤";break;case"h":r="à¤à¤à¤¾ तासा";break;case"hh":r="%d तासाà¤";break;case"d":r="à¤à¤à¤¾ दिवसा";break;case"dd":r="%d दिवसाà¤";break;case"M":r="à¤à¤à¤¾ महिनà¥à¤¯à¤¾";break;case"MM":r="%d महिनà¥à¤¯à¤¾à¤";break;case"y":r="à¤à¤à¤¾ वरà¥à¤·à¤¾";break;case"yy":r="%d वरà¥à¤·à¤¾à¤";break}return r.replace(/%d/i,t)}var r=t.defineLocale("mr",{months:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm वाà¤à¤¤à¤¾",LTS:"A h:mm:ss वाà¤à¤¤à¤¾",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾",LLLL:"dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤¦à¥à¤¯à¤¾] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[माà¤à¥à¤²] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमधà¥à¤¯à¥",past:"%sपà¥à¤°à¥à¤µà¥",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाà¤à¥"===e||"सà¤à¤¾à¤³à¥"===e?t:"दà¥à¤ªà¤¾à¤°à¥"===e||"सायà¤à¤à¤¾à¤³à¥"===e||"रातà¥à¤°à¥"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाà¤à¥":t<12?"सà¤à¤¾à¤³à¥":t<17?"दà¥à¤ªà¤¾à¤°à¥":t<20?"सायà¤à¤à¤¾à¤³à¥":"रातà¥à¤°à¥"},week:{dow:0,doy:6}});return r}))},"3a39":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 98//! moment.js locale configuration 99var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("ne",{months:"à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_ठपà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°".split("_"),monthsShort:"à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_ठपà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._ठà¤._सà¥à¤ªà¥à¤._ठà¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार".split("_"),weekdaysShort:"à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.".split("_"),weekdaysMin:"à¤._सà¥._मà¤._बà¥._बि._शà¥._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aà¤à¥ h:mm बà¤à¥",LTS:"Aà¤à¥ h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥"},preparse:function(t){return t.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिà¤à¤à¤¸à¥"===e?t>=10?t:t+12:"साà¤à¤"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिà¤à¤à¤¸à¥":t<20?"साà¤à¤":"राति"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¥à¤²à¤¿] LT",nextWeek:"[à¤à¤à¤à¤¦à¥] dddd[,] LT",lastDay:"[हिà¤à¥] LT",lastWeek:"[à¤à¤à¤à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s ठà¤à¤¾à¤¡à¤¿",s:"à¤à¥à¤¹à¥ à¤à¥à¤·à¤£",ss:"%d सà¥à¤à¥à¤£à¥à¤¡",m:"à¤à¤ मिनà¥à¤",mm:"%d मिनà¥à¤",h:"à¤à¤ à¤à¤£à¥à¤à¤¾",hh:"%d à¤à¤£à¥à¤à¤¾",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महिना",MM:"%d महिना",y:"à¤à¤ बरà¥à¤·",yy:"%d बरà¥à¤·"},week:{dow:0,doy:6}});return i}))},"3a6c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,896 bytes, lines 100-101
100//! moment.js locale configuration 101var e=t.defineLocale("zh-mo",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"D/M/YYYY",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(t,e){return 12===t&&(t=0),"忍"===e||"æ©ä¸"===e||"ä¸å"===e?t:"ä¸å"===e?t>=11?t:t+12:"ä¸å"===e||"æä¸"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"æ¥";case"M":return t+"æ";case"w":case"W":return t+"é±";default:return t}},relativeTime:{future:"%så §",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}});return e}))},"3a7b":function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").findIndex,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("findIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"3b1b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
102//! moment.js locale configuration 103var e={0:"-Ñм",1:"-Ñм",2:"-Ñм",3:"-Ñм",4:"-Ñм",5:"-Ñм",6:"-Ñм",7:"-Ñм",8:"-Ñм",9:"-Ñм",10:"-Ñм",12:"-Ñм",13:"-Ñм",20:"-Ñм",30:"-Ñм",40:"-Ñм",50:"-Ñм",60:"-Ñм",70:"-Ñм",80:"-Ñм",90:"-Ñм",100:"-Ñм"},n=t.defineLocale("tg",{months:{format:"ÑнваÑи_ÑевÑали_маÑÑи_апÑели_майи_иÑни_иÑли_авгÑÑÑи_ÑенÑÑбÑи_окÑÑбÑи_ноÑбÑи_декабÑи".split("_"),standalone:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_")},monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÑкÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе".split("_"),weekdaysShort:"ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб".split("_"),weekdaysMin:"ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐмÑӯз ÑоаÑи] LT",nextDay:"[ФаÑдо ÑоаÑи] LT",lastDay:"[ÐиÑӯз ÑоаÑи] LT",nextWeek:"dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT",lastWeek:"dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT",sameElse:"L"},relativeTime:{future:"баÑди %s",past:"%s пеÑ",s:"ÑкÑанд ÑониÑ",m:"Ñк даÒиÒа",mm:"%d даÒиÒа",h:"Ñк ÑоаÑ",hh:"%d ÑоаÑ",d:"Ñк Ñӯз",dd:"%d Ñӯз",M:"Ñк моҳ",MM:"%d моҳ",y:"Ñк Ñол",yy:"%d Ñол"},meridiemParse:/Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"Ñаб"===e?t<4?t:t+12:"ÑÑбҳ"===e?t:"Ñӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"Ñаб":t<11?"ÑÑбҳ":t<16?"Ñӯз":t<19?"бегоҳ":"Ñаб"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñм|Ñм)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"3b2cc":function(t,e,n){t.exports={default:n("7d27"),__esModule:!0}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3bea":function(t,e,n){"use strict";n("a15b"),n("ac1f"),n("466d"),n("4d63"),n("25f0");var i=n("4d13");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"3c0d":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
104//! moment.js locale configuration 105var e="leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),n="led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bÅe/i,/^dub/i,/^kvÄ/i,/^(Ävn|Äerven$|Äervna)/i,/^(Ävc|Äervenec|Äervence)/i,/^srp/i,/^záÅ/i,/^ÅÃj/i,/^lis/i,/^pro/i],r=/^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i;function o(t){return t>1&&t<5&&1!==~~(t/10)}function a(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(o(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(o(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(o(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(o(t)?"dny":"dnÃ"):r+"dny";case"M":return e||i?"mÄsÃc":"mÄsÃcem";case"MM":return e||i?r+(o(t)?"mÄsÃce":"mÄsÃců"):r+"mÄsÃci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(o(t)?"roky":"let"):r+"lety"}}var s=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zÃtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedÄli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve stÅedu v] LT";case 4:return"[ve Ätvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[vÄera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou nedÄli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou stÅedu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pÅed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3c5d":function(t,e,n){"use strict";var i=n("ebb5"),r=n("50c4"),o=n("182d"),a=n("7b0b"),s=n("d039"),c=i.aTypedArray,l=i.exportTypedArrayMethod,u=s((function(){new Int8Array(1).set({})}));l("set",(function(t){c(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,i=a(t),s=r(i.length),l=0;if(s+e>n)throw RangeError("Wrong length");while(l<s)this[e+l]=i[l++]}),u)},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,r=n("577e"),o=n("69f3"),a=n("7dd0"),s="String Iterator",c=o.set,l=o.getterFor(s);a(String,"String",(function(t){c(this,{type:s,string:r(t),index:0})}),(function(){var t,e=l(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},"3d33":function(t,e,n){ 106/** 107 * @license 108 * Video.js 6.13.0 <http://videojs.com/> 109 * Copyright Brightcove, Inc. <https://www.brightcove.com/> 110 * Available under Apache License Version 2.0 111 * <https://github.com/videojs/video.js/blob/master/LICENSE> 112 * 113 * Includes vtt.js <https://github.com/mozilla/vtt.js> 114 * Available under Apache License Version 2.0 115 * <https://github.com/mozilla/vtt.js/blob/master/LICENSE> 116 */ 117function i(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var r=i(n("be09")),o=i(n("ef34")),a=i(n("1b8d")),s=i(n("8c10")),c=i(n("eec7")),l=i(n("2b8c")),u="6.13.0",d=r.navigator&&r.navigator.userAgent||"",h=/AppleWeb
117Kit\/([\d.]+)/i.exec(d),f=h?parseFloat(h.pop()):null,p=/iPad/i.test(d),m=/iPhone/i.test(d)&&!p,g=/iPod/i.test(d),v=m||p||g,_=function(){var t=d.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),y=/Android/i.test(d),b=function(){var t=d.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e||null}(),w=y&&/webkit/i.test(d)&&b<2.3,k=y&&b<5&&f<537,x=/Firefox/i.test(d),T=/Edge/i.test(d),M=!T&&(/Chrome/i.test(d)||/CriOS/i.test(d)),S=function(){var t=d.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),C=/MSIE\s8\.0/.test(d),E=function(){var t=/MSIE\s(\d+)\.\d/.exec(d),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(d)&&/rv:11.0/.test(d)&&(e=11),e}(),L=/Safari/i.test(d)&&!M&&!y&&!T,A=(L||v)&&!M,O=nt()&&("ontouchstart"in r||r.navigator.maxTouchPoints||r.DocumentTouch&&r.document instanceof r.DocumentTouch),P=nt()&&"backgroundSize"in r.document.createElement("video").style,D=(Object.freeze||Object)({IS_IPAD:p,IS_IPHONE:m,IS_IPOD:g,IS_IOS:v,IOS_VERSION:_,IS_ANDROID:y,ANDROID_VERSION:b,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:k,IS_FIREFOX:x,IS_EDGE:T,IS_CHROME:M,CHROME_VERSION:S,IS_IE8:C,IE_VERSION:E,IS_SAFARI:L,IS_ANY_SAFARI:A,TOUCH_ENABLED:O,BACKGROUND_SIZE_SUPPORTED:P}),j="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},R=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},N=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},Y=function(t,e){return t.raw=e,t},z=Object.prototype.toString,B=function(t){return U(t)?Object.keys(t):[]};function F(t,e){B(t).forEach((function(n){return e(t[n],n)}))}function H(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return B(t).reduce((function(n,i){return e(n,t[i],i)}),n)}function V(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Object.assign?Object.assign.apply(Object,[t].concat(n)):(n.forEach((function(e){e&&F(e,(function(e,n){t[n]=e}))})),t)}function U(t){return!!t&&"object"===("undefined"===typeof t?"undefined":j(t))}function W(t){return U(t)&&"[object Object]"===z.call(t)&&t.constructor===Object}var $=[],X=function(t,e){return function(n,i,o,a){var s=e.levels[i],c=new RegExp("^("+s+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(t+":"),$&&$.push([].concat(o)),r.console){var l=r.console[n];l||"debug"!==n||(l=r.console.info||r.console.log),l&&s&&c.test(n)&&(a&&(o=o.map((function(t){if(U(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)})).join(" ")),l.apply?l[Array.isArray(o)?"apply":"call"](r.console,o):l(o))}}};function q(t){var e="info",n=void 0,i=function t(){for(var i=t.stringify||E&&E<11,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];n("log",e,o,i)};return n=X(t,i),i.createLogger=function(e){return q(t+": "+e)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:e},i.level=function(t){if("string"===typeof t){if(!i.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');e=t}return e},i.history=function(){return $?[].concat($):[]},i.history.filter=function(t){return($||[]).filter((function(e){return new RegExp(".*"+t+".*").test(e[0])}))},i.history.clear=function(){$&&($.length=0)},i.history.disable=function(){null!==$&&($.length=0,$=null)},i.history.enable=function(){null===$&&($=[])},i.error=function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return n("error",e,i)},i.warn=function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return n("warn",e,i)},i.debug=function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return n("debug",e,i)},i}var G=q("VIDEOJS"),Z=G.createLogger;function J(t,e){if(!t||!e)return"";if("function"===typeof r.getComputedStyle){var n=r.getComputedStyle(t);return n?n[e]:""}return t.currentStyle[e]||""}var K=Y(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]);function Q(t){return"string"===typeof t&&/\S/.test(t)}function tt(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function et(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}function nt(){return o===r.document&&"undefined"!==typeof o.createElement}function it(t){return U(t)&&1===t.nodeType}function rt(){try{return r.parent!==r.self}catch(t){return!0}}function ot(t){return function(e,n){if(!Q(e))return o[t](null);Q(n)&&(n=o.querySelector(n));var i=it(n)?n:o;return i[t]&&i[t](e)}}function at(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],r=o.createElement(t);return Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(G.warn(a(K,t,n)),r.setAttribute(t,n)):"textContent"===t?st(r,
117n):r[t]=n})),Object.getOwnPropertyNames(n).forEach((function(t){r.setAttribute(t,n[t])})),i&&St(r,i),r}function st(t,e){return"undefined"===typeof t.textContent?t.innerText=e:t.textContent=e,t}function ct(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function lt(t,e){return tt(e),t.classList?t.classList.contains(e):et(e).test(t.className)}function ut(t,e){return t.classList?t.classList.add(e):lt(t,e)||(t.className=(t.className+" "+e).trim()),t}function dt(t,e){return t.classList?t.classList.remove(e):(tt(e),t.className=t.className.split(/\s+/).filter((function(t){return t!==e})).join(" ")),t}function ht(t,e,n){var i=lt(t,e);if("function"===typeof n&&(n=n(t,e)),"boolean"!==typeof n&&(n=!i),n!==i)return n?ut(t,e):dt(t,e),t}function ft(t,e){Object.getOwnPropertyNames(e).forEach((function(n){var i=e[n];null===i||"undefined"===typeof i||!1===i?t.removeAttribute(n):t.setAttribute(n,!0===i?"":i)}))}function pt(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var i=t.attributes,r=i.length-1;r>=0;r--){var o=i[r].name,a=i[r].value;"boolean"!==typeof t[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),e[o]=a}return e}function mt(t,e){return t.getAttribute(e)}function gt(t,e,n){t.setAttribute(e,n)}function vt(t,e){t.removeAttribute(e)}function _t(){o.body.focus(),o.onselectstart=function(){return!1}}function yt(){o.onselectstart=function(){return!0}}function bt(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n.height||(n.height=parseFloat(J(t,"height"))),n.width||(n.width=parseFloat(J(t,"width"))),n}}function wt(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=o.documentElement,i=o.body,a=n.clientLeft||i.clientLeft||0,s=r.pageXOffset||i.scrollLeft,c=e.left+s-a,l=n.clientTop||i.clientTop||0,u=r.pageYOffset||i.scrollTop,d=e.top+u-l;return{left:Math.round(c),top:Math.round(d)}}function kt(t,e){var n={},i=wt(t),r=t.offsetWidth,o=t.offsetHeight,a=i.top,s=i.left,c=e.pageY,l=e.pageX;return e.changedTouches&&(l=e.changedTouches[0].pageX,c=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-c+o)/o)),n.x=Math.max(0,Math.min(1,(l-s)/r)),n}function xt(t){return U(t)&&3===t.nodeType}function Tt(t){while(t.firstChild)t.removeChild(t.firstChild);return t}function Mt(t){return"function"===typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map((function(t){return"function"===typeof t&&(t=t()),it(t)||xt(t)?t:"string"===typeof t&&/\S/.test(t)?o.createTextNode(t):void 0})).filter((function(t){return t}))}function St(t,e){return Mt(e).forEach((function(e){return t.appendChild(e)})),t}function Ct(t,e){return St(Tt(t),e)}function Et(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===E||0===t.button&&1===t.buttons))}var Lt=ot("querySelector"),At=ot("querySelectorAll"),Ot=(Object.freeze||Object)({isReal:nt,isEl:it,isInFrame:rt,createEl:at,textContent:st,prepe
vendor: 10,810 bytes, line 117
117ndTo:ct,hasClass:lt,addClass:ut,removeClass:dt,toggleClass:ht,setAttributes:ft,getAttributes:pt,getAttribute:mt,setAttribute:gt,removeAttribute:vt,blockTextSelection:_t,unblockTextSelection:yt,getBoundingClientRect:bt,findPosition:wt,getPointerPosition:kt,isTextNode:xt,emptyEl:Tt,normalizeContent:Mt,appendContent:St,insertContent:Ct,isSingleLeftClick:Et,$:Lt,$$:At}),Pt=1;function Dt(){return Pt++}var jt={},It="vdata"+(new Date).getTime();function Rt(t){var e=t[It];return e||(e=t[It]=Dt()),jt[e]||(jt[e]={}),jt[e]}function Nt(t){var e=t[It];return!!e&&!!Object.getOwnPropertyNames(jt[e]).length}function Yt(t){var e=t[It];if(e){delete jt[e];try{delete t[It]}catch(n){t.removeAttribute?t.removeAttribute(It):t[It]=null}}}function zt(t,e){var n=Rt(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Yt(t)}function Bt(t,e,n,i){n.forEach((function(n){t(e,n,i)}))}function Ft(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var i=t||r.event;for(var a in t={},i)"layerX"!==a&&"layerY"!==a&&"keyLocation"!==a&&"webkitMovementX"!==a&&"webkitMovementY"!==a&&("returnValue"===a&&i.preventDefault||(t[a]=i[a]));if(t.target||(t.target=t.srcElement||o),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){i.preventDefault&&i.preventDefault(),t.returnValue=!1,i.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){i.stopPropagation&&i.stopPropagation(),t.cancelBubble=!0,i.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){i.stopImmediatePropagation&&i.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var s=o.documentElement,c=o.body;t.pageX=t.clientX+(s&&s.scrollLeft||c&&c.scrollLeft||0)-(s&&s.clientLeft||c&&c.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||c&&c.scrollTop||0)-(s&&s.clientTop||c&&c.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}var Ht=!1;(function(){try{var t=Object.defineProperty({},"passive",{get:function(){Ht=!0}});r.addEventListener("test",null,t),r.removeEventListener("test",null,t)}catch(e){}})();var Vt=["touchstart","touchmove"];function Ut(t,e,n){if(Array.isArray(e))return Bt(Ut,t,e,n);var i=Rt(t);if(i.handlers||(i.handlers={}),i.handlers[e]||(i.handlers[e]=[]),n.guid||(n.guid=Dt()),i.handlers[e].push(n),i.dispatcher||(i.disabled=!1,i.dispatcher=function(e,n){if(!i.disabled){e=Ft(e);var r=i.handlers[e.type];if(r)for(var o=r.slice(0),a=0,s=o.length;a<s;a++){if(e.isImmediatePropagationStopped())break;try{o[a].call(t,e,n)}catch(c){G.error(c)}}}}),1===i.handlers[e].length)if(t.addEventListener){var r=!1;Ht&&Vt.indexOf(e)>-1&&(r={passive:!0}),t.addEventListener(e,i.dispatcher,r)}else t.attachEvent&&t.attachEvent("on"+e,i.dispatcher)}function Wt(t,e,n){if(Nt(t)){var i=Rt(t);if(i.handlers){if(Array.isArray(e))return Bt(Wt,t,e,n);var r=function(t,e){i.handlers[e]=[],zt(t,e)};if(void 0!==e){var o=i.handlers[e];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);zt(t,e)}else r(t,e)}else for(var s in i.handlers)Object.prototype.hasOwnProperty.call(i.handlers||{},s)&&r(t,s)}}}function $t(t,e,n){var i=Nt(t)?Rt(t):{},r=t.parentNode||t.ownerDocument;if("string"===typeof e?e={type:e,target:t}:e.target||(e.target=t),e=Ft(e),i.dispatcher&&i.dispatcher.call(t,e,n),r&&!e.isPropagationStopped()&&!0===e.bubbles)$t.call(null,r,e,n);else if(!r&&!e.defaultPrevented){var o=Rt(e.target);e.target[e.type]&&(o.disabled=!0,"function"===typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented}function Xt(t,e,n){if(Array.isArray(e))return Bt(Xt,t,e,n);var i=function i(){Wt(t,e,i),n.apply(this,arguments)};i.guid=n.guid=n.guid||Dt(),Ut(t,e,i)}var qt=(Object.freeze||Object)({fixEvent:Ft,on:Ut,off:Wt,trigger:$t,one:Xt}),Gt=!1,Zt=void 0,Jt=function(){if(nt()&&!1!==Zt.options.autoSetup){var t=o.getElementsByTagName("video"),e=o.getElementsByTagName("audio"),n=o.getElementsByTagName("video-js"),i=[];if(t&&t.length>0)for(var r=0,a=t.length;r<a;r++)i.push(t[r]);if(e&&e.length>0)for(var s=0,c=e.length;s<c;s++)i.push(e[s]);if(n&&n.length>0)for(var l=0,u=n.length;l<u;l++)i.push(n[l]);if(i&&i.length>0)for(var d=0,h=i.length;d<h;d++){var f=i[d];if(!f||!f.getAttribute){Kt(1);break}if(void 0===f.player){var p=f.getAttribute("data-setup");null!==p&&Zt(f)}}else Gt||Kt(1)}};function Kt(t,e){e&&(Zt=e),r.setTimeout(Jt,t)}nt()&&"complete"===o.readyState?Gt=!0:Xt(r,"load",(function(){Gt=!0}));var Qt=function(t){var e=o.createElement("style");return e.className=t,e},te=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e},ee=function(t,e,n){e.guid||(e.guid=Dt());var i=function(){return e.apply(t,arguments)};return i.guid=n?n+"_"+e.guid:e.guid,i},ne=function(t,e){var n=Date.now(),i=function(){var i=Date.now();i-n>=e&&(t.apply(void 0,arguments),n=i)};return i},ie=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,o=void 0,a=function(){i.clearTimeout(o),o=null},s=function(){var r=this,a=arguments,s=function(){o=null,s=null,n||t.apply(r,a)};!o&&n&&t.apply(r,a),i.clearTimeout(o),o=i.setTimeout(s,e)};return s.cancel=a,s},re=function(){};re.prototype.allowedEvents_={},re.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Ut(this,t,e),this.addEventListener=n},re.prototype.addEventListener=re.prototype.on,re.prototype.off=function(t,e){Wt(this,t,e)},re.prototype.removeEventListener=re.prototype.off,re.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Xt(this,t,e),this.addEventListener=n},re.prototype.trigger=function(t){var e=t.type||t;"string"===typeof t&&(t={type:e}),t=Ft(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),$t(this,t)},re.prototype.dispatchEvent=re.prototype.trigger;var oe=function(t){return t instanceof re||!!t.eventBusEl_&&["on","one","off","trigger"].every((function(e){return"function"===typeof t[e]}))},ae=function(t){return"string"===typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},se=function(t){if(!t.nodeName&&!oe(t))throw new Error("Invalid target; must be a DOM node or evented object.")},ce=function(t){if(!ae(t))throw new Error("Invalid event type; must be a non-empty string or array.")},le=function(t){if("function"!==typeof t)throw new Error("Invalid listener; must be a function.")},ue=function(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,i=void 0,r=void 0,o=void 0;return n?(i=t.eventBusEl_,e.length>=3&&e.shift(),r=e[0],o=e[1]):(i=e[0],r=e[1],o=e[2]),se(i),ce(r),le(o),o=ee(t,o),{isTargetingSelf:n,target:i,type:r,listener:o}},de=function(t,e,n,i){se(t),t.nodeName?qt[e](t,n,i):t[e](n,i)},he={on:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=ue(this,n),o=r.isTargetingSelf,a=r.target,s=r.type,c=r.listener;if(de(a,"on",s,c),!o){var l=function(){return t.off(a,s,c)};l.guid=c.guid;var u=function(){return t.off("dispose",l)};u.guid=c.guid,de(this,"on","dispose",l),de(a,"on","dispose",u)}},one:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=ue(this,n),o=r.isTargetingSelf,a=r.target,s=r.type,c=r.listener;if(o)de(a,"one",s,c);else{var l=function e(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];t.off(a,s,e),c.apply(null,i)};l.guid=c.guid,de(a,"one",s,l)}},off:function(t,e,n){if(!t||ae(t))Wt(this.eventBusEl_,t,e);else{var i=t,r=e;se(i),ce(r),le(n),n=ee(this,n),this.off("dispose",n),i.nodeName?(Wt(i,r,n),Wt(i,"dispose",n)):oe(i)&&(i.off(r,n),i.off("dispose",n))}},trigger:function(t,e){return $t(this.eventBusEl_,t,e)}};function fe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=at("span",{className:"vjs-event-bus"});return V(t,he),t.on("dispose",(function(){t.off(),r.setTimeout((function(){t.eventBusEl_=null}),0)})),t}var pe={state:{},setState:function(t){var e=this;"function"===typeof t&&(t=t());var n=void 0;return F(t,(function(t,i){e.state[i]!==t&&(n=n||{},n[i]={from:e.state[i],to:t}),e.state[i]=t})),n&&oe(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function me(t,e){return V(t,pe),t.state=V({},t.state,e),"function"===typeof t.handleStateChanged&&oe(t)&&t.on("statechanged",t.handleStateChanged),t}function ge(t){return"string"!==typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function ve(t,e){return ge(t)===ge(e)}function _e(){for(var t={},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach((function(e){e&&F(e,(function(e,n){W(e)?(W(t[n])||(t[n]={}),t[n]=_e(t[n],e)):t[n]=e}))})),t}var ye=function(){function t(e,n,i){if(I(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=_e({},this.options_),n=this.options_=_e(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+Dt()}this.name_=n.name||null,n.el?this.el_=n.el:!1!==n.createEl&&(this.el_=this.createEl()),!1!==n.evented&&fe(this,{eventBusKey:this.el_?"el_":null}),me(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==n.initChildren&&this.initChildren(),this.ready(i),!1!==n.reportTouchActivity&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Yt(this.el_),this.el_=null),this.player_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return G.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=_e(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,n){return at(t,e,n)},t.prototype.localize=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),o=r&&r[i],a=i&&i.split("-")[0],s=r&&r[a],c=n;return o&&o[t]?c=o[t]:s&&s[t]&&(c=s[t]),e&&(c=c.replace(/\{(\d+)\}
vendor: 4,659 bytes, line 117
117/g,(function(t,n){var i=e[n-1],r=i;return"undefined"===typeof i&&(r=t),r}))),c},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){if(t)return t=ge(t),this.childNameIndex_[t]},t.prototype.addChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,r=void 0,o=void 0;if("string"===typeof e){o=ge(e);var a=n.componentClass||o;n.name=o;var s=t.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!==typeof s)return null;r=new s(this.player_||this,n)}else r=e;if(this.children_.splice(i,0,r),"function"===typeof r.id&&(this.childIndex_[r.id()]=r),o=o||r.name&&ge(r.name()),o&&(this.childNameIndex_[o]=r),"function"===typeof r.el&&r.el()){var c=this.contentEl().children,l=c[i]||null;this.contentEl().insertBefore(r.el(),l)}return r},t.prototype.removeChild=function(t){if("string"===typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var i=t.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,n=this.options_.children;if(n){var i=this.options_,r=function(t){var n=t.name,r=t.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=e.options_.playerOptions;var o=e.addChild(n,r);o&&(e[n]=o)}},o=void 0,a=t.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter((function(t){return!o.some((function(e){return"string"===typeof e?t===e:t===e.name}))}))).map((function(t){var i=void 0,r=void 0;return"string"===typeof t?(i=t,r=n[i]||e.options_[i]||{}):(i=t.name,r=t),{name:i,opts:r}})).filter((function(e){var n=t.getComponent(e.opts.componentClass||ge(e.name));return n&&!a.isTech(n)})).forEach(r)}},t.prototype.buildCSSClass=function(){return""},t.prototype.ready=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach((function(t){t.call(this)}),this),this.trigger("ready")}),1)},t.prototype.$=function(t,e){return Lt(t,e||this.contentEl())},t.prototype.$$=function(t,e){return At(t,e||this.contentEl())},t.prototype.hasClass=function(t){return lt(this.el_,t)},t.prototype.addClass=function(t){ut(this.el_,t)},t.prototype.removeClass=function(t){dt(this.el_,t)},t.prototype.toggleClass=function(t,e){ht(this.el_,t,e)},t.prototype.show=function(){this.removeClass("vjs-hidden")},t.prototype.hide=function(){this.addClass("vjs-hidden")},t.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},t.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.prototype.getAttribute=function(t){return mt(this.el_,t)},t.prototype.setAttribute=function(t,e){gt(this.el_,t,e)},t.prototype.removeAttribute=function(t){vt(this.el_,t)},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.prototype.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e===e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var i=this.el_.style[t],r=i.indexOf("px");return-1!==r?parseInt(i.slice(0,r),10):parseInt(this.el_["offset"+ge(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"===typeof r.getComputedStyle){var n=r.getComputedStyle(this.el_);e=n.getPropertyValue(t)||n[t]}if(e=parseFloat(e),0===e){var i="offset"+ge(t);e=this.el_[i]}return e},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")}
117,t.prototype.focus=function(){this.el_.focus()},t.prototype.blur=function(){this.el_.blur()},t.prototype.emitTapEvents=function(){var t=0,e=null,n=10,i=200,r=void 0;this.on("touchstart",(function(n){1===n.touches.length&&(e={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=(new Date).getTime(),r=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)r=!1;else if(e){var i=t.touches[0].pageX-e.pageX,o=t.touches[0].pageY-e.pageY,a=Math.sqrt(i*i+o*o);a>n&&(r=!1)}}));var o=function(){r=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",(function(n){if(e=null,!0===r){var o=(new Date).getTime()-t;o<i&&(n.preventDefault(),this.trigger("tap"))}}))},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=ee(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.prototype.setTimeout=function(t,e){var n,i,o=this;return t=ee(this,t),n=r.setTimeout((function(){o.off("dispose",i),t()}),e),i=function(){return o.clearTimeout(n)},i.guid="vjs-timeout-"+n,this.on("dispose",i),n},t.prototype.clearTimeout=function(t){r.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){var n=this;t=ee(this,t);var i=r.setInterval(t,e),o=function(){return n.clearInterval(i)};return o.guid="vjs-interval-"+i,this.on("dispose",o),i},t.prototype.clearInterval=function(t){r.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.prototype.requestAnimationFrame=function(t){var e,n,i=this;return this.supportsRaf_?(t=ee(this,t),e=r.requestAnimationFrame((function(){i.off("dispose",n),t()})),n=function(){return i.cancelAnimationFrame(e)},n.guid="vjs-raf-"+e,this.on("dispose",n),e):this.setTimeout(t,1e3/60)},t.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){r.cancelAnimationFrame(t);var e=function(){};return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},t.registerComponent=function(e,n){if("string"!==typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var i=t.getComponent("Tech"),r=i&&i.isTech(n),o=t===n||t.prototype.isPrototypeOf(n.prototype);if(r||!o){var a=void 0;throw a=r?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+a+".")}e=ge(e),t.components_||(t.components_={});var s=t.getComponent("Player");if("Player"===e&&s&&s.players){var c=s.players,l=Object.keys(c);if(c&&l.length>0&&l.map((function(t){return c[t]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,n},t.getComponent=function(e){if(e)return e=ge(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();function be(t,e,n){if("number"!==typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}function we(t,e,n,i){return be(t,i,n.length-1),n[i][e]}function ke(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:we.bind(null,"start",0,t),end:we.bind(null,"end",1,t)}}function xe(t,e){return Array.isArray(t)?ke(t):void 0===t||void 0===e?ke():ke([[t,e]])}function Te(t,e){var n=0,i=void 0,r=void 0;if(!e)return 0;t&&t.length||(t=xe(0,0));for(var o=0;o<t.length;o++)i=t.start(o),r=t.end(o),r>e&&(r=e),n+=r-i;return n/e}ye.prototype.supportsRaf_="function"===typeof r.requestAnimationFrame&&"function"===typeof r.cancelAnimationFrame,ye.registerComponent("Component",ye);for(var Me={},Se=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["
117webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Ce=Se[0],Ee=void 0,Le=0;Le<Se.length;Le++)if(Se[Le][1]in o){Ee=Se[Le];break}if(Ee)for(var Ae=0;Ae<Ee.length;Ae++)Me[Ce[Ae]]=Ee[Ae];function Oe(t){if(t instanceof Oe)return t;"number"===typeof t?this.code=t:"string"===typeof t?this.message=t:U(t)&&("number"===typeof t.code&&(this.code=t.code),V(this,t)),this.message||(this.message=Oe.defaultMessages[this.code]||"")}Oe.prototype.code=0,Oe.prototype.message="",Oe.prototype.status=null,Oe.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Oe.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Pe=0;Pe<Oe.errorTypes.length;Pe++)Oe[Oe.errorTypes[Pe]]=Pe,Oe.prototype[Oe.errorTypes[Pe]]=Pe;function De(t){return void 0!==t&&null!==t&&"function"===typeof t.then}function je(t){De(t)&&t.then(null,(function(t){}))}var Ie=function(t){var e=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(e,n,i){return t[n]&&(e[n]=t[n]),e}),{cues:t.cues&&Array.prototype.map.call(t.cues,(function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}}))});return e},Re=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,(function(t){return t.track})),i=Array.prototype.map.call(e,(function(t){var e=Ie(t.track);return t.src&&(e.src=t.src),e}));return i.concat(Array.prototype.filter.call(t.textTracks(),(function(t){return-1===n.indexOf(t)})).map(Ie))},Ne=function(t,e){return t.forEach((function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach((function(t){return n.addCue(t)}))})),e.textTracks()},Ye={textTracksToJson:Re,jsonToTextTracks:Ne,trackToJson_:Ie},ze="vjs-modal-dialog",Be=27,Fe=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=at("div",{className:ze+"-content"},{role:"document"}),r.descEl_=at("p",{className:ze+"-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),st(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return ze+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){t.which===Be&&this.closeable()&&this.close()},e.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpe
vendor: 11,740 bytes, line 117
117n&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",ee(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},e.prototype.opened=function(t){return"boolean"===typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",ee(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},e.prototype.closeable=function(t){if("boolean"===typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var i=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=i,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},e.prototype.fill=function(){this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,i=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),Ct(e,t),this.trigger("modalfill"),i?n.insertBefore(e,i):n.appendChild(e);var r=this.getChild("closeButton");r&&n.appendChild(r.el_)},e.prototype.empty=function(){this.trigger("beforemodalempty"),Tt(this.contentEl()),this.trigger("modalempty")},e.prototype.content=function(t){return"undefined"!==typeof t&&(this.content_=t),this.content_},e.prototype.conditionalFocus_=function(){var t=o.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus(),this.on(o,"keydown",this.handleKeyDown))},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(o,"keydown",this.handleKeyDown)},e.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),i=void 0,r=0;r<e.length;r++)if(n===e[r]){i=r;break}o.activeElement===this.el_&&(i=0),t.shiftKey&&0===i?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||i!==e.length-1||(e[0].focus(),t.preventDefault())}},e.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,(function(t){return(t instanceof r.HTMLAnchorElement||t instanceof r.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof r.HTMLInputElement||t instanceof r.HTMLSelectElement||t instanceof r.HTMLTextAreaElement||t instanceof r.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof r.HTMLIFrameElement||t instanceof r.HTMLObjectElement||t instanceof r.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")}))},e}(ye);Fe.prototype.options_={pauseOnOpen:!0,temporary:!0},ye.registerComponent("ModalDialog",Fe);var He=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;I(this,e);var a=N(this,t.call(this));if(!r&&(r=a,C))for(var s in r=o.createElement("custom"),e.prototype)"constructor"!==s&&(r[s]=e.prototype[s]);r.tracks_=[],Object.defineProperty(r,"length",{get:function(){return this.tracks_.length}});for(var c=0;c<i.length;c++)r.addTrack(i[c]);return n=r,N(a,n)}return R(e,t),e.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack=function(t){for(var e=void 0,n=0,i=this.length;n<i;n++)if(this[n]===t){e=this[n],e.off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},e}(re);for(var Ve in He.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},He.prototype.allowedEvents_)He.prototype["on"+Ve]=null;var Ue=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},We=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];I(this,e);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].enabled){Ue(r,r[s]);break}if(C){for(var c in a=o.createElement("custom"),He.prototype)"constructor"!==c&&(a[c]=He.prototype[c]);for(var l in e.prototype)"constructor"!==l&&(a[l]=e.prototype[l])}return n=N(this,t.call(this,r,a)),a=n,a.changing_=!1,i=a,N(n,i)}return R(e,t),e.prototype.addTrack=function(e){var n=this;e.enabled&&Ue(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",(function(){n.changing_||(n.changing_=!0,Ue(n,e),n.changing_=!1,n.trigger("change"))}))},e}(He),$e=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},Xe=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];I(this,e);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].selected){$e(r,r[s]);break}if(C){for(var c in a=o.createElement("custom"),He.prototype)"constructor"!==c&&(a[c]=He.prototype[c]);for(var l in e.prototype)"constructor"!==l&&(a[l]=e.prototype[l])}return n=N(this,t.call(this,r,a)),a=n,a.changing_=!1,Object.defineProperty(a,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),i=a,N(n,i)}return R(e,t),e.prototype.addTrack=function(e){var n=this;e.selected&&$e(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",(function(){n.changing_||(n.changing_=!0,$e(n,e),n.changing_=!1,n.trigger("change"))}))},e}(He),qe=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];I(this,e);var a=void 0;if(C){for(var s in a=o.createElement("custom"),He.prototype)"constructor"!==s&&(a[s]=He.prototype[s]);for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c])}return n=N(this,t.call(this,r,a)),a=n,i=a,N(n,i)}return R(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",ee(this,(function(){this.trigger("change")})));var n=["metadata","chapters"];-1===n.indexOf(e.kind)&&e.addEventListener("modechange",ee(this,(function(){this.trigger("selectedlanguagechange")})))},e}(He),Ge=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];I(this,t);var n=this;if(C)for(var i in n=o.createElement("custom"),t.prototype)"constructor"!==i&&(n[i]=t.prototype[i]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var r=0,a=e.length;r<a;r++)n.addTrackElement_(e[r]);if(C)return n}return t.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,i=this.trackElements_.length;n<i;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}(),Ze=function(){function t(e){I(this,t);var n=this;if(C)for(var i in n=o.createElement("custom"),t.prototype)"constructor"!==i&&(n[i]=t.prototype[i]);if(t.prototype.setCues_.call(n,e),Object.defineProperty(n,"length",{get:function(){return this.length_}}),C)return n}return t.prototype.setCues_=function(t){var e=this.length||0,n=0,i=t.length;this.cues_=t,this.length_=t.length;var r=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<i)for(n=e;n<i;n++)r.call(this,n)},t.prototype.getCueById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},t}(),Je={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ke={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Qe={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},tn={disabled:"disabled",hidden:"hidden",showing:"showing"},en=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I(this,e);var r=N(this,t.call(this)),a=r;if(C)for(var s in a=o.createElement("custom"),e.prototype)"constructor"!==s&&(a[s]=e.prototype[s]);var c={id:i.id||"vjs_track_"+Dt(),kind:i.kind||"",label:i.label||"",language:i.language||""},l=function(t){Object.defineProperty(a,t,{get:function(){return c[t]},set:function(){}})};for(var u in c)l(u);return n=a,N(r,n)}return R(e,t),e}(re),nn=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=o.createElement("a");n.href=t;var i=""===n.host&&"file:"!==n.protocol,a=void 0;i&&(a=o.createElement("div"),a.innerHTML='<a href="'+t+'"></a>',n=a.firstChild,a.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(a));for(var s={},c=0;c<e.length;c++)s[e[c]]=n[e[c]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=r.location.protocol),i&&o.body.removeChild(a),s},rn=function(t){if(!t.match(/^https?:\/\//)){var e=o.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},on=function(t){if("string"===typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=e.exec(t);if(n)return n.pop().toLowerCase()}return""},an=function(t){var e=r.location,n=nn(t),i=":"===n.protocol?e.protocol:n.protocol,o=i+n.host!==e.protocol+e.host;return o},sn=(Object.freeze||Object)({parseUrl:nn,getAbsoluteURL:rn,getFileExtension:on,isCrossOrigin:an}),cn=function(t,e){var n=new r.WebVTT.Parser(r,r.vttjs,r.WebVTT.StringDecoder()),i=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){i.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),i.length>0&&(r.console&&r.console.groupCollapsed&&r.console.groupCollapsed("Text Track parsing errors for "+e.src),i.forEach((function(t){return G.error(t)})),r.console&&r.console.groupEnd&&r.console.groupEnd()),n.flush()},ln=function(t,e){var n={uri:t},i=an(t);i&&(n.cors=i),c(n,ee(this,(function(t,n,i){if(t)return G.error(t,n);if(e.loaded_=!0,"function"!==typeof r.WebVTT){if(e.tech_){var o=function(){return cn(i,e)};e.tech_.on("vttjsloaded",o),e.tech_.on("vttjserror",(function(){G.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",o)}))}}else cn(i,e)})))},un=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(I(this,e),!r.tech)throw new Error("A tech was not provided.");var o=_e(r,{kind:Qe[r.kind]||"subtitles",language:r.language||r.srclang||""}),a=tn[o.mode]||"disabled",s=o["default"];"metadata"!==o.kind&&"chapters"!==o.kind||(a="hidden");var c=(n=N(this,t.call(this,o)),n);if(c.tech_=o.tech,C)for(var l in e.prototype)"constructor"!==l&&(c[l]=e.prototype[l]);c.cues_=[],c.activeCues_=[];
117var u=new Ze(c.cues_),d=new Ze(c.activeCues_),h=!1,f=ee(c,(function(){this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1)}));return"disabled"!==a&&c.tech_.ready((function(){c.tech_.on("timeupdate",f)}),!0),Object.defineProperty(c,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(c,"mode",{get:function(){return a},set:function(t){var e=this;tn[t]&&(a=t,"disabled"!==a?this.tech_.ready((function(){e.tech_.on("timeupdate",f)}),!0):this.tech_.off("timeupdate",f),this.trigger("modechange"))}}),Object.defineProperty(c,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(c,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return d;for(var t=this.tech_.currentTime(),e=[],n=0,i=this.cues.length;n<i;n++){var r=this.cues[n];(r.startTime<=t&&r.endTime>=t||r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t)&&e.push(r)}if(h=!1,e.length!==this.activeCues_.length)h=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(h=!0);return this.activeCues_=e,d.setCues_(this.activeCues_),d},set:function(){}}),o.src?(c.src=o.src,ln(o.src,c)):c.loaded_=!0,i=c,N(n,i)}return R(e,t),e.prototype.addCue=function(t){var e=t;if(r.vttjs&&!(t instanceof r.vttjs.VTTCue)){for(var n in e=new r.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var i=this.tech_.textTracks(),o=0;o<i.length;o++)i[o]!==this&&i[o].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){var e=this.cues_.length;while(e--){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},e}(en);un.prototype.allowedEvents_={cuechange:"cuechange"};var dn=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I(this,e);var o=_e(r,{kind:Ke[r.kind]||""}),a=(n=N(this,t.call(this,o)),n),s=!1;if(C)for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c]);return Object.defineProperty(a,"enabled",{get:function(){return s},set:function(t){"boolean"===typeof t&&t!==s&&(s=t,this.trigger("enabledchange"))}}),o.enabled&&(a.enabled=o.enabled),a.loaded_=!0,i=a,N(n,i)}return R(e,t),e}(en),hn=function(t){function e(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I(this,e);var o=_e(r,{kind:Je[r.kind]||""}),a=(n=N(this,t.call(this,o)),n),s=!1;if(C)for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c]);return Object.defineProperty(a,"selected",{get:function(){return s},set:function(t){"boolean"===typeof t&&t!==s&&(s=t,this.trigger("selectedchange"))}}),o.selected&&(a.selected=o.selected),i=a,N(n,i)}return R(e,t),e}(en),fn=0,pn=1,mn=2,gn=3,vn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I(this,e);var i=N(this,t.call(this)),r=void 0,a=i;if(C)for(var s in a=o.createElement("custom"),e.prototype)"constructor"!==s&&(a[s]=e.prototype[s]);var c,l=new un(n);return a.kind=l.kind,a.src=l.src,a.srclang=l.language,a.label=l.label,a["default"]=l["default"],Object.defineProperty(a,"readyState",{get:function(){return r}}),Object.defineProperty(a,"track",{get:function(){return l}}),r=fn,l.addEventListener("loadeddata",(function(){r=mn,a.trigger({type:"load",target:a})})),C?(c=a,N(i,c)):i}return R(e,t),e}(re);vn.prototype.allowedEvents_={load:"load"},vn.NONE=fn,vn.LOADING=pn,vn.LOADED=mn,vn.ERROR=gn;var _n={audio:{ListClass:We,TrackClass:dn,capitalName:"Audio"},video:{ListClass:Xe,TrackClass:hn,capitalName:"Video"},text:{ListClass:qe,TrackClass:un,capitalName:"Text"}};Object.keys(_n).forEach((function(t){_n[t].getterName=t+"Tracks",_n[t].privateName=t+"Tracks_"}));var yn={remoteText:{ListClass:qe,TrackClass:un,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ge,TrackClass:vn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},bn=_e(_n,yn);function wn(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();r.kind=e,n&&(r.label=n),i&&(r.language=i),r.tech=t;var a=new bn.text.TrackClass(r);return o.addTrack(a),a}yn.names=Object.keys(yn),_n.names=Object.keys(_n),bn.names=[].concat(yn.names).concat(_n.names);var kn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};I(this,e),n.reportTouchActivity=!1;var r=N(this,t.call(this,null,n,i));return r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1}
vendor: 6,980 bytes, line 117
117)),bn.names.forEach((function(t){var e=bn[t];n&&n[e.getterName]&&(r[e.privateName]=n[e.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(t){!1===n["native"+t+"Tracks"]&&(r["featuresNative"+t+"Tracks"]=!1)})),!1===n.nativeCaptions||!1===n.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.autoRemoteTextTracks_=new bn.text.ListClass,r.initTrackListeners(),n.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}return R(e,t),e.prototype.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",(function(){return e.setTimeout((function(){return e.triggerSourceset(t)}),1)})),this.trigger({src:t,type:"sourceset"})},e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(ee(this,(function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()})),500)},e.prototype.onDurationChange=function(t){this.duration_=this.duration()},e.prototype.buffered=function(){return xe(0,0)},e.prototype.bufferedPercent=function(){return Te(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(_n.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;t=[].concat(t),t.forEach((function(t){var n=e[t+"Tracks"]()||[],i=n.length;while(i--){var r=n[i];"text"===t&&e.removeRemoteTextTrack(r),n.removeTrack(r)}}))},e.prototype.cleanupAutoTextTracks=function(){var t=this.autoRemoteTextTracks_||[],e=t.length;while(e--){var n=t[e];this.removeRemoteTextTrack(n)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new Oe(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?xe(0,0):xe()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;_n.names.forEach((function(e){var n=_n[e],i=function(){t.trigger(e+"trackchange")},r=t[n.getterName]();r.addEventListener("removetrack",i),r.addEventListener("addtrack",i),t.on("dispose",(function(){r.removeEventListener("removetrack",i),r.removeEventListener("addtrack",i)}))}))},e.prototype.addWebVttScript_=function(){var t=this;if(!r.WebVTT)if(o.body.contains(this.el())){if(!this.options_["vtt.js"]&&W(l)&&Object.keys(l).length>0)return void this.trigger("vttjsloaded");var e=o.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",(function(){e.onload=null,e.onerror=null})),r.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),i=function(t){return e.addTrack(t.track)},r=function(t){return e.removeTrack(t.track)};n.on("addtrack",i),n.on("removetrack",r),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},a=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};a(),e.addEventListener("change",a),e.addEventListener("addtrack",a),e.addEventListener("removetrack",a),this.on("dispose",(function(){n.off("addtrack",i),n.off("removetrack",r),e.removeEventListener("change",a),e.removeEventListener("addtrack",a),e.removeEventListener("removetrack",a);for(var t=0;t<e.length;t++){var s=e[t];s.removeEventListener("cuechange",o)}}))},e.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return wn(this,t,e,n)},e.prototype.createRemoteTextTrack=function(t){var e=_e(t,{tech:this});return new yn.remoteTextEl.TrackClass(e)},e.prototype.addRemoteTextTrack=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],i=this.createRemoteTextTrack(e);return!0!==n&&!1!==n&&(G.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),!0!==n&&this.ready((function(){return t.autoRemoteTextTracks_.addTrack(i.track)})),i},e.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},e.prototype.getVideoPlaybackQuality=function(){return{}},e.prototype.setPoster=function(){},e.prototype.playsinline=function(){},e.prototype.setPlaysinline=function(){},e.prototype.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,n){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,n){if(e.techs_||(e.techs_={}),!e.isTech(n))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=ge(t),e.techs_[t]=n,"Tech"!==t&&e.defaultTechOrder_.push(t),n},e.getTech=function(t){if(t)return t=ge(t),e.techs_&&e.techs_[t]?e.techs_[t]:r&&r.videojs&&r.videojs[t]?(G.warn("The "+t+" tech w
117as added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),r.videojs[t]):void 0},e}(ye);bn.names.forEach((function(t){var e=bn[t];kn.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}})),kn.prototype.featuresVolumeControl=!0,kn.prototype.featuresMuteControl=!0,kn.prototype.featuresFullscreenResize=!1,kn.prototype.featuresPlaybackRate=!1,kn.prototype.featuresProgressEvents=!1,kn.prototype.featuresSourceset=!1,kn.prototype.featuresTimeupdateEvents=!1,kn.prototype.featuresNativeTextTracks=!1,kn.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var i=t.sourceHandlers;i||(i=t.sourceHandlers=[]),void 0===n&&(n=i.length),i.splice(n,0,e)},t.canPlayType=function(e){for(var n=t.sourceHandlers||[],i=void 0,r=0;r<n.length;r++)if(i=n[r].canPlayType(e),i)return i;return""},t.selectSourceHandler=function(e,n){for(var i=t.sourceHandlers||[],r=void 0,o=0;o<i.length;o++)if(r=i[o].canHandleSource(e,n),r)return i[o];return null},t.canPlaySource=function(e,n){var i=t.selectSourceHandler(e,n);return i?i.canHandleSource(e,n):""};var e=["seekable","seeking","duration"];e.forEach((function(t){var e=this[t];"function"===typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})}),t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:G.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},ye.registerComponent("Tech",kn),kn.registerTech("Tech",kn),kn.defaultTechOrder_=[];var xn={},Tn={},Mn={};function Sn(t,e){xn[t]=xn[t]||[],xn[t].push(e)}function Cn(t,e,n){t.setTimeout((function(){return zn(e,xn[e.type],n,t)}),1)}function En(t,e){t.forEach((function(t){return t.setTech&&t.setTech(e)}))}function Ln(t,e,n){return t.reduceRight(In(n),e[n]())}function An(t,e,n,i){return e[n](t.reduce(In(n),i))}function On(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r="call"+ge(n),o=t.reduce(In(r),i),a=o===Mn,s=a?null:e[n](o);return Rn(t,n,s,a),s}var Pn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Dn={setCurrentTime:1},jn={play:1,pause:1};function In(t){return function(e,n){return e===Mn?Mn:n[t]?n[t](e):e}}function Rn(t,e,n,i){for(var r=t.length-1;r>=0;r--){var o=t[r];o[e]&&o[e](i,n)}}function Nn(t){Tn[t.id()]=null}function Yn(t,e){var n=Tn[t.id()],i=null;if(void 0===n||null===n)return i=e(t),Tn[t.id()]=[[e,i]],i;for(var r=0;r<n.length;r++){var o=n[r],a=o[0],s=o[1];a===e&&(i=s)}return null===i&&(i=e(t),n.push([e,i])),i}function zn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],i=arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e[0],s=e.slice(1);if("string"===typeof a)zn(t,xn[a],n,i,r,o);else if(a){var c=Yn(i,a);if(!c.setSource)return r.push(c),zn(t,s,n,i,r,o);c.setSource(V({},t),(function(e,a){if(e)return zn(t,s,n,i,r,o);r.push(c),zn(a,t.type===a.type?s:xn[a.type],n,i,r,o)}))}else s.length?zn(t,s,n,i,r,o):o?n(t,r):zn(t,xn["*"],n,i,r,!0)}var Bn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"},Fn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=on(t),n=Bn[e.toLowerCase()];return n||""},Hn=function(t,e){if(!e)return"";
vendor: 41,892 bytes, line 117
117if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var n=t.cache_.sources.filter((function(t){return t.src===e}));if(n.length)return n[0].type;for(var i=t.$$("source"),r=0;r<i.length;r++){var o=i[r];if(o.type&&o.src&&o.src===e)return o.type}return Fn(e)},Vn=function t(e){if(Array.isArray(e)){var n=[];e.forEach((function(e){e=t(e),Array.isArray(e)?n=n.concat(e):U(e)&&n.push(e)})),e=n}else e="string"===typeof e&&e.trim()?[Un({src:e})]:U(e)&&"string"===typeof e.src&&e.src&&e.src.trim()?[Un(e)]:[];return e};function Un(t){var e=Fn(t.src);return!t.type&&e&&(t.type=e),t}var Wn=function(t){function e(n,i,r){I(this,e);var o=_e({createEl:!1},i),a=N(this,t.call(this,n,o,r));if(i.playerOptions.sources&&0!==i.playerOptions.sources.length)n.src(i.playerOptions.sources);else for(var s=0,c=i.playerOptions.techOrder;s<c.length;s++){var l=ge(c[s]),u=kn.getTech(l);if(l||(u=ye.getComponent(l)),u&&u.isSupported()){n.loadTech_(l);break}}return a}return R(e,t),e}(ye);ye.registerComponent("MediaLoader",Wn);var $n=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.emitTapEvents(),r.enable(),r}return R(e,t),e.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===e&&G.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),i=V({role:"button"},i),this.tabIndex_=n.tabIndex;var r=t.prototype.createEl.call(this,e,n,i);return this.createControlTextEl(r),r},e.prototype.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=at("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,st(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!==typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},e.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!==typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},e.prototype.handleClick=function(t){},e.prototype.handleFocus=function(t){Ut(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.trigger("click")):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(t){Wt(o,"keydown",ee(this,this.handleKeyPress))},e}(ye);ye.registerComponent("ClickableComponent",$n);var Xn=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.update(),n.on("posterchange",ee(r,r.update)),r}return R(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=at("div",{className:"vjs-poster",tabIndex:-1});return P||(this.fallbackImg_=at("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?je(this.player_.play()):this.player_.pause())},e}($n);ye.registerComponent("PosterImage",Xn);var qn="#222",Gn="#ccc",Zn={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Jn(t,e){var n=void 0;if(4===t.length)n=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");n=t.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+e+")"}function Kn(t,e,n){try{t.style[e]=n}catch(i){return}}var Qn=function(t){function e(n,i,o){I(this,e);var a=N(this,t.call(this,n,i,o)),s=ee(a,a.updateDisplay);return n.on("loadstart",ee(a,a.toggleDisplay)),n.on("texttrackchange",s),n.on("loadstart",ee(a,a.preselectTrack)),n.ready(ee(a,(function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s),n.on("playerresize",s),r.addEventListener&&r.addEventListener("orientationchange",s),n.on("dispose",(function(){return r.removeEventListener("orientationchange",s)}));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()}}))),a}return R(e,t),e.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,i=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){var s=e[a];n&&n.enabled&&n.language===s.language?s.kind===n.kind?o=s:o||(o=s):n&&!n.enabled?(o=null,i=null,r=null):s["default"]&&("descriptions"!==s.kind||i?s.kind in t&&!r&&(r=s):i=s)}o?o.mode="showing":r?r.mode="showing":i&&(i.mode="showing")},e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"===typeof r.WebVTT&&r.WebVTT.processCues(r,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();var e=null,n=null,i=t.length;while(i--){var r=t[i];"showing"===r.mode&&("descriptions"===r.kind?e=r:n=r)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},e.prototype.updateForTrack=function(t){if("function"===typeof r.WebVTT&&t.activeCues){for(var e=[],n=0;n<t.activeCues.length;n++)e.push(t.activeCues[n]);if(r.WebVTT.processCues(r,e,this.el_),this.player_.textTrackSettings){var i=this.player_.textTrackSettings.getValues(),o=e.length;while(o--){var a=e[o];if(a){var s=a.displayState;if(i.color&&(s.firstChild.style.color=i.color),i.textOpacity&&Kn(s.firstChild,"color",Jn(i.color||"#fff",i.textOpacity)),i.backgroundColor&&(s.firstChild.style.backgroundColor=i.backgroundColor),i.backgroundOpacity&&Kn(s.firstChild,"backgroundColor",Jn(i.backgroundColor||"#000",i.backgroundOpacity)),i.windowColor&&(i.windowOpacity?Kn(s,"backgroundColor",Jn(i.windowColor,i.windowOpacity)):s.style.backgroundColor=i.windowColor),i.edgeStyle&&("dropshadow"===i.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px "+qn+", 2px 2px 4px "+qn+", 2px 2px 5px "+qn:"raised"===i.edgeStyle?s.firstChild.style.textShadow="1px 1px "+qn+", 2px 2px "+qn+", 3px 3px "+qn:"depressed"===i.edgeStyle?s.firstChild.style.textShadow="1px 1px "+Gn+", 0 1px "+Gn+", -1px -1px "+qn+", 0 -1px "+qn:"uniform"===i.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px "+qn+", 0 0 4px "+qn+", 0 0 4px "+qn+", 0 0 4px "+qn)),i.fontPercent&&1!==i.fontPercent){var c=r.parseFloat(s.style.fontSize);s.style.fontSize=c*i.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}i.fontFamily&&"default"!==i.fontFamily&&("small-caps"===i.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=Zn[i.fontFamily])}}}}},e}(ye);ye.registerComponent("TextTrackDisplay",Qn);var ti=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){var e=this.player_.isAudio(),n=this.localize(e?"Audio Player":"Video Player"),i=at("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),r=t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return r.appendChild(i),r},e}(ye);ye.registerComponent("LoadingSpinner",ti);var ei=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t="button",e=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=V({type:"button"},n);var i=ye.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(i),i},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return G.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),ye.prototype.addChild.call(this,t,e)},e.prototype.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},e.prototype.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},e.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&t.prototype.handleKeyPress.call(this,e)},e}($n);ye.registerComponent("Button",ei);var ni=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(t){var e=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY)je(e);else{var n=this.player_.getChild("controlBar"),i=n&&n.getChild("playToggle");if(i){var r=function(){return i.focus()};De(e)?e.then(r,(function(){})):this.setTimeout(r,1)}else this.player_.focus()}},e.prototype.handleKeyPress=function(e){this.mouseused_=!1,t.prototype.handleKeyPress.call(this,e)},e.prototype.handleMouseDown=function(t){this.mouseused_=!0},e}(ei);ni.prototype.controlText_="Play Video",ye.registerComponent("BigPlayButton",ni);var ii=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.controlText(i&&i.controlText||r.localize("Close")),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},e}(ei);ye.registerComponent("CloseButton",ii);var ri=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"play",r.handlePlay),r.on(n,"pause",r.handlePause),r.on(n,"ended",r.handleEnded),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},e}(ei);ri.prototype.controlText_="Play",ye.registerComponent("PlayToggle",ri);var oi=function(t,e){t=t<0?0:t;var n=Math.floor(t%60),i=Math.floor(t/60%60),r=Math.floor(t/3600),o=Math.floor(e/60%60),a=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(r=i=n="-"),r=r>0||a>0?r+":":"",i=((r||o>=10)&&i<10?"0"+i:i)+":",n=n<10?"0"+n:n,r+i+n},ai=oi;function si(t){ai=t}function ci(){ai=oi}var li=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return ai(t,e)},ui=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.throttledUpdateContent=ne(ee(r,r.updateContent),25),r.on(n,"timeupdate",r.throttledUpdateContent),r}return R(e,t),e.prototype.createEl=function(e){var n=this.buildCSSClass(),i=t.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text">'+this.localize(this.labelText_)+"Â </span>"});return this.contentEl_=at("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),i.appendChild(this.contentEl_),i},e.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},e.prototype.updateTextNode_=function(){if(this.contentEl_){while(this.contentEl_.firstChild)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=o.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},e.prototype.formatTime_=function(t){return li(t)},e.prototype.updateFormattedTime_=function(t){var e=this.formatTime_(t);e!==this.formattedTime_&&(this.formattedTime_=e,this.requestAnimationFrame(this.updateTextNode_))},e.prototype.updateContent=function(t){},e}(ye);ui.prototype.labelText_="Time",ui.prototype.controlText_="Time",ye.registerComponent("TimeDisplay",ui);var di=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"ended",r.handleEnded),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-current-time"},e.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},e}(ui);di.prototype.labelText_="Current Time",di.prototype.controlText_="Current Time",ye.registerComponent("CurrentTimeDisplay",di);var hi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"durationchange",r.updateContent),r.on(n,"loadedmetadata",r.throttledUpdateContent),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-duration"},e.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},e}(ui);hi.prototype.labelText_="Duration",hi.prototype.controlText_="Duration",ye.registerComponent("DurationDisplay",hi);var fi=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(ye);ye.registerComponent("TimeDivider",fi);var pi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"durationchange",r.throttledUpdateContent),r.on(n,"ended",r.handleEnded),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-remaining-time"},e.prototype.formatTime_=function(e){return"-"+t.prototype.formatTime_.call(this,e)},e.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},e}(ui);pi.prototype.labelText_="Remaining Time",pi.prototype.controlText_="Remaining Time",ye.registerComponent("RemainingTimeDisplay",pi);var mi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}return R(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=at("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"Â </span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(ye);ye.registerComponent("LiveDisplay",mi);var gi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}return R(e,t),e.prototype.enabled=function(){return this.enabled_},e.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},e.prototype.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},e.prototype.createEl=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=V({tabIndex:0},n),i=V({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),t.prototype.createEl.call(this,e,n,i)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||M||t.preventDefault(),_t(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(t){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;yt(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!==typeof t||t!==t||t<0||t===1/0)&&(t=0);var n=(100*t).toFixed(2)+"%",i=e.el().style;return this.vertical()?i.height=n:i.width=n,t}}},e.prototype.calculateDistance=function(t){var e=kt(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(ye);ye.registerComponent("Slider",gi);var vi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.partEls_=[],r.on(n,"progress",r.update),r}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),n=this.player_.duration(),i=this.player_.bufferedEnd(),r=this.partEls_,o=function(t,e){var n=t/e||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(i,n);for(var a=0;a<e.length;a++){var s=e.start(a),c=e.end(a),l=r[a];l||(l=this.el_.appendChild(at()),r[a]=l),l.style.left=o(s,i),l.style.width=o(c-s,i)}for(var u=r.length;u>e.length;u--)this.el_.removeChild(r[u-1]);r.length=e.length},e}(ye);ye.registerComponent("LoadProgressBar",vi);var _i=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,n){var i=bt(this.el_),r=bt(this.player_.el()),o=t.width*e;if(r&&i){var a=t.left-r.left+o,s=t.width-o+(r.right-t.right),c=i.width/2;a<c?c+=c-a:s<c&&(c=s),c<0?c=0:c>i.width&&(c=i.width),this.el_.style.right="-"+c+"px",st(this.el_,n)}},e}(ye);ye.registerComponent("TimeTooltip",_i);var yi=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var i=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),r=li(i,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(t,e,r)}))},e}(ye);yi.prototype.options_={children:[]},E&&!(E>8)||v||y||yi.prototype.options_.children.push("timeTooltip"),ye.registerComponent("PlayProgressBar",yi);var bi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.update=ne(ee(r,r.update),25),r}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var i=n.player_.duration(),r=li(e*i,i);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,r)}))},e}(ye);bi.prototype.options_={children:["timeTooltip"]},ye.registerComponent("MouseTimeDisplay",bi);var wi=5,ki=30,xi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.setEventHandlers_(),r}return R(e,t),e.prototype.setEventHandlers_=function(){var t=this;this.update=ne(ee(this,this.update),ki),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],(function(){t.clearInterval(t.updateInterval),t.updateInterval=t.setInterval((function(){t.requestAnimationFrame((function(){t.update()}))}),ki)})),this.on(this.player_,["ended","pause","waiting"],(function(){t.clearInterval(t.updateInterval)})),this.on(this.player_,["timeupdate","ended"],this.update)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[li(t,n),li(n,n)],"{1} of {2}")),this.bar.update(bt(this.el_),e)},e.prototype.update=function(e){var n=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},e.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},e.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){Et(e)&&(e.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},e.prototype.handleMouseMove=function(t){if(Et(t)){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)}},e.prototype.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},e.prototype.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&je(this.player_.play())},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+wi)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-wi)},e.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleAction(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e}(gi);xi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},E&&!(E>8)||v||y||xi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),xi.prototype.playerEvent="timeupdate",ye.registerComponent("SeekBar",xi);var Ti=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.handleMouseMove=ne(ee(r,r.handleMouseMove),25),r.throttledHandleMouseSeek=ne(ee(r,r.handleMouseSeek),25),r.enable(),r}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar");if(e){var n=e.getChild("mouseTimeDisplay"),i=e.el(),r=bt(i),o=kt(i,t).x;o>1?o=1:o<0&&(o=0),n&&n.update(r,o)}},e.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},e.prototype.enabled=function(){return this.enabled_},e.prototype.disable=function(){this.children().forEach((function(t){return t.disable&&t.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.prototype.enable=function(){this.children().forEach((function(t){return t.enable&&t.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e}(ye);Ti.prototype.options_={children:["seekBar"]},ye.registerComponent("ProgressControl",Ti);var Mi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"fullscreenchange",r.handleFullscreenChange),!1===o[Me.fullscreenEnabled]&&r.disable(),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(ei);Mi.prototype.controlText_="Fullscreen",ye.registerComponent("FullscreenToggle",Mi);var Si=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))},Ci=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(ye);ye.registerComponent("VolumeLevel",Ci);var Ei=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on("slideractive",r.updateLastVolume_),r.on(n,"volumechange",r.updateARIAAttributes),n.ready((function(){return r.updateARIAAttributes()})),r}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.prototype.handleMouseDown=function(e){Et(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){Et(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},e.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",(function(){0===t.player_.volume()&&t.player_.lastVolume_(e)}))},e}(gi);Ei.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Ei.prototype.playerEvent="volumechange",ye.registerComponent("VolumeBar",Ei);var Li=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I(this,e),i.vertical=i.vertical||!1,("undefined"===typeof i.volumeBar||W(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical);var r=N(this,t.call(this,n,i));return Si(r,n),r.throttledHandleMouseMove=ne(ee(r,r.handleMouseMove),25),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}return R(e,t),e.prototype.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(ye);Li.prototype.options_={children:["volumeBar"]},ye.registerComponent("VolumeControl",Li);var Ai=function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))},Oi=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return Ai(r,n),r.on(n,["loadstart","volumechange"],r.update),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();if(0===e){var i=n<.1?.1:n;this.player_.volume(i),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},e.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},e.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;v&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)dt(this.el_,"vjs-vol-"+n);ut(this.el_,"vjs-vol-"+e)},e.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume(),e=t?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},e}(ei);Oi.prototype.controlText_="Mute",ye.registerComponent("MuteToggle",Oi);var Pi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I(this,e),"undefined"!==typeof i.inline?i.inline=i.inline:i.inline=!0,("undefined"===typeof i.volumeControl||W(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline);var r=N(this,t.call(this,n,i));return r.on(n,["loadstart"],r.volumePanelState_),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}return R(e,t),e.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},e.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},e.prototype.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},e}(ye);Pi.prototype.options_={children:["muteToggle","volumeControl"]},ye.registerComponent("VolumePanel",Pi);var Di=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return i&&(r.menuButton_=i.menuButton),r.focusedChild_=-1,r.on("keydown",r.handleKeyPress),r}return R(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",ee(this,(function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())})))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=at(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Ut(n,"click",(function(t){t.preventDefault(),t.stopImmediatePropagation()})),n},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice(),n=e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className);n&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(ye);ye.registerComponent("Menu",Di);var ji=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I(this,e);var r=N(this,t.call(this,n,i));r.menuButton_=new ei(n,i),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=ei.prototype.buildCSSClass();return r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0,r.on(r.menuButton_,"tap",r.handleClick),r.on(r.menuButton_,"click",r.handleClick),r.on(r.menuButton_,"focus",r.handleFocus),r.on(r.menuButton_,"blur",r.handleBlur),r.on("keydown",r.handleSubmenuKeyPress),r}return R(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.prototype.createMenu=function(){var t=new Di(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=at("li",{className:"vjs-menu-title",innerHTML:ge(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,t.children_.unshift(e),ct(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.prototype.buildWrapperCSSClass=function(){var e="vjs-menu-button";!0===this.options_.inline?e+="-inline":e+="-popup";var n=ei.prototype.buildCSSClass();return"vjs-menu-button "+e+" "+n+" "+t.prototype.buildCSSClass.call(this)},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},e.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",ee(this,(function(t){this.unpressButton(),this.el_.blur()}))),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.focus=function(){this.menuButton_.focus()},e.prototype.blur=function(){this.menuButton_.blur()},e.prototype.handleFocus=function(){Ut(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleBlur=function(){Wt(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},e.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),v&&rt())return;this.menu.focus()}},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},e.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(ye);ye.registerComponent("MenuButton",ji);var Ii=function(t){function e(n,i){I(this,e);var r=i.tracks,o=N(this,t.call(this,n,i));if(o.items.length<=1&&o.hide(),!r)return N(o);var a=ee(o,o.update);return r.addEventListener("removetrack",a),r.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",(function(){r.removeEventListener("removetrack",a),r.removeEventListener("addtrack",a)})),o}return R(e,t),e}(ji);ye.registerComponent("TrackButton",Ii);var Ri=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.selectable=i.selectable,r.isSelected_=i.selected||!1,r.multiSelectable=i.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}return R(e,t),e.prototype.createEl=function(e,n,i){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",V({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),i)},e.prototype.handleClick=function(t){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","fal
117se"),this.controlText(""),this.isSelected_=!1))},e}($n);ye.registerComponent("MenuItem",Ri);var Ni=function(t){function e(n,i){I(this,e);var a=i.track,s=n.textTracks();i.label=a.label||a.language||"Unknown",i.selected="showing"===a.mode;var c=N(this,t.call(this,n,i));c.track=a;var l=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c.handleTracksChange.apply(c,e)},u=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c.handleSelectedLanguageChange.apply(c,e)};if(n.on(["loadstart","texttrackchange"],l),s.addEventListener("change",l),s.addEventListener("selectedlanguagechange",u),c.on("dispose",(function(){n.off(["loadstart","texttrackchange"],l),s.removeEventListener("change",l),s.removeEventListener("selectedlanguagechange",u)})),void 0===s.onchange){var d=void 0;c.on(["tap","click"],(function(){if("object"!==j(r.Event))try{d=new r.Event("change")}catch(t){}d||(d=o.createEvent("Event"),d.initEvent("change",!0,!0)),s.dispatchEvent(d)}))}return c.handleTracksChange(),c}return R(e,t),e.prototype.handleClick=function(e){var n=this.track.kind,i=this.track.kinds,r=this.player_.textTracks();if(i||(i=[n]),t.prototype.handleClick.call(this,e),r)for(var o=0;o<r.length;o++){var a=r[o];a===this.track&&i.indexOf(a.kind)>-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled")}},e.prototype.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},e.prototype.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},e.prototype.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}(Ri);ye.registerComponent("TextTrackMenuItem",Ni);var Yi=function(t){function e(n,i){return I(this,e),i.track={player:n,kind:i.kind,kinds:i.kinds,default:!1,mode:"disabled"},i.kinds||(i.kinds=[i.kind]),i.label?i.track.label=i.label:i.track.label=i.kinds.join(" and ")+" off",i.selectable=!0,i.multiSelectable=!1,N(this,t.call(this,n,i))}return R(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(Ni);ye.registerComponent("OffTextTrackMenuItem",Yi);var zi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I(this,e),i.tracks=n.textTracks(),N(this,t.call(this,n,i))}return R(e,t),e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ni,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new Yi(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var i=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r<i.length;r++){var o=i[r];if(this.kinds_.indexOf(o.kind)>-1){var a=new e(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),t.push(a)}}return t},e}(Ii);ye.registerComponent("TextTrackButton",zi);var Bi=function(t){function e(n,i){I(this,e);var r=i.track,o=i.cue,a=n.currentTime();i.selectable=!0,i.multiSelectable=!1,i.label=o.text,i.selected=o.startTime<=a&&a<o.endTime;var s=N(this,t.call(this,n,i));return s.track=r,s.cue=o,r.addEventListener("cuechange",ee(s,s.update)),s}return R(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},e}(Ri);ye.registerComponent("ChaptersTrackMenuItem",Bi);var Fi=function(t){function e(n,i,r){return I(this,e),N(this,t.call(this,n,i,r))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.update=function(e){this.track_&&(!e||"addtrack"!==e.type&&"removetrack"!==e.type)||this.setTrack(this.findChapter
vendor: 11,081 bytes, line 117
117sTrack()),t.prototype.update.call(this)},e.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},e.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;e>=0;e--){var n=t[e];if(n.kind===this.kind_)return n}},e.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(ge(this.kind_))},e.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},e.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,i=e.length;n<i;n++){var r=e[n],o=new Bi(this.player_,{track:this.track_,cue:r});t.push(o)}return t},e}(zi);Fi.prototype.kind_="chapters",Fi.prototype.controlText_="Chapters",ye.registerComponent("ChaptersButton",Fi);var Hi=function(t){function e(n,i,r){I(this,e);var o=N(this,t.call(this,n,i,r)),a=n.textTracks(),s=ee(o,o.handleTracksChange);return a.addEventListener("change",s),o.on("dispose",(function(){a.removeEventListener("change",s)})),o}return R(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,i=0,r=e.length;i<r;i++){var o=e[i];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(zi);Hi.prototype.kind_="descriptions",Hi.prototype.controlText_="Descriptions",ye.registerComponent("DescriptionsButton",Hi);var Vi=function(t){function e(n,i,r){return I(this,e),N(this,t.call(this,n,i,r))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(zi);Vi.prototype.kind_="subtitles",Vi.prototype.controlText_="Subtitles",ye.registerComponent("SubtitlesButton",Vi);var Ui=function(t){function e(n,i){I(this,e),i.track={player:n,kind:i.kind,label:i.kind+" settings",selectable:!1,default:!1,mode:"disabled"},i.selectable=!1,i.name="CaptionSettingsMenuItem";var r=N(this,t.call(this,n,i));return r.addClass("vjs-texttrack-settings"),r.controlText(", opens "+i.kind+" settings dialog"),r}return R(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(Ni);ye.registerComponent("CaptionSettingsMenuItem",Ui);var Wi=function(t){function e(n,i,r){return I(this,e),N(this,t.call(this,n,i,r))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Ui(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(zi);Wi.prototype.kind_="captions",Wi.prototype.controlText_="Captions",ye.registerComponent("CaptionsButton",Wi);var $i=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(e,n,i){var r='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);"captions"===this.options_.track.kind&&(r+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),r+="</span>";var o=t.prototype.createEl.call(this,e,V({innerHTML:r},n),i);return o},e}(Ni);ye.registerComponent("SubsCapsMenuItem",$i);var Xi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I(this,e);var r=N(this,t.call(this,n,i));return r.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(ge(r.label_)),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Ui(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,$i),e},e}(zi);Xi.prototype.kinds_=["captions","subtitles"],Xi.prototype.controlText_="Subtitles",ye.registerComponent("SubsCapsButton",Xi);var qi=function(t){function e(n,i){I(this,e);var r=i.track,o=n.audioTracks();i.label=r.label||r.language||"Unknown",i.selected=r.enabled;var a=N(this,t.call(this,n,i));a.track=r,a.addClass("vjs-"+r.kind+"-menu-item");var s=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];a.handleTracksChange.apply(a,e)};return o.addEventListener("change",s),a.on("dispose",(function(){o.removeEventListener("change",s)})),a}return R(e,t),e.prototype.createEl=function(e,n,i){var r='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);"main-desc"===this.options_.track.kind&&(r+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n "),r+="</span>";var o=t.prototype.createEl.call(this,e,V({innerHTML:r},n),i);return o},e.prototype.handleClick=function(e){var n=this.player_.audioTracks();t.prototype.handleClick.call(this,e);for(var i=0;i<n.length;i++){var r=n[i];r.enabled=r===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(Ri);ye.registerComponent("AudioTrackMenuItem",qi);var Gi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I(this,e),i.tracks=n.audioTracks(),N(this,t.call(this,n,i))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var i=e[n];t.push(new qi(this.player_,{track:i,selectable:!0,multiSelectable:!1}))}return t},e}(Ii);Gi.prototype.controlText_="Audio Track",ye.registerComponent("AudioTrackButton",Gi);var Zi=function(t){function e(n,i){I(this,e);var r=i.rate,o=parseFloat(r,10);i.label=r,i.selected=1===o,i.selectable=!0,i.multiSelectable=!1;var a=N(this,t.call(this,n,i));return a.label=r,a.rate=o,a.on(n,"ratechange",a.update),a}return R(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(Ri);Zi.prototype.contentElType="button",ye.registerComponent("PlaybackRateMenuItem",Zi);var Ji=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.updateVisibility(),r.updateLabel(),r.on(n,"loadstart",r.updateVisibility),r.on(n,"ratechange",r.updateLabel),r}return R(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=at("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),e.appendChild(this.labelEl_),e},e.prototype.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createMenu=function(){var t=new Di(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new Zi(this.player(),{rate:e[n]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),i=n[0],r=0;r<n.length;r++)if(n[r]>e){i=n[r];break}this.player().playbackRate(i)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(ji);Ji.prototype.controlText_="Playback Rate",ye.registerComponent("PlaybackRateMenuButton",Ji);var Ki=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(ye);ye.registerComponent("Spacer",Ki);var Qi=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML="Â ",e},e}(Ki);ye.registerComponent("CustomControlSpacer",Qi);var tr=function(t){function e(){return I(this,e),N(this,t.apply(this,arguments))}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(ye);tr.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},ye.registerComponent("ControlBar",tr);var er=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i));return r.on(n,"error",r.open),r}return R(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(Fe);
vendor: 4,271 bytes, line 117
117er.prototype.options_=_e(Fe.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),ye.registerComponent("ErrorDisplay",er);var nr="vjs-text-track-settings",ir=["#000","Black"],rr=["#00F","Blue"],or=["#0FF","Cyan"],ar=["#0F0","Green"],sr=["#F0F","Magenta"],cr=["#F00","Red"],lr=["#FFF","White"],ur=["#FF0","Yellow"],dr=["1","Opaque"],hr=["0.5","Semi-Transparent"],fr=["0","Transparent"],pr={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[ir,lr,cr,ar,rr,ur,sr,or]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[dr,hr,fr]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[lr,ir,cr,ar,rr,ur,sr,or]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[dr,hr]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[fr,hr,dr]}};function mr(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}function gr(t,e){var n=t.options[t.options.selectedIndex].value;return mr(n,e)}function vr(t,e,n){if(e)for(var i=0;i<t.options.length;i++)if(mr(t.options[i].value,n)===e){t.selectedIndex=i;break}}pr.windowColor.options=pr.backgroundColor.options;var _r=function(t){function e(n,i){I(this,e),i.temporary=!1;var r=N(this,t.call(this,n,i));return r.updateDisplay=ee(r,r.updateDisplay),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=at("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===i.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),F(pr,(function(t){r.on(r.$(t.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}return R(e,t),e.prototype.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},e.prototype.createElSelect_=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",r=pr[t],o=r.id.replace("%s",this.id_),a=[n,o].join(" ").trim();return["<"+i+' id="'+o+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(r.label),"</"+i+">",'<select aria-labelledby="'+a+'">'].concat(r.options.map((function(t){var n=o+"-"+t[1].replace(/\W+/g,"");return['<option id="'+n+'" value="'+t[0]+'" ','aria-labelledby="'+a+" "+n+'">',e.localize(t[1]),"</option>"].join("")}))).concat("</select>").join("")},e.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">
117',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElColors_=function(){return at("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},e.prototype.createElFont_=function(){return at("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},e.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return at("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},e.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.prototype.label=function(){return this.localize("Caption Settings Dialog")},e.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.prototype.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.prototype.getValues=function(){var t=this;return H(pr,(function(e,n,i){var r=gr(t.$(n.selector),n.parser);return void 0!==r&&(e[i]=r),e}),{})},e.prototype.setValues=function(t){var e=this;F(pr,(function(n,i){vr(e.$(n.selector),t[i],n.parser)}))},e.prototype.setDefaults=function(){var t=this;F(pr,(function(e){var n=e.hasOwnProperty("default")?e["default"]:0;t.$(e.selector).selectedIndex=n}))},e.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(r.localStorage.getItem(nr))}catch(e){G.warn(e)}t&&this.setValues(t)},e.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?r.localStorage.setItem(nr,JSON.stringify(t)):r.localStorage.removeItem(nr)}catch(e){G.warn(e)}}},e.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(o,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,n=t&&t.captionsButton;e?e.focus():n&&n.focus()},e}(Fe);ye.registerComponent("TextTrackSettings",_r);var yr=function(t){function e(n,i){I(this,e);var o=i.ResizeObserver||r.ResizeObserver;null===i.ResizeObserver&&(o=!1);var a=_e({createEl:!o},i),s=N(this,t.call(this,n,a));return s.ResizeObserver=i.ResizeObserver||r.ResizeObserver,s.loadListener_=null,s.resizeObserver_=null,s.debouncedHandler_=ie((function(){s.resizeHandler()}),100,!1,s),o?(s.resizeObserver_=new s.ResizeObserver(s.debouncedHandler_),s.resizeObserver_.observe(n.el())):(s.loadListener_=function(){s.el_&&s.el_.contentWindow&&Ut(s.el_.contentWindow,"resize",s.debouncedHandler_)},s.one("load",s.loadListener_)),s}return R(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},e.prototype.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},e.prototype.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&Wt(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},e}(ye);ye.registerComponent("ResizeManager",yr);var br=function(t){var e=t.el();if(e.hasAttribute("src"))return t.triggerSourceset(e.src),!0;var n=t.$$("source"),i=[],r="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var a=n[o].src;a&&-1===i.indexOf(a)&&i.push(a)}return!!i.length&&(1===i.length&&(r=i[0]),t.triggerSourceset(r),!0)},wr={};C||(wr=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=o.createElement(this.nodeName.toLowerCase());e.innerHTML=t;var n=o.createDocumentFragment();while(e.childNodes.length)n.appendChild(e.childNodes[0]);return this.innerText="",r.Element.prototype.appendChild.call(this,n),this.innerHTML}}));var kr=function(t,e){for(var n={},i=0;i<t.length;i++)if(n=Object.getOwnPropertyDescriptor(t[i],e),n&&n.set&&n.get)break;return n.enumerable=!0,n.configurable=!0,n},xr=function(t){return kr([t.el(),r.HTMLMediaElement.prototype,r.Element.prototype,wr],"innerHTML")},Tr=function(t){var e=t.el();if(!e.resetSourceWatch_){var n={},i=xr(t),r=function(n){return function(){for(var i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];var a=n.apply(e,r);return br(t),a}};["append","appendChild","insertAdjacentHTML"].forEach((function(t){e[t]&&(n[t]=e[t],e[t]=r(n[t]))})),Object.defineProperty(e,"innerHTML",_e(i,{set:r(i.set)})),e.resetSourceWatch_=function(){e.resetSourceWatch_=null,Object.keys(n).forEac
vendor: 13,593 bytes, line 117
117h((function(t){e[t]=n[t]})),Object.defineProperty(e,"innerHTML",i)},t.one("sourceset",e.resetSourceWatch_)}},Mr={};C||(Mr=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?rn(r.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return r.Element.prototype.setAttribute.call(this,"src",t),t}}));var Sr=function(t){return kr([t.el(),r.HTMLMediaElement.prototype,Mr],"src")},Cr=function(t){if(t.featuresSourceset){var e=t.el();if(!e.resetSourceset_){var n=Sr(t),i=e.setAttribute,r=e.load;Object.defineProperty(e,"src",_e(n,{set:function(i){var r=n.set.call(e,i);return t.triggerSourceset(e.src),r}})),e.setAttribute=function(n,r){var o=i.call(e,n,r);return/src/i.test(n)&&t.triggerSourceset(e.src),o},e.load=function(){var n=r.call(e);return br(t)||(t.triggerSourceset(""),Tr(t)),n},e.currentSrc?t.triggerSourceset(e.currentSrc):br(t)||Tr(t),e.resetSourceset_=function(){e.resetSourceset_=null,e.load=r,e.setAttribute=i,Object.defineProperty(e,"src",n),e.resetSourceWatch_&&e.resetSourceWatch_()}}}},Er=Y(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),Lr=function(t){function e(n,i){I(this,e);var r=N(this,t.call(this,n,i)),o=n.source,s=!1;if(o&&(r.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?r.setSource(o):r.handleLateInit_(r.el_),n.enableSourceset&&r.setupSourcesetHandling_(),r.el_.hasChildNodes()){var c=r.el_.childNodes,l=c.length,u=[];while(l--){var d=c[l],h=d.nodeName.toLowerCase();"track"===h&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(d),r.remoteTextTracks().addTrack(d.track),r.textTracks().addTrack(d.track),s||r.el_.hasAttribute("crossorigin")||!an(d.src)||(s=!0)):u.push(d))}for(var f=0;f<u.length;f++)r.el_.removeChild(u[f])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&s&&G.warn(a(Er)),r.restoreMetadataTracksInIOSNativePlayer_(),(O||m||k)&&!0===n.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}return R(e,t),e.prototype.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},e.prototype.setupSourcesetHandling_=function(){Cr(this)},e.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),e=void 0,n=function(){e=[];for(var n=0;n<t.length;n++){var i=t[n];"metadata"===i.kind&&e.push({track:i,storedMode:i.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var i=function n(){for(var i=0;i<e.length;i++){var r=e[i];"disabled"===r.track.mode&&r.track.mode!==r.storedMode&&(r.track.mode=r.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",i),t.addEventListener("change",i)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",i)}))},e.prototype.proxyNativeTracks_=function(){var t=this;_n.names.forEach((function(e){var n=_n[e],i=t.el()[n.getterName],r=t[n.getterName]();if(t["featuresNative"+n.capitalName+"Tracks"]&&i&&i.addEventListener){var o={change:function(t){r.trigger({type:"change",target:r,currentTarget:r,srcElement:r})},addtrack:function(t){r.addTrack(t.track)},removetrack:function(t){r.removeTrack(t.track)}},a=function(){for(var t=[],e=0;e<r.length;e++){for(var n=!1,o=0;o<i.length;o++)if(i[o]===r[e]){n=!0;break}n||t.push(r[e])}while(t.length)r.removeTrack(t.shift())};Object.keys(o).forEach((function(e){var n=o[e];i.addEventListener(e,n),t.on("dispose",(function(t){return i.removeEventListener(e,n)}))})),t.on("loadstart",a),t.on("dispose",(function(e){return t.off("loadstart",a)}))}}))},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var n=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(n,t),e.disposeMediaElement(t),t=n}else{t=o.createElement("video");var i=this.options_.tag&&pt(this.options_.tag),r=_e({},i);O&&!0===this.options_.nativeControlsForTouch||delete r.controls,ft(t,V(r,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}"undefined"!==typeof this.options_.preload&>(t,"preload",this.options_.preload);for(var a=["loop","muted","playsinline","autoplay"],s=0;s<a.length;s++){var c=a[s],l=this.options_[c];"undefined"!==typeof l&&(l?gt(t,c,c):vt(t,c),t[c]=l)}return t},e.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,n=function(){e=!0};this.on("loadstart",n);var i=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",i),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",i),e||this.trigger("loadstart")}))}var r=["loadstart"];r.push("loadedmetadata"),t.readyState>=2&&r.push("loadeddata"),t.readyState>=3&&r.push("canplay"),t.readyState>=4&&r.push("canplaythrough"),this.ready((function(){r.forEach((function(t){this.trigger(t)}),this)}))}},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(e){G(e,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){var t=this;if(this.el_.duration===1/0&&y&&M&&0===this.el_.currentTime){var e=function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){t.off("webkitbeginfullscreen",n),t.off("webkitendfullscreen",e)}))}},e.prototype.supportsFullScreen=function(){if("function"===typeof this.el_.webkitEnterFullScreen){var t=r.navigator&&r.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout((function(){t.pause(),t.webkitEnterFullScreen()}),0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.addTextTrack=function(e,n,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,i):t.prototype.addTextTrack.call(this,e,n,i)},e.prototype.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var n=o.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e["default"]&&(n["default"]=e["default"]),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n},e.prototype.addRemoteTextTrack=function(e,n){var i=t.prototype.addRemoteTextTrack.call(this,e,n);return this.featuresNativeTextTracks&&this.el().appendChild(i),i},e.prototype.removeRemoteTextTrack=function(e){if(t.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks){var n=this.$$("track"),i=n.length;while(i--)e!==n[i]&&e!==n[i].track||this.el().removeChild(n[i])}},e.prototype.getVideoPlaybackQuality=function(){if("function"===typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return"undefined"!==typeof this.el().webkitDroppedFrameCount&&"undefined"!==typeof this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),r.performance&&"function"===typeof r.performance.now?t.creationTime=r.performance.now():r.performance&&r.performance.timing&&"number"===typeof r.performance.timing.navigationStart&&(t.creationTime=r.Date.now()-r.performance.timing.navigationStart),t},e}(kn);if(nt()){Lr.TEST_VID=o.createElement("video");var Ar=o.createElement("track");Ar.kind="captions",Ar.srclang="en",Ar.label="English",Lr.TEST_VID.appendChild(Ar)}Lr.isSupported=function(){try{Lr.TEST_VID.volume=.5}catch(t){return!1}return!(!Lr.TEST_VID||!Lr.TEST_VID.canPlayType)},Lr.canPlayType=function(t){return Lr.TEST_VID.canPlayType(t)},Lr.canPlaySource=function(t,e){return Lr.canPlayType(t.type)},Lr.canControlVolume=function(){try{var t=Lr.TEST_VID.volume;return Lr.TEST_VID.volume=t/2+.1,t!==Lr.TEST_VID.volume}catch(e){return!1}},Lr.canMuteVolume=function(){try{var t=Lr.TEST_VID.muted;return Lr.TEST_VID.muted=!t,Lr.TEST_VID.muted?gt(Lr.TEST_VID,"muted","muted"):vt(Lr.TEST_VID,"muted","muted"),t!==Lr.TEST_VID.muted}catch(e){return!1}},Lr.canControlPlaybackRate=function(){if(y&&M&&S<58)return!1;try{var t=Lr.TEST_VID.playbackRate;return Lr.TEST_VID.playbackRate=t/2+.1,t!==Lr.TEST_VID.playbackRate}catch(e){return!1}},Lr.canOverrideAttributes=function(){if(C)return!1;try{var t=function(){};Object.defineProperty(o.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"innerHTML",{get:t,set:t})}catch(e){return!1}return!0},Lr.supportsNativeTextTracks=function(){return A||v&&M},Lr.supportsNativeVideoTracks=function(){return!(!Lr.TEST_VID||!Lr.TEST_VID.videoTracks)},Lr.supportsNativeAudioTracks=function(){return!(!Lr.TEST_VID||!Lr.TEST_VID.audioTracks)},Lr.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],Lr.prototype.featuresVolumeControl=Lr.canControlVolume(),Lr.prototype.featuresMuteControl=Lr.canMuteVolume(),Lr.prototype.featuresPlaybackRate=Lr.canControlPlaybackRate(),Lr.prototype.featuresSourceset=Lr.canOverrideAttributes(),Lr.prototype.movingMediaElementInDOM=!v,Lr.prototype.featuresFullscreenResize=!0,Lr.prototype.featuresProgressEvents=!0,Lr.prototype.featuresTimeupdateEvents=!0,Lr.prototype.featuresNativeTextTracks=Lr.supportsNativeTextTracks(),Lr.prototype.featuresNativeVideoTracks=Lr.supportsNativeVideoTracks(),Lr.prototype.featuresNativeAudioTracks=Lr.supportsNativeAudioTracks();var Or=Lr.TEST_VID&&Lr.TEST_VID.constructor.prototype.canPlayType,Pr=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,Dr=/^video\/mp4/i;Lr.patchCanPlayType=function(){b>=4&&!x&&!M?Lr.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Pr.test(t)?"maybe":Or.call(this,t)}:w&&(Lr.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Dr.test(t)?"maybe":Or.call(this,t)})},Lr.unpatchCanPlayType=function(){var t=Lr.TEST_VID.constructor.prototype.canPlayType;return Lr.TEST_VID.constructor.prototype.canPlayType=Or,t},Lr.patchCanPlayType(),Lr.disposeMediaElement=function(t){if(t){t.parentNode&&t.parentNode.removeChild(t);while(t.hasChildNodes())t.removeChild(t.firstChild);t.removeAttribute("src"),"function"===typeof t.load&&function(){try{t.load()}catch(e){}}()}},Lr.resetMediaElement=function(t){if(t){var e=t.querySelectorAll("source"),n=e.length;while(n--)t.removeChild(e[n]);t.removeAttribute("src"),"function"===typeof t.load&&function(){try{t.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(t){Lr.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(t){Lr.prototype["set"+ge(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach((function(t){Lr.prototype[t]=function(){return this.el_[t]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach((function(t){Lr.prototype["set"+ge(t)]=function(e){this.el_[t]=e}})),["pause","load","play"].forEach((function(t){Lr.prototype[t]=function(){return this.el_[t]()}})),kn.withSourceHandlers(Lr),Lr.nativeSourceHandler={},Lr.nativeSourceHandler.canPlayType=function(t){try{return Lr.TEST_VID.canPlayType(t)}catch(e){return""}},Lr.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return Lr.nativeSourceHandler.canPlayType(t.type);if(t.src){var n=on(t.src);return Lr.nativeSourceHandler.canPlayType("video/"+n)}return""},Lr.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},Lr.nativeSourceHandler.dispose=function(){},Lr.registerSourceHandler(Lr.nativeSourceHandler),kn.registerTech("Html5",Lr);var jr=Y(["\n Using the tech directly can be dangerous. I hope you know
117what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),Ir=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Rr={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Nr=["tiny","xsmall","small","medium","large","xlarge","huge"],Yr={};Nr.forEach((function(t){var e="x"===t.charAt(0)?"x-"+t.substring(1):t;Yr[t]="vjs-layout-"+e}));var zr={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Br=function(t){function e(n,i,r){if(I(this,e),n.id=n.id||i.id||"vjs_video_"+Dt(),i=V(e.getTagSettings(n),i),i.initChildren=!1,i.createEl=!1,i.evented=!1,i.reportTouchActivity=!1,!i.language)if("function"===typeof n.closest){var o=n.closest("[lang]");o&&o.getAttribute&&(i.language=o.getAttribute("lang"))}else{var a=n;while(a&&1===a.nodeType){if(pt(a).hasOwnProperty("lang")){i.language=a.getAttribute("lang");break}a=a.parentNode}}var s=N(this,t.call(this,null,i,r));if(s.log=Z(s.id_),s.isPosterFromTech_=!1,s.queuedCallbacks_=[],s.isReady_=!1,s.hasStarted_=!1,s.userActive_=!1,!s.options_||!s.options_.techOrder||!s.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(s.tag=n,s.tagAttributes=n&&pt(n),s.language(s.options_.language),i.languages){var c={};Object.getOwnPropertyNames(i.languages).forEach((function(t){c[t.toLowerCase()]=i.languages[t]})),s.languages_=c}else s.languages_=e.prototype.options_.languages;s.cache_={},s.poster_=i.poster||"",s.controls_=!!i.controls,s.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),n.hasAttribute("autoplay")?s.options_.autoplay=!0:s.autoplay(s.options_.autoplay),s.scrubbing_=!1,s.el_=s.createEl(),s.cache_.lastPlaybackRate=s.defaultPlaybackRate(),fe(s,{eventBusKey:"el_"});var l=_e(s.options_);if(i.plugins){var d=i.plugins;Object.keys(d).forEach((function(t){if("function"!==typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](d[t])}),s)}s.options_.playerOptions=l,s.middleware_=[],s.initChildren(),s.isAudio("audio"===n.nodeName.toLowerCase()),s.controls()?s.addClass("vjs-controls-enabled"):s.addClass("vjs-controls-disabled"),s.el_.setAttribute("role","region"),s.isAudio()?s.el_.setAttribute("aria-label",s.localize("Audio Player")):s.el_.setAttribute("aria-label",s.localize("Video Player")),s.isAudio()&&s.addClass("vjs-audio"),s.flexNotSupported_()&&s.addClass("vjs-no-flex"),v||s.addClass("vjs-workinghover"),e.players[s.id_]=s;var h=u.split(".")[0];return s.addClass("vjs-v"+h),s.userActive(!0),s.reportUserActivity(),s.one("play",s.listenForUserActivity_),s.on("fullscreenchange",s.handleFullscreenChange_),s.on("stageclick",s.handleStageClick_),s.breakpoints(s.options_.breakpoints),s.responsive(s.options_.responsive),s.changingSrc_=!1,s.playWaitingForReady_=!1,s.playOnLoadstart_=null,s}return R(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Nn(this),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.tag,n=void 0,i=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player"),a="video-js"===this.tag.tagName.toLowerCase();i?n=this.el_=e.parentNode:a||(n=this.el_=t.prototype.createEl.call(this,"div"));var s=pt(e);if(a){n=this.el_=e,e=this.tag=o.createElement("video");while(n.children.length)e.appendChild(n.firstChild);lt(n,"video-js")||ut(n,"video-js"),n.appendChild(e),i=this.playerElIngest_=n,["autoplay","controls","crossOrigin","defaultMuted","defaultPlaybackRate","loop","muted","playbackRate","src","volume"].forEach((function(t){"undefined"!==typeof n[t]&&(e[t]=n[t])}))}if(e.setAttribute("tabindex","-1"),s.tabindex="-1",E&&(e.setAttribute("role","application"),s.role="application"),e.removeAttribute("width"),e.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEac
vendor: 4,339 bytes, line 117
117h((function(t){"class"===t?(n.className+=" "+s[t],a&&(e.className+=" "+s[t])):(n.setAttribute(t,s[t]),a&&e.setAttribute(t,s[t]))})),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused"),!0!==r.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Qt("vjs-styles-dimensions");var c=Lt(".vjs-styles-defaults"),l=Lt("head");l.insertBefore(this.styleEl_,c?c.nextSibling:l.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var u=e.getElementsByTagName("a"),d=0;d<u.length;d++){var h=u.item(d);ut(h,"vjs-hidden"),h.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!i&&e.parentNode.insertBefore(n,e),ct(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_=n,n},e.prototype.width=function(t){return this.dimension("width",t)},e.prototype.height=function(t){return this.dimension("height",t)},e.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)return this[n]=void 0,void this.updateStyleEl_();var i=parseFloat(e);isNaN(i)?G.error('Improper value "'+e+'" supplied for for '+t):(this[n]=i,this.updateStyleEl_())},e.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?(this.addClass("vjs-fluid"),this.fill(!1)):this.removeClass("vjs-fluid"),this.updateStyleEl_()},e.prototype.fill=function(t){if(void 0===t)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(!0!==r.VIDEOJS_NO_DYNAMIC_STYLE){var t=void 0,e=void 0,n=void 0,i=void 0;n=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var o=n.split(":"),a=o[1]/o[0];t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/a:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*a,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),te(this.styleEl_,"\n ."+i+" {\n width: "+t+"px;\n height: "+e+"px;\n }\n\n ."+i+".vjs-fluid {\n padding-top: "+100*a+"%;\n }\n ")}else{var s="number"===typeof this.width_?this.width_:this.options_.width,c="number"===typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(s>=0&&(l.width=s),c>=0&&(l.height=c))}},e.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var i=ge(t),r=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==i&&this.tag&&(kn.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1;var o="string"!==typeof this.autoplay()&&this.autoplay(),a={source:e,autoplay:o,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};bn.names.forEach((function(t){var e=bn[t];a[e.getterName]=n[e.privateName]})),V(a,this.options_[i]),V(a,this.options_[r]),V(a,this.options_[t.toLowerCase()]),this.tag&&(a.tag=this.tag),e&&e.src===this.cache_.src&&this.cache_.currentTime>0&&(a.startTime=this.cache_.currentTime);var s=kn.getTech(t);if(!s)throw new Error("No Tech named '"+i+"' exists! '"+i+"' should be registered using videojs.registerTech()'");this.tech_=new s(a),this.tech_.ready(ee(this,this.handleTechReady_),!0),Ye.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Ir.forEach((function(t){n.on(n.tech_,t,n["handleTech"+ge(t)+"_"])})),Object.keys(Rr).forEach((function(t){n.on(n.tech_,t,(function(e){0===n.tech_.playbackRate()&&n.te
117ch_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Rr[t]+"_"].bind(n),event:e}):n["handleTech"+Rr[t]+"_"](e)}))})),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===i&&this.tag||ct(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){var t=this;bn.names.forEach((function(e){var n=bn[e];t[n.privateName]=t[n.getterName]()})),this.textTracksJson_=Ye.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},e.prototype.tech=function(t){return void 0===t&&G.warn(a(jr)),this.tech_},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){G("deleting tag.poster throws in some browsers",t)}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},e.prototype.manualAutoplay_=function(t){var e=this;if(this.tech_&&"string"===typeof t){var n=function(){var t=e.muted();e.muted(!0);var n=e.play();if(n&&n.then&&n["catch"])return n["catch"]((function(n){e.muted(t)}))},i=void 0;if("any"===t?(i=this.play(),i&&i.then&&i["catch"]&&i["catch"]((function(){return n()}))):i="muted"===t?n():this.play(),i&&i.then&&i["catch"])return i.then((function(){e.trigger({type:"autoplay-success",autoplay:t})}))["catch"]((function(n){e.trigger({type:"autoplay-failure",autoplay:t})}))}},e.prototype.updateSourceCaches_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t,n="";"string"!==typeof e&&(e=t.src,n=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!n&&(n=Hn(this,e)),this.cache_.source=_e({},t,{src:e,type:n});for(var i=this.cache_.sources.filter((function(t){return t.src&&t.src===e})),r=[],o=this.$$("source"),a=[],s=0;s<o.length;s++){var c=pt(o[s]);r.push(c),c.src&&c.src===e&&a.push(c.src)}a.length&&!i.length?this.cache_.sources=r:i.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e},e.prototype.handleTechSourceset_=function(t){var e=this;if(!this.changingSrc_){var n=function(t){return e.updateSourceCaches_(t)},i=this.currentSource().src,r=t.src;if(i&&!/^blob:/.test(i)&&/^blob:/.test(r)&&(!this.lastSource_||this.lastSource_.tech!==r&&this.lastSource_.player!==i)&&(n=function(){}),n(r),!t.src){var o=function t(n){if("sourceset"!==n.type){var i=e.techGet("currentSrc");e.lastSource_.tech=i,e.updateSourceCaches_(i)}e.tech_.off(["sourceset","loadstart"],t)};this.tech_.one(["sourceset","loadstart"],o)}}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},e.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(t){return t.callback(t.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",(function(){return t.removeClass("vjs-waiting")}))},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(G.warn("Passing the `starttime` option to the player will be deprecated
117in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){Et(t)&&this.controls_&&(this.paused()?je(this.play()):this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){this.ready((function(){if(t in Dn)return An(this.middleware_,this.tech_,t,e);if(t in jn)return On(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(n){throw G(n),n}}),!0)},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Pn)return Ln(this.middleware_,this.tech_,t);if(t in jn)return On(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw G("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw G("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw G(e),e}}},e.prototype.play=function(){var t=this,e=this.options_.Promise||r.Promise;return e?new e((function(e){t.play_(e)})):this.play_()},e.prototype.play_=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return void e(this.techGet_("play"));this.playOnLoadstart_=function(){t.playOnLoadstart_=null,e(t.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready((function(){t.playWaitingForReady_=!1,e(t.play())}))}},e.prototype.pause=function(){this.techCall_("pause")},e.prototype.paused=function(){return!1!==this.techGet_("paused")},e.prototype.played=function(){return this.techGet_("played")||xe(0,0)},e.prototype.scrubbing=function(t){if("undefined"===typeof t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},e.prototype.currentTime=function(t){return"undefined"!==typeof t?(t<0&&(t=0),void this.techCall_("setCurrentTime",t)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},e.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.prototype.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=xe(0,0)),t},e.prototype.bufferedPercent=function(){return Te(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},e.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},e.prototype.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){if(void 0===t)return!!this.isFullscreen_;this.isFullscreen_=!!t},e.prototype.requestFullscreen=function(){var t=Me;this.isFullscreen(!0),t.requestFullscreen?(Ut(o,t.fullscreenchange,ee(this,(function e(n){this.isFullscreen(o[t.fullscreenElement]),!1===this.isFullscreen()&&Wt(o,t.fullscreenchange,e),this.trigger("fullscreenchange")}))),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},e.prototype.exitFullscreen=function(){var t=Me;this.isFullscreen(!1),t.requestFullscreen?o[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=o.documentElement.style.overflow,Ut(o,"keydown",ee(this,this.fullWindowOnEscKey)),o.documentElement.style.overflow="hidden",ut(o.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,Wt(o,"keydown",this.fullWindowOnEscKey),o.documentElement.style.overflow=this.docOrigOverflow,dt(o.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,n=0,i=this.options_.techOrder;n<i.length;n++){var r=i[n],o=kn.getTech(r);if(o||(o=ye.getComponent(r)),o){if(o.isSupported()&&(e=o.canPlayType(t),e))return e}else G.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e=this,n=this.options_.techOrder.map((function(t){return[t,kn.getTech(t)]})).filter((function(t){var e=t[0],n=t[1];return n?n.isSupported():(G.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),i=function(t,e,n){var i=void 0;return t.some((function(t){return e.some((function(e){if(i=n(t,e),i)return!0}))})),i},r=void 0,o=function(t){return function(e,n){return t(n,e)}},a=function(t,n){var i=t[0],r=t[1];if(r.canPlaySource(n,e.options_[i.toLowerCase()]))return{source:n,tech:i}};return r=this.options_.sourceOrder?i(t,n,o(a)):i(n,t,a),r||!1},e.prototype.src=function(t){var e=this;if("undefined"===typeof t)return this.cache_.src||"";var n=Vn(t);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),Cn(this,n[0],(function(t,i){e.middleware_=i,e.cache_.sources=n,e.updateSourceCaches_(t);var r=e.src_(t);if(r)return n.length>1?e.src(n.slice(1)):(e.changingSrc_=!1,e.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0),void e.triggerReady());En(i,e.tech_)}))):this.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0)},e.prototype.src_=function(t){var e=this,n=this.selectSource([t]);return!n||(ve(n.tech,this.techName_)?(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1}),!0),!1):(this.changingSrc_=!0,this.loadTech_(n.tech,n.source),this.tech_.ready((function(){e.changingSrc_=!1})),!1))},e.prototype.load=function(){this.techCall_("load")},e.prototype.reset=function(){this.tech_&&this.tech_.clearTracks("text"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},e.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},e.prototype.currentSource=function(){return this.cache_.source||{}},e.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},e.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},e.prototype.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e=void 0;"string"===typeof t&&/(any|play|muted)/.test(t)?(this.options_.autoplay=t,this.manualAutoplay_(t),e=!1):this.options_.autoplay=!!t,e=e||this.options_.autoplay,this.tech_&&this.techCall_("setAutoplay",e)},e.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},e.prototype.poster=function(t){if(void 0===t)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},e.prototype.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},e.prototype.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControl
vendor: 5,505 bytes, line 117
117sListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},e.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new Oe(t),this.addClass("vjs-error"),G.error("(CODE:"+this.error_.code+" "+Oe.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(t){t.stopPropagation(),t.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,i=ee(this,this.reportUserActivity),r=function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,i())},o=function(){i(),this.clearInterval(t),t=this.setInterval(i,250)},a=function(e){i(),this.clearInterval(t)};this.on("mousedown",o),this.on("mousemove",r),this.on("mouseup",a),this.on("keydown",i),this.on("keyup",i);var s=void 0;this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s);var t=this.options_.inactivityTimeout;t<=0||(s=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),t))}}),250)},e.prototype.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},e.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},e.prototype.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},e.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},e.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},e.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.track,n=void 0===e?arguments[0]:e;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},e.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},e.prototype.languages=function(){return _e(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=_e(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var i=e[n];i=_e(i),i.player=void 0,t.tracks[n]=i}return t},e.prototype.createModal=function(t,e){var n=this;e=e||{},e.content=t||"";var i=new Fe(this,e);return this.addChild(i),i.on("dispose",(function(){n.removeChild(i)})),i.open(),i},e.prototype.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),e=this.currentWidth(),n=0;n<Nr.length;n++){var i=Nr[n],r=this.breakpoints_[i];if(e<=r){if(t===i)return;t&&this.removeClass(Yr[t]),this.addClass(Yr[i]),this.breakpoint_=i;break}}},e.prototype.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},e.prototype.breakpoints=function(t){return void 0===t||(this.breakpoint_="",this.breakpoints_=V({},zr,t),this.updateCurrentBreakpoint_()),V(this.breakpoints_)},e.prototype.responsive=function(t){if(void 0===t)return this.responsive_;t=Boolean(t);var e=this.responsive_;return t!==e?(this.responsive_=t,t?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t):void 0},e.prototype.currentBreakpoint=function(){return this.breakpoint_},e.prototype.currentBreakpointClass=function(){return Yr[this.breakpoint_]||""},e.getTagSettings=function(t){var e={sources:[],tracks:[]},n=pt(t),i=n["data-setup"];if(lt(t,"vjs-fill")&&(n.fill=!0),lt(t,"vjs-fluid")&&(n.fluid=!0),null!==i){var r=s(i||"{}"),o=r[0],a=r[1];o&&G.error(o),V(n,a)}if(V(e,n),t.hasChildNodes())for(var c=t.childNodes,l=0,u=c.length;l<u;l++){var d=c[l],h=d.nodeName.toLowerCase();"source"===h?e.sources.push(pt(d)):"track"===h&&e.tracks.push(pt(d))}return e},e.prototype.flexNotSupported_=function(){var t=o.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)}
vendor: 4,738 bytes, line 117
117,e}(ye);bn.names.forEach((function(t){var e=bn[t];Br.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}})),Br.players={};var Fr=r.navigator;Br.prototype.options_={techOrder:kn.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Fr&&(Fr.languages&&Fr.languages[0]||Fr.userLanguage||Fr.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",breakpoints:{},responsive:!1},C||Br.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach((function(t){Br.prototype[t]=function(){return this.techGet_(t)}})),Ir.forEach((function(t){Br.prototype["handleTech"+ge(t)+"_"]=function(){return this.trigger(t)}})),ye.registerComponent("Player",Br);var Hr="plugin",Vr="activePlugins_",Ur={},Wr=function(t){return Ur.hasOwnProperty(t)},$r=function(t){return Wr(t)?Ur[t]:void 0},Xr=function(t,e){t[Vr]=t[Vr]||{},t[Vr][e]=!0},qr=function(t,e,n){var i=(n?"before":"")+"pluginsetup";t.trigger(i,e),t.trigger(i+":"+e.name,e)},Gr=function(t,e){var n=function(){qr(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return Xr(this,t),qr(this,{name:t,plugin:e,instance:n}),n};return Object.keys(e).forEach((function(t){n[t]=e[t]})),n},Zr=function(t,e){return e.prototype.name=t,function(){qr(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(i))));return this[t]=function(){return o},qr(this,o.getEventHash()),o}},Jr=function(){function t(e){if(I(this,t),this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,fe(this),delete this.trigger,me(this,this.constructor.defaultState),Xr(e,this.name),this.dispose=ee(this,this.dispose),e.on("dispose",this.dispose)}return t.prototype.version=function(){return this.constructor.VERSION},t.prototype.getEventHash=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.prototype.trigger=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $t(this.eventBusEl_,t,this.getEventHash(e))},t.prototype.handleStateChanged=function(t){},t.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[Vr][t]=!1,this.player=this.state=null,e[t]=Zr(t,Ur[t])},t.isBasic=function(e){var n="string"===typeof e?$r(e):e;return"function"===typeof n&&!t.prototype.isPrototypeOf(n.prototype)},t.registerPlugin=function(e,n){if("string"!==typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+("undefined"===typeof e?"undefined":j(e))+".");if(Wr(e))G.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(Br.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!==typeof n)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+("undefined"===typeof n?"undefined":j(n))+".");return Ur[e]=n,e!==Hr&&(t.isBasic(n)?Br.prototype[e]=Gr(e,n):Br.prototype[e]=Zr(e,n)),n},t.deregisterPlugin=function(t){if(t===Hr)throw new Error("Cannot de-register base plugin.");Wr(t)&&(delete Ur[t],delete Br.prototype[t])},t.getPlugins=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(Ur),e=void 0;return t.forEach((function(t){var n=$r(t);n&&(e=e||{},e[t]=n)})),e},t.getPluginVersion=function(t){var e=$r(t);return e&&e.VERSION||""},t}();Jr.getPlugin=$r,Jr.BASE_PLUGIN_NAME=Hr,Jr.registerPlugin(Hr,Jr),Br.prototype.usingPlugin=function(t){return!!this[Vr]&&!0===this[Vr][t]},Br.prototype.hasPlugin=function(t){return!!Wr(t)};var Kr=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof e?"undefined":j(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)},Qr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){t.apply(this,arguments)},i={};for(var r in"object"===("undefined"===typeof e?"undefined":j(e))?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),i=e):"function"===typeof e&&(n=e),Kr(n,t),i)i.hasOwnProperty(r)&&(n.prototype[r]=i[r]);return n};
117"undefined"===typeof HTMLVideoElement&&nt()&&(o.createElement("video"),o.createElement("audio"),o.createElement("track"),o.createElement("video-js"));var to=function(t){return 0===t.indexOf("#")?t.slice(1):t};function eo(t,e,n){var i=eo.getPlayer(t);if(i)return e&&G.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&i.ready(n),i;var r="string"===typeof t?Lt("#"+to(t)):t;if(!it(r))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.body.contains(r)||G.warn("The element supplied is not included in the DOM"),e=e||{},eo.hooks("beforesetup").forEach((function(t){var n=t(r,_e(e));U(n)&&!Array.isArray(n)?e=_e(e,n):G.error("please return an object in beforesetup hooks")}));var a=ye.getComponent("Player");return i=new a(r,e,n),eo.hooks("setup").forEach((function(t){return t(i)})),i}if(eo.hooks_={},eo.hooks=function(t,e){return eo.hooks_[t]=eo.hooks_[t]||[],e&&(eo.hooks_[t]=eo.hooks_[t].concat(e)),eo.hooks_[t]},eo.hook=function(t,e){eo.hooks(t,e)},eo.hookOnce=function(t,e){eo.hooks(t,[].concat(e).map((function(e){var n=function n(){return eo.removeHook(t,n),e.apply(void 0,arguments)};return n})))},eo.removeHook=function(t,e){var n=eo.hooks(t).indexOf(e);return!(n<=-1)&&(eo.hooks_[t]=eo.hooks_[t].slice(),eo.hooks_[t].splice(n,1),!0)},!0!==r.VIDEOJS_NO_DYNAMIC_STYLE&&nt()){var no=Lt(".vjs-styles-defaults");if(!no){no=Qt("vjs-styles-defaults");var io=Lt("head");io&&io.insertBefore(no,io.firstChild),te(no,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}Kt(1,eo),eo.VERSION=u,eo.options=Br.prototype.options_,eo.getPlayers=function(){return Br.players},eo.getPlayer=function(t){var e=Br.players,n=void 0;if("string"===typeof t){var i=to(t),r=e[i];if(r)return r;n=Lt("#"+i)}else n=t;if(it(n)){var o=n,a=o.player,s=o.playerId;if(a||e[s])return a||e[s]}},eo.getAllPlayers=function(){return Object.keys(Br.players).map((function(t){return Br.players[t]})).filter(Boolean)},eo.players=Br.players,eo.getComponent=ye.getComponent,eo.registerComponent=function(t,e){kn.isTech(e)&&G.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),ye.registerComponent.call(ye,t,e)},eo.getTech=kn.getTech,eo.registerTech=kn.registerTech,eo.use=Sn,!C&&Object.defineProperty?(Object.defineProperty(eo,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(eo.middleware,"TERMINATOR",{value:Mn,writeable:!1,enumerable:!0})):eo.middleware={TERMINATOR:Mn},eo.browser=D,eo.TOUCH_ENABLED=O,eo.extend=Qr,eo.mergeOptions=_e,eo.bind=ee,eo.registerPlugin=Jr.registerPlugin,eo.deregisterPlugin=Jr.deregisterPlugin,eo.plugin=function(t,e){return G.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Jr.registerPlugin(t,e)},eo.getPlugins=Jr.getPlugins,eo.getPlugin=Jr.getPlugin,eo.getPluginVersion=Jr.getPluginVersion,eo.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),eo.options.languages=_e(eo.options.languages,(n={},n[t]=e,n)),eo.options.languages[t]},eo.log=G,eo.createLogger=Z,eo.createTimeRange=eo.createTimeRanges=xe,eo.formatTime=li,eo.setFormatTime=si,eo.resetFormatTime=ci,eo.parseUrl=nn,eo.isCrossOrigin=an,eo.EventTarget=re,eo.on=Ut,eo.one=Xt,eo.off=Wt,eo.trigger=$t,eo.xhr=c,eo.TextTrack=un,eo.AudioTrack=dn,eo.VideoTrack=hn,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(t){eo[t]=function(){return G.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),Ot[t].apply(null,arguments)}})),eo.computedStyle=J,eo.dom=Ot,eo.url=sn,t.exports=eo},"3de5":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,959 bytes, lines 118-119
118//! moment.js locale configuration 119var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"à¯",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","à¯":"7","௮":"8","௯":"9","௦":"0"},i=t.defineLocale("ta",{months:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),monthsShort:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),weekdays:"à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯".split("_"),weekdaysShort:"à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿".split("_"),weekdaysMin:"à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[à®à®©à¯à®±à¯] LT",nextDay:"[நாளà¯] LT",nextWeek:"dddd, LT",lastDay:"[நà¯à®±à¯à®±à¯] LT",lastWeek:"[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à®à®²à¯",past:"%s à®®à¯à®©à¯",s:"à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯",ss:"%d விநாà®à®¿à®à®³à¯",m:"à®à®°à¯ நிமிà®à®®à¯",mm:"%d நிமிà®à®à¯à®à®³à¯",h:"à®à®°à¯ மணி நà¯à®°à®®à¯",hh:"%d மணி நà¯à®°à®®à¯",d:"à®à®°à¯ நாளà¯",dd:"%d நாà®à¯à®à®³à¯",M:"à®à®°à¯ மாதமà¯",MM:"%d மாதà®à¯à®à®³à¯",y:"à®à®°à¯ வரà¯à®à®®à¯",yy:"%d à®à®£à¯à®à¯à®à®³à¯"},dayOfMonthOrdinalParse:/\d{1,2}வதà¯/,ordinal:function(t){return t+"வதà¯"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/,meridiem:function(t,e,n){return t<2?" யாமமà¯":t<6?" வà¯à®à®±à¯":t<10?" à®à®¾à®²à¯":t<14?" நணà¯à®ªà®à®²à¯":t<18?" à®à®±à¯à®ªà®¾à®à¯":t<22?" மாலà¯":" யாமமà¯"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமமà¯"===e?t<2?t:t+12:"வà¯à®à®±à¯"===e||"à®à®¾à®²à¯"===e||"நணà¯à®ªà®à®²à¯"===e&&t>=10?t:t+12},week:{dow:0,doy:6}});return i}))},"3e92":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
120//! moment.js locale configuration 121var e={1:"à³§",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"à³",8:"à³®",9:"೯",0:"೦"},n={"à³§":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","à³":"7","à³®":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_ಠà²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³".split("_"),monthsShort:"à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²_ಠà²à³à²à³à³à³_ನವà³à²_ಡಿಸà³à²".split("_"),monthsParseExact:!0,weekdays:"à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ".split("_"),weekdaysShort:"à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ".split("_"),weekdaysMin:"à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à²à²à²¦à³] LT",nextDay:"[ನಾಳà³] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನà³à²¨à³] LT",lastWeek:"[à²à³à³à²¨à³à²¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನà²à²¤à²°",past:"%s ಹಿà²à²¦à³",s:"à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³",ss:"%d ಸà³à²à³à²à²¡à³à²à²³à³",m:"à²à²à²¦à³ ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"à²à²à²¦à³ à²à²à²à³",hh:"%d à²à²à²à³",d:"à²à²à²¦à³ ದಿನ",dd:"%d ದಿನ",M:"à²à²à²¦à³ ತಿà²à²à²³à³",MM:"%d ತಿà²à²à²³à³",y:"à²à²à²¦à³ ವರà³à²·",yy:"%d ವರà³à²·"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತà³à²°à²¿"===e?t<4?t:t+12:"ಬà³à²³à²¿à²à³à²à³"===e?t:"ಮಧà³à²¯à²¾à²¹à³à²¨"===e?t>=10?t:t+12:"ಸà²à²à³"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತà³à²°à²¿":t<10?"ಬà³à²³à²¿à²à³à²à³":t<17?"ಮಧà³à²¯à²¾à²¹à³à²¨":t<20?"ಸà²à²à³":"ರಾತà³à²°à²¿"},dayOfMonthOrdinalParse:/\d{1,2}(ನà³à³)/,ordinal:function(t){return t+"ನà³à³"},week:{dow:0,doy:6}});return i}))},"3eb1":function(t,e,n){"use strict";var i=n("0f7c"),r=n("00ce"),o=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||i.call(a,o),c=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(h){l=null}t.exports=function(t){var e=s(i,a,arguments);if(c&&l){var n=c(e,"length");n.configurable&&l(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var d=function(){return s(i,o,arguments)};l?l(t.exports,"apply",{value:d}):t.exports.apply=d},"3f8c":function(t,e){t.exports={}},"3faf":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t("div",{attrs:{id:this.id}})}},"3fcc":function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").map,o=n("b6b7"),a=i.aTypedArray,s=i.exportTypedArrayMethod;s("map",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(o(t))(e)}))}))},"408a":function(t,e,n){var i=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return+t}},"40da":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,933 bytes, lines 122-123
122//! moment.js locale configuration 123var e=t.defineLocale("ar-kw",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:0,doy:12}});return e}))},"428f":function(t,e,n){var i=n("da84");t.exports=i},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"440c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
124//! moment.js locale configuration 125function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"a "+t:"an "+t}function i(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"viru "+t:"virun "+t}function r(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,n=t/10;return r(0===e?n:e)}if(t<1e4){while(t>=10)t/=10;return r(t)}return t/=1e3,r(t)}var o=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"44ad":function(t,e,n){var i=n("d039"),r=n("c6b6"),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},"44c2":function(t,e,n){"use strict";n("b0c0"),n("a9e3");var i=n("53ca"),r=(n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a15b"),n("ac1f"),n("1276"),n("4d63"),n("25f0"),n("5319"),n("b64b"),n("ace4"),n("cfc3"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("99af"),n("498a"),n("466d"),n("d81d"),n("a434"),n("7db0"),n("fb6a"),n("cb29"),n("4de4"),n("4e82"),n("cc71"),n("c7cd"),n("2ca0"),n("b680"),"function"===typeof Symbol&&"symbol"===Object(i["a"])(Symbol.iterator)?function(t){return Object(i["a"])(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Object(i["a"])(t)}),o={},a={},s={},c=o["util.base"]={browser:{webkit:"WebkitAppearance"in document.documentElement.style,mozilla:"undefined"!=typeof window.mozInnerScreenX,msie:-1!=window.navigator.userAgent.indexOf("Trident")},isTouch:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent),inherit:function(t,e){this.typeCheck("function",t)&&this.typeCheck("function",e)&&(t.parent=e,t.prototype=new e,t.prototype.constructor=t,t.prototype.parent=t.prototype,t.prototype.super=function(t,e){return this.constructor.prototype[t].apply(this,e)})},extend:function(t,e,n){if(this.typeCheck(["object","function"],t)||(t={}),!this.typeCheck(["object","function"],e))return t;for(var i in e)!0===n?r(t[i])?this.extend(t[i],e[i],n):this.typeCheck("undefined",t[i])&&(t[i]=e[i]):r(t[i])?this.extend(t[i],e[i],n):t[i]=e[i];function r(t){return c.typeCheck("object",t)}return t},pxToInt:function(t){return this.typeCheck("string",t)&&-1!=t.indexOf("px")?parseInt(t.split("px").join("")):t},clone:function(t){var e=this.typeCheck("array",t)?[]:{};for(var n in t)this.typeCheck("object",t[n])?e[n]=this.clone(t[n]):e[n]=t[n];return e},deepClone:function(t,e){var n=null;if(e=e||{},this.typeCheck("array",t)){n=new Array(t.length);for(var i=0,r=t.length;i<r;i++)n[i]=this.deepClone(t[i],e)}else if(this.typeCheck("date",t))n=t;else if(this.typeCheck("object",t))for(var o in n={},t)e[o]?n[o]=t[o]:n[o]=this.deepClone(t[o],e);else n=t;return n},runtime:function(t,e){var n=(new Date).getTime();e();var i=(new Date).getTime();console.warn(t+" : "+(i-n)+"ms")},resize:function(t,e){var n=function(){var n=0;return function(){clearTimeout(n),n=setTimeout(t,e)}}();window.addEventListener?window.addEventListener("resize",n):object.attachEvent?window.attachEvent("onresize",n):window["onresize"]=n},typeCheck:function(t,e){function n(t,e){return"string"==typeof t&&("string"==t?"string"==typeof e:"integer"==t?"number"==typeof e&&e%1==0:"float"==t?"number"==typeof e&&e%1!=0:"number"==t?"number"==typeof e:"boolean"==t?"boolean"==typeof e:"undefined"==t?"undefined"==typeof e:"null"==t?null===e:"array"==t?e instanceof Array:"date"==t?e instanceof Date:"function"==t?"function"==typeof e:"object"==t&&("object"==("undefined"===typeof e?"undefined":r(e))&&null!==e&&!(e instanceof Array)&&!(e instanceof Date)&&!(e instanceof RegExp)))}if("object"==("undefined"===typeof t?"undefined":r(t))&&t.length){for(var i=t,o=0;o<i.length;o++)if(n(i[o],e))return!0;return!1}return n(t,e)},typeCheckObj:function(t,e){if("object"==("undefined"===typeof t?"undefined":r(t))){var n=this;for(var i in t){var o=t[i];"function"==typeof o&&function(i,r){t[i]=function(){for(var t=arguments,o=e[i],a=0;a<t.length;a++)if(!n.typeCheck(o[a],t[a]))throw new Error("JUI_CRITICAL_ERR: the "+a+"th parameter is not a "+o[a]+" ("+name+")");return r.apply(this,t)}}(i,o)}}},dateFormat:function(t,e,n){var i=["\0","January","February","March","April","May","June","July","August","September","October","November","December"],r=["�","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=["�","Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
125ay","Saturday"],a=["�","Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function s(t,e){var n=t+"";e=e||2;while(n.length<e)n="0"+n;return n}var c=n?t.getUTCFullYear():t.getFullYear();e=e.replace(/(^|[^\\])yyyy+/g,"$1"+c),e=e.replace(/(^|[^\\])yy/g,"$1"+c.toString().substr(2,2)),e=e.replace(/(^|[^\\])y/g,"$1"+c);var l=(n?t.getUTCMonth():t.getMonth())+1;e=e.replace(/(^|[^\\])MMMM+/g,"$1"+i[0]),e=e.replace(/(^|[^\\])MMM/g,"$1"+r[0]),e=e.replace(/(^|[^\\])MM/g,"$1"+s(l)),e=e.replace(/(^|[^\\])M/g,"$1"+l);var u=n?t.getUTCDate():t.getDate();e=e.replace(/(^|[^\\])dddd+/g,"$1"+o[0]),e=e.replace(/(^|[^\\])ddd/g,"$1"+a[0]),e=e.replace(/(^|[^\\])dd/g,"$1"+s(u)),e=e.replace(/(^|[^\\])d/g,"$1"+u);var d=n?t.getUTCHours():t.getHours();e=e.replace(/(^|[^\\])HH+/g,"$1"+s(d)),e=e.replace(/(^|[^\\])H/g,"$1"+d);var h=d>12?d-12:0==d?12:d;e=e.replace(/(^|[^\\])hh+/g,"$1"+s(h)),e=e.replace(/(^|[^\\])h/g,"$1"+h);var f=n?t.getUTCMinutes():t.getMinutes();e=e.replace(/(^|[^\\])mm+/g,"$1"+s(f)),e=e.replace(/(^|[^\\])m/g,"$1"+f);var p=n?t.getUTCSeconds():t.getSeconds();e=e.replace(/(^|[^\\])ss+/g,"$1"+s(p)),e=e.replace(/(^|[^\\])s/g,"$1"+p);var m=n?t.getUTCMilliseconds():t.getMilliseconds();e=e.replace(/(^|[^\\])fff+/g,"$1"+s(m,3)),m=Math.round(m/10),e=e.replace(/(^|[^\\])ff/g,"$1"+s(m)),m=Math.round(m/10),e=e.replace(/(^|[^\\])f/g,"$1"+m);var g=d<12?"AM":"PM";e=e.replace(/(^|[^\\])TT+/g,"$1"+g),e=e.replace(/(^|[^\\])T/g,"$1"+g.charAt(0));var v=g.toLowerCase();e=e.replace(/(^|[^\\])tt+/g,"$1"+v),e=e.replace(/(^|[^\\])t/g,"$1"+v.charAt(0));var _=-t.getTimezoneOffset(),y=n||!_?"Z":_>0?"+":"-";if(!n){_=Math.abs(_);var b=Math.floor(_/60),w=_%60;y+=s(b)+":"+s(w)}e=e.replace(/(^|[^\\])K/g,"$1"+y);var k=(n?t.getUTCDay():t.getDay())+1;return e=e.replace(new RegExp(o[0],"g"),o[k]),e=e.replace(new RegExp(a[0],"g"),a[k]),e=e.replace(new RegExp(i[0],"g"),i[l]),e=e.replace(new RegExp(r[0],"g"),r[l]),e=e.replace(/\\(.)/g,"$1"),e},createId:function(t){return[t||"id",+new Date,Math.round(100*Math.random())%100].join("-")},timeLoop:function(t,e){return function(n,i){function r(t){t<1||(1==t?(n.call(e,t),i.call(e)):setTimeout((function(){t>-1&&n.call(e,t--),t>-1&&r(t)}),1))}r(t)}},loop:function(t,e){var n=0,i=t,r=Math.ceil(t/5);return function(t){var o=n,a=1*r,s=2*r,c=3*r,l=4*r,u=a,d=s,h=c,f=l,p=i;while(o<u&&o<i)t.call(e,o,1),o++,a<d&&a<i&&(t.call(e,a,2),a++),s<h&&s<i&&(t.call(e,s,3),s++),c<f&&c<i&&(t.call(e,c,4),c++),l<p&&l<i&&(t.call(e,l,5),l++)}},loopArray:function(t,e){var n=t.length,i=0,r=n,o=Math.ceil(n/5);return function(n){var a=i,s=1*o,c=2*o,l=3*o,u=4*o,d=s,h=c,f=l,p=u,m=r;while(a<d&&a<r)n.call(e,t[a],a,1),a++,s<h&&s<r&&(n.call(e,t[s],s,2),s++),c<f&&c<r&&(n.call(e,t[c],c,3),c++),l<p&&l<r&&(n.call(e,t[l],l,4),l++),u<m&&u<r&&(n.call(e,t[u],u,5),u++)}},startsWith:function(t,e,n){return n=n||0,t.lastIndexOf(e,n)===n},endsWith:function(t,e,n){var i=t;(void 0===n||n>i.length)&&(n=i.length),n-=e.length;var r=i.indexOf(e,n);return-1!==r&&r===n},inArray:function(t,e){if(this.typeCheck(["undefined","null"],t)||!this.typeCheck("array",e))return-1;for(var n=0,i=e.length;n<i;n++)if(e[n]==t)return n;return-1},trim:function(t){var e="[\\x20\\t\\r\\n\\f]",n=new RegExp("^"+e+"+|((?:^|[^\\\\])(?:\\\\.)*)"+e+"+$","g");return null==t?"":(t+"").replace(n,"")},param:function(t){var e=/%20/g,n=[],i=function(t,e){e=c.typeCheck("function",e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};for(var r in t)i(r,t[r]);return n.join("&").replace(e,"+")},ajax:function(t){var e=null,n="",i=null,r=c.extend({url:null,type:"GET",data:null,async:!0,success:null,fail:null},t);if(this.typeCheck("string",r.url)&&this.typeCheck("function",r.success)){if(this.typeCheck("object",r.data)&&(n=this.param(r.data)),this.typeCheck("undefined",XMLHttpRequest))for(var o=["MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.2.0","Microsoft.XmlHttp"],a=0,s=o.length;a<s;a++)try{e=new ActiveXObject(o[a]);break}catch(l){}else e=new XMLHttpRequest;null!=e&&(e.open(r.type,r.url,r.async),e.send(n),i=function(){4===e.readyState&&200==e.status?r.success(e):c.typeCheck("function",r.fail)&&r.fail(e)},r.async?e.onreadystatechange=i:i())}},ready:function(){var t,e,n={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object"},i={isReady:!1,readyWait:1,holdReady:function(t){t?i.readyWait++:i.ready(!0)},ready:function(e){if(!0===e&&!--i.readyWait||!0!==e&&!i.isReady){if(!document.body)return setTimeout(i.ready,1);if(i.isReady=!0,!0!==e&&--i.readyWait>0)return;t.resolveWith(document,[i])}},bindReady:function(){if(!t){if(t=i._Deferred(),"complete"===document.readyState)return setTimeout(i.ready,1);if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",i.ready,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",e),window.attachEvent("onload",i.ready);var n=!1;try{n=null==window.frameElement}catch(o){}document.documentElement.doScroll&&n&&r()}}},_Deferred:function(){var t,e,n,r=[],o={done:function(){if(!n){var e,a,s,c,l,u=arguments;for(t&&(l=t,t=0),e=0,a=u.length;e<a;e++)s=u[e],c=i.type(s),"array"===c?o.done.apply(o,s):"function"===c&&r.push(s);l&&o.resolveWith(l[0],l[1])}return this},resolveWith:function(i,o){if(!n&&!t&&!e){o=o||[],e=1;try{while(r[0])r.shift().apply(i,o)}finally{t=[i,o],e=0}}return this},resolve:function(){return o.resolveWith(this,arguments),this},isResolved:function(){return!(!e&&!t)}
125,cancel:function(){return n=1,r=[],this}};return o},type:function(t){return null==t?String(t):n[Object.prototype.toString.call(t)]||"object"}};function r(){if(!i.isReady){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(r,1)}i.ready()}}function o(e){i.bindReady();i.type(e);t.done(e)}return document.addEventListener?e=function(){document.removeEventListener("DOMContentLoaded",e,!1),i.ready()}:document.attachEvent&&(e=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",e),i.ready())}),o}()},l=function(t){for(var e=[],n=0;n<t.length;n++){var i=o[t[n]];if(c.typeCheck(["function","object"],i))e.push(i);else{var r=u(t[n]);null==r?(console.warn("JUI_WARNING_MSG: '"+t[n]+"' is not loaded"),e.push(null)):e.push(r)}}return e},u=function(t){var e=null;t+=".";for(var n in o)if(-1!=n.indexOf(t)&&c.typeCheck(["function","object"],o[n])){var i=n.split(t).join("");-1==i.indexOf(".")&&(null==e&&(e={}),e[i]=o[n])}return e},d={ready:function(){var t=[],e=2==arguments.length?arguments[1]:arguments[0],n=2==arguments.length?arguments[0]:null;if(!c.typeCheck(["array","null"],n)||!c.typeCheck("function",e))throw new Error("JUI_CRITICAL_ERR: Invalid parameter type of the function");c.ready((function(){n&&(t=l(n)),e.apply(null,t)}))},defineUI:function(t,e,n,i){if(!c.typeCheck("string",t)||!c.typeCheck("array",e)||!c.typeCheck("function",n)||!c.typeCheck(["string","undefined"],i))throw new Error("JUI_CRITICAL_ERR: Invalid parameter type of the function");if(c.typeCheck("function",s[t]))throw new Error("JUI_CRITICAL_ERR: '"+t+"' is already exist");if(c.typeCheck("undefined",i)&&(i="core"),!c.typeCheck("function",s[i]))throw new Error("JUI_CRITICAL_ERR: Parents are the only function");if(!0!==a[i])throw new Error("JUI_CRITICAL_ERR: UI function can not be inherited");var r=l(e),u=n.apply(null,r);c.inherit(u,s[i]),o[t]=s[i].init({type:t,class:u}),s[t]=u,a[t]=!0},redefineUI:function(t,e,n,i,r){r||!0!==a[t]||(o[t]=null,s[t]=null,a[t]=!1),(!r||r&&!0!==a[t])&&this.defineUI(t,e,n,i)},createUIObject:function(t,e,n,i,r,o){var a=new t["class"],s=d.defineOptions(t["class"],r||{});a.init.prototype=a,a.init.prototype.selector=e,a.init.prototype.root=i,a.init.prototype.options=s,a.init.prototype.event=new Array,a.init.prototype.timestamp=(new Date).getTime(),a.init.prototype.index=n,a.init.prototype.module=t,c.typeCheck("function",o)&&o(a,s);var l=new a.init;for(var u in s.event)l.on(u,s.event[u]);return i.jui=l,l},define:function(t,e,n,i){if(!c.typeCheck("string",t)||!c.typeCheck("array",e)||!c.typeCheck("function",n)||!c.typeCheck(["string","undefined","null"],i))throw new Error("JUI_CRITICAL_ERR: Invalid parameter type of the function");if(c.typeCheck("function",s[t]))throw new Error("JUI_CRITICAL_ERR: '"+t+"' is already exist");var r=l(e),u=n.apply(null,r);if(c.typeCheck("function",s[i])){if(!0!==a[i])throw new Error("JUI_CRITICAL_ERR: UI function can not be inherited");c.inherit(u,s[i])}o[t]=u,s[t]=u,a[t]=!0},redefine:function(t,e,n,i,r){r||!0!==a[t]||(o[t]=null,s[t]=null,a[t]=!1),(!r||r&&!0!==a[t])&&this.define(t,e,n,i)},defineOptions:function(t,e,n){for(var i=l(t,{}),r=Object.keys(i),o=Object.keys(e),a=0;a<o.length;a++){var s=o[a];if(-1==c.inArray(s,r)&&-1==c.inArray(s,n))throw new Error("JUI_CRITICAL_ERR: '"+s+"' is not an option")}function l(t,e){if(c.typeCheck("function",t)){if(c.typeCheck("function",t.setup)){var n=t.setup();for(var i in n)c.typeCheck("undefined",e[i])&&(e[i]=n[i])}l(t.parent,e)}return e}return c.extend(e,i,!0),e},include:function(t){if(!c.typeCheck("string",t))throw new Error("JUI_CRITICAL_ERR: Invalid parameter type of the function");var e=o[t];if(c.typeCheck(["function","object"],e))return e;var n=u(t);return null==n?(console.warn("JUI_WARNING_MSG: '"+t+"' is not loaded"),null):n},includeAll:function(){var t=[];for(var e in o)t.push(o[e]);return t},use:function(){for(var t=[],e=0;e<arguments.length;e++)if(c.typeCheck("array",arguments[e]))for(var n=arguments[e],i=0;i<n.length;i++)c.typeCheck("object",n[i])&&t.push(n[i]);else c.typeCheck("object",arguments[e])&&t.push(arguments[e]);for(e=0;e<t.length;e++){var o=t[e];if("object"==("undefined"===typeof o?"undefined":r(o))){if("string"!=typeof o.name)return;if("function"!=typeof o.component)return;null!=o.extend&&null==d.include(o.extend)&&console.warn("JUI_WARNING_MSG: '"+o.extend+"' module should be imported in first"),"core"==o.extend?d.redefineUI(o.name,[],o.component,o.extend):d.redefine(o.name,[],o.component,o.extend)}}}},h={name:"util.dom",extend:null,component:function(){var t=d.include("util.base");return{find:function(){var e=arguments;
125if(1==e.length){if(t.typeCheck("string",e[0]))return document.querySelectorAll(e[0])}else if(2==e.length&&t.typeCheck("object",e[0])&&t.typeCheck("string",e[1]))return e[0].querySelectorAll(e[1]);return[]},each:function(e,n){if(t.typeCheck("function",n)){var i=null;t.typeCheck("string",e)?i=document.querySelectorAll(e):t.typeCheck("array",e)&&(i=e),null!=i&&Array.prototype.forEach.call(i,(function(t,e){n.apply(t,[e,t])}))}},attr:function(e,n){if(t.typeCheck(["string","array"],e)){var i=document.querySelectorAll(e);if(t.typeCheck("object",n))for(var r=0;r<i.length;r++)for(var o in n)i[r].setAttribute(o,n[o]);else if(t.typeCheck("string",n)&&i.length>0)return i[0].getAttribute(n)}},remove:function(t){this.each(t,(function(){this.parentNode.removeChild(this)}))},offset:function(t){function e(t){return null!=t&&t==t.window}function n(t){return e(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var i,o,a={top:0,left:0},s=t&&t.ownerDocument;if(s){i=s.documentElement;var c="undefined";return r(t.getBoundingClientRect)!==c&&(a=t.getBoundingClientRect()),o=n(s),{top:a.top+(o.pageYOffset||i.scrollTop)-(i.clientTop||0),left:a.left+(o.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}}}}}},f={name:"util.math",extend:null,component:function(){var t=d.include("util.base");function e(t,e){for(var n=[],i=0,r=t.length;i<r;i++){for(var o=0,a=0,s=t[i].length;a<s;a++)o+=t[i][a]*e[a];n.push(o)}return n}function n(t,n){for(var i=[],r=[],o=0,a=n.length;o<a;o++)i[o]=[],r[o]=[];for(o=0,a=n.length;o<a;o++)for(var s=0,c=n[o].length;s<c;s++)i[s].push(n[o][s]);for(o=0,a=i.length;o<a;o++){var l=e(t,i[o]);for(s=0,c=l.length;s<c;s++)r[s].push(l[s])}return r}function i(t,e){var n=new Float32Array(4);return n[0]=t[0][0]*e[0]+t[0][1]*e[1]+t[0][2]*e[2]+t[0][3]*e[3],n[1]=t[1][0]*e[0]+t[1][1]*e[1]+t[1][2]*e[2]+t[1][3]*e[3],n[2]=t[2][0]*e[0]+t[2][1]*e[1]+t[2][2]*e[2]+t[2][3]*e[3],n[3]=t[3][0]*e[0]+t[3][1]*e[1]+t[3][2]*e[2]+t[3][3]*e[3],n}function r(t,e){var n=[new Float32Array(4),new Float32Array(4),new Float32Array(4),new Float32Array(4)],i=[new Float32Array([e[0][0],e[1][0],e[2][0],e[3][0]]),new Float32Array([e[0][1],e[1][1],e[2][1],e[3][1]]),new Float32Array([e[0][2],e[1][2],e[2][2],e[3][2]]),new Float32Array([e[0][3],e[1][3],e[2][3],e[3][3]])];return n[0][0]=t[0][0]*i[0][0]+t[0][1]*i[0][1]+t[0][2]*i[0][2]+t[0][3]*i[0][3],n[1][0]=t[1][0]*i[0][0]+t[1][1]*i[0][1]+t[1][2]*i[0][2]+t[1][3]*i[0][3],n[2][0]=t[2][0]*i[0][0]+t[2][1]*i[0][1]+t[2][2]*i[0][2]+t[2][3]*i[0][3],n[3][0]=t[3][0]*i[0][0]+t[3][1]*i[0][1]+t[3][2]*i[0][2]+t[3][3]*i[0][3],n[0][1]=t[0][0]*i[1][0]+t[0][1]*i[1][1]+t[0][2]*i[1][2]+t[0][3]*i[1][3],n[1][1]=t[1][0]*i[1][0]+t[1][1]*i[1][1]+t[1][2]*i[1][2]+t[1][3]*i[1][3],n[2][1]=t[2][0]*i[1][0]+t[2][1]*i[1][1]+t[2][2]*i[1][2]+t[2][3]*i[1][3],n[3][1]=t[3][0]*i[1][0]+t[3][1]*i[1][1]+t[3][2]*i[1][2]+t[3][3]*i[1][3],n[0][2]=t[0][0]*i[2][0]+t[0][1]*i[2][1]+t[0][2]*i[2][2]+t[0][3]*i[2][3],n[1][2]=t[1][0]*i[2][0]+t[1][1]*i[2][1]+t[1][2]*i[2][2]+t[1][3]*i[2][3],n[2][2]=t[2][0]*i[2][0]+t[2][1]*i[2][1]+t[2][2]*i[2][2]+t[2][3]*i[2][3],n[3][2]=t[3][0]*i[2][0]+t[3][1]*i[2][1]+t[3][2]*i[2][2]+t[3][3]*i[2][3],n[0][3]=t[0][0]*i[3][0]+t[0][1]*i[3][1]+t[0][2]*i[3][2]+t[0][3]*i[3][3],n[1][3]=t[1][0]*i[3][0]+t[1][1]*i[3][1]+t[1][2]*i[3][2]+t[1][3]*i[3][3],n[2][3]=t[2][0]*i[3][0]+t[2][1]*i[3][1]+t[2][2]*i[3][2]+t[2][3]*i[3][3],n[3][3]=t[3][0]*i[3][0]+t[3][1]*i[3][1]+t[3][2]*i[3][2]+t[3][3]*i[3][3],n}function o(t){var e=[new Float32Array(4),new Float32Array(4),new Float32Array(4),new Float32Array(4)],n=t[0][0],i=t[0][1],r=t[0][2],o=t[0][3],a=t[1][0],s=t[1][1],c=t[1][2],l=t[1][3],u=t[2][0],d=t[2][1],h=t[2][2],f=t[2][3],p=t[3][0],m=t[3][1],g=t[3][2],v=t[3][3];e[0][0]=c*f*m-l*h*m+l*d*g-s*f*g-c*d*v+s*h*v,e[0][1]=o*h*m-r*f*m-o*d*g+i*f*g+r*d*v-i*h*v,e[0][2]=r*l*m-o*c*m+o*s*g-i*l*g-r*s*v+i*c*v,e[0][3]=o*c*d-r*l*d-o*s*h+i*l*h+r*s*f-i*c*f,e[1][0]=l*h*p-c*f*p-l*u*g+a*f*g+c*u*v-a*h*v,e[1][1]=r*f*p-o*h*p+o*u*g-n*f*g-r*u*v+n*h*v,e[1][2]=o*c*p-r*l*p-o*a*g+n*l*g+r*a*v-n*c*v,e[1][3]=r*l*u-o*c*u+o*a*h-n*l*h-r*a*f+n*c*f,e[2][0]=s*f*p-l*d*p+l*u*m-a*f*m-s*u*v+a*d*v,e[2][1]=o*d*p-i*f*p-o*u*m+n*f*m+i*u*v-n*d*v,e[2][2]=i*l*p-o*s*p+o*a*m-n*l*m-i*a*v+n*s*v,e[2][3]=o*s*u-i*l*u-o*a*d+n*l*d+i*a*f-n*s*f,e[3][0]=c*d*p-s*h*p-c*u*m+a*h*m+s*u*g-a*d*g,e[3][1]=i*h*p-r*d*p+r*u*m-n*h*m-i*u*g+n*d*g,e[3][2]=r*s*p-i*c*p-r*a*m+n*c*m+i*a*g-n*s*g,e[3][4]=i*c*u-r*s*u+r*a*d-n*c*d-i*a*h+n*s*h;var _=1/(n*e[0][0]+a*e[0][1]+u*e[0][2]+p*e[0][3]);return 0===_?e=[new Float32Array([1,0,0,0]),new Float32Array([0,1,0,0]),new Float32Array([0,0,1,0]),new Float32Array([0,0,0,1])]:(e[0][0]*=_,e[0][1]*=_,e[0][2]*=_,e[0][3]*=_,e[1][0]*=_,e[1][1]*=_,e[1][2]*=_,e[1][3]*=_,e[2][0]*=_,e[2][1]*=_,e[2][2]*=_,e[2][3]*=_,e[3][0]*=_,e[3][1]*=_,e[3][2]*=_,e[3][4]*=_),e}var a={rotate:function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}},resize:function(t,e,n,i){var r=i/n;return n>=t&&r<=1?(n=t,i=e*r):i>=e&&(i=e,n=t/r),{width:n,height:i}},radian:function(t){return t*Math.PI/180},degree:function(t){return 180*t/Math.PI},angle:function(t,e,n,i){var r=n-t,o=i-e;return Math.atan2(o,r)},interpolateNumber:function(t,e){var n=e-t;return function(e){return t+n*e}},interpolateRound:function(t,e){var n=e-t;return function(e){return Math.round(t+n*e)}},getFixed:function(t,e){var n=(t+"").split("."),i=n.length<2?0:n[1].length,r=(e+"").split("."),o=r.length<2?0:r[1].length;return i>o?i:o},fixed:function(t){var e=this.getFixed(t,0),n=Math.pow(10,e),i=function(t){return Math.round(t*n)/n};return i.plus=function(t,e){return Math.round(t*n+e*n)/n},i.minus=function(t,e){return Math.round(t*n-e*n)/n},i.multi=function(t,e){return Math.round(t*n*(e*n))/(n*n)},i.div=function(t,e){var i=t*n/(e*n),r=Math.pow(10,this.getFixed(i,0));return Math.round(i*r)/r},i.remain=function(t,e){return Math.round(t*n%(e*n))/n},i},round:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},plus:function(t,e){var n=Math.pow(10,this.getFixed(t,e));return Math.round(t*n+e*n)/n},minus:function(t,e){var n=Math.pow(10,this.getFixed(t,e));return Math.round(t*n-e*n)/n},multi:function(t,e){var n=Math.pow(10,this.getFixed(t,e));return Math.round(t*n*(e*n))/(n*n)},div:function(t,e){var n=Math.pow(10,this.getFixed(t,e)),i=t*n/(e*n),r=Math.pow(10,this.getFixed(i,0));return Math.round(i*r)/r},remain:function(t,e){var n=Math.pow(10,this.getFixed(t,e));return Math.round(t*n%(e*n))/n},nice:function(t,e,n,i){if(i=i||!1,t>e)var r=t,o=e;else o=t,r=e;var a,s,c=n,l=0,u=[];function d(t,e){var n=Math.floor(Math.log(t)/Math.LN10),i=t/Math.pow(10,n);return niceFraction=e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10,niceFraction*Math.pow(10,n)}function h(){u=i?d(r-o,!1):r-o,l=i?d(u/c,!0):u/c,a=i?Math.floor(o/l)*l:o,s=i?Math.floor(r/l)*l:r}return h(),{min:a,max:s,range:u,spacing:l}},matrix:function(i,r){return t.typeCheck("array",r[0])?n(i,r):e(i,r)},matrix3d:function(t,e){return e[0]instanceof Array||e[0]instanceof Float32Array?r(t,e):i(t,e)},inverseMatrix3d:function(t){return o(t)},scaleValue:function(t,e,n,i,r){e=e==n?0:e;var o=r-i,a=o*s();function s(){var i=n-e,r=t-e,o=r/i;return o}return a+i}};return a}};d.use(f);var p={name:"util.color",extend:null,component:function(){var t=d.include("util.base"),e=d.include("util.math");function n(t){var e=0,n=1,i=0,r=10,o=6;if(t){for(var a=0;a<t.length;a++){if(a>o)break;e+=n*(t.charCodeAt(a)%r),i+=n*(r-1),n*=.7}i>0&&(e/=i)}return e}var i={regex:/(linear|radial)\((.*)\)(.*)/i,format:function(t,e){if("hex"==e){var n=t.r.toString(16);t.r<16&&(n="0"+n);var i=t.g.toString(16);t.g<16&&(i="0"+i);var r=t.b.toString(16);return t.b<16&&(r="0"+r),"#"+[n,i,r].join("").toUpperCase()}
125return"rgb"==e?"undefined"==typeof t.a?"rgb("+[t.r,t.g,t.b].join(",")+")":"rgba("+[t.r,t.g,t.b,t.a].join(",")+")":t},scale:function(){var t,n;function r(e,r){var o={r:parseInt(t.r+(n.r-t.r)*e,10),g:parseInt(t.g+(n.g-t.g)*e,10),b:parseInt(t.b+(n.b-t.b)*e,10)};return i.format(o,r)}return r.domain=function(e,o){return t=i.rgb(e),n=i.rgb(o),r},r.ticks=function(t){var n=1/t,i=0,o=[];while(i<=1){var a=r(i,"hex");o.push(a),i=e.plus(i,n)}return o},r},map:function(t,e){var n=[];e=e||5;for(var r=i.scale(),o=0,a=t.length-1;o<a;o++)if(0==o)n=r.domain(t[o],t[o+1]).ticks(e);else{var s=r.domain(t[o],t[o+1]).ticks(e);s.shift(),n=n.concat(s)}return n},rgb:function(e){if("string"==typeof e){if(e.indexOf("rgb(")>-1){for(var n=e.replace("rgb(","").replace(")","").split(","),i=0,r=n.length;i<r;i++)n[i]=parseInt(t.trim(n[i]),10);return{r:n[0],g:n[1],b:n[2],a:1}}if(e.indexOf("rgba(")>-1){for(n=e.replace("rgba(","").replace(")","").split(","),i=0,r=n.length;i<r;i++)n[i]=r-1==i?parseFloat(t.trim(n[i])):parseInt(t.trim(n[i]),10);return{r:n[0],g:n[1],b:n[2],a:n[3]}}if(0==e.indexOf("#")){e=e.replace("#","");n=[];if(3==e.length)for(i=0,r=e.length;i<r;i++){var o=e.substr(i,1);n.push(parseInt(o+o,16))}else for(i=0,r=e.length;i<r;i+=2)n.push(parseInt(e.substr(i,2),16));return{r:n[0],g:n[1],b:n[2],a:1}}}return e},HSVtoRGB:function(t,e,n){360==t&&(t=0);var i=e*n,r=i*(1-Math.abs(t/60%2-1)),o=n-i,a=[];return 0<=t&&t<60?a=[i,r,0]:60<=t&&t<120?a=[r,i,0]:120<=t&&t<180?a=[0,i,r]:180<=t&&t<240?a=[0,r,i]:240<=t&&t<300?a=[r,0,i]:300<=t&&t<360&&(a=[i,0,r]),{r:Math.ceil(255*(a[0]+o)),g:Math.ceil(255*(a[1]+o)),b:Math.ceil(255*(a[2]+o))}}
125,RGBtoHSV:function(t,e,n){var i=t/255,r=e/255,o=n/255,a=Math.max(i,r,o),s=Math.min(i,r,o),c=a-s,l=0;0==c?l=0:a==i?l=(r-o)/c%6*60:a==r?l=60*((o-i)/c+2):a==o&&(l=60*((i-r)/c+4)),l<0&&(l=360+l);var u=0;u=0==a?0:c/a;var d=a;return{h:l,s:u,v:d}},trim:function(t){return(t||"").replace(/^\s+|\s+$/g,"")},lighten:function(t,e){t=t.replace(/[^0-9a-f]/gi,""),e=e||0;var n,i,r=[];for(i=0;i<6;i+=2)n=parseInt(t.substr(i,2),16),n=Math.round(Math.min(Math.max(0,n+n*e),255)).toString(16),r.push(("00"+n).substr(n.length));return"#"+r.join("")},darken:function(t,e){return this.lighten(t,-e)},parse:function(t){return this.parseGradient(t)},parseGradient:function(t){var e=t.match(this.regex);if(!e)return t;var n=this.trim(e[1]),i=this.parseAttr(n,this.trim(e[2])),r=this.parseStop(this.trim(e[3])),o={type:n+"Gradient",attr:i,children:r};return o},parseStop:function(t){for(var e=t.split(","),n=[],i=0,r=e.length;i<r;i++){t=e[i];var o=t.split(" ");0!=o.length&&(1==o.length?n.push({type:"stop",attr:{"stop-color":o[0]}}):2==o.length?n.push({type:"stop",attr:{offset:o[0],"stop-color":o[1]}}):3==o.length&&n.push({type:"stop",attr:{offset:o[0],"stop-color":o[1],"stop-opacity":o[2]}}))}var a=-1,s=-1;for(i=0,r=n.length;i<r;i++){t=n[i];if(0==i?t.offset||(t.offset=0):i==r-1&&(t.offset||(t.offset=1)),-1==a&&"undefined"==typeof t.offset)a=i;else if(-1==s&&"undefined"==typeof t.offset){s=i;for(var c=s-a,l=n[s].offset.indexOf("%")>-1?parseFloat(n[s].offset)/100:n[s].offset,u=n[a].offset.indexOf("%")>-1?parseFloat(n[a].offset)/100:n[a].offset,d=l-u,h=d/c,f=u+h,p=a+1;p<s;p++)n[p].offset=f,f+=h;a=s,s=-1}}return n},parseAttr:function(t,e){if("linear"!=t){for(n=e.split(","),i=0,r=n.length;i<r;i++)-1==n[i].indexOf("%")&&(n[i]=parseFloat(n[i]));return{cx:n[0],cy:n[1],r:n[2],fx:n[3],fy:n[4]}}switch(e){case"":case"left":return{x1:0,y1:0,x2:1,y2:0,direction:e||"left"};case"right":return{x1:1,y1:0,x2:0,y2:0,direction:e};case"top":return{x1:0,y1:0,x2:0,y2:1,direction:e};case"bottom":return{x1:0,y1:1,x2:0,y2:0,direction:e};case"top left":return{x1:0,y1:0,x2:1,y2:1,direction:e};case"top right":return{x1:1,y1:0,x2:0,y2:1,direction:e};case"bottom left":return{x1:0,y1:1,x2:1,y2:0,direction:e};case"bottom right":return{x1:1,y1:1,x2:0,y2:0,direction:e};default:for(var n=e.split(","),i=0,r=n.length;i<r;i++)-1==n[i].indexOf("%")&&(n[i]=parseFloat(n[i]));return{x1:n[0],y1:n[1],x2:n[2],y2:n[3]}}},colorHash:function(t,e){var i=0;return t&&(t=t.replace(/.*`/,""),t=t.replace(/\(.*/,""),i=n(t)),"function"==typeof e?e(i):{r:200+Math.round(55*i),g:0+Math.round(230*(1-i)),b:0+Math.round(55*(1-i))}}};return i.map.parula=function(t){return i.map(["#352a87","#0f5cdd","#00b5a6","#ffc337","#fdff00"],t)},i.map.jet=function(t){return i.map(["#00008f","#0020ff","#00ffff","#51ff77","#fdff00","#ff0000","#800000"],t)},i.map.hsv=function(t){return i.map(["#ff0000","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff","#ff0000"],t)},i.map.hot=function(t){return i.map(["#0b0000","#ff0000","#ffff00","#ffffff"],t)},i.map.pink=function(t){return i.map(["#1e0000","#bd7b7b","#e7e5b2","#ffffff"],t)},i.map.bone=function(t){return i.map(["#000000","#4a4a68","#a6c6c6","#ffffff"],t)},i.map.copper=function(t){return i.map(["#000000","#3d2618","#9d623e","#ffa167","#ffc77f"],t)},i}},m={name:"collection",extend:null,component:function(){var t=function(t,e,n,i){this.type=t,this.selector=e,this.options=n,this.destroy=function(){for(var t=0;t<i.length;t++)i[t].destroy()};for(var r=0;r<i.length;r++)this.push(i[r])};return t.prototype=Object.create(Array.prototype),t}},g={name:"manager",extend:null,component:function(){var t=d.include("util.base"),e=new function(){var n=[],i=[];this.add=function(t){n.push(t)},this.emit=function(t,e,i){for(var r=[],o=0;o<n.length;o++){var a=n[o];t!=a.selector&&t!=a.type||r.push(a)}for(o=0;o<r.length;o++){a=r[o];for(var s=0;s<a.length;s++)a[s].emit(e,i)}},this.get=function(e){if(t.typeCheck("integer",e))return n[e];if(t.typeCheck("string",e)){for(var i=0;i<n.length;i++){var r=n[i];if(e==r.selector)return 1==r.length?r[0]:r}var o=[];for(i=0;i<n.length;i++){r=n[i];e==r.type&&o.push(r)}return o}},this.getAll=function(){return n},this.remove=function(e){if(t.typeCheck("integer",e))return n.splice(e,1)[0]},this.shift=function(){return n.shift()},this.pop=function(){return n.pop()},this.size=function(){return n.length},this.addClass=function(t){i.push(t)},this.getClass=function(e){if(t.typeCheck("integer",e))return i[e];if(t.typeCheck("string",e))for(var n=0;n<i.length;n++)if(e==i[n].type)return i[n];return null},this.getClassAll=function(){return i},this.create=function(n,i,r){var o=e.getClass(n);if(t.typeCheck("null",o))throw new Error("JUI_CRITICAL_ERR: '"+n+"' does not exist");return o["class"](i,r)}};return e}};d.use(h,g,m);var v={name:"core",extend:null,component:function(){var t=d.include("util.base"),e=d.include("util.dom"),n=d.include("manager"),i=d.include("collection"),o=function(){this.emit=function(e,n){if(t.typeCheck("string",e)){for(var i,r=0;r<this.event.length;r++){var o=this.event[r];if(o.type==e.toLowerCase()){var a=t.typeCheck("array",n)?n:[n];i=o.callback.apply(this,a)}}return i}},this.on=function(e,n){t.typeCheck("string",e)&&t.typeCheck("function",n)&&this.event.push({type:e.toLowerCase(),callback:n,unique:!1})},this.off=function(e){for(var n=[],i=0;i<this.event.length;i++){var r=this.event[i];(t.typeCheck("function",e)&&r.callback!=e||t.typeCheck("string",e)&&r.type!=e.toLowerCase())&&n.push(r)}this.event=n},this.setOption=function(e,n){if(t.typeCheck("object",e))for(var i in e)this.options[i]=e[i];else this.options[e]=n},this.destroy=function(){if(this.__proto__)for(var t in this.__proto__)delete this.__proto__[t]}};return o.build=function(r){return function(o,a){var s=[],c=[];t.typeCheck("string",o)?c=e.find(o):t.typeCheck("object",o)?c.push(o):c.push(document.createElement("div"));for(var l=0,u=c.length;l<u;l++)s[l]=d.createUIObject(r,o,l,c[l],a);return n.add(new i(r.type,o,a,s)),0==s.length?null:1==s.length?s[0]:s}},o.init=function(t){var e=null;return"object"===("undefined"===typeof t?"undefined":r(t))&&(e=o.build(t),n.addClass({type:t.type,class:e})),e},o.setup=function(){return{event:{}}},o}}
125,y={name:"util.time",extend:null,component:function(){var t=d.include("util.base"),e={MILLISECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,years:"years",months:"months",days:"days",hours:"hours",minutes:"minutes",seconds:"seconds",milliseconds:"milliseconds",weeks:"weeks",diff:function(t,n,i){var r=+n-+i;return"seconds"==t?Math.abs(Math.floor(r/e.MILLISECOND)):"minutes"==t?Math.abs(Math.floor(r/e.MINUTE)):"hours"==t?Math.abs(Math.floor(r/e.HOUR)):"days"==t?Math.abs(Math.floor(r/e.DAY)):r},add:function(t){if(arguments.length<=2)return t;if(arguments.length>2){for(var e=new Date(+t),n=1;n<arguments.length;n+=2){var i="string"==typeof arguments[n]?this[arguments[n]]:arguments[n],r=arguments[n+1];this.years==i?e.setFullYear(e.getFullYear()+r):this.months==i?e.setMonth(e.getMonth()+r):this.days==i?e.setDate(e.getDate()+r):this.hours==i?e.setHours(e.getHours()+r):this.minutes==i?e.setMinutes(e.getMinutes()+r):this.seconds==i?e.setSeconds(e.getSeconds()+r):this.milliseconds==i?e.setMilliseconds(e.getMilliseconds()+r):this.weeks==i&&e.setDate(e.getDate()+7*r)}return e}},format:function(e,n,i){return t.dateFormat(e,n,i)}};return e}};d.use(f);var b={name:"util.transform",extend:null,component:function(){var t=d.include("util.math"),e=function(e){function n(n){for(var i=0,r=e.length;i<r;i++)e[i]=t.matrix(n,e[i]);return e}this.matrix=function(){var e=arguments,n=e[0];return"move"==n?[new Float32Array([1,0,e[1]]),new Float32Array([0,1,e[2]]),new Float32Array([0,0,1])]:"scale"==n?[new Float32Array([e[1],0,0]),new Float32Array([0,e[2],0]),new Float32Array([0,0,1])]:"rotate"==n?[new Float32Array([Math.cos(t.radian(e[1])),-Math.sin(t.radian(e[1])),0]),new Float32Array([Math.sin(t.radian(e[1])),Math.cos(t.radian(e[1])),0]),new Float32Array([0,0,1])]:"move3d"==n?[new Float32Array([1,0,0,e[1]]),new Float32Array([0,1,0,e[2]]),new Float32Array([0,0,1,e[3]]),new Float32Array([0,0,0,1])]:"scale3d"==n?[new Float32Array([e[1],0,0,0]),new Float32Array([0,e[2],0,0]),new Float32Array([0,0,e[3],0]),new Float32Array([0,0,0,1])]:"rotate3dz"==n?[new Float32Array([Math.cos(t.radian(e[1])),-Math.sin(t.radian(e[1])),0,0]),new Float32Array([Math.sin(t.radian(e[1])),Math.cos(t.radian(e[1])),0,0]),new Float32Array([0,0,1,0]),new Float32Array([0,0,0,1])]:"rotate3dx"==n?[new Float32Array([1,0,0,0]),new Float32Array([0,Math.cos(t.radian(e[1])),-Math.sin(t.radian(e[1])),0]),new Float32Array([0,Math.sin(t.radian(e[1])),Math.cos(t.radian(e[1])),0]),new Float32Array([0,0,0,1])]:"rotate3dy"==n?[new Float32Array([Math.cos(t.radian(e[1])),0,Math.sin(t.radian(e[1])),0]),new Float32Array([0,1,0,0]),new Float32Array([-Math.sin(t.radian(e[1])),0,Math.cos(t.radian(e[1])),0]),new Float32Array([0,0,0,1])]:void 0},this.move=function(t,e){return n(this.matrix("move",t,e))},this.move3d=function(t,e,i){return n(this.matrix("move3d",t,e,i))},this.scale=function(t,e){return n(this.matrix("scale",t,e))},this.scale3d=function(t,e,i){return n(this.matrix("scale3d",t,e,i))},this.rotate=function(t){return n(this.matrix("rotate",t))},this.rotate3dz=function(t){return n(this.matrix("rotate3dz",t))},this.rotate3dx=function(t){return n(this.matrix("rotate3dx",t))},this.rotate3dy=function(t){return n(this.matrix("rotate3dy",t))},this.custom=function(t){return n(t)},this.merge=function(){for(var e=arguments,i=this.matrix.apply(this,e[0]),r=1;r<e.length;r++)i=t.matrix(i,this.matrix.apply(this,e[r]));return n(i)},this.merge2=function(n){for(var i=0,r=e.length;i<r;i++){for(var o=n.apply(null,e[i]),a=this.matrix.apply(this,o[0]),s=1;s<o.length;s++)a=t.matrix(a,this.matrix.apply(this,o[s]));e[i]=t.matrix(a,e[i])}}};return e}},w={name:"util.canvas.base",extend:null,component:function(){var t=function(t){this.clearContext=function(){t.clearRect(0,0,t.canvas.width,t.canvas.height)},this.drawLine=function(e,n,i,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;o=o||"#434d6b",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineWidth=a,t.strokeStyle=o,t.stroke()},this.drawCurve=function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:16;t.beginPath();var s=e.reduce((function(t,e){return t.push(e[0],e[1]),t}),[]),c=getCurvePoints(s,n,i,r,o,a);t.moveTo(c[0],c[1]);for(var l=2;l<c.length-1;l+=2)t.lineTo(c[l],c[l+1])},this.drawDashedLine=function(e,n,i,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[3,3],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1;o=o||"#434d6b",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineWidth=s,t.strokeStyle=o;var c=t.getLineDash();t.setLineDash(a),t.stroke(),t.setLineDash(c)},this.drawLines=function(e){e=e||"#434d6b",t.beginPath();for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.moveTo(i[0][0],i[0][1]),i.slice(1).map((function(e){return t.lineTo(e[0],e[1])})),t.lineWidth=1,t.strokeStyle=e,t.stroke()},this.drawRoundRect=function(e,n,i,r,o){t.beginPath(),t.moveTo(e,n+o),t.lineTo(e,n+r-o),t.arcTo(e,n+r,e+o,n+r,o),t.lineTo(e+i-o,n+r),t.arcTo(e+i,n+r,e+i,n+r-o,o),t.lineTo(e+i,n+o),t.arcTo(e+i,n,e+i-o,n,o),t.lineTo(e+o,n),t.arcTo(e,n,e,n+o,o),t.closePath()},this.drawFreeRect=function(e,n,i,r,o,a,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;l=l||"#ffffff",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineTo(o,a),t.lineTo(s,c),t.closePath(),t.fillStyle=l,null!=u&&(t.lineWidth=2,t.strokeStyle=u,t.stroke()),t.fill()},this.drawFreeRectStroke=function(e,n,i,r,o,a,s,c,l){l=l||"#ffffff",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineTo(o,a),t.lineTo(s,c),t.lineWidth=1,t.strokeStyle=l,t.stroke()},this.drawTriangle=function(e,n,i,r){r=r||"#ffffff",t.beginPath(),t.moveTo(e,n-i),t.lineTo(e-i,n+i),t.lineTo(e+i,n+i),t.closePath(),t.fillStyle=r,t.fill()},this.drawSquare=function(e,n,i,r){r=r||"#ffffff",t.beginPath(),t.moveTo(e-i,n-i),t.lineTo(e-i,n+i),t.lineTo(e+i,n+i),t.lineTo(e+i,n-i),t.closePath(),t.fillStyle=r,t.fill()},this.drawPage=function(e,n,i,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];drawFreeRect(t,e+n,i,e+n-20,i+14,e+n-20,i+52,e+n,i+38,r,o?"rgba(255,255,255,0.2)":null)},this.drawCircle=function(e,n,i,r){r=r||"white",i=i||1,t.beginPath(),t.arc(e,n,i,0,2*Math.PI),t.fillStyle=r,t.fill()},this.drawBullet=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:74,r=t.createLinearGradient(e,n,e+i,n);r.addColorStop(0,"#1074fc"),r.addColorStop(1,"rgba(37, 172, 254, 0)"),t.beginPath(),t.arc(e,n,2,Math.PI/2,Math.PI/2*3),t.lineTo(e+i,n-2),t.lineTo(e+i,n+2),t.closePath(),t.fillStyle=r,t.fill(),t.fillStyle=r},this.getCurvePoints=function(t,e,n){var i,r,o,a,s,c,l,u,d,h,f,p,m,g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,v=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=arguments.length>5&&void 0!==arguments[5]?arguments[5]:16,y=[],b=[];for(y=t.slice(0),v?(y.unshift(t[t.length-1]),y.unshift(t[t.length-2]),y.unshift(t[t.length-1]),y.unshift(t[t.length-2]),y.push(t[0]),y.push(t[1])):(y.unshift(t[1]),y.unshift(t[0]),y.push(t[t.length-2]),y.push(t[t.length-1])),m=2;m<y.length-4;m+=2)for(p=0;p<=_;p++)o=(y[m+2]-y[m-2])*g,a=(y[m+4]-y[m])*g,s=(y[m+3]-y[m-1])*g,c=(y[m+5]-y[m+1])*g,f=p/_,l=2*Math.pow(f,3)-3*Math.pow(f,2)+1,u=-2*Math.pow(f,3)+3*Math.pow(f,2),d=Math.pow(f,3)-2*Math.pow(f,2)+f,h=Math.pow(f,3)-Math.pow(f,2),i=l*y[m]+u*y[m+2]+d*o+h*a,r=l*y[m+1]+u*y[m+3]+d*s+h*c,b.push(i),r>n?b.push(n):r<e?b.push(e):b.push(r);return b}};return t}},k=function(){var t=document.createElement("canvas"),e=t.getContext("2d"),n=e&&(e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio)||1;return(window.devicePixelRatio||1)/n}();function x(t){var e=function(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},n={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all"};1!==k&&(e(n,(function(e,n){t[n]=function(t){return function(){var n=void 0,i=void 0,r=Array.prototype.slice.call(arguments);if("all"===e)r=r.map((function(t){return t*k}));else if(Array.isArray(e))for(n=0,i=e.length;n<i;n++)r[e[n]]*=k;return t.apply(this,r)}}(t[n])})),t.stroke=function(t){return function(){this.lineWidth*=k,t.apply(this,arguments),this.lineWidth/=k}}(t.stroke),t.fillText=function(t){return function(){var e=Array.prototype.slice.call(arguments);e[1]*=k,e[2]*=k,this.font=this.font.replace(/(\d+)(px|em|rem|pt)/g,(function(t,e,n){return e*k+n})),t.apply(this,e),this.font=this.font.replace(/(\d+)(px|em|rem|pt)/g,(function(t,e,n){return e/k+n}))}}(t.fillText),t.strokeText=function(t){return function(){var e=Array.prototype.slice.call(arguments);e[1]*=k,e[2]*=k,this.font=this.font.replace(/(\d+)(px|em|rem|pt)/g,(function(t,e,n){return e*k+n})),t.apply(this,e),this.font=this.font.replace(/(\d+)(px|em|rem|pt)/g,(function(t,e,n){return e/k+n}))}}(t.strokeText))}function T(t){t.getContext=function(t){return function(e){var n=t.call(this,e);return"2d"===e&&k>1&&(this.style.height=this.height+"px",this.style.width=this.width+"px",this.width*=k,this.height*=k),n}}(t.getContext)}var M={name:"util.canvas.hidpi",extend:null,component:function(){return{polyfills:function(){x(CanvasRenderingContext2D.prototype),T(HTMLCanvasElement.prototype)},apply:function(t){x(t)},pixelRatio:k}}},S={name:"util.svg.element",extend:null,component:function(){var t=function t(){var e=[];this.create=function(t,e){this.element=document.createElementNS("http://www.w3.org/2000/svg",t),this.children=[],this.parent=null,this.styles={},this.attributes={},this.order=0,this.attr(e)},this.each=function(t){if("function"==typeof t){for(var e=0,n=this.children.length;e<n;e++){var i=this.children[e];t.apply(i,[e,i])}return this.children}},this.get=function(t){return this.children[t]?this.children[t]:null},this.index=function(t){for(var e=0;e<this.children.length;e++)if(t==this.children[e])return e;return-1},this.append=function(e){return e instanceof t&&(e.parent&&e.remove(),this.children.push(e),e.parent=this),this},this.prepend=function(t){return this.insert(0,t)},this.insert=function(t,e){return e.parent&&e.remove(),this.children.splice(t,0,e),e.parent=this,this},this.remove=function(){for(var t=[],e=this.parent.children,n=0;n<e.length;n++){if(e[n]==this)break;t.push(e[n])}return this.parent.children=t,this},this.attr=function(t){if("undefined"!=typeof t&&t){if("string"==typeof t)return this.attributes[t]||this.element.getAttribute(t);for(var e in t)this.attributes[e]=t[e],-1!=e.indexOf("xlink:")?this.element.setAttributeNS("http://www.w3.org/1999/xlink",e,t[e]):this.element.setAttribute(e,t[e]);return this}},this.css=function(t){var e=[];for(var n in t)this.styles[n]=t[n];for(var n in t)e.push(n+":"+t[n]);return this.attr({style:e.join(";")}),this},this.html=function(t){return this.element.innerHTML=t,this},this.text=function(t){for(var e=this.element.childNodes,n=0;n<e.length;n++)this.element.removeChild(e[n]);return this.element.appendChild(document.createTextNode(t)),this},this.on=function(t,n){var i=function(t){"function"==typeof n&&n.call(this,t)};return this.element.addEventListener(t,i,!1),e.push({type:t,callback:i}),this},this.off=function(t){if(t){var n=[];for(i=0,r=e.length;i<r;i++){o=e[i];o.type!=t?n.push(o):this.element.removeEventListener(o.type,o.callback,!1)}e=n}else for(var i=0,r=e.length;i<r;i++){var o=e.shift();this.element.removeEventListener(o.type,o.callback,!1)}return this},this.hover=function(t,n){var i=function(e){"function"==typeof t&&t.call(this,e)},r=function(t){"function"==typeof n&&n.call(this,t)};return this.element.addEventListener("mouseover",i,!1),this.element.addEventListener("mouseout",r,!1),e.push({type:"mouseover",callback:i}),e.push({type:"mouseout",callback:r}),this},this.size=function(){var t={width:0,height:0},e=this.element.getBoundingClientRect();if(!e||0==e.width&&0==e.height){for(var n=["height","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"],i=["width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],r=window.getComputedStyle(this.element),o=0;o<n.length;o++)t.height+=parseFloat(r[n[o]]);for(o=0;o<i.length;o++)t.width+=parseFloat(r[i[o]]);t.width=t.width||this.element.getAttribute("width"),t.height=t.height||this.element.getAttribute("height")}else t.width=e.width,t.height=e.height;return isNaN(t.width)&&(t.width=0),isNaN(t.height)&&(t.height=0),t},this.is=function(t){return this instanceof jui.include(t)}};return t}},C={name:"util.svg.element.transform",extend:"util.svg.element",component:function(){var t=d.include("util.base"),e=function(){var e={translate:null,scale:null,rotate:null,skew:null,matrix:null};function n(t){var n=[];for(var i in e)e[i]&&n.push(e[i]);t.attr({transform:n.join(" ")})}function i(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);return e.join(",")}this.translate=function(){return e["translate"]="translate("+i(arguments)+")",n(this),this},this.rotate=function(t,i,r){if(1==arguments.length)var o=t;else if(3==arguments.length)o=t+" "+i+","+r;return e["rotate"]="rotate("+o+")",n(this),this},this.scale=function(){return e["scale"]="scale("+i(arguments)+")",n(this),this},this.skew=function(){return e["skew"]="skew("+i(arguments)+")",n(this),this},this.matrix=function(){return e["matrix"]="matrix("+i(arguments)+")",n(this),this},this.data=function(e){var n=this.attr("transform"),i={translate:/[^translate()]+/g,rotate:/[^rotate()]+/g,scale:/[^scale()]+/g,skew:/[^skew()]+/g,matrix:/[^matrix()]+/g};return t.typeCheck("string",n)?n.match(i[e])[0]:null}};return e}},E={name:"util.svg.element.path",extend:"util.svg.element.transform",component:function(){var t=d.include("util.base"),e=function(){var e=[];this.moveTo=function(t,n,i){return e.push((i||"m")+t+","+n),this},this.MoveTo=function(t,e){return this.moveTo(t,e,"M")},this.lineTo=function(t,n,i){return e.push((i||"l")+t+","+n),this},this.LineTo=function(t,e){return this.lineTo(t,e,"L")},this.hLineTo=function(t,n){return e.push((n||"h")+t),this},this.HLineTo=function(t){return this.hLineTo(t,"H")},this.vLineTo=function(t,n){return e.push((n||"v")+t),this},this.VLineTo=function(t){return this.vLineTo(t,"V")},this.curveTo=function(t,n,i,r,o,a,s){return e.push((s||"c")+t+","+n+" "+i+","+r+" "+o+","+a),this},this.CurveTo=function(t,e,n,i,r,o){return this.curveTo(t,e,n,i,r,o,"C")}
125,this.sCurveTo=function(t,n,i,r,o){return e.push((o||"s")+t+","+n+" "+i+","+r),this},this.SCurveTo=function(t,e,n,i){return this.sCurveTo(t,e,n,i,"S")},this.qCurveTo=function(t,n,i,r,o){return e.push((o||"q")+t+","+n+" "+i+","+r),this},this.QCurveTo=function(t,e,n,i){return this.qCurveTo(t,e,n,i,"Q")},this.tCurveTo=function(t,n,i,r,o){return e.push((o||"t")+t+","+n+" "+i+","+r),this},this.TCurveTo=function(t,e,n,i){return this.tCurveTo(t,e,n,i,"T")},this.arc=function(t,n,i,r,o,a,s,c){return r=r?1:0,o=o?1:0,e.push((c||"a")+t+","+n+" "+i+" "+r+","+o+" "+a+","+s),this},this.Arc=function(t,e,n,i,r,o,a){return this.arc(t,e,n,i,r,o,a,"A")},this.closePath=function(t){return e.push(t||"z"),this},this.ClosePath=function(){return this.closePath("Z")},this.join=function(){e.length>0&&(this.attr({d:e.join(" ")}),e=[])},this.length=function(){var n=t.createId(),i=e.join(" "),r=document.createElement("svg"),o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttributeNS(null,"id",n),o.setAttributeNS(null,"d",i),r.appendChild(o),document.body.appendChild(r);var a=document.getElementById(n).getTotalLength();return document.body.removeChild(r),a}};return e}},L={name:"util.svg.element.path.rect",extend:"util.svg.element.path",component:function(){var t=function(){this.round=function(t,e,n,i,r,o){n=n||0,i=i||0,r=r||0,o=o||0,this.MoveTo(0,n).Arc(n,n,0,0,1,n,0).HLineTo(t-i).Arc(i,i,0,0,1,t,i).VLineTo(e-r).Arc(r,r,0,0,1,t-r,e).HLineTo(o).Arc(o,o,0,0,1,0,e-o).ClosePath().join()}};return t}},A={name:"util.svg.element.path.symbol",extend:"util.svg.element.path",component:function(){var t=function(){var t="";this.template=function(t,e){var n=t,i=half_r=t/2,r=e/2,o="a"+half_r+","+half_r+" 0 1,1 "+n+",0",a="a"+half_r+","+half_r+" 0 1,1 "+-n+",0",s={triangle:["m0,"+-r,"l"+i+","+e,"l"+-t+",0","l"+i+","+-e].join(" "),rect:["m"+-i+","+-r,"l"+t+",0","l0,"+e,"l"+-t+",0","l0,"+-e].join(" "),cross:["m"+-i+","+-r,"l"+t+","+e,"m0,"+-e,"l"+-t+","+e].join(" "),circle:["m"+-n+",0",o,a].join(" ")};return s.rectangle=s.rect,s},this.join=function(){t.length>0&&(this.attr({d:t}),t="")},this.add=function(e,n,i){t+=" M"+e+","+n+i},this.triangle=function(t,e,n,i){return this.MoveTo(t,e).moveTo(0,-i/2).lineTo(n/2,i).lineTo(-n,0).lineTo(n/2,-i)},this.rect=this.rectangle=function(t,e,n,i){return this.MoveTo(t,e).moveTo(-n/2,-i/2).lineTo(n,0).lineTo(0,i).lineTo(-n,0).lineTo(0,-i)},this.cross=function(t,e,n,i){return this.MoveTo(t,e).moveTo(-n/2,-i/2).lineTo(n,i).moveTo(0,-i).lineTo(-n,i)},this.circle=function(t,e,n){return this.MoveTo(t,e).moveTo(-n,0).arc(n/2,n/2,0,1,1,n,0).arc(n/2,n/2,0,1,1,-n,0)}};return t}},O={name:"util.svg.element.poly",extend:"util.svg.element.transform",component:function(){var t=function(){var t=[];this.point=function(e,n){return t.push(e+","+n),this},this.join=function(){if(t.length>0){var e=t[0];t.push(e),this.attr({points:t.join(" ")}),t=[]}}};return t}};d.use(S,C,E,A,L,O);var P={name:"util.svg.base",extend:null,component:function(){var t=d.include("util.base"),e=d.include("util.svg.element"),n=d.include("util.svg.element.transform"),i=d.include("util.svg.element.path"),r=d.include("util.svg.element.path.symbol"),o=d.include("util.svg.element.path.rect"),a=d.include("util.svg.element.poly"),s=null,c=function(){this.create=function(t,e,n,i){return t.create(e,n),t},this.createChild=function(t,e,n,i){return this.create(t,e,n,i)},this.custom=function(t,n,i){return this.create(new e,t,n,i)},this.defs=function(t){return this.create(new e,"defs",null,t)},this.symbol=function(t,n){return this.create(new e,"symbol",t,n)},this.g=this.group=function(t,e){return this.create(new n,"g",t,e)},this.marker=function(t,n){return this.create(new e,"marker",t,n)},this.a=function(t,e){return this.create(new n,"a",t,e)},this.switch=function(t,n){return this.create(new e,"switch",t,n)},this.use=function(t){return this.create(new e,"use",t)},this.rect=function(t,e){return this.create(new n,"rect",t,e)},this.line=function(t,e){return this.create(new n,"line",t,e)},this.circle=function(t,e){return this.create(new n,"circle",t,e)},this.text=function(e,i){return 2==arguments.length?t.typeCheck("function",i)?this.create(new n,"text",e,i):this.create(new n,"text",e).text(i):this.create(new n,"text",e)},this.textPath=function(n,i){return t.typeCheck("string",i)?this.create(new e,"textPath",n).text(i):this.create(new e,"textPath",n)},this.tref=function(n,i){return t.typeCheck("string",i)?this.create(new e,"tref",n).text(i):this.create(new e,"tref",n)},this.tspan=function(n,i){return t.typeCheck("string",i)?this.create(new e,"tspan",n).text(i):this.create(new e,"tspan",n)},this.ellipse=function(t,e){return this.create(new n,"ellipse",t,e)},this.image=function(t,e){return this.create(new n,"image",t,e)},this.path=function(t,e){return this.create(new i,"path",t,e)},this.pathSymbol=function(t,e){return this.create(new r,"path",t,e)},this.pathRect=function(t,e){return this.create(new o,"path",t,e)},this.polyline=function(t,e){return this.create(new a,"polyline",t,e)},this.polygon=function(t,e){return this.create(new a,"polygon",t,e)},this.pattern=function(t,n){return this.create(new e,"pattern",t,n)},this.mask=function(t,n){return this.create(new e,"mask",t,n)},this.clipPath=function(t,n){return this.create(new e,"clipPath",t,n)},this.linearGradient=function(t,n){return this.create(new e,"linearGradient",t,n)},this.radialGradient=function(t,n){return this.create(new e,"radialGradient",t,n)},this.filter=function(t,n){return this.create(new e,"filter",t,n
125)},this.foreignObject=function(t,e){return this.create(new n,"foreignObject",t,e)},this.stop=function(t){return this.createChild(new e,"stop",t)},this.animate=function(t){return this.createChild(new e,"animate",t)},this.animateColor=function(t){return this.createChild(new e,"animateColor",t)},this.animateMotion=function(t){return this.createChild(new e,"animateMotion",t)},this.animateTransform=function(t){return this.createChild(new e,"animateTransform",t)},this.mpath=function(t){return this.createChild(new e,"mpath",t)},this.set=function(t){return this.createChild(new e,"set",t)},this.feBlend=function(t){return this.createChild(new e,"feBlend",t)},this.feColorMatrix=function(t){return this.createChild(new e,"feColorMatrix",t)},this.feComponentTransfer=function(t){return this.createChild(new e,"feComponentTransfer",t)},this.feComposite=function(t){return this.createChild(new e,"feComposite",t)},this.feConvolveMatrix=function(t){return this.createChild(new e,"feConvolveMatrix",t)},this.feDiffuseLighting=function(t){return this.createChild(new e,"feDiffuseLighting",t)},this.feDisplacementMap=function(t){return this.createChild(new e,"feDisplacementMap",t)},this.feFlood=function(t){return this.createChild(new e,"feFlood",t)},this.feGaussianBlur=function(t){return this.createChild(new e,"feGaussianBlur",t)},this.feImage=function(t){return this.createChild(new e,"feImage",t)},this.feMerge=function(t,n){return this.createChild(new e,"feMerge",t,n)},this.feMergeNode=function(t){return this.createChild(new e,"feMergeNode",t)},this.feMorphology=function(t){return this.createChild(new e,"feMorphology",t)},this.feOffset=function(t){return this.createChild(new e,"feOffset",t)},this.feSpecularLighting=function(t){return this.createChild(new e,"feSpecularLighting",t)},this.feTile=function(t){return this.createChild(new e,"feTile",t)},this.feTurbulence=function(t){return this.createChild(new e,"feTurbulence",t)}};return c.create=function(t,e,n){return null==s&&(s=new c),s.custom(t,e,n)},c}};d.use(f,p,P);var D={name:"util.svg.base3d",extend:"util.svg.base",component:function(){var t=d.include("util.base"),e=d.include("util.math"),n=d.include("util.color"),i=function(){this.rect3d=function(t,i,r,o,a){var s=this,c=e.radian(o),l=0,u=0,d=i,h=r,f=Math.cos(c)*a,p=Math.sin(c)*a,m=i+f,g=r+p,v=s.group({},(function(){s.path({fill:n.lighten(t,.15),stroke:n.lighten(t,.15)}).MoveTo(f,l).LineTo(m,u).LineTo(d,p).LineTo(l,p),s.path({fill:t,stroke:t}).MoveTo(l,p).LineTo(l,g).LineTo(d,g).LineTo(d,p),s.path({fill:n.darken(t,.2),stroke:n.darken(t,.2)}).MoveTo(d,g).LineTo(m,h).LineTo(m,u).LineTo(d,p)}));return v},this.cylinder3d=function(i,r,o,a,s,c){var l=this,u=e.radian(a),d=(c=void 0==c?1:0==c?.01:c,r/2),h=d*c,f=Math.cos(u)*s/2,p=Math.sin(u)*s/2,m=t.createId("cylinder3d"),g=l.group({},(function(){l.ellipse({fill:n.darken(i,.05),"fill-opacity":.85,stroke:n.darken(i,.05),rx:d,ry:p,cx:d,cy:o}).translate(f,p),l.path({fill:"url(#"+m+")","fill-opacity":.85,stroke:i}).MoveTo(d-h,p).LineTo(0,o).Arc(d,p,0,0,0,r,o).LineTo(d+h,p).Arc(d+h,p,0,0,1,d-h,p).translate(f,p),l.ellipse({fill:n.lighten(i,.2),"fill-opacity":.95,stroke:n.lighten(i,.2),rx:d*c,ry:p*c,cx:d,cy:p}).translate(f,p),l.linearGradient({id:m,x1:"100%",x2:"0%",y1:"0%",y2:"0%"},(function(){l.stop({offset:"0%","stop-color":n.lighten(i,.15)}),l.stop({offset:"33.333333333333336%","stop-color":n.darken(i,.2)}),l.stop({offset:"66.66666666666667%","stop-color":n.darken(i,.2)}),l.stop({offset:"100%","stop-color":n.lighten(i,.15)})}))}));return g}};return i}};d.use(D);var j={name:"util.svg",extend:"util.svg.base3d",component:function(){var t=d.include("util.base"),e=d.include("util.svg.element"),n=d.include("util.svg.element.transform"),i=d.include("util.svg.element.path"),r=d.include("util.svg.element.poly"),o=function(o,a){var s=this,c=null,l=null,u=null,d={},h=0,f=!1;function p(){s.root=c=new e,l=new n,u=new n,c.create("svg",a),l.create("g"),u.create("g"),l.translate(.5,.5),u.translate(.5,.5),o.appendChild(c.element),c.append(l),c.append(u)}function m(t){var e=t.children;v(e)&&e.sort((function(t,e){return t.order-e.order}));for(var n=0,o=e.length;n<o;n++){var a=e[n];a&&(a.children.length>
1250&&m(a),(a instanceof i||a instanceof r)&&a.join(),a.parent==t&&t.element.appendChild(a.element))}}function g(t){for(var e=t.children,n=0,i=e.length;n<i;n++){var r=e[n];r&&(r.off(),r.children.length>0&&g(r))}}function v(t){for(var e=0,n=t.length;e<n;e++)if(t[e].order>0)return!0;return!1}this.create=function(e,n,i,r){return e.create(n,i),0==h?l.append(e):d[h].append(e),t.typeCheck("function",r)&&(h++,d[h]=e,r.call(e),h--),e},this.createChild=function(t,e,n,i){if(t.parent==l)throw new Error("JUI_CRITICAL_ERR: Parents are required elements of the '"+e+"'");return this.create(t,e,n,i)},this.size=function(){if(2!=arguments.length)return c.size();var t=arguments[0],e=arguments[1];c.attr({width:t,height:e})},this.clear=function(t){l.each((function(){this.element.parentNode&&l.element.removeChild(this.element)})),g(l),!0===t&&(u.each((function(){this.element.parentNode&&u.element.removeChild(this.element)})),g(u))},this.reset=function(t){this.clear(t),l.children=[],!0===t&&(u.children=[])},this.render=function(t){this.clear(),m(!1===f||!0===t?c:l),f=!0},this.download=function(e){t.typeCheck("string",e)&&(e=e.split(".")[0]);var n=document.createElement("a");n.download=e?e+".svg":"svg.svg",n.href=this.toDataURI(),document.body.appendChild(n),n.click(),n.parentNode.removeChild(n)}
125,this.downloadImage=function(e,n){n=n||"image/png";var i=new Image,r=this.size(),o=this.toDataURI().replace('width="100%"','width="'+r.width+'"').replace('height="100%"','height="'+r.height+'"');i.onload=function(){var r=document.createElement("canvas");r.width=i.width,r.height=i.height;var o=r.getContext("2d");o.drawImage(i,0,0);var a=r.toDataURL(n);t.typeCheck("string",e)&&(e=e.split(".")[0]);var s=document.createElement("a");s.download=e?e+".png":"svg.png",s.href=a,document.body.appendChild(s),s.click(),s.parentNode.removeChild(s)},i.src=o},this.exportCanvas=function(t){var e=new Image,n=this.size(),i=this.toDataURI().replace('width="100%"','width="'+n.width+'"').replace('height="100%"','height="'+n.height+'"');e.onload=function(){t.width=e.width,t.height=e.height;var n=t.getContext("2d");n.drawImage(e,0,0)},e.src=i},this.toXML=function(){var t=o.innerHTML;return t=t.replace('xmlns="http://www.w3.org/2000/svg"',""),['<?xml version="1.0" encoding="utf-8"?>',t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')].join("\n")},this.toDataURI=function(){var e=this.toXML();return(t.browser.mozilla||t.browser.msie)&&(e=encodeURIComponent(e)),t.browser.msie?"data:image/svg+xml,"+e:"data:image/svg+xml;utf8,"+e},this.autoRender=function(t,e){h>0||(e?l.append(t):u.append(t))},this.getTextSize=function(t,e){if(""==t)return{width:0,height:0};e=e||{};var n=document.body||c.element,i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttributeNS(null,"width",500),i.setAttributeNS(null,"height",100),i.setAttributeNS(null,"x",-2e4),i.setAttributeNS(null,"y",-2e4);var r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttributeNS(null,"x",-200),r.setAttributeNS(null,"y",-200),r.appendChild(document.createTextNode(t)),e.fontSize&&r.setAttributeNS(null,"font-size",e.fontSize),e.fontFamily&&r.setAttributeNS(null,"font-family",e.fontFamily),e.bold&&r.setAttributeNS(null,"font-weight",e.bold),e.style&&r.setAttributeNS(null,"font-style",e.style),i.appendChild(r),n.appendChild(i);var o=r.getBoundingClientRect();return n.removeChild(i),{width:o.width,height:o.height}},p()};return o.createObject=function(t){var n=new e;if(n.create(t.type,t.attr),t.children instanceof Array)for(var i=0,r=t.children.length;i<r;i++)n.append(o.createObject(t.children[i]));return n},o}};d.use([f]);var I={name:"util.scale.linear",extend:null,component:function(){var t=d.include("util.math"),e=function e(){var n=[0,1],i=[0,1],r=!1,o=!1,a={},s=null,c=null,l=null,u=null,d=null,h=null,f=null,p=null,m=0,g=null,v=null;function _(t){if(u<t)return o?_(u):i[0]+Math.abs(t-n[0])*m;if(l>t)return o?_(l):i[0]-Math.abs(t-n[0])*m;var e=(t-n[0])/f;return g(e)}return _.cache=function(){return a},_.min=function(){return Math.min.apply(Math,n)},_.max=function(){return Math.max.apply(Math,n)},_.rangeMin=function(){return Math.min.apply(Math,i)},_.rangeMax=function(){return Math.max.apply(Math,i)},_.rate=function(t,e){return _(_.max()*(t/e))},_.clamp=function(t){o=t||!1},_.domain=function(t){if(!arguments.length)return n;for(var e=0;e<t.length;e++)n[e]=t[e];return l=_.min(),u=_.max(),f=n[1]-n[0],this},_.range=function(e){if(!arguments.length)return i;for(var n=0;n<e.length;n++)i[n]=e[n];return s=t.interpolateRound(i[0],i[1]),c=t.interpolateNumber(i[0],i[1]),d=_.rangeMin(),h=_.rangeMax(),p=Math.abs(h-d),m=p/f,g=r?s:c,this},_.rangeRound=function(t){return r=!0,_.range(t)},_.rangeBand=function(){return v},_.invert=function(t){var r=e().domain(i).range(n);return r(t)},_.ticks=function(e,i,r,o){o=o||!1;var a=_.max();if(0==n[0]&&0==n[1])return[];var s=t.nice(n[0],n[1],e||10,i||!1),c=[],l=o?s.max:s.min,u=o?s.min:s.max,d=s.spacing,h=t.fixed(d);while(o?u<=l:l<=u)c.push(l),l=o?h.minus(l,d):h.plus(l,d);if(o){c[0]!=a&&c.unshift(a);for(var f=0,p=c.length;f<p;f++)c[f]=Math.abs(c[f]-a)}else c[c.length-1]!=u&&l>u&&c.push(u),n[0]>n[1]&&c.reverse();var m=_(c[0]),g=_(c[1]);return v=Math.abs(g-m),c},_};return e}},R={name:"util.scale.circle",extend:null,component:function(){var t=function(){var t=[],e=[],n=0;function i(t){}return i.domain=function(e){if("undefined"==typeof e)return t;for(var n=0;n<e.length;n++)t[n]=e[n];return this},i.range=function(t){if("undefined"==typeof t)return e;for(var n=0;n<t.length;n++)e[n]=t[n];return this},i.rangePoints=function(r,o){o=o||0;for(var a=t.length,s=(r[1]-r[0]-o)/a,c=[],l=0;l<t.length;l++)c[l]=0==l?r[0]+o/2+s/2:c[l-1]+s;return e=c,n=s,i},i.rangeBands=function(r,o,a){o=o||0,a=a||0;for(var s=t.length,c=s-1,l=(r[1]-r[0])/c,u=[],d=0;d<t.length;d++)u[d]=0==d?r[0]:l+u[d-1];return n=l,e=u,i},i.rangeBand=function(){return n},i};return t}},N={name:"util.scale.log",extend:null,component:function(){var t=d.include("util.base"),e=d.include("util.scale.linear"),n=function(n){var i=n||10,r=e(),o=[],a=null,s=null;function c(t){return t<0?-Math.log(Math.abs(t))/Math.log(i):t>0?Math.log(t)/Math.log(i):0}function l(t){return t<0?-Math.pow(i,Math.abs(t)):t>0?Math.pow(i,t):0}function u(t){return Math.pow(i,(t+"").length-1)<t}function d(t){return Math.pow(i,(t+"").length)}var h=function(t){var e=t;return t>a?e=a:t<s&&(e=s),r(c(e))};return t.extend(h,r),h.log=function(){for(var t=[],e=0;e<o.length;e++)t[e]=c(o[e]);return t},h.domain=function(t){if(!arguments.length)return o;for(var e=0;e<t.length;e++)o[e]=t[e];
125if(a=Math.max.apply(Math,o),s=Math.min.apply(Math,o),u(a)&&(o[1]=a=d(a)),u(Math.abs(s))){var n=d(Math.abs(s));o[0]=s=s<0?-n:n}return r.domain(h.log()),h},h.base=function(t){return r.domain(h.log()),h},h.invert=function(t){return l(r.invert(t))},h.ticks=function(t,e,n){var i=r.ticks(t,e,n||1e20,!0);i[i.length-1]<r.max()&&i.push(r.max());for(var o=[],a=0,s=i.length;a<s;a++)o[a]=l(i[a]);return o},h};return n}},Y={name:"util.scale.ordinal",extend:null,component:function(){var t=function(){var t=[],e=[],n=0,i={},r=!1;function o(n){var r=""+n;if("undefined"!=typeof i[r])return i[r];for(var o=-1,a=0;a<t.length;a++)if("string"==typeof n&&t[a]===n){o=a;break}return o>-1?(i[r]=e[o],e[o]):"undefined"!=typeof e[n]?(i[r]=e[n],e[n]):null}return o.domain=function(e){if("undefined"==typeof e)return t;for(var n=0;n<e.length;n++)t[n]=e[n];return this},o.range=function(t){if("undefined"==typeof t)return e;for(var n=0;n<t.length;n++)e[n]=t[n];return this},o.rangePoints=function(i,a){a=a||0;for(var s=t.length,c=(i[1]-i[0]-a)/s,l=[],u=0;u<t.length;u++)l[u]=0==u?i[0]+a/2+c/2:l[u-1]+c;return e=l,n=c,r=!0,o},o.rangeBands=function(i,a,s){a=a||0,s=s||0;for(var c=t.length,l=c-1,u=(i[1]-i[0])/l,d=[],h=0;h<t.length;h++)d[h]=0==h?i[0]:u+d[h-1];return n=u,e=d,r=!1,o},o.rangeBand=function(){return n},o.invert=function(t){var i=Math.min(e[0],e[1]);if(r){i-=n/2;var o=t;o<i&&(o=i);var a=Math.abs(o-i)/n;return Math.floor(a)}a=Math.abs(t-i)/n;return Math.ceil(a)},o};return t}},z={name:"util.scale.time",extend:null,component:function(){var t=d.include("util.time"),e=d.include("util.scale.linear"),n=function(){var n,i=[],r=e(),o=r.domain;return r.domain=function(t){if(!arguments.length)return o.call(r);for(var e=0;e<t.length;e++)i[e]=+t[e];return o.call(r,i)},r.min=function(){return Math.min(i[0],i[i.length-1])},r.max=function(){return Math.max(i[0],i[i.length-1])},r.rate=function(t,e){return r(r.max()*(t/e))},r.ticks=function(e,o){var a=i[0],s=i[1],c=[];while(a<s)c.push(new Date(+a)),a=t.add(a,e,o);c.push(new Date(+a));var l=r(c[1]),u=r(c[2]);return n=u-l,c},r.realTicks=function(e,o){var a=i[0],s=i[1],c=[],l=new Date(+a),u=null;e==t.years?u=new Date(l.getFullYear(),0,1):e==t.months?u=new Date(l.getFullYear(),l.getMonth(),1):e==t.days||e==t.weeks?u=new Date(l.getFullYear(),l.getMonth(),l.getDate()):e==t.hours?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),0,0,0):e==t.minutes?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),0,0):e==t.seconds?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),0):e==t.milliseconds&&(u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds())),u=t.add(u,e,o);while(+u<+s)c.push(new Date(+u)),u=t.add(u,e,o);var d=r(c[1]),h=r(c[2]);return n=h-d,c},r.rangeBand=function(){return n},r.invert=function(t){var n=e().domain(r.range()).range(r.domain());return new Date(n(t))},r};return n}};d.use([f,y]);var B={name:"util.scale",extend:null,component:function(){var t=d.include("util.math"),e=d.include("util.time"),n={circle:function(){var t=[],e=[],n=0;function i(t){}return i.domain=function(e){if("undefined"==typeof e)return t;for(var n=0;n<e.length;n++)t[n]=e[n];return this},i.range=function(t){if("undefined"==typeof t)return e;for(var n=0;n<t.length;n++)e[n]=t[n];return this},i.rangePoints=function(r,o){o=o||0;for(var a=t.length,s=(r[1]-r[0]-o)/a,c=[],l=0;l<t.length;l++)c[l]=0==l?r[0]+o/2+s/2:c[l-1]+s;return e=c,n=s,i},i.rangeBands=function(r,o,a){o=o||0,a=a||0;for(var s=t.length,c=s-1,l=(r[1]-r[0])/c,u=[],d=0;d<t.length;d++)u[d]=0==d?r[0]:l+u[d-1];return n=l,e=u,i},i.rangeBand=function(){return n},i},ordinal:function(){var t=[],e=[],n=0,i={};function r(n){var r=""+n;if("undefined"!=typeof i[r])return i[r];for(var o=-1,a=0;a<t.length;a++)if("string"==typeof n&&t[a]===n){o=a;break}return o>-1?(i[r]=e[o],e[o]):"undefined"!=typeof e[n]?(t[n]=n,i[r]=e[n],e[n]):null}return r.domain=function(e){if("undefined"==typeof e)return t;for(var n=0;n<e.length;n++)t[n]=e[n];return this},r.range=function(t){if("undefined"==typeof t)return e;for(var n=0;n<t.length;n++)e[n]=t[n];return this},r.rangePoints=function(i,o){o=o||0;for(var a=t.length,s=(i[1]-i[0]-o)/a,c=[],l=0;l<t.length;l++)c[l]=0==l?i[0]+o/2+s/2:c[l-1]+s;return e=c,n=s,r},r.rangeBands=function(i,o,a){o=o||0,a=a||0;for(var s=t.length,c=s-1,l=(i[1]-i[0])/c,u=[],d=0;d<t.length;d++)u[d]=0==d?i[0]:l+u[d-1];return n=l,e=u,r},r.rangeBand=function(){return n},r.invert=function(t){return Math.ceil(t/n)},r},time:function(){var t,i=[],r=n.linear(),o=r.domain;return r.domain=function(t){if(!arguments.length)return o.call(r);for(var e=0;e<t.length;e++)i[e]=+t[e];return o.call(r,i)},r.min=function(){return Math.min(i[0],i[i.length-1])},r.max=function(){return Math.max(i[0],i[i.length-1])},r.rate=function(t,e){return r(r.max()*(t/e))},r.ticks=function(n,o){var a=i[0],s=i[1],c=[];while(a<s)c.push(new Date(+a)),a=e.add(a,n,o);c.push(new Date(+a));var l=r(c[1]),u=r(c[2]);return t=u-l,c},r.realTicks=function(n,o){var a=i[0],s=i[1],c=[],l=new Date(+a),u=null;n==e.years?u=new Date(l.getFullYear(),0,1):n==e.months?u=new Date(l.getFullYear(),l.getMonth(),1):n==e.days||n==e.weeks?u=new Date(l.getFullYear(),l.getMonth(),l.getDate()):n==e.hours?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),0,0,0):n==e.minutes?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),0,0):n==e.seconds?u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),0):n==e.milliseconds&&(u=new Date(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds())),u=e.add(u,n,o);while(+u<+s)c.push(new Date(+u)),u=e.add(u,n,o);var d=r(c[1]),h=r(c[2]);return t=h-d,c},r.rangeBand=function(){return t},r.invert=function(t){var e=n.linear().domain(r.range()).range(r.domain());return new Date(e(t))},r},log:function(t){var e=t||10,i=n.linear(),r=[],o=null,a=null;function s(t){return t<0?-Math.log(Math.abs(t))/Math.log(e):t>0?Math.log(t)/Math.log(e):0}function c(t){return t<0?-Math.pow(e,Math.abs(t)):t>0?Math.pow(e,t):0}function l(t){return Math.pow(e,(t+"").length-1)<t}function u(t){return Math.pow(e,(t+"").length)}var d=function(t){var e=t;return t>o?e=o:t<a&&(e=a),i(s(e))};return $.extend(d,i),d.log=function(){for(var t=[],e=0;e<r.length;e++)t[e]=s(r[e]);return t},d.domain=function(t){if(!arguments.length)return r;for(var e=0;e<t.length;e++)r[e]=t[e];if(o=Math.max.apply(Math,r),a=Math.min.apply(Math,r),l(o)&&(r[1]=o=u(o)),l(Math.abs(a)
125)){var n=u(Math.abs(a));r[0]=a=a<0?-n:n}return i.domain(d.log()),d},d.base=function(t){return i.domain(d.log()),d},d.invert=function(t){return c(i.invert(t))},d.ticks=function(t,e,n){var r=i.ticks(t,e,n||1e20,!0);r[r.length-1]<i.max()&&r.push(i.max());for(var o=[],a=0,s=r.length;a<s;a++)o[a]=c(r[a]);return o},d},linear:function(){var e=[0,1],i=[0,1],r=!1,o=!1,a={},s=null,c=null,l=null,u=null,d=null,h=null,f=null,p=null,m=0,g=null,v=null;function _(t){if(u<t)return o?_(u):i[0]+Math.abs(t-e[0])*m;if(l>t)return o?_(l):i[0]-Math.abs(t-e[0])*m;var n=(t-e[0])/f;return g(n)}return _.cache=function(){return a},_.min=function(){return Math.min.apply(Math,e)},_.max=function(){return Math.max.apply(Math,e)},_.rangeMin=function(){return Math.min.apply(Math,i)},_.rangeMax=function(){return Math.max.apply(Math,i)},_.rate=function(t,e){return _(_.max()*(t/e))},_.clamp=function(t){o=t||!1},_.domain=function(t){if(!arguments.length)return e;for(var n=0;n<t.length;n++)e[n]=t[n];return l=_.min(),u=_.max(),f=e[1]-e[0],this},_.range=function(e){if(!arguments.length)return i;for(var n=0;n<e.length;n++)i[n]=e[n];return s=t.interpolateRound(i[0],i[1]),c=t.interpolateNumber(i[0],i[1]),d=_.rangeMin(),h=_.rangeMax(),p=Math.abs(h-d),m=p/f,g=r?s:c,this},_.rangeRound=function(t){return r=!0,_.range(t)},_.rangeBand=function(){return v},_.invert=function(t){var r=n.linear().domain(i).range(e);return r(t)},_.ticks=function(n,i,r,o){o=o||!1;var a=_.max();if(0==e[0]&&0==e[1])return[];var s=t.nice(e[0],e[1],n||10,i||!1),c=[],l=o?s.max:s.min,u=o?s.min:s.max,d=s.spacing,h=t.fixed(d);while(o?u<=l:l<=u)c.push(l),l=o?h.minus(l,d):h.plus(l,d);if(o){c[0]!=a&&c.unshift(a);for(var f=0,p=c.length;f<p;f++)c[f]=Math.abs(c[f]-a)}else c[c.length-1]!=u&&l>u&&c.push(u),e[0]>e[1]&&c.reverse();var m=_(c[0]),g=_(c[1]);return v=Math.abs(g-m),c},_}};return n}},F={name:"chart.vector",extend:null,component:function(){var t=function t(e,n,i){this.x=e||0,this.y=n||0,this.z=i||0,this.add=function(e){return e instanceof t?new t(this.x+e.x,this.y+e.y,this.z+e.z):new t(this.x+e,this.y+e,this.z+e)},this.subtract=function(e){return e instanceof t?new t(this.x-e.x,this.y-e.y,this.z-e.z):new t(this.x-e,this.y-e,this.z-e)},this.multiply=function(e){return e instanceof t?new t(this.x*e.x,this.y*e.y,this.z*e.z):new t(this.x*e,this.y*e,this.z*e)},this.dotProduct=function(t){var e=this.x*t.x+this.y*t.y+this.z*t.z;return Math.acos(e/(this.getMagnitude()*t.getMagnitude()))},this.crossProduct=function(e){return new t(this.y*e.z-this.z*e.y,this.z*e.x-this.x*e.z,this.x*e.y-this.y*e.x)},this.normalize=function(){var t=this.getMagnitude();this.x/=t,this.y/=t,this.z/=t},this.getMagnitude=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}};return t}},H={name:"chart.draw",extend:null,component:function(){var t=d.include("util.base"),e=function(){this.render=function(){if(!t.typeCheck("function",this.draw))throw new Error("JUI_CRITICAL_ERR: 'draw' method must be implemented");t.typeCheck("function",this.drawBefore)&&this.drawBefore();var e=this.draw();if(t.typeCheck("function",this.drawAnimate)){var n=this.grid||this.brush||this.widget||this.map;!1!==n.animate&&this.drawAnimate(e)}return t.typeCheck("function",this.drawAfter)&&this.drawAfter(e),e},this.format=function(){var t=this.grid||this.brush||this.widget,e=t.format||this.chart.format;return e.apply(this.chart,arguments)},this.balloonPoints=function(t,e,n,i){var r=[];return"top"==t?(r.push([0,0].join(",")),r.push([e,0].join(",")),r.push([e,n].join(",")),r.push([e/2+i/2,n].join(",")),r.push([e/2,n+i].join(",")),r.push([e/2-i/2,n].join(",")),r.push([0,n].join(",")),r.push([0,0].join(","))):"bottom"==t?(r.push([0,i].join(",")),r.push([e/2-i/2,i].join(",")),r.push([e/2,0].join(",")),r.push([e/2+i/2,i].join(",")),r.push([e,i].join(",")),r.push([e,i+n].join(",")),r.push([0,i+n].join(",")),r.push([0,i].join(","))):"left"==t?(r.push([0,0].join(",")),r.push([e,0].join(",")),r.push([e,n/2-i/2].join(",")),r.push([e+i,n/2].join(",")),r.push([e,n/2+i/2].join(",")),r.push([e,n].join(",")),r.push([0,n].join(",")),r.push([0,0].join(","))):"right"==t?(r.push([0,0].join(",")),r.push([e,0].join(",")),r.push([e,n].join(",")),r.push([0,n].join(",")),r.push([0,n/2+i/2].join(",")),r.push([0-i,n/2].join(",")),r.push([0,n/2-i/2].join(",")),r.push([0,0].join(","))):(r.push([0,0].join(",")),r.push([e,0].join(",")),r.push([e,n].join(",")),r.push([0,n].join(",")),r.push([0,0].join(","))),r.join(" ")},this.on=function(e,n){var i=this;return this.chart.on(e,(function(){if(t.startsWith(e,"axis.")&&t.typeCheck("integer",i.axis.index)){var r=i.chart.axis(i.axis.index),o=arguments[0];t.typeCheck("object",r)&&arguments[1]==i.axis.index&&n.apply(i,[o])}else n.apply(i,arguments)}),"render")},this.calculate3d=function(){var e=this.axis.area("width"),n=this.axis.area("height"),i=this.axis.area("x"),r=this.axis.area("y"),o=this.axis.depth,a=this.axis.degree,s=this.axis.perspective,c=arguments;t.typeCheck("integer",a.x)||(a.x=0),t.typeCheck("integer",a.y)||(a.y=0),t.typeCheck("integer",a.z)||(a.z=0);for(var l=0;l<c.length;l++)c[l].perspective=s,c[l].rotate(Math.max(e,n,o),a,i+e/2,r+n/2,o/2)}};return e.setup=function(){return{type:null,animate:!1}},e}},V={name:"chart.axis",extend:null,component:function(){var t=d.include("util.base"),e=function(e,n,i){var r=this,o=null,a={},s={},c="",l=null,u="",h=null;function f(t,n){return t.x=p(t.x,e.area("width")),t.y=p(t.y,e.area("height")),t.width=p(t.width,e.area("width")),t.height=p(t.height,e.area("height")),t.x2=t.x+t.width,t.y2=t.y+t.height,t.x+=n.left||0,t.y+=n.top||0,t.x2-=n.right||0,t.y2-=n.bottom||0,t.width=t.x2-t.x,t.height=t.y2-t.y,t}function p(e,n){return t.typeCheck("string",e)&&e.indexOf("%")>-1?n*(parseFloat(e.replace("%",""))/100):e}function m(n,i){if(("x"==i||"y"==i||"z"==i)&&!t.typeCheck("object",n[i]))return null;n[i]=n[i]||{},"x"==i?n[i].orient="top"==n[i].orient?"top":"bottom":"y"==i?n[i].orient="right"==n[i].orient?"right":"left":"z"==i?n[i].orient="center"
125:"c"==i&&(n[i].type=n[i].type||"panel",n[i].orient="custom"),n[i].type=n[i].type||"block";var o=d.include("chart.grid."+n[i].type);d.defineOptions(o,n[i]);var a=new o(e,n,n[i]);a.chart=e,a.axis=n,a.grid=n[i],a.svg=e.svg;var s=a.render();return r.isFull3D()||("left"==n[i].orient?s.root.translate(e.area("x")+r.area("x")-n[i].dist,e.area("y")):"right"==n[i].orient?s.root.translate(e.area("x")+r.area("x2")+n[i].dist,e.area("y")):"bottom"==n[i].orient?s.root.translate(e.area("x"),e.area("y")+r.area("y2")+n[i].dist):"top"==n[i].orient?s.root.translate(e.area("x"),e.area("y")+r.area("y")-n[i].dist):s.root&&s.root.translate(e.area("x")+r.area("x"),e.area("y")+r.area("y"))),s.scale.type=n[i].type,s.scale.root=s.root,s.scale}function g(n,i){if("map"==i&&!t.typeCheck("object",n[i]))return null;n[i]=n[i]||{};var a=d.include("chart.map");d.defineOptions(a,n[i]),null==o&&(o=new a(e,n,n[i])),o.chart=e,o.axis=n,o.map=n[i],o.svg=e.svg;var s=o.render();return s.root.translate(e.area("x")+r.area("x"),e.area("y")+r.area("y")),s.scale.type=n[i].type,s.scale.root=s.root,s.scale}function v(t){var e=r.origin,n=r.buffer,i=Math.ceil(e.length/n);r.page=t<1?1:t>i?i:t,r.start=(r.page-1)*n,r.end=r.start+n,r.end>e.length&&(r.start=e.length-n,r.end=e.length),r.end<=e.length&&(r.start=r.start<0?0:r.start,r.data=e.slice(r.start,r.end),e.length>0&&r.page++)}function _(t,e){var n=r.origin;r.end=e>n.length?n.length:e,r.start=t<0?0:t,r.data=n.slice(r.start,r.end)}function y(){l&&(l.remove(),l=null),c="axis-clip-id-"+e.index+"."+i.index,l=e.svg.clipPath({id:c},(function(){e.svg.rect({x:a.x,y:a.y,width:a.width,height:a.height})})),e.appendDefs(l),h&&(h.remove(),h=null),u="axis-clip-rect-id-"+e.index,h=e.svg.clipPath({id:u},(function(){e.svg.rect({x:0,y:0,width:a.width,height:a.height})})),e.appendDefs(h)}function b(t){var e=r.area("y"),n=r.area("x");return t.chartY>e&&t.chartY<e+r.area("height")&&t.chartX>n&&t.chartX<n+r.area("width")&&(t.axisX=t.chartX-n,t.axisY=t.chartY-e,!0)}function w(){var t=!1,n=i.index;e.on("chart.mousemove",(function(i){b(i)?t||(e.emit("axis.mouseover",[i,n]),t=!0):t&&(e.emit("axis.mouseout",[i,n]),t=!1),b(i)&&e.emit("axis.mousemove",[i,n])})),e.on("bg.mousemove",(function(i){!b(i)&&t&&(e.emit("axis.mouseout",[i,n]),t=!1)})),e.on("chart.mousedown",(function(t){b(t)&&e.emit("axis.mousedown",[t,n])})),e.on("chart.mouseup",(function(t){b(t)&&e.emit("axis.mouseup",[t,n])})),e.on("chart.click",(function(t){b(t)&&e.emit("axis.click",[t,n])})),e.on("chart.dblclick",(function(t){b(t)&&e.emit("axis.dblclick",[t,n])})),e.on("chart.rclick",(function(t){b(t)&&e.emit("axis.rclick",[t,n])})),e.on("chart.mousewheel",(function(t){b(t)&&e.emit("axis.mousewheel",[t,n])}))}function k(){var t=e.theme("axisBorderWidth"),n=s.left+s.right,i=s.top+s.bottom,r=e.svg.rect({rx:e.theme("axisBorderRadius"),ry:e.theme("axisBorderRadius"),fill:e.theme("axisBackgroundColor"),"fill-opacity":e.theme("axisBackgroundOpacity"),stroke:e.theme("axisBorderColor"),"stroke-width":t,width:a.width+n-t,height:a.height+i-t,x:a.x-s.left,y:a.y-s.top});return r.translate(e.area("x"),e.area("y")),r}function x(){t.extend(r,{data:i.data,origin:i.origin,buffer:i.buffer,shift:i.shift,index:i.index,page:i.page,start:i.start,end:i.end,degree:i.degree,depth:i.depth,perspective:i.perspective}),r.origin=r.data,r.start>0||r.end>0?_(r.start,r.end):v(r.page),w(),r.reload(i)}this.getValue=function(e,n,r){var o=e[i.keymap[n]];return t.typeCheck("undefined",o)?(o=e[n],t.typeCheck("undefined",o)?r:o):o},this.reload=function(n){var i=e.area();t.extend(this,{x:n.x,y:n.y,z:n.z,c:n.c,map:n.map}),s=t.typeCheck("integer",n.padding)?{left:n.padding,right:n.padding,bottom:n.padding,top:n.padding}:n.padding,a=f(t.extend(n.area,{x:0,y:0,width:i.width,height:i.height},!0),s),y(),this.root=k(),this.x=m(this,"x"),this.y=m(this,"y"),this.z=m(this,"z"),this.c=m(this,"c"),this.map=g(this,"map"),this.buffer=n.buffer,this.shift=n.shift,this.index=n.index,this.page=n.page,this.start=n.start,this.end=n.end,this.degree=n.degree,this.depth=n.depth,this.perspective=n.perspective},this.area=function(e){return t.typeCheck("undefined",a[e])?a:a[e]},this.padding=function(e){return t.typeCheck("undefined",s[e])?s:s[e]},this.get=function(t){var e={area:a,padding:s,clipId:c,clipRectId:u};return e[t]||i[t]},this.set=function(r,o,a){t.typeCheck("object",o)?!0===a?(n[r]=t.deepClone(o),i[r]=t.deepClone(o)):(t.extend(n[r],o),t.extend(i[r],o)):(n[r]=o,i[r]=o),e.
125isRender()&&e.render()},this.updateGrid=this.set,this.update=function(e){this.origin=t.typeCheck("array",e)?e:[e],this.page=1,this.start=0,this.end=0,this.screen(1)},this.screen=function(t){v(t),this.end<=this.origin.length&&e.isRender()&&e.render()},this.next=function(){var t=this.origin,n=this.buffer,i=this.shift;this.start+=i;var r=this.start+n>t.length;this.end=r?t.length:this.start+n,this.start=r?t.length-n:this.start,this.start=this.start<0?0:this.start,this.data=t.slice(this.start,this.end),e.isRender()&&e.render()},this.prev=function(){var t=this.origin,n=this.buffer,i=this.shift;this.start-=i;var r=this.start<0;this.end=r?n:this.start+n,this.start=r?0:this.start,this.data=t.slice(this.start,this.end),e.isRender()&&e.render()},this.zoom=function(t,n){t!=n&&(_(t,n),e.isRender()&&e.render())},this.isFull3D=function(){return!t.typeCheck(["undefined","null"],this.z)},x()};return e.setup=function(){return{extend:null,x:null,y:null,z:null,c:null,map:null,data:[],origin:[],keymap:{},area:{},padding:{top:0,bottom:0,left:0,right:0},buffer:1e4,shift:1,page:1,start:0,end:0,degree:{x:0,y:0,z:0},depth:0,perspective:.9}},e}};d.use([h,j]);var U={name:"chart.map",extend:null,component:function(){var t=d.include("util.base"),e=d.include("util.dom"),n=d.include("util.svg"),i=function(){var i=this,r={},o=null,a={},s=1,c=0,l=0;function u(e){for(var r=[],o=0,a=e.length;o<a;o++)if(t.typeCheck("object",e[o])){var s={};t.typeCheck("string",e[o].style)&&(s=l(e[o].style),delete e[o].style);var c=n.createObject({type:null!=e[o].d?"path":"polygon",attr:e[o]});c.attr(t.extend(s,{fill:i.chart.theme("mapPathBackgroundColor"),"fill-opacity":i.chart.theme("mapPathBackgroundOpacity"),stroke:i.chart.theme("mapPathBorderColor"),"stroke-width":i.chart.theme("mapPathBorderWidth"),"stroke-opacity":i.chart.theme("mapPathBorderOpacity")})),r.push({path:c,data:e[o]})}function l(e){for(var n={},i=e.split(";"),r=0;r<i.length;r++)if(-1!=i[r].indexOf(":")){var o=i[r].split(":");n[t.trim(o[0])]=t.trim(o[1])}return n}return r}function d(e){if(t.typeCheck("string",e.id)){for(var n=[],i=e.childNodes,r=0,o=i.length;r<o;r++){var a=i[r],s=a.nodeName.toLowerCase();if(1==a.nodeType)if("g"==s)n=n.concat(d(a));else if("path"==s||"polygon"==s){var c={group:e.id};for(var l in a.attributes){var u=a.attributes[l];u.specified&&f(u.name)&&(c[u.name]=p(u))}t.typeCheck("string",c.id)&&t.extend(c,m(c.id)),n.push(c)}}return n}}function h(e){return t.typeCheck("array",r[e])||(r[e]=[],t.ajax({url:e,async:!1,success:function(n){var o=n.responseXML,a=o.getElementsByTagName("svg"),s=o.getElementsByTagName("style");if(1==a.length){for(var c=a[0].childNodes,l=0,u=c.length;l<u;l++){var h=c[l],g=h.nodeName.toLowerCase();if(1==h.nodeType)if("g"==g)r[e]=r[e].concat(d(h));else if("path"==g||"polygon"==g){var v={};for(var _ in h.attributes){var y=h.attributes[_];y.specified&&f(y.name)&&(v[y.name]=p(y))}t.typeCheck("string",v.id)&&t.extend(v,m(v.id)),r[e].push(v)}}for(l=0;l<s.length;l++)i.svg.root.element.appendChild(s[l])}},fail:function(t){throw new Error("JUI_CRITICAL_ERR: Failed to load resource")}})),u(r[e])}function f(t){return"group"==t||"id"==t||"title"==t||"x"==t||"y"==t||"d"==t||"points"==t||"class"==t||"style"==t}function p(t){return"x"==t.name||"y"==t.name?parseFloat(t.value):t.value}function m(t){for(var e=i.axis.data,n=0;n<e.length;n++){var r=i.axis.getValue(e[n],"id",null);if(r==t)return e[n]}return null}function g(){for(var e=i.chart.svg.group(),n=h(i.map.path),r=0,o=n.length;r<o;r++){var s=n[r].path,c=n[r].data;e.append(s),t.typeCheck("string",c.id)&&(a[c.id]=n[r])}return e}function v(){var t=i.map.width,e=i.map.height,n=(t*s-t)/2,r=(e*s-e)/2;return{x:n+c,y:r+l}}function _(t,n){var r=i.chart;function o(t){var n=e.offset(r.root),i=t.pageX-n.left,o=t.pageY-n.top;t.bgX=i,t.bgY=o,t.chartX=i-r.padding("left"),t.chartY=o-r.padding("top")}t.on("click",(function(t){o(t),r.emit("map.click",[n,t])})),t.on("dblclick",(function(t){o(t),r.emit("map.dblclick",[n,t])})),t.on("contextmenu",(function(t){o(t),r.emit("map.rclick",[n,t]),t.preventDefault()})),t.on("mouseover",(function(t){o(t),r.emit("map.mouseover",[n,t])})),t.on("mouseout",(function(t){o(t),r.emit("map.mouseout",[n,t])})),t.on("mousemove",(function(t){o(t),r.emit("map.mousemove",[n,t])})),t.on("mousedown",(function(t){o(t),r.emit("map.mousedown",[n,t])})),t.on("mouseup",(function(t){o(t),r.emit("map.mouseup",[n,t])}))}this.scale=function(e){if(t.typeCheck("string",e)){var n=null,r=null,o=null,c=null,l=v();if(t.typeCheck("object",a[e])){if(o=a[e].path,c=a[e].data,null!=c.x){var u=i.axis.getValue(c,"dx",0),d=parseFloat(c.x)+u;n=d*s-l.x}if(null!=c.y){var h=i.axis.getValue(c,"dy",0),f=parseFloat(c.y)+h;r=f*s-l.y}}return{x:n,y:r,path:o,data:c}}},this.scale.each=function(t){var e=this;for(var n in a)t.apply(e,[n,a[n]])},this.scale.size=function(){return{width:i.map.width,height:i.map.height}},this.scale.scale=function(t){return!t||t<0||(s=t,o.scale(s),this.view(c,l)),s},this.scale.view=function(e,n){var i={x:c,y:l};if(!t.typeCheck("number",e)||!t.typeCheck("number",n))return i;c=e,l=n;var r=v();return o.translate(-r.x,-r.y),{x:c,y:l}},this.draw=function(){var t=this.chart.svg.group();return s=this.map.scale,c=this.map.viewX,l=this.map.viewY,o=g(),t.append(o),1!=this.map.scale&&this.scale.scale(s),0==this.map.viewX&&0==this.map.viewY||this.scale.view(c,l),this.map.hide&&t.attr({visibility:"hidden"}),{root:t,scale:this.scale}},this.drawAfter=function(t){t.root.attr({"clip-path":"url(#"+this.axis.get("clipRectId")+")"}),setTimeout((function(){i.scale.each((function(t,e){_(e.path,e)}))}),1)}};return i.setup=function(){return{scale:1,viewX:0,viewY:0,hide:!1,path:"",width:-1,height:-1}},i}};d.use(h,j,p,V);var W={name:"chart.builder",extend:"core",component:function(){var t=d.include("util.base"),e=d.include("util.dom"),n=d.include("util.svg"),i=d.include("util.color"),r=d.include("chart.axis"),o=d.include("util.canvas.hidpi");t.resize((function(){for(var e=d.get("chart.builder"),n=0;n<e.length;n++)for(var i=e[n],r=0;r<i.length;r++)t.typeCheck("function",i[r].resize)&&i[r].resize()}),1e3);var a=function(){var a,s,c,l=[],u=[],h=[],f=null,p={},m=!1,g=null,v={render:[],renderAll:[]},_={main:null,buffer:null,sub:null},y={},b=0;function w(t){var e=t.svg.size(),n={width:e.width-(a.left+a.right),height:e.height-(a.top+a.bottom),x:a.left,y:a.top};n.width<0&&(n.width=0),n.height<0&&(n.height=0),n.x2=n.x+n.width,n.y2=n.y+n.height,s=n}function k(e){u=t.deepClone(g.brush),h=t.deepClone(g.widget),f=e.svg.defs(),p={}}function x(e){for(var n=t.deepClone(g.axis,{data:!0,origin:!0}),i=0;i<n.length;i++)d.defineOptions(r,n[i]),n[i].index=i,l[i]?l[i].reload(n[i]):l[i]=new r(e,g.axis[i],n[i])}function T(e){var n=u;if(null!=n)for(var i=0;i<n.length;i++){var r=d.include("chart.brush."+n[i].type);d.defineOptions(r,n[i]);var o=l[n[i].axis];if(n[i].target)t.typeCheck("string",n[i].target)&&(n[i].target=[n[i].target]);else{var a=[];if(o)for(var s in o.data[0])a.push(s);n[i].target=a}n[i].index=i;var c=new r(e,o,n[i]);c.chart=e,c.axis=o,c.brush=n[i],c.svg=e.svg,c.canvas=_.buffer,c.render()}}function M(t,e){var n=h;if(null!=n)for(var i=0;i<n.length;i++){var r=d.include("chart.widget."+n[i].type);d.defineOptions(r,n[i]),n[i].index=i;var o=new r(t,l[0],n[i]);if(o.chart=t,o.axis=l[0],o.widget=n[i],o.svg=t.svg,o.canvas=_.sub,m&&!o.isRender()&&!0!==e)return;var a=o.render();o.isRender()||t.svg.autoRender(a,!1)}}function S(t,n){var i=!1;function r(n){var i=e.offset(t.root),r=n.pageX-i.left,o=n.pageY-i.top;if(n.bgX=r,n.bgY=o,n.chartX=r-t.padding("left"),n.chartY=o-t.padding("top"),!(n.chartX<0)&&!(n.chartX>t.area("width"))&&!(n.chartY<0)&&!(n.chartY>t.area("height")))return!0}n.on("click",(function(e){r(e)?t.emit("chart.click",[e]):t.emit("bg.click",[e])})),n.on("dblclick",(function(e){r(e)?t.emit("chart.dblclick",[e]):t.emit("bg.dblclick",[e])})),n.on("contextmenu",(function(e){r(e)?t.emit("chart.rclick",[e]):t.emit("bg.rclick",[e]),e.preventDefault()})),n.on("mousemove",(function(e){r(e)?i?t.emit("chart.mousemove",[e]):(t.emit("chart.mouseover",[e]),i=!0):(i&&(t.emit("chart.mouseout",[e]),i=!1),t.emit("bg.mousemove",[e]))})),n.on("mousedown",(function(e){r(e)?t.emit("chart.mousedown",[e]):t.emit("bg.mousedown",[e])})),n.on("mouseup",(function(e){r(e)?t.emit("chart.mouseup",[e]):t.emit("bg.mouseup",[e])})),n.on("mouseover",(function(e){r(e)||t.emit("bg.mouseover",[e])})),n.on("mouseout",(function(e){r(e)||t.emit("bg.mouseout",[e])})),n.on("mousewheel",(function(e){r(e)?t.emit("chart.mousewheel",[e]):t.emit("bg.mousewheel",[e])}))}function C(t,e){for(var n=0;n<v.render.length;n++)t.off(v.render[n]);if(v.render=[],!0===e){for(n=0;n<v.renderAll.length;n++)t.off(v.renderAll[n]);v.renderAll=[]}}
125function E(e,i){if(!t.typeCheck("undefined",i)&&p[i])return"url(#"+p[i]+")";var r="gradient-"+b;e.attr.id=r;var o=n.createObject(e);return f.append(o),t.typeCheck("undefined",i)||(p[i]=r),"url(#"+r+")"}function L(e){if(t.typeCheck("string",e)){if(e=e.replace("url(#","").replace(")",""),p[e])return"url(#"+e+")";if(-1==e.indexOf("pattern-"))return!1;var i=e.split("-"),r=i.pop(),o=d.include("chart."+i.join("."));if(!o)return!1;var a=o[r];return"function"==typeof a&&(a=a.call(a)),a.attr&&!a.attr.id&&(a.attr.id=e),a=n.createObject(a),f.append(a),p[e]=e,"url(#"+e+")"}if(e.attr.id=e.attr.id||"pattern-"+b,p[e.attr.id])return"url(#"+e.attr.id+")";a=n.createObject(e);return f.append(a),p[e.attr.id]=e.attr.id,"url(#"+e.attr.id+")"}function A(e){if(t.typeCheck("undefined",e))return"none";if(t.typeCheck("object",e))return"pattern"==e.type?L(e):E(e);if("string"==typeof e){var n=L(e);if(n)return n}var r=i.parse(e);return r==e?e:E(r,e)}function O(e){var n={};t.typeCheck("string",e)?(t.extend(n,d.include("chart.theme."+e)),t.extend(n,g.style)):t.typeCheck("object",e)&&(t.extend(c,g.style),t.extend(c,e),t.extend(n,c)),c=n}function P(e){g=t.deepClone(e.options,{data:!0,bind:!0});var n=g.padding;a=t.typeCheck("integer",n)?{left:n,right:n,bottom:n,top:n}:n,t.typeCheck("array",g.axis)||(g.axis=[g.axis]),t.typeCheck("array",g.brush)||(g.brush=[g.brush]),t.typeCheck("array",g.widget)||(g.widget=[g.widget]),0==g.axis.length&&g.axis.push({data:[]});for(var i=0;i<g.axis.length;i++){var r=g.axis[i];t.extend(r,g.axis[r.extend],!0)}}function D(){var e=g.icon;if(t.typeCheck(["string","array"],e.path)){for(var n=t.typeCheck("string",e.path)?[e.path]:e.path,i=[],r=0;r<n.length;r++){var o=n[r],a="url("+o+") ";-1!=o.indexOf(".eot")?a+="format('embedded-opentype')":-1!=o.indexOf(".woff")?a+="format('woff')":-1!=o.indexOf(".ttf")?a+="format('truetype')":-1!=o.indexOf(".svg")&&(a+="format('svg')"),i.push(a)}var s="font-family: "+e.type+"; font-weight: normal; font-style: normal; src: "+i.join(",");(function(t){var e=function(){var t=document.createElement("style");return t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet}();e.insertRule(t,0)})("@font-face {"+s+"}")}}function j(t,e){var n=/{([^{}]+)}/g,i=e.match(n);if(null!=i)for(var r=0;r<i.length;r++){var o=i[r].substring(1,i[r].length-1);e=e.replace(i[r],t.icon(o))}return e}function I(e){var n=e.svg.size();return{width:t.typeCheck("integer",g.width)?g.width:n.width,height:t.typeCheck("integer",g.height)?g.height:n.height}}function R(t){t.style.position="relative",t.style.userSelect="none",t.style.webkitUserSelect="none",t.style.MozUserSelect="none",t.setAttribute("unselectable","on")}function N(t){var e=I(t),n=o.pixelRatio,i=function(i){var r=document.createElement("CANVAS");r.width=e.width*n,r.height=e.height*n,r.style.position="absolute",r.style.left="0px",r.style.top="0px",r.style.width=e.width+"px",r.style.height=e.height+"px",r.getContext&&(_[i]=r.getContext("2d"),o.apply(_[i]),"buffer"!=i&&t.root.appendChild(r)),"sub"==i&&(r.on=function(t,e){var n=function(t){"function"==typeof e&&e.call(this,t)};return r.addEventListener(t,n,!1),this})};for(var r in _)i(r)}function Y(t,e){var n=o.pixelRatio,i=I(t),r=_[e];r.restore(),r.clearRect(0,0,i.width*n,i.height*n),r.save(),"main"==e&&r.translate(s.x,s.y)}this.init=function(){b=this.index=d.size(),P(this),O(g.theme),R(this.root),this.svg=new n(this.root,{width:g.width,height:g.height,"buffered-rendering":"dynamic"}),g.canvas?(N(this),S(this,e.find(this.root,"CANVAS")[1])):S(this,this.svg.root),D(),this.render()},this.get=function(t,e){var n={axis:l,brush:u,widget:h,padding:a,area:s};return n[t][e]?n[t][e]:n[t]||n},this.axis=function(t){return 0==arguments.length?l:l[t]},this.area=function(e){return t.typeCheck("undefined",s[e])?s:s[e]},this.padding=function(e){return t.typeCheck("undefined",a[e])?a:a[e]},this.color=function(e,n){var i=null;if(1==arguments.length?t.typeCheck("string",e)?i=e:t.typeCheck("integer",e)&&(i=r(e)):t.typeCheck(["array","object"],n)?(i=n[e],t.typeCheck("integer",i)&&(i=r(i))):i=r(),p[i])return"url(#"+p[i]+")";function r(t){var n=c["colors"],i=t||e;return i>n.length-1?n[n.length-1]:n[i]}return A(i)},this.icon=function(t){return d.include("chart.icon."+g.icon.type)[t]},this.text=function(e,n){return t.typeCheck("string",n)?n=j(this,n):t.typeCheck("undefined",n)&&(n=""),this.svg.text(e,n)},this.texts=function(e,n,i){for(var r=this.svg.group(),o=0;o<n.length;o++)if(t.typeCheck("string",n[o])){var a=(e["font-size"]||10)*(i||1);r.append(this.svg.text(t.extend({y:o*a},e,!0),j(this,n[o])))}return r},this.theme=function(t,e,n){if(0==arguments.length)return c;if(1==arguments.length)return t.indexOf("Color")>-1&&null!=c[t]?A(c[t]):c[t];if(3==arguments.length){var i=t?e:n;return i.indexOf("Color")>-1&&null!=c[i]?A(c[i]):c[i]}},this.format=function(){if(0!=arguments.length){var e=g.format;return t.typeCheck("function",e)?e.apply(this,arguments):arguments[0]}},this.on=function(e,n,i){t.typeCheck("string",e)&&t.typeCheck("function",n)&&
125(this.event.push({type:e.toLowerCase(),callback:n}),"render"!=i&&"renderAll"!=i||v[i].push(n))},this.render=function(t){this.svg.reset(t),C(this,t),w(this),this.options.canvas&&(Y(this,"main"),Y(this,"buffer"),t&&Y(this,"sub")),k(this),x(this),T(this),M(this,t),this.options.canvas&&_.main.drawImage(_.buffer.canvas,0,0),this.svg.root.css({"font-family":this.theme("fontFamily")+","+g.icon.type,background:this.theme("backgroundColor")}),this.svg.render(t),this.emit("render",[m]),m=!0},this.appendDefs=function(t){f.append(t)},this.addBrush=function(t){g.brush.push(t),this.isRender()&&this.render()},this.removeBrush=function(t){g.brush.splice(t,1),this.isRender()&&this.render()},this.updateBrush=function(e,n,i){!0===i?g.brush[e]=n:t.extend(g.brush[e],n),this.isRender()&&this.render()},this.addWidget=function(t){g.widget.push(t),this.isRender()&&this.render()},this.removeWidget=function(t){g.widget.splice(t,1),this.isRender()&&this.render()},this.updateWidget=function(e,n,i){!0===i?g.widget[e]=n:t.extend(g.widget[e],n),this.isRender()&&this.render()},this.setTheme=function(t){O(t),this.isRender()&&this.render(!0)},this.setSize=function(t,n){if(2==arguments.length&&(g.width=t,g.height=n),this.svg.size(g.width,g.height),g.canvas)for(var i=o.pixelRatio,r=e.find(this.root,"CANVAS"),a=I(this),s=0;s<r.length;s++)r[s].width=a.width*i,r[s].height=a.height*i,r[s].style.width=a.width+"px",r[s].style.height=a.height+"px";this.isRender()&&this.render(!0)},this.isFullSize=function(){return"100%"==g.width||g.height,!0},this.resize=function(){this.isFullSize()&&this.setSize(),this.isRender()||this.render(!0)},this.isRender=function(){return!m||g.render},this.setCache=function(t,e){y[t]=e},this.getCache=function(t,e){return void 0===y[t]?e:y[t]}};return a.setup=function(){return{width:"100%",height:"100%",padding:{top:50,bottom:50,left:50,right:50},theme:"classic",style:{},brush:[],widget:[],axis:[],bind:null,format:null,render:!0,icon:{type:"classic",path:null},canvas:!1}},a}},X={name:"chart.plane",extend:"core",component:function(){var t=d.include("util.base"),e=d.include("chart.builder"),n=function(){var n=null,i=[],r=[],o=[],a=0,s={},c={};this.init=function(){var e=this.options,n={type:"range",step:e.step,line:e.line};s.x=t.extend({domain:e.x},n),s.y=t.extend({domain:e.y},n),s.x.orient="bottom",s.y.orient="left",s.z=t.extend({domain:e.z},n),s.depth=e.depth-2*e.padding,s.degree={x:e.dx,y:e.dy,z:e.dz},s.perspective=e.perspective,c.extend=0,c.x={hide:!0},c.y={hide:!0},c.z={hide:!0},"2d"==e.dimension&&(s.perspective=1,s.degree.x=0,s.degree.y=0,s.degree.z=0,s.z.hideText=!0)},this.push=function(e){t.typeCheck("array",e)&&(i[a]||i.push(t.extend({},0==a?s:c)),i[a].data||(i[a].data=[]),i[a].data.push(e))},this.commit=function(t,e){var n=this.options;r.push({type:"canvas.dot3d",color:a,axis:a,symbol:t||n.symbol,size:2*(e||n.r)}),a++},this.append=function(e,n,o){var l=this.options;i.push(t.extend({},0==a?s:c)),i[a].data=e,r.push({type:"canvas.dot3d",color:a,axis:a,symbol:n||l.symbol,size:2*(o||l.r)}),a++},this.render=function(){var c=this.options;if("3d"==c.dimension&&o.push({type:"polygon.rotate3d"}),null!=n&&(n.root.innerHTML="",n=null),0==i.length&&i.push(s),n=e(this.root,{padding:c.padding,width:c.width,height:c.height,axis:i,brush:r,widget:o,canvas:!0,render:!1,style:{gridFaceBackgroundOpacity:.1}}),t.typeCheck("array",c.colors)){for(var l=[],u=0;u<c.colors.length;u++)l.push(n.color(c.colors[u]));n.setTheme({colors:l})}i=[],r=[],o=[],a=0,n.render()}};return n.setup=function(){return{dimension:"2d",width:500,height:500,depth:500,padding:50,x:[-100,100],y:[-100,100],z:[-100,100],step:4,line:!0,symbol:"dot",r:2,perspective:.9,dx:10,dy:5,dz:0,colors:null}},n}},q={name:"chart.animation",extend:"core",component:function(){var t=d.include("util.base"),e=d.include("chart.builder"),n=function(){var t=void 0,n=-1,i=0,r=0;this.init=function(){var n=this.options;if(t=n.interval,delete n.interval,n.axis.length&&n.axis.length>1)throw new Error("JUI_CRITICAL_ERR: the real-time module allows only a single axes");this.builder=e(this.selector,n)},this.run=function(e){var o=this,a=Date.now();if(0==r&&(r=a),a-i>t||0==t){var s=(a-i)/1e3;s>1&&(s=1),this.builder.setCache("tpf",s),this.builder.setCache("fps",1/s),"function"==typeof e&&e.call(this,a-r),this.render(),i=a}n=requestAnimationFrame((function(){o.run(e)}))},this.stop=function(){-1!=n&&(cancelAnimationFrame(n),n=-1)},this.set=function(t,e,n){this.builder.axis(0).set(t,e,n)},this.update=function(t){this.builder.axis(0).update(t)},this.render=function(t){this.builder.render(t)}};return n.setup=function(){return t.extend({render:!1,canvas:!0,interval:0},W.component().setup(),!0)},n}};d.use([F,b,f]);var G={name:"chart.polygon.core",extend:null,component:function(){var t=d.include("util.base"),e=d.include("chart.vector"),n=d.include("util.transform"),i=d.include("util.math"),r=function(){this.perspective=.9,this.rotate=function(r,o,a,s,c){var l=this.perspective,u=new n(this.vertices),d=u.matrix("move3d",a,s,c);d=i.matrix3d(d,u.matrix("rotate3dx",o.x)),d=i.matrix3d(d,u.matrix("rotate3dy",o.y)),d=i.matrix3d(d,u.matrix("rotate3dz",o.z)),d=i.matrix3d(d,u.matrix("move3d",-a,-s,-c)),this.vertices=u.custom(d);for(var h=0,f=this.vertices.length;h<f;h++){var p=Math.abs(this.vertices[h][2]-r),m=i.scaleValue(p,0,r,l,1),g=new n,v=g.matrix("move3d",a,s,r/2);v=i.matrix3d(v,g.matrix("scale3d",m,m,m)),v=i.matrix3d(v,g.matrix("move3d",-a,-s,-r/2)),this.vertices[h]=i.matrix3d(v,this.vertices[h]),t.typeCheck("array",this.vectors)&&(null==this.vectors[h]?this.vectors[h]=new e(this.vertices[h][0],this.vertices[h][1],this.vertices[h][2]):(this.vectors[h].x=this.vertices[h][0],this.vectors[h].y=this.vertices[h][1],this.vectors[h].z=this.vertices[h][2]))}},this.min=function(){for(var t={x:this.vertices[0][0],y:this.vertices[0][1],z:this.vertices[0][2]},e=1,n=this.vertices.length;e<n;e++)t.x=Math.min(t.x,this.vertices[e][0]),t.y=Math.min(t.y,this.vertices[e][1]),t.z=Math.min(t.z,this.vertices[e][2]);return t},this.max=function(){for(var t={x:this.vertices[0][0],y:this.vertices[0][1],z:this.vertices[0][2]},e=1,n=this.vertices.length;e<n;e++)t.x=Math.max(t.x,this.vertices[e][0]),t.y=Math.max(t.y,this.vertices[e][1]),t.z=Math.max(t.z,this.vertices[e][2]);return t}};return r}};d.use(G);var Z={name:"chart.polygon.grid",extend:"chart.polygon.core",component:function(){var t=function(t,e,n,i,r,o){r=r||0,o=o||0,e=r+e,n=o+n;var a={center:[new Float32Array([r,o,i,1]),new Float32Array([e,o,i,1]),new Float32Array([e,n,i,1]),new Float32Array([r,n,i,1])],horizontal:[new Float32Array([r,n,0,1]),new Float32Array([e,n,0,1]),new Float32Array([e,n,i,1]),new Float32Array([r,n,i,1])],vertical:[new Float32Array([e,o,0,1]),new Float32Array([e,n,0,1]),new Float32Array([e,n,i,1]),new Float32Array([e,o,i,1])]};this.vertices=a[t],this.vectors=[]};return t}};d.use(G);var J={name:"chart.polygon.line",extend:"chart.polygon.core",component:function(){var t=function(t,e,n,i,r,o){this.vertices=[new Float32Array([t,e,n,1]),new Float32Array([i,r,o,1])],this.vectors=[]};return t}};d.use(G);var K={name:"chart.polygon.point",extend:"chart.polygon.core",component:function(){var t=function(t,e,n){this.vertices=[new Float32Array([t,e,n,1])],this.vectors=[]};return t}};d.use(G);var Q={name:"chart.polygon.cube",extend:"chart.polygon.core",component:function(){var t=function(t,e,n,i,r,o){this.vertices=[new Float32Array([t,e,n,1]),new Float32Array([t+i,e,n,1]),new Float32Array([t+i,e,n+o,1]),new Float32Array([t,e,n+o,1]),new Float32Array([t,e+r,n,1]),new Float32Array([t+i,e+r,n,1]),new Float32Array([t+i,e+r,n+o,1]),new Float32Array([t,e+r,n+o,1])],this.faces=[[0,1,2,3],[3,2,6,7],[0,3,7,4],[1,2,6,5],[0,1,5,4],[4,5,6,7]],this.vectors=[]};return t}};d.use(H);var tt={name:"chart.grid.draw2d",extend:"chart.draw",component:function(){var t=d.include("util.base"),e=function(){this.createGridX=function(t,e,n,i,r){var o=this.getLineOption(),a=this.chart.svg.group().translate(n,0),s=this.chart.theme("gridTickBorderSize");return a.append(this.line({y2:"bottom"==t?s:-s,stroke:this.color(i,"gridActiveBorderColor","gridXAxisBorderColor"),"stroke-width":this.chart.theme("gridTickBorderWidth")})),o&&this.drawValueLine(t,a,i,o,e,r),a},this.createGridY=function(t,e,n,i,r){var o=this.getLineOption(),a=this.chart.svg.group().translate(0,n),s=this.chart.theme("gridTickBorderSize");
125return a.append(this.line({x2:"left"==t?-s:s,stroke:this.color(i,"gridActiveBorderColor","gridYAxisBorderColor"),"stroke-width":this.chart.theme("gridTickBorderWidth")})),o&&this.drawValueLine(t,a,i,o,e,r),a},this.fillRectObject=function(t,e,n,i,r,o,a){e.type.indexOf("gradient")>-1?t.append(this.chart.svg.rect({x:i,y:r,height:a,width:o,fill:this.chart.color(e.fill?e.fill:"linear("+n+") "+this.chart.theme("gridPatternColor")+",0.5 "+this.chart.theme("backgroundColor")),"fill-opacity":this.chart.theme("gridPatternOpacity")})):e.type.indexOf("rect")>-1&&t.append(this.chart.svg.rect({x:i,y:r,height:a,width:o,fill:this.chart.color(e.fill?e.fill:this.chart.theme("gridPatternColor")),"fill-opacity":this.chart.theme("gridPatternOpacity")}))},this.drawAxisLine=function(e,n,i){var r="top"==e||"bottom"==e;n.append(this.chart.svg.line(t.extend({x1:0,y1:0,x2:0,y2:0,stroke:this.color(r?"gridXAxisBorderColor":"gridYAxisBorderColor"),"stroke-width":this.chart.theme(r?"gridXAxisBorderWidth":"gridYAxisBorderWidth"),"stroke-opacity":1},i)))},this.drawPattern=function(t,e,n,i){if(!this.grid.hide&&t&&e&&n){var r=this.getLineOption(),o="left"==t||"right"==t,a=this.chart.svg.group();if(a.translate(this.axis.area("x")+this.chart.area("x"),this.axis.area("y")+this.chart.area("y")),r&&(r.type.indexOf("gradient")>-1||r.type.indexOf("rect")>-1))for(var s=0;s<n.length-1;s+=2){var c=Math.abs(n[s+1]-n[s]),l=n[s]-(i?c/2:0),u=o?0:l,d=o?l:0,h=o?this.axis.area("width"):c,f=o?c:this.axis.area("height");this.fillRectObject(a,r,t,u,d,h,f)}}},this.drawBaseLine=function(t,e){var n=this.getGridSize(),i={};"bottom"==t||"top"==t?i={x1:n.start,x2:n.end}:"left"!=t&&"right"!=t||(i={y1:n.start,y2:n.end}),this.drawAxisLine(t,e,i)},this.drawValueLine=function(e,n,i,r,o,a){var s={},c=!1;if("top"==e?(c=this.checkDrawLineY(o,a),s={x1:0,x2:0,y1:0,y2:this.axis.area("height")}):"bottom"==e?(c=this.checkDrawLineY(o,a),s={x1:0,x2:0,y1:0,y2:-this.axis.area("height")}):"left"==e?(c=this.checkDrawLineX(o,a),s={x1:0,x2:this.axis.area("width"),y1:0,y2:0}):"right"==e&&(c=this.checkDrawLineX(o,a),s={x1:0,x2:-this.axis.area("width"),y1:0,y2:0}),c){var l=this.line(t.extend({stroke:this.chart.theme(i,"gridActiveBorderColor","gridBorderColor"),"stroke-width":this.chart.theme(i,"gridActiveBorderWidth","gridBorderWidth")},s));if(r.type.indexOf("dashed")>-1){var u=this.chart.theme("gridBorderDashArray");l.attr({"stroke-dasharray":"none"!=u&&u?u:"3,3"})}n.append(l)}},this.drawValueText=function(t,e,n,i,r,o,a){this.grid.hideText||("top"==t?e.append(this.getTextRotate(this.chart.text({x:o,y:-(this.chart.theme("gridTickBorderSize")+2*this.chart.theme("gridTickPadding")),dy:this.chart.theme("gridXFontSize")/3,fill:this.chart.theme(a,"gridActiveFontColor","gridXFontColor"),"text-anchor":"middle","font-size":this.chart.theme("gridXFontSize"),"font-weight":this.chart.theme("gridXFontWeight")},r))):"bottom"==t?e.append(this.getTextRotate(this.chart.text({x:o,y:this.chart.theme("gridTickBorderSize")+2*this.chart.theme("gridTickPadding"),dy:this.chart.theme("gridXFontSize")/3,fill:this.chart.theme(a,"gridActiveFontColor","gridXFontColor"),"text-anchor":"middle","font-size":this.chart.theme("gridXFontSize"),"font-weight":this.chart.theme("gridXFontWeight")},r))):"left"==t?e.append(this.getTextRotate(this.chart.text({x:-this.chart.theme("gridTickBorderSize")-this.chart.theme("gridTickPadding"),y:o,dy:this.chart.theme("gridYFontSize")/3,fill:this.chart.theme(a,"gridActiveFontColor","gridYFontColor"),"text-anchor":"end","font-size":this.chart.theme("gridYFontSize"),"font-weight":this.chart.theme("gridYFontWeight")},r))):"right"==t&&e.append(this.getTextRotate(this.chart.text({x:this.chart.theme("gridTickBorderSize")+this.chart.theme("gridTickPadding"),y:o,dy:this.chart.theme("gridYFontSize")/3,fill:this.chart.theme(a,"gridActiveFontColor","gridYFontColor"),"text-anchor":"start","font-size":this.chart.theme("gridYFontSize"),"font-weight":this.chart.theme("gridYFontWeight")},r))))},this.drawImage=function(e,n,i,r,o,a){if(t.typeCheck("function",this.grid.image)){var s=this.grid.image.apply(this.chart,[i,r]);if(t.typeCheck("object",s)){var c=this.chart.svg.image({"xlink:href":s.uri,width:s.width,height:s.height});"top"==e||"bottom"==e?c.attr({x:"block"==this.grid.type?this.scale.rangeBand()/2-s.width/2:-s.width/2}):"left"!=e&&"right"!=e||c.attr({y:"block"==this.grid.type?this.scale.rangeBand()/2-s.height/2:-s.height/2}),"bottom"==e?c.attr({y:s.dist}):"top"==e?c.attr({y:-(s.dist+s.height)}):"left"==e?c.attr({x:-(s.dist+s.width)}):"right"==e&&c.attr({x:s.dist}),c.translate(o,a),n.append(c)}}}};return e}};d.use(H,Z,J,K);var et={name:"chart.grid.draw3d",extend:"chart.draw",component:function(){d.include("util.base");var t=d.include("chart.polygon.grid"),e=d.include("chart.polygon.line"),n=d.include("chart.polygon.point"),i=function(){this.createGridX=function(t,e,n,i,r){var o=this.getLineOption(),a=this.svg.group();return o&&this.drawValueLine(t,a,i,o,e,n,r),a},this.createGridY=function(t,e,n,i,r){var o=this.getLineOption(),a=this.svg.group();return o&&this.drawValueLine(t,a,i,o,e,n,r),a},this.drawCenter=function(t,e,n,i,r){var o=this.svg.group(),a=this.getLineOption();a&&this.drawValueLineCenter(o,e,a),this.drawValueTextCenter(o,e,n,i,r),t.append(o)},this.drawBaseLine=function(t,e){var n=this.svg.group();this.drawAxisLine(t,n),e.append(n)},this.drawAxisLine=function(e,n){var i="top"==e||"bottom"==e,r=i?"gridXAxisBorderColor":"gridYAxisBorderColor",o=i?"gridXAxisBorderWidth":"gridYAxisBorderWidth";"center"==e&&(r="gridZAxisBorderColor",o="gridZAxisBorderWidth");var a=this.svg.polygon({stroke:this.chart.theme(r),"stroke-width":this.chart.theme(o),"stroke-opacity":1,fill:this.chart.theme("gridFaceBackgroun
125dColor"),"fill-opacity":this.chart.theme("gridFaceBackgroundOpacity")}),s=null,c=this.axis.area("width"),l=this.axis.area("height"),u=this.axis.area("x"),d=this.axis.area("y"),h=this.axis.depth;"center"==e?s=new t("center",c,l,h,u,d):i?(l="bottom"==e?l:0,s=new t("horizontal",c,l,h,u,d)):(c="right"==e?c:0,s=new t("vertical",c,l,h,u,d)),this.calculate3d(s);for(var f=0;f<s.vectors.length;f++)a.point(s.vectors[f].x,s.vectors[f].y);"center"==e?!0!==this.axis.get("y").hide&&n.append(a):n.append(a)},this.drawValueLine=function(t,n,i,r,o,a,s){var c=!1,l=this.axis.area("width"),u=this.axis.area("height"),d=this.axis.area("x"),h=this.axis.area("y"),f=this.axis.depth,p=null,m=null;if("top"==t?(c=this.checkDrawLineY(o,s),p=new e(a,h,0,a,h,f),m=new e(a,h,f,a,h+u,f)):"bottom"==t?(c=this.checkDrawLineY(o,s),p=new e(a,h+u,0,a,h+u,f),m=new e(a,h+u,f,a,h,f)):"left"==t?(c=this.checkDrawLineX(o,s),p=new e(d,a,0,d,a,f),m=new e(d,a,f,d+l,a,f)):"right"==t&&(c=this.checkDrawLineX(o,s),p=new e(d+l,a,0,d+l,a,f),m=new e(d+l,a,f,d,a,f)),c){this.calculate3d(p,m);var g=this.line({stroke:this.chart.theme("gridBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth"),x1:p.vectors[0].x,y1:p.vectors[0].y,x2:p.vectors[1].x,y2:p.vectors[1].y}),v=this.line({stroke:this.chart.theme("gridBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth"),x1:m.vectors[0].x,y1:m.vectors[0].y,x2:m.vectors[1].x,y2:m.vectors[1].y});if(r.type.indexOf("dashed")>-1){var _=this.chart.theme("gridBorderDashArray"),y="none"!=_&&_?_:"3,3";g.attr({"stroke-dasharray":y}),v.attr({"stroke-dasharray":y})}n.append(g),!0!==this.axis.get("y").hide&&n.append(v)}},this.drawValueLineCenter=function(t,n,i){for(var r="block"!=this.grid.type?n.length-1:n.length,o=this.axis.area("width"),a=this.axis.area("height"),s=this.axis.area("x"),c=this.axis.area("y"),l=this.axis.depth,u="left"==this.axis.get("y").orient?0:o,d="top"==this.axis.get("x").orient?0:a,h=1;h<r;h++){var f=h*(l/r),p=new e(s,c+d,f,s+o,c+d,f),m=new e(s+u,c,f,s+u,c+a,f);this.calculate3d(p,m);var g=this.line({stroke:this.chart.theme("gridBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth"),x1:p.vectors[0].x,y1:p.vectors[0].y,x2:p.vectors[1].x,y2:p.vectors[1].y}),v=this.line({stroke:this.chart.theme("gridBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth"),x1:m.vectors[0].x,y1:m.vectors[0].y,x2:m.vectors[1].x,y2:m.vectors[1].y});if(i.type.indexOf("dashed")>-1){var _=this.chart.theme("gridBorderDashArray"),y="none"!=_&&_?_:"3,3";g.attr({"stroke-dasharray":y}),v.attr({"stroke-dasharray":y})}t.append(g),!0!==this.axis.get("y").hide&&t.append(v)}},this.drawValueText=function(t,e,i,r,o){if(!this.grid.hideText){var a="left"==t||"right"==t,s=this.chart.theme("gridTickBorderSize"),c=this.chart.theme("gridTickPadding"),l=this.axis.area("width"),u=this.axis.area("height"),d=this.axis.area("x"),h=this.axis.area("y"),f=0,p=0;"top"==t?(f=r,p=h+-(s+2*c)):"bottom"==t?(f=r,p=h+(u+s+2*c)):"left"==t?(f=d+-(s+c),p=r):"right"==t&&(f=d+(l+s+c),p=r);var m=new n(f,p,0);this.calculate3d(m),e.append(this.getTextRotate(this.chart.text({x:m.vectors[0].x,y:m.vectors[0].y,dx:a?0:this.chart.theme("gridXFontSize")/3,dy:a?this.chart.theme("gridYFontSize")/3:0,fill:this.chart.theme(a?"gridYFontColor":"gridXFontColor"),"text-anchor":a?"left"==t?"end":"start":"middle","font-size":this.chart.theme(a?"gridYFontSize":"gridXFontSize"),"font-weight":this.chart.theme(a?"gridYFontWeight":"gridXFontWeight")},o)))}},this.drawValueTextCenter=function(t,e,i,r,o){if(!this.grid.hideText)for(var a=this.chart.theme("gridTickBorderSize")+this.chart.theme("gridTickPadding"),s="left"==this.axis.get("y").orient,c="top"==this.axis.get("x").orient,l="block"!=this.grid.type?e.length-1:e.length,u=this.axis.area("width"),d=this.axis.area("height"),h=this.axis.depth,f=this.axis.area("x")+(s?u+a:-a),p=this.axis.area("y")+(c?-a:d+a),m=0;m<e.length;m++){var g=this.format(e[m],m),v=m*(h/l)+o,_=new n(f,p,v);this.calculate3d(_),t.append(this.getTextRotate(this.chart.text({x:_.vectors[0].x,y:_.vectors[0].y,fill:this.chart.theme("gridZFontColor"),"text-anchor":s?"start":"end","font-size":this.chart.theme("gridZFontSize"),"font-weight":this.chart.theme("gridZFontWeight")},g)))}},this.drawPattern=function(){},this.drawImage=function(){}};return i}};d.use([f,H,tt,et]);var nt={name:"chart.grid.core",extend:"chart.draw",component:function(){var t=d.include("util.base"),e=d.include("util.math"),n=d.include("chart.grid.draw2d"),i=d.include("chart.grid.draw3d"),o=function(){this.wrapper=function(t,e){return t},this.line=function(e){return this.chart.svg.line(t.extend({x1:0,y1:0,x2:0,y2:0,stroke:this.color("gridBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth"),"stroke-dasharray":this.chart.theme("gridBorderDashArray"),"stroke-opacity":this.chart.theme("gridBorderOpacity")},e))},this.color=function(t){var e=this.grid.color;return 3==arguments.length?null!=e?this.chart.color(e):this.chart.theme.apply(this.chart,arguments):null!=e?this.chart.color(e):this.chart.theme(t)},this.data=function(t,e){return this.axis.data&&this.axis.data[t]?this.axis.data[t][e]||this.axis.data[t]:this.axis.data||[]},this.getGridSize=function(){var t=this.grid.orient,n=this.axis.depth,i=this.axis.degree,r="left"==t||"right"==t?this.axis.area("y"):this.axis.area("x"),o="left"==t||"right"==t?this.axis.area("height"):this.axis.area("width"),a=r,s=o,c=a+s,l={start:a,size:s,end:c};if(this.axis.isFull3D())"center"==t&&(l.start=0,l.size=n,l.end=n);else if(n>0||i>0){var u=e.radian(360-i),d=Math.cos(u)*n,h=Math.sin(u)*n;"left"==t?(l.start=l.start-h,l.size=l.size-h):"bottom"==t&&(l.end=l.end-d,l.size=l.size-d)}return l},this.getDefaultOffset=function(){var t=this.grid.orient,e=this.axis.area(),n=e.width,i=e.he
125ight,r="left"==t||"right"==t?e.y:e.x,o="left"==t||"right"==t?i:n,a=r,s=o,c=a+s;return{start:a,size:s,end:c}},this.getTextRotate=function(e){var n=this.grid.textRotate;if(null==n)return e;t.typeCheck("function",n)&&(n=n.apply(this.chart,[e]));var i=e.attr("x"),r=e.attr("y");return e.rotate(n,i,r),e},this.getLineOption=function(){var t=this.grid.line;return"string"===typeof t?t={type:t||"solid"}:"number"===typeof t?t={type:"solid","stroke-width":t}:"object"!==("undefined"===typeof t?"undefined":r(t))&&(t=!!t,t&&(t={type:"solid"})),t&&"string"==!t.type&&(t.type=t.type.split(/ /g)),t},this.checkDrawLineY=function(t,e){var n=this.axis.get("y");if(!n.hide){if("left"==n.orient&&0==t&&!this.grid.realtime)return!1;if("right"==n.orient&&e)return!1}return!0},this.checkDrawLineX=function(t,e){var n=this.axis.get("x");if(!n.hide){if("top"==n.orient&&0==t)return!1;if("bottom"==n.orient&&e&&!this.grid.realtime)return!1}return!0},this.drawTop=function(e,n,i,r,o){for(var a=0,s=n.length;a<s;a++){var c=this.format(n[a],a),l=i[a]-o,u=a==s-1&&"block"!=this.grid.type,d=!1;if(this.drawImage("top",e,n[a],a,l,0),c||0===c){t.typeCheck("function",r)&&(d=r(n[a]));var h=this.createGridX("top",a,l,d,u);this.drawValueText("top",h,a,i[a],c,o,d),e.append(h)}}},this.drawBottom=function(e,n,i,r,o){for(var a=0,s=n.length;a<s;a++){var c=this.format(n[a],a),l=i[a]-o,u=a==s-1&&"block"!=this.grid.type,d=!1;if(this.drawImage("bottom",e,n[a],a,l,0),c||0===c){t.typeCheck("function",r)&&(d=r(n[a]));var h=this.createGridX("bottom",a,l,d,u);this.drawValueText("bottom",h,a,i[a],c,o,d),e.append(h)}}},this.drawLeft=function(e,n,i,r,o){for(var a=0,s=n.length;a<s;a++){var c=this.format(n[a],a),l=i[a]-o,u=a==s-1&&"block"!=this.grid.type,d=!1;if(this.drawImage("left",e,n[a],a,0,l),c||0===c){t.typeCheck("function",r)&&(d=r(n[a]));var h=this.createGridY("left",a,l,d,u);this.drawValueText("left",h,a,i[a],c,o,d),e.append(h)}}},this.drawRight=function(e,n,i,r,o){for(var a=0,s=n.length;a<s;a++){var c=this.format(n[a],a),l=i[a]-o,u=a==s-1&&"block"!=this.grid.type,d=!1;if(this.drawImage("right",e,n[a],a,0,l),c||0===c){t.typeCheck("function",r)&&(d=r(n[a]));var h=this.createGridY("right",a,l,d,u);this.drawValueText("right",h,a,i[a],c,o,d),e.append(h)}}},this.drawGrid=function(){var e=this.chart.svg.group(),r=this[this.grid.orient],o=this.axis.isFull3D()?i:n;return this.scale=this.wrapper(this.scale,this.grid.key),t.typeCheck("function",r)&&(o.call(this),r.call(this,e)),this.grid.hide&&e.attr({display:"none"}),{root:e,scale:this.scale}},this.drawAfter=function(t){t.root.attr({class:"grid-"+this.grid.type}),t.root.translate(this.chart.area("x"),this.chart.area("y"))}};return o.setup=function(){return{dist:0,orient:null,hide:!1,color:null,title:null,line:!1,format:null,image:null,textRotate:null}},o}},it={name:"chart.grid.block",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.scale"),n=function(){this.center=function(t){this.drawCenter(t,this.domain,this.points,null,this.half_band),this.drawBaseLine("center",t)},this.top=function(t){this.drawPattern("top",this.domain,this.points,!0),this.drawTop(t,this.domain,this.points,null,this.half_band),this.drawBaseLine("top",t),t.append(this.createGridX("top",this.domain.length,this.end,null,!0))},this.bottom=function(t){this.drawPattern("bottom",this.domain,this.points,!0),this.drawBottom(t,this.domain,this.points,null,this.half_band),this.drawBaseLine("bottom",t),t.append(this.createGridX("bottom",this.domain.length,this.end,null,!0))},this.left=function(t){this.drawPattern("left",this.domain,this.points,!0),this.drawLeft(t,this.domain,this.points,null,this.half_band),this.drawBaseLine("left",t),t.append(this.createGridY("left",this.domain.length,this.end,null,!0))},this.right=function(t){this.drawPattern("right",this.domain,this.points,!0),this.drawRight(t,this.domain,this.points,null,this.half_band),this.drawBaseLine("right",t),t.append(this.createGridY("right",this.domain.length,this.end,null,!0))},this.initDomain=function(){var e=[];if(t.typeCheck("string",this.grid.domain)){var n=this.grid.domain,i=this.data();if(this.grid.reverse)var r=i.length-1,o=0,a=-1;else r=0,o=i.length-1,a=1;for(var s=r;this.grid.reverse?s>=o:s<=o;s+=a)e.push(i[s][n])}else t.typeCheck("function",this.grid.domain)?e=this.grid.domain.call(this.chart):t.typeCheck("array",this.grid.domain)&&(e=this.grid.domain);return this.grid.reverse&&e.reverse(),e},this.wrapper=function(e,n){var i=e,r=this,o=r.domain.length,a=r.grid.reverse;function s(t){return i("number"==typeof t&&n?r.axis.data[t][n]:a?o-t-1:t)}return n?t.extend(s,i):i},this.drawBefore=function(){var t=this.initDomain(),n=this.getGridSize(),i=[n.start,n.end];this.scale=e.ordinal().domain(t),this.scale.rangePoints(i),this.start=n.start,this.size=n.size,this.end=n.end,this.points=this.scale.range(),this.domain=this.scale.domain(),this.band=this.scale.rangeBand(),this.half_band=this.band/2,this.bar=6,this.reverse=this.grid.reverse}
125,this.draw=function(){return this.drawGrid("block")}};return n.setup=function(){return{domain:null,reverse:!1,max:10,hideText:!1,key:null}},n}},rt={name:"chart.grid.date",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.scale"),n=d.include("util.time"),i=function(){this.center=function(t){this.drawCenter(t,this.ticks,this.values,null,0),this.drawBaseLine("center",t)},this.top=function(t){this.drawPattern("top",this.ticks,this.values),this.drawTop(t,this.ticks,this.values,null,0),this.drawBaseLine("top",t)},this.bottom=function(t){this.drawPattern("bottom",this.ticks,this.values),this.drawBottom(t,this.ticks,this.values,null,0),this.drawBaseLine("bottom",t)},this.left=function(t){this.drawPattern("left",this.ticks,this.values),this.drawLeft(t,this.ticks,this.values,null,0),this.drawBaseLine("left",t)},this.right=function(t){this.drawPattern("right",this.ticks,this.values),this.drawRight(t,this.ticks,this.values,null,0),this.drawBaseLine("right",t)},this.wrapper=function(e,n){var i=e,r=this;function o(t){return i("number"==typeof t?r.axis.data[t][n]:+t)}return n?t.extend(o,i):i},this.initDomain=function(){var e=[],n=[],i=this.grid.min||void 0,r=this.grid.max||void 0,o=this.data(),a=[];if(t.typeCheck("string",this.grid.domain)){if(o.length>0){var s=this.grid.domain;a.push(+o[0][s]),a.push(+o[o.length-1][s])}}else if(t.typeCheck("function",this.grid.domain)){var c=o.length;while(c--){var l=this.grid.domain.call(this.chart,o[c]);t.typeCheck("array",l)?(a[c]=Math.max.apply(Math,l),a.push(Math.min.apply(Math,l))):a[c]=l}}else a=this.grid.domain;return t.typeCheck("undefined",i)&&a.length>0&&(i=Math.min.apply(Math,a)),t.typeCheck("undefined",r)&&a.length>0&&(r=Math.max.apply(Math,a)),e=[i,r],n=this.grid.interval,this.grid.reverse&&e.reverse(),t.typeCheck("function",n)?this.interval=n.call(this.chart,e):this.interval=n,e},this.drawBefore=function(){var t=this.initDomain(),i=this.getGridSize(),r=[i.start,i.end];if(this.scale=e.time().domain(t).range(r),this.scale.clamp(this.grid.clamp),this.ticks=[],null!=this.grid.realtime&&n[this.grid.realtime]==this.grid.realtime)var o=this.scale.realTicks(this.grid.realtime,this.interval);else o=this.scale.ticks("milliseconds",this.interval);"string"==typeof this.grid.format&&function(t,e){t.format=function(t){return n.format(t,e)}}(this.grid,this.grid.format),this.start=i.start,this.size=i.size,this.end=i.end,this.bar=6,this.values=[];for(var a=0,s=o.length;a<s;a++){var c=this.scale(o[a]);c>=i.start&&c<=i.end&&(this.values.push(c),this.ticks.push(o[a]))}},this.draw=function(){return this.drawGrid("date")}};return i.setup=function(){return{domain:null,interval:1e3,min:null,max:null,reverse:!1,key:null,realtime:null,hideText:!1}},i}},ot={name:"chart.grid.dateblock",extend:"chart.grid.date",component:function(){var t=d.include("util.base"),e=d.include("util.scale"),n=d.include("util.time"),i=function(){this.wrapper=function(t,e){var n=t,i=this;return n.rangeBand=function(){return i.grid.unit},n},this.initDomain=function(){var e=[],n=[],i=this.grid.min||void 0,r=this.grid.max||void 0,o=this.data(),a=[];if(t.typeCheck("string",this.grid.domain)){var s=this.grid.domain;a.push(+o[0][s]),a.push(+o[o.length-1][s])}else if(t.typeCheck("function",this.grid.domain)){var c=o.length;while(c--){var l=this.grid.domain.call(this.chart,o[c]);t.typeCheck("array",l)?(a[c]=+Math.max.apply(Math,l),a.push(+Math.min.apply(Math,l))):a[c]=+l}}else a=this.grid.domain;return t.typeCheck("undefined",i)&&(i=Math.min.apply(Math,a)),t.typeCheck("undefined",r)&&(r=Math.max.apply(Math,a)),e=[i,r],n=this.grid.interval,this.grid.reverse&&e.reverse(),t.typeCheck("function",n)?e.interval=n.call(this.chart,e):e.interval=n,e},this.drawBefore=function(){var i=this.initDomain(),r=this.getGridSize(),o=[r.start,r.end],a=e.time().domain(i).rangeRound(o);null!=this.grid.realtime&&n[this.grid.realtime]==this.grid.realtime?this.ticks=a.realTicks(this.grid.realtime,i.interval):this.ticks=a.ticks("milliseconds",i.interval);var s=this.axis.data.length-1,c=this.grid.unit=Math.abs(o[0]-o[1])/s;"string"==typeof this.grid.format&&function(t,e){t.format=function(t){return n.format(t,e)}}(this.grid,this.grid.format),this.start=r.start,this.size=r.size,this.end=r.end,this.bar=6,this.values=[];var l=0;for(s=this.ticks.length;l<s;l++)this.values[l]=a(this.ticks[l]);var u=this;this.scale=t.extend((function(t){return u.start+t*c}),a)}
125,this.draw=function(){return this.drawGrid("dateblock")}};return i}},at={name:"chart.grid.fullblock",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.scale"),n=function(){this.center=function(t){this.drawCenter(t,this.domain,this.points,null,0),this.drawBaseLine("center",t)},this.top=function(t){this.drawPattern("top",this.domain,this.points),this.drawTop(t,this.domain,this.points,null,0),this.drawBaseLine("top",t)},this.bottom=function(t){this.drawPattern("bottom",this.domain,this.points),this.drawBottom(t,this.domain,this.points,null,0),this.drawBaseLine("bottom",t)},this.left=function(t){this.drawPattern("left",this.domain,this.points),this.drawLeft(t,this.domain,this.points,null,0),this.drawBaseLine("left",t)},this.right=function(t){this.drawPattern("right",this.domain,this.points),this.drawRight(t,this.domain,this.points,null,0),this.drawBaseLine("right",t)},this.initDomain=function(){var e=[];if(t.typeCheck("string",this.grid.domain)){var n=this.grid.domain,i=this.data();if(this.grid.reverse)var r=i.length-1,o=0,a=-1;else r=0,o=i.length-1,a=1;for(var s=r;this.grid.reverse?s>=o:s<=o;s+=a)e.push(i[s][n])}else t.typeCheck("function",this.grid.domain)?e=this.grid.domain.call(this.chart):t.typeCheck("array",this.grid.domain)&&(e=this.grid.domain);return this.grid.reverse&&e.reverse(),e},this.wrapper=function(e,n){var i=e,r=this,o=r.domain.length,a=r.grid.reverse;function s(t){return i("number"==typeof t&&n?r.axis.data[t][n]:a?o-t:t)}return n?t.extend(s,i):i},this.drawBefore=function(){var t=this.initDomain(),n=this.getGridSize();this.scale=e.ordinal().domain(t);var i=[n.start,n.end];this.scale.rangeBands(i),this.start=n.start,this.size=n.size,this.end=n.end,this.points=this.scale.range(),this.domain=this.scale.domain(),this.band=this.scale.rangeBand(),this.half_band=0,this.bar=6,this.reverse=this.grid.reverse},this.draw=function(){return this.drawGrid("fullblock")}};return n.setup=function(){return{domain:null,reverse:!1,max:10,hideText:!1}},n}};d.use([f]);var st={name:"chart.grid.radar",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.math"),n=function(){var n=this,i=[];function r(t,e,i,r,o,a){var s=Math.abs(o),c=e,l=i;t.append(n.chart.svg.circle({cx:c,cy:l,r:s,"fill-opacity":0,stroke:n.color("gridBorderColor"),"stroke-width":n.chart.theme("gridBorderWidth")}))}function o(t,i,r,o,a,s,c){var l=n.chart.svg.group(),u=[];u.push([i+o,r+a]);for(var d=o,h=a,f=0;f<s;f++){var p=e.rotate(d,h,c);d=p.x,h=p.y,u.push([i+p.x,r+p.y])}var m=n.chart.svg.path({fill:"none",stroke:n.color("gridBorderColor"),"stroke-width":n.chart.theme("gridBorderWidth")});for(f=0;f<u.length;f++){var g=u[f];0==f?m.MoveTo(g[0],g[1]):m.LineTo(g[0],g[1])}m.LineTo(u[0][0],u[0][1]),l.append(m),t.append(l)}function a(t){var i=n.grid.max,r=n.chart.padding("left"),o=n.chart.padding("top");return function(a,s){var c=s/i,l=Math.abs(t.y1)-Math.abs(t.y2),u=l*c,d=2*Math.PI/n.domain.length,h=t.x1,f=t.y1,p=-u,m=0,g=e.rotate(m,p,d*a),v={x:r+h+g.x,y:o+f+g.y};return v}}this.initDomain=function(){var e=[];if(t.typeCheck("string",this.grid.domain)){var n=this.grid.domain,i=this.data();if(this.grid.reverse)var r=i.length-1,o=0,a=-1;else r=0,o=i.length-1,a=1;for(var s=r;this.grid.reverse?s>=o:s<=o;s+=a)e.push(i[s][n])}else e=t.typeCheck("function",this.grid.domain)?this.grid.domain(this.chart,this.grid):this.grid.domain;return this.grid.reverse&&e.reverse(),e},this.drawBefore=function(){this.domain=this.initDomain()},this.draw=function(){var t=this.axis.area("width"),n=this.axis.area("height"),s=t;n<s&&(s=n);var c=s/2,l=this.axis.area("x")+t/2,u=this.axis.area("y")+n/2,d=-c,h=0,f=this.domain.length,p=this.grid.step,m=2*Math.PI/f,g=Math.abs(d)/p,v=this.chart.svg.group(),_=this.chart.svg.group();v.append(_),i=[];for(var y=0;y<f;y++){var b=l+h,w=u+d;_.append(this.chart.svg.line({x1:l,y1:u,x2:b,y2:w,stroke:this.color("gridAxisBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth")})),i[y]={x1:l,y1:u,x2:b,y2:w};var k=w,x=b,T="middle";w>u?k=w+20:w<u&&(k=w-10),b>l?(T="start",x+=10):b<l&&(T="end",x-=10),this.grid.hideText||_.append(this.chart.text({x:x,y:k,"text-anchor":T,"font-size":this.chart.theme("gridCFontSize"),"font-weight":this.chart.theme("gridCFontWeight"),fill:this.chart.theme("gridCFontColor")},this.domain[y]));var M=e.rotate(h,d,m);h=M.x,d=M.y}if(!this.grid.line)return{root:_,scale:a(i[0])};d=-c;var S=0,C=this.grid.max/this.grid.step;for(y=0;y<p;y++)0==y&&this.grid.extra?d+=g:("circle"==this.grid.shape?r(_,l,u,0,d,f):o(_,l,u,0,d,f,m),this.grid.hideText||_.append(this.chart.text({x:l,y:u+(d+g-5),"font-size":this.chart.theme("gridCFontSize"),"font-weight":this.chart.theme("gridCFontWeight"),fill:this.chart.theme("gridCFontColor")},this.grid.max-S+"")),d+=g,S+=C);return this.grid.hide&&_.attr({display:"none"}),{root:_,scale:a(i[0])}}};return n.setup=function(){return{domain:null,reverse:!1,max:100,step:10,line:!0,hideText:!1,extra:!1,shape:"radial"}},n}};d.use([f,B]);var ct={name:"chart.grid.range",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.math"),n=d.include("util.scale"),i=function(){this.center=function(t){var e=this.scale.min(),n=this.scale.max();this.drawCenter(t,this.ticks,this.values,(function(t){return 0==t&&t!=e&&t!=n}),0),this.drawBaseLine("center",t)},this.top=function(t){this.drawPattern("top",this.ticks,this.values);var e=this.scale.min(),n=this.scale.max();this.drawTop(t,this.ticks,this.values,(function(t){return 0==t&&t!=e&&t!=n}),0),this.drawBaseLine("top",t)},this.bottom=function(t){this.drawPattern("bottom",this.ticks,this.values);var e=this.scale.min(),n=this.scale.max();this.drawBottom(t,this.ticks,this.values,(function(t){return 0==t&&t!=e&&t!=n}),0),this.drawBaseLine("bottom",t)},this.left=function(t){this.drawPattern("left",this.ticks,this.values);var e=this.scale.min(),n=this.scale.max();this.drawLeft(t,this.ticks,this.values,(function(t){return 0==t&&t!=e&&t!=n}),0),this.drawBaseLine("left",t)},this.right=function(t){this.drawPattern("right",this.ticks,this.values);var e=this.scale.min(),n=this.scale.max();this.drawRight(t,this.ticks,this.values,(function(t){return 0==t&&t!=e&&t!=n}),0),this.drawBaseLine("right",t)},this.wrapper=function(e,n){var i=e,r=this;function o(t){return i(r.axis.data[t][n])}return n?t.extend(o,i):i},this.initDomain=function(){var n=[],i=this.grid.min||void 0,r=this.grid.max||void 0,o=this.data(),a=[],s=!1;if(t.typeCheck("string",this.grid.domain)){var c=this.grid.domain;a=new Array(o.length);var l=o.length;while(l--){var u=o[l][c];t.typeCheck("array",u)?(a[l]=Math.max(u),a.push(Math.min(u))):(a[l]=u,a.push(0))}}else if(t.typeCheck("function",this.grid.domain)){a=new Array(o.length);var d=!1;l=o.length;while(l--){u=this.grid.domain.call(this.chart,o[l]);t.typeCheck("array",u)?(a[l]=Math.max.apply(Math,u),a.push(Math.min.apply(Math,u))):(a[l]=u,d||(a.push(0),d=!0))}}else a=this.grid.domain,s=!0;var h,f=Math.min.apply(Math,a),p=Math.max.apply(Math,a);if(s?(i=f,r=p):(("undefined"==typeof i||i>f)&&(i=f),("undefined"==typeof r||r<p)&&(r=p)),t.typeCheck("function",this.grid.unit)?h=this.grid.unit.call(this.chart,this.grid):t.typeCheck("number",this.grid.unit)?h=this.grid.unit:(i>0&&(i=Math.floor(i)),h=e.div(r-i,this.grid.step),h>1?h=Math.ceil(h):0<h&&h<1&&(h=e.div(Math.ceil(e.multi(h,10)),10))),0==h)n=[0,0];else{var m=0,g=e.fixed(h);while(m<r)m=g.plus(m,h);var v=m;while(v>i)v=g.minus(v,h);n=[v,m],n.step=Math.abs(v-m)/h}return this.grid.reverse&&n.reverse(),n},this.drawBefore=function(){var t=this.initDomain(),e=this.getGridSize();if(this.scale=n.linear().domain(t),"left"==this.grid.orient||"right"==this.grid.orient)var i=[e.end,e.start];else i=[e.start,e.end];this.scale.range(i),this.scale.clamp(this.grid.clamp),this.start=e.start,this.size=e.size,this.end=e.end,this.step=t.step,this.nice=this.grid.nice,this.ticks=this.scale.ticks(this.step,this.nice),"left"!=this.grid.orient&&"right"!=this.grid.orient||this.ticks.reverse(),this.bar=6,this.values=[];for(var r=0,o=this.ticks.length;r<o;r++)this.values[r]=this.scale(this.ticks[r])}
125,this.draw=function(){return this.drawGrid("range")}};return i.setup=function(){return{domain:null,step:10,min:0,max:0,unit:null,clamp:!0,reverse:!1,key:null,hideText:!1,nice:!1}},i}},lt={name:"chart.grid.log",extend:"chart.grid.range",component:function(){var t=d.include("util.scale"),e=function(){this.drawBefore=function(){this.grid.unit=!1;var e=this.initDomain(),n=this.getGridSize();if(this.scale=t.log(this.grid.base).domain(e),"left"==this.grid.orient||"right"==this.grid.orient)var i=[n.end,n.start];else i=[n.start,n.end];this.scale.range(i),this.start=n.start,this.size=n.size,this.end=n.end,this.step=this.grid.step,this.nice=this.grid.nice,this.ticks=this.scale.ticks(this.step,this.nice),"left"!=this.grid.orient&&"right"!=this.grid.orient||this.ticks.reverse(),this.bar=6,this.values=[];for(var r=0,o=this.ticks.length;r<o;r++)this.values[r]=this.scale(this.ticks[r])},this.draw=function(){return this.drawGrid("log")}};return e.setup=function(){return{base:10,step:4,nice:!1,hideText:!1}},e}},ut={name:"chart.grid.rule",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.scale"),n=function(){this.top=function(t){var e=this.axis.area("height"),n=e/2;t.append(this.axisLine({y1:this.center?n:0,y2:this.center?n:0,x1:this.start,x2:this.end}));for(var i=this.ticks,r=this.values,o=this.bar,a=0;a<i.length;a++){var s=this.format(i[a],a);if(s||0===s){var c=0==i[a],l=this.chart.svg.group().translate(r[a],this.center?n:0);l.append(this.line({y1:this.center?-o:0,y2:o,stroke:this.color("gridAxisBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth")})),(!c||c&&!this.hideZero)&&l.append(this.getTextRotate(this.chart.text({x:0,y:o+o+4,"text-anchor":"middle",fill:this.chart.theme("gridFontColor")},s))),t.append(l)}}},this.bottom=function(t){var e=this.axis.area("height"),n=e/2;t.append(this.axisLine({y1:this.center?-n:0,y2:this.center?-n:0,x1:this.start,x2:this.end}));for(var i=this.ticks,r=this.values,o=this.bar,a=0;a<i.length;a++){var s=this.format(i[a],a);if(s||0===s){var c=0==i[a],l=this.chart.svg.group().translate(r[a],this.center?-n:0);l.append(this.line({y1:this.center?-o:0,y2:this.center?o:-o,stroke:this.color("gridAxisBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth")})),(!c||c&&!this.hideZero)&&l.append(this.getTextRotate(this.chart.text({x:0,y:2*-o,"text-anchor":"middle",fill:this.chart.theme(c,"gridActiveFontColor","gridFontColor")},s))),t.append(l)}}},this.left=function(t){var e=this.axis.area("width"),n=(this.axis.area("height"),e/2);t.append(this.axisLine({x1:this.center?n:0,x2:this.center?n:0,y1:this.start,y2:this.end}));for(var i=this.ticks,r=this.values,o=this.bar,a=0;a<i.length;a++){var s=this.format(i[a],a);if(s||0===s){var c=0==i[a],l=this.chart.svg.group().translate(this.center?n:0,r[a]);l.append(this.line({x1:this.center?-o:0,x2:o,stroke:this.color("gridAxisBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth")})),(!c||c&&!this.hideZero)&&l.append(this.getTextRotate(this.chart.text({x:o/2+4,y:o-2,fill:this.chart.theme("gridFontColor")},s))),t.append(l)}}},this.right=function(t){var e=this.axis.area("width"),n=e/2;t.append(this.axisLine({x1:this.center?-n:0,x2:this.center?-n:0,y1:this.start,y2:this.end}));for(var i=this.ticks,r=this.values,o=this.bar,a=0;a<i.length;a++){var s=this.format(i[a],a);if(s||0===s){var c=0==i[a],l=this.chart.svg.group().translate(this.center?-n:0,r[a]);l.append(this.line({x1:this.center?-o:0,x2:this.center?o:-o,stroke:this.color("gridAxisBorderColor"),"stroke-width":this.chart.theme("gridBorderWidth")})),(!c||c&&!this.hideZero)&&l.append(this.getTextRotate(this.chart.text({x:-o-4,y:o-2,"text-anchor":"end",fill:this.chart.theme("gridFontColor")},s))),t.append(l)}}},this.wrapper=function(e,n){var i=e,r=this;function o(t){return i(r.axis.data[t][n])}return n?t.extend(o,i):i},this.initDomain=function(){var e=[],n=this.grid.min||void 0,i=this.grid.max||void 0,r=this.data(),o=[];if(t.typeCheck("string",this.grid.domain)){var a=this.grid.domain;o=new Array(r.length);for(var s=0,c=r.length;s<c;s++){var l=r[s][a];t.typeCheck("array",l)?(o[s]=Math.max(l),o.push(Math.min(l))):o[s]=l}}else if(t.typeCheck("function",this.grid.domain)){o=new Array(r.length);for(s=0,c=r.length;s<c;s++){l=this.grid.domain.call(this.chart,r[s]);t.typeCheck("array",l)?(o[s]=Math.max.apply(Math,l),o.push(Math.min.apply(Math,l))):o[s]=l}}else o=grid.domain;var u,d=Math.min.apply(Math,o),h=Math.max.apply(Math,o);if("undefined"==typeof n&&(n=d),"undefined"==typeof i&&(i=h),this.grid.max=i,this.grid.min=n,u=t.typeCheck("function",this.grid.unit)?this.grid.unit.call(this.chart,this.grid):t.typeCheck("number",this.grid.unit)?this.grid.unit:Math.ceil((i-n)/this.grid.step),0==u)e=[0,0];else{var f=0;while(f<i)f+=u;var p=f;while(p>n)p-=u;e=[p,f]}return this.grid.reverse&&e.reverse(),e},this.drawBefore=function(){var t=this.initDomain(),n=this.getGridSize();if(this.scale=e.linear().domain(t),"left"==this.grid.orient||"right"==this.grid.orient)var i=[n.end,n.start];else i=[n.start,n.end];this.scale.range(i),this.start=n.start,this.size=n.size,this.end=n.end,this.step=this.grid.step,this.nice=this.grid.nice,this.ticks=this.scale.ticks(this.step,this.nice),this.bar=6,this.hideZero=this.grid.hideZero,this.center=this.grid.center,this.values=[];for(var r=0,o=this.ticks.length;r<o;r++)this.values[r]=this.scale(this.ticks[r])}
125,this.draw=function(){return this.drawGrid(chart,orient,"rule",grid)}};return n.setup=function(){return{domain:null,step:10,min:0,max:0,unit:null,clamp:!0,reverse:!1,key:null,hideText:!1,hideZero:!1,nice:!1,center:!1}},n}},dt={name:"chart.grid.panel",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=function(){this.custom=function(e){var n=this.scale(0);n.x-=this.axis.area("x"),n.y-=this.axis.area("y"),e.append(this.chart.svg.rect(t.extend(n,{fill:"transparent",stroke:"transparent"})))},this.drawBefore=function(){this.scale=function(t){return function(e){return{x:t.area("x"),y:t.area("y"),width:t.area("width"),height:t.area("height")}}}(this.axis)},this.draw=function(){return this.grid.hide=!0,this.drawGrid("panel")}};return e}},ht={name:"chart.grid.table",extend:"chart.grid.core",component:function(){var t=function(t,e,n){var i,r;this.custom=function(t){for(var e=0;e<i;e++)for(var n=0;n<r;n++){var o=e*r+n,a=this.scale(o);a.x-=this.axis.area("x"),a.y-=this.axis.area("y");this.chart.svg.rect(_.extend(a,{fill:"tranparent",stroke:"black"}))}},this.drawBefore=function(){var t=this.grid.rows,e=this.grid.columns,n=this.grid.padding,i=(this.axis.area("width")-(e-1)*n)/e,r=(this.axis.area("height")-(t-1)*n)/t;this.scale=function(t,e,i,r,o){return function(e){var a=Math.floor(e/i),s=e%i,c=s*o,l=a*r,u=n*s,d=n*a;return{x:t.area("x")+c+u,y:t.area("y")+l+d,width:o,height:r}}}(this.axis,0,e,r,i)},this.draw=function(){return this.grid.hide=!0,this.drawGrid("table")}};return t.setup=function(){return{rows:1,columns:1,padding:10}},t}},ft={name:"chart.grid.overlap",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=function(){var e,n,i,r,o;this.custom=function(){for(var e=0,n=this.axis.data.length;e<n;e++){var i=this.scale(e);i.x-=this.axis.area("x"),i.y-=this.axis.area("y"),this.chart.svg.rect(t.extend(i,{fill:"transparent",stroke:"transparent"}))}},this.drawBefore=function(){e=this.grid.count||this.axis.data.length||1,n=this.axis.area("width")/2/e,i=this.axis.area("height")/2/e,r=this.axis.area("width"),o=this.axis.area("height"),this.scale=function(t){return function(e){var a=e*n,s=e*i;return{x:t.area("x")+a,y:t.area("y")+s,width:2*Math.abs(r/2-a),height:2*Math.abs(o/2-s)}}}(this.axis)},this.draw=function(){return this.grid.hide=!0,this.drawGrid("overlap")}};return e.setup=function(){return{count:null}},e}};d.use([f]);var pt={name:"chart.grid.grid3d",extend:"chart.grid.core",component:function(){var t=d.include("util.base"),e=d.include("util.math"),n=function(){var n=this,i=0,r=0,o=0;function a(t){var e=null;return t.each((function(t,n){"line"==n.element.nodeName&&(e=n.attributes)})),e}this.drawBefore=function(){i=this.axis.get("depth"),r=this.axis.get("degree"),o=e.radian(360-r),this.scale=function(){return function(e,r,a,s){var c=t.typeCheck("integer",s)?s:1,l=i/c;if(void 0==a||1==c)return{x:n.axis.x(e),y:n.axis.y(r),depth:l};a=void 0==a?0:a;var u=l*a,d=Math.sin(o)*l;return{x:n.axis.x(e)+Math.cos(o)*u,y:n.axis.y(r)+Math.sin(o)*u+d,depth:l}}}(this.axis),this.scale.depth=i,this.scale.degree=r,this.scale.radian=o},this.draw=function(){var t=this.axis.x.root,e=this.axis.y.root,r=Math.sin(o)*i,s=Math.cos(o)*i;return e.each((function(i,o){if("line"==o.element.nodeName)e.append(n.line({x1:s,y1:0,x2:s,y2:r+o.attributes.y2}));else{var c=a(t);o.append(n.line({x1:0,y1:0,x2:s,y2:r})),o.append(n.line({x1:s,y1:r,x2:s+c.x2,y2:r}))}})),t.each((function(t,r){var s="line"==r.element.nodeName?r.attributes:r.get(0).attributes,c=s.y1+Math.sin(o)*i,l=s.x1+Math.cos(o)*i;if(t>0){var u=a(e);r.append(n.line({x1:s.x1,y1:s.y1,x2:l,y2:c})),r.append(n.line({x1:l,y1:c,x2:l,y2:-(u.y2-c)}))}})),this.drawGrid()}};return n.setup=function(){return{domain:null}},n}};d.use(H,h);var mt={name:"chart.brush.core",extend:"chart.draw",component:function(){var t=d.include("util.base"),e=d.include("util.dom"),n=function(){function n(t,e){for(var n={},i={},r=0;r<e.length;r++)n[e[r]]||(i[e[r]]=[]);r=0;for(var o=t.length;r<o;r++){var a=t[r];for(var s in i)i[s].push(a[s])}for(var c in i)n[c]={min:Math.min.apply(Math,i[c]),max:Math.max.apply(Math,i[c])};return n}this.drawAfter=function(t){!1!==this.brush.clip&&t.attr({"clip-path":"url(#"+this.axis.get("clipId")+")"}),t.attr({class:"brush-"+this.brush.type}),t.translate(this.chart.area("x"),this.chart.area("y"))},this.drawTooltip=function(t,e,n){var i=this,r=null;function o(){return i.chart.svg.group({visibility:"hidden"},(function(){i.chart.text({fill:i.chart.theme("tooltipPointFontColor"),"font-size":i.chart.theme("tooltipPointFontSize"),"font-weight":i.chart.theme("tooltipPointFontWeight"),"text-anchor":"middle",opacity:n}
125),i.chart.svg.circle({r:i.chart.theme("tooltipPointRadius"),fill:t,stroke:e,opacity:n,"stroke-width":i.chart.theme("tooltipPointBorderWidth")})}))}function a(t,e,n,i){var o=r.get(0);o.element.textContent=i,"left"==t?o.attr({x:-7,y:4,"text-anchor":"end"}):"right"==t?o.attr({x:7,y:4,"text-anchor":"start"}):"bottom"==t?o.attr({y:16}):o.attr({y:-7}),r.attr({visibility:0!=i?"visible":"hidden"}),r.translate(e,n)}return r=o(),{tooltip:r,control:a,style:function(t,e,n){r.get(0).attr({opacity:n}),r.get(1).attr({fill:t,stroke:e,opacity:n})}}},this.curvePoints=function(t){var e=[],n=[],i=t.length-1,r=[],o=[],a=[],s=[];for(r[0]=0,o[0]=2,a[0]=1,s[0]=t[0]+2*t[1],c=1;c<i-1;c++)r[c]=1,o[c]=4,a[c]=1,s[c]=4*t[c]+2*t[c+1];r[i-1]=2,o[i-1]=7,a[i-1]=0,s[i-1]=8*t[i-1]+t[i];for(var c=1;c<i;c++){var l=r[c]/o[c-1];o[c]=o[c]-l*a[c-1],s[c]=s[c]-l*s[c-1]}e[i-1]=s[i-1]/o[i-1];for(c=i-2;c>=0;--c)e[c]=(s[c]-a[c]*e[c+1])/o[c];for(c=0;c<i-1;c++)n[c]=2*t[c+1]-e[c+1];return n[i-1]=.5*(t[i]+e[i-1]),{p1:e,p2:n}},this.eachData=function(e,n){if(t.typeCheck("function",e)){var i=this.listData();if(!0===n)for(var r=i.length-1;r>=0;r--)e.call(this,r,i[r]);else{var o=0;for(r=i.length;o<r;o++)e.call(this,i[o],o)}}},this.listData=function(){return this.axis&&this.axis.data?this.axis.data:[]},this.getData=function(t){return this.listData()[t]},this.getValue=function(t,e,n){return this.axis.getValue(t,e,n)},this.getXY=function(e){var i=[],r={},o=this.listData().length,a=o,s=this.brush.target,c=s.length;!1!==e&&(r=n(this.axis.data,s));for(var l=0;l<c;l++)i[l]={x:new Array(o),y:new Array(o),value:new Array(o),min:[],max:[],length:o};var u=this.axis.data,d="range"==this.axis.y.type,h=this.axis.x,f=this.axis.y,p=t.loop(a);return p((function(t,n){var o=u[t],a=0,l=0;d?a=h(t):l=f(t);for(var p=0;p<c;p++){var m=s[p],g=o[m];d?l=f(g):a=h(g),i[p].x[t]=a,i[p].y[t]=l,i[p].value[t]=g,!1!==e&&(i[p].min[t]=g==r[m].min,i[p].max[t]=g==r[m].max)}})),i}
125,this.getStackXY=function(t){var e=this.getXY(t),n="range"==this.axis.y.type;return this.eachData((function(t,i){for(var r=0,o=0;o<this.brush.target.length;o++){var a=this.brush.target[o],s=t[a];o>0&&(r+=t[this.brush.target[o-1]]),n?e[o].y[i]=this.axis.y(s+r):e[o].x[i]=this.axis.x(s+r)}})),e},this.addEvent=function(n,i,r){if(!0===this.brush.useEvent){var o=this.chart,a={};t.typeCheck("object",i)&&!r?(a.brush=this.brush,a.data=i):(a.brush=this.brush,a.dataIndex=i,a.dataKey=null!=r?this.brush.target[r]:null,a.data=null!=i?this.getData(i):null),n.on("click",(function(t){s(t),o.emit("click",[a,t])})),n.on("dblclick",(function(t){s(t),o.emit("dblclick",[a,t])})),n.on("contextmenu",(function(t){s(t),o.emit("rclick",[a,t]),t.preventDefault()})),n.on("mouseover",(function(t){s(t),o.emit("mouseover",[a,t])})),n.on("mouseout",(function(t){s(t),o.emit("mouseout",[a,t])})),n.on("mousemove",(function(t){s(t),o.emit("mousemove",[a,t])})),n.on("mousedown",(function(t){s(t),o.emit("mousedown",[a,t])})),n.on("mouseup",(function(t){s(t),o.emit("mouseup",[a,t])}))}function s(t){var n=e.offset(o.root),i=t.pageX-n.left,r=t.pageY-n.top;t.bgX=i,t.bgY=r,t.chartX=i-o.padding("left"),t.chartY=r-o.padding("top")}},this.color=function(e,n){var i=this.brush.colors,r=null,o=0,a=0;if(t.typeCheck("undefined",n)?o=e:(o=n,a=e),t.typeCheck("function",i)){var s=i.call(this.chart,this.getData(a),a);r=t.typeCheck(["string","integer"],s)?this.chart.color(s):t.typeCheck("array",s)?this.chart.color(o,s):this.chart.color(0)}else r=this.chart.color(o,i);return r},this.offset=function(t,e){var n=this.axis[t](e);return"block"!=this.axis[t].type&&(n+=this.axis[t].rangeBand()/2),n}};return n.setup=function(){return{target:null,colors:null,axis:0,index:null,clip:!0,useEvent:!0}},n}},gt={name:"chart.brush.map.core",extend:"chart.brush.core",component:function(){var t=function(){};return t}},vt={name:"chart.brush.polygon.core",extend:"chart.brush.core",component:function(){var t=function(){this.createPolygon=function(t,e){this.calculate3d(t);var n=e.call(this,t);if(n)return n.order=this.axis.depth-t.max().z,n}};return t.setup=function(){return{id:null,clip:!1}},t}},_t={name:"chart.brush.canvas.core",extend:"chart.brush.core",component:function(){var t=d.include("util.base"),e=function(){this.addPolygon=function(e,n){t.typeCheck("array",this.polygons)||(this.polygons=[]),this.calculate3d(e),this.polygons.push({polygon:e,order:this.axis.depth-e.max().z,handler:n})},this.drawAfter=function(){if(t.typeCheck("array",this.polygons)){var e=this.polygons;e.sort((function(t,e){return t.order-e.order}));for(var n=0,i=e.length;n<i;n++){var r=e.shift();r.handler.call(this,r.polygon)}}}};return e}};d.use(H);var yt={name:"chart.widget.core",extend:"chart.draw",component:function(){var t=d.include("util.base"),e=function(){this.getIndexArray=function(e){var n=[0];return t.typeCheck("array",e)?n=e:t.typeCheck("integer",e)&&(n=[e]),n}
125,this.getScaleToValue=function(t,e,n,i,r){var o=10*(n-e),a=(r-i)/o,s=r-a*((t-e)/.1);return s<i?i:s>r?r:s},this.getValueToScale=function(t,e,n,i,r){var o=10*(r-i),a=(n-e)/o;return parseFloat((i+(n-t)/a*.1).toFixed(1))},this.isRender=function(){return!0===this.widget.render},this.on=function(e,n,i){var r=this;return this.chart.on(e,(function(){if(t.startsWith(e,"axis.")&&t.typeCheck("integer",i)){var o=r.chart.axis(i),a=arguments[0];t.typeCheck("object",o)&&arguments[1]==i&&n.apply(r,[a])}else n.apply(r,arguments)}),this.isRender()?"render":"renderAll")},this.drawAfter=function(t){t.attr({class:"widget-"+this.widget.type})}};return e.setup=function(){return{render:!1,index:0}},e}},bt={name:"chart.widget.map.core",extend:"chart.widget.core",component:function(){var t=function(t,e,n){};return t.setup=function(){return{axis:0}},t}},wt={name:"chart.widget.polygon.core",extend:"chart.widget.core",component:function(){var t=function(){this.drawAfter=function(t){}};return t}},kt={name:"chart.widget.canvas.core",extend:"chart.widget.core",component:function(){var t=function(){this.drawAfter=function(t){}};return t}};d.use([h,f,p,m,g,v,y,b,w,M,S,C,E,L,A,O,P,D,j,I,R,N,Y,z,B,F,H,V,U,W,X,q,G,Z,J,K,Q,tt,et,nt,it,rt,ot,at,st,ct,lt,ut,dt,ht,ft,pt,mt,gt,vt,_t,yt,bt,wt,kt]);var xt=d.include("util.base"),Tt=d.include("manager");xt.extend(d,Tt,!0);var Mt=d,St=Mt,Ct={name:"chart.theme.classic",extend:null,component:function(){var t=["#7977C2","#7BBAE7","#FFC000","#FF7800","#87BB66","#1DA8A0","#929292","#555D69","#0298D5","#FA5559","#F5A397","#06D9B6","#C6A9D9","#6E6AFC","#E3E766","#C57BC3","#DF328B","#96D7EB","#839CB5","#9228E4"];return{fontFamily:"arial,Tahoma,verdana",backgroundColor:"#fff",colors:t,axisBackgroundColor:"#fff",axisBackgroundOpacity:0,axisBorderColor:"#fff",axisBorderWidth:0,axisBorderRadius:0,gridXFontSize:11,gridYFontSize:11,gridZFontSize:10,gridCFontSize:11,gridXFontColor:"#333",gridYFontColor:"#333",gridZFontColor:"#333",gridCFontColor:"#333",gridXFontWeight:"normal",gridYFontWeight:"normal",gridZFontWeight:"normal",gridCFontWeight:"normal",gridXAxisBorderColor:"#bfbfbf",gridYAxisBorderColor:"#bfbfbf",gridZAxisBorderColor:"#bfbfbf",gridXAxisBorderWidth:2,gridYAxisBorderWidth:2,gridZAxisBorderWidth:2,gridFaceBackgroundColor:"#dcdcdc",gridFaceBackgroundOpacity:.3,gridActiveFontColor:"#ff7800",gridActiveBorderColor:"#ff7800",gridActiveBorderWidth:1,gridPatternColor:"#ababab",gridPatternOpacity:.1,gridBorderColor:"#ebebeb",gridBorderWidth:1,gridBorderDashArray:"none",gridBorderOpacity:1,gridTickBorderSize:3,gridTickBorderWidth:1.5,gridTickPadding:5,tooltipPointRadius:5,tooltipPointBorderWidth:1,tooltipPointFontWeight:"bold",tooltipPointFontSize:11,tooltipPointFontColor:"#333",barFontSize:11,barFontColor:"#333",barBorderColor:"none",barBorderWidth:0,barBorderOpacity:0,barBorderRadius:3,barPointBorderColor:"#fff",barDisableBackgroundOpacity:.4,barStackEdgeBorderWidth:1,rateBarFontSize:11,rateBarFontColor:"#333",rateBarBorderColor:"none",rateBarBorderWidth:0,rateBarBorderOpacity:0,rateBarBorderRadius:5,rateBarDisableBackgroundOpacity:.7,rateBarTooltipFontSize:10,rateBarTooltipFontColor:"#333",rateBarTooltipBackgroundColor:"#fff",rateBarTooltipBorderColor:"#666666",gaugeBackgroundColor:"#ececec",gaugeArrowColor:"#a9a9a9",gaugeFontColor:"#666666",gaugeFontSize:20,gaugeFontWeight:"bold",gaugeTitleFontSize:12,gaugeTitleFontWeight:"normal",gaugeTitleFontColor:"#333",gaugePaddingAngle:2,bargaugeBackgroundColor:"#ececec",bargaugeFontSize:11,bargaugeFontColor:"#333333",pieBorderColor:"#ececec",pieBorderWidth:1,pieOuterFontSize:11,pieOuterFontColor:"#333",pieOuterLineColor:"#a9a9a9",pieOuterLineSize:8,pieOuterLineRate:1.3,pieOuterLineWidth:.7,pieInnerFontSize:11,pieInnerFontColor:"#333",pieActiveDistance:5,pieNoDataBackgroundColor:"#E9E9E9",pieTotalValueFontSize:36,pieTotalValueFontColor:"#dcdcdc",pieTotalValueFontWeight:"bold",pieDisableBackgroundOpacity:.5,areaBackgroundOpacity:.5,areaSplitBackgroundColor:"#929292",bubbleBackgroun
125dOpacity:.5,bubbleBorderWidth:1,bubbleFontSize:12,bubbleFontColor:"#fff",candlestickBorderColor:"#000",candlestickBackgroundColor:"#fff",candlestickInvertBorderColor:"#ff0000",candlestickInvertBackgroundColor:"#ff0000",ohlcBorderColor:"#000",ohlcInvertBorderColor:"#ff0000",ohlcBorderRadius:5,lineBorderWidth:2,lineBorderDashArray:"none",lineBorderOpacity:1,lineDisableBorderOpacity:.3,linePointBorderColor:"#fff",lineSplitBorderColor:null,lineSplitBorderOpacity:.5,pathBackgroundOpacity:.5,pathBorderWidth:1,scatterBorderColor:"#fff",scatterBorderWidth:1,scatterHoverColor:"#fff",waterfallBackgroundColor:"#87BB66",waterfallInvertBackgroundColor:"#FF7800",waterfallEdgeBackgroundColor:"#7BBAE7",waterfallLineColor:"#a9a9a9",waterfallLineDashArray:"0.9",focusBorderColor:"#FF7800",focusBorderWidth:1,focusBackgroundColor:"#FF7800",focusBackgroundOpacity:.1,pinFontColor:"#FF7800",pinFontSize:10,pinBorderColor:"#FF7800",pinBorderWidth:.7,topologyNodeRadius:12.5,topologyNodeFontSize:14,topologyNodeFontColor:"#fff",topologyNodeTitleFontSize:11,topologyNodeTitleFontColor:"#333",topologyEdgeWidth:1,topologyActiveEdgeWidth:2,topologyHoverEdgeWidth:2,topologyEdgeColor:"#b2b2b2",topologyActiveEdgeColor:"#905ed1",topologyHoverEdgeColor:"#d3bdeb",topologyEdgeFontSize:10,topologyEdgeFontColor:"#666",topologyEdgePointRadius:3,topologyEdgeOpacity:1,topologyTooltipBackgroundColor:"#fff",topologyTooltipBorderColor:"#ccc",topologyTooltipFontSize:11,topologyTooltipFontColor:"#333",timelineTitleFontSize:10,timelineTitleFontColor:"#333",timelineTitleFontWeight:700,timelineColumnFontSize:10,timelineColumnFontColor:"#333",timelineColumnBackgroundColor:"#fff",timelineHoverRowBackgroundColor:"#f4f0f9",timelineEvenRowBackgroundColor:"#f8f8f8",timelineOddRowBackgroundColor:"#fff",timelineActiveBarBackgroundColor:"#9262cf",timelineActiveBarFontColor:"#fff",timelineActiveBarFontSize:9,timelineHoverBarBackgroundColor:null,timelineLayerBackgroundOpacity:.15,timelineActiveLayerBackgroundColor:"#A75CFF",timelineActiveLayerBorderColor:"#caa4f5",timelineHoverLayerBackgroundColor:"#DEC2FF",timelineHoverLayerBorderColor:"#caa4f5",timelineVerticalLineColor:"#f0f0f0",timelineHorizontalLineColor:"#ddd",heatmapBackgroundColor:"#fff",heatmapBackgroundOpacity:1,heatmapHoverBackgroundOpacity:.2,heatmapBorderColor:"#000",heatmapBorderWidth:.5,heatmapBorderOpacity:1,heatmapFontSize:11,heatmapFontColor:"#000",pyramidLineColor:"#fff",pyramidLineWidth:1,pyramidTextLineColor:"#a9a9a9",pyramidTextLineWidth:1,pyramidTextLineSize:30,pyramidTextFontSize:10,pyramidTextFontColor:"#333",heatmapscatterBorderWidth:.5,heatmapscatterBorderColor:"#fff",heatmapscatterActiveBackgroundColor:"#fff",treemapNodeBorderWidth:.5,treemapNodeBorderColor:"#333",treemapTextFontSize:11,treemapTextFontColor:"#333",treemapTitleFontSize:12,treemapTitleFontColor:"#333",arcEqualizerBorderColor:"#fff",arcEqualizerBorderWidth:1,arcEqualizerFontSize:13,arcEqualizerFontColor:"#333",arcEqualizerBackgroundColor:"#a9a9a9",flameNodeBorderWidth:.5,flameNodeBorderColor:"#fff",flameDisableBackgroundOpacity:.4,flameTextFontSize:11,flameTextFontColor:"#333",selectBoxBackgroundColor:"#666",selectBoxBackgroundOpacity:.1,selectBoxBorderColor:"#666",selectBoxBorderOpacity:.2,titleFontColor:"#333",titleFontSize:13,titleFontWeight:"normal",legendFontColor:"#333",legendFontSize:12,legendSwitchCircleColor:"#fff",legendSwitchDisableColor:"#c8c8c8",tooltipFontColor:"#333",tooltipFontSize:12,tooltipBackgroundColor:"#fff",tooltipBackgroundOpacity:.7,tooltipBorderColor:null,tooltipBorderWidth:2,tooltipLineColor:null,tooltipLineWidth:.7,scrollBackgroundSize:7,scrollBackgroundColor:"#dcdcdc",scrollThumbBackgroundColor:"#b2b2b2",scrollThumbBorderColor:"#9f9fa4",zoomBackgroundColor:"#ff0000",zoomFocusColor:"#808080",zoomScrollBackgroundSize:45,zoomScrollButtonSize:18,zoomScrollAreaBackgroundColor:"#fff",zoomScrollAreaBackgroundOpacity:.7,zoomScrollAreaBorderColor:"#d4d4d4",zoomScrollAreaBorderWidth:1,zoomScrollAreaBorderRadius:3,zoomScrollGridFontSize:10,zoomScrollGridTickPadding:4,zoomScrollBrushAreaBackgroundOpacity:.7,zoomScrollBrushLineBorderWidth:1,crossBorderColor:"#a9a9a9",crossBorderWidth:1,crossBorderOpacity:.8,crossBalloonFontSize:11,crossBalloonFontColor:"#fff",crossBalloonBackgroun
125dColor:"#000",crossBalloonBackgroundOpacity:.5,dragSelectBackgroundColor:"#7BBAE7",dragSelectBackgroundOpacity:.3,dragSelectBorderColor:"#7BBAE7",dragSelectBorderWidth:1,guidelineBorderColor:"#a9a9a9",guidelineBorderWidth:1,guidelineBorderOpacity:.8,guidelineBalloonFontSize:11,guidelineBalloonFontColor:"#fff",guidelineBalloonBackgroundColor:"#000",guidelineBalloonBackgroundOpacity:.5,guidelineBorderDashArray:"2,2",guidelinePointRadius:3,guidelinePointBorderColor:"#fff",guidelinePointBorderWidth:1,guidelineTooltipFontColor:"#333",guidelineTooltipFontSize:12,guidelineTooltipPointRadius:3,guidelineTooltipBackgroundColor:"#fff",guidelineTooltipBackgroundOpacity:.7,guidelineTooltipBorderColor:"#a9a9a9",guidelineTooltipBorderWidth:1,polygonColumnBackgroundOpacity:.6,polygonColumnBorderOpacity:.5,polygonScatterRadialOpacity:.7,polygonScatterBackgroundOpacity:.8,polygonLineBackgroundOpacity:.6,polygonLineBorderOpacity:.7,bubbleCloudFontColor:"#fff",bubbleCloudFontSize:11,bubbleCloudFontWeight:"bold",equalizerColumnErrorBackgroundColor:"#ff0000",equalizerColumnErrorFontColor:"#fff"}}},Et={name:"chart.theme.dark",extend:null,component:function(){var t=["#12f2e8","#26f67c","#e9f819","#b78bf9","#f94590","#8bccf9","#9228e4","#06d9b6","#fc6d65","#f199ff","#c8f21d","#16a6e5","#00ba60","#91f2a1","#fc9765","#f21d4f"];return{fontFamily:"arial,Tahoma,verdana",backgroundColor:"#222222",colors:t,axisBackgroundColor:"#222222",axisBackgroundOpacity:0,axisBorderColor:"#222222",axisBorderWidth:0,axisBorderRadius:0,gridXFontSize:11,gridYFontSize:11,gridZFontSize:10,gridCFontSize:11,gridXFontColor:"#868686",gridYFontColor:"#868686",gridZFontColor:"#868686",gridCFontColor:"#868686",gridXFontWeight:"normal",gridYFontWeight:"normal",gridZFontWeight:"normal",gridCFontWeight:"normal",gridXAxisBorderColor:"#464646",gridYAxisBorderColor:"#464646",gridZAxisBorderColor:"#464646",gridXAxisBorderWidth:2,gridYAxisBorderWidth:2,gridZAxisBorderWidth:2,gridFaceBackgroundColor:"#dcdcdc",gridFaceBackgroundOpacity:.3,gridActiveFontColor:"#ff762d",gridActiveBorderColor:"#ff7800",gridActiveBorderWidth:1,gridPatternColor:"#ababab",gridPatternOpacity:.1,gridBorderColor:"#868686",gridBorderWidth:1,gridBorderDashArray:"none",gridBorderOpacity:1,gridTickBorderSize:3,gridTickBorderWidth:1.5,gridTickPadding:5,tooltipPointRadius:5,tooltipPointBorderWidth:1,tooltipPointFontWeight:"bold",tooltipPointFontSize:11,tooltipPointFontColor:"#868686",barFontSize:11,barFontColor:"#868686",barBorderColor:"none",barBorderWidth:0,barBorderOpacity:0,barBorderRadius:3,barActiveBackgroundColor:"#fc6d65",barPointBorderColor:"#fff",barDisableBackgroundOpacity:.4,barStackEdgeBorderWidth:1,rateBarFontSize:11,rateBarFontColor:"#868686",rateBarBorderColor:"none",rateBarBorderWidth:0,rateBarBorderOpacity:0,rateBarBorderRadius:5,rateBarDisableBackgroundOpacity:.7,rateBarTooltipFontSize:10,rateBarTooltipFontColor:"#868686",rateBarTooltipBackgroundColor:"#222",rateBarTooltipBorderColor:"#666666",gaugeBackgroundColor:"#3e3e3e",gaugeArrowColor:"#a6a6a6",gaugeFontColor:"#c5c5c5",gaugeFontSize:20,gaugeFontWeight:"bold",gaugeTitleFontSize:12,gaugeTitleFontWeight:"normal",gaugeTitleFontColor:"#c5c5c5",gaugePaddingAngle:2,bargaugeBackgroundColor:"#3e3e3e",bargaugeFontSize:11,bargaugeFontColor:"#c5c5c5",pieBorderColor:"#232323",pieBorderWidth:1,pieOuterFontSize:11,pieOuterFontColor:"#868686",pieOuterLineColor:"#a9a9a9",pieOuterLineSize:8,pieOuterLineRate:1.3,pieOuterLineWidth:.7,pieInnerFontSize:11,pieInnerFontColor:"#868686",pieActiveDistance:5,pieNoDataBackgroundColor:"#E9E9E9",pieTotalValueFontSize:36,pieTotalValueFontColor:"#dcdcdc",pieTotalValueFontWeight:"bold",pieDisableBackgroundOpacity:.5,areaBackgroundOpacity:.5,areaSplitBackgroundColor:"#ebebeb",bubbleBackgroun
125dOpacity:.5,bubbleBorderWidth:1,bubbleFontSize:12,bubbleFontColor:"#868686",candlestickBorderColor:"#14be9d",candlestickBackgroundColor:"#14be9d",candlestickInvertBorderColor:"#ff4848",candlestickInvertBackgroundColor:"#ff4848",ohlcBorderColor:"#14be9d",ohlcInvertBorderColor:"#ff4848",ohlcBorderRadius:5,lineBorderWidth:2,lineBorderDashArray:"none",lineBorderOpacity:1,lineDisableBorderOpacity:.3,linePointBorderColor:"#fff",lineSplitBorderColor:null,lineSplitBorderOpacity:.5,pathBackgroundOpacity:.2,pathBorderWidth:1,scatterBorderColor:"none",scatterBorderWidth:1,scatterHoverColor:"#222222",waterfallBackgroundColor:"#26f67c",waterfallInvertBackgroundColor:"#f94590",waterfallEdgeBackgroundColor:"#8bccf9",waterfallLineColor:"#a9a9a9",waterfallLineDashArray:"0.9",focusBorderColor:"#FF7800",focusBorderWidth:1,focusBackgroundColor:"#FF7800",focusBackgroundOpacity:.1,pinFontColor:"#FF7800",pinFontSize:10,pinBorderColor:"#FF7800",pinBorderWidth:.7,topologyNodeRadius:12.5,topologyNodeFontSize:14,topologyNodeFontColor:"#c5c5c5",topologyNodeTitleFontSize:11,topologyNodeTitleFontColor:"#c5c5c5",topologyEdgeWidth:1,topologyActiveEdgeWidth:2,topologyHoverEdgeWidth:2,topologyEdgeColor:"#b2b2b2",topologyActiveEdgeColor:"#905ed1",topologyHoverEdgeColor:"#d3bdeb",topologyEdgeFontSize:10,topologyEdgeFontColor:"#c5c5c5",topologyEdgePointRadius:3,topologyEdgeOpacity:1,topologyTooltipBackgroundColor:"#222222",topologyTooltipBorderColor:"#ccc",topologyTooltipFontSize:11,topologyTooltipFontColor:"#c5c5c5",timelineTitleFontSize:11,timelineTitleFontColor:"#d5d5d5",timelineTitleFontWeight:700,timelineColumnFontSize:10,timelineColumnFontColor:"#d5d5d5",timelineColumnBackgroundColor:"#1c1c1c",timelineHoverRowBackgroundColor:"#2f2f2f",timelineEvenRowBackgroundColor:"#202020",timelineOddRowBackgroundColor:"#1c1c1c",timelineActiveBarBackgroundColor:"#6f32ba",timelineActiveBarFontColor:"#fff",timelineActiveBarFontSize:9,timelineHoverBarBackgroundColor:null,timelineLayerBackgroundOpacity:.1,timelineActiveLayerBackgroundColor:"#7F5FA4",timelineActiveLayerBorderColor:"#7f5fa4",timelineHoverLayerBackgroundColor:"#7F5FA4",timelineHoverLayerBorderColor:"#7f5fa4",timelineVerticalLineColor:"#2f2f2f",timelineHorizontalLineColor:"#4d4d4d",heatmapBackgroundColor:"#222222",heatmapBackgroundOpacity:1,heatmapHoverBackgroundOpacity:.2,heatmapBorderColor:"#fff",heatmapBorderWidth:.5,heatmapBorderOpacity:1,heatmapFontSize:11,heatmapFontColor:"#868686",pyramidLineColor:"#464646",pyramidLineWidth:1,pyramidTextLineColor:"#B2A6A6",pyramidTextLineWidth:1,pyramidTextLineSize:30,pyramidTextFontSize:10,pyramidTextFontColor:"#222",heatmapscatterBorderWidth:.5,heatmapscatterBorderColor:"#222222",heatmapscatterActiveBackgroundColor:"#222222",treemapNodeBorderWidth:.5,treemapNodeBorderColor:"#222222",treemapTextFontSize:11,treemapTextFontColor:"#868686",treemapTitleFontSize:12,treemapTitleFontColor:"#868686",arcEqualizerBorderColor:"#222222",arcEqualizerBorderWidth:1,arcEqualizerFontSize:13,arcEqualizerFontColor:"#868686",arcEqualizerBackgroundColor:"#222222",flameNodeBorderWidth:.5,flameNodeBorderColor:"#222",flameDisableBackgroundOpacity:.4,flameTextFontSize:12,flameTextFontColor:"#868686",selectBoxBackgroundColor:"#fff",selectBoxBackgroundOpacity:.1,selectBoxBorderColor:"#fff",selectBoxBorderOpacity:.2,titleFontColor:"#ffffff",titleFontSize:14,titleFontWeight:"normal",legendFontColor:"#ffffff",legendFontSize:11,legendSwitchCircleColor:"#fff",legendSwitchDisableColor:"#c8c8c8",tooltipFontColor:"#333333",tooltipFontSize:12,tooltipBackgroundColor:"#fff",tooltipBackgroundOpacity:1,tooltipBorderColor:null,tooltipBorderWidth:2,tooltipLineColor:null,tooltipLineWidth:1,scrollBackgroundSize:7,scrollBackgroundColor:"#3e3e3e",scrollThumbBackgroundColor:"#666666",scrollThumbBorderColor:"#686868",zoomBackgroundColor:"#ff0000",zoomFocusColor:"#808080",zoomScrollBackgroundSize:45,zoomScrollButtonSize:18,zoomScrollAreaBackgroundColor:"#fff",zoomScrollAreaBackgroundOpacity:.7,zoomScrollAreaBorderColor:"#d4d4d4",zoomScrollAreaBorderWidth:1,zoomScrollAreaBorderRadius:3,zoomScrollGridFontSize:10,zoomScrollGridTickPadding:4,zoomScrollBrushAreaBackgroun
125dOpacity:.7,zoomScrollBrushLineBorderWidth:1,crossBorderColor:"#a9a9a9",crossBorderWidth:1,crossBorderOpacity:.8,crossBalloonFontSize:11,crossBalloonFontColor:"#333",crossBalloonBackgroundColor:"#fff",crossBalloonBackgroundOpacity:1,dragSelectBackgroundColor:"#7BBAE7",dragSelectBackgroundOpacity:.3,dragSelectBorderColor:"#7BBAE7",dragSelectBorderWidth:1,guidelineBorderColor:"#a9a9a9",guidelineBorderWidth:1,guidelineBorderOpacity:.8,guidelineBalloonFontSize:11,guidelineBalloonFontColor:"#fff",guidelineBalloonBackgroundColor:"#000",guidelineBalloonBackgroundOpacity:.5,guidelineBorderDashArray:"2,2",guidelinePointRadius:3,guidelinePointBorderColor:"#fff",guidelinePointBorderWidth:1,guidelineTooltipFontColor:"#333",guidelineTooltipFontSize:12,guidelineTooltipPointRadius:3,guidelineTooltipBackgroundColor:"#fff",guidelineTooltipBackgroundOpacity:.7,guidelineTooltipBorderColor:"#a9a9a9",guidelineTooltipBorderWidth:1,polygonColumnBackgroundOpacity:.6,polygonColumnBorderOpacity:.5,polygonScatterRadialOpacity:.7,polygonScatterBackgroundOpacity:.8,polygonLineBackgroundOpacity:.6,polygonLineBorderOpacity:.7,bubbleCloudFontColor:"#fff",bubbleCloudFontSize:11,bubbleCloudFontWeight:"bold",equalizerColumnErrorBackgroundColor:"#ff0000",equalizerColumnErrorFontColor:"#fff"}}},Lt={name:"chart.widget.title",extend:"chart.widget.core",component:function(){var t=25,e=20,n=function(n,i,r){var o=0,a=0,s="middle";this.drawBefore=function(){var i=n.axis(r.axis);i?(a="bottom"==r.orient?i.area("y2")+i.padding("bottom")-e:"top"==r.orient?i.area("y")-i.padding("top")+t:i.area("y")+i.area("height")/2,"middle"==r.align?(o=i.area("x")+i.area("width")/2,s="middle"):"start"==r.align?(o=i.area("x")-i.padding("left")+e,s="start"):(o=i.area("x2")+i.padding("right")-e,s="end"),o+=n.area("x"),a+=n.area("y")):(a="bottom"==r.orient?n.area("y2")+n.padding("bottom")-e:"top"==r.orient?e:n.area("y")+n.area("height")/2,"middle"==r.align?(o=n.area("x")+n.area("width")/2,s="middle"):"start"==r.align?(o=n.area("x"),s="start"):(o=n.area("x2"),s="end"))},this.draw=function(){var t=n.svg.getTextSize(r.text),e=t.width/2,i=t.height/2,c=n.text({x:o+r.dx,y:a+r.dy,"text-anchor":s,fill:r.color||n.theme("titleFontColor"),"font-size":r.size||n.theme("titleFontSize"),"font-weight":n.theme("titleFontWeight")},r.text);return"center"==r.orient&&("start"==r.align?c.rotate(-90,o+r.dx+e,a+r.dy+i):"end"==r.align&&c.rotate(90,o+r.dx-e,a+r.dy+i)),c}};return n.setup=function(){return{axis:null,orient:"top",align:"middle",text:"",dx:0,dy:0,size:null,color:null}},n}},At={name:"chart.widget.legend",extend:"chart.widget.core",component:function(){var t=St.include("util.base"),e=17,n=13,i=5,r=5.5,o=1.2,a=2,s=function(s,c,l){var u=[],d={};function h(e){var n=[0];return t.typeCheck("array",e)?n=e:t.typeCheck("integer",e)&&(n=[e]),n}function f(){for(var t=h(l.brush),e=[],n=0;n<t.length;n++)e[n]=s.get("brush",t[n]);return e}function p(t){if(l.filter){u[t.index]||(u[t.index]={});for(var e=0;e<t.target.length;e++)u[t.index][t.target[e]]=!0}}function m(t){var e=[],n=[],i=t[0].index;for(var r in u[i])u[i][r]&&(e.push(r),n.push(d[r]));for(var o=0;o<t.length;o++)s.updateBrush(t[o].index,{target:e,colors:n});s.isRender()||s.render(),s.setCache("legend_target",e),s.emit("legend.filter",[e])}this.getLegendIcon=function(c){for(var h=[],p=c.target,g=p.length,v=0;v<g;v++){var _=s.svg.group(),y=c.target[v],b=y,w=s.color(v,l.colors||c.colors);d[y]=w,t.typeCheck("function",l.format)&&(b=this.format(y));var k=s.svg.getTextSize(b,{fontSize:s.theme("legendFontSize")});if(l.filter)_.append(s.svg.line({x1:0,x2:e,y1:-r/2,y2:-r/2,stroke:w,"stroke-width":n,"stroke-linecap":"round"})),_.append(s.svg.circle({cx:e,cy:-r/2,r:r,fill:s.theme("legendSwitchCircleColor")})),_.append(s.text({x:e+2*i,y:0,"font-size":s.theme("legendFontSize"),fill:s.theme("legendFontColor"),"text-anchor":"start"},b)),h.push({icon:_,width:e+k.width+2.5*i,height:n+i/2}),function(t,n){n.attr({cursor:"pointer"}),n.on("click",(function(i){u[c.index][t]?(n.get(0).attr({stroke:s.theme("legendSwitchDisableColor")}),n.get(2).attr({fill:s.theme("legendSwitchDisableColor")}),n.get(1).attr({cx:0}),u[c.index][t]=!1):(n.get(0).attr({stroke:d[t]}),n.get(2).attr({fill:s.theme("legendFontColor")}),n.get(1).attr({cx:e}),u[c.index][t]=!0),m(l.brushSync?f():[c])}))}(y,_);else{var x=s.theme("legendFontSize");if(null!=l.icon){var T=t.typeCheck("function",l.icon)?l.icon.apply(s,[y]):l.icon;_.append(s.text({x:0,y:a,"font-size":x,fill:w},T))}else _.append(s.svg.circle({cx:x/2,cy:-a,r:x/2,fill:w}));_.append(s.text({x:x*o,y:0,"font-size":x,fill:s.theme("legendFontColor"),"text-anchor":"start"},b)),h.push({icon:_,width:x+k.width+2*i,height:n+i/2})}}return h},this.draw=function(){for(var t=s.svg.group(),e=0,n=0,r=0,o=0,a=0,c=0,u=h(l.brush),d=[],f=0;f<u.length;f++){var m=u[f];if(!(l.brushSync&&f>0)){for(var g=s.get("brush",m),v=this.getLegendIcon(g),_=0;_<v.length;_++)t.append(v[_].icon),v[_].icon.translate(e,n),"bottom"==l.orient||"top"==l.orient?(e+v[_].width>s.area("x2")&&(e=0,n+=v[_].height,c+=v[_].height,v[_].icon.translate(e,n),d.push(r),r=0),e+=v[_].width+2.5*i,r+=v[_].width+2.5*i,c<v[_].height&&(c=v[_].height)):(n+=v[_].height,o+=v[_].height,a<v[_].width&&(a=v[_].width));r>0&&d.push(r),d.length>0&&(r=Math.max.apply(Math,d)),p(g)}}if("bottom"==l.orient||"top"==l.orient){n=("bottom"==l.orient?s.area("y2")+s.padding("bottom")-c:s.area("y")-s.padding("top"))+i;
125"start"==l.align?e=s.area("x"):"center"==l.align?e=s.area("x")+(s.area("width")/2-r/2):"end"==l.align&&(e=s.area("x2")-r)}else{e=("left"==l.orient?s.area("x")-s.padding("left"):s.area("x2")+s.padding("right")-a)+i;"start"==l.align?n=s.area("y"):"center"==l.align?n=s.area("y")+(s.area("height")/2-o/2):"end"==l.align&&(n=s.area("y2")-o)}return t.translate(Math.floor(e)+l.dx,Math.floor(n)+l.dy),t}};return s.setup=function(){return{orient:"bottom",align:"center",filter:!1,icon:null,dx:0,dy:0,colors:null,brushSync:!1,brush:0,format:null}},s}},Ot=(n("18a5"),{name:"chart.widget.tooltip",extend:"chart.widget.core",component:function(){var t=St.include("util.base"),e=St.include("util.color"),n=7,i=7,r=1.2,o=function(o,a,s){var c=this,l={},u=0;function d(e,n){var i=null,r=null;if(t.typeCheck("function",s.format)){var o=c.format(n,e);t.typeCheck("object",o)?(i=o.key,r=o.value):r=o}else e&&!n&&(r=e),e&&n&&(i=e,r=c.format(n[e]));return{key:i,value:r}}function h(e){var i=l[e.brush.index],r=i.get(1).get(1),o=0,a=0,c=!1;function h(i){for(var s=0;s<i.length;s++){var l=i[s],h=d(l,e.data);r.get(s).attr({x:n}),h.key?r.get(s).get(0).text(h.key):(r.get(s).get(1).attr({"text-anchor":"middle"}),c=!0),t.typeCheck(["null","undefined"],h.value)||r.get(s).get(1).attr({x:0}).text(h.value),o=Math.max(o,r.get(s).size().width)}a=i.length*u}return e.dataKey&&!1===s.all?h([e.dataKey]):h(e.brush.target),{width:o+3*n,height:a+n,onlyValue:c}}function f(e){var n=c.getIndexArray(c.widget.brush);return-1!=t.inArray(e,n)}function p(t){for(var n=t.brush.target,i=0;i<n.length;i++)if(n[i]==t.dataKey)return e.lighten(c.chart.color(i,t.brush.colors));return null}function m(t,e,r){var o=t.bgX-e.width/2,a=t.bgY-e.height-i-n/2,s=2;return"left"!=r&&"right"!=r||(a=t.bgY-e.height/2-n/2),"left"==r?o=t.bgX-e.width-i:"right"==r?(o=t.bgX+i,s=-2):"bottom"==r&&(a=t.bgY+2*i),{x:o,y:a,c:s}}function g(){var t=!1,e=null,r=null,a=null;c.on("mouseover",(function(d,g){if(!t&&f(d.brush.index)&&(d.dataKey||d.data)){e=h(d),r=s.orient,a=o.axis(d.brush.axis);var v=m(g,e,r),_=v.x-o.padding("left"),y=v.y-o.padding("top");s.flip&&("left"==r&&_<0?r="right":"right"==r&&_+e.width>a.area("width")?r="left":"top"==r&&y<0?r="bottom":"bottom"==r&&y+e.height>a.area("height")&&(r="top"));var b=l[d.brush.index],w=b.get(0),k=b.get(1),x=b.get(1).get(0),T=b.get(1).get(1).translate(0,"bottom"!=r?u:u+i),M=o.theme("tooltipBorderColor")||p(d),S=o.theme("tooltipLineColor")||p(d);x.attr({points:c.balloonPoints(r,e.width,e.height,s.anchor?i:null),stroke:M}),w.attr({stroke:S}),T.each((function(t,i){i.get(1).attr({x:e.onlyValue?e.width/2:e.width-n})})),b.attr({visibility:"visible"}),k.translate(v.x,v.y),t=!0}}
125)),c.on("mousemove",(function(n,i){if(t){var s=l[n.brush.index],c=s.get(0),u=s.get(1),d=m(i,e,r);c.attr({x1:i.bgX+d.c,y1:o.padding("top")+a.area("y"),x2:i.bgX+d.c,y2:o.padding("top")+a.area("y2")}),u.translate(d.x,d.y)}})),c.on("mouseout",(function(e,n){if(t){var i=l[e.brush.index];i.attr({visibility:"hidden"}),t=!1}}))}this.drawBefore=function(){u=o.theme("tooltipFontSize")*r},this.draw=function(){for(var t=o.svg.group(),e=this.getIndexArray(this.widget.brush),i=0;i<e.length;i++){var a=o.get("brush",e[i]),c=[""];if(s.all&&a.target.length>1)for(var u=1;u<a.target.length;u++)c.push("");l[a.index]=o.svg.group({visibility:"hidden"},(function(){o.svg.line({"stroke-width":o.theme("tooltipLineWidth"),visibility:s.line?"visible":"hidden"}),o.svg.group({},(function(){o.svg.polygon({fill:o.theme("tooltipBackgroundColor"),"fill-opacity":o.theme("tooltipBackgroundOpacity"),"stroke-width":o.theme("tooltipBorderWidth")});for(var t=o.texts({"font-size":o.theme("tooltipFontSize"),fill:o.theme("tooltipFontColor")},c,r),e=0;e<c.length;e++)t.get(e).append(o.svg.tspan({"text-anchor":"start","font-weight":"bold",x:n})),t.get(e).append(o.svg.tspan({"text-anchor":"end"}))}))})),t.append(l[a.index])}return g(),t}};return o.setup=function(){return{orient:"top",anchor:!0,all:!1,line:!1,flip:!1,format:null,brush:0}},o}}),Pt={name:"chart.widget.cross",extend:"chart.widget.core",component:function(){var t=St.include("util.base"),e=function(e,n,i){var r,o,a,s,c,l=this,u=50,d=18,h=u/10,f=0,p=0,m=[];function g(t,e,n){if(!m[t]){var i=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.element.appendChild(i),m[t]=i}m[t].textContent=n}this.drawBefore=function(){n=this.chart.axis(i.axis),f=e.padding("left")+n.area("x"),p=e.padding("top")+n.area("y"),r=e.svg.group({visibility:"hidden"},(function(){t.typeCheck("function",i.yFormat)&&(o=e.svg.line({x1:0,y1:0,x2:n.area("width"),y2:0,stroke:e.theme("crossBorderColor"),"stroke-width":e.theme("crossBorderWidth"),opacity:e.theme("crossBorderOpacity")}),c=e.svg.group({},(function(){e.svg.polygon({fill:e.theme("crossBalloonBackgroundColor"),"fill-opacity":e.theme("crossBalloonBackgroundOpacity"),points:l.balloonPoints("left",u,d,h)}),e.text({"font-size":e.theme("crossBalloonFontSize"),fill:e.theme("crossBalloonFontColor"),"text-anchor":"middle",x:u/2,y:12})})).translate(-(u+h),0)),t.typeCheck("function",i.xFormat)&&(a=e.svg.line({x1:0,y1:0,x2:0,y2:n.area("height"),stroke:e.theme("crossBorderColor"),"stroke-width":e.theme("crossBorderWidth"),opacity:e.theme("crossBorderOpacity")}),s=e.svg.group({},(function(){e.svg.polygon({fill:e.theme("crossBalloonBackgroundColor"),"fill-opacity":e.theme("crossBalloonBackgroundOpacity"),points:l.balloonPoints("bottom",u,d,h)}),e.text({"font-size":e.theme("crossBalloonFontSize"),fill:e.theme("crossBalloonFontColor"),"text-anchor":"middle",x:u/2,y:17})})).translate(0,n.area("height")+h))})).translate(f,p)},this.draw=function(){return this.on("axis.mouseover",(function(t){r.attr({visibility:"visible"})}),i.axis),this.on("axis.mouseout",(function(t){r.attr({visibility:"hidden"})}),i.axis),this.on("axis.mousemove",(function(t){r.attr({visibility:"visible"});var e=3,m=t.bgX-f+e,v=t.bgY-p+e;if(o&&o.attr({y1:v,y2:v}),a&&a.attr({x1:m,x2:m}),c){c.translate(-(u+h),v-d/2);var _=n.y.invert(t.chartY+e),y=i.yFormat.call(l.chart,_);g(0,c.get(1),y)}if(s){s.translate(m-u/2,n.area("height")+h);_=n.x.invert(t.chartX+e),y=i.xFormat.call(l.chart,_);g(1,s.get(1),y)}}),i.axis),r}};return e.setup=function(){return{axis:0,xFormat:null,yFormat:null}},e}};St.use(Ct,Et,Lt,At,Ot,Pt);var Dt={beforeMount:function(t){this.index=this.brushes.length},render:function(t){return t("div",this.$slots.default)}},jt=(n("159b"),{watch:{width:function(t,e){this.chart.setSize(t,this.height),this.chart.render()},height:function(t,e){this.chart.setSize(this.width,t),this.chart.render()},labels:function(t,e){this.chart.axis(0).set(this.axisReverse?"y":"x",{domain:t}),this.chart.render()},values:function(t,e){this.chart.axis(0).update(this.convertToData(t)),this.chart.render()},axisMin:function(t,e){this.chart.axis(0).set(this.axisReverse?"x":"y",{domain:[t,this.axisMax]}),this.chart.render()},axisMax:function(t,e){this.chart.axis(0).set(this.axisReverse?"x":"y",{domain:[this.axisMin,t]}),this.chart.render()},focusStart:function(t,e){var n=this;
125t!=e&&this.brushes.forEach((function(e,i){"focus"==e.type&&(n.chart.updateBrush(i,{start:t}),n.chart.render())}))},focusEnd:function(t,e){var n=this;t!=e&&this.brushes.forEach((function(e,i){"focus"==e.type&&(n.chart.updateBrush(i,{end:t}),n.chart.render())}))}}}),It={created:function(){this.brushes=[],this.widgets=[]}},Rt={name:"chart.brush.focus",extend:"chart.brush.core",component:function(){var t=function(){var t,e,n=this;this.drawFocus=function(i,r){var o=this.chart.theme("focusBorderColor"),a=this.chart.theme("focusBorderWidth"),s=this.chart.theme("focusBackgroundColor"),c=this.chart.theme("focusBackgroundOpacity"),l=this.axis.area("width"),u=this.axis.area("height"),d=this.axis.area("x"),h=this.axis.area("y");return t=this.svg.group({},(function(){if(!n.brush.hide&&0!=n.axis.data.length){var t=n.svg.line({stroke:o,"stroke-width":a,x1:0,y1:0,x2:"x"==e?0:l,y2:"x"==e?u:0}),f=n.svg.rect({width:"x"==e?Math.abs(r-i):l,height:"x"==e?u:Math.abs(r-i),fill:s,opacity:c}),p=n.svg.line({stroke:o,"stroke-width":a,x1:0,y1:0,x2:"x"==e?0:l,y2:"x"==e?u:0});"x"==e?(t.translate(i,h),f.translate(i,h),p.translate(r,h)):(t.translate(d,i),f.translate(d,i),p.translate(d,r))}})),t},this.drawBefore=function(){e="range"==this.axis.y.type?"x":"y"},this.draw=function(){var t=0,n=0;if(-1==this.brush.start||-1==this.brush.end)return this.svg.g();if("block"==this.axis[e].type){var i=this.axis[e].rangeBand();t=this.axis[e](this.brush.start)-i/2,n=this.axis[e](this.brush.end)+i/2}else t=this.axis[e](this.brush.start),n=this.axis[e](this.brush.end);return this.drawFocus(t,n)}};return t.setup=function(){return{start:-1,end:-1}},t}},Nt={computed:{realWidth:function(){return 0==this.width?"100%":this.width}},mounted:function(){var t=this;if(0==this.brushes.length)throw new Error("[Vue Graph error]: At least one brush must be added to 'brushes' variable.");St.use(Rt),this.chart=St.create("chart.builder",this.$el,{width:this.realWidth,height:this.height,padding:{top:this.paddingTop,right:this.paddingRight,bottom:this.paddingBottom,left:this.paddingLeft},event:{"chart.click":function(e){t.$emit("inside#click",e)},"chart.dblclick":function(e){t.$emit("inside#dblclick",e)},"chart.rclick":function(e){t.$emit("inside#rclick",e)},"chart.mouseover":function(e){t.$emit("inside#mouseover",e)},"chart.mouseout":function(e){t.$emit("inside#mouseout",e)},"chart.mousemove":function(e){t.$emit("inside#mousemove",e)},"chart.mousedown":function(e){t.$emit("inside#mousedown",e)},"chart.mouseup":function(e){t.$emit("inside#mouseup",e)},"bg.click":function(e){t.$emit("outside#click",e)},"bg.dblclick":function(e){t.$emit("outside#dblclick",e)},"bg.rclick":function(e){t.$emit("outside#rclick",e)},"bg.mouseover":function(e){t.$emit("outside#mouseover",e)},"bg.mouseout":function(e){t.$emit("outside#mouseout",e)},"bg.mousemove":function(e){t.$emit("outside#mousemove",e)},"bg.mousedown":function(e){t.$emit("outside#mousedown",e)},"bg.mouseup":function(e){t.$emit("outside#mouseup",e)},click:function(e,n){t.$emit("click",e,n)},dblclick:function(e,n){t.$emit("dblclick",e,n)},rclick:function(e,n){t.$emit("rclick",e,n)},mouseover:function(e,n){t.$emit("mouseover",e,n)},mouseout:function(e,n){t.$emit("mouseout",e,n)},mousemove:function(e,n){t.$emit("mousemove",e,n)},mousedown:function(e,n){t.$emit("mousedown",e,n)},mouseup:function(e,n){t.$emit("mouseup",e,n)},"legend.filter":function(e){t.$emit("legends#filter",e)}},format:this.format,theme:this.theme,style:this.styles,render:!1,axis:this.initGraphAxes()}),this.initGraphBrushes(),this.initGraphWidgets(),this.chart.render(!0)}},Yt={props:{theme:{type:String,required:!1,default:"classic"},styles:{type:Object,required:!1},colors:{type:[Array,Function],required:!1},clip:{type:Boolean,required:!1,default:!1},format:{type:Function,required:!1},width:{type:Number,required:!1,default:0},height:{type:Number,required:!0},labels:{type:Array,required:!1},values:{type:Array,required:!1},paddingTop:{type:Number,required:!1,default:50},paddingRight:{type:Number,required:!1,default:50},paddingBottom:{type:Number,required:!1,default:50},paddingLeft:{type:Number,required:!1,default:50},focusStart:{type:Number,required:!1,default:-1},focusEnd:{type:Number,required:!1,default:-1}}},zt={props:{axisMin:{type:Number,required:!1,default:0},axisMax:{type:Number,required:!1,default:0},axisStep:{type:Number,required:!1,default:10},axisXStyle:{type:String,required:!1,default:"solid"},axisYStyle:{type:String,required:!1,default:"solid"},axisXPosition:{type:String,required:!1,default:"bottom"},axisYPosition:{type:String,required:!1,default:"left"},axisReverse:{type:Boolean,required:!1,default:!1},axisFullMode:{type:Boolean,required:!1,default:!1},textRotateX:{type:Number,required:!1,default:0},textRotateY:{type:Number,required:!1,default:0}}},Bt=n("06c5");function Ft(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
125if(!n){if(Array.isArray(t)||(n=Object(Bt["a"])(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}n("07ac");var Ht={methods:{convertToData:function(t){for(var e=St.include("util.base"),n=[],i=0;i<t.length;i++){var r=t[i];if(e.typeCheck("array",r))for(var o=0;o<r.length;o++){0==i&&n.push({});var a=n[o];a[""+i]=r[o]}else e.typeCheck("number",r)&&n.push({0:r})}return n},getAxisMinAndMax:function(){var t=this.axisMin,e=this.axisMax;return t!=e?[t,e]:function(t){var e=Math.max.apply(null,Object.values(t));return 0==e?1:e}},initGraphBrushes:function(){var t,e=Ft(this.brushes);try{for(e.s();!(t=e.n()).done;){var n=t.value;this.chart.addBrush(n)}}catch(r){e.e(r)}finally{e.f()}if(-1!=this.focusStart&&-1!=this.focusEnd){var i={type:"focus",start:this.focusStart,end:this.focusEnd};this.brushes.push(i),this.chart.addBrush(i)}},initGraphWidgets:function(){var t,e=Ft(this.widgets);try{for(e.s();!(t=e.n()).done;){var n=t.value;this.chart.addWidget(n)}}catch(i){e.e(i)}finally{e.f()}},initGraphAxes:function(){}}},Vt={methods:{initGraphAxes:function(){var t={type:this.axisFullMode?"fullblock":"block",domain:this.labels,line:"none"!=this.axisXStyle&&this.axisXStyle,hide:"hidden"==this.axisXStyle,orient:this.axisXPosition,textRotate:-this.textRotateX},e={type:"range",domain:this.getAxisMinAndMax(),step:this.axisStep,line:"none"!=this.axisYStyle&&this.axisYStyle,hide:"hidden"==this.axisYStyle,orient:this.axisYPosition,textRotate:-this.textRotateY};return{x:this.axisReverse?e:t,y:this.axisReverse?t:e,data:this.convertToData(this.values)}}}},Ut={name:"chart.brush.bar",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=function(){var e,n,i,r,o;this.getBarStyle=function(){return{borderColor:this.chart.theme("barBorderColor"),borderWidth:this.chart.theme("barBorderWidth"),borderOpacity:this.chart.theme("barBorderOpacity"),borderRadius:this.chart.theme("barBorderRadius"),disableOpacity:this.chart.theme("barDisableBackgroundOpacity"),circleColor:this.chart.theme("barPointBorderColor")}},this.getBarElement=function(e,n,i){var r=this.getBarStyle(),o=this.color(e,n),a=this.getData(e)[this.brush.target[n]],s=this.chart.svg.pathRect({width:i.width,height:i.height,fill:o,stroke:r.borderColor,"stroke-width":r.borderWidth,"stroke-opacity":r.borderOpacity});return 0!=a&&this.addEvent(s,e,n),null==this.barList&&(this.barList=[]),this.barList.push(t.extend({element:s,color:o},i)),s},this.setActiveEffect=function(t){for(var e=this.getBarStyle(),n=this.barList,i=0;i<n.length;i++){var r=n[i]==t?1:e.disableOpacity;n[i].element.attr({opacity:r}),n[i].minmax&&n[i].minmax.style(n[i].color,e.circleColor,r)}},this.drawBefore=function(){var t=this.brush.outerPadding,a=this.brush.innerPadding,s=this.brush.target.length;e=this.chart.svg.group(),n=this.axis.x(0),i=this.axis.y.rangeBand(),this.brush.size>0?(o=this.brush.size,r=o*s+(s-1)*a):(r=i-2*t,o=(r-(s-1)*a)/s,o=o<0?0:o)},this.drawETC=function(e){if(t.typeCheck("array",this.barList)){var n=this,i=this.getBarStyle();this.active=this.drawTooltip(),e.append(this.active.tooltip);for(var r=0;r<this.barList.length;r++){var o=this.barList[r],a=this.brush.display;("max"==a&&o.max||"min"==a&&o.min||"all"==a)&&(o.minmax=this.drawTooltip(o.color,i.circleColor,1),o.minmax.control(o.position,o.tooltipX,o.tooltipY,this.format(o.value)),e.append(o.minmax.tooltip)),0!=o.value&&null!=this.brush.activeEvent&&function(t){n.active.style(t.color,i.circleColor,1),t.element.on(n.brush.activeEvent,(function(e){n.active.style(t.color,i.circleColor,1),n.active.control(t.position,t.tooltipX,t.tooltipY,n.format(t.value)),n.setActiveEffect(t)})),t.element.attr({cursor:"pointer"})}(o)}o=this.barList[this.brush.active];null!=o&&(this.active.style(o.color,i.circleColor,1),this.active.control(o.position,o.tooltipX,o.tooltipY,this.format(
125o.value)),this.setActiveEffect(o))}},this.draw=function(){var t=this.getXY(),i=this.getBarStyle();return this.eachData((function(a,s){for(var c=this.offset("y",s)-r/2,l=0;l<this.brush.target.length;l++){var u=a[this.brush.target[l]],d=this.axis.x(u),h=c+o/2,f=d>=n?"right":"left";Math.abs(n-d)<this.brush.minSize&&(d="right"==f?d+this.brush.minSize:d-this.brush.minSize);var p=Math.abs(n-d),m=p<i.borderRadius||o<i.borderRadius?0:i.borderRadius,g=this.getBarElement(s,l,{width:p,height:o,value:u,tooltipX:d,tooltipY:h,position:f,max:t[l].max[s],min:t[l].min[s]});d>=n?(g.round(p,o,0,m,m,0),g.translate(n,c)):(g.round(p,o,m,0,0,m),g.translate(n-p,c)),e.append(g),c+=o+this.brush.innerPadding}})),this.drawETC(e),e},this.drawAnimate=function(t){var e=this.chart.svg,n=this.brush.animate;t.append(e.animate({attributeName:"opacity",from:"0",to:"1",begin:"0s",dur:"1.4s",repeatCount:"1",fill:"freeze"})),t.each((function(t,i){if(i.is("util.svg.element.path")){var r=i.data("translate").split(","),o=parseInt(r[0]),a=parseInt(r[1]),s=parseInt(i.attr("width")),c="right"==n?o+s:o-s;i.append(e.animateTransform({attributeName:"transform",type:"translate",from:c+" "+a,to:o+" "+a,begin:"0s",dur:"0.7s",repeatCount:"1",fill:"freeze"}))}}))}};return e.setup=function(){return{size:0,minSize:0,outerPadding:2,innerPadding:1,active:null,activeEvent:null,display:null,format:null}},e}};St.use(Ut);var Wt={name:"chart.brush.column",extend:"chart.brush.bar",component:function(){var t=function(){var t,e,n,i,r;this.drawBefore=function(){var o=this.brush.outerPadding,a=this.brush.innerPadding,s=this.brush.target.length;t=this.chart.svg.group(),e=this.axis.y(0),n=this.axis.x.rangeBand(),this.brush.size>0?(i=this.brush.size,r=i*s+(s-1)*a):(r=n-2*o,i=(n-2*o-(s-1)*a)/s,i=i<0?0:i)},this.draw=function(){var n=this.getXY(),o=this.getBarStyle();return this.eachData((function(a,s){for(var c=this.offset("x",s)-r/2,l=0;l<this.brush.target.length;l++){var u=a[this.brush.target[l]],d=c+i/2,h=this.axis.y(u),f=h<=e?"top":"bottom";Math.abs(e-h)<this.brush.minSize&&(h="top"==f?h-this.brush.minSize:h+this.brush.minSize);var p=Math.abs(e-h),m=i<o.borderRadius||p<o.borderRadius?0:o.borderRadius,g=this.getBarElement(s,l,{width:i,height:p,value:u,tooltipX:d,tooltipY:h,position:f,max:n[l].max[s],min:n[l].min[s]});h<=e?(g.round(i,p,m,m,0,0),g.translate(c,h)):(g.round(i,p,0,0,m,m),g.translate(c,e)),t.append(g),c+=i+this.brush.innerPadding}})),this.drawETC(t),t},this.drawAnimate=function(t){var e=this.chart.svg,n=this.brush.animate;t.append(e.animate({attributeName:"opacity",from:"0",to:"1",begin:"0s",dur:"1.4s",repeatCount:"1",fill:"freeze"})),t.each((function(t,i){if(i.is("util.svg.element.path")){var r=i.data("translate").split(","),o=parseInt(r[0]),a=parseInt(r[1]),s=parseInt(i.attr("height")),c="top"==n?a-s:a+s;i.append(e.animateTransform({attributeName:"transform",type:"translate",from:o+" "+c,to:o+" "+a,begin:"0s",dur:"0.7s",repeatCount:"1",fill:"freeze"}))}}))}};return t}};St.use(Ut,Wt);var $t={name:"graph-bar",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],props:{fixedSize:{type:Number,required:!1,default:0},minValue:{type:Number,required:!1,default:0},barMargin:{type:Number,required:!1,default:2},barPadding:{type:Number,required:!1,default:1},activeIndex:{type:Number,required:!1},activeEvent:{type:String,required:!1},display:{type:String,required:!1}},watch:{activeIndex:function(t,e){t!=e&&(this.chart.updateBrush(0,{active:t}),this.chart.render())}},beforeMount:function(){this.brushes=[{type:this.axisReverse?"bar":"column",clip:this.clip,colors:this.colors,active:this.activeIndex,activeEvent:this.activeEvent,display:this.display,size:this.fixedSize,minSize:this.minValue,outerPadding:this.barMargin,innerPadding:this.barPadding}]}},Xt={props:{axisMin:{type:Number,required:!1,default:0},axisMax:{type:Number,required:!1,default:0},axisStep:{type:Number,required:!1,default:10},axisXStyle:{type:String,required:!1,default:"solid"},axisYStyle:{type:String,required:!1,default:"solid"},axisZStyle:{type:String,required:!1,default:"solid"},angleX:{type:Number,required:!1,default:30},angleY:{type:Number,required:!1,default:20},angleZ:{type:Number,required:!1,default:0},depth:{type:Number,required:!0},perspective:{type:Number,required:!1,default:.6}}},qt={methods:{initGraphAxes:function(){var t={type:"block",domain:this.labels,line:"solid"==this.axisXStyle,hide:"hidden"==this.axisXStyle},e={type:"range",domain:this.getAxisMinAndMax(),step:this.axisStep,line:"solid"==this.axisYStyle,hide:"hidden"==this.axisYStyle},n={type:"block",domain:this.names,line:"solid"==this.axisZStyle,hide:"hidden"==this.axisZStyle};return{x:t,y:e,z:n,depth:this.depth,perspective:this.perspective,degree:{x:this.angleX,y:this.angleY,z:this.angleZ},data:this.convertToData(this.values)}}}},Gt={name:"chart.brush.polygon.column3d",extend:"chart.brush.polygon.core",component:function(){var t=St.include("util.color"),e=St.include("chart.polygon.cube"),n=function(){var n,i;this.createColumn=function(r,o,a,s){var c=n,l=i,u=this.axis.x(a)-c/2,d=this.axis.y(r[o]),h=this.axis.y(0),f=this.axis.z(s)-l/2,p=this.color(s);return this.createPolygon(new e(u,h,f,c,d-h,l),(function(e){for(var n=this.svg.group(),i=0;i<e.faces.length;i++){for(var c=e.faces[i],l=this.svg.polygon({fill:p,"fill-opacity":this.chart.theme("polygonColumnBackgroun
125dOpacity"),stroke:t.darken(p,this.chart.theme("polygonColumnBorderOpacity")),"stroke-opacity":this.chart.theme("polygonColumnBorderOpacity")}),u=0;u<c.length;u++){var d=e.vectors[c[u]];l.point(d.x,d.y)}n.append(l)}return 0!=r[o]&&this.addEvent(n,a,s),n}))},this.drawBefore=function(){var t=this.brush.padding,e=this.axis.x.rangeBand(),r=this.axis.z.rangeBand();n=this.brush.width>0?this.brush.width:e-2*t,i=this.brush.height>0?this.brush.height:r-2*t},this.draw=function(){for(var t=this.chart.svg.group(),e=this.listData(),n=this.brush.target,i=0;i<e.length;i++)for(var r=0;r<n.length;r++)t.append(this.createColumn(e[i],n[r],i,r));return t}};return n.setup=function(){return{width:0,height:0,padding:20,clip:!1}},n}},Zt={name:"chart.widget.polygon.rotate3d",extend:"chart.widget.polygon.core",component:function(){var t=St.include("util.base"),e=180,n=function(){var n=this;function i(t){var i=n.chart.axis(t),r=!1,o=0,a=0,s=0,c=0,l=null,u=n.widget.unit,d=i.area("width"),h=i.area("height");function f(t){r||(r=!0,o=t.chartX,a=t.chartY,s=i.degree.x,c=i.degree.y)}function p(t){if(r){var f=t.chartX-o,p=t.chartY-a,m=s+Math.floor(p/h*e),g=c-Math.floor(f/d*e);if(m%u==0||g%u==0){var v=m+":"+g;l!=v&&(i.set("degree",{x:m,y:g}),n.chart.render(),l=v)}}}function m(t){r&&(r=!1,o=0,a=0)}n.on("axis.mousedown",f,t),n.on("axis.mousemove",p,t),n.on("axis.mouseup",m,t),n.on("bg.mouseup",m),n.on("chart.mouseup",m)}this.draw=function(){for(var e=t.typeCheck("array",this.widget.axis)?this.widget.axis:[this.widget.axis],n=0;n<e.length;n++)i(e[n])}};return n.setup=function(){return{unit:5,axis:[0]}},n}};St.use(Gt,Zt);var Jt={name:"graph-bar3d",mixins:[Dt,jt,It,Nt,Yt,Xt,Ht,qt],props:{names:{type:Array,required:!0},barPadding:{type:Number,required:!1,default:20}},beforeMount:function(){this.brushes=[{type:"polygon.column3d",colors:this.colors,padding:this.barPadding}]}};St.use(Ut);var Kt={name:"chart.brush.stackbar",extend:"chart.brush.bar",component:function(){var t=St.include("util.base"),e=function(e,n,i){var r,o;this.addBarElement=function(t){null==this.barList&&(this.barList=[]),this.barList.push(t)},this.getBarElement=function(t,e){var n=this.getBarStyle(),i=this.color(e),r=this.getData(t)[this.brush.target[e]],o=this.chart.svg.rect({fill:i,stroke:n.borderColor,"stroke-width":n.borderWidth,"stroke-opacity":n.borderOpacity});return 0==r&&o.attr({display:"none"}),0!=r&&this.addEvent(o,t,e),o},this.setActiveEffect=function(e){for(var n=this.getBarStyle(),i=this.barList,r=this.stackTooltips,o=0;o<i.length;o++){var a=e==i[o]?1:n.disableOpacity;r&&(1==a||-1!=t.inArray(o,this.tooltipIndexes)?r[o].attr({opacity:1}):r[o].attr({opacity:0})),i[o].attr({opacity:a})}},this.setActiveEffectOption=function(){var t=this.brush.active;this.barList&&this.barList[t]&&this.setActiveEffect(this.barList[t])},this.setActiveEvent=function(t){var e=this;t.on(e.brush.activeEvent,(function(n){e.setActiveEffect(t)}))},this.setActiveEventOption=function(t){null!=this.brush.activeEvent&&(this.setActiveEvent(t),t.attr({cursor:"pointer"}))},this.getTargetSize=function(){var t=this.axis.y.rangeBand();if(this.brush.size>0)return this.brush.size;var e=t-2*this.brush.outerPadding;return e<this.brush.minSize?this.brush.minSize:e},this.setActiveTooltips=function(t,e){for(var n=this.brush.display,i="min"==n?t:e,r=0;r<this.stackTooltips.length;r++)r!=i&&"all"!=n||(this.stackTooltips[r].css({opacity:1}),this.tooltipIndexes.push(r))},this.drawStackTooltip=function(t,e,n,i,r,o){var a=this.chart.theme("tooltipPointFontSize"),s="middle",c=0,l=0;"left"==o?(s="start",c=3,l=a/3):"right"==o?(s="end",c=-3,l=a/3):l="top"==o?-a/3:a;var u=this.chart.text({fill:this.chart.theme("tooltipPointFontColor"),"font-size":a,"font-weight":this.chart.theme("tooltipPointFontWeight"),"text-anchor":s,dx:c,dy:l,opacity:0}).text(this.format(n)).translate(i,r);this.stackTooltips[e]=u,t.append(u)},this.drawStackEdge=function(t){for(var e=this.chart.theme("barStackEdgeBorderWidth"),n=1;n<this.edgeData.length;n++)for(var i=this.edgeData[n-1],r=this.edgeData[n],o=0;o<this.brush.target.length;o++)r[o].width>0&&r[o].height>0&&t.append(this.svg.line({x1:i[o].x+i[o].width-i[o].ex,x2:r[o].x+r[o].dx-r[o].ex,y1:i[o].y+i[o].height-i[o].ey,y2:r[o].y+r[o].dy,stroke:r[o].color,"stroke-width":e}))},this.drawBefore=function(){r=e.svg.group(),n.y.rangeBand(),o=this.getTargetSize(),this.stackTooltips=[],this.tooltipIndexes=[],this.edgeData=[]},this.draw=function(){var a=null,s=0,c=null,l=this.axis.x.max(),u=this.axis.get("x").reverse;return this.eachData((function(d,h){for(var f=e.svg.group(),p=this.offset("y",h),m=p-o/2,g=n.x(0),v=0,_=0,y=0;y<i.target.length;y++){var b=d[i.target[y]]+v,w=n.x(b),k={x:g<w?g:w,y:m,width:Math.abs(g-w),height:o},x=this.getBarElement(h,y).attr(k);this.edgeData[h]||(this.edgeData[h]={}),this.edgeData[h][y]=t.extend({color:this.color(y),dx:k.width,dy:0,ex:u?k.width:0,ey:0},k),g=w,v=b,_+=d[i.target[y]],f.append(x)}_>s&&(s=_,a=h),_<l&&(l=_,c=h),this.drawStackTooltip(f,h,_,g,p,u?"right":"left"),this.setActiveEventOption(f),this.addBarElement(f),r.append(f)})),this.brush.edge&&this.drawStackEdge(r),null!=this.brush.display&&this.setActiveTooltips(c,a),this.setActiveEffectOption(),r}};return e.setup=function(){return{outerPadding:15,edge:!1}},e}};St.use(Kt);var Qt={name:"chart.brush.fullstackbar",extend:"chart.brush.stackbar",component:function(){var t=St.include("util.base"),e=function(e,n,i){var r,o;this.drawBefore=function(){r=e.svg.group(),n.x(0),n.y.rangeBand(),o=this.getTargetSize()},this.drawText=function(e,n,i){if(0===e||isNaN(e))return null;var r=t.typeCheck("function",this.brush.showText)?this.brush.showText.call(this,e):e+"%",o=this.chart.text({"font-size":this.chart.theme("barFontSize"),fill:this.chart.theme("barFontColor"),x:n,y:i,"text-anchor":"middle"},r);return o},this.draw=function(){return this.eachData((function(t,a){for(var s=e.svg.group(),c=this.offset("y",a)-o/2,l=0,u=[],d=0;d<i.target.length;d++){var h=t[i.target[d]];l+=h,u.push(h)}var f=0,p=n.x.max();for(d=0;d<u.length;d++){h=n.x.rate(u[d],l);var m=this.getBarElement(a,d);if(!isNaN(h)){if(m.attr({x:f,y:c,width:h,height:o}),s.append(m),!1!==i.showText){var g=Math.round(u[d]/l*p),v=f+h/2,_=c+o/2+5,y=this.drawText(g,v,_);null!=y&&s.append(y)}this.setActiveEventOption(s),f+=h}}this.addBarElement(s),r.append(s)})),this.setActiveEffectOption(),r}};return e.setup=function(){return{outerPadding:15,showText:!1}},e}};St.use(Kt);var te={name:"chart.brush.stackcolumn",extend:"chart.brush.stackbar",component:function(){var t=St.include("util.base"),e=function(e,n,i){var r,o;this.getTargetSize=function(){var t=this.axis.x.rangeBand();if(this.brush.size>0)return this.brush.size;var e=t-2*this.brush.outerPadding;return e<this.brush.minSize?this.brush.minSize:e},this.drawBefore=function(){r=e.svg.group(),n.y(0),o=this.getTargetSize(),this.stackTooltips=[],this.tooltipIndexes=[],this.edgeData=[]},this.draw=function(){var a=null,s=0,c=null,l=this.axis.y.max(),u=this.axis.get("y").reverse;return this.eachData((function(d,h){for(var f=e.svg.group(),p=this.offset("x",h),m=p-o/2,g=n.y(0),v=0,_=0,y=0;y<i.target.length;y++){var b=d[i.target[y]]+v,w=n.y(b),k={x:m,y:g>w?w:g,width:o,height:Math.abs(g-w)},x=this.getBarElement(h,y).attr(k);this.edgeData[h]||(this.edgeData[h]={}),this.edgeData[h][y]=t.extend({color:this.color(y),dx:0,dy:u?k.height:0,ex:0,ey:u?0:k.height},k),g=w,v=b,_+=d[i.target[y]],f.append(x)}_>s&&(s=_,a=h),_<l&&(l=_,c=h),this.drawStackTooltip(f,h,_,p,g,u?"bottom":"top"),this.setActiveEventOption(f),this.addBarElement(f),r.append(f)})),this.brush.edge&&this.drawStackEdge(r),null!=this.brush.display&&this.setActiveTooltips(c,a),this.setActiveEffectOption(),r}};return e}};St.use(Qt);var ee={name:"chart.brush.fullstackcolumn",extend:"chart.brush.fullstackbar",component:function(){var t=function(t,e,n){var i,r;this.getTargetSize=function(){var t=this.axis.x.rangeBand(),e=0;return e=this.brush.size>0?this.brush.size:t-2*this.brush.outerPadding,e<0?0:e},this.drawBefore=function(){i=t.svg.group(),e.y(0),r=this.getTargetSize()},this.draw=function(){var o=e.area("height");return this.eachData((function(a,s){for(var c=t.svg.group(),l=this.offset("x",s)-r/2,u=0,d=[],h=0;h<n.target.length;h++){var f=a[n.target[h]];u+=f,d.push(f)}var p=0,m=e.y.max();for(h=d.length-1;h>=0;h--){f=o-e.y.rate(d[h],u);var g=this.getBarElement(s,h);if(isNaN(l)||isNaN(p)||isNaN(f)||g.attr({x:l,y:p,width:r,height:f}),c.append(g),n.showText){var v=Math.round(d[h]/u*m),_=l+r/2,y=p+f/2+8,b=this.drawText(v,_,y);null!=b&&c.append(b)}this.setActiveEventOption(c),p+=f}this.addBarElement(c),i.append(c)})),this.setActiveEffectOption(),i}};return t}};St.use(Ut,Kt,Qt,Wt,te,ee);var ne={name:"graph-stackbar",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],props:{fixedSize:{type:Number,required:!1,default:0},barMargin:{type:Number,required:!1,default:2},barPadding:{type:Number,required:!1,default:1},activeIndex:{type:Number,required:!1},activeEvent:{type:String,required:!1},display:{type:String,required:!1},connectedLine:{type:Boolean,required:!1,default:!1},fullMode:{type:Boolean,required:!1,default:!1},showText:{type:Boolean,required:!1,default:!1}},watch:{activeIndex:function(t,e){t!=e&&(this.chart.updateBrush(0,{active:t}),this.chart.render())}},methods:{getAxisMinAndMax:function(){var t=this.axisMin,e=this.axisMax;return t!=e?[t,e]:function(t){return Object.values(t).reduce((function(t,e){return t+e}),0)}}},beforeMount:function(){var t=this.axisReverse?"stackbar":"stackcolumn";
125this.brushes=[{type:this.fullMode?"full"+t:t,clip:this.clip,colors:this.colors,active:this.activeIndex,activeEvent:this.activeEvent,display:this.display,size:this.fixedSize,outerPadding:this.barMargin,innerPadding:this.barPadding,edge:this.connectedLine}],this.fullMode&&(this.brushes[0].showText=this.showText)}},ie={name:"chart.brush.rangebar",extend:"chart.brush.core",component:function(){var t=function(t,e,n){var i,r,o,a,s,c,l,u,d;this.drawBefore=function(){i=t.svg.group(),s=n.outerPadding,c=n.innerPadding,r=e.y.rangeBand(),o=r-2*s,a=(o-(n.target.length-1)*c)/n.target.length,l=t.theme("barBorderColor"),u=t.theme("barBorderWidth"),d=t.theme("barBorderOpacity")},this.draw=function(){return this.eachData((function(r,s){for(var h=t.svg.group(),f=this.offset("y",s)-o/2,p=0;p<n.target.length;p++){var m=r[n.target[p]],g=e.x(m[1]),v=e.x(m[0]),_=t.svg.rect({x:v,y:f,height:a,width:Math.abs(v-g),fill:this.color(p),stroke:l,"stroke-width":u,"stroke-opacity":d});this.addEvent(_,s,p),h.append(_),f+=a+c}i.append(h)})),i}};return t.setup=function(){return{outerPadding:2,innerPadding:1}},t}},re={name:"chart.brush.rangecolumn",extend:"chart.brush.core",component:function(){var t=function(t,e,n){var i,r,o,a,s,c,l,u,d;this.drawBefore=function(){i=t.svg.group(),s=n.outerPadding,c=n.innerPadding,r=e.x.rangeBand(),a=r-2*s,o=(r-2*s-(n.target.length-1)*c)/n.target.length,l=t.theme("columnBorderColor"),u=t.theme("columnBorderWidth"),d=t.theme("columnBorderOpacity")},this.draw=function(){return this.eachData((function(r,s){for(var h=this.offset("x",s)-a/2,f=0;f<n.target.length;f++){var p=r[n.target[f]],m=e.y(p[1]),g=e.y(p[0]),v=t.svg.rect({x:h,y:m,width:o,height:Math.abs(g-m),fill:this.color(f),stroke:l,"stroke-width":u,"stroke-opacity":d});this.addEvent(v,s,f),i.append(v),h+=o+c}})),i}};return t.setup=function(){return{outerPadding:2,innerPadding:1}},t}};St.use(ie,re);var oe={name:"graph-rangebar",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],props:{barMargin:{type:Number,required:!1,default:2},barPadding:{type:Number,required:!1,default:1}},beforeMount:function(){this.brushes=[{type:this.axisReverse?"rangebar":"rangecolumn",clip:this.clip,colors:this.colors,outerPadding:this.barMargin,innerPadding:this.barPadding}]}},ae=(n("caad"),n("2532"),{name:"chart.brush.line",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=function(){var e,n,i,r,o,a;this.setActiveEffect=function(t){for(var e=this.lineList,r=0;r<e.length;r++){var o=t==e[r].element?a:i,s=e[r].element.get(0).attr("stroke");null!=e[r].tooltip&&e[r].tooltip.style(s,n,o),e[r].element.attr({opacity:o})}},this.setActiveEffects=function(){for(var e=this.lineList,r=this.brush.active,o=0;o<e.length;o++){var s=this.brush.target[o],c=i,l=e[o].element.get(0).attr("stroke");(null===r||r===s||t.typeCheck("array",r)&&r.includes(s))&&(c=a),null!=e[o].tooltip&&e[o].tooltip.style(l,n,c),e[o].element.attr({opacity:c})}},this.addLineElement=function(t){this.lineList||(this.lineList=[]),this.lineList.push(t)},this.createLine=function(e,n){var i=e.x,a=e.y,s=e.value,c="curve"==this.brush.symbol?this.curvePoints(i):null,l="curve"==this.brush.symbol?this.curvePoints(a):null,u=null,d=null,h={"stroke-width":r,"stroke-dasharray":o,fill:"transparent",cursor:null!=this.brush.activeEvent?"pointer":"normal"},f=this.svg.group(),p=null;if(e.length>0)for(var m=null,g=null,v=0;v<i.length-1;v++)if(t.typeCheck(["undefined","null"],s[v])||(m=v),t.typeCheck(["undefined","null"],s[v+1])||(g=v+1),null!=m&&null!=g&&m!=g){var _=this.color(v,n),y=this.getOpacity(v);if(u!=_||d!=y?(p=this.svg.path(t.extend({"stroke-opacity":y,stroke:_,x1:i[m]},h)),p.css({"pointer-events":"stroke"}),p.MoveTo(i[m],a[m]),f.append(p),u=_,d=y):p.attr({x2:i[g]}),"curve"==this.brush.symbol)p.CurveTo(c.p1[m],l.p1[m],c.p2[m],l.p2[m],i[g],a[g]);else{if("step"==this.brush.symbol){var b=i[m]+(i[g]-i[m])/2;p.LineTo(b,a[m]),p.LineTo(b,a[g])}p.LineTo(i[g],a[g])}}return f},this.createTooltip=function(t,e,i){for(var r=this.brush.display,o=0;o<e.x.length;o++)if("max"==r&&e.max[o]||"min"==r&&e.min[o]||"all"==r){var s="max"==r&&e.max[o]?"top":"bottom",c=this.lineList[i].tooltip;if("all"==r||null==c){var l=this.drawTooltip(this.color(i),n,a);l.control(s,+e.x[o],+e.y[o],this.format(e.value[o])),t.append(l.tooltip),this.lineList[i].tooltip=l}}},this.getOpacity=function(e){var n=this.brush.opacity,i=this.chart.theme("lineBorderOpacity");return t.typeCheck("function",n)&&t.typeCheck("number",e)?n.call(this.chart,this.getData(e),e):t.typeCheck("number",n)?n:i},this.drawLine=function(t){for(var n=this,i=0;i<t.length;i++){var r=this.createLine(t[i],i);this.addEvent(r,null,i),e.append(r),this.addLineElement({element:r,tooltip:null}),null!=this.brush.display&&this.createTooltip(e,t[i],i),null!=this.brush.activeEvent&&function(t){t.on(n.brush.activeEvent,(function(e){n.setActiveEffect(t)}))}(r)}return null!=this.brush.active&&this.setActiveEffects(),e},this.drawBefore=function(){e=this.chart.svg.group(),n=this.chart.theme("linePointBorderColor"),i=this.chart.theme("lineDisableBorderOpacity"),r=this.chart.theme("lineBorderWidth"),o=this.chart.theme("lineBorderDashArray"),a=this.getOpacity(null)},this.draw=function(){return this.drawLine(this.getXY())},this.drawAnimate=function(t){var e=this.chart.svg;t.each((function(t,n){if(n.is("util.svg.element.path")){var i=n.attributes["stroke-dasharray"],r=n.length();"none"==i?(n.attr({"stroke-dasharray":r}),n.append(e.animate({attributeName:"stroke-dashoffset",from:r,to:"0",begin:"0s",dur:"1s",repeatCount:"1"}))):n.append(e.animate({attributeName:"opacity",from:"0",to:"1",begin:"0s",dur:"1.5s",repeatCount:"1",fill:"freeze"}))}}))}};return e.setup=function(){return{symbol:"normal",active:null,activeEvent:null,display:null,opacity:null}},e}});St.use(ae);var se={name:"graph-line",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],props:{shape:{type:String,required:!1,default:"normal"},activeIndex:{type:Number,required:!1},activeEvent:{type:String,required:!1},display:{type:String,required:!1},opacity:{type:Number,required:!1}}
125,beforeMount:function(){this.brushes=[{type:"line",clip:this.clip,colors:this.colors,symbol:this.shape,active:this.activeIndex,activeEvent:this.activeEvent,display:this.display,opacity:this.opacity}]}},ce={name:"chart.brush.polygon.line3d",extend:"chart.brush.polygon.core",component:function(){var t=St.include("util.color"),e=St.include("chart.polygon.point"),n=function(){this.createLine=function(n,i,r,o){for(var a=this.color(r,o),s=this.axis.z.rangeBand()-2*this.brush.padding,c=this.axis.x(r),l=this.axis.y(n[r][i]),u=this.axis.z(o)-s/2,d=this.axis.x(r+1),h=this.axis.y(n[r+1][i]),f=this.axis.z(o)+s/2,p=null,m=this.chart.svg.polygon({fill:a,"fill-opacity":this.chart.theme("polygonLineBackgroundOpacity"),stroke:t.darken(a,this.chart.theme("polygonLineBorderOpacity")),"stroke-opacity":this.chart.theme("polygonLineBorderOpacity")}),g=[new e(c,l,u),new e(c,l,f),new e(d,h,f),new e(d,h,u)],v=0;v<g.length;v++)this.createPolygon(g[v],(function(t){var e=t.vectors[0];m.point(e.x,e.y),(null==p||e.z>p.vectors[0].z)&&(p=t)}));return m.order=this.axis.depth-p.max().z,m},this.draw=function(){for(var t=this.chart.svg.group(),e=this.listData(),n=this.brush.target,i=0;i<e.length-1;i++)for(var r=0;r<n.length;r++)t.append(this.createLine(e,n[r],i,r));return t}};return n.setup=function(){return{padding:10,clip:!1}},n}};St.use(ce,Zt);var le={name:"graph-line3d",mixins:[Dt,jt,It,Nt,Yt,Xt,Ht,qt],props:{names:{type:Array,required:!0},linePadding:{type:Number,required:!1,default:20}},beforeMount:function(){this.brushes=[{type:"polygon.line3d",colors:this.colors,padding:this.linePadding}]}},ue={props:{axisMin:{type:Number,required:!1,default:0},axisMax:{type:Number,required:!1,default:0},axisStep:{type:Number,required:!1,default:10},axisXStyle:{type:String,required:!1,default:"solid"},axisYStyle:{type:String,required:!1,default:"solid"},axisXPosition:{type:String,required:!1,default:"bottom"},axisYPosition:{type:String,required:!1,default:"left"},axisReverse:{type:Boolean,required:!1,default:!1},axisInterval:{type:Number,required:!0,default:36e5},axisFormat:{type:[String,Function],required:!0,default:"HH"},textRotateX:{type:Number,required:!1,default:0},textRotateY:{type:Number,required:!1,default:0}}},de={methods:{initGraphAxes:function(){var t={type:"dateblock",domain:this.labels,interval:this.axisInterval,format:this.axisFormat,line:"none"!=this.axisXStyle&&this.axisXStyle,hide:"hidden"==this.axisXStyle,orient:this.axisXPosition,textRotate:-this.textRotateX},e={type:"range",domain:this.getAxisMinAndMax(),step:this.axisStep,line:"none"!=this.axisYStyle&&this.axisYStyle,hide:"hidden"==this.axisYStyle,orient:this.axisYPosition,textRotate:-this.textRotateY};return{x:this.axisReverse?e:t,y:this.axisReverse?t:e,data:this.convertToData(this.values)}}}},he={name:"graph-line-dateblock",mixins:[se,ue,de]},fe={props:{axisMin:{type:Number,required:!1,default:0},axisMax:{type:Number,required:!1,default:100},axisStep:{type:Number,required:!1,default:10},axisXStyle:{type:String,required:!1,default:"solid"},axisYStyle:{type:String,required:!1,default:"solid"},axisXPosition:{type:String,required:!1,default:"bottom"},axisYPosition:{type:String,required:!1,default:"left"},axisReverse:{type:Boolean,required:!1,default:!1},axisInterval:{type:Number,required:!0,default:36e5},axisFormat:{type:[String,Function],required:!0,default:"HH"},textRotateX:{type:Number,required:!1,default:0},textRotateY:{type:Number,required:!1,default:0}}},pe={methods:{convertToData:function(t){for(var e=St.include("util.base"),n=[],i=0;i<t.length;i++){var r=t[i];e.typeCheck("array",r)&&n.push({0:r[0],1:r[1]})}return n},initGraphAxes:function(){var t={type:"date",domain:this.labels,interval:this.axisInterval,format:this.axisFormat,line:"none"!=this.axisXStyle&&this.axisXStyle,hide:"hidden"==this.axisXStyle,orient:this.axisXPosition,key:"0",textRotate:-this.textRotateX},e={type:"range",domain:[this.axisMin,this.axisMax],step:this.axisStep,line:"none"!=this.axisYStyle&&this.axisYStyle,hide:"hidden"==this.axisYStyle,orient:this.axisYPosition,textRotate:-this.textRotateY};return{x:this.axisReverse?e:t,y:this.axisReverse?t:e,data:this.convertToData(this.values)}}}},me={name:"graph-line-timerange",mixins:[se,fe,pe],beforeMount:function(){this.brushes=[{t
125ype:"line",target:"1",clip:this.clip,colors:this.colors,symbol:this.shape,active:this.activeIndex,activeEvent:this.activeEvent,display:this.display,opacity:this.opacity}]}},ge={name:"chart.brush.scatter",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=function(){this.getSymbolType=function(e,n){var i=this.brush.symbol,r=this.brush.target[e];if(t.typeCheck("function",i)){var o=i.apply(this.chart,[r,n]);return"triangle"==o||"cross"==o||"rectangle"==o||"rect"==o||"circle"==o?{type:"default",uri:o}:{type:"image",uri:o}}return{type:"default",uri:i}},this.createScatter=function(t,e,n,i){var r=this,o=null,a=this.brush.size,s=this.brush.size,c=this.color(e,n),l=this.chart.theme("scatterBorderColor"),u=this.chart.theme("scatterBorderWidth"),d=this.brush.opacity;return"image"==i.type?o=this.chart.svg.image({"xlink:href":i.uri,width:a+u,height:s+u,x:t.x-a/2-u,y:t.y-s/2}):(o="triangle"==i.uri||"cross"==i.uri?this.chart.svg.group({width:a,height:s,opacity:d},(function(){if("triangle"==i.uri){var t=r.chart.svg.polygon();t.point(0,s).point(a,s).point(a/2,0)}else r.chart.svg.line({stroke:c,"stroke-width":2*u,x1:0,y1:0,x2:a,y2:s}),r.chart.svg.line({stroke:c,"stroke-width":2*u,x1:0,y1:a,x2:s,y2:0})})).translate(t.x-a/2,t.y-s/2):"rectangle"==i.uri||"rect"==i.uri?this.chart.svg.rect({width:a,height:s,x:t.x-a/2,y:t.y-s/2,opacity:d}):this.chart.svg.ellipse({rx:a/2,ry:s/2,cx:t.x,cy:t.y,opacity:d}),"cross"!=i.uri&&o.attr({fill:c,stroke:l,"stroke-width":u}).hover((function(){if(o!=r.activeScatter){var t={fill:r.chart.theme("scatterHoverColor"),stroke:c,"stroke-width":2*u,opacity:d};if(r.brush.hoverSync)for(var n=0;n<r.cachedSymbol[e].length;n++)t.stroke=r.color(e,n),r.cachedSymbol[e][n].attr(t);else o.attr(t)}}),(function(){if(o!=r.activeScatter){var t={fill:c,stroke:l,"stroke-width":u,opacity:r.brush.hide?0:d};if(r.brush.hoverSync)for(var n=0;n<r.cachedSymbol[e].length;n++)t.fill=r.color(e,n),r.cachedSymbol[e][n].attr(t);else o.attr(t)}}))),o},this.drawScatter=function(e){this.cachedSymbol={};for(var n=this,i=this.chart.svg.group(),r=this.chart.theme("scatterBorderColor"),o=this.chart.theme("scatterBorderWidth"),a=this.brush.opacity,s=!1,c=0;c<e.length;c++)for(var l=0;l<e[c].length;l++)if(this.cachedSymbol[l]||(this.cachedSymbol[l]=[]),!this.brush.hideZero||0!==e[c].value[l]){var u={x:e[c].x[l],y:e[c].y[l],max:e[c].max[l],min:e[c].min[l],value:e[c].value[l]};if(!t.typeCheck(["undefined","null"],u.value)){var d=this.getSymbolType(c,u.value),h=this.createScatter(u,l,c,d),f=this.brush.display;"default"==d.type&&"cross"!=d.uri&&this.cachedSymbol[l].push(h),("max"==f&&u.max||"min"==f&&u.min||"all"==f)&&("all"!=f&&s||(i.append(this.drawTooltip(u.x,u.y,this.format(u.value))),s=!0)),null!=this.brush.activeEvent&&function(t,e,i,s){var c=e.x,l=e.y,u=n.format(e.value);t.on(n.brush.activeEvent,(function(e){"default"==s.type&&"cross"!=s.uri&&(null!=n.activeScatter&&n.activeScatter.attr({fill:n.activeScatter.attributes["stroke"],stroke:r,"stroke-width":o,opacity:n.brush.hide?0:a}),n.activeScatter=t,n.activeScatter.attr({fill:n.chart.theme("scatterHoverColor"),stroke:i,"stroke-width":2*o,opacity:a})),n.activeTooltip.html(u),n.activeTooltip.translate(c,l)})),t.attr({cursor:"pointer"})}(h,u,this.color(l,c),this.getSymbolType(c,u.value)),this.brush.hide&&h.attr({opacity:0}),this.addEvent(h,l,c),i.append(h)}}return this.activeTooltip=this.drawTooltip(0,0,""),i.append(this.activeTooltip),i},this.drawTooltip=function(t,e,n){return this.chart.text({y:-this.brush.size,"text-anchor":"middle",fill:this.chart.theme("tooltipPointFontColor"),"font-size":this.chart.theme("tooltipPointFontSize"),"font-weight":this.chart.theme("tooltipPointFontWeight"),opacity:this.brush.opacity},n).translate(t,e)},this.draw=function(){return this.drawScatter(this.getXY())},this.drawAnimate=function(){var t=this.chart.area();return this.chart.svg.animateTransform({attributeName:"transform",type:"translate",from:t.x+" "+t.height,to:t.x+" "+t.y,begin:"0s",dur:"0.4s",repeatCount:"1"})}};return e.setup=function(){return{symbol:"circle",size:7,hide:!1,hideZero:!1,hoverSync:!1,activeEvent:null,display:null,opacity:1,clip:!1}},e}};St.use(ge);var ve={name:"graph-scatter",mixins:[Dt,jt,It,Nt,Yt,fe,Ht,pe],props:{shape:{type:String,required:!1,default:"circle"},activeEvent:{type:String,required:!1},display:{type:String,required:!1},opacity:{type:Number,required:!1},size:{type:Number,required:!1,size:7},hideZero:{type:Boolean,required:!1,size:!1}}
125,beforeMount:function(){this.brushes=[{type:"scatter",target:["1"],clip:this.clip,colors:this.colors,symbol:this.shape,activeEvent:this.activeEvent,display:this.display,opacity:this.opacity,size:this.size,hideZero:this.hideZero}]}},_e={name:"chart.brush.bubble",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=St.include("util.math"),n=function(){var n=this,i=null,r=null;this.getFormatText=function(e,n){return t.typeCheck("function",this.brush.format)?this.format(this.axis.data[n]):e},this.getBubbleRadius=function(n,o){var a=this.brush.scaleKey;if(null!=a){var s=this.axis.data[o][a];n=t.typeCheck("number",s)?s:n}return e.scaleValue(n,i,r,this.brush.min,this.brush.max)},this.createBubble=function(t,e,n){var i=this.getBubbleRadius(t.value,n),r=this.svg.group().translate(t.x,t.y);if(r.append(this.svg.circle({r:i,fill:e,"fill-opacity":this.chart.theme("bubbleBackgroundOpacity"),stroke:e,"stroke-width":this.chart.theme("bubbleBorderWidth")})),this.brush.showText){var o=this.getFormatText(t.value,n);r.append(this.chart.text({"font-size":this.chart.theme("bubbleFontSize"),fill:this.chart.theme("bubbleFontColor"),"text-anchor":"middle",dy:3}).text(o))}return this.bubbleList.push(r),r},this.setActiveEffect=function(t){for(var e=this.bubbleList,n=0;n<e.length;
125n++){var i=e[n]==t?1:this.chart.theme("bubbleBackgroundOpacity");e[n].get(0).attr({opacity:i}),e[n].get(1).attr({opacity:i})}},this.drawBubble=function(t){for(var e=this.svg.group(),i=0;i<t.length;i++)for(var r=0;r<t[i].x.length;r++){var o=this.createBubble({x:t[i].x[r],y:t[i].y[r],value:t[i].value[r]},this.color(r,i),r);null!=this.brush.activeEvent&&function(t){t.on(n.brush.activeEvent,(function(e){n.setActiveEffect(t)})),t.attr({cursor:"pointer"})}(o),this.addEvent(o,r,i),e.append(o)}var a=this.bubbleList[this.brush.active];return null!=a&&this.setActiveEffect(a),e},this.drawBefore=function(){var t=this.brush.scaleKey;if(null!=t){for(var e=[],n=0;n<this.axis.data.length;n++)e.push(this.axis.data[n][t]);i=Math.min.apply(this,e),r=Math.max.apply(this,e)}else i=this.axis.y.min(),r=this.axis.y.max();this.bubbleList=[]},this.draw=function(){return this.drawBubble(this.getXY())},this.drawAnimate=function(t){t.each((function(t,e){var i=e.children[0];i.append(n.svg.animateTransform({attributeType:"xml",attributeName:"transform",type:"scale",from:"0",to:"1",dur:"0.7s",fill:"freeze",repeatCount:"1"})),i.append(n.svg.animate({attributeType:"xml",attributeName:"fill-opacity",from:"0",to:n.chart.theme("bubbleBackgroun
125dOpacity"),dur:"1.4s",repeatCount:"1",fill:"freeze"}))}))}};return n.setup=function(){return{min:5,max:30,scaleKey:null,showText:!1,format:null,active:null,activeEvent:null}},n}};St.use(_e);var ye={name:"graph-bubble",mixins:[Dt,jt,It,Nt,Yt,fe,Ht,pe],props:{minSize:{type:Number,required:!1,default:5},maxSize:{type:Number,required:!1,default:30},showText:{type:Boolean,required:!1,default:!1},activeEvent:{type:String,required:!1}},beforeMount:function(){this.brushes=[{type:"bubble",target:["1"],clip:this.clip,colors:this.colors,min:this.minSize,max:this.maxSize,showText:this.showText,activeEvent:this.showText?this.activeEvent:null}]}};St.use(ae);var be={name:"chart.brush.area",extend:"chart.brush.line",component:function(){var t=St.include("util.base"),e=function(){this.drawArea=function(e){for(var n=this.chart.svg.group(),i=this.axis.y(this.brush.startZero?0:this.axis.y.min()),r=t.typeCheck("number",this.brush.opacity)?this.brush.opacity:this.chart.theme("areaBackgroundOpacity"),o=0;o<e.length;o++){for(var a=this.createLine(e[o],o).children,s=0;s<a.length;s++){var c=a[s];t.typeCheck("function",this.brush.opacity)&&(r=c.attr("stroke-opacity")),e[o].length>0&&(c.LineTo(c.attr("x2"),i),c.LineTo(c.attr("x1"),i),c.ClosePath()),c.attr({fill:c.attr("stroke"),"fill-opacity":r,"stroke-width":0}),n.prepend(c)}if(this.brush.line){c=this.createLine(e[o],o);n.prepend(c),this.addLineElement({element:c,tooltip:null}),this.brush.display&&this.createTooltip(n,e[o],o)}this.addEvent(n,null,o)}return n},this.draw=function(){return this.drawArea(this.getXY())},this.drawAnimate=function(t){t.append(this.chart.svg.animate({attributeName:"opacity",from:"0",to:"1",begin:"0s",dur:"1.5s",repeatCount:"1",fill:"freeze"}))}};return e.setup=function(){return{symbol:"normal",active:null,activeEvent:null,display:null,startZero:!0,line:!0}},e}};St.use(be);var we={name:"chart.brush.stackarea",extend:"chart.brush.area",component:function(){var t=function(){this.draw=function(){return this.drawArea(this.getStackXY())}};return t}};St.use(ae,be,we);var ke={name:"graph-area",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],props:{shape:{type:String,required:!1,default:"normal"},opacity:{type:Number,required:!1},borderLine:{type:Boolean,required:!1,default:!0},display:{type:String,required:!1}},methods:{getAxisMinAndMax:function(){var t=this.axisMin,e=this.axisMax;return t!=e?[t,e]:function(t){return Object.values(t).reduce((function(t,e){return t+e}),0)}}},beforeMount:function(){this.brushes=[{type:"stackarea",clip:this.clip,colors:this.colors,symbol:this.shape,opacity:this.opacity,line:this.borderLine,display:this.display}]}},xe={name:"graph-area-dateblock",mixins:[ke,ue,de]},Te={name:"graph-area-timerange",mixins:[ke,fe,pe],beforeMount:function(){this.brushes=[{type:"stackarea",target:"1",clip:this.clip,colors:this.colors,symbol:this.shape,opacity:this.opacity,line:this.borderLine,display:this.display}]}},Me={name:"chart.brush.rangearea",extend:"chart.brush.core",component:function(){var t=function(){this.draw=function(){for(var t=this.svg.group(),e=this.brush.target,n=this.axis.data,i="range"==this.axis.y.type,r=0;r<e.length;r++){for(var o=this.svg.polygon({fill:this.color(r),"fill-opacity":this.chart.theme("areaBackgroundOpacity"),"stroke-width":0}),a=0;a<n.length;a++){var s=n[a][e[r]];i?o.point(this.axis.x(a),this.axis.y(s[0])):o.point(this.axis.x(s[0]),this.axis.y(a))}for(a=n.length-1;a>=0;a--){s=n[a][e[r]];i?o.point(this.axis.x(a),this.axis.y(s[1])):o.point(this.axis.x(s[1]),this.axis.y(a))}t.append(o)}return t}};return t}};St.use(ae,Me);var Se={name:"graph-rangearea",mixins:[Dt,jt,It,Nt,Yt,zt,Ht,Vt],methods:{convertToData:function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];"object"==Object(i["a"])(r)&&3==r.length&&e.push({0:[r[0],r[2]],1:r[1]})}return e},getAxisMinAndMax:function(){var t=this.axisMin,e=this.axisMax;return t!=e?[t,e]:function(t){return Object.values(t["0"]).reduce((function(t,e){return Math.max(t,e)}))}}},beforeMount:function(){this.brushes=[{type:"rangearea",clip:this.clip,colors:this.colors,target:"0"},{type:"line",clip:this.clip,colors:this.colors,target:"1"}]}},Ce={name:"graph-rangearea-dateblock",mixins:[Se,ue,de]};St.use(ae,Me);var Ee={name:"graph-rangearea-timerange",mixins:[Dt,jt,It,Nt,Yt,fe,Ht,pe],methods:{convertToData:function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];"object"==Object(i["a"])(r)&&4==r.length&&e.push({0:r[0],1:[r[1],r[3]],2:r[2]})}return e}}
125,beforeMount:function(){this.brushes=[{type:"rangearea",clip:this.clip,colors:this.colors,target:"1"},{type:"line",clip:this.clip,colors:this.colors,target:"2"}]}},Le={name:"chart.brush.pie",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=St.include("util.math"),n=St.include("util.color"),i=function(){var i,r=this,o=3,a=0,s=0,c=1,l={};this.setActiveEvent=function(t,n){var i=!0,r=this.chart.theme("pieDisableBackgroundOpacity")||.5;for(var o in t){var a=t[o];if(a.active){i=!1;break}}for(var o in t){a=t[o];if(a.active){var s=this.chart.theme("pieActiveDistance"),c=Math.cos(e.radian(a.centerAngle))*s,l=Math.sin(e.radian(a.centerAngle))*s;a.pie.translate(a.centerX+c,a.centerY+l)}else a.pie.translate(a.centerX,a.centerY);n&&(a.pie.children.length>0&&a.pie.get(0).attr({opacity:i||a.active?1:r}),a.text.children.length>0&&a.text.get(0).attr({opacity:i||a.active?1:r}))}},this.setActiveTextEvent=function(t){for(var n in t){var i=t[n],r=i.active?this.chart.theme("pieActiveDistance"):0,o=i.centerX+Math.cos(e.radian(i.centerAngle))*((i.outerRadius+r)/2),a=i.centerY+Math.sin(e.radian(i.centerAngle))*((i.outerRadius+r)/2);i.text.children.length>0&&i.text.get(0).translate(o,a)}},this.getFormatText=function(t,e,n){var i=t;return"function"==typeof this.brush.format?this.format(i,e,n):e?i+": "+this.format(e):i},this.drawPie=function(t,n,i,r,o,a){var s=this.chart.svg.group();if(360==o){var c=this.chart.svg.circle({cx:t,cy:n,r:i,fill:a,stroke:this.chart.theme("pieBorderColor")||a,"stroke-width":this.chart.theme("pieBorderWidth")});return s.append(c),s}var l=this.chart.svg.path({fill:a,stroke:this.chart.theme("pieBorderColor")||a,"stroke-width":this.chart.theme("pieBorderWidth")}),u=e.rotate(0,-i,e.radian(r)),d=u.x,h=u.y;return l.MoveTo(d,h),u=e.rotate(d,h,e.radian(o)),s.translate(t,n),l.Arc(i,i,0,o>180?1:0,1,u.x,u.y).LineTo(0,0).ClosePath(),s.append(l),s.order=1,s},this.drawPie3d=function(t,n,i,r,o,a){var s=this.chart.svg.group(),c=this.chart.svg.path({fill:a,stroke:this.chart.theme("pieBorderColor")||a,"stroke-width":this.chart.theme("pieBorderWidth")}),l=e.rotate(0,-i,e.radian(r)),u=l.x,d=l.y;c.MoveTo(u,d),l=e.rotate(u,d,e.radian(o)),s.translate(t,n),c.Arc(i,i,0,o>180?1:0,1,l.x,l.y);var h=l.y+10,f=l.x+5,p=u+5,m=d+10;return c.LineTo(f,h),c.Arc(i,i,0,o>180?1:0,0,p,m),c.ClosePath(),s.append(c),s.order=1,s},this.drawText=function(t,n,i,r,l){var u=this.svg.group({visibility:this.brush.showText?"visible":"hidden"}),d=i+90>180;if(""===l||!l)return u;if("inside"==this.brush.showText){var h=t+Math.cos(e.radian(i))*(r/2),f=n+Math.sin(e.radian(i))*(r/2);l=this.chart.text({"font-size":this.chart.theme("pieInnerFontSize"),fill:this.chart.theme("pieInnerFontColor"),"text-anchor":"middle",y:o},l);l.translate(h,f),u.append(l),u.order=2}else{var p=this.chart.theme("pieOuterLineRate"),m=Math.abs(i-a);if(m<2){0==s&&(s=p);var g=.05*p;s-=g,c-=.25}else s=p,c=1;if(s>1.2){var v=this.chart.theme("pieOuterLineSize"),_=r*s,y=(h=t+Math.cos(e.radian(i))*r,f=n+Math.sin(e.radian(i))*r,t+Math.cos(e.radian(i))*_),b=n+Math.sin(e.radian(i))*_,w=d?y-v:y+v,k=this.svg.path({fill:"transparent",stroke:this.chart.theme("pieOuterLineColor"),"stroke-width":this.chart.theme("pieOuterLineWidth"),"stroke-opacity":c});k.MoveTo(h,f).LineTo(y,b).LineTo(w,b);l=this.chart.text({"font-size":this.chart.theme("pieOuterFontSize"),fill:this.chart.theme("pieOuterFontColor"),"fill-opacity":c,"text-anchor":d?"end":"start",y:o},l);l.translate(w+(d?-3:3),b),u.append(l),u.append(k),u.order=0,a=i}}return u},this.drawUnit=function(e,i,o){for(var a=this.getProperty(e),s=a.centerX,c=a.centerY,u=a.outerRadius,d=this.brush.target,h=this.brush.active,f=360,p=0,m=0,g=0;g<d.length;g++)m+=i[d[g]];for(g=0;g<d.length;g++)if(0!=i[d[g]]){var v=i[d[g]],_=f*(v/m);if(this.brush["3d"]){var y=this.drawPie3d(s,c,u,p,_,n.darken(this.color(g),.5));o.append(y)}p+=_}p=0;for(g=0;g<d.length;g++){v=i[d[g]],_=f*(v/m);var b=p+_/2-90,w=360==Math.abs(p-_),k=this.drawPie(s,c,u,p,_,this.color(g)),x=this.drawText(s,c,b,u,this.getFormatText(d[g],v,m));l[b]={active:!1,pie:k,text:x,centerX:s,centerY:c,centerAngle:b,outerRadius:u},w||(h==d[g]||-1!=t.inArray(d[g],h)?l[b].active=!0:l[b].active=!1,"inside"==this.brush.showText&&this.setActiveTextEvent(l),this.setActiveEvent(l,!0),null!=this.brush.activeEvent&&function(t,e,n,i,o,a){t.on(r.brush.activeEvent,(function(t){l[o].active?l[o].active=!1:l[o].active=!0,"inside"==r.brush.showText&&r.setActiveTextEvent(l),r.setActiveEvent(l,!0)})),t.attr({cursor:"pointer"})}(k,x.get(0),0,0,b)),r.addEvent(k,e,g),o.append(k),o.append(x),p+=_}},this.drawNoData=function(t){var e=this.getProperty(0);t.append(this.drawPie(e.centerX,e.centerY,e.outerRadius,0,360,this.chart.theme("pieNoDataBackgroun
125dColor")))},this.drawBefore=function(){i=this.chart.svg.group()},this.draw=function(){return 0==this.listData().length?this.drawNoData(i):this.eachData((function(t,e){this.drawUnit(e,t,i)})),i},this.getProperty=function(t){var e=this.axis.c(t),n=e.width,i=e.height,r=e.x,o=e.y,a=n;return i<a&&(a=i),{centerX:n/2+r,centerY:i/2+o,outerRadius:a/2}}};return i.setup=function(){return{clip:!1,showText:null,format:null,"3d":!1,active:null,activeEvent:null}},i}};St.use(Le);var Ae={name:"chart.brush.donut",extend:"chart.brush.pie",component:function(){var t=St.include("util.base"),e=St.include("util.math"),n=St.include("util.color"),i=function(){var i=this,r={};this.drawDonut=function(t,n,i,r,o,a,s){s["stroke-width"]=r-i,a>=360&&(a=359.9999);var c=this.chart.svg.group(),l=this.chart.svg.path(s),u=(Math.abs(r-i),e.rotate(0,-r,e.radian(o))),d=u.x,h=u.y;return l.MoveTo(d,h),u=e.rotate(d,h,e.radian(a)),c.translate(t,n),l.Arc(r,r,0,a>180?1:0,1,u.x,u.y),l.css({"pointer-events":"stroke"}),c.append(l),c.order=1,c},this.drawDonut3d=function(t,n,i,r,o,a,s){var c=this.chart.svg.group(),l=this.chart.svg.path(s),u=Math.abs(r-i);r+=u/2,i=r-u;var d=e.rotate(0,-r,e.radian(o)),h=d.x,f=d.y,p=e.rotate(0,-i,e.radian(o)),m=p.x,g=p.y;l.MoveTo(h,f),d=e.rotate(h,f,e.radian(a)),p=e.rotate(m,g,e.radian(a)),c.translate(t,n),l.Arc(r,r,0,a>180?1:0,1,d.x,d.y);var v=d.y+10,_=d.x+5,y=p.y+10,b=p.x+5,w=h+5,k=f+10,x=m+5,T=g+10;l.LineTo(_,v),l.Arc(r,r,0,a>180?1:0,0,w,k),l.ClosePath(),c.append(l);var M=this.chart.svg.path(s);return M.MoveTo(m,g),M.Arc(i,i,0,a>180?1:0,1,p.x,p.y),M.LineTo(b,y),M.Arc(i,i,0,a>180?1:0,0,x,T),M.ClosePath(),c.append(M),c.order=1,c},this.drawDonut3dBlock=function(t,n,i,r,o,a,s){var c=this.chart.svg.group(),l=this.chart.svg.path(s),u=Math.abs(r-i);r+=u/2,i=r-u;var d=e.rotate(0,-r,e.radian(o)),h=d.x,f=d.y,p=e.rotate(0,-i,e.radian(o)),m=p.x,g=p.y;l.MoveTo(h,f),d=e.rotate(h,f,e.radian(a)),p=e.rotate(m,g,e.radian(a)),c.translate(t,n);var v=d.y+10,_=d.x+5,y=p.y+10,b=p.x+5,w=this.chart.svg.path(s);return w.MoveTo(d.x,d.y).LineTo(_,v).LineTo(b,y).LineTo(p.x,p.y).ClosePath(),c.append(w),c.order=1,c},this.drawUnit=function(e,o,a){for(var s=this.getProperty(e),c=s.centerX,l=s.centerY,u=s.innerRadius,d=s.outerRadius,h=this.brush.target,f=this.brush.active,p=360,m=0,g=0,v=0,_=0;_<h.length;_++)g+=o[h[_]];if(this.brush["3d"]){for(_=0;_<h.length;_++){var y=o[h[_]],b=p*(y/g),w=this.drawDonut3dBlock(c,l,u,d,m,b,{fill:n.darken(this.color(_),.5)},_==h.length-1);a.append(w),m+=b}m=0;for(_=0;_<h.length;_++){y=o[h[_]],b=p*(y/g),w=this.drawDonut3d(c,l,u,d,m,b,{fill:n.darken(this.color(_),.5)},_==h.length-1);a.append(w),m+=b}}m=0;for(_=0;_<h.length;_++)if(0!=o[h[_]]){y=o[h[_]],b=p*(y/g);var k=m+b/2-90,x=360==Math.abs(m-b),T="inside"==this.brush.showText?this.brush.size+u+d:d,M=this.drawDonut(c,l,u,d,m,b,{stroke:this.color(_),fill:"transparent"}),S=this.drawText(c,l,k,T,this.getFormatText(h[_],y));r[k]={active:!1,pie:M,text:S,centerX:c,centerY:l,centerAngle:k,outerRadius:T},x||(f==h[_]||-1!=t.inArray(h[_],f)?r[k].active=!0:r[k].active=!1,"inside"==this.brush.showText&&this.setActiveTextEvent(r),this.setActiveEvent(r,!1),null!=this.brush.activeEvent&&function(t,e,n,o,a,s){t.on(i.brush.activeEvent,(function(t){r[a].active?r[a].active=!1:r[a].active=!0,"inside"==i.brush.showText&&i.setActiveTextEvent(r),i.setActiveEvent(r,!1)})),t.attr({cursor:"pointer"})}(M,S.get(0),0,0,k)),this.addEvent(M,e,_),a.append(M),a.append(S),m+=b,v+=y}this.brush.showValue&&this.drawTotalValue(a,c,l,v)},this.drawNoData=function(t){var e=this.getProperty(0);t.append(this.drawDonut(e.centerX,e.centerY,e.innerRadius,e.outerRadius,0,360,{stroke:this.chart.theme("pieNoDataBackgroundColor"),fill:"transparent"})),this.brush.showValue&&this.drawTotalValue(t,e.centerX,e.centerY,0)},this.drawTotalValue=function(t,e,n,i){var r=this.chart.theme("pieTotalValueFontSize"),o=this.chart.text({"font-size":r,"font-weight":this.chart.theme("pieTotalValueFontWeight"),fill:this.chart.theme("pieTotalValueFontColor"),"text-anchor":"middle",dy:r/3},this.format(i));o.translate(e,n),t.append(o)},this.getProperty=function(t){var e=this.axis.c(t),n=e.width,i=e.he
125ight,r=e.x,o=e.y,a=n;i<a&&(a=i),this.brush.size>=a/2&&(this.brush.size=a/4);var s=a/2-this.brush.size/2;return{centerX:n/2+r,centerY:i/2+o,outerRadius:s,innerRadius:s-this.brush.size}}};return i.setup=function(){return{size:50,showValue:!1}},i}};St.use(Le,Ae);var Oe={name:"graph-pie",mixins:[Dt,jt,It,Nt,Yt,Ht],props:{shape:{type:String,required:!1,default:"pie"},names:{type:Array,required:!0},activeIndex:{type:[Number,Array],required:!1},activeEvent:{type:String,required:!1},showTextType:{type:String,required:!1},dataFormat:{type:Function,required:!1},showTotalValue:{type:Boolean,required:!1,default:!1},strokeWidth:{type:Number,required:!1,default:50}},watch:{activeIndex:function(t,e){t!=e&&(this.chart.updateBrush(0,{active:t}),this.chart.render())}},methods:{convertToData:function(t){for(var e={},n=0;n<t.length;n++)e[""+n]=t[n];return[e]},initGraphAxes:function(){return{data:this.convertToData(this.values)}}},beforeMount:function(){var t=this,e={type:this.shape,clip:this.clip,colors:this.colors,active:this.activeIndex,activeEvent:this.activeEvent,showText:this.showTextType,format:function(e,n){return"function"==typeof t.dataFormat?t.dataFormat.apply(this,[e,n]):t.names[e]+": "+n}};"donut"==this.shape&&(e.size=this.strokeWidth,e.showValue=this.showTotalValue),this.brushes=[e]}};St.use(Ut);var Pe={name:"graph-comparison-bar",mixins:[$t],methods:{initGraphAxes:function(){return[{x:{type:"range",domain:function(t){return Math.max(t[0],t[1])},step:this.axisStep,line:this.axisXStyle,hide:"hidden"==this.axisXStyle,reverse:!0},y:{type:"block",domain:this.labels,line:this.axisYStyle,hide:"hidden"==this.axisYStyle},data:this.convertToData(this.values),area:{x:0,y:0,width:"50%",height:"100%"}},{x:{reverse:!1},y:{orient:"right"},area:{x:"50%",y:0,width:"50%",height:"100%"},extend:0}]}},beforeMount:function(){var t=St.include("util.base"),e=this.colors?this.colors:[1,2],n={type:"bar",clip:this.clip,active:this.activeIndex,activeEvent:this.activeEvent,display:this.display,size:this.fixedSize,minSize:this.minValue,outerPadding:this.barMargin,innerPadding:this.barPadding};this.brushes=[t.extend({target:"0",axis:0,colors:[e[0]]},n),t.extend({target:"1",axis:1,colors:[e[1]]},n)]}};St.use(be);var De={name:"graph-comparison-area",mixins:[ke],props:{axisMin:{type:Array,required:!1,default:null},axisMax:{type:Array,required:!1,default:null}},methods:{getAxisMinAndMax:function(t,e){var n=this.axisMin,i=this.axisMax;return null!=n&&null!=i?[n[e],i[e]]:t[e]},initGraphAxes:function(){var t=this;return[{x:{type:"fullblock",domain:this.labels,line:this.axisXStyle,hide:"hidden"==this.axisXStyle},y:{type:"range",domain:function(e){return t.getAxisMinAndMax(e,0)},step:this.axisStep,line:this.axisYStyle,hide:"hidden"==this.axisYStyle,reverse:!0,color:0},data:this.convertToData(this.values)},{x:{hide:!0},y:{orient:"right",domain:function(e){return t.getAxisMinAndMax(e,1)},reverse:!1,color:1},extend:0}]}},beforeMount:function(){var t=St.include("util.base"),e=this.colors?this.colors:[0,1],n={type:"area",clip:this.clip,symbol:this.shape,opacity:this.opacity,line:this.borderLine,display:this.display};this.brushes=[t.extend({target:"0",axis:0,colors:[e[0]]},n),t.extend({target:"1",axis:1,colors:[e[1]]},n)]}};St.define("util.keyparser",[],(function(){return function(){this.isIndexDepth=function(t){return"string"==typeof t&&-1!=t.indexOf(".")},this.getIndexList=function(t){for(var e=[],n=(""+t).split("."),i=0;i<n.length;i++)e[i]=parseInt(n[i]);return e},this.changeIndex=function(t,e,n){for(var i=this.getIndexList(n).length,r=this.getIndexList(t),o=this.getIndexList(e),a=0;a<i;a++)r.shift();return o.concat(r).join(".")},this.getNextIndex=function(t){var e=this.getIndexList(t),n=e.pop()+1;return e.push(n),e.join(".")},this.getParentIndex=function(t){return this.isIndexDepth(t)?t.substr(0,t.lastIndexOf(".")):null}}})),St.define("util.treemap",[],(function(){return{sumArray:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n];return e}}})),St.define("chart.brush.treemap.node",[],(function(){var t=function(t){var e=this;function n(t){for(var e=t.children,i=0;i<e.length;i++)e[i].children.length>0&&n(e[i])}this.text=t.text,this.value=t.value,this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this.index=null,this.nodenum=null,this.parent=null,this.children=[],this.depth=0,this.reload=function(t){this.nodenum=isNaN(t)?this.nodenum:t,e.parent&&(null==this.parent.index?this.index=""+this.nodenum:this.index=e.parent.index+"."+this.nodenum),this.parent&&"string"==typeof e.index&&(this.depth=this.index.split(".").length),this.children.length>0&&n(this)},this.isLeaf=function(){return 0==this.children.length},this.appendChild=function(t){this.children.push(t)},this.insertChild=function(t,e){var n=this.children.splice(0,t);n.push(e),this.children=n.concat(this.children)},this.removeChild=function(t){for(var e=0;e<this.children.length;e++){var n=this.children[e];n.index==t&&this.children.splice(e,1)}},this.lastChild=function(){return this.children.length>0?this.children[this.children.length-1]:null},this.lastChildLeaf=function(t){var e=t||this.lastChild();return e.isLeaf()?e:this.lastChildLeaf(e.lastChild())}};return t})),St.define("chart.brush.treemap.nodemanager",["util.base","util.keyparser","chart.brush.treemap.node"],(function(t,e,n){var i=function(){var t=this,i=new n({text:null,value:-1,x:-1,y:-1,width:-1,height:-1}),r=new e;function o(t,e,i){var r=new n(t);return r.parent=i||null,r.reload(e),r}function a(t,e){var n=e.children;if(n.length>0)for(var i=0;i<n.length;i++)t.push(n[i]),n[i].children.length>0&&a(t,n[i])}function s(t,e){if(!e)return null;var n=t.shift();return void 0==n?e:s(t,e.children[n])}function c(e,n){var i=r.getIndexList(e),a=t.getNodeParent(e),s=i[i.length-1],c=o(n,s,a);return a.insertChild(s,c),c}function l(t){var e=o(t,i.children.length,i);return i.appendChild(e),e}function u(e,n){var i=t.getNode(e),r=o(n,i.children.length,i);return i.appendChild(r),r}this.appendNode=function(){var t=arguments[0],e=arguments[1];return e?u(t,e):l(t)},this.insertNode=function(t,e){return 0==i.children.length&&0==parseInt(t)?this.appendNode(e):c(t,e)},this.updateNode=function(t,e){var n=this.getNode(t);for(var i in e)n.data[i]=e[i];return n.reload(n.nodenum,!0),n},this.getNode=function(t){if(null==t)return i.children;var e=i.children;if(r.isIndexDepth(t)){var n=r.getIndexList(t);return s(n,e[n.shift()])}return e[t]?e[t]:null},this.getNodeAll=function(t){for(var e=[],n=null==t?i.children:[this.getNode(t)],r=0;r<n.length;r++)n[r]&&(e.push(n[r]),n[r].children.length>0&&a(e,n[r]));return e},this.getNodeParent=function(t){var e=r.getIndexList(t);
125return 1==e.length?i:2==e.length?this.getNode(e[0]):e.length>2?(e.pop(),this.getNode(e.join("."))):void 0},this.getRoot=function(){return i}};return i})),St.define("chart.brush.treemap.container",["util.treemap"],(function(t){var e=function e(n,i,r,o){this.xoffset=n,this.yoffset=i,this.height=o,this.width=r,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var n=[],i=this.xoffset,r=this.yoffset,o=t.sumArray(e)/this.height,a=t.sumArray(e)/this.width;if(this.width>=this.height)for(var s=0;s<e.length;s++)n.push([i,r,i+o,r+e[s]/o]),r+=e[s]/o;else for(s=0;s<e.length;s++)n.push([i,r,i+e[s]/a,r+a]),i+=e[s]/a;return n},this.cutArea=function(t){if(this.width>=this.height){var n=t/this.height,i=this.width-n;return new e(this.xoffset+n,this.yoffset,i,this.height)}var r=t/this.width,o=this.height-r;return new e(this.xoffset,this.yoffset+r,this.width,o)}};return e})),St.define("chart.brush.treemap.calculator",["util.base","util.treemap","chart.brush.treemap.container"],(function(t,e,n){function i(t,n){for(var i=[],r=e.sumArray(t),o=n/r,a=0;a<t.length;a++)i[a]=t[a]*o;return i}function r(e,n,i,a,s){a="undefined"===typeof a?0:a,s="undefined"===typeof s?0:s;var c,l=[],d=[];if(t.typeCheck("array",e[0])){for(var h=0;h<e.length;h++)l[h]=u(e[h]);c=o(l,n,i,a,s);for(h=0;h<e.length;h++)d.push(r(e[h],c[h][2]-c[h][0],c[h][3]-c[h][1],c[h][0],c[h][1]))}else d=o(e,n,i,a,s);return d}function o(t,e,r,o,c){o="undefined"===typeof o?0:o,c="undefined"===typeof c?0:c;var l=s(i(t,e*r),[],new n(o,c,e,r),[]);return a(l)}function a(t){var e=[];if(t)for(var n=0;n<t.length;n++)for(var i=0;i<t[n].length;i++)e.push(t[n][i]);return e}function s(t,n,i,r){var o,a,l;if(0!==t.length)return o=i.shortestEdge(),a=t[0],c(n,a,o)?(n.push(a),s(t.slice(1),n,i,r)):(l=i.cutArea(e.sumArray(n),r),r.push(i.getCoordinates(n)),s(t,[],l,r)),r;r.push(i.getCoordinates(n))}function c(t,e,n){var i;if(0===t.length)return!0;i=t.slice(),i.push(e);var r=l(t,n),o=l(i,n);return r>=o}function l(t,n){var i=Math.min.apply(Math,t),r=Math.max.apply(Math,t),o=e.sumArray(t);return Math.max(Math.pow(n,2)*r/Math.pow(o,2),Math.pow(o,2)/(Math.pow(n,2)*i))}function u(n){var i=0;if(t.typeCheck("array",n[0]))for(var r=0;r<n.length;r++)i+=u(n[r]);else i=e.sumArray(n);return i}return r}));var je={name:"chart.brush.treemap",extend:"chart.brush.core",component:function(){var t=St.include("util.base"),e=St.include("chart.brush.treemap.calculator"),n=St.include("chart.brush.treemap.nodemanager"),i=3,r=function(){var r=new n,o={};function a(t,e,n,i){i||(i=[]);for(var r=0;r<e.length;r++)0==e[r].children.length?i.push(e[r][t]):a(t,e[r].children,n,[]);return n.push(i),n}function s(e,n){for(var i=0;i<e.length;i++)if(t.typeCheck("array",e[i]))s(e[i],n[i]);else{var o=r.getNode(e[i]);o.x=n[i][0],o.y=n[i][1],o.width=n[i][2]-n[i][0],o.height=n[i][3]-n[i][1]}}function c(t){return 0!=t.width||0!=t.height||0!=t.x||0!=t.y}function l(t,e,n){if(0==t.children.length)return{x:Math.min(e,t.x),y:Math.min(n,t.y)};for(var i=0;i<t.children.length;i++)return l(t.children[i],e,n)}function u(e,n,r,a,s){var c=e.chart.theme("treemapTitleFontSize"),u=e.axis.area("width"),d=e.axis.area("height"),h=l(r,u,d),f=e.chart.text({"font-size":c,"font-weight":"bold",fill:e.chart.theme("treemapTitleFontColor"),x:a+h.x+i,y:s+h.y+c,"text-anchor":"start"},t.typeCheck("function",e.brush.format)?e.format(r):r.text);n.append(f),o[r.index]=!0}function d(t){return t.parent.depth>0?d(t.parent):t.nodenum}this.drawBefore=function(){for(var t=0;t<this.axis.data.length;t++){var n=this.axis.data[t],i=this.getValue(n,"index");
125r.insertNode(i,{text:this.getValue(n,"text",""),value:this.getValue(n,"value",0),x:this.getValue(n,"x",0),y:this.getValue(n,"y",0),width:this.getValue(n,"width",0),height:this.getValue(n,"height",0)})}var o=r.getNode(),c=a("value",o,[]),l=a("index",o,[]),u=e(c,this.axis.area("width"),this.axis.area("height"));s(l,u)},this.draw=function(){for(var e=this.svg.group(),n=this.axis.area("x"),a=this.axis.area("y"),s=r.getNodeAll(),l=0;l<s.length;l++)if(this.brush.titleDepth==s[l].depth&&u(this,e,s[l],n,a),c(s[l])){var h=n+s[l].x,f=a+s[l].y,p=s[l].width,m=s[l].height;if(this.brush.showText&&!o[s[l].index]){var g=h+p/2,v=f+m/2,_=this.chart.theme("treemapTextFontSize");"top"==this.brush.textOrient?v=f+_:"bottom"==this.brush.textOrient&&(v=f+m-_/2),"start"==this.brush.textAlign?g=h+i:"end"==this.brush.textAlign&&(g=h+p-i);var y=this.chart.text({"font-size":_,fill:this.chart.theme("treemapTextFontColor"),x:g,y:v,"text-anchor":this.brush.textAlign},t.typeCheck("function",this.brush.format)?this.format(s[l]):s[l].text);e.append(y)}var b=this.svg.rect({stroke:this.chart.theme("treemapNodeBorderColor"),"stroke-width":this.chart.theme("treemapNodeBorderWidth"),x:h,y:f,width:p,height:m,fill:this.color(d(s[l]))});if(t.typeCheck("function",this.brush.nodeColor)){var w=this.brush.nodeColor.call(this.chart,s[l]);b.attr({fill:this.color(w)})}this.addEvent(b,s[l]),e.prepend(b)}return e}};return r.setup=function(){return{textOrient:"top",textAlign:"middle",showText:!0,titleDepth:1,nodeColor:null,clip:!1,format:null}},r}};St.use(je);var Ie={name:"graph-treemap",mixins:[Dt,jt,It,Nt,Yt,Ht],props:{textAlign:{type:String,required:!1,default:"center"},textVerticalAlign:{typ:String,required:!1,default:"top"},showText:{type:Boolean,required:!1,default:!1},titleDepth:{type:Number,required:!1,default:1},nodeColor:{type:Function,required:!1,default:null}},methods:{convertToData:function(t){for(var e=St.include("util.base"),n=[],i=0;i<t.length;i++){var r=t[i];if(e.typeCheck("array",r)){var o={index:r[0],text:r[1]};3==r.length&&r[2]>0&&(o["value"]=r[2]),n.push(o)}}return n},initGraphAxes:function(){return{data:this.convertToData(this.values)}}},beforeMount:function(){var t={top:"top",middle:"center",bottom:"bottom"},e={left:"start",center:"middle",right:"end"};this.brushes=[{type:"treemap",clip:this.clip,colors:this.colors,target:["value"],textOrient:t[this.textVerticalAlign],textAlign:e[this.textAlign],showText:this.showText,titleDepth:this.titleDepth,nodeColor:this.nodeColor}]}},Re={watch:{renderStop:function(t,e){if(t)this.animation.stop();else{var n=this;this.animation.run((function(t){"function"==typeof n.renderHandler&&n.renderHandler.call(this,t)}))}}}},Ne={name:"chart.widget.raycast",extend:"chart.widget.core",component:function(){var t=St.include("util.base"),e=function(){this.emitBlockAndRangeEvent=function(t,e,n,i,r,o){var a=i.invert(o.chartX)-1,s=this.chart.getCache("raycast_area_".concat(a));null!=s&&o.chartX>=s.x1&&o.chartX<=s.x2&&o.chartY>=s.y1&&o.chartY<=s.y2&&this.chart.emit(t,[{brush:n,data:e[a],dataIndex:a},o])},this.setRayCastEvent=function(t){var e=this.chart.axis(t.axis),n=e.x.type,i=e.y.type,r="block"==n?e.x:"block"==i?e.y:null,o="range"==n?e.x:"range"==i?e.y:null;null!=r&&null!=o&&(this.on("axis.click",(function(n){this.emitBlockAndRangeEvent("raycast.click",e.data,t,r,o,n)}),t.axis),this.on("axis.dblclick",(function(n){this.emitBlockAndRangeEvent("raycast.dblclick",e.data,t,r,o,n)}),t.axis),this.on("axis.rclick",(function(n){this.emitBlockAndRangeEvent("raycast.rclick",e.data,t,r,o,n)}),t.axis))},this.draw=function(){for(var e=this.chart.svg.group(),n=this.widget.brush,i=t.typeCheck("array",n)?n:[n],r=0;r<i.length;r++){var o=this.chart.get("brush",i[r]);this.setRayCastEvent(o)}return e}};return e.setup=function(){return{brush:[0]}},e}},Ye={name:"chart.widget.canvas.picker",extend:"chart.widget.core",component:function(){var t=St.include("util.base"),e=function(){this.emitActiveEvent=function(t,e){this.on("axis.".concat(e),(function(n){var i=this.chart.getCache("picker");if(null!=i){var r=i.func.call(i.obj,n.chartX,n.chartY);null!=r&&this.chart.emit("picker.".concat(e),[{brush:t,data:r},n])}}),t.axis)},this.setCanvasEvents=function(t){this.widget.hover&&this.on("axis.mou
125semove",(function(t){var e=this.chart.getCache("picker");null!=e&&e.func.call(e.obj,t.chartX,t.chartY)}),t.axis),this.emitActiveEvent(t,"click"),this.emitActiveEvent(t,"dblclick")},this.draw=function(){for(var e=this.chart.svg.group(),n=this.widget.brush,i=t.typeCheck("array",n)?n:[n],r=0;r<i.length;r++){var o=this.chart.get("brush",i[r]);this.setCanvasEvents(o)}return e}};return e.setup=function(){return{hover:!1,brush:[0]}},e}},ze={computed:{realWidth:function(){return 0==this.width?"100%":this.width}},mounted:function(){var t=this;if(0==this.brushes.length)throw new Error("[Vue Graph error]: At least one brush must be added to 'brushes' variable.");St.use(Ne,Ye),this.animation=St.create("chart.animation",this.$el,{width:this.realWidth,height:this.height,padding:{top:this.paddingTop,right:this.paddingRight,bottom:this.paddingBottom,left:this.paddingLeft},event:{"chart.click":function(e){t.$emit("inside#click",e)},"chart.dblclick":function(e){t.$emit("inside#dblclick",e)},"chart.rclick":function(e){t.$emit("inside#rclick",e)},"chart.mouseover":function(e){t.$emit("inside#mouseover",e)},"chart.mouseout":function(e){t.$emit("inside#mouseout",e)},"chart.mousemove":function(e){t.$emit("inside#mousemove",e)},"chart.mousedown":function(e){t.$emit("inside#mousedown",e)},"chart.mouseup":function(e){t.$emit("inside#mouseup",e)},"bg.click":function(e){t.$emit("outside#click",e)},"bg.dblclick":function(e){t.$emit("outside#dblclick",e)},"bg.rclick":function(e){t.$emit("outside#rclick",e)},"bg.mouseover":function(e){t.$emit("outside#mouseover",e)},"bg.mouseout":function(e){t.$emit("outside#mouseout",e)},"bg.mousemove":function(e){t.$emit("outside#mousemove",e)},"bg.mousedown":function(e){t.$emit("outside#mousedown",e)},"bg.mouseup":function(e){t.$emit("outside#mouseup",e)},"raycast.click":function(e,n){t.$emit("click",e,n)},"raycast.dblclick":function(e,n){t.$emit("dblclick",e,n)},"raycast.rclick":function(e,n){t.$emit("rclick",e,n)},"picker.click":function(e,n){t.$emit("click",e,n)},"picker.dblclick":function(e,n){t.$emit("dblclick",e,n)}},format:this.format,theme:this.theme,style:this.styles,render:!1,axis:this.initGraphAxes(),interval:this.renderInterval}),this.chart=this.animation.builder,this.initGraphBrushes(),this.initGraphWidgets(),null!=this.chart.axis(0).x&&null!=this.chart.axis(0).x&&this.chart.addWidget({type:"raycast"}),this.chart.addWidget({type:"canvas.picker"}),this.chart.render(!0),this.animation.run((function(e){"function"==typeof t.renderHandler&&t.renderHandler.call(this,e)}))}},Be={props:{renderInterval:{type:Number,required:!1,default:200},renderHandler:{type:Function,required:!1,default:null},renderStop:{type:Boolean,required:!1,default:!1}}},Fe={name:"chart.brush.canvas.equalizercolumn",extend:"chart.brush.canvas.core",component:function(){var t=St.include("util.base"),e=function(){var e,n;this.getTargetSize=function(){var t=this.axis.x.rangeBand();if(this.brush.size>0)return this.brush.size;var e=t-2*this.brush.outerPadding;return e<this.brush.minSize?this.brush.minSize:e},this.getBarElement=function(e,n){var i=this.getBarStyle(),r=this.color(n),o=this.getData(e)[this.brush.target[n]],a=this.brush.active,s=1;return(t.typeCheck("array",a)&&!a.includes(e)||t.typeCheck("integer",a)&&a!==e)&&(s=i.disableOpacity),{fill:r,"fill-opacity":s,stroke:i.borderColor,"stroke-width":i.borderWidth,"stroke-opacity":i.borderOpacity,hidden:0==o}},this.getBarStyle=function(){return{borderColor:this.chart.theme("barBorderColor"),borderWidth:this.chart.theme("barBorderWidth"),borderOpacity:this.chart.theme("barBorderOpacity"),borderRadius:this.chart.theme("barBorderRadius"),disableOpacity:this.chart.theme("barDisableBackgroundOpacity"),circleColor:this.chart.theme("barPointBorderColor")}},this.isErrorColumn=function(e){var n=this.brush.error;return!(t.typeCheck("array",n)&&!n.includes(e)||t.typeCheck("integer",n)&&n!==e||null===n)},this.drawBefore=function(){this.axis.y(0),e=this.getTargetSize(),n=this.axis.get("y").reverse},this.draw=function(){var i=this.brush.target,r=this.brush.innerPadding,o=this.axis.y.rangeBand(),a=o/(this.brush.unit*r),s=a+r,c=n?0:-a;this.eachData((function(r,o){for(var l=this.offset("x",o),u=l-e/2,d=this.axis.y(0),h=d,f=0,p=[],m=0;m<i.length;m++){var g=r[i[m]]+f,v=this.axis.y(g),_=Math.abs(d-v),y=_;if(this.isErrorColumn(o)){var b=.4*Math.min(this.axis.x.rangeBand(),this.axis.area("height")),w=.5*this.axis.area("height"),k=.3*b,x=l-b/2,T=w/5,M=h-k,S=h-w-k,C=5;this.canvas.save(),this.canvas.beginPath(),this.canvas.fillStyle=this.chart.theme("equalizerColumnErrorBackgroun
125dColor"),this.canvas.moveTo(l,h),this.canvas.lineTo(x,M),this.canvas.lineTo(x,S+C),this.canvas.arcTo(x,S,x+C,S,C),this.canvas.lineTo(x+b-C,S),this.canvas.arcTo(x+b,S,x+b,S+C,C),this.canvas.lineTo(x+b,M),this.canvas.fill(),this.canvas.save(),this.canvas.font="".concat(T,"px ").concat(this.chart.theme("fontFamily")),this.canvas.translate(l,h-w-k),this.canvas.rotate(Math.PI/2),this.canvas.textAlign="center",this.canvas.fillStyle=this.chart.theme("equalizerColumnErrorFontColor"),this.canvas.fillText(this.brush.errorText,w/1.75,T/3,w),this.canvas.restore()}else while(y>=s){var E=t.extend(this.getBarElement(o,m),{x:u,y:h+c,width:e,height:a});y-=s,h+=n?s:-s,this.canvas.save(),this.canvas.globalAlpha=E["fill-opacity"],this.canvas.beginPath(),this.canvas.fillStyle=E.fill,this.canvas.strokeStyle=E.stroke,this.canvas.strokeOpacity=E["stroke-opacity"],this.canvas.lineWidth=E["stroke-width"],this.canvas.rect(E.x,E.y,E.width,E.height),this.canvas.fill(),this.canvas.restore(),p.push(E)}d=v,f=g}p.length>0&&(this.chart.setCache("equalizer_".concat(o),0==p.length?null:p[p.length-1]),this.chart.setCache("raycast_area_".concat(o),{x1:p[0].x,x2:p[0].x+p[0].width,y2:this.axis.y(this.axis.y.min()),y1:p[p.length-1].y}))})),this.drawAnimation()},this.drawAnimation=function(){var t=8,e=20,n=30,i=-3,r=-8;this.eachData((function(o,a){if(!this.isErrorColumn(a)){for(var s=this.chart.getCache("equalizer_".concat(a)),c=0,l=0;l<this.brush.target.length;l++)c+=o[this.brush.target[l]];if(null!=s){var u=this.chart.getCache("tpf",1),d=this.chart.getCache("equalizer_move_".concat(a),{direction:-1,distance:0}),h=-1==d.direction?e:n;d.distance+=d.direction*h*u,Math.abs(d.distance)>=t?d.direction=1:d.distance>=0&&(d.direction=-1),d.distance<-t?d.distance=-t:d.distance>0&&(d.distance=0);var f=s.y+d.distance+i;this.canvas.save(),this.canvas.globalAlpha=s["fill-opacity"],this.canvas.strokeStyle=s.fill,this.canvas.lineWidth=.7*s.height,this.canvas.beginPath(),this.canvas.moveTo(s.x,f),this.canvas.lineTo(s.x+s.width,f),this.canvas.closePath(),this.canvas.stroke(),this.canvas.fillStyle=this.chart.theme("barFontColor"),this.canvas.font=this.chart.theme("barFontSize")+"px",this.canvas.textAlign="center",this.canvas.textBaseline="middle",this.canvas.fillText(c,s.x+s.width/2,f+r),this.canvas.fill(),this.canvas.restore(),this.chart.setCache("equalizer_move_".concat(a),d)}}}))}};return e.setup=function(){return{size:0,minSize:0,outerPadding:15,innerPadding:1,unit:1,active:null,error:null,errorText:"Stopped"}},e}};St.use(Fe);var He={name:"graph-equalizer",mixins:[Dt,jt,Re,It,ze,Yt,Be,zt,Ht,Vt],props:{fixedSize:{type:Number,required:!1,default:0},minValue:{type:Number,required:!1,default:0},barMargin:{type:Number,required:!1,default:2},barPadding:{type:Number,required:!1,default:1},maxDivisions:{type:Number,required:!1,default:5}},beforeMount:function(){this.brushes=[{type:"canvas.equalizercolumn",clip:this.clip,colors:this.colors,size:this.fixedSize,minSize:this.minValue,outerPadding:this.barMargin,innerPadding:this.barPadding,unit:this.maxDivisions}]}},Ve=n("d4ec"),Ue=n("bee2"),We={name:"util.canvas.base",extend:null,component:function(){var t=function(t){this.clearContext=function(){t.clearRect(0,0,t.canvas.width,t.canvas.height)},this.drawLine=function(e,n,i,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;o=o||"#434d6b",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineWidth=a,t.strokeStyle=o,t.stroke()},this.drawCurve=function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:16;t.beginPath();var s=e.reduce((function(t,e){return t.push(e[0],e[1]),t}),[]),c=getCurvePoints(s,n,i,r,o,a);t.moveTo(c[0],c[1]);for(var l=2;l<c.length-1;l+=2)t.lineTo(c[l],c[l+1])},this.drawDashedLine=function(e,n,i,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[3,3],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1;o=o||"#434d6b",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineWidth=s,t.strokeStyle=o;var c=t.getLineDash();t.setLineDash(a),t.stroke(),t.setLineDash(c)},this.drawLines=function(e){e=e||"#434d6b",t.beginPath();for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.moveTo(i[0][0],i[0][1]),i.slice(1).map((function(e){return t.lineTo(e[0],e[1])})),t.lineWidth=1,t.strokeStyle=e,t.stroke()},this.drawRoundRect=function(e,n,i,r,o){t.beginPath(),t.moveTo(e,n+o),t.lineTo(e,n+r-o),t.arcTo(e,n+r,e+o,n+r,o),t.lineTo(e+i-o,n+r),t.arcTo(e+i,n+r,e+i,n+r-o,o),t.lineTo(e+i,n+o),t.arcTo(e+i,n,e+i-o,n,o),t.lineTo(e+o,n),t.arcTo(e,n,e,n+o,o),t.closePath()},this.drawFreeRect=function(e,n,i,r,o,a,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;l=l||"#ffffff",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineTo(o,a),t.lineTo(s,c),t.closePath(),t.fillStyle=l,null!=u&&(t.lineWidth=2,t.strokeStyle=u,t.stroke()),t.fill()},this.drawFreeRectStroke=function(e,n,i,r,o,a,s,c,l){l=l||"#ffffff",t.beginPath(),t.moveTo(e,n),t.lineTo(i,r),t.lineTo(o,a),t.lineTo(s,c),t.lineWidth=1,t.strokeStyle=l,t.stroke()},this.drawTriangle=function(e,n,i,r){r=r||"#ffffff",t.beginPath(),t.moveTo(e,n-i),t.lineTo(e-i,n+i),t.lineTo(e+i,n+i),t.closePath(),t.fillStyle=r,t.fill()},this.drawSquare=function(e,n,i,r){r=r||"#ffffff",t.beginPath(),t.moveTo(e-i,n-i),t.lineTo(e-i,n+i),t.lineTo(e+i,n+i),t.lineTo(e+i,n-i),t.closePath(),t.fillStyle=r,t.fill()},this.drawPage=function(e,n,i,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];drawFreeRect(t,e+n,i,e+n-20,i+14,e+n-20,i+52,e+n,i+38,r,o?"rgba(255,255,255,0.2)":null)},this.drawCircle=function(e,n,i,r){r=r||"white",i=i||1,t.beginPath(),t.arc(e,n,i,0,2*Math.PI),t.fillStyle=r,t.fill()},this.drawBullet=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:74,r=t.createLinearGradient(e,n,e+i,n);r.addColorStop(0,"#1074fc"),r.addColorStop(1,"rgba(37, 172, 254, 0)"),t.beginPath(),t.arc(e,n,2,Math.PI/2,Math.PI/2*3),t.lineTo(e+i,n-2),t.lineTo(e+i,n+2),t.closePath(),t.fillStyle=r,t.fill(),t.fillStyle=r},this.getCurvePoints=function(t,e,n){var i,r,o,a,s,c,l,u,d,h,f,p,m,g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,v=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=arguments.length>5&&void 0!==arguments[5]?arguments[5]:16,y=[],b=[];for(y=t.slice(0),v?(y.unshift(t[t.length-1]),y.unshift(t[t.length-2]),y.unshift(t[t.length-1]),y.unshift(t[t.length-2]),y.push(t[0]),y.push(t[1])):(y.unshift(t[1]),y.unshift(t[0]),y.push(t[t.length-2]),y.push(t[t.length-1])),m=2;m<y.length-4;m+=2)for(p=0;p<=_;p++)o=(y[m+2]-y[m-2])*g,a=(y[m+4]-y[m])*g,s=(y[m+3]-y[m-1])*g,c=(y[m+5]-y[m+1])*g,f=p/_,l=2*Math.pow(f,3)-3*Math.pow(f,2)+1,u=-2*Math.pow(f,3)+3*Math.pow(f,2),d=Math.pow(f,3)-2*Math.pow(f,2)+f,h=Math.pow(f,3)-Math.pow(f,2),i=l*y[m]+u*y[m+2]+d*o+h*a,r=l*y[m+1]+u*y[m+3]+d*s+h*c,b.push(i),r>n?b.push(n):r<e?b.push(e):b.push(r);return b}};return t}},$e={name:"util.canvas.base.kinetic",extend:null,component:function(){var t=function(){this.mass=10,this.friction=.1,this.pos=[0,0],this.veloc=[0,0],this.accel=[0,0],this.force=function(t){this.accel=[this.accel[0]+t[0]/this.mass,this.accel[1]+t[1]/this.mass]},this.accelScalar=function(){return Math.sqrt(this.accel[0]*this.accel[0]+this.accel[1]*this.accel[1])},this.velocScalar=function(){return Math.sqrt(this.veloc[0]*this.veloc[0]+this.veloc[1]*this.veloc[1])},this.velocityForce=function(){var t=this.veloc[0]<0?-1:1,e=this.veloc[1]<0?-1:1;return[.5*t*this.mass*this.veloc[0]*this.veloc[0],.5*e*this.mass*this.veloc[1]*this.veloc[1]]},this.distancePos=function(t){return Math.sqrt(Math.pow(this.pos[0]-t[0],2)+Math.pow(this.pos[1]-t[1],2))},this.distance=function(t){return this.distancePos(t.pos)},this.direction=function(t){var e=this.distancePos(t);return 0==e?[0,0]:[(this.pos[0]-t[0])/e,(this.pos[1]-t[1])/e]},this.speed=function(){return Math.sqrt(Math.pow(this.veloc[0],2)+Math.pow(this.veloc[1],2))},this.update=function(){this.veloc=[this.veloc[0]+this.accel[0],this.veloc[1]+this.accel[1]];var t=this.pos[0],e=this.pos[1];Math.abs(this.veloc[0])>2&&(t=this.pos[0]+this.veloc[0]),Math.abs(this.veloc[1])>2&&(e=this.pos[1]+this.veloc[1]),this.pos=[t,e],this.accel=[0,0]},this.draw=function(t,e){}};return t}};St.use(We,$e);var Xe={name:"util.canvas.base.mortalbubble",extend:"util.canvas.base.kinetic",component:function(){var t=St.include("util.canvas.base"),e=function(e,n){var i=arguments.length>
1252&&void 0!==arguments[2]?arguments[2]:20,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#497eff",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"rgba(16,116,252,0.2)";this.active=!0,this.birthtime=e,this.age=n,this.radius=i,this.color=r,this.shadowColor=o,this.force([30,0]),this.draw=function(e,n){e.shadowColor=this.shadowColor,e.shadowBlur=10,e.shadowOffsetX=0,e.shadowOffsetY=10;var i=new t(e),r=this.age-(n-this.birthtime),o=this.radius,a=3;if(r<=0)this.active=!1;else if(r<=100*a&&(o*=(100*a-r)/(100*a)+1),r<=80*a){var s=(80*a-r)/(80*a),c=(o/3-2)*s+2,l=(o/3-2)*Math.sin(Math.PI/2*s)+2,u=3*s+2;e.lineCap="round",i.drawLine(this.pos[0]+c,this.pos[1],this.pos[0]+l,this.pos[1],this.color,u),i.drawLine(this.pos[0]-c,this.pos[1],this.pos[0]-l,this.pos[1],this.color,u),i.drawLine(this.pos[0],this.pos[1]+c,this.pos[0],this.pos[1]+l,this.color,u),i.drawLine(this.pos[0],this.pos[1]-c,this.pos[0],this.pos[1]-l,this.color,u),e.lineCap="butt"}else i.drawCircle(this.pos[0],this.pos[1],o,this.color)}};return e}};St.use(Xe);var qe=function(){function t(e,n,i,r){Object(Ve["a"])(this,t),this.renderContext=e,this.contextWidth=n,this.contextHeight=i,this.gravity=r,this.data=[],this.isArrange=!1}return Object(Ue["a"])(t,[{key:"preCheck",value:function(){for(var t=0;t<this.data.length;t++){var e=this.data[t];e.active||(this.data[t]=null,this.data.splice(t,1))}return this.data.length>0}},{key:"draw",value:function(){if(this.preCheck()){for(var t=[],e=[],n=0;n<this.data.length;n++){var i=this.data[n],r=[1,0];i.force([r[0]*i.mass*this.gravity,r[1]*i.mass*this.gravity]),i.update()}for(var o=0;o<this.data.length;o++)for(var a=0;a<this.data.length;a++)if(o!=a){var s=this.data[o],c=this.data[a],l=s.distance(c),u=s.radius+c.radius;u-l>1&&t.push([s,c])}0==t.length&&(this.isArrange=!0);for(var d=0;d<t.length-1;d++)for(var h=t[d],f=d+1;f<t.length;f++){var p=t[f];(h[0]==p[0]&&h[1]==p[1]||h[1]==p[0]&&h[0]==p[1])&&e.push(f)}for(var m=0;m<t.length;m++)if(-1==e.indexOf(m)){var g=t[m],v=g[0],_=g[1],y=v.radius+_.radius,b=v.distance(_),w=[_.pos[0]-v.pos[0],_.pos[1]-v.pos[1]],k=Math.sqrt(w[0]*w[0]+w[1]*w[1]);w=[w[0]/k,w[1]/k];var x=y-b;_.pos[0]==v.pos[0]&&_.pos[1]==v.pos[1]&&(w=[0,-1]),v.pos=[-x/2*w[0]+v.pos[0],-x/2*w[1]+v.pos[1]],_.pos=[x/2*w[0]+_.pos[0],x/2*w[1]+_.pos[1]];var T=[w[0]*v.accel[0],w[1]*v.accel[1]],M=[w[0]*_.accel[0],w[1]*_.accel[1]];v.pos[0]<_.pos[0]?(v.veloc=[.7*v.veloc[0],.99*v.veloc[1]],v.force([-M[0],-M[1]])):(this.isArrange&&(v.veloc=[_.pos[0]>v.pos[0]?-1:1,_.pos[1]>v.pos[1]?-1:1],v.force([-T[0],-T[1]])),_.veloc=[.7*_.veloc[0],.99*_.veloc[1]],_.force([-T[0],-T[1]]))}for(var S=(new Date).getTime(),C=0;C<this.data.length;C++){var E=this.data[C];E.pos[0]>this.contextWidth&&(E.pos[0]=this.contextWidth),E.pos[1]>this.contextHeight?E.pos[1]=this.contextHeight:E.pos[1]<0&&(E.pos[1]=0),this.data[C].draw(this.renderContext,S)}}}}]),t}(),Ge={name:"chart.brush.canvas.activebubble",extend:"chart.brush.canvas.core",component:function(){var t=St.include("util.canvas.base.mortalbubble"),e=St.include("util.color"),n=function(){function n(t,n){var i=e.rgb(t);return"rgba(".concat(i.r,",").concat(i.g,",").concat(i.b,",").concat(n,")")}this.drawBefore=function(){var t=this.chart.getCache("active_bubble_count",0),e=this.axis.data.length;if(null==this.chart.getCache("active_bubble")&&this.chart.setCache("active_bubble",new qe(this.canvas,this.axis.area("width"),this.axis.area("height"),this.brush.gravity)),t!=e){var n=this.chart.getCache("active_bubble");n.isArrange=!1,this.chart.setCache("active_bubble_count",e)}},this.draw=function(){var e=this.chart.getCache("active_bubble"),i=0;while(this.axis.data.length>0){var r=this.color(i),o=this.axis.data.shift(),a=this.getValue(o,"startTime",Date.now()),s=this.getValue(o,"duration",1e3);e.data.push(new t(a,s,this.brush.radius,n(r,this.brush.opacity),n(r,.2))),i++}e.draw()}};return n.setup=function(){return{gravity:.2,radius:20,opacity:1}},n}};St.use(Ge);var Ze={name:"graph-activebubble",mixins:[Dt,jt,Re,It,ze,Yt,Be,Ht],props:{gravity:{type:Number,required:!1,default:.2},radius:{type:Number,required:!1,default:20},opacity:{type:Number,required:!1,default:1}},methods:{convertToData:function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];2==i.length&&e.push({0:i[0],1:i[1]})}return e},initGraphAxes:function(){return{keymap:{startTime:"0",duration:"1"},data:this.convertToData(this.values)}}}
125,beforeMount:function(){this.brushes=[{type:"canvas.activebubble",clip:this.clip,colors:this.colors,gravity:this.gravity,radius:this.radius,opacity:this.opacity}]}};St.use(We,$e);var Je={name:"util.canvas.base.bubble",extend:"util.canvas.base.kinetic",component:function(){var t=St.include("util.canvas.base"),e=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#497eff",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rgba(16,116,252,0.2)",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#fff",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"bold 11px Noto Sans KR";this.mark=!1,this.dim=!1,this.radius=e,this.text=n,this.color=i,this.shadowColor=r,this.textColor=o,this.draw=function(e,n){this.dim&&(e.globalAlpha=.5),e.shadowColor=this.shadowColor,e.shadowBlur=10,e.shadowOffsetX=0,e.shadowOffsetY=10;var i=new t(e);i.drawCircle(this.pos[0],this.pos[1],this.radius,this.color),e.fillStyle=this.textColor,e.textAlign="center",e.font=a,e.fillText(this.text,this.pos[0],this.pos[1]+5),e.globalAlpha=1}};return e}};St.use(Je);var Ke=function(){function t(e,n,i){Object(Ve["a"])(this,t),this.renderContext=e,this.contextWidth=n,this.contextHeight=i,this.bubbles={},this.animationAlpha=.1,this.hoverBubble=null}return Object(Ue["a"])(t,[{key:"processData",value:function(t){var e=this;if(null!=t){var n=St.include("util.canvas.base.bubble"),i=t.reduce((function(t,e){return t+e.count}),0),r=!1;for(var o in this.bubbles)this.bubbles[o].mark=!1;var a=function(t){var n=e.contextWidth>e.contextHeight?e.contextHeight:e.contextWidth;return t/i*(n/6)+50};for(var s in t.forEach((function(t){var i=e.bubbles[t.name];if(null==i){var o=new n(a(t.count),t.name,t.color,t.shadowColor,t.textColor,t.textStyle);o.data=t,o.mark=!0,o.pos=[Math.random()*e.contextWidth,Math.random()*e.contextHeight],e.bubbles[t.name]=o,r=!0}else{i.mark=!0;var s=a(t.count);Math.abs(i.radius-s)>20&&(i.radius=s,r=!0)}})),this.bubbles){var c=this.bubbles[s];c.mark||(delete this.bubbles[s],r=!0)}r&&(this.animationAlpha=.1)}}},{key:"start",value:function(t){this.bubbles={},this.processData(t)}},{key:"draw",value:function(){this.animationAlpha*=.99;var t=Object.values(this.bubbles);this.animationAlpha<0&&(this.animationAlpha=0);for(var e=[this.contextWidth/2,this.contextHeight/2],n=0;n<t.length;n++){var i=t[n],r=[e[0]-i.pos[0],e[1]-i.pos[1]];i.pos=[i.pos[0]+r[0]*this.animationAlpha,i.pos[1]+r[1]*this.animationAlpha]}for(var o=.5,a=4,s=0;s<t.length;s++)for(var c=0;c<t.length;c++)if(s!=c){var l=t[s],u=t[c],d=l.distance(u),h=l.radius+u.radius+a;if(d<h){var f=(d-h)/d*o,p=(l.pos[0]-u.pos[0])*f,m=(l.pos[1]-u.pos[1])*f;l.pos[0]-=p,l.pos[1]-=m,u.pos[0]+=p,u.pos[1]+=m}}for(var g=(new Date).getTime(),v=0;v<t.length;v++){var _=t[v];_.update(),this.hoverBubble&&this.hoverBubble!=_?_.dim=!0:_.dim=!1,t[v].draw(this.renderContext,g)}}},{key:"pick",value:function(t,e){for(var n=!1,i=Object.values(this.bubbles),r=0;r<i.length;r++){var o=i[r].distancePos([t,e]);if(o<i[r].radius){this.hoverBubble=i[r],n=!0;break}}return n||(this.hoverBubble=null),null!=this.hoverBubble?this.hoverBubble.data.origin:null}}]),t}(),Qe={name:"chart.brush.canvas.bubblecloud",extend:"chart.brush.canvas.core",component:function(){var t=St.include("util.color"),e=function(){function e(e,n){var i=t.rgb(e);return"rgba(".concat(i.r,",").concat(i.g,",").concat(i.b,",").concat(n,")")}this.draw=function(){var t=this.chart.getCache("bubble_cloud"),n=this.chart.getCache("bubble_data");null!=t&&null!=n&&n==this.axis.data?t.draw():(t=new Ke(this.canvas,this.axis.area("width"),this.axis.area("height")),this.eachData((function(n,i){var r=this.color(i,null),o=this.getValue(n,"title","Unknown"),a=this.getValue(n,"capacity",1),s={name:o,count:a,color:r,shadowColor:e(r,.2),textColor:this.chart.theme("bubbleCloudFontColor"),textStyle:"".concat(this.chart.theme("bubbleCloudFontWeight")," ").concat(this.chart.theme("bubbleCloudFontSize"),"px ").concat(this.chart.theme("fontFamily")),origin:n};t.bubbles[o]=s})),t.start(Object.values(t.bubbles)),t.draw(),this.chart.setCache("picker",{obj:t,func:t.pick}),this.chart.setCache("bubble_cloud",t),this.chart.setCache("bubble_data",this.axis.data))}};return e}};St.use(Qe);var tn={name:"graph-bubblecloud",mixins:[Dt,jt,Re,It,ze,Yt,Be,Ht],methods:{convertToData:function(t){for(var e=[],n=0;n<t.length;n++){for(var i=t[n],r={},o=0;o<i.length;o++)r["".concat(o)]=i[o];e.push(r)}return e},initGraphAxes:function(){return{keymap:{title:"0",capacity:"1"},data:this.convertToData(this.values)}}}
125,beforeMount:function(){this.brushes=[{type:"canvas.bubblecloud",clip:this.clip,colors:this.colors}]}},en={template:'<span style="display: none;"></span>',beforeMount:function(t){if(!this.$parent||!this.$parent.$vnode||-1==this.$parent.$vnode.tag.indexOf("graph-"))throw new Error("[Vue Graph error]: Can only be used as child nodes.");this.index=this.$parent.widgets.length,this.brushes=[];for(var e=0;e<this.$parent.brushes.length;e++)this.brushes.push(e)}},nn={top:"top",middle:"center",bottom:"bottom"},rn={left:"start",center:"middle",right:"end"},on={name:"note",mixins:[en],props:{text:{type:String,required:!0,default:""},align:{type:String,required:!1,default:"center"},verticalAlign:{typ:String,required:!1,default:"top"},dx:{type:Number,required:!1,default:0},dy:{type:Number,required:!1,default:0},size:{type:Number,required:!1},color:{type:String,required:!1}},watch:{text:function(t,e){this.$parent.chart.updateWidget(this.index,{text:t}),this.$parent.chart.render(!0)},align:function(t,e){t==e||"left"!=t&&"center"!=t&&"right"!=t||(this.$parent.chart.updateWidget(this.index,{align:rn[t]}),this.$parent.chart.render(!0))},verticalAlign:function(t,e){t==e||"top"!=t&&"middle"!=t&&"bottom"!=t||(this.$parent.chart.updateWidget(this.index,{orient:nn[t]}),this.$parent.chart.render(!0))}},beforeMount:function(t){this.$parent.widgets.push({type:"title",text:this.text,orient:nn[this.verticalAlign],align:rn[this.align],dx:this.dx,dy:this.dy,size:this.size,color:this.color})}},an={name:"tooltip",mixins:[en],props:{names:{type:Array,required:!1},position:{type:String,required:!1,default:"top"},showAnchor:{type:Boolean,required:!1,default:!0}},watch:{names:function(t,e){this.names=t,this.$parent.chart.render(!0)}},beforeMount:function(t){var e=this;this.$parent.widgets.push({type:"tooltip",brush:this.brushes,orient:this.position,anchor:this.showAnchor,format:function(t,n){return-1!=e.$parent.$vnode.tag.indexOf("graph-treemap")?{key:t.text,value:this.format(t[n])}:null!=t?{key:e.names[n],value:this.format(t[n])}:e.names[n]}})}},sn={name:"guideline",mixins:[en],props:{tooltipX:{type:Boolean,required:!1,default:!1},tooltipY:{type:Boolean,required:!1,default:!0}},beforeMount:function(t){var e=St.include("util.time"),n=this.$parent.axisFormat,r=function(t){return"object"==Object(i["a"])(t)&&"string"==typeof n?e.format(t,n):"number"==typeof t?Math.round(t):t},o={type:"cross"};this.tooltipX&&(o.xFormat=r),this.tooltipY&&(o.yFormat=r),this.$parent.widgets.push(o)}},cn={name:"legends",mixins:[en],props:{names:{type:Array,required:!0},align:{type:String,required:!1,default:"center"},position:{typ:String,required:!1,default:"bottom"},dx:{type:Number,required:!1,default:0},dy:{type:Number,required:!1,default:0},filter:{type:Boolean,required:!1,default:!1},colors:{type:Array,required:!1}},watch:{names:function(t,e){this.names=t,this.$parent.chart.render(!0)}},beforeMount:function(t){var e=this,n={left:"start",center:"center",right:"end"};this.$parent.widgets.push({type:"legend",brush:this.brushes,orient:this.position,align:n[this.align],dx:this.dx,dy:this.dy,filter:this.filter,colors:this.color,format:function(t){return this.format(e.names[t])}})}},ln={name:"rotate3d",mixins:[en],beforeMount:function(t){this.$parent.widgets.push({type:"polygon.rotate3d"})}};e["a"]={install:function(t,e){t.component($t.name,$t),t.component(Jt.name,Jt),t.component(ne.name,ne),t.component(oe.name,oe),t.component(se.name,se),t.component(le.name,le),t.component(he.name,he),t.component(me.name,me),t.component(ve.name,ve),t.component(ye.name,ye),t.component(ke.name,ke),t.component(xe.name,xe),t.component(Te.name,Te),t.component(Se.name,Se),t.component(Ce.name,Ce),t.component(Ee.name,Ee),t.component(Oe.name,Oe),t.component(Pe.name,Pe),t.component(De.name,De),t.component(Ie.name,Ie),t.component(He.name,He),t.component(Ze.name,Ze),t.component(tn.name,tn),t.component(on.name,on),t.component(an.name,an),t.component(sn.name,sn),t.component(cn.name,cn),t.component(ln.name,ln)}}},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2"),a=i("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),a=o("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},"45e9":function(t,e,n){"use strict";
125Object.defineProperty(e,"__esModule",{value:!0}),e.default={nch5:"/* v1.2.26,1.2.29,1 2018-10-25 10:14:18 */",nc:"/* v1.2.26,1.2.29,1 2018-10-25 09:33:12 */"}},"466d":function(t,e,n){"use strict";var i=n("d784"),r=n("825a"),o=n("50c4"),a=n("577e"),s=n("1d80"),c=n("8aa5"),l=n("14c3");i("match",(function(t,e,n){return[function(e){var n=s(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](a(n))},function(t){var i=r(this),s=a(t),u=n(e,i,s);if(u.done)return u.value;if(!i.global)return l(i,s);var d=i.unicode;i.lastIndex=0;var h,f=[],p=0;while(null!==(h=l(i,s))){var m=a(h[0]);f[p]=m,""===m&&(i.lastIndex=c(s,o(i.lastIndex),d)),p++}return 0===p?null:f}]}))},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"47cc":function(t,e,n){"use strict";n("ac1f"),n("5319"),n("d3b7"),n("25f0"),n("159b"),n("a15b"),n("fb6a");var i=n("4d13");function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},4840:function(t,e,n){var i=n("825a"),r=n("1c0b"),o=n("b622"),a=o("species");t.exports=function(t,e){var n,o=i(t).constructor;return void 0===o||void 0==(n=i(o)[a])?e:r(n)}},4849:function(t,e,n){t.exports={default:n("3787"),__esModule:!0}},"485a":function(t,e,n){var i=n("861d");t.exports=function(t,e){var n,r;if("string"===e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if("string"!==e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"485c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
126//! moment.js locale configuration 127var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ".split("_"),weekdaysShort:"Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn".split("_"),weekdaysMin:"Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gÉlÉn hÉftÉ] dddd [saat] LT",lastDay:"[dünÉn] LT",lastWeek:"[keçÉn hÉftÉ] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s ÉvvÉl",s:"bir neÃ§É saniyÉ",ss:"%d saniyÉ",m:"bir dÉqiqÉ",mm:"%d dÉqiqÉ",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecÉ|sÉhÉr|gündüz|axÅam/,isPM:function(t){return/^(gündüz|axÅam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecÉ":t<12?"sÉhÉr":t<17?"gündüz":"axÅam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10,i=t%100-n,r=t>=100?100:null;return t+(e[n]||e[i]||e[r])},week:{dow:1,doy:7}});return n}))},4930:function(t,e,n){var i=n("2d00"),r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"498a":function(t,e,n){"use strict";var i=n("23e7"),r=n("58a8").trim,o=n("c8d2");i({target:"String",proto:!0,forced:o("trim")},{trim:function(){return r(this)}})},4990:function(t,e,n){"use strict";n.d(e,"a",(function(){return uo})),n.d(e,"b",(function(){return Ti})),n.d(e,"c",(function(){return Sr})),n.d(e,"d",(function(){return To})),n.d(e,"e",(function(){return Mo})),n.d(e,"f",(function(){return So})),n.d(e,"g",(function(){return yo})),n.d(e,"h",(function(){return wo})),n.d(e,"i",(function(){return mi})),n.d(e,"j",(function(){return _i})),n.d(e,"k",(function(){return Co})),n.d(e,"l",(function(){return oi})),n.d(e,"m",(function(){return _o})),n.d(e,"n",(function(){return F})),n.d(e,"o",(function(){return vt})),n.d(e,"p",(function(){return B})),n.d(e,"q",(function(){return u})),n.d(e,"r",(function(){return k})),n.d(e,"s",(function(){return xt})),n.d(e,"t",(function(){return si})),n.d(e,"u",(function(){return bo})),n.d(e,"v",(function(){return Dt})),n.d(e,"w",(function(){return St})),n.d(e,"x",(function(){return R})),n.d(e,"y",(function(){return un})),n.d(e,"z",(function(){return hn})),n.d(e,"A",(function(){return dn})),n.d(e,"B",(function(){return O})),n.d(e,"C",(function(){return ht})),n.d(e,"D",(function(){return o})),n.d(e,"E",(function(){return $e})),n.d(e,"F",(function(){return Si})),n.d(e,"G",(function(){return In})),n.d(e,"H",(function(){return U})),n.d(e,"I",(function(){return V})),n.d(e,"J",(function(){return Et})),n.d(e,"K",(function(){return b})),n.d(e,"L",(function(){return y})),n.d(e,"M",(function(){return qe})),n.d(e,"N",(function(){return ci})),n.d(e,"O",(function(){return li})),n.d(e,"P",(function(){return en})),n.d(e,"Q",(function(){return jn})),n.d(e,"R",(function(){return a})),n.d(e,"S",(function(){return h})),n.d(e,"T",(function(){return _e})),n.d(e,"U",(function(){return Wt})),n.d(e,"V",(function(){return N})),n.d(e,"W",(function(){return At})),n.d(e,"X",(function(){return Me})),n.d(e,"Y",(function(){return ii})),n.d(e,"Z",(function(){return yt})),n.d(e,"ab",(function(){return d})),n.d(e,"bb",(function(){return ke})),n.d(e,"cb",(function(){return p})),n.d(e,"db",(function(){return tn})),n.d(e,"eb",(function(){return J})),n.d(e,"fb",(function(){return Ot})),n.d(e,"gb",(function(){return Ct})),n.d(e,"hb",(function(){return Lt})),n.d(e,"ib",(function(){return Tt})); 128/*!
129FullCalendar Core Package v4.4.2 130Docs & License: https://fullcalendar.io/ 131(c) 2019 Adam Shaw 132*/ 133var i={className:!0,colSpan:!0,rowSpan:!0},r={"<tr":"tbody","<td":"tr"};function o(t,e,n){var r=document.createElement(t);if(e)for(var o in e)"style"===o?k(r,e[o]):i[o]?r[o]=e[o]:r.setAttribute(o,e[o]);return"string"===typeof n?r.innerHTML=n:null!=n&&u(r,n),r}function a(t){t=t.trim();var e=document.createElement(l(t));return e.innerHTML=t,e.firstChild}function s(t){return Array.prototype.slice.call(c(t))}function c(t){t=t.trim();var e=document.createElement(l(t));return e.innerHTML=t,e.childNodes}function l(t){return r[t.substr(0,3)]||"div"}function u(t,e){for(var n=f(e),i=0;i<n.length;i++)t.appendChild(n[i])}function d(t,e){for(var n=f(e),i=t.firstChild||null,r=0;r<n.length;r++)t.insertBefore(n[r],i)}function h(t,e){for(var n=f(e),i=t.nextSibling||null,r=0;r<n.length;r++)t.parentNode.insertBefore(n[r],i)}function f(t){var e;return e="string"===typeof t?s(t):t instanceof Node?[t]:Array.prototype.slice.call(t),e}function p(t){t.parentNode&&t.parentNode.removeChild(t)}var m=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector,g=Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(_(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};function v(t,e){return g.call(t,e)}function _(t,e){return m.call(t,e)}function y(t,e){for(var n=t instanceof HTMLElement?[t]:t,i=[],r=0;r<n.length;r++)for(var o=n[r].querySelectorAll(e),a=0;a<o.length;a++)i.push(o[a]);return i}function b(t,e){for(var n=t instanceof HTMLElement?[t]:t,i=[],r=0;r<n.length;r++)for(var o=n[r].children,a=0;a<o.length;a++){var s=o[a];e&&!_(s,e)||i.push(s)}return i}var w=/(top|left|right|bottom|width|height)$/i;function k(t,e){for(var n in e)x(t,n,e[n])}function x(t,e,n){null==n?t.style[e]="":"number"===typeof n&&w.test(e)?t.style[e]=n+"px":t.style[e]=n}function T(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom&&n}var M=null;function S(){return null===M&&(M=C()),M}function C(){var t=o("div",{style:{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}},"<div></div>");document.body.appendChild(t);var e=t.firstChild,n=e.getBoundingClientRect().left>t.getBoundingClientRect().left;return p(t),n}function E(t){return t=Math.max(0,t),t=Math.round(t),t}function L(t,e){void 0===e&&(e=!1);var n=window.getComputedStyle(t),i=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=E(t.offsetWidth-t.clientWidth-i-r),c=E(t.offsetHeight-t.clientHeight-o-a),l={borderLeft:i,borderRight:r,borderTop:o,borderBottom:a,scrollbarBottom:c,scrollbarLeft:0,scrollbarRight:0};return S()&&"rtl"===n.direction?l.scrollbarLeft=s:l.scrollbarRight=s,e&&(l.paddingLeft=parseInt(n.paddingLeft,10)||0,l.paddingRight=parseInt(n.paddingRight,10)||0,l.paddingTop=parseInt(n.paddingTop,10)||0,l.paddingBottom=parseInt(n.paddingBottom,10)||0),l}function A(t,e){void 0===e&&(e=!1);var n=O(t),i=L(t,e),r={left:n.left+i.borderLeft+i.scrollbarLeft,right:n.right-i.borderRight-i.scrollbarRight,top:n.top+i.borderTop,bottom:n.bottom-i.borderBottom-i.scrollbarBottom};return e&&(r.left+=i.paddingLeft,r.right-=i.paddingRight,r.top+=i.paddingTop,r.bottom-=i.paddingBottom),r}function O(t){var e=t.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function P(){return{left:window.pageXOffset,right:window.pageXOffset+document.documentElement.clientWidth,top:window.pageYOffset,bottom:window.pageYOffset+document.documentElement.clientHeight}}function D(t){return t.getBoundingClientRect().height+j(t)}function j(t){var e=window.getComputedStyle(t);return parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)}function I(t){var e=[];while(t instanceof HTMLElement){var n=window.getComputedStyle(t);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}function R(t){return I(t).map((function(t){return A(t)})).concat(P()).reduce((function(t,e){return T(t,e)||e}))}function N(t,e,n,i){function r(t){var e=v(t.target,n);e&&i.call(e,t,e)}return t.addEventListener(e,r),function(){t.removeEventListener(e,r)}}function Y(t,e,n,i){var r;return N(t,"mouseover",e,(function(t,e){if(e!==r){r=e,n(t,e);var o=function(t){r=null,i(t,e),e.removeEventListener("mouseleave",o)};e.addEventListener("mouseleave",o)}}))}var z=["sun","mon","tue","wed","thu","fri","sat"];function B(t,e){var n=at(t);return n[2]+=7*e,st(n)}function F(t,e){var n=at(t);return n[2]+=e,st(n)}function H(t,e){var n=at(t);return n[6]+=e,st(n)}function V(t,e){return U(t,e)/7}function U(t,e){return(e.valueOf()-t.valueOf())/864e5}function W(t,e){return(e.valueOf()-t.valueOf())/36e5}function $(t,e){return(e.valueOf()-t.valueOf())/6e4}function X(t,e){return(e.valueOf()-t.valueOf())/1e3}function q(t,e){var n=J(t),i=J(e);return{years:0,months:0,days:Math.round(U(n,i)),milliseconds:e.valueOf()-i.valueOf()-(t.valueOf()-n.valueOf())}}function G(t,e){var n=Z(t,e);return null!==n&&n%7===0?n/7:null}function Z(t,e){return lt(t)===lt(e)?Math.round(U(t,e)):null}function J(t){return st([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function K(t){return st([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function Q(t){return st([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function tt(t){return st([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function et(t,e,n){var i=t.getUTCFullYear(),r=nt(t,i,e,n);if(r<1)return nt(t,i-1,e,n);var o=nt(t,i+1,e,n);return o>=1?Math.min(r,o):r}function nt(t,e,n,i){var r=st([e,0,1+it(e,n,i)]),o=J(t),a=Math.round(U(r,o));return Math.floor(a/7)+1}function it(t,e,n){var i=7+e-n,r=(7+st([t,0,i]).getUTCDay()-e)%7;return-r+i-1}function rt(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function ot(t){return new Date(t[0],t[1]||0,null==t[2]?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function at(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function st(t){return 1===t.length&&(t=t.concat([0])),new Date(Date.UTC.apply(Date,t))}function ct(t){return!isNaN(t.valueOf())}function lt(t){return 1e3*t.getUTCHours()*60*60+1e3*t.getUTCMinutes()*60+1e3*t.getUTCSeconds()+t.getUTCMilliseconds()}var ut=["years","months","days","milliseconds"],dt=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ht(t,e){var n;return"string"===typeof t?ft(t):"object"===typeof t&&t?pt(t):"number"===typeof t?pt((n={},n[e||"milliseconds"]=t,n)):null}function ft(t){var e=dt.exec(t);if(e){var n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*(60*(e[3]?parseInt(e[3],10):0)*60*1e3+60*(e[4]?parseInt(e[4],10):0)*1e3+1e3*(e[5]?parseInt(e[5],10):0)+(e[6]?parseInt(e[6],10):0))}}return null}function pt(t){return{years:t.years||t.year||0,months:t.months||t.month||0,days:(t.days||t.day||0)+7*mt(t),milliseconds:60*(t.hours||t.hour||0)*60*1e3+60*(t.minutes||t.minute||0)*1e3+1e3*(t.seconds||t.second||0)+(t.milliseconds||t.millisecond||t.ms||0)}}function mt(t){return t.weeks||t.week||0}function gt(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function vt(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function _t(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function yt(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function bt(t){return kt(t)/365}function wt(t){return kt(t)/30}function kt(t){return xt(t)/864e5}
133function xt(t){return 31536e6*t.years+2592e6*t.months+864e5*t.days+t.milliseconds}function Tt(t,e){for(var n=null,i=0;i<ut.length;i++){var r=ut[i];if(e[r]){var o=t[r]/e[r];if(!Yt(o)||null!==n&&n!==o)return null;n=o}else if(t[r])return null}return n}function Mt(t,e){var n=t.milliseconds;if(n){if(n%1e3!==0)return{unit:"millisecond",value:n};if(n%6e4!==0)return{unit:"second",value:n/1e3};if(n%36e5!==0)return{unit:"minute",value:n/6e4};if(n)return{unit:"hour",value:n/36e5}}return t.days?e||t.days%7!==0?{unit:"day",value:t.days}:{unit:"week",value:t.days/7}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}function St(t,e){e.left&&k(t,{borderLeftWidth:1,marginLeft:e.left-1}),e.right&&k(t,{borderRightWidth:1,marginRight:e.right-1})}function Ct(t){k(t,{marginLeft:"",marginRight:"",borderLeftWidth:"",borderRightWidth:""})}function Et(t,e,n){var i=Math.floor(e/t.length),r=Math.floor(e-i*(t.length-1)),o=[],a=[],s=[],c=0;Lt(t),t.forEach((function(e,n){var l=n===t.length-1?r:i,u=e.getBoundingClientRect().height,d=u+j(e);d<l?(o.push(e),a.push(d),s.push(u)):c+=d})),n&&(e-=c,i=Math.floor(e/o.length),r=Math.floor(e-i*(o.length-1))),o.forEach((function(t,e){var n=e===o.length-1?r:i,c=a[e],l=s[e],u=n-(c-l);c<n&&(t.style.height=u+"px")}))}function Lt(t){t.forEach((function(t){t.style.height=""}))}function At(t){var e=0;return t.forEach((function(t){var n=t.firstChild;if(n instanceof HTMLElement){var i=n.getBoundingClientRect().width;i>e&&(e=i)}})),e++,t.forEach((function(t){t.style.width=e+"px"})),e}function Ot(t,e){var n={position:"relative",left:-1};k(t,n),k(e,n);var i=t.getBoundingClientRect().height-e.getBoundingClientRect().height,r={position:"",left:""};return k(t,r),k(e,r),i}function Pt(t){var e,n,i=[],r=[];for("string"===typeof t?r=t.split(/\s*,\s*/):"function"===typeof t?r=[t]:Array.isArray(t)&&(r=t),e=0;e<r.length;e++)n=r[e],"string"===typeof n?i.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"===typeof n&&i.push({func:n});return i}function Dt(t,e,n){var i,r;for(i=0;i<n.length;i++)if(r=jt(t,e,n[i]),r)return r;return 0}function jt(t,e,n){return n.func?n.func(t,e):It(t[n.field],e[n.field])*(n.order||1)}function It(t,e){return t||e?null==e?-1:null==t?1:"string"===typeof t||"string"===typeof e?String(t).localeCompare(String(e)):t-e:0}function Rt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Nt(t,e){var n=String(t);return"000".substr(0,e-n.length)+n}function Yt(t){return t%1===0}function zt(t,e,n){if("function"===typeof t&&(t=[t]),t){var i=void 0,r=void 0;for(i=0;i<t.length;i++)r=t[i].apply(e,n)||r;return r}}function Bt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0;n<t.length;n++)if(void 0!==t[n])return t[n]}function Ft(t,e){var n,i,r,o,a,s=function(){var c=(new Date).valueOf()-o;c<e?n=setTimeout(s,e-c):(n=null,a=t.apply(r,i),r=i=null)};return function(){return r=this,i=arguments,o=(new Date).valueOf(),n||(n=setTimeout(s,e)),a}}function Ht(t,e,n,i){void 0===n&&(n={});var r={};for(var o in e){var a=e[o];void 0!==t[o]?r[o]=a===Function?"function"===typeof t[o]?t[o]:null:a?a(t[o]):t[o]:void 0!==n[o]?r[o]=n[o]:a===String?r[o]="":a&&a!==Number&&a!==Boolean&&a!==Function?r[o]=a(null):r[o]=null}if(i)for(var o in t)void 0===e[o]&&(i[o]=t[o]);return r}function Vt(t){var e=Math.floor(U(t.start,t.end))||1,n=J(t.start),i=F(n,e);return{start:n,end:i}}function Ut(t,e){void 0===e&&(e=ht(0));var n=null,i=null;if(t.end){i=J(t.end);var r=t.end.valueOf()-i.valueOf();r&&r>=xt(e)&&(i=F(i,1))}return t.start&&(n=J(t.start),i&&i<=n&&(i=F(n,1))),{start:n,end:i}}function Wt(t){var e=Ut(t);return U(e.start,e.end)>1}function $t(t,e,n,i){return"year"===i?ht(n.diffWholeYears(t,e),"year"):"month"===i?ht(n.diffWholeMonths(t,e),"month"):q(t,e)} 134/*! ***************************************************************************** 135Copyright (c) Microsoft Corporation. 136 137Permission to use, copy, modify, and/or distribute this software for any 138purpose with or without fee is hereby granted. 139 140THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 141REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 142AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 143INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 144LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 145OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 146PERFORMANCE OF THIS SOFTWARE. 147***************************************************************************** */var Xt=function(t,e){return Xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},Xt(t,e)};function qt(t,e){function n(){this.constructor=t}Xt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Gt=function(){return Gt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Gt.apply(this,arguments)};function Zt(t,e,n,i,r){for(var o=0;o<i.length;o++){var a={},s=i[o].parse(t,a,n);if(s){var c=a.allDay;return delete a.allDay,null==c&&(c=e,null==c&&(c=s.allDayGuess,null==c&&(c=!1))),Gt(r,a),{allDay:c,duration:s.duration,typeData:s.typeData,typeId:o}}}return null}function Jt(t,e,n,i,r){var o=r[t.recurringDef.typeId],a=o.expand(t.recurringDef.typeData,{start:i.subtract(n.start,e),end:n.end},i);return t.allDay&&(a=a.map(J)),a}var Kt=Object.prototype.hasOwnProperty;function Qt(t,e){var n,i,r,o,a,s,c={};if(e)for(n=0;n<e.length;n++){for(i=e[n],r=[],o=t.length-1;o>=0;o--)if(a=t[o][i],"object"===typeof a&&a)r.unshift(a);else if(void 0!==a){c[i]=a;break}r.length&&(c[i]=Qt(r))}for(n=t.length-1;n>=0;n--)for(i in s=t[n],s)i in c||(c[i]=s[i]);return c}function te(t,e){var n={};for(var i in t)e(t[i],i)&&(n[i]=t[i]);return n}function ee(t,e){var n={};for(var i in t)n[i]=e(t[i],i);return n}function ne(t){for(var e={},n=0,i=t;n<i.length;n++){var r=i[n];e[r]=!0}return e}function ie(t){var e=[];for(var n in t)e.push(t[n]);return e}function re(t,e){for(var n in t)if(Kt.call(t,n)&&!(n in e))return!1;for(var n in e)if(Kt.call(e,n)&&t[n]!==e[n])return!1;return!0}function oe(t,e,n,i){for(var r=he(),o=0,a=t;o<a.length;o++){var s=a[o],c=Xn(s,e,n,i);c&&ae(c,r)}return r}function ae(t,e){return void 0===e&&(e=he()),e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function se(t,e,n){var i=n.dateEnv,r=t.defs,o=t.instances;for(var a in o=te(o,(function(t){return!r[t.defId].recurringDef})),r){var s=r[a];if(s.recurringDef){var c=s.recurringDef.duration;c||(c=s.allDay?n.defaultAllDayEventDuration:n.defaultTimedEventDuration);for(var l=Jt(s,c,e,n.dateEnv,n.pluginSystem.hooks.recurringTypes),u=0,d=l;u<d.length;u++){var h=d[u],f=Gn(a,{start:h,end:i.add(h,c)});o[f.instanceId]=f}}}return{defs:r,instances:o}}function ce(t,e){var n=t.instances[e];if(n){var i=t.defs[n.defId],r=pe(t,(function(t){return le(i,t)}));
147return r.defs[i.defId]=i,r.instances[n.instanceId]=n,r}return he()}function le(t,e){return Boolean(t.groupId&&t.groupId===e.groupId)}function ue(t,e,n){var i=n.opt("eventDataTransform"),r=e?e.eventDataTransform:null;return r&&(t=de(t,r)),i&&(t=de(t,i)),t}function de(t,e){var n;if(e){n=[];for(var i=0,r=t;i<r.length;i++){var o=r[i],a=e(o);a?n.push(a):null==a&&n.push(o)}}else n=t;return n}function he(){return{defs:{},instances:{}}}function fe(t,e){return{defs:Gt({},t.defs,e.defs),instances:Gt({},t.instances,e.instances)}}function pe(t,e){var n=te(t.defs,e),i=te(t.instances,(function(t){return n[t.defId]}));return{defs:n,instances:i}}function me(t,e){var n=null,i=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(i=e.createMarker(t.end)),n||i?n&&i&&i<n?null:{start:n,end:i}:null}function ge(t,e){var n,i,r=[],o=e.start;for(t.sort(ve),n=0;n<t.length;n++)i=t[n],i.start>o&&r.push({start:o,end:i.start}),i.end>o&&(o=i.end);return o<e.end&&r.push({start:o,end:e.end}),r}function ve(t,e){return t.start.valueOf()-e.start.valueOf()}function _e(t,e){var n=t.start,i=t.end,r=null;return null!==e.start&&(n=null===n?e.start:new Date(Math.max(n.valueOf(),e.start.valueOf()))),null!=e.end&&(i=null===i?e.end:new Date(Math.min(i.valueOf(),e.end.valueOf()))),(null===n||null===i||n<i)&&(r={start:n,end:i}),r}function ye(t,e){return(null===t.start?null:t.start.valueOf())===(null===e.start?null:e.start.valueOf())&&(null===t.end?null:t.end.valueOf())===(null===e.end?null:e.end.valueOf())}function be(t,e){return(null===t.end||null===e.start||t.end>e.start)&&(null===t.start||null===e.end||t.start<e.end)}function we(t,e){return(null===t.start||null!==e.start&&e.start>=t.start)&&(null===t.end||null!==e.end&&e.end<=t.end)}function ke(t,e){return(null===t.start||e>=t.start)&&(null===t.end||e<t.end)}function xe(t,e){return null!=e.start&&t<e.start?e.start:null!=e.end&&t>=e.end?new Date(e.end.valueOf()-1):t}function Te(t,e){var n,i=t.length;if(i!==e.length)return!1;for(n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function Me(t){var e,n;return function(){return e&&Te(e,arguments)||(e=arguments,n=t.apply(this,arguments)),n}}function Se(t,e){var n=null;return function(){var i=t.apply(this,arguments);return(null===n||n!==i&&!e(n,i))&&(n=i),n}}var Ce={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Ee={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Le=/\s*([ap])\.?m\.?/i,Ae=/,/g,Oe=/\s+/g,Pe=/\u200e/g,De=/UTC|GMT/,je=function(){function t(t){var e={},n={},i=0;for(var r in t)r in Ce?(n[r]=t[r],i=Math.max(Ce[r],i)):(e[r]=t[r],r in Ee&&(i=Math.max(Ee[r],i)));this.standardDateProps=e,this.extendedSettings=n,this.severity=i,this.buildFormattingFunc=Me(Ie)}return t.prototype.format=function(t,e){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,e)(t)},t.prototype.formatRange=function(t,e,n){var i=this,r=i.standardDateProps,o=i.extendedSettings,a=Fe(t.marker,e.marker,n.calendarSystem);if(!a)return this.format(t,n);var s=a;!(s>1)||"numeric"!==r.year&&"2-digit"!==r.year||"numeric"!==r.month&&"2-digit"!==r.month||"numeric"!==r.day&&"2-digit"!==r.day||(s=1);var c=this.format(t,n),l=this.format(e,n);if(c===l)return c;var u=He(r,s),d=Ie(u,o,n),h=d(t),f=d(e),p=Ve(c,h,l,f),m=o.separator||"";return p?p.before+h+m+f+p.after:c+m+l},t.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";default:return"day"}},t}();function Ie(t,e,n){var i=Object.keys(t).length;return 1===i&&"short"===t.timeZoneName?function(t){return Ge(t.timeZoneOffset)}:0===i&&e.week?function(t){return Be(n.computeWeekNumber(t.marker),n.weekLabel,n.locale,e.week)}:Re(t,e,n)}function Re(t,e,n){t=Gt({},t),e=Gt({},e),Ne(t,e),t.timeZone="UTC";var i,r=new Intl.DateTimeFormat(n.locale.codes,t);if(e.omitZeroMinute){var o=Gt({},t);delete o.minute,i=new Intl.DateTimeFormat(n.locale.codes,o)}return function(o){var a,s=o.marker;a=i&&!s.getUTCMinutes()?i:r;var c=a.format(s);return Ye(c,o,t,e,n)}}function Ne(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit")),"long"===t.timeZoneName&&(t.timeZoneName="short"),e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}function Ye(t,e,n,i,r){return t=t.replace(Pe,""),"short"===n.timeZoneName&&(t=ze(t,"UTC"===r.timeZone||null==e.timeZoneOffset?"UTC":Ge(e.timeZoneOffset))),i.omitCommas&&(t=t.replace(Ae,"").trim()),i.omitZeroMinute&&(t=t.replace(":00","")),!1===i.meridiem?t=t.replace(Le,"").trim():"narrow"===i.meridiem?t=t.replace(Le,(function(t,e){return e.toLocaleLowerCase()})):"short"===i.meridiem?t=t.replace(Le,(function(t,e){return e.toLocaleLowerCase()+"m"})):"lowercase"===i.meridiem&&(t=t.replace(Le,(function(t){return t.toLocaleLowerCase()}))),t=t.replace(Oe," "),t=t.trim(),t}function ze(t,e){var n=!1;return t=t.replace(De,(function(){return n=!0,e})),n||(t+=" "+e),t}function Be(t,e,n,i){var r=[];return"narrow"===i?r.push(e):"short"===i&&r.push(e," "),r.push(n.simpleNumberFormat.format(t)),n.options.isRtl&&r.reverse(),r.join("")}function Fe(t,e,n){return n.getMarkerYear(t)!==n.getMarkerYear(e)?5:n.getMarkerMonth(t)!==n.getMarkerMonth(e)?4:n.getMarkerDay(t)!==n.getMarkerDay(e)?2:lt(t)!==lt(e)?1:0}function He(t,e){var n={};for(var i in t)(!(i in Ee)||Ee[i]<=e)&&(n[i]=t[i]);return n}function Ve(t,e,n,i){var r=0;while(r<t.length){var o=t.indexOf(e,r);if(-1===o)break;var a=t.substr(0,o);r=o+e.length;var s=t.substr(r),c=0;while(c<n.length){var l=n.indexOf(i,c);if(-1===l)break;var u=n.substr(0,l);c=l+i.length;var d=n.substr(c);if(a===u&&s===d)return{before:a,after:s}}}return null}var Ue=function(){function t(t,e){this.cmdStr=t,this.separator=e}return t.prototype.format=function(t,e){return e.cmdFormatter(this.cmdStr,Ze(t,null,e,this.separator))},t.prototype.formatRange=function(t,e,n){return n.cmdFormatter(this.cmdStr,Ze(t,e,n,this.separator))},t}(),We=function(){function t(t){this.func=t}return t.prototype.format=function(t,e){return this.func(Ze(t,null,e))},t.prototype.formatRange=function(t,e,n){return this.func(Ze(t,e,n))},t}();function $e(t,e){return"object"===typeof t&&t?("string"===typeof e&&(t=Gt({separator:e},t)),new je(t)):"string"===typeof t?new Ue(t,e):"function"===typeof t?new We(t):void 0}function Xe(t,e,n){void 0===n&&(n=!1);var i=t.toISOString();return i=i.replace(".000",""),n&&(i=i.replace("T00:00:00Z","")),i.length>10&&(null==e?i=i.replace("Z",""):0!==e&&(i=i.replace("Z",Ge(e,!0)))),i}function qe(t){return Nt(t.getUTCHours(),2)+":"+Nt(t.getUTCMinutes(),2)+":"+Nt(t.getUTCSeconds(),2)}function Ge(t,e){void 0===e&&(e=!1);var n=t<0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),o=Math.round(i%60);
147return e?n+Nt(r,2)+":"+Nt(o,2):"GMT"+n+r+(o?":"+Nt(o,2):"")}function Ze(t,e,n,i){var r=Je(t,n.calendarSystem),o=e?Je(e,n.calendarSystem):null;return{date:r,start:r,end:o,timeZone:n.timeZone,localeCodes:n.locale.codes,separator:i}}function Je(t,e){var n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}var Ke=function(){function t(t,e){this.calendar=t,this.internalEventSource=e}return t.prototype.remove=function(){this.calendar.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},t.prototype.refetch=function(){this.calendar.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId]})},Object.defineProperty(t.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!0,configurable:!0}),t}(),Qe=function(){function t(t,e,n){this._calendar=t,this._def=e,this._instance=n||null}return t.prototype.setProp=function(t,e){var n,i;if(t in Wn);else if(t in Un)"function"===typeof Un[t]&&(e=Un[t](e)),this.mutate({standardProps:(n={},n[t]=e,n)});else if(t in Yn){var r=void 0;"function"===typeof Yn[t]&&(e=Yn[t](e)),"color"===t?r={backgroundColor:e,borderColor:e}:"editable"===t?r={startEditable:e,durationEditable:e}:(i={},i[t]=e,r=i),this.mutate({standardProps:{ui:r}})}},t.prototype.setExtendedProp=function(t,e){var n;this.mutate({extendedProps:(n={},n[t]=e,n)})},t.prototype.setStart=function(t,e){void 0===e&&(e={});var n=this._calendar.dateEnv,i=n.createMarker(t);if(i&&this._instance){var r=this._instance.range,o=$t(r.start,i,n,e.granularity);e.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},t.prototype.setEnd=function(t,e){void 0===e&&(e={});var n,i=this._calendar.dateEnv;if((null==t||(n=i.createMarker(t),n))&&this._instance)if(n){var r=$t(this._instance.range.end,n,i,e.granularity);this.mutate({endDelta:r})}else this.mutate({standardProps:{hasEnd:!1}})},t.prototype.setDates=function(t,e,n){void 0===n&&(n={});var i,r=this._calendar.dateEnv,o={allDay:n.allDay},a=r.createMarker(t);if(a&&(null==e||(i=r.createMarker(e),i))&&this._instance){var s=this._instance.range;!0===n.allDay&&(s=Vt(s));var c=$t(s.start,a,r,n.granularity);if(i){var l=$t(s.end,i,r,n.granularity);gt(c,l)?this.mutate({datesDelta:c,standardProps:o}):this.mutate({startDelta:c,endDelta:l,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:c,standardProps:o})}},t.prototype.moveStart=function(t){var e=ht(t);e&&this.mutate({startDelta:e})},t.prototype.moveEnd=function(t){var e=ht(t);e&&this.mutate({endDelta:e})},t.prototype.moveDates=function(t){var e=ht(t);e&&this.mutate({datesDelta:e})},t.prototype.setAllDay=function(t,e){void 0===e&&(e={});var n={allDay:t},i=e.maintainDuration;null==i&&(i=this._calendar.opt("allDayMaintainDuration")),this._def.allDay!==t&&(n.hasEnd=i),this.mutate({standardProps:n})},t.prototype.formatRange=function(t){var e=this._calendar.dateEnv,n=this._instance,i=$e(t,this._calendar.opt("defaultRangeSeparator"));return this._def.hasEnd?e.formatRange(n.range.start,n.range.end,i,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):e.format(n.range.start,i,{forcedTzo:n.forcedStartTzo})},t.prototype.mutate=function(t){var e=this._def,n=this._instance;if(n){this._calendar.dispatch({type:"MUTATE_EVENTS",instanceId:n.instanceId,mutation:t,fromApi:!0});var i=this._calendar.state.eventStore;this._def=i.defs[e.defId],this._instance=i.instances[n.instanceId]}},t.prototype.remove=function(){this._calendar.dispatch({type:"REMOVE_EVENT_DEF",defId:this._def.defId})},Object.defineProperty(t.prototype,"source",{get:function(){var t=this._def.sourceId;return t?new Ke(this._calendar,this._calendar.state.eventSources[t]):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"start",{get:function(){return this._instance?this._calendar.dateEnv.toDate(this._instance.range.start):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._calendar.dateEnv.toDate(this._instance.range.end):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._def.publicId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this._def.title},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._def.url},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rendering",{get:function(){return this._def.rendering},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"constraint",{get:function(){return this._def.ui.c
147onstraints[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!0,configurable:!0}),t}();function tn(t,e,n,i){var r={},o={},a={},s=[],c=[],l=an(t.defs,e);for(var u in t.defs){var d=t.defs[u];"inverse-background"===d.rendering&&(d.groupId?(r[d.groupId]=[],a[d.groupId]||(a[d.groupId]=d)):o[u]=[])}for(var h in t.instances){var f=t.instances[h],p=(d=t.defs[f.defId],l[d.defId]),m=f.range,g=!d.allDay&&i?Ut(m,i):m,v=_e(g,n);v&&("inverse-background"===d.rendering?d.groupId?r[d.groupId].push(v):o[f.defId].push(v):("background"===d.rendering?s:c).push({def:d,ui:p,instance:f,range:v,isStart:g.start&&g.start.valueOf()===v.start.valueOf(),isEnd:g.end&&g.end.valueOf()===v.end.valueOf()}))}for(var _ in r)for(var y=r[_],b=ge(y,n),w=0,k=b;w<k.length;w++){var x=k[w];d=a[_],p=l[d.defId];s.push({def:d,ui:p,instance:null,range:x,isStart:!1,isEnd:!1})}for(var u in o){y=o[u],b=ge(y,n);for(var T=0,M=b;T<M.length;T++){x=M[T];s.push({def:t.defs[u],ui:l[u],instance:null,range:x,isStart:!1,isEnd:!1})}}return{bg:s,fg:c}}function en(t){return"background"===t.rendering||"inverse-background"===t.rendering}function nn(t,e,n){var i=t.calendar,r=t.view;i.hasPublicHandlers("eventRender")&&(e=e.filter((function(t){var e=i.publiclyTrigger("eventRender",[{event:new Qe(i,t.eventRange.def,t.eventRange.instance),isMirror:n,isStart:t.isStart,isEnd:t.isEnd,el:t.el,view:r}]);return!1!==e&&(e&&!0!==e&&(t.el=e),!0)})));for(var o=0,a=e;o<a.length;o++){var s=a[o];rn(s.el,s)}return e}function rn(t,e){t.fcSeg=e}function on(t){return t.fcSeg||null}function an(t,e){return ee(t,(function(t){return sn(t,e)}))}function sn(t,e){var n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),Hn(n)}function cn(t,e,n){var i=t.calendar,r=t.view;if(i.hasPublicHandlers("eventPositioned"))for(var o=0,a=e;o<a.length;o++){var s=a[o];i.publiclyTriggerAfterSizing("eventPositioned",[{event:new Qe(i,s.eventRange.def,s.eventRange.instance),isMirror:n,isStart:s.isStart,isEnd:s.isEnd,el:s.el,view:r}])}i.state.eventSourceLoadingLevel||(i.afterSizingTriggers._eventsPositioned=[null])}function ln(t,e,n){for(var i=t.calendar,r=t.view,o=0,a=e;o<a.length;o++){var s=a[o];i.trigger("eventElRemove",s.el)}if(i.hasPublicHandlers("eventDestroy"))for(var c=0,l=e;c<l.length;c++){s=l[c];i.publiclyTrigger("eventDestroy",[{event:new Qe(i,s.eventRange.def,s.eventRange.instance),isMirror:n,el:s.el,view:r}])}}function un(t,e,n){for(var i=t.calendar,r=t.view,o=i.pluginSystem.hooks.isDraggableTransformers,a=n.startEditable,s=0,c=o;s<c.length;s++){var l=c[s];a=l(a,e,n,r)}return a}function dn(t,e,n){return n.durationEditable&&t.options.eventResizableFromStart}function hn(t,e,n){return n.durationEditable}function fn(t,e,n,i){var r=an(t.defs,e),o=he();for(var a in t.defs){var s=t.defs[a];o.defs[a]=pn(s,r[a],n,i.pluginSystem.hooks.eventDefMutationAppliers,i)}for(var c in t.instances){var l=t.instances[c];s=o.defs[l.defId];o.instances[c]=mn(l,s,r[l.defId],n,i)}return o}function pn(t,e,n,i,r){var o=n.standardProps||{};null==o.hasEnd&&e.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var a=Gt({},t,o,{ui:Gt({},t.ui,o.ui)});n.extendedProps&&(a.extendedProps=Gt({},a.extendedProps,n.extendedProps));for(var s=0,c=i;s<c.length;s++){var l=c[s];l(a,n,r)}return!a.hasEnd&&r.opt("forceEventDuration")&&(a.hasEnd=!0),a}function mn(t,e,n,i,r){var o=r.dateEnv,a=i.standardProps&&!0===i.standardProps.allDay,s=i.standardProps&&!1===i.standardProps.hasEnd,c=Gt({},t);return a&&(c.range=Vt(c.range)),i.datesDelta&&n.startEditable&&(c.range={start:o.add(c.range.start,i.datesDelta),end:o.add(c.range.end,i.datesDelta)}),i.startDelta&&n.durationEditable&&(c.range={start:o.add(c.range.start,i.startDelta),end:c.range.end}),i.endDelta&&n.durationEditable&&(c.range={start:c.range.start,end:o.add(c.range.end,i.endDelta)}),s&&(c.range={start:c.range.start,end:r.getDefaultEventEnd(e.allDay,c.range.start)}),e.allDay&&(c.range={start:J(c.range.start),end:J(c.range.end)}),c.range.end<c.range.start&&(c.range.end=r.getDefaultEventEnd(e.allDay,c.range.start)),c}function gn(t,e,n,i,r){switch(e.type){case"RECEIVE_EVENTS":return vn(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,r);case"ADD_EVENTS":return _n(t,e.eventStore,i?i.activeRange:null,r);case"MERGE_EVENTS":return fe(t,e.eventStore);case"PREV":case"NEXT":case"SET_DATE":case"SET_VIEW_TYPE":return i?se(t,i.activeRange,r):t;case"CHANGE_TIMEZONE":return yn(t,e.oldDateEnv,r.dateEnv);case"MUTATE_EVENTS":return bn(t,e.instanceId,e.mutation,e.fromApi,r);
147case"REMOVE_EVENT_INSTANCES":return kn(t,e.instances);case"REMOVE_EVENT_DEF":return pe(t,(function(t){return t.defId!==e.defId}));case"REMOVE_EVENT_SOURCE":return wn(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return pe(t,(function(t){return!t.sourceId}));case"REMOVE_ALL_EVENTS":return he();case"RESET_EVENTS":return{defs:t.defs,instances:t.instances};default:return t}}function vn(t,e,n,i,r,o){if(e&&n===e.latestFetchId){var a=oe(ue(r,e,o),e.sourceId,o);return i&&(a=se(a,i,o)),fe(wn(t,e.sourceId),a)}return t}function _n(t,e,n,i){return n&&(e=se(e,n,i)),fe(t,e)}function yn(t,e,n){var i=t.defs,r=ee(t.instances,(function(t){var r=i[t.defId];return r.allDay||r.recurringDef?t:Gt({},t,{range:{start:n.createMarker(e.toDate(t.range.start,t.forcedStartTzo)),end:n.createMarker(e.toDate(t.range.end,t.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:t.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:t.forcedEndTzo})}));return{defs:i,instances:r}}function bn(t,e,n,i,r){var o=ce(t,e),a=i?{"":{startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}}:r.eventUiBases;return o=fn(o,a,n,r),fe(t,o)}function wn(t,e){return pe(t,(function(t){return t.sourceId!==e}))}function kn(t,e){return{defs:t.defs,instances:te(t.instances,(function(t){return!e[t.instanceId]}))}}function xn(t,e){return Mn({eventDrag:t},e)}function Tn(t,e){return Mn({dateSelection:t},e)}function Mn(t,e){var n=e.view,i=Gt({businessHours:n?n.props.businessHours:he(),dateSelection:"",eventStore:e.state.eventStore,eventUiBases:e.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},t);return(e.pluginSystem.hooks.isPropsValid||Sn)(i,e)}function Sn(t,e,n,i){return void 0===n&&(n={}),!(t.eventDrag&&!Cn(t,e,n,i))&&!(t.dateSelection&&!En(t,e,n,i))}function Cn(t,e,n,i){var r=t.eventDrag,o=r.mutatedEvents,a=o.defs,s=o.instances,c=an(a,r.isEvent?t.eventUiBases:{"":e.selectionConfig});i&&(c=ee(c,i));var l=kn(t.eventStore,r.affectedEvents.instances),u=l.defs,d=l.instances,h=an(u,t.eventUiBases);for(var f in s){var p=s[f],m=p.range,g=c[p.defId],v=a[p.defId];if(!Ln(g.constraints,m,l,t.businessHours,e))return!1;var _=e.opt("eventOverlap");for(var y in"function"!==typeof _&&(_=null),d){var b=d[y];if(be(m,b.range)){var w=h[b.defId].overlap;if(!1===w&&r.isEvent)return!1;if(!1===g.overlap)return!1;if(_&&!_(new Qe(e,u[b.defId],b),new Qe(e,v,p)))return!1}}for(var k=e.state.eventStore,x=0,T=g.allows;x<T.length;x++){var M=T[x],S=Gt({},n,{range:p.range,allDay:v.allDay}),C=k.defs[v.defId],E=k.instances[f],L=void 0;if(L=C?new Qe(e,C,E):new Qe(e,v),!M(e.buildDateSpanApi(S),L))return!1}}return!0}function En(t,e,n,i){var r=t.eventStore,o=r.defs,a=r.instances,s=t.dateSelection,c=s.range,l=e.selectionConfig;if(i&&(l=i(l)),!Ln(l.constraints,c,r,t.businessHours,e))return!1;var u=e.opt("selectOverlap");for(var d in"function"!==typeof u&&(u=null),a){var h=a[d];if(be(c,h.range)){if(!1===l.overlap)return!1;if(u&&!u(new Qe(e,o[h.defId],h)))return!1}}for(var f=0,p=l.allows;f<p.length;f++){var m=p[f],g=Gt({},n,s);if(!m(e.buildDateSpanApi(g),null))return!1}return!0}function Ln(t,e,n,i,r){for(var o=0,a=t;o<a.length;o++){var s=a[o];if(!Pn(An(s,e,n,i,r),e))return!1}return!0}function An(t,e,n,i,r){return"businessHours"===t?On(se(i,e,r)):"string"===typeof t?On(pe(n,(function(e){return e.groupId===t}))):"object"===typeof t&&t?On(se(t,e,r)):[]}function On(t){var e=t.instances,n=[];for(var i in e)n.push(e[i].range);return n}function Pn(t,e){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(we(r,e))return!0}return!1}function Dn(t,e){return Array.isArray(t)?oe(t,"",e,!0):"object"===typeof t&&t?oe([t],"",e,!0):null!=t?String(t):null}function jn(t){return(t+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function In(t){var e=[];for(var n in t){var i=t[n];null!=i&&""!==i&&e.push(n+":"+i)}return e.join(";")}function Rn(t){var e=[];for(var n in t){var i=t[n];null!=i&&e.push(n+'="'+jn(i)+'"')}return e.join(" ")}function Nn(t){return Array.isArray(t)?t:"string"===typeof t?t.split(/\s+/):[]}var Yn={editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:null,allow:null,className:Nn,classNames:Nn,color:String,backgroundColor:String,borderColor:String,textColor:String};function zn(t,e,n){var i=Ht(t,Yn,{},n),r=Dn(i.constraint,e);return{startEditable:null!=i.startEditable?i.startEditable:i.editable,durationEditable:null!=i.durationEditable?i.durationEditable:i.editable,constraints:null!=r?[r]:[],overlap:i.overlap,allows:null!=i.allow?[i.allow]:[],backgroundColor:i.backgroundColor||i.color,borderColor:i.borderColor||i.color,textColor:i.textColor,classNames:i.classNames.c
147oncat(i.className)}}function Bn(t,e,n,i){var r={},o={};for(var a in Yn){var s=t+Rt(a);r[a]=e[s],o[s]=!0}if("event"===t&&(r.editable=e.editable),i)for(var a in e)o[a]||(i[a]=e[a]);return zn(r,n)}var Fn={startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Hn(t){return t.reduce(Vn,Fn)}function Vn(t,e){return{startEditable:null!=e.startEditable?e.startEditable:t.startEditable,durationEditable:null!=e.durationEditable?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:"boolean"===typeof e.overlap?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}var Un={id:String,groupId:String,title:String,url:String,rendering:String,extendedProps:null},Wn={start:null,date:null,end:null,allDay:null},$n=0;function Xn(t,e,n,i){var r=Qn(e,n),o={},a=Zt(t,r,n.dateEnv,n.pluginSystem.hooks.recurringTypes,o);if(a){var s=qn(o,e,a.allDay,Boolean(a.duration),n);return s.recurringDef={typeId:a.typeId,typeData:a.typeData,duration:a.duration},{def:s,instance:null}}var c={},l=Zn(t,r,n,c,i);if(l){s=qn(c,e,l.allDay,l.hasEnd,n);var u=Gn(s.defId,l.range,l.forcedStartTzo,l.forcedEndTzo);return{def:s,instance:u}}return null}function qn(t,e,n,i,r){var o={},a=Kn(t,r,o);a.defId=String($n++),a.sourceId=e,a.allDay=n,a.hasEnd=i;for(var s=0,c=r.pluginSystem.hooks.eventDefParsers;s<c.length;s++){var l=c[s],u={};l(a,o,u),o=u}return a.extendedProps=Gt(o,a.extendedProps||{}),Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Gn(t,e,n,i){return{instanceId:String($n++),defId:t,range:e,forcedStartTzo:null==n?null:n,forcedEndTzo:null==i?null:i}}function Zn(t,e,n,i,r){var o,a,s=Jn(t,i),c=s.allDay,l=null,u=!1,d=null;if(o=n.dateEnv.createMarkerMeta(s.start),o)l=o.marker;else if(!r)return null;return null!=s.end&&(a=n.dateEnv.createMarkerMeta(s.end)),null==c&&(c=null!=e?e:(!o||o.isTimeUnspecified)&&(!a||a.isTimeUnspecified)),c&&l&&(l=J(l)),a&&(d=a.marker,c&&(d=J(d)),l&&d<=l&&(d=null)),d?u=!0:r||(u=n.opt("forceEventDuration")||!1,d=n.dateEnv.add(l,c?n.defaultAllDayEventDuration:n.defaultTimedEventDuration)),{allDay:c,hasEnd:u,range:{start:l,end:d},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}function Jn(t,e){var n=Ht(t,Wn,{},e);return n.start=null!==n.start?n.start:n.date,delete n.date,n}function Kn(t,e,n){var i={},r=Ht(t,Un,{},i),o=zn(i,e,n);return r.publicId=r.id,delete r.id,r.ui=o,r}function Qn(t,e){var n=null;if(t){var i=e.state.eventSources[t];n=i.allDayDefault}return null==n&&(n=e.opt("allDayDefault")),n}var ti={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],rendering:"inverse-background",classNames:"fc-nonbusiness",groupId:"_businessHours"};function ei(t,e){return oe(ni(t),"",e)}function ni(t){var e;return e=!0===t?[{}]:Array.isArray(t)?t.filter((function(t){return t.daysOfWeek})):"object"===typeof t&&t?[t]:[],e=e.map((function(t){return Gt({},ti,t)})),e}function ii(t,e,n){void 0===n&&(n=[]);var i,r,o=[];function a(){if(r){for(var t=0,n=o;t<n.length;t++){var a=n[t];a.unrender()}e&&e.apply(i,r),r=null}}function s(){r&&Te(r,arguments)||(a(),i=this,r=arguments,t.apply(this,arguments))}s.dependents=o,s.unrender=a;for(var c=0,l=n;c<l.length;c++){var u=l[c];u.dependents.push(s)}return s}var ri=he(),oi=function(){function t(){this.getKeysForEventDefs=Me(this._getKeysForEventDefs),this.splitDateSelection=Me(this._splitDateSpan),this.splitEventStore=Me(this._splitEventStore),this.splitIndividualUi=Me(this._splitIndividualUi),this.splitEventDrag=Me(this._splitInteraction),this.splitEventResize=Me(this._splitInteraction),this.eventUiBuilders={}}return t.prototype.splitProps=function(t){var e=this,n=this.getKeyInfo(t),i=this.getKeysForEventDefs(t.eventStore),r=this.splitDateSelection(t.dateSelection),o=this.splitIndividualUi(t.eventUiBases,i),a=this.splitEventStore(t.eventStore,i),s=this.splitEventDrag(t.eventDrag),c=this.splitEventResize(t.eventResize),l={};for(var u in this.eventUiBuilders=ee(n,(function(t,n){return e.eventUiBuilders[n]||Me(ai)})),n){var d=n[u],h=a[u]||ri,f=this.eventUiBuilders[u];l[u]={businessHours:d.businessHours||t.businessHours,dateSelection:r[u]||null,eventStore:h,eventUiBases:f(t.eventUiBases[""],d.ui,o[u]),eventSelection:h.instances[t.eventSelection]?t.eventSelection:"",eventDrag:s[u]||null,eventResize:c[u]||null}}return l},t.prototype._splitDateSpan=function(t){var e={};
147if(t)for(var n=this.getKeysForDateSpan(t),i=0,r=n;i<r.length;i++){var o=r[i];e[o]=t}return e},t.prototype._getKeysForEventDefs=function(t){var e=this;return ee(t.defs,(function(t){return e.getKeysForEventDef(t)}))},t.prototype._splitEventStore=function(t,e){var n=t.defs,i=t.instances,r={};for(var o in n)for(var a=0,s=e[o];a<s.length;a++){var c=s[a];r[c]||(r[c]=he()),r[c].defs[o]=n[o]}for(var l in i)for(var u=i[l],d=0,h=e[u.defId];d<h.length;d++){c=h[d];r[c]&&(r[c].instances[l]=u)}return r},t.prototype._splitIndividualUi=function(t,e){var n={};for(var i in t)if(i)for(var r=0,o=e[i];r<o.length;r++){var a=o[r];n[a]||(n[a]={}),n[a][i]=t[i]}return n},t.prototype._splitInteraction=function(t){var e={};if(t){var n=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),i=this._getKeysForEventDefs(t.mutatedEvents),r=this._splitEventStore(t.mutatedEvents,i),o=function(i){e[i]||(e[i]={affectedEvents:n[i]||ri,mutatedEvents:r[i]||ri,isEvent:t.isEvent,origSeg:t.origSeg})};for(var a in n)o(a);for(var a in r)o(a)}return e},t}();function ai(t,e,n){var i=[];t&&i.push(t),e&&i.push(e);var r={"":Hn(i)};return n&&Gt(r,n),r}function si(t,e,n,i,r){var o,a,s,c;return n instanceof Date?o=n:(o=n.date,a=n.type,s=n.forceOff),c={date:e.formatIso(o,{omitTime:!0}),type:a||"day"},"string"===typeof i&&(r=i,i=null),i=i?" "+Rn(i):"",r=r||"",!s&&t.navLinks?"<a"+i+' data-goto="'+jn(JSON.stringify(c))+'">'+r+"</a>":"<span"+i+">"+r+"</span>"}function ci(t){return t.allDayHtml||jn(t.allDayText)}function li(t,e,n,i){var r,o,a=n.calendar,s=n.options,c=n.theme,l=n.dateEnv,u=[];return ke(e.activeRange,t)?(u.push("fc-"+z[t.getUTCDay()]),s.monthMode&&l.getMonth(t)!==l.getMonth(e.currentRange.start)&&u.push("fc-other-month"),r=J(a.getNow()),o=F(r,1),t<r?u.push("fc-past"):t>=o?u.push("fc-future"):(u.push("fc-today"),!0!==i&&u.push(c.getClass("today")))):u.push("fc-disabled-day"),u}function ui(t,e,n){var i=!1,r=function(){i||(i=!0,e.apply(this,arguments))},o=function(){i||(i=!0,n&&n.apply(this,arguments))},a=t(r,o);a&&"function"===typeof a.then&&a.then(r,o)}var di=function(){function t(){}return t.mixInto=function(t){this.mixIntoObj(t.prototype)},t.mixIntoObj=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach((function(n){t[n]||(t[n]=e.prototype[n])}))},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))},t}(),hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return qt(e,t),e.prototype.on=function(t,e){return fi(this._handlers||(this._handlers={}),t,e),this},e.prototype.one=function(t,e){return fi(this._oneHandlers||(this._oneHandlers={}),t,e),this},e.prototype.off=function(t,e){return this._handlers&&pi(this._handlers,t,e),this._oneHandlers&&pi(this._oneHandlers,t,e),this},e.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return this.triggerWith(t,this,e),this},e.prototype.triggerWith=function(t,e,n){return this._handlers&&zt(this._handlers[t],e,n),this._oneHandlers&&(zt(this._oneHandlers[t],e,n),delete this._oneHandlers[t]),this},e.prototype.hasHandlers=function(t){return this._handlers&&this._handlers[t]&&this._handlers[t].length||this._oneHandlers&&this._oneHandlers[t]&&this._oneHandlers[t].length},e}(di);function fi(t,e,n){(t[e]||(t[e]=[])).push(n)}function pi(t,e,n){n?t[e]&&(t[e]=t[e].filter((function(t){return t!==n}))):delete t[e]}var mi=function(){function t(t,e,n,i){this.originEl=t,this.els=e,this.isHorizontal=n,this.isVertical=i}return t.prototype.build=function(){var t=this.originEl,e=this.originClientRect=t.getBoundingClientRect();this.isHorizontal&&this.buildElHorizontals(e.left),this.isVertical&&this.buildElVerticals(e.top)},t.prototype.buildElHorizontals=function(t){for(var e=[],n=[],i=0,r=this.els;i<r.length;i++){var o=r[i],a=o.getBoundingClientRect();e.push(a.left-t),n.push(a.right-t)}this.lefts=e,this.rights=n},t.prototype.buildElVerticals=function(t){for(var e=[],n=[],i=0,r=this.els;i<r.length;i++){var o=r[i],a=o.getBoundingClientRect();e.push(a.top-t),n.push(a.bottom-t)}this.tops=e,this.bottoms=n},t.prototype.leftToIndex=function(t){var e,n=this.lefts,i=this.rights,r=n.length;for(e=0;e<r;e++)if(t>=n[e]&&t<i[e])return e},t.prototype.topToIndex=function(t){var e,n=this.tops,i=this.bottoms,r=n.length;for(e=0;e<r;e++)if(t>=n[e]&&t<i[e])return e},t.prototype.getWidth=function(t){return this.rights[t]-this.lefts[t]},t.prototype.getHeight=function(t){return this.bottoms[t]-this.tops[t]},t}(),gi=function(){function t(){}
147return t.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},t.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},t.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},t.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},t.prototype.canScrollUp=function(){return this.getScrollTop()>0},t.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},t.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},t.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},t}(),vi=function(t){function e(e){var n=t.call(this)||this;return n.el=e,n}return qt(e,t),e.prototype.getScrollTop=function(){return this.el.scrollTop},e.prototype.getScrollLeft=function(){return this.el.scrollLeft},e.prototype.setScrollTop=function(t){this.el.scrollTop=t},e.prototype.setScrollLeft=function(t){this.el.scrollLeft=t},e.prototype.getScrollWidth=function(){return this.el.scrollWidth},e.prototype.getScrollHeight=function(){return this.el.scrollHeight},e.prototype.getClientHeight=function(){return this.el.clientHeight},e.prototype.getClientWidth=function(){return this.el.clientWidth},e}(gi),_i=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}qt(e,t),e.prototype.getScrollTop=function(){return window.pageYOffset},e.prototype.getScrollLeft=function(){return window.pageXOffset},e.prototype.setScrollTop=function(t){window.scroll(window.pageXOffset,t)},e.prototype.setScrollLeft=function(t){window.scroll(t,window.pageYOffset)},e.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},e.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},e.prototype.getClientHeight=function(){return document.documentElement.clientHeight},e.prototype.getClientWidth=function(){return document.documentElement.clientWidth}}(gi),function(t){function e(e,n){var i=t.call(this,o("div",{className:"fc-scroller"}))||this;return i.overflowX=e,i.overflowY=n,i.applyOverflow(),i}return qt(e,t),e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){p(this.el)},e.prototype.applyOverflow=function(){k(this.el,{overflowX:this.overflowX,overflowY:this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,n=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.bottom||this.canScrollHorizontally()?"scroll":"hidden"),"auto"===n&&(n=t.left||t.right||this.canScrollVertically()?"scroll":"hidden"),k(this.el,{overflowX:e,overflowY:n})},e.prototype.setHeight=function(t){x(this.el,"height",t)},e.prototype.getScrollbarWidths=function(){var t=L(this.el);return{left:t.scrollbarLeft,right:t.scrollbarRight,bottom:t.scrollbarBottom}},e}(vi)),yi=function(){function t(t){this.calendarOptions=t,this.processIconOverride()}return t.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.calendarOptions[this.iconOverrideOption])},t.prototype.setIconOverride=function(t){var e,n;if("object"===typeof t&&t){for(n in e=Gt({},this.iconClasses),t)e[n]=this.applyIconOverridePrefix(t[n]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t){var e=this.iconClasses[t];return e?this.baseIconClass+" "+e:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption],e)?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();yi.prototype.classes={},yi.prototype.iconClasses={},yi.prototype.baseIconClass="",yi.prototype.iconOverridePrefix="";var bi=0,wi=function(){function t(t,e,n,i,r){this.calendar=t,this.theme=e,this.dateEnv=n,this.options=i,this.view=r,this.isRtl="rtl"===i.dir,this.eventOrderSpecs=Pt(i.eventOrder),this.nextDayThreshold=ht(i.nextDayThreshold)}return t.prototype.extend=function(e,n){return new t(this.calendar,this.theme,this.dateEnv,e||this.options,n||this.view)},t}(),ki=function(){function t(){this.everRendered=!1,this.uid=String(bi++)}return t.addEqualityFuncs=function(t){this.prototype.equalityFuncs=Gt({},this.prototype.equalityFuncs,t)},t.prototype.receiveProps=function(t,e){this.receiveContext(e);var n=xi(this.props||{},t,this.equalityFuncs),i=n.anyChanges,r=n.comboProps;this.props=r,i&&(this.everRendered&&this.beforeUpdate(),this.render(r,e),this.everRendered&&this.afterUpdate()),this.everRendered=!0},t.prototype.receiveContext=function(t){var e=this.context;this.context=t,e||this.firstContext(t)}
147,t.prototype.render=function(t,e){},t.prototype.firstContext=function(t){},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.destroy=function(){},t}();function xi(t,e,n){var i={},r=!1;for(var o in e)o in t&&(t[o]===e[o]||n[o]&&n[o](t[o],e[o]))?i[o]=t[o]:(i[o]=e[o],r=!0);for(var o in t)if(!(o in e)){r=!0;break}return{anyChanges:r,comboProps:i}}ki.prototype.equalityFuncs={};var Ti=function(t){function e(e){var n=t.call(this)||this;return n.el=e,n}return qt(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),p(this.el)},e.prototype.buildPositionCaches=function(){},e.prototype.queryHit=function(t,e,n,i){return null},e.prototype.isInteractionValid=function(t){var e=this.context.calendar,n=this.props.dateProfile,i=t.mutatedEvents.instances;if(n)for(var r in i)if(!we(n.validRange,i[r].range))return!1;return xn(t,e)},e.prototype.isDateSelectionValid=function(t){var e=this.context.calendar,n=this.props.dateProfile;return!(n&&!we(n.validRange,t.range))&&Tn(t,e)},e.prototype.isValidSegDownEl=function(t){return!this.props.eventDrag&&!this.props.eventResize&&!v(t,".fc-mirror")&&(this.isPopover()||!this.isInPopover(t))},e.prototype.isValidDateDownEl=function(t){var e=v(t,this.fgSegSelector);return(!e||e.classList.contains("fc-mirror"))&&!v(t,".fc-more")&&!v(t,"a[data-goto]")&&!this.isInPopover(t)},e.prototype.isPopover=function(){return this.el.classList.contains("fc-popover")},e.prototype.isInPopover=function(t){return Boolean(v(t,".fc-popover"))},e}(ki);Ti.prototype.fgSegSelector=".fc-event-container > *",Ti.prototype.bgSegSelector=".fc-bgevent:not(.fc-nonbusiness)";var Mi=0;function Si(t){return{id:String(Mi++),deps:t.deps||[],reducers:t.reducers||[],eventDefParsers:t.eventDefParsers||[],isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],eventResizeJoinTransforms:t.eventResizeJoinTransforms||[],viewContainerModifiers:t.viewContainerModifiers||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,defaultView:t.defaultView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{}}}var Ci=function(){function t(){this.hooks={reducers:[],eventDefParsers:[],isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],eventResizeJoinTransforms:[],viewContainerModifiers:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,defaultView:"",elementDraggingImpl:null,optionChangeHandlers:{}},this.addedHash={}}return t.prototype.add=function(t){if(!this.addedHash[t.id]){this.addedHash[t.id]=!0;for(var e=0,n=t.deps;e<n.length;e++){var i=n[e];this.add(i)}this.hooks=Ei(this.hooks,t)}},t}();function Ei(t,e){return{reducers:t.reducers.concat(e.reducers),eventDefParsers:t.eventDefParsers.concat(e.eventDefParsers),isDraggableTransformers:t.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(e.dateSpanTransforms),views:Gt({},t.views,e.views),viewPropsTransformers:t.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(e.externalDefTransforms),eventResizeJoinTransforms:t.eventResizeJoinTransforms.concat(e.eventResizeJoinTransforms),viewContainerModifiers:t.viewContainerModifiers.concat(e.viewContainerModifiers),eventDropTransformers:t.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(e.calendarInteractions),componentInteractions:t.componentInteractions.concat(e.componentInteractions),theme
147Classes:Gt({},t.themeClasses,e.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||t.namedTimeZonedImpl,defaultView:t.defaultView||e.defaultView,elementDraggingImpl:t.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Gt({},t.optionChangeHandlers,e.optionChangeHandlers)}}var Li={ignoreRange:!0,parseMeta:function(t){return Array.isArray(t)?t:Array.isArray(t.events)?t.events:null},fetch:function(t,e){e({rawEvents:t.eventSource.meta})}},Ai=Si({eventSourceDefs:[Li]}),Oi={parseMeta:function(t){return"function"===typeof t?t:"function"===typeof t.events?t.events:null},fetch:function(t,e,n){var i=t.calendar.dateEnv,r=t.eventSource.meta;ui(r.bind(null,{start:i.toDate(t.range.start),end:i.toDate(t.range.end),startStr:i.formatIso(t.range.start),endStr:i.formatIso(t.range.end),timeZone:i.timeZone}),(function(t){e({rawEvents:t})}),n)}},Pi=Si({eventSourceDefs:[Oi]});function Di(t,e,n,i,r){t=t.toUpperCase();var o=null;"GET"===t?e=ji(e,n):o=Ii(n);var a=new XMLHttpRequest;a.open(t,e,!0),"GET"!==t&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400)try{var t=JSON.parse(a.responseText);i(t,a)}catch(e){r("Failure parsing JSON",a)}else r("Request failed",a)},a.onerror=function(){r("Request failed",a)},a.send(o)}function ji(t,e){return t+(-1===t.indexOf("?")?"?":"&")+Ii(e)}function Ii(t){var e=[];for(var n in t)e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}var Ri={parseMeta:function(t){if("string"===typeof t)t={url:t};else if(!t||"object"!==typeof t||!t.url)return null;return{url:t.url,method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}},fetch:function(t,e,n){var i=t.eventSource.meta,r=Yi(i,t.range,t.calendar);Di(i.method,i.url,r,(function(t,n){e({rawEvents:t,xhr:n})}),(function(t,e){n({message:t,xhr:e})}))}},Ni=Si({eventSourceDefs:[Ri]});function Yi(t,e,n){var i,r,o,a,s=n.dateEnv,c={};return i=t.startParam,null==i&&(i=n.opt("startParam")),r=t.endParam,null==r&&(r=n.opt("endParam")),o=t.timeZoneParam,null==o&&(o=n.opt("timeZoneParam")),a="function"===typeof t.extraParams?t.extraParams():t.extraParams||{},Gt(c,a),c[i]=s.formatIso(e.start),c[r]=s.formatIso(e.end),"local"!==s.timeZone&&(c[o]=s.timeZone),c}var zi={parse:function(t,e,n){var i=n.createMarker.bind(n),r={daysOfWeek:null,startTime:ht,endTime:ht,startRecur:i,endRecur:i},o=Ht(t,r,{},e),a=!1;for(var s in o)if(null!=o[s]){a=!0;break}if(a){var c=null;return"duration"in e&&(c=ht(e.duration),delete e.duration),!c&&o.startTime&&o.endTime&&(c=_t(o.endTime,o.startTime)),{allDayGuess:Boolean(!o.startTime&&!o.endTime),duration:c,typeData:o}}return null},expand:function(t,e,n){var i=_e(e,{start:t.startRecur,end:t.endRecur});return i?Fi(t.daysOfWeek,t.startTime,i,n):[]}},Bi=Si({recurringTypes:[zi]});function Fi(t,e,n,i){var r=t?ne(t):null,o=J(n.start),a=n.end,s=[];while(o<a){var c=void 0;r&&!r[o.getUTCDay()]||(c=e?i.add(o,e):o,s.push(c)),o=F(o,1)}return s}var Hi=Si({optionChangeHandlers:{events:function(t,e,n){Vi([t],e,n)},eventSources:Vi,plugins:Ui}});function Vi(t,e,n){for(var i=ie(e.state.eventSources),r=[],o=0,a=t;o<a.length;o++){for(var s=a[o],c=!1,l=0;l<i.length;l++)if(n(i[l]._raw,s)){i.splice(l,1),c=!0;break}c||r.push(s)}for(var u=0,d=i;u<d.length;u++){var h=d[u];e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:h.sourceId})}for(var f=0,p=r;f<p.length;f++){var m=p[f];e.addEventSource(m)}}function Ui(t,e){e.addPluginInputs(t)}var Wi={defaultRangeSeparator:" - ",titleRangeSeparator:" â ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",columnHeader:!0,defaultView:"",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",timeGridEventMinHeight:0,themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",eventLimit:!1,eventLimitClick:"popover",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5},$i={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"}},Xi=["header","footer","buttonText","buttonIcons"];function qi(t){return Qt(t,Xi)}var Gi=[Ai,Pi,Ni,Bi,Hi];function Zi(t){for(var e=[],n=0,i=t;n<i.length;n++){var r=i[n];if("string"===typeof r){var o="FullCalendar"+Rt(r);window[o]?e.push(window[o].default):console.warn("Plugin file not loaded for "+r)}else e.push(r)}return Gi.concat(e)}var Ji={code:"en",week:{dow:0,doy:4},dir:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekLabel:"W",allDayText:"all-day",eventLimitText:"more",noEventsMessage:"No events to display"};function Ki(t){for(var e=t.length>0?t[0].code:"en",n=window["FullCalendarLocalesAll"]||[],i=window["FullCalendarLocales"]||{},r=n.concat(ie(i),t),o={en:Ji},a=0,s=r;a<s.length;a++){var c=s[a];o[c.code]=c}return{map:o,defaultCode:e}}function Qi(t,e){return"object"!==typeof t||Array.isArray(t)?tr(t,e):nr(t.code,[t.code],t)}function tr(t,e){var n=[].concat(t||[]),i=er(n,e)||Ji;return nr(t,n,i)}function er(t,e){for(var n=0;n<t.length;n++)for(var i=t[n].toLocaleLowerCase().split("-"),r=i.length;r>0;r--){var o=i.slice(0,r).join("-");if(e[o])return e[o]}return null}function nr(t,e,n){var i=Qt([Ji,n],["buttonText"]);delete i.code;var r=i.week;return delete i.week,{codeArg:t,codes:e,week:r,simpleNumberFormat:new Intl.NumberFormat(t),options:i}}var ir=function(){function t(t){this.overrides=Gt({},t),this.dynamicOverrides={},this.compute()}return t.prototype.mutate=function(t,e,n){if(Object.keys(t).length||e.length){var i=n?this.dynamicOverrides:this.overrides;Gt(i,t);for(var r=0,o=e;r<o.length;r++){var a=o[r];delete i[a]}this.compute()}},t.prototype.compute=function(){var t=Bt(this.dynamicOverrides.locales,this.overrides.locales,Wi.locales),e=Bt(this.dynamicOverrides.locale,this.overrides.locale,Wi.locale),n=Ki(t),i=Qi(e||n.defaultCode,n.map).options,r=Bt(this.dynamicOverrides.dir,this.overrides.dir,i.dir),o="rtl"===r?$i:{};this.dirDefaults=o,this.localeDefaults=i,this.computed=qi([Wi,o,i,this.overrides,this.dynamicOverrides])},t}(),rr={};function or(t,e){rr[t]=e}function ar(t){return new rr[t]}var sr=function(){function t(){}return t.prototype.getMarkerYear=function(t){return t.getUTCFullYear()},t.prototype.getMarkerMonth=function(t){return t.getUTCMonth()},t.prototype.getMarkerDay=function(t){return t.getUTCDate()},t.prototype.arrayToMarker=function(t){return st(t)},t.prototype.markerToArray=function(t){return at(t)},t}();or("gregory",sr);var cr=/^\s*(\d{4})(-(\d{2})(-(\d{2})([T ](\d{2}):(\d{2})(:(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function lr(t){var e=cr.exec(t);if(e){var n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?1e3*Number("0."+e[12]):0));if(ct(n)){var i=null;return e[13]&&(i=("-"===e[15]?-1:1)*(60*Number(e[16]||0)+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:i}}}return null}var ur=function(){function t(t){var e=this.timeZone=t.timeZone,n="local"!==e&&"UTC"!==e;t.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(e)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=ar(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,"ISO"===t.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"===typeof t.firstDay&&(this.weekDow=t.firstDay),"function"===typeof t.weekNumberCalculation&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekLabel=null!=t.weekLabel?t.weekLabel:t.locale.options.weekLabel,this.cmdFormatter=t.cmdFormatter}return t.prototype.createMarker=function(t){var e=this.createMarkerMeta(t);return null===e?null:e.marker},t.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):st(rt(new Date))},t.prototype.createMarkerMeta=function(t){if("string"===typeof t)return this.parse(t);var e=null;return"number"===typeof t?e=this.timestampToMarker(t):t instanceof Date?(t=t.valueOf(),isNaN(t)||(e=this.timestampToMarker(t))):Array.isArray(t)&&(e=st(t)),null!==e&&ct(e)?{marker:e,isTimeUnspecified:!1,forcedTzo:null}:null},t.prototype.parse=function(t){var e=lr(t);if(null===e)return null;var n=e.marker,i=null;return null!==e.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*e.timeZoneOffset*1e3):i=e.timeZoneOffset),{marker:n,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:i}},t.prototype.getYear=function(t){return this.calendarSystem.getMarkerYear(t)},t.prototype.getMonth=function(t){return this.calendarSystem.getMarkerMonth(t)},t.prototype.add=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e.years,n[1]+=e.months,n[2]+=e.days,n[6]+=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.subtract=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]-=e.years,n[1]-=e.months,n[2]-=e.days,n[6]-=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.addYears=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.addMonths=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[1]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.diffWholeYears=function(t,e){var n=this.calendarSystem;return lt(t)===lt(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)&&n.getMarkerMonth(t)===n.getMarkerMonth(e)?n.getMarkerYear(e)-n.getMarkerYear(t):null},t.prototype.diffWholeMonths=function(t,e){var n=this.calendarSystem;return lt(t)===lt(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)?n.getMarkerMonth(e)-n.getMarkerMonth(t)+12*(n.getMarkerYear(e)-n.getMarkerYear(t)):null},t.prototype.greatestWholeUnit=function(t,e){var n=this.diffWholeYears(t,e);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(t,e),null!==n?{unit:"month",value:n}:(n=G(t,e),null!==n?{unit:"week",value:n}:(n=Z(t,e),null!==n?{unit:"day",value:n}:(n=W(t,e),Yt(n)?{unit:"hour",value:n}:(n=$(t,e),Yt(n)?{unit:"minute",value:n}:(n=X(t,e),Yt(n)?{unit:"second",value:n}:{unit:"millisecond",value:e.valueOf()-t.valueOf()}))))))},t.prototype.countDurationsBetween=function(t,e,n){var i;return n.years&&(i=this.diffWholeYears(t,e),null!==i)?i/bt(n):n.months&&(i=this.diffWholeMonths(t,e),null!==i)?i/wt(n):n.days&&(i=Z(t,e),null!==i)?i/kt(n):(e.valueOf()-t.valueOf())/xt(n)},t.prototype.startOf=function(t,e){return"year"===e?this.startOfYear(t):"month"===e?this.startOfMonth(t):"week"===e?this.startOfWeek(t):"day"===e?J(t):"hour"===e?K(t):"minute"===e?Q(t):"second"===e?tt(t):void 0},t.prototype.startOfYear=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t)])},t.prototype.startOfMonth=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t)])},t.prototype.startOfWeek=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t),t.getUTCDate()-(t.getUTCDay()-this.weekDow+7)%7])},t.prototype.computeWeekNumber=function(t){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(t)):et(t,this.weekDow,this.weekDoy)},t.prototype.format=function(t,e,n){return void 0===n&&(n={}),e.format({marker:t,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(t)},this)},t.prototype.formatRange=function(t,e,n,i){return void 0===i&&(i={}),i.isEndExclusive&&(e=H(e,-1)),n.formatRange({marker:t,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(t)},{marker:e,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(e)},this)},t.prototype.formatIso=function(t,e){void 0===e&&(e={});var n=null;return e.omitTimeZoneOffset||(n=null!=e.forcedTzo?e.forcedTzo:this.offsetForMarker(t)),Xe(t,n,e.omitTime)},t.prototype.timestampToMarker=function(t){return"local"===this.timeZone?st(rt(ne
147w Date(t))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?st(this.namedTimeZoneImpl.timestampToArray(t)):new Date(t)},t.prototype.offsetForMarker=function(t){return"local"===this.timeZone?-ot(at(t)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(at(t)):null},t.prototype.toDate=function(t,e){return"local"===this.timeZone?ot(at(t)):"UTC"===this.timeZone?new Date(t.valueOf()):this.namedTimeZoneImpl?new Date(t.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(at(t))*60):new Date(t.valueOf()-(e||0))},t}(),dr={id:String,allDayDefault:Boolean,eventDataTransform:Function,success:Function,failure:Function},hr=0;function fr(t,e){var n=e.pluginSystem.hooks.eventSourceDefs;return!n[t.sourceDefId].ignoreRange}function pr(t,e){for(var n=e.pluginSystem.hooks.eventSourceDefs,i=n.length-1;i>=0;i--){var r=n[i],o=r.parseMeta(t);if(o){var a=mr("object"===typeof t?t:{},o,i,e);return a._raw=t,a}}return null}function mr(t,e,n,i){var r={},o=Ht(t,dr,{},r),a={},s=zn(r,i,a);return o.isFetching=!1,o.latestFetchId="",o.fetchRange=null,o.publicId=String(t.id||""),o.sourceId=String(hr++),o.sourceDefId=n,o.meta=e,o.ui=s,o.extendedProps=a,o}function gr(t,e,n,i){switch(e.type){case"ADD_EVENT_SOURCES":return _r(t,e.sources,n?n.activeRange:null,i);case"REMOVE_EVENT_SOURCE":return yr(t,e.sourceId);case"PREV":case"NEXT":case"SET_DATE":case"SET_VIEW_TYPE":return n?br(t,n.activeRange,i):t;case"FETCH_EVENT_SOURCES":case"CHANGE_TIMEZONE":return kr(t,e.sourceIds?ne(e.sourceIds):Mr(t,i),n?n.activeRange:null,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Tr(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}var vr=0;function _r(t,e,n,i){for(var r={},o=0,a=e;o<a.length;o++){var s=a[o];r[s.sourceId]=s}return n&&(r=br(r,n,i)),Gt({},t,r)}function yr(t,e){return te(t,(function(t){return t.sourceId!==e}))}function br(t,e,n){return kr(t,te(t,(function(t){return wr(t,e,n)})),e,n)}function wr(t,e,n){return fr(t,n)?!n.opt("lazyFetching")||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end:!t.latestFetchId}function kr(t,e,n,i){var r={};for(var o in t){var a=t[o];e[o]?r[o]=xr(a,n,i):r[o]=a}return r}function xr(t,e,n){var i=n.pluginSystem.hooks.eventSourceDefs[t.sourceDefId],r=String(vr++);return i.fetch({eventSource:t,calendar:n,range:e},(function(i){var o,a,s=i.rawEvents,c=n.opt("eventSourceSuccess");t.success&&(a=t.success(s,i.xhr)),c&&(o=c(s,i.xhr)),s=a||o||s,n.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:r,fetchRange:e,rawEvents:s}
147)}),(function(i){var o=n.opt("eventSourceFailure");console.warn(i.message,i),t.failure&&t.failure(i),o&&o(i),n.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:r,fetchRange:e,error:i})})),Gt({},t,{isFetching:!0,latestFetchId:r})}function Tr(t,e,n,i){var r,o=t[e];return o&&n===o.latestFetchId?Gt({},t,(r={},r[e]=Gt({},o,{isFetching:!1,fetchRange:i}),r)):t}function Mr(t,e){return te(t,(function(t){return fr(t,e)}))}var Sr=function(){function t(t,e){this.viewSpec=t,this.options=t.options,this.dateEnv=e.dateEnv,this.calendar=e,this.initHiddenDays()}return t.prototype.buildPrev=function(t,e){var n=this.dateEnv,i=n.subtract(n.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(i,-1)},t.prototype.buildNext=function(t,e){var n=this.dateEnv,i=n.add(n.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(i,1)},t.prototype.build=function(t,e,n){var i;void 0===n&&(n=!1);var r,o,a,s,c,l=null,u=null;return i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(t=xe(t,i)),r=this.buildCurrentRangeInfo(t,e),o=/^(year|month|week|day)$/.test(r.unit),a=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,o),a=this.trimHiddenDays(a),s=a,this.options.showNonCurrentDates||(s=_e(s,r.range)),l=ht(this.options.minTime),u=ht(this.options.maxTime),s=this.adjustActiveRange(s,l,u),s=_e(s,i),c=be(r.range,i),{validRange:i,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:o,activeRange:s,renderRange:a,minTime:l,maxTime:u,isValid:c,dateIncrement:this.buildDateIncrement(r.duration)}},t.prototype.buildValidRange=function(){return this.getRangeOption("validRange",this.calendar.getNow())||{start:null,end:null}},t.prototype.buildCurrentRangeInfo=function(t,e){var n,i=this,r=i.viewSpec,o=i.dateEnv,a=null,s=null,c=null;return r.duration?(a=r.duration,s=r.durationUnit,c=this.buildRangeFromDuration(t,e,a,s)):(n=this.options.dayCount)?(s="day",c=this.buildRangeFromDayCount(t,e,n)):(c=this.buildCustomVisibleRange(t))?s=o.greatestWholeUnit(c.start,c.end).unit:(a=this.getFallbackDuration(),s=Mt(a).unit,c=this.buildRangeFromDuration(t,e,a,s)),{duration:a,unit:s,range:c}},t.prototype.getFallbackDuration=function(){return ht({day:1})},t.prototype.adjustActiveRange=function(t,e,n){var i=this.dateEnv,r=t.start,o=t.end;return this.viewSpec.class.prototype.usesMinMaxTime&&(kt(e)<0&&(r=J(r),r=i.add(r,e)),kt(n)>1&&(o=J(o),o=F(o,-1),o=i.add(o,n))),{start:r,end:o}},t.prototype.buildRangeFromDuration=function(t,e,n,i){var r,o,a,s,c,l=this.dateEnv,u=this.options.dateAlignment;function d(){a=l.startOf(t,u),s=l.add(a,n),c={start:a,end:s}}return u||(r=this.options.dateIncrement,r?(o=ht(r),u=xt(o)<xt(n)?Mt(o,!mt(r)).unit:i):u=i),kt(n)<=1&&this.isHiddenDay(a)&&(a=this.skipHiddenDays(a,e),a=J(a)),d(),this.trimHiddenDays(c)||(t=this.skipHiddenDays(t,e),d()),c},t.prototype.buildRangeFromDayCount=function(t,e,n){var i,r=this.dateEnv,o=this.options.dateAlignment,a=0,s=t;o&&(s=r.startOf(s,o)),s=J(s),s=this.skipHiddenDays(s,e),i=s;do{i=F(i,1),this.isHiddenDay(i)||a++}while(a<n);return{start:s,end:i}},t.prototype.buildCustomVisibleRange=function(t){var e=this.dateEnv,n=this.getRangeOption("visibleRange",e.toDate(t));return!n||null!=n.start&&null!=n.end?n:null},t.prototype.buildRenderRange=function(t,e,n){return t},t.prototype.buildDateIncrement=function(t){var e,n=this.options.dateIncrement;return n?ht(n):(e=this.options.dateAlignment)?ht(1,e):t||ht({days:1})},t.prototype.getRangeOption=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=this.options[t];return"function"===typeof i&&(i=i.apply(null,e)),i&&(i=me(i,this.dateEnv)),i&&(i=Ut(i)),i},t.prototype.initHiddenDays=function(){var t,e=this.options.hiddenDays||[],n=[],i=0;for(!1===this.options.weekends&&e.push(0,6),t=0;t<7;t++)(n[t]=-1!==e.indexOf(t))||i++;if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},t.prototype.trimHiddenDays=function(t){var e=t.start,n=t.end;return e&&(e=this.skipHiddenDays(e)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==e||null==n||e<n?{start:e,end:n}:null},t.prototype.isHiddenDay=function(t){return t instanceof Date&&(t=t.getUTCDay()),this.isHiddenD
147ayHash[t]},t.prototype.skipHiddenDays=function(t,e,n){void 0===e&&(e=1),void 0===n&&(n=!1);while(this.isHiddenDayHash[(t.getUTCDay()+(n?e:0)+7)%7])t=F(t,e);return t},t}();function Cr(t,e){return ye(t.validRange,e.validRange)&&ye(t.activeRange,e.activeRange)&&ye(t.renderRange,e.renderRange)&>(t.minTime,e.minTime)&>(t.maxTime,e.maxTime)}function Er(t,e,n){for(var i=Lr(t.viewType,e),r=Ar(t.dateProfile,e,t.currentDate,i,n),o=gr(t.eventSources,e,r,n),a=Gt({},t,{viewType:i,dateProfile:r,currentDate:Or(t.currentDate,e,r),eventSources:o,eventStore:gn(t.eventStore,e,o,r,n),dateSelection:Pr(t.dateSelection,e,n),eventSelection:Dr(t.eventSelection,e),eventDrag:jr(t.eventDrag,e,o,n),eventResize:Ir(t.eventResize,e,o,n),eventSourceLoadingLevel:Rr(o),loadingLevel:Rr(o)}),s=0,c=n.pluginSystem.hooks.reducers;s<c.length;s++){var l=c[s];a=l(a,e,n)}return a}function Lr(t,e){switch(e.type){case"SET_VIEW_TYPE":return e.viewType;default:return t}}function Ar(t,e,n,i,r){var o;switch(e.type){case"PREV":o=r.dateProfileGenerators[i].buildPrev(t,n);break;case"NEXT":o=r.dateProfileGenerators[i].buildNext(t,n);break;case"SET_DATE":t.activeRange&&ke(t.currentRange,e.dateMarker)||(o=r.dateProfileGenerators[i].build(e.dateMarker,void 0,!0));break;case"SET_VIEW_TYPE":var a=r.dateProfileGenerators[i];if(!a)throw new Error(i?'The FullCalendar view "'+i+'" does not exist. Make sure your plugins are loaded correctly.':"No available FullCalendar view plugins.");o=a.build(e.dateMarker||n,void 0,!0);break}return!o||!o.isValid||t&&Cr(t,o)?t:o}function Or(t,e,n){switch(e.type){case"PREV":case"NEXT":return ke(n.currentRange,t)?t:n.currentRange.start;case"SET_DATE":case"SET_VIEW_TYPE":var i=e.dateMarker||t;return n.activeRange&&!ke(n.activeRange,i)?n.currentRange.start:i;default:return t}}function Pr(t,e,n){switch(e.type){case"SELECT_DATES":return e.selection;case"UNSELECT_DATES":return null;default:return t}}function Dr(t,e){switch(e.type){case"SELECT_EVENT":return e.eventInstanceId;case"UNSELECT_EVENT":return"";default:return t}}function jr(t,e,n,i){switch(e.type){case"SET_EVENT_DRAG":var r=e.state;return{affectedEvents:r.affectedEvents,mutatedEvents:r.mutatedEvents,isEvent:r.isEvent,origSeg:r.origSeg};case"UNSET_EVENT_DRAG":return null;default:return t}}function Ir(t,e,n,i){switch(e.type){case"SET_EVENT_RESIZE":var r=e.state;return{affectedEvents:r.affectedEvents,mutatedEvents:r.mutatedEvents,isEvent:r.isEvent,origSeg:r.origSeg};case"UNSET_EVENT_RESIZE":return null;default:return t}}function Rr(t){var e=0;for(var n in t)t[n].isFetching&&e++;return e}var Nr={start:null,end:null,allDay:Boolean};function Yr(t,e,n){var i=zr(t,e),r=i.range;if(!r.start)return null;if(!r.end){if(null==n)return null;r.end=e.add(r.start,n)}return i}function zr(t,e){var n={},i=Ht(t,Nr,{},n),r=i.start?e.createMarkerMeta(i.start):null,o=i.end?e.createMarkerMeta(i.end):null,a=i.allDay;return null==a&&(a=r&&r.isTimeUnspecified&&(!o||o.isTimeUnspecified)),n.range={start:r?r.marker:null,end:o?o.marker:null},n.allDay=a,n}function Br(t,e){return{start:e.toDate(t.range.start),end:e.toDate(t.range.end),startStr:e.formatIso(t.range.start,{omitTime:t.allDay}),endStr:e.formatIso(t.range.end,{omitTime:t.allDay}),allDay:t.allDay}}function Fr(t,e){return{date:e.toDate(t.range.start),dateStr:e.formatIso(t.range.start,{omitTime:t.allDay}),allDay:t.allDay}}function Hr(t,e,n){var i=qn({editable:!1},"",t.allDay,!0,n);return{def:i,ui:sn(i,e),instance:Gn(i.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Vr(t,e){var n,i={};for(n in t)Ur(n,i,t,e);for(n in e)Ur(n,i,t,e);return i}function Ur(t,e,n,i){if(e[t])return e[t];var r=Wr(t,e,n,i);return r&&(e[t]=r),r}function Wr(t,e,n,i){var r=n[t],o=i[t],a=function(t){return r&&null!==r[t]?r[t]:o&&null!==o[t]?o[t]:null},s=a("class"),c=a("superType");!c&&s&&(c=$r(s,i)||$r(s,n));var l=null;if(c){if(c===t)throw new Error("Can't have a custom view type that references itself");l=Ur(c,e,n,i)}return!s&&l&&(s=l.class),s?{type:t,class:s,defaults:Gt({},l?l.defaults:{},r?r.options:{}),overrides:Gt({},l?l.overrides:{},o?o.options:{})}:null}function $r(t,e){var n=Object.getPrototypeOf(t.prototype);for(var i in e){var r=e[i];if(r.class&&r.class.prototype===n)return i}return""}function Xr(t){return ee(t,Gr)}var qr={type:String,class:null};function Gr(t){"function"===typeof t&&(t={class:t});var e={},n=Ht(t,qr,{},e);return{superType:n.type,class:n.class,options:e}}function Zr(t,e){var n=Xr(t),i=Xr(e.overrides.views),r=Vr(n,i);return ee(r,(function(t){return Jr(t,i,e)}))}function Jr(t,e,n){var i=t.overrides.duration||t.defaults.duration||n.dynamicOverrides.duration||n.overrides.duration,r=null,o="",a="",s={};
147if(i&&(r=ht(i),r)){var c=Mt(r,!mt(i));o=c.unit,1===c.value&&(a=o,s=e[o]?e[o].options:{})}var l=function(e){var n=e.buttonText||{},i=t.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[t.type]?n[t.type]:null!=n[a]?n[a]:void 0};return{type:t.type,class:t.class,duration:r,durationUnit:o,singleUnit:a,options:Gt({},Wi,t.defaults,n.dirDefaults,n.localeDefaults,n.overrides,s,t.overrides,n.dynamicOverrides),buttonTextOverride:l(n.dynamicOverrides)||l(n.overrides)||t.overrides.buttonText,buttonTextDefault:l(n.localeDefaults)||l(n.dirDefaults)||t.defaults.buttonText||l(Wi)||t.type}}var Kr=function(t){function e(e){var n=t.call(this)||this;return n._renderLayout=ii(n.renderLayout,n.unrenderLayout),n._updateTitle=ii(n.updateTitle,null,[n._renderLayout]),n._updateActiveButton=ii(n.updateActiveButton,null,[n._renderLayout]),n._updateToday=ii(n.updateToday,null,[n._renderLayout]),n._updatePrev=ii(n.updatePrev,null,[n._renderLayout]),n._updateNext=ii(n.updateNext,null,[n._renderLayout]),n.el=o("div",{className:"fc-toolbar "+e}),n}return qt(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this._renderLayout.unrender(),p(this.el)},e.prototype.render=function(t){this._renderLayout(t.layout),this._updateTitle(t.title),this._updateActiveButton(t.activeButton),this._updateToday(t.isTodayEnabled),this._updatePrev(t.isPrevEnabled),this._updateNext(t.isNextEnabled)},e.prototype.renderLayout=function(t){var e=this.el;this.viewsWithButtons=[],u(e,this.renderSection("left",t.left)),u(e,this.renderSection("center",t.center)),u(e,this.renderSection("right",t.right))},e.prototype.unrenderLayout=function(){this.el.innerHTML=""},e.prototype.renderSection=function(t,e){var n=this,i=this.context,r=i.theme,s=i.calendar,c=s.optionsManager,l=s.viewSpecs,d=o("div",{className:"fc-"+t}),h=c.computed.customButtons||{},f=c.overrides.buttonText||{},p=c.computed.buttonText||{};return e&&e.split(" ").forEach((function(t,e){var i,o=[],c=!0;if(t.split(",").forEach((function(t,e){var i,u,d,m,g,v,_,y,b;"title"===t?(o.push(a("<h2> </h2>")),c=!1):((i=h[t])?(d=function(t){i.click&&i.click.call(y,t)},(m=r.getCustomButtonIconClass(i))||(m=r.getIconClass(t))||(g=i.text)):(u=l[t])?(n.viewsWithButtons.push(t),d=function(){s.changeView(t)},(g=u.buttonTextOverride)||(m=r.getIconClass(t))||(g=u.buttonTextDefault)):s[t]&&(d=function(){s[t]()},(g=f[t])||(m=r.getIconClass(t))||(g=p[t])),d&&(_=["fc-"+t+"-button",r.getClass("button")],g?(v=jn(g),b=""):m&&(v="<span class='"+m+"'></span>",b=' aria-label="'+t+'"'),y=a('<button type="button" class="'+_.join(" ")+'"'+b+">"+v+"</button>"),y.addEventListener("click",d),o.push(y)))})),o.length>1){i=document.createElement("div");var m=r.getClass("buttonGroup");c&&m&&i.classList.add(m),u(i,o),d.appendChild(i)}else u(d,o)})),d},e.prototype.updateToday=function(t){this.toggleButtonEnabled("today",t)},e.prototype.updatePrev=function(t){this.toggleButtonEnabled("prev",t)},e.prototype.updateNext=function(t){this.toggleButtonEnabled("next",t)},e.prototype.updateTitle=function(t){y(this.el,"h2").forEach((function(e){e.innerText=t}))},e.prototype.updateActiveButton=function(t){var e=this.context.theme,n=e.getClass("buttonActive");y(this.el,"button").forEach((function(e){t&&e.classList.contains("fc-"+t+"-button")?e.classList.add(n):e.classList.remove(n)}))},e.prototype.toggleButtonEnabled=function(t,e){y(this.el,".fc-"+t+"-button").forEach((function(t){t.disabled=!e}))},e}(ki),Qr=function(t){function e(e){var n=t.call(this)||this;return n.elClassNames=[],n.renderSkeleton=ii(n._renderSkeleton,n._unrenderSkeleton),n.renderToolbars=ii(n._renderToolbars,n._unrenderToolbars,[n.renderSkeleton]),n.buildComponentContext=Me(no),n.buildViewPropTransformers=Me(io),n.el=e,n.computeTitle=Me(to),n.parseBusinessHours=Me((function(t){return ei(t,n.context.calendar)})),n}return qt(e,t),e.prototype.render=function(t,e){this.freezeHeight();var n=this.computeTitle(t.dateProfile,t.viewSpec.options);this.renderSkeleton(e),this.renderToolbars(t.viewSpec,t.dateProfile,t.currentDate,n),this.renderView(t,n),this.updateSize(),this.thawHeight()},e.prototype.destroy=function(){this.header&&this.header.destroy(),this.footer&&this.footer.destroy(),this.renderSkeleton.unrender(),t.prototype.destroy.call(this)},e.prototype._renderSkeleton=function(t){this.updateElClassNames(t),d(this.el,this.contentEl=o("div",{className:"fc-view-container"}));for(var e=t.calendar,n=0,i=e.pluginSystem.hooks.viewContainerModifiers;n<i.length;n++){var r=i[n];r(this.contentEl,e)}},e.prototype._unrenderSkeleton=function(){this.view&&(this.savedScroll=this.view.queryScroll(),this.view.destroy(),this.view=null),p(this.contentEl),this.removeElClassNames()},e.prototype.removeElClassNames=function(){for(var t=this.el.classList,e=0,n=this.elClassNames;e<n.length;e++){var i=n[e];t.remove(i)}this.elClassNames=[]},e.prototype.updateElClassNames=function(t){this.removeElClassNames();var e=t.theme,n=t.options;this.elClassNames=["fc","fc-"+n.dir,e.getClass("widget")];for(var i=this.el.classList,r=0,o=this.elClassNames;r<o.length;r++){var a=o[r];i.add(a)}},e.prototype._renderToolbars=function(t,e,n,i){var r=this,o=r.context,a=r.header,s=r.footer,c=o.options,l=o.calendar,h=c.header,f=c.footer,p=this.props.dateProfileGenerator,m=l.getNow(),g=p.build(m),v=p.buildPrev(e,n),_=p.buildNext(e,n),y={title:i,activeButton:t.type,isTodayEnabled:g.isValid&&!ke(e.currentRange,m),isPrevEnabled:v.isValid,isNextEnabled:_.isValid};h?(a||(a=this.header=new Kr("fc-header-toolbar"),d(this.el,a.el)),a.receiveProps(Gt({layout:h},y),o)):a&&(a.destroy(),a=this.header=null),f?(s||(s=this.footer=new Kr("fc-footer-toolbar"),u(this.el,s.el)),s.receiveProps(Gt({layout:f},y),o)):s&&(s.destroy(),s=this.footer=null)},e.prototype._unrenderToolbars=function(){this.header&&(this.header.destroy(),this.header=null),this.footer&&(this.footer.destroy(),this.footer=null)},e.prototype.renderView=function(t,e){var n=this.view,i=this.context,r=i.calendar,o=i.options,a=t.viewSpec,s=t.dateProfileGenerator;n&&n.viewSpec===a||(n&&n.destroy(),n=this.view=new a["class"](a,this.contentEl),this.savedScroll&&(n.addScroll(this.savedScroll,!0),this.savedScroll=null)),n.title=e;for(var c={dateProfileGenerator:s,dateProfile:t.dateProfile,businessHours:this.parseBusinessHours(a.options.businessHours),eventStore:t.eventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize},l=this.buildViewPropTransformers(r.pluginSystem.hooks.viewPropsTransformers),u=0,d=l;u<d.length;u++){var h=d[u];Gt(c,h.transform(c,a,t,o))}n.receiveProps(c,this.buildComponentContext(this.context,a,n))},e.prototype.updateSize=function(t){void 0===t&&(t=!1);var e=this.view;e&&((t||null==this.isHeightAuto)&&this.computeHeightVars(),e.updateSize(t,this.viewHeight,this.isHeightAuto),e.updateNowIndicator(),e.popScroll(t))},e.prototype.computeHeightVars=function(){var t=this.context.calendar,e=t.opt("height"),n=t.opt("contentHeight");if(this.isHeightAuto="auto"===e||"auto"===n,"number"===typeof n)this.viewHeight=n;else if("function"===typeof n)this.viewHeight=n();else if("number"===typeof e)this.viewHeight=e-this.queryToolbarsHeight();else if("function"===typeof e)this.viewHeight=e()-this.queryToolbarsHeight();else if("parent"===e){var i=this.el.parentNode;this.viewHeight=i.getBoundingClientRect().height-this.queryToolbarsHeight()}else this.viewHeight=Math.round(this.contentEl.getBoundingClientRect().width/Math.max(t.opt("aspectRatio"),.5))},e.prototype.queryToolbarsHeight=function(){var t=0;return this.header&&(t+=D(this.header.el)),this.footer&&(t+=D(this.footer.el)),t},e.prototype.freezeHeight=function(){k(this.el,{height:this.el.getBoundingClientRect().height,overflow:"hidden"})},e.prototype.thawHeight=function(){k(this.el,{height:"",overflow:""})},e}(ki);function to(t,e){var n;return n=/^(year|month)$/.test(t.currentRangeUnit)?t.currentRange:t.activeRange,this.context.dateEnv.formatRange(n.start,n.end,$e(e.titleFormat||eo(t),e.titleRangeSeparator),{isEndExclusive:t.isRangeAllDay})}function eo(t){var e=t.currentRangeUnit;if("year"===e)return{year:"numeric"};
147if("month"===e)return{year:"numeric",month:"long"};var n=Z(t.currentRange.start,t.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}function no(t,e,n){return t.extend(e.options,n)}function io(t){return t.map((function(t){return new t}))}var ro=function(){function t(t){this.component=t.component}return t.prototype.destroy=function(){},t}();function oo(t,e){return{component:t,el:e.el,useEventCenter:null==e.useEventCenter||e.useEventCenter}}var ao={},so=function(t){function e(e){var n=t.call(this,e)||this;n.handleSegClick=function(t,e){var i=n.component,r=i.context,o=r.calendar,a=r.view,s=on(e);if(s&&i.isValidSegDownEl(t.target)){var c=v(t.target,".fc-has-url"),l=c?c.querySelector("a[href]").href:"";o.publiclyTrigger("eventClick",[{el:e,event:new Qe(i.context.calendar,s.eventRange.def,s.eventRange.instance),jsEvent:t,view:a}]),l&&!t.defaultPrevented&&(window.location.href=l)}};var i=e.component;return n.destroy=N(i.el,"click",i.fgSegSelector+","+i.bgSegSelector,n.handleSegClick),n}return qt(e,t),e}(ro),co=function(t){function e(e){var n=t.call(this,e)||this;n.handleEventElRemove=function(t){t===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(t,e){on(e)&&(e.classList.add("fc-allow-mouse-resize"),n.currentSegEl=e,n.triggerEvent("eventMouseEnter",t,e))},n.handleSegLeave=function(t,e){n.currentSegEl&&(e.classList.remove("fc-allow-mouse-resize"),n.currentSegEl=null,n.triggerEvent("eventMouseLeave",t,e))};var i=e.component;return n.removeHoverListeners=Y(i.el,i.fgSegSelector+","+i.bgSegSelector,n.handleSegEnter,n.handleSegLeave),i.context.calendar.on("eventElRemove",n.handleEventElRemove),n}return qt(e,t),e.prototype.destroy=function(){this.removeHoverListeners(),this.component.context.calendar.off("eventElRemove",this.handleEventElRemove)},e.prototype.triggerEvent=function(t,e,n){var i=this.component,r=i.context,o=r.calendar,a=r.view,s=on(n);e&&!i.isValidSegDownEl(e.target)||o.publiclyTrigger(t,[{el:n,event:new Qe(o,s.eventRange.def,s.eventRange.instance),jsEvent:e,view:a}])},e}(ro),lo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return qt(e,t),e}(yi);lo.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},lo.prototype.baseIconClass="fc-icon",lo.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},lo.prototype.iconOverrideOption="buttonIcons",lo.prototype.iconOverrideCustomButtonOption="icon",lo.prototype.iconOverridePrefix="fc-icon-";var uo=function(){function t(t,e){var n=this;this.buildComponentContext=Me(ho),this.parseRawLocales=Me(Ki),this.buildLocale=Me(Qi),this.buildDateEnv=Me(fo),this.buildTheme=Me(po),this.buildEventUiSingleBase=Me(this._buildEventUiSingleBase),this.buildSelectionConfig=Me(this._buildSelectionConfig),this.buildEventUiBySource=Se(go,re),this.buildEventUiBases=Me(vo),this.interactionsStore={},this.actionQueue=[],this.isReducing=!1,this.needsRerender=!1,this.isRendering=!1,this.renderingPauseDepth=0,this.buildDelayedRerender=Me(mo),this.afterSizingTriggers={},this.isViewUpdated=!1,this.isDatesUpdated=!1,this.isEventsUpdated=!1,this.el=t,this.optionsManager=new ir(e||{}),this.pluginSystem=new Ci,this.addPluginInputs(this.optionsManager.computed.plugins||[]),this.handleOptions(this.optionsManager.computed),this.publiclyTrigger("_init"),this.hydrate(),this.calendarInteractions=this.pluginSystem.hooks.calendarInteractions.map((function(t){return new t(n)}))}return t.prototype.addPluginInputs=function(t){for(var e=Zi(t),n=0,i=e;n<i.length;n++){var r=i[n];this.pluginSystem.add(r)}},Object.defineProperty(t.prototype,"view",{get:function(){return this.component?this.component.view:null},enumerable:!0,configurable:!0}),t.prototype.render=function(){this.component?this.requestRerender():(this.component=new Qr(this.el),this.renderableEventStore=he(),this.bindHandlers(),this.executeRen
147der())},t.prototype.destroy=function(){if(this.component){this.unbindHandlers(),this.component.destroy(),this.component=null;for(var t=0,e=this.calendarInteractions;t<e.length;t++){var n=e[t];n.destroy()}this.publiclyTrigger("_destroyed")}},t.prototype.bindHandlers=function(){var t=this;this.removeNavLinkListener=N(this.el,"click","a[data-goto]",(function(e,n){var i=n.getAttribute("data-goto");i=i?JSON.parse(i):{};var r=t.dateEnv,o=r.createMarker(i.date),a=i.type,s=t.viewOpt("navLink"+Rt(a)+"Click");"function"===typeof s?s(r.toDate(o),e):("string"===typeof s&&(a=s),t.zoomTo(o,a))})),this.opt("handleWindowResize")&&window.addEventListener("resize",this.windowResizeProxy=Ft(this.windowResize.bind(this),this.opt("windowResizeDelay")))},t.prototype.unbindHandlers=function(){this.removeNavLinkListener(),this.windowResizeProxy&&(window.removeEventListener("resize",this.windowResizeProxy),this.windowResizeProxy=null)},t.prototype.hydrate=function(){var t=this;this.state=this.buildInitialState();var e=this.opt("eventSources")||[],n=this.opt("events"),i=[];n&&e.unshift(n);for(var r=0,o=e;r<o.length;r++){var a=o[r],s=pr(a,this);s&&i.push(s)}this.batchRendering((function(){t.dispatch({type:"INIT"}),t.dispatch({type:"ADD_EVENT_SOURCES",sources:i}),t.dispatch({type:"SET_VIEW_TYPE",viewType:t.opt("defaultView")||t.pluginSystem.hooks.defaultView})}))},t.prototype.buildInitialState=function(){return{viewType:null,loadingLevel:0,eventSourceLoadingLevel:0,currentDate:this.getInitialDate(),dateProfile:null,eventSources:{},eventStore:he(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null}},t.prototype.dispatch=function(t){if(this.actionQueue.push(t),!this.isReducing){this.isReducing=!0;var e=this.state;while(this.actionQueue.length)this.state=this.reduce(this.state,this.actionQueue.shift(),this);var n=this.state;this.isReducing=!1,!e.loadingLevel&&n.loadingLevel?this.publiclyTrigger("loading",[!0]):e.loadingLevel&&!n.loadingLevel&&this.publiclyTrigger("loading",[!1]);var i=this.component&&this.component.view;e.eventStore!==n.eventStore&&e.eventStore&&(this.isEventsUpdated=!0),e.dateProfile!==n.dateProfile&&(e.dateProfile&&i&&this.publiclyTrigger("datesDestroy",[{view:i,el:i.el}]),this.isDatesUpdated=!0),e.viewType!==n.viewType&&(e.viewType&&i&&this.publiclyTrigger("viewSkeletonDestroy",[{view:i,el:i.el}]),this.isViewUpdated=!0),this.requestRerender()}},t.prototype.reduce=function(t,e,n){return Er(t,e,n)},t.prototype.requestRerender=function(){this.needsRerender=!0,this.delayedRerender()},t.prototype.tryRerender=function(){this.component&&this.needsRerender&&!this.renderingPauseDepth&&!this.isRendering&&this.executeRender()},t.prototype.batchRendering=function(t){this.renderingPauseDepth++,t(),this.renderingPauseDepth--,this.needsRerender&&this.requestRerender()},t.prototype.executeRender=function(){this.needsRerender=!1,this.isRendering=!0,this.renderComponent(),this.isRendering=!1,this.needsRerender&&this.delayedRerender()},t.prototype.renderComponent=function(){var t=this,e=t.state,n=t.component,i=e.viewType,r=this.viewSpecs[i];if(!r)throw new Error('View type "'+i+'" is not valid');var o=this.renderableEventStore=e.eventSourceLoadingLevel&&!this.opt("progressiveEventRendering")?this.renderableEventStore:e.eventStore,a=this.buildEventUiSingleBase(r.options),s=this.buildEventUiBySource(e.eventSources),c=this.eventUiBases=this.buildEventUiBases(o.defs,a,s);n.receiveProps(Gt({},e,{viewSpec:r,dateProfileGenerator:this.dateProfileGenerators[i],dateProfile:e.dateProfile,eventStore:o,eventUiBases:c,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize}),this.buildComponentContext(this.theme,this.dateEnv,this.optionsManager.computed)),this.isViewUpdated&&(this.isViewUpdated=!1,this.publiclyTrigger("viewSkeletonRender",[{view:n.view,el:n.view.el}])),this.isDatesUpdated&&(this.isDatesUpdated=!1,this.publiclyTrigger("datesRender",[{view:n.view,el:n.view.el}])),this.isEventsUpdated&&(this.isEventsUpdated=!1),this.releaseAfterSizingTriggers()},t.prototype.setOption=function(t,e){var n;this.mutateOptions((n={}
147,n[t]=e,n),[],!0)},t.prototype.getOption=function(t){return this.optionsManager.computed[t]},t.prototype.opt=function(t){return this.optionsManager.computed[t]},t.prototype.viewOpt=function(t){return this.viewOpts()[t]},t.prototype.viewOpts=function(){return this.viewSpecs[this.state.viewType].options},t.prototype.mutateOptions=function(t,e,n,i){var r=this,o=this.pluginSystem.hooks.optionChangeHandlers,a={},s={},c=this.dateEnv,l=!1,u=!1,d=Boolean(e.length);for(var h in t)o[h]?s[h]=t[h]:a[h]=t[h];for(var f in a)/^(height|contentHeight|aspectRatio)$/.test(f)?u=!0:/^(defaultDate|defaultView)$/.test(f)||(d=!0,"timeZone"===f&&(l=!0));this.optionsManager.mutate(a,e,n),d&&this.handleOptions(this.optionsManager.computed),this.batchRendering((function(){if(d?(l&&r.dispatch({type:"CHANGE_TIMEZONE",oldDateEnv:c}),r.dispatch({type:"SET_VIEW_TYPE",viewType:r.state.viewType})):u&&r.updateSize(),i)for(var t in s)o[t](s[t],r,i)}))},t.prototype.handleOptions=function(t){var e=this,n=this.pluginSystem.hooks;this.defaultAllDayEventDuration=ht(t.defaultAllDayEventDuration),this.defaultTimedEventDuration=ht(t.defaultTimedEventDuration),this.delayedRerender=this.buildDelayedRerender(t.rerenderDelay),this.theme=this.buildTheme(t);var i=this.parseRawLocales(t.locales);this.availableRawLocales=i.map;var r=this.buildLocale(t.locale||i.defaultCode,i.map);this.dateEnv=this.buildDateEnv(r,t.timeZone,n.namedTimeZonedImpl,t.firstDay,t.weekNumberCalculation,t.weekLabel,n.cmdFormatter),this.selectionConfig=this.buildSelectionConfig(t),this.viewSpecs=Zr(n.views,this.optionsManager),this.dateProfileGenerators=ee(this.viewSpecs,(function(t){return new t.class.prototype.dateProfileGeneratorClass(t,e)}))},t.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.availableRawLocales)},t.prototype._buildSelectionConfig=function(t){return Bn("select",t,this)},t.prototype._buildEventUiSingleBase=function(t){return t.editable&&(t=Gt({},t,{eventEditable:!0})),Bn("event",t,this)},t.prototype.hasPublicHandlers=function(t){return this.hasHandlers(t)||this.opt(t)},t.prototype.publiclyTrigger=function(t,e){var n=this.opt(t);if(this.triggerWith(t,this,e),n)return n.apply(this,e)},t.prototype.publiclyTriggerAfterSizing=function(t,e){var n=this.afterSizingTriggers;(n[t]||(n[t]=[])).push(e)},t.prototype.releaseAfterSizingTriggers=function(){var t=this.afterSizingTriggers;for(var e in t)for(var n=0,i=t[e];n<i.length;n++){var r=i[n];this.publiclyTrigger(e,r)}this.afterSizingTriggers={}},t.prototype.isValidViewType=function(t){return Boolean(this.viewSpecs[t])},t.prototype.changeView=function(t,e){var n=null;e&&(e.start&&e.end?(this.optionsManager.mutate({visibleRange:e},[]),this.handleOptions(this.optionsManager.computed)):n=this.dateEnv.createMarker(e)),this.unselect(),this.dispatch({type:"SET_VIEW_TYPE",viewType:t,dateMarker:n})},t.prototype.zoomTo=function(t,e){var n;e=e||"day",n=this.viewSpecs[e]||this.getUnitViewSpec(e),this.unselect(),n?this.dispatch({type:"SET_VIEW_TYPE",viewType:n.type,dateMarker:t}):this.dispatch({type:"SET_DATE",dateMarker:t})},t.prototype.getUnitViewSpec=function(t){var e,n,i=this.component,r=[];for(var o in i.header&&r.push.apply(r,i.header.viewsWithButtons),i.footer&&r.push.apply(r,i.footer.viewsWithButtons),this.viewSpecs)r.push(o);for(e=0;e<r.length;e++)if(n=this.viewSpecs[r[e]],n&&n.singleUnit===t)return n},t.prototype.getInitialDate=function(){var t=this.opt("defaultDate");return null!=t?this.dateEnv.createMarker(t):this.getNow()},t.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},t.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},t.prototype.prevYear=function(){this.unselect(),this.dispatch({type:"SET_DATE",dateMarker:this.dateEnv.addYears(this.state.currentDate,-1)})},t.prototype.nextYear=function(){this.unselect(),this.dispatch({type:"SET_DATE",dateMarker:this.dateEnv.addYears(this.state.currentDate,1)})},t.prototype.today=function(){this.unselect(),this.dispatch({type:"SET_DATE",dateMarker:this.getNow()})},t.prototype.gotoDate=function(t){this.unselect(),this.dispatch({type:"SET_DATE",dateMarker:this.dateEnv.createMarker(t)})},t.prototype.incrementDate=function(t){var e=ht(t);e&&(this.unselect(),this.dispatch({type:"SET_DATE",dateMarker:this.dateEnv.add(this.state.currentDate,e)}))},t.prototype.getDate=function(){return this.dateEnv.toDate(this.state.currentDate)},t.prototype.formatDate=function(t,e){var n=this.dateEnv;return n.format(n.createMarker(t),$e(e))},t.prototype.formatRange=function(t,e,n){var i=this.dateEnv;return i.formatRange(i.createMarker(t),i.createMarker(e),$e(n,this.opt("defaultRangeSeparator")),n)},t.prototype.formatIso=function(t,e){var n=this.dateEnv;return n.formatIso(n.createMarker(t),{omitTime:e})},t.prototype.windowResize=function(t){!this.isHandlingWindowResize&&this.component&&t.target===window&&(this.isHandlingWindowResize=!0,this.updateSize(),this.publiclyTrigger("windowResize",[this.view]),this.isHandlingWindowResize=!1)},t.prototype.updateSize=function(){this.component&&this.component.updateSize(!0)},t.prototype.registerInteractiveComponent=function(t,e){var n=oo(t,e),i=[so,co],r=i.concat(this.pluginSystem.hooks.componentInteractions),o=r.map((function(t){return new t(n)}));this.interactionsStore[t.uid]=o,ao[t.uid]=n},t.prototype.unregisterInteractiveComponent=function(t){for(var e=0,n=this.interactionsStore[t.uid];e<n.length;e++){var i=n[e];i.destroy()}delete this.interactionsStore[t.uid],delete ao[t.uid]},t.prototype.select=function(t,e){var n;n=null==e?null!=t.start?t:{start:t,end:null}:{start:t,end:e};var i=Yr(n,this.dateEnv,ht({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),this.triggerDateSelect(i))},t.prototype.unselect=function(t){this.state.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),this.triggerDateUnselect(t))},t.prototype.triggerDateSelect=function(t,e){var n=Gt({},this.buildDateSpanApi(t),{jsEvent:e?e.origEvent:null,view:this.view});this.publiclyTrigger("select",[n])},t.prototype.triggerDateUnselect=function(t){this.publiclyTrigger("unselect",[{jsEvent:t?t.origEvent:null,view:this.view}])},t.prototype.triggerDateClick=function(t,e,n,i){var r=Gt({},this.buildDatePointApi(t),{dayEl:e,jsEvent:i,view:n});this.publiclyTrigger("dateClick",[r])},t.prototype.buildDatePointApi=function(t){for(var e={},n=0,i=this.pluginSystem.hooks.datePointTransforms;n<i.length;n++){var r=i[n];Gt(e,r(t,this))}return Gt(e,Fr(t,this.dateEnv)),e},t.prototype.buildDateSpanApi=function(t){for(var e={},n=0,i=this.pluginSystem.hooks.dateSpanTransforms;n<i.length;n++){var r=i[n];Gt(e,r(t,this))}return Gt(e,Br(t,this.dateEnv)),e},t.prototype.getNow=function(){var t=this.opt("now");return"function"===typeof t&&(t=t()),null==t?this.dateEnv.createNowMarker():this.dateEnv.createMarker(t)},t.prototype.getDefaultEventEnd=function(t,e){var n=e;return t?(n=J(n),n=this.dateEnv.add(n,this.defaultAllDayEventDuration)):n=this.dateEnv.add(n,this.defaultTimedEventDuration),n},t.prototype.addEvent=function(t,e){if(t instanceof Qe){var n=t._def,i=t._instance;return this.state.eventStore.defs[n.defId]||this.dispatch({type:"ADD_EVENTS",eventStore:ae({def:n,instance:i})}),t}var r;if(e instanceof Ke)r=e.internalEventSource.sourceId;else if(null!=e){var o=this.getEventSourceById(e);if(!o)return console.warn('Could not find an event source with ID "'+e+'"'),null;r=o.internalEventSource.sourceId}var a=Xn(t,r,this);return a?(this.dispatch({type:"ADD_EVENTS",eventStore:ae(a)}),new Qe(this,a.def,a.def.recurringDef?null:a.instance)):null},t.prototype.getEventById=function(t){var e=this.state.eventStore,
147n=e.defs,i=e.instances;for(var r in t=String(t),n){var o=n[r];if(o.publicId===t){if(o.recurringDef)return new Qe(this,o,null);for(var a in i){var s=i[a];if(s.defId===o.defId)return new Qe(this,o,s)}}}return null},t.prototype.getEvents=function(){var t=this.state.eventStore,e=t.defs,n=t.instances,i=[];for(var r in n){var o=n[r],a=e[o.defId];i.push(new Qe(this,a,o))}return i},t.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},t.prototype.rerenderEvents=function(){this.dispatch({type:"RESET_EVENTS"})},t.prototype.getEventSources=function(){var t=this.state.eventSources,e=[];for(var n in t)e.push(new Ke(this,t[n]));return e},t.prototype.getEventSourceById=function(t){var e=this.state.eventSources;for(var n in t=String(t),e)if(e[n].publicId===t)return new Ke(this,e[n]);return null},t.prototype.addEventSource=function(t){if(t instanceof Ke)return this.state.eventSources[t.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t.internalEventSource]}),t;var e=pr(t,this);return e?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e]}),new Ke(this,e)):null},t.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},t.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES"})},t.prototype.scrollToTime=function(t){var e=ht(t);e&&this.component.view.scrollToDuration(e)},t}();function ho(t,e,n){return new wi(this,t,e,n,null)}function fo(t,e,n,i,r,o,a){return new ur({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:n,locale:t,weekNumberCalculation:r,firstDay:i,weekLabel:o,cmdFormatter:a})}function po(t){var e=this.pluginSystem.hooks.themeClasses[t.themeSystem]||lo;return new e(t)}function mo(t){var e=this.tryRerender.bind(this);return null!=t&&(e=Ft(e,t)),e}function go(t){return ee(t,(function(t){return t.ui}))}function vo(t,e,n){var i={"":e};for(var r in t){var o=t[r];o.sourceId&&n[o.sourceId]&&(i[r]=n[o.sourceId])}return i}hi.mixInto(uo);var _o=function(t){function e(e,n){var i=t.call(this,o("div",{className:"fc-view fc-"+e.type+"-view"}))||this;return i.renderDatesMem=ii(i.renderDatesWrap,i.unrenderDatesWrap),i.renderBusinessHoursMem=ii(i.renderBusinessHours,i.unrenderBusinessHours,[i.renderDatesMem]),i.renderDateSelectionMem=ii(i.renderDateSelectionWrap,i.unrenderDateSelectionWrap,[i.renderDatesMem]),i.renderEventsMem=ii(i.renderEvents,i.unrenderEvents,[i.renderDatesMem]),i.renderEventSelectionMem=ii(i.renderEventSelectionWrap,i.unrenderEventSelectionWrap,[i.renderEventsMem]),i.renderEventDragMem=ii(i.renderEventDragWrap,i.unrenderEventDragWrap,[i.renderDatesMem]),i.renderEventResizeMem=ii(i.renderEventResizeWrap,i.unrenderEventResizeWrap,[i.renderDatesMem]),i.viewSpec=e,i.type=e.type,n.appendChild(i.el),i.initialize(),i}return qt(e,t),e.prototype.initialize=function(){},Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.context.dateEnv.toDate(this.props.dateProfile.activeRange.start)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.context.dateEnv.toDate(this.props.dateProfile.activeRange.end)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.context.dateEnv.toDate(this.props.dateProfile.currentRange.start)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.context.dateEnv.toDate(this.props.dateProfile.currentRange.end)},enumerable:!0,configurable:!0}),e.prototype.render=function(t,e){this.renderDatesMem(t.dateProfile),this.renderBusinessHoursMem(t.businessHours),this.renderDateSelectionMem(t.dateSelection),this.renderEventsMem(t.eventStore),this.renderEventSelectionMem(t.eventSelection),this.renderEventDragMem(t.eventDrag),this.renderEventResizeMem(t.eventResize)},e.prototype.beforeUpdate=function(){this.addScroll(this.queryScroll())},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderDatesMem.unrender()},e.prototype.updateSize=function(t,e,n){var i=this.context.calendar;t&&this.addScroll(this.queryScroll()),(t||i.isViewUpdated||i.isDatesUpdated||i.isEventsUpdated)&&this.updateBaseSize(t,e,n)},e.prototype.updateBaseSize=function(t,e,n){},e.prototype.renderDatesWrap=function(t){this.renderDates(t),this.addScroll({duration:ht(this.context.options.scrollTime)})},e.prototype.unrenderDatesWrap=function(){this.stopNowIndicator(),this.unrenderDates()},e.prototype.renderDates=function(t){},e.prototype.unrenderDates=function(){},e.prototype.renderBusinessHours=function(t){},e.prototype.unrenderBusinessHours=function(){},e.prototype.renderDateSelectionWrap=function(t){t&&this.renderDateSelection(t)},e.prototype.unrenderDateSelectionWrap=function(t){t&&this.unrenderDateSelection(t)},e.prototype.renderDateSelection=function(t){},e.prototype.unrenderDateSelection=function(t){},e.prototype.renderEvents=function(t){},e.prototype.unrenderEvents=function(){},e.prototype.sliceEvents=function(t,e){var n=this.props;return tn(t,n.eventUiBases,n.dateProfile.activeRange,e?this.context.nextDayThreshold:null).fg},e.prototype.renderEventSelectionWrap=function(t){t&&this.renderEventSelection(t)},e.prototype.unrenderEventSelectionWrap=function(t){t&&this.unrenderEventSelection(t)},e.prototype.renderEventSelection=function(t){},e.prototype.unrenderEventSelection=function(t){},e.prototype.renderEventDragWrap=function(t){t&&this.renderEventDrag(t)},e.prototype.unrenderEventDragWrap=function(t){t&&this.unrenderEventDrag(t)},e.prototype.renderEventDrag=function(t){},e.prototype.unrenderEventDrag=function(t){},e.prototype.renderEventResizeWrap=function(t){t&&this.renderEventResize(t)}
147,e.prototype.unrenderEventResizeWrap=function(t){t&&this.unrenderEventResize(t)},e.prototype.renderEventResize=function(t){},e.prototype.unrenderEventResize=function(t){},e.prototype.startNowIndicator=function(t,e){var n,i,r,o=this,a=this.context,s=a.calendar,c=a.dateEnv,l=a.options;l.nowIndicator&&!this.initialNowDate&&(n=this.getNowIndicatorUnit(t,e),n&&(i=this.updateNowIndicator.bind(this),this.initialNowDate=s.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),r=c.add(c.startOf(this.initialNowDate,n),ht(1,n)).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout((function(){o.nowIndicatorTimeoutID=null,i(),r="second"===n?1e3:6e4,o.nowIndicatorIntervalID=setInterval(i,r)}),r)))},e.prototype.updateNowIndicator=function(){this.props.dateProfile&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(H(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.isNowIndicatorRendered&&(this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.getNowIndicatorUnit=function(t,e){},e.prototype.renderNowIndicator=function(t){},e.prototype.unrenderNowIndicator=function(){},e.prototype.addScroll=function(t,e){e&&(t.isForced=e),Gt(this.queuedScroll||(this.queuedScroll={}),t)},e.prototype.popScroll=function(t){this.applyQueuedScroll(t),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(t){this.queuedScroll&&this.applyScroll(this.queuedScroll,t)},e.prototype.queryScroll=function(){var t={};return this.props.dateProfile&&Gt(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t,e){var n=t.duration,i=t.isForced;null==n||i||(delete t.duration,this.props.dateProfile&&Gt(t,this.computeDateScroll(n))),this.props.dateProfile&&this.applyDateScroll(t)},e.prototype.computeDateScroll=function(t){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.scrollToDuration=function(t){this.applyScroll({duration:t},!1)},e}(Ti);hi.mixInto(_o),_o.prototype.usesMinMaxTime=!1,_o.prototype.dateProfileGeneratorClass=Sr;var yo=function(){function t(){this.segs=[],this.isSizeDirty=!1}return t.prototype.renderSegs=function(t,e,n){this.context=t,this.rangeUpdated(),e=this.renderSegEls(e,n),this.segs=e,this.attachSegs(e,n),this.isSizeDirty=!0,cn(this.context,this.segs,Boolean(n))},t.prototype.unrender=function(t,e,n){ln(this.context,this.segs,Boolean(n)),this.detachSegs(this.segs),this.segs=[]},t.prototype.rangeUpdated=function(){var t,e,n=this.context.options;this.eventTimeFormat=$e(n.eventTimeFormat||this.computeEventTimeFormat(),n.defaultRangeSeparator),t=n.displayEventTime,null==t&&(t=this.computeDisplayEventTime()),e=n.displayEventEnd,null==e&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},t.prototype.renderSegEls=function(t,e){var n,i="";if(t.length){for(n=0;n<t.length;n++)i+=this.renderSegHtml(t[n],e);s(i).forEach((function(e,n){var i=t[n];e&&(i.el=e)})),t=nn(this.context,t,Boolean(e))}return t},t.prototype.getSegClasses=function(t,e,n,i){var r=["fc-event",t.isStart?"fc-start":"fc-not-start",t.isEnd?"fc-end":"fc-not-end"].concat(t.eventRange.ui.classNames);return e&&r.push("fc-draggable"),n&&r.push("fc-resizable"),i&&(r.push("fc-mirror"),i.isDragging&&r.push("fc-dragging"),i.isResizing&&r.push("fc-resizing")),r},t.prototype.getTimeText=function(t,e,n){var i=t.def,r=t.instance;return this._getTimeText(r.range.start,i.hasEnd?r.range.end:null,i.allDay,e,n,r.forcedStartTzo,r.forcedEndTzo)},t.prototype._getTimeText=function(t,e,n,i,r,o,a){var s=this.context.dateEnv;return null==i&&(i=this.eventTimeFormat),null==r&&(r=this.displayEventEnd),this.displayEventTime&&!n?r&&e?s.formatRange(t,e,i,{forcedStartTzo:o,forcedEndTzo:a}):s.format(t,i,{forcedTzo:o}):""},t.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0}},t.prototype.computeDisplayEventTime=function(){return!0},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.getSkinCss=function(t){return{"background-color":t.backgroundColor,"border-color":t.borderColor,color:t.textColor}},t.prototype.sortEventSegs=function(t){var e=this.context.eventOrderSpecs,n=t.map(bo);return n.sort((function(t,n){return Dt(t,n,e)})),n.map((function(t){return t._seg}))},t.prototype.computeSizes=function(t){(t||this.isSizeDirty)&&this.computeSegSizes(this.segs)},t.prototype.assignSizes=function(t){(t||this.isSizeDirty)&&(this.assignSegSizes(this.segs),this.isSizeDirty=!1)},t.prototype.computeSegSizes=function(t){},t.prototype.assignSegSizes=function(t){},t.prototype.hideByHash=function(t){if(t)for(var e=0,n=this.segs;e<n.length;e++){var i=n[e];t[i.eventRange.instance.instanceId]&&(i.el.style.visibility="hidden")}},t.prototype.showByHash=function(t){if(t)for(var e=0,n=this.segs;e<n.length;e++){var i=n[e];t[i.eventRange.instance.instanceId]&&(i.el.style.visibility="")}},t.prototype.selectByInstanceId=function(t){if(t)for(var e=0,n=this.segs;e<n.length;e++){var i=n[e],r=i.eventRange.instance;r&&r.instanceId===t&&i.el&&i.el.classList.add("fc-selected")}},t.prototype.unselectByInstanceId=function(t){if(t)for(var e=0,n=this.segs;e<n.length;e++){var i=n[e];i.el&&i.el.classList.remove("fc-selected")}},t}();function bo(t){var e=t.eventRange.def,n=t.eventRange.instance.range,i=n.start?n.start.valueOf():0,r=n.end?n.end.valueOf():0;return Gt({},e.extendedProps,e,{id:e.publicId,start:i,end:r,duration:r-i,allDay:Number(e.allDay),_seg:t})}var wo=function(){function t(){this.fillSegTag="div",this.dirtySizeFlags={},this.containerElsByType={},this.segsByType={}}return t.prototype.getSegsByType=function(t){return this.segsByType[t]||[]},t.prototype.renderSegs=function(t,e,n){var i;this.context=e;var r=this.renderSegEls(t,n),o=this.attachSegs(t,r);o&&(i=this.containerElsByType[t]||(this.containerElsByType[t]=[])).push.apply(i,o),this.segsByType[t]=r,"bgEvent"===t&&cn(e,r,!1),this.dirtySizeFlags[t]=!0},t.prototype.unrender=function(t,e){var n=this.segsByType[t];n&&("bgEvent"===t&&ln(e,n,!1),this.detachSegs(t,n))},t.prototype.renderSegEls=function(t,e){var n,i=this,r="";if(e.length){for(n=0;n<e.length;n++)r+=this.renderSegHtml(t,e[n]);s(r).forEach((function(t,n){var i=e[n];t&&(i.el=t)})),"bgEvent"===t&&(e=nn(this.context,e,!1)),e=e.filter((function(t){return _(t.el,i.fillSegTag)}))}return e},t.prototype.renderSegHtml=function(t,e){var n=null,i=[];return"highlight"!==t&&"businessHours"!==t&&(n={"background-color":e.eventRange.ui.backgroundColor}),"highlight"!==t&&(i=i.concat(e.eventRange.ui.classNames)),"businessHours"===t?i.push("fc-bgevent"):i.push("fc-"+t.toLowerCase()),"<"+this.fillSegTag+(i.length?' class="'+i.join(" ")+'"':"")+(n?' style="'+In(n)+'"':"")+"></"+this.fillSegTag+">"},t.prototype.detachSegs=function(t,e){var n=this.containerElsByType[t];n&&(n.forEach(p),delete this.containerElsByType[t])},t.prototype.computeSizes=function(t){for(var e in this.segsByType)(t||this.dirtySizeFlags[e])&&this.computeSegSizes(this.segsByType[e])},t.prototype.assignSizes=function(t){for(var e in this.segsByType)(t||this.dirtySizeFlags[e])&&this.assignSegSizes(this.segsByType[e]);this.dirtySizeFlags={}},t.prototype.computeSegSizes=function(t){},t.prototype.assignSegSizes=function(t){},t}();(function(){function t(t){this.timeZoneName=t}})(),function(){function t(t){this.emitter=new hi}t.prototype.destroy=function(){},t.prototype.setMirrorIsVisible=function(t){},t.prototype.setMirrorNeedsRevert=function(t){},t.prototype.setAutoScrollEnabled=function(t){}}
147();Boolean;function ko(t,e){return!t||e>10?{weekday:"short"}:e>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"}}function xo(t,e,n,i,r,o,a,s){var c,l=o.dateEnv,u=o.theme,d=o.options,h=ke(e.activeRange,t),f=["fc-day-header",u.getClass("widgetHeader")];return c="function"===typeof d.columnHeaderHtml?d.columnHeaderHtml(l.toDate(t)):"function"===typeof d.columnHeaderText?jn(d.columnHeaderText(l.toDate(t))):jn(l.format(t,r)),n?f=f.concat(li(t,e,o,!0)):f.push("fc-"+z[t.getUTCDay()]),'<th class="'+f.join(" ")+'"'+(h&&n?' data-date="'+l.formatIso(t,{omitTime:!0})+'"':"")+(a>1?' colspan="'+a+'"':"")+(s?" "+s:"")+">"+(h?si(d,l,{date:t,forceOff:!n||1===i},c):c)+"</th>"}var To=function(t){function e(e){var n=t.call(this)||this;return n.renderSkeleton=ii(n._renderSkeleton,n._unrenderSkeleton),n.parentEl=e,n}return qt(e,t),e.prototype.render=function(t,e){var n=t.dates,i=t.datesRepDistinctDays,r=[];this.renderSkeleton(e),t.renderIntroHtml&&r.push(t.renderIntroHtml());for(var o=$e(e.options.columnHeaderFormat||ko(i,n.length)),a=0,s=n;a<s.length;a++){var c=s[a];r.push(xo(c,t.dateProfile,i,n.length,o,e))}e.isRtl&&r.reverse(),this.thead.innerHTML="<tr>"+r.join("")+"</tr>"},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderSkeleton.unrender()},e.prototype._renderSkeleton=function(t){var e=t.theme,n=this.parentEl;n.innerHTML="",n.appendChild(this.el=a('<div class="fc-row '+e.getClass("headerRow")+'"><table class="'+e.getClass("tableGrid")+'"><thead></thead></table></div>')),this.thead=this.el.querySelector("thead")},e.prototype._unrenderSkeleton=function(){p(this.el)},e}(ki),Mo=function(){function t(t,e){var n=t.start,i=t.end,r=[],o=[],a=-1;while(n<i)e.isHiddenDay(n)?r.push(a+.5):(a++,r.push(a),o.push(n)),n=F(n,1);this.dates=o,this.indices=r,this.cnt=o.length}return t.prototype.sliceRange=function(t){var e=this.getDateDayIndex(t.start),n=this.getDateDayIndex(F(t.end,-1)),i=Math.max(0,e),r=Math.min(this.cnt-1,n);return i=Math.ceil(i),r=Math.floor(r),i<=r?{firstIndex:i,lastIndex:r,isStart:e===i,isEnd:n===r}:null},t.prototype.getDateDayIndex=function(t){var e=this.indices,n=Math.floor(U(this.dates[0],t));return n<0?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},t}(),So=function(){function t(t,e){var n,i,r,o=t.dates;if(e){for(i=o[0].getUTCDay(),n=1;n<o.length;n++)if(o[n].getUTCDay()===i)break;r=Math.ceil(o.length/n)}else r=1,n=o.length;this.rowCnt=r,this.colCnt=n,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return t.prototype.buildCells=function(){for(var t=[],e=0;e<this.rowCnt;e++){for(var n=[],i=0;i<this.colCnt;i++)n.push(this.buildCell(e,i));t.push(n)}return t},t.prototype.buildCell=function(t,e){return{date:this.daySeries.dates[t*this.colCnt+e]}},t.prototype.buildHeaderDates=function(){for(var t=[],e=0;e<this.colCnt;e++)t.push(this.cells[0][e].date);return t},t.prototype.sliceRange=function(t){var e=this.colCnt,n=this.daySeries.sliceRange(t),i=[];if(n){var r=n.firstIndex,o=n.lastIndex,a=r;while(a<=o){var s=Math.floor(a/e),c=Math.min((s+1)*e,o+1);i.push({row:s,firstCol:a%e,lastCol:(c-1)%e,isStart:n.isStart&&a===r,isEnd:n.isEnd&&c-1===o}),a=c}}return i},t}(),Co=function(){function t(){this.sliceBusinessHours=Me(this._sliceBusinessHours),this.sliceDateSelection=Me(this._sliceDateSpan),this.sliceEventStore=Me(this._sliceEventStore),this.sliceEventDrag=Me(this._sliceInteraction),this.sliceEventResize=Me(this._sliceInteraction)}return t.prototype.sliceProps=function(t,e,n,i,r){for(var o=[],a=5;a<arguments.length;a++)o[a-5]=arguments[a];var s=t.eventUiBases,c=this.sliceEventStore.apply(this,[t.eventStore,s,e,n,r].concat(o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,[t.dateSelection,s,r].concat(o)),businessHourSegs:this.sliceBusinessHours.apply(this,[t.businessHours,e,n,i,r].concat(o)),fgEventSegs:c.fg,bgEventSegs:c.bg,eventDrag:this.sliceEventDrag.apply(this,[t.eventDrag,s,e,n,r].concat(o)),eventResize:this.sliceEventResize.apply(this,[t.eventResize,s,e,n,r].concat(o)),eventSelection:t.eventSelection}},t.prototype.sliceNowDate=function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this._sliceDateSpan.apply(this,[{range:{start:t,end:H(t,1)},allDay:!1},{},e].concat(n))},t.prototype._sliceBusinessHours=function(t,e,n,i,r){for(var o=[],a=5;a<arguments.length;a++)o[a-5]=arguments[a];return t?this._sliceEventStore.apply(this,[se(t,Eo(e,Boolean(n)),i),{},e,n,r].concat(o)).bg:[]},t.prototype._sliceEventStore=function(t,e,n,i,r){for(var o=[],a=5;a<arguments.length;a++)o[a-5]=arguments[a];if(t){var s=tn(t,e,Eo(n,Boolean(i)),i);return{bg:this.sliceEventRanges(s.bg,r,o),fg:this.sliceEventRanges(s.fg,r,o)}}return{bg:[],fg:[]}},t.prototype._sliceInteraction=function(t,e,n,i,r){for(var o=[],a=5;a<arguments.length;a++)o[a-5]=arguments[a];if(!t)return null;var s=tn(t.mutatedEvents,e,Eo(n,Boolean(i)),i);return{segs:this.sliceEventRanges(s.fg,r,o),affectedInstances:t.affectedEvents.instances,isEvent:t.isEvent,sourceSeg:t.origSeg}},t.prototype._sliceDateSpan=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];if(!t)return[];for(var o=Hr(t,e,n.context.calendar),a=this.sliceRange.apply(this,[t.range].concat(i)),s=0,c=a;s<c.length;s++){var l=c[s];l.component=n,l.eventRange=o}return a},t.prototype.sliceEventRanges=function(t,e,n){for(var i=[],r=0,o=t;r<o.length;r++){var a=o[r];i.push.apply(i,this.sliceEventRange(a,e,n))}return i},t.prototype.sliceEventRange=function(t,e,n){for(var i=this.sliceRange.apply(this,[t.range].concat(n)),r=0,o=i;r<o.length;r++){var a=o[r];a.component=e,a.eventRange=t,a.isStart=t.isStart&&a.isStart,a.isEnd=t.isEnd&&a.isEnd}return i},t}();function Eo(t,e){var n=t.activeRange;return e?n:{start:H(n.start,t.minTime.milliseconds),end:H(n.end,t.maxTime.milliseconds-864e5)}}},"49ab":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
148//! moment.js locale configuration 149var e=t.defineLocale("zh-hk",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(t,e){return 12===t&&(t=0),"忍"===e||"æ©ä¸"===e||"ä¸å"===e?t:"ä¸å"===e?t>=11?t:t+12:"ä¸å"===e||"æä¸"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"忍":i<900?"æ©ä¸":i<1200?"ä¸å":1200===i?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:"[ä¸]ddddLT",lastDay:"[æ¨å¤©]LT",lastWeek:"[ä¸]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"æ¥";case"M":return t+"æ";case"w":case"W":return t+"é±";default:return t}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}});return e}))},"4a0c":function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},"4a7b":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function l(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(t[r],e[r])}i.forEach(r,(function(t){i.isUndefined(e[t])||(n[t]=c(void 0,e[t]))}
149)),i.forEach(o,l),i.forEach(a,(function(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(void 0,e[r])})),i.forEach(s,(function(i){i in e?n[i]=c(t[i],e[i]):i in t&&(n[i]=c(void 0,t[i]))}));var u=r.concat(o).concat(a).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return i.forEach(d,l),n}},"4ae1":function(t,e,n){var i=n("23e7"),r=n("d066"),o=n("1c0b"),a=n("825a"),s=n("861d"),c=n("7c73"),l=n("0538"),u=n("d039"),d=r("Reflect","construct"),h=u((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),f=!u((function(){d((function(){}))})),p=h||f;i({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(f&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(l.apply(t,i))}var r=n.prototype,u=c(s(r)?r:Object.prototype),p=Function.apply.call(t,u,e);return s(p)?p:u}})},"4b8b":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"4ba9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
150//! moment.js locale configuration 151function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("hr",{months:{format:"sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[proÅ¡lu] [nedjelju] [u] LT";case 3:return"[proÅ¡lu] [srijedu] [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4c93":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return w})); 152/** 153 * vee-validate v3.4.11 154 * (c) 2021 Abdelrahman Awad 155 * @license MIT 156 */ 157var i=function(t,e){var n=(void 0===e?{}:e).multiple,i=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return n&&!Array.isArray(t)&&(t=String(t).split(",").map((function(t){return t.trim()}))),Array.isArray(t)?t.every((function(t){return i.test(String(t))})):i.test(String(t))},r=[{name:"multiple",default:!1}],o={validate:i,params:r};function a(t){return null===t||void 0===t}function s(t){return Array.isArray(t)&&0===t.length}var c=function(t,e){var n=e.length;return a(t)?n>=0:Array.isArray(t)?t.every((function(t){return c(t,{length:n})})):String(t).length<=n},l=[{name:"length",cast:function(t){return Number(t)}}],u={validate:c,params:l},d=function(t,e){var n=e.length;return!a(t)&&(Array.isArray(t)?t.every((function(t){return d(t,{length:n})})):String(t).length>=n)},h=[{name:"length",cast:function(t){return Number(t)}}],f={validate:d,params:h},p=/^[٠١٢٣٤٥٦٧٨٩]+$/,m=/^[0-9]+$/,g=function(t){var e=function(t){var e=String(t);return m.test(e)||p.test(e)};return Array.isArray(t)?t.every(e):e(t)},v={validate:g},_=function(t,e){var n=(void 0===e?{allowFalse:!0}:e).allowFalse,i={valid:!1,required:!0};return a(t)||s(t)?i:!1!==t||n?(i.valid=!!String(t).trim().length,i):i},y=!0,b=[{name:"allowFalse",default:!0}],w={validate:_,params:b,computesRequired:y}},"4d13":function(t,e,n){"use strict";var i=n("7037").default;n("d3b7"),n("c19f"),n("ace4"),n("82da"),n("3ca3"),n("ddb0"),n("2b3d"),n("ac1f"),n("5319");var r=n("969c"),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function s(t){return"undefined"===typeof t}function c(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function l(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function d(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function f(t){return"number"===typeof t}function p(t){return null!==t&&"object"===i(t)}function m(t){return"[object Date]"===o.call(t)}function g(t){return"[object File]"===o.call(t)}function v(t){return"[object Blob]"===o.call(t)}function _(t){return"[object Function]"===o.call(t)}function y(t){return p(t)&&_(t.pipe)}function b(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==i(t)&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function T(){var t={};function e(e,n){"object"===i(t[n])&&"object"===i(e)?t[n]=T(t[n],e):t[n]=e}for(var n=0,r=arguments.length;n<r;n++)x(arguments[n],e);return t}function M(){var t={};function e(e,n){"object"===i(t[n])&&"object"===i(e)?t[n]=M(t[n],e):"object"===i(e)?t[n]=M({},e):t[n]=e}for(var n=0,r=arguments.length;n<r;n++)x(arguments[n],e);return t}function S(t,e,n){return x(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}t.exports={isArray:a,isArrayBuffer:l,isBuffer:c,isFormData:u,isArrayBufferView:d,isString:h,isNumber:f,isObject:p,isUndefined:s,isDate:m,isFile:g,isBlob:v,isFunction:_,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:k,forEach:x,merge:T,deepMerge:M,extend:S,trim:w}},"4d20":function(t,e,n){var i=n("1917"),r=n("10db"),o=n("6ca1"),a=n("3397"),s=n("9c0e"),c=n("faf5"),l=Object.getOwnPropertyDescriptor;e.f=n("0bad")?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(n){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},"4d63":function(t,e,n){var i=n("83ab"),r=n("da84"),o=n("94ca"),a=n("7156"),s=n("9112"),c=n("9bf2").f,l=n("241c").f,u=n("44e7"),d=n("577e"),h=n("ad6d"),f=n("9f7f"),p=n("6eeb"),m=n("d039"),g=n("5135"),v=n("69f3").enforce,_=n("2626"),y=n("b622"),b=n("fce3"),w=n("107c"),k=y("match"),x=r.RegExp,T=x.prototype,M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S=/a/g,C=/a/g,E=new x(S)!==S,L=f.UNSUPPORTED_Y,A=i&&(!E||L||b||w||m((function(){return C[k]=!1,x(S)!=S||x(C)==C||"/a/i"!=x(S,"i")}))),O=function(t){for(var e,n=t.length,i=0,r="",o=!1;i<=n;i++)e=t.charAt(i),"\\"!==e?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),r+=e):r+="[\\s\\S]":r+=e+t.charAt(++i);return r},P=function(t){for(var e,n=t.length,i=0,r="",o=[],a={},s=!1,c=!1,l=0,u="";i<=n;i++){if(e=t.charAt(i),"\\"===e)e+=t.charAt(++i);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:M.test(t.slice(i+1))&&(i+=2,c=!0),r+=e,l++;continue;case">"===e&&c:if(""===u||g(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,o.push([u,l]),c=!1,u="";continue}c?u+=e:r+=e}return[r,o]};if(o("RegExp",A)){for(var D=function(t,e){var n,i,r,o,c,l,f=this instanceof D,p=u(t),m=void 0===e,g=[],_=t;if(!f&&p&&m&&t.constructor===D)return t;if((p||t instanceof D)&&(t=t.source,m&&(e="flags"in _?_.flags:h.call(_))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),_=t,b&&"dotAll"in S&&(i=!!e&&e.indexOf("s")>-1,i&&(e=e.replace(/s/g,""))),n=e,L&&"sticky"in S&&(r=!!e&&e.indexOf("y")>-1,r&&(e=e.replace(/y/g,""))),w&&(o=P(t),t=o[0],g=o[1]),c=a(x(t,e),f?this:T,D),(i||r||g.length)&&(l=v(c),i&&(l.dotAll=!0,l.raw=D(O(t),n)),r&&(l.sticky=!0),g.length&&(l.groups=g)),t!==_)try{s(c,"source",""===_?"(?:)":_)}catch(y){}return c},j=function(t){t in D||c(D,t,{configurable:!0,get:function(){return x[t]},set:function(e){x[t]=e}})},I=l(x),R=0;I.length>R;)j(I[R++]);T.constructor=D,D.prototype=T,p(r,"RegExp",D)}_("RegExp")},"4d64":function(t,e,n){var i=n("fc6a"),r=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,c=i(e),l=r(c.length),u=o(a,l);if(t&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4d88":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"4de4":function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").filter,o=n("1dde"),a=o("filter");i({target:"Array",proto:!0,forced:!a},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"4de9":function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"4df4":function(t,e,n){"use strict";var i=n("0366"),r=n("7b0b"),o=n("9bdd"),a=n("e95a"),s=n("50c4"),c=n("8418"),l=n("35a1");t.exports=function(t){var e,n,u,d,h,f,p=r(t),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,_=void 0!==v,y=l(p),b=0;if(_&&(v=i(v,g>2?arguments[2]:void 0,2)),void 0==y||m==Array&&a(y))for(e=s(p.length),n=new m(e);e>b;b++)f=_?v(p[b],b):p[b],c(n,b,f);else for(d=y.call(p),h=d.next,n=new m;!(u=h.call(d)).done;b++)f=_?o(d,v,[u.value,b],!0):u.value,c(n,b,f);return n.length=b,n}},"4e2b":function(t,e,n){"use strict";var i=n("e11e"),r=function(t,e){var n,i=function(){var i=[],r=arguments.length;while(r--)i[r]=arguments[r];var o=this;n&&clearTimeout(n),n=setTimeout((function(){t.apply(o,i),n=null}),e)};return i.cancel=function(){n&&clearTimeout(n)},i},o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},a=function(t,e,n,r){var a=function(r){var a="set"+o(r),s=n[r].type===Object||n[r].type===Array||Array.isArray(n[r].type);
157n[r].custom&&t[a]?t.$watch(r,(function(e,n){t[a](e,n)}),{deep:s}):"setOptions"===a?t.$watch(r,(function(t,n){Object(i["setOptions"])(e,t)}),{deep:s}):e[a]&&t.$watch(r,(function(t,n){e[a](t)}),{deep:s})};for(var s in n)a(s)},s=function(t){var e={};for(var n in t){var i=t[n];null!==i&&void 0!==i&&(e[n]=i)}return e},c=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=s(n);t=s(t);var r=e.$options.props;for(var o in t){var a=r[o]?r[o].default&&"function"===typeof r[o].default?r[o].default.call():r[o].default:Symbol("unique"),c=!1;c=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[o]):a===t[o],i[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),i[o]=t[o]):i[o]||(i[o]=t[o])}return i},l=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},u={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,e){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(e).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},d={props:{options:{type:Object,default:function(){return{}}}}},h={name:"LMarker",mixins:[u,d],props:{pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],custom:!1,default:function(){return new i["Icon"].Default}},opacity:{type:Number,custom:!1,default:1},zIndexOffset:{type:Number,custom:!1,default:null}},data:function(){return{ready:!1}},beforeDestroy:function(){this.debouncedLatLngSync&&this.debouncedLatLngSync.cancel()},mounted:function(){var t=this,e=c(Object.assign({},this.layerOptions,{icon:this.icon,zIndexOffset:this.zIndexOffset,draggable:this.draggable,opacity:this.opacity}),this);this.mapObject=Object(i["marker"])(this.latLng,e),i["DomEvent"].on(this.mapObject,this.$listeners),this.debouncedLatLngSync=r(this.latLngSync,100),this.mapObject.on("move",this.debouncedLatLngSync),a(this,this.mapObject,this.$options.props),this.parentContainer=l(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.ready=!0,this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},methods:{setDraggable:function(t,e){this.mapObject.dragging&&(t?this.mapObject.dragging.enable():this.mapObject.dragging.disable())},setLatLng:function(t){if(null!=t&&this.mapObject){var e=this.mapObject.getLatLng(),n=Object(i["latLng"])(t);n.lat===e.lat&&n.lng===e.lng||this.mapObject.setLatLng(n)}},latLngSync:function(t){this.$emit("update:latLng",t.latlng),this.$emit("update:lat-lng",t.latlng)}},render:function(t){return this.ready&&this.$slots.default?t("div",{style:{display:"none"}},this.$slots.default):null}};function f(t,e,n,i,r,o,a,s,c,l){"boolean"!==typeof a&&(c=s,s=a,a=!1);var u,d="function"===typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var p=h,m=void 0,g=void 0,v=void 0,_=void 0,y=f({},m,p,g,_,v,!1,void 0,void 0,void 0);e["a"]=y},"4e71":function(t,e,n){n("e198")("observable")},"4e82":function(t,e,n){"use strict";var i=n("23e7"),r=n("1c0b"),o=n("7b0b"),a=n("50c4"),s=n("577e"),c=n("d039"),l=n("addb"),u=n("a640"),d=n("04d1"),h=n("d998"),f=n("2d00"),p=n("512ce"),m=[],g=m.sort,v=c((function(){m.sort(void 0)})),_=c((function(){m.sort(null)})),y=u("sort"),b=!c((function(){if(f)return f<70;if(!(d&&d>3)){if(h)return!0;
vendor: 1,056 bytes, line 157
157if(p)return p<603;var t,e,n,i,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)m.push({k:e+i,v:n})}for(m.sort((function(t,e){return e.v-t.v})),i=0;i<m.length;i++)e=m[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}})),w=v||!_||!y||!b,k=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:s(e)>s(n)?1:-1}};i({target:"Array",proto:!0,forced:w},{sort:function(t){void 0!==t&&r(t);var e=o(this);if(b)return void 0===t?g.call(e):g.call(e,t);var n,i,s=[],c=a(e.length);for(i=0;i<c;i++)i in e&&s.push(e[i]);s=l(s,k(t)),n=s.length,i=0;while(i<n)e[i]=s[i++];while(i<c)delete e[i++];return e}})},"4ebc":function(t,e,n){var i=n("4d88");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"4fad":function(t,e,n){var i=n("23e7"),r=n("6f53").entries;i({target:"Object",stat:!0},{entries:function(t){return r(t)}})},5038:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,584 bytes, lines 158-159
158//! moment.js locale configuration 159var e=t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return e}))},"509c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default="NoCAPTCHA"},"50c4":function(t,e,n){var i=n("a691"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"511f":function(t,e,n){n("0b99"),n("658f"),t.exports=n("fcd4").f("iterator")},5120:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
160//! moment.js locale configuration 161var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],a=t.defineLocale("ga",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mÃ",MM:"%d mÃonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return a}))},"512c":function(t,e,n){var i=n("ef08"),r=n("5524"),o=n("9c0c"),a=n("051b"),s=n("9c0e"),c="prototype",l=function(t,e,n){var u,d,h,f=t&l.F,p=t&l.G,m=t&l.S,g=t&l.P,v=t&l.B,_=t&l.W,y=p?r:r[e]||(r[e]={}),b=y[c],w=p?i:m?i[e]:(i[e]||{})[c];for(u in p&&(n=e),n)d=!f&&w&&void 0!==w[u],d&&s(y,u)||(h=d?w[u]:n[u],y[u]=p&&"function"!=typeof w[u]?n[u]:v&&d?o(h,i):_&&w[u]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,t&l.R&&b&&!b[u]&&a(b,u,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"512ce":function(t,e,n){var i=n("342f"),r=i.match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},5135:function(t,e,n){var i=n("7b0b"),r={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return r.call(i(t),e)}},5156:function(t,e,n){"use strict";var i="undefined"!==typeof Symbol&&Symbol,r=n("1696");t.exports=function(){return"function"===typeof i&&("function"===typeof Symbol&&("symbol"===typeof i("foo")&&("symbol"===typeof Symbol("bar")&&r())))}},"51ab":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _promise=__webpack_require__("e1de"),_promise2=_interopRequireDefault(_promise),_isIterable2=__webpack_require__("93ff"),_isIterable3=_interopRequireDefault(_isIterable2),_getIterator2=__webpack_require__("1727"),_getIterator3=_interopRequireDefault(_getIterator2),_keys=__webpack_require__("1907"),_keys2=_interopRequireDefault(_keys),_stringify=__webpack_require__("8034"),_stringify2=_interopRequireDefault(_stringify),_iterator=__webpack_require__("17ed"),_iterator2=_interopRequireDefault(_iterator),_typeof2=__webpack_require__("1098"),_typeof3=_interopRequireDefault(_typeof2),_symbol=__webpack_require__("f893"),_symbol2=_interopRequireDefault(_symbol),_defineProperty=__webpack_require__("4849"),_defineProperty2=_interopRequireDefault(_defineProperty);function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}exports.default=/*!+v*/function(_aeis_,_https_){function cond(){return Math.random()}function chkQuerySet(){var t,e=window[QUERY_KEY];return isNaN(e)?(t=location.href.split(QUERY_KEY+"=")[1],e=parseFloat(t),void(isNaN(e)||(GREY_RATIO=e))):void(GREY_RATIO=e)}var GREY_RATIO=1,QUERY_KEY="aq-nc-grey-ratio",STABLE_ACTION=function(){},NEW_ACTION=function NEW_ACTION(){!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||(0,_defineProperty2.default)(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=107)}([function(t,e,n){function i(t,e){if(y)t.classList.add(e);else{var n=t.className||"";n.match(new RegExp("(^|\\s)"+e+"(\\s|$)"))||(t.className=n+" "+e)}}function r(t,e){if(y)t.classList.remove(e);else{var n=t.className||"",i=n.replace(new RegExp("(^|\\s)"+e+"(\\s|$)")," ").replace(/^\s+|\s+$/g,"");i!=n&&(t.className=i)}}function o(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function a(t,e,n){var i,r=v.createElement("script");r.src=t,r.onload=function(){r.onload=null,r.parentNode.removeChild(r),-1!=i&&(clearTimeout(i),e("ok"))},r.onerror=function(){r.onerror=null,r.parentNode.removeChild(r),-1!=i&&(clearTimeout(i),e("err"))},i=setTimeout((function(){i=-1,e(_)}),n||5e3);var o=v.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}function s(t,e,n,i){function r(){l++;var c=t.indexOf("?")>-1?"&":"?",u=t;l>1&&(u=t+c+"__retry="+l),a(u,(function(t){if(o)e(_);else if("ok"===t)e(t);else{if(t===_||l>=i)return void e(_);s=setTimeout((function(){r()}),3e3)}}),n)}i=i||3;var o,s,c,l=0;e=function(t){return function(){c||(c=!0,clearTimeout(s),t.apply(null,arguments))}}(e),r(),setTimeout((function(){o=!0,e(_)}),n)}function c(t,e,n,i){i=i||1e4;var r,s="__jsonp_"+b++;e=e||{},e.callback=s;var c=t.indexOf("?")>-1?"&":"?";t=t+c+o(e),a(t,(function(t){-1!==r&&"ok"!=t&&(clearTimeout(r),n(t))}),i),g[s]=function(t){delete g[s],clearTimeout(r),n("ok",t)},r=setTimeout((function(){r=-1,n(_)}),i)}function l(t,e,n,i,r){function o(){u++;var l=t.indexOf("?")>-1?"&":"?",d=t;u>
1611&&(d=t+l+"__retry="+u),c(d,e,(function(t,e){if(a)n(_);else if("ok"===t)n(t,e);else{if(t===_||u>=r)return void n(_);s=setTimeout((function(){o()}),3e3)}}),i)}r=r||3;var a,s,l,u=0;n=function(t){return function(){l||(l=!0,clearTimeout(s),t.apply(null,arguments))}}(n),o(),setTimeout((function(){a=!0,n(_)}),i)}function u(t){for(var e,n,i=[].slice.call(arguments),r=i.length,o=1;r>o;o++)for(n in e=i[o],e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function d(t){var e,n=[],i=d;if("string"==typeof t)return'"'+t.replace(/(['"\\])/g,"\\$1").replace(/(\n)/g,"\\n").replace(/(\r)/g,"\\r").replace(/(\t)/g,"\\t")+'"';if("undefined"==typeof t)return"undefined";if("object"===("undefined"==typeof t?"undefined":m(t))){if(null===t)return"null";if(t.sort){for(e=0;e<t.length;e++)n.push(i(t[e]));n="["+n.join()+"]"}else{for(e in t)t.hasOwnProperty(e)&&n.push('"'+e+'":'+i(t[e]));n="{"+n.join()+"}"}return n}return t.toString()}function h(t,e){e&&f(t,e)&&(t.classList?t.classList.remove.apply(t.classList,e.split(/\s+/)):t.className=t.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," ").replace(/^\s+|\s+$/g,""))}function f(t,e){if(!e)return!1;if(t.classList){for(var n=e.split(/\s+/),i=0;i<n.length;i++)if(!t.classList.contains(n[i]))return!1;return!0}return new RegExp("(\\s|^)"+e+"(\\s|$)").test(t.className)}function p(t,e,n){if(e=e||v,n=n||"*",v.getElementsByClassName)return e.getElementsByClassName(t);for(var i=[],r="*"===n&&e.all?e.all:e.getElementsByTagName(n),o=r.length;--o>=0;)f(r[o],t)&&i.push(r[o]);return i}var m="function"==typeof _symbol2.default&&"symbol"==(0,_typeof3.default)(_iterator2.default)?function(t){return"undefined"===typeof t?"undefined":(0,_typeof3.default)(t)}:function(t){return t&&"function"==typeof _symbol2.default&&t.constructor===_symbol2.default&&t!==_symbol2.default.prototype?"symbol":"undefined"===typeof t?"undefined":(0,_typeof3.default)(t)},g=window,v=document,_="timeout",y=!!v.documentElement.classList,b=1e10*Math.random()>>>0,w=function(t,e){for(var n=[],i=0,r=t.length;r>i;i++)n.push(e(t[i],i));return n},k=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent?t.attachEvent("on"+e,(function(t){return n(t||g.event)})):t["on"+e]=function(t){return n(t||g.event)}},x={},T=function(t,e){x[t]&&e(null,x[t]);var n=new Image;n.onreadystatechange=function(){n.readyState},n.onload=function(){var i=n.naturalWidth?[n.naturalWidth,n.naturalHeight]:[n.width,n.height];x[t]=i,e(null,i)},n.onerror=function(t){e(t)},n.src=t},M=function(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e},S=function(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e};t.exports={addClass:i,delClass:r,formatParams:o,getElementLeft:M,getElementTop:S,getElementsByClassName:p,getImgSize:T,getOS:n(18),hasClass:f,jsonp:l,loadScript:s,map:w,mix:u,obj2str:d,on:k,removeClass:h}},function(t,e,n){function i(t,e,n){if(t){var i=0,r=t.length;if(r===+r)for(;r>i&&!1!==e.call(n,t[i],i,t);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(n,t[i],i,t))break}}function r(t,e){if(!e)return!1;if(t.classList){for(var n=e.split(/\s+/),i=0;i<n.length;i++)if(!t.classList.contains(n[i]))return!1;return!0}return new RegExp("(\\s|^)"+e+"(\\s|$)").test(t.className)}function o(t,e){e&&!r(t,e)&&(t.classList?t.classList.add.apply(t.classList,e.split(/\s+/)):t.className+=" "+e)}function a(t,e){e&&r(t,e)&&(t.classList?t.classList.remove.apply(t.classList,e.split(/\s+/)):t.className=t.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," ").replace(/^\s+|\s+$/g,""))}function s(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function c(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e}function l(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e}var u=window,d=document,h=n(2),f=e.rndId=function(t){return((t||"")+Math.random()).replace(".","")};e.each=i,e.hasClass=r,e.addClass=o,e.removeClass=a,e.toggleClass=function(t,e){r(t,e)?a(t,e):o(t,e)},e.getElementsByClassName=function(t,e,n){if(e=e||d,n=n||"*",d.getElementsByClassName)return e.getElementsByClassName(t);for(var i=[],o="*"===n&&e.all?e.all:e.getElementsByTagName(n),a=o.length;--a>=0;)r(o[a],t)&&i.push(o[a]);return i},e.setCookie=function(t,e,n){n=n||7;var i=new Date;i.setTime(i.getTime()+864e5*n),document.cookie=[encodeURIComponent(t),"=",encodeURIComponent(""+e),";expires=",i.toGMTString()].join("")},e.send=function(t){var e=f("_nc_r_"),n=u[e]=new Image;n.onload=n.onerror=function(){u[e]=null},n.src=t},e.obj2param=s,e.addHourStamp=function(t,e){var n=Math.floor((new Date).getTime()/(36e5*(e||2))),i=-1===t.indexOf("?")?"?":"&";return t+i+"_t="+n};var p={};e.isIEX=function(t){if(t in p)return p[t];var e=d.createElement("b");return e.innerHTML="\x3c!--[if IE "+t+"]><i></i><![endif]--\x3e",p[t]=1===e.getElementsByTagName("i").length};var c=e.getElementLeft=function(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e},l=e.getElementTop=function(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e};e.getClientRect=function(t){var e=d.documentElement.scrollTop;if(d.documentElement.scrollLeft,t.getBoundingClientRect){var n=t.getBoundingClientRect();return{left:n.left,right:n.right,top:n.top-e,bottom:n.bottom-e}}var i=c(t),r=l(t);return{left:i,right:i+t.offsetWidth,top:r,bottom:r+t.offsetHeight}},e.getOffset=function(t){var e=t.target;void 0===e.offsetLeft&&(e=e.parentNode);var n=m(e),i={x:u.pageXOffset+t.clientX,y:u.pageYOffset+t.clientY};return{offsetX:i.x-n.x,offsetY:i.y-n.y}};var m=e.getPageCoord=function(t){for(var e={x:0,y:0};t;)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e},g={before:function(t,e){return function(){return t.call(this),e.apply(this,arguments)}},after:function(t,e){return function(){var n=t.apply(this,arguments);return e.call(this,n,arguments),n}}};e.decorator=g,e.mix=function(t){for(var e,n,i=[].slice.call(arguments),r=i.length,o=1;r>o;o++)for(n in e=i[o],e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.clone=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},e.addHandler=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,n)},e.removeHandler=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent&&t.detachEvent("on"+e,n)},e.getEvent=function(t){return t||u.event},e.getTarget=function(t){return t.target||t.srcElement},e.bind=function(t,e){var n=[].slice,i=n.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,i.concat(n.call(arguments)))};return r.prototype=t.prototype,o.prototype=new r,o},e.imageLoaded=function(t){var e=h.defer(),n=new Image;return n.onload=function(){e.resolve(this)},n.onerror=function(t){e.reject({type:"img",error:t})},setTimeout((function(){e.reject({type:"img",error:"timeout"})}),5e3),n.src=t,e.promise},e.request=function(t){var e=h.defer(),n=t.data||{},i=("jsonp_"+Math.random()).replace(".","");u[i]=function(t){e.resolve(t)},n[t.callback||"callback"]=i,e.promise.always((function(){try{delete u[i]}catch(t){u[i]=null}}));var r=d.createElement("script");r.src=t.url+(-1===t.url.indexOf("?")?"?":"&")+s(n);var o=d.getElementsByTagName("script")[0];return o.parentNode.insertBefore(r,o),setTimeout((function(){e.reject({type:"request",error:"timeout"})}),5e3),e.promise},e.getElementLeft=c,e.getElementTop=l},function(t,e,n){function i(t){return this instanceof i?(this._state=l,this._onFulfilled=[],this._onRejected=[],this._value=null,this._reason=null,void(h(t)&&t(a(this.resolve,this),a(this.reject,this)))):new i(t)}function r(t,e,n){return function(i){if(h(e))try{var r=e(i);o(r)?r.then((function(e){t.resolve(e)}),(function(e){t.reject(e)})):t.resolve(r)}catch(a){t.reject(a)}else t[n](i)}}function o(t){return t&&h(t.then)}function a(t,e){var n=[].slice,i=n.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,i.concat(n.call(arguments)))};return r.prototype=t.prototype,o.prototype=new r,o}function s(t){return function(e){return{}.toString.call(e)=="[object "+t+"]"}}function c(t,e){for(var n=0,i=t.length;i>n;n++)e(t[n],n)}var l=0,u=1,d=2;i.prototype={constructor:i,then:function(t,e){var n=new i,o=r(n,t,"resolve"),a=r(n,e,"reject");return this._state===u?o(this._value):this._state===d?a(this._reason):(this._onFulfilled.push(o),this._onRejected.push(a)),n},resolve:function(t){this._state===l&&(this._state=u,this._value=t,c(this._onFulfilled,(function(e){e(t)})),this._onFulfilled=[])},reject:function(t){this._state===l&&(this._state=d,this._reason=t,c(this._onRejected,(function(e){e(t)})),this._onRejected=[])},catch:function(t){return this.then(null,t)},always:function(t){return this.then(t,t)}},i.defer=function(){var t={};return t.promise=new i((function(e,n){t.resolve=e,t.reject=n})),t},i.race=function(t){var e=i.defer();return t.length,c(t,(function(t){t.then((function(t){e.resolve(t)}),(function(t){e.reject(t)}))}
161)),e.promise},i.all=function(t){var e=i.defer(),n=t.length,r=[];return c(t,(function(t,i){t.then((function(t){r[i]=t,n--,0===n&&e.resolve(r)}),(function(t){e.reject(t)}))})),e.promise},i.resolve=function(t){return new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))};var h=s("Function");t.exports=i},function(t,e,n){function i(t){var e=("_nc_r_"+Math.random()).replace(/\./,""),n=o[e]=new Image;n.onload=n.onerror=function(){o[e]=null},n.src=t}var r=(n(4).URL_MAP,(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/dataReport.jsonp"),o=window;e.log=function(t,e){var n,o,a=e||r,s=["a","t","scene","ns","jsv","usa","p","jsType","os","em","ec"],c=[],l=s.length;for(n=0;l>n;n++)o=s[n],t.hasOwnProperty(o)&&c.push(o+"="+encodeURIComponent(t[o]));c.push("r="+Math.random()),i(a+"?"+c.join("&"))}},function(t,e,n){var i=n(1),r={log:(_https_?"https:":"")+"//log.mmstat.com/",gm:(_https_?"https:":"")+"//gm.mmstat.com/",gj:(_https_?"https:":"")+"//gj.mmstat.com/"};e.mmstat_base=r;var o=i.isIEX(8),a=i.isIEX(7),s=i.isIEX(6),c=!!(s||a||o),l=document.getElementsByTagName("script"),u="";if(null!=l&&l.length>=1)for(var d=l.length-1;d>=0;d--)if(-1!=l[d].src.indexOf("ncpc/nc.js")){u=l[d].src;break}var h="";h=-1!=u.indexOf("g.alicdn.com")?(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+
vendor: 7,566 bytes, line 161
161".alicdn.com/AWSC/AWSC/awsc.js":(_https_?"https:":"")+"//aeis.alicdn.com/AWSC/AWSC/awsc.js";var f={0:{analyze:c?(_https_?"https:":"")+"//cf2.aliyun.com/nocaptcha/analyze.jsonp":(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:c?(_https_?"https:":"")+"//cf2.aliyun.com/captcha/checkcode.jsonp":(_https_?"https:":"")+"//cf.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/analyze.jsonp"},1:{analyze:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:(_https_?"https:":"")+"//cfus.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//usdiablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//aeis.alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://us.ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/analyze.jsonp"},2:{analyze:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:(_https_?"https:":"")+"//cfun.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/analyze.jsonp"}};e.URL_MAP=f},,function(t,e,n){e.v=949},,function(t,e,n){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},,function(t,e){function n(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=h[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(c(i.parts[o],e))}else{var a=[];for(o=0;o<i.parts.length;o++)a.push(c(i.parts[o],e));h[i.id]={id:i.id,refs:1,parts:a}}}}function i(t){for(var e=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],a=r[1],s=r[2],c=r[3],l={css:a,media:s,sourceMap:c};n[o]?n[o].parts.push(l):e.push(n[o]={id:o,parts:[l]})}return e}function r(t,e){var n=m(),i=_[_.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function o(t){t.parentNode.removeChild(t);var e=_.indexOf(t);e>=0&&_.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function s(t){var e=document.createElement("link");return e.rel="stylesheet",r(t,e),e}function c(t,e){var n,i,r;if(e.singleton){var c=v++;n=g||(g=a(e)),i=l.bind(null,n,c,!1),r=l.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(e),i=d.bind(null,n),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=u.bind(null,n),r=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function l(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function u(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent((0,_stringify2.default)(i))))+" */");var r=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var h={},f=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=f((function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())})),m=f((function(){return document.head||document.getElementsByTagName("head")[0]})),g=null,v=0,_=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"===typeof document?"undefined":(0,_typeof3.default)(document)))throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var r=i(t);return n(r,e),function(t){for(var o=[],a=0;a<r.length;a++){var s=r[a],c=h[s.id];c.refs--,o.push(c)}if(t){var l=i(t);n(l,e)}for(a=0;a<o.length;a++){c=o[a];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete h[c.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){function i(t,e){var n;for(n in e)e.hasOwnProperty(n)&&((o[n]=o[n]||{})[t]=e[n])}function r(t,e){var n={zh_CN:"cn",zh_TW:"tw",en_US:"en"};
161return t in n&&(t=n[t]),o[e][t||"cn"]}var o={SLIDER_LABEL:{cn:"å峿»å¨éªè¯",tw:"å峿»åé©è",en:"Slide to verify"},LOADING:{cn:"å è½½ä¸...",tw:"å è¼ä¸...",en:"Loading..."},CHECK_Y:{cn:"éªè¯éè¿",tw:"é©èéé",en:"Verified"},CHECK_N:{cn:"éªè¯æªéè¿",tw:"é©èæªéé",en:"Not Verified"},TEXTBOX_HOLDER:{cn:"éªè¯ç ",tw:"é©è碼",en:"Captcha"},BUTTON_OK:{cn:"ç¡® å®",tw:"確 å®",en:"OK"},TIPS_TITLE:{cn:"éªè¯ç é误ï¼è¯·éæ°è¾å
¥",tw:"é©è碼é¯èª¤ï¼è«éæ°è¼¸å
¥",en:"Please try again"},ERROR_TITLE:{cn:"éå¸¸æ±æï¼è¿åºéäº",tw:"éå¸¸æ±æï¼éåºé¯äº",en:"Sorry, something wrong"},ERROR_RELOAD:{cn:"å·æ°",tw:"å·æ°",en:"Reload"},ERROR_FEEDBACK:{cn:"åé¦",tw:"åé¥",en:"Feedback"},OVERLAY_INFORM:{cn:"ç»æ£æµä½ å½åæä½ç¯å¢åå¨é£é©ï¼è¯·è¾å
¥éªè¯ç ",tw:"ç¶æª¢æ¸¬ä½ ç¶åæä½ç°å¢åå¨é¢¨éªï¼è«è¼¸å
¥é©è碼",en:"Risk has been detected with your current operating environment, please enter the verification code."},FEEDBACK_URL:{cn:"http://survey.taobao.com/survey/QgzQDdDd",tw:"http://survey.taobao.com/survey/40BtED_K",en:"http://survey.taobao.com/survey/Q0dcgfAv"},CLICK_LABEL_READY:{cn:"ç¹å»ååéªè¯",tw:"黿ååé©è",en:"Click the circle to verify"}};e.i18n=o,e.upLang=i,e.trans=r},function(t,e,n){var i=window,r=document.getElementsByTagName("script"),o="";if(null!=r&&r.length>=1)for(var a=r.length-1;a>=0;a--)if(-1!=r[a].src.indexOf("nch5/index.js")){o=r[a].src;break}var s="";s=-1!=o.indexOf("g.alicdn.com")?(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+
161".alicdn.com/AWSC/AWSC/awsc.js":(_https_?"https:":"")+"//aeis.alicdn.com/AWSC/AWSC/awsc.js";var c,l,u,d={0:{analyze:(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//pin.aliyun.com/get_captcha/ver3",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",checkcode:(_https_?"https:":"")+"//cf.aliyun.com/captcha/checkcode.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.25/um.js",uab_Url:s,umid_serUrl:"https://ynuf.aliapp.org",api_prepare:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/analyze.jsonp"},1:{analyze:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//captcha.alibaba.com/get_captcha/ver3",get_img:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/image/get.jsonp",checkcode:(_https_?"https:":"")+"//cfus.aliyun.com/captcha/checkcode.jsonp",umid_Url:(_https_?"https:":"")+"//aeis.alicdn.com/security/umscript/3.3.25/um.js",uab_Url:s,umid_serUrl:"https://us.ynuf.aliapp.org",api_prepare:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/analyze.jsonp"},2:{analyze:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//pin.aliyun.com/get_captcha/ver3",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",checkcode:(_https_?"https:":"")+"//cfun.aliyun.com/captcha/checkcode.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.25/um.js",uab_Url:s,umid_serUrl:"https://ynuf.aliapp.org",api_prepare:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/analyze.jsonp"}};if("file:"===i.location.protocol)for(c in d)if(d.hasOwnProperty(c))for(u in l=d[c],l)l.hasOwnProperty(u)&&0===l[u].indexOf("//")&&(l[u]="http:"+l[u]);e.URL_MAP=d},function(t,e,n){!function(){var n={VERSION:"2.4.0",Result:{SUCCEEDED:1,NOTRANSITION:2,CANCELLED:3,PENDING:4},Error:{INVALID_TRANSITION:100,PENDING_TRANSITION:200,INVALID_CALLBACK:300},WILDCARD:"*",ASYNC:"async",create:function(t,e){var i="string"==typeof t.initial?{state:t.initial}:t.initial,r=t.terminal||t["final"],o=e||t.target||{},a=t.events||[],s=t.callbacks||{},c={},l={},u=function(t){var e=Array.isArray(t.from)?t.from:t.from?[t.from]:[n.WILDCARD];c[t.name]=c[t.name]||{};for(var i=0;i<e.length;i++)l[e[i]]=l[e[i]]||[],l[e[i]].push(t.name),c[t.name][e[i]]=t.to||e[i];t.to&&(l[t.to]=l[t.to]||[])};i&&(i.event=i.event||"startup",u({name:i.event,from:"none",to:i.state}));for(var d=0;d<a.length;d++)u(a[d]);for(var h in c)c.hasOwnProperty(h)&&(o[h]=n.buildEvent(h,c[h]));for(var h in s)s.hasOwnProperty(h)&&(o[h]=s[h]);return o.current="none",o.is=function(t){return Array.isArray(t)?t.indexOf(this.current)>=0:this.current===t},o.can=function(t){return!this.transition&&void 0!==c[t]&&(c[t].hasOwnProperty(this.current)||c[t].hasOwnProperty(n.WILDCARD))},o.cannot=function(t){return!this.can(t)},o.transitions=function(){return(l[this.current]||[]).concat(l[n.WILDCARD]||[])},o.isFinished=function(){return this.is(r)},o.error=t.error||function(t,e,n,i,r,o,a){throw a||o},o.states=function(){return(0,_keys2.default)(l).sort()},i&&!i.defer&&o[i.event](),o},doCallback:function(t,e,i,r,o,a){if(e)try{return e.apply(t,[i,r,o].concat(a))}catch(s){return t.error(i,r,o,a,n.Error.INVALID_CALLBACK,"an exception occurred in a caller-provided callback function",s)}}
161,beforeAnyEvent:function(t,e,i,r,o){return n.doCallback(t,t.onbeforeevent,e,i,r,o)},afterAnyEvent:function(t,e,i,r,o){return n.doCallback(t,t.onafterevent||t.onevent,e,i,r,o)},leaveAnyState:function(t,e,i,r,o){return n.doCallback(t,t.onleavestate,e,i,r,o)},enterAnyState:function(t,e,i,r,o){return n.doCallback(t,t.onenterstate||t.onstate,e,i,r,o)},changeState:function(t,e,i,r,o){return n.doCallback(t,t.onchangestate,e,i,r,o)},beforeThisEvent:function(t,e,i,r,o){return n.doCallback(t,t["onbefore"+e],e,i,r,o)},afterThisEvent:function(t,e,i,r,o){return n.doCallback(t,t["onafter"+e]||t["on"+e],e,i,r,o)},leaveThisState:function(t,e,i,r,o){return n.doCallback(t,t["onleave"+i],e,i,r,o)},enterThisState:function(t,e,i,r,o){return n.doCallback(t,t["onenter"+r]||t["on"+r],e,i,r,o)},beforeEvent:function(t,e,i,r,o){return!1!==n.beforeThisEvent(t,e,i,r,o)&&!1!==n.beforeAnyEvent(t,e,i,r,o)&&void 0},afterEvent:function(t,e,i,r,o){n.afterThisEvent(t,e,i,r,o),n.afterAnyEvent(t,e,i,r,o)},leaveState:function(t,e,i,r,o){var a=n.leaveThisState(t,e,i,r,o),s=n.leaveAnyState(t,e,i,r,o);return!1!==a&&!1!==s&&(n.ASYNC===a||n.ASYNC===s?n.ASYNC:void 0)},enterState:function(t,e,i,r,o){n.enterThisState(t,e,i,r,o),n.enterAnyState(t,e,i,r,o)},buildEvent:function(t,e){return function(){var i=this.current,r=e[i]||(e[n.WILDCARD]!=n.WILDCARD?e[n.WILDCARD]:i)||i,o=Array.prototype.slice.call(arguments);if(this.transition)return this.error(t,i,r,o,n.Error.PENDING_TRANSITION,"event "+t+" inappropriate because previous transition did not complete");if(this.cannot(t))return this.error(t,i,r,o,n.Error.INVALID_TRANSITION,"event "+t+" inappropriate in current state "+this.current);if(!1===n.beforeEvent(this,t,i,r,o))return n.Result.CANCELLED;if(i===r)return n.afterEvent(this,t,i,r,o),n.Result.NOTRANSITION;var a=this;this.transition=function(){return a.transition=null,a.current=r,n.enterState(a,t,i,r,o),n.changeState(a,t,i,r,o),n.afterEvent(a,t,i,r,o),n.Result.SUCCEEDED},this.transition.cancel=function(){a.transition=null,n.afterEvent(a,t,i,r,o)};var s=n.leaveState(this,t,i,r,o);return!1===s?(this.transition=null,n.Result.CANCELLED):n.ASYNC===s?n.Result.PENDING:this.transition?this.transition():void 0}}};"undefined"!=typeof t&&t.exports&&(e=t.exports=n),e.StateMachine=n}()},function(t,e,n){var i=(_https_?"https:":"")+"//cf.aliyun.com";t.exports={min_width:300,min_height:100,default_stroke_width:16,min_events_count:30,max_retry:3,api_prepare:i+"/scratchCardSlide/prepare.jsonp",api_report:i+"/scratchCardSlide/dataReport.jsonp",api_analyze:i+"/scratchCardSlide/analyze.jsonp",obj_ok:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1OLQ7SFXXXXaoapXXXXXXXXXX-57-70.png",obj_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",obj_size:70,bg_back:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1ml9hPFXXXXcjXFXXXXXXXXXX-100-80.png",bg_front:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1531mPFXXXXc_XpXXXXXXXXXX-100-80.png",err_TIMEOUT_uab:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_TIMEOUT_um:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_fail_prepare:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_fail_analyze:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",grid_size:8,action_timeout:6e4,default_options:{language:"cn",objects:[(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1NYk7SFXXXXcWaXXXXXXXXXXX-57-69.png",(_https_?"https:":"")+"//img.alicdn.com/tfs/TB12q8sSVXXXXcSXFXXXXXXXXXX-57-67.png"],elements:[(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1NYk7SFXXXXcWaXXXXXXXXXXX-57-69.png",(_https_?"https:":"")+"//img.alicdn.com/tfs/TB12q8sSVXXXXcSXFXXXXXXXXXX-57-67.png"],obj_ok:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1OLQ7SFXXXXaoapXXXXXXXXXX-57-70.png",obj_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",bg_front:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABQCAMAAADY1yDdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURefk5w+ruswAAAAfSURBVFjD7cExAQAAAMKg9U9tCU+gAAAAAAAAAIC3AR+QAAFPlUGoAAAAAElFTkSuQmCC",obj_error:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",bg_back_prepared:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1skE5SFXXXXb3XXXXXXXXXXXX-100-80.png",bg_back:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png",bg_back_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png",bg_back_pass:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1KDxCSVXXXXasXFXXXXXXXXXX-100-80.png"}}},function(t,e,n){function i(t,e){var n,i,o=e?{}:t;for(n in t)t.hasOwnProperty(n)&&(i=t[n],"string"==typeof i&&(i=[i]),o[n]='<span class="nc-lang-cnt" data-nc-lang="'+n+'">'+r(h[n],i)+"</span>");return o}function r(t,e){return(t+"").replace(/\\?\{\s*([^{}\s]+)\s*\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):e[n]||""}))}function o(t,e){var n,r=f[t]=f[t]||{};for(n in e=i(e,!0),e)e.hasOwnProperty(n)&&(r[n]=e[n])}function a(t,e){var n,r={},o=f[t]=f[t]||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);for(n in e=i(e,!0),e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r}function s(t,e){return t.replace(/(javascript:NoCaptcha.reset\()(\))/gi,"$1"+e+"$2")}var c,l="javascript:NoCaptcha.reset()",u="https://survey.taobao.c
161om/survey/AMnMVgrS4?type=%TYPE&str=%STR",d="{0}",h={_ggk_guide:"{0}",_ggk_start:d,_ggk_net_err:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_too_fast:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_action_timeout:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_fail:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_success:d,_ggk_loading:"{0}"},f={cn:{_ggk_guide:"请å¨å±å¹ä¸æ»å¨ï¼å®åºä¸¤åªå°é¸¡",_ggk_start:"",_ggk_net_err:["ç½ç»å®å¨ä¸ç»å<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_fail:["åï¼å°é¸¡éè·äº<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_loading:"å è½½ä¸",_ggk_success:"æåæ¨æåå®åºå°é¸¡ï¼ç»§ç»ä¸ä¸æ¥æä½å§"},tw:{_ggk_guide:"è«å¨è¢å¹ä¸æ»åï¼å®åºå
©é»å°é",_ggk_start:"",_ggk_net_err:["網路實å¨ä¸çµ¦å<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_fail:["åï¼å°ééè·äº<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_loading:"å è¼ä¸",_ggk_success:"æåæ¨æåå®åºå°éï¼ç¹¼çºä¸ä¸æ¥æä½å§"},en:{_ggk_guide:"Slide to scratch out two chickens",_ggk_start:"",_ggk_net_err:["Problem with the network<br/>Please",l,"try again","or",u,"report your problem"],_ggk_too_fast:["You were being too fast<br/>Please",l,"try again","or",u,"report your problem"],_ggk_action_timeout:["You've been idled for too long<br/>Please",l,"try again","or",u,"report your problem"],_ggk_fail:["Oops, the chickens ran away<br/>Please",l,"try again","or",u,"report your problem"],_ggk_loading:"Loading",_ggk_success:"Congratulations! You've got the chickens!"},es_ES:{_ggk_guide:"Deslizar para rascar dos pollos",_ggk_start:"",_ggk_net_err:["Hay problemas con la red.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_too_fast:["¡Has sido demasiado rápido.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_action_timeout:["Se ha acabado el tiempo.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_fail:["¡Vaya! Los pollos han huido.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_loading:"Cargando",_ggk_success:"¡Enhorabuena! ¡Has atrapado los pollos!"},pl_PL:{_ggk_guide:"PrzesuÅ, aby zdobyÄ dwa kurczaki",_ggk_start:"",_ggk_net_err:["Problem z sieciÄ
.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_too_fast:["Za szybko.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_action_timeout:["BezczynnoÅÄ trwaÅa zbyt dÅugo.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_fail:["Ups, kurczaki uciekÅy.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_loading:"ÅadujÄ",_ggk_success:"Gratulacje! UdaÅo Ci siÄ zdobyÄ kurczaki!"},fr_FR:{_ggk_guide:"Faites glisser sur l'écran pour gratter deux poulets",_ggk_start:"",_ggk_net_err:["Problème de réseau.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_too_fast:["Vous avez été trop rapide.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_action_timeout:["Délai d'attente dépassé.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_fail:["Oups, les poulets se sont enfuit.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_loading:"Chargement",_ggk_success:"Bravo ! Les poulets sont à vous'!"},de_DE:{_ggk_guide:"Wischen Sie auf dem Bildschim, um zwei Hühner zu kratzen",_ggk_start:"",_ggk_net_err:["Netzwerkproblem. Bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_too_fast:["Zu schnell. Bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_action_timeout:["Zeitüberschreitung, bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_fail:["Hoppla, die Hühner sind davongelaufen.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_loading:"Lade",_ggk_success:"Glückwunsch! Sie haben die Hühner erwischt!"},it_IT:{_ggk_guide:"Scorri sullo schermo per grattare due polli",_ggk_start:"",_ggk_net_err:["Problemi con la rete.",l,"Riprova ","o",u," segnala il problema"],_ggk_too_fast:["Sei stato troppo veloce.",l,"Riprova ","o",u," segnala il problema"],_ggk_action_timeout:["Tempo scaduto.",l,"Riprova ","o",u," segnala il problema"],_ggk_fail:["Ops... i polli sono scappati.",l,"Riprova ","o",u," segnala il problema"],_ggk_loading:"Sto caricando",_ggk_success:"Complimenti! Hai preso i polli!"},ru_RU:{_ggk_guide:"ÐÑоведиÑе палÑÑем по ÑкÑанÑ, ÑÑÐ¾Ð±Ñ Ð²ÑÑаÑапаÑÑ Ð´Ð²ÑÑ
ÑÑплÑÑ",_ggk_start:"",_ggk_net_err:["СÑÑеÑÑвÑÐµÑ Ð¿Ñоблема Ñ ÑеÑÑÑ.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_too_fast:["СлиÑком бÑÑÑÑо.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_action_timeout:["ÐÑÐµÐ¼Ñ Ð¸ÑÑекло.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_fail:["Ðй, ÑÑплÑÑа Ñбежали.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_loading:"ÐагÑÑзка",_ggk_success:"ÐоздÑавлÑем! ÐÑ Ð¿Ð¾Ð¹Ð¼Ð°Ð»Ð¸ ÑÑплÑÑ!"},ja_JP:{_ggk_guide:"ã©ã¤ããã¦2å¹ã®ãã¯ããªãæ¶ãã¾ã",_ggk_start:"",_ggk_net_err:["ãããã¯ã¼ã¯ã«åé¡ãããã¾ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_too_fast:["éããã¾ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_action_timeout:["ã¿ã¤ã ã¢ã¦ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_fail:["ãã£ã¨ããã¯ããªãéãã¦ãã¾ãã¾ãã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_loading:"æ´æ°ãã¦ãã¾ã",_ggk_success:"ããã§ã¨ããããã¾ãï¼ãã¯ããªãæã¾ãããã¾ãã!"},ko_KR:{_ggk_guide:"íë©´ ì를 ë°ì´ì ë ë ë§ë¦¬ë¥¼ ì§ì°ì¸ì",_ggk_start:"",_ggk_net_err:["ë¤í¸ìí¬ì 문ì ê° ììµëë¤ã.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_too_fast:["ë무 ë¹ ë¦
ëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_action_timeout:["ìê°ì´ ì´
161ê³¼ëììµëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_fail:["ì´ë°, ëì´ ë¬ìë¬ìµëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_loading:"ë¡ë©",_ggk_success:"ì¶íí©ëë¤! ëì ì¡ì¼ì
¨êµ°ì!"},ar_SA:{_ggk_guide:"ØØ±ÙÙ Ø§ÙØ´Ø§Ø´Ø© ÙØØ°Ù Ø¯Ø¬Ø§Ø¬ØªÙÙ",_ggk_start:"",_ggk_net_err:["ØªÙØ¬Ø¯ Ù
Ø´ÙÙØ© Ø¨Ø§ÙØ´Ø¨ÙØ©. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_too_fast:["ÙÙØª Ø³Ø±ÙØ¹Ùا Ø¬Ø¯ÙØ§. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_action_timeout:["Ø§ÙØªÙت اÙÙ
ÙÙØ©Ø ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_fail:["Ø¹Ø°Ø±ÙØ§Ø ÙÙØ¯ ÙØ±Ø¨Øª Ø§ÙØ¯Ø¬Ø§Ø¬Ø§Øª. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_loading:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ",_ggk_success:"ØªÙØ§ÙÙÙØ§! ÙÙØ¯ ØØµÙت عÙÙ Ø§ÙØ¯Ø¬Ø§Ø¬ØªÙÙ!"},tr_TR:{_ggk_guide:"2 adet tavuÄun üstünü çizmek için kaydırın",_ggk_start:"",_ggk_net_err:["AÄla ilgili bir sorun. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_too_fast:["Fazla hızlıydınız. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_action_timeout:["Süre doldu, lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_fail:["Tüh, tavuklar kaçtı. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_loading:"Yükleniyor",_ggk_success:"Tebrikler! Tavukları aldınız!"},th_TH:{_ggk_guide:"à¹à¸¥à¸·à¹à¸à¸à¸«à¸à¹à¸²à¸à¸à¹à¸à¸·à¹à¸à¸à¸¹à¸à¹à¸à¸²à¹à¸à¹à¸ªà¸à¸à¸à¸±à¸§",_ggk_start:"",_ggk_net_err:["à¸à¸±à¸à¸«à¸²à¹à¸à¸µà¹à¸¢à¸§à¸à¸±à¸à¹à¸à¸£à¸·à¸à¸à¹à¸²à¸¢.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_too_fast:["à¸à¸¸à¸à¸à¸³à¹à¸£à¹à¸§à¹à¸à¸´à¸à¹à¸.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_action_timeout:["หมà¸à¹à¸§à¸¥à¸².",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_fail:["à¸à¸¸à¹à¸à¸ªà¹ à¹à¸à¹à¸§à¸´à¹à¸à¸«à¸à¸µà¹à¸à¹à¸¥à¹à¸§.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_loading:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸",_ggk_success:"à¸à¸à¹à¸ªà¸à¸à¸à¸§à¸²à¸¡à¸¢à¸´à¸à¸à¸µ! à¸à¸¸à¸à¸à¸±à¸à¹à¸à¹à¹à¸à¹!"},vi_VN:{_ggk_guide:"Trượt trên mà n hình Äá» cà o ra hai con gà ",_ggk_start:"",_ggk_net_err:["Mạng gặp sá»± cá».",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_too_fast:["Bạn Äã quá nhanh.",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_action_timeout:["Hết giá».",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_fail:["Rất tiếc, lÅ© gà Äã chạy Äi rá»i.",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_loading:"Äang tải",_ggk_success:"Xin chúc mừng! Bạn Äã bắt ÄÆ°á»£c gà !"},nl_NL:{_ggk_guide:"Sleep over het scherm om twee kippen weg te strepen",_ggk_start:"",_ggk_net_err:["Probleem met het netwerk.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_too_fast:["U was te snel.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_action_timeout:["Time-out.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_fail:["Oeps, de kippen zijn weggerend.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_loading:"Laden",_ggk_success:"Gefeliciteerd! U hebt de kippen!"},iw_HE:{_ggk_guide:"××××§ ×¢× ×× ×ª ×××¨× ×××ש××£ ×©×ª× ×ª×¨× ××××ת",_ggk_start:"",_ggk_net_err:["×××× ×¢× ××¢××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_too_fast:["×××ת ×××ר ×××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_action_timeout:["×××× ×ª×.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_fail:["××פס, ××ª×¨× ××××ת ×ר××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_loading:"×××¢×",_ggk_success:"××× ×××! ×ש×ת ×ת ××ª×¨× ××××ת!"},in_ID:{_ggk_guide:"Geser untuk menggurat dua ekor ayam",_ggk_start:"",_ggk_net_err:["Masalah dengan jaringan.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_too_fast:["Anda terlalu cepat.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_action_timeout:["Waktu habis.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_fail:["Ups, ayamnya lari.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_loading:"Memuat",_ggk_success:"Selamat! Anda mendapatkan ayamnya!"}};for(c in f)f.hasOwnProperty(c)&&i(f[c]);f.zh_CN=f.cn,f.zh_TW=f.tw,f.en_US=f.en,f.iw_IL=f.iw_HE,f.pt_PT=f.pt_BR,f.ar_MA=f.ar_SA,e.language=f,e.upLang=o,e.replaceLang=a,e.upResetIndex=s},function(t,e,n){function i(t){a||r(),a.style.display="block";var e=c.querySelector("#"+t+"-stage-2");e&&(a.appendChild(e),!0)}function r(){a=c.createElement("div"),a.className="nc-h5-overlay _nc",a.innerHTML='<div class="info"><i class="nc-iconfont icon-warn"></i><span>'+s("OVERLAY_INFORM")+"</span></div>",c.getElementsByTagName("body")[0].appendChild(a)}function o(t){var e=c.querySelector("#"+t+"-stage-3"),n=c.querySelector("#"+t+"-stage-2");n&&e&&a&&(e.parentNode.insertBefore(n,e),a.style.display="none"),!1}var a,s,c=document;t.exports={show:i,hide:o,setTEXT:function(t){s=t}}}
161,function(t,e,n){e.fail=function(t){throw new Error("NC Fail: "+t)}},function(t,e,n){t.exports=function(){var t=navigator.userAgent;return/Windows/.test(t)?"win":/Macintosh/.test(t)?"mac":/Android/.test(t)?"Android":/(iPhone|iPad)/.test(t)?"iOS":/Linux/.test(t)?"linux":"unknow"}},function(t,e,n){function i(t,e){if("string"==typeof e&&-1!==e.indexOf(".")){var n=e.split("."),r=n[0],o=n.slice(1).join(".");return t.hasOwnProperty(r)?i(t[r],o):""}return t.hasOwnProperty(e)?t[e]:""}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.replace(/\{\{([\w\.]+)\}\}/g,(function(t,n){return i(e,n)}))}e.render=r},function(t,e,n){function i(t){var e,n="",i=p.getElementById("umFlash");if(i&&!n)try{e=i.getCookie(t)||"",n=e}catch(r){}try{f.localStorage&&!n&&(e=localStorage[t]||"",n=e)}catch(r){}if(f.navigator.cookieEnabled&&!n){var o=p.cookie.indexOf(t+"=");if(-1!=o){o+=t.length+1;var a=p.cookie.indexOf(";",o);-1==a&&(a=p.cookie.length),e=decodeURIComponent(p.cookie.substring(o,a))||"",n=e}}return n}function r(t,e,n){n=n||7;var i=new Date;i.setTime(i.getTime()+864e5*n),p.cookie=[encodeURIComponent(t),"=",encodeURIComponent(""+e),";expires=",i.toGMTString()].join("")}function o(){var t,e=/Firefox/.test(navigator.userAgent);if(e)try{t=localStorage.getItem(m)}catch(n){}return t=t||i(m),t||(t=g+a(11),r(m,t,3650)),t}function a(t){for(var e="";e.length<t;)e+=Math.random().toString().substr(2);return e.substring(e.length-t)}function s(){var t=f._sec_module=f._sec_module||{};if(u=t.token)return u;var e=o();return u=e+g+a(3),t.token=u,u}function c(){if(d)return d;var t="_umdata";try{f.localStorage&&(d=localStorage.getItem(t))}catch(e){}return d||(d=i(t),d||"")}function l(){return h||(h=c()||s())}var u,d,h,f=window,p=document,m="_uab_collina",g=f.pointman&&pointman._now?pointman._now:(new Date).getTime();e.getSecToken=s,e.getNCToken=l},,,,,function(t,e,n){e=t.exports=n(8)(),e.push([t.i,".nc-container div#nc-loading-circle {\n background: transparent;\n width: 20px;\n height: 20px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n.nc-container div#nc-loading-circle .sk-circle {\n background: transparent;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.nc-container #nc-loading-circle .sk-circle:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 15%;\n height: 15%;\n background-color: #818181;\n border-radius: 100%;\n -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n}\n.nc-container #nc-loading-circle .sk-circle2 {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg);\n}\n.nc-container #nc-loading-circle .sk-circle3 {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg);\n}\n.nc-container #nc-loading-circle .sk-circle4 {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n.nc-container #nc-loading-circle .sk-circle5 {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg);\n}\n.nc-container #nc-loading-circle .sk-circle6 {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg);\n}\n.nc-container #nc-loading-circle .sk-circle7 {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n.nc-container #nc-loading-circle .sk-circle8 {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg);\n}\n.nc-container #nc-loading-circle .sk-circle9 {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg);\n}\n.nc-container #nc-loading-circle .sk-circle10 {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n.nc-container #nc-loading-circle .sk-circle11 {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg);\n}\n.nc-container #nc-loading-circle .sk-circle12 {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg);\n}\n.nc-container #nc-loading-circle .sk-circle2:before {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s;\n}\n.nc-container #nc-loading-circle .sk-circle3:before {\n -webkit-animation-delay: -1s;\n animation-delay: -1s;\n}\n.nc-container #nc-loading-circle .sk-circle4:before {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s;\n}\n.nc-container #nc-loading-circle .sk-circle5:before {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s;\n}\n.nc-container #nc-loading-circle .sk-circle6:before {\n -webkit-animation-delay: -0.7s;\n animation-delay: -0.7s;\n}\n.nc-container #nc-loading-circle .sk-circle7:before {\n -webkit-animation-delay: -0.6s;\n animation-delay: -0.6s;\n}\n.nc-container #nc-loading-circle .sk-circle8:before {\n -webkit-animation-delay: -0.5s;\n animation-delay: -0.5s;\n}\n.nc-container #nc-loading-circle .sk-circle9:before {\n -webkit-animation-delay: -0.4s;\n animation-delay: -0.4s;\n}\n.nc-container #nc-loading-circle .sk-circle10:before {\n -webkit-animation-delay: -0.3s;\n animation-delay: -0.3s;\n}\n.nc-container #nc-loading-circle .sk-circle11:before {\n -webkit-animation-delay: -0.2s;\n animation-delay: -0.2s;\n}\n.nc-container #nc-loading-circle .sk-circle12:before {\n -webkit-animation-delay: -0.1s;\n animation-delay: -0.1s;\n}\n@-webkit-keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n@-webkit-keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n@keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n.nc-container .scale_text2 #nc-loading-circle .sk-circle:before {\n background-color: #fff;\n}\n",""])},function(t,e,n){var i=n(25);"string"==typeof i&&(i=[[t.i,i,""]]),n(10)(i,{}),i.locals&&(t.exports=i.locals)},function(t,e,n){e.names={init:"init",ready:"ready",actionstart:"actionstart",actionend:"actionend",beforeverify:"beforeverify",afterverify:"afterverify",error:"error",fail:"fail",success:"success",refresh:"refresh"}},function(t,e,n){function i(t,e,n){function i(t){o||(o=!0,t||r(),e(t))}var o,a=l[t.foreign]||l[0];a=c.mix(a,t.apimap),UA_Opt.LogVal="_n",u.init(t),UA_Opt.sendMethod=8,UA_Opt.Token=(new Date).getTime()+":"+t.token,c.loadScript(a.uab_Url,(function(t){if(AWSC){var e=function(){if(window.__captchah5__uab){if(clearInterval(n),"timeout"===window.__captchah5__uab)return void i(d);i(t)}};AWSC.use("uab",(function(t,e){"loaded"===t?window.__captchah5__uab=e:"timeout"===t&&(window.__captchah5__uab="timeout")}));var n=setInterval(e,100);e()}else i(d)}),n,t.retryTimes),setTimeout((function(){i(d)}),n)}function r(){}function o(t,e,n){var i=l[t.foreign]||l[0];i=c.mix(i,t.apimap),function(){function r(){m.onload=m.onerror=null,s.body.removeChild(m),-1!=v&&clearTimeout(v),e()}
161for(var o,c=["innerWidth","innerHeight","outerWidth","outerHeight","screenX","screenY","availWidth","availHeight","colorDepth","width","height"],l=[],u=0,d=c.length;d>u;u++)o=c[u],l.push(a[o]||"-");var h=encodeURIComponent(l.join("|")),f=i.umid_serUrl+"/dc.htm?token="+t.token,p=navigator.userAgent;p.indexOf("AppleWebKit")>0&&navigator.vendor&&-1!==navigator.vendor.indexOf("Apple")&&(f=i.umid_serUrl+"/la.htm?token="+t.token);var m,g=f+"&jsInfo="+h;p.indexOf("AppleWebKit")>0&&navigator.vendor&&-1!==navigator.vendor.indexOf("Apple")?(m=s.createElement("iframe"),m.src=g):(m=new Image,m.src=g),s.body.appendChild(m),m.style.cssText="position:absolute;top:-9999px",m.onload=m.onerror=r;var v=setTimeout((function(){v=-1}),n)}()}var a=window,s=document,c=n(0),l=n(12).URL_MAP,u=n(48),d=(n(3),"timeout");e.load=function(t,e){var n,r,a=!0,s=t.options,c=s.timeout||1e4;i(s,(function(i){n=1;var o=i==d;!r&&a&&(o&&(t._err="TIMEOUT_uab"),e(o),r=1)}),c),o(s,(function(i){a=1;var o=i==d;!r&&n&&(o&&(t._err="TIMEOUT_um"),e(o),r=1)}),c)}},function(t,e,n){var i;e.init=function(t,e){function n(t){var n=document.querySelector("#"+e.prefix+"-stage-2");return n.querySelector(t)}var r=0;t.onenterts_verifying=function(){var o=n(".input"),a=o.value;if(o.disabled=!0,a){var s=e.net,c=n(".btn-ok");c.disabled=!0;var l=e.options;n(".icon.clear").style.display="none",n(".icon.refresh").style.display="none",s.postCaptcha(a,i,(function(e,n,i){var o="ok"===e&&n&&n.success&&100===n.result.code,a=n&&n.result||{};a.csessionid=i,o?t.ts_verifypass(a):(r++,"timeout"===e||"number"==typeof l.errorTimes&&r>=l.errorTimes?(t.ts_verifyerror(a),r=0):t.ts_verifyfail(a))}))}else t.ts_verifyfail()},t.onleavets_verifying=function(){var t=n(".btn-ok");t.disabled=!1;var e=n(".input");e.disabled=!1,n(".icon.clear").style.display="block",n(".icon.refresh").style.display="block"}},e.setCaptchaToken=function(t){i=t}},function(t,e,n){var i=n(0);e.init=function(t){var e=t.fsm;e.onenteractiontimeout=function(){i.addClass(t.el,"nc-fail")},e.onleaveactiontimeout=function(){i.removeClass(t.el,"nc-fail")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterdestroyed=function(){t.el.innerHTML=""},e.onleavedestroyed=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onentererror=function(){},e.onleaveerror=function(){}}},function(t,e,n){var i=n(0),r=n(14);e.init=function(t){var e=t.fsm,n=i.mix({},r.default_options,t.options||{});e.onenterfail=function(){i.addClass(t.el,"nc-fail");var e=t.scrape.prefix,r=document.getElementById(e+"container");if(r&&n.bg_back_fail){var o=i.getElementsByClassName("nc-bg",r)[0];o&&(o.style.background="url("+n.bg_back_fail+")")}},e.onleavefail=function(){i.removeClass(t.el,"nc-fail")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterinitially=function(){},e.onleaveinitially=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterload_error=function(){},e.onleaveload_error=function(){}}},function(t,e,n){var i=n(28),r=n(102),o=n(27),a=n(0),s=o.names,c=n(2);e.init=function(t){var e=t.fsm;e.onenterloading=function(){var n=t.scrape||r.create(t);t.scrape=n,c.resolve().then((function(){var e=t._custom_state._on_loading;return e=Array.isArray(e)?e:[],e.length>0?c.all(a.map(e,(function(t){return t()}))):0})).then((function(){return new c((function(e,n){i.load(t,(function(t){return t?n(t):e()}))}))})).then((function(){var e=t._custom_state.loading;return e=Array.isArray(e)?e:[],e.length>0?c.all(a.map(e,(function(t){return t()}))):0})).then((function(){return new c((function(e,i){r.render(n,(function(n){return n?void i(n):(t.fire(s.ready),void e())}))}))})).then((function(){return e.load()}))["catch"]((function(t){e.loaderror()}))},e.onleaveloading=function(){t.on_leave_loading&&t.on_leave_loading()}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterneed_two_step_verify=function(){},e.onleaveneed_two_step_verify=function(){}}},function(t,e,n){var i=n(0),r=n(14);e.init=function(t){var e=t.fsm,n=i.mix({},r.default_options,t.options||{});e.onenterpass=function(){i.addClass(t.el,"nc-pass");var e=(t.index>0&&t.index,t.scrape.prefix),r=document.getElementById(e+"container");if(r&&n.bg_back_pass){var o=i.getElementsByClassName("nc-bg",r)[0];o&&(o.style.background="url("+n.bg_back_pass+")")}},e.onleavepass=function(){i.removeClass(t.el,"nc-pass")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterready=function(){},e.onleaveready=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterreseting=function(){e.resetdone()},e.onleavereseting=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_error=function(){},e.onleavets_error=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_fail=function(){},e.onleavets_fail=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_loading=function(){},e.onleavets_loading=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_pass=function(){},e.onleavets_pass=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_ready=function(){},e.onleavets_ready=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_verifying=function(){},e.onleavets_verifying=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterverifying=function(){},e.onleaveverifying=function(){}}},function(t,e,n){e.init=function(t){window.__captchah5_uaboption=new Object,t.is_Opt?(UA_Opt.MPInterval="undefined"!=typeof UA_Opt.MPInterval&&UA_Opt.MPInterval>0?UA_Opt.MPInterval:4,UA_Opt.MaxMCLog="undefined"!=typeof UA_Opt.MaxMCLog&&UA_Opt.MaxMCLog>0?UA_Opt.MaxMCLog:12,UA_Opt.MaxKSLog="undefined"!=typeof UA_Opt.MaxKSLog&&UA_Opt.MaxKSLog>0?UA_Opt.MaxKSLog:14,UA_Opt.MaxMPLog="undefined"!=typeof UA_Opt.MaxMPLog&&UA_Opt.MaxMPLog>0?UA_Opt.MaxMPLog:5,UA_Opt.MaxFocusLog="undefined"!=typeof UA_Opt.MaxFocusLog&&UA_Opt.MaxFocusLog>0?UA_Opt.MaxFocusLog:6,UA_Opt.SendInterval="undefined"!=typeof UA_Opt.SendInterval&&UA_Opt.SendInterval>0?UA_Opt.SendInterval:5,UA_Opt.SendMethod="undefined"!=typeof UA_Opt.SendMethod&&UA_Opt.SendMethod>0?UA_Opt.SendMethod:8,UA_Opt.GPInterval="undefined"!=typeof UA_Opt.GPInterval&&UA_Opt.GPInterval>0?UA_Opt.GPInterval:1,UA_Opt.MaxGPLog="undefined"!=typeof UA_Opt.MaxGPLog&&UA_Opt.MaxGPLog>0?UA_Opt.MaxGPLog:10,UA_Opt.MaxTCLog="undefined"!=typeof UA_Opt.MaxTCLog&&UA_Opt.MaxTCLog>0?UA_Opt.MaxTCLog:12,UA_Opt.Flag="undefined"!=typeof UA_Opt.Flag&&UA_Opt.Flag>0?UA_Opt.Flag:2980046,UA_Opt.OnlyHost="undefined"!=typeof UA_Opt.OnlyHost?UA_Opt.OnlyHost:1,window.__captchah5_uaboption.MPInterval="undefined"!=typeof UA_Opt.MPInterval&&UA_Opt.MPInterval>0?UA_Opt.MPInterval:4,window.__captchah5_uaboption.MaxMCLog="undefined"!=typeof UA_Opt.MaxMCLog&&UA_Opt.MaxMCLog>0?UA_Opt.MaxMCLog:12,window.__captchah5_uaboption.MaxKSLog="undefined"!=typeof UA_Opt.MaxKSLog&&UA_Opt.MaxKSLog>0?UA_Opt.MaxKSLog:14,window.__captchah5_uaboption.MaxMPLog="undefined"!=typeof UA_Opt.MaxMPLog&&UA_Opt.MaxMPLog>0?UA_Opt.MaxMPLog:5,window.__captchah5_uaboption.MaxFocusLog="undefined"!=typeof UA_Opt.MaxFocusLog&&UA_Opt.MaxFocusLog>0?UA_Opt.MaxFocusLog:6,window.__captchah5_uaboption.SendInterval="undefined"!=typeof UA_Opt.SendInterval&&UA_Opt.SendInterval>0?UA_Opt.SendInterval:5,window.__captchah5_uaboption.SendMethod="undefined"!=typeof UA_Opt.SendMethod&&UA_Opt.SendMethod>0?UA_Opt.SendMethod:8,window.__captchah5_uaboption.GPInterval="undefined"!=typeof UA_Opt.GPInterval&&UA_Opt.GPInterval>0?UA_Opt.GPInterval:1,window.__captchah5_uaboption.MaxGPLog="undefined"!=typeof UA_Opt.MaxGPLog&&UA_Opt.MaxGPLog>0?UA_Opt.MaxGPLog:10,window.__captchah5_uaboption.MaxTCLog="undefined"!=typeof UA_Opt.MaxTCLog&&UA_Opt.MaxTCLog>0?UA_Opt.MaxTCLog:12,window.__captchah5_uaboption.Flag="undefined"!=typeof UA_Opt.Flag&&UA_Opt.Flag>0?UA_Opt.Flag:2980046,window.__captchah5_uaboption.OnlyHost="undefined"!=typeof UA_Opt.OnlyHost?UA_Opt.OnlyHost:1,window.__captchah5_uaboption.MaxMTLog="undefined"!=typeof UA_Opt.MaxMTLog?UA_Opt.MaxMTLog:300,window.__captchah5_uaboption.MinMTDwnLog="undefined"!=typeof UA_Opt.MinMTDwnLog?UA_Opt.MinMTDwnLog:30,window.__captchah5_uaboption.MaxNGPLog="undefined"!=typeof UA_Opt.MaxNGPLog?UA_Opt.MaxNGPLog:200,window.__captchah5_uaboption.sIDs="undefined"!=typeof UA_Opt.sIDs?UA_Opt.sIDs:["_n1t|_n1z|nocaptcha|-stage-1"],window.__captchah5_uaboption.mIDs="undefined"!=typeof UA_Opt.mIDs?UA_Opt.mIDs:["nc-canvas","click2slide-btn"],window.__captchah5_uaboption.hook="undefined"!=typeof UA_Opt.hook?UA_Opt.hook:1,window.__captchah5_uaboption.font="undefined"!=typeof UA_Opt.font?UA_Opt.font:1,window.__captchah5_uaboption.api="undefined"!=typeof UA_Opt.api?UA_Opt.api:1):(UA_Opt.SendInterval=5,UA_Opt.SendMethod=8,UA_Opt.MaxMCLog=12,UA_Opt.MaxKSLog=14,UA_Opt.MaxMPLog=5,UA_Opt.MaxGPLog=10,UA_Opt.MaxTCLog=12,UA_Opt.GPInterval=1,UA_Opt.MPInterval=4,UA_Opt.MaxFocusLog=6,UA_Opt.isSendError=1,UA_Opt.Flag=2980046,UA_Opt.OnlyHost=1,window.__captchah5_uaboption.SendInterval=5,window.__captchah5_uaboption.SendMethod=8,window.__captchah5_uaboption.MaxMCLog=12,window.__captchah5_uaboption.MaxKSLog=14,window.__captchah5_uaboption.MaxMPLog=5,window.__captchah5_uaboption.MaxGPLog=10,window.__captchah5_uaboption.MaxTCLog=12,window.__captchah5_uaboption.GPInterval=1,window.__captchah5_uaboption.MPInterval=4,window.__captchah5_uaboption.MaxFocusLog=6,window.__captchah5_uaboption.isSendError=1,window.__captchah5_uaboption.Flag=2980046,window.__captchah5_uaboption.OnlyHost=1,window.__captchah5_uaboption.MaxMTLog=300,window.__captchah5_uaboption.MinMTDwnLog=30,window.__captchah5_uaboption.MaxNGPLog=200,window.__captchah5_uaboption.sIDs=["_n1t|_n1z|nocaptcha|-stage-1"],window.__captchah5_uaboption.mIDs=["nc-canvas","click2slide-btn"],window.__captchah5_uaboption.hook=1,window.__captchah5_uaboption.font=1,window.__captchah5_uaboption.api=1)}},,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function i(t){return"scrape"===t.type}var r=n(76),o=n(77),a=["on","setEnabled","reset","show","hide","getState"],s={index:0,js_type:"h5",v:n(6).v};e.makeNC=function(){var t=function t(e){this.nc_obj=i(e)?new o.NC2(e,s):new r.
161NoCaptcha,t.__nc=this.nc_obj;var n=this,c=this.nc_obj;a.forEach((function(t){n[t]=function(){return c[t].apply(c,arguments)}})),e&&this.init(e)};t.prototype={init:function(t){return this.__initialized?void(win.console&&win.console.warn("[nch5] Current NC("+this.nc_obj.prefix+") is already initialized!")):(this.nc_obj.init(t),void(this.__initialized=1))}},n(75);var e=n(11);return t.upLang=e.upLang,t.init=function(e){var n;return i(e)?n=new o.NC2(e,s):(n=new r.NoCaptcha,n.init(e)),t.__nc=n,n},a.forEach((function(e){t[e]=function(){var n=t.__nc;return n?n[e].apply(n,arguments):void 0}})),t}},,,,,function(t,e,n){!function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(i){n.innerText=e}}(document,'@font-face{font-family:\'nc-iconfont\';src:url(\'//at.alicdn.com/t/font_skgl4wg07pgv6lxr.eot\');src:url(\'//at.alicdn.com/t/font_skgl4wg07pgv6lxr.eot?#iefix\') format(\'embedded-opentype\'),url(\'//at.alicdn.com/t/font_skgl4wg07pgv6lxr.woff\') format(\'woff\'),url(\'//at.alicdn.com/t/font_skgl4wg07pgv6lxr.ttf\') format(\'truetype\'),url(\'//at.alicdn.com/t/font_skgl4wg07pgv6lxr.svg#iconfont\') format(\'svg\')}.nc-iconfont{font-family:"nc-iconfont" !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale}._nc .icon-close:before{content:"\\e601"}._nc .icon-notclick:before{content:"\\e60a"}._nc .icon-left-triangle:before{content:"\\e60c"}._nc .icon-checkbox:before{content:"\\e602"}._nc .icon-message:before{content:"\\e603"}._nc .icon-onclick:before{content:"\\e60b"}._nc .icon-refresh:before{content:"\\e604"}._nc .icon-list-check:before{content:"\\e605"}._nc .icon-warn:before{content:"\\e600"}._nc .icon-ok:before{content:"\\e606"}._nc .icon-slide-arrow:before{content:"\\e607"}._nc .icon-load-c:before{content:"\\e608"}._nc .icon-close-white:before{content:"\\e609"}._nc .icon-info:before{content:"\\e60d"}._nc{width:100%;height:100%;touch-action:none;font-size:16px}._nc *{padding:0;margin:0;border:none}._nc .icon{line-height:normal;width:30px;height:30px}._nc .icon-slide-arrow{font-size:30px;color:#dbdbdb}._nc .icon-ok{font-size:30px;color:#7ac23c}._nc .icon-close{font-size:30px;color:#fc5620}._nc .icon-load-c{font-size:30px;color:#7ac23c;padding-top:2px}._nc .icon-onclick{font-size:30px;color:#dddddd}._nc .icon-notclick{font-size:30px;color:#dddddd}._nc .icon-left-triangle{color:#dddddd}._nc .stage{position:relative;padding:0 15px}._nc .stage1{height:55px;position:relative}._nc .stage1 .bg-green{background-color:#78c430}._nc .stage1 .bg-red{background-color:#ff5500}._nc .stage1 .slider{position:absolute;height:52px;box-shadow:0 0 3px #999;background-color:#ddd;left:15px;right:15px}._nc .stage1 .label{display:block;width:100%;color:#aaa}._nc .stage1 .track.mv-back{-webkit-transition:width .5s}._nc .stage1 .button.mv-back{-webkit-transition:left .5s}._nc .stage1 .track{position:absolute;left:0;top:0;height:100%;width:0;overflow:hidden}._nc .stage1 .track div{color:#fff}._nc .stage1 .track div,._nc .stage1 .label{line-height:52px;height:52px;text-align:center;font-size:16px}._nc .stage1 .button{position:absolute;left:0;top:0;width:52px;height:52px;background-color:#fff;cursor:pointer}._nc .stage1 .icon{position:absolute;left:10px;top:0;bottom:0;margin:auto}._nc .stage1 .icon.nc-loading{-webkit-animation:_nc_rotate 1s linear infinite}._nc .stage1 .icon.yes{background-position:-60px 0}._nc .stage1 .icon.no{background-position:-90px 0}@media only screen and (min-device-width:320px) and (max-device-height:568px) and (-webkit-device-pixel-ratio:2){._nc .stage1 .icon{bottom:14px}}@-webkit-keyframes _nc_rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}._nc .stage1 .click2slider{box-shadow:0 0 3px #999;position:relative;border-radius:4px;box-sizing:border-box;height:55px}._nc .stage1 .click2slider .click2slide-btn{width:52px;height:52px;position:absolute}._nc .stage1 .click2slider .click2slider-label{width:100%;line-height:52px;
161height:52px;text-align:center;font-size:16px;color:#aeaeae}._nc .stage1 .click2slider .click2slider-label .nc-iconfont.icon-left-triangle{position:relative;left:-10px}._nc .stage1 .click2slider .slider-holder{position:relative;width:auto;height:52px;margin-left:40px}._nc .stage1 .click2slider .slider-holder .slider,._nc .stage1 .click2slider .slider-holder .button,._nc .stage1 .click2slider .slider-holder .label{height:43px}._nc .stage1 .click2slider .slider-holder .slider{top:0;bottom:0;margin:auto}._nc .stage1 .click2slider .slider-holder .slider .track.moving{-moz-transition:.5s ease-out;-webkit-transition:.5s ease-out;-o-transition:.5s ease-out;transition:.5s ease-out}._nc .stage1 .click2slider .slider-holder .slider .button.moving{-moz-transition:.5s ease-out;-webkit-transition:.5s ease-out;-o-transition:.5s ease-out;transition:.5s ease-out}._nc .stage1 .click2slider .slider-holder .button{width:43px}._nc .stage1 .click2slider .slider-holder .button .icon{left:6px}._nc .stage1 .click2slider .slider-holder .label{line-height:43px}._nc .stage1 .click2slider .slider-holder .bg-green,._nc .stage1 .click2slider .slider-holder .bg-red{line-height:43px;height:43px}._nc .stage2 .textbox{width:100%;height:52px;position:relative;background-color:#fff;border-radius:6px;border:1px solid #bbb}._nc .stage2 .textbox .input{position:absolute;left:50px;top:6px;background:none;width:140px;height:40px;outline:none;font-size:18px;color:#333}._nc .stage2 .textbox .placeholder{position:absolute;-webkit-user-select:none;pointer-events:none;left:52px;top:14px;font-size:18px;color:#ccc}._nc .stage2 .textbox .code{position:absolute;right:50px;top:12px;border-left:2px solid #ccc}._nc .stage2 .icon{top:0;position:absolute;top:11px;font-size:30px;color:#999}._nc .stage2 .icon.tip{left:10px}._nc .stage2 .icon.clear{display:none;left:122px}._nc .stage2 .icon.refresh{right:11px}@media only screen and (min-device-width:320px) and (max-device-height:568px) and (-webkit-device-pixel-ratio:2){._nc .stage2 .icon{top:4px}}._nc .stage2 .btn-ok,._nc .stage2 .tips{width:100%;height:46px;margin-top:18px;border-radius:5px;color:#fff;font-size:20px;border:none;outline:none;background-color:#3199f4}._nc .stage2 .btn-ok:disabled{background-color:#ccc}._nc .stage2 .tips{background-color:#333;color:#fff;text-align:center;line-height:46px;display:none}._nc .stage3{height:150px}._nc .stage3 .title{font-size:20px;color:#777;width:100%;text-align:center;margin:40px 0 20px 0}._nc .stage3 .menu{position:absolute;width:50%;text-align:center}._nc .stage3 .menu *{display:inline-block}._nc .stage3 .menu .label{position:relative;font-size:16px;height:32px;line-height:32px;color:#666;top:-8px}._nc .stage3 .menu .icon{margin-right:10px;font-size:30px;color:#999}._nc .stage3 .menu.refresh .icon{background-position:-120px 0}._nc .stage3 .menu.feedback{right:0}._nc .stage3 .menu.feedback .icon{background-position:-150px 0}._nc .stage3 .menu.nc-sep{outline:1px solid #ccc;width:0;height:32px;left:50%}._nc .stage1 .label{background:-webkit-gradient(linear, left top, right top, color-stop(0, #4d4d4d), color-stop(.4, #4d4d4d), color-stop(.5, white), color-stop(.6, #4d4d4d), color-stop(1, #4d4d4d));-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-animation:slidetounlock 3s infinite;-webkit-text-size-adjust:none}._nc .stage1 .label.no-anim{background:none;-webkit-background-clip:inherit;-webkit-text-fill-color:inherit;-webkit-animation:none}._nc .nc-hidden{display:none}@-webkit-keyframes slidetounlock{0%{background-position:-200px 0}100%{background-position:200px 0}}.nc-h5-overlay{position:fixed;z-index:100000;display:none;background:#f0f0f0;top:0;right:0;bottom:0;left:0;font-size:16px}.nc-h5-overlay div.info{display:block;padding:15px 10px;line-height:1.2em}.nc-h5-overlay div.info i.nc-iconfont{color:#f00;width:1.2em;font-size:120%;margin-right:.3em}._nc.nc-h5-overlay .stage2.stage{padding:0}._nc.nc-h5-overlay .stage2.stage div.ope{padding:0 15px}._nc.nc-h5-overlay .stage2 .textbox{border:none;border-radius:0}')},function(t,e,n){function i(){this.prefix="",this.inner_trans={},this.event_listeners={}}var r=window,o=document,a=n(48),s=n(11),c=0,l=n(27),u=n(20);i.prototype={init:function(t){t.token=t.token||u.getNCToken(),t.foreign=t.foreign||"0",t.umidServer=t.umidServer||"r",t.retryTimes=parseInt(t.retryTimes),t.apimap=t.apimap||{},("number"!=typeof t.retryTimes||isNaN(t.retryTimes))&&(t.retryTimes=5),this.options=t,this.fsm=n(82).makeFSM(this),this.net=n(83).makeNet(this.fsm,this),this.net.initialize(),c++,this.prefix=this.options.prefix||"nc_"+c,this.container=o.querySelector(this.options.renderTo),this.fsm.init(),t.initHidden&&this.hide()},getState:function(){return this.fsm.current},has:function(t){var e=this.event_listeners[t];return!!e},on:function(t,e){l.names.hasOwnProperty(t)&&(this.event_listeners[t]=this.event_listeners[t]||[]).push(e)},fire:function(t){var e,n,i=this.event_listeners[t];if(i)for(e=0,n=i.length;n>e&&!1!==i[e].call();e++);},setEnabled:function(t){t?this.slider.enable():this.slider.disable()},setTrans:function(t){return t&&(this.options.trans=t),this.options.trans},getTrans:function(){return this.options.trans},_reset:function(){this.container&&(this.container.style.display="block"),this.options.appkey&&this.options.token&&(UA_Opt.LogVal="_n",a.init(this.options),UA_Opt.Token=(new Date).getTime()+":"+this.options.token,UA_Opt.reload&&UA_Opt.reload())},reset:function(){return this.fsm.can("reset")?(this.fsm.reset(),!0):(r.console,!1)},show:function(){this.container&&(this.container.style.display="block")},hide:function(){this.container&&(this.container.style.display="none")},_TEXT:function(t){return s.trans(this.options.language,t)}},e.NoCaptcha=i},function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,_defineProperty2.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(13),a=n(17),s=n(0),c=n(3),l=n(2),u=[{name:"init",from:"initially",to:"loading"},{name:"load",from:"loading",to:"ready"},{name:"loaderror",from:["loading","ready"],to:"load_error"},{name:"continueloading",from:"load_error",to:"loading"},{name:"verify",from:["ready","fail"],to:"verifying"},{name:"timeout",from:"ready",to:"actiontimeout"},{name:"verifyfail",from:["ready","verifying"],to:"fail"},{name:"verifyerror",from:"verifying",to:"error"},{name:"verifytwostep",from:"verifying",to:"need_two_step_verify"},{name:"verifypass",from:"verifying",to:"pass"},{name:"reset",from:["*"],to:"reseting"},{name:"resetdone",from:"reseting",to:"loading"},{name:"destroy",from:["*"],to:"destroyed"},{name:"showtwostep",from:"need_two_step_verify",to:"ts_loading"},{name:"ts_load",from:"ts_loading",to:"ts_ready"},{name:"ts_verify",from:["ts_ready","ts_fail"],to:"ts_verifying"},{name:"ts_verifyfail",from:"ts_verifying",to:"ts_fail"},{name:"ts_verifyerror",from:"ts_verifying",to:"ts_error"},{name:"ts_verifyerror2",from:"ts_error",to:"error"},{name:"ts_verifypass",from:"ts_verifying",to:"ts_pass"},{name:"ts_passed",from:"ts_pass",to:"pass"}],d=function(){function t(e,n){i(this,t);var r="cn";e.foreign&&(r="en"),this.options=s.mix({},r,e),this.inn_vars=n,n.index++,this.index=n.index,this.jsv=n.v,this.el=document.getElementById(e.renderTo.replace(/^#/,"")),this.el||a.fail("'renderTo'("+e.renderTo+") does not match any node."),this.makeFSM(),this.initStates(),this.event_listeners={},this._custom_state={},this.fsm.init()}return r(t,[{key:"makeFSM",value:function(){var t=this;this.fsm=o.create({initial:"initially",events:u}),this.fsm.onenterstate=function(e,n,i){if("loading"!==i){var r=t._custom_state[i];Array.isArray(r)&&l.all(s.map(r,(function(t){return t()})))}}}},{key:"initStates",value:function(){var t=this;s.map(u,(function(e){n(134)("./"+e.to).init(t)}))}},{key:"on",value:function(t,e){(this.event_listeners[t]=this.event_listeners[t]||[]).push(e)}},{key:"reg",value:function(t,e){this._custom_state[t]=this._custom_state[t]||[],this._custom_state[t].push(e)}},{key:"fire",value:function(t){for(var e=this.event_listeners[t]=this.event_listeners[t]||[],n=0;n<e.length&&!1!==e[n].call();n++);}},{key:"reload",value:function(){this.fsm.reset()}},{key:"reset",value:function(){this.fsm.reset()}},{key:"show",value:function(){this.el.style.display="block"}},{key:"hide",value:function(){this.el.style.display="none"}},{key:"destroy",value:function(){this.is_destroyed||(this.fsm.destroy(),this.is_destroyed=!0)}},{key:"setEnabled",value:function(t){}}
161,{key:"getState",value:function(){}},{key:"_log",value:function(t,e,n){var i=this.options,r=i.token||UA_Opt.Token||("undefined"!=typeof umx&&umx.getToken?umx.getToken():"");c.log({a:i.appkey,t:r,scene:i.scene,ns:"",jsv:this.jsv,usa:navigator.userAgent,p:n,jsType:"h5",os:s.getOS(),em:e,ec:t})}}]),t}();e.NC2=d},function(t,e,n){var i=n(0),r=n(11);e.makeClickSlider=function(t){function e(e){return t.container.querySelector(".click2slider "+e)}function n(t){var n=e(".click2slide-btn .icon");n.className="icon "+t}function o(t){var n=e(".click2slider-label");n.className="click2slider-label "+t}function a(e){k=e,s(),f.innerHTML=r.trans(t.options.language,"LOADING"),t.on("ready",(function(){n("nc-iconfont icon-notclick"),f.innerHTML='<span class="nc-iconfont icon-left-triangle"></span>'+r.trans(t.options.language,"CLICK_LABEL_READY")})),t.on("success",(function(){n("nc-iconfont icon-ok")})),t.on("beforeverify",(function(){n("nc-iconfont icon-close")}))}function s(){g.style.display="none"}function c(){w||(n("nc-iconfont icon-onclick"),f.style.display="none",g.style.display="block",t.fire("actionstart"),l(),n("nc-iconfont icon-load-c nc-loading"),w=!0,setTimeout((function(){w=!1}),100))}function l(){var e=p.getBoundingClientRect(),n=p.clientWidth-v.clientWidth;y.style.width=e.width+"px",t.slider.disable(),v.style.left=n+"px",_.style.width=n+"px",i.addClass(v,"moving"),i.addClass(_,"moving")}function u(){var t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var e in t)if(void 0!==v.style[e])return{end:t[e]};return!1}function d(){m.removeEventListener(b,d),t.fire("actionend"),k&&k()}function h(){m.addEventListener("touchstart",c),m.addEventListener("click",c),v.addEventListener(b,d)}var f,p,m,g,v,_,y,b,w,k;return p=e(".slider-holder .slider"),f=e(".click2slider-label"),m=e(".click2slide-btn"),g=e(".slider-holder"),v=e(".slider .button"),_=e(".slider .track"),y=e(".slider .track div"),b=u().end,{label:f,setClickBtnIcon:n,init:a,enable:h,setLabelIcon:o}}},function(module,exports,__webpack_require__){function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var _slicedToArray=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=(0,_getIterator3.default)(t);!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(c){r=!0,o=c}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,_isIterable3.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_createClass=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,_defineProperty2.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),html=__webpack_require__(81).html,kvTpl=__webpack_require__(19),util=__webpack_require__(0),cfg=__webpack_require__(14),URL_MAP=__webpack_require__(12).URL_MAP,language=__webpack_require__(15).language,replaceLang=__webpack_require__(15).replaceLang,upResetIndex=__webpack_require__(15).upResetIndex,Promise=__webpack_require__(2),Report=__webpack_require__(3),doc=document,getElementById=function(t){return doc.getElementById(t)},styleEl=function(t,e,n){return t.style[e]=n},ERR_CODE_API_FAIL="SCRAPE_API_FAIL",FAIL_PREPARE="fail_prepare",FAIL_ANALYZE="fail_analyze",win=window;__webpack_require__(26),__webpack_require__(132);var obj_w=-1,obj_h=-1,Scrape=function(){function Scrape(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,Scrape),this.nc=t,this.prefix=t.prefix||"nc_"+t.index+"_",this.root=t.el;var n={};if(e.foreign&&(n.language=n.language||"en"),this.options=util.mix({},cfg.default_options,n,t.options||{},e),this._last_x=-1,this._last_y=-1,this.stroke_size=e.stroke_size||cfg.default_stroke_width,this.svr_data={},this._t_action=null,this.is_downgraded=!1,this._lang=language[this.options.language]||language.cn,this.options.upLang)for(var i in this.options.upLang)this._lang=replaceLang(i,this.options.upLang[i]);this.scrapeStart=!1,this.showingHow=!1,this.mousedown=!1,this.reg();var r=URL_MAP[this.options.foreign]||URL_MAP[0];
161this.ajaxURL=util.mix(r,this.options.apimap);var o=this;window.report=function(t){o.report.call(o,t)}}return _createClass(Scrape,[{key:"reg",value:function(){var t=this,e=this.nc;e.reg("_on_loading",(function(){return t.loading_render()})),e.reg("loading",(function(){return t.loading_initGetSize()})),e.reg("verifying",(function(){return t.verifyMethod()})),e.reg("load_error",(function(){return t.on_load_error()})),e.reg("pass",(function(){return t.on_pass()})),e.reg("fail",(function(){return t.on_fail()})),e.reg("reseting",(function(){return t.on_reseting()})),e.reg("actiontimeout",(function(){return t.on_actiontimeout()})),e.on_leave_loading=function(){return t.on_leave_loading()}}},{key:"report",value:function(t){var e=this;Report.log({a:e.options.appkey,t:e.options.token,ns:UA_VERSION,jsv:e.nc.inn_vars.v,scene:e.options.scene,jsType:e.nc.inn_vars.js_type,usa:navigator.userAgent,os:util.getOS(),p:t||""},e.ajaxURL.api_report)}},{key:"loading_initGetSize",value:function(){var t=this,e=this.options.objects;return Promise.all(util.map(e,(function(t){return new Promise((function(e,n){util.getImgSize(t,(function(t,i){t?n([0,0]):e(i)}))}))}))).then((function(e){var n=0,i=0;util.map(e,(function(t){n=Math.max(n,t[0]),i=Math.max(i,t[1])})),t.obj_w=n,t.obj_h=i}))["catch"]((function(e){t.nc.fsm.loaderror()}))}},{key:"on_leave_loading",value:function(){this.hideEl("loading")}},{key:"on_reseting",value:function(){var t=this;return Promise.resolve().then((function(){return window.__captchah5__uab.resetSA&&window.__captchah5__uab.resetSA(),t.loading_render()}))}},{key:"getParamOl",value:function(){var t=this.el_nc_canvas,e=util.getElementLeft(t),n=util.getElementTop(t);return{x:e,y:n}}},{key:"loading_sendInitReq",value:function(){var t=this;return new Promise((function(e,n){var i=t.options,r=t.getParamOl(),o=window.__captchah5__uab.getUA&&window.__captchah5__uab.getUA(window.__captchah5_uaboption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",a=o.length>3?o.slice(0,3):"";util.jsonp(t.ajaxURL.api_prepare,{a:i.appkey,t:i.token,scene:i.scene,jsType:t.nc.inn_vars.js_type,ol:'{"x":'+r.x+',"y":'+r.y+"}",os:util.getOS(),w:t.size.width,h:t.size.height,ow:t.obj_w,oh:t.obj_h,v:t.nc.inn_vars.v,uav:a},(function(i,r){if("ok"===i&&(i=""),!i&&r.success)if(r.result&&r.result.result){try{t._prepare_result=r.result.result,t.parsePrepareData(t._prepare_result)}catch(o){return void n("prepare data parse fail!")}t.putObjects();var a=t.getEl("inform");a.style.display="block",a.innerHTML=t._lang._ggk_start,t.showHow(),t.scrapeStart=!1,util.addClass(t.root,"nc-prepared"),util.removeClass(t.root,"nc-state-load-error");var s=(t.nc.index>0&&t.nc.index,t.getEl("container"));if(s&&t.options.bg_back_prepared){var c=util.getElementsByClassName("nc-bg",s)[0];c&&(c.style.background="url("+t.options.bg_back_prepared+")")}e()}else n("bad data");else n(i||"data fail")}),1e4)}))["catch"]((function(e){t.nc._err=FAIL_PREPARE,t.nc.fsm.loaderror()}))}},{key:"parsePrepareData",value:function parsePrepareData(result){try{result=UA_Opt.decryptJSON(result)}catch(e){throw e}if(!result.success)throw new Error("decrypt fail2!");result=result.data;var data=result.replace(/"/g,'"');eval("data = "+data),this.stroke_size=data.brushWidth,this.svr_data=data,this.session_id=data.sessionId}},{key:"getEl",value:function(t){return getElementById(this.prefix+t)}},{key:"putObjects",value:function(){var t=this,e=this.svr_data,n=e.objectPoints,i=n.points;if(this._points=i,!i||!Array.isArray(i)||i.length!==n.objectPointsCount)throw new Error("Bad data: objectPoints.length is not equal to objectCounts!");var r=this.getEl("bg");r.innerHTML=util.map(i,(function(e,n){var i=e.x,r=e.y,o=i-t.obj_w/2,a=r-t.obj_h/2,s=t.options.elements,c=s[n%s.length];return'<img src="'+c+'" class="nc-scrape-icon" style="left:'+o+"px;top:"+a+'px;">'})).join("\n")}},{key:"getSize",value:function(){var t={width:this.options.width,height:this.options.height},e=this.options.hasOwnProperty("width"),n=this.options.hasOwnProperty("height"),i=this.getEl("nc-canvas");return this.el_nc_canvas=i,e||(t.width=i.offsetWidth),t.width<cfg.min_width&&(t.width=cfg.min_width),styleEl(i,"width",t.width+"px"),n||(t.height=i.offsetHeight),t.height<cfg.min_height&&(t.height=cfg.min_height),styleEl(i,"height",t.height+"px"),t}},{key:"render_bg",value:function(){this.el_bg=this.getEl("bg"),styleEl(this.el_bg,"width",this.size.width+"px"),styleEl(this.el_bg,"height",this.size.height+"px")}},{key:"mkGridId",value:function(t,e){return[this.prefix,"grid",t,e].join("-")}},{key:"render_surface_dg",value:function(){var t=this,e=this.getEl("canvas-dg"),n=this.size.width,i=this.size.height;e.style.width=n+"px",e.style.height=i+"px",e.style.display="block";for(var r=cfg.grid_size,o=Math.ceil(n/r),a=Math.ceil(i/r),s=[],c=this.options.bg_back,l=0;a>l;l++)for(var u=0;o>u;
161u++){var d=r*l,h=r*u,f={width:r+"px",height:r+"px",top:d+"px",left:h+"px","background-image":"url("+c+")","background-position":"-"+h+"px -"+d+"px"},p=this.mkGridId(u,l),m='<div id="'+p+'" class="nc-canvas-dg-grid" style="'+util.obj2style(f)+'"></div>';s.push(m)}e.innerHTML=s.join("");var g=this.getEl("inform");util.on(g,"touchstart",(function(e){return t.eventDown(e)})),util.on(g,"mousedown",(function(e){return t.eventDown(e)})),util.on(e,"touchstart",(function(e){return t.eventDown(e)})),util.on(document,"touchend",(function(e){return t.eventUp(e)})),util.on(e,"touchmove",(function(e){return t.eventMove(e)})),util.on(e,"mousedown",(function(e){return t.eventDown(e)})),util.on(document,"mouseup",(function(e){return t.eventUp(e)})),util.on(e,"mousemove",(function(e){return t.eventMove(e)}))}},{key:"render_surface",value:function(){var t=this;this.hideEl("canvas-dg");var e=this.el_canvas,n=this.ctx,i=this.size;e.width=i.width,e.height=i.height;var r=this.getEl("cover");r.style.width=i.width+"px",r.style.height=i.height+"px";var o=this.getEl("inform");n.fillStyle="#ffffff",n.fillRect(0,0,i.width,i.height);for(var a=this.nc.index>0?this.nc.index:1,s=0;s<util.getElementsByClassName("nc_bg").length;s++){var c=util.getElementsByClassName("nc_bg")[s];c&&this.options.bg_back&&s===a-1&&(c.style.background="url("+this.options.bg_back+")")}var l=new Image;l.src=this.options.bg_front,l.onload=function(){n.globalCompositeOperation="source-over";for(var t=l.naturalWidth?[l.naturalWidth,l.naturalHeight]:[l.width,l.height],e=_slicedToArray(t,2),r=e[0],o=e[1],a=Math.ceil(i.width/r),s=Math.ceil(i.height/o),c=0;s>c;c++)for(var u=0;a>u;u++)n.drawImage(l,u*r,c*o);n.globalCompositeOperation="destination-out"},l.onerror=function(){n.globalCompositeOperation="destination-out"},util.on(o,"touchstart",(function(e){return t.eventDown(e)})),util.on(o,"mousedown",(function(e){return t.eventDown(e)})),util.on(e,"touchstart",(function(e){return t.eventDown(e)})),util.on(document,"touchend",(function(e){return t.eventUp(e)})),util.on(e,"touchmove",(function(e){return t.eventMove(e)})),util.on(e,"mousedown",(function(e){return t.eventDown(e)})),util.on(document,"mouseup",(function(e){return t.eventUp(e)})),util.on(e,"mousemove",(function(e){return t.eventMove(e)}))}},{key:"getPos",value:function(t){var e=doc.documentElement.scrollLeft||doc.body.scrollLeft,n=doc.documentElement.scrollTop||doc.body.scrollTop,i=this.options.renderTo,r=getElementById(0===i.indexOf("#")?i.slice(1):i),o=0,a=0;"absolute"==r.style.position&&(o=r.offsetLeft,a=r.offsetTop);var s=(t.clientX+e||t.pageX)-(o+this.offsetX||0),c=(t.clientY+n||t.pageY)-(a+this.offsetY||0);return[s,c]}},{key:"_clearTo_dg",value:function(t,e){var n=Math.floor(t/cfg.grid_size),i=Math.floor(e/cfg.grid_size),r=this.mkGridId(n,i),o=document.getElementById(r);util.addClass(o,"nc-clean");var a=this._grid_x_count*i+n;this.matrix[a]=0}},{key:"_clearTo",value:function(t,e){if(this.is_downgraded)return this._clearTo_dg(t,e);var n=this.ctx;n.fillStyle="#fff",n.beginPath(),n.arc(t,e,this.stroke_size/2,0,2*Math.PI),n.fill(),this._last_x>=0&&this._last_y>=0&&(n.beginPath(),n.lineWidth=this.stroke_size,n.moveTo(this._last_x,this._last_y),n.lineTo(t,e),n.stroke()),this._last_x=t,this._last_y=e}},{key:"_calcRegion",value:function(t,e,n,i){for(var r=this.ctx.getImageData(t,e,n,i).data,o=0,a=0;a<r.length;a+=4)r[a]&&r[a+1]&&r[a+2]&&r[a+3]&&o++;return 1-o/n/i}},{key:"_calcRegion_dg",value:function(t,e,n,i){for(var r=cfg.grid_size,o=Math.floor(t/r),a=Math.floor(e/r),s=Math.floor(n/r),c=Math.floor(i/r),l=0,u=a;a+c>u;u++)for(var d=o;o+s>d;d++){var h=this._grid_x_count*u+d;l+=this.matrix[h]}return 1-l/s/c}},{key:"calc_dg",value:function(){var t=this,e=void 0,n=void 0,i=this.matrix.reduce((function(t,e){return t+e}),0);e=1-i/this._grid_sum;var r=this.is_downgraded?.7:.9,o=this.obj_w/2*r,a=this.obj_h/2*r;return n=util.map(this._points,(function(e){var n=e.x,i=e.y;return t._calcRegion_dg(n-o,i-a,t.obj_w,t.obj_h)})),{r_all:e,r_objects:n}}},{key:"calc",value:function(){var t=this;if(this.is_downgraded)return this.calc_dg();
161var e=this.size,n=e.width,i=e.height,r=this._calcRegion(0,0,n,i),o=this.obj_w/2,a=this.obj_h/2,s=util.map(this._points,(function(e){var n=e.x,i=e.y;return t._calcRegion(n-o,i-a,t.obj_w,t.obj_h)}));return{r_all:r,r_objects:s}}},{key:"checkEnd",value:function(t,e){var n=0===e.filter((function(t){return.5>t})).length;if((t>.9||n)&&window.__captchah5__uab.isReadyForSC(window.__captchah5_uaboption.mIDs)&&"ready"===this.nc.fsm.current)this.verify();else if(t>.9&&n){try{UA_Opt.sendSA()}catch(r){}win._n_bak=win._n;var i=[win._n_bak,util.obj2str(this._prepare_result)];this.nc._err="3A",this._fail_msg=this._updateSurveyUrl(this._lang._ggk_too_fast,i),this.verify_fail()}}},{key:"verify",value:function(){var t=this.nc.fsm;t.can("verify")&&this.nc.fsm.verify()}},{key:"verifyMethod",value:function verifyMethod(){var _this10=this,options=this.options;return clearTimeout(this._t_action),new Promise((function(resolve,reject){var trans=options.trans||{};"string"==typeof trans&&(trans=eval("0,"+trans));for(var arr=options.elementID||[],i=0;i<arr.length;i++){var id=arr[i],el=doc.getElementById(id);el&&(trans[id]=el.value)}win._n_bak=win._n,util.jsonp(_this10.ajaxURL.api_analyze,{a:options.appkey,t:options.token,s:_this10.session_id,n:window.__captchah5__uab.getUA&&window.__captchah5__uab.getUA(window.__captchah5_uaboption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",p:util.obj2str(options.trans),scene:options.scene,jsType:_this10.nc.inn_vars.js_type,lang:options.language,v:_this10.nc.inn_vars.v},(function(t,e){if("ok"===t&&(t=null),t){_this10.nc._err=_this10.nc._err||FAIL_ANALYZE;var n=_this10._lang._ggk_net_err;return n=_this10._updateSurveyUrl(n),_this10._fail_msg=n,void reject("net fail!")}
161if(e.success&&e.result&&e.result.success){var i=e.result.result;if(0===i.code)return _this10.verify_ok(i),void resolve();_this10.nc._err=_this10.nc._err||"4A"}reject(e.msg)}),1e4)})).then((function(){UA_Opt.reload(),window.__captchah5__uab.resetSA()}))["catch"]((function(t){UA_Opt.reload(),window.__captchah5__uab.resetSA(),_this10.nc._err=_this10.nc._err||"4A",_this10.verify_fail()}))}},{key:"verify_ok",value:function(t){this.verify_result=t,this.nc.fsm.verifypass()}},{key:"verify_fail",value:function(t){this.nc.fsm.verifyfail()}},{key:"_upResetIndex",value:function(t){return upResetIndex(t,this.nc.index)}},{key:"_mkErrInfo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.options,r=t,o=[i.appkey,i.token,i.scene],a="";switch(t){case FAIL_PREPARE:!n&&this.nc._log(FAIL_PREPARE,"prepare timeout","{code: 401}"),r="2A",a="401";break;case FAIL_ANALYZE:!n&&this.nc._log(FAIL_ANALYZE,"analyze timeout","{code: 404}"),r="2D",a="404";break;case"TIMEOUT_uab":!n&&this.nc._log("TIMEOUT_uab","uab.js timeout","{code: 403}"),r="2C",a="403";break;case"TIMEOUT_um":!n&&this.nc._log("TIMEOUT_um","um.js timeout","{code: 402}"),r="2B",a="402"}switch(r){case"3A":o=o.concat(e),!n&&this.nc._log("ERR_SLIDE_TOO_FAST","too few mp","{code: 201, str:"+o+"}"),a="201";break;case"4A":e=[this.session_id,win._n_bak],o=o.concat(e),!n&&this.nc._log(ERR_CODE_API_FAIL+"_analyze","blocked","{code: 101, str:"+o+"}"),a="101";break;case"5A":e=[this.session_id,win._n_bak],o=o.concat(e),!n&&this.nc._log(ERR_CODE_API_FAIL+"_analyze","blocked","{code: 301, str:"+o+"}"),a="301"}return i.failCallback&&i.failCallback("{code: "+a+", str:"+o+"}"),{type:r,str:o.map((function(t){return encodeURIComponent(t)})).join(":-o")}}},{key:"_updateSurveyUrl",value:function(t,e,n){t=t.replace(/%TOKEN\b/,this.options.token);var i=this._mkErrInfo(this.nc._err,e,n);return t=t.replace(/%TYPE\b/,i.type),t=t.replace(/%STR\b/,i.str),this._upResetIndex(t)}},{key:"on_load_error",value:function(t){var e=this;return new Promise((function(t,n){util.addClass(e.root,"nc-state-load-error"),util.removeClass(e.root,"nc-prepared");var i=function n(){var i=e.getEl("load-error"),r=void 0,o=e.getEl("cover");if(e.size&&o){e.showEl("load-error"),r=e.size?e.size.height:o.offsetHeight,i.style.marginTop=(r-80)/2+"px";var a=e._lang._ggk_net_err;a=e._updateSurveyUrl(a),e.getEl("load-error-msg").innerHTML=a,e.tryToUpdateErrIcon(),t()}else setTimeout(n,10)};i()}))}},{key:"on_pass",value:function(){var t=this;return clearTimeout(this._t_action),Promise.resolve().then((function(){t.hideEl("canvas-dg");var e=t.getEl("ok");e.style.marginTop=(t.size.height-80)/2+"px",t.getEl("ok-msg").innerHTML=t._lang._ggk_success;var n=t.options.callback;"function"==typeof n&&n(t.verify_result)}))}},{key:"getErrIcon",value:function(t){return this.options.obj_error}},{key:"tryToUpdateErrIcon",value:function(){var t=this.getEl("fail-icon"),e=this.getEl("load-error-icon");if(e.src=t.src=this.options.obj_fail,this.nc._err){var n=this.getErrIcon(this.nc._err);n&&(e.src=t.src=n)}this.nc._err=""}},{key:"on_fail",value:function(){var t=this;return clearTimeout(this._t_action),Promise.resolve().then((function(){t.is_downgraded&&t.hideEl("canvas-dg");var e=t.getEl("fail");e.style.marginTop=(t.size.height-80)/2+"px";var n=t._fail_msg||t._lang._ggk_fail;n=t._updateSurveyUrl(n,"",!0),t.getEl("fail-msg").innerHTML=n,t._fail_msg="",t.tryToUpdateErrIcon();var i=t.options.error;"function"==typeof i&&i()}))}},{key:"actionTimeout",value:function(){this.nc.fsm.timeout()}},{key:"on_actiontimeout",value:function(){var t=this;return Promise.resolve().then((function(){var e=t.getEl("fail");e.style.marginTop=(t.size.height-80)/2+"px",t.hideEl("canvas-dg"),t.nc._err="5A";var n=t._lang._ggk_action_timeout;n=t._updateSurveyUrl(n),t.getEl("fail-msg").innerHTML=n;var i=t.options.error;"function"==typeof i&&i()}))}},{key:"eventDown",value:function(t){try{t.preventDefault()}catch(o){}if("ready"==this.nc.fsm.current){this.scrapeStart||(this._last_x=-1,this._last_y=-1,this.render_surface()),this.showingHow=!1,this.scrapeStart=!0,this.mousedown=!0,this.getEl("inform").style.display="none",this.offsetX=this.el_nc_canvas.offsetLeft,this.offsetY=this.el_nc_canvas.offsetTop;var e=this.getPos(t),n=_slicedToArray(e,2),i=n[0],r=n[1];this._clearTo(i,r),this._old_onselectstart=doc.body.onselectstart,this._old_ondrag=doc.body.ondrag,this.is_downgraded&&(doc.body.onselectstart=doc.body.ondrag=function(){return!1})}}},{key:"eventMove",value:function(t){var e=this;try{t.preventDefault()}catch(l){}if(this.mousedown){clearTimeout(this._t_action),"ready"===this.nc.fsm.current&&(this._t_action=setTimeout((function(){e.actionTimeout()}),cfg.action_timeout)),t.changedTouches&&(t=t.changedTouches[t.changedTouches.length-1]);var n=this.getPos(t),i=_slicedToArray(n,2),r=i[0],o=i[1];this._clearTo(r,o);var a=this.calc(),s=a.r_all,c=a.r_objects;this.checkEnd(s,c)}}},{key:"eventUp",value:function(){this.mousedown=!1,this._last_x=-1,this._last_y=-1,this.is_downgraded&&(doc.body.onselectstart=this._old_onselectstart,doc.body.ondrag=this._old_ondrag),this._old_onselectstart=null,this._old_ondrag=null}},{key:"mkMatrix",value:function(){var t=this.size,e=t.width,n=t.height,i=cfg.grid_size,r=Math.ceil(e/i),o=Math.ceil(n/i),a=r*o;this._grid_x_count=r,this.matrix=util.fill(new Array(a),1),this._grid_sum=a}},{key:"downgrade",value:function(){this.is_downgraded=!0,this.mkMatrix()}},{key:"bindEvents",value:function(){var t=this,e=this.getEl("btn-refresh"),n=this.getEl("btn-info");util.on(e,"touchend",(function(e){try{e.preventDefault()}catch(e){}t.nc.reset()})),util.on(e,"mouseup",(function(e){if(t.scrapeStart){try{e.preventDefault()}catch(e){}t.nc.reset()}})),util.on(n,"touchend",(function(e){try{e.preventDefault()}catch(e){}t.showHow()})),util.on(n,"mouseup",(function(e){try{e.preventDefault()}catch(e){}t.showHow()}))}},{key:"showHow",value:function(){if(!this.showingHow&&!this.scrapeStart){var t=this.getEl("show-how"),e=[[20,6],[19,7],[18,10],[17,13],[15,15],[13,18],[11,24],[8,27],[6,32],[5,36],[3,41],[2,44],[1,47],[1,49],[0,55],[0,58],[0,64],[0,67],[0,68],[0,68],[1,68],[3,68],[5,68],[6,68],[8,67],[10,65],[12,63],[14,61],[16,59],[18,56],[22,53],[26,48],[31,43],[36,37],[41,31],[45,27],[49,24],[58,17],[61,14],[64,12],[67,9],[69,8],[70,7],[72,6],[73,6],[72,7],[71,9],[70,11],[67,15],[66,20],[63,26],[62,30],[61,35],[60,40],[59,43],[58,45],[58,49],[57,51],[57,52],[57,54],[57,55],[57,56],[57,57],[58,57],[62,57],[65,55],[78,47],[84,43],[89,38],[96,33],[101,28],[105,25],[108,22],[112,19],[115,17],[118,15],[120,13],[122,12],[125,10],[128,9],[129,8],[131,7],[132,7],[133,7],[133,10],[133,15],[132,24],[131,29],[129,35],[128,39],[128,42],[127,45],[127,48],[127,49],[127,51],[127,52],[127,52],[128,52],[131,50],[135,46],[141,42],[149,37],[156,32],[162,26],[167,22],[172,19],[175,16],[177,14],[180,12],[183,11],[185,9],[189,8],[191,6],[193,4],[199,1],[201,0],[203,0],[204,0],[204,2],[204,5],[204,11],[204,15],[201,21],[200,26],[200,32],[199,36],[199,40],[199,44],[199,46],[199,47],[199,48],[200,48],[201,48],[204,47],[206,46],[209,44],[211,43],[215,39],[218,36],[222,33],[226,30],[228,28],[231,24],[234,21],[237,19],[239,17],[241,16],[242,15],[243,14],[244,12],[245,11],[246,10],[247,9]],n=2,i=0,r=0,o=e.length;t.style.display="block",t.style.left="0px";var a=this,s=function s(){return a.scrapeStart?void(t.style.display="none"):(a.showingHow=!0,void(o>i?(t.style.left=e[i][0]+"px",t.style.top=e[i][1]+5+"px",0==i&&a.render_surface(),a._clearTo(e[i][0]+20,e[i][1]+5),i++,setTimeout(s,10)):(r++,n>r?(a._last_x=-1,a._last_y=-1,i=0,setTimeout(s,500)):(a._last_x=-1,a._last_y=-1,t.style.display="none",a.render_surface(),a.showingHow=!1))))};s()}}},{key:"showEl",value:function(t){var e=this.getEl(t);e&&(e.style.display="block")}},{key:"hideEl",value:function(t){var e=this.getEl(t);e&&(e.style.display="none")}},{key:"loading_render",value:function(){var t=this;return new Promise((function(e,n){try{var i=t.nc;if(t.root.innerHTML=kvTpl.render(html,{nc:i,prefix:t.prefix,inform:"",loading:t._lang._ggk_loading,obj_ok:t.options.obj_ok,obj_error:t.options.obj_error}),t.showEl("loading"),t.hideEl("load-error"),t.getEl("title").innerHTML=t._lang._ggk_guide,t.bindEvents(),t.size=t.getSize(),t.getEl("container").style.width=t.size.width+"px",t.render_bg(),t.el_canvas=t.getEl("canvas"),!t.el_canvas.getContext||!(t.ctx=t.el_canvas.getContext("2d")))return t.downgrade(),t.render_surface_dg(),void e();t.render_surface(),e()}catch(r){n(r)}}))}},{key:"render",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return 0},e=this.loading_sendInitReq();e.then(t)["catch"](t)}}]),Scrape}();module.exports=Scrape},function(t,e,n){var i=n(79);e.create=function(t,e){return new i(t,e)}},function(t,e,n){e.html='<div id="{{prefix}}container" class="nc-container nc-scrape"><div id="{{prefix}}for-tmp" class="nc-for-tmp"></div><div id="{{prefix}}toolbar" class="nc-toolbar"><span id="{{prefix}}title" class="nc-title">{{title}}</span> <span class="nc-btns"><i id="{{prefix}}btn-refresh" class="nc_iconfont icon_refresh"></i> <i id="{{prefix}}
161btn-info" class="nc_iconfont icon_info"></i></span></div><div id="{{prefix}}nc-canvas" class="nc-canvas"><div id="{{prefix}}bg" class="nc-bg"></div><div id="{{prefix}}cover" class="nc-cover"><canvas id="{{prefix}}canvas" class="nc-canvas-node"></canvas><div id="{{prefix}}canvas-dg" class="nc-canvas-dg" unselectable="on" style="-moz-user-select:none;-webkit-user-select:none" onselectstart="return false"></div><div id="{{prefix}}ok" class="nc-verify-ok"><img src="{{obj_ok}}" alt=""><div><i class="nch5_iconfont icon_success"></i><span id="{{prefix}}ok-msg"></span></div></div><div id="{{prefix}}fail" class="nc-verify-fail"><img id="{{prefix}}fail-icon" src="{{obj_error}}" alt=""><div><i class="nch5_iconfont icon_error"></i><span id="{{prefix}}fail-msg"></span></div></div><div id="{{prefix}}loading" class="nc-loading"><div id="nc-loading-circle" class="nc-loading-circle"><div class="sk-circle1 sk-circle"></div><div class="sk-circle2 sk-circle"></div><div class="sk-circle3 sk-circle"></div><div class="sk-circle4 sk-circle"></div><div class="sk-circle5 sk-circle"></div><div class="sk-circle6 sk-circle"></div><div class="sk-circle7 sk-circle"></div><div class="sk-circle8 sk-circle"></div><div class="sk-circle9 sk-circle"></div><div class="sk-circle10 sk-circle"></div><div class="sk-circle11 sk-circle"></div><div class="sk-circle12 sk-circle"></div></div><span>{{loading}}</span></div><div id="{{prefix}}inform" class="nc-inform">{{inform}}</div><div id="{{prefix}}load-error" class="nc-load-error"><img id="{{prefix}}load-error-icon" src="{{obj_error}}" alt=""><div><i class="nch5_iconfont icon_error"></i><span id="{{prefix}}load-error-msg">Load Error!</span></div></div></div><div id="{{prefix}}show-how" class="nc-show-how"></div></div></div>'},function(t,e,n){var i=n(13).StateMachine;e.makeFSM=function(t){var e=i.create({initial:"initially",events:[{name:"init",from:"initially",to:"loading"},{name:"load",from:"loading",to:"ready"},{name:"loaderror",from:"loading",to:"load_error"},{name:"continueloading",from:"load_error",to:"loading"},{name:"verify",from:["ready","fail"],to:"verifying"},{name:"verifyfail",from:"verifying",to:"fail"},{name:"verifyerror",from:"verifying",to:"error"},{name:"verifytwostep",from:"verifying",to:"need_two_step_verify"},{name:"verifypass",from:"verifying",to:"pass"},{name:"reset",from:["ready","verifying","fail","error","pass","ts_ready","ts_verifying","ts_fail","ts_error","ts_pass"],to:"reseting"},{name:"resetdone",from:"reseting",to:"ready"},{name:"showtwostep",from:"need_two_step_verify",to:"ts_loading"},{name:"ts_load",from:"ts_loading",to:"ts_ready"},{name:"ts_verify",from:["ts_ready","ts_fail"],to:"ts_verifying"},{name:"ts_verifyfail",from:"ts_verifying",to:"ts_fail"},{name:"ts_verifyerror",from:"ts_verifying",to:"ts_error"},{name:"ts_verifyerror2",from:"ts_error",to:"error"},{name:"ts_verifypass",from:"ts_verifying",to:"ts_pass"},{name:"ts_passed",from:"ts_pass",to:"pass"}]});return e.onleavestate=function(t,e,n){},e.onenterstate=function(t,e,n){},n(89).init(e,t),n(88).init(e,t),n(92).init(e,t),n(99).init(e,t),n(87).init(e,t),n(86).init(e,t),n(91).init(e,t),n(90).init(e,t),n(96).init(e,t),n(98).init(e,t),n(29).init(e,t),n(95).init(e,t),n(94).init(e,t),n(97).init(e,t),n(93).init(e,t),n(85).init(e,t),e}},function(t,e,n){var i=window,r=document,o=n(0),a=n(6).v,s=n(12).URL_MAP;e.makeNet=function(t,e){function n(t,e,n,i){o.jsonp(t,e,(function(t,e){n(t,e)}),i,p.retryTimes||5)}function c(){var t={a:p.appkey,t:p.token,scene:p.scene,lang:p.language,v:"v1.2.11",href:location.href.split("?")[0],comm:"{}"},e={};try{navigator.connection?(e.cntp=encodeURIComponent(navigator.connection.type),e.cneftp=encodeURIComponent(navigator.connection.effectiveType)):e.cn="ns"}catch(i){e.cn="e_cn"}try{if(navigator.getBattery){var r=_promise2.default.race([navigator.getBattery().then((function(t){t?(e.btryc=t.charging,e.btryl=t.level):e.btry="ns"})),new _promise2.default((function(t,e){setTimeout((function(){return e("abort")}),1e3)}))]);r.then((function(i){t.comm=(0,_stringify2.default)(e),n(g.initialize,t,(function(t,e){"ok"===t&&e&&e.success&&e.result.code,!e||!e.result||e.result}),p.timeout||1e4)}))["catch"]((function(i){e.btry="ab",t.comm=(0,_stringify2.default)(e),n(g.initialize,t,(function(t,e){"ok"===t&&e&&e.success&&e.result.code,!e||!e.result||e.result}),p.timeout||1e4)}))}else e.btry="ns",t.comm=(0,_stringify2.default)(e),n(g.initialize,t,(function(t,e){"ok"===t&&e&&e.success&&e.result.code,!e||!e.result||e.result}),p.timeout||1e4)}catch(i){e.btry="e_btry",t.comm=(0,_stringify2.default)(e),n(g.initialize,t,(function(t,e){"ok"===t&&e&&e.success&&e.result.code,!e||!e.result||e.result}),p.timeout||1e4)}}function l(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e}function u(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e}function d(t){return parseInt(t.offsetWidth+"a"+t.offsetHeight+"a"+l(t)+"a"+u(t),11).toString(16)}function h(t){var o=p.trans||{};"string"==typeof o&&(o=JSON.parse(o));var s,c=p.elementID||[];
161for(s in c.forEach((function(t){var e=r.getElementById(t);e&&(o[t]=e.value)})),e.inner_trans)e.inner_trans.hasOwnProperty(s)&&(o[s]=e.inner_trans[s]);try{o.ncSessionID=d(document.getElementById(e.prefix+"-stage-1").getElementsByTagName("div")[0])}catch(l){o.ncSessionID="0"}try{UA_Opt.sendSA()}catch(l){}var u={a:p.appkey,t:p.token,scene:p.scene,p:(0,_stringify2.default)(o),n:window.__captchah5__uab.getUA&&window.__captchah5__uab.getUA(window.__captchah5_uaboption)||i._n||(UA_Opt.LogVal?i[UA_Opt.LogVal]:"")||"",v:a};n(g.analyze,u,(function(n,i){var r="ok"===n&&i&&i.success&&0===i.result.code,o=i&&i.result?i.result:{};e.sid=m=o.csessionid,e.captcha_type=o.value,t({pass:r,state:n},o)}),p.timeout||1e4)}function f(t,e,r,o){var s={checkcode:(0,_stringify2.default)({answer:t+"",captchaToken:e+""}),csessionid:m,a:p.appkey,t:p.token,n:window.__captchah5__uab.getUA&&window.__captchah5__uab.getUA(window.__captchah5_uaboption)||i._n||(UA_Opt.LogVal?i[UA_Opt.LogVal]:"")||"",v:a};n(g.checkcode,s,(function(t,e){r(t,e,m)}),o||1e4)}var p=e.options,m="",g=s[p.foreign]||s[0];return g=o.mix(g,p.apimap),{initialize:c,postSlide:h,postCaptcha:f,send:n}}},function(t,e,n){var i=document,r=n(0),o=n(11);e.makeSlider=function(t){function e(e){return t.container.querySelector(e)}function n(e){if("ready"==t.fsm.current&&!k){k=!0,h();var n=v.getBoundingClientRect();M=n.left,S=M+n.width-p,b.style.width=n.width+"px";var r=(e.touches?e.touches[0]:e).clientX;x=M-r,i.addEventListener("touchmove",s,!0),i.addEventListener("mousemove",s,!0),t.fire("actionstart")}}function a(){k=!1,i.removeEventListener("touchmove",s,!0),i.removeEventListener("mousemove",s,!0),S>T&&(r.addClass(_,"mv-back"),r.addClass(y,"mv-back"),_.style.left="0",y.style.width=m+"px",setTimeout((function(){r.delClass(_,"mv-back"),r.delClass(y,"mv-back")}),500))}function s(e){e.preventDefault(),T=(e.touches?e.touches[0]:e).clientX+x,M>T?T=M:T>S&&(T=S);var n=T-M;_.style.left=n+"px",y.style.width=n+m+"px",T==S&&(a(),t.fire("actionend"),g&&g())}function c(){_.addEventListener("touchstart",n),_.addEventListener("touchend",a),_.addEventListener("mousedown",n),_.addEventListener("mouseup",a),w.addEventListener("touchstart",n),w.addEventListener("touchend",a),w.addEventListener("mousedown",n),w.addEventListener("mouseup",a)}function l(){_.removeEventListener("touchstart",n),_.removeEventListener("touchend",a),_.removeEventListener("mousedown",n),_.removeEventListener("mouseup",a),w.removeEventListener("touchstart",n),w.removeEventListener("touchend",a),w.removeEventListener("mousedown",n),w.removeEventListener("mouseup",a)}function u(t,n){var i=e(".track div");i.innerHTML=t,i.className="bg-"+(n||"green")}function d(t){var n=e(".slider .icon");n.className="icon "+t}function h(){p=_.getBoundingClientRect().width,m=p/2}function f(n){g=n,v=e(".slider"),_=e(".button"),y=e(".track"),b=e(".track div"),w=e(".label"),w.innerHTML=o.trans(t.options.language,"LOADING");var i=navigator.userAgent;i&&i.match(/Android/)&&r.addClass(w,"no-anim")}var p,m,g,v,_,y,b,w,k,x,T,M,S;return{init:f,enable:c,disable:l,setTitle:u,setIcon:d}}},function(t,e,n){e.init=function(t,e){t.onreset=function(){},t.onbeforereset=function(){e._reset(),e.ui.init(),e.slider.enable()},t.onafterreset=function(){}}},function(t,e,n){e.init=function(t,e){t.onentererror=function(){e.ui.setActiveStage(3,"00"),e.fire("error"),e.options.error()},t.onleaveerror=function(){}}},function(t,e,n){e.init=function(t,e){t.onenterfail=function(){function t(t,e,n){for(var i=0,r=e,o=t.length;o>r;)i<<=3,i+=t.charCodeAt(r),r+=n;0>i&&(i=0-i);for(var a="0123456789abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",s="";i>=58;){var c=i%58;s=a[c]+s,i=(i-c)/58}s+=a[(new Date).getDate()];var l=s.length;return l>6&&(s=s.substr(l-6,l-1)),s}e.ui.setActiveStage(3,"error:"+t(e.options.token,0,1)),e.fire("fail")}}},function(t,e,n){e.init=function(t,e){t.onenterload_error=function(){e.ui.setActiveStage(3,"01"),e.options.error("load_error")}}},function(t,e,n){var i=window,r=n(28),o=n(0),a=n(101).makeUI;e.init=function(t,e){function n(t){return e._TEXT(t)}function s(t){return e.container.querySelector(t)}t.onenterloading=function(){var t=(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/mtb/lib-windvane/2.1.1/windvane.js";/windvane/i.test(navigator.userAgent)&&o.loadScript(t,(function(){i.WindVane&&i.WindVane.call("aluWVJSBridge","getUmid",{},(function(t){e.inner_trans.nc_wvumidToken=t.aluUmid}))})),e.ui=a(e),e.ui.init(),e._reset(),r.load(e,(function(t){t?e.fsm.loaderror():e.fsm.load()}));var c=s(".label");c.innerHTML=n("LOADING"),e.slider.setIcon("nc-loading nc-iconfont icon-load-c"),e.fire("init")},t.onleaveloading=function(){e.slider.setIcon("nc-iconfont icon-slide-arrow")}}}
161,function(t,e,n){e.init=function(t,e){t.onenterneed_two_step_verify=function(n,i,r,o){e.fire("beforeverify"),t.showtwostep(o)}}},function(t,e,n){e.init=function(t,e){function n(t){return e._TEXT(t)}t.onenterpass=function(t,i,r,o){e.slider.setTitle(n("CHECK_Y")),e.slider.setIcon("yes nc-iconfont icon-ok");var a,s=e.options;o.sig=o.sig||o.value,"function"==typeof s.callback&&s.callback(o),e.fire("success"),a=!s.hasOwnProperty("bannerHidden")||s.bannerHidden,setTimeout((function(){a&&(e.container.style.display="none")}),1e3)},t.onleavepass=function(){}}},function(t,e,n){e.init=function(t,e){function n(t){return e._TEXT(t)}function i(t){return e.container.querySelector(t)}t.onenterready=function(){var t=i(".label"),r=(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1GhJXQXXXXXa.XFXXXXXXXXXX-75-52.png";e.options.isClick?t.innerHTML="":t.innerHTML=n("SLIDER_LABEL");var o=e.container.querySelector(".stage2 .textbox"),a=o&&o.querySelector("input");if(o.addEventListener("click",(function(){a&&a.focus()}),!1),e.options.logo){var s=e.container.querySelector(".slider");s.style.backgroundImage="url("+r+")",s.style.backgroundPosition="0 50%",s.style.backgroundRepeat="repeat-x"}e.fire("ready")}}},function(t,e,n){e.init=function(t,e){t.onenterreseting=function(){t.resetdone()}}},function(t,e,n){var i=n(16);e.init=function(t,e){t.onenterts_error=function(){i.hide(e.prefix),t.ts_verifyerror2()}}},function(t,e,n){e.init=function(t,e){function n(t){var n=document.querySelector("#"+e.prefix+"-stage-2");return n.querySelector(t)}function i(){var t=n(".tips");t.style.display="block",r>0&&clearTimeout(r),r=setTimeout((function(){r=-1,t.style.display="none"}),2e3)}var r=-1;t.onenterts_fail=function(){var t=e.options;UA_Opt.Token=(new Date).getTime()+":"+t.token,UA_Opt.reload&&UA_Opt.reload(),e.updateImg(),i(),e.fire("fail")}}},function(t,e,n){var i=n(12).URL_MAP,r=n(0),o=n(29);e.init=function(t,e){function n(t){return e._TEXT(t)}function a(t){var n=document.querySelector("#"+e.prefix+"-stage-2");return n.querySelector(t)}function s(){function i(){var t=0===g.value.length;w.style.display=t?"block":"none",v.style.display=t?"none":"block",y.disabled=t}function s(n){var i={style:e.captcha_type||"default",identity:l.appkey,sessionid:e.sid,rnd:Math.random(),token:l.token};r.jsonp(u.get_img,i,(function(e,i){var r="ok"===e&&i&&i.success&&0===i.result.resultCode;r?n(i):"timeout"===e&&t.can("verifyerror")&&t.verifyerror(i)}),l.timeout||1e4)}function d(n){return"ts_verifying"!==t.current&&(n&&e.fire("beforeverify"),void s((function(t){c=t,p=c.result.data[0],o.setCaptchaToken(c.result.captchaToken),m.src=p,m.onload=function(){n&&e.fire("afterverify")},f()})))}function h(){d(!0)}function f(){g.value="",g.focus(),i()}var p,m=a("img.code"),g=a(".input"),v=a(".icon.clear"),_=a(".icon.refresh"),y=a(".btn-ok"),b=a(".tips"),w=a(".placeholder");w.innerHTML=n("TEXTBOX_HOLDER"),y.innerHTML=n("BUTTON_OK"),b.innerHTML=n("TIPS_TITLE"),_.onclick=h,m.onclick=h,e.updateImg=d;var k=0,x=10;m.onerror=function(){var t=-1===p.indexOf("?")?"?":"&";k++,k>=e.options.retryTimes||k>x||setTimeout((function(){m.src=p+t+"__retry="+k}),1e3)},d()}var c,l=e.options,u=i[l.foreign]||i[0];u=r.mix(u,l.apimap),t.onenterts_loading=function(i,r,o,a){e.slider.setTitle(n("CHECK_N"),"red"),e.slider.setIcon("no nc-iconfont icon-close"),e.options.verifycallback&&e.options.verifycallback(a),setTimeout((function(){e.ui.setActiveStage(2),s(),t.ts_load()}),500)}}},function(t,e,n){var i=n(16);e.init=function(t,e){t.onenterts_pass=function(e,n,i,r){r.sig=r.sig||r.value,t.ts_passed(r)},t.onleavets_pass=function(){i.hide(e.prefix),e.ui.setActiveStage(1)}}},function(t,e,n){e.init=function(t,e){t.onenterts_ready=function(){e.fire("afterverify");var t=e.container.querySelector(".stage2 .textbox"),n=t&&t.querySelector("input");n&&n.focus()}}},function(t,e,n){e.init=function(t,e){function n(t){return e._TEXT(t)}t.onenterverifying=function(){function t(){e.net.postSlide((function(t,n){return-1!=i&&clearTimeout(i),"timeout"===t.state?void(e.fsm.can("verifyerror")&&e.fsm.verifyerror(n)):(t.pass?e.fsm.can("verifypass")&&e.fsm.verifypass(n):300==n.code?e.fsm.can("verifyfail")&&e.fsm.verifyfail(n):e.fsm.can("verifytwostep")&&e.fsm.verifytwostep(n),void(e.options.isClick&&e.slider.setIcon("nc-hidden")))}))}e.slider.disable();var i=setTimeout((function(){i=-1,e.slider.setTitle(n("LOADING")),e.slider.setIcon("nc-loading nc-iconfont icon-load-c")}),100);t()},t.onleaveverifying=function(){}}},function(t,e,n){var i='\n<div class="slider">\n <div class="label"></div>\n <div class="track">\n <div class="bg-green"></div>\n </div>\n <div class="button">\n <div class="icon nc-iconfont icon-slide-arrow" id="@prefix@_n1t"></div>\n </div>\n</div>
161 \n'.trim(),r='\n<div class = "click2slider">\n <div class="click2slide-btn">\n <div class="icon nc-iconfont icon-load-c nc-loading"></div>\n </div>\n <div class="click2slider-label"></div>\n <div class="slider-holder">\n <div class="slider">\n <div class="label"></div>\n <div class="track">\n <div class="bg-green"></div>\n </div>\n <div class="button">\n <div class="icon nc-iconfont icon-slide-arrow" id="@prefix@_n1t"></div>\n </div>\n </div> \n </div>\n</div>\n'.trim();e.make=function(t,e){var n=e?r:i,o=('\n <div class="_nc">\n <div id="@prefix@-stage-1" class="stage stage1">\n '+n+'\n </div>\n <div id="@prefix@-stage-2" class="stage stage2">\n <div class="textbox">\n <input class="input" type="text" maxlength="6" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">\n <div class="placeholder">éªè¯ç </div>\n <div class="icon tip nc-iconfont icon-message"></div>\n <div class="icon clear nc-iconfont icon-close-white"></div>\n <div class="icon refresh nc-iconfont icon-refresh"></div>\n <img class="code" width="100" height="30" alt="">\n </div>\n <div class="ope">\n <button class="btn-ok"></button>\n <div class="tips"></div>\n </div>\n </div>\n <div id="@prefix@-stage-3" class="stage stage3">\n <div class="title"></div>\n <span class="menu refresh">\n <span class="icon nc-iconfont icon-refresh"></span><span class="label"></span>\n </span>\n <span class="menu nc-sep"></span>\n <span class="menu feedback">\n <span class="icon nc-iconfont icon-message"></span><span class="label"></span>\n </span>\n </div>\n </div>\n ').trim();return o.replace(/\n\s+/g,"\n").replace(/@prefix@/g,t)}},function(t,e,n){var i=window,r=n(16),o=n(100),a=n(84),s=n(78),c=n(0);e.makeUI=function(t){function e(e){return t._TEXT(e)}function n(e){return t.container.querySelector(e)}function l(){var e;for(e=1;3>=e;e++)m[e]=n("#"+t.prefix+"-stage-"+e),m[e].style.display="none";u(1)}function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=m[g];if(i&&(i.style.display="none"),i=m[e],i.style.display="block",g=e,3==e&&n){var r=document.getElementById(t.prefix+"-stage-3").getElementsByTagName("div")[0].innerHTML;r=r+"("+n+")",document.getElementById(t.prefix+"-stage-3").getElementsByTagName("div")[0].innerHTML=r}2!==e||v.inline||d()}function d(){r.setTEXT(e),r.show(t.prefix)}function h(){function i(){var e=0===a.value.length;u.style.display=e?"block":"none","ts_verifying"===t.fsm.current&&(e=!0),c.disabled=e,s.style.display=e?"none":"block"}function r(){a.value="",a.focus(),i()}function o(){a.value&&t.fsm.ts_verify()}var a=n(".input"),s=n(".icon.clear"),c=n(".btn-ok"),l=n(".tips"),u=n(".placeholder");u.innerHTML=e("TEXTBOX_HOLDER"),c.innerHTML=e("BUTTON_OK"),l.innerHTML=e("TIPS_TITLE"),setInterval(i,500),a.onkeydown=function(t){13==t.keyCode?o():setTimeout(i,0)},a.onchange=i,s.onclick=r,c.onclick=o}function f(){var r=n(".menu.refresh"),o=n(".menu.feedback");r.onclick=function(){"load_error"==t.getState()?(t.fsm.continueloading(),t.slider.enable()):t.has("refresh")?t.fire("refresh"):location.reload()},o.onclick=function(){i.open(e("FEEDBACK_URL"))},n(".stage3 .title").innerHTML=e("ERROR_TITLE"),n(".menu.refresh .label").innerHTML=e("ERROR_RELOAD"),n(".menu.feedback .label").innerHTML=e("ERROR_FEEDBACK")}var p={},m=[],g=-1,v=t.options;return p.setActiveStage=u,p.init=function(){r.hide(t.prefix),t.container.innerHTML=o.make(t.prefix,v.isClick),c.addClass(t.container,"nc-container"),t.slider=a.makeSlider(t),t.slider.init((function(){t.fsm.can("verify")&&t.fsm.verify()})),t.options.isClick&&(t.click2slider=s.makeClickSlider(t),t.click2slider.init((function(){t.fsm.can("verify")&&t.fsm.verify()})),t.click2slider.enable()),h(),f(),l()},p}},function(t,e,n){n(103);var i=n(80);e.create=function(t){return i.create(t,{})},e.render=function(t,e){t.render(e)}},function(t,e,n){!function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(i){n.innerText=e}}(document,".nc-wrapper.nc-ggk{font-size:12px}")},,,,function(t,e,n){!function(){var t=window;if(!t.__nch5){t.UA_Opt=t.UA_Opt||{};var e=n(70).makeNC,i=e();i.v=n(6).v,t.__nch5=i,t.NoCaptcha=i}}()},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){e=t.exports=n(8)(),e.push([t.i,'@font-face {\n font-family: \'
161nc_iconfont\';\n src: url("//at.alicdn.com/t/font_1465353706_4784257.eot");\n src: url("//at.alicdn.com/t/font_1465353706_4784257.eot?#iefix") format(\'embedded-opentype\'), url("//at.alicdn.com/t/font_1465353706_4784257.woff") format(\'woff\'), url("//at.alicdn.com/t/font_1465353706_4784257.ttf") format(\'truetype\'), url("//at.alicdn.com/t/font_1465353706_4784257.svg#iconfont") format(\'svg\');\n}\n@font-face {\n font-family: \'nch5_iconfont\'; /* project id 384029 */\n src: url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.eot");\n src: url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.eot?#iefix") format(\'embedded-opentype\'), url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.woff") format(\'woff\'), url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.ttf") format(\'truetype\'), url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.svg#ncpc_iconfont") format(\'svg\');\n}\n.nc_iconfont {\n font-family: "nc_iconfont";\n color: hl_color;\n font-size: 16px;\n font-style: normal;\n}\n.nch5_iconfont {\n font-family: "nch5_iconfont";\n color: hl_color;\n font-size: 16px;\n font-style: normal;\n}\n.nc-container.nc-scrape {\n font-size: 12px;\n line-height: 20px;\n}\n.nc-container.nc-scrape a {\n text-decoration: none;\n}\n.nc-container.nc-scrape .nc-toolbar {\n height: 30px;\n line-height: 30px;\n font-size: 14px;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns {\n float: right;\n height: 30px;\n overflow: hidden;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i {\n cursor: pointer;\n margin-right: 5px;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i.icon_refresh {\n color: #999;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i.icon_info {\n color: #e98e0c;\n}\n.nc-container.nc-scrape .nc-canvas {\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n.nc-container.nc-scrape .nc-canvas .nc-bg {\n position: absolute;\n background: #ccc url("https://img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png");\n}\n.nc-container.nc-scrape .nc-canvas .nc-bg img.nc-scrape-icon {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover {\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover canvas {\n position: absolute;\n background-color: transparent;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg-grid {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg-grid.nc-clean {\n background: transparent !important;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-inform,\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-loading {\n font-size: 14px;\n position: absolute;\n z-index: 1;\n top: 50%;\n width: 100%;\n line-height: 1.3em;\n text-align: center;\n margin-top: -0.65em;\n color: #3c3c3c;\n}\n.nc-container.nc-scrape .nc-canvas .nc-show-how {\n position: absolute;\n display: none;\n background: url("https://img.alicdn.com/tfs/TB1aWq8gTvI8KJjSspjXXcgjXXa-53-49.png") no-repeat;\n width: 68px;\n height: 53px;\n z-index: 10;\n top: 20px;\n margin-left: 20px;\n}\n.nc-container.nc-scrape .nc-canvas .nc-tblogin-verify-success {\n text-align: center;\n vertical-align: middle;\n line-height: 31px;\n}\n.nc-container.nc-scrape .nc-canvas .nc-tblogin-verify-success .icon_ok {\n margin-right: 10px;\n color: #78c430;\n position: relative;\n top: 1px;\n}\n.nc-container.nc-scrape .nc-verify-ok,\n.nc-container.nc-scrape .nc-verify-fail,\n.nc-container.nc-scrape .nc-load-error {\n display: none;\n margin: auto;\n height: 80px;\n width: 250px;\n text-align: center;\n font-size: 14px;\n color: #3c3c3c;\n line-height: 20px;\n}\n.nc-container.nc-scrape .nc-verify-ok img,\n.nc-container.nc-scrape .nc-verify-fail img,\n.nc-container.nc-scrape .nc-load-error img {\n display: block;\n vertical-align: middle;\n float: left;\n margin-right: 10px;\n}\n.nc-container.nc-scrape .nc-verify-ok>div,\n.nc-container.nc-scrape .nc-verify-fail>div,\n.nc-container.nc-scrape .nc-load-error>div {\n width: 180px;\n height: 80px;\n display: table;\n}\n.nc-container.nc-scrape .nc-verify-ok>div .icon_error,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_error,\n.nc-container.nc-scrape .nc-load-error>div .icon_error,\n.nc-container.nc-scrape .nc-verify-ok>div .icon_success,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_success,\n.nc-container.nc-scrape .nc-load-error>div .icon_success {\n position: relative;\n top: 18px;\n margin-right: 5px;\n color: #f40;\n}\n.nc-container.nc-scrape .nc-verify-ok>div .icon_success,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_success,\n.nc-container.nc-scrape .nc-load-error>div .icon_success {\n color: #78c430;\n}\n.nc-container.nc-scrape .nc-verify-ok>div>span,\n.nc-container.nc-scrape .nc-verify-fail>div>span,\n.nc-container.nc-scrape .nc-load-error>div>span {\n display: table-cell;\n vertical-align: middle;\n height: 80px;\n text-align: left;\n}\n.nc-pass .nc-container.nc-scrape .nc-toolbar .nc-btns {\n visibility: hidden;\n}\n.nc-pass .nc-container.nc-scrape .nc-bg img {\n display: none;\n}\n.nc-pass .nc-container.nc-scrape .nc-cover canvas,\n.nc-pass .nc-container.nc-scrape .nc-cover .nc-verify-fail {\n display: none;\n}\n.nc-pass .nc-container.nc-scrape .nc-verify-ok {\n display: block;\n}\n.nc-pass .nc-container.nc-scrape .nc-canvas .nc-bg {\n background: #bbf0c6 url("https://img.alicdn.com/tfs/TB1KDxCSVXXXXasXFXXXXXXXXXX-100-80.png");\n}\n.nc-fail .nc-container.nc-scrape .nc-canvas .nc-bg {\n background: url("https://img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png");\n}\n.nc-fail .nc-container.nc-scrape .nc-canvas .nc-bg img {\n display: none;\n}\n.nc-fail .nc-container.nc-scrape .nc-cover canvas,\n.nc-fail .nc-container.nc-scrape .nc-cover .nc-verify-ok,\n.nc-fail .nc-container.nc-scrape .nc-cover .nc-canvas-dg {\n display: none;\n}\n.nc-fail .nc-container.nc-scrape .nc-verify-fail {\n display: block;\n}\n.nc-state-load-error .nc-container.nc-scrape .nc-load-error {\n display: block;\n}\n.nc-state-load-error .nc-container.nc-scrape canvas,\n.nc-state-load-error .nc-container.nc-scrape .nc-inform {\n display: none;\n}\n.nc-prepared .nc-container.nc-scrape .nc-bg {\n background: #ccc url("https://img.alicdn.com/tfs/TB1skE5SFXXXXb3XXXXXXXXXXXX-100-80.png");\n}\n.nc-container.nc-scrape #nc-loading-circle {\n margin: 0 10px;\n}\n.nc-container.nc-scrape #nc-loading-circle .sk-circle:before {\n background-color: #fff;\n}\n',""])},,function(t,e,n){var i=n(130);"string"==typeof i&&(i=[[t.i,i,""]]),n(10)(i,{}),i.locals&&(t.exports=i.locals)},,function(t,e,n){function i(t){return n(r(t))}function r(t){var e=o[t];
161if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var o={"./actiontimeout":30,"./actiontimeout.js":30,"./destroyed":31,"./destroyed.js":31,"./error":32,"./error.js":32,"./fail":33,"./fail.js":33,"./initially":34,"./initially.js":34,"./load_error":35,"./load_error.js":35,"./loading":36,"./loading.js":36,"./need_two_step_verify":37,"./need_two_step_verify.js":37,"./pass":38,"./pass.js":38,"./ready":39,"./ready.js":39,"./reseting":40,"./reseting.js":40,"./ts_error":41,"./ts_error.js":41,"./ts_fail":42,"./ts_fail.js":42,"./ts_loading":43,"./ts_loading.js":43,"./ts_pass":44,"./ts_pass.js":44,"./ts_ready":45,"./ts_ready.js":45,"./ts_verifying":46,"./ts_verifying.js":46,"./verifying":47,"./verifying.js":47};i.keys=function(){return(0,_keys2.default)(o)},i.resolve=r,t.exports=i,i.id=134}])};chkQuerySet(),cond()>GREY_RATIO?STABLE_ACTION():NEW_ACTION()}},5270:function(t,e,n){"use strict";var i=n("c532"),r=n("c401"),o=n("2e67"),a=n("2444");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5294:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,291 bytes, lines 162-163
162//! moment.js locale configuration 163var e=["جÙÙØ±Û","ÙØ±ÙرÛ","٠ارÚ","اپرÛÙ","٠ئÛ","جÙÙ","جÙÙØ§Ø¦Û","اگست","ست٠بر","Ø§Ú©ØªÙØ¨Ø±","ÙÙ٠بر","دس٠بر"],n=["Ø§ØªÙØ§Ø±","Ù¾ÛØ±","Ù ÙÚ¯Ù","بدھ","ج٠عرات","ج٠عÛ","ÛÙØªÛ"],i=t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شا٠/,isPM:function(t){return"شا٠"===t},meridiem:function(t,e,n){return t<12?"صبØ":"شا٠"},calendar:{sameDay:"[آج بÙÙØª] LT",nextDay:"[ک٠بÙÙØª] LT",nextWeek:"dddd [بÙÙØª] LT",lastDay:"[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT",lastWeek:"[گذشتÛ] dddd [بÙÙØª] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s ÙØ¨Ù",s:"ÚÙØ¯ سÛÚ©ÙÚ",ss:"%d سÛÚ©ÙÚ",m:"اÛÚ© Ù ÙÙ¹",mm:"%d Ù ÙÙ¹",h:"اÛÚ© Ú¯Ú¾ÙÙ¹Û",hh:"%d Ú¯Ú¾ÙÙ¹Û",d:"اÛÚ© دÙ",dd:"%d دÙ",M:"اÛÚ© ٠اÛ",MM:"%d ٠اÛ",y:"اÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(t){return t.replace(/Ø/g,",")},postformat:function(t){return t.replace(/,/g,"Ø")},week:{dow:1,doy:4}});return i}))},"52bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
164//! moment.js locale configuration 165var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},5319:function(t,e,n){"use strict";var i=n("d784"),r=n("d039"),o=n("825a"),a=n("a691"),s=n("50c4"),c=n("577e"),l=n("1d80"),u=n("8aa5"),d=n("0cb2"),h=n("14c3"),f=n("b622"),p=f("replace"),m=Math.max,g=Math.min,v=function(t){return void 0===t?t:String(t)},_=function(){return"$0"==="a".replace(/./,"$0")}(),y=function(){return!!/./[p]&&""===/./[p]("a","$0")}(),b=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));i("replace",(function(t,e,n){var i=y?"$":"$0";return[function(t,n){var i=l(this),r=void 0==t?void 0:t[p];return void 0!==r?r.call(t,i,n):e.call(c(i),t,n)},function(t,r){var l=o(this),f=c(t);if("string"===typeof r&&-1===r.indexOf(i)&&-1===r.indexOf("$<")){var p=n(e,l,f,r);if(p.done)return p.value}var _="function"===typeof r;_||(r=c(r));var y=l.global;if(y){var b=l.unicode;l.lastIndex=0}var w=[];while(1){var k=h(l,f);if(null===k)break;if(w.push(k),!y)break;var x=c(k[0]);""===x&&(l.lastIndex=u(f,s(l.lastIndex),b))}for(var T="",M=0,S=0;S<w.length;S++){k=w[S];for(var C=c(k[0]),E=m(g(a(k.index),f.length),0),L=[],A=1;A<k.length;A++)L.push(v(k[A]));var O=k.groups;if(_){var P=[C].concat(L,E,f);void 0!==O&&P.push(O);var D=c(r.apply(void 0,P))}else D=d(C,f,E,L,O,r);E>=M&&(T+=f.slice(M,E)+D,M=E+C.length)}return T+f.slice(M)}]}),!b||!_||y)},"53a8":function(t,e){t.exports=i;var n=Object.prototype.hasOwnProperty;function i(){for(var t={},e=0;e<arguments.length;e++){var i=arguments[e];for(var r in i)n.call(i,r)&&(t[r]=i[r])}return t}},"53ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}},5402:function(t,e,n){"use strict";var i=n("00ce"),r=n("545e"),o=n("2714"),a=i("%TypeError%"),s=i("%WeakMap%",!0),c=i("%Map%",!0),l=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),h=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),m=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n},g=function(t,e){var n=m(t,e);return n&&n.value},v=function(t,e,n){var i=m(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},_=function(t,e){return!!m(t,e)};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new a("Side channel does not contain "+o(t))},get:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(t)return l(t,i)}else if(c){if(e)return h(e,i)}else if(n)return g(n,i)},has:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(t)return d(t,i)}else if(c){if(e)return p(e,i)}else if(n)return _(n,i);return!1},set:function(i,r){s&&i&&("object"===typeof i||"function"===typeof i)?(t||(t=new s),u(t,i,r)):c?(e||(e=new c),f(e,i,r)):(n||(n={key:{},next:null}),v(n,i,r))}};return i}},"545e":function(t,e,n){"use strict";var i=n("00ce"),r=n("3eb1"),o=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"===typeof n&&o(t,".prototype.")>-1?r(n):n}},5524:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}
165));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");var i=n("ade3");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){Object(i["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"55c9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 166//! moment.js locale configuration 167var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return o}))},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),r=n("241c"),o=n("7418"),a=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},"576c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
168//! moment.js locale configuration 169var e=t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"577e":function(t,e,n){var i=n("d9b5");t.exports=function(t){if(i(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},5787:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setId=e.warn=e.getLang=e.isMobile=void 0;var i=n("1765"),r=d(i),o=n("94b2"),a=d(o),s=n("f28c"),c=d(s),l=n("c995"),u=d(l);function d(t){return t&&t.__esModule?t:{default:t}}e.isMobile=r.default,e.getLang=a.default,e.warn=c.default,e.setId=u.default},5899:function(t,e){t.exports="\t\n\v\f\r  áââââââ ââââââ¯âã\u2028\u2029\ufeff"},"58a8":function(t,e,n){var i=n("1d80"),r=n("577e"),o=n("5899"),a="["+o+"]",s=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),l=function(t){return function(e){var n=r(i(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},"598a":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
170//! moment.js locale configuration 171var e=["ÞÞ¬ÞÞªÞÞ¦ÞÞ©","ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©","ÞÞ§ÞÞ¨ÞÞª","ÞÞÞÞ°ÞÞ©ÞÞª","ÞÞ","ÞÞ«ÞÞ°","ÞÞªÞÞ¦ÞÞ¨","ÞÞ¯ÞÞ¦ÞÞ°ÞÞª","ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª","ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª"],n=["ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦","ÞÞ¯ÞÞ¦","ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦","ÞÞªÞÞ¦","ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨","ÞÞªÞÞªÞÞª","ÞÞ®ÞÞ¨ÞÞ¨ÞÞª"],i=t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ÞÞ|ÞÞ/,isPM:function(t){return"ÞÞ"===t},meridiem:function(t,e,n){return t<12?"ÞÞ":"ÞÞ"},calendar:{sameDay:"[ÞÞ¨ÞÞ¦ÞÞª] LT",nextDay:"[ÞÞ§ÞÞ¦ÞÞ§] LT",nextWeek:"dddd LT",lastDay:"[ÞÞ¨ÞÞ°ÞÞ¬] LT",lastWeek:"[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT",sameElse:"L"},relativeTime:{future:"ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s",past:"ÞÞªÞÞ¨ÞÞ° %s",s:"ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ Þ¬ÞÞ°",ss:"d% ÞÞ¨ÞÞªÞÞ°ÞÞª",m:"ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",mm:"ÞÞ¨ÞÞ¨ÞÞª %d",h:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",hh:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d",d:"ÞÞªÞÞ¦ÞÞ¬ÞÞ°",dd:"ÞÞªÞÞ¦ÞÞ° %d",M:"ÞÞ¦ÞÞ¬ÞÞ°",MM:"ÞÞ¦ÞÞ° %d",y:"ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°",yy:"ÞÞ¦ÞÞ¦ÞÞª %d"},preparse:function(t){return t.replace(/Ø/g,",")},postformat:function(t){return t.replace(/,/g,"Ø")},week:{dow:7,doy:12}});return i}))},"599d":function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return L}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("dl",{ref:"badger",staticClass:"component-badger-accordion"},[t._t("default")],2):t._e()},r=[],o=n("53ca");n("159b");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function l(){return l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},l.apply(this,arguments)}function u(t){return d(t)||h(t)||f()}function d(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}Array.from||(Array.from=function(){var t=Object.prototype.toString,e=function(e){return"function"===typeof e||"[object Function]"===t.call(e)},n=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e},i=Math.pow(2,53)-1,r=function(t){var e=n(t);return Math.min(Math.max(e,0),i)};return function(t){var n=this,i=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,a=arguments.length>1?arguments[1]:void 0;if("undefined"!==typeof a){if(!e(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}var s,c=r(i.length),l=e(n)?Object(new n(c)):new Array(c),u=0;while(u<c)s=i[u],l[u]=a?"undefined"===typeof o?a(s,u):a.call(o,s,u):s,u+=1;return l.length=c,l}}()),function(t,e){var n=t.body||t.documentElement,i=n.style,r="",o="";""==i.WebkitAnimation&&(r="-webkit-"),""==i.MozAnimation&&(r="-moz-"),""==i.OAnimation&&(r="-o-"),""==i.WebkitTransition&&(o="-webkit-"),""==i.MozTransition&&(o="-moz-"),""==i.OTransition&&(o="-o-"),Object.defineProperty(Object.prototype,"onCSSAnimationEnd",{value:function(t){var e=function e(n){t(),n.target.removeEventListener(n.type,e)};return this.addEventListener("webkitAnimationEnd",e),this.addEventListener("mozAnimationEnd",e),this.addEventListener("oAnimationEnd",e),this.addEventListener("oanimationend",e),this.addEventListener("animationend",e),(""==r&&!("animation"in i)||"0s"==getComputedStyle(this)[r+"animation-duration"])&&t(),this},enumerable:!1,writable:!0}),Object.defineProperty(Object.prototype,"onCSSTransitionEnd",{value:function(t){var e=function e(n){t(),n.target.removeEventListener(n.type,e)};return this.addEventListener("webkitTransitionEnd",e),this.addEventListener("mozTransitionEnd",e),this.addEventListener("oTransitionEnd",e),this.addEventListener("transitionend",e),this.addEventListener("transitionend",e),(""==o&&!("transition"in i)||"0s"==getComputedStyle(this)[o+"transition-duration"])&&t(),this},enumerable:!1,writable:!0})}(document,window);var p=function(){function t(e,n){var i=this;a(this,t);var r="string"===typeof e?document.querySelector(e):e;if(null!=r){var o={headerClass:".js-badger-accordion-header",panelClass:".js-badger-accordion-panel",panelInnerClass:".js-badger-accordion-panel-inner",hiddenClass:"-ba-is-hidden",activeClass:"-ba-is-active",get hidenClass(){return this.hiddenClass},initializedClass:"badger-accordion--initialized",get initalisedClass(){return this.initializedClass},headerDataAttr:"data-badger-accordion-header-id",openMultiplePanels:!1,openHeadersOnLoad:[],addListenersOnInit:!0,headerOpenLabel:"",headerCloseLabel:"",roles:!0};this.settings=l({},o,n),this.container=r;var s=Array.from(this.container.children),c=s.filter((function(t){return!t.classList.contains(i.settings.panelClass.substr(1))}));this.headers=c.reduce((function(t,e){var n,r=Array.from(e.children).filter((function(t){return t.classList.contains(i.settings.headerClass.substr(1))}));return t=(n=[]).concat.apply(n,u(t).concat([r])),t}),[]),this.panels=s.filter((function(t){return t.classList.contains(i.settings.panelClass.substr(1))})),this.toggleEl=void 0!==this.settings.toggleEl?Array.from(this.container.querySelectorAll(this.settings.toggleEl)):this.headers,this.states=[].map.call(this.headers,(function(){return{state:"closed"}})),this.ids=[].map.call(this.headers,(function(){return{id:Math.floor(1e6*Math.random()+1)}})),this.toggling=!1,this.container?this.init():console.log("Something is wrong with you markup...")}}return c(t,[{key:"init",value:function(){this._setupAttributes(),this._initalState(),this.calculateAllPanelsHeight(),this._insertDataAttrs(),this._addListeners(),this._finishInitialization()}},{key:"_setRole",value:function(t,e){("boolean"===typeof this.settings.roles&&this.settings.roles||void 0!==this.settings.roles[t]&&!1!==this.settings.roles[t])&&e.setAttribute("role",t)}},{key:"_initalState",value:function(){var t=this.settings.openHeadersOnLoad;t.length&&this._openHeadersOnLoad(t),this._renderDom()}},{key:"_insertDataAttrs",value:function(){var t=this;
171this.headers.forEach((function(e,n){e.setAttribute(t.settings.headerDataAttr,n)}))}},{key:"_finishInitialization",value:function(){this.container.classList.add(this.settings.initializedClass),this._setRole("presentation",this.container)}},{key:"_addListeners",value:function(){if(this.settings.addListenersOnInit){var t=this;this.headers.forEach((function(e,n){e.addEventListener("click",(function(){t.handleClick(e,n)}))}))}}},{key:"handleClick",value:function(t,e){var n=this.settings.headerClass.substr(1);t.classList.contains(n)&&!1===this.toggling&&(this.toggling=!0,this.setState(e),this._renderDom())}},{key:"setState",value:function(t){var e=this,n=this.getState();this.settings.openMultiplePanels||n.filter((function(e,n){n!=t&&(e.state="closed")})),n.filter((function(n,i){if(i==t){var r=e.toggleState(n.state);return n.state=r}}))}},{key:"_renderDom",value:function(){var t=this;this.states.filter((function(e,n){"open"===e.state&&t.open(n,!1)})),this.states.filter((function(e,n){"closed"===e.state&&t.close(n,!1)}))}},{key:"open",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.setState(t),this.togglePanel("open",t)}},{key:"close",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.setState(t),this.togglePanel("closed",t)}},{key:"openAll",value:function(){var t=this;this.headers.forEach((function(e,n){t.togglePanel("open",n)}))}},{key:"closeAll",value:function(){var t=this;this.headers.forEach((function(e,n){t.togglePanel("closed",n)}))}},{key:"togglePanel",value:function(t,e){var n=this;if(void 0!==t&&void 0!==e)if("closed"===t){var i=this.headers[e],r=this.panels[e];r.classList.add(this.settings.hiddenClass),r.classList.remove(this.settings.activeClass),i.classList.remove(this.settings.activeClass),i.setAttribute("aria-expanded",!1),r.onCSSTransitionEnd((function(){return n.toggling=!1}))}else if("open"===t){var o=this.headers[e],a=this.panels[e];a.classList.remove(this.settings.hiddenClass),a.classList.add(this.settings.activeClass),o.classList.add(this.settings.activeClass),o.setAttribute("aria-expanded",!0),a.onCSSTransitionEnd((function(){return n.toggling=!1}))}}},{key:"getState",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e.length&&Array.isArray(e)){var n=e.map((function(e){return t.states[e]}));return n}return this.states}},{key:"toggleState",value:function(t){if(void 0!==t)return"closed"===t?"open":"closed"}},{key:"_openHeadersOnLoad",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e.length&&Array.isArray(e)){var n=e.filter((function(t){return void 0!=t}));n.forEach((function(e){t.setState(e)}))}}},{key:"_setupAttributes",value:function(){this._setupHeaders(),this._setupPanels(),this._insertDataAttrs()}},{key:"_setPanelHeight",value:function(){this.calculateAllPanelsHeight()}},{key:"calculatePanelHeight",value:function(t){var e=t.querySelector(this.settings.panelInnerClass),n=e.offsetHeight;return t.style.maxHeight="".concat(n,"px")}},{key:"calculateAllPanelsHeight",value:function(){var t=this;this.panels.forEach((function(e){t.calculatePanelHeight(e)}))}},{key:"_setupHeaders",value:function(){var t=this;this.headers.forEach((function(e,n){e.setAttribute("id","badger-accordion-header-".concat(t.ids[n].id)),e.setAttribute("aria-controls","badger-accordion-panel-".concat(t.ids[n].id))}))}},{key:"_setupPanels",value:function(){var t=this;this.panels.forEach((function(e,n){e.setAttribute("id","badger-accordion-panel-".concat(t.ids[n].id)),e.setAttribute("aria-labelledby","badger-accordion-header-".concat(t.ids[n].id)),!0!==t.settings.roles&&!1===t.settings.roles.region||t._setRole("region",e)}))}}]),t}(),m=p;function g(t){var e=document.createDocumentFragment();while(t.firstChild){var n=t.removeChild(t.firstChild);e.appendChild(n)}t.parentNode.replaceChild(e,t)}var v={name:"BadgerAccordion",props:{options:{type:Object,default:function(){return{}}},icons:{default:function(){return{opened:"-",closed:"+"}}},iconComponent:{default:null}},data:function(){return{accordion:null,itemsReady:!1,show:!0,rerendering:!1,children:this.$children}},watch:{"accordion.states":{handler:function(t){this.calculateAllPanelsHeight(),this.$children.forEac
171h((function(e,n){"object"==Object(o["a"])(t[n])&&e.changeState("open"==t[n].state)}))},deep:!0}},created:function(){var t=this;this.$on("item:ready",(function(){g(t.$refs.badger.querySelector(".badger-accordion-item")),t.accordion=new m(t.$refs.badger,t.options||{}),t.$forceUpdate()}))},mounted:function(){var t=this;this.$watch((function(){return t.children.length}),(function(e){t.rerender()}))},methods:{init:function(){this.accordion.init()},getState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.accordion.getState(t)},open:function(t){this.accordion.open(t)},close:function(t){this.accordion.close(t)},togglePanel:function(t,e){this.accordion.togglePanel(t,e)},openAll:function(){this.accordion.openAll()},closeAll:function(){this.accordion.closeAll()},calculateAllPanelsHeight:function(){this.accordion.calculateAllPanelsHeight()},calculatePanelHeight:function(t){this.accordion.calculatePanelHeight(t)},rerender:function(){var t=this;this.rerendering||(this.rerendering=!0,this.show=!1,this.$nextTick((function(){t.show=!0,t.$nextTick((function(){t.rerendering=!1}))})))}}},_=v,y=n("2877"),b=Object(y["a"])(_,i,r,!1,null,null,null),w=b.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"badger-accordion-item"},[n("dt",{staticClass:"badger-accordion__header"},[n("div",{staticClass:"js-badger-accordion-header"},[n("button",{staticClass:"badger-accordion-toggle"},[n("span",{staticClass:"badger-accordion-title"},[t._t("header",(function(){return[t._v("Collapse-Title")]}))],2),""!==t.icon&&t.iconComponent?n(t.iconComponent,{tag:"component",staticClass:"badger-toggle-indicator",attrs:{opened:t.opened}}):t._e()],1)])]),n("dd",{staticClass:"badger-accordion__panel js-badger-accordion-panel"},[n("div",{staticClass:"js-badger-accordion-panel-inner"},[t._t("content")],2)])])},x=[],T={name:"BadgerAccordionItem",mounted:function(){this.$parent.$emit("item:ready")},data:function(){return{opened:!1}},methods:{changeState:function(t){this.opened=t},getIcon:function(){return this.icon}},computed:{iconComponent:function(){return this.$parent.iconComponent?this.$parent.iconComponent:this.iconLoaded},iconOpened:function(){return this.$parent.icons?this.$parent.icons.opened:""},iconClosed:function(){return this.$parent.icons?this.$parent.icons.closed:""},icon:function(){return this.opened?this.iconOpened:this.iconClosed},iconLoaded:function(){return{template:"<span>"+this.icon+"</span>"}}},watch:{opened:function(t){this.$emit(t?"open":"close")}}},M=T,S=(n("6b1d"),Object(y["a"])(M,k,x,!1,null,null,null)),C=S.exports;const E=w,L=C},"5a34":function(t,e,n){var i=n("44e7");t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5a94":function(t,e,n){var i=n("b367")("keys"),r=n("8b1a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"5aff":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 5,538 bytes, lines 172-177
172//! moment.js locale configuration 173var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=t.defineLocale("tk",{months:"Ãanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ãan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"ÃekÅenbe_DuÅenbe_SiÅenbe_ÃarÅenbe_PenÅenbe_Anna_Åenbe".split("_"),weekdaysShort:"Ãek_DuÅ_SiÅ_Ãar_Pen_Ann_Åen".split("_"),weekdaysMin:"Ãk_DÅ_SÅ_Ãr_Pn_An_Ån".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soÅ",past:"%s öÅ",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10,r=t%100-i,o=t>=100?100:null;return t+(e[i]||e[r]||e[o])}},week:{dow:1,doy:7}});return n}))},"5b14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 174//! moment.js locale configuration 175var e="vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return r+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return r+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return r+(i||e?" év":" éve")}return""}function i(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}var r=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},"5c3a":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 176//! moment.js locale configuration 177var e=t.defineLocale("zh-cn",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(t,e){return 12===t&&(t=0),"忍"===e||"æ©ä¸"===e||"ä¸å"===e?t:"ä¸å"===e||"æä¸"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:function(t){return t.week()!==this.week()?"[ä¸]dddLT":"[æ¬]dddLT"},lastDay:"[æ¨å¤©]LT",lastWeek:function(t){return this.week()!==t.week()?"[ä¸]dddLT":"[æ¬]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"æ¥";case"M":return t+"æ";case"w":case"W":return t+"å¨";default:return t}},relativeTime:{future:"%så",past:"%så",s:"å ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",w:"1 å¨",ww:"%d å¨",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},week:{dow:1,doy:4}});return e}))},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cb7":function(t,e,n){"use strict";var i=n("512c"),r=n("f2c2"),o=n("c2a3");i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},"5cbb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 3,996 bytes, lines 178-179
178//! moment.js locale configuration 179var e=t.defineLocale("te",{months:"à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à° à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±".split("_"),monthsShort:"à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°._à°¸à±à°ªà±._à° à°à±à°à±._నవ._à°¡à°¿à°¸à±.".split("_"),monthsParseExact:!0,weekdays:"à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°".split("_"),weekdaysShort:"à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని".split("_"),weekdaysMin:"à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à°¨à±à°¡à±] LT",nextDay:"[à°°à±à°ªà±] LT",nextWeek:"dddd, LT",lastDay:"[నినà±à°¨] LT",lastWeek:"[à°à°¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à°²à±",past:"%s à°à±à°°à°¿à°¤à°",s:"à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±",ss:"%d à°¸à±à°à°¨à±à°²à±",m:"à°à° నిమిషà°",mm:"%d నిమిషాలà±",h:"à°à° à°à°à°",hh:"%d à°à°à°à°²à±",d:"à°à° à°°à±à°à±",dd:"%d à°°à±à°à±à°²à±",M:"à°à° à°¨à±à°²",MM:"%d à°¨à±à°²à°²à±",y:"à°à° à°¸à°à°µà°¤à±à°¸à°°à°",yy:"%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాతà±à°°à°¿"===e?t<4?t:t+12:"à°à°¦à°¯à°"===e?t:"మధà±à°¯à°¾à°¹à±à°¨à°"===e?t>=10?t:t+12:"సాయà°à°¤à±à°°à°"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాతà±à°°à°¿":t<10?"à°à°¦à°¯à°":t<17?"మధà±à°¯à°¾à°¹à±à°¨à°":t<20?"సాయà°à°¤à±à°°à°":"రాతà±à°°à°¿"},week:{dow:0,doy:6}});return e}))},"5cc6":function(t,e,n){var i=n("74e8");i("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"5e89":function(t,e,n){var i=n("861d"),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5f96":function(t,e,n){"use strict";var i=n("ebb5"),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=[].join;o("join",(function(t){return a.apply(r(this),arguments)}))},"5fb2":function(t,e,n){"use strict";var i=2147483647,r=36,o=1,a=26,s=38,c=700,l=72,u=128,d="-",h=/[^\0-\u007E]/,f=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",m=r-o,g=Math.floor,v=String.fromCharCode,_=function(t){var e=[],n=0,i=t.length;while(n<i){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--)}else e.push(r)}return e},y=function(t){return t+22+75*(t<26)},b=function(t,e,n){var i=0;for(t=n?g(t/c):t>>1,t+=g(t/e);t>m*a>>1;i+=r)t=g(t/m);return g(i+(m+1)*t/(t+s))},w=function(t){var e=[];t=_(t);var n,s,c=t.length,h=u,f=0,m=l;for(n=0;n<t.length;n++)s=t[n],s<128&&e.push(v(s));var w=e.length,k=w;w&&e.push(d);while(k<c){var x=i;for(n=0;n<t.length;n++)s=t[n],s>=h&&s<x&&(x=s);var T=k+1;if(x-h>g((i-f)/T))throw RangeError(p);for(f+=(x-h)*T,h=x,n=0;n<t.length;n++){if(s=t[n],s<h&&++f>i)throw RangeError(p);if(s==h){for(var M=f,S=r;;S+=r){var C=S<=m?o:S>=m+a?a:S-m;if(M<C)break;var E=M-C,L=r-C;e.push(v(y(C+E%L))),M=g(E/L)}e.push(v(y(M))),m=b(f,T,k==w),f=0,++k}}++f,++h}return e.join("")};t.exports=function(t){var e,n,i=[],r=t.toLowerCase().replace(f,".").split(".");for(e=0;e<r.length;e++)n=r[e],i.push(h.test(n)?"xn--"+w(n):n);return i.join(".")}},"5fbd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
180//! moment.js locale configuration 181var e=t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?":e":1===e||2===e?":a":":e";return t+n},week:{dow:1,doy:4}});return e}))},"605d":function(t,e,n){var i=n("c6b6"),r=n("da84");t.exports="process"==i(r.process)},6069:function(t,e){t.exports="object"==typeof window},"60bd":function(t,e,n){"use strict";var i=n("da84"),r=n("ebb5"),o=n("e260"),a=n("b622"),s=a("iterator"),c=i.Uint8Array,l=o.values,u=o.keys,d=o.entries,h=r.aTypedArray,f=r.exportTypedArrayMethod,p=c&&c.prototype[s],m=!!p&&("values"==p.name||void 0==p.name),g=function(){return l.call(h(this))};f("entries",(function(){return d.call(h(this))})),f("keys",(function(){return u.call(h(this))})),f("values",g,!m),f(s,g,!m)},"60da":function(t,e,n){"use strict";var i=n("83ab"),r=n("d039"),o=n("df75"),a=n("7418"),s=n("d1e7"),c=n("7b0b"),l=n("44ad"),u=Object.assign,d=Object.defineProperty;t.exports=!u||r((function(){if(i&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||o(u({},e)).join("")!=r}))?function(t,e){var n=c(t),r=arguments.length,u=1,d=a.f,h=s.f;while(r>u){var f,p=l(arguments[u++]),m=d?o(p).concat(d(p)):o(p),g=m.length,v=0;while(g>v)f=m[v++],i&&!h.call(p,f)||(n[f]=p[f])}return n}:u},6117:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
182//! moment.js locale configuration 183var e=t.defineLocale("ug-cn",{months:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),monthsShort:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),weekdays:"ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ Û_Ø´ÛÙØ¨Û".split("_"),weekdaysShort:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),weekdaysMin:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ",LLL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm",LLLL:"ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm"},meridiemParse:/ÙÛØ±ÙÙ ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ÙÛØ±ÙÙ ÙÛÚÛ"===e||"سÛÚ¾ÛØ±"===e||"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ"===e?t:"ÚÛØ´ØªÙÙ ÙÛÙÙÙ"===e||"ÙÛÚ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"ÙÛØ±ÙÙ ÙÛÚÛ":i<900?"سÛÚ¾ÛØ±":i<1130?"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ":i<1230?"ÚÛØ´":i<1800?"ÚÛØ´ØªÙÙ ÙÛÙÙÙ":"ÙÛÚ"},calendar:{sameDay:"[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT",nextDay:"[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT",nextWeek:"[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",lastDay:"[تÛÙÛÚ¯ÛÙ] LT",lastWeek:"[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",sameElse:"L"},relativeTime:{future:"%s ÙÛÙÙÙ",past:"%s Ø¨ÛØ±ÛÙ",s:"ÙÛÚÚÛ Ø³ÛÙÙÙØª",ss:"%d سÛÙÙÙØª",m:"Ø¨ÙØ± Ù ÙÙÛØª",mm:"%d Ù ÙÙÛØª",h:"Ø¨ÙØ± Ø³Ø§Ø¦ÛØª",hh:"%d Ø³Ø§Ø¦ÛØª",d:"Ø¨ÙØ± ÙÛÙ",dd:"%d ÙÛÙ",M:"Ø¨ÙØ± ئاÙ",MM:"%d ئاÙ",y:"Ø¨ÙØ± ÙÙÙ",yy:"%d ÙÙÙ"},dayOfMonthOrdinalParse:/\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-ÙÛÙÙ";case"w":case"W":return t+"-Ú¾ÛپتÛ";default:return t}},preparse:function(t){return t.replace(/Ø/g,",")},postformat:function(t){return t.replace(/,/g,"Ø")},week:{dow:1,doy:7}});return e}))},"61f6":function(t,e,n){"use strict";var i=n("c1df"),r=n("4990"),o=i;function a(t,e){var n=u(t);if(e.end){var i=l(e.start.array,e.timeZone,e.start.timeZoneOffset,e.localeCodes[0]),r=l(e.end.array,e.timeZone,e.end.timeZoneOffset,e.localeCodes[0]);return d(n,c(i),c(r),e.separator)}return l(e.date.array,e.timeZone,e.date.timeZoneOffset,e.localeCodes[0]).format(n.whole)}var s=Object(r["F"])({cmdFormatter:a});function c(t){return function(e){return e?t.format(e):""}}function l(t,e,n,i){var r;return"local"===e?r=o(t):"UTC"===e?r=o.utc(t):o.tz?r=o.tz(t,e):(r=o.utc(t),null!=n&&r.utcOffset(n)),r.locale(i),r}function u(t){var e=t.match(/^(.*?)\{(.*)\}(.*)$/);if(e){var n=u(e[2]);return{head:e[1],middle:n,tail:e[3],whole:e[1]+n.whole+e[3]}}return{head:null,middle:null,tail:null,whole:t}}function d(t,e,n,i){if(t.middle){var r=e(t.head),o=d(t.middle,e,n,i),a=e(t.tail),s=n(t.head),c=d(t.middle,e,n,i),l=n(t.tail);if(r===s&&a===l)return r+(o===c?o:o+i+c)+a}var u=e(t.whole),h=n(t.whole);return u===h?u:u+i+h}e["a"]=s},"621a":function(t,e,n){"use strict";var i=n("da84"),r=n("83ab"),o=n("a981"),a=n("9112"),s=n("e2cc"),c=n("d039"),l=n("19aa"),u=n("a691"),d=n("50c4"),h=n("0b25"),f=n("77a7"),p=n("e163"),m=n("d2bb"),g=n("241c").f,v=n("9bf2").f,_=n("81d5"),y=n("d44e"),b=n("69f3"),w=b.get,k=b.set,x="ArrayBuffer",T="DataView",M="prototype",S="Wrong length",C="Wrong index",E=i[x],L=E,A=i[T],O=A&&A[M],P=Object.prototype,D=i.RangeError,j=f.pack,I=f.unpack,R=function(t){return[255&t]},N=function(t){return[255&t,t>>8&255]},Y=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},z=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},B=function(t){return j(t,23,4)},F=function(t){return j(t,52,8)},H=function(t,e){v(t[M],e,{get:function(){return w(this)[e]}})},V=function(t,e,n,i){var r=h(n),o=w(t);if(r+e>o.byteLength)throw D(C);var a=w(o.buffer).bytes,s=r+o.byteOffset,c=a.slice(s,s+e);return i?c:c.reverse()},U=function(t,e,n,i,r,o){var a=h(n),s=w(t);if(a+e>s.byteLength)throw D(C);for(var c=w(s.buffer).bytes,l=a+s.byteOffset,u=i(+r),d=0;d<e;d++)c[l+d]=u[o?d:e-d-1]};if(o){if(!c((function(){E(1)}))||!c((function(){new E(-1)}))||c((function(){return new E,new E(1.5),new E(NaN),E.name!=x}))){L=function(t){return l(this,L),new E(h(t))};for(var W,$=L[M]=E[M],X=g(E),q=0;X.length>q;)(W=X[q++])in L||a(L,W,E[W]);$.constructor=L}m&&p(O)!==P&&m(O,P);var G=new A(new L(2)),Z=O.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(O,{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},{unsafe:!0})}else L=function(t){l(this,L,x);var e=h(t);k(this,{bytes:_.call(new Array(e),0),byteLength:e}),r||(this.byteLength=e)},A=function(t,e,n){l(this,A,T),l(t,L,T);var i=w(t).byteLength,o=u(e);if(o<0||o>i)throw D("Wrong offset");if(n=void 0===n?i-o:d(n),o+n>i)throw D(S);k(this,{buffer:t,byteLength:n,byteOffset:o}),r||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},r&&(H(L,"byteLength"),H(A,"buffer"),H(A,"byteLength"),H(A,"byteOffset")),s(A[M],{getInt8:function(t){return V(this,1,t)[0]<<24>>24},getUint8:function(t){return V(this,1,t)[0]},getInt16:function(t){var e=V(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=V(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return z(V(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return z(V(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return I(V(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return I(V(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){U(this,1,t,R,e)},setUint8:function(t,e){U(this,1,t,R,e)},setInt16:function(t,e){U(this,2,t,N,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){U(this,2,t,N,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){U(this,4,t,Y,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){U(this,4,t,Y,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){U(this,4,t,B,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){U(this,8,t,F,e,arguments.length>2?arguments[2]:void 0)}});
183y(L,x),y(A,T),t.exports={ArrayBuffer:L,DataView:A}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"633f":function(t,e,n){t.exports={default:n("2ebd"),__esModule:!0}},6403:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 184//! moment.js locale configuration 185var e=t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e}))},6438:function(t,e,n){var i=n("03d6"),r=n("9742").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},6444:function(t,e){var n=function(t){return t.replace(/^\s+|\s+$/g,"")},i=function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t){if(!t)return{};for(var e={},r=n(t).split("\n"),o=0;o<r.length;o++){var a=r[o],s=a.indexOf(":"),c=n(a.slice(0,s)).toLowerCase(),l=n(a.slice(s+1));"undefined"===typeof e[c]?e[c]=l:i(e[c])?e[c].push(l):e[c]=[e[c],l]}return e}},"649e":function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").some,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("some",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},6547:function(t,e,n){var i=n("a691"),r=n("577e"),o=n("1d80"),a=function(t){return function(e,n){var a,s,c=r(o(e)),l=i(n),u=c.length;return l<0||l>=u?t?"":void 0:(a=c.charCodeAt(l),a<55296||a>56319||l+1===u||(s=c.charCodeAt(l+1))<56320||s>57343?t?c.charAt(l):a:t?c.slice(l,l+2):s-56320+(a-55296<<10)+65536)}};t.exports={codeAt:a(!1),charAt:a(!0)}},"658f":function(t,e,n){n("6858");for(var i=n("ef08"),r=n("051b"),o=n("8a0d"),a=n("cc15")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var l=s[c],u=i[l],d=u&&u.prototype;d&&!d[a]&&r(d,a,l),o[l]=o.Array}},"65db":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
186//! moment.js locale configuration 187var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aÅg_sept_okt_nov_dec".split("_"),weekdays:"dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaÅ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[HodiaÅ je] LT",nextDay:"[MorgaÅ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[HieraÅ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaÅ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return e}))},"65f0":function(t,e,n){var i=n("0b42");t.exports=function(t,e){return new(i(t))(0===e?0:e)}},6690:function(t,e,n){"use strict";n("159b");var i=n("4d13");t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},"66c1":function(t,e,n){"use strict";n("8f77")},6784:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,661 bytes, lines 188-189
188//! moment.js locale configuration 189var e=["جÙÙØ±Ù","ÙÙØ¨Ø±ÙرÙ","٠ارÚ","اپرÙÙ","٠ئÙ","جÙÙ","جÙÙØ§Ø¡Ù","آگسٽ","سÙپٽ٠بر","Ø¢ÚªÙ½ÙØ¨Ø±","ÙÙ٠بر","ÚØ³Ù بر"],n=["Ø¢ÚØ±","سÙ٠ر","اڱارÙ","اربع","Ø®Ù ÙØ³","ج٠ع","ÚÙÚØ±"],i=t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شا٠/,isPM:function(t){return"شا٠"===t},meridiem:function(t,e,n){return t<12?"صبØ":"شا٠"},calendar:{sameDay:"[اÚ] LT",nextDay:"[Ø³ÚØ§Ú»Ù] LT",nextWeek:"dddd [اڳÙÙ ÙÙØªÙ تÙ] LT",lastDay:"[ڪاÙÙÙ] LT",lastWeek:"[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT",sameElse:"L"},relativeTime:{future:"%s Ù¾ÙØ¡",past:"%s اڳ",s:"ÚÙØ¯ سÙÚªÙÚ",ss:"%d سÙÚªÙÚ",m:"ÙÚª Ù ÙÙ½",mm:"%d Ù ÙÙ½",h:"ÙÚª ÚªÙØ§Úª",hh:"%d ÚªÙØ§Úª",d:"ÙÚª ÚÙÙÙÙ",dd:"%d ÚÙÙÙÙ",M:"ÙÚª Ù ÙÙÙÙ",MM:"%d Ù ÙÙÙØ§",y:"ÙÚª ساÙ",yy:"%d ساÙ"},preparse:function(t){return t.replace(/Ø/g,",")},postformat:function(t){return t.replace(/,/g,"Ø")},week:{dow:1,doy:4}});return i}))},6858:function(t,e,n){"use strict";var i=n("2f9a"),r=n("ea34"),o=n("8a0d"),a=n("6ca1");t.exports=n("393a")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},6887:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,412 bytes, lines 190-191
190//! moment.js locale configuration 191function e(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+r(i[n],t)}function n(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function i(t){return t>9?i(t%10):t}function r(t,e){return 2===e?o(t):t}function o(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],f=t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:c,monthsShortStrictRegex:l,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}});return f}))},"688b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
192//! moment.js locale configuration 193var e=t.defineLocale("mi",{months:"Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei".split("_"),weekdaysShort:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),weekdaysMin:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hÄkona ruarua",ss:"%d hÄkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"688e":function(t,e,n){"use strict";var i="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(t){var e=this;if("function"!==typeof e||o.call(e)!==a)throw new TypeError(i+e);for(var n,s=r.call(arguments,1),c=function(){if(this instanceof n){var i=e.apply(this,s.concat(r.call(arguments)));return Object(i)===i?i:this}return e.apply(t,s.concat(r.call(arguments)))},l=Math.max(0,e.length-s.length),u=[],d=0;d<l;d++)u.push("$"+d);if(n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h,h.prototype=null}return n}},6909:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
194//! moment.js locale configuration 195var e=t.defineLocale("mk",{months:"ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб".split("_"),weekdaysMin:"нe_пo_вÑ_ÑÑ_Ñе_пе_Ña".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT",nextDay:"[УÑÑе во] LT",nextWeek:"[Ðо] dddd [во] LT",lastDay:"[ÐÑеÑа во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐзминаÑаÑа] dddd [во] LT";case 1:case 2:case 4:case 5:return"[ÐзминаÑиоÑ] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑед %s",s:"Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди",ss:"%d ÑекÑнди",m:"една минÑÑа",mm:"%d минÑÑи",h:"еден ÑаÑ",hh:"%d ÑаÑа",d:"еден ден",dd:"%d дена",M:"еден меÑеÑ",MM:"%d меÑеÑи",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-Ñи":1===e?t+"-ви":2===e?t+"-Ñи":7===e||8===e?t+"-ми":t+"-Ñи"},week:{dow:1,doy:7}});return e}))},6930:function(t,e,n){ 196/*! 197 * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. 198 * For licensing, see LICENSE.md. 199 */ 200!function(e,i){t.exports=i(n("a026"))}(window,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(e,n){e.exports=t},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(2))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e);var i=n(0),r=n.n(i),o=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},a=n(1),s="object"==typeof self&&self&&self.Object===Object&&self,c=a.a||s||Function("return this")(),l=function(){return c.Date.now()},u=c.Symbol,d=Object.prototype,h=d.hasOwnProperty,f=d.toString,p=u?u.toStringTag:void 0,m=function(t){var e=h.call(t,p),n=t[p];try{t[p]=void 0;var i=!0}catch(t){}var r=f.call(t);return i&&(e?t[p]=n:delete t[p]),r},g=Object.prototype.toString,v=function(t){return g.call(t)},_=u?u.toStringTag:void 0,y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":_&&_ in Object(t)?m(t):v(t)},b=function(t){return null!=t&&"object"==typeof t},w=function(t){return"symbol"==typeof t||b(t)&&"[object Symbol]"==y(t)},k=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,M=/^0o[0-7]+$/i,S=parseInt,C=function(t){if("number"==typeof t)return t;if(w(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(k,"");var n=T.test(t);return n||M.test(t)?S(t.slice(2),n?2:8):x.test(t)?NaN:+t},E=Math.max,L=Math.min,A=function(t,e,n){var i,r,a,s,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var n=i,o=r;return i=r=void 0,d=e,s=t.apply(o,n)}function g(t){return d=t,c=setTimeout(_,e),h?m(t):s}function v(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-d>=a}function _(){var t=l();if(v(t))return y(t);c=setTimeout(_,function(t){var n=e-(t-u);return f?L(n,a-(t-d)):n}(t))}function y(t){return c=void 0,p&&i?m(t):(i=r=void 0,s)}function b(){var t=l(),n=v(t);if(i=arguments,r=this,u=t,n){if(void 0===c)return g(u);
vendor: 5,502 bytes, line 200
200if(f)return clearTimeout(c),c=setTimeout(_,e),m(u)}return void 0===c&&(c=setTimeout(_,e)),s}return e=C(e)||0,o(n)&&(h=!!n.leading,a=(f="maxWait"in n)?E(C(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==c&&clearTimeout(c),d=0,i=u=r=c=void 0},b.flush=function(){return void 0===c?s:y(l())},b},O={name:"ckeditor",render(t){return t(this.tagName)},props:{editor:{type:Function,default:null},value:{type:String,default:""},config:{type:Object,default:()=>({})},tagName:{type:String,default:"div"},disabled:{type:Boolean,default:!1}},data:()=>({$_instance:null,$_lastEditorData:{type:String,default:""}}),mounted(){const t=Object.assign({},this.config);this.value&&(t.initialData=this.value),this.editor.create(this.$el,t).then(t=>{this.$_instance=t,t.isReadOnly=this.disabled,this.$_setUpEditorEvents(),this.$emit("ready",t)}).catch(t=>{console.error(t)})},beforeDestroy(){this.$_instance&&(this.$_instance.destroy(),this.$_instance=null),this.$emit("destroy",this.$_instance)},watch:{value(t,e){t!==e&&t!==this.$_lastEditorData&&this.$_instance.setData(t)},disabled(t){this.$_instance.isReadOnly=t}},methods:{$_setUpEditorEvents(){const t=this.$_instance,e=A(e=>{const n=this.$_lastEditorData=t.getData();this.$emit("input",n,e,t)},300,{leading:!0});t.model.document.on("change:data",e),t.editing.view.document.on("focus",e=>{this.$emit("focus",e,t)}),t.editing.view.document.on("blur",e=>{this.$emit("blur",e,t)})}}};const P=r.a?r.a.version:i.version,[D]=P.split(".").map(t=>parseInt(t,10));if(2!==D)throw new Error("The CKEditor plugin works only with Vue 2.x. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v2.html");const j={install(t){t.component("ckeditor",O)},component:O};e.default=j}]).default}))},"693d":function(t,e,n){"use strict";var i=n("ef08"),r=n("9c0e"),o=n("0bad"),a=n("512c"),s=n("ba01"),c=n("e34a").KEY,l=n("4b8b"),u=n("b367"),d=n("92f0"),h=n("8b1a"),f=n("cc15"),p=n("fcd4"),m=n("e198"),g=n("0ae2"),v=n("4ebc"),_=n("77e9"),y=n("7a41"),b=n("0983"),w=n("6ca1"),k=n("3397"),x=n("10db"),T=n("6f4f"),M=n("1836"),S=n("4d20"),C=n("fed5"),E=n("1a14"),L=n("9876"),A=S.f,O=E.f,P=M.f,D=i.Symbol,j=i.JSON,I=j&&j.stringify,R="prototype",N=f("_hidden"),Y=f("toPrimitive"),z={}.propertyIsEnumerable,B=u("symbol-registry"),F=u("symbols"),H=u("op-symbols"),V=Object[R],U="function"==typeof D&&!!C.f,W=i.QObject,$=!W||!W[R]||!W[R].findChild,X=o&&l((function(){return 7!=T(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=A(V,e);i&&delete V[e],O(t,e,n),i&&t!==V&&O(V,e,i)}:O,q=function(t){var e=F[t]=T(D[R]);return e._k=t,e},G=U&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},Z=function(t,e,n){return t===V&&Z(H,e,n),_(t),e=k(e,!0),_(n),r(F,e)?(n.enumerable?(r(t,N)&&t[N][e]&&(t[N][e]=!1),n=T(n,{enumerable:x(0,!1)})):(r(t,N)||O(t,N,x(1,{})),t[N][e]=!0),X(t,e,n)):O(t,e,n)},J=function(t,e){_(t);var n,i=g(e=w(e)),r=0,o=i.length;while(o>r)Z(t,n=i[r++],e[n]);return t},K=function(t,e){return void 0===e?T(t):J(T(t),e)},Q=function(t){var e=z.call(this,t=k(t,!0));return!(this===V&&r(F,t)&&!r(H,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,N)&&this[N][t])||e)},tt=function(t,e){if(t=w(t),e=k(e,!0),t!==V||!r(F,e)||r(H,e)){var n=A(t,e);return!n||!r(F,e)||r(t,N)&&t[N][e]||(n.enumerable=!0),n}},et=function(t){var e,n=P(w(t)),i=[],o=0;while(n.length>o)r(F,e=n[o++])||e==N||e==c||i.push(e);return i},nt=function(t){var e,n=t===V,i=P(n?H:w(t)),o=[],a=0;while(i.length>a)!r(F,e=i[a++])||n&&!r(V,e)||o.push(F[e]);return o};U||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(H,n),r(this,N)&&r(this[N],t)&&(this[N][t]=!1),X(this,t,x(1,n))};return o&&$&&X(V,t,{configurable:!0,set:e}),q(t)},s(D[R],"toString",(function(){return this._k})),S.f=tt,E.f=Z,n("6438").f=M.f=et,n("1917").f=Q,C.f=nt,o&&!n("e444")&&s(V,"propertyIsEnumerable",Q,!0),p.f=function(t){return q(f(t))}),a(a.G+a.W+a.F*!U,{Symbol:D});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)f(it[rt++]);for(var ot=L(f.store),at=0;ot.length>at;)m(ot[at++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return r(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!U,"Object",{create:K,defineProperty:Z,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=l((function(){C.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),j&&a(a.S+a.F*(!U||l((function(){var t=D();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))}))),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(y(e)||void 0!==t)&&!G(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,I.apply(j,i)}}),D[R][Y]||n("051b")(D[R],Y,D[R].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"69f3":function(t,e,n){var i,r,o,a=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),d=n("c6cd"),h=n("f772"),f=n("d012"),p="Object already initialized",m=s.WeakMap,g=function(t){return o(t)?r(t):i(t,{})},v=function(t){return function(e){var n;
200if(!c(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(a||d.state){var _=d.state||(d.state=new m),y=_.get,b=_.has,w=_.set;i=function(t,e){if(b.call(_,t))throw new TypeError(p);return e.facade=t,w.call(_,t,e),e},r=function(t){return y.call(_,t)||{}},o=function(t){return b.call(_,t)}}else{var k=h("state");f[k]=!0,i=function(t,e){if(u(t,k))throw new TypeError(p);return e.facade=t,l(t,k,e),e},r=function(t){return u(t,k)?t[k]:{}},o=function(t){return u(t,k)}}t.exports={set:i,get:r,has:o,enforce:g,getterFor:v}},"6aa8":function(t,e,n){var i=n("4d88"),r=n("cc15")("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},"6b1d":function(t,e,n){"use strict";n("1bd7")},"6b75":function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},"6ca1":function(t,e,n){var i=n("9fbb"),r=n("c901");t.exports=function(t){return i(r(t))}},"6cc5":function(t,e,n){},"6ce3":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 3,042 bytes, lines 201-204
201//! moment.js locale configuration 202var e=t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"6d2f":function(t,e,n){var i=n("8a0d"),r=n("cc15")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},"6d79":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 203//! moment.js locale configuration 204var e={0:"-ÑÑ",1:"-ÑÑ",2:"-ÑÑ",3:"-ÑÑ",4:"-ÑÑ",5:"-ÑÑ",6:"-ÑÑ",7:"-ÑÑ",8:"-ÑÑ",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÑ",60:"-ÑÑ",70:"-ÑÑ",80:"-ÑÑ",90:"-ÑÑ",100:"-ÑÑ"},n=t.defineLocale("kk",{months:"ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан".split("_"),monthsShort:"Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел".split("_"),weekdays:"жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ".split("_"),weekdaysShort:"жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен".split("_"),weekdaysMin:"жк_дй_Ñй_ÑÑ_бй_жм_Ñн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐүгÑн ÑаÒаÑ] LT",nextDay:"[ÐÑÑең ÑаÒаÑ] LT",nextWeek:"dddd [ÑаÒаÑ] LT",lastDay:"[ÐеÑе ÑаÒаÑ] LT",lastWeek:"[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT",sameElse:"L"},relativeTime:{future:"%s ÑÑÑнде",past:"%s бұÑÑн",s:"бÑÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"бÑÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"бÑÑ ÑаÒаÑ",hh:"%d ÑаÒаÑ",d:"бÑÑ ÐºÒ¯Ð½",dd:"%d күн",M:"бÑÑ Ð°Ð¹",MM:"%d ай",y:"бÑÑ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"6d83":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
205//! moment.js locale configuration 206var e=t.defineLocale("ar-tn",{months:"جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),monthsShort:"جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}});return e}))},"6e98":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
207//! moment.js locale configuration 208var e=t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6eeb":function(t,e,n){var i=n("da84"),r=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,u=c.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var c,l=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||r(n,"name",e),c=u(n),c.source||(c.source=d.join("string"==typeof e?e:""))),t!==i?(l?!f&&t[e]&&(h=!0):delete t[e],h?t[e]=n:r(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f12":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
209//! moment.js locale configuration 210var e=t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f1a":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _isIterable2=__webpack_require__("93ff"),_isIterable3=_interopRequireDefault(_isIterable2),_getIterator2=__webpack_require__("1727"),_getIterator3=_interopRequireDefault(_getIterator2),_defineProperties=__webpack_require__("8a8d"),_defineProperties2=_interopRequireDefault(_defineProperties),_create=__webpack_require__("0325"),_create2=_interopRequireDefault(_create),_getOwnPropertyNames=__webpack_require__("3b2cc"),_getOwnPropertyNames2=_interopRequireDefault(_getOwnPropertyNames),_getPrototypeOf=__webpack_require__("633f"),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_iterator=__webpack_require__("17ed"),_iterator2=_interopRequireDefault(_iterator),_symbol=__webpack_require__("f893"),_symbol2=_interopRequireDefault(_symbol),_keys=__webpack_require__("1907"),_keys2=_interopRequireDefault(_keys),_typeof3=__webpack_require__("1098"),_typeof4=_interopRequireDefault(_typeof3),_stringify=__webpack_require__("8034"),_stringify2=_interopRequireDefault(_stringify),_defineProperty=__webpack_require__("4849"),_defineProperty2=_interopRequireDefault(_defineProperty);function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}exports.default=/*!+v*/function(_aeis_,_https_){function cond(){return Math.random()}function chkQuerySet(){var t,e=window[QUERY_KEY];return isNaN(e)?(t=location.href.split(QUERY_KEY+"=")[1],e=parseFloat(t),void(isNaN(e)||(GREY_RATIO=e))):void(GREY_RATIO=e)}var GREY_RATIO=1,QUERY_KEY="aq-nc-grey-ratio",STABLE_ACTION=function(){},NEW_ACTION=function NEW_ACTION(){!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||(0,_defineProperty2.default)(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=106)}([,function(t,e,n){function i(t,e,n){if(t){var i=0,r=t.length;if(r===+r)for(;i<r&&!1!==e.call(n,t[i],i,t);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(n,t[i],i,t))break}}function r(t,e){if(!e)return!1;if(t.classList){for(var n=e.split(/\s+/),i=0;i<n.length;i++)if(!t.classList.contains(n[i]))return!1;return!0}return new RegExp("(\\s|^)"+e+"(\\s|$)").test(t.className)}function o(t,e){e&&!r(t,e)&&(t.classList?t.classList.add.apply(t.classList,e.split(/\s+/)):t.className+=" "+e)}function a(t,e){e&&r(t,e)&&(t.classList?t.classList.remove.apply(t.classList,e.split(/\s+/)):t.className=t.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," ").replace(/^\s+|\s+$/g,""))}function s(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function c(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e}function l(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e}var u=window,d=document,h=n(2),f=e.rndId=function(t){return((t||"")+Math.random()).replace(".","")};e.each=i,e.hasClass=r,e.addClass=o,e.removeClass=a,e.toggleClass=function(t,e){r(t,e)?a(t,e):o(t,e)},e.getElementsByClassName=function(t,e,n){if(e=e||d,n=n||"*",d.getElementsByClassName)return e.getElementsByClassName(t);for(var i=[],o="*"===n&&e.all?e.all:e.getElementsByTagName(n),a=o.length;--a>=0;)r(o[a],t)&&i.push(o[a]);return i},e.setCookie=function(t,e,n){n=n||7;var i=new Date;i.setTime(i.getTime()+864e5*n),document.cookie=[encodeURIComponent(t),"=",encodeURIComponent(""+e),";expires=",i.toGMTString()].join("")},e.send=function(t){var e=f("_nc_r_"),n=u[e]=new Image;n.onload=n.onerror=function(){u[e]=null},n.src=t},e.obj2param=s,e.addHourStamp=function(t,e){var n=Math.floor((new Date).getTime()/(36e5*(e||2))),i=-1===t.indexOf("?")?"?":"&";return t+i+"_t="+n};var p={};e.isIEX=function(t){if(t in p)return p[t];var e=d.createElement("b");return e.innerHTML="\x3c!--[if IE "+t+"]><i></i><![endif]--\x3e",p[t]=1===e.getElementsByTagName("i").length};var c=e.getElementLeft=function(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e},l=e.getElementTop=function(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e};e.getClientRect=function(t){var e=d.documentElement.scrollTop;if(d.documentElement.scrollLeft,t.getBoundingClientRect){var n=t.getBoundingClientRect();return{left:n.left,right:n.right,top:n.top-e,bottom:n.bottom-e}}var i=c(t),r=l(t);return{left:i,right:i+t.offsetWidth,top:r,bottom:r+t.offsetHeight}},e.getOffset=function(t){var e=t.target;void 0===e.offsetLeft&&(e=e.parentNode);var n=m(e),i={x:u.pageXOffset+t.clientX,y:u.pageYOffset+t.clientY};return{offsetX:i.x-n.x,offsetY:i.y-n.y}};var m=e.getPageCoord=function(t){for(var e={x:0,y:0};t;)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e},g={before:function(t,e){return function(){return t.call(this),e.apply(this,arguments)}},after:function(t,e){return function(){var n=t.apply(this,arguments);return e.call(this,n,arguments),n}}};e.decorator=g,e.mix=function(t){for(var e,n,i=[].slice.call(arguments),r=i.length,o=1;o<r;o++)for(n in e=i[o],e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.clone=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},e.addHandler=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,n)},e.removeHandler=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent&&t.detachEvent("on"+e,n)},e.getEvent=function(t){return t||u.event},e.getTarget=function(t){return t.target||t.srcElement},e.bind=function(t,e){var n=[].slice,i=n.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,i.concat(n.call(arguments)))};return r.prototype=t.prototype,o.prototype=new r,o},e.imageLoaded=function(t){var e=h.defer(),n=new Image;return n.onload=function(){e.resolve(this)},n.onerror=function(t){e.reject({type:"img",error:t})},setTimeout((function(){e.reject({type:"img",error:"timeout"})}),5e3),n.src=t,e.promise},e.request=function(t){var e=h.defer(),n=t.data||{},i=("jsonp_"+Math.random()).replace(".","");u[i]=function(t){e.resolve(t)},n[t.callback||"callback"]=i,e.promise.always((function(){try{delete u[i]}catch(t){u[i]=null}}));var r=d.createElement("script");r.src=t.url+(-1===t.url.indexOf("?")?"?":"&")+s(n);var o=d.getElementsByTagName("script")[0];return o.parentNode.insertBefore(r,o),setTimeout((function(){e.reject({type:"request",error:"timeout"})}),5e3),e.promise},e.getElementLeft=c,e.getElementTop=l},function(t,e,n){function i(t){return this instanceof i?(this._state=l,this._onFulfilled=[],this._onRejected=[],this._value=null,this._reason=null,void(h(t)&&t(a(this.resolve,this),a(this.reject,this)))):new i(t)}function r(t,e,n){return function(i){if(h(e))try{var r=e(i);o(r)?r.then((function(e){t.resolve(e)}),(function(e){t.reject(e)})):t.resolve(r)}catch(a){t.reject(a)}else t[n](i)}}function o(t){return t&&h(t.then)}function a(t,e){var n=[].slice,i=n.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,i.concat(n.call(arguments)))};return r.prototype=t.prototype,o.prototype=new r,o}function s(t){return function(e){return{}.toString.call(e)=="[object "+t+"]"}}function c(t,e){for(var n=0,i=t.length;n<i;n++)e(t[n],n)}var l=0,u=1,d=2;i.prototype={constructor:i,then:function(t,e){var n=new i,o=r(n,t,"resolve"),a=r(n,e,"reject");return this._state===u?o(this._value):this._state===d?a(this._reason):(this._onFulfilled.push(o),this._onRejected.push(a)),n},resolve:function(t){this._state===l&&(this._state=u,this._value=t,c(this._onFulfilled,(function(e){e(t)})),this._onFulfilled=[])},reject:function(t){this._state===l&&(this._state=d,this._reason=t,c(this._onRejected,(function(e){e(t)})),this._onRejected=[])},catch:function(t){return this.then(null,t)},always:function(t){return this.then(t,t)}},i.defer=function(){var t={};return t.promise=new i((function(e,n){t.resolve=e,t.reject=n})),t},i.race=function(t){var e=i.defer();return t.length,c(t,(function(t){t.then((function(t){e.resolve(t)}),(function(t){e.reject(t)}))}
210)),e.promise},i.all=function(t){var e=i.defer(),n=t.length,r=[];return c(t,(function(t,i){t.then((function(t){r[i]=t,n--,0===n&&e.resolve(r)}),(function(t){e.reject(t)}))})),e.promise},i.resolve=function(t){return new i((function(e){e(t)}))},i.reject=function(t){return new i((function(e,n){n(t)}))};var h=s("Function");t.exports=i},function(t,e,n){function i(t){var e=("_nc_r_"+Math.random()).replace(/\./,""),n=o[e]=new Image;n.onload=n.onerror=function(){o[e]=null},n.src=t}var r=(n(4).URL_MAP,(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/dataReport.jsonp"),o=window;e.log=function(t,e){var n,o,a=e||r,s=["a","t","scene","ns","jsv","usa","p","jsType","os","em","ec"],c=[],l=s.length;for(n=0;n<l;n++)o=s[n],t.hasOwnProperty(o)&&c.push(o+"="+encodeURIComponent(t[o]));c.push("r="+Math.random()),i(a+"?"+c.join("&"))}},function(t,e,n){var i=n(1),r={log:(_https_?"https:":"")+"//log.mmstat.com/",gm:(_https_?"https:":"")+"//gm.mmstat.com/",gj:(_https_?"https:":"")+"//gj.mmstat.com/"};e.mmstat_base=r;var o=i.isIEX(8),a=i.isIEX(7),s=i.isIEX(6),c=!!(s||a||o),l=document.getElementsByTagName("script"),u="";if(null!=l&&l.length>=1)for(var d=l.length-1;d>=0;d--)if(-1!=l[d].src.indexOf("ncpc/nc.js")){u=l[d].src;break}var h="";h=-1!=u.indexOf("g.alicdn.com")?(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+
210".alicdn.com/AWSC/AWSC/awsc.js":(_https_?"https:":"")
210+"//aeis.alicdn.com/AWSC/AWSC/awsc.js";var f={0:{analyze:c?(_https_?"https:":"")+"//cf2.aliyun.com/nocaptcha/analyze.jsonp":(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cf.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:c?(_https_?"https:":"")+"//cf2.aliyun.com/captcha/checkcode.jsonp":(_https_?"https:":"")+"//cf.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cf.aliyun.com/scratchCardSlide/analyze.jsonp"},1:{analyze:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfus.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:(_https_?"https:":"")+"//cfus.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//usdiablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//usdiablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//aeis.alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://us.ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfus.aliyun.com/scratchCardSlide/analyze.jsonp"},2:{analyze:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/analyze.jsonp",initialize:(_https_?"https:":"")+"//cfun.aliyun.com/nocaptcha/initialize.jsonp",get_captcha:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/get.jsonp",get_captcha_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/click/pre_get.jsonp",get_img:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/get.jsonp",get_img_pre:(_https_?"https:":"")+"//diablo.alibaba.com/captcha/image/pre_get.jsonp",checkcode:(_https_?"https:":"")+"//cfun.aliyun.com/captcha/checkcode.jsonp",cc:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/get.jsonp",cc_pre:(_https_?"https:":"")+"//diablo.alibaba.com/diablo/captcha_api/pre_get.jsonp",umid_Url:(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/security/umscript/3.3.35/um.js",uab_Url:h,umid_serUrl:"https://ynuf.aliapp.org/service/um.json",api_prepare:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/prepare.jsonp",api_report:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/dataReport.jsonp",api_analyze:(_https_?"https:":"")+"//cfun.aliyun.com/scratchCardSlide/analyze.jsonp"}};e.URL_MAP=f},function(t,e,n){var i=window,r=n(1);r.loadScript=n(104).loadScript;var o={};r.getImgSize=function(t,e){o[t]&&e(null,o[t]);var n=new Image;n.onreadystatechange=function(){n.readyState},n.onload=function(){var i=n.naturalWidth?[n.naturalWidth,n.naturalHeight]:[n.width,n.height];o[t]=i,e(null,i)},n.onerror=function(t){e(t)},n.src=t},r.addEventHandler=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent?t.attachEvent("on"+e,(function(t){return n(t||i.event)})):t["on"+e]=function(t){return n(t||i.event)}},r.on=r.addEventHandler,r.map=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n.push(e(t[i],i));return n},r.getOS=n(18),r.obj2style=function(t){var e="",n=void 0;for(n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e},r.fill=function(t,e){if("function"==typeof t.fill)t.fill(e);else for(var n=0,i=t.length;n<i;n++)t[n]=e;return t}
210,t.exports=r},function(t,e,n){e.v=948},function(t,e,n){function i(t,e,n){return e in t?(0,_defineProperty2.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n,i,r=e?{}:t;for(n in t)t.hasOwnProperty(n)&&(i=t[n],"string"==typeof i&&(i=[i]),r[n]='<span class="nc-lang-cnt" data-nc-lang="'+n+'">'+o(g[n],i)+"</span>");return r}function o(t,e){return(t+"").replace(/\\?\{\s*([^{}\s]+)\s*\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):e[n]||""}))}function a(t,e){var n,i=v[t]=v[t]||{};for(n in e=r(e,!0),e)e.hasOwnProperty(n)&&(i[n]=e[n])}function s(t,e){return t.replace(/(javascript:noCaptcha.reset\()(\))/gi,"$1"+e+"$2")}var c,l,u="javascript:noCaptcha.reset()",d="http://survey.taobao.com/survey/QgzQDdDd?token=%TOKEN",h="http://survey.taobao.com/survey/40BtED_K?token=%TOKEN",f="http://survey.taobao.com/survey/Q0dcgfAv?token=%TOKEN",p="https://survey.taobao.com/survey/AMnMVgrS4?type=%TYPE&str=%STR",m="{0}",g={_startTEXT:m,_yesTEXT:"<b>{0}</b>",_noTEXT:m,_errorTEXT:m,_errorClickTEXT:m,_errorActionTimeout:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_errorLOADING:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_errorTooMuch:'{0}<a target="_blank" href="{1}">{2}</a>',_errorTooMuchClick:'{0}<a target="_blank" href="{1}">{2}</a>
210',_errorVerify:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_Loading:"<b>{0}</b>",_errorServer:m,_error300:'{0}<a href="{1}">{2}</a>{3}',_errorNetwork:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_infoTEXT:m,_submit:m,_learning:m,_closeHelp:m,_slideToVerify:m,_notVerified:m,_captcha:m,_OK:m,_sthWrong:m,_reload:m,_feedback:m,_cc_select:m,_cc_title:m,_cc_fail:m,_wait:m,_cc_refresh:m,_verify:m,_cancel:m,_retry:m,_cc_contact:'{0}<a href="{1}" target="_blank">{2}</a>',_cc_img_fail:m,_cc_req_fail:m,_close:m,_ggk_start:m,_ggk_net_err:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_too_fast:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_action_timeout:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_fail:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_success:m},v={cn:{_startTEXT:"请æä½æ»åï¼æå¨å°æå³è¾¹",_yesTEXT:"éªè¯éè¿",_noTEXT:"请å¨ä¸æ¹è¾å
¥éªè¯ç ",_errorTEXT:"éªè¯ç è¾å
¥é误ï¼è¯·éæ°è¾å
¥",_errorClickTEXT:"éªè¯ç ç¹å»é误ï¼è¯·éè¯",_errorLOADING:["å 载失败ï¼è¯·",u,"ç¹å»å·æ°","ï¼æ",d,"æäº¤åé¦"],_errorTooMuch:["è¾å
¥é误ï¼è¯·éæ°è¾å
¥ï¼æ",d,"æäº¤åé¦"],_errorTooMuchClick:["ç¹å»é误ï¼è¯·éæ°è¾å
¥ï¼æ",d,"æäº¤åé¦"],_errorVerify:["éªè¯å¤±è´¥ï¼è¯·",u,"ç¹å»å·æ°","ï¼æ",d,"æäº¤åé¦"],_Loading:"å è½½ä¸",_errorServer:"æå¡å¨é误æè
è¶
æ¶",_error300:["ååï¼åºéäºï¼ç¹å»",u,"å·æ°","忥䏿¬¡"],_errorNetwork:["ç½ç»ä¸ç»åï¼è¯·",u,"ç¹å»å·æ°","ï¼æ",d,"æäº¤åé¦"],_infoTEXT:"",_submit:"æäº¤",_learning:"äºè§£æ°åè½",_closeHelp:"å
³é帮å©",_slideToVerify:"å峿»å¨éªè¯",_notVerified:"éªè¯æªéè¿",_captcha:"éªè¯ç ",_OK:"ç¡®å®",_sthWrong:"éå¸¸æ±æï¼è¿åºéäº...",_reload:"å·æ°",_feedback:"åé¦",_cc_select:"è¯·éæ©å¾çéªè¯",_cc_title:"è¯·éæ©ä¸é¢ä¸å·¦å¾åä¸ç±»å«çå¾ç",_cc_fail:"å¾ç鿩䏿£ç¡®ï¼è¯·éè¯",_wait:"请ç¨å",_cc_refresh:"æ¢ä¸æ¹",_verify:"éªè¯",_cancel:"åæ¶",_retry:"éè¯",_cc_contact:["éå°é®é¢äºï¼",d,"ç¹æ¤åé¦"],_cc_img_fail:"å¾çéªè¯ç è·å失败ï¼è¯·æ£æ¥ç½ç»è¿æ¥å¹¶éè¯ã",_cc_req_fail:"æ æ³è¿æ¥æå¡å¨ï¼è¯·æ£æ¥ç½ç»è¿æ¥å¹¶éè¯ã",_close:"å
³é",_ggk_guide:"请æä½é¼ æ å·¦é®ï¼å®åºä¸¤åªå°é¸¡",_ggk_start:"",_ggk_net_err:["ç½ç»å®å¨ä¸ç»å<br/>请",u,"忥䏿¬¡","æ",p,"åé¦é®é¢"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>请",u,"忥䏿¬¡","æ",p,"åé¦é®é¢"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>请",u,"忥䏿¬¡","æ",p,"åé¦é®é¢"],_ggk_fail:["åï¼å°é¸¡éè·äº<br/>请",u,"忥䏿¬¡","æ",p,"åé¦é®é¢"],_ggk_success:"æåæ¨æåå®åºå°é¸¡ï¼ç»§ç»ä¸ä¸æ¥æä½å§"},tw:{_startTEXT:"è«æä½æ»å¡ï¼æåå°æå³é",_yesTEXT:"é©èéé",_noTEXT:"è«å¨ä¸æ¹è¼¸å
¥é©è碼",_errorTEXT:"é©è碼輸å
¥é¯èª¤ï¼è«éæ°è¼¸å
¥",_errorClickTEXT:"é©èç¢¼é»æé¯èª¤ï¼è«é試",_errorLOADING:["å è¼å¤±æï¼è«",u,"黿巿°","ï¼æ",h,"æäº¤åé¥"],_errorTooMuch:["輸å
¥é¯èª¤ï¼è«éæ°è¼¸å
¥ï¼æ",h,"æäº¤åé¥"],_errorTooMuchClick:["黿é¯èª¤ï¼è«éæ°è¼¸å
¥ï¼æ",h,"æäº¤åé¥"],_errorVerify:["é©è失æï¼è«",u,"黿巿°","ï¼æ",h,"æäº¤åé¥"],_Loading:"å è¼ä¸",_errorServer:"æåå¨é¯èª¤æè
è¶
æ",_error300:["ååï¼åºé¯äºï¼é»æ",u,"å·æ°","åä¾å£¹æ¬¡"],_errorNetwork:["網絡ä¸çµ¦åï¼è«",u,"黿巿°","ï¼æ",h,"æäº¤åé¥"],_infoTEXT:"",_submit:"æäº¤",_learning:"äºè§£æ°åè½",_closeHelp:"å
³é帮å©",_slideToVerify:"å峿»åé©è",_notVerified:"é©èæªéé",_captcha:"é©è碼",_OK:"確å®",_sthWrong:"éå¸¸æ±æï¼éåºé¯äº...",_reload:"å·æ°",_feedback:"åé¥",_ggk_guide:"è«æä½æ»é¼ å·¦éµï¼å®åºå
©é»å°é",_ggk_start:"",_ggk_net_err:["網路實å¨ä¸çµ¦å<br/>è«",u,"忥䏿¬¡","æ",p,"åæ åé¡"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>è«",u,"忥䏿¬¡","æ",p,"åæ åé¡"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>
210è«",u,"忥䏿¬¡","æ",p,"åæ åé¡"],_ggk_fail:["åï¼å°ééè·äº<br/>è«",u,"忥䏿¬¡","æ",p,"åæ åé¡"],_ggk_success:"æåæ¨æåå®åºå°éï¼ç¹¼çºä¸ä¸æ¥æä½å§"},en:(c={_startTEXT:"Please slide to verify",_yesTEXT:"Verified",_noTEXT:"Please input verification code",_errorTEXT:"Please try again",_errorClickTEXT:"Please try again",_errorLOADING:["Loading failed, ",u,"refresh"," or ",f,"provide feedback"],_errorTooMuch:["Please try again or ",f,"provide feedback"],_errorTooMuchClick:["Please try again or ",f,"provide feedback"],_errorVerify:["Verify failed, ",u,"refresh"," or ",f,"provide feedback"],_errorServer:"Server Error",_Loading:"Loading",_error300:["Oops... something's wrong. Please ",u,"refresh"," and try again."],_errorNetwork:["Net Err. Please ",u,"refresh",", or ",f,"feedback"],_infoTEXT:"",_submit:"Submit",_learning:"help",_closeHelp:"Close",_slideToVerify:"slide to verify",_notVerified:"Not Verified",_captcha:"Captcha",_OK:"OK",_sthWrong:"Sorry, something wrong....",_reload:"Reload",_feedback:"Feedback",_ggk_action_timeout:["Action timeout, ",u,"refresh"," or ",f,"provide feedback"],_ggk_guide:"Hold your left mouse button down to scratch out two chickens",_ggk_start:"",_ggk_net_err:["Problem with the network<br/>Please",u,"try again","or",p,"report your problem"],_ggk_too_fast:["You were being too fast<br/>Please",u,"try again","or",p,"report your problem"]},i(c,"_ggk_action_timeout",["You've been idled for too long<br/>Please",u,"try again","or",p,"report your problem"]),i(c,"_ggk_fail",["Oops, the chickens ran away<br/>Please",u,"try again","or",p,"report your problem"]),i(c,"_ggk_success","Congratulations! You've got the chickens!"),c)};for(l in v)v.hasOwnProperty(l)&&r(v[l]);v.zh_CN=v.cn,v.zh_TW=v.tw,v.en_US=v.en,e.language=v,e.upLang=a,e.upResetIndex=s},function(t,e,n){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e,n){e.names={init:"init",ready:"ready",actionstart:"actionstart",actionend:"actionend",beforeverify:"beforeverify",afterverify:"afterverify",error:"error",fail:"fail",success:"success",switchevent:"switch",slide_start:"slide_start",slide_end:"slide_end",before_code:"before_code",after_code:"after_code",error300:"error300"},e.deprecated={slide_start:"actionstart",slide_end:"actionend",before_code:"beforeverify",after_code:"afterverify",error300:"error"}},function(t,e){function n(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=h[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(c(i.parts[o],e))}else{var a=[];for(o=0;o<i.parts.length;o++)a.push(c(i.parts[o],e));h[i.id]={id:i.id,refs:1,parts:a}}}}function i(t){for(var e=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],a=r[1],s=r[2],c=r[3],l={css:a,media:s,sourceMap:c};n[o]?n[o].parts.push(l):e.push(n[o]={id:o,parts:[l]})}return e}function r(t,e){var n=m(),i=_[_.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function o(t){t.parentNode.removeChild(t);var e=_.indexOf(t);e>=0&&_.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function s(t){var e=document.createElement("link");return e.rel="stylesheet",r(t,e),e}function c(t,e){var n,i,r;if(e.singleton){var c=v++;n=g||(g=a(e)),i=l.bind(null,n,c,!1),r=l.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(e),i=d.bind(null,n),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=u.bind(null,n),r=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function l(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function u(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent((0,_stringify2.default)(i))))+" */");var r=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var h={},f=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=f((function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())})),m=f((function(){return document.head||document.getElementsByTagName("head")[0]})),g=null,v=0,_=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"===typeof document?"undefined":(0,_typeof4.default)(document)))throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var r=i(t);return n(r,e),function(t){for(var o=[],a=0;a<r.length;a++){var s=r[a],c=h[s.id];c.refs--,o.push(c)}if(t){var l=i(t);n(l,e)}for(a=0;a<o.length;a++){c=o[a];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete h[c.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},,,function(t,e,n){!function(){var n={VERSION:"2.4.0",Result:{SUCCEEDED:1,NOTRANSITION:2,CANCELLED:3,PENDING:4},Error:{INVALID_TRANSITION:100,PENDING_TRANSITION:200,INVALID_CALLBACK:300},WILDCARD:"*",ASYNC:"async",create:function(t,e){var i="string"==typeof t.initial?{state:t.initial}:t.initial,r=t.terminal||t["final"],o=e||t.target||{},a=t.events||[],s=t.callbacks||{},c={},l={},u=function(t){var e=Array.isArray(t.from)?t.from:t.from?[t.from]:[n.WILDCARD];c[t.name]=c[t.name]||{};for(var i=0;i<e.length;i++)l[e[i]]=l[e[i]]||[],l[e[i]].push(t.name),c[t.name][e[i]]=t.to||e[i];t.to&&(l[t.to]=l[t.to]||[])};i&&(i.event=i.event||"startup",u({name:i.event,from:"none",to:i.state}));for(var d=0;d<a.length;d++)u(a[d]);for(var h in c)c.hasOwnProperty(h)&&(o[h]=n.buildEvent(h,c[h]));for(var h in s)s.hasOwnProperty(h)&&(o[h]=s[h]);return o.current="none",o.is=function(t){return Array.isArray(t)?t.indexOf(this.current)>=0:this.current===t},o.can=function(t){return!this.transition&&void 0!==c[t]&&(c[t].hasOwnProperty(this.current)||c[t].hasOwnProperty(n.WILDCARD))},o.cannot=function(t){return!this.can(t)},o.transitions=function(){return(l[this.current]||[]).concat(l[n.WILDCARD]||[])},o.isFinished=function(){return this.is(r)},o.error=t.error||function(t,e,n,i,r,o,a){throw a||o},o.states=function(){return(0,_keys2.default)(l).sort()},i&&!i.defer&&o[i.event](),o}
210,doCallback:function(t,e,i,r,o,a){if(e)try{return e.apply(t,[i,r,o].concat(a))}catch(s){return t.error(i,r,o,a,n.Error.INVALID_CALLBACK,"an exception occurred in a caller-provided callback function",s)}},beforeAnyEvent:function(t,e,i,r,o){return n.doCallback(t,t.onbeforeevent,e,i,r,o)},afterAnyEvent:function(t,e,i,r,o){return n.doCallback(t,t.onafterevent||t.onevent,e,i,r,o)},leaveAnyState:function(t,e,i,r,o){return n.doCallback(t,t.onleavestate,e,i,r,o)},enterAnyState:function(t,e,i,r,o){return n.doCallback(t,t.onenterstate||t.onstate,e,i,r,o)},changeState:function(t,e,i,r,o){return n.doCallback(t,t.onchangestate,e,i,r,o)},beforeThisEvent:function(t,e,i,r,o){return n.doCallback(t,t["onbefore"+e],e,i,r,o)},afterThisEvent:function(t,e,i,r,o){return n.doCallback(t,t["onafter"+e]||t["on"+e],e,i,r,o)},leaveThisState:function(t,e,i,r,o){return n.doCallback(t,t["onleave"+i],e,i,r,o)},enterThisState:function(t,e,i,r,o){return n.doCallback(t,t["onenter"+r]||t["on"+r],e,i,r,o)},beforeEvent:function(t,e,i,r,o){if(!1===n.beforeThisEvent(t,e,i,r,o)||!1===n.beforeAnyEvent(t,e,i,r,o))return!1},afterEvent:function(t,e,i,r,o){n.afterThisEvent(t,e,i,r,o),n.afterAnyEvent(t,e,i,r,o)},leaveState:function(t,e,i,r,o){var a=n.leaveThisState(t,e,i,r,o),s=n.leaveAnyState(t,e,i,r,o);return!1!==a&&!1!==s&&(n.ASYNC===a||n.ASYNC===s?n.ASYNC:void 0)},enterState:function(t,e,i,r,o){n.enterThisState(t,e,i,r,o),n.enterAnyState(t,e,i,r,o)},buildEvent:function(t,e){return function(){var i=this.current,r=e[i]||(e[n.WILDCARD]!=n.WILDCARD?e[n.WILDCARD]:i)||i,o=Array.prototype.slice.call(arguments);if(this.transition)return this.error(t,i,r,o,n.Error.PENDING_TRANSITION,"event "+t+" inappropriate because previous transition did not complete");if(this.cannot(t))return this.error(t,i,r,o,n.Error.INVALID_TRANSITION,"event "+t+" inappropriate in current state "+this.current);if(!1===n.beforeEvent(this,t,i,r,o))return n.Result.CANCELLED;if(i===r)return n.afterEvent(this,t,i,r,o),n.Result.NOTRANSITION;var a=this;this.transition=function(){return a.transition=null,a.current=r,n.enterState(a,t,i,r,o),n.changeState(a,t,i,r,o),n.afterEvent(a,t,i,r,o),n.Result.SUCCEEDED},this.transition.cancel=function(){a.transition=null,n.afterEvent(a,t,i,r,o)};var s=n.leaveState(this,t,i,r,o);return!1===s?(this.transition=null,n.Result.CANCELLED):n.ASYNC===s?n.Result.PENDING:this.transition?this.transition():void 0}}};"undefined"!=typeof t&&t.exports&&(e=t.exports=n),e.StateMachine=n}()},,,,function(t,e,n){e.fail=function(t){throw new Error("NC Fail: "+t)}},function(t,e,n){t.exports=function(){var t=navigator.userAgent;return/Windows/.test(t)?"win":/Macintosh/.test(t)?"mac":/Android/.test(t)?"Android":/(iPhone|iPad)/.test(t)?"iOS":/Linux/.test(t)?"linux":"unknow"}},function(t,e,n){function i(t,e){if("string"==typeof e&&-1!==e.indexOf(".")){var n=e.split("."),r=n[0],o=n.slice(1).join(".");return t.hasOwnProperty(r)?i(t[r],o):""}return t.hasOwnProperty(e)?t[e]:""}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.replace(/\{\{([\w\.]+)\}\}/g,(function(t,n){return i(e,n)}))}e.render=r},function(t,e,n){function i(t){var e,n="",i=p.getElementById("umFlash");if(i&&!n)try{e=i.getCookie(t)||"",n=e}catch(r){}try{f.localStorage&&!n&&(e=localStorage[t]||"",n=e)}catch(r){}if(f.navigator.cookieEnabled&&!n){var o=p.cookie.indexOf(t+"=");if(-1!=o){o+=t.length+1;var a=p.cookie.indexOf(";",o);-1==a&&(a=p.cookie.length),e=decodeURIComponent(p.cookie.substring(o,a))||"",n=e}}return n}function r(t,e,n){n=n||7;var i=new Date;i.setTime(i.getTime()+864e5*n),p.cookie=[encodeURIComponent(t),"=",encodeURIComponent(""+e),";expires=",i.toGMTString()].join("")}function o(){var t,e=/Firefox/.test(navigator.userAgent);if(e)try{t=localStorage.getItem(m)}catch(n){}return t=t||i(m),t||(t=g+a(11),r(m,t,3650)),t}function a(t){for(var e="";e.length<t;)e+=Math.random().toString().substr(2);return e.substring(e.length-t)}function s(){var t=f._sec_module=f._sec_module||{};if(u=t.token)return u;var e=o();return u=e+g+a(3),t.token=u,u}function c(){if(d)return d;var t="_umdata";try{f.localStorage&&(d=localStorage.getItem(t))}catch(e){}return d||(d=i(t),d||"")}function l(){return h||(h=c()||s())}var u,d,h,f=window,p=document,m="_uab_collina",g=f.pointman&&pointman._now?pointman._now:(new Date).getTime();e.getSecToken=s,e.getNCToken=l},function(t,e,n){function i(t,e){this.id=function(t){return 0===t.indexOf("#")?a.getElementById(t.slice(1)):a.getElementById(t)},this.tag=function(t){var e=t.split(" ");return this.id(e[0]).getElementsByTagName(e[1])},this.toggle=function(t){var e=this.id(t);"none"==e.style.display||""===e.style.display?e.style.display="block":e.style.display="none"},this.clone=function(t){var e,n,i=t;if(t&&((n=t instanceof Array)||t instanceof Object))for(e in i=n?[]:{},t)t.hasOwnProperty(e)&&(i[e]=this.clone(t[e]));return i},this.extend=function(t,e,n){var i,r;if(e instanceof Array)for(i=0,r=e.length;i<r;i++)this.extend(t,e[i],n);for(i in e)i in t&&e.hasOwnProperty(i)&&(t[i]=e[i]);return t},this.objUpdate=function(t,e){var n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},this.loadjs=function(t,e,n){function i(){clearTimeout(l),o||(o=!0,e(
210))}var r=a.createElement("script");r.type="text/javascript";var o,c=n||"";s.getElementsByClassName(c),r.className=c,r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,i())},r.onload=i,r.src=t,r.onerror=function(t){e(t),r.onload=null};var l=setTimeout((function(){r.onerror("timeout")}),2e4),u=a.getElementsByTagName("script")[0];u.parentNode.insertBefore(r,u)},this.jsonp=function(n){var i,r=0;if(n.timeout=t.timeout||3e3,n.times=t.times||3,n=n||{},!n.url||!n.callback)throw new Error("åæ°ä¸åæ³");var s=("jsonp_"+Math.random()).replace(".",""),c=a.getElementsByTagName("script")[0],l="";n.data?(n.data[n.callback]=s,l+=e(n.data)):l+=n.callback+"="+s;var u=a.createElement("script");c.parentNode.insertBefore(u,c),o[s]=function(t){o[s]=function(){report("åè°å·²æ§è¡è¿,ä¸åæ§è¡"),o[s]=null};try{u.parentNode&&u.parentNode.removeChild(u)}catch(e){}clearInterval(i),n.success&&n.success(t)},u.src=n.url+(-1==n.url.indexOf("?")?"?":"&")+l,n.timeout&&(i=setInterval((function(){var t;if(r++,r>=n.times){o[s]=function(){},clearInterval(i);try{u.parentNode&&u.parentNode.removeChild(u)}catch(e){}n.fail(1)}else try{u.parentNode&&u.parentNode.removeChild(u),u=a.createElement("script"),t=a.getElementsByTagName("script")[0],t.parentNode.insertBefore(u,t),u.src=n.url+(-1==n.url.indexOf("?")?"?":"&")+l+"&t="+Math.random()}catch(e){}}),n.timeout))},this.obj2str=function t(e){var n,i=[],o=t;if("string"==typeof e)return'"'+e.replace(/(['"\\])/g,"\\$1").replace(/(\n)/g,"\\n").replace(/(\r)/g,"\\r").replace(/(\t)/g,"\\t")+'"';if("undefined"==typeof e)return"undefined";if("object"==("undefined"==typeof e?"undefined":r(e))){if(null===e)return"null";if(e.sort){for(n=0;n<e.length;n++)i.push(o(e[n]));i="["+i.join()+"]"}else{for(n in e)e.hasOwnProperty(n)&&i.push('"'+n+'":'+o(e[n]));i="{"+i.join()+"}"}return i}return e.toString()},this.addHandler=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,n)},this.removeEvt=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent&&t.detachEvent("on"+e,n)}}var r="function"==typeof _symbol2.default&&"symbol"==(0,_typeof4.default)(_iterator2.default)?function(t){return"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)}:function(t){return t&&"function"==typeof _symbol2.default&&t.constructor===_symbol2.default&&t!==_symbol2.default.prototype?"symbol":"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)},o=window,a=document,s=n(1);e.BaseFun=i},function(t,e,n){var i=n(20),r={renderTo:"",isEnabled:!0,foreign:0,cssUrl:!1,uaUrl:"",appkey:"",trans:{},token:i.getNCToken(),elementID:"",audio:!1,timeout:3e3,times:3,is_Opt:0,language:"cn",umidServer:"h",scene:"",is_tbLogin:0,tb_errMsg:"",glog:.05,apimap:{},callback:function(){},error:function(){},verifycallback:function(){}};e.default_opt=r},function(t,e,n){var i=(_https_?"https:":"")+"//cf.aliyun.com";t.exports={min_width:300,min_height:100,default_stroke_width:16,min_events_count:30,max_retry:3,api_prepare:i+"/scratchCardSlide/prepare.jsonp",api_report:i+"/scratchCardSlide/dataReport.jsonp",api_analyze:i+"/scratchCardSlide/analyze.jsonp",obj_ok:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1OLQ7SFXXXXaoapXXXXXXXXXX-57-70.png",obj_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",obj_size:70,bg_back:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1ml9hPFXXXXcjXFXXXXXXXXXX-100-80.png",bg_front:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1531mPFXXXXc_XpXXXXXXXXXX-100-80.png",err_TIMEOUT_uab:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_TIMEOUT_um:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_fail_prepare:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",err_fail_analyze:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",grid_size:8,action_timeout:6e4,default_options:{language:"cn",objects:[(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1NYk7SFXXXXcWaXXXXXXXXXXX-57-69.png",(_https_?"https:":"")+"//img.alicdn.com/tfs/TB12q8sSVXXXXcSXFXXXXXXXXXX-57-67.png"],elements:[(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1NYk7SFXXXXcWaXXXXXXXXXXX-57-69.png",(_https_?"https:":"")+"//img.alicdn.com/tfs/TB12q8sSVXXXXcSXFXXXXXXXXXX-57-67.png"],obj_ok:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1OLQ7SFXXXXaoapXXXXXXXXXX-57-70.png",obj_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",obj_error:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1N4lDSVXXXXcFXpXXXXXXXXXX-57-66.png",bg_front:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABQCAMAAADY1yDdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURefk5w+ruswAAAAfSURBVFjD7cExAQAAAMKg9U9tCU+gAAAAAAAAAIC3AR+QAAFPlUGoAAAAAElFTkSuQmCC",bg_back_prepared:(_https_?"https:":"")+"//img.alicdn.com/tps/TB1skE5SFXXXXb3XXXXXXXXXXXX-100-80.png",bg_back:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png",bg_back_fail:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png",bg_back_pass:(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1KDxCSVXXXXasXFXXXXXXXXXX-100-80.png"}}},function(t,e,n){function i(t,e){var n,i,o=e?{}:t;for(n in t)t.hasOwnProperty(n)&&(i=t[n],"string"==typeof i&&(i=[i]),o[n]='<span class="nc-lang-cnt" data-nc-lang="'+n+'">'+r(h[n],i)+"</span>");return o}function r(t,e){return(t+"").replace(/\\?\{\s*([^{}\s]+)\s*\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):e[n]||""}))}function o(t,e){var n,r=f[t]=f[t]||{};for(n in e=i(e,!0),e)e.hasOwnProperty(n)&&(r[n]=e[n])}function a(t,e){var n,r={},o=f[t]=f[t]||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);for(n in e=i(e,!0),e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r}function s(t,e){return t.replace(/(javascript:noCaptcha.reset\()(\))/gi,"$1"+e+"$2")}var c,l="javascript:noCaptcha.reset()",u="https://survey.taobao.c
210om/survey/AMnMVgrS4?type=%TYPE&str=%STR",d="{0}",h={_ggk_guide:"{0}",_ggk_start:d,_ggk_net_err:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_too_fast:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_action_timeout:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_fail:'{0}<a href="{1}">{2}</a>{3}<a target="_blank" href="{4}">{5}</a>',_ggk_success:d,_ggk_loading:"{0}"},f={cn:{_ggk_guide:"请æä½é¼ æ å·¦é®ï¼å®åºä¸¤åªå°é¸¡",_ggk_start:"",_ggk_net_err:["ç½ç»å®å¨ä¸ç»å<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_fail:["åï¼å°é¸¡éè·äº<br/>请",l,"忥䏿¬¡","æ",u,"åé¦é®é¢"],_ggk_success:"æåæ¨æåå®åºå°é¸¡ï¼ç»§ç»ä¸ä¸æ¥æä½å§",_ggk_loading:"å è½½ä¸"},tw:{_ggk_guide:"è«æä½æ»é¼ å·¦éµï¼å®åºå
©é»å°é",_ggk_start:"",_ggk_net_err:["網路實å¨ä¸çµ¦å<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_too_fast:["æ¨å®å¾å¤ªå¿«å¦<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_action_timeout:["æçå¾å¤ªä¹
å¦<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_fail:["åï¼å°ééè·äº<br/>è«",l,"忥䏿¬¡","æ",u,"åæ åé¡"],_ggk_success:"æåæ¨æåå®åºå°éï¼ç¹¼çºä¸ä¸æ¥æä½å§",_ggk_loading:"å è¼ä¸"},en:{_ggk_guide:"Hold your left mouse button down to scratch out two chickens",_ggk_start:"",_ggk_net_err:["Problem with the network<br/>Please ",l,"try again ","or",u," report your problem"],_ggk_too_fast:["You were being too fast<br/>Please ",l,"try again ","or",u," report your problem"],_ggk_action_timeout:["You've been idled for too long<br/>Please ",l,"try again ","or",u," report your problem"],_ggk_fail:["Oops, the chickens ran away<br/>Please ",l,"try again ","or",u," report your problem"],_ggk_success:"Congratulations! You've got the chickens!",_ggk_loading:"Loading"},es_ES:{_ggk_guide:"Mantén pulsado el botón izquierdo del ratón para rascar dos pollos",_ggk_start:"",_ggk_net_err:["Hay problemas con la red.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_too_fast:["¡Has sido demasiado rápido.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_action_timeout:["Se ha acabado el tiempo.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_fail:["¡Vaya! Los pollos han huido.",l,"Vuelve a intentarlo ","o",u," informa del problema"],_ggk_loading:"Cargando",_ggk_success:"¡Enhorabuena! ¡Has atrapado los pollos!"},pl_PL:{_ggk_guide:"Przytrzymaj lewy przycisk myszy, aby zdobyÄ dwa kurczaki",_ggk_start:"",_ggk_net_err:["Problem z sieciÄ
.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_too_fast:["Za szybko.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_action_timeout:["BezczynnoÅÄ trwaÅa zbyt dÅugo.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_fail:["Ups, kurczaki uciekÅy.",l,"Spróbuj ponownie ","lub",u," zgÅoÅ swój problem"],_ggk_loading:"ÅadujÄ",_ggk_success:"Gratulacje! UdaÅo Ci siÄ zdobyÄ kurczaki!"},fr_FR:{_ggk_guide:"Maintenez appuyé le bouton gauche de la souris pour gratter deux poulets",_ggk_start:"",_ggk_net_err:["Problème de réseau.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_too_fast:["Vous avez été trop rapide.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_action_timeout:["Délai d'attente dépassé.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_fail:["Oups, les poulets se sont enfuit.",l,"Veuillez réessayer ","ou",u," signaler votre problème"],_ggk_loading:"Chargement",_ggk_success:"Bravo ! Les poulets sont à vous'!"},de_DE:{_ggk_guide:"Halten Sie die linke Maustaste gedrückt, um zwei Hühner zu kratzen",_ggk_start:"",_ggk_net_err:["Netzwerkproblem. Bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_too_fast:["Zu schnell. Bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_action_timeout:["Zeitüberschreitung, bitte.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_fail:["Hoppla, die Hühner sind davongelaufen.",l,"versuchen Sie es erneut ","oder",u," melden Sie ein Problem"],_ggk_loading:"Lade",_ggk_success:"Glückwunsch! Sie haben die Hühner erwischt!"},it_IT:{_ggk_guide:"Tieni premuto il tasto sinistro del mouse per grattare due polli",_ggk_start:"",_ggk_net_err:["Problemi con la rete.",l,"Riprova ","o",u," segnala il problema"],_ggk_too_fast:["Sei stato troppo veloce.",l,"Riprova ","o",u," segnala il problema"],_ggk_action_timeout:["Tempo scaduto.",l,"Riprova ","o",u," segnala il problema"],_ggk_fail:["Ops... i polli sono scappati.",l,"Riprova ","o",u," segnala il problema"],_ggk_loading:"Sto caricando",_ggk_success:"Complimenti! Hai preso i polli!"},ru_RU:{_ggk_guide:"УдеÑживайÑе нажаÑой левÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð¼ÑÑи, ÑÑÐ¾Ð±Ñ Ð²ÑÑаÑапаÑÑ Ð´Ð²ÑÑ
ÑÑплÑÑ",_ggk_start:"",_ggk_net_err:["СÑÑеÑÑвÑÐµÑ Ð¿Ñоблема Ñ ÑеÑÑÑ.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_too_fast:["СлиÑком бÑÑÑÑо.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_action_timeout:["ÐÑÐµÐ¼Ñ Ð¸ÑÑекло.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_fail:["Ðй, ÑÑплÑÑа Ñбежали.",l,"ÐовÑоÑиÑе попÑÑÐºÑ ","или",u," ÑообÑиÑе о пÑоблеме"],_ggk_loading:"ÐагÑÑзка",_ggk_success:"ÐоздÑавлÑем! ÐÑ Ð¿Ð¾Ð¹Ð¼Ð°Ð»Ð¸ ÑÑплÑÑ!"},ja_JP:{_ggk_guide:"ãã¦ã¹ã®å·¦ãã¿ã³ãã¯ãªãã¯ãã¦2å¹ã®ãã¯ããªãæ¶ãã¾ã",_ggk_start:"",_ggk_net_err:["ãããã¯ã¼ã¯ã«åé¡ãããã¾ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_too_fast:["éããã¾ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_action_timeout:["ã¿ã¤ã ã¢ã¦ã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_fail:["ãã£ã¨ããã¯ããªãéãã¦ãã¾ãã¾ãã.",l,"åè©¦è¡ ","ããã",u," åé¡ãå ±åãã¦ãã ãã"],_ggk_loading:"æ´æ°ãã¦ãã¾ã",_ggk_success:"ããã§ã¨ããããã¾ãï¼ãã¯ããªãæã¾ãããã¾ãã!"},ko_KR:{_ggk_guide:"ì¼ìª½ ë§ì°ì¤ ë²í¼ì ëë¬ ë ë ë§ë¦¬ë¥¼ ì§ì°ì¸ì",_ggk_start:"",_ggk_net_err:["ë¤í¸ìí¬ì 문ì ê° ììµëë¤ã.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_too_fast:["ë무 ë¹ ë¦
ëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_action_timeout:["ìê°ì´ ì´
210ê³¼ëììµëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_fail:["ì´ë°, ëì´ ë¬ìë¬ìµëë¤.",l,"ë¤ì ìëíì ","ê±°ë",u," 문ì 를 ë³´ê³ í´ ì£¼ì¸ì"],_ggk_loading:"ë¡ë©",_ggk_success:"ì¶íí©ëë¤! ëì ì¡ì¼ì
¨êµ°ì!"},ar_SA:{_ggk_guide:"استÙ
ر ÙÙ Ø§ÙØ¶ØºØ· عÙ٠زر اÙÙ
Ø§ÙØ³ Ø§ÙØ£Ùسر ÙØØ°Ù Ø¯Ø¬Ø§Ø¬ØªÙÙ",_ggk_start:"",_ggk_net_err:["ØªÙØ¬Ø¯ Ù
Ø´ÙÙØ© Ø¨Ø§ÙØ´Ø¨ÙØ©. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_too_fast:["ÙÙØª Ø³Ø±ÙØ¹Ùا Ø¬Ø¯ÙØ§. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_action_timeout:["Ø§ÙØªÙت اÙÙ
ÙÙØ©Ø ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_fail:["Ø¹Ø°Ø±ÙØ§Ø ÙÙØ¯ ÙØ±Ø¨Øª Ø§ÙØ¯Ø¬Ø§Ø¬Ø§Øª. ÙÙØ±Ø¬Ù.",l,"اÙÙ
ØØ§ÙÙØ© Ù
رة أخر٠","Ø£Ù",u," Ø§ÙØ¥Ø¨Ùاغ ع٠اÙÙ
Ø´ÙÙØ©"],_ggk_loading:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ",_ggk_success:"ØªÙØ§ÙÙÙØ§! ÙÙØ¯ ØØµÙت عÙÙ Ø§ÙØ¯Ø¬Ø§Ø¬ØªÙÙ!"},tr_TR:{_ggk_guide:"2 adet tavuÄun üstünü çizmek için farenin sol tuÅunu basılı tutun",_ggk_start:"",_ggk_net_err:["AÄla ilgili bir sorun. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_too_fast:["Fazla hızlıydınız. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_action_timeout:["Süre doldu, lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_fail:["Tüh, tavuklar kaçtı. Lütfen.",l,"tekrar deneyin ","veya",u," sorununuzu bildirin"],_ggk_loading:"Yükleniyor",_ggk_success:"Tebrikler! Tavukları aldınız!"},th_TH:{_ggk_guide:"à¸à¸à¸à¸¸à¸¡à¹à¸¡à¸²à¸ªà¹à¸à¹à¸²à¸à¸à¹à¸²à¸¢à¸à¹à¸²à¸à¹à¸§à¹à¹à¸à¸·à¹à¸à¸à¸¹à¸à¹à¸à¸²à¹à¸à¹à¸ªà¸à¸à¸à¸±à¸§",_ggk_start:"",_ggk_net_err:["à¸à¸±à¸à¸«à¸²à¹à¸à¸µà¹à¸¢à¸§à¸à¸±à¸à¹à¸à¸£à¸·à¸à¸à¹à¸²à¸¢.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_too_fast:["à¸à¸¸à¸à¸à¸³à¹à¸£à¹à¸§à¹à¸à¸´à¸à¹à¸.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_action_timeout:["หมà¸à¹à¸§à¸¥à¸².",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_fail:["à¸à¸¸à¹à¸à¸ªà¹ à¹à¸à¹à¸§à¸´à¹à¸à¸«à¸à¸µà¹à¸à¹à¸¥à¹à¸§.",l,"à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ","หรืà¸",u," รายà¸à¸²à¸à¸à¸±à¸à¸«à¸²à¸à¸à¸à¸à¸¸à¸"],_ggk_loading:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸",_ggk_success:"à¸à¸à¹à¸ªà¸à¸à¸à¸§à¸²à¸¡à¸¢à¸´à¸à¸à¸µ! à¸à¸¸à¸à¸à¸±à¸à¹à¸à¹à¹à¸à¹!"},vi_VN:{_ggk_guide:"Nhấn giữ nút chuá»t trái Äá» cà o ra hai con gà ",_ggk_start:"",_ggk_net_err:["Mạng gặp sá»± cá».",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_too_fast:["Bạn Äã quá nhanh.",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_action_timeout:["Hết giá».",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_fail:["Rất tiếc, lÅ© gà Äã chạy Äi rá»i.",l,"Vui lòng thá» lại ","hoặc",u," báo cáo sá»± cá» cá»§a bạn"],_ggk_loading:"Äang tải",_ggk_success:"Xin chúc mừng! Bạn Äã bắt ÄÆ°á»£c gà !"},nl_NL:{_ggk_guide:"Houd de linkermuisknop ingedrukt om twee kippen weg te strepen",_ggk_start:"",_ggk_net_err:["Probleem met het netwerk.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_too_fast:["U was te snel.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_action_timeout:["Time-out.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_fail:["Oeps, de kippen zijn weggerend.",l,"Probeer het opnieuw ","of",u," rapporteer uw probleem"],_ggk_loading:"Laden",_ggk_success:"Gefeliciteerd! U hebt de kippen!"},iw_HE:{_ggk_guide:"××××§ ×ת ×××¦× ××¢××ר ×ש×××× ×¢× ×× ×ª ×××¨× ×××ש××£ ×©×ª× ×ª×¨× ××××ת",_ggk_start:"",_ggk_net_err:["×××× ×¢× ××¢××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_too_fast:["×××ת ×××ר ×××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_action_timeout:["×××× ×ª×.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_fail:["××פס, ××ª×¨× ××××ת ×ר××.",l,"××¢××ת רשת ","××",u," ×××× ×¢× ××¢××"],_ggk_loading:"×××¢×",_ggk_success:"××× ×××! ×ש×ת ×ת ××ª×¨× ××××ת!"}
210,in_ID:{_ggk_guide:"Tahan tombol mouse kiri Anda untuk menggurat dua ekor ayam",_ggk_start:"",_ggk_net_err:["Masalah dengan jaringan.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_too_fast:["Anda terlalu cepat.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_action_timeout:["Waktu habis.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_fail:["Ups, ayamnya lari.",l,"Coba lagi ","atau",u," laporkan masalah Anda"],_ggk_loading:"Memuat",_ggk_success:"Selamat! Anda mendapatkan ayamnya!"}};for(c in f)f.hasOwnProperty(c)&&i(f[c]);f.zh_CN=f.cn,f.zh_TW=f.tw,f.en_US=f.en,f.iw_IL=f.iw_HE,f.pt_PT=f.pt_BR,f.ar_MA=f.ar_SA,e.language=f,e.upLang=o,e.replaceLang=a,e.upResetIndex=s},function(t,e,n){e=t.exports=n(8)(),e.push([t.i,".nc-container div#nc-loading-circle {\n background: transparent;\n width: 20px;\n height: 20px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n.nc-container div#nc-loading-circle .sk-circle {\n background: transparent;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.nc-container #nc-loading-circle .sk-circle:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 15%;\n height: 15%;\n background-color: #818181;\n border-radius: 100%;\n -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n}\n.nc-container #nc-loading-circle .sk-circle2 {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg);\n}\n.nc-container #nc-loading-circle .sk-circle3 {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg);\n}\n.nc-container #nc-loading-circle .sk-circle4 {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n.nc-container #nc-loading-circle .sk-circle5 {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg);\n}\n.nc-container #nc-loading-circle .sk-circle6 {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg);\n}\n.nc-container #nc-loading-circle .sk-circle7 {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n.nc-container #nc-loading-circle .sk-circle8 {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg);\n}\n.nc-container #nc-loading-circle .sk-circle9 {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg);\n}\n.nc-container #nc-loading-circle .sk-circle10 {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n.nc-container #nc-loading-circle .sk-circle11 {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg);\n}\n.nc-container #nc-loading-circle .sk-circle12 {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg);\n}\n.nc-container #nc-loading-circle .sk-circle2:before {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s;\n}\n.nc-container #nc-loading-circle .sk-circle3:before {\n -webkit-animation-delay: -1s;\n animation-delay: -1s;\n}\n.nc-container #nc-loading-circle .sk-circle4:before {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s;\n}\n.nc-container #nc-loading-circle .sk-circle5:before {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s;\n}\n.nc-container #nc-loading-circle .sk-circle6:before {\n -webkit-animation-delay: -0.7s;\n animation-delay: -0.7s;\n}\n.nc-container #nc-loading-circle .sk-circle7:before {\n -webkit-animation-delay: -0.6s;\n animation-delay: -0.6s;\n}\n.nc-container #nc-loading-circle .sk-circle8:before {\n -webkit-animation-delay: -0.5s;\n animation-delay: -0.5s;\n}\n.nc-container #nc-loading-circle .sk-circle9:before {\n -webkit-animation-delay: -0.4s;\n animation-delay: -0.4s;\n}\n.nc-container #nc-loading-circle .sk-circle10:before {\n -webkit-animation-delay: -0.3s;\n animation-delay: -0.3s;\n}\n.nc-container #nc-loading-circle .sk-circle11:before {\n -webkit-animation-delay: -0.2s;\n animation-delay: -0.2s;\n}\n.nc-container #nc-loading-circle .sk-circle12:before {\n -webkit-animation-delay: -0.1s;\n animation-delay: -0.1s;\n}\n@-webkit-keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n@-webkit-keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n@keyframes sk-circleFadeDelay {\n 0%, 39%, 100% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n}\n.nc-container .scale_text2 #nc-loading-circle .sk-circle:before {\n background-color: #fff;\n}\n",""])},function(t,e,n){var i=n(25);"string"==typeof i&&(i=[[t.i,i,""]]),n(10)(i,{}),i.locals&&(t.exports=i.locals)},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var i=window,r=n(1);e.makeLog=function(t){function e(t,e,n){var i=r.obj2param({appkey:encodeURIComponent(t),token:encodeURIComponent(e),flag:n});
210r.send(o+"?cache="+Math.random()+"&gmkey=evt&gokey="+encodeURIComponent(i))}function n(e){i.console;var n=t+"jstracker.2",o=r.obj2param({type:"9",id:"jstracker",v:"1",nick:"",islogin:"",msg:e,file:"",ua:"",line:"",scrolltop:"",screen:"",t:+new Date});r.send(n+"?"+o)}t=t||(_https_?"https:":"")+"//gm.mmstat.com/";var o=t+"aq.1.1.3",a={};return a.log=e,a.report=n,a}},function(t,e,n){var i=n(5);e.init=function(t){var e=t.fsm;e.onenteractiontimeout=function(){i.addClass(t.el,"nc-fail")},e.onleaveactiontimeout=function(){i.removeClass(t.el,"nc-fail")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterdestroyed=function(){t.el.innerHTML=""},e.onleavedestroyed=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onentererror=function(){},e.onleaveerror=function(){}}},function(t,e,n){var i=n(5),r=n(23);e.init=function(t){var e=t.fsm,n=i.mix({},r.default_options,t.options||{});e.onenterfail=function(){var e=(t.index>0&&t.index,t.scrape.prefix);i.addClass(t.el,"nc-fail");var r=document.getElementById(e+"container");if(r&&n.bg_back_fail){var o=i.getElementsByClassName("nc-bg",r)[0];o&&(o.style.background="url("+n.bg_back_fail+")")}},e.onleavefail=function(){i.removeClass(t.el,"nc-fail")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterinitially=function(){},e.onleaveinitially=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterload_error=function(){},e.onleaveload_error=function(){}}},function(t,e,n){var i=n(127),r=n(128),o=n(126),a=n(5),s=o.names,c=n(2);e.init=function(t){var e=t.fsm;e.onenterloading=function(){UA_Opt.resetSA&&UA_Opt.resetSA();var n=t.scrape||r.create(t);t.scrape=n,c.resolve().then((function(){var e=t._custom_state._on_loading;return e=Array.isArray(e)?e:[],e.length>0?c.all(a.map(e,(function(t){return t()}))):0})).then((function(){return new c((function(e,n){i.load(t,(function(t){return t?n(t):e()}))}))})).then((function(){var e=t._custom_state.loading;return e=Array.isArray(e)?e:[],e.length>0?c.all(a.map(e,(function(t){return t()}))):0})).then((function(){return new c((function(e,i){r.render(n,(function(n){return n?void i(n):(t.fire(s.ready),void e())}))}))})).then((function(){return e.load()}))["catch"]((function(t){e.loaderror()}))},e.onleaveloading=function(){t.on_leave_loading&&t.on_leave_loading()}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterneed_two_step_verify=function(){},e.onleaveneed_two_step_verify=function(){}}},function(t,e,n){var i=n(5),r=n(23);e.init=function(t){var e=t.fsm,n=i.mix({},r.default_options,t.options||{});e.onenterpass=function(){var e=(t.index>0&&t.index,t.scrape.prefix);i.addClass(t.el,"nc-pass");var r=document.getElementById(e+"container");if(r&&n.bg_back_pass){var o=i.getElementsByClassName("nc-bg",r)[0];o&&(o.style.background="url("+n.bg_back_pass+")")}},e.onleavepass=function(){i.removeClass(t.el,"nc-pass")}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterready=function(){},e.onleaveready=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterreseting=function(){e.resetdone()},e.onleavereseting=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_error=function(){},e.onleavets_error=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_fail=function(){},e.onleavets_fail=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_loading=function(){},e.onleavets_loading=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_pass=function(){},e.onleavets_pass=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_ready=function(){},e.onleavets_ready=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterts_verifying=function(){},e.onleavets_verifying=function(){}}},function(t,e,n){e.init=function(t){var e=t.fsm;e.onenterverifying=function(){},e.onleaveverifying=function(){}}},function(t,e,n){t.exports=n(4)},function(t,e,n){!function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(i){n.innerText=e}}(document,'@charset "utf-8";\n@font-face{font-family:\'nc_iconfont\';src:url("//at.alicdn.com/t/font_1465353706_4784257.eot");src:url("//at.alicdn.com/t/font_1465353706_4784257.eot?#iefix") format(\'embedded-opentype\'),url("//at.alicdn.com/t/font_1465353706_4784257.woff") format(\'woff\'),url("//at.alicdn.com/t/font_1465353706_4784257.ttf") format(\'truetype\'),url("//at.alicdn.com/t/font_1465353706_4784257.svg#iconfont") format(\'svg\')}@font-face{font-family:\'ncpc_iconfont\';src:url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.eot");src:url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.eot?#iefix") format(\'embedded-opentype\'),url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.woff") format(\'woff\'),url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.ttf") format(\'truetype\'),url("//at.alicdn.com/t/font_384029_rhzpmteb25oecdi.svg#ncpc_iconfont") format(\'svg\')}.nc-container div#nc-loading-circle{background:transparent;width:20px;height:20px;
210display:inline-block;position:relative;vertical-align:middle}.nc-container div#nc-loading-circle .sk-circle{background:transparent;width:100%;height:100%;position:absolute;left:0;top:0}.nc-container #nc-loading-circle .sk-circle:before{content:\'\';display:block;margin:0 auto;width:15%;height:15%;background-color:#818181;border-radius:100%;-webkit-animation:sk-circleFadeDelay 1.2s infinite ease-in-out both;animation:sk-circleFadeDelay 1.2s infinite ease-in-out both}.nc-container #nc-loading-circle .sk-circle2{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.nc-container #nc-loading-circle .sk-circle3{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.nc-container #nc-loading-circle .sk-circle4{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.nc-container #nc-loading-circle .sk-circle5{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.nc-container #nc-loading-circle .sk-circle6{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.nc-container #nc-loading-circle .sk-circle7{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.nc-container #nc-loading-circle .sk-circle8{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.nc-container #nc-loading-circle .sk-circle9{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.nc-container #nc-loading-circle .sk-circle10{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.nc-container #nc-loading-circle .sk-circle11{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.nc-container #nc-loading-circle .sk-circle12{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.nc-container #nc-loading-circle .sk-circle2:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.nc-container #nc-loading-circle .sk-circle3:before{-webkit-animation-delay:-1s;animation-delay:-1s}.nc-container #nc-loading-circle .sk-circle4:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.nc-container #nc-loading-circle .sk-circle5:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.nc-container #nc-loading-circle .sk-circle6:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.nc-container #nc-loading-circle .sk-circle7:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.nc-container #nc-loading-circle .sk-circle8:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.nc-container #nc-loading-circle .sk-circle9:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.nc-container #nc-loading-circle .sk-circle10:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.nc-container #nc-loading-circle .sk-circle11:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.nc-container #nc-loading-circle .sk-circle12:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@-webkit-keyframes sk-circleFadeDelay{0%,39%,100%{opacity:0}40%{opacity:1}}@-webkit-keyframes sk-circleFadeDelay{0%,39%,100%{opacity:0}40%{opacity:1}}@keyframes sk-circleFadeDelay{0%,39%,100%{opacity:0}40%{opacity:1}}.nc-container .scale_text2 #nc-loading-circle .sk-circle:before{background-color:#fff}.nc_iconfont{font-family:"nc_iconfont";color:#ff3f08;font-size:16px;font-style:normal}.ncpc_iconfont{font-family:"ncpc_iconfont";color:#ff3f08;font-size:16px;font-style:normal}.captcha-error .icon_ban{float:left;font-size:16px;padding-right:5px;line-height:14px}.clickCaptcha_text .btn_refresh{font-style:normal;cursor:pointer;background:#fff;color:#737383}.imgCaptcha .btn_refresh{font-size:20px;cursor:pointer;background:#fff;color:#737383}.nc_voice{display:none;position:relative;margin-top:-34px;z-index:99;width:auto;height:34px;background:#fff}.omeo-code-img,.omeo-code-audio{font-size:0;text-align:left}.omeo-code-audiobox,.omeo-code-img a,.omeo-code-audio a,.omeo-code-state{display:inline-block;*display:inline;zoom:1;height:32px;vertical-align:top;font-size:12px}.omeo-code .omeo-code-refresh{background:transparent;width:32px;height:32px;font-size:20px;color:#888;text-align:center;text-decoration:none;padding-left:4px;line-height:32px}.omeo-code .omeo-switch{display:none;width:32px;height:32px;border-left:1px solid #e1e1e1;background-image:url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/checkcode.png");background-repeat:no-repeat}.omeo-img-active .omeo-code-img{display:block}.omeo-img-active .omeo-code-audio{display:none}.omeo-code-img img{border:1px solid #cdcdcd;
210cursor:pointer}.omeo-code-img .omeo-switch{background-position:9px -41px}.omeo-audio-active .omeo-code-audio{display:block}.omeo-audio-active .omeo-code-img{display:none}.omeo-code-refresh{position:relative;left:95px}.omeo-code-audiobox{position:relative;height:30px;line-height:32px;border:1px solid #e1e1e1;text-align:center;overflow:hidden;left:100px;top:1px;width:45%;min-width:80px;background-color:#eee}.omeo-code-audiobox a{display:block;text-decoration:none;color:#06c}.omeo-code-audiobox-playing a{visibility:hidden}.omeo-code-audiobox span,.omeo-code-audiobox b{visibility:hidden;position:absolute;top:0;left:0;height:30px;font-weight:100;overflow:hidden}.omeo-code-audiobox-playing span,.omeo-code-audiobox-playing b{visibility:visible}.omeo-code-audiobox span{z-index:0;width:0;background:#186bca}.omeo-code-audiobox b{width:100%;z-index:1;text-align:left;text-indent:30px;color:#999;background:url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/checkcode.png") no-repeat 14px -89px}.omeo-code-audio .omeo-switch{background-position:5px 10px}input[type=text]::-ms-clear{display:none}.omeo-box{position:relative;background-color:#fff}.omeo-code-echo{position:absolute;top:2px;left:2px}.omeo-code-echo input{padding:5px;height:18px;line-height:18px;border:1px solid #ddd;width:80px;outline:0}.omeo-code-state{height:30px;line-height:30px;text-indent:25px;white-space:nowrap;background-image:url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/checkcode.png");background-repeat:no-repeat;background-position:100px 100px}.omeo-code-echo .omeo-code-state-error{width:auto;background-position:7px -193px}.omeo-code-echo .omeo-code-state-success{position:absolute;width:30px;background-position:7px -243px}.omeo-code-state{position:absolute;left:0;top:28px}.nc_voice_close{display:inline-block;position:relative;cursor:pointer;left:95px;top:0;border-left:#ddd 2px solid;padding:0 0 0 7px;background-color:#fff;font-size:20px;color:#888;line-height:32px}.nc_help{position:absolute;width:100%;height:100%;left:0;top:0;z-index:99999}.nc_help .mask{background-color:#000;opacity:.5;filter:alpha(opacity=50);width:100%;height:100%;top:0;left:0}.nc_btn_close{position:absolute;height:20px;left:500px;border-radius:20px;padding:10px 30px;background-color:#aaa;color:#fff;cursor:pointer;z-index:10}.nc_btn_close:hover{background-color:#afafaf}.nc_hand{position:absolute;width:68px;height:53px;background-image:url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/hand.png");z-index:3}.nc_slide_bg{z-index:3;font-size:12px;text-align:center;color:#fff;line-height:34px}.nc_voicebtn{position:absolute;padding:0;right:-25px;font-size:23px;color:#888;cursor:pointer;line-height:34px}.nc_helpbtn{position:absolute;cursor:pointer;right:-95px;top:4px;font-size:12px;background-color:#ffb668;color:#fff;padding:4px;border-radius:2px;line-height:18px;display:none}.nc_helpbtn:before{width:0;height:0;content:"";position:absolute;left:-2px;top:6px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:4px solid #ffb668}.nc-container .errloading{border:#faf1d5 1px solid;text-indent:3px;background-image:none;font-size:12px;width:290px;line-height:20px;padding:7px 5px 8px 5px;color:#ef9f06;}.nc-container .errloading a{color:#30a7fc}.nc_captcha_text .nc_err{float:left;text-indent:0}.button_move{transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s;-o-transition:left .5s}.bg_move{transition:width .5s;-moz-transition:width .5s;-webkit-transition:width .5s;-o-transition:width .5s}.nc_slide_box{position:absolute}.nc_captcha_text{height:auto;line-height:20px;visibility:hidden;font-size:12px;color:#999;font-weight:normal}.nc-container .nc_captcha_img_text{width:auto;height:auto;line-height:20px;visibility:hidden;font-size:12px;color:#999;font-weight:normal;display:none;padding:0 0 10px 0;background-position:0 0;}.nc-container .nc_captcha_img_text span.nc-lang-cnt{line-height:inherit}.nc-container .imgCaptcha .nc_captcha_img_text{width:auto}.nc_captcha_img_text{height:auto;line-height:20px;visibility:hidden;font-size:12px;color:#999;font-weight:normal;display:none;padding:0 0 10px 3px;background-position:0 0}.nc-container .nc_wrapper{width:auto}.nc_scale{width:auto;height:34px;background:#e8e8e8;position:relative;margin:0;padding:0}.nc_scale.is_audio{margin-right:25px}.nc-container .nc_scale div{height:auto}.nc-container .nc_scale ul{list-style:none}.nc-container .nc_scale .btn_slide{color:#737383;background-image:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.nc-container .nc_scale span{text-align:center;width:40px;height:32px;line-height:32px;border:1px solid #ccc;position:absolute;
210left:0;cursor:move;background:#fff;z-index:2}.nc-container .nc_scale span.nc-lang-cnt{*line-height:34px;float:none;width:auto;height:auto;*height:34px;border:none;position:static;cursor:inherit;background:none;z-index:0;display:inline}.nc_slide_button{width:40px;height:32px;border:1px solid #ccc;position:absolute;left:0;cursor:move;background:#fff url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/rt.png") no-repeat center;z-index:2}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.nc_scale span{height:32px}}.nc-container .nc_scale .btnok{cursor:default;background:#fff url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/yes.png") no-repeat center;z-index:3}.nc-container .nc_scale .btnok2{cursor:default;font-size:20px;background:#fff url("//'+(_aeis_?"aeis":"g")+'.alicdn.com/sd/ncpc/images/no.png") no-repeat center;z-index:3}.nc-container .nc_scale .btn_warn{cursor:default;color:#ff3f08;line-height:34px;text-align:center;font-size:20px;background:#fff;z-index:3}.nc-container .clickCaptcha_text .btn_refresh{font-size:20px}.nc-container .clickCaptcha_text .icon_close{line-height:30px;margin-left:8px;cursor:default;color:#ff3f08;font-size:16px;float:left;margin-right:2px;background:transparent;z-index:3}.nc-container .nc_captcha_img_text .icon_close{cursor:default;color:#ff3f08;font-size:16px;float:left;margin-right:4px;background:transparent;z-index:3;line-height:18px}.nc-container .errloading .icon_warn{cursor:default;color:#ff3f08;font-size:18px;float:left;background:transparent;z-index:3}.nc-container .nc_scale .btn_ok{cursor:default;line-height:34px;text-align:center;font-size:20px;background:#fff;z-index:3;color:#76c61d}.nc-container .nc_scale .nc_ok,.nc-container .nc_scale .nc_bg{background:#7ac23c}.nc-container .nc_scale .nc_bg{position:absolute;height:100%;_height:34px;left:0;width:10px}.nc-container .nc_scale div.redbar{background:#fc461e;opacity:.5;filter:alpha(opacity=50)}.nc-container .nc_scale div.orange{background:#f00}.nc-container .nc_scale .scale_text{width:100%;height:100%;text-align:center;position:absolute;z-index:1;background:transparent;color:#9c9c9c;line-height:34px;font-size:12px;cursor:pointer}.nc-container .nc_scale .scale_text2{text-align:left;color:#fff;font-size:12px;text-indent:10px}.nc-container .nc_scale .scale_text2 b{padding-left:0;font-weight:normal}.nc-container .nc_scale .scale_text.scale_loading_text{text-align:center}.nc-container .nc_scale .imgCaptcha,.nc-container .nc_scale .clickCaptcha{display:none;overflow:hidden;border:1px solid #ccc;background:#fff;z-index:20000;}.nc-container .nc_scale .imgCaptcha p.error span,.nc-container .nc_scale .clickCaptcha p.error span{line-height:normal}.nc-container .nc_scale .imgCaptcha{height:auto}.nc-container .nc_scale .clickCaptcha{position:absolute;left:0;top:35px;height:270px;background:#fff;display:none;}.nc-container .nc_scale .clickCaptcha p.error i{color:#ff3f08;font-style:normal}.nc-container .nc_scale .clickCaptcha div{position:static;clear:both;width:100%;background:#fff;height:auto}.nc-container .nc_scale .clickCaptcha .clickCaptcha_text{height:30px;line-height:30px;font-size:12px;color:#999;}.nc-container .nc_scale .clickCaptcha .clickCaptcha_text b{font-weight:normal}.nc_btn_2{position:absolute;right:0;top:0;cursor:pointer;margin:2px 9px 0 0}.nc_iconfont.nc_btn_2{position:absolute;right:0;top:0;cursor:pointer}.nc_iconfont.nc_btn_1{position:absolute;top:10px;right:5px}.nc_btn_1{top:10px;right:10px}.scale_text i{font-style:normal;border:none;position:static;cursor:default;color:#fffc00;background:none;display:inline;width:100%}.nc-container .clickCaptcha .clickCaptcha_img{margin:0 auto;clear:both;position:relative;}.nc-container .clickCaptcha .clickCaptcha_img img{width:230px;height:230px;margin-left:10px;margin-top:5px}.nc-container .clickCaptcha .clickCaptcha_btn{margin:10px 0 0 15px;position:relative;text-align:left;}.nc-container .clickCaptcha .clickCaptcha_btn img{cursor:pointer}.nc-container .imgCaptcha{position:absolute;left:0;top:35px;height:auto;padding-bottom:15px;border:1px solid #ccc;background:#fff;}.nc-container .imgCaptcha div{position:static;width:90%;background-color:#fff}.nc-container .imgCaptcha,.nc-container .clickCaptcha{text-align:left;}
210.nc-container .imgCaptcha a,.nc-container .clickCaptcha a{color:#ff3f08}.nc-container .imgCaptcha .imgCaptcha_text{height:42px;line-height:42px;width:120px;background:#fff;font-size:14px;text-align:left;color:#747474;float:left;margin-left:10px;}.nc-container .imgCaptcha .imgCaptcha_text input{margin-top:5px;height:30px;line-height:30px;font-size:14px;width:90px;background:#fff}.nc-container .imgCaptcha .imgCaptcha_text input:focus{outline:none;color:#bbb}.nc-container .imgCaptcha .imgCaptcha_btn{margin:0 0 0 12px;*margin-left:0;clear:both;padding-top:5px;width:90%;}.nc-container .imgCaptcha .imgCaptcha_btn img{cursor:pointer}.nc-container .imgCaptcha .nc_scale_submit{margin:0 auto;cursor:pointer;background-color:#fc461e;width:120px;height:32px;line-height:32px;color:#fff;text-align:center}.nc-container .imgCaptcha .imgCaptcha_img{margin:4px 0 0 100px;height:40px;width:130px;overflow:hidden;cursor:pointer;}.nc-container .imgCaptcha .imgCaptcha_img img{width:130px}.nc-container .imgCaptcha .imgCaptcha_img input{border:solid 1px #ccc}.nc-lang-ar_MA,.nc-lang-ar_SA,.nc-lang-iw_HE,.nc-lang-iw_IL{text-align:right;*text-align:left;}.nc-lang-ar_MA .nc_scale .scale_text2,.nc-lang-ar_SA .nc_scale .scale_text2,.nc-lang-iw_HE .nc_scale .scale_text2,.nc-lang-iw_IL .nc_scale .scale_text2{text-align:right;}.nc-lang-ar_MA .nc_scale .scale_text2 span,.nc-lang-ar_SA .nc_scale .scale_text2 span,.nc-lang-iw_HE .nc_scale .scale_text2 span,.nc-lang-iw_IL .nc_scale .scale_text2 span{*display:inline-block;padding:0 56px 0 0}.nc-lang-ar_MA .nc_captcha_img_text,.nc-lang-ar_SA .nc_captcha_img_text,.nc-lang-iw_HE .nc_captcha_img_text,.nc-lang-iw_IL .nc_captcha_img_text{*text-align:right}.nc-lang-ar_MA span.nc-lang-cnt,.nc-lang-ar_SA span.nc-lang-cnt,.nc-lang-iw_HE span.nc-lang-cnt,.nc-lang-iw_IL span.nc-lang-cnt{text-align:right;direction:rtl}.nocaptcha span.nc-lang-cnt{float:none;height:auto;line-height:30px}.nc-container{font-size:12px;-ms-touch-action:none;touch-action:none;}.nc-container p{margin:0;padding:0;display:inline}.nc-container .scale_text.scale_text span[data-nc-lang="_startTEXT"]{display:inline-block;width:100%}.nc-container .scale_text.scale_text.slidetounlock span[data-nc-lang="_startTEXT"]{background:-webkit-gradient(linear,left top,right top,color-stop(0,#4d4d4d),color-stop(.4,#4d4d4d),color-stop(.5,#fff),color-stop(.6,#4d4d4d),color-stop(1,#4d4d4d));-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-animation:slidetounlock 3s infinite;-webkit-text-size-adjust:none}.nc-container .nc_scale .nc-align-center.scale_text2{text-align:center;text-indent:-42px}@-webkit-keyframes slidetounlock{0%{background-position:-200px 0}100%{background-position:200px 0}}.nc-container.tb-login .clickCaptcha_text .icon_close{line-height:30px;margin-left:0;cursor:default;color:#ff3f08;font-size:16px;float:left;margin-right:0;background:transparent;z-index:3}.nc-container.tb-login{position:relative;margin-top:20px;display:none;}.nc-container.tb-login .nc_scale{width:auto;}.nc-container.tb-login .nc_scale .scale_text2{text-indent:-42px;text-align:center;}.nc-container.tb-login .nc_scale .scale_text2 b{padding:0}.nc-container.tb-login .nc_scale.nc_err div.scale_text{background:#f79977}.nc-container.tb-login .errloading{width:auto}.nc-container.tb-login .imgCaptcha,.nc-container.tb-login .clickCaptcha{width:252px;*width:256px;border:0;*height:300px;min-height:300px;max-height:inherit !important;}.nc-container.tb-login .imgCaptcha div.login-msg.error,.nc-container.tb-login .clickCaptcha div.login-msg.error{background:#fff2f2}.nc-container.tb-login .imgCaptcha .captcha-error,.nc-container.tb-login .clickCaptcha .captcha-error{position:absolute;top:0;width:244px;height:auto;margin-bottom:15px;padding:3px;border:solid 1px #ff8e8e;line-height:18px}.nc-container.tb-login .imgCaptcha .captcha-inform,.nc-container.tb-login .clickCaptcha .captcha-inform{font-size:110%;margin-left:20px}.nc-container.tb-login .imgCaptcha{padding-top:66px;}.nc-container.tb-login .imgCaptcha .imgCaptcha_text{width:100px;margin-left:0;}.nc-container.tb-login .imgCaptcha .imgCaptcha_text input:focus{color:#000}.nc-container.tb-login .imgCaptcha .imgCaptcha_img{width:120px;_width:100px}.nc-container.tb-login .imgCaptcha .imgCaptcha_btn{width:100%;margin-left:0}.nc-container.tb-login .imgCaptcha .nc_scale_submit{width:100%;height:36px;line-height:36px;margin-top:20px;margin-left:0;border-radius:3px;font-size:16px;font-family:Tahoma,Helvetica,Arial,sans-serif;background:#ff3f08}.nc-container.tb-login .clickCaptcha{padding-top:40px;}.nc-container.tb-login .clickCaptcha .clickCaptcha_text{text-indent:4px}.nc-container.tb-login .clickCaptcha .clickCaptcha_img img{margin-left:10px}
210.nc-container.tb-login .nc_btn_1{top:77px;_top:57px}.nc-container.tb-login .nc_btn_2{top:36px}.login .nc-container.tb-login .login-msg p,.login-box .nc-container.tb-login .login-msg p{width:auto;float:left}.nc-container.tb-login.nc-old-login{margin:20px 0 10px 0;width:250px;}.nc-container.tb-login.nc-old-login .nc_wrapper{width:250px}.nc-container.tb-login.nc-old-login .imgCaptcha,.nc-container.tb-login.nc-old-login .clickCaptcha{width:250px;min-height:auto;}.nc-container.tb-login.nc-old-login .imgCaptcha .captcha-error,.nc-container.tb-login.nc-old-login .clickCaptcha .captcha-error{line-height:16px}.nc-container.tb-login.nc-old-login .clickCaptcha{padding-top:28px;}.nc-container.tb-login.nc-old-login .clickCaptcha .clickCaptcha_img img{width:200px;height:200px}.nc-container.nc-old-login.show-click-captcha{padding-bottom:60px}.nc-container.nc-old-login.show-click-captcha.nc-tm-min-fix{padding-bottom:40px}.nc-container.tb-login.nc-tm-min-fix .clickCaptcha{max-height:340px !important}#content .login-box .bd .nc-container.tb-login .login-msg{margin:10px auto 15px auto}#content .login-box .bd .nc-container.tb-login.nc-old-login.show-click-captcha .login-msg{margin:2px 0 0 0}.nc-container .nc_scale .nc-cc{display:none;position:absolute;left:0;top:35px;z-index:20000;width:360px;height:570px;border:1px solid #5eaef1;border-radius:4px;background:#fff;font-size:14px;line-height:18px;color:#333;}.nc-container .nc_scale .nc-cc.nc-cc-status-loading .nc-cc-btn,.nc-container .nc_scale .nc-cc.nc-cc-status-verifing .nc-cc-btn{background-color:#90c1eb}.nc-container .nc_scale .nc-cc.nc-cc-status-loading .nc-cc-btn,.nc-container .nc_scale .nc-cc.nc-cc-status-verifing .nc-cc-btn,.nc-container .nc_scale .nc-cc.nc-cc-status-loading .nc-cc-refresh,.nc-container .nc_scale .nc-cc.nc-cc-status-verifing .nc-cc-refresh{cursor:default}.nc-container .nc_scale .nc-cc.nc-cc-status-loading .nc-cc-refresh,.nc-container .nc_scale .nc-cc.nc-cc-status-verifing .nc-cc-refresh{color:#999}.nc-container .nc_scale .nc-cc a{color:#3199f4;text-decoration:none}.nc-container .nc_scale .nc-cc .nc_iconfont{vertical-align:top;margin-right:8px}.nc-container .nc_scale .nc-cc-btn{display:inline-block;*display:inline;*zoom:1;vertical-align:top;letter-spacing:normal;word-spacing:normal;width:100px;line-height:30px;text-align:center;background-color:#3199f4;color:#fff;border-radius:4px;cursor:pointer;}.nc-container .nc_scale .nc-cc-btn.nc-cc-disabled{background-color:#90c1eb;cursor:default}.nc-container .nc_scale .nc-cc-btn .nc-lang-cnt{line-height:18px}.nc-container .nc_scale .nc-cc-header{padding:20px 20px 19px 20px;height:100px;background:#f4f8fa;border-bottom:1px solid #ccc}.nc-container .nc_scale .nc-cc-img1-box{float:left;width:100px;height:100px;margin-right:16px}.nc-container .nc_scale .nc-cc-txt{overflow:hidden;*zoom:1;line-height:30px;padding-top:11px}.nc-container .nc_scale .nc-cc-img2-box{position:relative;padding:0 20px;margin-top:20px}.nc-container .nc_scale .nc-cc-items{position:absolute;left:20px;_left:0;top:0;width:320px;overflow:hidden}.nc-container .nc_scale .nc-cc-items-inner{margin-right:-20px}.nc-container .nc_scale .nc-cc-item{position:relative;display:inline-block;*display:inline;*zoom:1;vertical-align:top;letter-spacing:normal;word-spacing:normal;margin-right:10px;margin-bottom:10px;border:1px solid #ccc;width:98px;height:98px;background:url("//gtms02.alicdn.com/tps/i2/T1ty2QFNNXXXc6Yc2r-1-1.gif");}.nc-container .nc_scale .nc-cc-item:hover{border-color:#3199f4}.nc-container .nc_scale .nc-cc-item .nc_iconfont{display:none;position:absolute;right:0;bottom:0;color:#3199f4;font-size:22px;margin-right:0}.nc-container .nc_scale .nc-cc-item.nc-cc-selected .nc_iconfont{display:block}.nc-container .nc_scale .nc-cc-tip{display:none;position:absolute;left:0;bottom:60px;width:360px;line-height:18px;text-align:center;color:#eb4f38;}.nc-container .nc_scale .nc-cc-tip span{line-height:normal}.nc-container .nc_scale .nc-cc-footer{position:absolute;left:0;bottom:20px;width:360px;height:30px;line-height:30px;text-align:center;}.nc-container .nc_scale .nc-cc-footer .nc_iconfont{color:#c4cbd0}.nc-container .nc_scale .nc-cc-refresh,.nc-container .nc_scale .nc-cc-wait{position:absolute;
210left:20px;top:0;color:#3199f4;cursor:pointer}.nc-container .nc_scale .nc-cc-wait{display:none}.nc-container .nc_scale .nc-cc-cancel{position:absolute;right:20px;top:0;color:#3199f4;cursor:pointer;}.nc-container .nc_scale .nc-cc-cancel .nc_iconfont{position:relative;top:-1px}.nc-container .nc_scale .nc-cc-loading{margin-top:247px;text-align:center;line-height:14px}.nc-container .nc_scale .nc-cc-loading-img{display:inline-block;*display:inline;*zoom:1;vertical-align:top;letter-spacing:normal;word-spacing:normal;vertical-align:middle;background:url("//img.alicdn.com/tps/TB1OdxsKpXXXXcgXFXXXXXXXXXX-14-14.gif") no-repeat;width:14px;height:14px;position:relative;top:-1px;margin-right:9px}.nc-container .nc_scale .nc-cc-fail{position:absolute;left:50%;top:50%;width:320px;height:180px;margin-left:-160px;margin-top:-90px;background:#fff;border-radius:4px}.nc-container .nc_scale .nc-cc-fail-inner{text-align:center;padding:55px 10px 10px}.nc-container .nc_scale .nc-cc-fail-action{margin:28px 0 18px;}.nc-container .nc_scale .nc-cc-fail-action a{display:inline-block;*display:inline;*zoom:1;vertical-align:top;letter-spacing:normal;word-spacing:normal;line-height:30px;margin-left:16px}.nc-container .nc_scale .nc-cc-contact{text-align:right;color:#666;padding-right:9px}.nc-container .nc_scale .nc-cc-mask{display:none;position:absolute;left:0;top:0;width:360px;height:570px;background:rgba(0,0,0,0.3);filter:progid:DXImageTransform.Microsoft.gradient(enabled=\'true\',startColorstr=\'#4C000000\', endColorstr=\'#4C000000\');}:root .nc-container .nc_scale .nc-cc-mask{-webkit-filter:none;filter:none}.nc-container .nc_scale .nc-cc-arrow-1,.nc-container .nc_scale .nc-cc-arrow-2{display:none;position:absolute;top:340px;border:solid transparent;height:0;width:0}.nc-container .nc_scale .nc-cc-arrow-1{border-width:16px;margin-top:-1px}.nc-container .nc_scale .nc-cc-arrow-2{border-width:15px}.nc-container .nc_scale .nc-cc-right .nc-cc-arrow-1,.nc-container .nc_scale .nc-cc-left .nc-cc-arrow-1,.nc-container .nc_scale .nc-cc-right .nc-cc-arrow-2,.nc-container .nc_scale .nc-cc-left .nc-cc-arrow-2{display:block;_display:none}.nc-container .nc_scale .nc-cc-right{left:180px;top:-339px;}.nc-container .nc_scale .nc-cc-right .nc-cc-arrow-1{border-right-color:#5eaef1;left:-32px}.nc-container .nc_scale .nc-cc-right .nc-cc-arrow-2{border-right-color:#fff;left:-30px}.nc-container .nc_scale .nc-cc-left{left:-335px;top:-339px;}.nc-container .nc_scale .nc-cc-left .nc-cc-arrow-1{border-left-color:#5eaef1;right:-32px}.nc-container .nc_scale .nc-cc-left .nc-cc-arrow-2{border-left-color:#fff;right:-30px}')},,function(t,e,n){var i="function"==typeof _symbol2.default&&"symbol"==(0,_typeof4.default)(_iterator2.default)?function(t){return"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)}:function(t){return t&&"function"==typeof _symbol2.default&&t.constructor===_symbol2.default&&t!==_symbol2.default.prototype?"symbol":"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)};_getPrototypeOf2.default||(Object.getPrototypeOf=function(t){if(t!==Object(t))throw TypeError("Object.getPrototypeOf called on non-object");return t.__proto__||t.constructor.prototype||Object.prototype}),"function"!=typeof _getOwnPropertyNames2.default&&(Object.getOwnPropertyNames=function(t){if(t!==Object(t))throw TypeError("Object.getOwnPropertyNames called on non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}),"function"!=typeof _create2.default&&(Object.create=function(t,e){function n(){}if("object"!==("undefined"==typeof t?"undefined":i(t)))throw TypeError();n.prototype=t;var r=new n;if(t&&(r.constructor=n),void 0!==e){if(e!==Object(e))throw TypeError();(0,_defineProperties2.default)(r,e)}return r}),function(){if(!_defineProperty2.default||!function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}}()){var t=_defineProperty2.default;Object.defineProperty=function(e,n,i){if(t)try{return t(e,n,i)}catch(r){}if(e!==Object(e))throw TypeError("Object.defineProperty called on non-object");return Object.prototype.__defineGetter__&&"get"in i&&Object.prototype.__defineGetter__.call(e,n,i.get),Object.prototype.__defineSetter__&&"set"in i&&Object.prototype.__defineSetter__.call(e,n,i.set),"value"in i&&(e[n]=i.value),e}}}(),"function"!=typeof _defineProperties2.default&&(Object.defineProperties=function(t,e){if(t!==Object(t))throw TypeError("Object.defineProperties called on non-object");var n;for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(0,_defineProperty2.default)(t,n,e[n]);return t}),_keys2.default||(Object.keys=function(t){if(t!==Object(t))throw TypeError("Object.keys called on non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw TypeError("Bind must be called on a function");
210var e=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i?this:t,e.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(i.prototype=this.prototype),r.prototype=new i,r}),Array.isArray=Array.isArray||function(t){return Boolean(t&&"[object Array]"===Object.prototype.toString.call(Object(t)))},Array.prototype.indexOf||(Array.prototype.indexOf=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if(0===n)return-1;var i=0;if(arguments.length>0&&(i=Number(arguments[1]),isNaN(i)?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=n)return-1;for(var r=i>=0?i:Math.max(n-Math.abs(i),0);r<n;r++)if(r in e&&e[r]===t)return r;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if(0===n)return-1;var i=n;arguments.length>1&&(i=Number(arguments[1]),i!==i?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i))));for(var r=i>=0?Math.min(i,n-1):n-Math.abs(i);r>=0;r--)if(r in e&&e[r]===t)return r;return-1}),Array.prototype.every||(Array.prototype.every=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();var i,r=arguments[1];for(i=0;i<n;i++)if(i in e&&!t.call(r,e[i],i,e))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();var i,r=arguments[1];for(i=0;i<n;i++)if(i in e&&t.call(r,e[i],i,e))return!0;return!1}),Array.prototype.forEach||(Array.prototype.forEach=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();var i,r=arguments[1];for(i=0;i<n;i++)i in e&&t.call(r,e[i],i,e)}),Array.prototype.map||(Array.prototype.map=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();var i=[];i.length=n;var r,o=arguments[1];for(r=0;r<n;r++)r in e&&(i[r]=t.call(o,e[r],r,e));return i}),Array.prototype.filter||(Array.prototype.filter=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();var i,r=[],o=arguments[1];for(i=0;i<n;i++)if(i in e){var a=e[i];t.call(o,a,i,e)&&r.push(a)}return r}),Array.prototype.reduce||(Array.prototype.reduce=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();if(0===n&&1===arguments.length)throw TypeError();var i,r=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(r in e){i=e[r++];break}if(++r>=n)throw TypeError()}for(;r<n;)r in e&&(i=t.call(void 0,i,e[r],r,e)),r++;return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError();if(0===n&&1===arguments.length)throw TypeError();var i,r=n-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(r in this){i=this[r--];break}if(--r<0)throw TypeError()}for(;r>=0;)r in e&&(i=t.call(void 0,i,e[r],r,e)),r--;return i}),String.prototype.trim||(String.prototype.trim=function(){return String(this).replace(/^\s+/,"").replace(/\s+$/,"")}),Date.now||(Date.now=function(){return Number(new Date)}),Date.prototype.toISOString||(Date.prototype.toISOString=function(){function t(t){return("00"+t).slice(-2)}function e(t){return("000"+t).slice(-3)}return this.getUTCFullYear()+"-"+t(this.getUTCMonth()+1)+"-"+t(this.getUTCDate())+"T"+t(this.getUTCHours())+":"+t(this.getUTCMinutes())+":"+t(this.getUTCSeconds())+"."+e(this.getUTCMilliseconds())+"Z"})},function(t,e,n){function i(t){var e;t&&(e=t.filename+"")&&(e=e.split("?")[0],e.match(/(\/ncpc\/nc\.js$)|(\/uab\.js$)|(umscript.*\/um\.js$)/)&&(o.console,r()))}function r(t){"function"==typeof ncDowngrade?(ncDowngrade(),t&&o.__nc&&o.__nc.show()):t||setTimeout((function(){r(1)}),100)}var o=window;o.addEventListener?o.addEventListener("error",i,!0):o.attachEvent&&o.attachEvent("onerror",i)},function(t,e,n){var i,r,o=(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/sd/ncpc/nc.css",a=document.getElementsByTagName("link"),s=a.length;try{for(i=0;i<s;i++)r=a[i],r.href&&-1!=r.href.indexOf(o)&&(r.disabled=!0)}catch(c){}},function(t,e,n){var i=n(5);e.makeNC=function(t,e){function r(t){var n=new c(t);u[e.index]=n.__nc;var r=["on","reset","reload","show","hide","upLang","getToken","destroy","getTrans","setTrans"];return i.map(r,(function(t){n[t]=function(){if(this.is_destroyed)return this;for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=this.__nc[t].apply(this.__nc,n);return"destroy"===t&&(this.is_destroyed=!0),"getToken"===t||"getTrans"===t||"setTrans"===t?r:this}})),n}function o(t){var n=new l(t,e,s);return u[e.index]=n,n}function a(t){return t&&"scrape"===t.type?o(t):r(t)}var s={},c=n(113).makeNC(t,e,s),l=n(120).NC2,u=[];return window.outer_nc_list=[],a.config=function(t){i.mix(s,t)},a.getByIndex=function(t){return u[t]},a.reset=function(t){var e=a.getByIndex(t);e?e.reset():window.outer_nc_list&&window.outer_nc_list[t].reset()},a}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function i(t,e,n){var i=void 0,r=o.createElement("script");r.src=t;var s=void 0;r.onreadystatechange=function(){var t=r.readyState;if("loaded"===t||"complete"===t){if(i)return;i=!0,r.onreadystatechange=null,e("ok")}},r.onload=function(){i||(i=!0,r.onload=null,r.parentNode.removeChild(r),-1!=s&&(clearTimeout(s),e("ok")))},r.onerror=function(){i||(i=!0,r.onerror=null,r.parentNode.removeChild(r),-1!=s&&(clearTimeout(s),e("err")))},s=setTimeout((function(){i||(i=!0,s=-1,e(a))}),n||5e3);var c=o.getElementsByTagName("script")[0];c.parentNode.insertBefore(r,c)}function r(t,e,n,r){function o(){s++;var u=t.indexOf("?")>-1?"&":"?",d=t;s>1&&(d=t+u+"__retry="+s),i(d,(function(t){if(c)e(a);else if("ok"===t)e(t);else{if(t===a||s>=r)return void e(a);l=setTimeout((function(){o()}),3e3)}}),n)}r=r||3;var s=0,c=void 0,l=void 0,u=void 0;e=function(t){return function(){u||(u=!0,clearTimeout(l),t.apply(null,arguments))}}(e),o(),setTimeout((function(){c=!0,e(a)}),n)}var o=document,a="timeout";e.loadScript=r},function(t,e,n){function i(t,e){return"undefined"!=typeof UA_Opt[t]&&UA_Opt[t]>0?UA_Opt[t]:e}e.init=function(t){window.__sc_uaboption=new Object,t.is_Opt?(UA_Opt.MPInterval=i("MPInterval",4),UA_Opt.MMInterval=i("MMInterval",5),UA_Opt.MaxMCLog=i("MaxMCLog",12),UA_Opt.MaxKSLog=i("MaxKSLog",14),UA_Opt.MaxMPLog=i("MaxMPLog",5),UA_Opt.MaxFocusLog=i("MaxFocusLog",6),UA_Opt.SendInterval=i("SendInterval",5),UA_Opt.SendMethod=i("SendMethod",8),UA_Opt.GPInterval=i("GPInterval",50),UA_Opt.MaxGPLog=i("MaxGPLog",1),UA_Opt.MaxTCLog=i("MaxTCLog",12),UA_Opt.Flag=i("Flag",2980046),window.__sc_uaboption.MPInterval=i("MPInterval",4),window.__sc_uaboption.MMInterval=i("MMInterval",5),window.__sc_uaboption.MaxMCLog=i("MaxMCLog",12),window.__sc_uaboption.MaxKSLog=i("MaxKSLog",14),window.__sc_uaboption.MaxMPLog=i("MaxMPLog",5),window.__sc_uaboption.MaxFocusLog=i("MaxFocusLog",6),window.__sc_uaboption.SendInterval=i("SendInterval",5),window.__sc_uaboption.SendMethod=i("SendMethod",8),window.__sc_uaboption.GPInterval=i("GPInterval",50),window.__sc_uaboption.MaxGPLog=i("MaxGPLog",1),window.__sc_uaboption.MaxTCLog=i("MaxTCLog",12),window.__sc_uaboption.Flag=i("Flag",2980046),window.__sc_uaboption.OnlyHost=i("OnlyHost",1),window.__sc_uaboption.MaxMTLog=i("MaxMTLog",500),window.__sc_uaboption.MinMTDwnLog=i("MinMTDwnLog",30),window.__sc_uaboption.MaxNGPLog=i("MaxNGPLog",1),window.__sc_uaboption.sIDs=i("s
210IDs",["_n1t|_n1z|nocaptcha|-stage-1"]),window.__sc_uaboption.mIDs=i("mIDs",["nc-canvas","click2slide-btn"])):(UA_Opt.SendInterval=5,UA_Opt.SendMethod=8,UA_Opt.MaxMCLog=12,UA_Opt.MaxKSLog=14,UA_Opt.MaxMPLog=5,UA_Opt.MaxGPLog=1,UA_Opt.MaxTCLog=12,UA_Opt.GPInterval=50,UA_Opt.MPInterval=4,UA_Opt.MMInterval=5,UA_Opt.MaxFocusLog=6,UA_Opt.isSendError=1,UA_Opt.Flag=2980046,window.__sc_uaboption.SendInterval=5,window.__sc_uaboption.SendMethod=8,window.__sc_uaboption.MaxMCLog=12,window.__sc_uaboption.MaxKSLog=14,window.__sc_uaboption.MaxMPLog=5,window.__sc_uaboption.MaxGPLog=1,window.__sc_uaboption.MaxTCLog=12,window.__sc_uaboption.GPInterval=50,window.__sc_uaboption.MPInterval=4,window.__sc_uaboption.MMInterval=5,window.__sc_uaboption.MaxFocusLog=6,window.__sc_uaboption.isSendError=1,window.__sc_uaboption.Flag=2980046,window.__sc_uaboption.OnlyHost=1,window.__sc_uaboption.MaxMTLog=500,window.__sc_uaboption.MinMTDwnLog=30,window.__sc_uaboption.MaxNGPLog=1,window.__sc_uaboption.sIDs=["_n1t|_n1z|nocaptcha|-stage-1"],window.__sc_uaboption.mIDs=["nc-canvas","click2slide-btn"])}},function(t,e,n){!function(t){var e="_nc_initialized";if(!t[e]){t[e]=1;var i=n(6).v;window.console||(window.console={log:function(){return 0}}),n(71),n(73),n(69),n(72);var r=t.pointman&&"19"==pointman._z,o={},a={has_pointman:r,index:0,js_type:"pc",v:i};t.UA_Opt=t.UA_Opt||{};var s=n(74).makeNC(o,a);s.v=i,o.init=function(){},a.has_pointman&&(o.noCaptcha=s,pointman.define("nc",(function(){return o}))),t.noCaptcha=s}}(window)},,function(t,e,n){function i(t,e,n){var i=t.prefix,a=1,d=navigator&&navigator.userAgent||"",h=/Firefox\/([\d.]*)/.test(d),f=-1!==d.indexOf("Windows"),p=(new Date).getTime(),m=(new Date).getTime(),g=o.head||o.getElementsByTagName("head")[0]||o.documentElement,v=function(t){return o.getElementById(t)},_={default:4,number:6,"150_40":4,login_wan3:4,login_wan10:6},y=u.isIEX(8),b=new c((function(t,e){return y?void e():void u.imageLoaded("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==").then((function(n){1===n.width&&1===n.height?t():e()}),e)})),w=function(t){this.lang=t.lang;var e=(_https_?"https:":"")+"//diablo.alibaba.com";this.config={apiserver:t.apiserver||e,type:t.type||"default",codeLength:t.checkCodeLength||_[t.type||"default"],identity:t.identity||"",sessionid:t.sessionid||"",element:t.element||null,a:t.a,t:t.t,n:t.n,lang:t.lang,scene:t.scene,p:t.p},this.tipText={};var n,i=l[t.lang]||l.en;for(n in i)i.hasOwnProperty(n)&&(this.tipText[n]=t[n]||i[n]);this.service={imgURL:"{apiserver}/get_img?sessionid={sessionid}&identity={identity}&type={type}",checkImgURL:"{apiserver}/check_img?sessionid={sessionid}&identity={identity}&type={type}",checkAudioURL:(_https_?"https:":"")+"//cf.aliyun.com/captcha/checkcode.jsonp?csessionid={sessionid}&identity={identity}",audioURL:"{apiserver}/captcha/audio/get.jsonp?identity={identity}&sessionid={sessionid}",audioURL_pre:"{apiserver}/captcha/audio/pre_get.jsonp?identity={identity}&sessionid={sessionid}"},this.cache={codeType:"img",oldCode:null,lastCheckCode:"",checkedCode:null,checkState:"notstart",audio:null,audioPlayer:null,callback:null,captchaToken:null}};return w.prototype={render:function(){var t=this,e=t.config;if(!e.element)return!1;for(var n in"[object String]"==Object.prototype.toString.call(e.element)&&(e.element=v(e.element)),this.service)if(this.service.hasOwnProperty(n)){var i=this.service[n];i=i.replace("{apiserver}",e.apiserver).replace("{identity}",e.identity).replace("{sessionid}",e.sessionid).replace("{type}",e.type),this.service[n]=i}return t.renderCode(),this},renderCode:function(){function t(){var t=h||v(i+"omeo-code-key");t.value=t.value.replace(/[^\w\d]/g,"")}function r(){var t,e=f,i=-1;for(p.stopAudio();"body"!==e.tagName.toLowerCase();){if(t=e.getAttribute("data-nc-idx"),null!==t){i=t;break}e=e.parentNode}try{noCaptcha.getByIndex(parseInt(i)).reload(),n(s.switchevent,{from:"audio",to:"scale"})}catch(r){report("reload failed")}return!1}var a=this,c=a.tipText,l=a.config,u=o.createElement("div"),d=l.element;u.className="omeo-box",u.innerHTML='<div class="omeo-code omeo-img-active" id="'+i+'omeo-code"><div class="omeo-code-img"><img id="'+i+'omeo-code-imgwrap" data-action="refreshImg" src="'+a.service.imgURL+'" onmousedown="return false;"/><a data-action="refreshImg" href="javascript:;" onmousedown="return false;" title="'+c.refresh+'" class="nc_iconfont btn_refresh omeo-code-refresh"></a><a data-action="switchToAudio" href="javascript:;" onmousedown="return false;" title="'+c.audioText+'" class="omeo-switch"></a></div><div class="omeo-code-audio"><div id="'+i+'omeo-code-audiobox" class="omeo-code-audiobox omeo-code-audiobox-playing"><a data-action="replayAudio" href="javascript:;">'+c.clickPlay+'</a><span id="'+i+'omeo-audio-process" class="omeo-audio-process"></span><b>'+c.audioTips+'</b></div><a id="'+i+'omeo-refresh-audio" data-action="refreshAudio" href="javascript:;" onmousedown="return false;" title="'+c.refresh+'" class="nc_iconfont omeo-code-refresh"></a><i id="'+i+'_voice_close" class="nc_voice_close nc_iconfont" ></i><a data-action="switchToImg" href="javascript:;" onmousedown="return false;" title="'+c.imgText+'" class="omeo-switch"></a></div></div><div class="omeo-code-echo"><input id="'+i+'omeo-code-key" type="text" name="code" maxlength="6" placeholder="'+c.placeholder+'" /><span class="omeo-code-state" id="'+i+'omeo-code-state"></span></div>',d.appendChild(u);var h=v(i+"omeo-code-key");d.addEventListener?(d.addEventListener("click",(function(t){a.triggerEvent(t)}),!1),v(i+"omeo-code-imgwrap").addEventListener("error",(function(){a.log({e:"IMGERROR"}),"img"==a.cache.codeType&&a.refreshCode()}),!1),h.addEventListener("blur",(function(){t(),a.validateCode({code:v(i+"omeo-code-key").value.replace(/^\s|\s$/g,"")})}),!1),h.addEventListener("keyup",(function(){t(),a.listenerCodeType(this.value.replace(/^\s|\s$/g,""))}),!1),h.addEventListener("paste",(function(t){t.preventDefault()}),!0)):(d.attachEvent("onclick",(function(t){return a.triggerEvent(t),!1})),v(i+"omeo-code-imgwrap").attachEvent("onerror",(function(){a.log({e:"IMGERROR"}),"img"==a.cache.codeType&&a.refreshCode()})),h.attachEvent("onblur",(function(){t(),a.validateCode({code:v(i+"omeo-code-key").value.replace(/^\s|\s$/g,"")})})),h.attachEvent("onkeyup",(function(){t(),a.listenerCodeType(v(i+"omeo-code-key").value.replace(/^\s|\s$/g,""))})),h.attachEvent("onpaste",(function(){return!1})));var f=e.id(i+"_voice_close"),p=this;e.addHandler(f,"click",r)},listenerCodeType:function(t){this.cache.oldCode&&this.cache.oldCode.length!==this.config.codeLength||1!==t.length||(m=(new Date).getTime()),this.cache.oldCode=t,t.length==this.config.codeLength&&this.validateCode({code:t})},updateAudioBoxWidth:function(){var t=7,e=v(i+"wrapper").offsetWidth,n=v(i+"omeo-refresh-audio").offsetWidth,r=v(i+"_voice_close").offsetWidth,o=v(i+"omeo-code-key").offsetWidth,a=e-n-r-o-t;v(i+"omeo-code-audiobox").style.width=a+"px"},triggerEvent:function(t){var e=t.target||t.srcElement,n=e.getAttribute("data-action");try{v(i+"omeo-code-key").focus()}catch(t){}"refreshAudio"===n&&this.refreshCode(),"switchToAudio"===n&&(this.cache.codeType="audio",this.switchCode({type:"audio"})),"replayAudio"==n&&this.playAudio()},resetPlayer:function(t){var e=v(i+"omeo-audio-process");e.style.width=0,"playing"==t.state?e.parentNode.className="omeo-code-audiobox omeo-code-audiobox-playing":e.parentNode.className="omeo-code-audiobox",this.updateAudioBoxWidth()},refreshCode:function(){var t=v(i+"omeo-code-state");t.className="omeo-code-state",t.innerHTML="",r.__progtid&&clearInterval(r.__progtid),v(i+"omeo-code-key").value="",this.resetPlayer({state:"playing"}),this.playAudio(),p=m=(new Date).getTime()},switchCode:function(t){var e;"img"==t.type?(this.stopAudio(),v(i+"omeo-code").className="omeo-code omeo-img-active"):(v(i+"omeo-code").className="omeo-code omeo-audio-active",this.resetPlayer({state:"playing"}),!this.audioSupport||h||(v(i+"omeo-refresh-audio").style.display=""),this.playAudio()),this.cache.checkState="notstart",this.cache.checkedCode=null,e=v(i+"omeo-code-state"),e.className="omeo-code-state",e.innerHTML="",e=v(i+"omeo-code-key"),e.value="",e.focus(),this.cache.oldCode&&this.refreshCode(),p=m=(new Date).getTime()},playErrAudio:function(){var t=(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/sd/ncpc/images/",e=t+"error.wav",n=t+"error_en.mp3",i="cn"==this.lang||"zh_CN"==this.lang;this.playAudio(i?e:n)},playAudio:function(t){function e(e){var n,s;if(e&&(t=e.result.data[0],this.cache.captchaToken=e.result.captchaToken),n=t.indexOf(".mp3")>-1?"audio/mpeg":"audio/x-wav",this.audioSupport)this.cache.audio=new Audio,s=o.createElement("source"),s.type=n,s.src=t,this.cache.audio.appendChild(s),this.cache.audio.load(),this.cache.audio.play(),this.bindAudioProgress();else if(this.isIE){var c=o.createElement("bgsound");c.setAttribute("id","omeo-bgsound-audio"+a),c.setAttribute("autostart","true"),c.setAttribute("src",t),g.appendChild(c),this.cache.audioPlayer=v(i+"omeo-bgsound-audio"+a),this.resetPlayer({state:"playing"});var l=0,u=this;r.__progtid&&clearInterval(r.__progtid),r.__progtid=setInterval((function(){l+=10,l>100&&(l=100),u.updateProgress(l),l>=100&&clearInterval(r.__progtid)}),1e3)}else g.appendChild('<embed src="'+t+'" id="'+i+"omeo-flash-audio"+a+'" '+(f?'type="application/x-mplayer2"':'type="'+n+'"')+" autostart hidden />"),this.cache.audioPlayer=v(i+"omeo-flash-audio"+a),this.updateProgress("NOPROGRESS")}var n=this;if(n.stopAudio(),t)e.call(n);else{var s=b.then((function(){t=n.service.audioURL}),(function(){t=n.service.audioURL_pre})).then((function(){var i={url:t,callback:"callback",data:{}};return u.request(i).then((function(t){return t.success&&0===t.result.resultCode?void e.call(n,t):c.reject({type:"request",code:t.result.resultCode,msg:t.result.message})}))}));s["catch"]((function(t){/^(request)$/.test(t.type)}))}},bindAudioProgress:function(){var t=this,e=t.cache;e.audio.addEventListener("timeupdate",(function(){null!==v(i+"omeo-audio-process")&&(!h||this.duration&&this.duration!==1/0?t.updateProgress(parseInt(100*this.currentTime/this.duration)):t.updateProgress(100))}),e.audio),e.audio.addEventListener("ended",(function(){t.updateProgress(100)}),e.audio)},updateProgress:function(t){switch(t){case-1:break;case 100:this.resetPlayer({state:"end"});break;case"NOPROGRESS":this.resetPlayer({state:"end"});break;default:v(i+"omeo-audio-process").style.width=t+"%"}},stopAudio:function(){var t=this.cache;this.audioSupport?t.audio&&t.audio.pause():t.audioPlayer&&(t.audioPlayer.src="",t.audioPlayer.parentNode.removeChild(this.cache.audioPlayer),t.audioPlayer=null)},replayAudio:function(){this.audioSupport&&this.cache.audio&&(this.resetPlayer({state:"playing"}),this.cache.audio.currentTime=0,this.cache.audio.pause(),this.cache.audio.play())},loadResource:function(t,e){var n=null;/\.css/g.test(t)?(o.createStyleSheet&&o.createStyleSheet(t),n=o.createElement("link"),n.rel="stylesheet",n.href=t):(n=o.createElement("script"),n.src=t),"onload"in n?n.onload=function(){e&&e()}:n.onreadystatechange=function(){/loaded|complete/.test(n.readyState)&&e&&e()},g.appendChild(n)},isIE:function(){return!!/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/.test(d)}(),audioSupport:function(){try{return"Audio"in r&&(new Audio).canPlayType("audio/x-wav")}catch(t){return!1}}(),validateCode:function(t){var n=this,o=v(i+"omeo-code-state"),s="omeocode"+a+(+new Date).toString().substr(-6,6),c=n.service.checkAudioURL;if(n.cache.checkedCode&&n.cache.checkedCode===n.cache.oldCode)return!1;if(n.cache.lastCheckCode==t.code)return!1;if(n.cache.lastCheckCode=t.code,n.cache.checkedCode=null,"checking"==n.cache.checkState)return!1;if(n.cache.checkState="checking",/^[a-z0-9]{4,6}$/gi.test(t.code)){var l={checkcode:function(){var i={};return i.answer=t.code,i.captchaToken=n.cache.captchaToken,e.obj2str(i)}(),callback:s,a:n.config.a,t:n.config.t,n:n.config.n,lang:n.config.lang,scene:n.config.scene};c+="&"+u.obj2param(l),r[s]=function(e){var r={};
210if(e.success&&100==e.result.code){n.cache.checkedCode=t.code,o.className="omeo-code-state omeo-code-state-success",o.innerHTML="",n.cache.checkState="success",r={message:"success"};var a=(new Date).getTime();n.log({t1:a-m,t2:a-p,s:e&&"SUCCESS."===e.message,t:n.cache.codeType})}else o.className="omeo-code-state omeo-code-state-error",o.innerHTML=n.tipText.codeError,setTimeout((function(){var t=v(i+"omeo-code-state");t&&(t.className="",t.innerHTML="",v(i+"omeo-code-key").value="")}),3e3),n.cache.checkState="codeError",r={message:"error"},v(i+"omeo-code-key").select(),"true"==e.refresh&&n.refreshCode();n.cache.callback&&n.cache.callback(r)},n.loadResource(c)}else n.cache.checkState="codeError",o.className="omeo-code-state omeo-code-state-error",o.innerHTML="éªè¯ç é误ï¼è¯·éæ°è¾å
¥",n.playErrAudio(),setTimeout((function(){var t=v(i+"omeo-code-state");t&&(t.className="",t.innerHTML="",t=v(i+"omeo-code-key"),t.value="",t.focus(),n.resetPlayer({state:"playing"}),n.playAudio())}),5e3)},check:function(t){"success"==this.cache.checkState&&t&&t({message:"success"}),"codeError"==this.cache.checkState&&t&&t({message:"error"}),this.cache.callback=t},log:function(){}},w}var r=window,o=document,a=n(9),s=a.names,c=n(2),l=n(112).language,u=n(1);n(21),e.init=i},function(t,e,n){function i(){var t=a.createElement("style");t.appendChild(a.createTextNode(""));var e=a.getElementsByTagName("script"),n=e[e.length-1];return n.parentNode.insertBefore(t,n),t.sheet}function r(t,e,n,i){"number"!=typeof i&&(i=1),"insertRule"in t?t.insertRule(e+"{"+n+"}",i):"addRule"in t&&t.addRule(e,n,i)}function o(t){var e=a.createElement("style");e.type="text/css",e.className="nc-style",e.styleSheet?e.styleSheet.cssText=t:e.innerHTML=t;var n=a.getElementsByTagName("script"),i=n[n.length-1];i.parentNode.insertBefore(e,i)}var a=document;t.exports={createSheet:i,addCSSRule:r,insertCSS:o}},function(t,e,n){function i(t,e){return this.options=t||{},this.params=e||{},this.init(),this}function r(t){var e=h.defer(),n=t.data||{},i=("jsonp_"+Math.random()).replace(".","");c[i]=function(t){e.resolve(t)},n[t.callback||"callback"]=i,e.promise.always((function(){try{delete c[i]}catch(t){c[i]=null}}));var r=l.createElement("script");r.src=t.url+(-1===t.url.indexOf("?")?"?":"&")+f.obj2param(n);var o=l.getElementsByTagName("script")[0];return o.parentNode.insertBefore(r,o),setTimeout((function(){e.reject({type:"request",error:"timeout"})}),5e3),e.promise}function o(t){var e=h.defer(),n=new Image;return n.onload=function(){e.resolve(this)},n.onerror=function(t){e.reject({type:"img",error:t})},setTimeout((function(){e.reject({type:"img",error:"timeout"})}),5e3),n.src=t,e.promise}function a(t){t.style.display="block"}function s(t){t.style.display="none"}var c=window,l=document,u=l.documentElement,d=function(){},h=n(2),f=n(1),p=n(4).URL_MAP,m=n(7).language,g=f.isIEX(8),v=new h((function(t,e){return g?void e():void o("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==").then((function(n){1===n.width&&1===n.height?t():e()}),e)})),_=h.reject({type:"destroy"}),y="",b="",w="",k="",x={INITIAL:0,READY:1,LOADING:2,LOAD_FAIL:3,LOADED:4,VERIFING:5},T="nc-cc",M={};f.each(x,(function(t,e){M[t]=T+"-status-"+e.toLowerCase().replace("_","-")})),i.prototype={init:function(){this.initProps(),this.render(),this.bindEvents(),this.setStatus(x.READY),this.updateCaptcha(!0)},setStatus:function(t){var e=this.status;t!==e&&(this.status=t,M[e]&&f.removeClass(this.$container,M[e]),M[t]&&f.addClass(this.$container,M[t]))},initProps:function(){this.status=x.INITIAL,this.prefix=this.options.prefix,this.nc=this.options.nc,this.urls=p[this.options.foreign]||p[0],this.language=m[this.options.language],this.$container=l.getElementById(this.prefix+"cc"),this.clickIndex=0,this.onerror=this.options.onerror||d,this.onfail=this.options.onfail||d,this.onsuccess=this.options.onsuccess||d},render:function(){var t=this.language,e='\n<div class="'+T+'-body"></div>\n<div class="'+T+'-tip"><i class="nc_iconfont">'+w+"</i>"+t._cc_fail+'</div>\n<div class="'+T+'-footer">\n<div class="'+T+'-wait">\n<i class="'+T+'-loading-img"></i>'+t._wait+'\n</div>\n<div class="'+T+'-refresh" data-action="refresh"><i class="nc_iconfont" data-action="refresh">'+b+"</i>"+t._cc_refresh+'</div>\n<div class="'+T+"-btn "+T+'-confirm" data-action="confirm">'+t._verify+'</div>\n<div class="'+T+'-cancel" data-action="close"><i class="nc_iconfont" data-action="close">
210'+y+"</i>"+t._cancel+'</div>\n</div>\n<div class="'+T+'-mask"></div>\n<div class="'+T+'-arrow-1"></div>\n<div class="'+T+'-arrow-2"></div>\n';this.$container.innerHTML=e,a(this.$container),this.pin(),f.each(["body","footer","tip","confirm","wait","refresh","mask"],(function(t){this["$"+t]=this.klass(t)[0]}),this)},pin:function(){var t=this.options.$wrapper,e=t.offsetWidth,n=f.getElementLeft(t),i=f.getElementTop(t),r=this.$container.offsetWidth,o=c.innerWidth||u&&u.clientWidth||l.body.clientWidth,a="";o-e-n>r?(a="right",this.$container.style.left=(e-150)/2+108+30+"px"):n>r&&(a="left",this.$container.style.left=-(r+25-(e-150)/2)+"px"),i<339&&(this.$container.style.top=5-i+"px"),a&&f.addClass(this.$container,T+"-"+a)},updateCaptcha:function(t){var e=this,n=this.language;if(this.status!==x.LOADING){this.setStatus(x.LOADING),t?this.$body.innerHTML='\n<div class="'+T+'-loading">\n<i class="'+T+'-loading-img"></i>\n'+n._wait+"\n</div>\n":(s(this.$refresh),a(this.$wait));var i=v.then((function(){return e.urls.cc}),(function(){return e.urls.cc_pre})).then((function(t){var n=e.options;return r({url:t,data:{sessionid:n.csessionid,identity:n.appkey,style:n.value,type:"SUDOKU_IMG",token:n.token}})})).then((function(t){return e.hasDestroy()?_:t.success&&0===t.result.resultCode?(e.captchaToken=t.result.captchaToken,h.all([o(t.result.data[0]),o(t.result.data[1])])):h.reject({type:"request",code:t.result.resultCode,msg:t.result.message})})).then((function(t){return e.hasDestroy()?_:(e.setStatus(x.LOADED),void e.renderImg(t[0],t[1]))}));t||i.always((function(){a(e.$refresh),s(e.$wait)})),i["catch"]((function(n){/^(request|img)$/.test(n.type)&&(e[n.type+"Fail"](t),e.onerror())}))}},bindEvents:function(){var t=this.nc,e={};e[x.LOAD_FAIL]={retry:function(){s(this.$mask),this.updateCaptcha()}},e[x.LOADED]={refresh:function(){s(this.$tip),this.updateCaptcha()},confirm:this.confirm,select:this.select},this._handler=f.bind((function(n){n=f.getEvent(n);var i=f.getTarget(n),r=i.getAttribute("data-nc-lang")?i.parentNode.getAttribute("data-action"):i.getAttribute("data-action");r&&("close"===r&&(this.destroy(),t.reset()),e[this.status]&&e[this.status][r]&&e[this.status][r].call(this,i,n))}),this),f.addHandler(this.$container,"click",this._handler)},select:function(t,e){if(f.toggleClass(t,T+"-selected"),f.hasClass(t,T+"-selected")){var n=e.pageX,i=e.pageY;void 0===n&&(n=e.clientX+(l.body.scrollLeft||u.scrollLeft)),void 0===i&&(i=e.clientY+(l.body.scrollTop||u.scrollTop));var r=f.getPageCoord(t.parentNode);t.setAttribute("data-x",n-r.x),t.setAttribute("data-y",i-r.y),t.setAttribute("data-ci",this.clickIndex++)}var o=this.klass("selected"),a=o.length;0===a?f.addClass(this.$confirm,T+"-disabled"):f.removeClass(this.$confirm,T+"-disabled"),s(this.$tip)},confirm:function(){var t=this,e=(t.nc,this.klass("selected"));if(0!==e.length&&this.status!==x.VERIFING){this.setStatus(x.VERIFING),e=[].slice.call(e),e.sort((function(t,e){var n=parseInt(t.getAttribute("data-ci"),10),i=parseInt(e.getAttribute("data-ci"),10);return n==i?0:n>i?1:-1}));var n=[];f.each(e,(function(t){n.push("["+[t.getAttribute("data-x"),t.getAttribute("data-y"),t.getAttribute("data-i")].join(",")+"]")})),n="["+n.join(",")+"]",r({url:this.urls.checkcode,data:{csessionid:this.options.csessionid,checkcode:this.params.obj2str({answer:n,captchaToken:this.captchaToken}),a:this.options.appkey,t:this.options.token,n:c._n||"",p:"{}",r:Math.random(),lang:this.options.language,v:this.params.v}}).then((function(e){return t.hasDestroy()?_:void(e.success&&100===e.result.code?(t.onsuccess(e.result.sig),t.destroy()):(t.updateCaptcha(),a(t.$tip),t.onfail()))}))["catch"]((function(e){"request"===e.type&&(t.requestFail(),t.onerror())}))}},renderImg:function(t,e){for(var n="",i=0;i<9;i++)n+='<a href="javascript:void(0);" class="'+T+'-item" data-action="select" data-i="'+i+'"><i class="nc_iconfont">'+k+"</i></a>";this.$body.innerHTML='\n<div class="'+T+'-header">\n<div class="'+T+'-img1-box"></div>\n<div class="'+T+'-txt">'+this.language._cc_title+'</div>\n</div>\n<div class="'+T+'-img2-box">\n<div class="'+T+'-items">\n<div class="'+T+'-items-inner">\n'+n+"\n</div>\n</div>\n</div>\n",this.klass("img1-box")[0].appendChild(t),this.klass("img2-box")[0].appendChild(e),f.addClass(this.$confirm,T+"-disabled")},imgFail:function(t){this.setStatus(x.LOAD_FAIL);var e=this.$body,n=this.language,i="close";t?s(this.$footer):(e=this.$mask,i="retry",a(e));var r=n._cc_contact.replace("%TOKEN",this.options.token);e.innerHTML='\n<div class="'+T+'-fail">\n<div class="'+T+'-fail-inner">\n<p>'+n._cc_img_fail+'</p>\n<div class="'+T+'-fail-action">\n<div class="'+T+'-btn" data-action="'+i+'">'+n._retry+'</div>\n<a href="javascript:void(0);" data-action="close">
210'+n._cancel+'</a>\n</div>\n<div class="'+T+'-contact">\n'+r+"\n</div>\n</div>\n</div>\n"},requestFail:function(t){var e=this.language,n=e._cc_contact.replace("%TOKEN",this.options.token);this.setStatus(x.LOAD_FAIL),this.$body.innerHTML='\n<div class="'+T+'-fail">\n<div class="'+T+'-fail-inner">\n<p>'+e._cc_req_fail+'</p>\n<div class="'+T+'-fail-action">\n<div class="'+T+'-btn" data-action="close">'+e._close+'</div>\n</div>\n<div class="'+T+'-contact">\n'+n+"\n</div>\n</div>\n</div>\n",s(this.$footer)},unbindEvents:function(){f.removeHandler(this.$container,"click",this._handler)},klass:function(t){return f.getElementsByClassName([T,t].join("-"),this.$container)},destroy:function(){for(var t in s(this.$container),this.unbindEvents(),this.$container.innerHTML="",this)this.hasOwnProperty(t)&&delete this[t];this.destroy=d},hasDestroy:function(){return this.destroy===d}},t.exports=i},function(t,e,n){function i(t,e,n,i){var o;for(o in i)i.hasOwnProperty(o)&&(n[o]=i[o]);var s=n[e];if(s){t.opt.language=e;var l,u=t.opt.renderTo;u&&(l=a.getElementById(u))&&(c.addClass(l,"nc-lang-"+e),r(l,s))}}function r(t,e){var n,i,r,o,a=t.getElementsByTagName("*"),s="data-nc-lang";for(n=0;n<a.length;n++)i=a[n],r=i.getAttribute(s),r&&(o=e[r])&&o&&function(t,e){setTimeout((function(){t.innerHTML=e.replace(/^\s*<span[^>]*?>|<\/span>\s*$/g,"")}),1)}(i,o)}function o(t,e,n){window.nc_ex_lang=function(r){i(t,e,n,r)};var r="script",o=a.createElement(r);o.charset="utf-8",o.src=s;var c=a.getElementsByTagName(r)[0];c.parentNode.insertBefore(o,c)}var a=document,s=(_https_?"https:":"")+"//"+(_aeis_?"aeis":"g")+".alicdn.com/sd/ncpc/lang-ex.js?t="+Math.floor((new Date).getTime()/846e5),c=n(1);e.loadExLang=o},function(t,e,n){var i={cn:{placeholder:"请è¾å
¥éªè¯ç ",audioText:"è·åè¯é³éªè¯ç ",imgText:"è·åå¾çéªè¯ç ",refresh:"éæ°è·åéªè¯ç ",codeError:"éªè¯ç é误ï¼å³å°ææ¾ä¸ä¸æ®µ",clickPlay:"ç¹å»ææ¾è¯é³",audioTips:"请ä»ç»æ¶å¬"},en:{placeholder:"enter the code",audioText:"retrieve pass code from the audio",imgText:"retrieve pass code from the image",refresh:"retrieve pass code again",codeError:"Incorrect pass code, please try again",clickPlay:"click to play the audio",audioTips:"please listen carefully"}};i.zh_CN=i.cn,i.en_US=i.en,e.language=i},function(t,e,n){var i=n(114),r=n(116).makeScale,o=n(9),a=n(1),s=n(21).BaseFun,c=n(4).mmstat_base;e.makeNC=function(t,e,l){function u(t,i,o,s){var l=n(49).makeLog(i.foreign?c.gj:c.gm),u=i.glog;"boolean"!=typeof e._b_glog&&(e._b_glog=u&&"number"==typeof u&&Math.random()<u);var d=function(t){e._b_glog&&!g[t]&&l.log(i.appkey,UA_Opt.Token||i.token,t);var n=o[t];if(n&&n.length){var r,a=[];for(r=1;r<arguments.length;r++)a.push(arguments[r]);for(r=0;r<n.length;r++)if(!1===n[r].apply(null,a))return!1}};return d=a.decorator.after(d,(function(e){!1===e&&setTimeout((function(){var e=window.outer_nc_list[t];e&&e.reload()}),1)})),[r(s,e,d),d]}function d(r){r=a.mix(a.clone(m),r),e.index++,e.prefix=r.prefix||"nc_"+e.index+"_",n(115).reg(r);var o={},c={},l=new s(r,a.obj2param),d=u(e.index,r,o,l),h=d[0],f=d[1],p=i.makeNoCaptcha(t,c,e,o,h,f,l),g=new p;return g._index=e.index,g.init(r),g}function h(t){t&&this.init(t)}function f(t){h.prototype[t]=function(){if(this.is_destroyed)return this;var e=p[this.index],n=e[t].apply(e,arguments);return"destroy"===t&&(this.is_destroyed=!0),"getToken"===t||"getTrans"===t||"setTrans"===t?n:this}}var p=[];window.outer_nc_list=[];var m=l||{},g=o.deprecated;h.reset=function(t){var e=p[t];e&&e.reset&&e.reset()},h.config=function(t){a.mix(m,t)},h.getByIndex=function(t){return window.outer_nc_list[t]},h.prototype={init:function(t){var n=d(t);return this.index=e.index,this.__nc=n,p[this.index]=n,window.outer_nc_list[this.index]=this,this}};var v,_=["on","reset","reload","show","hide","upLang","getToken","destroy","getTrans","setTrans"];for(v=0;v<_.length;v++)f(_[v]);return h}},function(module,exports,__webpack_require__){function makeNoCaptcha(module_nc,opt,inn_vars,nc_events,Scale,onNCEvent,_){function _upResetIndex(t){return upResetIndex(t,nc_index)}function _getToken(){return opt.token||UA_Opt.Token||umx.getToken()}function showError(t,e){var n,i=e?'<span class="nc-errcode"> ('+e+")</span>":"";n=t?language[opt.language]._errorNetwork+i:language[opt.language]._errorLOADING+i,n=n.replace("%TOKEN",opt.token),n=_upResetIndex(n),_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">
210'+icon_warn+"</i>"+n+"</div>",el_render_to&&util.removeClass(el_render_to,"show-click-captcha")}function NoCaptcha(){}var nc_index=inn_vars.index,nc_prefix=inn_vars.prefix,scale_btn=nc_prefix+"n1z",scale_bar=nc_prefix+"n1t",TEXTELEM,gErrTimes=0,ajaxURL,clsCheckCode=m_checkcode.init(inn_vars,_,onNCEvent),objCheckCode,tpl=makeTemplate({idx:nc_index,prefix:nc_prefix}),glog=__webpack_require__(49).makeLog(opt.foreign?mmstat_base.gj:mmstat_base.gm),report=glog.report,reportLoadJSError=function(t,e){report2.log({a:opt.appkey,t:_getToken(),scene:opt.scene,ns:"",jsv:inn_vars.v,usa:navigator.userAgent,p:"",jsType:"pc",os:"",em:e,ec:t})},el_render_to,showHelp=makeShowHelp(opt,_,inn_vars),loading_circle_html='\n <div id="nc-loading-circle" class="nc-loading-circle">\n <div class="sk-circle1 sk-circle"></div>\n <div class="sk-circle2 sk-circle"></div>\n <div class="sk-circle3 sk-circle"></div>\n <div class="sk-circle4 sk-circle"></div>\n <div class="sk-circle5 sk-circle"></div>\n <div class="sk-circle6 sk-circle"></div>\n <div class="sk-circle7 sk-circle"></div>\n <div class="sk-circle8 sk-circle"></div>\n <div class="sk-circle9 sk-circle"></div>\n <div class="sk-circle10 sk-circle"></div>\n <div class="sk-circle11 sk-circle"></div>\n <div class="sk-circle12 sk-circle"></div>\n </div>\n ',isIE8=util.isIEX(8),isIE9=util.isIEX(9);(isIE8||isIE9)&&(loading_circle_html="");var supportDataURI=new Promise((function(t,e){return isIE8?void e():void util.imageLoaded("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==").then((function(n){1===n.width&&1===n.height?t():e()}),e)}));return NoCaptcha.prototype={init:function(t){win.__nc=this,module_nc.nc=this;var e,n=default_opt.language;t.foreign&&(n="en",default_opt.language=n),_.objUpdate(opt,default_opt),_.objUpdate(opt,t),opt.token||(opt.token=default_opt.token),this.opt=opt,language[opt.language]||(loadExLang(this,opt.language,language),opt.language=n),this.render_to=opt.renderTo,this.render_to&&(el_render_to=_.id(this.render_to)),el_render_to&&util.addClass(el_render_to,"nc-container"),opt.is_tbLogin&&(tb_login=__webpack_require__(118).makeTBLogin(inn_vars)),ajaxURL=URL_MAP[opt.foreign]||URL_MAP[0],ajaxURL=util.mix(ajaxURL,opt.apimap),ajaxURL.uab_Url=opt.uaUrl||ajaxURL.uab_Url;try{this.initializationReport()}catch(a){}if(opt.renderTo&&opt.appkey&&opt.token){e=_.id(opt.renderTo);var i=Math.min(e.offsetWidth,e.parentNode.offsetWidth);!opt.customWidth&&i>300&&(opt.customWidth=300),this.updateWidth(opt.customWidth),e.setAttribute("data-nc-idx",inn_vars.index.toString()),e&&(e.innerHTML='<div id="'+nc_prefix+'nocaptcha"><div id="'+nc_prefix+'wrapper" class="nc_wrapper"><div id="'+nc_prefix+'_n1t_loading" class="nc_scale"><div id="'+nc_prefix+'_bg" class="nc_bg" style="width: 0;"></div><div id="'+nc_prefix+'_scale_text_loading" class="scale_text">'+language[opt.language]._Loading+loading_circle_html+"</div></div></div></div>"),UA_Opt.LogVal="_n",this.inituab(),this.afterUA()}if(opt.logo&&css.insertCSS(".nc-container .nc_scale .scale_text {background-image: url("+NC_LOGO_URL+"); background-repeat: repeat-x;}"),opt.cssUrl)if(doc.createStyleSheet)doc.createStyleSheet(opt.cssUrl);else{var r=doc.createElement("link");r.type="text/css",r.rel="stylesheet",r.className="nc-custom-style-"+nc_index,r.href=inn_vars.has_pointman?util.addHourStamp(opt.cssUrl):opt.cssUrl;var o=doc.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}onNCEvent(event_names.init)},on:function(t,e){var n=window.console,i=event_deprecated[t];i&&n&&n.warn&&n.warn("NC: Event '"+t+"' will be deprecated, use '"+i+"' instead."),nc_events[t]=nc_events[t]||[],nc_events[t].push(e)},initializationReport:function(){var t=("initializeJsonp_"+Math.random()).replace(".",""),e=ajaxURL.initialize+"?a="+encodeURIComponent(opt.appkey)+"&t="+encodeURIComponent(opt.token)+"&scene="+encodeURIComponent(opt.scene)+"&lang="+opt.language+"&v=v1.2.17&href="+encodeURIComponent(location.href.split("?")[0])+"&comm={}&callback="+t,n=document.createElement("script"),i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i),window[t]=function(t){},n.src=e},updateWidth:function(t,e){if(t){var n,i,r="undefined"==typeof t?"undefined":_typeof(t);"number"==r?n=t:i="string"==r?_.id(t):t,i&&(n=i.offsetWidth),n&&(this.c_width=n,this.__is_c_width_setted=1,this.try2setWidth(nc_prefix+"wrapper"),this.updateCSS(nc_prefix,n,e))}},updateCSS:function(t,e,n){var i=util.isIEX(6),r=util.isIEX(7),o=i||r?" !important":"";
210css.insertCSS((n?"":".nc-container #"+t+"wrapper,.nc-container.tb-login #"+t+"wrapper{width:"+e+"px}\n")+[".nc-container .imgCaptcha",".nc-container .clickCaptcha"].join(",")+"{width:"+(e-2)+"px"+o+";}\n"+[".nc-container.tb-login .imgCaptcha",".nc-container.tb-login .clickCaptcha"].join(",")+"{width:"+e+"px"+o+";}\n"+[".nc-container.tb-login .imgCaptcha .captcha-error",".nc-container.tb-login .clickCaptcha .captcha-error"].join(",")+"{width:"+(e-8)+"px"+o+";}\n.nc-container.tb-login .errloading, .nc-container .errloading {width:"+(e-10)+"px;}")},updateAudioBoxWidth:function(t,e,n){var i=_.id(t+"omeo-refresh-audio").offsetWidth,r=_.id(t+"_voice_close").offsetWidth,o=_.id(t+"omeo-code-key").offsetWidth,a=e-i-r-o-n;_.id(t+"omeo-code-audiobox").style.width=a+"px"},try2setWidth:function(t,e){"string"==typeof t&&(t=_.id(t)),e=e||this.c_width||(el_render_to?el_render_to.offsetWidth:0),e&&t&&t.style&&(t.style.width=e+"px")},inituab:function(){this.initUaParam();var t=this;UA_Opt.Token=(new Date).getTime()+":"+opt.token,_.loadjs(util.addHourStamp(ajaxURL.uab_Url),(function(e){if("timeout"===e)showError(!0,ERR_CODE_UABTIMEOUT),report("loaduab failed"),reportLoadJSError(LOAD_JS_TIMEOUT,"uab.js timeout");else try{var n=function(){t.__uab&&(clearInterval(i),"timeout"===t.__uab&&(showError(!0,ERR_CODE_UABTIMEOUT),report("loaduab failed")))};AWSC.use("uab",(function(e,n){"loaded"===e?t.__uab=n:"timeout"===e&&(t.__uab="timeout")}));var i=setInterval(n,100);n()}catch(r){report("uab die")}}),"nc-required-js-"+nc_index+" nc-uab-script")},initUaParam:function(){function t(t,e){UA_Opt[t]="undefined"!=typeof UA_Opt[t]&&UA_Opt[t]>0?UA_Opt[t]:e}function e(t,e){n.__uaoption[t]="undefined"!=typeof UA_Opt[t]&&UA_Opt[t]>0?UA_Opt[t]:e}opt.is_Opt?(t("MPInterval",4),t("MaxMCLog",12),t("MaxKSLog",14),t("MaxMPLog",5),t("MaxFocusLog",6),t("SendInterval",5),t("SendMethod",8),t("GPInterval",50),t("MaxGPLog",1),t("MaxTCLog",12),t("Flag",2980046)):(UA_Opt.SendInterval=5,UA_Opt.SendMethod=8,UA_Opt.MaxMCLog=12,UA_Opt.MaxKSLog=14,UA_Opt.MaxMPLog=5,UA_Opt.MaxGPLog=1,UA_Opt.MaxTCLog=12,UA_Opt.GPInterval=50,UA_Opt.MPInterval=4,UA_Opt.MaxFocusLog=6,UA_Opt.isSendError=1,UA_Opt.Flag=2980046),this.__uaoption=new Object;var n=this;opt.is_Opt?(e("SendInterval",5),e("SendMethod",8),e("MaxMCLog",12),e("MaxKSLog",14),e("MaxMPLog",5),e("MaxGPLog",1),e("MaxTCLog",12),e("GPInterval",50),e("MPInterval",4),e("MaxFocusLog",6),e("Flag",2980046),e("OnlyHost",1),e("MaxMTLog",500),e("MinMTDwnLog",30),e("MaxNGPLog",1),e("sIDs",["_n1t|_n1z|nocaptcha|-stage-1"]),e("hook",1),e("font",1),e("api",1)):(n.__uaoption.SendInterval=5,n.__uaoption.SendMethod=8,n.__uaoption.isSendError=1,n.__uaoption.MaxMCLog=12,n.__uaoption.MaxKSLog=14,n.__uaoption.MaxMPLog=5,n.__uaoption.MaxGPLog=1,n.__uaoption.MaxTCLog=12,n.__uaoption.GPInterval=50,n.__uaoption.MPInterval=4,n.__uaoption.MaxFocusLog=6,n.__uaoption.Flag=2980046,n.__uaoption.OnlyHost=1,n.__uaoption.MaxMTLog=500,n.__uaoption.MinMTDwnLog=30,n.__uaoption.MaxNGPLog=1,n.__uaoption.sIDs=["_n1t|_n1z|nocaptcha|-stage-1"],n.__uaoption.mIDs=["nc-canvas","click2slide-btn"],n.__uaoption.hook=1,n.__uaoption.font=1,n.__uaoption.api=1)},afterUA:function(){if("undefined"==typeof umx)this.initUM();else{var t=doc.getElementById("_umfp"),e=(new Date).getTime();umx.init({timeout:opt.timeout,timestamp:e,token:opt.token,serviceUrl:ajaxURL.umid_serUrl,appName:opt.appkey,enableFlash:!1,containers:{flash:t,dcp:t}}),this.afterUM()}},initUM:function(){var t=this;_.loadjs(ajaxURL.umid_Url,(function(e){if("timeout"===e)showError(!0,ERR_CODE_UMTIMEOUT),reportLoadJSError(LOAD_JS_TIMEOUT,"um.js timeout");else{try{if(e){if(--default_opt.times>0)return void setTimeout((function(){t.initUM()}),500);report("initUM")}var n=document.getElementById("_umfp"),i=(new Date).getTime();umx.init({timeout:opt.timeout,timestamp:i,token:opt.token,serviceUrl:ajaxURL.umid_serUrl,appName:opt.appkey,enableFlash:!1,containers:{flash:n,dcp:n},closeImage:!1})}catch(e){report("umx die")}t.afterUM()}}),"nc-required-js-"+nc_index+" nc-umid-script")},afterUM:function(){function t(){win.__acjs?(e.reload(),clearInterval(i),onNCEvent(event_names.ready)):n++>100&&(showError(!0,ERR_CODE_UABTIMEOUT),clearInterval(i))}if(!this.__nc_afterUM){this.__nc_afterUM=!0;var e=this;if("undefined"==typeof umx)return report("afterUM"),void showError(!0,ERR_CODE_UMXUNDEFINED);var n=0;setTimeout((function(){!0}),3e3);var i=setInterval(t,100);t()}},__reload_voicebtn:function(){var t,e=_.id(nc_prefix+"_voicebtn"),n=this;_.addHandler(e,"keydown",(function t(n){var i=n||window.event;13!=i.keyCode&&13!=i.which||(_.removeEvt(e,"keydown",t),e.click())})),e.onclick=function(){function e(){o||umx.getStatus()?(clearInterval(s),_.jsonp({url:ajaxURL.analyze,callback:"callback",data:{a:opt.appkey,t:opt.token,n:n.__uab.getUA&&n.__uab.getUA(n.__uaoption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",_a:"audio",p:_.obj2str(opt.trans),lang:opt.language,scene:opt.scene,v:inn_vars.v},success:i,fail:function(){t&&report("audio fail")}})):a++>100&&(showError(!0,ERR_CODE_UMXRETRYLIMIT),clearInterval(s))}function i(e){function i(t){if(t.success)if(100==t.result.code)n.userCallback(objCheckCode.config.sessionid,t.result.value,t.result.sig);else if(900==t.result.code){UA_Opt.reload&&UA_Opt.reload();var e=_.id(nc_prefix+"_captcha_text"),i=language[opt.language]._errorClickTEXT;++gErrTimes>MAX_ERR_TIME&&(i=language[opt.language]._errorTooMuch.replace("%TOKEN",opt.token)),e.innerHTML='<i class="nc_iconfont icon_close">
210'+icon_close+"</i>"+i,e.style.visibility="visible"}else 300!=t.result.code&&69634!=t.result.code||(report("block"),_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">'+icon_warn+"</i>"+_upResetIndex(language[opt.language]._error300)+"</div>",onNCEvent(event_names.error),onNCEvent(event_names.error300));else n.errorCallback()}if(t){var o=e.result;o&&(objCheckCode||(objCheckCode=new clsCheckCode({a:opt.appkey,t:opt.token,n:n.__uab.getUA&&n.__uab.getUA(n.__uaoption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",type:"150_40",identity:opt.appkey,sessionid:o.csessionid,element:r,codeType:"audio",lang:opt.language,scene:opt.scene,p:_.obj2str(opt.trans)}),objCheckCode.check((function(t){"success"!=t.message&&(objCheckCode.playErrAudio(),setTimeout((function(){var t=_.id(nc_prefix+"omeo-refresh-audio");t&&t.click()}),5e3)),"success"==t.message&&_.jsonp({url:ajaxURL.checkcode,callback:"callback",data:{csessionid:o.csessionid,checkcode:function(){var t={};return t.answer=objCheckCode.cache.lastCheckCode,_.obj2str(t)}(),a:opt.appkey,t:opt.token,n:n.__uab.getUA&&n.__uab.getUA(n.__uaoption)||win._n||"",p:"{}",r:Math.random(),lang:opt.language,v:inn_vars.v},success:i,fail:function(t){n.errorCallback(t)}})})),objCheckCode.render(),onNCEvent(event_names.switchevent,{from:"scale",to:"audio"}),objCheckCode.switchCode({type:"audio"})))}}var r=_.id(nc_prefix+"_voice");if(_.id(nc_prefix+"imgCaptcha").style.display="none",_.id(nc_prefix+"clickCaptcha").style.display="none",t)return t=!1,r.style.display="none",objCheckCode&&objCheckCode.stopAudio(),clearInterval(win.__progtid),n.reset(),!1;t=!0,r.style.display="block",objCheckCode&&(objCheckCode.resetPlayer({state:"end"}),objCheckCode.switchCode({type:"audio"}));var o,a=0;setTimeout((function(){o=!0}),3e3);var s=setInterval(e,100);e()}},reload:function(){objCheckCode=null,clearInterval(win.__progtid);var t=_.id(opt.renderTo);t&&(t.innerHTML=tpl,util.addClass(el_render_to,"nc-container")),opt.audio&&(_.id(nc_prefix+"_voicebtn").style.display="block",util.addClass(_.id(nc_prefix+"n1t"),"is_audio")),tb_login&&tb_login.init(this.render_to,el_render_to,opt.customFloatHeight),this.__reload_voicebtn();var e=_.id(nc_prefix+"_helpbtn");e&&(navigator.userAgent.indexOf("MSIE 6.0")>=0&&(e.style.display="none"),e.innerHTML=language[opt.language]._learning,e.onclick=function(){setTimeout(showHelp,100)}),TEXTELEM=_.tag(scale_bar+" div")[1],inn_vars.TEXTELEM=TEXTELEM,opt.isEnabled&&new Scale(scale_btn,scale_bar,this)},reset:function(){var t;this.__nc_afterUM=!1,win.UA_Opt&&(UA_Opt.Token=(new Date).getTime()+":"+opt.token),opt.renderTo&&opt.appkey&&opt.token&&(t=_.id(opt.renderTo),t&&util.addClass(el_render_to,"nc-container"),t.innerHTML='<div id="'+nc_prefix+'nocaptcha"><div id="'+nc_prefix+'wrapper" class="nc_wrapper"><div id="'+nc_prefix+'_n1t_loading" class="nc_scale"><div id="'+nc_prefix+'_bg" class="nc_bg" style="width: 0;"></div><div id="'+nc_prefix+'_scale_text_loading" class="scale_text">'+language[opt.language]._Loading+loading_circle_html+"</div></div></div></div>","undefined"==typeof win.acjs?this.loaduab():(UA_Opt.LogVal="_n",this.initUaParam(),UA_Opt.Token=(new Date).getTime()+":"+opt.token,UA_Opt.reload&&UA_Opt.reload()),this.afterUA())},show:function(){el_render_to&&(el_render_to.style.display="block",tb_login&&tb_login.adjustPosition(opt.customFloatHeight),this.is_show=!0)},hide:function(){el_render_to&&(el_render_to.style.display="none",this.is_show=!1)},getTrans:function(){return opt.trans},setTrans:function(t){return t&&(opt.trans=t),opt.trans},loaduab:function(){UA_Opt.LogVal="_n",this.initUaParam(),UA_Opt.Token=(new Date).getTime()+":"+opt.token,_.loadjs(util.addHourStamp(ajaxURL.uab_Url),(function(t){"timeout"===t&&(showError(!0,ERR_CODE_UABTIMEOUT),report("loaduab failed"));try{UA_Opt.reload()}catch(e){report("uab die")}}),"nc-required-js-"+nc_index+" nc-uab-script")},enabled:function(){return new Scale(scale_btn,scale_bar,this)},errorCallback:function(t){var e=_.id(scale_bar),n=this,i=e.getElementsByTagName("span"),r=e.getElementsByTagName("div");if(onNCEvent(event_names.fail),0!==i.length&&0!==r.length){var o=i[0],a=r[0];showError(t),util.addClass(a,"orange"),util.addClass(o,"reload"),_.addHandler(e,"click",(function(){UA_Opt.Token=(new Date).getTime()+":"+opt.token,UA_Opt.reload&&UA_Opt.reload(),n.reload(),_.removeEvt(e,"click")})),t&&opt.error&&opt.error(language[opt.language]._errorServer)}},getElementLeft:function(t){for(var e=t.offsetLeft,n=t.offsetParent;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e},getElementTop:function(t){for(var e=t.offsetTop,n=t.offsetParent;null!==n;)e+=n.offsetTop,n=n.offsetParent;return e},getNcSession:function(t){return parseInt(t.offsetWidth+"a"+t.offsetHeight+"a"+this.getElementLeft(t)+"a"+this.getElementTop(t),11).toString(16)},onScaleReady:function onScaleReady(elem){function waitForUmx(){if(is_umx_getStatus_timeout||umx.getStatus()){clearInterval(timer);try{UA_Opt.sendSA()}catch(t){}_.jsonp({url:ajaxURL.analyze,callback:"callback",data:{a:opt.appkey,t:opt.token,n:me.__uab.getUA&&me.__uab.getUA(me.__uaoption)||win[UA_Opt.LogVal||"_n"]||"",p:_.obj2str(trans),scene:opt.scene||(inn_vars.has_pointman?pointman.config.common.scene:"")||"",asyn:0,lang:opt.language,v:inn_vars.v},success:function(t){me.onScaleReadyCallback(t,elem)},fail:function(t){report("onScaleReady"),showError(!0,ERR_CODE_ANALYZETIMEOUT)}})}else retry++>100&&(showError(!0,ERR_CODE_UMXRETRYLIMIT),clearInterval(timer))}var trans=opt.trans||{};"string"==typeof trans&&(trans=eval("0,"+trans));for(var arr=opt.elementID||[],i=0;i<arr.length;i++){var id=arr[i],el=doc.getElementById(id);el&&(trans[id]=el.value)}try{trans.ncSessionID=this.getNcSession(document.getElementById("nc_"+this._index+"_n1t"))}catch(e){trans.ncSessionID="0"}var me=this;TEXTELEM.innerHTML=language[opt.language]._Loading+loading_circle_html,util.addClass(inn_vars.TEXTELEM,"nc-align-center"),util.addClass(TEXT
210ELEM,"scale_text2");var retry=0,is_umx_getStatus_timeout;setTimeout((function(){is_umx_getStatus_timeout=!0}),3e3);var timer=setInterval(waitForUmx,100);waitForUmx()},onScaleReadyCallback:function(t,e){if(t.success){var n=t.result,i=n.code;if(0===i)_.id(scale_btn).className="nc_iconfont btn_ok",_.id(scale_btn).innerHTML=icon_ok_sign,TEXTELEM.innerHTML=language[opt.language]._yesTEXT,util.removeClass(e.btn.parentNode,"nc_err"),this.userCallback(n.csessionid,"pass",n.value);else if(UA_Opt.reload&&(UA_Opt.Token=(new Date).getTime()+":"+opt.token,UA_Opt.reload&&UA_Opt.reload()),util.addClass(e.btn,"nc_iconfont btn_warn"),util.addClass(e.btn.parentNode,"nc_err"),e.btn.innerHTML=icon_warn,e.bar=_.tag(scale_bar+" div")[0],TEXTELEM.innerHTML=language[opt.language]._Loading+loading_circle_html,"function"==typeof opt.verifycallback&&300!=i&&opt.verifycallback(n),100==i)this.__inn=1,this.onScale100(n.csessionid,n.value);else if(200==i)this.__inn=1,this.onScale200(n.csessionid,n.value);else if(260==i)this.onScale260(n.csessionid,n.value);else if(300==i||69634==i){var r=function(t,e,n){for(var i=0,r=e,o=t.length;r<o;)i<<=3,i+=t.charCodeAt(r),r+=n;i<0&&(i=0-i);for(var a="0123456789abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",s="";i>=58;){var c=i%58;s=a[c]+s,i=(i-c)/58}s+=a[(new Date).getDate()];var l=s.length;return l>6&&(s=s.substr(l-6,l-1)),s};report("block"),util.removeClass(inn_vars.TEXTELEM,"nc-align-center"),_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">'+icon_warn+"</i>"+_upResetIndex(language[opt.language]._error300)+"(error:"+r(opt.token,0,1)+")</div>",onNCEvent(event_names.error),onNCEvent(event_names.error300)}}else this.errorCallback()},onScale100:function t(e,n,i){var r=t,o=i||this,a=this,s=_.tag(nc_prefix+"clickCaptcha div");this.__inn&&(this.__inn=0,_.addHandler(_.id(nc_prefix+"_btn_2"),"click",(function(){r.call(o,e,n)})));var c,l=setTimeout((function(){l=-1,c||(showError(!0,ERR_CODE_UABTIMEOUT),report("captcha timeout"))}),5e3);onNCEvent(event_names.beforeverify),onNCEvent(event_names.before_code),supportDataURI.then((function(){return ajaxURL.get_captcha}),(function(){return ajaxURL.get_captcha_pre})).then((function(t){_.jsonp({url:t,callback:"callback",data:{sessionid:e,identity:opt.appkey,style:n,lang:opt.language,v:inn_vars.v},success:function(t){if(t.result.question&&(t.result.question=t.result.question.replace(/<span[^>]+?>/g,"<i>"),t.result.question=t.result.question.replace(/<\/span[^>]*?>/g,"</i>"),o.captchaToken=t.result.captchaToken),c=!0,-1!=l){if(clearTimeout(l),!t.result.tags)return report("no tag"),void showError(!0,ERR_CODE_CAPTCHA_NOTAG);var i=_.id(nc_prefix+"clickCaptcha");i&&(i.style.display="block",o.__is_c_width_setted||o.updateWidth(_.id(nc_prefix+"wrapper"),1)),el_render_to&&util.addClass(el_render_to,"show-click-captcha");var u=opt.appkey+"&sessionid",d=t.result.question.split(t.result.tags[0]),h=d.shift();util.removeClass(inn_vars.TEXTELEM,"nc-align-center"),_.id(nc_prefix+"_scale_text")&&(-1==t.result.question.indexOf("<i>")?_.id(nc_prefix+"_scale_text").innerHTML=h+"<i>â"+t.result.tags[0]+"â</i>"+d.join(t.result.tags[0]):_.id(nc_prefix+"_scale_text").innerHTML=t.result.question),tb_login&&tb_login.getInform(_.id(nc_prefix+"clickCaptcha"),module_nc.nc),s[1].innerHTML='<img src="'+t.result.data+'" >';var f,p=s[1].getElementsByTagName("img")[0];p.onload=function(){f=!0,-1!=m&&clearTimeout(m)},p.onerror=function(){report("captcha onerror"),showError()};var m=setTimeout((function(){m=-1,f||(showError(!0,ERR_CODE_IMAGE_TIMEOUT),report("captcha timeout"))}),5e3);_.addHandler(p,"click",(function(t){util.addClass(inn_vars.TEXTELEM,"nc-align-center"),TEXTELEM.innerHTML=language[opt.language]._Loading+loading_circle_html,_.jsonp({url:ajaxURL.checkcode,callback:"callback",data:{csessionid:e,checkcode:function(){var e={};return e.imgid=u,e.w=p.width.toString(),e.h=p.height.toString(),e.x=void 0===t.offsetX?util.getOffset(t).offsetX:t.offsetX,e.y=void 0===t.offsetY?util.getOffset(t).offsetY:t.offsetY,e.x=parseInt(e.x).toString(),e.y=parseInt(e.y).toString(),e.captchaToken=o.captchaToken,_.obj2str(e)}(),a:opt.appkey,t:opt.token,n:a.__uab.getUA&&a.__uab.getUA(a.__uaoption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",p:"{}",r:Math.random(),lang:opt.language,v:inn_vars.v},success:function(t){var i=_.id(scale_btn);if(t.success)if(100==t.result.code)i.className="nc_iconfont btn_ok",i.innerHTML=icon_ok_sign,util.addClass(inn_vars.TEXTELEM,"nc-align-center"),_.tag(scale_bar+" div")[0].className="nc_bg",TEXTELEM.innerHTML=language[opt.language]._yesTEXT,util.removeClass(i.parentNode,"nc_err"),_.toggle(nc_prefix+"clickCaptcha"),el_render_to&&util.removeClass(el_render_to,"show-click-captcha"),o.userCallback&&o.userCallback(e,n,t.result.sig);else if(900==t.result.code){UA_Opt.reload&&UA_Opt.reload(),r.call(o,e,n,o);var a=_.id(nc_prefix+"_captcha_text"),s=language[opt.language]._errorClickTEXT;++gErrTimes>MAX_ERR_TIME&&(s=language[opt.language]._errorTooMuchClick.replace("%TOKEN",opt.token)),a.innerHTML='<i class="nc_iconfont icon_close">
210'+icon_close+"</i>"+s,a.style.visibility="visible"}else 300!=t.result.code&&69634!=t.result.code||(report("block"),_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">'+icon_warn+"</i>"+_upResetIndex(language[opt.language]._error300)+"</div>",onNCEvent(event_names.error),onNCEvent(event_names.error300));else o.errorCallback()},fail:function(t){o.errorCallback(t)}})})),onNCEvent(event_names.afterverify),onNCEvent(event_names.after_code)}},fail:function(){_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">'+icon_warn+"</i>"+_upResetIndex(language[opt.language]._errorLOADING)+"</div>",o.errorCallback(!0)}})}))},onScale200:function t(e,n){function i(t){var e=_.id(nc_prefix+"captcha_input");return(p=e.value.replace(/[^\w\/]/gi,""))?(p.length>f.length?h.push(p.slice(f.length)):p.length<f.length?h.push("bsp"):h.push("oth"),void(f=p)):(f="",void h.push("oth"))}function r(){var t=_.tag(nc_prefix+"imgCaptcha input")[0].value;if(t){var i={ksl:h.slice(0,20)};_.jsonp({url:ajaxURL.checkcode,callback:"callback",data:{csessionid:e,checkcode:function(){var e={};return e.answer=t,e.captchaToken=c.captchaToken,_.obj2str(e)}(),a:opt.appkey,t:opt.token,n:o.__uab.getUA&&o.__uab.getUA(o.__uaoption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",p:_.obj2str(i),lang:opt.language,v:inn_vars.v},success:function(t){if(t.success){var i=_.id(scale_btn),r=_.tag(nc_prefix+"imgCaptcha div")[2];if(100==t.result.code)i.className="nc_iconfont btn_ok",i.innerHTML=icon_ok_sign,_.tag(scale_bar+" div")[0].className="nc_bg",TEXTELEM.innerHTML=language[opt.language]._yesTEXT,util.addClass(inn_vars.TEXTELEM,"nc-align-center"),util.removeClass(i.parentNode,"nc_err"),r.style.borderTopColor="#e5e5e5",_.toggle(nc_prefix+"imgCaptcha"),c.userCallback.call(this,e,n,t.result.sig);else if(900==t.result.code){var o=_.tag(nc_prefix+"imgCaptcha input")[0];o&&(o.value=""),UA_Opt.reload&&UA_Opt.reload(),s.call(c,e,n);var a=language[opt.language]._errorTEXT;++gErrTimes>MAX_ERR_TIME&&(a=language[opt.language]._errorTooMuch.replace("%TOKEN",opt.token));var l=_.id(nc_prefix+"_captcha_img_text");l.innerHTML='<i class="nc_iconfont icon_close">'+icon_close+"</i>"+a,l.style.display="block",l.style.visibility="visible",r.style.borderTopColor="red"}else 300!=t.result.code&&69634!=t.result.code||(report("block"),_.id(opt.renderTo).innerHTML='<div class="errloading"><i class="nc_iconfont icon_warn">'+icon_warn+"</i>"+_upResetIndex(language[opt.language]._error300)+"</div>",onNCEvent(event_names.error),onNCEvent(event_names.error300))}else c.errorCallback();h=[],f=""},fail:function(t){c.errorCallback(t)}})}}onNCEvent(event_names.beforeverify),onNCEvent(event_names.before_code);var o=this,a=_.id(nc_prefix+"imgCaptcha");a&&(this.__is_c_width_setted||this.updateWidth(_.id(nc_prefix+"wrapper"),1));var s=t,c=this,l=_.tag(nc_prefix+"imgCaptcha div"),u=supportDataURI.then((function(){return ajaxURL.get_img}),(function(){return ajaxURL.get_img_pre})).then((function(t){var i=opt;return util.request({url:t,data:{sessionid:e,identity:i.appkey,token:opt.token,style:n}})})).then((function(t){return t.success&&0===t.result.resultCode?(c.captchaToken=t.result.captchaToken,util.imageLoaded(t.result.data[0])):Promise.reject({type:"request",code:t.result.resultCode,msg:t.result.message})})).then((function(t){a.style.display="block",l[1].innerHTML="",l[1].appendChild(t);var i=l[1].getElementsByTagName("img")[0];_.addHandler(i,"click",(function(){s.call(c,e,n)})),TEXTELEM.innerHTML=language[opt.language]._noTEXT,tb_login&&tb_login.getInform(_.id(nc_prefix+"imgCaptcha"),module_nc.nc),util.removeClass(inn_vars.TEXTELEM,"nc-align-center"),_.id(nc_prefix+"scale_submit").innerHTML=language[opt.language]._submit}));u["catch"]((function(t){/^(request)$/.test(t.type)?showError(!0,ERR_CODE_IMAGE_REQUEST_ERROR):/^(img)$/.test(t.type)&&showError()}));var d,h=[],f="",p="";this.__inn&&(this.__inn=0,_.addHandler(_.id(nc_prefix+"scale_submit"),"click",r),_.addHandler(_.id(nc_prefix+"_btn_2"),"click",(function(){s.call(this,e,n)})),window.addEventListener?_.id(nc_prefix+"captcha_input").addEventListener("input",i):_.id(nc_prefix+"captcha_input").attachEvent("onpropertychange",(function(t){"value"===t.propertyName&&i()})),d=_.id(nc_prefix+"imgCaptcha"),d&&(d=d.getElementsByTagName("input")[0])&&_.addHandler(d,"keydown",(function(t){if(t=t||window.event,13==t.keyCode||13==t.which)return r(),t.preventDefault?t.preventDefault():window.event.returnValue=!1,!1}))),onNCEvent(event_names.afterverify),onNCEvent(event_names.after_code)},onScale260:function(t,e){var n=this;onNCEvent(event_names.beforeverify),onNCEvent(event_names.before_code),TEXTELEM.innerHTML=language[opt.language]._cc_select,this.imgCategoryCaptcha=new ImgCategoryCaptcha(util.mix({nc:this,prefix:nc_prefix,$wrapper:_.id(nc_prefix+"wrapper"),csessionid:t,value:e,onfail:function(){onNCEvent(event_names.fail)},onerror:function(){onNCEvent(event_names.error),onNCEvent(event_names.error300)},onsuccess:function(i){var r=_.id(scale_btn);r.className="nc_iconfont btn_ok",r.innerHTML=icon_ok_sign,TEXTELEM.innerHTML=language[opt.language]._yesTEXT,util.removeClass(r.parentNode,"nc_err");try{n.userCallback(t,e,i)}catch(o){throw o}}},opt),{v:inn_vars.v,obj2str:_.obj2str}),onNCEvent(event_names.afterverify),onNCEvent(event_names.after_code)},userCallback:function(t,e,n){var i={csessionid:t||null,value:e||null,sig:n||null,token:_getToken()};opt.callback&&opt.callback.call(this,i),onNCEvent(event_names.success,i)},upLang:function(t,e){return _upLang(t,e)},getToken:function(){return _getToken()},destroy:function(){el_render_to.innerHTML="";var t,e,n,i=util.getElementsByClassName("nc-custom-style-"+nc_index);if(util.getElementsByClassName("nc-required-js-"+nc_index),t=i.length,t>0)for(e=0;e<t;e++)n=i[0].parentNode,n&&n.removeChild(i[0])}},NoCaptcha}var _typeof="function"==typeof _symbol2.default&&"symbol"==(0,_typeof4.default)(_iterator2.default)?function(t){return"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)}:function(t){return t&&"function"==typeof _symbol2.default&&t.constructor===_symbol2.default&&t!==_symbol2.default.prototype?"symbol":"undefined"===typeof t?"undefined":(0,_typeof4.default)(t)},win=window,doc=document,tb_login,util=__webpack_require__(1),ImgCategoryCaptcha=__webpack_require__(110),mmstat_base=__webpack_require__(4).mmstat_base,URL_MAP=__webpack_require__(4).URL_MAP,language=__webpack_require__(7).language,_upLang=__webpack_require__(7).upLang,upResetIndex=__webpack_require__(7).upResetIndex,loadExLang=__webpack_require__(111).loadExLang,makeTemplate=__webpack_require__(119).makeTemplate,m_checkcode=__webpack_require__(108),makeShowHelp=__webpack_require__(117).makeShowHelp,default_opt=__webpack_require__(22).default_opt,report2=__webpack_require__(3),css=__webpack_require__(109),MAX_ERR_TIME=3,NC_LOGO_URL=(_https_?"https:":"")+"//img.alicdn.com/tfs/TB1itI1PVXXXXXTXVXXXXXXXXXX-52-32.png",ERR_CODE_ANALYZETIMEOUT="00",ERR_CODE_UABTIMEOUT="01",ERR_CODE_UMTIMEOUT="02",ERR_CODE_UMXUNDEFINED="04",ERR_CODE_UMXRETRYLIMIT="08",ERR_CODE_CAPTCHA_NOTAG="16",ERR_CODE_IMAGE_TIMEOUT="32",ERR_CODE_IMAGE_REQUEST_ERROR="64",LOAD_JS_TIMEOUT="LOAD_JS_TIMEOUT",icon_warn="",icon_ok_sign="",icon_close="",m_event=__webpack_require__(9),event_names=m_event.names,event_deprecated=m_event.deprecated,Promise=__webpack_require__(2);exports.makeNoCaptcha=makeNoCaptcha},function(t,e,n){e.reg=function(t){if(-1!==location.hostname.indexOf("alipay.com")){var e=t.renderTo;if(e&&"string"==typeof e){e=e.replace("#","");var n=document.getElementById(e);if(n){var i=n.parentNode;i&&"_umfp"==i.id&&(t.customWidth=t.customWidth||300)}}}}},function(t,e,n){function i(){var t=navigator.userAgent;return!/Firefox|MSIE/.test(t)}function r(t,e,n){function r(t,n,r){e.TEXTELEM&&(e.TEXTELEM.innerHTML=c[r.opt.language||l.language]._startTEXT,i()&&s.addClass(e.TEXTELEM,"slidetounlock")),this.btn=a.getElementById(t),this.bar=a.getElementById(n),this.txt=a.getElementById(d+"_scale_text"),this.step=this.bar.getElementsByTagName("DIV")[0],this.init(r)}var d=e.prefix;return r.prototype={init:function(e){function i(i){function o(){c.btn.onmousedown=null,c.txt.onmousedown=null,t.removeEvt(l,"mousemove",a),t.removeEvt(l,"mouseup",p),t.removeEvt(l,"touchmove",g),t.removeEvt(l,"touchend",m),t.removeEvt(c.btn,"touchstart",r),t.removeEvt(c.txt,"touchstart",r);var i={};i.btn=c.btn,i.bar=c.bar.childNodes[1],n(u.actionend),n(u.slide_end),e.onScaleReady(i)}function a(t){v||(n(u.actionstart),n(u.slide_start),v=!0);var e=(t||h.event).clientX,i=f.min(b,f.max(-2,w+(e-_)));c.btn.style.left=i+"px",c.ondrag(f.round(100*f.max(0,i/b)),i);var r=k+c.bar.offsetWidth;if(e>=r&&(i<b||e-w<b))p.call(this);else{var a=s.getClientRect(c.btn).left;i!=b&&e-a-y!=b||o()}}function p(){var e=parseInt(c.btn.style.left);e<b&&(s.addClass(c.btn,"button_move"),s.addClass(t.id(d+"_bg"),"bg_move"),c.btn.style.left="0px",c.ondrag(0,0),setTimeout((function(){s.removeClass(c.btn,"button_move"),s.removeClass(t.id(d+"_bg"),"bg_move")}),500)),t.removeEvt(this,"touchmove",g),t.removeEvt(l,"touchmove",g),t.removeEvt(l,"mousemove",a),t.removeEvt(l,"mouseup",p)}function m(t){p.call(this,t.touches[0])}function g(t){t.preventDefault(),a.call(this,t.touches[0])}var v=!1,_=(i||h.event).clientX,y=c.btn.offsetWidth,b=c.bar.offsetWidth-y,w=c.btn.offsetLeft,k=s.getClientRect(c.bar).left;t.addHandler(l,"mousemove",a),t.addHandler(l,"mouseup",p),t.addHandler(l,"touchmove",g),t.addHandler(l,"touchend",m)}function r(t){t.preventDefault(),i.call(this,t.touches[0])}var c=this,l=a,h=o,f=Math;c.btn.onmousedown=i,c.txt.onmousedown=i,t.addHandler(c.btn,"touchstart",r),t.addHandler(c.txt,"touchstart",r),c.bar.onselectstart=function(){return!1}},ondrag:function(t,e){this.step.style.width=Math.max(0,e)+"px"},text:function(){}},r}var o=window,a=document,s=n(1),c=n(7).language,l=n(22).default_opt,u=n(9).names;e.makeScale=r},function(t,e,n){function i(t,e,n){function i(){s||(s=a()),s()}function a(){function n(){var t=r.createElement("div");return t.innerHTML=a,t.firstChild}function i(){function n(){var e=0,n=260,i=setInterval((function(){e+=5,e>n?(h.innerHTML=o[t.language]._Loading,e>n+100&&(h.innerHTML=o[t.language]._yesTEXT,clearInterval(i),setTimeout((function(){f.click()}),2e3))):(p.style.left=c+20+e+"px",d.style.left=e+"px",h.style.width=e+"px")}),16)}h.innerHTML="",s.style.display="block";var i=e.id(t.renderTo),a=i.getBoundingClientRect(),c=a.left,l=a.top+20+r.body.scrollTop;u.style.left=c+"px",u.style.top=l+"px",d.style.left=c-10+"px",p.style.left=c+20+"px",p.style.top=l+20+"px",f.style.left=c+200+"px",f.style.top=l+90+"px",n()}var a='<div id="'+c+'_help" class="nc_help"><div class="mask"></div><div id="'+c+'_slide_box" class="nc_scale"><div id="'+c+'_slide_button"></div><div id="'+c+'_slide_text" class="scale_text"></div><div id="'+c+'_slide_bg"></div></div><div id="'+c+'_btn_close"></div><div id="'+c+'_hand"></div>',s=n(a);r.body.appendChild(s),s.style.display="none",s.style.width=r.body.scrollWidth+"px",s.style.height=r.body.scrollHeight+"px";var l=e.id(c+"_slide_text");l.innerHTML=o[t.language]._startTEXT;var u=e.id(c+"_slide_box"),d=e.id(c+"_slide_button"),h=e.id(c+"_slide_bg"),f=e.id(c+"_btn_close"),p=e.id(c+"_hand");return f.innerHTML=o[t.language]._closeHelp,f.onclick=function(){s.style.display="none"},i}var s,c=n.prefix;return i}var r=document,o=n(7).language;e.makeShowHelp=i},function(t,e,n){function i(t){function e(t){return r.getElementById(t)}function i(t){if(!t)return 0;for(var e=t.offsetTop,n=t.offsetParent;n;)e+=n.offsetTop,n=n.offsetParent;return e}function o(t,e){var n,i,r,o=t.getElementsByTagName("div");for(n=0;n<o.length;n++)if(i=o[n],r=i.className,r&&r.indexOf(e)>-1)return i;return null}function a(t){var n=e(p+"_scale_text"),i=o(t,"captcha-error");
210i||(i=r.createElement("div"),i.className="captcha-error login-msg error",t.appendChild(i)),i.innerHTML=["<i class='nc_iconfont icon_ban'></i>","<p class='error'>",n.innerHTML,"</p>"].join("")}function s(t,e){var n=t.className;n.match(new RegExp("(^|\\s)"+e+"(\\s|$)"))||(t.className=(t.className+" "+e).replace(/^\s+|\s+$/g,""))}function c(){var t=0,n=e("J_Message");return n&&(t=n.offsetHeight),t}function l(){c()>0&&f&&s(f,"nc-tm-min-fix")}function u(t){if(f){var n;g&&(n=e(p+"_btn_1"))&&(n.style.position="absolute",n.style.top="77px",n.style.right="0");var r,o=f.className||"",a="tb-login";if(-1==o.indexOf(a)&&(f.className=(o+" "+a).replace(/^\s+|\s+$/g,"")),f.className.match(/\bnc-old-login\b/)&&(h=!0),r=e("J_LoginBox")||e("J_Login")||m.getElementsByClassName("nc-outer-box")[0]){var s=h?0:2,d=i(f),v=u;if(d<=0){if(v._count>100)return;return v._count=(v._count||0)+1,void setTimeout(v,100)}var _,y,b,w,k=i(r)-d,x=r.getBoundingClientRect();"number"==typeof t?(_=t,y=1):_=x.height?x.height:x.bottom-x.top,w=e(p+"imgCaptcha"),w&&(w.style.top=k+s+"px",b=_-s-66,y&&(b-=13),y||0!==c()||(w.style.minHeight="290px",b-=10),w.style.height=b+"px",y&&(w.style.minHeight=0)),w=e(p+"clickCaptcha"),w&&(w.style.top=k+s+"px",h?(l(),b=_+30,b<255&&(b=255),w.style.height=b+"px"):(l(),b=_-s-30,y&&(b-=8),w.style.height=b+"px"),y&&(w.style.minHeight=0))}}}function d(t,e,n){t,f=e,u(n)}var h,f,p=t.prefix,m=n(1),g=m.isIEX(6);return{init:d,adjustPosition:u,getInform:a}}var r=document;e.makeTBLogin=i},function(t,e,n){function i(t){var e=t.prefix,n='\n<div id="'+e+'wrapper" class="nc_wrapper">\n<div id="'+e+'n1t" class="nc_scale">\n<div id="'+e+'_bg" class="nc_bg"></div>\n<span id="'+e+'n1z" class="nc_iconfont btn_slide"></span>\n<div id="'+e+'_scale_text" class="scale_text"></div>\n<div id="'+e+'clickCaptcha" class="clickCaptcha">\n<div class="clickCaptcha_text">\n<b id="'+e+'_captcha_text" class="nc_captch_text"></b>\n<i id="'+e+'_btn_2" class="nc_iconfont nc_btn_2 btn_refresh"></i>\n</div>\n<div class="clickCaptcha_img"></div>\n<div class="clickCaptcha_btn"></div>\n</div>\n<div id="'+e+'imgCaptcha" class="imgCaptcha">\n<div class="imgCaptcha_text"><input id="'+e+'captcha_input" maxlength="6" type="text" style="ime-mode:disabled"></div>\n<div class="imgCaptcha_img" id="'+e+'_imgCaptcha_img"></div>\n<i id="'+e+'_btn_1" class="nc_iconfont nc_btn_1 btn_refresh"\n onclick="document.getElementById(\''+e+'_imgCaptcha_img\').children[0].click()"></i>\n<div class="imgCaptcha_btn">\n<div id="'+e+'_captcha_img_text" class="nc_captcha_img_text"></div>\n<div id="'+e+'scale_submit" class="nc_scale_submit"></div>\n</div>\n</div>\n<div id="'+e+'cc" class="nc-cc"></div>\n<i id="'+e+'_voicebtn" tabindex="0" role="button" class="nc_voicebtn nc_iconfont" style="display:none" ></i>\n<b id="'+e+'_helpbtn" class="nc_helpbtn"></b>\n</div>\n<div id="'+e+'_voice" class="nc_voice"></div>\n</div>\n';return n}e.makeTemplate=i},function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,_defineProperty2.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(13),a=n(17),s=n(5),c=n(125).default_opt,l=n(3),u=n(2),d=[{name:"init",from:"initially",to:"loading"},{name:"load",from:"loading",to:"ready"},{name:"loaderror",from:["loading","ready"],to:"load_error"},{name:"continueloading",from:"load_error",to:"loading"},{name:"verify",from:["ready","fail"],to:"verifying"},{name:"timeout",from:"ready",to:"actiontimeout"},{name:"verifyfail",from:["ready","verifying"],to:"fail"},{name:"verifyerror",from:"verifying",to:"error"},{name:"verifytwostep",from:"verifying",to:"need_two_step_verify"},{name:"verifypass",from:"verifying",to:"pass"},{name:"reset",from:["*"],to:"reseting"},{name:"resetdone",from:"reseting",to:"loading"},{name:"destroy",from:["*"],to:"destroyed"},{name:"showtwostep",from:"need_two_step_verify",to:"ts_loading"},{name:"ts_load",from:"ts_loading",to:"ts_ready"},{name:"ts_verify",from:["ts_ready","ts_fail"],to:"ts_verifying"},{name:"ts_verifyfail",from:"ts_verifying",to:"ts_fail"},{name:"ts_verifyerror",from:"ts_verifying",to:"ts_error"},{name:"ts_verifyerror2",from:"ts_error",to:"error"},{name:"ts_verifypass",from:"ts_verifying",to:"ts_pass"},{name:"ts_passed",from:"ts_pass",to:"pass"}],h=function(){function t(e,n,r){i(this,t);var o=c.language;e.foreign&&(o="en",c.language=o),this.options=s.mix({},o,r,e),this.inn_vars=n,n.index++,this.index=n.index,this.jsv=n.v,this.el=document.getElementById(e.renderTo.replace(/^#/,"")),this.el||a.fail("'renderTo'("+e.renderTo+") does not match any node."),this.makeFSM(),this.initStates(),this.event_listeners={},this._custom_state={},this.fsm.init()}return r(t,[{key:"makeFSM",value:function(){var t=this;this.fsm=o.create({initial:"initially",events:d}),this.fsm.onenterstate=function(e,n,i){if("loading"!==i){var r=t._custom_state[i];Array.isArray(r)&&u.all(s.map(r,(function(t){return t()})))}}}},{key:"initStates",value:function(){var t=this;
210s.map(d,(function(e){n(135)("./"+e.to).init(t)}))}},{key:"on",value:function(t,e){(this.event_listeners[t]=this.event_listeners[t]||[]).push(e)}},{key:"reg",value:function(t,e){this._custom_state[t]=this._custom_state[t]||[],this._custom_state[t].push(e)}},{key:"fire",value:function(t){for(var e=this.event_listeners[t]=this.event_listeners[t]||[],n=0;n<e.length&&!1!==e[n].call();n++);}},{key:"reload",value:function(){this.fsm.reset()}},{key:"reset",value:function(){this.fsm.reset()}},{key:"show",value:function(){this.el.style.display="block"}},{key:"hide",value:function(){this.el.style.display="none"}},{key:"destroy",value:function(){this.is_destroyed||(this.fsm.destroy(),this.is_destroyed=!0)}},{key:"_log",value:function(t,e,n){var i=this.options,r=i.token||UA_Opt.Token||("undefined"!=typeof umx&&umx.getToken?umx.getToken():"");l.log({a:i.appkey,t:r,scene:i.scene,ns:"",jsv:this.jsv,usa:navigator.userAgent,p:n,jsType:"pc",os:s.getOS(),em:e,ec:t})}}]),t}();e.NC2=h},function(t,e,n){t.exports=n(21).BaseFun},function(module,exports,__webpack_require__){function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var _slicedToArray=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=(0,_getIterator3.default)(t);!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(c){r=!0,o=c}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,_isIterable3.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_createClass=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,_defineProperty2.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),html=__webpack_require__(124).html,kvTpl=__webpack_require__(19),BaseFn=__webpack_require__(121),util=__webpack_require__(5),cfg=__webpack_require__(23),URL_MAP=__webpack_require__(68).URL_MAP,language=__webpack_require__(24).language,replaceLang=__webpack_require__(24).replaceLang,upResetIndex=__webpack_require__(24).upResetIndex,Promise=__webpack_require__(2),Report=__webpack_require__(3),doc=document,getElementById=function(t){return doc.getElementById(t)},styleEl=function(t,e,n){return t.style[e]=n},ERR_CODE_API_FAIL="SCRAPE_API_FAIL",FAIL_PREPARE="fail_prepare",FAIL_ANALYZE="fail_analyze",win=window;__webpack_require__(26),__webpack_require__(133);var obj_w=-1,obj_h=-1,Scrape=function(){function Scrape(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,Scrape),this.nc=t,this.prefix=t.prefix||"nc_"+t.index+"_",this.root=t.el;var n={};if(e.foreign&&(n.language=n.language||"en"),this.options=util.mix({},cfg.default_options,n,t.options||{},e),this._last_x=-1,this._last_y=-1,this.stroke_size=e.stroke_size||cfg.default_stroke_width,this.svr_data={},this._t_action=null,this.is_downgraded=!1,this._lang=language[this.options.language]||language.cn,this.options.upLang)for(var i in this.options.upLang)this._lang=replaceLang(i,this.options.upLang[i]);this.scrapeStart=!1,this.showingHow=!1,this.mousedown=!1,this.baseFn=new BaseFn(this.options,util.obj2param),this.reg();var r=URL_MAP[this.options.foreign]||URL_MAP[0];this.ajaxURL=util.mix(r,this.options.apimap);var o=this;window.report=function(t){o.report.call(o,t)}}return _createClass(Scrape,[{key:"reg",value:function(){var t=this,e=this.nc;e.reg("_on_loading",(function(){return t.loading_render()})),e.reg("loading",(function(){return t.loading_initGetSize()})),e.reg("verifying",(function(){return t.verifyMethod()})),e.reg("load_error",(function(){return t.on_load_error()})),e.reg("pass",(function(){return t.on_pass()})),e.reg("fail",(function(){return t.on_fail()})),e.reg("reseting",(function(){return t.on_reseting()})),e.reg("actiontimeout",(function(){return t.on_actiontimeout()})),e.on_leave_loading=function(){return t.on_leave_loading()}}},{key:"report",value:function(t){var e=this;Report.log({a:e.options.appkey,t:e.options.token,ns:UA_VERSION,jsv:e.nc.inn_vars.v,scene:e.options.scene,jsType:e.nc.inn_vars.js_type,usa:navigator.userAgent,os:util.getOS(),p:t||""},e.ajaxURL.api_report)}}
210,{key:"loading_initGetSize",value:function(){var t=this,e=this.options.objects;return Promise.all(util.map(e,(function(t){return new Promise((function(e,n){util.getImgSize(t,(function(t,i){t?n([0,0]):e(i)}))}))}))).then((function(e){var n=0,i=0;util.map(e,(function(t){n=Math.max(n,t[0]),i=Math.max(i,t[1])})),t.obj_w=n,t.obj_h=i}))["catch"]((function(e){t.nc.fsm.loaderror()}))}},{key:"on_leave_loading",value:function(){this.hideEl("loading")}},{key:"on_reseting",value:function(){var t=this;return Promise.resolve().then((function(){return window.__sc__uab.resetSA&&window.__sc__uab.resetSA(),t.loading_render()}))}},{key:"getParamOl",value:function(){var t=this.el_nc_canvas,e=util.getElementLeft(t),n=util.getElementTop(t);return{x:e,y:n}}},{key:"loading_sendInitReq",value:function(){var t=this;return new Promise((function(e,n){var i=t.options,r=t.getParamOl(),o=window.__sc__uab.getUA&&window.__sc__uab.getUA(window.__sc_uaboption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",a=o.length>3?o.slice(0,3):"";t.baseFn.jsonp({url:t.ajaxURL.api_prepare,data:{a:i.appkey,t:i.token,scene:i.scene,jsType:t.nc.inn_vars.js_type,ol:'{"x":'+r.x+',"y":'+r.y+"}",os:util.getOS(),w:t.size.width,h:t.size.height,ow:t.obj_w,oh:t.obj_h,v:t.nc.inn_vars.v,uav:a},callback:"callback",success:function(i){if(i.success)if(i.result&&i.result.result){try{t._prepare_result=i.result.result,t.parsePrepareData(t._prepare_result)}catch(r){return void n("prepare data parse fail!")}t.putObjects();var o=t.getEl("inform");o.style.display="block",o.innerHTML=t._lang._ggk_start,t.showHow(),t.scrapeStart=!1,util.addClass(t.root,"nc-prepared"),util.removeClass(t.root,"nc-state-load-error");var a=(t.nc.index>0&&t.nc.index,t.getEl("container"));if(a&&t.options.bg_back_prepared){var s=util.getElementsByClassName("nc-bg",a)[0];s&&(s.style.background="url("+t.options.bg_back_prepared+")")}e()}else n("bad data");else n("data fail")},fail:function(){n("net fail")}})}))["catch"]((function(e){t.nc._err=FAIL_PREPARE,t.nc.fsm.loaderror()}))}},{key:"parsePrepareData",value:function parsePrepareData(result){try{result=UA_Opt.decryptJSON(result)}catch(e){throw e}if(!result.success)throw new Error("decrypt fail2!");result=result.data;var data=result.replace(/"/g,'"');eval("data = "+data),this.stroke_size=data.brushWidth,this.svr_data=data,this.session_id=data.sessionId}},{key:"getEl",value:function(t){return getElementById(this.prefix+t)}},{key:"putObjects",value:function(){var t=this,e=this.svr_data,n=e.objectPoints,i=n.points;if(this._points=i,!i||!Array.isArray(i)||i.length!==n.objectPointsCount)throw new Error("Bad data: objectPoints.length is not equal to objectCounts!");var r=this.getEl("bg");r.innerHTML=util.map(i,(function(e,n){var i=e.x,r=e.y,o=i-t.obj_w/2,a=r-t.obj_h/2,s=t.options.elements,c=s[n%s.length];return'<img src="'+c+'" class="nc-scrape-icon" style="left:'+o+"px;top:"+a+'px;">'})).join("\n")}},{key:"getSize",value:function(){var t={width:this.options.width,height:this.options.height},e=this.options.hasOwnProperty("width"),n=this.options.hasOwnProperty("height"),i=this.getEl("nc-canvas");return this.el_nc_canvas=i,e||(t.width=i.offsetWidth),t.width<cfg.min_width&&(t.width=cfg.min_width),styleEl(i,"width",t.width+"px"),n||(t.height=i.offsetHeight),t.height<cfg.min_height&&(t.height=cfg.min_height),styleEl(i,"height",t.height+"px"),t}},{key:"render_bg",value:function(){this.el_bg=this.getEl("bg"),styleEl(this.el_bg,"width",this.size.width+"px"),styleEl(this.el_bg,"height",this.size.height+"px")}},{key:"mkGridId",value:function(t,e){return[this.prefix,"grid",t,e].join("-")}},{key:"render_surface_dg",value:function(){var t=this,e=this.getEl("canvas-dg"),n=this.size.width,i=this.size.height;e.style.width=n+"px",e.style.height=i+"px",e.style.display="block";for(var r=cfg.grid_size,o=Math.ceil(n/r),a=Math.ceil(i/r),s=[],c=this.options.bg_back,l=0;l<a;l++)for(var u=0;u<o;u++){var d=r*l,h=r*u,f={width:r+"px",height:r+"px",top:d+"px",left:h+"px","background-image":"url("+c+")","background-position":"-"+h+"px -"+d+"px"},p=this.mkGridId(u,l),m='<div id="'+p+'" class="nc-canvas-dg-grid" style="'+util.obj2style(f)+'"></div>';s.push(m)}e.innerHTML=s.join("");var g=this.getEl("inform");util.on(g,"touchstart",(function(e){return t.eventDown(e)})),util.on(g,"mousedown",(function(e){return t.eventDown(e)})),util.on(e,"touchstart",(function(e){return t.eventDown(e)})),util.on(document,"touchend",(function(e){return t.eventUp(e)})),util.on(e,"touchmove",(function(e){return t.eventMove(e)})),util.on(e,"mousedown",(function(e){return t.eventDown(e)})),util.on(document,"mouseup",(function(e){return t.eventUp(e)})),util.on(e,"mousemove",(function(e){return t.eventMove(e)}))}},{key:"render_surface",value:function(){var t=this;this.hideEl("canvas-dg");var e=this.el_canvas,n=this.ctx,i=this.size;e.width=i.width,e.height=i.height;var r=this.getEl("cover");r.style.width=i.width+"px",r.style.height=i.height+"px";var o=this.getEl("inform");n.fillStyle="#ffffff",n.fillRect(0,0,i.width,i.height);for(var a=this.nc.index>0?this.nc.index:1,s=0;s<util.getElementsByClassName("nc_bg").length;s++){var c=util.getElementsByClassName("nc_bg")[s];c&&this.options.bg_back&&s===a-1&&(c.style.background="url("+this.options.bg_back+")")}var l=new Image;l.src=this.options.bg_front,l.onload=function(){n.globalCompositeOperation="source-over";
210for(var t=l.naturalWidth?[l.naturalWidth,l.naturalHeight]:[l.width,l.height],e=_slicedToArray(t,2),r=e[0],o=e[1],a=Math.ceil(i.width/r),s=Math.ceil(i.height/o),c=0;c<s;c++)for(var u=0;u<a;u++)n.drawImage(l,u*r,c*o);n.globalCompositeOperation="destination-out"},l.onerror=function(){n.globalCompositeOperation="destination-out"},util.on(o,"touchstart",(function(e){return t.eventDown(e)})),util.on(o,"mousedown",(function(e){return t.eventDown(e)})),util.on(e,"touchstart",(function(e){return t.eventDown(e)})),util.on(document,"touchend",(function(e){return t.eventUp(e)})),util.on(e,"touchmove",(function(e){return t.eventMove(e)})),util.on(e,"mousedown",(function(e){return t.eventDown(e)})),util.on(document,"mouseup",(function(e){return t.eventUp(e)})),util.on(e,"mousemove",(function(e){return t.eventMove(e)}))}},{key:"getPos",value:function(t){var e=(doc.documentElement.scrollLeft||doc.body.scrollLeft,doc.documentElement.scrollTop||doc.body.scrollTop,this.options.renderTo),n=getElementById(0===e.indexOf("#")?e.slice(1):e);"absolute"==n.style.position&&(n.offsetLeft,n.offsetTop);var i=this.getEl("nc-canvas"),r=t.clientX-i.getBoundingClientRect().left,o=t.clientY-i.getBoundingClientRect().top;return[r,o]}},{key:"_clearTo_dg",value:function(t,e){var n=Math.floor(t/cfg.grid_size),i=Math.floor(e/cfg.grid_size),r=this.mkGridId(n,i),o=document.getElementById(r);util.addClass(o,"nc-clean");var a=this._grid_x_count*i+n;this.matrix[a]=0}},{key:"_clearTo",value:function(t,e){if(this.is_downgraded)return this._clearTo_dg(t,e);var n=this.ctx;n.fillStyle="#fff",n.beginPath(),n.arc(t,e,this.stroke_size/2,0,2*Math.PI),n.fill(),this._last_x>=0&&this._last_y>=0&&(n.beginPath(),n.lineWidth=this.stroke_size,n.moveTo(this._last_x,this._last_y),n.lineTo(t,e),n.stroke()),this._last_x=t,this._last_y=e}},{key:"_calcRegion",value:function(t,e,n,i){for(var r=this.ctx.getImageData(t,e,n,i).data,o=0,a=0;a<r.length;a+=4)r[a]&&r[a+1]&&r[a+2]&&r[a+3]&&o++;return 1-o/n/i}},{key:"_calcRegion_dg",value:function(t,e,n,i){for(var r=cfg.grid_size,o=Math.floor(t/r),a=Math.floor(e/r),s=Math.floor(n/r),c=Math.floor(i/r),l=0,u=a;u<a+c;u++)for(var d=o;d<o+s;d++){var h=this._grid_x_count*u+d;l+=this.matrix[h]}return 1-l/s/c}},{key:"calc_dg",value:function(){var t=this,e=void 0,n=void 0,i=this.matrix.reduce((function(t,e){return t+e}),0);e=1-i/this._grid_sum;var r=this.is_downgraded?.7:.9,o=this.obj_w/2*r,a=this.obj_h/2*r;return n=util.map(this._points,(function(e){var n=e.x,i=e.y;return t._calcRegion_dg(n-o,i-a,t.obj_w,t.obj_h)})),{r_all:e,r_objects:n}}},{key:"calc",value:function(){var t=this;if(this.is_downgraded)return this.calc_dg();var e=this.size,n=e.width,i=e.height,r=this._calcRegion(0,0,n,i),o=this.obj_w/2,a=this.obj_h/2,s=util.map(this._points,(function(e){var n=e.x,i=e.y;return t._calcRegion(n-o,i-a,t.obj_w,t.obj_h)}));return{r_all:r,r_objects:s}}},{key:"checkEnd",value:function(t,e){var n=0===e.filter((function(t){return t<.5})).length;if((t>.9||n)&&window.__sc__uab.isReadyForSC(window.__sc_uaboption.mIDs))this.verify();else if(t>.9&&n){win._n_bak=win._n;var i=[win._n_bak,this.baseFn.obj2str(this._prepare_result)];this.nc._err="3A",this._fail_msg=this._updateSurveyUrl(this._lang._ggk_too_fast,i),this.verify_fail()}}},{key:"verify",value:function(){var t=this.nc.fsm;t.can("verify")&&this.nc.fsm.verify()}},{key:"verifyMethod",value:function verifyMethod(){var _this10=this,options=this.options;return clearTimeout(this._t_action),new Promise((function(resolve,reject){var trans=options.trans||{};"string"==typeof trans&&(trans=eval("0,"+trans));for(var arr=options.elementID||[],i=0;i<arr.length;i++){var id=arr[i],el=doc.getElementById(id);el&&(trans[id]=el.value)}win._n_bak=win._n,_this10.baseFn.jsonp({url:_this10.ajaxURL.api_analyze,callback:"callback",data:{a:options.appkey,t:options.token,s:_this10.session_id,n:window.__sc__uab.getUA&&window.__sc__uab.getUA(window.__sc_uaboption)||win._n||(UA_Opt.LogVal?win[UA_Opt.LogVal]:"")||"",p:_this10.baseFn.obj2str(trans),scene:options.scene,jsType:_this10.nc.inn_vars.js_type,lang:options.language,v:_this10.nc.inn_vars.v},success:function(t){if(t.success&&t.result&&t.result.success){var e=t.result.result;if(0===e.code)return _this10.verify_ok(e),void resolve();_this10.nc._err=_this10.nc._err||"4A"}reject(t.msg)},fail:function(t){_this10.nc._err=_this10.nc._err||FAIL_ANALYZE;var e=_this10._lang._ggk_net_err;e=_this10._updateSurveyUrl(e),_this10._fail_msg=e,reject("net fail!")}
210})})).then((function(){UA_Opt.reload(),window.__sc__uab.resetSA()}))["catch"]((function(t){UA_Opt.reload(),window.__sc__uab.resetSA(),_this10.nc._err=_this10.nc._err||"4A",_this10.verify_fail()}))}},{key:"verify_ok",value:function(t){this.verify_result=t,this.nc.fsm.verifypass()}},{key:"verify_fail",value:function(t){this.nc.fsm.verifyfail()}},{key:"_upResetIndex",value:function(t){return upResetIndex(t,this.nc.index)}},{key:"_mkErrInfo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.options,r=t,o=[i.appkey,i.token,i.scene],a="";switch(t){case FAIL_PREPARE:!n&&this.nc._log(FAIL_PREPARE,"prepare timeout","{code: 401}"),r="2A",a="401";break;case FAIL_ANALYZE:!n&&this.nc._log(FAIL_ANALYZE,"analyze timeout","{code: 404}"),r="2D",a="404";break;case"TIMEOUT_uab":!n&&this.nc._log("TIMEOUT_uab","uab.js timeout","{code: 403}"),r="2C",a="403";break;case"TIMEOUT_um":!n&&this.nc._log("TIMEOUT_um","um.js timeout","{code: 402}"),r="2B",a="402"}switch(r){case"3A":o=o.concat(e),!n&&this.nc._log("ERR_SLIDE_TOO_FAST","too few mp","{code: 201, str:"+o+"}"),a="201";break;case"4A":e=[this.session_id,win._n_bak],o=o.concat(e),!n&&this.nc._log(ERR_CODE_API_FAIL+"_analyze","blocked","{code: 101, str:"+o+"}"),a="101";break;case"5A":e=[this.session_id,win._n_bak],o=o.concat(e),!n&&this.nc._log(ERR_CODE_API_FAIL+"_analyze","blocked","{code: 301, str:"+o+"}"),a="301"}return i.failCallback&&i.failCallback("{code: "+a+", str:"+o+"}"),{type:r,str:o.map((function(t){return encodeURIComponent(t)})).join(":-o")}}},{key:"_updateSurveyUrl",value:function(t,e,n){t=t.replace(/%TOKEN\b/,this.options.token);var i=this._mkErrInfo(this.nc._err,e,n);return t=t.replace(/%TYPE\b/,i.type),t=t.replace(/%STR\b/,i.str),this._upResetIndex(t)}},{key:"on_load_error",value:function(t){var e=this;return new Promise((function(t,n){util.addClass(e.root,"nc-state-load-error"),util.removeClass(e.root,"nc-prepared");var i=function n(){var i=e.getEl("load-error"),r=void 0,o=e.getEl("cover");if(e.size&&o){e.showEl("load-error"),r=e.size?e.size.height:o.offsetHeight,i.style.marginTop=(r-80)/2+"px";var a=e._lang._ggk_net_err;a=e._updateSurveyUrl(a),e.getEl("load-error-msg").innerHTML=a,e.tryToUpdateErrIcon(),t()}else setTimeout(n,10)};i()}))}},{key:"on_pass",value:function(){var t=this;return clearTimeout(this._t_action),Promise.resolve().then((function(){if(t.options.is_tbLogin){t.hideEl("canvas-dg");var e=t.getEl("nc-canvas");e.innerHTML='<div class="nc-tblogin-verify-success"><span><i class="ncpc_iconfont icon_ok"></i>éªè¯å®æ</span></div>',e.style.width="300px",e.style.height="31px",e.style.backgroundColor="#D8FADF";var n=t.options.callback;"function"==typeof n&&n(t.verify_result)}else{t.hideEl("canvas-dg");var i=t.getEl("ok");i.style.marginTop=(t.size.height-80)/2+"px",t.getEl("ok-msg").innerHTML=t._lang._ggk_success;var r=t.options.callback;"function"==typeof r&&r(t.verify_result)}}))}},{key:"getErrIcon",value:function(t){return this.options.obj_error}},{key:"tryToUpdateErrIcon",value:function(){var t=this.getEl("fail-icon"),e=this.getEl("load-error-icon");if(e.src=t.src=this.options.obj_fail,this.nc._err){var n=this.getErrIcon(this.nc._err);n&&(e.src=t.src=n)}this.nc._err=""}},{key:"on_fail",value:function(){var t=this;return clearTimeout(this._t_action),Promise.resolve().then((function(){t.is_downgraded&&t.hideEl("canvas-dg");var e=t.getEl("fail");e.style.marginTop=(t.size.height-80)/2+"px";var n=t._fail_msg||t._lang._ggk_fail;n=t._updateSurveyUrl(n,"",!0),t.getEl("fail-msg").innerHTML=n,t._fail_msg="",t.tryToUpdateErrIcon();var i=t.options.error;"function"==typeof i&&i()}))}},{key:"actionTimeout",value:function(){this.nc.fsm.timeout()}},{key:"on_actiontimeout",value:function(){var t=this;return Promise.resolve().then((function(){var e=t.getEl("fail");e.style.marginTop=(t.size.height-80)/2+"px",t.hideEl("canvas-dg"),t.nc._err="5A";var n=t._lang._ggk_action_timeout;n=t._updateSurveyUrl(n),t.getEl("fail-msg").innerHTML=n;var i=t.options.error;"function"==typeof i&&i()}))}},{key:"eventDown",value:function(t){try{t.preventDefault()}catch(o){}if("ready"==this.nc.fsm.current){this.scrapeStart||(this._last_x=-1,this._last_y=-1,this.render_surface()),this.showingHow=!1,this.scrapeStart=!0,this.mousedown=!0,this.getEl("inform").style.display="none",this.offsetX=this.el_nc_canvas.offsetLeft,this.offsetY=this.el_nc_canvas.offsetTop;var e=this.getPos(t),n=_slicedToArray(e,2),i=n[0],r=n[1];this._clearTo(i,r),this._old_onselectstart=doc.body.onselectstart,this._old_ondrag=doc.body.ondrag,this.is_downgraded&&(doc.body.onselectstart=doc.body.ondrag=function(){return!1})}}},{key:"eventMove",value:function(t){var e=this;try{t.preventDefault()}catch(l){}if(this.mousedown){clearTimeout(this._t_action),"ready"===this.nc.fsm.current&&(this._t_action=setTimeout((function(){e.actionTimeout()}),cfg.action_timeout)),t.changedTouches&&(t=t.changedTouches[t.changedTouches.length-1]);var n=this.getPos(t),i=_slicedToArray(n,2),r=i[0],o=i[1];this._clearTo(r,o);var a=this.calc(),s=a.r_all,c=a.r_objects;this.checkEnd(s,c)}}},{key:"eventUp",value:function(){this.mousedown=!1,this._last_x=-1,this._last_y=-1,this.is_downgraded&&(doc.body.onselectstart=this._old_onselectstart,doc.body.ondrag=this._old_ondrag),this._old_onselectstart=null,this._old_ondrag=null}},{key:"mkMatrix",value:function(){var t=this.size,e=t.width,n=t.height,i=cfg.grid_size,r=Math.ceil(e/i),o=Math.ceil(n/i),a=r*o;this._grid_x_count=r,this.matrix=util.fill(new Array(a),1),this._grid_sum=a}},{key:"downgrade",value:function(){this.is_downgraded=!0,this.mkMatrix()}},{key:"bindEvents",value:function(){var t=this,e=this.getEl("btn-refresh"),n=this.getEl("btn-info");util.on(e,"touchend",(function(e){try{e.preventDefault()}catch(e){}t.nc.reset()})),util.on(e,"mouseup",(function(e){if(t.scrapeStart){try{e.preventDefault()}catch(e){}t.nc.reset()}})),util.on(n,"touchend",(function(e){try{e.preventDefault()}catch(e){}t.showHow()})),util.on(n,"mouseup",(function(e){try{e.preventDefault()}catch(e){}t.showHow()}))}},{key:"showHow",value:function(){if(!this.showingHow&&!this.scrapeStart){var t=this.getEl("show-how"),e=[[20,6],[19,7],[18,10],[17,13],[15,15],[13,18],[11,24],[8,27],[6,32],[5,36],[3,41],[2,44],[1,47],[1,49],[0,55],[0,58],[0,64],[0,67],[0,68],[0,68],[1,68],[3,68],[5,68],[6,68],[8,67],[10,65],[12,63],[14,61],[16,59],[18,56],[22,53],[26,48],[31,43],[36,37],[41,31],[45,27],[49,24],[58,17],[61,14],[64,12],[67,9],[69,8],[70,7],[72,6],[73,6],[72,7],[71,9],[70,11],[67,15],[66,20],[63,26],[62,30],[61,35],[60,40],[59,43],[58,45],[58,49],[57,51],[57,52],[57,54],[57,55],[57,56],[57,57],[58,57],[62,57],[65,55],[78,47],[84,43],[89,38],[96,33],[101,28],[105,25],[108,22],[112,19],[115,17],[118,15],[120,13],[122,12],[125,10],[128,9],[129,8],[131,7],[132,7],[133,7],[133,10],[133,15],[132,24],[131,29],[129,35],[128,39],[128,42],[127,45],[127,48],[127,49],[127,51],[127,52],[127,52],[128,52],[131,50],[135,46],[141,42],[149,37],[156,32],[162,26],[167,22],[172,19],[175,16],[177,14],[180,12],[183,11],[185,9],[189,8],[191,6],[193,4],[199,1],[201,0],[203,0],[204,0],[204,2],[204,5],[204,11],[204,15],[201,21],[200,26],[200,32],[199,36],[199,40],[199,44],[199,46],[199,47],[199,48],[200,48],[201,48],[204,47],[206,46],[209,44],[211,43],[215,39],[218,36],[222,33],[226,30],[228,28],[231,24],[234,21],[237,19],[239,17],[241,16],[242,15],[243,14],[244,12],[245,11],[246,10],[247,9]],n=2,i=0,r=0,o=e.length;t.style.display="block",t.style.left="0px";var a=this,s=function s(){return a.scrapeStart?void(t.style.display="none"):(a.showingHow=!0,void(i<o?(t.style.left=e[i][0]+"px",t.style.top=e[i][1]+5+"px",0==i&&a.render_surface(),a._clearTo(e[i][0]+20,e[i][1]+5),i++,setTimeout(s,10)):(r++,r<n?(a._last_x=-1,a._last_y=-1,i=0,setTimeout(s,500)):(a._last_x=-1,a._last_y=-1,t.style.display="none",a.render_surface(),a.showingHow=!1))))};s()}}},{key:"showEl",value:function(t){var e=this.getEl(t);e&&(e.style.display="block")}},{key:"hideEl",value:function(t){var e=this.getEl(t);e&&(e.style.display="none")}},{key:"loading_render",value:function(){var t=this;return new Promise((function(e,n){try{var i=t.nc;if(t.root.innerHTML=kvTpl.render(html,{nc:i,prefix:t.prefix,inform:"",loading:t._lang._ggk_loading,obj_ok:t.options.obj_ok,obj_error:t.options.obj_error}),t.showEl("loading"),t.hideEl("load-error"),t.getEl("title").innerHTML=t._lang._ggk_guide,t.bindEvents(),t.size=t.getSize(),t.getEl("container").style.width=t.size.width+"px",t.render_bg(),t.el_canvas=t.getEl("canvas"),!t.el_canvas.getContext||!(t.ctx=t.el_canvas.getContext("2d")))return t.downgrade(),t.render_surface_dg(),void e();t.render_surface(),e()}catch(r){n(r)}}))}},{key:"render",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return 0},e=this.loading_sendInitReq();e.then(t)["catch"](t)}}]),Scrape}();module.exports=Scrape},function(t,e,n){var i=n(122);e.create=function(t,e){return new i(t,e)}},function(t,e,n){e.html='<div id="{{prefix}}container" class="nc-container nc-scrape"><div id="{{prefix}}for-tmp" class="nc-for-tmp"></div><div id="{{prefix}}toolbar" class="nc-toolbar"><span id="{{prefix}}title" class="nc-title">{{title}}</span> <span class="nc-btns"><i id="{{prefix}}btn-refresh" class="nc_iconfont icon_refresh"></i> <i id="{{prefix}}
210btn-info" class="nc_iconfont icon_info"></i></span></div><div id="{{prefix}}nc-canvas" class="nc-canvas"><div id="{{prefix}}bg" class="nc-bg"></div><div id="{{prefix}}cover" class="nc-cover"><canvas id="{{prefix}}canvas" class="nc-canvas-node"></canvas><div id="{{prefix}}canvas-dg" class="nc-canvas-dg" unselectable="on" style="-moz-user-select:none;-webkit-user-select:none" onselectstart="return false"></div><div id="{{prefix}}ok" class="nc-verify-ok"><img src="{{obj_ok}}" alt=""><div><i class="ncpc_iconfont icon_success"></i><span id="{{prefix}}ok-msg"></span></div></div><div id="{{prefix}}fail" class="nc-verify-fail"><img id="{{prefix}}fail-icon" src="{{obj_error}}" alt=""><div><i class="ncpc_iconfont icon_error"></i><span id="{{prefix}}fail-msg"></span></div></div><div id="{{prefix}}loading" class="nc-loading"><div id="nc-loading-circle" class="nc-loading-circle"><div class="sk-circle1 sk-circle"></div><div class="sk-circle2 sk-circle"></div><div class="sk-circle3 sk-circle"></div><div class="sk-circle4 sk-circle"></div><div class="sk-circle5 sk-circle"></div><div class="sk-circle6 sk-circle"></div><div class="sk-circle7 sk-circle"></div><div class="sk-circle8 sk-circle"></div><div class="sk-circle9 sk-circle"></div><div class="sk-circle10 sk-circle"></div><div class="sk-circle11 sk-circle"></div><div class="sk-circle12 sk-circle"></div></div><span>{{loading}}</span></div><div id="{{prefix}}inform" class="nc-inform">{{inform}}</div><div id="{{prefix}}load-error" class="nc-load-error"><img id="{{prefix}}load-error-icon" src="{{obj_error}}" alt=""><div><i class="ncpc_iconfont icon_error"></i><span id="{{prefix}}load-error-msg">Load Error!</span></div></div></div><div id="{{prefix}}show-how" class="nc-show-how"></div></div></div>'},function(t,e,n){t.exports=n(22)},function(t,e,n){t.exports=n(9)},function(t,e,n){function i(t,e,n){function i(t){o||(o=!0,t||r(),e(t))}var o=void 0,a=u[t.foreign]||u[0];a=l.mix(a,t.apimap),UA_Opt.LogVal="_n",d.init(t),UA_Opt.sendMethod=8,UA_Opt.Token=(new Date).getTime()+":"+t.token,l.loadScript(l.addHourStamp(a.uab_Url),(function(t){if(AWSC){var e=function(){if(window.__sc__uab){if(clearInterval(n),"timeout"===window.__sc__uab)return void i(h);i(t)}};AWSC.use("uab",(function(t,e){"loaded"===t?window.__sc__uab=e:"timeout"===t&&(window.__sc__uab="timeout")}));var n=setInterval(e,100);e()}else i(h)}),n,t.retryTimes),setTimeout((function(){i(h)}),n)}function r(){}function o(t,e,n){function i(t){r||(r=!0,t||a(),e(t))}var r=void 0;if("undefined"==typeof umx){var o=u[t.foreign]||u[0];o=l.mix(o,t.apimap),l.loadScript(o.umid_Url,(function(e){if(e!==h){var n=c.getElementById("_umfp"),r=(new Date).getTime();try{umx.init({timeout:t.timeout,timestamp:r,token:t.token,serviceUrl:o.umid_serUrl,appName:t.appkey,enableFlash:!1,containers:{flash:n,dcp:n},closeImage:!1}),i()}catch(a){i(a)}}else i(e)}),n,t.retryTimes),setTimeout((function(){i(h)}),n)}else i()}function a(){function t(){((n||umx.getStatus())&&s.__acjs||e++>100)&&clearInterval(i)}if(!f){f=!0;var e=0,n=void 0;setTimeout((function(){n=!0}),3e3);var i=setInterval(t,100);t()}}var s=window,c=document,l=n(5),u=n(68).URL_MAP,d=n(105),h=(n(3),"timeout"),f=void 0;
210e.load=function(t,e){var n=void 0,r=void 0,a=void 0,s=t.options,c=s.timeout||1e4;i(s,(function(i){n=1;var o=i==h;!a&&r&&(o&&(t._err="TIMEOUT_uab"),e(o),a=1)}),c),o(s,(function(i){r=1;var o=i==h;!a&&n&&(o&&(t._err="TIMEOUT_um"),e(o),a=1)}),c)}},function(t,e,n){n(129);var i=n(123);e.create=function(t){return i.create(t,{})},e.render=function(t,e){t.render(e)}},function(t,e,n){!function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(i){n.innerText=e}}(document,".nc-wrapper.nc-ggk{font-size:12px}")},,function(t,e,n){e=t.exports=n(8)(),e.push([t.i,'.nc-container.nc-scrape {\n font-size: 12px;\n line-height: 20px;\n}\n.nc-container.nc-scrape a {\n text-decoration: none;\n}\n.nc-container.nc-scrape .nc-toolbar {\n height: 30px;\n line-height: 30px;\n font-size: 14px;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns {\n float: right;\n height: 30px;\n overflow: hidden;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i {\n cursor: pointer;\n margin-right: 5px;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i.icon_refresh {\n color: #999;\n}\n.nc-container.nc-scrape .nc-toolbar .nc-btns i.icon_info {\n color: #e98e0c;\n}\n.nc-container.nc-scrape .nc-canvas {\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n.nc-container.nc-scrape .nc-canvas .nc-bg {\n position: absolute;\n background: #ccc url("https://img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png");\n}\n.nc-container.nc-scrape .nc-canvas .nc-bg img.nc-scrape-icon {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover {\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover canvas {\n position: absolute;\n background-color: transparent;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg-grid {\n position: absolute;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-canvas-dg-grid.nc-clean {\n background: transparent !important;\n}\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-inform,\n.nc-container.nc-scrape .nc-canvas .nc-cover .nc-loading {\n font-size: 14px;\n position: absolute;\n z-index: 1;\n top: 50%;\n width: 100%;\n line-height: 1.3em;\n text-align: center;\n margin-top: -0.65em;\n color: #3c3c3c;\n}\n.nc-container.nc-scrape .nc-canvas .nc-show-how {\n position: absolute;\n display: none;\n background: url("https://img.alicdn.com/tfs/TB153uISVXXXXc2XpXXXXXXXXXX-26-36.png") no-repeat;\n width: 68px;\n height: 53px;\n z-index: 10;\n top: 20px;\n margin-left: 20px;\n}\n.nc-container.nc-scrape .nc-canvas .nc-tblogin-verify-success {\n text-align: center;\n vertical-align: middle;\n line-height: 31px;\n}\n.nc-container.nc-scrape .nc-canvas .nc-tblogin-verify-success .icon_ok {\n margin-right: 10px;\n color: #78c430;\n position: relative;\n top: 1px;\n}\n.nc-container.nc-scrape .nc-verify-ok,\n.nc-container.nc-scrape .nc-verify-fail,\n.nc-container.nc-scrape .nc-load-error {\n display: none;\n margin: auto;\n height: 80px;\n width: 250px;\n text-align: center;\n font-size: 14px;\n color: #3c3c3c;\n line-height: 20px;\n}\n.nc-container.nc-scrape .nc-verify-ok img,\n.nc-container.nc-scrape .nc-verify-fail img,\n.nc-container.nc-scrape .nc-load-error img {\n display: block;\n vertical-align: middle;\n float: left;\n margin-right: 10px;\n}\n.nc-container.nc-scrape .nc-verify-ok>div,\n.nc-container.nc-scrape .nc-verify-fail>div,\n.nc-container.nc-scrape .nc-load-error>div {\n width: 180px;\n height: 80px;\n display: table;\n}\n.nc-container.nc-scrape .nc-verify-ok>div .icon_error,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_error,\n.nc-container.nc-scrape .nc-load-error>div .icon_error,\n.nc-container.nc-scrape .nc-verify-ok>div .icon_success,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_success,\n.nc-container.nc-scrape .nc-load-error>div .icon_success {\n position: relative;\n top: 18px;\n margin-right: 5px;\n color: #f40;\n}\n.nc-container.nc-scrape .nc-verify-ok>div .icon_success,\n.nc-container.nc-scrape .nc-verify-fail>div .icon_success,\n.nc-container.nc-scrape .nc-load-error>div .icon_success {\n color: #78c430;\n}\n.nc-container.nc-scrape .nc-verify-ok>div>span,\n.nc-container.nc-scrape .nc-verify-fail>div>span,\n.nc-container.nc-scrape .nc-load-error>div>span {\n display: table-cell;\n vertical-align: middle;\n height: 80px;\n text-align: left;\n}\n.nc-pass .nc-container.nc-scrape .nc-toolbar .nc-btns {\n visibility: hidden;\n}\n.nc-pass .nc-container.nc-scrape .nc-bg img {\n display: none;\n}\n.nc-pass .nc-container.nc-scrape .nc-cover canvas,\n.nc-pass .nc-container.nc-scrape .nc-cover .nc-verify-fail {\n display: none;\n}\n.nc-pass .nc-container.nc-scrape .nc-verify-ok {\n display: block;\n}\n.nc-pass .nc-container.nc-scrape .nc-canvas .nc-bg {\n background: #bbf0c6 url("https://img.alicdn.com/tfs/TB1KDxCSVXXXXasXFXXXXXXXXXX-100-80.png");\n}\n.nc-fail .nc-container.nc-scrape .nc-canvas .nc-bg {\n background: url("https://img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png");\n}\n.nc-fail .nc-container.nc-scrape .nc-canvas .nc-bg img {\n display: none;\n}\n.nc-fail .nc-container.nc-scrape .nc-cover canvas,\n.nc-fail .nc-container.nc-scrape .nc-cover .nc-verify-ok,\n.nc-fail .nc-container.nc-scrape .nc-cover .nc-canvas-dg {\n display: none;\n}\n.nc-fail .nc-container.nc-scrape .nc-verify-fail {\n display: block;\n}\n.nc-state-load-error .nc-container.nc-scrape .nc-load-error {\n display: block;\n}\n.nc-state-load-error .nc-container.nc-scrape canvas,\n.nc-state-load-error .nc-container.nc-scrape .nc-inform {\n display: none;\n}\n.nc-prepared .nc-container.nc-scrape .nc-bg {\n background: #ccc url("https://img.alicdn.com/tfs/TB1skE5SFXXXXb3XXXXXXXXXXXX-100-80.png");\n}\n.nc-container.nc-scrape #nc-loading-circle {\n margin: 0 10px;\n}\n.nc-container.nc-scrape #nc-loading-circle .sk-circle:before {\n background-color: #fff;\n}\n',""])},,function(t,e,n){var i=n(131);"string"==typeof i&&(i=[[t.i,i,""]]),n(10)(i,{}),i.locals&&(t.exports=i.locals)},,function(t,e,n){function i(t){return n(r(t))}function r(t){var e=o[t];
210if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var o={"./actiontimeout":50,"./actiontimeout.js":50,"./destroyed":51,"./destroyed.js":51,"./error":52,"./error.js":52,"./fail":53,"./fail.js":53,"./initially":54,"./initially.js":54,"./load_error":55,"./load_error.js":55,"./loading":56,"./loading.js":56,"./need_two_step_verify":57,"./need_two_step_verify.js":57,"./pass":58,"./pass.js":58,"./ready":59,"./ready.js":59,"./reseting":60,"./reseting.js":60,"./ts_error":61,"./ts_error.js":61,"./ts_fail":62,"./ts_fail.js":62,"./ts_loading":63,"./ts_loading.js":63,"./ts_pass":64,"./ts_pass.js":64,"./ts_ready":65,"./ts_ready.js":65,"./ts_verifying":66,"./ts_verifying.js":66,"./verifying":67,"./verifying.js":67};i.keys=function(){return(0,_keys2.default)(o)},i.resolve=r,t.exports=i,i.id=135}])};chkQuerySet(),cond()>GREY_RATIO?STABLE_ACTION():NEW_ACTION()}},"6f4f":function(t,e,n){var i=n("77e9"),r=n("85e7"),o=n("9742"),a=n("5a94")("IE_PROTO"),s=function(){},c="prototype",l=function(){var t,e=n("05f5")("iframe"),i=o.length,r="<",a=">";e.style.display="none",n("9141").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),l=t.F;while(i--)delete l[c][o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=i(t),n=new s,s[c]=null,n[a]=t):n=l(),void 0===e?n:r(n,e)}},"6f50":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
211//! moment.js locale configuration 212var e=t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"6f53":function(t,e,n){var i=n("83ab"),r=n("df75"),o=n("fc6a"),a=n("d1e7").f,s=function(t){return function(e){var n,s=o(e),c=r(s),l=c.length,u=0,d=[];while(l>u)n=c[u++],i&&!a.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}};t.exports={entries:s(!0),values:s(!1)}},7037:function(t,e,n){function i(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=i=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=i=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),i(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),t.exports=i,t.exports["default"]=t.exports,t.exports.__esModule=!0},7118:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
213//! moment.js locale configuration 214var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),i=t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return i}))},7156:function(t,e,n){var i=n("861d"),r=n("d2bb");t.exports=function(t,e,n){var o,a;return r&&"function"==typeof(o=e.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(t,a),t}},7212:function(t,e,n){ 215/*! 216 * vue-awesome-swiper v4.1.1 217 * Copyright (c) Surmon. All rights reserved. 218 * Released under the MIT License. 219 * Surmon <https://github.com/surmon-china> 220 */ 221(function(t,i){i(e,n("b619"),n("a026"))})(0,(function(t,e,n){"use strict";var i;e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n["default"]:n,function(t){t["SwiperComponent"]="Swiper",t["SwiperSlideComponent"]="SwiperSlide",t["SwiperDirective"]="swiper",t["SwiperInstance"]="$swiper"}(i||(i={}));var r,o,a=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(t){t["Ready"]="ready",t["ClickSlide"]="clickSlide"})(r||(r={})),function(t){t["AutoUpdate"]="autoUpdate",t["AutoDestroy"]="autoDestroy",t["DeleteInstanceOnDestroy"]="deleteInstanceOnDestroy",t["CleanupStylesOnDestroy"]="cleanupStylesOnDestroy"}(o||(o={}));var s=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"]; 222/*! ***************************************************************************** 223Copyright (c) Microsoft Corporation. All rights reserved. 224Licensed under the Apache License, Version 2.0 (the "License"); you may not use 225this file except in compliance with the License. You may obtain a copy of the 226License at http://www.apache.org/licenses/LICENSE-2.0 227 228THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 229KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 230WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 231MERCHANTABLITY OR NON-INFRINGEMENT. 232 233See the Apache Version 2.0 License for specific language governing permissions 234and limitations under the License. 235***************************************************************************** */function c(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}var l,u=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},d=function(t,e,n){var i,o,a;if(t&&!t.destroyed){var s=(null===(i=e.composedPath)||void 0===i?void 0:i.call(e))||e.path;if((null===e||void 0===e?void 0:e.target)&&s){var c=Array.from(t.slides),l=Array.from(s);if(c.includes(e.target)||l.some((function(t){return c.includes(t)}))){var d=t.clickedIndex,h=Number(null===(a=null===(o=t.clickedSlide)||void 0===o?void 0:o.dataset)||void 0===a?void 0:a.swiperSlideIndex),f=Number.isInteger(h)?h:null;n(r.ClickSlide,d,f),n(u(r.ClickSlide),d,f)}}}}
235,h=function(t,e){s.forEach((function(n){t.on(n,(function(){for(var t=arguments,i=[],r=0;r<arguments.length;r++)i[r]=t[r];e.apply(void 0,c([n],i));var o=u(n);o!==n&&e.apply(void 0,c([o],i))}))}))},f="instanceName";function p(t,e){var n=function(t,e){var n,i,r,o,a=null===(i=null===(n=t.data)||void 0===n?void 0:n.attrs)||void 0===i?void 0:i[e];return void 0!==a?a:null===(o=null===(r=t.data)||void 0===r?void 0:r.attrs)||void 0===o?void 0:o[u(e)]},s=function(t,e,r){return e.arg||n(r,f)||t.id||i.SwiperInstance},c=function(t,e,n){var i=s(t,e,n);return n.context[i]||null},l=function(t){return t.value||e},p=function(t){return[!0,void 0,null,""].includes(t)},m=function(t){var e,n,i=(null===(e=t.data)||void 0===e?void 0:e.on)||(null===(n=t.componentOptions)||void 0===n?void 0:n.listeners);return function(t){for(var e,n=arguments,r=[],o=1;o<arguments.length;o++)r[o-1]=n[o];var a=null===(e=i)||void 0===e?void 0:e[t];a&&a.fns.apply(a,r)}};return{bind:function(t,e,n){-1===t.className.indexOf(a.containerClass)&&(t.className+=(t.className?" ":"")+a.containerClass),t.addEventListener("click",(function(i){var r=m(n),o=c(t,e,n);d(o,i,r)}))},inserted:function(e,n,i){var o=i.context,a=l(n),c=s(e,n,i),u=m(i),d=o,f=null===d||void 0===d?void 0:d[c];f&&!f.destroyed||(f=new t(e,a),d[c]=f,h(f,u),u(r.Ready,f))},componentUpdated:function(t,e,i){var r,a,s,u,d,h,f,m,g,v,_,y,b=n(i,o.AutoUpdate);if(p(b)){var w=c(t,e,i);if(w){var k=l(e),x=k.loop;x&&(null===(a=null===(r=w)||void 0===r?void 0:r.loopDestroy)||void 0===a||a.call(r)),null===(s=null===w||void 0===w?void 0:w.update)||void 0===s||s.call(w),null===(d=null===(u=w.navigation)||void 0===u?void 0:u.update)||void 0===d||d.call(u),null===(f=null===(h=w.pagination)||void 0===h?void 0:h.render)||void 0===f||f.call(h),null===(g=null===(m=w.pagination)||void 0===m?void 0:m.update)||void 0===g||g.call(m),x&&(null===(_=null===(v=w)||void 0===v?void 0:v.loopCreate)||void 0===_||_.call(v),null===(y=null===w||void 0===w?void 0:w.update)||void 0===y||y.call(w))}}},unbind:function(t,e,i){var r,a=n(i,o.AutoDestroy);if(p(a)){var s=c(t,e,i);s&&s.initialized&&(null===(r=null===s||void 0===s?void 0:s.destroy)||void 0===r||r.call(s,p(n(i,o.DeleteInstanceOnDestroy)),p(n(i,o.CleanupStylesOnDestroy))))}}}}function m(t){var e;return n.extend({name:i.SwiperComponent,props:(e={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},e[o.AutoUpdate]={type:Boolean,default:!0},e[o.AutoDestroy]={type:Boolean,default:!0},e[o.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},e[o.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},e),data:function(){var t;return t={},t[i.SwiperInstance]=null,t},computed:{swiperInstance:{cache:!1,set:function(t){this[i.SwiperInstance]=t},get:function(){return this[i.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||a.wrapperClass}},methods:{handleSwiperClick:function(t){d(this.swiperInstance,t,this.$emit.bind(this))},autoReLoopSwiper:function(){var t,e;if(this.swiperInstance&&this.swiperOptions.loop){var n=this.swiperInstance;null===(t=null===n||void 0===n?void 0:n.loopDestroy)||void 0===t||t.call(n),null===(e=null===n||void 0===n?void 0:n.loopCreate)||void 0===e||e.call(n)}},updateSwiper:function(){var t,e,n,i,r,a,s,c;this[o.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.update)||void 0===e||e.call(t),null===(i=null===(n=this.swiperInstance.navigation)||void 0===n?void 0:n.update)||void 0===i||i.call(n),null===(a=null===(r=this.swiperInstance.pagination)||void 0===r?void 0:r.render)||void 0===a||a.call(r),null===(c=null===(s=this.swiperInstance.pagination)||void 0===s?void 0:s.update)||void 0===c||c.call(s))},destroySwiper:function(){var t,e;this[o.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.destroy)||void 0===e||e.call(t,this[o.DeleteInstanceOnDestroy],this[o.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new t(this.$el,this.swiperOptions),h(this.swiperInstance,this.$emit.bind(this)),this.$emit(r.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(t){return t("div",{staticClass:a.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[l.ParallaxBg],t("div",{class:this.wrapperClass},this.$slots.default),this.$slots[l.Pagination],this.$slots[l.PrevButton],this.$slots[l.NextButton],this.$slots[l.Scrollbar]])}})}(function(t){t["ParallaxBg"]="parallax-bg",t["Pagination"]="pagination",t["Scrollbar"]="scrollbar",t["PrevButton"]="button-prev",t["NextButton"]="button-next"})(l||(l={}));var g=n.extend({name:i.SwiperSlideComponent,computed:{slideClass:function(){var t,e;return(null===(e=null===(t=this.$parent)||void 0===t?void 0:t.swiperOptions)||void 0===e?void 0:e.slideClass)||a.slideClass}},methods:{update:function(){var t,e=this.$parent;e[o.AutoUpdate]&&(null===(t=null===e||void 0===e?void 0:e.swiperInstance)||void 0===t||t.update(
235))}},mounted:function(){this.update()},updated:function(){this.update()},render:function(t){return t("div",{class:this.slideClass},this.$slots.default)}}),v=function(t){var e=function(n,r){if(!e.installed){var o=m(t);r&&(o.options.props.defaultOptions.default=function(){return r}),n.component(i.SwiperComponent,o),n.component(i.SwiperSlideComponent,g),n.directive(i.SwiperDirective,p(t,r)),e.installed=!0}};return e};function _(t){var e;return e={version:"4.1.1",install:v(t),directive:p(t)},e[i.SwiperComponent]=m(t),e[i.SwiperSlideComponent]=g,e}var y=_(e),b=y.version,w=y.install,k=y.directive,x=y.Swiper,T=y.SwiperSlide;t.Swiper=x,t.SwiperSlide=T,t.default=y,t.directive=k,t.install=w,t.version=b,Object.defineProperty(t,"__esModule",{value:!0})}))},"72f7":function(t,e,n){"use strict";var i=n("ebb5").exportTypedArrayMethod,r=n("d039"),o=n("da84"),a=o.Uint8Array,s=a&&a.prototype||{},c=[].toString,l=[].join;r((function(){c.call({})}))&&(c=function(){return l.call(this)});var u=s.toString!=c;i("toString",c,u)},7333:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
236//! moment.js locale configuration 237var e=t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},7336:function(t,e,n){var i=n("512c"),r=n("5524"),o=n("4b8b");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},"735e":function(t,e,n){"use strict";var i=n("ebb5"),r=n("81d5"),o=i.aTypedArray,a=i.exportTypedArrayMethod;a("fill",(function(t){return r.apply(o(this),arguments)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var i=n("428f"),r=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},"74dc":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,185 bytes, lines 238-239
238//! moment.js locale configuration 239var e=t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return e}))},"74e8":function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("83ab"),a=n("8aa7"),s=n("ebb5"),c=n("621a"),l=n("19aa"),u=n("5c6c"),d=n("9112"),h=n("5e89"),f=n("50c4"),p=n("0b25"),m=n("182d"),g=n("a04b"),v=n("5135"),_=n("f5df"),y=n("861d"),b=n("d9b5"),w=n("7c73"),k=n("d2bb"),x=n("241c").f,T=n("a078"),M=n("b727").forEach,S=n("2626"),C=n("9bf2"),E=n("06cf"),L=n("69f3"),A=n("7156"),O=L.get,P=L.set,D=C.f,j=E.f,I=Math.round,R=r.RangeError,N=c.ArrayBuffer,Y=c.DataView,z=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_CONSTRUCTOR,F=s.TYPED_ARRAY_TAG,H=s.TypedArray,V=s.TypedArrayPrototype,U=s.aTypedArrayConstructor,W=s.isTypedArray,$="BYTES_PER_ELEMENT",X="Wrong length",q=function(t,e){var n=0,i=e.length,r=new(U(t))(i);while(i>n)r[n]=e[n++];return r},G=function(t,e){D(t,e,{get:function(){return O(this)[e]}})},Z=function(t){var e;return t instanceof N||"ArrayBuffer"==(e=_(t))||"SharedArrayBuffer"==e},J=function(t,e){return W(t)&&!b(e)&&e in t&&h(+e)&&e>=0},K=function(t,e){return e=g(e),J(t,e)?u(2,t[e]):j(t,e)},Q=function(t,e,n){return e=g(e),!(J(t,e)&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?D(t,e,n):(t[e]=n.value,t)};o?(z||(E.f=K,C.f=Q,G(V,"buffer"),G(V,"byteOffset"),G(V,"byteLength"),G(V,"length")),i({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:K,defineProperty:Q}),t.exports=function(t,e,n){var o=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",c="get"+t,u="set"+t,h=r[s],g=h,v=g&&g.prototype,_={},b=function(t,e){var n=O(t);return n.view[c](e*o+n.byteOffset,!0)},C=function(t,e,i){var r=O(t);n&&(i=(i=I(i))<0?0:i>255?255:255&i),r.view[u](e*o+r.byteOffset,i,!0)},E=function(t,e){D(t,e,{get:function(){return b(this,e)},set:function(t){return C(this,e,t)},enumerable:!0})};z?a&&(g=e((function(t,e,n,i){return l(t,g,s),A(function(){return y(e)?Z(e)?void 0!==i?new h(e,m(n,o),i):void 0!==n?new h(e,m(n,o)):new h(e):W(e)?q(g,e):T.call(g,e):new h(p(e))}(),t,g)})),k&&k(g,H),M(x(h),(function(t){t in g||d(g,t,h[t])})),g.prototype=v):(g=e((function(t,e,n,i){l(t,g,s);var r,a,c,u=0,d=0;if(y(e)){if(!Z(e))return W(e)?q(g,e):T.call(g,e);r=e,d=m(n,o);var h=e.byteLength;if(void 0===i){if(h%o)throw R(X);if(a=h-d,a<0)throw R(X)}else if(a=f(i)*o,a+d>h)throw R(X);c=a/o}else c=p(e),a=c*o,r=new N(a);P(t,{buffer:r,byteOffset:d,byteLength:a,length:c,view:new Y(r)});while(u<c)E(t,u++)})),k&&k(g,H),v=g.prototype=w(V)),v.constructor!==g&&d(v,"constructor",g),d(v,B,g),F&&d(v,F,s),_[s]=g,i({global:!0,forced:g!=h,sham:!z},_),$ in g||d(g,$,o),$ in v||d(v,$,o),S(s)}):t.exports=function(){}},"76ef":function(t,e,n){var i=n("512c");i(i.S,"Object",{create:n("6f4f")})},"776d":function(t,e,n){"use strict";n("159b"),n("99af"),n("4de4"),n("b64b");var i=n("4d13");t.exports=function(t,e){e=e||{};var n={},r=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];
239i.forEach(r,(function(t){"undefined"!==typeof e[t]&&(n[t]=e[t])})),i.forEach(o,(function(r){i.isObject(e[r])?n[r]=i.deepMerge(t[r],e[r]):"undefined"!==typeof e[r]?n[r]=e[r]:i.isObject(t[r])?n[r]=i.deepMerge(t[r]):"undefined"!==typeof t[r]&&(n[r]=t[r])})),i.forEach(a,(function(i){"undefined"!==typeof e[i]?n[i]=e[i]:"undefined"!==typeof t[i]&&(n[i]=t[i])}));var s=r.concat(o).concat(a),c=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return i.forEach(c,(function(i){"undefined"!==typeof e[i]?n[i]=e[i]:"undefined"!==typeof t[i]&&(n[i]=t[i])})),n}},"77a7":function(t,e){var n=Math.abs,i=Math.pow,r=Math.floor,o=Math.log,a=Math.LN2,s=function(t,e,s){var c,l,u,d=new Array(s),h=8*s-e-1,f=(1<<h)-1,p=f>>1,m=23===e?i(2,-24)-i(2,-77):0,g=t<0||0===t&&1/t<0?1:0,v=0;for(t=n(t),t!=t||t===1/0?(l=t!=t?1:0,c=f):(c=r(o(t)/a),t*(u=i(2,-c))<1&&(c--,u*=2),t+=c+p>=1?m/u:m*i(2,1-p),t*u>=2&&(c++,u/=2),c+p>=f?(l=0,c=f):c+p>=1?(l=(t*u-1)*i(2,e),c+=p):(l=t*i(2,p-1)*i(2,e),c=0));e>=8;d[v++]=255&l,l/=256,e-=8);for(c=c<<e|l,h+=e;h>0;d[v++]=255&c,c/=256,h-=8);return d[--v]|=128*g,d},c=function(t,e){var n,r=t.length,o=8*r-e-1,a=(1<<o)-1,s=a>>1,c=o-7,l=r-1,u=t[l--],d=127&u;for(u>>=7;c>0;d=256*d+t[l],l--,c-=8);for(n=d&(1<<-c)-1,d>>=-c,c+=e;c>0;n=256*n+t[l],l--,c-=8);if(0===d)d=1-s;else{if(d===a)return n?NaN:u?-1/0:1/0;n+=i(2,e),d-=s}return(u?-1:1)*n*i(2,d-e)};t.exports={pack:s,unpack:c}},"77e9":function(t,e,n){var i=n("7a41");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"795d":function(t,e,n){},"7a41":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},"7a77":function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},"7aac":function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){var i=n("1d80");t.exports=function(t){return Object(i(t))}},"7b9e":function(t,e,n){n("658f"),n("0b99"),t.exports=n("8aab")},"7bb1":function(t,e,n){"use strict";n.d(e,"a",(function(){return zt})),n.d(e,"b",(function(){return Et})),n.d(e,"c",(function(){return A}));var i=n("a026"),r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)}; 240/** 241 * vee-validate v3.4.11 242 * (c) 2021 Abdelrahman Awad 243 * @license MIT 244 */ 245/*! ***************************************************************************** 246Copyright (c) Microsoft Corporation. 247 248Permission to use, copy, modify, and/or distribute this software for any 249purpose with or without fee is hereby granted. 250 251THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 252REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 253AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 254INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 255LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 256OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 257PERFORMANCE OF THIS SOFTWARE. 258***************************************************************************** */function o(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}
vendor: 24,167 bytes, line 258
258return new(n||(n=Promise))((function(n,o){function a(t){try{c(i.next(t))}catch(e){o(e)}}function s(t){try{c(i["throw"](t))}catch(e){o(e)}}function c(t){t.done?n(t.value):r(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())}))}function a(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function s(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function c(t){return t!==t}function l(t){return null===t||void 0===t}function u(t){return Array.isArray(t)&&0===t.length}var d=function(t){return null!==t&&t&&"object"===typeof t&&!Array.isArray(t)};function h(t,e){return!(!c(t)||!c(e))||t===e}function f(t){return""!==t&&!l(t)}function p(t){return"function"===typeof t}function m(t){return p(t)&&!!t.__locatorRef}function g(t,e){var n=Array.isArray(t)?t:y(t);if(p(n.findIndex))return n.findIndex(e);for(var i=0;i<n.length;i++)if(e(n[i],i))return i;return-1}function v(t,e){var n=Array.isArray(t)?t:y(t),i=g(n,e);return-1===i?void 0:n[i]}function _(t,e){return-1!==t.indexOf(e)}function y(t){return p(Array.from)?Array.from(t):b(t)}function b(t){for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e}function w(t){return p(Object.values)?Object.values(t):Object.keys(t).map((function(e){return t[e]}))}function k(t,e){return Object.keys(e).forEach((function(n){if(d(e[n]))return t[n]||(t[n]={}),void k(t[n],e[n]);t[n]=e[n]})),t}function x(){return{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1}}function T(t,e,n){return void 0===e&&(e=0),void 0===n&&(n={cancelled:!1}),0===e?t:function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=function(){i=void 0,n.cancelled||t.apply(void 0,r)};clearTimeout(i),i=setTimeout(a,e)};var i}function M(t){console.warn("[vee-validate] "+t)}function S(t,e){return t.replace(/{([^}]+)}/g,(function(t,n){return n in e?e[n]:"{"+n+"}"}))}var C={};function E(t){var e;return(null===(e=t.params)||void 0===e?void 0:e.length)&&(t.params=t.params.map((function(t){return"string"===typeof t?{name:t}:t}))),t}var L=function(){function t(){}return t.extend=function(t,e){var n=E(e);C[t]?C[t]=k(C[t],e):C[t]=r({lazy:!1,computesRequired:!1},n)},t.isLazy=function(t){var e;return!!(null===(e=C[t])||void 0===e?void 0:e.lazy)},t.isRequireRule=function(t){var e;return!!(null===(e=C[t])||void 0===e?void 0:e.computesRequired)},t.getRuleDefinition=function(t){return C[t]},t}();function A(t,e){O(t,e),"object"!==typeof e?L.extend(t,{validate:e}):L.extend(t,e)}function O(t,e){if(!p(e)&&!p(e.validate)&&!L.getRuleDefinition(t))throw new Error("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")}var P={defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0},D=r({},P),j=function(){return D};function I(t){var e={};return Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?d(t)&&t._$$isNormalized?t:d(t)?Object.keys(t).reduce((function(e,n){var i=[];return i=!0===t[n]?[]:Array.isArray(t[n])||d(t[n])?t[n]:[t[n]],!1!==t[n]&&(e[n]=R(n,i)),e}),e):"string"!==typeof t?(M("rules must be either a string or an object."),e):t.split("|").reduce((function(t,e){var n=N(e);return n.name?(t[n.name]=R(n.name,n.params),t):t}),e):e}function R(t,e){var n=L.getRuleDefinition(t);if(!n)return e;var i,r,o={};if(!n.params&&!Array.isArray(e))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(e)&&!n.params)return e;!n.params||n.params.length<e.length&&Array.isArray(e)?i=e.map((function(t,e){var i,o=null===(i=n.params)||void 0===i?void 0:i[e];return r=o||r,o||(o=r),o})):i=n.params;for(var a=0;a<i.length;a++){var s=i[a],c=s.default;Array.isArray(e)?a in e&&(c=e[a]):s.name in e?c=e[s.name]:1===i.length&&(c=e),s.isTarget&&(c=Y(c,s.cast)),"string"===typeof c&&"@"===c[0]&&(c=Y(c.slice(1),s.cast)),!m(c)&&s.cast&&(c=s.cast(c)),o[s.name]?(o[s.name]=Array.isArray(o[s.name])?o[s.name]:[o[s.name]],o[s.name].push(c)):o[s.name]=c}return o}var N=function(t){var e=[],n=t.split(":")[0];return _(t,":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:n,params:e}};function Y(t,e){var n=function(n){var i=n[t];return e?e(i):i};return n.__locatorRef=t,n}function z(t){return Array.isArray(t)?t.filter((function(t){return m(t)||"string"===typeof t&&"@"===t[0]})):Object.keys(t).filter((function(e){return m(t[e])})).map((function(e){return t[e]}))}function B(t,e,n){return void 0===n&&(n={}),o(this,void 0,void 0,(function(){var i,r,o,s,c,l,u;return a(this,(function(a){switch(a.label){case 0:return i=null===n||void 0===n?void 0:n.bails,r=null===n||void 0===n?void 0:n.skipIfEmpty,o={name:(null===n||void 0===n?void 0:n.name)||"{field}",rules:I(e),bails:null===i||void 0===i||i,skipIfEmpty:null===r||void 0===r||r,forceRequired:!1,crossTable:(null===n||void 0===n?void 0:n.values)||{},names:(null===n||void 0===n?void 0:n.names)||{},customMessages:(null===n||void 0===n?void 0:n.customMessages)||{}},[4,F(o,t,n)];case 1:return s=a.sent(),c=[],l={},u={},s.errors.forEach((function(t){var e=t.msg();c.push(e),l[t.rule]=e,u[t.rule]=t.msg})),[2,{valid:s.valid,required:s.required,errors:c,failedRules:l,regenerateMap:u}]}}))}))}function F(t,e,n){var i=(void 0===n?{}:n).isInitial,r=void 0!==i&&i;return o(this,void 0,void 0,(function(){var n,i,o,s,c,l,u,d,h;return a(this,(function(a){switch(a.label){case 0:return[4,H(t,e)];case 1:if(n=a.sent(),i=n.shouldSkip,o=n.required,s=n.errors,i)return[2,{valid:!s.length,required:o,errors:s}];c=Object.keys(t.rules).filter((function(t){return!L.isRequireRule(t)})),l=c.length,u=0,a.label=2;case 2:return u<l?r&&L.isLazy(c[u])?[3,4]:(d=c[u],[4,V(t,e,{name:d,params:t.rules[d]})]):[3,5];case 3:if(h=a.sent(),!h.valid&&h.error&&(s.push(h.error),t.bails))return[2,{valid:!1,required:o,errors:s}];a.label=4;case 4:return u++,[3,2];case 5:return[2,{valid:!s.length,required:o,errors:s}]}}))}))}function H(t,e){return o(this,void 0,void 0,(function(){var n,i,r,o,s,c,h,f,p;return a(this,(function(a){switch(a.label){case 0:n=Object.keys(t.rules).filter(L.isRequireRule),i=n.length,r=[],o=l(e)||""===e||u(e),s=o&&t.skipIfEmpty,h=0,a.label=1;case 1:return h<i?(f=n[h],[4,V(t,e,{name:f,params:t.rules[f]})]):[3,4];case 2:if(p=a.sent(),!d(p))throw new Error("Require rules has to return an object (see docs)");if(void 0!==p.required&&(c=p.required),!p.valid&&p.error&&(r.push(p.error),t.bails))return[2,{shouldSkip:!0,required:p.required,errors:r}];a.label=3;case 3:return h++,[3,1];case 4:return(!o||c||t.skipIfEmpty)&&(t.bails||s)?[2,{shouldSkip:!c&&o,required:c,errors:r}]:[2,{shouldSkip:!1,required:c,errors:r}]}}))}))}function V(t,e,n){return o(this,void 0,void 0,(function(){var i,o,s,c,l;return a(this,(function(a){switch(a.label){case 0:if(i=L.getRuleDefinition(n.name),!i||!i.validate)throw new Error("No such validator '"+n.name+"' exists.");return o=i.castValue?i.castValue(e):e,s=q(n.params,t.crossTable),[4,i.validate(o,s)];case 1:return c=a.sent(),"string"===typeof c?(l=r(r({},s||{}),{_field_:t.name,_value_:e,_rule_:n.name}),[2,{valid:!1,error:{rule:n.name,msg:function(){return S(c,l)}}}]):(d(c)||(c={valid:c}),[2,{valid:c.valid,required:c.required,error:c.valid?void 0:U(t,e,i,n.name,s)}])}}))}))}function U(t,e,n,i,o){var a,s=null!==(a=t.customMessages[i])&&void 0!==a?a:n.message,c=W(t,n,i),l=$(t,n,i,s),u=l.userTargets,d=l.userMessage,h=r(r(r(r({},o||{}),{_field_:t.name,_value_:e,_rule_:i}),c),u);return{msg:function(){return X(d||j().defaultMessage,t.name,h)},rule:i}}function W(t,e,n){var i=e.params;if(!i)return{};var r=i.filter((function(t){return t.isTarget})).length;if(r<=0)return{};var o={},a=t.rules[n];!Array.isArray(a)&&d(a)&&(a=i.map((function(t){return a[t.name]})));for(var s=0;s<i.length;s++){var c=i[s],l=a[s];if(m(l)){l=l.__locatorRef;var u=t.names[l]||l;o[c.name]=u,o["_"+c.name+"_"]=t.crossTable[l]}}return o}function $(t,e,n,i){var r={},o=t.rules[n],a=e.params||[];return o?(Object.keys(o).forEach((function(e,n){var i=o[e];if(!m(i))return{};var s=a[n];if(!s)return{};var c=i.__locatorRef;r[s.name]=t.names[c]||c,r["_"+s.name+"_"]=t.crossTable[c]})),{userTargets:r,userMessage:i}):{}}function X(t,e,n){return"function"===typeof t?t(e,n):S(t,r(r({},n),{_field_:e}))}function q(t,e){if(Array.isArray(t))return t.map((function(t){var n="string"===typeof t&&"@"===t[0]?t.slice(1):t;return n in e?e[n]:t}));var n={},i=function(t){return m(t)?t(e):t};return Object.keys(t).forEach((function(e){n[e]=i(t[e])})),n}var G=function(){return{on:["input","blur"]}},Z=function(){return{on:["change","blur"]}},J=function(t){var e=t.errors;return e.length?{on:["input","change"]}:{on:["change","blur"]}},K=function(){return{on:[]}},Q={aggressive:G,eager:J,passive:K,lazy:Z},tt=new i["default"];(function(){function t(t,e){this.container={},this.locale=t,this.merge(e)}t.prototype.resolve=function(t,e,n){return this.format(this.locale,t,e,n)},t.prototype.format=function(t,e,n,i){var o,a,s,c,l,u,d,h,f,m=null===(s=null===(a=null===(o=this.container[t])||void 0===o?void 0:o.fields)||void 0===a?void 0:a[e])||void 0===s?void 0:s[n],g=null===(l=null===(c=this.container[t])||void 0===c?void 0:c.messages)||void 0===l?void 0:l[n];return f=m||g||"",f||(f="{_field_} is not valid"),e=null!==(h=null===(d=null===(u=this.container[t])||void 0===u?void 0:u.names)||void 0===d?void 0:d[e])&&void 0!==h?h:e,p(f)?f(e,i):S(f,r(r({},i),{_field_:e}))},t.prototype.merge=function(t){k(this.container,t)},t.prototype.hasRule=function(t){var e,n;return!!(null===(n=null===(e=this.container[this.locale])||void 0===e?void 0:e.messages)||void 0===n?void 0:n[t])}})();var et=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(e)){if(i=e.length,i!=n.length)return!1;for(r=i;0!==r--;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),i=o.length,i!==Object.keys(n).length)return!1;for(r=i;0!==r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!==r--;){var a=o[r];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n},nt=function(t){return!!t&&(!!("undefined"!==typeof Event&&p(Event)&&t instanceof Event)||!(!t||!t.srcElement))};function it(t){var e,n;if(!nt(t))return t;var i=t.target;if("file"===i.type&&i.files)return y(i.files);if(null===(e=i._vModifiers)||void 0===e?void 0:e.number){var r=parseFloat(i.value);return c(r)?i.value:r}if(null===(n=i._vModifiers)||void 0===n?void 0:n.trim){var o="string"===typeof i.value?i.value.trim():i.value;return o}return i.value}var rt=function(t){var e,n=(null===(e=t.data)||void 0===e?void 0:e.attrs)||t.elm;return!("input"!==t.tag||n&&n.type)||("textarea"===t.tag||_(["text","password","search","email","tel","url","number"],null===n||void 0===n?void 0:n.type))};function ot(t){if(t.data){var e=t.data;if("model"in e)return e.model;if(t.data.directives)return v(t.data.directives,(function(t){return"model"===t.name}))}}function at(t){var e,n,i=ot(t);if(i)return{value:i.value};var r=lt(t),o=(null===r||void 0===r?void 0:r.prop)||"value";if((null===(e=t.componentOptions)||void 0===e?void 0:e.propsData)&&o in t.componentOptions.propsData){var a=t.componentOptions.propsData;return{value:a[o]}}return(null===(n=t.data)||void 0===n?void 0:n.domProps)&&"value"in t.data.domProps?{value:t.data.domProps.value}:void 0}function st(t){return Array.isArray(t)?t:Array.isArray(t.children)?t.children:t.componentOptions&&Array.isArray(t.componentOptions.children)?t.componentOptions.children:[]}function ct(t){if(!Array.isArray(t)&&void 0!==at(t))return[t];var e=st(t);return e.reduce((function(t,e){var n=ct(e);return n.length&&t.push.apply(t,n),t}),[])}function lt(t){return t.componentOptions?t.componentOptions.Ctor.options.model:null}function ut(t,e,n){if(l(t[e]))t[e]=[n];else{if(p(t[e])&&t[e].fns){var i=t[e];return i.fns=Array.isArray(i.fns)?i.fns:[i.fns],void(_(i.fns,n)||i.fns.push(n))}if(p(t[e])){var r=t[e];t[e]=[r]}Array.isArray(t[e])&&!_(t[e],n)&&t[e].push(n)}}function dt(t,e,n){t.data||(t.data={}),l(t.data.on)&&(t.data.on={}),ut(t.data.on,e,n)}function ht(t,e,n){t.componentOptions&&(t.componentOptions.listeners||(t.componentOptions.listeners={}),ut(t.componentOptions.listeners,e,n))}function ft(t,e,n){t.componentOptions?ht(t,e,n):dt(t,e,n)}function pt(t,e){var n;if(t.componentOptions){var i=(lt(t)||{event:"input"}).event;return i}return(null===(n=null===e||void 0===e?void 0:e.modifiers)||void 0===n?void 0:n.lazy)?"change":rt(t)?"input":"change"}function mt(t){return _(["input","select","textarea"],t.tag)}function gt(t){var e,n=null===(e=t.data)||void 0===e?void 0:e.attrs,i={};return n?("email"===n.type&&L.getRuleDefinition("email")&&(i.email=["multiple"in n]),n.pattern&&L.getRuleDefinition("regex")&&(i.regex=n.pattern),n.maxlength>=0&&L.getRuleDefinition("max")&&(i.max=n.maxlength),n.minlength>=0&&L.getRuleDefinition("min")&&(i.min=n.minlength),"number"===n.type&&(f(n.min)&&L.getRuleDefinition("min_value")&&(i.min_value=Number(n.min)),f(n.max)&&L.getRuleDefinition("max_value")&&(i.max_value=Number(n.max))),i):i}function vt(t){var e,n=["input","select","textarea"],i=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!_(n,t.tag)||!i)return{};var o={};return"required"in i&&!1!==i.required&&L.getRuleDefinition("required")&&(o.required="checkbox"!==i.type||[!0]),rt(t)?I(r(r({},o),gt(t))):I(o)}function _t(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function yt(t,e){return!(t._ignoreImmediate||!t.immediate)||(!(h(t.value,e)||!t.normalizedEvents.length)||(!!t._needsValidation||!t.initialized&&void 0===e))}function bt(t){return r(r({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.validate.apply(t,e)},ariaInput:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false","aria-errormessage":"vee_"+t.id},ariaMsg:{id:"vee_"+t.id,"aria-live":t.errors.length?"assertive":"off"}})}function wt(t,e){t.initialized||(t.initialValue=e);var n=yt(t,e);if(t._needsValidation=!1,t.value=e,t._ignoreImmediate=!0,n){var i=function(){if(t.immediate||t.flags.validated)return xt(t);t.validateSilent()};t.initialized?i():t.$once("hook:mounted",(function(){return i()}))}}function kt(t){var e=p(t.mode)?t.mode:Q[t.mode];return e(t)}function xt(t){var e=t.validateSilent();return t._pendingValidation=e,e.then((function(n){return e===t._pendingValidation&&(t.applyResult(n),t._pendingValidation=void 0),n}))}function Tt(t){t.$veeOnInput||(t.$veeOnInput=function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})});var e=t.$veeOnInput;t.$veeOnBlur||(t.$veeOnBlur=function(){t.setFlags({touched:!0,untouched:!1})});var n=t.$veeOnBlur,i=t.$veeHandler,r=kt(t);return i&&t.$veeDebounce===t.debounce||(i=T((function(){t.$nextTick((function(){t._pendingReset||xt(t),t._pendingReset=!1}))}),r.debounce||t.debounce),t.$veeHandler=i,t.$veeDebounce=t.debounce),{onInput:e,onBlur:n,onValidate:i}}function Mt(t,e){var n=at(e);t._inputEventName=t._inputEventName||pt(e,ot(e)),wt(t,null===n||void 0===n?void 0:n.value);var i=Tt(t),r=i.onInput,o=i.onBlur,a=i.onValidate;ft(e,t._inputEventName,r),ft(e,"blur",o),t.normalizedEvents.forEach((function(t){ft(e,t,a)})),t.initialized=!0}var St=0;function Ct(){var t=[],e="",n={errors:t,value:void 0,initialized:!1,initialValue:void 0,flags:x(),failedRules:{},isActive:!0,fieldName:e,id:""};return n}var Et=i["default"].extend({name:"ValidationProvider",inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver=Dt()),this.$vnode.context.$_veeObserver}}},props:{vid:{type:String,default:""},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return j().mode}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return j().bails}},skipIfEmpty:{type:Boolean,default:function(){return j().skipOptional}},debounce:{type:Number,default:0},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},customMessages:{type:Object,default:function(){return{}}},detectInput:{type:Boolean,default:!0}},watch:{rules:{deep:!0,handler:function(t,e){this._needsValidation=!et(t,e)}}},data:Ct,computed:{fieldDeps:function(){var t=this;return Object.keys(this.normalizedRules).reduce((function(e,n){var i=z(t.normalizedRules[n]).map((function(t){return m(t)?t.__locatorRef:t.slice(1)}));return e.push.apply(e,i),i.forEach((function(e){jt(t,e)})),e}),[])},normalizedEvents:function(){var t=this,e=kt(this).on;return(e||[]).map((function(e){return"input"===e?t._inputEventName:e}))},isRequired:function(){var t=r(r({},this._resolvedRules),this.normalizedRules),e=Object.keys(t).some(L.isRequireRule);return this.flags.required=!!e,e},classes:function(){var t=j().classes;return Lt(t,this.flags)},normalizedRules:function(){return I(this.rules)}},mounted:function(){var t=this,e=function(){if(t.flags.validated){var e=t._regenerateMap;if(e){var n=[],i={};return Object.keys(e).forEach((function(t){var r=e[t]();n.push(r),i[t]=r})),void t.applyResult({errors:n,failedRules:i,regenerateMap:e})}t.validate()}};tt.$on("change:locale",e),this.$on("hook:beforeDestroy",(function(){tt.$off("change:locale",e)}))},render:function(t){var e=this;this.registerField();var n=bt(this),i=_t(this,n);if(this.detectInput){var r=ct(i);r.length&&r.forEach((function(t,n){var i,r,o,a,s,c;if(_(["checkbox","radio"],null===(r=null===(i=t.data)||void 0===i?void 0:i.attrs)||void 0===r?void 0:r.type)||!(n>0)){var l=j().useConstraintAttrs?vt(t):{};et(e._resolvedRules,l)||(e._needsValidation=!0),mt(t)&&(e.fieldName=(null===(a=null===(o=t.data)||void 0===o?void 0:o.attrs)||void 0===a?void 0:a.name)||(null===(c=null===(s=t.data)||void 0===s?void 0:s.attrs)||void 0===c?void 0:c.id)),e._resolvedRules=l,Mt(e,t)}}))}return this.slim&&i.length<=1?i[0]:t(this.tag,i)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(n){e.flags[n]=t[n]}))},syncValue:function(t){var e=it(t);this.value=e,this.flags.changed=!et(this.initialValue,e)},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e=x();e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){t._pendingReset=!1}),this.debounce)},validate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(this,void 0,void 0,(function(){return a(this,(function(e){return t.length>0&&this.syncValue(t[0]),[2,xt(this)]}))}))},validateSilent:function(){return o(this,void 0,void 0,(function(){var t,e;return a(this,(function(n){switch(n.label){case 0:return this.setFlags({pending:!0}),t=r(r({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,B(this.value,t,r(r({name:this.name||this.fieldName},At(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=n.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),void 0!==e.required&&this.setFlags({required:e.required}),[2,e]}}))}))},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,n=t.failedRules,i=t.regenerateMap;this.errors=e,this._regenerateMap=i,this.failedRules=r({},n||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:!et(this.value,this.initialValue)})},registerField:function(){Pt(this)},checkComputesRequiredState:function(){var t=r(r({},this._resolvedRules),this.normalizedRules),e=Object.keys(t).some(L.isRequireRule);return e}}});function Lt(t,e){for(var n={},i=Object.keys(e),r=i.length,o=function(r){var o=i[r],a=t&&t[o]||o,s=e[o];return l(s)?"continue":"valid"!==o&&"invalid"!==o||e.validated?void("string"===typeof a?n[a]=s:Array.isArray(a)&&a.forEach((function(t){n[t]=s}))):"continue"},a=0;a<r;a++)o(a);return n}function At(t){var e=t.$_veeObserver.refs,n={names:{},values:{}};return t.fieldDeps.reduce((function(t,n){return e[n]?(t.values[n]=e[n].value,t.names[n]=e[n].name,t):t}),n)}function Ot(t){return t.vid?t.vid:t.name?t.name:t.id?t.id:t.fieldName?t.fieldName:(St++,"_vee_"+St)}function Pt(t){var e=Ot(t),n=t.id;!t.isActive||n===e&&t.$_veeObserver.refs[n]||(n!==e&&t.$_veeObserver.refs[n]===t&&t.$_veeObserver.unobserve(n),t.id=e,t.$_veeObserver.observe(t))}function Dt(){return{refs:{},observe:function(t){this.refs[t.id]=t},unobserve:function(t){delete this.refs[t]}}}function jt(t,e,n){void 0===n&&(n=!0);var i=t.$_veeObserver.refs;if(t._veeWatchers||(t._veeWatchers={}),!i[e]&&n)return t.$once("hook:mounted",(function(){jt(t,e,!1)}));!p(t._veeWatchers[e])&&i[e]&&(t._veeWatchers[e]=i[e].$watch("value",(function(){var e=t.checkComputesRequiredState();t.flags.validated&&(t._needsValidation=!0,t.validate()),e&&!t.flags.validated&&t.validateSilent()})))}var It=[["pristine","every"],["dirty","some"],["touched","some"],["untouched","every"],["valid","every"],["invalid","some"],["pending","some"],["validated","every"],["changed","some"],["passed","every"],["failed","some"]],Rt=0;function Nt(){var t={},e={},n=Vt(),i={},r=[];return{id:"",refs:t,observers:r,errors:e,flags:n,fields:i}}function Yt(){return{$_veeObserver:this}}var zt=i["default"].extend({name:"ValidationObserver",provide:Yt,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},vid:{type:String,default:function(){return"obs_"+Rt++}},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:Nt,created:function(){var t=this;this.id=this.vid,Ft(this);var e=T((function(e){var n=e.errors,i=e.flags,r=e.fields;t.errors=n,t.flags=i,t.fields=r}),16);this.$watch(Ut,e)},activated:function(){Ft(this)},deactivated:function(){Bt(this)},beforeDestroy:function(){Bt(this)},render:function(t){var e=_t(this,Ht(this));return this.slim&&e.length<=1?e[0]:t(this.tag,{on:this.$listeners},e)},methods:{observe:function(t,e){var n;void 0===e&&(e="provider"),"observer"!==e?this.refs=r(r({},this.refs),(n={},n[t.id]=t,n)):this.observers.push(t)},unobserve:function(t,e){if(void 0===e&&(e="provider"),"provider"!==e){var n=g(this.observers,(function(e){return e.id===t}));-1!==n&&this.observers.splice(n,1)}else{var i=this.refs[t];
258if(!i)return;this.$delete(this.refs,t)}},validateWithInfo:function(t){var e=(void 0===t?{}:t).silent,n=void 0!==e&&e;return o(this,void 0,void 0,(function(){var t,e,i,r,o,c;return a(this,(function(a){switch(a.label){case 0:return[4,Promise.all(s(w(this.refs).filter((function(t){return!t.disabled})).map((function(t){return t[n?"validateSilent":"validate"]().then((function(t){return t.valid}))})),this.observers.filter((function(t){return!t.disabled})).map((function(t){return t.validate({silent:n})}))))];case 1:return t=a.sent(),e=t.every((function(t){return t})),i=Ut.call(this),r=i.errors,o=i.flags,c=i.fields,this.errors=r,this.flags=o,this.fields=c,[2,{errors:r,flags:o,fields:c,isValid:e}]}}))}))},validate:function(t){var e=(void 0===t?{}:t).silent,n=void 0!==e&&e;return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return[4,this.validateWithInfo({silent:n})];case 1:return t=e.sent().isValid,[2,t]}}))}))},handleSubmit:function(t){return o(this,void 0,void 0,(function(){var e;return a(this,(function(n){switch(n.label){case 0:return[4,this.validate()];case 1:return e=n.sent(),e&&t?[2,t()]:[2]}}))}))},reset:function(){return s(w(this.refs),this.observers).forEach((function(t){return t.reset()}))},setErrors:function(t){var e=this;Object.keys(t).forEach((function(n){var i=e.refs[n];if(i){var r=t[n]||[];r="string"===typeof r?[r]:r,i.setErrors(r)}})),this.observers.forEach((function(e){e.setErrors(t)}))}}});function Bt(t){t.$_veeObserver&&t.$_veeObserver.unobserve(t.id,"observer")}function Ft(t){t.$_veeObserver&&t.$_veeObserver.observe(t,"observer")}function Ht(t){return r(r({},t.flags),{errors:t.errors,fields:t.fields,validate:t.validate,validateWithInfo:t.validateWithInfo,passes:t.handleSubmit,handleSubmit:t.handleSubmit,reset:t.reset})}function Vt(){return r(r({},x()),{valid:!0,invalid:!1})}function Ut(){for(var t=s(w(this.refs),this.observers.filter((function(t){return!t.disabled}))),e={},n=Vt(),i={},o=t.length,a=0;a<o;a++){var c=t[a];Array.isArray(c.errors)?(e[c.id]=c.errors,i[c.id]=r({id:c.id,name:c.name,failedRules:c.failedRules},c.flags)):(e=r(r({},e),c.errors),i=r(r({},i),c.fields))}return It.forEach((function(e){var i=e[0],r=e[1];n[i]=t[r]((function(t){return t.flags[i]}))})),{errors:e,flags:n,fields:i}}},"7be6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
259//! moment.js locale configuration 260var e="január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function r(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?o+(i(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodÃn"):o+"hodinami";case"d":return e||r?"deÅ":"dÅom";case"dd":return e||r?o+(i(t)?"dni":"dnÃ"):o+"dÅami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?o+(i(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?o+(i(t)?"roky":"rokov"):o+"rokmi"}}var o=t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_Å¡t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_Å¡t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo Å¡tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[vÄera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"7c73":function(t,e,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),d=">",h="<",f="prototype",p="script",m=u("IE_PROTO"),g=function(){},v=function(t){return h+p+d+t+h+"/"+p+d},_=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=l("iframe"),n="java"+p+":";if(e.style)return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},b=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}b=document.domain&&i?_(i):y()||_(i);var t=a.length;while(t--)delete b[f][a[t]];return b()};s[m]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[f]=r(t),n=new g,g[f]=null,n[m]=t):n=b(),void 0===e?n:o(n,e)}},"7d27":function(t,e,n){n("9256");var i=n("5524").Object;t.exports=function(t){return i.getOwnPropertyNames(t)}},"7d42":function(t,e,n){n("658f"),n("0b99"),t.exports=n("b1b3")},"7db0":function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),r=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),c=n("9112"),l=n("6eeb"),u=n("b622"),d=n("c430"),h=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",_="values",y="entries",b=function(){return this};t.exports=function(t,e,n,u,f,w,k){r(n,e,u);var x,T,M,S=function(t){if(t===f&&O)return O;if(!m&&t in L)return L[t];switch(t){case v:return function(){return new n(this,t)};case _:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",E=!1,L=t.prototype,A=L[g]||L["@@iterator"]||f&&L[f],O=!m&&A||S(f),P="Array"==e&&L.entries||A;if(P&&(x=o(P.call(new t)),p!==Object.prototype&&x.next&&(d||o(x)===p||(a?a(x,p):"function"!=typeof x[g]&&c(x,g,b)),s(x,C,!0,!0),d&&(h[C]=b))),f==_&&A&&A.name!==_&&(E=!0,O=function(){return A.call(this)}),d&&!k||L[g]===O||c(L,g,O),h[e]=O,f)if(T={values:S(_),keys:w?O:S(v),entries:S(y)},k)for(M in T)(m||E||!(M in L))&&l(L,M,T[M]);else i({target:e,proto:!0,forced:m||E},T);return T}},"7f33":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
261//! moment.js locale configuration 262var e=t.defineLocale("yo",{months:"SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ".split("_"),monthsShort:"SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ".split("_"),weekdays:"AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta".split("_"),weekdaysShort:"AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ".split("_"),weekdaysMin:"AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[OÌniÌ ni] LT",nextDay:"[á»Ìla ni] LT",nextWeek:"dddd [á»sáº¹Ì toÌn'bá»] [ni] LT",lastDay:"[AÌna ni] LT",lastWeek:"dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT",sameElse:"L"},relativeTime:{future:"niÌ %s",past:"%s ká»jaÌ",s:"iÌsẹjuÌ aayaÌ die",ss:"aayaÌ %d",m:"iÌsẹjuÌ kan",mm:"iÌsẹjuÌ %d",h:"waÌkati kan",hh:"waÌkati %d",d:"á»já»Ì kan",dd:"á»já»Ì %d",M:"osuÌ kan",MM:"osuÌ %d",y:"á»duÌn kan",yy:"á»duÌn %d"},dayOfMonthOrdinalParse:/á»já»Ì\s\d{1,2}/,ordinal:"á»já»Ì %d",week:{dow:1,doy:4}});return e}))},"7f9a":function(t,e,n){var i=n("da84"),r=n("8925"),o=i.WeakMap;t.exports="function"===typeof o&&/native code/.test(r(o))},8034:function(t,e,n){t.exports={default:n("b7fa"),__esModule:!0}},8119:function(t,e,n){n("693d"),n("dfe5"),n("301c"),n("4e71"),t.exports=n("5524").Symbol},8155:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,668 bytes, lines 263-264
263//! moment.js locale configuration 264function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund",r;case"m":return e?"ena minuta":"eno minuto";case"mm":return r+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami",r;case"h":return e?"ena ura":"eno uro";case"hh":return r+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami",r;case"d":return e||i?"en dan":"enim dnem";case"dd":return r+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi",r;case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci",r;case"y":return e||i?"eno leto":"enim letom";case"yy":return r+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti",r}}var n=t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._Äet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_Äe_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[vÄeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejÅ¡njo] [nedeljo] [ob] LT";case 3:return"[prejÅ¡njo] [sredo] [ob] LT";case 6:return"[prejÅ¡njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejÅ¡nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"Äez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"81d5":function(t,e,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("50c4");t.exports=function(t){var e=i(this),n=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);while(l>s)e[s++]=t;return e}},"81e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
265//! moment.js locale configuration 266var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function i(t,e,n,i){var o="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":o=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta";break}return o=r(t,i)+" "+o,o}function r(t,i){return t<10?i?n[t]:e[t]:t}var o=t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},8228:function(t,e,n){"use strict";n("159b");var i=n("4d13");function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},8230:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
267//! moment.js locale configuration 268var e={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=t.defineLocale("ar-sa",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(t){return"Ù "===t},meridiem:function(t,e,n){return t<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ ",dd:"%d Ø£ÙØ§Ù ",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/Ø/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"Ø")},week:{dow:0,doy:6}});return i}))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"829a":function(t,e,n){"use strict";n("ac1f"),n("5319"),n("841c");var i=n("4d13");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"82da":function(t,e,n){var i=n("23e7"),r=n("ebb5"),o=r.NATIVE_ARRAY_BUFFER_VIEWS;i({target:"ArrayBuffer",stat:!0,forced:!o},{isView:r.isView})},"82f8":function(t,e,n){"use strict";var i=n("ebb5"),r=n("4d64").includes,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("includes",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},8362:function(t,e){t.exports=i;var n=Object.prototype.toString;function i(t){if(!t)return!1;var e=n.call(t);return"[object Function]"===e||"function"===typeof t&&"[object RegExp]"!==e||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var i=n("d925"),r=n("e683");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},8418:function(t,e,n){"use strict";var i=n("a04b"),r=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},"841c":function(t,e,n){"use strict";var i=n("d784"),r=n("825a"),o=n("1d80"),a=n("129f"),s=n("577e"),c=n("14c3");i("search",(function(t,e,n){return[function(e){var n=o(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](s(n))},function(t){var i=r(this),o=s(t),l=n(e,i,o);if(l.done)return l.value;var u=i.lastIndex;a(u,0)||(i.lastIndex=0);var d=c(i,o);return a(i.lastIndex,u)||(i.lastIndex=u),null===d?-1:d.index}]}))},8437:function(t,e,n){"use strict";n("159b"),n("d3b7");var i=n("4d13"),r=n("00ed"),o=n("40da"),a=n("f548");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=i.merge
vendor: 1,576 bytes, line 268
268(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"848b":function(t,e,n){"use strict";var i=n("4a0c"),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=i.version.split(".");function s(t,e){for(var n=e?e.split("."):a,i=t.split("."),r=0;r<3;r++){if(n[r]>i[r])return!0;if(n[r]<i[r])return!1}return!1}function c(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var i=Object.keys(t),r=i.length;while(r-- >0){var o=i[r],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}r.transitional=function(t,e,n){var r=e&&s(e);function a(t,e){return"[Axios v"+i.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,s){if(!1===t)throw new Error(a(i," has been removed in "+e));return r&&!o[i]&&(o[i]=!0,console.warn(a(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,s)}},t.exports={isOlderVersion:s,assertOptions:c,validators:r}},"84aa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
269//! moment.js locale configuration 270var e=t.defineLocale("bg",{months:"ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐ½ÐµÑ Ð²] LT",nextDay:"[УÑÑе в] LT",nextWeek:"dddd [в] LT",lastDay:"[ÐÑеÑа в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐиналаÑа] dddd [в] LT";case 1:case 2:case 4:case 5:return"[ÐиналиÑ] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"Ñлед %s",past:"пÑеди %s",s:"нÑколко ÑекÑнди",ss:"%d ÑекÑнди",m:"минÑÑа",mm:"%d минÑÑи",h:"ÑаÑ",hh:"%d ÑаÑа",d:"ден",dd:"%d дена",w:"ÑедмиÑа",ww:"%d ÑедмиÑи",M:"меÑеÑ",MM:"%d меÑеÑа",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-Ñи":1===e?t+"-ви":2===e?t+"-Ñи":7===e||8===e?t+"-ми":t+"-Ñи"},week:{dow:1,doy:7}});return e}))},"857a":function(t,e,n){var i=n("1d80"),r=n("577e"),o=/"/g;t.exports=function(t,e,n,a){var s=r(i(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+r(a).replace(o,""")+'"'),c+">"+s+"</"+e+">"}},"85e7":function(t,e,n){var i=n("1a14"),r=n("77e9"),o=n("9876");t.exports=n("0bad")?Object.defineProperties:function(t,e){r(t);var n,a=o(e),s=a.length,c=0;while(s>c)i.f(t,n=a[c++],e[n]);return t}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8689:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
271//! moment.js locale configuration 272var e={1:"á",2:"á",3:"á",4:"á",5:"á ",6:"á",7:"á",8:"á",9:"á",0:"á"},n={"á":"1","á":"2","á":"3","á":"4","á ":"5","á":"6","á":"7","á":"8","á":"9","á":"0"},i=t.defineLocale("my",{months:"áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬".split("_"),monthsShort:"áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á ááº_á¡á±á¬ááº_ááá¯_áá®".split("_"),weekdays:"ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á áá±".split("_"),weekdaysShort:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),weekdaysMin:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ááá±.] LT [áá¾á¬]",nextDay:"[ááááºáá¼ááº] LT [áá¾á¬]",nextWeek:"dddd LT [áá¾á¬]",lastDay:"[ááá±.á] LT [áá¾á¬]",lastWeek:"[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]",sameElse:"L"},relativeTime:{future:"áá¬áááºá· %s áá¾á¬",past:"áá½ááºáá²á·áá±á¬ %s á",s:"á áá¹áááº.á¡áááºá¸áááº",ss:"%d á áá¹ááá·áº",m:"áá áºáááá áº",mm:"%d áááá áº",h:"áá áºáá¬áá®",hh:"%d áá¬áá®",d:"áá áºáááº",dd:"%d áááº",M:"áá áºá",MM:"%d á",y:"áá áºáá¾á áº",yy:"%d áá¾á áº"},preparse:function(t){return t.replace(/[ááááá ááááá]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return i}))},"871b":function(t,e,n){"use strict";n("bf19"),n("b0c0"),n("a4d3"),n("e01a"),t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}}
272,8771:function(t,e,n){var i=n("cc15")("iterator"),r=!1;try{var o=[7][i]();o["return"]=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(a){}return n}},8840:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 273//! moment.js locale configuration 274var e=t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"88e1":function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return k})),n.d(e,"c",(function(){return M}));var i=n("4990"),r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)}; 275/*! 276FullCalendar Day Grid Plugin v4.4.2 277Docs & License: https://fullcalendar.io/ 278(c) 2019 Adam Shaw 279*/ 280/*! ***************************************************************************** 281Copyright (c) Microsoft Corporation. 282 283Permission to use, copy, modify, and/or distribute this software for any 284purpose with or without fee is hereby granted. 285 286THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 287REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 288AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 289INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 290LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 291OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 292PERFORMANCE OF THIS SOFTWARE. 293***************************************************************************** */function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.buildRenderRange=function(e,n,r){var o,a=this.dateEnv,s=t.prototype.buildRenderRange.call(this,e,n,r),c=s.start,l=s.end;if(/^(year|month)$/.test(n)&&(c=a.startOfWeek(c),o=a.startOfWeek(l),o.valueOf()!==l.valueOf()&&(l=Object(i["p"])(o,1))),this.options.monthMode&&this.options.fixedWeekCount){var u=Math.ceil(Object(i["I"])(c,l));l=Object(i["p"])(l,6-u)}return{start:c,end:l}},e}(i["c"]),c=function(){function t(t){var e=this;this.isHidden=!0,this.margin=10,this.documentMousedown=function(t){e.el&&!e.el.contains(t.target)&&e.hide()},this.options=t}return t.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.style.display="",this.position(),this.isHidden=!1,this.trigger("show"))},t.prototype.hide=function(){this.isHidden||(this.el.style.display="none",this.isHidden=!0,this.trigger("hide"))},t.prototype.render=function(){var t=this,e=this.options,n=this.el=Object(i["D"])("div",{className:"fc-popover "+(e.className||""),style:{to
293p:"0",left:"0"}});"function"===typeof e.content&&e.content(n),e.parentEl.appendChild(n),Object(i["V"])(n,"click",".fc-close",(function(e){t.hide()})),e.autoHide&&document.addEventListener("mousedown",this.documentMousedown)},t.prototype.destroy=function(){this.hide(),this.el&&(Object(i["cb"])(this.el),this.el=null),document.removeEventListener("mousedown",this.documentMousedown)},t.prototype.position=function(){var t,e,n=this.options,r=this.el,o=r.getBoundingClientRect(),a=Object(i["B"])(r.offsetParent),s=Object(i["x"])(n.parentEl);t=n.top||0,e=void 0!==n.left?n.left:void 0!==n.right?n.right-o.width:0,t=Math.min(t,s.bottom-o.height-this.margin),t=Math.max(t,s.top+this.margin),e=Math.min(e,s.right-o.width-this.margin),e=Math.max(e,s.left+this.margin),Object(i["r"])(r,{top:t-a.top,left:e-a.left})},t.prototype.trigger=function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},t}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.renderSegHtml=function(t,e){var n,r,o=this.context,a=t.eventRange,s=a.def,c=a.ui,l=s.allDay,u=Object(i["y"])(o,s,c),d=l&&t.isStart&&Object(i["A"])(o,s,c),h=l&&t.isEnd&&Object(i["z"])(o,s,c),f=this.getSegClasses(t,u,d||h,e),p=Object(i["G"])(this.getSkinCss(c)),m="";return f.unshift("fc-day-grid-event","fc-h-event"),t.isStart&&(n=this.getTimeText(a),n&&(m='<span class="fc-time">'+Object(i["Q"])(n)+"</span>")),r='<span class="fc-title">'+(Object(i["Q"])(s.title||"")||" ")+"</span>",'<a class="'+f.join(" ")+'"'+(s.url?' href="'+Object(i["Q"])(s.url)+'"':"")+(p?' style="'+p+'"':"")+'><div class="fc-content">'+("rtl"===o.options.dir?r+" "+m:m+" "+r)+"</div>"+(d?'<div class="fc-resizer fc-start-resizer"></div>':"")+(h?'<div class="fc-resizer fc-end-resizer"></div>':"")+"</a>"},e.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}},e.prototype.computeDisplayEventEnd=function(){return!1},e}(i["g"]),u=function(t){function e(e){var n=t.call(this)||this;return n.dayGrid=e,n}return o(e,t),e.prototype.attachSegs=function(t,e){var n=this.rowStructs=this.renderSegRows(t);this.dayGrid.rowEls.forEach((function(t,e){t.querySelector(".fc-content-skeleton > table").appendChild(n[e].tbodyEl)})),e||this.dayGrid.removeSegPopover()},e.prototype.detachSegs=function(){var t,e=this.rowStructs||[];while(t=e.pop())Object(i["cb"])(t.tbodyEl);this.rowStructs=null},e.prototype.renderSegRows=function(t){var e,n,i=[];for(e=this.groupSegRows(t),n=0;n<e.length;n++)i.push(this.renderSegRow(n,e[n]));return i},e.prototype.renderSegRow=function(t,e){var n,r,o,a,s,c,l,u=this.context.isRtl,d=this.dayGrid,h=d.colCnt,f=this.buildSegLevels(e),p=Math.max(1,f.length),m=document.createElement("tbody"),g=[],v=[],_=[];function y(t){while(o<t)l=(_[n-1]||[])[o],l?l.rowSpan=(l.rowSpan||1)+1:(l=document.createElement("td"),a.appendChild(l)),v[n][o]=l,_[n][o]=l,o++}for(n=0;n<p;n++){if(r=f[n],o=0,a=document.createElement("tr"),g.push([]),v.push([]),_.push([]),r)for(s=0;s<r.length;s++){c=r[s];var b=u?h-1-c.lastCol:c.firstCol,w=u?h-1-c.firstCol:c.lastCol;y(b),l=Object(i["D"])("td",{className:"fc-event-container"},c.el),b!==w?l.colSpan=w-b+1:_[n][o]=l;while(o<=w)v[n][o]=l,g[n][o]=c,o++;a.appendChild(l)}y(h);var k=d.renderProps.renderIntroHtml();k&&(u?Object(i["q"])(a,k):Object(i["ab"])(a,k)),m.appendChild(a)}return{row:t,tbodyEl:m,cellMatrix:v,segMatrix:g,segLevels:f,segs:e}},e.prototype.buildSegLevels=function(t){var e,n,i,r=this.context.isRtl,o=this.dayGrid.colCnt,a=[];for(t=this.sortEventSegs(t),e=0;e<t.length;e++){for(n=t[e],i=0;i<a.length;i++)if(!d(n,a[i]))break;n.level=i,n.leftCol=r?o-1-n.lastCol:n.firstCol,n.rightCol=r?o-1-n.firstCol:n.lastCol,(a[i]||(a[i]=[])).push(n)}for(i=0;i<a.length;i++)a[i].sort(h);return a},e.prototype.groupSegRows=function(t){var e,n=[];for(e=0;e<this.dayGrid.rowCnt;e++)n.push([]);for(e=0;e<t.length;e++)n[t[e].row].push(t[e]);return n},e.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},e}(l);function d(t,e){var n,i;for(n=0;n<e.length;n++)if(i=e[n],i.firstCol<=t.lastCol&&i.lastCol>=t.firstCol)return!0;return!1}function h(t,e){return t.leftCol-e.leftCol}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.attachSegs=function(t,e){var n=e.sourceSeg,r=this.rowStructs=this.renderSegRows(t);
293this.dayGrid.rowEls.forEach((function(t,e){var o,a,s=Object(i["R"])('<div class="fc-mirror-skeleton"><table></table></div>');n&&n.row===e?o=n.el:(o=t.querySelector(".fc-content-skeleton tbody"),o||(o=t.querySelector(".fc-content-skeleton table"))),a=o.getBoundingClientRect().top-t.getBoundingClientRect().top,s.style.top=a+"px",s.querySelector("table").appendChild(r[e].tbodyEl),t.appendChild(s)}))},e}(u),p='<td style="pointer-events:none"></td>',m=function(t){function e(e){var n=t.call(this)||this;return n.fillSegTag="td",n.dayGrid=e,n}return o(e,t),e.prototype.renderSegs=function(e,n,i){"bgEvent"===e&&(i=i.filter((function(t){return t.eventRange.def.allDay}))),t.prototype.renderSegs.call(this,e,n,i)},e.prototype.attachSegs=function(t,e){var n,i,r,o=[];for(n=0;n<e.length;n++)i=e[n],r=this.renderFillRow(t,i),this.dayGrid.rowEls[i.row].appendChild(r),o.push(r);return o},e.prototype.renderFillRow=function(t,e){var n,r,o,a=this.dayGrid,s=this.context.isRtl,c=a.colCnt,l=s?c-1-e.lastCol:e.firstCol,u=s?c-1-e.firstCol:e.lastCol,d=l,h=u+1;n="businessHours"===t?"bgevent":t.toLowerCase(),r=Object(i["R"])('<div class="fc-'+n+'-skeleton"><table><tr></tr></table></div>'),o=r.getElementsByTagName("tr")[0],d>0&&Object(i["q"])(o,new Array(d+1).join(p)),e.el.colSpan=h-d,o.appendChild(e.el),h<c&&Object(i["q"])(o,new Array(c-h+1).join(p));var f=a.renderProps.renderIntroHtml();return f&&(s?Object(i["q"])(o,f):Object(i["ab"])(o,f)),r},e}(i["h"]),g=function(t){function e(e){var n=t.call(this,e)||this,r=n.eventRenderer=new v(n),o=n.renderFrame=Object(i["Y"])(n._renderFrame);return n.renderFgEvents=Object(i["Y"])(r.renderSegs.bind(r),r.unrender.bind(r),[o]),n.renderEventSelection=Object(i["Y"])(r.selectByInstanceId.bind(r),r.unselectByInstanceId.bind(r),[n.renderFgEvents]),n.renderEventDrag=Object(i["Y"])(r.hideByHash.bind(r),r.showByHash.bind(r),[o]),n.renderEventResize=Object(i["Y"])(r.hideByHash.bind(r),r.showByHash.bind(r),[o]),n}return o(e,t),e.prototype.firstContext=function(t){t.calendar.registerInteractiveComponent(this,{el:this.el,useEventCenter:!1})},e.prototype.render=function(t,e){this.renderFrame(t.date),this.renderFgEvents(e,t.fgSegs),this.renderEventSelection(t.eventSelection),this.renderEventDrag(t.eventDragInstances),this.renderEventResize(t.eventResizeInstances)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderFrame.unrender(),this.context.calendar.unregisterInteractiveComponent(this)},e.prototype._renderFrame=function(t){var e=this.context,n=e.theme,r=e.dateEnv,o=e.options,a=r.format(t,Object(i["E"])(o.dayPopoverFormat));this.el.innerHTML='<div class="fc-header '+n.getClass("popoverHeader")+'"><span class="fc-title">'+Object(i["Q"])(a)+'</span><span class="fc-close '+n.getIconClass("close")+'"></span></div><div class="fc-body '+n.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>',this.segContainerEl=this.el.querySelector(".fc-event-container")},e.prototype.queryHit=function(t,e,n,r){var o=this.props.date;if(t<n&&e<r)return{component:this,dateSpan:{allDay:!0,range:{start:o,end:Object(i["n"])(o,1)}},dayEl:this.el,rect:{left:0,top:0,right:n,bottom:r},layer:1}},e}(i["b"]),v=function(t){function e(e){var n=t.call(this)||this;return n.dayTile=e,n}return o(e,t),e.prototype.attachSegs=function(t){for(var e=0,n=t;e<n.length;e++){var i=n[e];this.dayTile.segContainerEl.appendChild(i.el)}},e.prototype.detachSegs=function(t){for(var e=0,n=t;e<n.length;e++){var r=n[e];Object(i["cb"])(r.el)}},e}(l),_=function(){function t(t){this.context=t}return t.prototype.renderHtml=function(t){var e=[];t.renderIntroHtml&&e.push(t.renderIntroHtml());for(var n=0,i=t.cells;n<i.length;n++){var r=i[n];e.push(y(r.date,t.dateProfile,this.context,r.htmlAttrs))}return t.cells.length||e.push('<td class="fc-day '+this.context.theme.getClass("widgetContent")+'"></td>'),"rtl"===this.context.options.dir&&e.reverse(),"<tr>"+e.join("")+"</tr>"},t}();function y(t,e,n,r){var o=n.dateEnv,a=n.theme,s=Object(i["bb"])(e.activeRange,t),c=Object(i["O"])(t,e,n);return c.unshift("fc-day",a.getClass("widgetContent")),'<td class="'+c.join(" ")+'"'+(s?' data-date="'+o.formatIso(t,{omitTime:!0})+'"':"")+(r?" "+r:"")+"></td>"}var b=Object(i["E"])({day:"numeric"}),w=Object(i["E"])({week:"numeric"}),k=function(t){function e(e,n){var r=t.call(this,e)||this;r.bottomCoordPadding=0,r.isCellSizesDirty=!1,r.renderProps=n;var o=r.eventRenderer=new u(r),a=r.fillRenderer=new m(r);r.mirrorRenderer=new f(r);var s=r.renderCells=Object(i["Y"])(r._renderCells,r._unrenderCells);return r.renderBusinessHours=Object(i["Y"])(a.renderSegs.bind(a,"businessHours"),a.unrender.bind(a,"businessHours"),[s]),r.renderDateSelection=Object(i["Y"])(a.renderSegs.bind(a,"highlight"),a.unrender.bind(a,"highlight"),[s]),r.renderBgEvents=Object(i["Y"])(a.renderSegs.bind(a,"bgEvent"),a.unrender.bind(a,"bgEvent"),[s]),r.renderFgEvents=Object(i["Y"])(o.renderSegs.bind(o),o.unrender.bind(o),[s]),r.renderEventSelection=Object(i["Y"])(o.selectByInstanceId.bind(o),o.unselectByInstanceId.bind(o),[r.renderFgEvents]),r.renderEventDrag=Object(i["Y"])(r._renderEventDrag,r._unrenderEventDrag,[s]),r.renderEventResize=Object(i["Y"])(r._renderEventResize,r._unrenderEventResize,[s]),r}return o(e,t),e.prototype.render=function(t,e){var n=t.cells;this.rowCnt=n.length,this.colCnt=n[0].length,this.renderCells(n,t.isRigid),this.renderBusinessHours(e,t.businessHourSegs),this.renderDateSelection(e,t.dateSelectionSegs),this.renderBgEvents(e,t.bgEventSegs),this.renderFgEvents(e,t.fgEventSegs),this.renderEventSelection(t.eventSelection),this.renderEventDrag(t.eventDrag),this.renderEventResize(t.eventResize),this.segPopoverTile&&this.updateSegPopoverTile()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderCells.unrender()},e.prototype.getCellRange=function(t,e){var n=this.props.cells[t][e].date,r=Object(i["n"])(n,1);return{start:n,end:r}},e.prototype.updateSegPopoverTile=function(t,e){var n=this.props;
293this.segPopoverTile.receiveProps({date:t||this.segPopoverTile.props.date,fgSegs:e||this.segPopoverTile.props.fgSegs,eventSelection:n.eventSelection,eventDragInstances:n.eventDrag?n.eventDrag.affectedInstances:null,eventResizeInstances:n.eventResize?n.eventResize.affectedInstances:null},this.context)},e.prototype._renderCells=function(t,e){var n,r,o=this.context,a=o.calendar,s=o.view,c=o.isRtl,l=o.dateEnv,u=this,d=u.rowCnt,h=u.colCnt,f="";for(n=0;n<d;n++)f+=this.renderDayRowHtml(n,e);for(this.el.innerHTML=f,this.rowEls=Object(i["L"])(this.el,".fc-row"),this.cellEls=Object(i["L"])(this.el,".fc-day, .fc-disabled-day"),c&&this.cellEls.reverse(),this.rowPositions=new i["i"](this.el,this.rowEls,!1,!0),this.colPositions=new i["i"](this.el,this.cellEls.slice(0,h),!0,!1),n=0;n<d;n++)for(r=0;r<h;r++)a.publiclyTrigger("dayRender",[{date:l.toDate(t[n][r].date),el:this.getCellEl(n,r),view:s}]);this.isCellSizesDirty=!0},e.prototype._unrenderCells=function(){this.removeSegPopover()},e.prototype.renderDayRowHtml=function(t,e){var n=this.context.theme,i=["fc-row","fc-week",n.getClass("dayRow")];e&&i.push("fc-rigid");var r=new _(this.context);return'<div class="'+i.join(" ")+'"><div class="fc-bg"><table class="'+n.getClass("tableGrid")+'">'+r.renderHtml({cells:this.props.cells[t],dateProfile:this.props.dateProfile,renderIntroHtml:this.renderProps.renderBgIntroHtml})+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(t)+"</thead>":"")+"</table></div></div>"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.renderProps.cellWeekNumbersVisible||this.renderProps.colWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){var e=this.context.isRtl,n=this.renderProps.renderNumberIntroHtml(t,this);return"<tr>"+(e?"":n)+this.renderNumberCellsHtml(t)+(e?n:"")+"</tr>"},e.prototype.renderNumberCellsHtml=function(t){var e,n,i=[];for(e=0;e<this.colCnt;e++)n=this.props.cells[t][e].date,i.push(this.renderNumberCellHtml(n));return this.context.isRtl&&i.reverse(),i.join("")},e.prototype.renderNumberCellHtml=function(t){var e,n,r=this.context,o=r.dateEnv,a=r.options,s="",c=Object(i["bb"])(this.props.dateProfile.activeRange,t),l=this.getIsDayNumbersVisible()&&c;return l||this.renderProps.cellWeekNumbersVisible?(e=Object(i["O"])(t,this.props.dateProfile,this.context),e.unshift("fc-day-top"),this.renderProps.cellWeekNumbersVisible&&(n=o.weekDow),s+='<td class="'+e.join(" ")+'"'+(c?' data-date="'+o.formatIso(t,{omitTime:!0})+'"':"")+">",this.renderProps.cellWeekNumbersVisible&&t.getUTCDay()===n&&(s+=Object(i["t"])(a,o,{date:t,type:"week"},{class:"fc-week-number"},o.format(t,w))),l&&(s+=Object(i["t"])(a,o,t,{class:"fc-day-number"},o.format(t,b))),s+="</td>",s):"<td></td>"},e.prototype.updateSize=function(t){var e=this.context.calendar,n=this,i=n.fillRenderer,r=n.eventRenderer,o=n.mirrorRenderer;(t||this.isCellSizesDirty||e.isEventsUpdated)&&(this.buildPositionCaches(),this.isCellSizesDirty=!1),i.computeSizes(t),r.computeSizes(t),o.computeSizes(t),i.assignSizes(t),r.assignSizes(t),o.assignSizes(t)},e.prototype.buildPositionCaches=function(){this.buildColPositions(),this.buildRowPositions()},e.prototype.buildColPositions=function(){this.colPositions.build()},e.prototype.buildRowPositions=function(){this.rowPositions.build(),this.rowPositions.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.positionToHit=function(t,e){var n=this,i=n.colPositions,r=n.rowPositions,o=i.leftToIndex(t),a=r.topToIndex(e);if(null!=a&&null!=o)return{row:a,col:o,dateSpan:{range:this.getCellRange(a,o),allDay:!0},dayEl:this.getCellEl(a,o),relativeRect:{left:i.lefts[o],right:i.rights[o],top:r.tops[a],bottom:r.bottoms[a]}}},e.prototype.getCellEl=function(t,e){return this.cellEls[t*this.colCnt+e]},e.prototype._renderEventDrag=function(t){t&&(this.eventRenderer.hideByHash(t.affectedInstances),this.fillRenderer.renderSegs("highlight",this.context,t.segs))},e.prototype._unrenderEventDrag=function(t){t&&(this.eventRenderer.showByHash(t.affectedInstances),this.fillRenderer.unrender("highlight",this.context))},e.prototype._renderEventResize=function(t){t&&(this.eventRenderer.hideByHash(t.affectedInstances),this.fillRenderer.renderSegs("highlight",this.context,t.segs),this.mirrorRenderer.renderSegs(this.context,t.segs,{isResizing:!0,sourceSeg:t.sourceSeg}))},e.prototype._unrenderEventResize=function(t){t&&(this.eventRenderer.showByHash(t.affectedInstances),this.fillRenderer.unrender("highlight",this.context),this.mirrorRenderer.unrender(this.context,t.segs,{isResizing:!0,sourceSeg:t.sourceSeg}))},e.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},e.prototype.limitRows=function(t){var e,n,i=this.eventRenderer.rowStructs||[];for(e=0;e<i.length;e++)this.unlimitRow(e),n=!!t&&("number"===typeof t?t:this.computeRowLevelLimit(e)),!1!==n&&this.limitRow(e,n)},e.prototype.computeRowLevelLimit=function(t){var e,n,r=this.rowEls[t],o=r.getBoundingClientRect().bottom,a=Object(i["K"])(this.eventRenderer.rowStructs[t].tbodyEl);for(e=0;e<a.length;e++)if(n=a[e],n.classList.remove("fc-limited"),n.getBoundingClientRect().bottom>o)return e;return!1},e.prototype.limitRow=function(t,e){var n,r,o,a,s,c,l,u,d,h,f,p,m,g,v,_=this,y=this.colCnt,b
293=this.context.isRtl,w=this.eventRenderer.rowStructs[t],k=[],x=0,T=function(n){while(x<n)c=_.getCellSegs(t,x,e),c.length&&(d=r[e-1][x],v=_.renderMoreLink(t,x,c),g=Object(i["D"])("div",null,v),d.appendChild(g),k.push(g)),x++};if(e&&e<w.segLevels.length){for(n=w.segLevels[e-1],r=w.cellMatrix,o=Object(i["K"])(w.tbodyEl).slice(e),o.forEach((function(t){t.classList.add("fc-limited")})),a=0;a<n.length;a++){s=n[a];var M=b?y-1-s.lastCol:s.firstCol,S=b?y-1-s.firstCol:s.lastCol;T(M),u=[],l=0;while(x<=S)c=this.getCellSegs(t,x,e),u.push(c),l+=c.length,x++;if(l){for(d=r[e-1][M],h=d.rowSpan||1,f=[],p=0;p<u.length;p++)m=Object(i["D"])("td",{className:"fc-more-cell",rowSpan:h}),c=u[p],v=this.renderMoreLink(t,M+p,[s].concat(c)),g=Object(i["D"])("div",null,v),m.appendChild(g),f.push(m),k.push(m);d.classList.add("fc-limited"),Object(i["S"])(d,f),o.push(d)}}T(this.colCnt),w.moreEls=k,w.limitedEls=o}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.forEach(i["cb"]),e.moreEls=null),e.limitedEls&&(e.limitedEls.forEach((function(t){t.classList.remove("fc-limited")})),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,n){var r=this,o=this.context,a=o.calendar,s=o.view,c=o.dateEnv,l=o.options,u=o.isRtl,d=Object(i["D"])("a",{className:"fc-more"});return d.innerText=this.getMoreLinkText(n.length),d.addEventListener("click",(function(i){var o=l.eventLimitClick,d=u?r.colCnt-e-1:e,h=r.props.cells[t][d].date,f=i.currentTarget,p=r.getCellEl(t,e),m=r.getCellSegs(t,e),g=r.resliceDaySegs(m,h),v=r.resliceDaySegs(n,h);"function"===typeof o&&(o=a.publiclyTrigger("eventLimitClick",[{date:c.toDate(h),allDay:!0,dayEl:p,moreEl:f,segs:g,hiddenSegs:v,jsEvent:i,view:s}])),"popover"===o?r.showSegPopover(t,e,f,g):"string"===typeof o&&a.zoomTo(h,o)})),d},e.prototype.showSegPopover=function(t,e,n,r){var o,a,s=this,l=this.context,u=l.calendar,d=l.view,h=l.theme,f=l.isRtl,p=f?this.colCnt-e-1:e,m=n.parentNode;o=1===this.rowCnt?d.el:this.rowEls[t],a={className:"fc-more-popover "+h.getClass("popover"),parentEl:d.el,top:Object(i["B"])(o).top,autoHide:!0,content:function(e){s.segPopoverTile=new g(e),s.updateSegPopoverTile(s.props.cells[t][p].date,r)},hide:function(){s.segPopoverTile.destroy(),s.segPopoverTile=null,s.segPopover.destroy(),s.segPopover=null}},f?a.right=Object(i["B"])(m).right+1:a.left=Object(i["B"])(m).left-1,this.segPopover=new c(a),this.segPopover.show(),u.releaseAfterSizingTriggers()},e.prototype.resliceDaySegs=function(t,e){for(var n=e,r=Object(i["n"])(n,1),o={start:n,end:r},s=[],c=0,l=t;c<l.length;c++){var u=l[c],d=u.eventRange,h=d.range,f=Object(i["T"])(h,o);f&&s.push(a({},u,{eventRange:{def:d.def,ui:a({},d.ui,{durationEditable:!1}),instance:d.instance,range:f},isStart:u.isStart&&f.start.valueOf()===h.start.valueOf(),isEnd:u.isEnd&&f.end.valueOf()===h.end.valueOf()}))}return s},e.prototype.getMoreLinkText=function(t){var e=this.context.options.eventLimitText;return"function"===typeof e?e(t):"+"+t+" "+e},e.prototype.getCellSegs=function(t,e,n){var i,r=this.eventRenderer.rowStructs[t].segMatrix,o=n||0,a=[];while(o<r.length)i=r[o][e],i&&a.push(i),o++;return a},e}(i["b"]),x=Object(i["E"])({week:"numeric"}),T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.processOptions=Object(i["X"])(e._processOptions),e.renderSkeleton=Object(i["Y"])(e._renderSkeleton,e._unrenderSkeleton),e.renderHeadIntroHtml=function(){var t=e.context,n=t.theme,r=t.options;return e.colWeekNumbersVisible?'<th class="fc-week-number '+n.getClass("widgetHeader")+'" '+e.weekNumberStyleAttr()+"><span>"+Object(i["Q"])(r.weekLabel)+"</span></th>":""},e.renderDayGridNumberIntroHtml=function(t,n){var r=e.context,o=r.options,a=r.dateEnv,s=n.props.cells[t][0].date;return e.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+">"+Object(i["t"])(o,a,{date:s,type:"week",forceOff:1===n.colCnt},a.format(s,x))+"</td>":""},e.renderDayGridBgIntroHtml=function(){var t=e.context.theme;return e.colWeekNumbersVisible?'<td class="fc-week-number '+t.getClass("widgetContent")+'" '+e.weekNumberStyleAttr()+"></td>":""},e.renderDayGridIntroHtml=function(){return e.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+"></td>":""},e}return o(e,t),e.prototype._processOptions=function(t){t.weekNumbers?t.weekNumbersWithinDays?(this.cellWeekNumbersVisible=!0,this.colWeekNumbersVisible=!1):(this.cellWeekNumbersVisible=!1,this.colWeekNumbersVisible=!0):(this.colWeekNumbersVisible=!1,this.cellWeekNumbersVisible=!1)},e.prototype.render=function(e,n){t.prototype.render.call(this,e,n),this.processOptions(n.options),this.renderSkeleton(n)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderSkeleton.unrender()},e.prototype._renderSkeleton=function(t){this.el.classList.add("fc-dayGrid-view"),this.el.innerHTML=this.renderSkeletonHtml(),this.scroller=new i["j"]("hidden","auto");var e=this.scroller.el;this.el.querySelector(".fc-body > tr > td").appendChild(e),e.classList.add("fc-day-grid-container");var n=Object(i["D"])("div",{className:"fc-day-grid"});e.appendChild(n),this.dayGrid=new k(n,{renderNumberIntroHtml:this.renderDayGridNumberIntroHtml,renderBgIntroHtml:this.renderDayGridBgIntroHtml,renderIntroHtml:this.renderDayGridIntroHtml,colWeekNumbersVisible:this.colWeekNumbersVisible,cellWeekNumbersVisible:this.cellWeekNumbersVisible})},e.prototype._unrenderSkeleton=function(){this.el.classList.remove("fc-dayGrid-view"),this.dayGrid.destroy(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.context,e=t.theme,n=t.options;return'<table class="'+e.getClass("tableGrid")+'">'+(n.columnHeader?'<thead class="fc-head"><tr><td class="fc-head-container '+e.getClass("widgetHeader")+'"> </td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+e.getClass("widgetContent")+'"></td></tr></tbody></table>'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.context.options.eventLimit;return t&&"number"!==typeof t},e.prototype.updateSize=function(e,n,i){t.prototype.updateSize.call(this,e,n,i),this.dayGrid.updateSize(e)},e.prototype.updateBaseSize=function(t,e,n){var r,o,a=this.dayGrid,s=this.context.options.eventLimit,c=this.header?this.header.el:null;a.rowEls?(this.colWeekNumbersVisible&&(this.weekNumberWidth=Object(i["W"])(Object(i["L"])(this.el,".fc-week-number"))),this.scroller.clear(),c&&Object(i["gb"])(c),a.removeSegPopover(),s&&"number"===typeof s&&a.limitRows(s),r=this.computeScrollerHeight(e),this.setGridHeight(r,n),s&&"number"!==typeof s&&a.limitRows(s),n||(this.scroller.setHeight(r),o=this.scroller.getScrollbarWidths(),(o.left||o.right)&&(c&&Object(i["w"])(c,o),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(o))):n||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r))},e.prototype.computeScrollerHeight=function(t){return t-Object(i["fb"])(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){this.context.options.monthMode?(e&&(t*=this.dayGrid.rowCnt/6),Object(i["J"])(this.dayGrid.rowEls,t,!e)):e?Object(i["hb"])(this.dayGrid.rowEls):Object(i["J"])(this.dayGrid.rowEls,t,!0)},e.prototype.computeDateScroll=function(t){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(i["m"]);T.prototype.dateProfileGeneratorClass=s;var M=function(t){function e(e){var n=t.call(this,e.el)||this;return n.slicer=new S,n.dayGrid=e,n}return o(e,t),e.prototype.firstContext=function(t){t.calendar.registerInteractiveComponent(this,{el:this.dayGrid.el})},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.context.calendar.unregisterInteractiveComponent(this)},e.prototype.render=function(t,e){var n=this.dayGrid,i=t.dateProfile,r=t.dayTable;n.receiveContext(e),n.receiveProps(a({},this.slicer.sliceProps(t,i,t.nextDayThreshold,e.calendar,n,r),{dateProfile:i,cells:r.cells,isRigid:t.isRigid}),e)},e.prototype.buildPositionCaches=function(){this.dayGrid.buildPositionCaches()},e.prototype.queryHit=function(t,e){var n=this.dayGrid.positionToHit(t,e);if(n)return{component:this.dayGrid,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},e}(i["b"]),S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sliceRange=function(t,e){return e.sliceRange(t)},e}(i["k"]),C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildDayTable=Object(i["X"])(E),e}return o(e,t),e.prototype.render=function(e,n){t.prototype.render.call(this,e,n);var i=this.props.dateProfile,r=this.dayTable=this.buildDayTable(i,e.dateProfileGenerator);this.header&&this.header.receiveProps({dateProfile:i,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt,renderIntroHtml:this.renderHeadIntroHtml},n),this.simpleDayGrid.receiveProps({dateProfile:i,dayTable:r,businessHours:e.businessHours,dateSelection:e.dateSelection,eventStore:e.eventStore,eventUiBases:e.eventUiBases,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.context.nextDayThreshold},n)},e.prototype._renderSkeleton=function(e){t.prototype._renderSkeleton.call(this,e),e.options.columnHeader&&(this.header=new i["d"](this.el.querySelector(".fc-head-container"))),this.simpleDayGrid=new M(this.dayGrid)},e.prototype._unrenderSkeleton=function(){t.prototype._unrenderSkeleton.call(this),this.header&&this.header.destroy(),this.simpleDayGrid.destroy()},e}(T);function E(t,e){var n=new i["e"](t.renderRange,e);return new i["f"](n,/year|month|week/.test(t.currentRangeUnit))}var L=Object(i["F"])({defaultView:"dayGridMonth",views:{dayGrid:C,dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e["d"]=L},8925:function(t,e,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return r.call(t)}),t.exports=i.inspectSource},"898b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 37,551 bytes, lines 294-304
294//! moment.js locale configuration 295var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return o}))},"899e":function(t,e,n){var i=n("051b");t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},"8a0d":function(t,e){t.exports={}},"8a8d":function(t,e,n){t.exports={default:n("0d37"),__esModule:!0}},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"8aa7":function(t,e,n){var i=n("da84"),r=n("d039"),o=n("1c7e"),a=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,c=i.Int8Array;t.exports=!a||!r((function(){c(1)}))||!r((function(){new c(-1)}))||!o((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||r((function(){return 1!==new c(new s(2),1,void 0).length}))},"8aab":function(t,e,n){var i=n("6aa8"),r=n("cc15")("iterator"),o=n("8a0d");t.exports=n("5524").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},"8b1a":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"8c10":function(t,e){function n(t,e){var n,i=null;try{n=JSON.parse(t,e)}catch(r){i=r}return[i,n]}t.exports=n},"8c4f":function(t,e,n){"use strict"; 296/*! 297 * vue-router v3.5.2 298 * (c) 2021 Evan You 299 * @license MIT 300 */function i(t,e){0}function r(t,e){for(var n in e)t[n]=e[n];return t}var o=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,c=function(t){return encodeURIComponent(t).replace(o,a).replace(s,",")};function l(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var i,r=n||h;try{i=r(t||"")}catch(s){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(d):d(a)}return i}var d=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=l(n.shift()),r=n.length>0?l(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function f(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return c(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(c(e)):i.push(c(e)+"="+c(t)))})),i.join("&")}return c(e)+"="+c(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function m(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=g(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:y(e,r),matched:t?_(t):[]};return n&&(a.redirectedFrom=y(n,r)),Object.freeze(a)}function g(t){if(Array.isArray(t))return t.map(g);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=g(t[n]);return e}return t}var v=m(null,{path:"/"});function _(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function y(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var o=e||f;return(n||"/")+o(i)+r}function b(t,e,n){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&(n||t.hash===e.hash&&w(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&w(t.query,e.query)&&w(t.params,e.params))))}function w(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,r){var o=t[n],a=i[r];if(a!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?w(o,s):String(o)===String(s)}))}function k(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&x(t.query,e.query)}function x(t,e){for(var n in e)if(!(n in t))return!1;return!0}function T(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var M={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;var s=o.$createElement,c=n.name,l=o.$route,u=o._routerViewCache||(o._routerViewCache={}),d=0,h=!1;while(o&&o._routerRoot!==o){var f=o.$vnode?o.$vnode.data:{};f.routerView&&d++,f.keepAlive&&o._directInactive&&o._inactive&&(h=!0),o=o.$parent}if(a.routerViewDepth=d,h){var p=u[c],m=p&&p.component;return m?(p.configProps&&S(m,a,p.route,p.configProps),s(m,a,i)):s()}var g=l.matched[d],v=g&&g.components[c];if(!g||!v)return u[c]=null,s();u[c]={component:v},a.registerRouteInstance=function(t,e){var n=g.instances[c];(e&&n!==t||!e&&n===t)&&(g.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[c]&&(g.instances[c]=t.componentInstance),T(l)};var _=g.props&&g.props[c];return _&&(r(u[c],{route:l,configProps:_}),S(v,a,l,_)),s(v,a,i)}};function S(t,e,n,i){var o=e.props=C(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function C(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function E(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function L(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function A(t){return t.replace(/\/\//g,"/")}var O=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=J,D=Y,j=z,I=H,R=Z,N=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Y(t,e){var n,i=[],r=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=N.exec(t))){var c=n[0],l=n[1],u=n.index;if(a+=t.slice(o,u),o=u+c.length,l)a+=l[1];else{var d=t[o],h=n[2],f=n[3],p=n[4],m=n[5],g=n[6],v=n[7];a&&(i.push(a),a="");var _=null!=h&&null!=d&&d!==h,y="+"===g||"*"===g,b="?"===g||"*"===g,w=n[2]||s,k=p||m;i.push({name:f||r++,prefix:h||"",delimiter:w,optional:b,repeat:y,partial:_,asterisk:!!v,pattern:k?U(k):v?".*":"[^"+V(w)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&i.push(a),i}function z(t,e){return H(Y(t,e),e)}function B(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function F(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function H(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",$(e)));return function(e,i){for(var r="",o=e||{},a=i||{},s=a.pretty?B:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!==typeof l){var u,d=o[l.name];if(null==d){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(O(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(u=s(d[h]),!n[c].test(u))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===h?l.prefix:l.delimiter)+u}}else{if(u=l.asterisk?F(d):s(d),!n[c].test(u))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+u+'"');r+=l.prefix+u}}else r+=l}return r}}function V(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function U(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function W(t,e){return t.keys=e,t}function $(t){return t&&t.sensitive?"":"i"}function X(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return W(t,e)}function q(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(J(t[r],e,n).source);var o=new RegExp("(?:"+i.join("|")+")",$(n));return W(o,e)}function G(t,e,n){return Z(Y(t,n),e,n)}function Z(t,e,n){O(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)o+=V(s);else{var c=V(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+c+l+")*"),l=s.optional?s.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")",o+=l}}var u=V(n.delimiter||"/"),d=o.slice(-u.length)===u;return i||(o=(d?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":i&&d?"":"(?="+u+"|$)",W(new RegExp("^"+o,$(n)),e)}function J(t,e,n){return O(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?X(t,e):O(t)?q(t,e,n):G(t,e,n)}P.parse=D,P.compile=j,P.tokensToFunction=I,P.tokensToRegExp=R;var K=Object.create(null);function Q(t,e,n){e=e||{};try{var i=K[t]||(K[t]=P.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function tt(t,e,n,i){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=r({},t);var a=o.params;return a&&"object"===typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){o=r({},o),o._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;o.path=Q(c,s,"path "+e.path)}else 0;return o}var l=L(o.path||""),d=e&&e.path||"/",h=l.path?E(l.path,d,n||o.append):d,f=u(l.query,o.query,i&&i.options.parseQuery),p=o.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:h,query:f,hash:p}}var et,nt=[String,Object],it=[String,Array],rt=function(){},ot={name:"RouterLink",props:{to:{type:nt,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:it,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,c=o.href,l={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=null==u?"router-link-active":u,f=null==d?"router-link-exact-active":d,p=null==this.activeClass?h:this.activeClass,g=null==this.exactActiveClass?f:this.exactActiveClass,v=s.redirectedFrom?m(null,tt(s.redirectedFrom),null,n):s;l[g]=b(i,v,this.exactPath),l[p]=this.exact||this.exactPath?l[g]:k(i,v);var _=l[g]?this.ariaCurrentValue:null,y=function(t){at(t)&&(e.replace?n.replace(a,rt):n.push(a,rt))},w={click:at};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=y})):w[this.event]=y;var x={class:l},T=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:y,isActive:l[p],isExactActive:l[g]});if(T){if(1===T.length)return T[0];if(T.length>1||!T.length)return 0===T.length?t():t("span",{},T)}if("a"===this.tag)x.on=w,x.attrs={href:c,"aria-current":_};else{var M=st(this.$slots.default);if(M){M.isStatic=!1;var S=M.data=r({},M.data);for(var C in S.on=S.on||{},S.on){var E=S.on[C];C in w&&(S.on[C]=Array.isArray(E)?E:[E])}for(var L in w)L in S.on?S.on[L].push(w[L]):S.on[L]=y;var A=M.data.attrs=r({},M.data.attrs);A.href=c,A["aria-current"]=_}else x.on=w}return t(this.tag,x,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=st(e.children)))return e}}function ct(t){if(!ct.installed||et!==t){ct.installed=!0,et=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",M),t.component("RouterLink",ot);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var lt="undefined"!==typeof window;function ut(t,e,n,i,r){var o=e||[],a=n||Object.create(null),s=i||Object.create(null);t.forEach((function(t){dt(o,a,s,t,r)}));for(var c=0,l=o.length;c<l;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),l--,c--);return{pathList:o,pathMap:a,nameMap:s}}function dt(t,e,n,i,r,o){var a=i.path,s=i.name;var c=i.pathToRegexpOptions||{},l=ft(a,r,c.strict);"boolean"===typeof i.caseSensitive&&(c.sensitive=i.caseSensitive);var u={path:l,regex:ht(l,c),components:i.components||{default:i.component},alias:i.alias?"string"===typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:s,parent:r,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=o?A(o+"/"+i.path):void 0;dt(t,e,n,i,u,r)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==i.alias)for(var d=Array.isArray(i.alias)?i.alias:[i.alias],h=0;h<d.length;++h){var f=d[h];0;var p={path:f,children:i.children};dt(t,e,n,p,r,u.path||"/")}s&&(n[s]||(n[s]=u))}function ht(t,e){var n=P(t,[],e);return n}function ft(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:A(e.path+"/"+t)}function pt(t,e){var n=ut(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(t){ut(t,i,r,o)}function s(t,e){var n="object"!==typeof t?o[t]:void 0;ut([e||t],i,r,o,n),n&&n.alias.length&&ut(n.alias.map((function(t){return{path:t,children:[e]}})),i,r,o,n)}function c(){return i.map((function(t){return r[t]}))}function l(t,n,a){var s=tt(t,n,!1,e),c=s.name;if(c){var l=o[c];if(!l)return h(null,s);var u=l.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var d in n.params)!(d in s.params)&&u.indexOf(d)>-1&&(s.params[d]=n.params[d]);return s.path=Q(l.path,s.params,'named route "'+c+'"'),h(l,s,a)}if(s.path){s.params={};for(var f=0;f<i.length;f++){var p=i[f],m=r[p];if(mt(m.regex,s.path,s.params))return h(m,s,a)}}return h(null,s)}function u(t,n){var i=t.redirect,r="function"===typeof i?i(m(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return h(null,n);var a=r,s=a.name,c=a.path,u=n.query,d=n.hash,f=n.params;if(u=a.hasOwnProperty("query")?a.query:u,d=a.hasOwnProperty("hash")?a.hash:d,f=a.hasOwnProperty("params")?a.params:f,s){o[s];return l({_normalized:!0,name:s,query:u,hash:d,params:f},void 0,n)}if(c){var p=gt(c,t),g=Q(p,f,'redirect route with path "'+p+'"');return l({_normalized:!0,path:g,query:u,hash:d},void 0,n)}return h(null,n)}function d(t,e,n){var i=Q(n,e.params,'aliased route with path "'+n+'"'),r=l({_normalized:!0,path:i});if(r){var o=r.matched,a=o[o.length-1];return e.params=r.params,h(a,e)}return h(null,e)}function h(t,n,i){return t&&t.redirect?u(t,i||n):t&&t.matchAs?d(t,n,t.matchAs):m(t,n,i,e)}return{match:l,addRoute:s,getRoutes:c,addRoutes:a}}function mt(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=t.keys[r-1];a&&(n[a.name||"pathMatch"]="string"===typeof i[r]?l(i[r]):i[r])}return!0}function gt(t,e){return E(t,e.parent?e.parent.path:"/",!0)}var vt=lt&&window.performance&&window.performance.now?window.performance:Date;function _t(){return vt.now().toFixed(3)}var yt=_t();function bt(){return yt}function wt(t){return yt=t}var kt=Object.create(null);function xt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=bt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",St),function(){window.removeEventListener("popstate",St)}}function Tt(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var o=Ct(),a=r.call(t,e,n,i?o:null);a&&("function"===typeof a.then?a.then((function(t){jt(t,o)})).catch((function(t){0})):jt(a,o))}))}}function Mt(){var t=bt();t&&(kt[t]={x:window.pageXOffset,y:window.pageYOffset})}function St(t){Mt(),t.state&&t.state.key&&wt(t.state.key)}function Ct(){var t=bt();if(t)return kt[t]}function Et(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function Lt(t){return Pt(t.x)||Pt(t.y)}function At(t){return{x:Pt(t.x)?t.x:window.pageXOffset,y:Pt(t.y)?t.y:window.pageYOffset}}function Ot(t){return{x:Pt(t.x)?t.x:0,y:Pt(t.y)?t.y:0}}function Pt(t){return"number"===typeof t}var Dt=/^#\d/;function jt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Dt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=Ot(r),e=Et(i,r)}else Lt(t)&&(e=At(t))}else n&&Lt(t)&&(e=At(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var It=lt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Rt(t,e){Mt();var n=window.history;try{if(e){var i=r({},n.state);i.key=bt(),n.replaceState(i,"",t)}else n.pushState({key:wt(_t())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function Nt(t){Rt(t,!0)}function Yt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}var zt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Bt(t,e){return Ut(t,e,zt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+$t(e)+'" via a navigation guard.')}function Ft(t,e){var n=Ut(t,e,zt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Ut(t,e,zt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Vt(t,e){return Ut(t,e,zt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Ut(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var Wt=["params","query","hash"];function $t(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Wt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Xt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function qt(t,e){return Xt(t)&&t._isRouter&&(null==e||t.type===e)}function Gt(t){return function(e,n,i){var r=!1,o=0,a=null;Zt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){r=!0,o++;var c,l=te((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,o--,o<=0&&i()})),u=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Xt(t)?t:new Error(e),i(a))}));try{c=t(l,u)}catch(h){u(h)}if(c)if("function"===typeof c.then)c.then(l,u);else{var d=c.component;d&&"function"===typeof d.then&&d.then(l,u)}}})),r||i()}}function Zt(t,e){return Jt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Jt(t){return Array.prototype.concat.apply([],t)}var Kt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Kt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(lt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ie(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function re(t,e,n,i){var r=Zt(t,(function(t,i,r,o){var a=oe(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,i,r,o)})):n(a,i,r,o)}));return Jt(i?r.reverse():r)}function oe(t,e){return"function"!==typeof t&&(t=et.extend(t)),t.options[e]}function ae(t){return re(t,"beforeRouteLeave",ce,!0)}function se(t){return re(t,"beforeRouteUpdate",ce)}function ce(t,e){if(e)return function(){return t.apply(e,arguments)}}function le(t){return re(t,"beforeRouteEnter",(function(t,e,n,i){return ue(t,n,i)}))}function ue(t,e,n){return function(i,r,o){return t(i,r,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}ee.prototype.listen=function(t){this.cb=t},ee.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ee.prototype.onError=function(t){this.errorCbs.push(t)},ee.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(qt(t,zt.redirected)&&o===v||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},ee.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var a=function(t){!qt(t)&&Xt(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):(i(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)},s=t.matched.length-1,c=o.matched.length-1;if(b(t,o)&&s===c&&t.matched[s]===o.matched[c])return this.ensureURL(),a(Ft(o,t));var l=ie(this.current.matched,t.matched),u=l.updated,d=l.deactivated,h=l.activated,f=[].concat(ae(d),this.router.beforeHooks,se(u),h.map((function(t){return t.beforeEnter})),Gt(h)),p=function(e,n){if(r.pending!==t)return a(Ht(o,t));try{e(t,o,(function(e){!1===e?(r.ensureURL(!0),a(Vt(o,t))):Xt(e)?(r.ensureURL(!0),a(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(a(Bt(o,t)),"object"===typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(i){a(i)}};Yt(f,p,(function(){var n=le(h),i=n.concat(r.router.resolveHooks);Yt(i,p,(function(){if(r.pending!==t)return a(Ht(o,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){T(t)}))}))}))},ee.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},ee.prototype.setupListeners=function(){},ee.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=v,this.pending=null};var de=function(t){function e(e,n){t.call(this,e,n),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=It&&n;i&&this.listeners.push(xt());var r=function(){var n=t.current,r=he(t.base);t.current===v&&r===t._startLocation||t.transitionTo(r,(function(t){i&&Tt(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){Rt(A(i.base+t.fullPath)),Tt(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){Nt(A(i.base+t.fullPath)),Tt(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=A(this.base+this.current.fullPath);t?Rt(e):Nt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(ee);function he(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(A(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var fe=function(t){function e(e,n,i){t.call(this,e,n),i&&pe(this.base)||me()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=It&&n;i&&this.listeners.push(xt());var r=function(){var e=t.current;me()&&t.transitionTo(ge(),(function(n){i&&Tt(t.router,n,e,!0),It||ye(n.fullPath)}))},o=It?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){_e(t.fullPath),Tt(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){ye(t.fullPath),Tt(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?_e(e):ye(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(ee);function pe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(A(t+"/#"+e)),!0}function me(){var t=ge();return"/"===t.charAt(0)||(ye("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ve(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function _e(t){It?Rt(ve(t)):window.location.hash=t}function ye(t){It?Nt(ve(t)):window.location.replace(ve(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){qt(t,zt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),we=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!It&&!1!==t.fallback,this.fallback&&(e="hash"),lt||(e="abstract"),this.mode=e,e){case"history":this.history=new de(this,t.base);break;case"hash":this.history=new fe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},ke={currentRoute:{configurable:!0}};function xe(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Te(t,e,n){var i="hash"===n?"#"+e:e;return t?A(t+"/"+i):i}we.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ke.currentRoute.get=function(){return this.history&&this.history.current},we.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof de||n instanceof fe){var i=function(t){var i=n.current,r=e.options.scrollBehavior,o=It&&r;o&&"fullPath"in t&&Tt(e,t,i,!1)},r=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},we.prototype.beforeEach=function(t){return xe(this.beforeHooks,t)},we.prototype.beforeResolve=function(t){return xe(this.resolveHooks,t)},we.prototype.afterEach=function(t){return xe(this.afterHooks,t)},we.prototype.onReady=function(t,e){this.history.onReady(t,e)},we.prototype.onError=function(t){this.history.onError(t)},we.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},we.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},we.prototype.go=function(t){this.history.go(t)},we.prototype.back=function(){this.go(-1)},we.prototype.forward=function(){this.go(1)},we.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},we.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=tt(t,e,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=Te(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},we.prototype.getRoutes=function(){return this.matcher.getRoutes()},we.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},we.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(we.prototype,ke),we.install=ct,we.version="3.5.2",we.isNavigationFailure=qt,we.NavigationFailureType=zt,we.START_LOCATION=v,lt&&window.Vue&&window.Vue.use(we),e["a"]=we},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 301//! moment.js locale configuration 302function e(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}var n=t.defineLocale("el",{monthsNominativeEl:"ÎÎ±Î½Î¿Ï Î¬ÏιοÏ_ΦεβÏÎ¿Ï Î¬ÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏÎ³Î¿Ï ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ".split("_"),monthsGenitiveEl:"ÎÎ±Î½Î¿Ï Î±ÏÎ¯Î¿Ï _ΦεβÏÎ¿Ï Î±ÏÎ¯Î¿Ï _ÎαÏÏÎ¯Î¿Ï _ÎÏÏÎ¹Î»Î¯Î¿Ï _ÎαÎÎ¿Ï _ÎÎ¿Ï Î½Î¯Î¿Ï _ÎÎ¿Ï Î»Î¯Î¿Ï _ÎÏ Î³Î¿ÏÏÏÎ¿Ï _ΣεÏÏεμβÏÎ¯Î¿Ï _ÎκÏÏβÏÎ¯Î¿Ï _ÎοεμβÏÎ¯Î¿Ï _ÎεκεμβÏÎ¯Î¿Ï ".split("_"),months:function(t,e){return t?"string"===typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎÎ¿Ï Î½_ÎÎ¿Ï Î»_ÎÏ Î³_ΣεÏ_ÎκÏ_Îοε_Îεκ".split("_"),weekdays:"ÎÏ Ïιακή_ÎÎµÏ ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏÎºÎµÏ Î®_ΣάββαÏο".split("_"),weekdaysShort:"ÎÏ Ï_ÎÎµÏ _ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ".split("_"),weekdaysMin:"ÎÏ _Îε_ΤÏ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ÎÎ":n?"Ïμ":"Î Î"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[Î Î]\.?Î?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[ΣήμεÏα {}] LT",nextDay:"[ÎÏÏιο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Î§Î¸ÎµÏ {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[Ïο ÏÏοηγοÏμενο] dddd [{}] LT";default:return"[Ïην ÏÏοηγοÏμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,n){var i=this._calendarEl[t],r=n&&n.hours();return e(i)&&(i=i.apply(n)),i.replace("{}",r%12===1?"ÏÏη":"ÏÏιÏ")},relativeTime:{future:"Ïε %s",past:"%s ÏÏιν",s:"λίγα Î´ÎµÏ ÏεÏÏλεÏÏα",ss:"%d Î´ÎµÏ ÏεÏÏλεÏÏα",m:"Îνα λεÏÏÏ",mm:"%d λεÏÏά",h:"μία ÏÏα",hh:"%d ÏÏεÏ",d:"μία μÎÏα",dd:"%d μÎÏεÏ",M:"ÎÎ½Î±Ï Î¼Î®Î½Î±Ï",MM:"%d μήνεÏ",y:"ÎÎ½Î±Ï ÏÏÏνοÏ",yy:"%d ÏÏÏνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"8d57":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 303//! moment.js locale configuration 304var e="styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(t){return t%10<5&&t%10>1&&~~(t/10)%10!==1}function o(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutÄ";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzinÄ";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesiÄ ce":"miesiÄcy");case"yy":return i+(r(t)?"lata":"lat")}}var a=t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_År_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_År_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DziÅ o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielÄ o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W ÅrodÄ o] LT";case 6:return"[W sobotÄ o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszÅÄ niedzielÄ o] LT";case 3:return"[W zeszÅÄ ÅrodÄ o] LT";case 6:return"[W zeszÅÄ sobotÄ o] LT";default:return"[W zeszÅy] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzieÅ",dd:"%d dni",w:"tydzieÅ",ww:o,M:"miesiÄ c",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"8df4":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
305//! moment.js locale configuration 306var e={1:"Û±",2:"Û²",3:"Û³",4:"Û´",5:"Ûµ",6:"Û¶",7:"Û·",8:"Û¸",9:"Û¹",0:"Û°"},n={"Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","Û°":"0"},i=t.defineLocale("fa",{months:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر".split("_"),monthsShort:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر".split("_"),weekdays:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysShort:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_ج_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/,isPM:function(t){return/بعد از Ø¸ÙØ±/.test(t)},meridiem:function(t,e,n){return t<12?"ÙØ¨Ù از Ø¸ÙØ±":"بعد از Ø¸ÙØ±"},calendar:{sameDay:"[Ø§Ù Ø±ÙØ² ساعت] LT",nextDay:"[ÙØ±Ø¯Ø§ ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[Ø¯ÛØ±Ùز ساعت] LT",lastWeek:"dddd [Ù¾ÛØ´] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s Ù¾ÛØ´",s:"ÚÙØ¯ ثاÙÛÙ",ss:"%d ثاÙÛÙ",m:"ÛÚ© دÙÛÙÙ",mm:"%d دÙÛÙÙ",h:"ÛÚ© ساعت",hh:"%d ساعت",d:"ÛÚ© Ø±ÙØ²",dd:"%d Ø±ÙØ²",M:"ÛÚ© ٠اÙ",MM:"%d ٠اÙ",y:"ÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(t){return t.replace(/[Û°-Û¹]/g,(function(t){return n[t]})).replace(/Ø/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"Ø")},dayOfMonthOrdinalParse:/\d{1,2}Ù /,ordinal:"%dÙ ",week:{dow:6,doy:12}});return i}))},"8df4b":function(t,e,n){"use strict";var i=n("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e5c":function(t,e,n){var i=n("ef08"),r=i.navigator;t.exports=r&&r.userAgent||""},"8e5f":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(49)("wks"),r=n(30),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){var i=n(5);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(0),r=n(10),o=n(8),a=n(6),s=n(11),c=function(t,e,n){var l,u,d,h,f=t&c.F,p=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,_=p?i:m?i[e]||(i[e]={}):(i[e]||{}).prototype,y=p?r:r[e]||(r[e]={}),b=y.prototype||(y.prototype={});for(l in p&&(n=e),n)u=!f&&_&&void 0!==_[l],d=(u?_:n)[l],h=v&&u?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,_&&a(_,l,d,t&c.U),y[l]!=d&&o(y,l,h),g&&b[l]!=d&&(b[l]=d)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(0),r=n(8),o=n(12),a=n(30)("src"),s=Function.toString,c=(""+s).split("toString");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||r(n,a,t[e]?""+t[e]:c.join(String(e)))
vendor: 42,981 bytes, line 306
306),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(13),r=n(25);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(14);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(2),r=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var i=n(7);t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var i=n(23),r=n(16);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(53),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(11),r=n(23),o=n(28),a=n(19),s=n(64);t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,d=6==t,h=5==t||d,f=e||s;return function(e,s,p){for(var m,g,v=o(e),_=r(v),y=i(s,p,3),b=a(_.length),w=0,k=n?f(e,b):c?f(e,0):void 0;b>w;w++)if((h||w in _)&&(m=_[w],g=y(m,w,v),t))if(n)k[w]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(u)return!1;return d?-1:l||u?u:k}}},function(t,e,n){var i=n(5),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(13).f,r=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(49)("keys"),r=n(30);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(5);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){"use strict";var i=n(0),r=n(12),o=n(9),a=n(67),s=n(29),c=n(7),l=n(77).f,u=n(45).f,d=n(13).f,h=n(51).trim,f=i.Number,p=f,m=f.prototype,g="Number"==o(n(44)(m)),v="trim"in String.prototype,_=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():h(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var a,c=e.slice(2),l=0,u=c.length;l<u;l++)if((a=c.charCodeAt(l))<48||a>r)return NaN;return parseInt(c,i)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(g?c((function(){m.valueOf.call(n)})):"Number"!=o(n))?a(new p(_(e)),n,f):_(e)};for(var y,b=n(4)?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)r(p,y=b[w])&&!r(f,y)&&d(f,y,u(p,y));f.prototype=m,m.constructor=f,n(6)(i,"Number",f)}},function(t,e,n){"use strict";function i(t){return 0!==t&&(!(!Array.isArray(t)||0!==t.length)||!t)}function r(t){return function(){return!t.apply(void 0,arguments)}}function o(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}function a(t,e,n,i){return t.filter((function(t){return o(i(t,n),e)}))}function s(t){return t.filter((function(t){return!t.$isLabel}))}function c(t,e){return function(n){return n.reduce((function(n,i){return i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n}),[])}}function l(t,e,i,r,o){return function(s){return s.map((function(s){var c;if(!s[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=a(s[i],t,e,o);return l.length?(c={},n.i(p.a)(c,r,s[r]),n.i(p.a)(c,i,l),c):[]}))}}var u=n(59),d=n(54),h=(n.n(d),n(95)),f=(n.n(h),n(31)),p=(n.n(f),n(58)),m=n(91),g=(n.n(m),n(98)),v=(n.n(g),n(92)),_=(n.n(v),n(88)),y=(n.n(_),n(97)),b=(n.n(y),n(89)),w=(n.n(b),n(96)),k=(n.n(w),n(93)),x=(n.n(k),n(90)),T=(n.n(x),function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}});e.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(t,e){return i(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var t=this.search||"",e=t.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):a(n,e,this.label,this.customLabel):this.groupValues?c(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(r(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.internalValue.map((function(e){return e[t.trackBy]})):this.internalValue},optionKeys:function(){var t=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(e){return t.customLabel(e,t.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(t,e,n){return T(l(e,n,this.groupValues,this.groupLabel,this.customLabel),c(this.groupValues,this.groupLabel))(t)},flatAndStrip:function(t){return T(c(this.groupValues,this.groupLabel),s)(t)},updateSearch:function(t){this.search=t},isExistingOption:function(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(i(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return i(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var i=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",i,this.id)}else{var r=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",r,this.id),this.$emit("input",this.internalValue.concat(r),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var i="object"===n.i(u.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var r=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("input",r,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var i=n(54),r=(n.n(i),n(31));n.n(r),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var i=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",e=t.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var i=n(36),r=n(74),o=n(15),a=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var i=n(31),r=(n.n(i),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[r.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var i=n(1)("unscopables"),r=Array.prototype;void 0==r[i]&&n(8)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(18),r=n(19),o=n(85);t.exports=function(t){return function(e,n,a){var s,c=i(e),l=r(c.length),u=o(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var i=n(9),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){"use strict";var i=n(2);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(9);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=r(e),this.reject=r(n)}var r=n(14);t.exports.f=function(t){return new i(t)}},function(t,e,n){var i=n(2),r=n(76),o=n(22),a=n(27)("IE_PROTO"),s=function(){},c=function(){var t,e=n(21)("iframe"),i=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(79),r=n(25),o=n(18),a=n(29),s=n(12),c=n(41),l=Object.getOwnPropertyDescriptor;e.f=n(4)?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(12),r=n(18),o=n(37)(!1),a=n(27)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);for(;e.length>c;)i(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var i=n(46),r=n(22);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(2),r=n(5),o=n(43);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var i=n(10),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(2),r=n(14),o=n(1)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},function(t,e,n){var i=n(3),r=n(16),o=n(7),a=n(84),s="["+a+"]",c="âÂ
",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var r={},s=o((function(){return!!a[t]()||c[t]()!=c})),l=r[t]=s?e(h):a[t];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},h=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},function(t,e,n){var i,r,o,a=n(11),s=n(68),c=n(40),l=n(21),u=n(0),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},_=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){_.call(t.data)};h&&f||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete v[t]},"process"==n(9)(d)?i=function(t){d.nextTick(a(_,t,1))}:m&&m.now?i=function(t){m.now(a(_,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=y,i=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):i="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:h,clear:f}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){"use strict";var i=n(3),r=n(20)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(t,e,n){"use strict";var i,r,o,a,s=n(24),c=n(0),l=n(11),u=n(38),d=n(3),h=n(5),f=n(14),p=n(61),m=n(66),g=n(50),v=n(52).set,_=n(75)(),y=n(43),b=n(80),w=n(86),k=n(48),x=c.TypeError,T=c.process,M=T&&T.versions,S=M&&M.v8||"",C=c.Promise,E="process"==u(T),L=function(){},A=r=y.f,O=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==S.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;_((function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(r||(2==t._h&&R(t),t._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),a=!0)),n===e.promise?l(x("Promise-chain cycle")):(o=P(n))?o.call(n,c,l):c(n)):l(i)}catch(t){u&&!a&&u.exit(),l(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){v.call(c,(function(){var e,n,i,r=t._v,o=I(t);if(o&&(e=b((function(){E?T.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)})),t._h=E||I(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){v.call(c,(function(){var e;E?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},Y=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=P(t))?_((function(){var i={_w:n,_d:!1};try{e.call(t,l(Y,i,1),l(N,i,1))}catch(t){N.call(i,t)}})):(n._v=t,n._s=1,D(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};O||(C=function(t){p(this,C,"Promise","_h"),f(t),i.call(this);try{t(l(Y,this,1),l(N,this,1))}catch(t){N.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(81)(C.prototype,{then:function(t,e){var n=A(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(Y,t,1),this.reject=l(N,t,1)},y.f=A=function(t){return t===C||t===a?new o(t):r(t)}),d(d.G+d.W+d.F*!O,{Promise:C}),n(26)(C,"Promise"),n(83)("Promise"),a=n(10).Promise,d(d.S+d.F*!O,"Promise",{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!O),"Promise",{resolve:function(t){return k(s&&this===a?C:this,t)}}),d(d.S+d.F*!(O&&n(73)((function(t){C.all(t).catch(L)}))),"Promise",{all:function(t){var e=this,n=A(e),i=n.resolve,r=n.reject,o=b((function(){var n=[],o=0,a=1;m(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=A(e),i=n.reject,r=b((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},function(t,e,n){"use strict";var i=n(3),r=n(10),o=n(0),a=n(50),s=n(48);i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";function i(t){n(99)}var r=n(35),o=n(101),a=n(100),s=i,c=a(r.a,o.a,!1,s,null,null);e.a=c.exports},function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return(r="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}e.a=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(34),r=(n.n(i),n(55)),o=(n.n(r),n(56)),a=(n.n(o),n(57)),s=n(32),c=n(33);n.d(e,"Multiselect",(function(){return a.a})),n.d(e,"multiselectMixin",(function(){return s.a})),n.d(e,"pointerMixin",(function(){return c.a})),e.default=a.a},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(14),r=n(28),o=n(23),a=n(19);t.exports=function(t,e,n,s,c){i(e);var l=r(t),u=o(l),d=a(l.length),h=c?d-1:0,f=c?-1:1;if(n<2)for(;;){if(h in u){s=u[h],h+=f;break}if(h+=f,c?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:d>h;h+=f)h in u&&(s=e(s,u[h],h,l));return s}},function(t,e,n){var i=n(5),r=n(42),o=n(1)("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(63);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){"use strict";var i=n(8),r=n(6),o=n(7),a=n(16),s=n(1);t.exports=function(t,e,n){var c=s(t),l=n(a,c,""[t]),u=l[0],d=l[1];o((function(){var e={};return e[c]=function(){return 7},7!=""[t](e)}))&&(r(String.prototype,t,u),i(RegExp.prototype,c,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)}))}},function(t,e,n){var i=n(11),r=n(70),o=n(69),a=n(2),s=n(19),c=n(87),l={},u={};e=t.exports=function(t,e,n,d,h){var f,p,m,g,v=h?function(){return t}:c(t),_=i(n,d,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=s(t.length);f>y;y++)if((g=e?_(a(p=t[y])[0],p[1]):_(t[y]))===l||g===u)return g}else for(m=v.call(t);!(p=m.next()).done;)if((g=r(m,_,p.value,e))===l||g===u)return g};e.BREAK=l,e.RETURN=u},function(t,e,n){var i=n(5),r=n(82).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(15),r=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(2);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){"use strict";var i=n(44),r=n(25),o=n(26),a={};n(8)(a,n(1)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var i=n(24),r=n(3),o=n(6),a=n(8),s=n(15),c=n(71),l=n(26),u=n(78),d=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,p,m,g,v){c(n,e,p);var _,y,b,w=function(t){if(!h&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",x="values"==m,T=!1,M=t.prototype,S=M[d]||M["@@iterator"]||m&&M[m],C=S||w(m),E=m?x?w("entries"):C:void 0,L="Array"==e&&M.entries||S;if(L&&(b=u(L.call(new t)))!==Object.prototype&&b.next&&(l(b,k,!0),i||"function"==typeof b[d]||a(b,d,f)),x&&S&&"values"!==S.name&&(T=!0,C=function(){return S.call(this)}),i&&!v||!h&&!T&&M[d]||a(M,d,C),s[e]=C,s[k]=f,m)if(_={values:x?C:w("values"),keys:g?C:w("keys"),entries:E},v)for(y in _)y in M||o(M,y,_[y]);else r(r.P+r.F*(h||T),e,_);return _}},function(t,e,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(0),r=n(52).set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,c="process"==n(9)(a);t.exports=function(){var t,e,n,l=function(){var i,r;for(c&&(i=a.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){a.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){r.call(i,l)};else{var d=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},function(t,e,n){var i=n(13),r=n(2),o=n(47);t.exports=n(4)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,c=0;s>c;)i.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var i=n(46),r=n(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(12),r=n(28),o=n(27)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var i=n(6);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){var i=n(5),r=n(2),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var i=n(0),r=n(13),o=n(4),a=n(1)("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(t,e,n){var i=n(53),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(0),r=i.navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var i=n(38),r=n(1)("iterator"),o=n(15);t.exports=n(10).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){"use strict";var i=n(3),r=n(20)(2);i(i.P+i.F*!n(17)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(3),r=n(37)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(17)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,n){var i=n(3);i(i.S,"Array",{isArray:n(42)})},function(t,e,n){"use strict";var i=n(3),r=n(20)(1);i(i.P+i.F*!n(17)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(3),r=n(62);i(i.P+i.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(i,"toString",(function(){var t=o.call(this);return t===t?r.call(this):"Invalid Date"}))},function(t,e,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(t,e,n){n(65)("search",1,(function(t,e,n){return[function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},n]}))},function(t,e,n){"use strict";n(94);var i=n(2),r=n(39),o=n(4),a=/./.toString,s=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(7)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(t,e,n){"use strict";n(51)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){for(var i=n(34),r=n(47),o=n(6),a=n(0),s=n(8),c=n(15),l=n(1),u=l("iterator"),d=l("toStringTag"),h=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var g,v=p[m],_=f[v],y=a[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,h),b[d]||s(b,d,v),c[v]=h,_))for(g in i)b[g]||o(b,g,i[g],!0)}},function(t,e){},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=i),l){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=l,u.render=function(t,e){return l.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"multiselect",class:{"multiselect--active":t.isOpen,"multiselect--disabled":t.disabled,"multiselect--above":t.isAbove},attrs:{tabindex:t.searchable?-1:t.tabindex},on:{focus:function(e){t.activate()},blur:function(e){!t.searchable&&t.deactivate()},keydown:[function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerForward()):null},function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerBackward()):null}],keypress:function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:(e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e))},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()}}},[t._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}}})],{toggle:t.toggle}),t._v(" "),t._t("clear",null,{search:t.search}),t._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[t._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[t._l(t.visibleValues,(function(e,i){return[t._t("tag",[n("span",{key:i,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:t._s(t.getOptionLabel(e))}}),t._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&t._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),t.removeElement(e)},mousedown:function(n){n.preventDefault(),t.removeElement(e)}}})])],{option:e,search:t.search,remove:t.removeElement})]}))],2),t._v(" "),t.internalValue&&t.internalValue.length>t.limit?[t._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})])]:t._e()],{search:t.search,remove:t.removeElement,values:t.visibleValues,isOpen:t.isOpen}),t._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),t._v(" "),t.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:t.inputStyle,attrs:{name:t.name,id:t.id,type:"text",autocomplete:"nope",placeholder:t.placeholder,disabled:t.disabled,tabindex:t.tabindex},domProps:{value:t.search},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()},keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.pointerForward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.pointerBackward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete"]))return null;e.stopPropagation(),t.removeLastElement()}],keypress:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e)):null}}}):t._e(),t._v(" "),t.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("singleLabel",[[t._v(t._s(t.currentOptionLabel))]],{option:t.singleValue})],2):t._e(),t._v(" "),t.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("placeholder",[t._v("\n "+t._s(t.placeholder)+"\n ")])],2):t._e()],2),t._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:t.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:t.activate,mousedown:function(t){t.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:t.contentStyle},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],2)]):t._e(),t._v(" "),!t.max||t.internalValue.length<t.max?t._l(t.filteredOptions,(function(e,i){return n("li",{key:i,staticClass:"multiselect__element"},[e&&(e.$isLabel||e.$isDisabled)?t._e():n("span",{staticClass:"multiselect__option",class:t.optionHighlight(i,e),attrs:{"data-select":e&&e.isTag?t.tagPlaceholder:t.selectLabelText,"data-selected":t.selectedLabelText,"data-deselect":t.deselectLabelText},on:{click:function(n){n.stopPropagation(),t.select(e)},mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.pointerSet(i)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2),t._v(" "),e&&(e.$isLabel||e.$isDisabled)?n("span",{staticClass:"multiselect__option",class:t.groupHighlight(i,e),attrs:{"data-select":t.groupSelect&&t.selectGroupLabelText,"data-deselect":t.groupSelect&&t.deselectGroupLabelText},on:{mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.groupSelect&&t.pointerSet(i)},mousedown:function(n){n.preventDefault(),t.selectGroup(e)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2):t._e()])})):t._e(),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoResults&&0===t.filteredOptions.length&&t.search&&!t.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noResult",[t._v("No elements found. Consider changing the search query.")],{search:t.search})],2)]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoOptions&&0===t.options.length&&!t.search&&!t.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noOptions",[t._v("List is empty.")])],2)]),t._v(" "),t._t("afterList")],2)])])],2)},r=[],o={render:i,staticRenderFns:r};e.a=o}])}))}
vendor: 3,386 bytes, lines 306-308
306,"8e73":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 307//! moment.js locale configuration 308var e={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},o=function(t){return function(e,n,o,a){var s=i(e),c=r[t][i(e)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,e)}},a=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","٠ارس","أبرÙÙ","٠اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"],s=t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(t){return"Ù "===t},meridiem:function(t,e,n){return t<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/Ø/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"Ø")},week:{dow:6,doy:12}});return s}))},"8ecb":function(t,e,n){var i=n("ef08"),r=n("bce0").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,c="process"==n("4d88")(a);t.exports=function(){var t,e,n,l=function(){var i,r;c&&(i=a.domain)&&i.exit();while(t){r=t.fn,t=t.next;try{r()}catch(o){throw t?n():e=void 0,o}}e=void 0,i&&i.enter()};if(c)n=function(){a.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){r.call(i,l)};else{var d=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},"8f77":function(t,e,n){},9043:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
309//! moment.js locale configuration 310var e={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"},i=t.defineLocale("bn",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(t){return t.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দà§à¦ªà§à¦°"===e&&t<5||"বিà¦à¦¾à¦²"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সà¦à¦¾à¦²":t<17?"দà§à¦ªà§à¦°":t<20?"বিà¦à¦¾à¦²":"রাত"},week:{dow:0,doy:6}});return i}))},"905a":function(t,e,n){"use strict";var i=n("871b");t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},"90ea":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
311//! moment.js locale configuration 312var e=t.defineLocale("zh-tw",{months:"䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå ".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å ".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(t,e){return 12===t&&(t=0),"忍"===e||"æ©ä¸"===e||"ä¸å"===e?t:"ä¸å"===e?t>=11?t:t+12:"ä¸å"===e||"æä¸"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"æ¥";case"M":return t+"æ";case"w":case"W":return t+"é±";default:return t}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}});return e}))},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9141:function(t,e,n){var i=n("ef08").document;t.exports=i&&i.documentElement},9256:function(t,e,n){n("7336")("getOwnPropertyNames",(function(){return n("1836").f}))},9263:function(t,e,n){"use strict";var i=n("577e"),r=n("ad6d"),o=n("9f7f"),a=n("5692"),s=n("7c73"),c=n("69f3").get,l=n("fce3"),u=n("107c"),d=RegExp.prototype.exec,h=a("native-string-replace",String.prototype.replace),f=d,p=function(){var t=/a/,e=/b*/g;return d.call(t,"a"),d.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),m=o.UNSUPPORTED_Y||o.BROKEN_CARET,g=void 0!==/()??/.exec("")[1],v=p||g||m||l||u;v&&(f=function(t){var e,n,o,a,l,u,v,_=this,y=c(_),b=i(t),w=y.raw;if(w)return w.lastIndex=_.lastIndex,e=f.call(w,b),_.lastIndex=w.lastIndex,e;var k=y.groups,x=m&&_.sticky,T=r.call(_),M=_.source,S=0,C=b;if(x&&(T=T.replace("y",""),-1===T.indexOf("g")&&(T+="g"),C=b.slice(_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&"\n"!==b.charAt(_.lastIndex-1))&&(M="(?: "+M+")",C=" "+C,S++),n=new RegExp("^(?:"+M+")",T)),g&&(n=new RegExp("^"+M+"$(?!\\s)",T)),p&&(o=_.lastIndex),a=d.call(x?n:_,C),x?a?(a.input=a.input.slice(S),a[0]=a[0].slice(S),a.index=_.lastIndex,_.lastIndex+=a[0].length):_.lastIndex=0:p&&a&&(_.lastIndex=_.global?a.index+a[0].length:o),g&&a&&a.length>1&&h.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a&&k)for(a.groups=u=s(null),l=0;l<k.length;l++)v=k[l],u[v[0]]=a[v[1]];return a}),t.exports=f},"92f0":function(t,e,n){var i=n("1a14").f,r=n("9c0e"),o=n("cc15")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},"93ff":function(t,e,n){t.exports={default:n("7b9e"),__esModule:!0}},"94b2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return t=i.extend[t]||t,i[e?"h5":"pc"].indexOf(t)>-1?t:"en"};var i={pc:["ar_SA","de_DE","es_ES","fr_FR","in_ID","it_IT","iw_HE","ja_JP","ko_KR","nl_NL","pt_BR","ru_RU","th_TH","tr_TR","vi_VN","cn","tw","en"],h5:["cn","tw","en"],extend:{"ar-ae":"ar_SA","zh-cn":"cn","zh-tw":"tw"}}},"94ca":function(t,e,n){var i=n("d039"),r=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==l||n!=c&&("function"==typeof e?i(e):!!e)},a=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},"957c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,528 bytes, lines 313-314
313//! moment.js locale configuration 314function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:n?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",ww:"неделÑ_недели_неделÑ",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"};return"m"===i?n?"минÑÑа":"минÑÑÑ":t+" "+e(r[i],+t)}var i=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i],r=t.defineLocale("ru",{months:{format:"ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),standalone:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_")},monthsShort:{format:"Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),standalone:"Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_")},weekdays:{standalone:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),format:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/},weekdaysShort:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|окÑ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[СегоднÑ, в] LT",nextDay:"[ÐавÑÑа, в] LT",lastDay:"[ÐÑеÑа, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[Ð ÑледÑÑÑее] dddd, [в] LT";case 1:case 2:case 4:return"[Ð ÑледÑÑÑий] dddd, [в] LT";case 3:case 5:case 6:return"[Ð ÑледÑÑÑÑÑ] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[РпÑоÑлое] dddd, [в] LT";case 1:case 2:case 4:return"[РпÑоÑлÑй] dddd, [в] LT";case 3:case 5:case 6:return"[РпÑоÑлÑÑ] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",ss:n,m:n,mm:n,h:"ÑаÑ",hh:n,d:"денÑ",dd:n,w:"неделÑ",ww:n,M:"меÑÑÑ",MM:n,y:"год",yy:n},meridiemParse:/ноÑи|ÑÑÑа|днÑ|веÑеÑа/i,isPM:function(t){return/^(днÑ|веÑеÑа)$/.test(t)},meridiem:function(t,e,n){return t<4?"ноÑи":t<12?"ÑÑÑа":t<17?"днÑ":"веÑеÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|Ñ)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-Ñ";default:return t}},week:{dow:1,doy:4}});return r}))},9589:function(t,e,n){"use strict";
314Object.defineProperty(e,"__esModule",{value:!0});var i=n("1098"),r=y(i),o=n("e11b"),a=n("05a9"),s=y(a),c=n("509c"),l=y(c),u=n("3faf"),d=y(u),h=n("6f1a"),f=y(h),p=n("51ab"),m=y(p),g=n("45e9"),v=y(g),_=n("5787");function y(t){return t&&t.__esModule?t:{default:t}}e.default={name:l.default,template:s.default,data:function(){return{version:v.default,nc:null,id:(0,_.setId)()}},props:o.mix,created:function(){window.noCaptcha||window.NoCaptcha||(this.h5?m.default:f.default)(this.aeis,this.https),this.$emit("load")},mounted:function(){var t=this,e=function(){var e=t,n=e.lang,i=e.h5,o=function(t){return"object"===(0,r.default)(e[t])?i?e[t]["h5"]||function(){return(0,_.warn)("Can not find H5-"+t+" preset in H5 mode, use PC preset instead."),e[t]["pc"]}():e[t]["pc"]||function(){return(0,_.warn)("Can not find PC-"+t+" preset in PC mode, use H5 preset instead."),e[t]["h5"]}():e[t]};return{appkey:o("appkey"),scene:o("scene"),h5:i,lang:(0,_.getLang)(n)}},n=e(),i=n.appkey,o=n.scene,a=n.h5,s=n.lang,c=i+":"+(new Date).getTime()+":"+Math.random(),l=window.noCaptcha||window.NoCaptcha,u=a?l.init:l,d=this.nc=u({renderTo:"#"+this.id,appkey:i,scene:o,token:c,language:s,callback:function(e){var n=e.csessionid,i=e.sig;t.$emit("callback",{csessionid:n,sig:i,token:c,scene:o,nc:d})},error:function(e){t.$emit("error",e)}});this.h5&&l.setEnabled(!0),d.reset()},destroyed:function(){this.nc&&this.nc.destroy&&this.nc.destroy()},render:d.default}},"958b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,123 bytes, lines 315-316
315//! moment.js locale configuration 316function e(t,e,n,i){switch(n){case"s":return e?"Ñ ÑÐ´Ñ Ñн ÑекÑнд":"Ñ ÑÐ´Ñ Ñн ÑекÑндÑн";case"ss":return t+(e?" ÑекÑнд":" ÑекÑндÑн");case"m":case"mm":return t+(e?" минÑÑ":" минÑÑÑн");case"h":case"hh":return t+(e?" Ñаг":" Ñагийн");case"d":case"dd":return t+(e?" өдөÑ":" өдÑийн");case"M":case"MM":return t+(e?" ÑаÑ":" ÑаÑÑн");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}var n=t.defineLocale("mn",{months:"ÐÑгдүгÑÑÑ ÑаÑ_ХоÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÓ©ÑөвдүгÑÑÑ ÑаÑ_ТавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑгадÑÐ³Ð°Ð°Ñ ÑаÑ_ÐолдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐаймдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑдүгÑÑÑ ÑаÑ_ÐÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑван нÑгдүгÑÑÑ ÑаÑ_ÐÑван Ñ Ð¾ÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ".split("_"),monthsShort:"1 ÑаÑ_2 ÑаÑ_3 ÑаÑ_4 ÑаÑ_5 ÑаÑ_6 ÑаÑ_7 ÑаÑ_8 ÑаÑ_9 ÑаÑ_10 ÑаÑ_11 ÑаÑ_12 ÑаÑ".split("_"),monthsParseExact:!0,weekdays:"ÐÑм_Ðаваа_ÐÑгмаÑ_ÐÑ Ð°Ð³Ð²Ð°_ÐÒ¯ÑÑв_ÐааÑан_ÐÑмба".split("_"),weekdaysShort:"ÐÑм_Ðав_ÐÑг_ÐÑ Ð°_ÐÒ¯Ñ_Ðаа_ÐÑм".split("_"),weekdaysMin:"ÐÑ_Ðа_ÐÑ_ÐÑ _ÐÒ¯_Ðа_ÐÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY Ð¾Ð½Ñ MMMMÑн D",LLL:"YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm",LLLL:"dddd, YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm"},meridiemParse:/Ò®Ó¨|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"Ò®Ó¨":"ҮХ"},calendar:{sameDay:"[ӨнөөдөÑ] LT",nextDay:"[ÐаÑгааÑ] LT",nextWeek:"[ÐÑÑÑ ] dddd LT",lastDay:"[Ó¨ÑигдөÑ] LT",lastWeek:"[ӨнгөÑÑөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s даÑаа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөÑ/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөÑ";default:return t}}});return n}))},9609:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
317//! moment.js locale configuration 318var e={0:"-ÑÒ¯",1:"-Ñи",2:"-Ñи",3:"-ÑÒ¯",4:"-ÑÒ¯",5:"-Ñи",6:"-ÑÑ",7:"-Ñи",8:"-Ñи",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÒ¯",60:"-ÑÑ",70:"-Ñи",80:"-Ñи",90:"-ÑÑ",100:"-ÑÒ¯"},n=t.defineLocale("ky",{months:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби".split("_"),weekdaysShort:"Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе".split("_"),weekdaysMin:"Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ðүгүн ÑааÑ] LT",nextDay:"[ÐÑÑең ÑааÑ] LT",nextWeek:"dddd [ÑааÑ] LT",lastDay:"[ÐеÑÑÑ ÑааÑ] LT",lastWeek:"[Ó¨Ñкөн апÑанÑн] dddd [күнү] [ÑааÑ] LT",sameElse:"L"},relativeTime:{future:"%s иÑинде",past:"%s мÑÑÑн",s:"биÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ",mm:"%d мүнөÑ",h:"Ð±Ð¸Ñ ÑааÑ",hh:"%
vendor: 4,747 bytes, lines 318-320
318d ÑааÑ",d:"Ð±Ð¸Ñ ÐºÒ¯Ð½",dd:"%d күн",M:"Ð±Ð¸Ñ Ð°Ð¹",MM:"%d ай",y:"Ð±Ð¸Ñ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},9686:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 319//! moment.js locale configuration 320var e={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"},i=t.defineLocale("bn-bd",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(t){return t.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|à¦à§à¦°|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|সনà§à¦§à§à¦¯à¦¾|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"à¦à§à¦°"===e||"সà¦à¦¾à¦²"===e?t:"দà§à¦ªà§à¦°"===e?t>=3?t:t+12:"বিà¦à¦¾à¦²"===e||"সনà§à¦§à§à¦¯à¦¾"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"à¦à§à¦°":t<12?"সà¦à¦¾à¦²":t<15?"দà§à¦ªà§à¦°":t<18?"বিà¦à¦¾à¦²":t<20?"সনà§à¦§à§à¦¯à¦¾":"রাত"},week:{dow:0,doy:6}});return i}))},"969c":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},"96cf":function(t,e,n){(function(e){!function(e){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",l="object"===typeof t,u=e.regeneratorRuntime;if(u)l&&(t.exports=u);else{u=e.regeneratorRuntime=l?t.exports:{},u.wrap=b;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={},g={};g[a]=function(){return this};var v=Object.getPrototypeOf,_=v&&v(v(P([])));_&&_!==i&&r.call(_,a)&&(g=_);var y=T.prototype=k.prototype=Object.create(g);x.prototype=y.constructor=T,T.constructor=x,T[c]=x.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,T):(t.__proto__=T,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(y),t},u.awrap=function(t){return{__await:t}},M(S.prototype),S.prototype[s]=function(){return this},u.AsyncIterator=S,u.async=function(t,e,n,i){var r=new S(b(t,e,n,i));return u.isGeneratorFunction(e)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},M(y),y[c]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=P,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEac
vendor: 4,817 bytes, line 320
320h(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,r){return s.type="throw",s.arg=t,e.next=i,r&&(e.method="next",e.arg=n),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;A(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:P(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}function b(t,e,n,i){var r=e&&e.prototype instanceof k?e:k,o=Object.create(r.prototype),a=new O(i||[]);return o._invoke=C(t,n,a),o}function w(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(i){return{type:"throw",arg:i}}}function k(){}function x(){}function T(){}function M(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function S(t){function n(e,i,o,a){var s=w(t[e],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){n("next",t,o,a)}),(function(t){n("throw",t,o,a)})):Promise.resolve(l).then((function(t){c.value=t,o(c)}),a)}a(s.arg)}var i;function o(t,e){function r(){return new Promise((function(i,r){n(t,e,i,r)}))}return i=i?i.then(r,r):r()}"object"===typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=o}function C(t,e,n){var i=d;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return D()}n.method=r,n.arg=o;while(1){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var c=w(t,e,n);if("normal"===c.type){if(i=n.done?p:h,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function E(t,e){var i=t.iterator[e.method];if(i===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=w(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,m;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){while(++i<t.length)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:D}}function D(){return{value:n,done:!0}}}("object"===typeof e?e:"object"===typeof window?window:"object"===typeof self?self:this)}).call(this,n("c8ba"))},"972c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,345 bytes, lines 321-322
321//! moment.js locale configuration 322function e(t,e,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"sÄptÄmâni",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}var n=t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmÄ",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o orÄ",hh:e,d:"o zi",dd:e,w:"o sÄptÄmânÄ",ww:e,M:"o lunÄ",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n}))},9742:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},9797:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,323 bytes, lines 323-324
323//! moment.js locale configuration 324var e=t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e}))},9861:function(t,e,n){"use strict";n("e260");var i=n("23e7"),r=n("d066"),o=n("0d3b"),a=n("6eeb"),s=n("e2cc"),c=n("d44e"),l=n("9ed3"),u=n("69f3"),d=n("19aa"),h=n("5135"),f=n("0366"),p=n("f5df"),m=n("825a"),g=n("861d"),v=n("577e"),_=n("7c73"),y=n("5c6c"),b=n("9a1f"),w=n("35a1"),k=n("b622"),x=r("fetch"),T=r("Request"),M=T&&T.prototype,S=r("Headers"),C=k("iterator"),E="URLSearchParams",L=E+"Iterator",A=u.set,O=u.getterFor(E),P=u.getterFor(L),D=/\+/g,j=Array(4),I=function(t){return j[t-1]||(j[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},R=function(t){try{return decodeURIComponent(t)}catch(e){return t}},N=function(t){var e=t.replace(D," "),n=4;try{return decodeURIComponent(e)}catch(i){while(n)e=e.replace(I(n--),R);return e}},Y=/[!'()~]|%20/g,z={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},B=function(t){return z[t]},F=function(t){return encodeURIComponent(t).replace(Y,B)},H=function(t,e){if(e){var n,i,r=e.split("&"),o=0;while(o<r.length)n=r[o++],n.length&&(i=n.split("="),t.push({key:N(i.shift()),value:N(i.join("="))}))}},V=function(t){this.entries.length=0,H(this.entries,t)},U=function(t,e){if(t<e)throw TypeError("Not enough arguments")},W=l((function(t,e){A(this,{type:L,iterator:b(O(t).entries),kind:e})}),"Iterator",(function(){var t=P(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n})),$=function(){d(this,$,E);var t,e,n,i,r,o,a,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(A(u,{type:E,entries:f,updateURL:function(){},updateSearchParams:V}),void 0!==l)if(g(l))if(t=w(l),"function"===typeof t){e=t.call(l),n=e.next;while(!(i=n.call(e)).done){if(r=b(m(i.value)),o=r.next,(a=o.call(r)).done||(s=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");f.push({key:v(a.value),value:v(s.value)})}}else for(c in l)h(l,c)&&f.push({key:c,value:v(l[c])});else H(f,"string"===typeof l?"?"===l.charAt(0)?l.slice(1):l:v(l))},X=$.prototype;if(s(X,{append:function(t,e){U(arguments.length,2);var n=O(this);n.entries.push({key:v(t),value:v(e)}),n.updateURL()},delete:function(t){U(arguments.length,1);var e=O(this),n=e.entries,i=v(t),r=0;while(r<n.length)n[r].key===i?n.splice(r,1):r++;e.updateURL()},get:function(t){U(arguments.length,1);for(var e=O(this).entries,n=v(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){U(arguments.length,1);for(var e=O(this).entries,n=v(t),i=[],r=0;r<e.length;r++)e[r].key===n&&i.push(e[r].value);return i},has:function(t){U(arguments.length,1);var e=O(this).entries,n=v(t),i=0;while(i<e.length)if(e[i++].key===n)return!0;return!1},set:function(t,e){U(arguments.length,1);for(var n,i=O(this),r=i.entries,o=!1,a=v(t),s=v(e),c=0;c<r.length;c++)n=r[c],n.key===a&&(o?r.splice(c--,1):(o=!0,n.value=s));o||r.push({key:a,value:s}),i.updateURL()},sort:function(){var t,e,n,i=O(this),r=i.entries,o=r.slice();for(r.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(r[e].key>t.key){r.splice(e,0,t);break}e===n&&r.push(t)}i.updateURL()}
324,forEach:function(t){var e,n=O(this).entries,i=f(t,arguments.length>1?arguments[1]:void 0,3),r=0;while(r<n.length)e=n[r++],i(e.value,e.key,this)},keys:function(){return new W(this,"keys")},values:function(){return new W(this,"values")},entries:function(){return new W(this,"entries")}},{enumerable:!0}),a(X,C,X.entries),a(X,"toString",(function(){var t,e=O(this).entries,n=[],i=0;while(i<e.length)t=e[i++],n.push(F(t.key)+"="+F(t.value));return n.join("&")}),{enumerable:!0}),c($,E),i({global:!0,forced:!o},{URLSearchParams:$}),!o&&"function"==typeof S){var q=function(t){if(g(t)){var e,n=t.body;if(p(n)===E)return e=t.headers?new S(t.headers):new S,e.has("content-type")||e.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),_(t,{body:y(0,String(n)),headers:y(0,e)})}return t};if("function"==typeof x&&i({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return x(t,arguments.length>1?q(arguments[1]):{})}}),"function"==typeof T){var G=function(t){return d(this,G,"Request"),new T(t,arguments.length>1?q(arguments[1]):{})};M.constructor=G,G.prototype=M,i({global:!0,forced:!0},{Request:G})}}t.exports={URLSearchParams:$,getState:O}},9876:function(t,e,n){var i=n("03d6"),r=n("9742");t.exports=Object.keys||function(t){return i(t,r)}},"99af":function(t,e,n){"use strict";var i=n("23e7"),r=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),c=n("50c4"),l=n("8418"),u=n("65f0"),d=n("1dde"),h=n("b622"),f=n("2d00"),p=h("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=f>=51||!r((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),_=d("concat"),y=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)},b=!v||!_;i({target:"Array",proto:!0,forced:b},{concat:function(t){var e,n,i,r,o,a=s(this),d=u(a,0),h=0;for(e=-1,i=arguments.length;e<i;e++)if(o=-1===e?a:arguments[e],y(o)){if(r=c(o.length),h+r>m)throw TypeError(g);for(n=0;n<r;n++,h++)n in o&&l(d,h,o[n])}else{if(h>=m)throw TypeError(g);l(d,h++,o)}return d.length=h,d}})},"9a1f":function(t,e,n){var i=n("825a"),r=n("35a1");t.exports=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return i(e.call(t))}},"9a8c":function(t,e,n){"use strict";var i=n("ebb5"),r=n("145e"),o=i.aTypedArray,a=i.exportTypedArrayMethod;a("copyWithin",(function(t,e){return r.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(t,e,n){var i=n("825a"),r=n("2a62");t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(a){throw r(t),a}}},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("825a"),a=n("a04b"),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(o(t),e=a(e),o(n),r)try{return s(t,e,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9c0c":function(t,e,n){var i=n("1609");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c0e":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"9d11":function(t,e,n){var i=n("fc5e"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"9ed3":function(t,e,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),a(t,l,!1,!0),s[l]=c,t}},"9f26":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 5,283 bytes, lines 325-332
325//! moment.js locale configuration 326var e=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:e,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return o}))},"9f7f":function(t,e,n){var i=n("d039"),r=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},"9fbb":function(t,e,n){var i=n("4d88");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},a026:function(t,e,n){"use strict";n.r(e),function(t){ 327/*! 328 * Vue.js v2.6.14 329 * (c) 2014-2021 Evan You 330 * Released under the MIT License. 331 */ 332var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function d(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var v=g("slot,component",!0),_=g("key,ref,slot,slot-scope,is");function y(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function k(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,T=k((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),M=k((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),S=/\B([A-Z])/g,C=k((function(t){return t.replace(S,"-$1").toLowerCase()}));function E(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function L(t,e){return t.bind(e)}var A=Function.prototype.bind?L:E;function O(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function P(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n<t.length;n++)t[n]&&P(e,t[n]);return e}function j(t,e,n){}var I=function(t,e,n){return!1},R=function(t){return t};function N(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}function Y(t,e){if(t===e)return!0;var n=c(t),i=c(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return Y(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return Y(t[n],e[n])}))}catch(l){return!1}}function z(t,e){for(var n=0;n<t.length;n++)if(Y(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var F="data-server-rendered",H=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
332serverPrefetch"],U={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:j,parsePlatformTagName:R,mustUseProp:I,async:!0,_lifecycleHooks:V},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function $(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function X(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var q=new RegExp("[^"+W.source+".$_\\d]");function G(t){if(!q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var Z,J="__proto__"in{},K="undefined"!==typeof window,Q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,tt=Q&&WXEnvironment.platform.toLowerCase(),et=K&&window.navigator.userAgent.toLowerCase(),nt=et&&/msie|trident/.test(et),it=et&&et.indexOf("msie 9.0")>0,rt=et&&et.indexOf("edge/")>0,ot=(et&&et.indexOf("android"),et&&/iphone|ipad|ipod|ios/.test(et)||"ios"===tt),at=(et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et),et&&et.match(/firefox\/(\d+)/)),st={}.watch,ct=!1;if(K)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,lt)}catch(Kl){}var ut=function(){return void 0===Z&&(Z=!K&&!Q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),Z},dt=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,pt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);ft="undefined"!==typeof Set&&ht(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mt=j,gt=0,vt=function(){this.id=gt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){y(this.subs,t)}
vendor: 43,296 bytes, line 332
332,vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},vt.target=null;var _t=[];function yt(t){_t.push(t),vt.target=t}function bt(){_t.pop(),vt.target=_t[_t.length-1]}var wt=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},kt={child:{configurable:!0}};kt.child.get=function(){return this.componentInstance},Object.defineProperties(wt.prototype,kt);var xt=function(t){void 0===t&&(t="");var e=new wt;return e.text=t,e.isComment=!0,e};function Tt(t){return new wt(void 0,void 0,void 0,String(t))}function Mt(t){var e=new wt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var St=Array.prototype,Ct=Object.create(St),Et=["push","pop","shift","unshift","splice","sort","reverse"];Et.forEach((function(t){var e=St[t];X(Ct,t,(function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&a.observeArray(r),a.dep.notify(),o}))}));var Lt=Object.getOwnPropertyNames(Ct),At=!0;function Ot(t){At=t}var Pt=function(t){this.value=t,this.dep=new vt,this.vmCount=0,X(t,"__ob__",this),Array.isArray(t)?(J?Dt(t,Ct):jt(t,Ct,Lt),this.observeArray(t)):this.walk(t)};function Dt(t,e){t.__proto__=e}function jt(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];X(t,o,e[o])}}function It(t,e){var n;if(c(t)&&!(t instanceof wt))return w(t,"__ob__")&&t.__ob__ instanceof Pt?n=t.__ob__:At&&!ut()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Pt(t)),e&&n&&n.vmCount++,n}function Rt(t,e,n,i,r){var o=new vt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var l=!r&&It(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return vt.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&zt(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!==e&&i!==i||s&&!c||(c?c.call(t,e):n=e,l=!r&&It(e),o.notify())}})}}function Nt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(Rt(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Yt(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||w(t,e)&&(delete t[e],n&&n.dep.notify())}}function zt(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&zt(e)}Pt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Rt(t,e[n])},Pt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)It(t[e])};var Bt=U.optionMergeStrategies;function Ft(t,e){if(!e)return t;for(var n,i,r,o=pt?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(i=t[n],r=e[n],w(t,n)?i!==r&&u(i)&&u(r)&&Ft(i,r):Nt(t,n,r));return t}function Ht(t,e,n){return n?function(){var i="function"===typeof e?e.call(n,n):e,r="function"===typeof t?t.call(n,n):t;return i?Ft(i,r):r}:e?t?function(){return Ft("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Vt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Ut(n):n}function Ut(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Wt(t,e,n,i){var r=Object.create(t||null);return e?P(r,e):r}Bt.data=function(t,e,n){return n?Ht(t,e,n):e&&"function"!==typeof e?t:Ht(t,e)},V.forEach((function(t){Bt[t]=Vt})),H.forEach((function(t){Bt[t+"s"]=Wt})),Bt.watch=function(t,e,n,i){if(t===st&&(t=void 0),e===st&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var o in P(r,t),e){var a=r[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Bt.props=Bt.methods=Bt.inject=Bt.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return P(r,t),e&&P(r,e),r},Bt.provide=Ht;var $t=function(t,e){return void 0===e?t:e};function Xt(t,e){var n=t.props;if(n){var i,r,o,a={};if(Array.isArray(n)){i=n.length;while(i--)r=n[i],"string"===typeof r&&(o=T(r),a[o]={type:null})}else if(u(n))for(var s in n)r=n[s],o=T(s),a[o]=u(r)?r:{type:r};else 0;t.props=a}}function qt(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var o in n){var a=n[o];i[o]=u(a)?P({from:o},a):{from:a}}else 0}}function Gt(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"===typeof i&&(e[n]={bind:i,update:i})}}function Zt(t,e,n){if("function"===typeof e&&(e=e.options),Xt(e,n),qt(e,n),Gt(e),!e._base&&(e.extends&&(t=Zt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Zt(t,e.mixins[i],n);var o,a={};for(o in t)s(o);for(o in e)w(t,o)||s(o);function s(i){var r=Bt[i]||$t;a[i]=r(t[i],e[i],n,i)}return a}function Jt(t,e,n,i){if("string"===typeof n){var r=t[e];if(w(r,n))return r[n];var o=T(n);if(w(r,o))return r[o];var a=M(o);if(w(r,a))return r[a];var s=r[n]||r[o]||r[a];return s}}function Kt(t,e,n,i){var r=e[t],o=!w(n,t),a=n[t],s=ie(Boolean,r.type);if(s>-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===C(t)){var c=ie(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Qt(i,r,t);var l=At;Ot(!0),It(a),Ot(l)}return a}function Qt(t,e,n){if(w(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof i&&"Function"!==ee(e.type)?i.call(t):i}}var te=/^\s*function (\w+)/;function ee(t){var e=t&&t.toString().match(te);return e?e[1]:""}function ne(t,e){return ee(t)===ee(e)}function ie(t,e){if(!Array.isArray(e))return ne(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(ne(e[n],t))return n;return-1}function re(t,e,n){yt();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var a=!1===r[o].call(i,t,e,n);if(a)return}catch(Kl){ae(Kl,i,"errorCaptured hook")}}}ae(t,e,n)}finally{bt()}}function oe(t,e,n,i,r){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(t){return re(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(Kl){re(Kl,i,r)}return o}function ae(t,e,n){if(U.errorHandler)try{return U.errorHandler.call(null,t,e,n)}catch(Kl){Kl!==t&&se(Kl,null,"config.errorHandler")}se(t,e,n)}function se(t,e,n){if(!K&&!Q||"undefined"===typeof console)throw t;console.error(t)}var ce,le=!1,ue=[],de=!1;function he(){de=!1;var t=ue.slice(0);ue.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ht(Promise)){var fe=Promise.resolve();ce=function(){fe.then(he),ot&&setTimeout(j)},le=!0}else if(nt||"undefined"===typeof MutationObserver||!ht(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ce="undefined"!==typeof setImmediate&&ht(setImmediate)?function(){setImmediate(he)}:function(){setTimeout(he,0)};else{var pe=1,me=new MutationObserver(he),ge=document.createTextNode(String(pe));me.observe(ge,{characterData:!0}),ce=function(){pe=(pe+1)%2,ge.data=String(pe)},le=!0}function ve(t,e){var n;if(ue.push((function(){if(t)try{t.call(e)}catch(Kl){re(Kl,e,"nextTick")}else n&&n(e)})),de||(de=!0,ce()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var _e=new ft;function ye(t){be(t,_e),_e.clear()}function be(t,e){var n,i,r=Array.isArray(t);if(!(!r&&!c(t)||Object.isFrozen(t)||t instanceof wt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(r){n=t.length;while(n--)be(t[n],e)}else{i=Object.keys(t),n=i.length;while(n--)be(t[i[n]],e)}}}var we=k((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function ke(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return oe(i,null,arguments,e,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)oe(r[o],null,t,e,"v-on handler")}return n.fns=t,n}function xe(t,e,n,r,a,s){var c,l,u,d;for(c in t)l=t[c],u=e[c],d=we(c),i(l)||(i(u)?(i(l.fns)&&(l=t[c]=ke(l,s)),o(d.once)&&(l=t[c]=a(d.name,l,d.capture)),n(d.name,l,d.capture,d.passive,d.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)i(t[c])&&(d=we(c),r(d.name,e[c],d.capture))}function Te(t,e,n){var a;t instanceof wt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){n.apply(this,arguments),y(a.fns,c)}i(s)?a=ke([c]):r(s.fns)&&o(s.merged)?(a=s,a.fns.push(c)):a=ke([s,c]),a.merged=!0,t[e]=a}function Me(t,e,n){var o=e.options.props;if(!i(o)){var a={},s=t.attrs,c=t.props;if(r(s)||r(c))for(var l in o){var u=C(l);Se(a,c,l,u,!0)||Se(a,s,l,u,!1)}return a}}function Se(t,e,n,i,o){if(r(e)){if(w(e,n))return t[n]=e[n],o||delete e[n],!0;if(w(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function Ce(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Ee(t){return s(t)?[Tt(t)]:Array.isArray(t)?Ae(t):void 0}function Le(t){return r(t)&&r(t.text)&&a(t.isComment)}function Ae(t,e){var n,a,c,l,u=[];for(n=0;n<t.length;n++)a=t[n],i(a)||"boolean"===typeof a||(c=u.length-1,l=u[c],Array.isArray(a)?a.length>0&&(a=Ae(a,(e||"")+"_"+n),Le(a[0])&&Le(l)&&(u[c]=Tt(l.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?Le(l)?u[c]=Tt(l.text+a):""!==a&&u.push(Tt(a)):Le(a)&&Le(l)?u[c]=Tt(l.text+a.text):(o(t._isVList)&&r(a.tag)&&i(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),u.push(a)));return u}function Oe(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Pe(t){var e=De(t.$options.inject,t);e&&(Ot(!1),Object.keys(e).forEach((function(n){Rt(t,n,e[n])})),Ot(!0))}function De(t,e){if(t){for(var n=Object.create(null),i=pt?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from,s=e;while(s){if(s._provided&&w(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}}return n}}function je(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(Ie)&&delete n[l];return n}function Ie(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Re(t){return t.isComment&&t.asyncFactory}function Ne(t,e,i){var r,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=Ye(e,c,t[c]))}else r={};for(var l in e)l in r||(r[l]=ze(e,l));return t&&Object.isExtensible(t)&&(t._normalized=r),X(r,"$stable",a),X(r,"$key",s),X(r,"$hasNormal",o),r}function Ye(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ee(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Re(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ze(t,e){return function(){return t[e]}}function Be(t,e){var n,i,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"===typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(c(t))if(pt&&t[Symbol.iterator]){n=[];var l=t[Symbol.iterator](),u=l.next();while(!u.done)n.push(e(u.value,n.length)),u=l.next()}else for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=e(t[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function Fe(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=P(P({},i),n)),r=o(n)||("function"===typeof e?e():e)):r=this.$slots[t]||("function"===typeof e?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function He(t){return Jt(this.$options,"filters",t,!0)||R}function Ve(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ue(t,e,n,i,r){var o=U.keyCodes[e]||n;return r&&i&&!U.keyCodes[e]?Ve(r,i):o?Ve(o,t):i?C(i)!==e:void 0===t}function We(t,e,n,i,r){if(n)if(c(n)){var o;Array.isArray(n)&&(n=D(n));var a=function(a){if("class"===a||"style"===a||_(a))o=t;else{var s=t.attrs&&t.attrs.type;o=i||U.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=T(a),l=C(a);if(!(c in o)&&!(l in o)&&(o[a]=n[a],r)){var u=t.on||(t.on={});u["update:"+a]=function(t){n[a]=t}}};for(var s in n)a(s)}else;return t}function $e(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),qe(i,"__static__"+t,!1)),i}function Xe(t,e,n){return qe(t,"__once__"+e+(n?"_"+n:""),!0),t}function qe(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&Ge(t[i],e+"_"+i,n);else Ge(t,e,n)}function Ge(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ze(t,e){if(e)if(u(e)){var n=t.on=t.on?P({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function Je(t,e,n,i){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Je(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return i&&(e.$key=i),e}function Ke(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function Qe(t,e){return"string"===typeof t?e+t:t}function tn(t){t._o=Xe,t._n=m,t._s=p,t._l=Be,t._t=Fe,t._q=Y,t._i=z,t._m=$e,t._f=He,t._k=Ue,t._b=We,t._v=Tt,t._e=xt,t._u=Je,t._g=Ze,t._d=Ke,t._p=Qe}function en(t,e,i,r,a){var s,c=this,l=a.options;w(r,"_uid")?(s=Object.create(r),s._original=r):(s=r,r=r._original);var u=o(l._compiled),d=!u;this.data=t,this.props=e,this.children=i,this.parent=r,this.listeners=t.on||n,this.injections=De(l.inject,r),this.slots=function(){return c.$slots||Ne(t.scopedSlots,c.$slots=je(i,r)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ne(t.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ne(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,i){var o=mn(s,t,e,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,i){return mn(s,t,e,n,i,d)}}function nn(t,e,i,o,a){var s=t.options,c={},l=s.props;if(r(l))for(var u in l)c[u]=Kt(u,l,e||n);else r(i.attrs)&&on(c,i.attrs),r(i.props)&&on(c,i.props);var d=new en(i,c,a,o,t),h=s.render.call(null,d._c,d);if(h instanceof wt)return rn(h,i,d.parent,s,d);if(Array.isArray(h)){for(var f=Ee(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=rn(f[m],i,d.parent,s,d);return p}}function rn(t,e,n,i,r){var o=Mt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function on(t,e){for(var n in e)t[T(n)]=e[n]}tn(en.prototype);var an={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;an.prepatch(n,n)}else{var i=t.componentInstance=ln(t,Dn);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;Yn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Hn(n,"mounted")),t.data.keepAlive&&(e._isMounted?ei(n):Bn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Fn(e,!0):e.$destroy())}},sn=Object.keys(an);function cn(t,e,n,a,s){if(!i(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(i(t.cid)&&(u=t,t=Mn(u,l),void 0===t))return Tn(u,e,n,a,s);e=e||{},Ti(t),r(e.model)&&hn(t.options,e);var d=Me(e,t,s);if(o(t.options.functional))return nn(t,d,e,n,a);var h=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}un(e);var p=t.options.name||s,m=new wt("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:d,listeners:h,tag:s,children:a},u);return m}}}function ln(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function un(t){for(var e=t.hook||(t.hook={}),n=0;n<sn.length;n++){var i=sn[n],r=e[i],o=an[i];r===o||r&&r._merged||(e[i]=r?dn(o,r):o)}}function dn(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function hn(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[i],s=e.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}var fn=1,pn=2;function mn(t,e,n,i,r,a){return(Array.isArray(n)||s(n))&&(r=i,i=n,n=void 0),o(a)&&(r=pn),gn(t,e,n,i,r)}function gn(t,e,n,i,o){if(r(n)&&r(n.__ob__))return xt();if(r(n)&&r(n.is)&&(e=n.is),!e)return xt();var a,s,c;(Array.isArray(i)&&"function"===typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===pn?i=Ee(i):o===fn&&(i=Ce(i)),"string"===typeof e)?(s=t.$vnode&&t.$vnode.ns||U.getTagNamespace(e),a=U.isReservedTag(e)?new wt(U.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!r(c=Jt(t.$options,"components",e))?new wt(e,n,i,void 0,void 0,t):cn(c,n,t,i,e)):a=cn(e,n,t,i);return Array.isArray(a)?a:r(a)?(r(s)&&vn(a,s),r(n)&&_n(n),a):xt()}function vn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];r(c.tag)&&(i(c.ns)||o(n)&&"svg"!==c.tag)&&vn(c,e,n)}}function _n(t){c(t.style)&&ye(t.style),c(t.class)&&ye(t.class)}function yn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=je(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return mn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return mn(t,e,n,i,r,!0)};var o=i&&i.data;Rt(t,"$attrs",o&&o.attrs||n,null,!0),Rt(t,"$listeners",e._parentListeners||n,null,!0)}var bn,wn=null;function kn(t){tn(t.prototype),t.prototype.$nextTick=function(t){return ve(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n._parentVnode;r&&(e.$scopedSlots=Ne(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{wn=e,t=i.call(e._renderProxy,e.$createElement)}catch(Kl){re(Kl,e,"render"),t=e._vnode}finally{wn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof wt||(t=xt()),t.parent=r,t}}function xn(t,e){return(t.__esModule||pt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Tn(t,e,n,i,r){var o=xt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function Mn(t,e){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=wn;if(n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var a=t.owners=[n],s=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return y(a,n)}));var d=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},h=B((function(n){t.resolved=xn(n,e),s?a.length=0:d(!0)})),p=B((function(e){r(t.errorComp)&&(t.error=!0,d(!0))})),m=t(h,p);return c(m)&&(f(m)?i(t.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),r(m.error)&&(t.errorComp=xn(m.error,e)),r(m.loading)&&(t.loadingComp=xn(m.loading,e),0===m.delay?t.loading=!0:l=setTimeout((function(){l=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,d(!1))}),m.delay||200)),r(m.timeout)&&(u=setTimeout((function(){u=null,i(t.resolved)&&p(null)}),m.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function Sn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||Re(n)))return n}}function Cn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&On(t,e)}function En(t,e){bn.$on(t,e)}function Ln(t,e){bn.$off(t,e)}function An(t,e){var n=bn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function On(t,e,n){bn=t,xe(e,n||{},En,Ln,An,t),bn=void 0}function Pn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r<o;r++)i.$on(t[r],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)n.$off(t[i],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var s=a.length;while(s--)if(o=a[s],o===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?O(n):n;for(var i=O(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)oe(n[o],e,i,e,r)}return e}}var Dn=null;function jn(t){var e=Dn;return Dn=t,function(){Dn=e}}function In(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Rn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=jn(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Hn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||y(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Hn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Nn(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=xt),Hn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new oi(t,i,j,{before:function(){t._isMounted&&!t._isDestroyed&&Hn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Hn(t,"mounted")),t}function Yn(t,e,i,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),l=!!(o||t.$options._renderChildren||c);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,t.$attrs=r.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){Ot(!1);for(var u=t._props,d=t.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=t.$options.props;u[f]=Kt(f,p,e,t)}Ot(!0),t.$options.propsData=e}i=i||n;var m=t.$options._parentListeners;t.$options._parentListeners=i,On(t,i,m),l&&(t.$slots=je(o,r.context),t.$forceUpdate())}function zn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Bn(t,e){if(e){if(t._directInactive=!1,zn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Bn(t.$children[n]);Hn(t,"activated")}}function Fn(t,e){if((!e||(t._directInactive=!0,!zn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Fn(t.$children[n]);Hn(t,"deactivated")}}function Hn(t,e){yt();var n=t.$options[e],i=e+" hook";if(n)for(var r=0,o=n.length;r<o;r++)oe(n[r],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),bt()}var Vn=[],Un=[],Wn={},$n=!1,Xn=!1,qn=0;function Gn(){qn=Vn.length=Un.length=0,Wn={},$n=Xn=!1}var Zn=0,Jn=Date.now;if(K&&!nt){var Kn=window.performance;Kn&&"function"===typeof Kn.now&&Jn()>document.createEvent("Event").timeStamp&&(Jn=function(){return Kn.now()})}function Qn(){var t,e;for(Zn=Jn(),Xn=!0,Vn.sort((function(t,e){return t.id-e.id})),qn=0;qn<Vn.length;qn++)t=Vn[qn],t.before&&t.before(),e=t.id,Wn[e]=null,t.run();var n=Un.slice(),i=Vn.slice();Gn(),ni(n),ti(i),dt&&U.devtools&&dt.emit("flush")}function ti(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Hn(i,"updated")}}function ei(t){t._inactive=!1,Un.push(t)}function ni(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Bn(t[e],!0)}function ii(t){var e=t.id;if(null==Wn[e]){if(Wn[e]=!0,Xn){var n=Vn.length-1;while(n>qn&&Vn[n].id>t.id)n--;Vn.splice(n+1,0,t)}else Vn.push(t);$n||($n=!0,ve(Qn))}}var ri=0,oi=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ri,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=G(e),this.getter||(this.getter=j)),this.value=this.lazy?void 0:this.get()};oi.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Kl){if(!this.user)throw Kl;re(Kl,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ye(t),bt(),this.cleanupDeps()}return t},oi.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},oi.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},oi.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ii(this)},oi.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';oe(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},oi.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},oi.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},oi.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ai={enumerable:!0,configurable:!0,get:j,set:j};function si(t,e,n){ai.get=function(){return this[e][n]},ai.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ai)}function ci(t){t._watchers=[];var e=t.$options;e.props&&li(t,e.props),e.methods&&vi(t,e.methods),e.data?ui(t):It(t._data={},!0),e.computed&&fi(t,e.computed),e.watch&&e.watch!==st&&_i(t,e.watch)}function li(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||Ot(!1);var a=function(o){r.push(o);var a=Kt(o,e,n,t);Rt(i,o,a),o in t||si(t,"_props",o)};for(var s in e)a(s);Ot(!0)}function ui(t){var e=t.$options.data;e=t._data="function"===typeof e?di(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&w(i,o)||$(o)||si(t,"_data",o)}It(e,!0)}function di(t,e){yt();try{return t.call(e,e)}catch(Kl){return re(Kl,e,"data()"),{}}finally{bt()}}var hi={lazy:!0};function fi(t,e){var n=t._computedWatchers=Object.create(null),i=ut();for(var r in e){var o=e[r],a="function"===typeof o?o:o.get;0,i||(n[r]=new oi(t,a||j,j,hi)),r in t||pi(t,r,o)}}function pi(t,e,n){var i=!ut();"function"===typeof n?(ai.get=i?mi(e):gi(n),ai.set=j):(ai.get=n.get?i&&!1!==n.cache?mi(e):gi(n.get):j,ai.set=n.set||j),Object.defineProperty(t,e,ai)}function mi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function gi(t){return function(){return t.call(this,this)}}function vi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?j:A(e[n],t)}function _i(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)yi(t,n,i[r]);else yi(t,n,i)}}function yi(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function bi(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Nt,t.prototype.$delete=Yt,t.prototype.$watch=function(t,e,n){var i=this;if(u(e))return yi(i,t,e,n);n=n||{},n.user=!0;var r=new oi(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'+r.expression+'"';yt(),oe(e,i,[r.value],i,o),bt()}return function(){r.teardown()}}}var wi=0;function ki(t){t.prototype._init=function(t){var e=this;e._uid=wi++,e._isVue=!0,t&&t._isComponent?xi(e,t):e.$options=Zt(Ti(e.constructor),t||{},e),e._renderProxy=e,e._self=e,In(e),Cn(e),yn(e),Hn(e,"beforeCreate"),Pe(e),ci(e),Oe(e),Hn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function xi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Ti(t){var e=t.options;if(t.super){var n=Ti(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=Mi(t);r&&P(t.extendOptions,r),e=t.options=Zt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Mi(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function Si(t){this._init(t)}function Ci(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ei(t){t.mixin=function(t){return this.options=Zt(this.options,t),this}}function Li(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Zt(n.options,t),a["super"]=n,a.options.props&&Ai(a),a.options.computed&&Oi(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),r[i]=a,a}}function Ai(t){var e=t.options.props;for(var n in e)si(t.prototype,"_props",n)}function Oi(t){var e=t.options.computed;for(var n in e)pi(t.prototype,n,e[n])}function Pi(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Di(t){return t&&(t.Ctor.options.name||t.tag)}function ji(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Ii(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Ri(n,o,i,r)}}}function Ri(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,y(n,e)}ki(Si),bi(Si),Pn(Si),Rn(Si),kn(Si);var Ni=[String,RegExp,Array],Yi={name:"keep-alive",abstract:!0,props:{include:Ni,exclude:Ni,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:Di(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&Ri(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ri(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ii(t,(function(t){return ji(e,t)}))})),this.$watch("exclude",(function(e){Ii(t,(function(t){return!ji(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var i=Di(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!ji(o,i))||a&&i&&ji(a,i))return e;var s=this,c=s.cache,l=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,y(l,u),l.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},zi={KeepAlive:Yi};function Bi(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:mt,extend:P,mergeOptions:Zt,defineReactive:Rt},t.set=Nt,t.delete=Yt,t.nextTick=ve,t.observable=function(t){return It(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,zi),Ci(t),Ei(t),Li(t),Pi(t)}Bi(Si),Object.defineProperty(Si.prototype,"$isServer",{get:ut}),Object.defineProperty(Si.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Si,"FunctionalRenderContext",{value:en}),Si.version="2.6.14";var Fi=g("style,class"),Hi=g("input,textarea,option,select,progress"),Vi=function(t,e,n){return"value"===n&&Hi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ui=g("contenteditable,draggable,spellcheck"),Wi=g("events,caret,typing,plaintext-only"),$i=function(t,e){return Ji(e)||"false"===e?"false":"contenteditable"===t&&Wi(e)?e:"true"},Xi=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qi="http://www.w3.org/1999/xlink",Gi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Zi=function(t){return Gi(t)?t.slice(6,t.length):""},Ji=function(t){return null==t||!1===t};function Ki(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Qi(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Qi(e,n.data));return tr(e.staticClass,e.class)}function Qi(t,e){return{staticClass:er(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function tr(t,e){return r(t)||r(e)?er(t,nr(e)):""}function er(t,e){return t?e?t+" "+e:t:e||""}function nr(t){return Array.isArray(t)?ir(t):c(t)?rr(t):"string"===typeof t?t:""}function ir(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=nr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function rr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var or={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ar=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),sr=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),cr=function(t){return"pre"===t},lr=function(t){return ar(t)||sr(t)};function ur(t){return sr(t)?"svg":"math"===t?"math":void 0}var dr=Object.create(null);function hr(t){if(!K)return!0;if(lr(t))return!1;if(t=t.toLowerCase(),null!=dr[t])return dr[t];var e=document.createElement(t);return t.indexOf("-")>-1?dr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:dr[t]=/HTMLUnknownElement/.test(e.toString())}var fr=g("text,number,password,search,email,tel,url");function pr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function mr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function gr(t,e){return document.createElementNS(or[t],e)}function vr(t){return document.createTextNode(t)}function _r(t){return document.createComment(t)}function yr(t,e,n){t.insertBefore(e,n)}function br(t,e){t.removeChild(e)}function wr(t,e){t.appendChild(e)}function kr(t){return t.parentNode}function xr(t){return t.nextSibling}function Tr(t){return t.tagName}function Mr(t,e){t.textContent=e}function Sr(t,e){t.setAttribute(e,"")}var Cr=Object.freeze({createElement:mr,createElementNS:gr,createTextNode:vr,createComment:_r,insertBefore:yr,removeChild:br,appendChild:wr,parentNode:kr,nextSibling:xr,tagName:Tr,setTextContent:Mr,setStyleScope:Sr}),Er={create:function(t,e){Lr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Lr(t,!0),Lr(e))},destroy:function(t){Lr(t,!0)}};function Lr(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Ar=new wt("",{},[]),Or=["create","activate","update","remove","destroy"];function Pr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Dr(t,e)||o(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function Dr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||fr(i)&&fr(o)}function jr(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Ir(t){var e,n,a={},c=t.modules,l=t.nodeOps;for(e=0;e<Or.length;++e)for(a[Or[e]]=[],n=0;n<c.length;++n)r(c[n][Or[e]])&&a[Or[e]].push(c[n][Or[e]]);function u(t){return new wt(l.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&h(t)}return n.listeners=e,n}function h(t){var e=l.parentNode(t);r(e)&&l.removeChild(e,t)}function f(t,e,n,i,a,s,c){if(r(t.elm)&&r(s)&&(t=s[c]=Mt(t)),t.isRootInsert=!a,!p(t,e,n,i)){var u=t.data,d=t.children,h=t.tag;r(h)?(t.elm=t.ns?l.createElementNS(t.ns,h):l.createElement(h,t),k(t),y(t,d,e),r(u)&&w(t,e),_(n,t.elm,i)):o(t.isComment)?(t.elm=l.createComment(t.text),_(n,t.elm,i)):(t.elm=l.createTextNode(t.text),_(n,t.elm,i))}}function p(t,e,n,i){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1),r(t.componentInstance))return m(t,e),_(n,t.elm,i),o(s)&&v(t,e,n,i),!0}}function m(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,b(t)?(w(t,e),k(t)):(Lr(t),e.push(t))}function v(t,e,n,i){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,r(o=s.data)&&r(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](Ar,s);e.push(s);break}_(n,t.elm,i)}function _(t,e,n){r(t)&&(r(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function y(t,e,n){if(Array.isArray(e)){0;for(var i=0;i<e.length;++i)f(e[i],n,t.elm,null,!0,e,i)}else s(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function b(t){while(t.componentInstance)t=t.componentInstance._vnode;return r(t.tag)}function w(t,n){for(var i=0;i<a.create.length;++i)a.create[i](Ar,t);e=t.data.hook,r(e)&&(r(e.create)&&e.create(Ar,t),r(e.insert)&&n.push(t))}function k(t){var e;if(r(e=t.fnScopeId))l.setStyleScope(t.elm,e);else{var n=t;while(n)r(e=n.context)&&r(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent}r(e=Dn)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function x(t,e,n,i,r,o){for(;i<=r;++i)f(n[i],o,t,e,!1,n,i)}function T(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<a.destroy.length;++e)a.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)T(t.children[n])}function M(t,e,n){for(;e<=n;++e){var i=t[e];r(i)&&(r(i.tag)?(S(i),T(i)):h(i.elm))}}function S(t,e){if(r(e)||r(t.data)){var n,i=a.remove.length+1;for(r(e)?e.listeners+=i:e=d(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&S(n,e),n=0;n<a.remove.length;++n)a.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else h(t.elm)}function C(t,e,n,o,a){var s,c,u,d,h=0,p=0,m=e.length-1,g=e[0],v=e[m],_=n.length-1,y=n[0],b=n[_],w=!a;while(h<=m&&p<=_)i(g)?g=e[++h]:i(v)?v=e[--m]:Pr(g,y)?(L(g,y,o,n,p),g=e[++h],y=n[++p]):Pr(v,b)?(L(v,b,o,n,_),v=e[--m],b=n[--_]):Pr(g,b)?(L(g,b,o,n,_),w&&l.insertBefore(t,g.elm,l.nextSibling(v.elm)),g=e[++h],b=n[--_]):Pr(v,y)?(L(v,y,o,n,p),w&&l.insertBefore(t,v.elm,g.elm),v=e[--m],y=n[++p]):(i(s)&&(s=jr(e,h,m)),c=r(y.key)?s[y.key]:E(y,e,h,m),i(c)?f(y,o,t,g.elm,!1,n,p):(u=e[c],Pr(u,y)?(L(u,y,o,n,p),e[c]=void 0,w&&l.insertBefore(t,u.elm,g.elm)):f(y,o,t,g.elm,!1,n,p)),y=n[++p]);h>m?(d=i(n[_+1])?null:n[_+1].elm,x(t,d,n,p,_,o)):p>_&&M(e,h,m)}function E(t,e,n,i){for(var o=n;o<i;o++){var a=e[o];if(r(a)&&Pr(t,a))return o}}function L(t,e,n,s,c,u){if(t!==e){r(e.elm)&&r(s)&&(e=s[c]=Mt(e));var d=e.elm=t.elm;if(o(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?P(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,f=e.data;r(f)&&r(h=f.hook)&&r(h=h.prepatch)&&h(t,e);var p=t.children,m=e.children;if(r(f)&&b(e)){for(h=0;h<a.update.length;++h)a.update[h](t,e);r(h=f.hook)&&r(h=h.update)&&h(t,e)}i(e.text)?r(p)&&r(m)?p!==m&&C(d,p,m,n,u):r(m)?(r(t.text)&&l.setTextContent(d,""),x(d,null,m,0,m.length-1,n)):r(p)?M(p,0,p.length-1):r(t.text)&&l.setTextContent(d,""):t.text!==e.text&&l.setTextContent(d,e.text),r(f)&&r(h=f.hook)&&r(h=h.postpatch)&&h(t,e)}}}function A(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var O=g("attrs,class,staticClass,staticStyle,key");function P(t,e,n,i){var a,s=e.tag,c=e.data,l=e.children;if(i=i||c&&c.pre,e.elm=t,o(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return m(e,n),!0;
vendor: 9,842 bytes, line 332
332if(r(s)){if(r(l))if(t.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,h=0;h<l.length;h++){if(!d||!P(d,l[h],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else y(e,l,n);if(r(c)){var f=!1;for(var p in c)if(!O(p)){f=!0,w(e,n);break}!f&&c["class"]&&ye(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!i(e)){var c=!1,d=[];if(i(t))c=!0,f(e,d);else{var h=r(t.nodeType);if(!h&&Pr(t,e))L(t,e,d,null,null,s);else{if(h){if(1===t.nodeType&&t.hasAttribute(F)&&(t.removeAttribute(F),n=!0),o(n)&&P(t,e,d))return A(e,d,!0),t;t=u(t)}var p=t.elm,m=l.parentNode(p);if(f(e,d,p._leaveCb?null:m,l.nextSibling(p)),r(e.parent)){var g=e.parent,v=b(e);while(g){for(var _=0;_<a.destroy.length;++_)a.destroy[_](g);if(g.elm=e.elm,v){for(var y=0;y<a.create.length;++y)a.create[y](Ar,g);var w=g.data.hook.insert;if(w.merged)for(var k=1;k<w.fns.length;k++)w.fns[k]()}else Lr(g);g=g.parent}}r(m)?M([t],0,0):r(t.tag)&&T(t)}}return A(e,d,c),e.elm}r(t)&&T(t)}}var Rr={create:Nr,update:Nr,destroy:function(t){Nr(t,Ar)}};function Nr(t,e){(t.data.directives||e.data.directives)&&Yr(t,e)}function Yr(t,e){var n,i,r,o=t===Ar,a=e===Ar,s=Br(t.data.directives,t.context),c=Br(e.data.directives,e.context),l=[],u=[];for(n in c)i=s[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Hr(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(Hr(r,"bind",e,t),r.def&&r.def.inserted&&l.push(r));if(l.length){var d=function(){for(var n=0;n<l.length;n++)Hr(l[n],"inserted",e,t)};o?Te(e,"insert",d):d()}if(u.length&&Te(e,"postpatch",(function(){for(var n=0;n<u.length;n++)Hr(u[n],"componentUpdated",e,t)})),!o)for(n in s)c[n]||Hr(s[n],"unbind",t,t,a)}var zr=Object.create(null);function Br(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)i=t[n],i.modifiers||(i.modifiers=zr),r[Fr(i)]=i,i.def=Jt(e.$options,"directives",i.name,!0);return r}function Fr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Hr(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(Kl){re(Kl,n.context,"directive "+t.name+" "+e+" hook")}}var Vr=[Er,Rr];function Ur(t,e){var n=e.componentOptions;if((!r(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(t.data.attrs)||!i(e.data.attrs))){var o,a,s,c=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in r(u.__ob__)&&(u=e.data.attrs=P({},u)),u)a=u[o],s=l[o],s!==a&&Wr(c,o,a,e.data.pre);for(o in(nt||rt)&&u.value!==l.value&&Wr(c,"value",u.value),l)i(u[o])&&(Gi(o)?c.removeAttributeNS(qi,Zi(o)):Ui(o)||c.removeAttribute(o))}}function Wr(t,e,n,i){i||t.tagName.indexOf("-")>-1?$r(t,e,n):Xi(e)?Ji(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ui(e)?t.setAttribute(e,$i(e,n)):Gi(e)?Ji(n)?t.removeAttributeNS(qi,Zi(e)):t.setAttributeNS(qi,e,n):$r(t,e,n)}function $r(t,e,n){if(Ji(n))t.removeAttribute(e);else{if(nt&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Xr={create:Ur,update:Ur};function qr(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Ki(e),c=n._transitionClasses;r(c)&&(s=er(s,nr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Gr,Zr,Jr,Kr,Qr,to,eo={create:qr,update:qr},no=/[\w).+\-_$\]]/;function io(t){var e,n,i,r,o,a=!1,s=!1,c=!1,l=!1,u=0,d=0,h=0,f=0;for(i=0;i<t.length;i++)if(n=e,e=t.charCodeAt(i),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||u||d||h){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--;break}if(47===e){for(var p=i-1,m=void 0;p>=0;p--)if(m=t.charAt(p)," "!==m)break;m&&no.test(m)||(l=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):g();function g(){(o||(o=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&g(),o)for(i=0;i<o.length;i++)r=ro(r,o[i]);return r}function ro(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var i=e.slice(0,n),r=e.slice(n+1);return'_f("'+i+'")('+t+(")"!==r?","+r:r)}function oo(t,e){console.error("[Vue compiler]: "+t)}function ao(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function so(t,e,n,i,r){(t.props||(t.props=[])).push(_o({name:e,value:n,dynamic:r},i)),t.plain=!1}function co(t,e,n,i,r){var o=r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[]);o.push(_o({name:e,value:n,dynamic:r},i)),t.plain=!1}function lo(t,e,n,i){t.attrsMap[e]=n,t.attrsList.push(_o({name:e,value:n},i))}function uo(t,e,n,i,r,o,a,s){(t.directives||(t.directives=[])).push(_o({name:e,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function ho(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function fo(t,e,i,r,o,a,s,c){var l;r=r||n,r.right?c?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete r.right):r.middle&&(c?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=ho("!",e,c)),r.once&&(delete r.once,e=ho("~",e,c)),r.passive&&(delete r.passive,e=ho("&",e,c)),r.native?(delete r.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=_o({value:i.trim(),dynamic:c},s);r!==n&&(u.modifiers=r);var d=l[e];Array.isArray(d)?o?d.unshift(u):d.push(u):l[e]=d?o?[u,d]:[d,u]:u,t.plain=!1}function po(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function mo(t,e,n){var i=go(t,":"+e)||go(t,"v-bind:"+e);if(null!=i)return io(i);if(!1!==n){var r=go(t,e);if(null!=r)return JSON.stringify(r)}}function go(t,e,n){var i;if(null!=(i=t.attrsMap[e]))for(var r=t.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===e){r.splice(o,1);break}return n&&delete t.attrsMap[e],i}function vo(t,e){for(var n=t.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(e.test(o.name))return n.splice(i,1),o}}function _o(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function yo(t,e,n){var i=n||{},r=i.number,o=i.trim,a="$$v",s=a;o&&(s="(typeof "+a+" === 'string'? "+a+".trim(): "+a+")"),r&&(s="_n("+s+")");var c=bo(e,s);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ("+a+") {"+c+"}"}}function bo(t,e){var n=wo(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function wo(t){if(t=t.trim(),Gr=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<Gr-1)return Kr=t.lastIndexOf("."),Kr>-1?{exp:t.slice(0,Kr),key:'"'+t.slice(Kr+1)+'"'}:{exp:t,key:null};Zr=t,Kr=Qr=to=0;while(!xo())Jr=ko(),To(Jr)?So(Jr):91===Jr&&Mo(Jr);return{exp:t.slice(0,Qr),key:t.slice(Qr+1,to)}}function ko(){return Zr.charCodeAt(++Kr)}function xo(){return Kr>=Gr}function To(t){return 34===t||39===t}function Mo(t){var e=1;Qr=Kr;while(!xo())if(t=ko(),To(t))So(t);else if(91===t&&e++,93===t&&e--,0===e){to=Kr;break}}function So(t){var e=t;while(!xo())if(t=ko(),t===e)break}var Co,Eo="__r",Lo="__c";function Ao(t,e,n){n;var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return yo(t,i,r),!1;if("select"===o)Do(t,i,r);else if("input"===o&&"checkbox"===a)Oo(t,i,r);else if("input"===o&&"radio"===a)Po(t,i,r);else if("input"===o||"textarea"===o)jo(t,i,r);else{if(!U.isReservedTag(o))return yo(t,i,r),!1}return!0}function Oo(t,e,n){var i=n&&n.number,r=mo(t,"value")||"null",o=mo(t,"true-value")||"true",a=mo(t,"false-value")||"false";so(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),fo(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+bo(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+bo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+bo(e,"$$c")+"}",null,!0)}function Po(t,e,n){var i=n&&n.number,r=mo(t,"value")||"null";r=i?"_n("+r+")":r,so(t,"checked","_q("+e+","+r+")"),fo(t,"change",bo(e,r),null,!0)}function Do(t,e,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(i?"_n(val)":"val")+"})",o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = "+r+";";a=a+" "+bo(e,o),fo(t,"change",a,null,!0)}function jo(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,c=!o&&"range"!==i,l=o?"change":"range"===i?Eo:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=bo(e,u);c&&(d="if($event.target.composing)return;"+d),so(t,"value","("+e+")"),fo(t,l,d,null,!0),(s||a)&&fo(t,"blur","$forceUpdate()")}function Io(t){if(r(t[Eo])){var e=nt?"change":"input";t[e]=[].concat(t[Eo],t[e]||[]),delete t[Eo]}r(t[Lo])&&(t.change=[].concat(t[Lo],t.change||[]),delete t[Lo])}function Ro(t,e,n){var i=Co;return function r(){var o=e.apply(null,arguments);null!==o&&zo(t,r,n,i)}}var No=le&&!(at&&Number(at[1])<=53);function Yo(t,e,n,i){if(No){var r=Zn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Co.addEventListener(t,e,ct?{capture:n,passive:i}:n)}function zo(t,e,n,i){(i||Co).removeEventListener(t,e._wrapper||e,n)}function Bo(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Co=e.elm,Io(n),xe(n,r,Yo,zo,Ro,e.context),Co=void 0}}var Fo,Ho={create:Bo,update:Bo};function Vo(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=P({}
vendor: 14,065 bytes, line 332
332,c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var l=i(o)?"":String(o);Uo(a,l)&&(a.value=l)}else if("innerHTML"===n&&sr(a.tagName)&&i(a.innerHTML)){Fo=Fo||document.createElement("div"),Fo.innerHTML="<svg>"+o+"</svg>";var u=Fo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(u.firstChild)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Kl){}}}}function Uo(t,e){return!t.composing&&("OPTION"===t.tagName||Wo(t,e)||$o(t,e))}function Wo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Kl){}return n&&t.value!==e}function $o(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return m(n)!==m(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Xo={create:Vo,update:Vo},qo=k((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Go(t){var e=Zo(t.style);return t.staticStyle?P(t.staticStyle,e):e}function Zo(t){return Array.isArray(t)?D(t):"string"===typeof t?qo(t):t}function Jo(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Go(r.data))&&P(i,n)}(n=Go(t.data))&&P(i,n);var o=t;while(o=o.parent)o.data&&(n=Go(o.data))&&P(i,n);return i}var Ko,Qo=/^--/,ta=/\s*!important$/,ea=function(t,e,n){if(Qo.test(e))t.style.setProperty(e,n);else if(ta.test(n))t.style.setProperty(C(e),n.replace(ta,""),"important");else{var i=ia(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},na=["Webkit","Moz","ms"],ia=k((function(t){if(Ko=Ko||document.createElement("div").style,t=T(t),"filter"!==t&&t in Ko)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<na.length;n++){var i=na[n]+e;if(i in Ko)return i}}));function ra(t,e){var n=e.data,o=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(o.staticStyle)&&i(o.style))){var a,s,c=e.elm,l=o.staticStyle,u=o.normalizedStyle||o.style||{},d=l||u,h=Zo(e.data.style)||{};e.data.normalizedStyle=r(h.__ob__)?P({},h):h;var f=Jo(e,!0);for(s in d)i(f[s])&&ea(c,s,"");for(s in f)a=f[s],a!==d[s]&&ea(c,s,null==a?"":a)}}var oa={create:ra,update:ra},aa=/\s+/;function sa(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(aa).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ca(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(aa).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function la(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,ua(t.name||"v")),P(e,t),e}return"string"===typeof t?ua(t):void 0}}var ua=k((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),da=K&&!it,ha="transition",fa="animation",pa="transition",ma="transitionend",ga="animation",va="animationend";da&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(pa="WebkitTransition",ma="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ga="WebkitAnimation",va="webkitAnimationEnd"));var _a=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ya(t){_a((function(){_a(t)}))}function ba(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),sa(t,e))}function wa(t,e){t._transitionClasses&&y(t._transitionClasses,e),ca(t,e)}function ka(t,e,n){var i=Ta(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ha?ma:va,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),t.addEventListener(s,u)}var xa=/\b(transform|all)(,|$)/;function Ta(t,e){var n,i=window.getComputedStyle(t),r=(i[pa+"Delay"]||"").split(", "),o=(i[pa+"Duration"]||"").split(", "),a=Ma(r,o),s=(i[ga+"Delay"]||"").split(", "),c=(i[ga+"Duration"]||"").split(", "),l=Ma(s,c),u=0,d=0;e===ha?a>0&&(n=ha,u=a,d=o.length):e===fa?l>0&&(n=fa,u=l,d=c.length):(u=Math.max(a,l),n=u>0?a>l?ha:fa:null,d=n?n===ha?o.length:c.length:0);var h=n===ha&&xa.test(i[pa+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function Ma(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Sa(e)+Sa(t[n])})))}function Sa(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ca(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=la(t.data.transition);if(!i(o)&&!r(n._enterCb)&&1===n.nodeType){var a=o.css,s=o.type,l=o.enterClass,u=o.enterToClass,d=o.enterActiveClass,h=o.appearClass,f=o.appearToClass,p=o.appearActiveClass,g=o.beforeEnter,v=o.enter,_=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,w=o.appear,k=o.afterAppear,x=o.appearCancelled,T=o.duration,M=Dn,S=Dn.$vnode;while(S&&S.parent)M=S.context,S=S.parent;var C=!M._isMounted||!t.isRootInsert;if(!C||w||""===w){var E=C&&h?h:l,L=C&&p?p:d,A=C&&f?f:u,O=C&&b||g,P=C&&"function"===typeof w?w:v,D=C&&k||_,j=C&&x||y,I=m(c(T)?T.enter:T);0;var R=!1!==a&&!it,N=Aa(P),Y=n._enterCb=B((function(){R&&(wa(n,A),wa(n,L)),Y.cancelled?(R&&wa(n,E),j&&j(n)):D&&D(n),n._enterCb=null}));t.data.show||Te(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),P&&P(n,Y)})),O&&O(n),R&&(ba(n,E),ba(n,L),ya((function(){wa(n,E),Y.cancelled||(ba(n,A),N||(La(I)?setTimeout(Y,I):ka(n,s,Y)))}))),t.data.show&&(e&&e(),P&&P(n,Y)),R||N||Y()}}}function Ea(t,e){var n=t.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=la(t.data.transition);if(i(o)||1!==n.nodeType)return e();if(!r(n._leaveCb)){var a=o.css,s=o.type,l=o.leaveClass,u=o.leaveToClass,d=o.leaveActiveClass,h=o.beforeLeave,f=o.leave,p=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,_=o.duration,y=!1!==a&&!it,b=Aa(f),w=m(c(_)?_.leave:_);0;var k=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(wa(n,u),wa(n,d)),k.cancelled?(y&&wa(n,l),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));v?v(x):x()}function x(){k.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),y&&(ba(n,l),ba(n,d),ya((function(){wa(n,l),k.cancelled||(ba(n,u),b||(La(w)?setTimeout(k,w):ka(n,s,k)))}))),f&&f(n,k),y||b||k())}}function La(t){return"number"===typeof t&&!isNaN(t)}function Aa(t){if(i(t))return!1;var e=t.fns;return r(e)?Aa(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Oa(t,e){!0!==e.data.show&&Ca(e)}var Pa=K?{create:Oa,activate:Oa,remove:function(t,e){!0!==t.data.show?Ea(t,e):e()}}:{},Da=[Xr,eo,Ho,Xo,oa,Pa],ja=Da.concat(Vr),Ia=Ir({nodeOps:Cr,modules:ja});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Va(t,"input")}));var Ra={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Te(n,"postpatch",(function(){Ra.componentUpdated(t,e,n)})):Na(t,e,n.context),t._vOptions=[].map.call(t.options,Ba)):("textarea"===n.tag||fr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Fa),t.addEventListener("compositionend",Ha),t.addEventListener("change",Ha),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Na(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Ba);if(r.some((function(t,e){return!Y(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return za(t,r)})):e.value!==e.oldValue&&za(e.value,r);o&&Va(t,"change")}}}};function Na(t,e,n){Ya(t,e,n),(nt||rt)&&setTimeout((function(){Ya(t,e,n)}),0)}function Ya(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],r)o=z(i,Ba(a))>-1,a.selected!==o&&(a.selected=o);else if(Y(Ba(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function za(t,e){return e.every((function(e){return!Y(e,t)}))}function Ba(t){return"_value"in t?t._value:t.value}function Fa(t){t.target.composing=!0}function Ha(t){t.target.composing&&(t.target.composing=!1,Va(t.target,"input"))}function Va(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ua(t){return!t.componentInstance||t.data&&t.data.transition?t:Ua(t.componentInstance._vnode)}var Wa={bind:function(t,e,n){var i=e.value;n=Ua(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ca(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Ua(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Ca(n,(function(){t.style.display=t.__vOriginalDisplay})):Ea(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},$a={model:Ra,show:Wa},Xa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function qa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qa(Sn(e.children)):t}function Ga(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[T(o)]=r[o];return e}function Za(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ja(t){while(t=t.parent)if(t.data.transition)return!0}function Ka(t,e){return e.key===t.key&&e.tag===t.tag}var Qa=function(t){return t.tag||Re(t)},ts=function(t){return"show"===t.name},es={name:"transition",props:Xa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Qa),n.length)){0;var i=this.mode;0;var r=n[0];if(Ja(this.$vnode))return r;var o=qa(r);if(!o)return r;if(this._leaving)return Za(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=Ga(this),l=this._vnode,u=qa(l);if(o.data.directives&&o.data.directives.some(ts)&&(o.data.show=!0),u&&u.data&&!Ka(o,u)&&!Re(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=P({},c);if("out-in"===i)return this._leaving=!0,Te(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Za(t,r);if("in-out"===i){if(Re(o))return l;var h,f=function(){h()};Te(c,"afterEnter",f),Te(c,"enterCancelled",f),Te(d,"delayLeave",(function(t){h=t}))}}return r}}},ns=P({tag:String,moveClass:String},Xa);delete ns.mode;var is={props:ns,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=jn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Ga(this),s=0;s<r.length;s++){var c=r[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(i){for(var l=[],u=[],d=0;d<i.length;d++){var h=i[d];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?l.push(h):u.push(h)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(rs),t.forEach(os),t.forEach(as),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;ba(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(ma,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(ma,t),n._moveCb=null,wa(n,e))})}})))},methods:{hasMove:function(t,e){if(!da)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){ca(n,t)})),sa(n,e),n.style.display="none",this.$el.appendChild(n);var i=Ta(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function rs(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function os(t){t.data.newPos=t.elm.getBoundingClientRect()}function as(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}var ss={Transition:es,TransitionGroup:is};Si.config.mustUseProp=Vi,Si.config.isReservedTag=lr,Si.config.isReservedAttr=Fi,Si.config.getTagNamespace=ur,Si.config.isUnknownElement=hr,P(Si.options.directives,$a),P(Si.options.components,ss),Si.prototype.__patch__=K?Ia:j,Si.prototype.$mount=function(t,e){return t=t&&K?pr(t):void 0,Nn(this,t,e)},K&&setTimeout((function(){U.devtools&&dt&&dt.emit("init",Si)}),0);var cs=/\{\{((?:.|\r?\n)+?)\}\}/g,ls=/[-.*+?^${}()|[\]\/\\]/g,us=k((function(t){var e=t[0].replace(ls,"\\$&"),n=t[1].replace(ls,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));function ds(t,e){var n=e?us(e):cs;if(n.test(t)){var i,r,o,a=[],s=[],c=n.lastIndex=0;while(i=n.exec(t)){r=i.index,r>c&&(s.push(o=t.slice(c,r)),a.push(JSON.stringify(o)));var l=io(i[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=r+i[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function hs(t,e){e.warn;var n=go(t,"class");
vendor: 8,625 bytes, line 332
332n&&(t.staticClass=JSON.stringify(n));var i=mo(t,"class",!1);i&&(t.classBinding=i)}function fs(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}var ps={staticKeys:["staticClass"],transformNode:hs,genData:fs};function ms(t,e){e.warn;var n=go(t,"style");n&&(t.staticStyle=JSON.stringify(qo(n)));var i=mo(t,"style",!1);i&&(t.styleBinding=i)}function gs(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}var vs,_s={staticKeys:["staticStyle"],transformNode:ms,genData:gs},ys={decode:function(t){return vs=vs||document.createElement("div"),vs.innerHTML=t,vs.textContent}},bs=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ws=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ks=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),xs=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ts=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ms="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+W.source+"]*",Ss="((?:"+Ms+"\\:)?"+Ms+")",Cs=new RegExp("^<"+Ss),Es=/^\s*(\/?)>/,Ls=new RegExp("^<\\/"+Ss+"[^>]*>"),As=/^<!DOCTYPE [^>]+>/i,Os=/^<!\--/,Ps=/^<!\[/,Ds=g("script,style,textarea",!0),js={},Is={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Rs=/&(?:lt|gt|quot|amp|#39);/g,Ns=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ys=g("pre,textarea",!0),zs=function(t,e){return t&&Ys(t)&&"\n"===e[0]};function Bs(t,e){var n=e?Ns:Rs;return t.replace(n,(function(t){return Is[t]}))}function Fs(t,e){var n,i,r=[],o=e.expectHTML,a=e.isUnaryTag||I,s=e.canBeLeftOpenTag||I,c=0;while(t){if(n=t,i&&Ds(i)){var l=0,u=i.toLowerCase(),d=js[u]||(js[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),h=t.replace(d,(function(t,n,i){return l=i.length,Ds(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),zs(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-h.length,t=h,S(u,c-l,c)}else{var f=t.indexOf("<");if(0===f){if(Os.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),c,c+p+3),x(p+3);continue}}if(Ps.test(t)){var m=t.indexOf("]>");if(m>=0){x(m+2);continue}}var g=t.match(As);if(g){x(g[0].length);continue}var v=t.match(Ls);if(v){var _=c;x(v[0].length),S(v[1],_,c);continue}var y=T();if(y){M(y),zs(y.tagName,t)&&x(1);continue}}var b=void 0,w=void 0,k=void 0;if(f>=0){w=t.slice(f);while(!Ls.test(w)&&!Cs.test(w)&&!Os.test(w)&&!Ps.test(w)){if(k=w.indexOf("<",1),k<0)break;f+=k,w=t.slice(f)}b=t.substring(0,f)}f<0&&(b=t),b&&x(b.length),e.chars&&b&&e.chars(b,c-b.length,c)}if(t===n){e.chars&&e.chars(t);break}}function x(e){c+=e,t=t.substring(e)}function T(){var e=t.match(Cs);if(e){var n,i,r={tagName:e[1],attrs:[],start:c};x(e[0].length);while(!(n=t.match(Es))&&(i=t.match(Ts)||t.match(xs)))i.start=c,x(i[0].length),i.end=c,r.attrs.push(i);if(n)return r.unarySlash=n[1],x(n[0].length),r.end=c,r}}function M(t){var n=t.tagName,c=t.unarySlash;o&&("p"===i&&ks(n)&&S(i),s(n)&&i===n&&S(n));for(var l=a(n)||!!c,u=t.attrs.length,d=new Array(u),h=0;h<u;h++){var f=t.attrs[h],p=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[h]={name:f[1],value:Bs(p,m)}}l||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),i=n),e.start&&e.start(n,d,l,t.start,t.end)}function S(t,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),t){for(s=t.toLowerCase(),a=r.length-1;a>=0;a--)if(r[a].lowerCasedTag===s)break}else a=0;if(a>=0){for(var l=r.length-1;l>=a;l--)e.end&&e.end(r[l].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}S()}var Hs,Vs,Us,Ws,$s,Xs,qs,Gs,Zs=/^@|^v-on:/,Js=/^v-|^@|^:|^#/,Ks=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,tc=/^\(|\)$/g,ec=/^\[.*\]$/,nc=/:(.*)$/,ic=/^:|^\.|^v-bind:/,rc=/\.[^.\]]+(?=[^\]]*$)/g,oc=/^v-slot(:|$)|^#/,ac=/[\r\n]/,sc=/[ \f\t\r\n]+/g,cc=k(ys.decode),lc="_empty_";function uc(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Oc(e),rawAttrsMap:{},parent:n,children:[]}}function dc(t,e){Hs=e.warn||oo,Xs=e.isPreTag||I,qs=e.mustUseProp||I,Gs=e.getTagNamespace||I;var n=e.isReservedTag||I;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),Us=ao(e.modules,"transformNode"),Ws=ao(e.modules,"preTransformNode"),$s=ao(e.modules,"postTransformNode"),Vs=e.delimiters;var i,r,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,l=!1;function u(t){if(d(t),c||t.processed||(t=pc(t,e)),o.length||t===i||i.if&&(t.elseif||t.else)&&kc(i,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)bc(t,r);else{if(t.slotScope){var n=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=t}r.children.push(t),t.parent=r}t.children=t.children.filter((function(t){return!t.slotScope})),d(t),t.pre&&(c=!1),Xs(t.tag)&&(l=!1);for(var a=0;a<$s.length;a++)$s[a](t,e)}function d(t){var e;if(!l)while((e=t.children[t.children.length-1])&&3===e.type&&" "===e.text)t.children.pop()}return Fs(t,{warn:Hs,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,d){var h=r&&r.ns||Gs(t);nt&&"svg"===h&&(n=Rc(n));var f=uc(t,n,r);h&&(f.ns=h),Dc(f)&&!ut()&&(f.forbidden=!0);for(var p=0;p<Ws.length;p++)f=Ws[p](f,e)||f;c||(hc(f),f.pre&&(c=!0)),Xs(f.tag)&&(l=!0),c?fc(f):f.processed||(vc(f),yc(f),xc(f)),i||(i=f),a?u(f):(r=f,o.push(f))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],u(i)},chars:function(t,e,n){if(r&&(!nt||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var i,o,u=r.children;if(t=l||t.trim()?Pc(r)?t:cc(t):u.length?s?"condense"===s&&ac.test(t)?"":" ":a?" ":"":"",t)l||"condense"!==s||(t=t.replace(sc," ")),!c&&" "!==t&&(i=ds(t,Vs))?o={type:2,expression:i.expression,tokens:i.tokens,text:t}:" "===t&&u.length&&" "===u[u.length-1].text||(o={type:3,text:t}),o&&u.push(o)}},comment:function(t,e,n){if(r){var i={type:3,text:t,isComment:!0};0,r.children.push(i)}}}),i}function hc(t){null!=go(t,"v-pre")&&(t.pre=!0)}function fc(t){var e=t.attrsList,n=e.length;if(n)for(var i=t.attrs=new Array(n),r=0;r<n;r++)i[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(i[r].start=e[r].start,i[r].end=e[r].end);else t.pre||(t.plain=!0)}function pc(t,e){mc(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,gc(t),Tc(t),Sc(t),Cc(t);for(var n=0;n<Us.length;n++)t=Us[n](t,e)||t;return Ec(t),t}function mc(t){var e=mo(t,"key");e&&(t.key=e)}function gc(t){var e=mo(t,"ref");e&&(t.ref=e,t.refInFor=Lc(t))}function vc(t){var e;if(e=go(t,"v-for")){var n=_c(e);n&&P(t,n)}}function _c(t){var e=t.match(Ks);if(e){var n={};n.for=e[2].trim();var i=e[1].trim().replace(tc,""),r=i.match(Qs);return r?(n.alias=i.replace(Qs,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}function yc(t){var e=go(t,"v-if");if(e)t.if=e,kc(t,{exp:e,block:t});else{null!=go(t,"v-else")&&(t.else=!0);var n=go(t,"v-else-if");n&&(t.elseif=n)}}function bc(t,e){var n=wc(e.children);n&&n.if&&kc(n,{exp:t.elseif,block:t})}function wc(t){var e=t.length;while(e--){if(1===t[e].type)return t[e];t.pop()}}function kc(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xc(t){var e=go(t,"v-once");null!=e&&(t.once=!0)}function Tc(t){var e;"template"===t.tag?(e=go(t,"scope"),t.slotScope=e||go(t,"slot-scope")):(e=go(t,"slot-scope"))&&(t.slotScope=e);var n=mo(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||co(t,"slot",n,po(t,"slot"))),"template"===t.tag){var i=vo(t,oc);if(i){0;var r=Mc(i),o=r.name,a=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=i.value||lc}}else{var s=vo(t,oc);if(s){0;var c=t.scopedSlots||(t.scopedSlots={}),l=Mc(s),u=l.name,d=l.dynamic,h=c[u]=uc("template",[],t);h.slotTarget=u,h.slotTargetDynamic=d,h.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=h,!0})),h.slotScope=s.value||lc,t.children=[],t.plain=!1}
vendor: 13,628 bytes, line 332
332}}function Mc(t){var e=t.name.replace(oc,"");return e||"#"!==t.name[0]&&(e="default"),ec.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Sc(t){"slot"===t.tag&&(t.slotName=mo(t,"name"))}function Cc(t){var e;(e=mo(t,"is"))&&(t.component=e),null!=go(t,"inline-template")&&(t.inlineTemplate=!0)}function Ec(t){var e,n,i,r,o,a,s,c,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(i=r=l[e].name,o=l[e].value,Js.test(i))if(t.hasBindings=!0,a=Ac(i.replace(Js,"")),a&&(i=i.replace(rc,"")),ic.test(i))i=i.replace(ic,""),o=io(o),c=ec.test(i),c&&(i=i.slice(1,-1)),a&&(a.prop&&!c&&(i=T(i),"innerHtml"===i&&(i="innerHTML")),a.camel&&!c&&(i=T(i)),a.sync&&(s=bo(o,"$event"),c?fo(t,'"update:"+('+i+")",s,null,!1,Hs,l[e],!0):(fo(t,"update:"+T(i),s,null,!1,Hs,l[e]),C(i)!==T(i)&&fo(t,"update:"+C(i),s,null,!1,Hs,l[e])))),a&&a.prop||!t.component&&qs(t.tag,t.attrsMap.type,i)?so(t,i,o,l[e],c):co(t,i,o,l[e],c);else if(Zs.test(i))i=i.replace(Zs,""),c=ec.test(i),c&&(i=i.slice(1,-1)),fo(t,i,o,a,!1,Hs,l[e],c);else{i=i.replace(Js,"");var u=i.match(nc),d=u&&u[1];c=!1,d&&(i=i.slice(0,-(d.length+1)),ec.test(d)&&(d=d.slice(1,-1),c=!0)),uo(t,i,r,o,d,c,a,l[e])}else co(t,i,JSON.stringify(o),l[e]),!t.component&&"muted"===i&&qs(t.tag,t.attrsMap.type,i)&&so(t,i,"true",l[e])}}function Lc(t){var e=t;while(e){if(void 0!==e.for)return!0;e=e.parent}return!1}function Ac(t){var e=t.match(rc);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function Oc(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}function Pc(t){return"script"===t.tag||"style"===t.tag}function Dc(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}var jc=/^xmlns:NS\d+/,Ic=/^NS\d+:/;function Rc(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];jc.test(i.name)||(i.name=i.name.replace(Ic,""),e.push(i))}return e}function Nc(t,e){if("input"===t.tag){var n,i=t.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=mo(t,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=go(t,"v-if",!0),o=r?"&&("+r+")":"",a=null!=go(t,"v-else",!0),s=go(t,"v-else-if",!0),c=Yc(t);vc(c),lo(c,"type","checkbox"),pc(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+o,kc(c,{exp:c.if,block:c});var l=Yc(t);go(l,"v-for",!0),lo(l,"type","radio"),pc(l,e),kc(c,{exp:"("+n+")==='radio'"+o,block:l});var u=Yc(t);return go(u,"v-for",!0),lo(u,":type",n),pc(u,e),kc(c,{exp:r,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}function Yc(t){return uc(t.tag,t.attrsList.slice(),t.parent)}var zc={preTransformNode:Nc},Bc=[ps,_s,zc];function Fc(t,e){e.value&&so(t,"textContent","_s("+e.value+")",e)}function Hc(t,e){e.value&&so(t,"innerHTML","_s("+e.value+")",e)}var Vc,Uc,Wc={model:Ao,text:Fc,html:Hc},$c={expectHTML:!0,modules:Bc,directives:Wc,isPreTag:cr,isUnaryTag:bs,mustUseProp:Vi,canBeLeftOpenTag:ws,isReservedTag:lr,getTagNamespace:ur,staticKeys:N(Bc)},Xc=k(Gc);function qc(t,e){t&&(Vc=Xc(e.staticKeys||""),Uc=e.isReservedTag||I,Zc(t),Jc(t,!1))}function Gc(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Zc(t){if(t.static=Kc(t),1===t.type){if(!Uc(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var i=t.children[e];Zc(i),i.static||(t.static=!1)}if(t.ifConditions)for(var r=1,o=t.ifConditions.length;r<o;r++){var a=t.ifConditions[r].block;Zc(a),a.static||(t.static=!1)}}}function Jc(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)Jc(t.children[n],e||!!t.for);if(t.ifConditions)for(var r=1,o=t.ifConditions.length;r<o;r++)Jc(t.ifConditions[r].block,e)}}function Kc(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!Uc(t.tag)||Qc(t)||!Object.keys(t).every(Vc))))}function Qc(t){while(t.parent){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}var tl=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,el=/\([^)]*?\);*$/,nl=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,il={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},rl={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ol=function(t){return"if("+t+")return null;"},al={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ol("$event.target !== $event.currentTarget"),ctrl:ol("!$event.ctrlKey"),shift:ol("!$event.shiftKey"),alt:ol("!$event.altKey"),meta:ol("!$event.metaKey"),left:ol("'button' in $event && $event.button !== 0"),middle:ol("'button' in $event && $event.button !== 1"),right:ol("'button' in $event && $event.button !== 2")};function sl(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=cl(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function cl(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return cl(t)})).join(",")+"]";var e=nl.test(t.value),n=tl.test(t.value),i=nl.test(t.value.replace(el,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(al[s])o+=al[s],il[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;o+=ol(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);a.length&&(r+=ll(a)),o&&(r+=o);var l=e?"return "+t.value+".apply(null, arguments)":n?"return ("+t.value+").apply(null, arguments)":i?"return "+t.value:t.value;return"function($event){"+r+l+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function ll(t){return"if(!$event.type.indexOf('key')&&"+t.map(ul).join("&&")+")return null;"}function ul(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=il[t],i=rl[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}function dl(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function hl(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}var fl={on:dl,bind:hl,cloak:j},pl=function(t){this.options=t,this.warn=t.warn||oo,this.transforms=ao(t.modules,"transformCode"),this.dataGenFns=ao(t.modules,"genData"),this.directives=P(P({},fl),t.directives);var e=t.isReservedTag||I;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ml(t,e){var n=new pl(e),i=t?"script"===t.tag?"null":gl(t,n):'_c("div")';return{render:"with(this){return "+i+"}",staticRenderFns:n.staticRenderFns}}function gl(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return vl(t,e);if(t.once&&!t.onceProcessed)return _l(t,e);if(t.for&&!t.forProcessed)return wl(t,e);if(t.if&&!t.ifProcessed)return yl(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return Il(t,e);var n;if(t.component)n=Rl(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=kl(t,e));var r=t.inlineTemplate?null:Ll(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Ll(t,e)||"void 0"}function vl(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+gl(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function _l(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return yl(t,e);if(t.staticInFor){var n="",i=t.parent;while(i){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+gl(t,e)+","+e.onceId+++","+n+")":gl(t,e)}return vl(t,e)}function yl(t,e,n,i){return t.ifProcessed=!0,bl(t.ifConditions.slice(),e,n,i)}function bl(t,e,n,i){if(!t.length)return i||"_e()";var r=t.shift();return r.exp?"("+r.exp+")?"+o(r.block)+":"+bl(t,e,n,i):""+o(r.block);function o(t){return n?n(t,e):t.once?_l(t,e):gl(t,e)}}function wl(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||gl)(t,e)+"})"}function kl(t,e){var n="{",i=xl(t,e);i&&(n+=i+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:"+Nl(t.attrs)+","),t.props&&(n+="domProps:"+Nl(t.props)+","),t.events&&(n+=sl(t.events,!1)+","),t.nativeEvents&&(n+=sl(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=Ml(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=Tl(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Nl(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function xl(t,e){var n=t.directives;if(n){var i,r,o,a,s="directives:[",c=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var l=e.directives[o.name];l&&(a=!!l(t,o,e.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function Tl(t,e){var n=t.children[0];if(n&&1===n.type){var i=ml(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}function Ml(t,e,n){var i=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Cl(n)})),r=!!t.if;if(!i){var o=t.parent;while(o){if(o.slotScope&&o.slotScope!==lc||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}}var a=Object.keys(e).map((function(t){return El(e[t],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+Sl(a):"")+")"}function Sl(t){var e=5381,n=t.length;while(n)e=33*e^t.charCodeAt(--n);return e>>>0}function Cl(t){return 1===t.type&&("slot"===t.tag||t.children.some(Cl))}function El(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return yl(t,e,El,"null");if(t.for&&!t.forProcessed)return wl(t,e,El);var i=t.slotScope===lc?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ll(t,e)||"undefined")+":undefined":Ll(t,e)||"undefined":gl(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Ll(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||gl)(a,e)+s}var c=n?Al(o,e.maybeComponent):0,l=r||Pl;return"["+o.map((function(t){return l(t,e)})).join(",")+"]"+(c?","+c:"")}}function Al(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(Ol(r)||r.ifConditions&&r.ifConditions.some((function(t){return Ol(t.block)}))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}function Ol(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Pl(t,e){return 1===t.type?gl(t,e):3===t.type&&t.isComment?jl(t):Dl(t)}function Dl(t){return"_v("+(2===t.type?t.expression:Yl(JSON.stringify(t.text)))+")"}function jl(t){return"_e("+JSON.stringify(t.text)+")"}function Il(t,e){var n=t.slotName||'"default"',i=Ll(t,e),r="_t("+n+(i?",function(){return "+i+"}":""),o=t.attrs||t.dynamicAttrs?Nl((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:T(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}function Rl(t,e,n){var i=e.inlineTemplate?null:Ll(e,n,!0);return"_c("+t+","+kl(e,n)+(i?","+i:"")+")"}function Nl(t){for(var e="",n="",i=0;i<t.length;i++){var r=t[i],o=Yl(r.value);r.dynamic?n+=r.name+","+o+",":e+='"'+r.name+'":'+o+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Yl(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function zl(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),j}}function Bl(t){var e=Object.create(null);return function(n,i,r){i=P({},i);i.warn;delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i);var s={},c=[];return s.render=zl(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return zl(t,c)})),e[o]=s}}function Fl(t){return function(e){function n(n,i){var r=Object.create(e),o=[],a=[],s=function(t,e,n){(n?a:o).push(t)};if(i)for(var c in i.modules&&(r.modules=(e.modules||[]).concat(i.modules)),i.directives&&(r.directives=P(Object.create(e.directives||null),i.directives)),i)"modules"!==c&&"directives"!==c&&(r[c]=i[c]);r.warn=s;
332var l=t(n.trim(),r);return l.errors=o,l.tips=a,l}return{compile:n,compileToFunctions:Bl(n)}}}var Hl,Vl=Fl((function(t,e){var n=dc(t.trim(),e);!1!==e.optimize&&qc(n,e);var i=ml(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}})),Ul=Vl($c),Wl=(Ul.compile,Ul.compileToFunctions);function $l(t){return Hl=Hl||document.createElement("div"),Hl.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Hl.innerHTML.indexOf(" ")>0}var Xl=!!K&&$l(!1),ql=!!K&&$l(!0),Gl=k((function(t){var e=pr(t);return e&&e.innerHTML})),Zl=Si.prototype.$mount;function Jl(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}Si.prototype.$mount=function(t,e){if(t=t&&pr(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"===typeof i)"#"===i.charAt(0)&&(i=Gl(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=Jl(t));if(i){0;var r=Wl(i,{outputSourceRange:!1,shouldDecodeNewlines:Xl,shouldDecodeNewlinesForHref:ql,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Zl.call(this,t,e)},Si.compile=Wl,e["default"]=Si}.call(this,n("c8ba"))},a04b:function(t,e,n){var i=n("c04e"),r=n("d9b5");t.exports=function(t){var e=i(t,"string");return r(e)?e:String(e)}},a078:function(t,e,n){var i=n("7b0b"),r=n("50c4"),o=n("35a1"),a=n("e95a"),s=n("0366"),c=n("ebb5").aTypedArrayConstructor;t.exports=function(t){var e,n,l,u,d,h,f=i(t),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=o(f);if(void 0!=v&&!a(v)){d=v.call(f),h=d.next,f=[];while(!(u=h.call(d)).done)f.push(u.value)}for(g&&p>2&&(m=s(m,arguments[2],2)),n=r(f.length),l=new(c(this))(n),e=0;n>e;e++)l[e]=g?m(f[e],e):f[e];return l}},a0d3:function(t,e,n){"use strict";var i=n("0f7c");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},a15b:function(t,e,n){"use strict";var i=n("23e7"),r=n("44ad"),o=n("fc6a"),a=n("a640"),s=[].join,c=r!=Object,l=a("join",",");i({target:"Array",proto:!0,forced:c||!l},{join:function(t){return s.call(o(this),void 0===t?",":t)}})},a356:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
333//! moment.js locale configuration 334var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["Ø£Ù٠٠٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£Ù٠٠٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£Ù٠٠٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù Ù ÙÙÙ ","ÙÙÙ ÙØ§ØØ¯",["ÙÙ٠اÙ","ÙÙÙ ÙÙ"],"%d Ø£ÙØ§Ù ","%d ÙÙÙ ÙØ§","%d ÙÙÙ "],M:["Ø£ÙÙ Ù Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£Ù٠٠٠عا٠","Ø¹Ø§Ù ÙØ§ØØ¯",["عا٠اÙ","عا٠ÙÙ"],"%d Ø£Ø¹ÙØ§Ù ","%d Ø¹Ø§Ù ÙØ§","%d عا٠"]},i=function(t){return function(i,r,o,a){var s=e(i),c=n[t][e(i)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,i)}},r=["جاÙÙÙ","ÙÙÙØ±Ù","٠ارس","Ø£ÙØ±ÙÙ","٠اÙ","Ø¬ÙØ§Ù","جÙÙÙÙØ©","Ø£ÙØª","سبت٠بر","Ø£ÙØªÙبر","ÙÙÙ٠بر","Ø¯ÙØ³Ù بر"],o=t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù /,isPM:function(t){return"Ù "===t},meridiem:function(t,e,n){return t<12?"ص":"Ù "},calendar:{sameDay:"[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù ÙØ° %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"Ø")},week:{dow:0,doy:4}});return o}))},a40a:function(t,e,n){"use strict";var i=n("e11e"),r=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},o=function(t,e,n,o){var a=function(o){var a="set"+r(o),s=n[o].type===Object||n[o].type===Array||Array.isArray(n[o].type);n[o].custom&&t[a]?t.$watch(o,(function(e,n){t[a](e,n)}),{deep:s}
334):"setOptions"===a?t.$watch(o,(function(t,n){Object(i["setOptions"])(e,t)}),{deep:s}):e[a]&&t.$watch(o,(function(t,n){e[a](t)}),{deep:s})};for(var s in n)a(s)},a=function(t){var e={};for(var n in t){var i=t[n];null!==i&&void 0!==i&&(e[n]=i)}return e},s=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=a(n);t=a(t);var r=e.$options.props;for(var o in t){var s=r[o]?r[o].default&&"function"===typeof r[o].default?r[o].default.call():r[o].default:Symbol("unique"),c=!1;c=Array.isArray(s)?JSON.stringify(s)===JSON.stringify(t[o]):s===t[o],i[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),i[o]=t[o]):i[o]||(i[o]=t[o])}return i},c=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,e){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(e).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},u={mixins:[l],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},d={mixins:[u],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(t){return"string"===typeof t||!!Array.isArray(t)&&t.every((function(t){return"string"===typeof t}))}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},h={props:{options:{type:Object,default:function(){return{}}}}},f={name:"LTileLayer",mixins:[d,h],props:{url:{type:String,default:null},tileLayerClass:{type:Function,default:i["tileLayer"]}},mounted:function(){var t=this,e=s(this.tileLayerOptions,this);this.mapObject=this.tileLayerClass(this.url,e),i["DomEvent"].on(this.mapObject,this.$listeners),o(this,this.mapObject,this.$options.props),this.parentContainer=c(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function p(t,e,n,i,r,o,a,s,c,l){"boolean"!==typeof a&&(c=s,s=a,a=!1);var u,d="function"===typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var m=f,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},v=[],_=void 0,y=void 0,b=void 0,w=!1,k=p({render:g,staticRenderFns:v},_,m,y,w,b,!1,void 0,void 0,void 0);e["a"]=k}
vendor: 6,558 bytes, line 334
334,a434:function(t,e,n){"use strict";var i=n("23e7"),r=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),c=n("65f0"),l=n("8418"),u=n("1dde"),d=u("splice"),h=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var n,i,u,d,g,v,_=s(this),y=a(_.length),b=r(t,y),w=arguments.length;if(0===w?n=i=0:1===w?(n=0,i=y-b):(n=w-2,i=f(h(o(e),0),y-b)),y+n-i>p)throw TypeError(m);for(u=c(_,i),d=0;d<i;d++)g=b+d,g in _&&l(u,d,_[g]);if(u.length=i,n<i){for(d=b;d<y-i;d++)g=d+i,v=d+n,g in _?_[v]=_[g]:delete _[v];for(d=y;d>y-i+n;d--)delete _[d-1]}else if(n>i)for(d=y-i;d>b;d--)g=d+i-1,v=d+n-1,g in _?_[v]=_[g]:delete _[v];for(d=0;d<n;d++)_[d+b]=arguments[d+2];return _.length=y-i+n,u}})},a435:function(t,e,n){},a4b4:function(t,e,n){var i=n("342f");t.exports=/web0s(?!.*chrome)/i.test(i)},a4d3:function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),c=n("4930"),l=n("d039"),u=n("5135"),d=n("e8b5"),h=n("861d"),f=n("d9b5"),p=n("825a"),m=n("7b0b"),g=n("fc6a"),v=n("a04b"),_=n("577e"),y=n("5c6c"),b=n("7c73"),w=n("df75"),k=n("241c"),x=n("057f"),T=n("7418"),M=n("06cf"),S=n("9bf2"),C=n("d1e7"),E=n("9112"),L=n("6eeb"),A=n("5692"),O=n("f772"),P=n("d012"),D=n("90e3"),j=n("b622"),I=n("e538"),R=n("746f"),N=n("d44e"),Y=n("69f3"),z=n("b727").forEach,B=O("hidden"),F="Symbol",H="prototype",V=j("toPrimitive"),U=Y.set,W=Y.getterFor(F),$=Object[H],X=r.Symbol,q=o("JSON","stringify"),G=M.f,Z=S.f,J=x.f,K=C.f,Q=A("symbols"),tt=A("op-symbols"),et=A("string-to-symbol-registry"),nt=A("symbol-to-string-registry"),it=A("wks"),rt=r.QObject,ot=!rt||!rt[H]||!rt[H].findChild,at=s&&l((function(){return 7!=b(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=G($,e);i&&delete $[e],Z(t,e,n),i&&t!==$&&Z($,e,i)}:Z,st=function(t,e){var n=Q[t]=b(X[H]);return U(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ct=function(t,e,n){t===$&&ct(tt,e,n),p(t);var i=v(e);return p(n),u(Q,i)?(n.enumerable?(u(t,B)&&t[B][i]&&(t[B][i]=!1),n=b(n,{enumerable:y(0,!1)})):(u(t,B)||Z(t,B,y(1,{})),t[B][i]=!0),at(t,i,n)):Z(t,i,n)},lt=function(t,e){p(t);var n=g(e),i=w(n).concat(pt(n));return z(i,(function(e){s&&!dt.call(n,e)||ct(t,e,n[e])})),t},ut=function(t,e){return void 0===e?b(t):lt(b(t),e)},dt=function(t){var e=v(t),n=K.call(this,e);return!(this===$&&u(Q,e)&&!u(tt,e))&&(!(n||!u(this,e)||!u(Q,e)||u(this,B)&&this[B][e])||n)},ht=function(t,e){var n=g(t),i=v(e);if(n!==$||!u(Q,i)||u(tt,i)){var r=G(n,i);return!r||!u(Q,i)||u(n,B)&&n[B][i]||(r.enumerable=!0),r}},ft=function(t){var e=J(g(t)),n=[];return z(e,(function(t){u(Q,t)||u(P,t)||n.push(t)})),n},pt=function(t){var e=t===$,n=J(e?tt:g(t)),i=[];return z(n,(function(t){!u(Q,t)||e&&!u($,t)||i.push(Q[t])})),i};if(c||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,e=D(t),n=function(t){this===$&&n.call(tt,t),u(this,B)&&u(this[B],e)&&(this[B][e]=!1),at(this,e,y(1,t))};return s&&ot&&at($,e,{configurable:!0,set:n}),st(e,t)},L(X[H],"toString",(function(){return W(this).tag})),L(X,"withoutSetter",(function(t){return st(D(t),t)})),C.f=dt,S.f=ct,M.f=ht,k.f=x.f=ft,T.f=pt,I.f=function(t){return st(j(t),t)},s&&(Z(X[H],"description",{configurable:!0,get:function(){return W(this).description}}),a||L($,"propertyIsEnumerable",dt,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:X}),z(w(it),(function(t){R(t)})),i({target:F,stat:!0,forced:!c},{for:function(t){var e=_(t);if(u(et,e))return et[e];var n=X(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!f(t))throw TypeError(t+" is not a symbol");if(u(nt,t))return nt[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!s},{create:ut,defineProperty:ct,defineProperties:lt,getOwnPropertyDescriptor:ht}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ft,getOwnPropertySymbols:pt}),i({target:"Object",stat:!0,forced:l((function(){T.f(1)}))},{getOwnPropertySymbols:function(t){return T.f(m(t))}}),q){var mt=!c||l((function(){var t=X();return"[null]"!=q([t])||"{}"!=q({a:t})||"{}"!=q(Object(t))}));i({target:"JSON",stat:!0,forced:mt},{stringify:function(t,e,n){var i,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(i=e,(h(e)||void 0!==t)&&!f(t))return d(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!f(e))return e}),r[1]=e,q.apply(null,r)}})}X[H][V]||E(X[H],V,X[H].valueOf),N(X,F),P[B]=!0},a630:function(t,e,n){var i=n("23e7"),r=n("4df4"),o=n("1c7e"),a=!o((function(t){Array.from(t)}));i({target:"Array",stat:!0,forced:a},{from:r})},a640:function(t,e,n){"use strict";var i=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},a745:function(t,e,n){"use strict";n.r(e);n("159b"),n("a9e3"),n("99af");var i=n("a026"),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fancy"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"fancy-box-mask"},[n("div",{ref:"fancyBoxWrapper",staticClass:"fancy-box-image-wrapper"},[t._l(t.prev,(function(t,e){return n("div",{style:{webkitTransform:"translate3d(-"+(e+1)*t.scaleWidth+"px, 0, 0)"}},[n("div",{style:{webkitTransform:"translate3d(0, "+t.y+"px, 0)"}},[n("img",{style:{width:t.w+"px"},attrs:{src:t.url}})])])})),n("div",[n("div",{style:t.activeStyle},[n("img",{style:t.activeImageStyle,attrs:{src:t.activeUrl}})])]),t._l(t.next,(function(t,e){return n("div",{style:{webkitTransform:"translate3d("+(e+1)*t.scaleWidth+"px, 0, 0)"}},[n("div",{style:{webkitTransform:"translate3d(0, "+t.y+"px, 0)"}},[n("img",{style:{width:t.w+"px"},attrs:{src:t.url}})])])}))],2)])])},o=[],a=(n("fb6a"),n("ca95")),s=n.n(a);i["default"].use(s.a);var c={name:"fancy-box",data:function(){return{activeStyle:{},activeUrl:"",activeImageStyle:{},prev:[],next:[],thumbnails:[],tap:null,pan:null,isZoom:!1}},props:{imageItems:{type:Array},visible:{type:Boolean}},methods:{onTapImage:function(){var t=arguments.length<=0?void 0:arguments[0],e=t.target,n=e.parentNode,i=n.getBoundingClientRect();this.imageIndex=Number(n.dataset.index)||0,this.createImage(e.src,i,e)},initDom:function(){var t=this,e=this.imageItems.slice(0,this.imageIndex),n=this.imageItems.slice(this.imageIndex+1,this.imageItems.length);e.forEach((function(e,n){e.y=t.getCenter(n).y,e.w=t.getCenter(n).w}
334)),n.forEach((function(e,n){e.y=t.getCenter(t.imageIndex+1+n).y,e.w=t.getCenter(t.imageIndex+1+n).w})),this.prev=e,this.next=n,this.listEl=this.$refs.fancyBoxWrapper.children,this.initEvent()},initEvent:function(){var t=this;this.tap=new Hammer.Manager(this.$refs.fancyBoxWrapper),this.pan=new Hammer(this.$refs.fancyBoxWrapper),this.tap.add(new Hammer.Tap({event:"doubletap",taps:2})),this.tap.add(new Hammer.Tap({event:"singletap"})),this.tap.get("doubletap").recognizeWith("singletap"),this.tap.get("singletap").requireFailure("doubletap"),this.tap.on("singletap",(function(e){t.isZoom||t.onSingleTap(e)})),this.tap.on("doubletap",(function(e){t.onDoubleTap(e)})),this.pan.on("panstart",(function(e){t.isZoom||t.onPanStart(e)})),this.pan.on("panmove",(function(e){t.isZoom||t.onPanMove(e)})),this.pan.on("panend",(function(e){t.isZoom||t.onPanEnd(e)}))},onImageStart:function(){var t=arguments.length<=0?void 0:arguments[0];this.startX=t.pointers[0].pageX-(this.offsetX||0),this.startY=t.pointers[0].pageY-(this.offsetY||this.getCenter().y)},onImageMove:function(){var t=arguments.length<=0?void 0:arguments[0],e=this.getCenter().scale;this.getCenter().y;this.offsetX=t.pointers[0].pageX-this.startX,this.offsetY=t.pointers[0].pageY-this.startY,this.offsetX>this.maxTx?this.offsetX=this.maxTx:this.offsetX<this.minTx&&(this.offsetX=this.minTx),this.offsetY>this.maxTy?this.offsetY=this.maxTy:this.offsetY<this.minTy&&(this.offsetY=this.minTy),this.activeImageEl.style.webkitTransition="0s",this.activeImageEl.style.webkitTransform="translate3d(".concat(this.offsetX,"px, ").concat(this.offsetY,"px, 0px) scale3d(").concat(e,", ").concat(e,", 1)")},onImageEnd:function(){this.activeImageEl.style.webkitTransition=""},onDoubleTap:function(){var t=this,e=arguments.length<=0?void 0:arguments[0];if(!(this.imageItems[this.imageIndex].width<window.innerWidth)){var n=e.center,i=n.x-this.getCenter().x,r=n.y-this.getCenter().y;this.activeImageEl=this.listEl[this.imageIndex].firstElementChild,this.maxTx=this.getCenter().maxTx(i,r),this.minTx=this.getCenter().minTx(i,r),this.maxTy=this.getCenter().maxTy(i,r),this.minTy=this.getCenter().minTy(i,r),this.isZoom?(this.activeImageEl.style.webkitTransform="translate3d(".concat(this.getCenter().x,"px, ").concat(this.getCenter().y,"px, 0px)"),setTimeout((function(){t.activeImageEl.style.webkitTransformOrigin="left top 0px"}),500),this.isZoom=!1):(this.activeImageEl.style.webkitTransform="translate3d(".concat(this.getCenter().x,"px, ").concat(this.getCenter().y,"px, 0px) scale3d(").concat(this.getCenter().scale,", ").concat(this.getCenter().scale,", 1)"),this.activeImageEl.style.webkitTransformOrigin="".concat(i,"px ").concat(r,"px 0px"),this.isZoom=!0)}},onSingleTap:function(){this.destroy(this.imageIndex)},onPanStart:function(){var t=arguments.length<=0?void 0:arguments[0];this.startTime=t.timeStamp,this.startX=t.pointers[0].pageX,this.offsetX=0},onPanMove:function(){var t=arguments.length<=0?void 0:arguments[0],e=this.imageIndex-1,n=e+3;for(this.offsetX=t.pointers[0].pageX-this.startX;e<n;e++){var i=e-this.imageIndex,r=this.listEl[e];r&&(r.style.webkitTransition="0s ease-out"),r&&(r.style.webkitTransform="translate3d(".concat(i*this.scaleWidth+this.offsetX,"px, 0px, 0)")),r&&(r.firstElementChild.style.webkitTransform="translate3d( ".concat(this.getCenter(e).x,"px, ").concat(this.getCenter(e).y,"px, 0)"))}},onPanEnd:function(){var t=arguments.length<=0?void 0:arguments[0],e=this.scaleWidth/6,n=t.t
334imeStamp,i=this.offsetX;n-this.startTime>300?i>=e?this.goPage("-1"):i<0&&i<-e?this.goPage("+1"):this.goPage("0"):i>50?this.goPage("-1"):i<-50?this.goPage("+1"):this.goPage("0")},goPage:function(t){var e=this.imageItems.length,n=0,i=this.listEl;"number"==typeof t?n=this.imageIndex:"string"==typeof t&&(n=this.imageIndex+1*t),n>e-1?n=e-1:n<0&&(n=0),this.imageIndex=n,i[n].style.webkitTransition="0.2s ease-out",i[n-1]&&(i[n-1].style.webkitTransition="0.2s ease-out"),i[n+1]&&(i[n+1].style.webkitTransition="0.2s ease-out"),i[n].style.webkitTransform="translate3d(0, 0, 0)",i[n].firstElementChild.style.webkitTransform="translate3d(".concat(this.getCenter(n).x,", ").concat(this.getCenter(n).y,"px, 0)"),i[n-1]&&(i[n-1].style.webkitTransform="translate3d(-".concat(this.scaleWidth,"px, 0px, 0)")),i[n-1]&&(i[n-1].firstElementChild.style.webkitTransform="translate3d(".concat(this.getCenter(n-1).x,"px, ").concat(this.getCenter(n-1).y,"px, 0)")),i[n+1]&&(i[n+1].style.webkitTransform="translate3d(".concat(this.scaleWidth,"px, 0px, 0)")),i[n+1]&&(i[n+1].firstElementChild.style.webkitTransform="translate3d(".concat(this.getCenter(n+1).x,"px, ").concat(this.getCenter(n+1).y,"px, 0)"))},destroy:function(t){var e=this;if(this.listEl){var n=this.listEl[t].firstElementChild,i=this.thumbnails[t],r=i.getBoundingClientRect(),o=this.getZoomTransform(i.firstElementChild);this.tap.off("singletap"),this.tap.off("doubletap"),this.pan.off("panstart"),this.pan.off("panmove"),this.pan.off("panend"),n.style.webkitTransform="translate3d(".concat(r.left,"px, ").concat(r.top,"px, 0px) scale(").concat(o,")"),setTimeout((function(){e.visible=!1,setTimeout((function(){e.$refs.fancyBoxWrapper&&document.body.removeChild(e.$refs.fancyBoxWrapper.parentNode),e.$destroy()}),200)}),300)}},getElWidth:function(t){return t.getBoundingClientRect().width},getZoomTransform:function(t){return this.getElWidth(t)/this.imageItems[this.imageIndex].width/this.imageItems[this.imageIndex].fitRatio},getCenter:function(t){var e="undefined"==typeof t?this.imageItems[this.imageIndex]:this.imageItems[t];return{x:Math.round((window.innerWidth-e.width*e.fitRatio)/2),y:Math.round((window.innerHeight-e.height*e.fitRatio)/2),w:Math.round(e.width*e.fitRatio),scale:e.width/window.innerWidth,widthFix:e.width-window.innerWidth,maxTx:function(t,e){return this.widthFix*(t/window.innerWidth)},minTx:function(t,e){return 0-this.widthFix*((window.innerWidth-t)/window.innerWidth)},maxTy:function(t,n){var i=window.innerHeight-2*this.y,r=e.height-i;return r*(n/i)},minTy:function(t,n){var i=window.innerHeight-2*this.y,r=(window.innerHeight-i)/2,o=e.height-i;return n=n+this.y-r,0-(o*((i-n)/i)-(i+this.y))}}}},created:function(){this.scaleWidth=window.innerWidth},mounted:function(){}},l=c,u=(n("66c1"),n("2877")),d=Object(u["a"])(l,r,o,!1,null,null,null),h=d.exports,f=i["default"].extend(h);
334i["default"].directive("fancybox-thumbnail",{inserted:function(t,e){var n=t.getBoundingClientRect(),i=e.value[0],r=e.value[1],o=n.width/n.height,a=i/r>o?"height":"width";t.firstElementChild.style[a]="100%"}});e["default"]=function(t,e){e.forEach((function(t){var e=window.innerWidth/t.width,n=window.innerHeight/t.height;t.scaleWidth=window.innerWidth,t.fitRatio=e<n?e:n}));var n=new f({el:document.createElement("div")});document.body.appendChild(n.$el),i["default"].nextTick((function(){var i=t.parentNode;n.thumbnails=i.parentNode.children,n.visible=!0,n.imageItems=e,n.imageIndex=Number(i.dataset.index),n.activeUrl=n.imageItems[n.imageIndex].url;var r=n.getZoomTransform(t),o=i.getBoundingClientRect();n.activeStyle={webkitTransform:"translate3d(".concat(o.left,"px, ").concat(o.top,"px, 0px) scale(").concat(r,")")},n.imageItems[n.imageIndex].width<window.innerWidth&&(n.activeImageStyle={width:"100%"}),setTimeout((function(){n.activeImageStyle={width:"".concat(n.getCenter().w,"px")},n.activeStyle={webkitTransform:"translate3d(".concat(n.getCenter().x,"px, ").concat(n.getCenter().y,"px, 0px) scale(1)")},n.initDom()}),300)}))}},a79d:function(t,e,n){"use strict";var i=n("23e7"),r=n("c430"),o=n("fea9"),a=n("d039"),s=n("d066"),c=n("4840"),l=n("cdf9"),u=n("6eeb"),d=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));if(i({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(t){var e=c(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!r&&"function"==typeof o){var h=s("Promise").prototype["finally"];o.prototype["finally"]!==h&&u(o.prototype,"finally",h,{unsafe:!0})}},a7a3:function(t,e,n){},a7c0:function(t,e,n){"use strict";var i=n("4990"),r=n("88e1"),o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)};function a(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var s=function(){return s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},c=function(t){function e(e){var n=t.call(this)||this;return n.timeGrid=e,n}return a(e,t),e.prototype.renderSegs=function(e,n,r){t.prototype.renderSegs.call(this,e,n,r),this.fullTimeFormat=Object(i["E"])({hour:"numeric",minute:"2-digit",separator:this.context.options.defaultRangeSeparator})},e.prototype.attachSegs=function(t,e){for(var n=this.timeGrid.groupSegsByCol(t),i=0;i<n.length;i++)n[i]=this.sortEventSegs(n[i]);this.segsByCol=n,this.timeGrid.attachSegsByCol(n,this.timeGrid.fgContainerEls)},e.prototype.detachSegs=function(t){t.forEach((function(t){Object(i["cb"])(t.el)})),this.segsByCol=null},e.prototype.computeSegSizes=function(t){var e=this,n=e.timeGrid,i=e.segsByCol,r=n.colCnt;if(n.computeSegVerticals(t),i)for(var o=0;o<r;o++)this.computeSegHorizontals(i[o])},e.prototype.assignSegSizes=function(t){var e=this,n=e.timeGrid,i=e.segsByCol,r=n.colCnt;if(n.assignSegVerticals(t),i)for(var o=0;o<r;o++)this.assignSegCss(i[o])},e.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",meridiem:!1}},e.prototype.computeDisplayEventEnd=function(){return!0},e.prototype.renderSegHtml=function(t,e){var n,r,o,a=t.eventRange,s=a.def,c=a.ui,l=s.allDay,u=Object(i["y"])(this.context,s,c),d=t.isStart&&Object(i["A"])(this.context,s,c),h=t.isEnd&&Object(i["z"])(this.context,s,c),f=this.getSegClasses(t,u,d||h,e),p=Object(i["G"])(this.getSkinCss(c));if(f.unshift("fc-time-grid-event"),Object(i["U"])(a.range)){if(t.isStart||t.isEnd){var m=t.start,g=t.end;n=this._getTimeText(m,g,l),r=this._getTimeText(m,g,l,this.fullTimeFormat),o=this._getTimeText(m,g,l,null,!1)}}else n=this.getTimeText(a),r=this.getTimeText(a,this.fullTimeFormat),o=this.getTimeText(a,null,!1);return'<a class="'+f.join(" ")+'"'+(s.url?' href="'+Object(i["Q"])(s.url)+'"':"")+(p?' style="'+p+'"':"")+'><div class="fc-content">'+(n?'<div class="fc-time" data-start="'+Object(i["Q"])(o)+'" data-full="'+Object(i["Q"])(r)+'"><span>'+Object(i["Q"])(n)+"</span></div>":"")+(s.title?'<div class="fc-title">'+Object(i["Q"])(s.title)+"</div>":"")+"</div>"+(h?'<div class="fc-resizer fc-end-resizer"></div>':"")+"</a>"},e.prototype.computeSegHorizontals=function(t){var e,n,i;if(e=l(t),u(e),n=e[0]){for(i=0;i<n.length;i++)d(n[i]);for(i=0;i<n.length;i++)this.computeSegForwardBack(n[i],0,0)}},e.prototype.computeSegForwardBack=function(t,e,n){var i,r=t.forwardSegs;if(void 0===t.forwardCoord)for(r.length?(this.sortForwardSegs(r),this.computeSegForwardBack(r[0],e+1,n),t.forwardCoord=r[0].backwardCoord):t.forwardCoord=1,t.backwardCoord=t.forwardCoord-(t.forwardCoord-n)/(e+1),i=0;i<r.length;i++)this.computeSegForwardBack(r[i],0,t.forwardCoord)},e.prototype.sortForwardSegs=function(t){var e=t.map(p),n=[{field:"forwardPressure",order:-1},{field:"backwardCoord",order:1}].concat(this.context.eventOrderSpecs);return e.sort((function(t,e){return Object(i["v"])(t,e,n)}
334)),e.map((function(t){return t._seg}))},e.prototype.assignSegCss=function(t){for(var e=0,n=t;e<n.length;e++){var r=n[e];Object(i["r"])(r.el,this.generateSegCss(r)),r.level>0&&r.el.classList.add("fc-time-grid-event-inset"),r.eventRange.def.title&&r.bottom-r.top<30&&r.el.classList.add("fc-short")}},e.prototype.generateSegCss=function(t){var e,n,i=this.context.options.slotEventOverlap,r=t.backwardCoord,o=t.forwardCoord,a=this.timeGrid.generateSegVerticalCss(t),s=this.context.isRtl;return i&&(o=Math.min(1,r+2*(o-r))),s?(e=1-o,n=r):(e=r,n=1-o),a.zIndex=t.level+1,a.left=100*e+"%",a.right=100*n+"%",i&&t.forwardPressure&&(a[s?"marginLeft":"marginRight"]=20),a},e}(i["g"]);function l(t){var e,n,i,r=[];for(e=0;e<t.length;e++){for(n=t[e],i=0;i<r.length;i++)if(!h(n,r[i]).length)break;n.level=i,(r[i]||(r[i]=[])).push(n)}return r}function u(t){var e,n,i,r,o;for(e=0;e<t.length;e++)for(n=t[e],i=0;i<n.length;i++)for(r=n[i],r.forwardSegs=[],o=e+1;o<t.length;o++)h(r,t[o],r.forwardSegs)}function d(t){var e,n,i=t.forwardSegs,r=0;if(void 0===t.forwardPressure){for(e=0;e<i.length;e++)n=i[e],d(n),r=Math.max(r,1+n.forwardPressure);t.forwardPressure=r}}function h(t,e,n){void 0===n&&(n=[]);for(var i=0;i<e.length;i++)f(t,e[i])&&n.push(e[i]);return n}function f(t,e){return t.bottom>e.top&&t.top<e.bottom}function p(t){var e=Object(i["u"])(t);return e.forwardPressure=t.forwardPressure,e.backwardCoord=t.backwardCoord,e}var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.attachSegs=function(t,e){this.segsByCol=this.timeGrid.groupSegsByCol(t),this.timeGrid.attachSegsByCol(this.segsByCol,this.timeGrid.mirrorContainerEls),this.sourceSeg=e.sourceSeg},e.prototype.generateSegCss=function(e){var n=t.prototype.generateSegCss.call(this,e),i=this.sourceSeg;if(i&&i.col===e.col){var r=t.prototype.generateSegCss.call(this,i);n.left=r.left,n.right=r.right,n.marginLeft=r.marginLeft,n.marginRight=r.marginRight}return n},e}(c),g=function(t){function e(e){var n=t.call(this)||this;return n.timeGrid=e,n}return a(e,t),e.prototype.attachSegs=function(t,e){var n,i=this.timeGrid;return"bgEvent"===t?n=i.bgContainerEls:"businessHours"===t?n=i.businessContainerEls:"highlight"===t&&(n=i.highlightContainerEls),i.attachSegsByCol(i.groupSegsByCol(e),n),e.map((function(t){return t.el}))},e.prototype.computeSegSizes=function(t){this.timeGrid.computeSegVerticals(t)},e.prototype.assignSegSizes=function(t){this.timeGrid.assignSegVerticals(t)},e}(i["h"]),v=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],_=function(t){function e(e,n){var r=t.call(this,e)||this;r.isSlatSizesDirty=!1,r.isColSizesDirty=!1,r.processOptions=Object(i["X"])(r._processOptions),r.renderSkeleton=Object(i["Y"])(r._renderSkeleton),r.renderSlats=Object(i["Y"])(r._renderSlats,null,[r.renderSkeleton]),r.renderColumns=Object(i["Y"])(r._renderColumns,r._unrenderColumns,[r.renderSkeleton]),r.renderProps=n;var o=r.renderColumns,a=r.eventRenderer=new c(r),s=r.fillRenderer=new g(r);return r.mirrorRenderer=new m(r),r.renderBusinessHours=Object(i["Y"])(s.renderSegs.bind(s,"businessHours"),s.unrender.bind(s,"businessHours"),[o]),r.renderDateSelection=Object(i["Y"])(r._renderDateSelection,r._unrenderDateSelection,[o]),r.renderFgEvents=Object(i["Y"])(a.renderSegs.bind(a),a.unrender.bind(a),[o]),r.renderBgEvents=Object(i["Y"])(s.renderSegs.bind(s,"bgEvent"),s.unrender.bind(s,"bgEvent"),[o]),r.renderEventSelection=Object(i["Y"])(a.selectByInstanceId.bind(a),a.unselectByInstanceId.bind(a),[r.renderFgEvents]),r.renderEventDrag=Object(i["Y"])(r._renderEventDrag,r._unrenderEventDrag,[o]),r.renderEventResize=Object(i["Y"])(r._renderEventResize,r._unrenderEventResize,[o]),r}return a(e,t),e.prototype._processOptions=function(t){var e,n,r=t.slotDuration,o=t.snapDuration;r=Object(i["C"])(r),o=o?Object(i["C"])(o):r,e=Object(i["ib"])(r,o),null===e&&(o=r,e=1),this.slotDuration=r,this.snapDuration=o,this.snapsPerSlot=e,n=t.slotLabelFormat,Array.isArray(n)&&(n=n[n.length-1]),this.labelFormat=Object(i["E"])(n||{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"}),n=t.slotLabelInterval,this.labelInterval=n?Object(i["C"])(n):this.computeLabelInterval(r)},e.prototype.computeLabelInterval=function(t){var e,n,r;for(e=v.length-1;e>=0;e--)if(n=Object(i["C"])(v[e]),r=Object(i["ib"])(n,t),null!==r&&r>1)return n;return t},e.prototype.render=function(t,e){this.processOptions(e.options);var n=t.cells;this.colCnt=n.length,this.renderSkeleton(e.theme),this.renderSlats(t.dateProfile),this.renderColumns(t.cells,t.dateProfile),this.renderBusinessHours(e,t.businessHourSegs),this.renderDateSelection(t.dateSelectionSegs),this.renderFgEvents(e,t.fgEventSegs),this.renderBgEvents(e,t.bgEventSegs),this.renderEventSelection(t.eventSelection),this.renderEventDrag(t.eventDrag),this.renderEventResize(t.eventResize)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderSlats.unrender(),this.renderColumns.unrender(),this.renderSkeleton.unrender()},e.prototype.updateSize=function(t){var e=this,n=e.fillRenderer,i=e.eventRenderer,r=e.mirrorRenderer;
334(t||this.isSlatSizesDirty)&&(this.buildSlatPositions(),this.isSlatSizesDirty=!1),(t||this.isColSizesDirty)&&(this.buildColPositions(),this.isColSizesDirty=!1),n.computeSizes(t),i.computeSizes(t),r.computeSizes(t),n.assignSizes(t),i.assignSizes(t),r.assignSizes(t)},e.prototype._renderSkeleton=function(t){var e=this.el;e.innerHTML='<div class="fc-bg"></div><div class="fc-slats"></div><hr class="fc-divider '+t.getClass("widgetHeader")+'" style="display:none" />',this.rootBgContainerEl=e.querySelector(".fc-bg"),this.slatContainerEl=e.querySelector(".fc-slats"),this.bottomRuleEl=e.querySelector(".fc-divider")},e.prototype._renderSlats=function(t){var e=this.context.theme;this.slatContainerEl.innerHTML='<table class="'+e.getClass("tableGrid")+'">'+this.renderSlatRowHtml(t)+"</table>",this.slatEls=Object(i["L"])(this.slatContainerEl,"tr"),this.slatPositions=new i["i"](this.el,this.slatEls,!1,!0),this.isSlatSizesDirty=!0},e.prototype.renderSlatRowHtml=function(t){var e,n,r,o=this.context,a=o.dateEnv,s=o.theme,c=o.isRtl,l="",u=Object(i["eb"])(t.renderRange.start),d=t.minTime,h=Object(i["C"])(0);while(Object(i["s"])(d)<Object(i["s"])(t.maxTime))e=a.add(u,d),n=null!==Object(i["ib"])(h,this.labelInterval),r='<td class="fc-axis fc-time '+s.getClass("widgetContent")+'">'+(n?"<span>"+Object(i["Q"])(a.format(e,this.labelFormat))+"</span>":"")+"</td>",l+='<tr data-time="'+Object(i["M"])(e)+'"'+(n?"":' class="fc-minor"')+">"+(c?"":r)+'<td class="'+s.getClass("widgetContent")+'"></td>'+(c?r:"")+"</tr>",d=Object(i["o"])(d,this.slotDuration),h=Object(i["o"])(h,this.slotDuration);return l},e.prototype._renderColumns=function(t,e){var n=this.context,o=n.calendar,a=n.view,s=n.isRtl,c=n.theme,l=n.dateEnv,u=new r["a"](this.context);this.rootBgContainerEl.innerHTML='<table class="'+c.getClass("tableGrid")+'">'+u.renderHtml({cells:t,dateProfile:e,renderIntroHtml:this.renderProps.renderBgIntroHtml})+"</table>",this.colEls=Object(i["L"])(this.el,".fc-day, .fc-disabled-day");for(var d=0;d<this.colCnt;d++)o.publiclyTrigger("dayRender",[{date:l.toDate(t[d].date),el:this.colEls[d],view:a}]);s&&this.colEls.reverse(),this.colPositions=new i["i"](this.el,this.colEls,!0,!1),this.renderContentSkeleton(),this.isColSizesDirty=!0},e.prototype._unrenderColumns=function(){this.unrenderContentSkeleton()},e.prototype.renderContentSkeleton=function(){var t,e=this.context.isRtl,n=[];n.push(this.renderProps.renderIntroHtml());for(var r=0;r<this.colCnt;r++)n.push('<td><div class="fc-content-col"><div class="fc-event-container fc-mirror-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>');e&&n.reverse(),t=this.contentSkeletonEl=Object(i["R"])('<div class="fc-content-skeleton"><table><tr>'+n.join("")+"</tr></table></div>"),this.colContainerEls=Object(i["L"])(t,".fc-content-col"),this.mirrorContainerEls=Object(i["L"])(t,".fc-mirror-container"),this.fgContainerEls=Object(i["L"])(t,".fc-event-container:not(.fc-mirror-container)"),this.bgContainerEls=Object(i["L"])(t,".fc-bgevent-container"),this.highlightContainerEls=Object(i["L"])(t,".fc-highlight-container"),this.businessContainerEls=Object(i["L"])(t,".fc-business-container"),e&&(this.colContainerEls.reverse(),this.mirrorContainerEls.reverse(),this.fgContainerEls.reverse(),this.bgContainerEls.reverse(),this.highlightContainerEls.reverse(),this.businessContainerEls.reverse()),this.el.appendChild(t)},e.prototype.unrenderContentSkeleton=function(){Object(i["cb"])(this.contentSkeletonEl)},e.prototype.groupSegsByCol=function(t){var e,n=[];for(e=0;e<this.colCnt;e++)n.push([]);for(e=0;e<t.length;e++)n[t[e].col].push(t[e]);return n},e.prototype.attachSegsByCol=function(t,e){var n,i,r;for(n=0;n<this.colCnt;n++)for(i=t[n],r=0;r<i.length;r++)e[n].appendChild(i[r].el)},e.prototype.getNowIndicatorUnit=function(){return"minute"},e.prototype.renderNowIndicator=function(t,e){if(this.colContainerEls){var n,r=this.computeDateTop(e),o=[];for(n=0;n<t.length;n++){var a=Object(i["D"])("div",{className:"fc-now-indicator fc-now-indicator-line"});
334a.style.top=r+"px",this.colContainerEls[t[n].col].appendChild(a),o.push(a)}if(t.length>0){var s=Object(i["D"])("div",{className:"fc-now-indicator fc-now-indicator-arrow"});s.style.top=r+"px",this.contentSkeletonEl.appendChild(s),o.push(s)}this.nowIndicatorEls=o}},e.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.forEach(i["cb"]),this.nowIndicatorEls=null)},e.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.getBoundingClientRect().height},e.prototype.computeDateTop=function(t,e){return e||(e=Object(i["eb"])(t)),this.computeTimeTop(Object(i["C"])(t.valueOf()-e.valueOf()))},e.prototype.computeTimeTop=function(t){var e,n,r=this.slatEls.length,o=this.props.dateProfile,a=(t.milliseconds-Object(i["s"])(o.minTime))/Object(i["s"])(this.slotDuration);return a=Math.max(0,a),a=Math.min(r,a),e=Math.floor(a),e=Math.min(e,r-1),n=a-e,this.slatPositions.tops[e]+this.slatPositions.getHeight(e)*n},e.prototype.computeSegVerticals=function(t){var e,n,i,r=this.context.options,o=r.timeGridEventMinHeight;for(e=0;e<t.length;e++)n=t[e],i=this.props.cells[n.col].date,n.top=this.computeDateTop(n.start,i),n.bottom=Math.max(n.top+o,this.computeDateTop(n.end,i))},e.prototype.assignSegVerticals=function(t){var e,n;for(e=0;e<t.length;e++)n=t[e],Object(i["r"])(n.el,this.generateSegVerticalCss(n))},e.prototype.generateSegVerticalCss=function(t){return{top:t.top,bottom:-t.bottom}},e.prototype.buildPositionCaches=function(){this.buildColPositions(),this.buildSlatPositions()},e.prototype.buildColPositions=function(){this.colPositions.build()},e.prototype.buildSlatPositions=function(){this.slatPositions.build()},e.prototype.positionToHit=function(t,e){var n=this.context.dateEnv,r=this,o=r.snapsPerSlot,a=r.slatPositions,s=r.colPositions,c=s.leftToIndex(t),l=a.topToIndex(e);if(null!=c&&null!=l){var u=a.tops[l],d=a.getHeight(l),h=(e-u)/d,f=Math.floor(h*o),p=l*o+f,m=this.props.cells[c].date,g=Object(i["o"])(this.props.dateProfile.minTime,Object(i["Z"])(this.snapDuration,p)),v=n.add(m,g),_=n.add(v,this.snapDuration);return{col:c,dateSpan:{range:{start:v,end:_},allDay:!1},dayEl:this.colEls[c],relativeRect:{left:s.lefts[c],right:s.rights[c],top:u,bottom:u+d}}}},e.prototype._renderEventDrag=function(t){t&&(this.eventRenderer.hideByHash(t.affectedInstances),t.isEvent?this.mirrorRenderer.renderSegs(this.context,t.segs,{isDragging:!0,sourceSeg:t.sourceSeg}):this.fillRenderer.renderSegs("highlight",this.context,t.segs))},e.prototype._unrenderEventDrag=function(t){t&&(this.eventRenderer.showByHash(t.affectedInstances),t.isEvent?this.mirrorRenderer.unrender(this.context,t.segs,{isDragging:!0,sourceSeg:t.sourceSeg}):this.fillRenderer.unrender("highlight",this.context))},e.prototype._renderEventResize=function(t){t&&(this.eventRenderer.hideByHash(t.affectedInstances),this.mirrorRenderer.renderSegs(this.context,t.segs,{isResizing:!0,sourceSeg:t.sourceSeg}))},e.prototype._unrenderEventResize=function(t){t&&(this.eventRenderer.showByHash(t.affectedInstances),this.mirrorRenderer.unrender(this.context,t.segs,{isResizing:!0,sourceSeg:t.sourceSeg}))},e.prototype._renderDateSelection=function(t){t&&(this.context.options.selectMirror?this.mirrorRenderer.renderSegs(this.context,t,{isSelecting:!0}):this.fillRenderer.renderSegs("highlight",this.context,t))},e.prototype._unrenderDateSelection=function(t){t&&(this.context.options.selectMirror?this.mirrorRenderer.unrender(this.context,t,{isSelecting:!0}):this.fillRenderer.unrender("highlight",this.context))},e}(i["b"]),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},e.prototype.getKeysForDateSpan=function(t){return t.allDay?["allDay"]:["timed"]},e.prototype.getKeysForEventDef=function(t){return t.allDay?Object(i["P"])(t)?["timed","allDay"]:["allDay"]:["timed"]},e}(i["l"]),b=5,w=Object(i["E"])({week:"short"}),k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.splitter=new y,e.renderSkeleton=Object(i["Y"])(e._renderSkeleton,e._unrenderSkeleton),e.renderHeadIntroHtml=function(){var t,n=e.context,r=n.theme,o=n.dateEnv,a=n.options,s=e.props.dateProfile.renderRange,c=Object(i["H"])(s.start,s.end);return a.weekNumbers?(t=o.format(s.start,w),'<th class="fc-axis fc-week-number '+r.getClass("widgetHeader")+'" '+e.axisStyleAttr()+">"+Object(i["t"])(a,o,{date:s.start,type:"week",forceOff:c>1},Object(i["Q"])(t))+"</th>"):'<th class="fc-axis '+r.getClass("widgetHeader")+'" '+e.axisStyleAttr()+"></th>"},e.renderTimeGridBgIntroHtml=function(){var t=e.context.theme;return'<td class="fc-axis '+t.getClass("widgetContent")+'" '+e.axisStyleAttr()+"></td>"},e.renderTimeGridIntroHtml=function(){return'<td class="fc-axis" '+e.axisStyleAttr()+"></td>"},e.renderDayGridBgIntroHtml=function(){var t=e.context,n=t.theme,r=t.options;return'<td class="fc-axis '+n.getClass("widgetContent")+'" '+e.axisStyleAttr()+"><span>"+Object(i["N"])(r)+"</span></td>"},e.renderDayGridIntroHtml=function(){return'<td class="fc-axis" '+e.axisStyleAttr()+"></td>"},e}return a(e,t),e.prototype.render=function(e,n){t.prototype.render.call(this,e,n),this.renderSkeleton(n)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderSkeleton.unrender()},e.prototype._renderSkeleton=function(t){this.el.classList.add("fc-timeGrid-view"),this.el.innerHTML=this.renderSkeletonHtml(),this.scroller=new i["j"]("hidden","auto");var e=this.scroller.el;this.el.querySelector(".fc-body > tr > td").appendChild(e),e.classList.add("fc-time-grid-container");var n=Object(i["D"])("div",{className:"fc-time-grid"});if(e.appendChild(n),this.timeGrid=new _(n,{renderBgIntroHtml:this.renderTimeGridBgIntroHtml,renderIntroHtml:this.renderTimeGridIntroHtml}),t.options.allDaySlot){this.dayGrid=new r["b"](this.el.querySelector(".fc-day-grid"),{renderNumberIntroHtml:this.renderDayGridIntroHtml,renderBgIntroHtml:this.renderDayGridBgIntroHtml,renderIntroHtml:this.renderDayGridIntroHtml,colWeekNumbersVisible:!1,
334cellWeekNumbersVisible:!1});var o=this.el.querySelector(".fc-divider");this.dayGrid.bottomCoordPadding=o.getBoundingClientRect().height}},e.prototype._unrenderSkeleton=function(){this.el.classList.remove("fc-timeGrid-view"),this.timeGrid.destroy(),this.dayGrid&&this.dayGrid.destroy(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.context,e=t.theme,n=t.options;return'<table class="'+e.getClass("tableGrid")+'">'+(n.columnHeader?'<thead class="fc-head"><tr><td class="fc-head-container '+e.getClass("widgetHeader")+'"> </td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+e.getClass("widgetContent")+'">'+(n.allDaySlot?'<div class="fc-day-grid"></div><hr class="fc-divider '+e.getClass("widgetHeader")+'" />':"")+"</td></tr></tbody></table>"},e.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},e.prototype.unrenderNowIndicator=function(){this.timeGrid.unrenderNowIndicator()},e.prototype.updateSize=function(e,n,i){t.prototype.updateSize.call(this,e,n,i),this.timeGrid.updateSize(e),this.dayGrid&&this.dayGrid.updateSize(e)},e.prototype.updateBaseSize=function(t,e,n){var r,o,a,s=this;if(this.axisWidth=Object(i["W"])(Object(i["L"])(this.el,".fc-axis")),this.timeGrid.colEls){var c=Object(i["L"])(this.el,".fc-row").filter((function(t){return!s.scroller.el.contains(t)}));this.timeGrid.bottomRuleEl.style.display="none",this.scroller.clear(),c.forEach(i["gb"]),this.dayGrid&&(this.dayGrid.removeSegPopover(),r=this.context.options.eventLimit,r&&"number"!==typeof r&&(r=b),r&&this.dayGrid.limitRows(r)),n||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o),a=this.scroller.getScrollbarWidths(),(a.left||a.right)&&(c.forEach((function(t){Object(i["w"])(t,a)})),o=this.computeScrollerHeight(e),this.scroller.setHeight(o)),this.scroller.lockOverflow(a),this.timeGrid.getTotalSlatHeight()<o&&(this.timeGrid.bottomRuleEl.style.display=""))}else n||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o))},e.prototype.computeScrollerHeight=function(t){return t-Object(i["fb"])(this.el,this.scroller.el)},e.prototype.computeDateScroll=function(t){var e=this.timeGrid.computeTimeTop(t);return e=Math.ceil(e),e&&e++,{top:e}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},e}(i["m"]);k.prototype.usesMinMaxTime=!0;var x=function(t){function e(e){var n=t.call(this,e.el)||this;return n.buildDayRanges=Object(i["X"])(T),n.slicer=new M,n.timeGrid=e,n}return a(e,t),e.prototype.firstContext=function(t){t.calendar.registerInteractiveComponent(this,{el:this.timeGrid.el})},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.context.calendar.unregisterInteractiveComponent(this)},e.prototype.render=function(t,e){var n=this.context.dateEnv,i=t.dateProfile,r=t.dayTable,o=this.dayRanges=this.buildDayRanges(r,i,n),a=this.timeGrid;a.receiveContext(e),a.receiveProps(s({},this.slicer.sliceProps(t,i,null,e.calendar,a,o),{dateProfile:i,cells:r.cells[0]}),e)},e.prototype.renderNowIndicator=function(t){this.timeGrid.renderNowIndicator(this.slicer.sliceNowDate(t,this.timeGrid,this.dayRanges),t)},e.prototype.buildPositionCaches=function(){this.timeGrid.buildPositionCaches()},e.prototype.queryHit=function(t,e){var n=this.timeGrid.positionToHit(t,e);if(n)return{component:this.timeGrid,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},e}(i["b"]);function T(t,e,n){for(var i=[],r=0,o=t.headerDates;r<o.length;r++){var a=o[r];i.push({start:n.add(a,e.minTime),end:n.add(a,e.maxTime)})}return i}var M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.sliceRange=function(t,e){for(var n=[],r=0;r<e.length;r++){var o=Object(i["T"])(t,e[r]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===t.start.valueOf(),isEnd:o.end.valueOf()===t.end.valueOf(),col:r})}return n},e}(i["k"]),S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildDayTable=Object(i["X"])(C),e}return a(e,t),e.prototype.render=function(e,n){t.prototype.render.call(this,e,n);var i=this.props,r=i.dateProfile,o=i.dateProfileGenerator,a=n.nextDayThreshold,c=this.buildDayTable(r,o),l=this.splitter.splitProps(e);this.header&&this.header.receiveProps({dateProfile:r,dates:c.headerDates,datesRepDistinctDays:!0,renderIntroHtml:this.renderHeadIntroHtml},n),this.simpleTimeGrid.receiveProps(s({},l["timed"],{dateProfile:r,dayTable:c}),n),this.simpleDayGrid&&this.simpleDayGrid.receiveProps(s({},l["allDay"],{dateProfile:r,dayTable:c,nextDayThreshold:a,isRigid:!1}),n),this.startNowIndicator(r,o)},e.prototype._renderSkeleton=function(e){t.prototype._renderSkeleton.call(this,e),e.options.columnHeader&&(this.header=new i["d"](this.el.querySelector(".fc-head-container"))),this.simpleTimeGrid=new x(this.timeGrid),this.dayGrid&&(this.simpleDayGrid=new r["c"](this.dayGrid))},e.prototype._unrenderSkeleton=function(){t.prototype._unrenderSkeleton.call(this),this.header&&this.header.destroy(),this.simpleTimeGrid.destroy(),this.simpleDayGrid&&this.simpleDayGrid.destroy()},e.prototype.renderNowIndicator=function(t){this.simpleTimeGrid.renderNowIndicator(t)},e}(k);function C(t,e){var n=new i["e"](t.renderRange,e);return new i["f"](n,!1)}var E=Object(i["F"])({defaultView:"timeGridWeek",views:{timeGrid:{class:S,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});e["a"]=E},a7fa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,728 bytes, lines 335-336
335//! moment.js locale configuration 336var e=t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉkalo_ZuwÉnkalo_Zuluyekalo_Utikalo_SÉtanburukalo_ÉkutÉburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_MÉ_Zuw_Zul_Uti_SÉt_Éku_Now_Des".split("_"),weekdays:"Kari_NtÉnÉn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_NtÉ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm"},calendar:{sameDay:"[Bi lÉrÉ] LT",nextDay:"[Sini lÉrÉ] LT",nextWeek:"dddd [don lÉrÉ] LT",lastDay:"[Kunu lÉrÉ] LT",lastWeek:"dddd [tÉmÉnen lÉrÉ] LT",sameElse:"L"},relativeTime:{future:"%s kÉnÉ",past:"a bÉ %s bÉ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lÉrÉ kelen",hh:"lÉrÉ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return e}))},a975:function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").every,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("every",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},a981:function(t,e){t.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},a9e3:function(t,e,n){"use strict";var i=n("83ab"),r=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),c=n("c6b6"),l=n("7156"),u=n("d9b5"),d=n("c04e"),h=n("d039"),f=n("7c73"),p=n("241c").f,m=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,_="Number",y=r[_],b=y.prototype,w=c(f(b))==_,k=function(t){if(u(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,i,r,o,a,s,c,l=d(t,"number");if("string"==typeof l&&l.length>2)if(l=v(l),e=l.charCodeAt(0),43===e||45===e){if(n=l.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+l}for(o=l.slice(2),a=o.length,s=0;s<a;s++)if(c=o.charCodeAt(s),c<48||c>r)return NaN;return parseInt(o,i)}return+l};if(o(_,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,T=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof T&&(w?h((function(){b.valueOf.call(n)})):c(n)!=_)?l(new y(k(e)),n,T):k(e)},M=i?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;M.length>S;S++)s(y,x=M[S])&&!s(T,x)&&g(T,x,m(y,x));T.prototype=b,b.constructor=T,a(r,_,T)}},aaf2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,496 bytes, lines 337-338
337//! moment.js locale configuration 338function e(t,e,n,i){var r={s:["थà¥à¤¡à¤¯à¤¾ सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥","थà¥à¤¡à¥ सॠà¤à¤à¤¡"],ss:[t+" सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥",t+" सॠà¤à¤à¤¡"],m:["à¤à¤à¤¾ मिणà¤à¤¾à¤¨","à¤à¤ मिनà¥à¤"],mm:[t+" मिणà¤à¤¾à¤à¤¨à¥",t+" मिणà¤à¤¾à¤"],h:["à¤à¤à¤¾ वरान","à¤à¤ वर"],hh:[t+" वराà¤à¤¨à¥",t+" वराà¤"],d:["à¤à¤à¤¾ दिसान","à¤à¤ दà¥à¤¸"],dd:[t+" दिसाà¤à¤¨à¥",t+" दà¥à¤¸"],M:["à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨","à¤à¤ मà¥à¤¹à¤¯à¤¨à¥"],MM:[t+" मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥",t+" मà¥à¤¹à¤¯à¤¨à¥"],y:["à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨","à¤à¤ वरà¥à¤¸"],yy:[t+" वरà¥à¤¸à¤¾à¤à¤¨à¥",t+" वरà¥à¤¸à¤¾à¤"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-deva",{months:{standalone:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),format:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à¤°_शà¥à¤¨à¤µà¤¾à¤°".split("_"),weekdaysShort:"à¤à¤¯à¤¤._सà¥à¤®._मà¤à¤à¤³._बà¥à¤§._बà¥à¤°à¥à¤¸à¥à¤¤._सà¥à¤à¥à¤°._शà¥à¤¨.".split("_"),weekdaysMin:"à¤_सà¥_मà¤_बà¥_बà¥à¤°à¥_सà¥_शà¥".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाà¤à¤¤à¤¾à¤]",LTS:"A h:mm:ss [वाà¤à¤¤à¤¾à¤]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाà¤à¤¤à¤¾à¤]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]",llll:"ddd, D MMM YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]"},calendar:{sameDay:"[à¤à¤¯à¤] LT",nextDay:"[फालà¥à¤¯à¤¾à¤] LT",nextWeek:"[फà¥à¤¡à¤²à¥] dddd[,] LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[फाà¤à¤²à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s à¤à¤¦à¥à¤",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वà¥à¤°)/,ordinal:function(t,e){switch(e){case"D":return t+"वà¥à¤°";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/रातà¥|सà¤à¤¾à¤³à¥à¤|दनपाराà¤|साà¤à¤à¥/,meridiemHour:function(t,e){return 12===t&&(t=0),"रातà¥"===e?t<4?t:t+12:"सà¤à¤¾à¤³à¥à¤"===e?t:"दनपाराà¤"===e?t>12?t:t+12:"साà¤à¤à¥"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रातà¥":t<12?"सà¤à¤¾à¤³à¥à¤":t<16?"दनपाराà¤":t<20?"साà¤à¤à¥":"रातà¥"}});return n}))},ab13:function(t,e,n){var i=n("b622"),r=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(i){}}return!1}},ac1de:function(t,e,n){t.exports=n("a745")},ac1f:function(t,e,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ace4:function(t,e,n){"use strict";var i=n("23e7"),r=n("d039"),o=n("621a"),a=n("825a"),s=n("23cb"),c=n("50c4"),l=n("4840"),u=o.ArrayBuffer,d=o.DataView,h=u.prototype.slice,f=r((function(){return!new u(2).slice(1,void 0).byteLength}));i({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:f},{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(a(this),t);var n=a(this).byteLength,i=s(t,n),r=s(void 0===e?n:e,n),o=new(l(this,u))(c(r-i)),f=new d(this),p=new d(o),m=0;while(i<r)p.setUint8(m++,f.getUint8(i++));return o}})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ada2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
339//! moment.js locale configuration 340function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"ÑекÑнда_ÑекÑнди_ÑекÑнд":"ÑекÑндÑ_ÑекÑнди_ÑекÑнд",mm:n?"Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½":"Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½",hh:n?"година_години_годин":"годинÑ_години_годин",dd:"денÑ_днÑ_днÑв",MM:"мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв",yy:"ÑÑк_Ñоки_ÑокÑв"};return"m"===i?n?"Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°":"Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ":"h"===i?n?"година":"годинÑ":t+" "+e(r[i],+t)}function i(t,e){var n,i={nominative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа".split("_"),accusative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ".split("_"),genitive:"недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи".split("_")};return!0===t?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):t?(n=/(\[[ÐвУÑ]\]) ?dddd/.test(e)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(e)?"genitive":"nominative",i[n][t.day()]):i["nominative"]}function r(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=t.defineLocale("uk",{months:{format:"ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ".split("_"),standalone:"ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ".split("_")},monthsShort:"ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Ñ.",LLL:"D MMMM YYYY Ñ., HH:mm",LLLL:"dddd, D MMMM YYYY Ñ., HH:mm"},calendar:{sameDay:r("[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ "),nextDay:r("[ÐавÑÑа "),lastDay:r("[ÐÑоÑа "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[ÐинÑлоÑ] dddd [").call(this);case 1:case 2:case 4:return r("[ÐинÑлого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s ÑомÑ",s:"декÑлÑка ÑекÑнд",ss:n,m:n,mm:n,h:"годинÑ",hh:n,d:"денÑ",dd:n,M:"мÑÑÑÑÑ",MM:n,y:"ÑÑк",yy:n},meridiemParse:/ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/,isPM:function(t){return/^(днÑ|веÑоÑа)$/.test(t)},meridiem:function(t,e,n){return t<4?"ноÑÑ":t<12?"ÑанкÑ":t<17?"днÑ":"веÑоÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return o}))},addb:function(t,e){var n=Math.floor,i=function(t,e){var a=t.length,s=n(a/2);return a<8?r(t,e):o(i(t.slice(0,s),e),i(t.slice(s),e),e)},r=function(t,e){var n,i,r=t.length,o=1;while(o<r){i=o,n=t[o];while(i&&e(t[i-1],n)>0)t[i]=t[--i];i!==o++&&(t[i]=n)}return t},o=function(t,e,n){var i=t.length,r=e.length,o=0,a=0,s=[];while(o<i||a<r)o<i&&a<r?s.push(n(t[o],e[a])<=0?t[o++]:e[a++]):s.push(o<i?t[o++]:e[a++]);return s};t.exports=i},ade3:function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return i}))},ae93:function(t,e,n){"use strict";var i,r,o,a=n("d039"),s=n("e163"),c=n("9112"),l=n("5135"),u=n("b622"),d=n("c430"),h=u("iterator"),f=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(r=s(s(o)),r!==Object.prototype&&(i=r)):f=!0);var m=void 0==i||a((function(){var t={};return i[h].call(t)!==t}));m&&(i={}),d&&!m||l(i,h)||c(i,h,p),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},af03:function(t,e,n){var i=n("d039");t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b03c:function(t,e){var n="auto",i={"":!0,lr:!0,rl:!0},r={start:!0,middle:!0,end:!0,left:!0,right:!0};function o(t){if("string"!==typeof t)return!1;var e=i[t.toLowerCase()];return!!e&&t.toLowerCase()}function a(t){if("string"!==typeof t)return!1;var e=r[t.toLowerCase()];return!!e&&t.toLowerCase()}function s(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function c(t,e,i){var r=this,c=/MSIE\s8\.0/.test(navigator.userAgent),l={};c?r=document.createElement("custom"):l.enumerable=!0,r.hasBeenReset=!1;var u="",d=!1,h=t,f=e,p=i,m=null,g="",v=!0,_="auto",y="start",b=50,w="middle",k=50,x="middle";if(Object.defineProperty(r,"id",s({},l,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(r,"pauseOnExit",s({},l,{get:function(){return d}
340,set:function(t){d=!!t}})),Object.defineProperty(r,"startTime",s({},l,{get:function(){return h},set:function(t){if("number"!==typeof t)throw new TypeError("Start time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"endTime",s({},l,{get:function(){return f},set:function(t){if("number"!==typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"text",s({},l,{get:function(){return p},set:function(t){p=""+t,this.hasBeenReset=!0}})),Object.defineProperty(r,"region",s({},l,{get:function(){return m},set:function(t){m=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"vertical",s({},l,{get:function(){return g},set:function(t){var e=o(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");g=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"snapToLines",s({},l,{get:function(){return v},set:function(t){v=!!t,this.hasBeenReset=!0}})),Object.defineProperty(r,"line",s({},l,{get:function(){return _},set:function(t){if("number"!==typeof t&&t!==n)throw new SyntaxError("An invalid number or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"lineAlign",s({},l,{get:function(){return y},set:function(t){var e=a(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"position",s({},l,{get:function(){return b},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"positionAlign",s({},l,{get:function(){return w},set:function(t){var e=a(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");w=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"size",s({},l,{get:function(){return k},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");k=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"align",s({},l,{get:function(){return x},set:function(t){var e=a(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");x=e,this.hasBeenReset=!0}})),r.displayState=void 0,c)return r}c.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=c},b041:function(t,e,n){"use strict";var i=n("00ee"),r=n("f5df");t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b079:function(t,e,n){!function(e,i){t.exports=i(n("a026"))}("undefined"!=typeof self&&self,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(e,n){e.exports=t},,,function(t,e,n){"use strict";n.r(e);class i{constructor(t,e){this.startedAt=Date.now(),this.callback=t,this.delay=e,this.timer=setTimeout(t,e)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}var r=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"}),o=n(0),a=new(n.n(o).a),s=function(t,e,n,i,r,o,a,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}({name:"toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:r.BOTTOM_RIGHT,validator:t=>Object.values(r).includes(t)},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onClose:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data:()=>({isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}),beforeMount(){this.setupContainer()},mounted(){this.showNotice(),a.$on("toast.clear",this.close)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".notices.is-top"),this.parentBottom=
340document.querySelector(".notices.is-bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="notices is-top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="notices is-bottom");const t=document.body;t.appendChild(this.parentTop),t.appendChild(this.parentBottom)},shouldQueue(){return!!this.queue&&(this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0)},close(){this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{var t;this.onClose.apply(null,arguments),this.$destroy(),void 0!==(t=this.$el).remove?t.remove():t.parentNode.removeChild(t)},150)},showNotice(){this.shouldQueue()?this.queueTimer=setTimeout(this.showNotice,250):(this.correctParent.insertAdjacentElement("afterbegin",this.$el),this.isActive=!0,this.timer=new i(this.close,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.close())},toggleTimer(t){this.pauseOnHover&&(t?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case r.TOP:case r.TOP_RIGHT:case r.TOP_LEFT:return this.parentTop;case r.BOTTOM:case r.BOTTOM_RIGHT:case r.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case r.TOP:case r.TOP_RIGHT:case r.TOP_LEFT:return{enter:"fadeInDown",leave:"fadeOut"};case r.BOTTOM:case r.BOTTOM_RIGHT:case r.BOTTOM_LEFT:return{enter:"fadeInUp",leave:"fadeOut"}}}},beforeDestroy(){a.$off("toast.clear",this.close)}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{"enter-active-class":t.transition.enter,"leave-active-class":t.transition.leave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"toast",class:["toast-"+t.type,"is-"+t.position],attrs:{role:"alert"},on:{mouseover:function(e){return t.toggleTimer(!0)},mouseleave:function(e){return t.toggleTimer(!1)},click:t.whenClicked}},[n("div",{staticClass:"toast-icon"}),t._v(" "),n("p",{staticClass:"toast-text",domProps:{innerHTML:t._s(t.message)}})])])}),[],!1,null,null,null).exports,c=(t,e={})=>({open(n){let i;"string"==typeof n&&(i=n);const r={message:i},o=Object.assign({},r,e,n);return new(t.extend(s))({el:document.createElement("div"),propsData:o})},clear(){a.$emit("toast.clear")},success(t,e={}){return this.open(Object.assign({},{message:t,type:"success"},e))},error(t,e={}){return this.open(Object.assign({},{message:t,type:"error"},e))},info(t,e={}){return this.open(Object.assign({},{message:t,type:"info"},e))},warning(t,e={}){return this.open(Object.assign({},{message:t,type:"warning"},e))},default(t,e={}){return this.open(Object.assign({},{message:t,type:"default"},e))}});n.d(e,"Component",(function(){return s})),n.d(e,"Positions",(function(){return r})),s.install=(t,e={})=>{let n=c(t,e);t.$toast=n,t.prototype.$toast=n},e.default=s}]).default}))},b0c0:function(t,e,n){var i=n("83ab"),r=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,c="name";i&&!(c in o)&&r(o,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b1b3:function(t,e,n){var i=n("77e9"),r=n("23dd");t.exports=n("5524").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},b29d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
341//! moment.js locale configuration 342var e=t.defineLocale("lo",{months:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),monthsShort:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),weekdays:"àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysShort:"àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysMin:"àº_àº_àºàº_àº_àºàº«_ສàº_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັàºdddd D MMMM YYYY HH:mm"},meridiemParse:/àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/,isPM:function(t){return"àºàºàºà»àº¥àº"===t},meridiem:function(t,e,n){return t<12?"àºàºàºà»àºàº»à»àº²":"àºàºàºà»àº¥àº"},calendar:{sameDay:"[ມືà»àºàºµà»à»àº§àº¥àº²] LT",nextDay:"[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT",nextWeek:"[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT",lastDay:"[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT",lastWeek:"[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT",sameElse:"L"},relativeTime:{future:"àºàºµàº %s",past:"%sàºà»àº²àºàº¡àº²",s:"àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ",ss:"%d ວິàºàº²àºàºµ",m:"1 àºàº²àºàºµ",mm:"%d àºàº²àºàºµ",h:"1 àºàº»à»àº§à»àº¡àº",hh:"%d àºàº»à»àº§à»àº¡àº",d:"1 ມືà»",dd:"%d ມືà»",M:"1 à»àºàº·àºàº",MM:"%d à»àºàº·àºàº",y:"1 àºàºµ",yy:"%d àºàºµ"},dayOfMonthOrdinalParse:/(àºàºµà»)\d{1,2}/,ordinal:function(t){return"àºàºµà»"+t}});return e}))},b367:function(t,e,n){var i=n("5524"),r=n("ef08"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("e444")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},b39a:function(t,e,n){"use strict";var i=n("da84"),r=n("ebb5"),o=n("d039"),a=i.Int8Array,s=r.aTypedArray,c=r.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,d=!!a&&o((function(){l.call(new a(1))})),h=o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])}));c("toLocaleString",(function(){return l.apply(d?u.call(s(this)):s(this),arguments)}),h)},b3eb:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,451 bytes, lines 343-344
343//! moment.js locale configuration 344function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b469:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,956 bytes, lines 345-346
345//! moment.js locale configuration 346function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b50d:function(t,e,n){"use strict";var i=n("c532"),r=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c345"),l=n("3934"),u=n("2d83");t.exports=function(t){return new Promise((function(e,n){var d=t.data,h=t.headers,f=t.responseType;i.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(m+":"+g)}var v=s(t.baseURL,t.url);function _(){if(p){var i="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o=f&&"text"!==f&&"json"!==f?p.response:p.responseText,a={data:o,status:p.status,statusText:p.statusText,headers:i,config:t,request:p};r(e,n,a),p=null}}if(p.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=_:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(_)},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var y=(t.withCredentials||l(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;y&&(h[t.xsrfHeaderName]=y)}"setRequestHeader"in p&&i.forEach(h,(function(t,e){"undefined"===typeof d&&"content-type"===e.toLowerCase()?delete h[e]:p.setRequestHeader(e,t)}
346)),i.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),f&&"json"!==f&&(p.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),d||(d=null),p.send(d)}))}},b53d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 347//! moment.js locale configuration 348var e=t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuá¸",mm:"%d minuá¸",h:"saÉa",hh:"%d tassaÉin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return e}))},b540:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
349//! moment.js locale configuration 350var e=t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return e}))},b575:function(t,e,n){var i,r,o,a,s,c,l,u,d=n("da84"),h=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),m=n("d4c3"),g=n("a4b4"),v=n("605d"),_=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,w=d.Promise,k=h(d,"queueMicrotask"),x=k&&k.value;x||(i=function(){var t,e;v&&(t=b.domain)&&t.exit();while(r){e=r.fn,r=r.next;try{e()}catch(n){throw r?a():o=void 0,n}}o=void 0,t&&t.enter()},p||v||g||!_||!y?!m&&w&&w.resolve?(l=w.resolve(void 0),l.constructor=w,u=l.then,a=function(){u.call(l,i)}):a=v?function(){b.nextTick(i)}:function(){f.call(d,i)}:(s=!0,c=y.createTextNode(""),new _(i).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},b5b7:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,104 bytes, lines 351-352
351//! moment.js locale configuration 352var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return o}
352))},b619:function(t,e,n){"use strict";n.r(e);var i=n("7037"),r=n.n(i);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e){return!e||"object"!==r()(e)&&"function"!==typeof e?o(t):e}n("131a");function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}n("4ae1"),n("3410");function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function u(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function d(t){var e=u();return function(){var n,i=l(t);if(e){var r=l(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return a(this,n)}}var h=n("ade3"),f=n("d4ec"),p=n("bee2"),m=n("53ca");n("159b"),n("b64b"),n("ac1f"),n("1276"),n("a15b"),n("d81d"),n("5319"),n("d3b7"),n("25f0"),n("4de4"),n("e439"),n("a434"),n("fb6a"),n("b0c0"),n("99af"),n("7db0"),n("466d"),n("4e82"),n("2af1"),n("caad"),n("2532"),n("498a");function g(t){return null!==t&&"object"===typeof t&&"constructor"in t&&t.constructor===Object}function v(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Object.keys(e).forEach((function(n){"undefined"===typeof t[n]?t[n]=e[n]:g(e[n])&&g(t[n])&&Object.keys(e[n]).length>0&&v(t[n],e[n])}))}var _="undefined"!==typeof document?document:{},y={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};v(_,y);var b="undefined"!==typeof window?window:{},w={document:y,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}};v(b,w);var k=function t(e){Object(f["a"])(this,t);for(var n=this,i=0;i<e.length;i+=1)n[i]=e[i];return n.length=e.length,this};function x(t,e){var n=[],i=0;if(t&&!e&&t instanceof k)return t;if(t)if("string"===typeof t){var r,o,a=t.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var s="div";for(0===a.indexOf("<li")&&(s="ul"),0===a.indexOf("<tr")&&(s="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(s="tr"),0===a.indexOf("<tbody")&&(s="table"),0===a.indexOf("<option")&&(s="select"),o=_.createElement(s),o.innerHTML=a,i=0;i<o.childNodes.length;i+=1)n.push(o.childNodes[i])}else for(r=e||"#"!==t[0]||t.match(/[ .<>:~]/)?(e||_).querySelectorAll(t.trim()):[_.getElementById(t.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&n.push(r[i])}else if(t.nodeType||t===b||t===_)n.push(t);else if(t.length>0&&t[0].nodeType)for(i=0;i<t.length;i+=1)n.push(t[i]);return new k(n)}function T(t){for(var e=[],n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function M(t){if("undefined"===typeof t)return this;for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.add(e[n]);return this}function S(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.remove(e[n]);return this}function C(t){return!!this[0]&&this[0].classList.contains(t)}function E(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.toggle(e[n]);return this}function L(t,e){if(1===arguments.length&&"string"===typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(var i in t)this[n][i]=t[i],this[n].setAttribute(i,t[i]);return this}function A(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function O(t,e){var n;if("undefined"!==typeof e){for(var i=0;i<this.length;i+=1)n=this[i],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[t]=e;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&t in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[t];var r=n.getAttribute("data-".concat(t));return r||void 0}}function P(t){for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransform=t,n.transform=t}return this}function D(t){"string"!==typeof t&&(t="".concat(t,"ms"));for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransitionDuration=t,n.transitionDuration=t}return this}function j(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],r=e[1],o=e[2],a=e[3];function s(t){var e=t.target;if(e){var n=t.target.dom7EventData||[];if(n.indexOf(t)<0&&n.unshift(t),x(e).is(r))o.apply(e,n);else for(var i=x(e).parents(),a=0;a<i.length;a+=1)x(i[a]).is(r)&&o.apply(i[a],n)}}function c(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),o.apply(this,e)}"function"===typeof e[1]&&(i=e[0],o=e[1],a=e[2],r=void 0),a||(a=!1);for(var l,u=i.split(" "),d=0;d<this.length;d+=1){var h=this[d];if(r)for(l=0;l<u.length;l+=1){var f=u[l];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[f]||(h.dom7LiveListeners[f]=[]),h.dom7LiveListeners[f].push({listener:o,proxyListener:s}),h.addEventListener(f,s,a)}else for(l=0;l<u.length;l+=1){var p=u[l];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[p]||(h.dom7Listeners[p]=[]),h.dom7Listeners[p].push({listener:o,proxyListener:c}),h.addEventListener(p,c,a)}}return this}function I(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],r=e[1],o=e[2],a=e[3];"function"===typeof e[1]&&(i=e[0],o=e[1],a=e[2],r=void 0),a||(a=!1);for(var s=i.split(" "),c=0;c<s.length;c+=1)for(var l=s[c],u=0;u<this.length;u+=1){var d=this[u],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[l]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[l]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(l,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(l,p.proxyListener,a),h.splice(f,1))}}return this}function R(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var i=e[0].split(" "),r=e[1],o=0;o<i.length;o+=1)for(var a=i[o],s=0;s<this.length;s+=1){var c=this[s],l=void 0;try{l=new b.CustomEvent(a,{detail:r,bubbles:!0,cancelable:!0})}catch(u){l=_.createEvent("Event"),l.initEvent(a,!0,!0),l.detail=r}c.dom7EventData=e.filter((function(t,e){return e>0})),c.dispatchEvent(l),c.dom7EventData=[],delete c.dom7EventData}return this}function N(t){var e,n=["webkitTransitionEnd","transitionend"],i=this;function r(o){if(o.target===this)for(t.call(this,o),e=0;e<n.length;e+=1)i.off(n[e],r)}if(t)for(e=0;e<n.length;e+=1)i.on(n[e],r);return this}function Y(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+
352parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function z(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function B(){if(this.length>0){var t=this[0],e=t.getBoundingClientRect(),n=_.body,i=t.clientTop||n.clientTop||0,r=t.clientLeft||n.clientLeft||0,o=t===b?b.scrollY:t.scrollTop,a=t===b?b.scrollX:t.scrollLeft;return{top:e.top+o-i,left:e.left+a-r}}return null}function F(){return this[0]?b.getComputedStyle(this[0],null):{}}function H(t,e){var n;if(1===arguments.length){if("string"!==typeof t){for(n=0;n<this.length;n+=1)for(var i in t)this[n].style[i]=t[i];return this}if(this[0])return b.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"===typeof t){for(n=0;n<this.length;n+=1)this[n].style[t]=e;return this}return this}function V(t){if(!t)return this;for(var e=0;e<this.length;e+=1)if(!1===t.call(this[e],e,this[e]))return this;return this}function U(t){for(var e=[],n=this,i=0;i<n.length;i+=1)t.call(n[i],i,n[i])&&e.push(n[i]);return new k(e)}function W(t){if("undefined"===typeof t)return this[0]?this[0].innerHTML:void 0;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function $(t){if("undefined"===typeof t)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this}function X(t){var e,n,i=this[0];if(!i||"undefined"===typeof t)return!1;if("string"===typeof t){if(i.matches)return i.matches(t);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(t);if(i.msMatchesSelector)return i.msMatchesSelector(t);for(e=x(t),n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}if(t===_)return i===_;if(t===b)return i===b;if(t.nodeType||t instanceof k){for(e=t.nodeType?[t]:t,n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}return!1}function q(){var t,e=this[0];if(e){t=0;while(null!==(e=e.previousSibling))1===e.nodeType&&(t+=1);return t}}function G(t){if("undefined"===typeof t)return this;var e,n=this.length;return t>n-1?new k([]):t<0?(e=n+t,new k(e<0?[]:[this[e]])):new k([this[t]])}function Z(){for(var t,e=0;e<arguments.length;e+=1){t=e<0||arguments.length<=e?void 0:arguments[e];for(var n=0;n<this.length;n+=1)if("string"===typeof t){var i=_.createElement("div");i.innerHTML=t;while(i.firstChild)this[n].appendChild(i.firstChild)}else if(t instanceof k)for(var r=0;r<t.length;r+=1)this[n].appendChild(t[r]);else this[n].appendChild(t)}return this}function J(t){var e,n;for(e=0;e<this.length;e+=1)if("string"===typeof t){var i=_.createElement("div");for(i.innerHTML=t,n=i.childNodes.length-1;n>=0;n-=1)this[e].insertBefore(i.childNodes[n],this[e].childNodes[0])}else if(t instanceof k)for(n=0;n<t.length;n+=1)this[e].insertBefore(t[n],this[e].childNodes[0]);else this[e].insertBefore(t,this[e].childNodes[0]);return this}function K(t){return this.length>0?t?this[0].nextElementSibling&&x(this[0].nextElementSibling).is(t)?new k([this[0].nextElementSibling]):new k([]):this[0].nextElementSibling?new k([this[0].nextElementSibling]):new k([]):new k([])}function Q(t){var e=[],n=this[0];if(!n)return new k([]);while(n.nextElementSibling){var i=n.nextElementSibling;t?x(i).is(t)&&e.push(i):e.push(i),n=i}return new k(e)}function tt(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&x(e.previousElementSibling).is(t)?new k([e.previousElementSibling]):new k([]):e.previousElementSibling?new k([e.previousElementSibling]):new k([])}return new k([])}function et(t){var e=[],n=this[0];if(!n)return new k([]);while(n.previousElementSibling){var i=n.previousElementSibling;t?x(i).is(t)&&e.push(i):e.push(i),n=i}return new k(e)}function nt(t){for(var e=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?x(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return x(T(e))}function it(t){for(var e=[],n=0;n<this.length;n+=1){var i=this[n].parentNode;while(i)t?x(i).is(t)&&e.push(i):e.push(i),i=i.parentNode}return x(T(e))}function rt(t){var e=this;return"undefined"===typeof t?new k([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function ot(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(t),r=0;r<i.length;r+=1)e.push(i[r]);return new k(e)}function at(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].childNodes,r=0;r<i.length;r+=1)t?1===i[r].nodeType&&x(i[r]).is(t)&&e.push(i[r]):1===i[r].nodeType&&e.push(i[r]);return new k(T(e))}function st(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}function ct(){for(var t,e,n=this,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];for(t=0;t<r.length;t+=1){var a=x(r[t]);for(e=0;e<a.length;e+=1)n[n.length]=a[e],n.length+=1}return n}x.fn=k.prototype,x.Class=k,x.Dom7=k;"resize scroll".split(" ");var lt={addClass:M,removeClass:S,hasClass:C,toggleClass:E,attr:L,removeAttr:A,data:O,transform:P,transition:D,on:j,off:I,trigger:R,transitionEnd:N,outerWidth:Y,outerHeight:z,offset:B,css:H,each:V,html:W,text:$,is:X,index:q,eq:G,append:Z,prepend:J,next:K,nextAll:Q,prev:tt,prevAll:et,parent:nt,parents:it,closest:rt,find:ot,children:at,filter:U,remove:st,add:ct,styles:F};Object.keys(lt).forEach((function(t){x.fn[t]=x.fn[t]||lt[t]}));var ut={deleteProps:function(t){var e=t;Object.keys(e).forEach((function(t){try{e[t]=null}catch(n){}try{delete e[t]}catch(n){}}))},nextTick:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(t,e)},now:function(){return Date.now()},getTranslate:function(t){var e,n,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",o=b.getComputedStyle(t,null);return b.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map((function(t){return t.replace(",",".")})).join(", ")),i=new b.WebKitCSSMatrix("none"===n?"":n)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),e=i.toString().split(",")),"x"===r&&(n=b.WebKitCSSMatrix?i.m41:16===e.length?parseFloat(e[12]):parseFloat(e[4])),"y"===r&&(n=b.WebKitCSSMatrix?i.m42:16===e.length?parseFloat(e[13]):parseFloat(e[5])),n||0},parseUrlQuery:function(t){var e,n,i,r,o={},a=t||b.location.href;if("string"===typeof a&&a.length)for(a=a.indexOf("?")>-1?a.replace(/\S*\?/,""):"",n=a.split("&").filter((function(t){return""!==t})),r=n.length,e=0;e<r;e+=1)i=n[e].replace(/#\S+/g,"").split("="),o[decodeURIComponent(i[0])]="undefined"===typeof i[1]?void 0:decodeURIComponent(i[1])||"";return o},isObject:function(t){return"object"===Object(m["a"])(t)&&null!==t&&t.constructor&&t.constructor===Object},extend:function(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=1;e<arguments.length;e+=1){var n=e<0||arguments.length<=e?void 0:arguments[e];if(void 0!==n&&null!==n)for(var i=Object.keys(Object(n)),r=0,o=i.length;r<o;r+=1){var a=i[r],s=Object.getOwnPropertyDescriptor(n,a);void 0!==s&&s.enumerable&&(ut.isObject(t[a])&&ut.isObject(n[a])?ut.extend(t[a],n[a]):!ut.isObject(t[a])&&ut.isObject(n[a])?(t[a]={},ut.extend(t[a],n[a])):t[a]=n[a])}}return t}},dt=function(){return{touch:!!("ontouchstart"in b||b.DocumentTouch&&_ instanceof b.DocumentTouch),pointerEvents:!!b.PointerEvent&&"maxTouchPoints"in b.navigator&&b.navigator.maxTouchPoints>=0,observer:function(){return"MutationObserver"in b||"WebkitMutationObserver"in b}(),passiveListener:function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});b.addEventListener("testPassiveListener",null,e)}catch(n){}return t}(),gestures:function(){return"ongesturestart"in b}()}}(),ht=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(f["a"])(this,t);var n=this;n.params=e,n.eventsListeners={}
352,n.params&&n.params.on&&Object.keys(n.params.on).forEach((function(t){n.on(t,n.params.on[t])}))}return Object(p["a"])(t,[{key:"on",value:function(t,e,n){var i=this;if("function"!==typeof e)return i;var r=n?"unshift":"push";return t.split(" ").forEach((function(t){i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][r](e)})),i}},{key:"once",value:function(t,e,n){var i=this;if("function"!==typeof e)return i;function r(){i.off(t,r),r.f7proxy&&delete r.f7proxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];e.apply(i,o)}return r.f7proxy=e,i.on(t,r,n)}},{key:"off",value:function(t,e){var n=this;return n.eventsListeners?(t.split(" ").forEach((function(t){"undefined"===typeof e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].length&&n.eventsListeners[t].forEach((function(i,r){(i===e||i.f7proxy&&i.f7proxy===e)&&n.eventsListeners[t].splice(r,1)}))})),n):n}},{key:"emit",value:function(){var t,e,n,i=this;if(!i.eventsListeners)return i;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];"string"===typeof o[0]||Array.isArray(o[0])?(t=o[0],e=o.slice(1,o.length),n=i):(t=o[0].events,e=o[0].data,n=o[0].context||i);var s=Array.isArray(t)?t:t.split(" ");return s.forEach((function(t){if(i.eventsListeners&&i.eventsListeners[t]){var r=[];i.eventsListeners[t].forEach((function(t){r.push(t)})),r.forEach((function(t){t.apply(n,e)}))}})),i}},{key:"useModulesParams",value:function(t){var e=this;e.modules&&Object.keys(e.modules).forEach((function(n){var i=e.modules[n];i.params&&ut.extend(t,i.params)}))}},{key:"useModules",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this;e.modules&&Object.keys(e.modules).forEach((function(n){var i=e.modules[n],r=t[n]||{};i.instance&&Object.keys(i.instance).forEach((function(t){var n=i.instance[t];e[t]="function"===typeof n?n.bind(e):n})),i.on&&e.on&&Object.keys(i.on).forEach((function(t){e.on(t,i.on[t])})),i.create&&i.create.bind(e)(r)}))}}],[{key:"components",set:function(t){var e=this;e.use&&e.use(t)}},{key:"installModule",value:function(t){var e=this;e.prototype.modules||(e.prototype.modules={});var n=t.name||"".concat(Object.keys(e.prototype.modules).length,"_").concat(ut.now());if(e.prototype.modules[n]=t,t.proto&&Object.keys(t.proto).forEach((function(n){e.prototype[n]=t.proto[n]})),t.static&&Object.keys(t.static).forEach((function(n){e[n]=t.static[n]})),t.install){for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];t.install.apply(e,r)}return e}},{key:"use",value:function(t){var e=this;if(Array.isArray(t))return t.forEach((function(t){return e.installModule(t)})),e;for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return e.installModule.apply(e,[t].concat(i))}}]),t}();function ft(){var t,e,n=this,i=n.$el;t="undefined"!==typeof n.params.width?n.params.width:i[0].clientWidth,e="undefined"!==typeof n.params.height?n.params.height:i[0].clientHeight,0===t&&n.isHorizontal()||0===e&&n.isVertical()||(t=t-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),e=e-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),ut.extend(n,{width:t,height:e,size:n.isHorizontal()?t:e}))}function pt(){var t=this,e=t.params,n=t.$wrapperEl,i=t.size,r=t.rtlTranslate,o=t.wrongRTL,a=t.virtual&&e.virtual.enabled,s=a?t.virtual.slides.length:t.slides.length,c=n.children(".".concat(t.params.slideClass)),l=a?t.virtual.slides.length:c.length,u=[],d=[],h=[];function f(t){return!e.cssMode||t!==c.length-1}var p=e.slidesOffsetBefore;"function"===typeof p&&(p=e.slidesOffsetBefore.call(t));var m=e.slidesOffsetAfter;"function"===typeof m&&(m=e.slidesOffsetAfter.call(t));var g=t.snapGrid.length,v=t.snapGrid.length,_=e.spaceBetween,y=-p,w=0,k=0;if("undefined"!==typeof i){var x,T;"string"===typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*i),t.virtualSize=-_,r?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(x=Math.floor(l/e.slidesPerColumn)===l/t.params.slidesPerColumn?l:Math.ceil(l/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(x=Math.max(x,e.slidesPerView*e.slidesPerColumn)));for(var M,S=e.slidesPerColumn,C=x/S,E=Math.floor(l/e.slidesPerColumn),L=0;L<l;L+=1){T=0;var A=c.eq(L);if(e.slidesPerColumn>1){var O=void 0,P=void 0,D=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var j=Math.floor(L/(e.slidesPerGroup*e.slidesPerColumn)),I=L-e.slidesPerColumn*e.slidesPerGroup*j,R=0===j?e.slidesPerGroup:Math.min(Math.ceil((l-j*S*e.slidesPerGroup)/S),e.slidesPerGroup);D=Math.floor(I/R),P=I-D*R+j*e.slidesPerGroup,O=P+D*x/S,A.css({"-webkit-box-ordinal-group":O,"-moz-box-ordinal-group":O,"-ms-flex-order":O,"-webkit-order":O,order:O})}else"column"===e.slidesPerColumnFill?(P=Math.floor(L/S),D=L-P*S,(P>E||P===E&&D===S-1)&&(D+=1,D>=S&&(D=0,P+=1))):(D=Math.floor(L/C),P=L-D*C);A.css("margin-".concat(t.isHorizontal()?"top":"left"),0!==D&&e.spaceBetween&&"".concat(e.spaceBetween,"px"))}if("none"!==A.css("display")){if("auto"===e.slidesPerView){var N=b.getComputedStyle(A[0],null),Y=A[0].style.transform,z=A[0].style.webkitTransform;if(Y&&(A[0].style.transform="none"),z&&(A[0].style.webkitTransform="none"),e.roundLengths)T=t.isHorizontal()?A.outerWidth(!0):A.outerHeight(!0);else if(t.isHorizontal()){var B=parseFloat(N.getPropertyValue("width")),F=parseFloat(N.getPropertyValue("padding-left")),H=parseFloat(N.getPropertyValue("padding-right")),V=parseFloat(N.getPropertyValue("margin-left")),U=parseFloat(N.getPropertyValue("margin-right")),W=N.getPropertyValue("box-sizing");T=W&&"border-box"===W?B+V+U:B+F+H+V+U}else{var $=parseFloat(N.getPropertyValue("height")),X=parseFloat(N.getPropertyValue("padding-top")),q=parseFloat(N.getPropertyValue("padding-bottom")),G=parseFloat(N.getPropertyValue("margin-top")),Z=parseFloat(N.getPropertyValue("margin-bottom")),J=N.getPropertyValue("box-sizing");T=J&&"border-box"===J?$+G+Z:$+X+q+G+Z}Y&&(A[0].style.transform=Y),z&&(A[0].style.webkitTransform=z),e.roundLengths&&(T=Math.floor(T))}else T=(i-(e.slidesPerView-1)*_)/e.slidesPerView,e.roundLengths&&(T=Math.floor(T)),c[L]&&(t.isHorizontal()?c[L].style.width="".concat(T,"px"):c[L].style.height="".concat(T,"px"));c[L]&&(c[L].swiperSlideSize=T),h.push(T),e.centeredSlides?(y=y+T/2+w/2+_,0===w&&0!==L&&(y=y-i/2-_),0===L&&(y=y-i/2-_),Math.abs(y)<.001&&(y=0),e.roundLengths&&(y=Math.floor(y)),k%e.slidesPerGroup===0&&u.push(y),d.push(y)):(e.roundLengths&&(y=Math.floor(y)),(k-Math.min(t.params.slidesPerGroupSkip,k))%t.params.slidesPerGroup===0&&u.push(y),d.push(y),y=y+T+_),t.virtualSize+=T+_,w=T,k+=1}}if(t.virtualSize=Math.max(t.virtualSize,i)+m,r&&o&&("slide"===e.effect||"coverflow"===e.effect)&&n.css({width:"".concat(t.virtualSize+e.spaceBetween,"px")}),e.setWrapperSize&&(t.isHorizontal()?n.css({width:"".concat(t.virtualSize+e.spaceBetween,"px")}
352):n.css({height:"".concat(t.virtualSize+e.spaceBetween,"px")})),e.slidesPerColumn>1&&(t.virtualSize=(T+e.spaceBetween)*x,t.virtualSize=Math.ceil(t.virtualSize/e.slidesPerColumn)-e.spaceBetween,t.isHorizontal()?n.css({width:"".concat(t.virtualSize+e.spaceBetween,"px")}):n.css({height:"".concat(t.virtualSize+e.spaceBetween,"px")}),e.centeredSlides)){M=[];for(var K=0;K<u.length;K+=1){var Q=u[K];e.roundLengths&&(Q=Math.floor(Q)),u[K]<t.virtualSize+u[0]&&M.push(Q)}u=M}if(!e.centeredSlides){M=[];for(var tt=0;tt<u.length;tt+=1){var et=u[tt];e.roundLengths&&(et=Math.floor(et)),u[tt]<=t.virtualSize-i&&M.push(et)}u=M,Math.floor(t.virtualSize-i)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-i)}if(0===u.length&&(u=[0]),0!==e.spaceBetween&&(t.isHorizontal()?r?c.filter(f).css({marginLeft:"".concat(_,"px")}):c.filter(f).css({marginRight:"".concat(_,"px")}):c.filter(f).css({marginBottom:"".concat(_,"px")})),e.centeredSlides&&e.centeredSlidesBounds){var nt=0;h.forEach((function(t){nt+=t+(e.spaceBetween?e.spaceBetween:0)})),nt-=e.spaceBetween;var it=nt-i;u=u.map((function(t){return t<0?-p:t>it?it+m:t}))}if(e.centerInsufficientSlides){var rt=0;if(h.forEach((function(t){rt+=t+(e.spaceBetween?e.spaceBetween:0)})),rt-=e.spaceBetween,rt<i){var ot=(i-rt)/2;u.forEach((function(t,e){u[e]=t-ot})),d.forEach((function(t,e){d[e]=t+ot}))}}ut.extend(t,{slides:c,snapGrid:u,slidesGrid:d,slidesSizesGrid:h}),l!==s&&t.emit("slidesLengthChange"),u.length!==g&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),d.length!==v&&t.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&t.updateSlidesOffset()}}function mt(t){var e,n=this,i=[],r=0;if("number"===typeof t?n.setTransition(t):!0===t&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)n.visibleSlides.each((function(t,e){i.push(e)}));else for(e=0;e<Math.ceil(n.params.slidesPerView);e+=1){var o=n.activeIndex+e;if(o>n.slides.length)break;i.push(n.slides.eq(o)[0])}else i.push(n.slides.eq(n.activeIndex)[0]);for(e=0;e<i.length;e+=1)if("undefined"!==typeof i[e]){var a=i[e].offsetHeight;r=a>r?a:r}r&&n.$wrapperEl.css("height","".concat(r,"px"))}function gt(){for(var t=this,e=t.slides,n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop}function vt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,e=this,n=e.params,i=e.slides,r=e.rtlTranslate;if(0!==i.length){"undefined"===typeof i[0].swiperSlideOffset&&e.updateSlidesOffset();var o=-t;r&&(o=t),i.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var a=0;a<i.length;a+=1){var s=i[a],c=(o+(n.centeredSlides?e.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var l=-(o-s.swiperSlideOffset),u=l+e.slidesSizesGrid[a],d=l>=0&&l<e.size-1||u>1&&u<=e.size||l<=0&&u>=e.size;d&&(e.visibleSlides.push(s),e.visibleSlidesIndexes.push(a),i.eq(a).addClass(n.slideVisibleClass))}s.progress=r?-c:c}e.visibleSlides=x(e.visibleSlides)}}function _t(t){var e=this;if("undefined"===typeof t){var n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}var i=e.params,r=e.maxTranslate()-e.minTranslate(),o=e.progress,a=e.isBeginning,s=e.isEnd,c=a,l=s;0===r?(o=0,a=!0,s=!0):(o=(t-e.minTranslate())/r,a=o<=0,s=o>=1),ut.extend(e,{progress:o,isBeginning:a,isEnd:s}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),a&&!c&&e.emit("reachBeginning toEdge"),s&&!l&&e.emit("reachEnd toEdge"),(c&&!a||l&&!s)&&e.emit("fromEdge"),e.emit("progress",o)}function yt(){var t,e=this,n=e.slides,i=e.params,r=e.$wrapperEl,o=e.activeIndex,a=e.realIndex,s=e.virtual&&i.virtual.enabled;n.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),t=s?e.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(o,'"]')):n.eq(o),t.addClass(i.slideActiveClass),i.loop&&(t.hasClass(i.slideDuplicateClass)?r.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(a,'"]')).addClass(i.slideDuplicateActiveClass):r.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(a,'"]')).addClass(i.slideDuplicateActiveClass));var c=t.nextAll(".".concat(i.slideClass)).eq(0).addClass(i.slideNextClass);i.loop&&0===c.length&&(c=n.eq(0),c.addClass(i.slideNextClass));var l=t.prevAll(".".concat(i.slideClass)).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=n.eq(-1),l.addClass(i.slidePrevClass)),i.loop&&(c.hasClass(i.slideDuplicateClass)?r.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):r.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?r.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):r.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))}function bt(t){var e,n=this,i=n.rtlTranslate?n.translate:-n.translate,r=n.slidesGrid,o=n.snapGrid,a=n.params,s=n.activeIndex,c=n.realIndex,l=n.snapIndex,u=t;if("undefined"===typeof u){for(var d=0;d<r.length;d+=1)"undefined"!==typeof r[d+1]?i>=r[d]&&i<r[d+1]-(r[d+1]-r[d])/2?u=d:i>
352=r[d]&&i<r[d+1]&&(u=d+1):i>=r[d]&&(u=d);a.normalizeSlideIndex&&(u<0||"undefined"===typeof u)&&(u=0)}if(o.indexOf(i)>=0)e=o.indexOf(i);else{var h=Math.min(a.slidesPerGroupSkip,u);e=h+Math.floor((u-h)/a.slidesPerGroup)}if(e>=o.length&&(e=o.length-1),u!==s){var f=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);ut.extend(n,{snapIndex:e,realIndex:f,previousIndex:s,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),c!==f&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else e!==l&&(n.snapIndex=e,n.emit("snapIndexChange"))}function wt(t){var e=this,n=e.params,i=x(t.target).closest(".".concat(n.slideClass))[0],r=!1;if(i)for(var o=0;o<e.slides.length;o+=1)e.slides[o]===i&&(r=!0);if(!i||!r)return e.clickedSlide=void 0,void(e.clickedIndex=void 0);e.clickedSlide=i,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(x(i).attr("data-swiper-slide-index"),10):e.clickedIndex=x(i).index(),n.slideToClickedSlide&&void 0!==e.clickedIndex&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}var kt={updateSize:ft,updateSlides:pt,updateAutoHeight:mt,updateSlidesOffset:gt,updateSlidesProgress:vt,updateProgress:_t,updateSlidesClasses:yt,updateActiveIndex:bt,updateClickedSlide:wt};function xt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",e=this,n=e.params,i=e.rtlTranslate,r=e.translate,o=e.$wrapperEl;if(n.virtualTranslate)return i?-r:r;if(n.cssMode)return r;var a=ut.getTranslate(o[0],t);return i&&(a=-a),a||0}function Tt(t,e){var n,i=this,r=i.rtlTranslate,o=i.params,a=i.$wrapperEl,s=i.wrapperEl,c=i.progress,l=0,u=0,d=0;i.isHorizontal()?l=r?-t:t:u=t,o.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),o.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-u:o.virtualTranslate||a.transform("translate3d(".concat(l,"px, ").concat(u,"px, ").concat(d,"px)")),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:u;var h=i.maxTranslate()-i.minTranslate();n=0===h?0:(t-i.minTranslate())/h,n!==c&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Mt(){return-this.snapGrid[0]}function St(){return-this.snapGrid[this.snapGrid.length-1]}function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4?arguments[4]:void 0,o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var c,l=o.minTranslate(),u=o.maxTranslate();if(c=i&&t>l?l:i&&t<u?u:t,o.updateProgress(c),a.cssMode){var d,f=o.isHorizontal();if(0===e)s[f?"scrollLeft":"scrollTop"]=-c;else if(s.scrollTo)s.scrollTo((d={},Object(h["a"])(d,f?"left":"top",-c),Object(h["a"])(d,"behavior","smooth"),d));else s[f?"scrollLeft":"scrollTop"]=-c;return!0}return 0===e?(o.setTransition(0),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}var Et={getTranslate:xt,setTranslate:Tt,minTranslate:Mt,maxTranslate:St,translateTo:Ct};function Lt(t,e){var n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)}function At(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.params,o=n.previousIndex;if(!r.cssMode){r.autoHeight&&n.updateAutoHeight();var a=e;if(a||(a=i>o?"next":i<o?"prev":"reset"),n.emit("transitionStart"),t&&i!==o){if("reset"===a)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===a?n.emit("slideNextTransitionStart"):n.emit
352("slidePrevTransitionStart")}}}function Ot(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.previousIndex,o=n.params;if(n.animating=!1,!o.cssMode){n.setTransition(0);var a=e;if(a||(a=i>r?"next":i<r?"prev":"reset"),n.emit("transitionEnd"),t&&i!==r){if("reset"===a)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===a?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}var Pt={setTransition:Lt,transitionStart:At,transitionEnd:Ot};function Dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this,o=t;o<0&&(o=0);var a=r.params,s=r.snapGrid,c=r.slidesGrid,l=r.previousIndex,u=r.activeIndex,d=r.rtlTranslate,f=r.wrapperEl;if(r.animating&&a.preventInteractionOnTransition)return!1;var p=Math.min(r.params.slidesPerGroupSkip,o),m=p+Math.floor((o-p)/r.params.slidesPerGroup);m>=s.length&&(m=s.length-1),(u||a.initialSlide||0)===(l||0)&&n&&r.emit("beforeSlideChangeStart");var g,v=-s[m];if(r.updateProgress(v),a.normalizeSlideIndex)for(var _=0;_<c.length;_+=1)-Math.floor(100*v)>=Math.floor(100*c[_])&&(o=_);if(r.initialized&&o!==u){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(u||0)!==o)return!1}if(g=o>u?"next":o<u?"prev":"reset",d&&-v===r.translate||!d&&v===r.translate)return r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(v),"reset"!==g&&(r.transitionStart(n,g),r.transitionEnd(n,g)),!1;if(a.cssMode){var y,b=r.isHorizontal(),w=-v;if(d&&(w=f.scrollWidth-f.offsetWidth-w),0===e)f[b?"scrollLeft":"scrollTop"]=w;else if(f.scrollTo)f.scrollTo((y={},Object(h["a"])(y,b?"left":"top",w),Object(h["a"])(y,"behavior","smooth"),y));else f[b?"scrollLeft":"scrollTop"]=w;return!0}return 0===e?(r.setTransition(0),r.setTranslate(v),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,g),r.transitionEnd(n,g)):(r.setTransition(e),r.setTranslate(v),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,g),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0}function jt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this,o=t;return r.params.loop&&(o+=r.loopedSlides),r.slideTo(o,e,n,i)}function It(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,o=i.animating,a=i.activeIndex<r.slidesPerGroupSkip?1:r.slidesPerGroup;if(r.loop){if(o)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+a,t,e,n)}function Rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,o=i.animating,a=i.snapGrid,s=i.slidesGrid,c=i.rtlTranslate;if(r.loop){if(o)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var l=c?i.translate:-i.translate;function u(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var d,h=u(l),f=a.map((function(t){return u(t)})),p=(s.map((function(t){return u(t)})),a[f.indexOf(h)],a[f.indexOf(h)-1]);return"undefined"===typeof p&&r.cssMode&&a.forEach((function(t){!p&&h>=t&&(p=t)})),"undefined"!==typeof p&&(d=s.indexOf(p),d<0&&(d=i.activeIndex-1)),i.slideTo(d,t,e,n)}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this;return i.slideTo(i.activeIndex,t,e,n)}function Yt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=this,o=r.activeIndex,a=Math.min(r.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/r.params.slidesPerGroup),c=r.rtlTranslate?r.translate:-r.translate;if(c>=r.snapGrid[s]){var l=r.snapGrid[s],u=r.snapGrid[s+1];c-l>(u-l)*i&&(o+=r.params.slidesPerGroup)}else{var d=r.snapGrid[s-1],h=r.snapGrid[s];c-d<=(h-d)*i&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,t,e,n)}function zt(){var t,e=this,n=e.params,i=e.$wrapperEl,r="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView,o=e.clickedIndex;if(n.loop){if(e.animating)return;t=parseInt(x(e.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),ut.nextTick((function(){e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),ut.nextTick((function(){e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}var Bt={slideTo:Dt,slideToLoop:jt,slideNext:It,slidePrev:Rt,slideReset:Nt,slideToClosest:Yt,slideToClickedSlide:zt};function Ft(){var t=this,e=t.params,n=t.$wrapperEl;n.children(".".concat(e.slideClass,".").concat(e.slideDuplicateClass)).remove();var i=n.children(".".concat(e.slideClass));if(e.loopFillGroupWithBlank){var r=e.slidesPerGroup-i.length%e.slidesPerGroup;if(r!==e.slidesPerGroup){for(var o=0;o<r;o+=1){var a=x(_.createElement("div")).addClass("".concat(e.slideClass," ").concat(e.slideBlankClass));n.append(a)}i=n.children(".".concat(e.slideClass))}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=i.length),t.loopedSlides=Math.ceil(parseFloat(e.loopedSlides||e.slidesPerView,10)),t.loopedSlides+=e.loopAdditionalSlides,t.loopedSlides>i.length&&(t.loopedSlides=i.length);var s=[],c=[];i.each((function(e,n){var r=x(n);e<t.loopedSlides&&c.push(n),e<i.length&&e>=i.length-t.loopedSlides&&s.push(n),r.attr("data-swiper-slide-index",e)}));for(var l=0;l<c.length;l+=1)n.append(x(c[l].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var u=s.length-1;u>=0;u-=1)n.prepend(x(s[u].cloneNode(!0)).addClass(e.slideDuplicateClass))}function Ht(){var t=this;t.emit("beforeLoopFix");var e,n=t.activeIndex,i=t.slides,r=t.loopedSlides,o=t.allowSlidePrev,a=t.allowSlideNext,s=t.snapGrid,c=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var l=-s[n],u=l-t.getTranslate();if(n<r){e=i.length-3*r+n,e+=r;var d=t.slideTo(e,0,!1,!0);d&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u)}else if(n>=i.length-r){e=-i.length+n+r,e+=r;var h=t.slideTo(e,0,!1,!0);h&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u)}t.allowSlidePrev=o,t.allowSlideNext=a,t.emit("loopFix")}function Vt(){var t=this,e=t.$wrapperEl,n=t.params,i=t.slides;e.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,",.").concat(n.slideClass,".").concat(n.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}var Ut={loopCreate:Ft,loopFix:Ht,loopDestroy:Vt};function Wt(t){var e=this;if(!(dt.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)){var n=e.el;n.style.cursor="move",n.style.cursor=t?"-webkit-grabbing":"-webkit-grab",n.style.cursor=t?"-moz-grabbin":"-moz-grab",n.style.cursor=t?"grabbing":"grab"}}function $t(){var t=this;dt.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.el.style.cursor="")}var Xt={setGrabCursor:Wt,unsetGrabCursor:$t};function qt(t){var e=this,n=e.$wrapperEl,i=e.params;if(i.loop&&e.loopDestroy(),"object"===Object(m["a"])(t)&&"length"in t)for(var r=0;r<t.length;r+=1)t[r]&&n.append(t[r]);else n.append(t);
352i.loop&&e.loopCreate(),i.observer&&dt.observer||e.update()}function Gt(t){var e=this,n=e.params,i=e.$wrapperEl,r=e.activeIndex;n.loop&&e.loopDestroy();var o=r+1;if("object"===Object(m["a"])(t)&&"length"in t){for(var a=0;a<t.length;a+=1)t[a]&&i.prepend(t[a]);o=r+t.length}else i.prepend(t);n.loop&&e.loopCreate(),n.observer&&dt.observer||e.update(),e.slideTo(o,0,!1)}function Zt(t,e){var n=this,i=n.$wrapperEl,r=n.params,o=n.activeIndex,a=o;r.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.slides=i.children(".".concat(r.slideClass)));var s=n.slides.length;if(t<=0)n.prependSlide(e);else if(t>=s)n.appendSlide(e);else{for(var c=a>t?a+1:a,l=[],u=s-1;u>=t;u-=1){var d=n.slides.eq(u);d.remove(),l.unshift(d)}if("object"===Object(m["a"])(e)&&"length"in e){for(var h=0;h<e.length;h+=1)e[h]&&i.append(e[h]);c=a>t?a+e.length:a}else i.append(e);for(var f=0;f<l.length;f+=1)i.append(l[f]);r.loop&&n.loopCreate(),r.observer&&dt.observer||n.update(),r.loop?n.slideTo(c+n.loopedSlides,0,!1):n.slideTo(c,0,!1)}}function Jt(t){var e=this,n=e.params,i=e.$wrapperEl,r=e.activeIndex,o=r;n.loop&&(o-=e.loopedSlides,e.loopDestroy(),e.slides=i.children(".".concat(n.slideClass)));var a,s=o;if("object"===Object(m["a"])(t)&&"length"in t){for(var c=0;c<t.length;c+=1)a=t[c],e.slides[a]&&e.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=t,e.slides[a]&&e.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);n.loop&&e.loopCreate(),n.observer&&dt.observer||e.update(),n.loop?e.slideTo(s+e.loopedSlides,0,!1):e.slideTo(s,0,!1)}function Kt(){for(var t=this,e=[],n=0;n<t.slides.length;n+=1)e.push(n);t.removeSlide(e)}var Qt={appendSlide:qt,prependSlide:Gt,addSlide:Zt,removeSlide:Jt,removeAllSlides:Kt},te=function(){var t=b.navigator.platform,e=b.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!b.cordova&&!b.phonegap),phonegap:!(!b.cordova&&!b.phonegap),electron:!1},i=b.screen.width,r=b.screen.height,o=e.match(/(Android);?[\s\/]+([\d.]+)?/),a=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!a&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),l=e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0,u=e.indexOf("Edge/")>=0,d=e.indexOf("Gecko/")>=0&&e.indexOf("Firefox/")>=0,h="Win32"===t,f=e.toLowerCase().indexOf("electron")>=0,p="MacIntel"===t;return!a&&p&&dt.touch&&(1024===i&&1366===r||834===i&&1194===r||834===i&&1112===r||768===i&&1024===r)&&(a=e.match(/(Version)\/([\d.]+)/),p=!1),n.ie=l,n.edge=u,n.firefox=d,o&&!h&&(n.os="android",n.osVersion=o[2],n.android=!0,n.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(a||c||s)&&(n.os="ios",n.ios=!0),c&&!s&&(n.osVersion=c[2].replace(/_/g,"."),n.iphone=!0),a&&(n.osVersion=a[2].replace(/_/g,"."),n.ipad=!0),s&&(n.osVersion=s[3]?s[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&e.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(c||a||s)||!e.match(/.*AppleWebKit(?!.*Safari)/i)&&!b.navigator.standalone)||b.matchMedia&&b.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||f,n.desktop&&(n.electron=f,n.macos=p,n.windows=h,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=b.devicePixelRatio||1,n}();function ee(t){var e=this,n=e.touchEventsData,i=e.params,r=e.touches;if(!e.animating||!i.preventInteractionOnTransition){var o=t;o.originalEvent&&(o=o.originalEvent);var a=x(o.target);if(("wrapper"!==i.touchEventsTarget||a.closest(e.wrapperEl).length)&&(n.isTouchEvent="touchstart"===o.type,(n.isTouchEvent||!("which"in o)||3!==o.which)&&!(!n.isTouchEvent&&"button"in o&&o.button>0)&&(!n.isTouched||!n.isMoved)))if(i.noSwiping&&a.closest(i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass))[0])e.allowClick=!0;else if(!i.swipeHandler||a.closest(i.swipeHandler)[0]){r.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,r.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;var s=r.currentX,c=r.currentY,l=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,u=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!l||!(s<=u||s>=b.screen.width-u)){if(ut.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=s,r.startY=c,n.touchStartTime=ut.now(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==o.type){var d=!0;a.is(n.formElements)&&(d=!1),_.activeElement&&x(_.activeElement).is(n.formElements)&&_.activeElement!==a[0]&&_.activeElement.blur();var h=d&&e.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||h)&&o.preventDefault()}e.emit("touchStart",o)}}}}function ne(t){var e=this,n=e.touchEventsData,i=e.params,r=e.touches,o=e.rtlTranslate,a=t;if(a.originalEvent&&(a=a.originalEvent),n.isTouched){if(!n.isTouchEvent||"touchmove"===a.type){var s="touchmove"===a.type&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),c="touchmove"===a.type?s.pageX:a.pageX,l="touchmove"===a.type?s.pageY:a.pageY;if(a.preventedByNestedSwiper)return r.startX=c,void(r.startY=l);if(!e.allowTouchMove)return e.allowClick=!1,void(n.isTouched&&(ut.extend(r,{startX:c,startY:l,currentX:c,currentY:l}),n.touchStartTime=ut.now()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(e.isVertical()){if(l<r.startY&&e.translate<=e.maxTranslate()||l>r.startY&&e.translate>=e.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(c<r.startX&&e.translate<=e.maxTranslate()||c>r.startX&&e.translate>=e.minTranslate())return;if(n.isTouchEvent&&_.activeElement&&a.target===_.activeElement&&x(a.target).is(n.formElements))return n.isMoved=!0,void(e.allowClick=!1);if(n.allowTouchCallbacks&&e.emit("touchMove",a),!(a.targetTouches&&a.targetTouches.length>1)){r.currentX=c,r.currentY=l;var u=r.currentX-r.startX,d=r.currentY-r.startY;if(!(e.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(d,2))<e.params.threshold)){var h;if("undefined"===typeof n.isScrolling)e.isHorizontal()&&r.currentY===r.startY||e.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:u*u+d*d>=25&&(h=180*Math.atan2(Math.abs(d),Math.abs(u))/Math.PI,n.isScrolling=e.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle);if(n.isScrolling&&e.emit("touchMoveOpposite",a),"undefined"===typeof n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){e.allowClick=!1,!i.cssMode&&a.cancelable&&a.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&a.stopPropagation(),n.isMoved||(i.loop&&e.loopFix(),n.startTranslate=e.getTranslate(),e.setTransition(0),e.animating&&e.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce
vendor: 1,040 bytes, line 352
352=!1,!i.grabCursor||!0!==e.allowSlideNext&&!0!==e.allowSlidePrev||e.setGrabCursor(!0),e.emit("sliderFirstMove",a)),e.emit("sliderMove",a),n.isMoved=!0;var f=e.isHorizontal()?u:d;r.diff=f,f*=i.touchRatio,o&&(f=-f),e.swipeDirection=f>0?"prev":"next",n.currentTranslate=f+n.startTranslate;var p=!0,m=i.resistanceRatio;if(i.touchReleaseOnEdges&&(m=0),f>0&&n.currentTranslate>e.minTranslate()?(p=!1,i.resistance&&(n.currentTranslate=e.minTranslate()-1+Math.pow(-e.minTranslate()+n.startTranslate+f,m))):f<0&&n.currentTranslate<e.maxTranslate()&&(p=!1,i.resistance&&(n.currentTranslate=e.maxTranslate()+1-Math.pow(e.maxTranslate()-n.startTranslate-f,m))),p&&(a.preventedByNestedSwiper=!0),!e.allowSlideNext&&"next"===e.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!e.allowSlidePrev&&"prev"===e.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(f)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 9,971 bytes, line 352
352if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=e.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(e.updateActiveIndex(),e.updateSlidesClasses()),i.freeMode&&(0===n.velocities.length&&n.velocities.push({position:r[e.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:r[e.isHorizontal()?"currentX":"currentY"],time:ut.now()})),e.updateProgress(n.currentTranslate),e.setTranslate(n.currentTranslate))}}}}}else n.startMoving&&n.isScrolling&&e.emit("touchMoveOpposite",a)}function ie(t){var e=this,n=e.touchEventsData,i=e.params,r=e.touches,o=e.rtlTranslate,a=e.$wrapperEl,s=e.slidesGrid,c=e.snapGrid,l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var u,d=ut.now(),h=d-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(l),e.emit("tap click",l),h<300&&d-n.lastClickTime<300&&e.emit("doubleTap doubleClick",l)),n.lastClickTime=ut.now(),ut.nextTick((function(){e.destroyed||(e.allowClick=!0)})),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=i.followFinger?o?e.translate:-e.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(u<-e.minTranslate())return void e.slideTo(e.activeIndex);if(u>-e.maxTranslate())return void(e.slides.length<c.length?e.slideTo(c.length-1):e.slideTo(e.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),p=n.velocities.pop(),m=f.position-p.position,g=f.time-p.time;e.velocity=m/g,e.velocity/=2,Math.abs(e.velocity)<i.freeModeMinimumVelocity&&(e.velocity=0),(g>150||ut.now()-f.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var v=1e3*i.freeModeMomentumRatio,_=e.velocity*v,y=e.translate+_;o&&(y=-y);var b,w,k=!1,x=20*Math.abs(e.velocity)*i.freeModeMomentumBounceRatio;if(y<e.maxTranslate())i.freeModeMomentumBounce?(y+e.maxTranslate()<-x&&(y=e.maxTranslate()-x),b=e.maxTranslate(),k=!0,n.allowMomentumBounce=!0):y=e.maxTranslate(),i.loop&&i.centeredSlides&&(w=!0);else if(y>e.minTranslate())i.freeModeMomentumBounce?(y-e.minTranslate()>x&&(y=e.minTranslate()+x),b=e.minTranslate(),k=!0,n.allowMomentumBounce=!0):y=e.minTranslate(),i.loop&&i.centeredSlides&&(w=!0);else if(i.freeModeSticky){for(var T,M=0;M<c.length;M+=1)if(c[M]>-y){T=M;break}y=Math.abs(c[T]-y)<Math.abs(c[T-1]-y)||"next"===e.swipeDirection?c[T]:c[T-1],y=-y}if(w&&e.once("transitionEnd",(function(){e.loopFix()})),0!==e.velocity){if(v=o?Math.abs((-y-e.translate)/e.velocity):Math.abs((y-e.translate)/e.velocity),i.freeModeSticky){var S=Math.abs((o?-y:y)-e.translate),C=e.slidesSizesGrid[e.activeIndex];v=S<C?i.speed:S<2*C?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void e.slideToClosest();i.freeModeMomentumBounce&&k?(e.updateProgress(b),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,a.transitionEnd((function(){e&&!e.destroyed&&n.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(i.speed),setTimeout((function(){e.setTranslate(b),a.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(e.updateProgress(y),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,a.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(i.freeModeSticky)return void e.slideToClosest();(!i.freeModeMomentum||h>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}else{for(var E=0,L=e.slidesSizesGrid[0],A=0;A<s.length;A+=A<i.slidesPerGroupSkip?1:i.slidesPerGroup){var O=A<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;"undefined"!==typeof s[A+O]?u>=s[A]&&u<s[A+O]&&(E=A,L=s[A+O]-s[A]):u>=s[A]&&(E=A,L=s[s.length-1]-s[s.length-2])}var P=(u-s[E])/L,D=E<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(h>i.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(P>=i.longSwipesRatio?e.slideTo(E+D):e.slideTo(E)),"prev"===e.swipeDirection&&(P>1-i.longSwipesRatio?e.slideTo(E+D):e.slideTo(E))}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);var j=e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl);j?l.target===e.navigation.nextEl?e.slideTo(E+D):e.slideTo(E):("next"===e.swipeDirection&&e.slideTo(E+D),"prev"===e.swipeDirection&&e.slideTo(E))}}}function re(){var t=this,e=t.params,n=t.el;if(!n||0!==n.offsetWidth){e.breakpoints&&t.setBreakpoint();var i=t.allowSlideNext,r=t.allowSlidePrev,o=t.snapGrid;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=r,t.allowSlideNext=i,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}}function oe(t){var e=this;e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}function ae(){var t,e=this,n=e.wrapperEl,i=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?n.scrollWidth-n.offsetWidth-n.scrollLeft:-n.scrollLeft:e.translate=-n.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();t=0===r?0:(e.translate-e.minTranslate())/r,t!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}var se=!1;function ce(){}function le(){var t=this,e=t.params,n=t.touchEvents,i=t.el,r=t.wrapperEl;t.onTouchStart=ee.bind(t),t.onTouchMove=ne.bind(t),t.onTouchEnd=ie.bind(t),e.cssMode&&(t.onScroll=ae.bind(t)),t.onClick=oe.bind(t);var o=!!e.nested;if(!dt.touch&&dt.pointerEvents)i.addEventListener(n.start,t.onTouchStart,!1),_.addEventListener(n.move,t.onTouchMove,o),_.addEventListener(n.end,t.onTouchEnd,!1);else{if(dt.touch){var a=!("touchstart"!==n.start||!dt.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(n.start,t.onTouchStart,a),i.addEventListener(n.move,t.onTouchMove,dt.passiveListener?{passive:!1,capture:o}:o),i.addEventListener(n.end,t.onTouchEnd,a),n.cancel&&i.addEventListener(n.cancel,t.onTouchEnd,a),se||(_.addEventListener("touchstart",ce),se=!0)}(e.simulateTouch&&!te.ios&&!te.android||e.simulateTouch&&!dt.touch&&te.ios)&&(i.addEventListener("mousedown",t.onTouchStart,!1),_.addEventListener("mousemove",t.onTouchMove,o),_.addEventListener("mouseup",t.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&i.addEventListener("click",t.onClick,!0),e.cssMode&&r.addEventListener("scroll",t.onScroll),e.updateOnWindowResize?t.on(te.ios||te.android?"resize orientationchange observerUpdate":"resize observerUpdate",re,!0):t.on("observerUpdate",re,!0)}function ue(){var t=this,e=t.params,n=t.touchEvents,i=t.el,r=t.wrapperEl,o=!!e.nested;if(!dt.touch&&dt.pointerEvents)i.removeEventListener(n.start,t.onTouchStart,!1),_.removeEventListener(n.move,t.onTouchMove,o),_.removeEventListener(n.end,t.onTouchEnd,!1);else{if(dt.touch){var a=!("onTouchStart"!==n.start||!dt.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,t.onTouchStart,a),i.removeEventListener(n.move,t.onTouchMove,o),i.removeEventListener(n.end,t.onTouchEnd,a),n.cancel&&i.removeEventListener(n.cancel,t.onTouchEnd,a)}(e.simulateTouch&&!te.ios&&!te.android||e.simulateTouch&&!dt.touch&&te.ios)&&(i.removeEventListener("mousedown",t.onTouchStart,!1),_.removeEventListener("mousemove",t.onTouchMove,o),_.removeEventListener("mouseup",t.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&i.removeEventListener("click",t.onClick,!0),e.cssMode&&r.removeEventListener("scroll",t.onScroll),t.off(te.ios||te.android?"resize orientationchange observerUpdate":"resize observerUpdate",re)}var de={attachEvents:le,detachEvents:ue};function he(){var t=this,e=t.activeIndex,n=t.initialized,i=t.loopedSlides,r=void 0===i?0:i,o=t.params,a=t.$el,s=o.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var c=t.getBreakpoint(s);if(c&&t.currentBreakpoint!==c){var l=c in s?s[c]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(t){var e=l[t];"undefined"!==typeof e&&(l[t]="slidesPerView"!==t||"AUTO"!==e&&"auto"!==e?"slidesPerView"===t?parseFloat(e):parseInt(e,10):"auto")}));var u=l||t.originalParams,d=o.slidesPerColumn>1,h=u.slidesPerColumn>1;d&&!h?a.removeClass("".concat(o.containerModifierClass,"multirow ").concat(o.containerModifierClass,"multirow-column")):!d&&h&&(a.addClass("".concat(o.containerModifierClass,"multirow")),"column"===u.slidesPerColumnFill&&a.addClass("".concat(o.containerModifierClass,"multirow-column")));var f=u.direction&&u.direction!==o.direction,p=o.loop&&(u.slidesPerView!==o.slidesPerView||f);f&&n&&t.changeDirection(),ut.extend(t.params,u),ut.extend(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),t.currentBreakpoint=c,p&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-r+t.loopedSlides,0,!1)),t.emit("breakpoint",u)}}}function fe(t){if(t){var e=!1,n=Object.keys(t).map((function(t){if("string"===typeof t&&0===t.indexOf("@")){var e=parseFloat(t.substr(1)),n=b.innerHe
352ight*e;return{value:n,point:t}}return{value:t,point:t}}));n.sort((function(t,e){return parseInt(t.value,10)-parseInt(e.value,10)}));for(var i=0;i<n.length;i+=1){var r=n[i],o=r.point,a=r.value;a<=b.innerWidth&&(e=o)}return e||"max"}}var pe={setBreakpoint:he,getBreakpoint:fe};function me(){var t=this,e=t.classNames,n=t.params,i=t.rtl,r=t.$el,o=[];o.push("initialized"),o.push(n.direction),n.freeMode&&o.push("free-mode"),n.autoHeight&&o.push("autoheight"),i&&o.push("rtl"),n.slidesPerColumn>1&&(o.push("multirow"),"column"===n.slidesPerColumnFill&&o.push("multirow-column")),te.android&&o.push("android"),te.ios&&o.push("ios"),n.cssMode&&o.push("css-mode"),o.forEach((function(t){e.push(n.containerModifierClass+t)})),r.addClass(e.join(" "))}function ge(){var t=this,e=t.$el,n=t.classNames;e.removeClass(n.join(" "))}var ve={addClasses:me,removeClasses:ge};function _e(t,e,n,i,r,o){var a;function s(){o&&o()}var c=x(t).parent("picture")[0];c||t.complete&&r?s():e?(a=new b.Image,a.onload=s,a.onerror=s,i&&(a.sizes=i),n&&(a.srcset=n),e&&(a.src=e)):s()}function ye(){var t=this;function e(){"undefined"!==typeof t&&null!==t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var n=0;n<t.imagesToLoad.length;n+=1){var i=t.imagesToLoad[n];t.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,e)}}var be={loadImage:_e,preloadImages:ye};function we(){var t=this,e=t.params,n=t.isLocked,i=t.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(t.slides.length-1)+t.slides[0].offsetWidth*t.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?t.isLocked=i<=t.size:t.isLocked=1===t.snapGrid.length,t.allowSlideNext=!t.isLocked,t.allowSlidePrev=!t.isLocked,n!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock"),n&&n!==t.isLocked&&(t.isEnd=!1,t.navigation&&t.navigation.update())}var ke={checkOverflow:we},xe={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},Te={update:kt,translate:Et,transition:Pt,slide:Bt,loop:Ut,grabCursor:Xt,manipulation:Qt,events:de,breakpoints:pe,checkOverflow:ke,classes:ve,images:be},Me={},Se=function(t){c(n,t);var e=d(n);function n(){var t,i,r;Object(f["a"])(this,n);for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];
3521===c.length&&c[0].constructor&&c[0].constructor===Object?r=c[0]:(i=c[0],r=c[1]),r||(r={}),r=ut.extend({},r),i&&!r.el&&(r.el=i),t=e.call(this,r),Object.keys(Te).forEach((function(t){Object.keys(Te[t]).forEach((function(e){n.prototype[e]||(n.prototype[e]=Te[t][e])}))}));var u=o(t);"undefined"===typeof u.modules&&(u.modules={}),Object.keys(u.modules).forEach((function(t){var e=u.modules[t];if(e.params){var n=Object.keys(e.params)[0],i=e.params[n];if("object"!==Object(m["a"])(i)||null===i)return;if(!(n in r)||!("enabled"in i))return;!0===r[n]&&(r[n]={enabled:!0}),"object"!==Object(m["a"])(r[n])||"enabled"in r[n]||(r[n].enabled=!0),r[n]||(r[n]={enabled:!1})}}));var d=ut.extend({},xe);u.useModulesParams(d),u.params=ut.extend({},d,Me,r),u.originalParams=ut.extend({},u.params),u.passedParams=ut.extend({},r),u.$=x;var h,p=x(u.params.el);if(i=p[0],!i)return a(t,void 0);if(p.length>1){var g=[];return p.each((function(t,e){var i=ut.extend({},r,{el:e});g.push(new n(i))})),a(t,g)}return i.swiper=u,p.data("swiper",u),i&&i.shadowRoot&&i.shadowRoot.querySelector?(h=x(i.shadowRoot.querySelector(".".concat(u.params.wrapperClass))),h.children=function(t){return p.children(t)}):h=p.children(".".concat(u.params.wrapperClass)),ut.extend(u,{$el:p,el:i,$wrapperEl:h,wrapperEl:h[0],classNames:[],slides:x(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===u.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===h.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEvents:function(){var t=["touchstart","touchmove","touchend","touchcancel"],e=["mousedown","mousemove","mouseup"];return dt.pointerEvents&&(e=["pointerdown","pointermove","pointerup"]),u.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},u.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},dt.touch||!u.params.simulateTouch?u.touchEventsTouch:u.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:ut.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.useModules(),u.params.init&&u.init(),a(t,u)}return Object(p["a"])(n,[{key:"slidesPerViewDynamic",value:function(){var t=this,e=t.params,n=t.slides,i=t.slidesGrid,r=t.size,o=t.activeIndex,a=1;if(e.centeredSlides){for(var s,c=n[o].swiperSlideSize,l=o+1;l<n.length;l+=1)n[l]&&!s&&(c+=n[l].swiperSlideSize,a+=1,c>r&&(s=!0));for(var u=o-1;u>=0;u-=1)n[u]&&!s&&(c+=n[u].swiperSlideSize,a+=1,c>r&&(s=!0))}else for(var d=o+1;d<n.length;d+=1)i[d]-i[o]<r&&(a+=1);return a}},{key:"update",value:function(){var t=this;if(t&&!t.destroyed){var e,n=t.snapGrid,i=t.params;i.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(r(),t.params.autoHeight&&t.updateAutoHeight()):(e=("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),e||r()),i.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function r(){var e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}}},{key:"changeDirection",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(i)).addClass("".concat(n.params.containerModifierClass).concat(t)),n.params.direction=t,n.slides.each((function(e,n){"vertical"===t?n.style.width="":n.style.height=""})),n.emit("changeDirection"),e&&n.update()),n}},{key:"init",value:function(){var t=this;t.initialized||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.setGrabCursor(
352),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit),t.attachEvents(),t.initialized=!0,t.emit("init"))}},{key:"destroy",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params,r=n.$el,o=n.$wrapperEl,a=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(t){n.off(t)})),!1!==t&&(n.$el[0].swiper=null,n.$el.data("swiper",null),ut.deleteProps(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(t){ut.extend(Me,t)}},{key:"extendedDefaults",get:function(){return Me}},{key:"defaults",get:function(){return xe}},{key:"Class",get:function(){return ht}},{key:"$",get:function(){return x}}]),n}(ht),Ce={name:"device",proto:{device:te},static:{device:te}},Ee={name:"support",proto:{support:dt},static:{support:dt}},Le=function(){function t(){var t=b.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isEdge:!!b.navigator.userAgent.match(/Edge/g),isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(b.navigator.userAgent)}}(),Ae={name:"browser",proto:{browser:Le},static:{browser:Le}},Oe={name:"resize",create:function(){var t=this;ut.extend(t,{resize:{resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(){var t=this;b.addEventListener("resize",t.resize.resizeHandler),b.addEventListener("orientationchange",t.resize.orientationChangeHandler)},destroy:function(){var t=this;b.removeEventListener("resize",t.resize.resizeHandler),b.removeEventListener("orientationchange",t.resize.orientationChangeHandler)}}},Pe={func:b.MutationObserver||b.WebkitMutationObserver,attach:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,i=Pe.func,r=new i((function(t){if(1!==t.length){var e=function(){n.emit("observerUpdate",t[0])};b.requestAnimationFrame?b.requestAnimationFrame(e):b.setTimeout(e,0)}else n.emit("observerUpdate",t[0])}));r.observe(t,{attributes:"undefined"===typeof e.attributes||e.attributes,childList:"undefined"===typeof e.childList||e.childList,characterData:"undefined"===typeof e.characterData||e.characterData}),n.observer.observers.push(r)},init:function(){var t=this;if(dt.observer&&t.params.observer){if(t.params.observeParents)for(var e=t.$el.parents(),n=0;n<e.length;n+=1)t.observer.attach(e[n]);t.observer.attach(t.$el[0],{childList:t.params.observeSlideChildren}),t.observer.attach(t.$wrapperEl[0],{attributes:!1})}},destroy:function(){var t=this;t.observer.observers.forEach((function(t){t.disconnect()})),t.observer.observers=[]}},De={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var t=this;ut.extend(t,{observer:{init:Pe.init.bind(t),attach:Pe.attach.bind(t),destroy:Pe.destroy.bind(t),observers:[]}})},on:{init:function(){var t=this;t.observer.init()},destroy:function(){var t=this;t.observer.destroy()}}},je={update:function(t){var e=this,n=e.params,i=n.slidesPerView,r=n.slidesPerGroup,o=n.centeredSlides,a=e.params.virtual,s=a.addSlidesBefore,c=a.addSlidesAfter,l=e.virtual,u=l.from,d=l.to,h=l.slides,f=l.slidesGrid,p=l.renderSlide,m=l.offset;e.updateActiveIndex();var g,v,_,y=e.activeIndex||0;g=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",o?(v=Math.floor(i/2)+r+s,_=Math.floor(i/2)+r+c):(v=i+(r-1)+s,_=r+c);var b=Math.max((y||0)-_,0),w=Math.min((y||0)+v,h.length-1),k=(e.slidesGrid[b]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(ut.extend(e.virtual,{from:b,to:w,offset:k,slidesGrid:e.slidesGrid}),u===b&&d===w&&!t)return e.slidesGrid!==f&&k!==m&&e.slides.css(g,"".concat(k,"px")),void e.updateProgress();if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:k,from:b,to:w,slides:function(){for(var t=[],e=b;e<=w;e+=1)t.push(h[e]);return t}()}),void x();var T=[],M=[];if(t)e.$wrapperEl.find(".".concat(e.params.slideClass)).remove();else for(var S=u;S<=d;S+=1)(S<b||S>w)&&e.$wrapperEl.find(".".concat(e.params.slideClass,'[data-swiper-slide-index="').concat(S,'"]')).remove();for(var C=0;C<h.length;C+=1)C>=b&&C<=w&&("undefined"===typeof d||t?M.push(C):(C>d&&M.push(C),C<u&&T.push(C)));M.forEach((function(t){e.$wrapperEl.append(p(h[t],t))})),T.sort((function(t,e){return e-t}
vendor: 7,664 bytes, line 352
352)).forEach((function(t){e.$wrapperEl.prepend(p(h[t],t))})),e.$wrapperEl.children(".swiper-slide").css(g,"".concat(k,"px")),x()},renderSlide:function(t,e){var n=this,i=n.params.virtual;if(i.cache&&n.virtual.cache[e])return n.virtual.cache[e];var r=i.renderSlide?x(i.renderSlide.call(n,t,e)):x('<div class="'.concat(n.params.slideClass,'" data-swiper-slide-index="').concat(e,'">').concat(t,"</div>"));return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",e),i.cache&&(n.virtual.cache[e]=r),r},appendSlide:function(t){var e=this;if("object"===Object(m["a"])(t)&&"length"in t)for(var n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.push(t[n]);else e.virtual.slides.push(t);e.virtual.update(!0)},prependSlide:function(t){var e=this,n=e.activeIndex,i=n+1,r=1;if(Array.isArray(t)){for(var o=0;o<t.length;o+=1)t[o]&&e.virtual.slides.unshift(t[o]);i=n+t.length,r=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){var a=e.virtual.cache,s={};Object.keys(a).forEach((function(t){var e=a[t],n=e.attr("data-swiper-slide-index");n&&e.attr("data-swiper-slide-index",parseInt(n,10)+1),s[parseInt(t,10)+r]=e})),e.virtual.cache=s}e.virtual.update(!0),e.slideTo(i,0)},removeSlide:function(t){var e=this;if("undefined"!==typeof t&&null!==t){var n=e.activeIndex;if(Array.isArray(t))for(var i=t.length-1;i>=0;i-=1)e.virtual.slides.splice(t[i],1),e.params.virtual.cache&&delete e.virtual.cache[t[i]],t[i]<n&&(n-=1),n=Math.max(n,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<n&&(n-=1),n=Math.max(n,0);e.virtual.update(!0),e.slideTo(n,0)}},removeAllSlides:function(){var t=this;t.virtual.slides=[],t.params.virtual.cache&&(t.virtual.cache={}),t.virtual.update(!0),t.slideTo(0,0)}},Ie={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var t=this;ut.extend(t,{virtual:{update:je.update.bind(t),appendSlide:je.appendSlide.bind(t),prependSlide:je.prependSlide.bind(t),removeSlide:je.removeSlide.bind(t),removeAllSlides:je.removeAllSlides.bind(t),renderSlide:je.renderSlide.bind(t),slides:t.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var t=this;if(t.params.virtual.enabled){t.classNames.push("".concat(t.params.containerModifierClass,"virtual"));var e={watchSlidesProgress:!0};ut.extend(t.params,e),ut.extend(t.originalParams,e),t.params.initialSlide||t.virtual.update()}},setTranslate:function(){var t=this;t.params.virtual.enabled&&t.virtual.update()}}},Re={handle:function(t){var e=this,n=e.rtlTranslate,i=t;i.originalEvent&&(i=i.originalEvent);var r=i.keyCode||i.charCode,o=e.params.keyboard.pageUpDown,a=o&&33===r,s=o&&34===r,c=37===r,l=39===r,u=38===r,d=40===r;if(!e.allowSlideNext&&(e.isHorizontal()&&l||e.isVertical()&&d||s))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&c||e.isVertical()&&u||a))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey)&&(!_.activeElement||!_.activeElement.nodeName||"input"!==_.activeElement.nodeName.toLowerCase()&&"textarea"!==_.activeElement.nodeName.toLowerCase())){if(e.params.keyboard.onlyInViewport&&(a||s||c||l||u||d)){var h=!1;if(e.$el.parents(".".concat(e.params.slideClass)).length>0&&0===e.$el.parents(".".concat(e.params.slideActiveClass)).length)return;var f=b.innerWidth,p=b.innerHeight,m=e.$el.offset();n&&(m.left-=e.$el[0].scrollLeft);for(var g=[[m.left,m.top],[m.left+e.width,m.top],[m.left,m.top+e.height],[m.left+e.width,m.top+e.height]],v=0;v<g.length;v+=1){var y=g[v];y[0]>=0&&y[0]<=f&&y[1]>=0&&y[1]<=p&&(h=!0)}if(!h)return}e.isHorizontal()?((a||s||c||l)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((s||l)&&!n||(a||c)&&n)&&e.slideNext(),((a||c)&&!n||(s||l)&&n)&&e.slidePrev()):((a||s||u||d)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(s||d)&&e.slideNext(),(a||u)&&e.slidePrev()),e.emit("keyPress",r)}},enable:function(){var t=this;t.keyboard.enabled||(x(_).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(x(_).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},Ne={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){var t=this;ut.extend(t,{keyboard:{enabled:!1,enable:Re.enable.bind(t),disable:Re.disable.bind(t),handle:Re.handle.bind(t)}})},on:{init:function(){var t=this;t.params.keyboard.enabled&&t.keyboard.enable()},destroy:function(){var t=this;t.keyboard.enabled&&t.keyboard.disable()}}};function Ye(){var t="onwheel",e=t in _;if(!e){var n=_.createElement("div");n.setAttribute(t,"return;"),e="function"===typeof n[t]}return!e&&_.implementation&&_.implementation.hasFeature&&!0!==_.implementation.hasFeature("","")&&(e=_.implementation.hasFeature("Events.wheel","3.0")),e}var ze={lastScrollTime:ut.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return b.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Ye()?"wheel":"mousewheel"},normalize:function(t){var e=10,n=40,i=800,r=0,o=0,a=0,s=0;return"detail"in t&&(o=t.detail),"wheelDelta"in t&&(o=-t.wheelDelta/120),"wheelDeltaY"in t&&(o=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(r=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=o,o=0),a=r*e,s=o*e,"deltaY"in t&&(s=t.deltaY),"deltaX"in t&&(a=t.deltaX),t.shiftKey&&!a&&(a=s,s=0),(a||s)&&t.deltaMode&&(1===t.deltaMode?(a*=n,s*=n):(a*=i,s*=i)),a&&!r&&(r=a<1?-1:1),s&&!o&&(o=s<1?-1:1),{spinX:r,spinY:o,pixelX:a,pixelY:s}},handleMouseEnter:function(){var t=this;t.mouseEntered=!0},handleMouseLeave:function(){var t=this;t.mouseEntered=!1},handle:function(t){var e=t,n=this,i=n.params.mousewheel;n.params.cssMode&&e.preventDefault();var r=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(r=x(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!r[0].contains(e.target)&&!i.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);var o=0,a=n.rtlTranslate?-1:1,s=ze.normalize(e);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=-s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=-s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(i.invert&&(o=-o),n.params.freeMode){var c={time:ut.now(),delta:Math.abs(o),direction:Math.sign(o)},l=n.mousewheel.lastEventBeforeSnap,u=l&&c.time<l.time+500&&c.delta<=l.delta&&c.direction===l.direction;if(!u){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var d=n.getTranslate()+o*i.sensitivity,h=n.isBeginning,f=n.isEnd;if(d>=n.minTranslate()&&(d=n.minTranslate()),d<=n.maxTranslate()&&(d=n.maxTranslate()),n.setTransition(0),n.setTranslate(d),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!h&&n.isBeginning||!f&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var p=n.mousewheel.recentWheelEvents;p.length>=15&&p.shift();var m=p.length?p[p.length-1]:void 0,g=p[0];if(p.push(c),m&&(c.delta>m.delta||c.direction!==m.direction))p.splice(0);else if(p.length>=15&&c.time-g.time<500&&g.delta-c.delta>=1&&c.delta<=6){var v=o>0?.8:.2;n.mousewheel.lastEventBeforeSnap=c,p.splice(0),n.mousewheel.timeout=ut.nextTick((function(){n.slideToClosest(n.params.speed,!0,void 0,v)}),0)}n.mousewheel.timeout||(n.mousewheel.timeout=ut.nextTick((function(){var t=.5;n.mousewheel.lastEventBeforeSnap=c,p.splice(0),n.slideToClosest(n.params.speed,!0,void 0,t)}),500))}if(u||n.emit("scroll",e),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),d===n.minTranslate()||d===n.maxTranslate())return!0}}else{var _={time:ut.now(),delta:Math.abs(o),direction:Math.sign(o),raw:t}
352,y=n.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var b=y.length?y[y.length-1]:void 0;if(y.push(_),b?(_.direction!==b.direction||_.delta>b.delta||_.time>b.time+150)&&n.mousewheel.animateSlider(_):n.mousewheel.animateSlider(_),n.mousewheel.releaseScroll(_))return!0}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1},animateSlider:function(t){var e=this;return t.delta>=6&&ut.now()-e.mousewheel.lastScrollTime<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),e.emit("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),e.emit("scroll",t.raw)),e.mousewheel.lastScrollTime=(new b.Date).getTime(),!1)},releaseScroll:function(t){var e=this,n=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1},enable:function(){var t=this,e=ze.event();if(t.params.cssMode)return t.wrapperEl.removeEventListener(e,t.mousewheel.handle),!0;if(!e)return!1;if(t.mousewheel.enabled)return!1;var n=t.$el;return"container"!==t.params.mousewheel.eventsTarged&&(n=x(t.params.mousewheel.eventsTarged)),n.on("mouseenter",t.mousewheel.handleMouseEnter),n.on("mouseleave",t.mousewheel.handleMouseLeave),n.on(e,t.mousewheel.handle),t.mousewheel.enabled=!0,!0},disable:function(){var t=this,e=ze.event();if(t.params.cssMode)return t.wrapperEl.addEventListener(e,t.mousewheel.handle),!0;if(!e)return!1;if(!t.mousewheel.enabled)return!1;var n=t.$el;return"container"!==t.params.mousewheel.eventsTarged&&(n=x(t.params.mousewheel.eventsTarged)),n.off(e,t.mousewheel.handle),t.mousewheel.enabled=!1,!0}},Be={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var t=this;ut.extend(t,{mousewheel:{enabled:!1,enable:ze.enable.bind(t),disable:ze.disable.bind(t),handle:ze.handle.bind(t),handleMouseEnter:ze.handleMouseEnter.bind(t),handleMouseLeave:ze.handleMouseLeave.bind(t),animateSlider:ze.animateSlider.bind(t),releaseScroll:ze.releaseScroll.bind(t),lastScrollTime:ut.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){var t=this;!t.params.mousewheel.enabled&&t.params.cssMode&&t.mousewheel.disable(),t.params.mousewheel.enabled&&t.mousewheel.enable()},destroy:function(){var t=this;t.params.cssMode&&t.mousewheel.enable(),t.mousewheel.enabled&&t.mousewheel.disable()}}},Fe={update:function(){var t=this,e=t.params.navigation;if(!t.params.loop){var n=t.navigation,i=n.$nextEl,r=n.$prevEl;r&&r.length>0&&(t.isBeginning?r.addClass(e.disabledClass):r.removeClass(e.disabledClass),r[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(t.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(t){var e=this;t.preventDefault(),e.isBeginning&&!e.params.loop||e.slidePrev()},onNextClick:function(t){var e=this;t.preventDefault(),e.isEnd&&!e.params.loop||e.slideNext()},init:function(){var t,e,n=this,i=n.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(t=x(i.nextEl),n.params.uniqueNavElements&&"string"===typeof i.nextEl&&t.length>1&&1===n.$el.find(i.nextEl).length&&(t=n.$el.find(i.nextEl))),i.prevEl&&(e=x(i.prevEl),n.params.uniqueNavElements&&"string"===typeof i.prevEl&&e.length>1&&1===n.$el.find(i.prevEl).length&&(e=n.$el.find(i.prevEl))),t&&t.length>0&&t.on("click",n.navigation.onNextClick),e&&e.length>0&&e.on("click",n.navigation.onPrevClick),ut.extend(n.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:e,prevEl:e&&e[0]}))},destroy:function(){var t=this,e=t.navigation,n=e.$nextEl,i=e.$prevEl;n&&n.length&&(n.off("click",t.navigation.onNextClick),n.removeClass(t.params.navigation.disabledClass)),i&&i.length&&(i.off("click",t.navigation.onPrevClick),i.removeClass(t.params.navigation.disabledClass))}},He={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var t=this;ut.extend(t,{navigation:{init:Fe.init.bind(t),update:Fe.update.bind(t),destroy:Fe.destroy.bind(t),onNextClick:Fe.onNextClick.bind(t),onPrevClick:Fe.onPrevClick.bind(t)}})},on:{init:function(){var t=this;t.navigation.init(),t.navigation.update()},toEdge:function(){var t=this;t.navigation.update()},fromEdge:function(){var t=this;t.navigation.update()},destroy:function(){var t=this;t.navigation.destroy()},click:function(t){var e,n=this,i=n.navigation,r=i.$nextEl,o=i.$prevEl;!n.params.navigation.hideOnClick||x(t.target).is(o)||x(t.target).is(r)||(r?e=r.hasClass(n.params.navigation.hiddenClass):o&&(e=o.hasClass(n.params.navigation.hiddenClass)),!0===e?n.emit("navigationShow",n):n.emit("navigationHide",n),r&&r.toggleClass(n.params.navigation.hiddenClass),o&&o.toggleClass(n.params.navigation.hiddenClass))}}},Ve={update:function(){var t=this,e=t.rtl,n=t.params.pagination;if(n.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var i,r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,o=t.pagination.$el,a=t.params.loop?Math.
352ceil((r-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(i=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),i>r-1-2*t.loopedSlides&&(i-=r-2*t.loopedSlides),i>a-1&&(i-=a),i<0&&"bullets"!==t.params.paginationType&&(i=a+i)):i="undefined"!==typeof t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){var s,c,l,u=t.pagination.bullets;if(n.dynamicBullets&&(t.pagination.bulletSize=u.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(t.isHorizontal()?"width":"height","".concat(t.pagination.bulletSize*(n.dynamicMainBullets+4),"px")),n.dynamicMainBullets>1&&void 0!==t.previousIndex&&(t.pagination.dynamicBulletIndex+=i-t.previousIndex,t.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?t.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:t.pagination.dynamicBulletIndex<0&&(t.pagination.dynamicBulletIndex=0)),s=i-t.pagination.dynamicBulletIndex,c=s+(Math.min(u.length,n.dynamicMainBullets)-1),l=(c+s)/2),u.removeClass("".concat(n.bulletActiveClass," ").concat(n.bulletActiveClass,"-next ").concat(n.bulletActiveClass,"-next-next ").concat(n.bulletActiveClass,"-prev ").concat(n.bulletActiveClass,"-prev-prev ").concat(n.bulletActiveClass,"-main")),o.length>1)u.each((function(t,e){var r=x(e),o=r.index();o===i&&r.addClass(n.bulletActiveClass),n.dynamicBullets&&(o>=s&&o<=c&&r.addClass("".concat(n.bulletActiveClass,"-main")),o===s&&r.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),o===c&&r.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next")))}));else{var d=u.eq(i),h=d.index();if(d.addClass(n.bulletActiveClass),n.dynamicBullets){for(var f=u.eq(s),p=u.eq(c),m=s;m<=c;m+=1)u.eq(m).addClass("".concat(n.bulletActiveClass,"-main"));if(t.params.loop)if(h>=u.length-n.dynamicMainBullets){for(var g=n.dynamicMainBullets;g>=0;g-=1)u.eq(u.length-g).addClass("".concat(n.bulletActiveClass,"-main"));u.eq(u.length-n.dynamicMainBullets-1).addClass("".concat(n.bulletActiveClass,"-prev"))}else f.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),p.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next"));else f.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),p.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next"))}}if(n.dynamicBullets){var v=Math.min(u.length,n.dynamicMainBullets+4),_=(t.pagination.bulletSize*v-t.pagination.bulletSize)/2-l*t.pagination.bulletSize,y=e?"right":"left";u.css(t.isHorizontal()?y:"top","".concat(_,"px"))}}if("fraction"===n.type&&(o.find(".".concat(n.currentClass)).text(n.formatFractionCurrent(i+1)),o.find(".".concat(n.totalClass)).text(n.formatFractionTotal(a))),"progressbar"===n.type){var b;b=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";var w=(i+1)/a,k=1,T=1;"horizontal"===b?k=w:T=w,o.find(".".concat(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(k,") scaleY(").concat(T,")")).transition(t.params.speed)}"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(t,i+1,a)),t.emit("paginationRender",t,o[0])):t.emit("paginationUpdate",t,o[0]),o[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var t=this,e=t.params.pagination;if(e.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,i=t.pagination.$el,r="";if("bullets"===e.type){for(var o=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length,a=0;a<o;a+=1)e.renderBullet?r+=e.renderBullet.call(t,a,e.bulletClass):r+="<".concat(e.bulletElement,' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">");i.html(r),t.pagination.bullets=i.find(".".concat(e.bulletClass))}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>'),i.html(r)),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>'),i.html(r)),"custom"!==e.type&&t.emit("paginationRender",t.pagination.$el[0])}},init:function(){var t=this,e=t.params.pagination;if(e.el){var n=x(e.el);0!==n.length&&(t.params.uniqueNavElements&&"string"===typeof e.el&&n.length>1&&(n=t.$el.find(e.el)),"bullets"===e.type&&e.clickable&&n.addClass(e.clickableClass),n.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(n.addClass("".concat(e.modifierClass).concat(e.type,"-dynamic")),t.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.addClass(e.progressbarOppositeClass),e.clickable&&n.on("click",".".concat(e.bulletClass),(function(e){e.preventDefault();var n=x(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)})),ut.extend(t.pagination,{$el:n,el:n[0]}))}},destroy:function(){var t=this,e=t.params.pagination;if(e.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var n=t.pagination.$el;n.removeClass(e.hiddenClass),n.removeClass(e.modifierClass+e.type),t.pagination.bullets&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&n.off("click",".".concat(e.bulletClass))}}},Ue={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(t){return t},formatFractionTotal:function(t){return t},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var t=this;ut.extend(t,{pagination:{init:Ve.init.bind(t),render:Ve.render.bind(t),update:Ve.update.bind(t),destroy:Ve.destroy.bind(t),dynamicBulletIndex:0}})},on:{init:function(){var t=this;t.pagination.init(),t.pagination.render(),t.pagination.update()},activeIndexChange:function(){var t=this;(t.params.loop||"undefined"===typeof t.snapIndex)&&t.pagination.update()},snapIndexChange:function(){var t=this;t.params.loop||t.pagination.update()},slidesLengthChange:function(){var t=this;t.params.loop&&(t.pagination.render(),t.pagination.update())},snapGridLengthChange:function(){var t=this;t.params.loop||(t.pagination.render(),t.pagination.update())},destroy:function(){var t=this;t.pagination.destroy()},click:function(t){var e=this;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!x(t.target).hasClass(e.params.pagination.bulletClass)){var n=e.pagination.$el.hasClass(e.params.pagination.hiddenClass);!0===n?e.emit("paginationShow",e):e.emit("paginationHide",e),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}},We={setTranslate:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var e=t.scrollbar,n=t.rtlTranslate,i=t.progress,r=e.dragSize,o=e.trackSize,a=e.$dragEl,s=e.$el,c=t.params.scrollbar,l=r,u=(o-r)*i;n?(u=-u,u>0?(l=r-u,u=0):-u+r>o&&(l=o+u)):u<0?(l=r+u,u=0):u+r>o&&(l=o-u),t.isHorizontal()?(a.transform("translate3d(".concat(u,"px, 0, 0)")),a[0].style.width="".concat(l,"px")):(a.transform("translate3d(0px, ".concat(u,"px, 0)")),a[0].style.height="".concat(l,"px")),c.hide&&(clearTimeout(t.scrollbar.timeout),s[0].style.opacity=1,t.scrollbar.timeout=setTimeout((function(){s[
vendor: 13,799 bytes, line 352
3520].style.opacity=0,s.transition(400)}),1e3))}},setTransition:function(t){var e=this;e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)},updateSize:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var e=t.scrollbar,n=e.$dragEl,i=e.$el;n[0].style.width="",n[0].style.height="";var r,o=t.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,a=t.size/t.virtualSize,s=a*(o/t.size);r="auto"===t.params.scrollbar.dragSize?o*a:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n[0].style.width="".concat(r,"px"):n[0].style.height="".concat(r,"px"),i[0].style.display=a>=1?"none":"",t.params.scrollbar.hide&&(i[0].style.opacity=0),ut.extend(e,{trackSize:o,divider:a,moveDivider:s,dragSize:r}),e.$el[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}},getPointerPosition:function(t){var e=this;return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY},setDragPosition:function(t){var e,n=this,i=n.scrollbar,r=n.rtlTranslate,o=i.$el,a=i.dragSize,s=i.trackSize,c=i.dragStartPos;e=(i.getPointerPosition(t)-o.offset()[n.isHorizontal()?"left":"top"]-(null!==c?c:a/2))/(s-a),e=Math.max(Math.min(e,1),0),r&&(e=1-e);var l=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*e;n.updateProgress(l),n.setTranslate(l),n.updateActiveIndex(),n.updateSlidesClasses()},onDragStart:function(t){var e=this,n=e.params.scrollbar,i=e.scrollbar,r=e.$wrapperEl,o=i.$el,a=i.$dragEl;e.scrollbar.isTouched=!0,e.scrollbar.dragStartPos=t.target===a[0]||t.target===a?i.getPointerPosition(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),r.transition(100),a.transition(100),i.setDragPosition(t),clearTimeout(e.scrollbar.dragTimeout),o.transition(0),n.hide&&o.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),e.emit("scrollbarDragStart",t)},onDragMove:function(t){var e=this,n=e.scrollbar,i=e.$wrapperEl,r=n.$el,o=n.$dragEl;e.scrollbar.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,n.setDragPosition(t),i.transition(0),r.transition(0),o.transition(0),e.emit("scrollbarDragMove",t))},onDragEnd:function(t){var e=this,n=e.params.scrollbar,i=e.scrollbar,r=e.$wrapperEl,o=i.$el;e.scrollbar.isTouched&&(e.scrollbar.isTouched=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),r.transition("")),n.hide&&(clearTimeout(e.scrollbar.dragTimeout),e.scrollbar.dragTimeout=ut.nextTick((function(){o.css("opacity",0),o.transition(400)}),1e3)),e.emit("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var e=t.scrollbar,n=t.touchEventsTouch,i=t.touchEventsDesktop,r=t.params,o=e.$el,a=o[0],s=!(!dt.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},c=!(!dt.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};dt.touch?(a.addEventListener(n.start,t.scrollbar.onDragStart,s),a.addEventListener(n.move,t.scrollbar.onDragMove,s),a.addEventListener(n.end,t.scrollbar.onDragEnd,c)):(a.addEventListener(i.start,t.scrollbar.onDragStart,s),_.addEventListener(i.move,t.scrollbar.onDragMove,s),_.addEventListener(i.end,t.scrollbar.onDragEnd,c))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var e=t.scrollbar,n=t.touchEventsTouch,i=t.touchEventsDesktop,r=t.params,o=e.$el,a=o[0],s=!(!dt.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},c=!(!dt.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};dt.touch?(a.removeEventListener(n.start,t.scrollbar.onDragStart,s),a.removeEventListener(n.move,t.scrollbar.onDragMove,s),a.removeEventListener(n.end,t.scrollbar.onDragEnd,c)):(a.removeEventListener(i.start,t.scrollbar.onDragStart,s),_.removeEventListener(i.move,t.scrollbar.onDragMove,s),_.removeEventListener(i.end,t.scrollbar.onDragEnd,c))}},init:function(){var t=this;if(t.params.scrollbar.el){var e=t.scrollbar,n=t.$el,i=t.params.scrollbar,r=x(i.el);t.params.uniqueNavElements&&"string"===typeof i.el&&r.length>1&&1===n.find(i.el).length&&(r=n.find(i.el));var o=r.find(".".concat(t.params.scrollbar.dragClass));0===o.length&&(o=x('<div class="'.concat(t.params.scrollbar.dragClass,'"></div>')),r.append(o)),ut.extend(e,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){var t=this;t.scrollbar.disableDraggable()}},$e={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var t=this;ut.extend(t,{scrollbar:{init:We.init.bind(t),destroy:We.destroy.bind(t),updateSize:We.updateSize.bind(t),setTranslate:We.setTranslate.bind(t),setTransition:We.setTransition.bind(t),enableDraggable:We.enableDraggable.bind(t),disableDraggable:We.disableDraggable.bind(t),setDragPosition:We.setDragPosition.bind(t),getPointerPosition:We.getPointerPosition.bind(t),onDragStart:We.onDragStart.bind(t),onDragMove:We.onDragMove.bind(t),onDragEnd:We.onDragEnd.bind(t),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var t=this;t.scrollbar.init(),t.scrollbar.updateSize(),t.scrollbar.setTranslate()},update:function(){var t=this;t.scrollbar.updateSize()},resize:function(){var t=this;t.scrollbar.updateSize()},observerUpdate:function(){var t=this;t.scrollbar.updateSize()},setTranslate:function(){var t=this;t.scrollbar.setTranslate()},setTransition:function(t){var e=this;e.scrollbar.setTransition(t)},destroy:function(){var t=this;t.scrollbar.destroy()}}},Xe={setTransform:function(t,e){var n=this,i=n.rtl,r=x(t),o=i?-1:1,a=r.attr("data-swiper-parallax")||"0",s=r.attr("data-swiper-parallax-x"),c=r.attr("data-swiper-parallax-y"),l=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(s||c?(s=s||"0",c=c||"0"):n.isHorizontal()?(s=a,c="0"):(c=a,s="0"),s=s.indexOf("%")>=0?"".concat(parseInt(s,10)*e*o,"%"):"".concat(s*e*o,"px"),c=c.indexOf("%")>=0?"".concat(parseInt(c,10)*e,"%"):"".concat(c*e,"px"),"undefined"!==typeof u&&null!==u){var d=u-(u-1)*(1-Math.abs(e));r[0].style.opacity=d}if("undefined"===typeof l||null===l)r.transform("translate3d(".concat(s,", ").concat(c,", 0px)"));else{var h=l-(l-1)*(1-Math.abs(e));r.transform("translate3d(".concat(s,", ").concat(c,", 0px) scale(").concat(h,")"))}},setTranslate:function(){var t=this,e=t.$el,n=t.slides,i=t.progress,r=t.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,n){t.parallax.setTransform(n,i)})),n.each((function(e,n){var o=n.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(o+=Math.ceil(e/2)-i*(r.length-1)),o=Math.min(Math.max(o,-1),1),x(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,n){t.parallax.setTransform(n,o)}))}))},setTransition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=this,n=e.$el;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,n){var i=x(n),r=parseInt(i.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),i.transition(r)}))}},qe={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var t=this;ut.extend(t,{parallax:{setTransform:Xe.setTransform.bind(t),setTranslate:Xe.setTranslate.bind(t),setTransition:Xe.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this;t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},init:function(){var t=this;t.params.parallax.enabled&&t.parallax.setTranslate()},setTranslate:function(){var t=this;t.params.parallax.enabled&&t.parallax.setTranslate()},setTransition:function(t){var e=this;e.params.parallax.enabled&&e.parallax.setTransition(t)}}},Ge={getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,i=t.targetTouches[1].pageX,r=t.targetTouches[1].pageY,o=Math.sqrt(Math.pow(i-e,2)+Math.pow(r-n,2));return o},onGestureStart:function(t){var e=this,n=e.params.zoom,i=e.zoom,r=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!dt.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;i.fakeGestureTouched=!0,r.scaleStart=Ge.getDistanceBetweenTouches(t)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=x(t.target).closest(".".concat(e.params.slideClass)),0===r.$slideEl.length&&(r.$slideEl=e.slides.eq(e.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent(".".concat(n.containerClass)),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),e.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(t){var e=this,n=e.params.zoom,i=e.zoom,r=i.gesture;if(!dt.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;i.fakeGestureMoved=!0,r.scaleMove=Ge.getDistanceBetweenTouches(t)}r.$imageEl&&0!==r.$imageEl.length&&(dt.gestures?i.scale=t.scale*i.currentScale:i.scale=r.scaleMove/r.scaleStart*i.currentScale,i.scale>r.maxRatio&&(i.scale=r.maxRatio-1+Math.pow(i.scale-r.maxRatio+1,.5)),i.scale<n.minRatio&&(i.scale=n.minRatio+1-Math.pow(n.minRatio-i.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale(".concat(i.scale,")")))},onGestureEnd:function(t){var e=this,n=e.params.zoom,i=e.zoom,r=i.gesture;if(!dt.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!te.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}r.$imageEl&&0!==r.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,r.maxRatio),n.minRatio),r.$imageEl.transition(e.params.speed).transform("translate3d(0,0,0) scale(".concat(i.scale,")")),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(r.$slideEl=void 0))},onTouchStart:function(t){var e=this,n=e.zoom,i=n.gesture,r=n.image;i.$imageEl&&0!==i.$imageEl.length&&(r.isTouched||(te.android&&t.cancelable&&t.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,r.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(t){var e=this,n=e.zoom,i=n.gesture,r=n.image,o=n.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(e.allowClick=!1,r.isTouched&&i.$slideEl)){r.isMoved||(r.width=i.$imageEl[0].offsetWidth,r.height=i.$imageEl[0].offsetHeight,r.startX=ut.getTranslate(i.$imageWrapEl[0],"x")||0,r.startY=ut.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),e.rtl&&(r.startX=-r.startX,r.startY=-r.startY));var a=r.width*n.scale,s=r.height*n.scale;if(!(a<i.slideWidth&&s<i.slideHeight)){if(r.minX=Math.min(i.slideWidth/2-a/2,0),r.maxX=-r.minX,r.minY=Math.min(i.slideHeight/2-s/2,0),r.maxY=-r.minY,r.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,r.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!r.isMoved&&!n.isScaling){if(e.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-Math.pow(r.minX-r.currentX+1,.8)),r.currentX>r.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentY<r.minY&&(r.currentY=r.minY+1-Math.pow(r.minY-r.currentY+1,.8)),r.currentY>r.maxY&&(r.currentY=r.maxY-1+Math.pow(r.currentY-r.maxY+1,.8)),o.prevPositionX||(o.prevPositionX=r.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=r.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(r.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(r.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(r.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(r.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=r.touchesCurrent.x,o.prevPositionY=r.touchesCurrent.y,o.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d(".concat(r.currentX,"px, ").concat(r.currentY,"px,0)"))}}},onTouchEnd:function(){var t=this,e=t.zoom,n=e.gesture,i=e.image,r=e.velocity;if(n.$imageEl&&0!==n.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var o=300,a=300,s=r.x*o,c=i.currentX+s,l=r.y*a,u=i.currentY+l;0!==r.x&&(o=Math.abs((c-i.currentX)/r.x)),0!==r.y&&(a=Math.abs((u-i.currentY)/r.y));var d=Math.max(o,a);i.currentX=c,i.currentY=u;var h=i.width*e.scale,f=i.height*e.scale;i.minX=Math.min(n.slideWidth/2-h/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-f/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),n.$imageWrapEl.transition(d).transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}},onTransitionEnd:function(){var t=this,e=t.zoom,n=e.gesture;n.$slideEl&&t.previousIndex!==t.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,
3520,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle:function(t){var e=this,n=e.zoom;n.scale&&1!==n.scale?n.out():n.in(t)},in:function(t){var e,n,i,r,o,a,s,c,l,u,d,h,f,p,m,g,v,_,y=this,b=y.zoom,w=y.params.zoom,k=b.gesture,x=b.image;(k.$slideEl||(y.params.virtual&&y.params.virtual.enabled&&y.virtual?k.$slideEl=y.$wrapperEl.children(".".concat(y.params.slideActiveClass)):k.$slideEl=y.slides.eq(y.activeIndex),k.$imageEl=k.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),k.$imageWrapEl=k.$imageEl.parent(".".concat(w.containerClass))),k.$imageEl&&0!==k.$imageEl.length)&&(k.$slideEl.addClass("".concat(w.zoomedSlideClass)),"undefined"===typeof x.touchesStart.x&&t?(e="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(e=x.touchesStart.x,n=x.touchesStart.y),b.scale=k.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=k.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,t?(v=k.$slideEl[0].offsetWidth,_=k.$slideEl[0].offsetHeight,i=k.$slideEl.offset().left,r=k.$slideEl.offset().top,o=i+v/2-e,a=r+_/2-n,l=k.$imageEl[0].offsetWidth,u=k.$imageEl[0].offsetHeight,d=l*b.scale,h=u*b.scale,f=Math.min(v/2-d/2,0),p=Math.min(_/2-h/2,0),m=-f,g=-p,s=o*b.scale,c=a*b.scale,s<f&&(s=f),s>m&&(s=m),c<p&&(c=p),c>g&&(c=g)):(s=0,c=0),k.$imageWrapEl.transition(300).transform("translate3d(".concat(s,"px, ").concat(c,"px,0)")),k.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(b.scale,")")))},out:function(){var t=this,e=t.zoom,n=t.params.zoom,i=e.gesture;i.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?i.$slideEl=t.$wrapperEl.children(".".concat(t.params.slideActiveClass)):i.$slideEl=t.slides.eq(t.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent(".".concat(n.containerClass))),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass("".concat(n.zoomedSlideClass)),i.$slideEl=void 0)},enable:function(){var t=this,e=t.zoom;if(!e.enabled){e.enabled=!0;var n=!("touchstart"!==t.touchEvents.start||!dt.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},i=!dt.passiveListener||{passive:!1,capture:!0},r=".".concat(t.params.slideClass);dt.gestures?(t.$wrapperEl.on("gesturestart",r,e.onGestureStart,n),t.$wrapperEl.on("gesturechange",r,e.onGestureChange,n),t.$wrapperEl.on("gestureend",r,e.onGestureEnd,n)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.on(t.touchEvents.start,r,e.onGestureStart,n),t.$wrapperEl.on(t.touchEvents.move,r,e.onGestureChange,i),t.$wrapperEl.on(t.touchEvents.end,r,e.onGestureEnd,n),t.touchEvents.cancel&&t.$wrapperEl.on(t.touchEvents.cancel,r,e.onGestureEnd,n)),t.$wrapperEl.on(t.touchEvents.move,".".concat(t.params.zoom.containerClass),e.onTouchMove,i)}},disable:function(){var t=this,e=t.zoom;if(e.enabled){t.zoom.enabled=!1;var n=!("touchstart"!==t.touchEvents.start||!dt.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},i=!dt.passiveListener||{passive:!1,capture:!0},r=".".concat(t.params.slideClass);dt.gestures?(t.$wrapperEl.off("gesturestart",r,e.onGestureStart,n),t.$wrapperEl.off("gesturechange",r,e.onGestureChange,n),t.$wrapperEl.off("gestureend",r,e.onGestureEnd,n)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.off(t.touchEvents.start,r,e.onGestureStart,n),t.$wrapperEl.off(t.touchEvents.move,r,e.onGestureChange,i),t.$wrapperEl.off(t.touchEvents.end,r,e.onGestureEnd,n),t.touchEvents.cancel&&t.$wrapperEl.off(t.touchEvents.cancel,r,e.onGestureEnd,n)),t.$wrapperEl.off(t.touchEvents.move,".".concat(t.params.zoom.containerClass),e.onTouchMove,i)}}},Ze={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,e={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){e[n]=Ge[n].bind(t)})),ut.extend(t,{zoom:e});var n=1;Object.defineProperty(t.zoom,"scale",{get:function(){return n},set:function(e){if(n!==e){var i=t.zoom.gesture.$imageEl?t.zoom.gesture.$imageEl[0]:void 0,r=t.zoom.gesture.$slideEl?t.zoom.gesture.$slideEl[0]:void 0;t.emit("zoomChange",e,i,r)}n=e}})},on:{init:function(){var t=this;t.params.zoom.enabled&&t.zoom.enable()},destroy:function(){var t=this;t.zoom.disable()},touchStart:function(t){var e=this;e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(t){var e=this;e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(t){var e=this;e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(){var t=this;t.zoom.enabled&&t.params.zoom.enabled&&t.zoom.onTransitionEnd()},slideChange:function(){var t=this;t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&t.zoom.onTransitionEnd()}}},Je={loadInSlide:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params.lazy;if("undefined"!==typeof t&&0!==n.slides.length){var r=n.virtual&&n.params.virtual.enabled,o=r?n.$wrapperEl.children(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(t,'"]')):n.slides.eq(t),a=o.find(".".concat(i.elementClass,":not(.").concat(i.loadedClass,"):not(.").concat(i.loadingClass,")"));!o.hasClass(i.elementClass)||o.hasClass(i.loadedClass)||o.hasClass(i.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each((function(t,r){var a=x(r);a.addClass(i.loadingClass);var s=a.attr("data-background"),c=a.attr("data-src"),l=a.attr("data-srcset"),u=a.attr("data-sizes"),d=a.parent("picture");n.loadImage(a[0],c||s,l,u,!1,(function(){if("undefined"!==typeof n&&null!==n&&n&&(!n||n.params)&&!n.destroyed){
vendor: 7,922 bytes, line 352
352if(s?(a.css("background-image",'url("'.concat(s,'")')),a.removeAttr("data-background")):(l&&(a.attr("srcset",l),a.removeAttr("data-srcset")),u&&(a.attr("sizes",u),a.removeAttr("data-sizes")),d.length&&d.children("source").each((function(t,e){var n=x(e);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))})),c&&(a.attr("src",c),a.removeAttr("data-src"))),a.addClass(i.loadedClass).removeClass(i.loadingClass),o.find(".".concat(i.preloaderClass)).remove(),n.params.loop&&e){var t=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var r=n.$wrapperEl.children('[data-swiper-slide-index="'.concat(t,'"]:not(.').concat(n.params.slideDuplicateClass,")"));n.lazy.loadInSlide(r.index(),!1)}else{var h=n.$wrapperEl.children(".".concat(n.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(t,'"]'));n.lazy.loadInSlide(h.index(),!1)}}n.emit("lazyImageReady",o[0],a[0]),n.params.autoHeight&&n.updateAutoHeight()}})),n.emit("lazyImageLoad",o[0],a[0])}))}},load:function(){var t=this,e=t.$wrapperEl,n=t.params,i=t.slides,r=t.activeIndex,o=t.virtual&&n.virtual.enabled,a=n.lazy,s=n.slidesPerView;function c(t){if(o){if(e.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(t,'"]')).length)return!0}else if(i[t])return!0;return!1}function l(t){return o?x(t).attr("data-swiper-slide-index"):x(t).index()}if("auto"===s&&(s=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)e.children(".".concat(n.slideVisibleClass)).each((function(e,n){var i=o?x(n).attr("data-swiper-slide-index"):x(n).index();t.lazy.loadInSlide(i)}));else if(s>1)for(var u=r;u<r+s;u+=1)c(u)&&t.lazy.loadInSlide(u);else t.lazy.loadInSlide(r);if(a.loadPrevNext)if(s>1||a.loadPrevNextAmount&&a.loadPrevNextAmount>1){for(var d=a.loadPrevNextAmount,h=s,f=Math.min(r+h+Math.max(d,h),i.length),p=Math.max(r-Math.max(h,d),0),m=r+s;m<f;m+=1)c(m)&&t.lazy.loadInSlide(m);for(var g=p;g<r;g+=1)c(g)&&t.lazy.loadInSlide(g)}else{var v=e.children(".".concat(n.slideNextClass));v.length>0&&t.lazy.loadInSlide(l(v));var _=e.children(".".concat(n.slidePrevClass));_.length>0&&t.lazy.loadInSlide(l(_))}}},Ke={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var t=this;ut.extend(t,{lazy:{initialImageLoaded:!1,load:Je.load.bind(t),loadInSlide:Je.loadInSlide.bind(t)}})},on:{beforeInit:function(){var t=this;t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)},init:function(){var t=this;t.params.lazy.enabled&&!t.params.loop&&0===t.params.initialSlide&&t.lazy.load()},scroll:function(){var t=this;t.params.freeMode&&!t.params.freeModeSticky&&t.lazy.load()},resize:function(){var t=this;t.params.lazy.enabled&&t.lazy.load()},scrollbarDragMove:function(){var t=this;t.params.lazy.enabled&&t.lazy.load()},transitionStart:function(){var t=this;t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!t.lazy.initialImageLoaded)&&t.lazy.load()},transitionEnd:function(){var t=this;t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&t.lazy.load()},slideChange:function(){var t=this;t.params.lazy.enabled&&t.params.cssMode&&t.lazy.load()}}},Qe={LinearSpline:function(t,e){var n,i,r=function(){var t,e,n;return function(i,r){e=-1,t=i.length;while(t-e>1)n=t+e>>1,i[n]<=r?e=n:t=n;return t}}();return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(i=r(this.x,t),n=i-1,(t-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0},this},getInterpolateFunction:function(t){var e=this;e.controller.spline||(e.controller.spline=e.params.loop?new Qe.LinearSpline(e.slidesGrid,t.slidesGrid):new Qe.LinearSpline(e.snapGrid,t.snapGrid))},setTranslate:function(t,e){var n,i,r=this,o=r.controller.control;function a(t){var e=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(t),i=-r.controller.spline.interpolate(-e)),i&&"container"!==r.params.controller.by||(n=(t.maxTranslate()-t.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(e-r.minTranslate())*n+t.minTranslate()),r.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,r),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==e&&o[s]instanceof Se&&a(o[s]);else o instanceof Se&&e!==o&&a(o)},setTransition:function(t,e){var n,i=this,r=i.controller.control;function o(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&ut.nextTick((function(){e.updateAutoHeight()})),e.$wrapperEl.transitionEnd((function(){r&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())})))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==e&&r[n]instanceof Se&&o(r[n]);else r instanceof Se&&e!==r&&o(r)}},tn={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var t=this;ut.extend(t,{controller:{control:t.params.controller.control,getInterpolateFunction:Qe.getInterpolateFunction.bind(t),setTranslate:Qe.setTranslate.bind(t),setTransition:Qe.setTransition.bind(t)}})},on:{update:function(){var t=this;t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},resize:function(){var t=this;t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},observerUpdate:function(){var t=this;t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},setTranslate:function(t,e){var n=this;n.controller.control&&n.controller.setTranslate(t,e)},setTransition:function(t,e){var n=this;n.controller.control&&n.controller.setTransition(t,e)}}},en={makeElFocusable:function(t){return t.attr("tabIndex","0"),t},makeElNotFocusable:function(t){return t.attr("tabIndex","-1"),t},addElRole:function(t,e){return t.attr("role",e),t},addElLabel:function(t,e){return t.attr("aria-label",e),t},disableEl:function(t){return t.attr("aria-disabled",!0),t},enableEl:function(t){return t.attr("aria-disabled",!1),t},onEnterKey:function(t){var e=this,n=e.params.a11y;if(13===t.keyCode){var i=x(t.target);e.navigation&&e.navigation.$nextEl&&i.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?e.a11y.notify(n.lastSlideMessage):e.a11y.notify(n.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&i.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?e.a11y.notify(n.firstSlideMessage):e.a11y.notify(n.prevSlideMessage)),e.pagination&&i.is(".".concat(e.params.pagination.bulletClass))&&i[0].click()}},notify:function(t){var e=this,n=e.a11y.liveRegion;0!==n.length&&(n.html(""),n.html(t))},updateNavigation:function(){var t=this;if(!t.params.loop&&t.navigation){var e=t.navigation,n=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(t.isBeginning?(t.a11y.disableEl(i),t.a11y.makeElNotFocusable(i)):(t.a11y.enableEl(i),t.a11y.makeElFocusable(i))),n&&n.length>0&&(t.isEnd?(t.a11y.disableEl(n),t.a11y.makeElNotFocusable(n)):(t.a11y.enableEl(n),t.a11y.makeElFocusable(n)))}},updatePagination:function(){var t=this,e=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each((function(n,i){var r=x(i);t.a11y.makeElFocusable(r),t.a11y.addElRole(r,"button"),t.a11y.addElLabel(r,e.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1))}))},init:function(){var t=this;t.$el.append(t.a11y.liveRegion);var e,n,i=t.params.a11y;t.navigation&&t.navigation.$nextEl&&(e=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(n=t.navigation.$prevEl),e&&(t.a11y.makeElFocusable(e),t.a11y.addElRole(e,"button"),t.a11y.addElLabel(e,i.nextSlideMessage),e.on("key
352down",t.a11y.onEnterKey)),n&&(t.a11y.makeElFocusable(n),t.a11y.addElRole(n,"button"),t.a11y.addElLabel(n,i.prevSlideMessage),n.on("keydown",t.a11y.onEnterKey)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown",".".concat(t.params.pagination.bulletClass),t.a11y.onEnterKey)},destroy:function(){var t,e,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(e=n.navigation.$prevEl),t&&t.off("keydown",n.a11y.onEnterKey),e&&e.off("keydown",n.a11y.onEnterKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",".".concat(n.params.pagination.bulletClass),n.a11y.onEnterKey)}},nn={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;ut.extend(t,{a11y:{liveRegion:x('<span class="'.concat(t.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(en).forEach((function(e){t.a11y[e]=en[e].bind(t)}))},on:{init:function(){var t=this;t.params.a11y.enabled&&(t.a11y.init(),t.a11y.updateNavigation())},toEdge:function(){var t=this;t.params.a11y.enabled&&t.a11y.updateNavigation()},fromEdge:function(){var t=this;t.params.a11y.enabled&&t.a11y.updateNavigation()},paginationUpdate:function(){var t=this;t.params.a11y.enabled&&t.a11y.updatePagination()},destroy:function(){var t=this;t.params.a11y.enabled&&t.a11y.destroy()}}},rn={init:function(){var t=this;if(t.params.history){if(!b.history||!b.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);var e=t.history;e.initialized=!0,e.paths=rn.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,t.params.runCallbacksOnInit),t.params.history.replaceState||b.addEventListener("popstate",t.history.setHistoryPopState))}},destroy:function(){var t=this;t.params.history.replaceState||b.removeEventListener("popstate",t.history.setHistoryPopState)},setHistoryPopState:function(){var t=this;t.history.paths=rn.getPathValues(),t.history.scrollToSlide(t.params.speed,t.history.paths.value,!1)},getPathValues:function(){var t=b.location.pathname.slice(1).split("/").filter((function(t){return""!==t})),e=t.length,n=t[e-2],i=t[e-1];return{key:n,value:i}},setHistory:function(t,e){var n=this;if(n.history.initialized&&n.params.history.enabled){var i=n.slides.eq(e),r=rn.slugify(i.attr("data-history"));b.location.pathname.includes(t)||(r="".concat(t,"/").concat(r));var o=b.history.state;o&&o.value===r||(n.params.history.replaceState?b.history.replaceState({value:r},null,r):b.history.pushState({value:r},null,r))}},slugify:function(t){return t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,n){var i=this;if(e)for(var r=0,o=i.slides.length;r<o;r+=1){var a=i.slides.eq(r),s=rn.slugify(a.attr("data-history"));if(s===e&&!a.hasClass(i.params.slideDuplicateClass)){var c=a.index();i.slideTo(c,t,n)}}else i.slideTo(0,t,n)}},on={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var t=this;ut.extend(t,{history:{init:rn.init.bind(t),setHistory:rn.setHistory.bind(t),setHistoryPopState:rn.setHistoryPopState.bind(t),scrollToSlide:rn.scrollToSlide.bind(t),destroy:rn.destroy.bind(t)}})},on:{init:function(){var t=this;t.params.history.enabled&&t.history.init()},destroy:function(){var t=this;t.params.history.enabled&&t.history.destroy()},transitionEnd:function(){var t=this;t.history.initialized&&t.history.setHistory(t.params.history.key,t.activeIndex)},slideChange:function(){var t=this;t.history.initialized&&t.params.cssMode&&t.history.setHistory(t.params.history.key,t.activeIndex)}}},an={onHashCange:function(){var t=this;t.emit("hashChange");var e=_.location.hash.replace("#",""),n=t.slides.eq(t.activeIndex).attr("data-hash");if(e!==n){var i=t.$wrapperEl.children(".".concat(t.params.slideClass,'[data-hash="').concat(e,'"]')).index();if("undefined"===typeof i)return;t.slideTo(i)}},setHash:function(){var t=this;if(t.hashNavigation.initialized&&t.params.hashNavigation.enabled)if(t.params.hashNavigation.replaceState&&b.history&&b.history.replaceState)b.history.replaceState(null,null,"#".concat(t.slides.eq(t.activeIndex).attr("data-hash"))||!1),t.emit("hashSet");else{var e=t.slides.eq(t.activeIndex),n=e.attr("data-hash")||e.attr("data-history");_.location.hash=n||"",t.emit("hashSet")}},init:function(){var t=this;if(!(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)){t.hashNavigation.initialized=!0;var e=_.location.hash.replace("#","");if(e)for(var n=0,i=0,r=t.slides.length;i<r;i+=1){var o=t.slides.eq(i),a=o.attr("data-hash")||o.attr("data-history");if(a===e&&!o.hasClass(t.params.slideDuplicateClass)){var s=o.index();t.slideTo(s,n,t.params.runCallbacksOnInit,!0)}}t.params.hashNavigation.watchState&&x(b).on("hashchange",t.hashNavigation.onHashCange)}},destroy:function(){var t=this;t.params.hashNavigation.watchState&&x(b).off("hashchange",t.hashNavigation.onHashCange)}},sn={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var t=this;ut.extend(t,{hashNavigation:{initialized:!1,init:an.init.bind(t),destroy:an.destroy.bind(t),setHash:an.setHash.bind(t),onHashCange:an.onHashCange.bind(t)}})},on:{init:function(){var t=this;t.params.hashNavigation.enabled&&t.hashNavigation.init()},destroy:function(){var t=this;t.params.hashNavigation.enabled&&t.hashNavigation.destroy()},transitionEnd:function(){var t=this;t.hashNavigation.initialized&&t.hashNavigation.setHash()},slideChange:function(){var t=this;t.hashNavigation.initialized&&t.params.cssMode&&t.hashNavigation.setHash()}}},cn={run:function(){var t=this,e=t.slides.eq(t.activeIndex),n=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=ut.nextTick((function(){t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),t.slidePrev(t.params.speed,!0,
352!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),t.params.cssMode&&t.autoplay.running&&t.autoplay.run()}),n)},start:function(){var t=this;return"undefined"===typeof t.autoplay.timeout&&(!t.autoplay.running&&(t.autoplay.running=!0,t.emit("autoplayStart"),t.autoplay.run(),!0))},stop:function(){var t=this;return!!t.autoplay.running&&("undefined"!==typeof t.autoplay.timeout&&(t.autoplay.timeout&&(clearTimeout(t.autoplay.timeout),t.autoplay.timeout=void 0),t.autoplay.running=!1,t.emit("autoplayStop"),!0))},pause:function(t){var e=this;e.autoplay.running&&(e.autoplay.paused||(e.autoplay.timeout&&clearTimeout(e.autoplay.timeout),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?(e.$wrapperEl[0].addEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].addEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd)):(e.autoplay.paused=!1,e.autoplay.run())))}},ln={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;ut.extend(t,{autoplay:{running:!1,paused:!1,run:cn.run.bind(t),start:cn.start.bind(t),stop:cn.stop.bind(t),pause:cn.pause.bind(t),onVisibilityChange:function(){"hidden"===document.visibilityState&&t.autoplay.running&&t.autoplay.pause(),"visible"===document.visibilityState&&t.autoplay.paused&&(t.autoplay.run(),t.autoplay.paused=!1)},onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){var t=this;t.params.autoplay.enabled&&(t.autoplay.start(),document.addEventListener("visibilitychange",t.autoplay.onVisibilityChange))},beforeTransitionStart:function(t,e){var n=this;n.autoplay.running&&(e||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):n.autoplay.stop())},sliderFirstMove:function(){var t=this;t.autoplay.running&&(t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause())},touchEnd:function(){var t=this;t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&t.autoplay.run()},destroy:function(){var t=this;t.autoplay.running&&t.autoplay.stop(),document.removeEventListener("visibilitychange",t.autoplay.onVisibilityChange)}}},un={setTranslate:function(){for(var t=this,e=t.slides,n=0;n<e.length;n+=1){var i=t.slides.eq(n),r=i[0].swiperSlideOffset,o=-r;t.params.virtualTranslate||(o-=t.translate);var a=0;t.isHorizontal()||(a=o,o=0);var s=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:s}).transform("translate3d(".concat(o,"px, ").concat(a,"px, 0px)"))}},setTransition:function(t){var e=this,n=e.slides,i=e.$wrapperEl;if(n.transition(t),e.params.virtualTranslate&&0!==t){var r=!1;n.transitionEnd((function(){if(!r&&e&&!e.destroyed){r=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)i.trigger(t[n])}}))}}},dn={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var t=this;ut.extend(t,{fadeEffect:{setTranslate:un.setTranslate.bind(t),setTransition:un.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this;if("fade"===t.params.effect){t.classNames.push("".concat(t.params.containerModifierClass,"fade"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ut.extend(t.params,e),ut.extend(t.originalParams,e)}},setTranslate:function(){var t=this;"fade"===t.params.effect&&t.fadeEffect.setTranslate()},setTransition:function(t){var e=this;"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},hn={setTranslate:function(){var t,e=this,n=e.$el,i=e.$wrapperEl,r=e.slides,o=e.width,a=e.height,s=e.rtlTranslate,c=e.size,l=e.params.cubeEffect,u=e.isHorizontal(),d=e.virtual&&e.params.virtual.enabled,h=0;l.shadow&&(u?(t=i.find(".swiper-cube-shadow"),0===t.length&&(t=x('<div class="swiper-cube-shadow"></div>'),i.append(t)),t.css({height:"".concat(o,"px")})):(t=n.find(".swiper-cube-shadow"),0===t.length&&(t=x('<div class="swiper-cube-shadow"></div>'),n.append(t))));for(var f=0;f<r.length;f+=1){var p=r.eq(f),m=f;d&&(m=parseInt(p.attr("data-swiper-slide-index"),10));var g=90*m,v=Math.floor(g/360);s&&(g=-g,v=Math.floor(-g/360));
352var _=Math.max(Math.min(p[0].progress,1),-1),y=0,b=0,w=0;m%4===0?(y=4*-v*c,w=0):(m-1)%4===0?(y=0,w=4*-v*c):(m-2)%4===0?(y=c+4*v*c,w=c):(m-3)%4===0&&(y=-c,w=3*c+4*c*v),s&&(y=-y),u||(b=y,y=0);var k="rotateX(".concat(u?0:-g,"deg) rotateY(").concat(u?g:0,"deg) translate3d(").concat(y,"px, ").concat(b,"px, ").concat(w,"px)");if(_<=1&&_>-1&&(h=90*m+90*_,s&&(h=90*-m-90*_)),p.transform(k),l.slideShadows){var T=u?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),M=u?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom");0===T.length&&(T=x('<div class="swiper-slide-shadow-'.concat(u?"left":"top",'"></div>')),p.append(T)),0===M.length&&(M=x('<div class="swiper-slide-shadow-'.concat(u?"right":"bottom",'"></div>')),p.append(M)),T.length&&(T[0].style.opacity=Math.max(-_,0)),M.length&&(M[0].style.opacity=Math.max(_,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -".concat(c/2,"px"),"-moz-transform-origin":"50% 50% -".concat(c/2,"px"),"-ms-transform-origin":"50% 50% -".concat(c/2,"px"),"transform-origin":"50% 50% -".concat(c/2,"px")}),l.shadow)if(u)t.transform("translate3d(0px, ".concat(o/2+l.shadowOffset,"px, ").concat(-o/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(l.shadowScale,")"));else{var S=Math.abs(h)-90*Math.floor(Math.abs(h)/90),C=1.5-(Math.sin(2*S*Math.PI/360)/2+Math.cos(2*S*Math.PI/360)/2),E=l.shadowScale,L=l.shadowScale/C,A=l.shadowOffset;t.transform("scale3d(".concat(E,", 1, ").concat(L,") translate3d(0px, ").concat(a/2+A,"px, ").concat(-a/2/L,"px) rotateX(-90deg)"))}var O=Le.isSafari||Le.isWebView?-c/2:0;i.transform("translate3d(0px,0,".concat(O,"px) rotateX(").concat(e.isHorizontal()?0:h,"deg) rotateY(").concat(e.isHorizontal()?-h:0,"deg)"))},setTransition:function(t){var e=this,n=e.$el,i=e.slides;i.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&n.find(".swiper-cube-shadow").transition(t)}},fn={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var t=this;ut.extend(t,{cubeEffect:{setTranslate:hn.setTranslate.bind(t),setTransition:hn.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this;if("cube"===t.params.effect){t.classNames.push("".concat(t.params.containerModifierClass,"cube")),t.classNames.push("".concat(t.params.containerModifierClass,"3d"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};ut.extend(t.params,e),ut.extend(t.originalParams,e)}},setTranslate:function(){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTranslate()},setTransition:function(t){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},pn={setTranslate:function(){for(var t=this,e=t.slides,n=t.rtlTranslate,i=0;i<e.length;i+=1){var r=e.eq(i),o=r[0].progress;t.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,1),-1));var a=r[0].swiperSlideOffset,s=-180*o,c=s,l=0,u=-a,d=0;if(t.isHorizontal()?n&&(c=-c):(d=u,u=0,l=-c,c=0),r[0].style.zIndex=-Math.abs(Math.round(o))+e.length,t.params.flipEffect.slideShadows){var h=t.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),f=t.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===h.length&&(h=x('<div class="swiper-slide-shadow-'.concat(t.isHorizontal()?"left":"top",'"></div>')),r.append(h)),0===f.length&&(f=x('<div class="swiper-slide-shadow-'.concat(t.isHorizontal()?"right":"bottom",'"></div>')),r.append(f)),h.length&&(h[0].style.opacity=Math.max(-o,0)),f.length&&(f[0].style.opacity=Math.max(o,0))}r.transform("translate3d(".concat(u,"px, ").concat(d,"px, 0px) rotateX(").concat(l,"deg) rotateY(").concat(c,"deg)"))}},setTransition:function(t){var e=this,n=e.slides,i=e.activeIndex,r=e.$wrapperEl;if(n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.virtualTranslate&&0!==t){var o=!1;n.eq(i).transitionEnd((function(){if(!o&&e&&!e.destroyed){o=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)r.trigger(t[n])}}))}}},mn={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var t=this;ut.extend(t,{flipEffect:{setTranslate:pn.setTranslate.bind(t),setTransition:pn.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this;if("flip"===t.params.effect){t.classNames.push("".concat(t.params.containerModifierClass,"flip")),t.classNames.push("".concat(t.params.containerModifierClass,"3d"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ut.extend(t.params,e),ut.extend(t.originalParams,e)}},setTranslate:function(){var t=this;"flip"===t.params.effect&&t.flipEffect.setTranslate()},setTransition:function(t){var e=this;"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},gn={setTranslate:function(){for(var t=this,e=t.width,n=t.height,i=t.slides,r=t.$wrapperEl,o=t.slidesSizesGrid,a=t.params.coverflowEffect,s=t.isH
352orizontal(),c=t.translate,l=s?e/2-c:n/2-c,u=s?a.rotate:-a.rotate,d=a.depth,h=0,f=i.length;h<f;h+=1){var p=i.eq(h),m=o[h],g=p[0].swiperSlideOffset,v=(l-g-m/2)/m*a.modifier,_=s?u*v:0,y=s?0:u*v,b=-d*Math.abs(v),w=a.stretch;"string"===typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(a.stretch)/100*m);var k=s?0:w*v,T=s?w*v:0,M=1-(1-a.scale)*Math.abs(v);Math.abs(T)<.001&&(T=0),Math.abs(k)<.001&&(k=0),Math.abs(b)<.001&&(b=0),Math.abs(_)<.001&&(_=0),Math.abs(y)<.001&&(y=0),Math.abs(M)<.001&&(M=0);var S="translate3d(".concat(T,"px,").concat(k,"px,").concat(b,"px) rotateX(").concat(y,"deg) rotateY(").concat(_,"deg) scale(").concat(M,")");if(p.transform(S),p[0].style.zIndex=1-Math.abs(Math.round(v)),a.slideShadows){var C=s?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),E=s?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom");0===C.length&&(C=x('<div class="swiper-slide-shadow-'.concat(s?"left":"top",'"></div>')),p.append(C)),0===E.length&&(E=x('<div class="swiper-slide-shadow-'.concat(s?"right":"bottom",'"></div>')),p.append(E)),C.length&&(C[0].style.opacity=v>0?v:0),E.length&&(E[0].style.opacity=-v>0?-v:0)}}if(dt.pointerEvents||dt.prefixedPointerEvents){var L=r[0].style;L.perspectiveOrigin="".concat(l,"px 50%")}},setTransition:function(t){var e=this;e.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}},vn={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){var t=this;ut.extend(t,{coverflowEffect:{setTranslate:gn.setTranslate.bind(t),setTransition:gn.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this;"coverflow"===t.params.effect&&(t.classNames.push("".concat(t.params.containerModifierClass,"coverflow")),t.classNames.push("".concat(t.params.containerModifierClass,"3d")),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTranslate()},setTransition:function(t){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},_n={init:function(){var t=this,e=t.params.thumbs,n=t.constructor;e.swiper instanceof n?(t.thumbs.swiper=e.swiper,ut.extend(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),ut.extend(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):ut.isObject(e.swiper)&&(t.thumbs.swiper=new n(ut.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),t.thumbs.swiperCreated=!0),t.thumbs.swiper.$el.addClass(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",t.thumbs.onThumbClick)},onThumbClick:function(){var t=this,e=t.thumbs.swiper;if(e){var n=e.clickedIndex,i=e.clickedSlide;if((!i||!x(i).hasClass(t.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof n&&null!==n){var r;if(r=e.params.loop?parseInt(x(e.clickedSlide).attr("data-swiper-slide-index"),10):n,t.params.loop){var o=t.activeIndex;t.slides.eq(o).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,o=t.activeIndex);var a=t.slides.eq(o).prevAll('[data-swiper-slide-index="'.concat(r,'"]')).eq(0).index(),s=t.slides.eq(o).nextAll('[data-swiper-slide-index="'.concat(r,'"]')).eq(0).index();r="undefined"===typeof a?s:"undefined"===typeof s?a:s-o<o-a?s:a}t.slideTo(r)}}},update:function(t){var e=this,n=e.thumbs.swiper;if(n){var i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,r=e.params.thumbs.autoScrollOffset,o=r&&!n.params.loop;if(e.realIndex!==n.realIndex||o){var a,s,c=n.activeIndex;if(n.params.loop){n.slides.eq(c).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,c=n.activeIndex);var l=n.slides.eq(c).prevAll('[data-swiper-slide-index="'.concat(e.realIndex,'"]')).eq(0).index(),u=n.slides.eq(c).nextAll('[data-swiper-slide-index="'.concat(e.realIndex,'"]')).eq(0).index();a="undefined"===typeof l?u:"undefined"===typeof u?l:u-c===c-l?c:u-c<c-l?u:l,s=e.activeIndex>e.previousIndex?"next":"prev"}else a=e.realIndex,s=a>e.previousIndex?"next":"prev";o&&(a+="next"===s?r:-1*r),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(a)<0&&(n.params.centeredSlides?a=a>c?a-Math.floor(i/2)+1:a+Math.floor(i/2)-1:a>c&&(a=a-i+1),n.slideTo(a,t?0:void 0))}var d=1,h=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),n.slides.removeClass(h),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(var f=0;f<d;f+=1)n.$wrapperEl.children('[data-swiper-slide-index="'.concat(e.realIndex+f,'"]')).addClass(h);else for(var p=0;p<d;p+=1)n.slides.eq(e.realIndex+p).addClass(h)}}},yn={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var t=this;ut.extend(t,{thumbs:{swiper:null,init:_n.init.bind(t),update:_n.update.bind(t),onThumbClick:_n.onThumbClick.bind(t)}})},on:{beforeInit:function(){var t=this,e=t.params.thumbs;e&&e.swiper&&(t.thumbs.init(),t.thumbs.update(!0))},slideChange:function(){var t=this;t.thumbs.swiper&&t.thumbs.update()},update:function(){var t=this;t.thumbs.swiper&&t.thumbs.update()},resize:function(){var t=this;t.thumbs.swiper&&t.thumbs.update()},observerUpdate:function(){var t=this;t.thumbs.swiper&&t.thumbs.update()},setTransition:function(t){var e=this,n=e.thumbs.swiper;n&&n.setTransition(t)},beforeDestroy:function(){var t=this,e=t.thumbs.swiper;e&&t.thumbs.swiperCreated&&e&&e.destroy()}}},bn=[Ce,Ee,Ae,Oe,De,Ie,Ne,Be,He,Ue,$e,qe,Ze,Ke,tn,nn,on,sn,ln,dn,fn,mn,vn,yn];"undefined"===typeof Se.use&&(Se.use=Se.Class.use,Se.installModule=Se.Class.installModule),Se.use(bn);e["default"]=Se},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),l=r("wks"),u=i.Symbol,d=c?u:u&&u.withoutSetter||a;t.exports=function(t){return o(l,t)&&(s||"string"==typeof l[t])||(s&&o(u,t)?l[t]=u[t]:l[t]=d("Symbol."+t)),l[t]}},b64b:function(t,e,n){var i=n("23e7"),r=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));i({target:"Object",stat:!0,forced:s},{keys:function(t){return o(r(t))}})},b680:function(t,e,n){"use strict";var i=n("23e7"),r=n("a691"),o=n("408a"),a=n("1148"),s=n("d039"),c=1..toFixed,l=Math.floor,u=function(t,e,n){return 0===e?n:e%2===1?u(t,e-1,n*t):u(t*t,e/2,n)},d=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},h=function(t,e,n){var i=-1,r=n;while(++i<6)r+=e*t[i],t[i]=r%1e7,r=l(r/1e7)},f=function(t,e){var n=6,i=0;while(--n>=0)i+=t[n],t[n]=l(i/e),i=i%e*1e7},p=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var i=String(t[e]);n=""===n?i:n+a.call("0",7-i.length)+i}return n},m=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));i({target:"Number",proto:!0,forced:m},{toFixed:function(t){var e,n,i,s,c=o(this),l=r(t),m=[0,0,0,0,0,0],g="",v="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(g="-",c=-c),c>1e-21)if(e=d(c*u(2,69,1))-69,n=e<0?c*u(2,-e,1):c/u(2,e,1),n*=4503599627370496,e=52-e,e>0){h(m,0,n),i=l;while(i>=7)h(m,1e7,0),i-=7;h(m,u(10,i,1),0),i=e-1;while(i>=23)f(m,1<<23),i-=23;f(m,1<<i),h(m,1,1),f(m,2),v=p(m)}else h(m,0,n),h(m,1<<-e,0),v=p(m)+a.call("0",l);return l>0?(s=v.length,v=g+(s<=l?"0."+a.call("0",l-s)+v:v.slice(0,s-l)+"."+v.slice(s-l))):v=g+v,v}})},b6b7:function(t,e,n){var i=n("ebb5"),r=n("4840"),o=i.TYPED_ARRAY_CONSTRUCTOR,a=i.aTypedArrayConstructor;t.exports=function(t){return a(r(t,t[o]))}},b727:function(t,e,n){var i=n("0366"),r=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,d=6==t,h=7==t,f=5==t||d;return function(p,m,g,v){for(var _,y,b=o(p),w=r(b),k=i(m,g,3),x=a(w.length),T=0,M=v||s,S=e?M(p,x):n||h?M(p,0):void 0;x>T;
352T++)if((f||T in w)&&(_=w[T],y=k(_,T,b),t))if(e)S[T]=y;else if(y)switch(t){case 3:return!0;case 5:return _;case 6:return T;case 2:c.call(S,_)}else switch(t){case 4:return!1;case 7:c.call(S,_)}return d?-1:l||u?u:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 353//! moment.js locale configuration 354var e=t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},b7fa:function(t,e,n){var i=n("5524"),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},b84c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
355//! moment.js locale configuration 356var e=t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},b97c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,024 bytes, lines 357-358
357//! moment.js locale configuration 358var e={ss:"sekundes_sekundÄm_sekunde_sekundes".split("_"),m:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),mm:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),h:"stundas_stundÄm_stunda_stundas".split("_"),hh:"stundas_stundÄm_stunda_stundas".split("_"),d:"dienas_dienÄm_diena_dienas".split("_"),dd:"dienas_dienÄm_diena_dienas".split("_"),M:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),MM:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10===1&&e%100!==11?t[2]:t[3]:e%10===1&&e%100!==11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}function o(t,e){return e?"dažas sekundes":"dažÄm sekundÄm"}var a=t.defineLocale("lv",{months:"janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec".split("_"),weekdays:"svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Å odien pulksten] LT",nextDay:"[RÄ«t pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[PagÄjuÅ¡Ä] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pÄc %s",past:"pirms %s",s:o,ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},ba01:function(t,e,n){t.exports=n("051b")},ba43:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},bb71:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
359//! moment.js locale configuration 360function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bba1:function(t,e,n){t.exports=n("d657")},bc3a:function(t,e,n){t.exports=n("cee4")},bcd6:function(t,e,n){n("76ef");var i=n("5524").Object;t.exports=function(t,e){return i.create(t,e)}},bce0:function(t,e,n){var i,r,o,a=n("9c0c"),s=n("4de9"),c=n("9141"),l=n("05f5"),u=n("ef08"),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},_="onreadystatechange",y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){y.call(t.data)};h&&f||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete v[t]},"process"==n("4d88")(d)?i=function(t){d.nextTick(a(y,t,1))}:m&&m.now?i=function(t){m.now(a(y,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=b,i=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):i=_ in l("script")?function(t){c.appendChild(l("script"))[_]=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:h,clear:f}},bdad:function(t,e,n){"use strict";var i=n("ef08"),r=n("5524"),o=n("1a14"),a=n("0bad"),s=n("cc15")("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},be09:function(t,e,n){(function(e){var n;n="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},t.exports=n}).call(this,n("c8ba"))},be23:function(t,e,n){"use strict";n("ac1f"),n("5319");var i=String.prototype.replace,r=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:function(t){return i.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},bee2:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n.d(e,"a",(function(){return r}))},bf19:function(t,e,n){"use strict";var i=n("23e7");i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},c010:function(t,e,n){"use strict";var i=n("7037").default;n("a15b"),n("b64b"),n("4e82"),n("4de4");var r=n("5402"),o=n("eb99"),a=n("be23"),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},l=Array.isArray,u=Array.prototype.push,d=function(t,e){u.apply(t,l(e)?e:[e])},h=Date.prototype.toISOString,f=a["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},m=function(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"symbol"===i(t)||"bigint"===typeof t},g=function t(e,n,a,s,c,u,h,f,g,v,_,y,b,w,k){var x=e;if(k.has(e))throw new RangeError("Cyclic object value");if("function"===typeof h?x=h(n,x):x instanceof Date?x=v(x):"comma"===a&&l(x)&&(x=o.maybeMap(x,(function(t){return t instanceof Date?v(t):t}
vendor: 3,223 bytes, line 360
360))),null===x){if(s)return u&&!b?u(n,p.encoder,w,"key",_):n;x=""}if(m(x)||o.isBuffer(x)){if(u){var T=b?n:u(n,p.encoder,w,"key",_);return[y(T)+"="+y(u(x,p.encoder,w,"value",_))]}return[y(n)+"="+y(String(x))]}var M,S=[];if("undefined"===typeof x)return S;if("comma"===a&&l(x))M=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(h))M=h;else{var C=Object.keys(x);M=f?C.sort(f):C}for(var E=0;E<M.length;++E){var L=M[E],A="object"===i(L)&&void 0!==L.value?L.value:x[L];if(!c||null!==A){var O=l(x)?"function"===typeof a?a(n,L):n:n+(g?"."+L:"["+L+"]");k.set(e,!0);var P=r();d(S,t(A,O,a,s,c,u,h,f,g,v,_,y,b,w,P))}}return S},v=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!==typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a["default"];if("undefined"!==typeof t.format){if(!s.call(a.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=a.formatters[n],r=p.filter;return("function"===typeof t.filter||l(t.filter))&&(r=t.filter),{addQueryPrefix:"boolean"===typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof t.delimiter?p.delimiter:t.delimiter,encode:"boolean"===typeof t.encode?t.encode:p.encode,encoder:"function"===typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"===typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"===typeof t.sort?t.sort:null,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}};t.exports=function(t,e){var n,o,a=t,s=v(e);"function"===typeof s.filter?(o=s.filter,a=o("",a)):l(s.filter)&&(o=s.filter,n=o);var u,h=[];if("object"!==i(a)||null===a)return"";u=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var f=c[u];n||(n=Object.keys(a)),s.sort&&n.sort(s.sort);for(var p=r(),m=0;m<n.length;++m){var _=n[m];s.skipNulls&&null===a[_]||d(h,g(a[_],_,f,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,p))}var y=h.join(s.delimiter),b=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},c04e:function(t,e,n){var i=n("861d"),r=n("d9b5"),o=n("485a"),a=n("b622"),s=a("toPrimitive");t.exports=function(t,e){if(!i(t)||r(t))return t;var n,a=t[s];if(void 0!==a){if(void 0===e&&(e="default"),n=a.call(t,e),!i(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,945 bytes, lines 361-367
361//! moment.js locale configuration 362var e=t.defineLocale("tzm",{months:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),monthsShort:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),weekdays:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysShort:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysMin:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[â´°âµâ´·âµ â´´] LT",nextDay:"[â´°âµâ´½â´° â´´] LT",nextWeek:"dddd [â´´] LT",lastDay:"[â´°âµâ´°âµâµ â´´] LT",lastWeek:"dddd [â´´] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵠⵠⵢⴰⵠ%s",past:"ⵢⴰⵠ%s",s:"âµâµâµâ´½",ss:"%d âµâµâµâ´½",m:"âµâµâµâµâ´º",mm:"%d âµâµâµâµâ´º",h:"âµâ´°âµâ´°",hh:"%d âµâ´°âµâµâ´°âµâµâµ",d:"â´°âµâµ",dd:"%d oâµâµâ´°âµ",M:"â´°âµ¢oâµâµ",MM:"%d âµâµ¢âµ¢âµâµâµ",y:"â´°âµâ´³â´°âµ",yy:"%d âµâµâ´³â´°âµâµ"},week:{dow:6,doy:12}});return e}))},c183:function(t,e,n){var i=n("512c");i(i.S+i.F*!n("0bad"),"Object",{defineProperty:n("1a14").f})},c19f:function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("621a"),a=n("2626"),s="ArrayBuffer",c=o[s],l=r[s];i({global:!0,forced:l!==c},{ArrayBuffer:c}),a(s)},c1ac:function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").filter,o=n("1448"),a=i.aTypedArray,s=i.exportTypedArrayMethod;s("filter",(function(t){var e=r(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},c1df:function(t,e,n){(function(t){var e;//! moment.js 363//! version : 2.29.1 364//! authors : Tim Wood, Iskren Chernev, Moment.js contributors 365//! license : MIT 366//! momentjs.com 367(function(e,n){t.exports=n()})(0,(function(){"use strict";var i,r;function o(){return i.apply(null,arguments)}function a(t){i=t}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function c(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function d(t){return void 0===t}function h(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function m(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,n,i){return Gn(t,e,n,i,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(t){return null==t._pf&&(t._pf=v()),t._pf}function y(t){if(null==t._isValid){var e=_(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function b(t){var e=g(NaN);return null!=t?m(_(e),t):_(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var w=o.momentProperties=[],k=!1;function x(t,e){var n,i,r;if(d(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),d(e._i)||(t._i=e._i),d(e._f)||(t._f=e._f),d(e._l)||(t._l=e._l),d(e._strict)||(t._strict=e._strict),d(e._tzm)||(t._tzm=e._tzm),d(e._isUTC)||(t._isUTC=e._isUTC),d(e._offset)||(t._offset=e._offset),d(e._pf)||(t._pf=_(e)),d(e._locale)||(t._locale=e._locale),w.length>0)for(n=0;n<w.length;n++)i=w[n],r=e[i],d(r)||(t[i]=r);return t}function T(t){x(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,o.updateOffset(this),
vendor: 57,759 bytes, lines 367-369
367k=!1)}function M(t){return t instanceof T||null!=t&&null!=t._isAMomentObject}function S(t){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,e){var n=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),n){var i,r,a,s=[];for(r=0;r<arguments.length;r++){if(i="","object"===typeof arguments[r]){for(a in i+="\n["+r+"] ",arguments[0])l(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[r];s.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var E,L={};function A(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),L[t]||(S(e),L[t]=!0)}function O(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function P(t){var e,n;for(n in t)l(t,n)&&(e=t[n],O(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(t,e){var n,i=m({},t);for(n in e)l(e,n)&&(c(t[n])&&c(e[n])?(i[n]={},m(i[n],t[n]),m(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)l(t,n)&&!l(e,n)&&c(t[n])&&(i[n]=m({},i[n]));return i}function j(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,E=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(t,e,n){var i=this._calendar[t]||this._calendar["sameElse"];return O(i)?i.call(e,n):i}function N(t,e,n){var i=""+Math.abs(t),r=e-i.length,o=t>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},F={};function H(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(F[t]=r),e&&(F[e[0]]=function(){return N(r.apply(this,arguments),e[1],e[2])}),n&&(F[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function U(t){var e,n,i=t.match(Y);for(e=0,n=i.length;e<n;e++)F[i[e]]?i[e]=F[i[e]]:i[e]=V(i[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=O(i[r])?i[r].call(e,t):i[r];return o}}function W(t,e){return t.isValid()?(e=$(e,t.localeData()),B[e]=B[e]||U(e),B[e](t)):t.localeData().invalidDate()}function $(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}z.lastIndex=0;while(n>=0&&z.test(t))t=t.replace(z,i),z.lastIndex=0,n-=1;return t}var X={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Y).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var G="Invalid date";function Z(){return this._invalidDate}var J="%d",K=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var tt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function et(t,e,n,i){var r=this._relativeTime[n];return O(r)?r(t,e,n,i):r.replace(/%d/i,t)}function nt(t,e){var n=this._relativeTime[t>0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)}var it={};function rt(t,e){var n=t.toLowerCase();it[n]=it[n+"s"]=it[e]=t}function ot(t){return"string"===typeof t?it[t]||it[t.toLowerCase()]:void 0}function at(t){var e,n,i={};for(n in t)l(t,n)&&(e=ot(n),e&&(i[e]=t[n]));return i}var st={};function ct(t,e){st[t]=e}function lt(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:st[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ut(t){return t%4===0&&t%100!==0||t%400===0}function dt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=dt(e)),n}function ft(t,e){return function(n){return null!=n?(mt(this,t,n),o.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function mt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ut(t.year())&&1===t.month()&&29===t.date()?(n=ht(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ee(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return t=ot(t),O(this[t])?this[t]():this}function vt(t,e){if("object"===typeof t){t=at(t);var n,i=lt(t);for(n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit])}else if(t=ot(t),O(this[t]))return this[t](e);return this}var _t,yt=/\d/,bt=/\d\d/,wt=/\d{3}/,kt=/\d{4}/,xt=/[+-]?\d{6}/,Tt=/\d\d?/,Mt=/\d\d\d\d?/,St=/\d\d\d\d\d\d?/,Ct=/\d{1,3}/,Et=/\d{1,4}/,Lt=/[+-]?\d{1,6}/,At=/\d+/,Ot=/[+-]?\d+/,Pt=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,jt=/[+-]?\d+(\.\d{1,3})?/,It=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Rt(t,e,n){_t[t]=O(e)?e:function(t,i){return t&&n?n:e}}function Nt(t,e){return l(_t,t)?_t[t](e._strict,e._locale):new RegExp(Yt(t))}function Yt(t){return zt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r})))}function zt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}_t={};var Bt={};function Ft(t,e){var n,i=e;for("string"===typeof t&&(t=[t]),h(e)&&(i=function(t,n){n[e]=ht(t)}),n=0;n<t.length;n++)Bt[t[n]]=i}function Ht(t,e){Ft(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function Vt(t,e,n){null!=e&&l(Bt,t)&&Bt[t](e,n._a,n,t)}var Ut,Wt=0,$t=1,Xt=2,qt=3,Gt=4,Zt=5,Jt=6,Kt=7,Qt=8;function te(t,e){return(t%e+e)%e}function ee(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=te(e,12);return t+=(e-n)/12,1===n?ut(t)?29:28:31-n%7%2}Ut=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),H("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),rt("month","M"),ct("month",8),Rt("M",Tt),Rt("MM",Tt,bt),Rt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Rt("MMMM",(function(t,e){return e.monthsRegex(t)})),Ft(["M","MM"],(function(t,e){e[$t]=ht(t)-1})),Ft(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[$t]=r:_(n).invalidMonth=t}));var ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ie="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,oe=It,ae=It;function se(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||re).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months["standalone"]}function ce(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[re.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function le(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=g([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(r=Ut.call(this._shortMonthsParse,a),-1!==r?r:null):(r=Ut.call(this._longMonthsParse,a),-1!==r?r:null):"MMM"===e?(r=Ut.call(this._shortMonthsParse,a),-1!==r?r:(r=Ut.call(this._longMonthsParse,a),-1!==r?r:null)):(r=Ut.call(this._longMonthsParse,a),-1!==r?r:(r=Ut.call(this._shortMonthsParse,a),-1!==r?r:null))}function ue(t,e,n){var i,r,o;if(this._monthsParseExact)return le.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=g([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function de(t,e){var n;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=ht(e);else if(e=t.localeData().monthsParse(e),!h(e))return t;return n=Math.min(t.date(),ee(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function he(t){return null!=t?(de(this,t),o.updateOffset(this,!0),this):pt(this,"Month")}function fe(){return ee(this.year(),this.month())}function pe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=oe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function me(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ae),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ge(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],o=[];for(e=0;e<12;e++)n=g([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)i[e]=zt(i[e]),r[e]=zt(r[e]);for(e=0;e<24;e++)o[e]=zt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ve(t){return ut(t)?366:365}H("Y",0,0,(function(){var t=this.year();return t<=9999?N(t,4):"+"+t})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),rt("year","y"),ct("year",1),Rt("Y",Ot),Rt("YY",Tt,bt),Rt("YYYY",Et,kt),Rt("YYYYY",Lt,xt),Rt("YYYYYY",Lt,xt),Ft(["YYYYY","YYYYYY"],Wt),Ft("YYYY",(function(t,e){e[Wt]=2===t.length?o.parseTwoDigitYear(t):ht(t)})),Ft("YY",(function(t,e){e[Wt]=o.parseTwoDigitYear(t)})),Ft("Y",(function(t,e){e[Wt]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return ht(t)+(ht(t)>68?1900:2e3)};var _e=ft("FullYear",!0);function ye(){return ut(this.year())}function be(t,e,n,i,r,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,o,a),s}function we(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function ke(t,e,n){var i=7+e-n,r=(7+we(t,0,i).getUTCDay()-e)%7;return-r+i-1}function xe(t,e,n,i,r){var o,a,s=(7+n-i)%7,c=ke(t,i,r),l=1+7*(e-1)+s+c;return l<=0?(o=t-1,a=ve(o)+l):l>ve(t)?(o=t+1,a=l-ve(t)):(o=t,a=l),{year:o,dayOfYear:a}}function Te(t,e,n){var i,r,o=ke(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(r=t.year()-1,i=a+Me(r,e,n)):a>Me(t.year(),e,n)?(i=a-Me(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function Me(t,e,n){var i=ke(t,e,n),r=ke(t+1,e,n);return(ve(t)-i+r)/7}function Se(t){return Te(t,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),ct("week",5),ct("isoWeek",5),Rt("w",Tt),Rt("ww",Tt,bt),Rt("W",Tt),Rt("WW",Tt,bt),Ht(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=ht(t)}));var Ce={dow:0,doy:6};function Ee(){return this._week.dow}function Le(){return this._week.doy}function Ae(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Oe(t){var e=Te(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Pe(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function De(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function je(t,e){return t.slice(e,7).concat(t.slice(0,e))}H("d",0,"do","day"),H("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),H("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),H("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),ct("day",11),ct("weekday",11),ct("isoWeekday",11),Rt("d",Tt),Rt("e",Tt),Rt("E",Tt),Rt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Rt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Rt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Ht(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:_(n).invalidWeekday=t})),Ht(["d","e","E"],(function(t,e,n,i){e[i]=ht(t)}));var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ne="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ye=It,ze=It,Be=It;function Fe(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?je(n,this._week.dow):t?n[t.day()]:n}function He(t){return!0===t?je(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ve(t){return!0===t?je(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ue(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=g([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(r=Ut.call(this._weekdaysParse,a),-1!==r?r:null):"ddd"===e?(r=Ut.call(this._shortWeekdaysParse,a),-1!==r?r:null):(r=Ut.call(this._minWeekdaysParse,a),-1!==r?r:null):"dddd"===e?(r=Ut.call(this._weekdaysParse,a),-1!==r?r:(r=Ut.call(this._shortWeekdaysParse,a),-1!==r?r:(r=Ut.call(this._minWeekdaysParse,a),-1!==r?r:null))):"ddd"===e?(r=Ut.call(this._shortWeekdaysParse,a),-1!==r?r:(r=Ut.call(this._weekdaysParse,a),-1!==r?r:(r=Ut.call(this._minWeekdaysParse,a),-1!==r?r:null))):(r=Ut.call(this._minWeekdaysParse,a),-1!==r?r:(r=Ut.call(this._weekdaysParse,a),-1!==r?r:(r=Ut.call(this._shortWeekdaysParse,a),-1!==r?r:null)))}function We(t,e,n){var i,r,o;if(this._weekdaysParseExact)return Ue.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=g([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function $e(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Pe(t,this.localeData()),this.add(t-e,"d")):e}function Xe(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function qe(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=De(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ge(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ye),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Je(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Be),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function t(t,e){return e.length-t.length}var e,n,i,r,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=g([2e3,1]).day(e),i=zt(this.weekdaysMin(n,"")),r=zt(this.weekdaysShort(n,"")),o=zt(this.weekdays(n,"")),a.push(i),s.push(r),c.push(o),l.push(i),l.push(r),l.push(o);a.sort(t),s.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function tn(){return this.hours()||24}function en(t,e){H(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function nn(t,e){return e._meridiemParse}function rn(t){return"p"===(t+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Qe),H("k",["kk",2],0,tn),H("hmm",0,0,(function(){return""+Qe.apply(this)+N(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Qe.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),en("a",!0),en("A",!1),rt("hour","h"),ct("hour",13),Rt("a",nn),Rt("A",nn),Rt("H",Tt),Rt("h",Tt),Rt("k",Tt),Rt("HH",Tt,bt),Rt("hh",Tt,bt),Rt("kk",Tt,bt),Rt("hmm",Mt),Rt("hmmss",St),Rt("Hmm",Mt),Rt("Hmmss",St),Ft(["H","HH"],qt),Ft(["k","kk"],(function(t,e,n){var i=ht(t);e[qt]=24===i?0:i})),Ft(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Ft(["h","hh"],(function(t,e,n){e[qt]=ht(t),_(n).bigHour=!0})),Ft("hmm",(function(t,e,n){var i=t.length-2;e[qt]=ht(t.substr(0,i)),e[Gt]=ht(t.substr(i)),_(n).bigHour=!0})),Ft("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[qt]=ht(t.substr(0,i)),e[Gt]=ht(t.substr(i,2)),e[Zt]=ht(t.substr(r)),_(n).bigHour=!0})),Ft("Hmm",(function(t,e,n){var i=t.length-2;e[qt]=ht(t.substr(0,i)),e[Gt]=ht(t.substr(i))})),Ft("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[qt]=ht(t.substr(0,i)),e[Gt]=ht(t.substr(i,2)),e[Zt]=ht(t.substr(r))}));var on=/[ap]\.?m?\.?/i,an=ft("Hours",!0);function sn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var cn,ln={calendar:I,longDateFormat:X,invalidDate:G,ordinal:J,dayOfMonthOrdinalParse:K,relativeTime:tt,months:ne,monthsShort:ie,week:Ce,weekdays:Ie,weekdaysMin:Ne,weekdaysShort:Re,meridiemParse:on},un={},dn={};function hn(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function fn(t){return t?t.toLowerCase().replace("_","-"):t}function pn(t){var e,n,i,r,o=0;while(o<t.length){r=fn(t[o]).split("-"),e=r.length,n=fn(t[o+1]),n=n?n.split("-"):null;while(e>0){if(i=mn(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&hn(r,n)>=e-1)break;e--}o++}return cn}function mn(i){var r=null;if(void 0===un[i]&&"undefined"!==typeof t&&t&&t.exports)try{r=cn._abbr,e,n("4678")("./"+i),gn(r)}catch(o){un[i]=null}return un[i]}function gn(t,e){var n;return t&&(n=d(e)?yn(t):vn(t,e),n?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),cn._abbr}function vn(t,e){if(null!==e){var n,i=ln;if(e.abbr=t,null!=un[t])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[t]._config;else if(null!=e.parentLocale)if(null!=un[e.parentLocale])i=un[e.parentLocale]._config;else{if(n=mn(e.parentLocale),null==n)return dn[e.parentLocale]||(dn[e.parentLocale]=[]),dn[e.parentLocale].push({name:t,config:e}),null;i=n._config}return un[t]=new j(D(i,e)),dn[t]&&dn[t].forEach((function(t){vn(t.name,t.config)})),gn(t),un[t]}return delete un[t],null}function _n(t,e){if(null!=e){var n,i,r=ln;null!=un[t]&&null!=un[t].parentLocale?un[t].set(D(un[t]._config,e)):(i=mn(t),null!=i&&(r=i._config),e=D(r,e),null==i&&(e.abbr=t),n=new j(e),n.parentLocale=un[t],un[t]=n),gn(t)}else null!=un[t]&&(null!=un[t].parentLocale?(un[t]=un[t].parentLocale,t===gn()&&gn(t)):null!=un[t]&&delete un[t]);return un[t]}function yn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return cn;if(!s(t)){if(e=mn(t),e)return e;t=[t]}return pn(t)}function bn(){return E(un)}function wn(t){var e,n=t._a;return n&&-2===_(t).overflow&&(e=n[$t]<0||n[$t]>11?$t:n[Xt]<1||n[Xt]>ee(n[Wt],n[$t])?Xt:n[qt]<0||n[qt]>24||24===n[qt]&&(0!==n[Gt]||0!==n[Zt]||0!==n[Jt])?qt:n[Gt]<0||n[Gt]>59?Gt:n[Zt]<0||n[Zt]>59?Zt:n[Jt]<0||n[Jt]>999?Jt:-1,_(t)._overflowDayOfYear&&(e<Wt||e>Xt)&&(e=Xt),_(t)._overflowWeeks&&-1===e&&(e=Kt),_(t)._overflowWeekday&&-1===e&&(e=Qt),_(t).overflow=e),t}var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Cn=/^\/?Date\((-?\d+)/i,En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ln={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function An(t){var e,n,i,r,o,a,s=t._i,c=kn.exec(s)||xn.exec(s);if(c){for(_(t).iso=!0,e=0,n=Mn.length;e<n;e++)if(Mn[e][1].exec(c[1])){r=Mn[e][0],i=!1!==Mn[e][2];break}if(null==r)return void(t._isValid=!1);if(c[3]){for(e=0,n=Sn.length;e<n;e++)if(Sn[e][1].exec(c[3])){o=(c[2]||" ")+Sn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!i&&null!=o)return void(t._isValid=!1);if(c[4]){if(!Tn.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=r+(o||"")+(a||""),Hn(t)}else t._isValid=!1}function On(t,e,n,i,r,o){var a=[Pn(t),ie.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}function Pn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Dn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jn(t,e,n){if(t){var i=Re.indexOf(t),r=new Date(e[0],e[1],e[2]).getDay();if(i!==r)return _(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function In(t,e,n){if(t)return Ln[t];if(e)return 0;var i=parseInt(n,10),r=i%100,o=(i-r)/100;return 60*o+r}function Rn(t){var e,n=En.exec(Dn(t._i));if(n){if(e=On(n[4],n[3],n[2],n[5],n[6],n[7]),!jn(n[1],e,t))return;t._a=e,t._tzm=In(n[8],n[9],n[10]),t._d=we.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_(t).rfc2822=!0}else t._isValid=!1}function Nn(t){var e=Cn.exec(t._i);null===e?(An(t),!1===t._isValid&&(delete t._isValid,Rn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:o.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Yn(t,e,n){return null!=t?t:null!=e?e:n}function zn(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bn(t){var e,n,i,r,o,a=[];if(!t._d){for(i=zn(t),t._w&&null==t._a[Xt]&&null==t._a[$t]&&Fn(t),null!=t._dayOfYear&&(o=Yn(t._a[Wt],i[Wt]),(t._dayOfYear>ve(o)||0===t._dayOfYear)&&(_(t)._overflowDayOfYear=!0),n=we(o,0,t._dayOfYear),t._a[$t]=n.getUTCMonth(),t._a[Xt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[qt]&&0===t._a[Gt]&&0===t._a[Zt]&&0===t._a[Jt]&&(t._nextDay=!0,t._a[qt]=0),t._d=(t._useUTC?we:be).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[qt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(_(t).weekdayMismatch=!0)}}function Fn(t){var e,n,i,r,o,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=Yn(e.GG,t._a[Wt],Te(Zn(),1,4).year),i=Yn(e.W,1),r=Yn(e.E,1),(r<1||r>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=Te(Zn(),o,a),n=Yn(e.gg,t._a[Wt],l.year),i=Yn(e.w,l.week),null!=e.d?(r=e.d,(r<0||r>6)&&(c=!0)):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(c=!0)):r=o),i<1||i>Me(n,o,a)?_(t)._overflowWeeks=!0:null!=c?_(t)._overflowWeekday=!0:(s=xe(n,i,r,o,a),t._a[Wt]=s.year,t._dayOfYear=s.dayOfYear)}function Hn(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],_(t).empty=!0;var e,n,i,r,a,s,c=""+t._i,l=c.length,u=0;for(i=$(t._f,t._locale).match(Y)||[],e=0;e<i.length;e++)r=i[e],n=(c.match(Nt(r,t))||[])[0],n&&(a=c.substr(0,c.indexOf(n)),a.length>0&&_(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),F[r]?(n?_(t).empty=!1:_(t).unusedTokens.push(r),Vt(r,n,t)):t._strict&&!n&&_(t).unusedTokens.push(r);_(t).charsLeftOver=l-u,c.length>0&&_(t).unusedInput.push(c),t._a[qt]<=12&&!0===_(t).bigHour&&t._a[qt]>0&&(_(t).bigHour=void 0),_(t).parsedDateParts=t._a.slice(0),_(t).meridiem=t._meridiem,t._a[qt]=Vn(t._locale,t._a[qt],t._meridiem),s=_(t).era,null!==s&&(t._a[Wt]=t._locale.erasConvertYear(s,t._a[Wt])),Bn(t),wn(t)}else Rn(t);else An(t)}function Vn(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Un(t){var e,n,i,r,o,a,s=!1;if(0===t._f.length)return _(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,a=!1,e=x({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Hn(e),y(e)&&(a=!0),o+=_(e).charsLeftOver,o+=10*_(e).unusedTokens.length,_(e).score=o,s?o<i&&(i=o,n=e):(null==i||o<i||a)&&(i=o,n=e,a&&(s=!0));m(t,n||e)}function Wn(t){if(!t._d){var e=at(t._i),n=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bn(t)}}function $n(t){var e=new T(wn(Xn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Xn(t){var e=t._i,n=t._f;return t._locale=t._locale||yn(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),M(e)?new T(wn(e)):(f(e)?t._d=e:s(n)?Un(t):n?Hn(t):qn(t),y(t)||(t._d=null),t))}function qn(t){var e=t._i;d(e)?t._d=new Date(o.now()):f(e)?t._d=new Date(e.valueOf()):"string"===typeof e?Nn(t):s(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Bn(t)):c(e)?Wn(t):h(e)?t._d=new Date(e):o.createFromInputFallback(t)}function Gn(t,e,n,i,r){var o={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(c(t)&&u(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,$n(o)}function Zn(t,e,n,i){return Gn(t,e,n,i,!1)}o.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Jn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()})),Kn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()}));function Qn(t,e){var n,i;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function ti(){var t=[].slice.call(arguments,0);return Qn("isBefore",t)}function ei(){var t=[].slice.call(arguments,0);return Qn("isAfter",t)}var ni=function(){return Date.now?Date.now():+new Date},ii=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ri(t){var e,n,i=!1;for(e in t)if(l(t,e)&&(-1===Ut.call(ii,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<ii.length;++n)if(t[ii[n]]){if(i)return!1;parseFloat(t[ii[n]])!==ht(t[ii[n]])&&(i=!0)}return!0}function oi(){return this._isValid}function ai(){return Li(NaN)}function si(t){var e=at(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=ri(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=yn(),this._bubble()}function ci(t){return t instanceof si}function li(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ui(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&ht(t[i])!==ht(e[i]))&&a++;return a+o}function di(t,e){H(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+N(~~(t/60),2)+e+N(~~t%60,2)}))}di("Z",":"),di("ZZ",""),Rt("Z",Dt),Rt("ZZ",Dt),Ft(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=fi(Dt,t)}));var hi=/([\+\-]|\d\d)/gi;function fi(t,e){var n,i,r,o=(e||"").match(t);return null===o?null:(n=o[o.length-1]||[],i=(n+"").match(hi)||["-",0,0],r=60*i[1]+ht(i[2]),0===r?0:"+"===i[0]?r:-r)}function pi(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(M(t)||f(t)?t.valueOf():Zn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),o.updateOffset(n,!1),n):Zn(t).local()}function mi(t){return-Math.round(t._d.getTimezoneOffset())}function gi(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(t=fi(Dt,t),null===t)return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=mi(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?ji(this,Li(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:mi(this)}function vi(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function _i(t){return this.utcOffset(0,t)}function yi(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(mi(this),"m")),this}function bi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=fi(Pt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function wi(t){return!!this.isValid()&&(t=t?Zn(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function ki(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xi(){if(!d(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),e=Xn(e),e._a?(t=e._isUTC?g(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&ui(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ti(){return!!this.isValid()&&!this._isUTC}function Mi(){return!!this.isValid()&&this._isUTC}function Si(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Ci=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ei=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Li(t,e){var n,i,r,o=t,a=null;return ci(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Ci.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ht(a[Xt])*n,h:ht(a[qt])*n,m:ht(a[Gt])*n,s:ht(a[Zt])*n,ms:ht(li(1e3*a[Jt]))*n}):(a=Ei.exec(t))?(n="-"===a[1]?-1:1,o={y:Ai(a[2],n),M:Ai(a[3],n),w:Ai(a[4],n),d:Ai(a[5],n),h:Ai(a[6],n),m:Ai(a[7],n),s:Ai(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(r=Pi(Zn(o.from),Zn(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new si(o),ci(t)&&l(t,"_locale")&&(i._locale=t._locale),ci(t)&&l(t,"_isValid")&&(i._isValid=t._isValid),i}function Ai(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Oi(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Pi(t,e){var n;return t.isValid()&&e.isValid()?(e=pi(e,t),t.isBefore(e)?n=Oi(t,e):(n=Oi(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Di(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(A(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),r=Li(n,i),ji(this,r,t),this}}function ji(t,e,n,i){var r=e._milliseconds,a=li(e._days),s=li(e._months);t.isValid()&&(i=null==i||i,s&&de(t,pt(t,"Month")+s*n),a&&mt(t,"Date",pt(t,"Date")+a*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&o.updateOffset(t,a||s))}Li.fn=si.prototype,Li.invalid=ai;var Ii=Di(1,"add"),Ri=Di(-1,"subtract");function Ni(t){return"string"===typeof t||t instanceof String}function Yi(t){return M(t)||f(t)||Ni(t)||h(t)||Bi(t)||zi(t)||null===t||void 0===t}function zi(t){var e,n,i=c(t)&&!u(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return i&&r}function Bi(t){var e=s(t),n=!1;return e&&(n=0===t.filter((function(e){return!h(e)&&Ni(t)})).length),e&&n}function Fi(t){var e,n,i=c(t)&&!u(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return i&&r}function Hi(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vi(t,e){1===arguments.length&&(arguments[0]?Yi(arguments[0])?(t=arguments[0],e=void 0):Fi(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Zn(),i=pi(n,this).startOf("day"),r=o.calendarFormat(this,i)||"sameElse",a=e&&(O(e[r])?e[r].call(this,n):e[r]);return this.format(a||this.localeData().calendar(r,this,Zn(n)))}function Ui(){return new T(this)}function Wi(t,e){var n=M(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&(e=ot(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function $i(t,e){var n=M(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&(e=ot(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Xi(t,e,n,i){var r=M(t)?t:Zn(t),o=M(e)?e:Zn(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function qi(t,e){var n,i=M(t)?t:Zn(t);return!(!this.isValid()||!i.isValid())&&(e=ot(e)||"millisecond","millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Gi(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Zi(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Ji(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(i=pi(t,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=ot(e),e){case"year":o=Ki(this,i)/12;break;case"month":o=Ki(this,i);break;case"quarter":o=Ki(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:dt(o)}function Ki(t,e){if(t.date()<e.date())return-Ki(e,t);var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return e-o<0?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)||0}function Qi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function tr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function er(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=o+'[")]',this.format(t+e+n+i)}function nr(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ir(t,e){return this.isValid()&&(M(t)&&t.isValid()||Zn(t).isValid())?Li({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rr(t){return this.from(Zn(),t)}function or(t,e){return this.isValid()&&(M(t)&&t.isValid()||Zn(t).isValid())?Li({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ar(t){return this.to(Zn(),t)}function sr(t){var e;return void 0===t?this._locale._abbr:(e=yn(t),null!=e&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var cr=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function lr(){return this._locale}var ur=1e3,dr=60*ur,hr=60*dr,fr=3506328*hr;function pr(t,e){return(t%e+e)%e}function mr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fr:new Date(t,e,n).valueOf()}function gr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fr:Date.UTC(t,e,n)}function vr(t){var e,n;if(t=ot(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:mr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pr(e+(this._isUTC?0:this.utcOffset()*dr),hr);break;case"minute":e=this._d.valueOf(),e-=pr(e,dr);break;case"second":e=this._d.valueOf(),e-=pr(e,ur);break}return this._d.setTime(e),o.updateOffset(this,!0),this}function _r(t){var e,n;if(t=ot(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:mr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=hr-pr(e+(this._isUTC?0:this.utcOffset()*dr),hr)-1;break;case"minute":e=this._d.valueOf(),e+=dr-pr(e,dr)-1;break;case"second":e=this._d.valueOf(),e+=ur-pr(e,ur)-1;break}return this._d.setTime(e),o.updateOffset(this,!0),this}function yr(){return this._d.valueOf()-6e4*(this._offset||0)}function br(){return Math.floor(this.valueOf()/1e3)}function wr(){return new Date(this.valueOf())}function kr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function xr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Tr(){return this.isValid()?this.toISOString():null}function Mr(){return y(this)}function Sr(){return m({},_(this))}function Cr(){return _(this).overflow}function Er(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Lr(t,e){var n,i,r,a=this._eras||yn("en")._eras;for(n=0,i=a.length;n<i;++n){switch(typeof a[n].since){case"string":r=o(a[n].since).startOf("day"),a[n].since=r.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":r=o(a[n].until).startOf("day").valueOf(),a[n].until=r.valueOf();break}}return a}function Ar(t,e,n){var i,r,o,a,s,c=this.eras();for(t=t.toUpperCase(),i=0,r=c.length;i<r;++i)if(o=c[i].name.toUpperCase(),a=c[i].abbr.toUpperCase(),s=c[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[i];break;case"NNNN":if(o===t)return c[i];break;case"NNNNN":if(s===t)return c[i];break}else if([o,a,s].indexOf(t)>=0)return c[i]}function Or(t,e){var n=t.since<=t.until?1:-1;return void 0===e?o(t.since).year():o(t.since).year()+(e-t.offset)*n}function Pr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""}function Dr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""}function jr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""}function Ir(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-o(r[t].since).year())*n+r[t].offset;return this.year()}function Rr(t){return l(this,"_erasNameRegex")||Vr.call(this),t?this._erasNameRegex:this._erasRegex}function Nr(t){return l(this,"_erasAbbrRegex")||Vr.call(this),t?this._erasAbbrRegex:this._erasRegex}function Yr(t){return l(this,"_erasNarrowRegex")||Vr.call(this),t?this._erasNarrowRegex:this._erasRegex}function zr(t,e){return e.erasAbbrRegex(t)}function Br(t,e){return e.erasNameRegex(t)}function Fr(t,e){return e.erasNarrowRegex(t)}function Hr(t,e){return e._eraYearOrdinalRegex||At}function Vr(){var t,e,n=[],i=[],r=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)i.push(zt(a[t].name)),n.push(zt(a[t].abbr)),r.push(zt(a[t].narrow)),o.push(zt(a[t].name)),o.push(zt(a[t].abbr)),o.push(zt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Ur(t,e){H(0,[t,t.length],0,e)}function Wr(t){return Jr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function $r(t){return Jr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Xr(){return Me(this.year(),1,4)}function qr(){return Me(this.isoWeekYear(),1,4)}function Gr(){var t=this.localeData()._week;return Me(this.year(),t.dow,t.doy)}function Zr(){var t=this.localeData()._week;return Me(this.weekYear(),t.dow,t.doy)}function Jr(t,e,n,i,r){var o;return null==t?Te(this,i,r).year:(o=Me(t,i,r),e>o&&(e=o),Kr.call(this,t,e,n,i,r))}function Kr(t,e,n,i,r){var o=xe(t,e,n,i,r),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Rt("N",zr),Rt("NN",zr),Rt("NNN",zr),Rt("NNNN",Br),Rt("NNNNN",Fr),Ft(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?_(n).era=r:_(n).invalidEra=t})),Rt("y",At),Rt("yy",At),Rt("yyy",At),Rt("yyyy",At),Rt("yo",Hr),Ft(["y","yy","yyy","yyyy"],Wt),Ft(["yo"],(function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,r):e[Wt]=parseInt(t,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ur("gggg","weekYear"),Ur("ggggg","weekYear"),Ur("GGGG","isoWeekYear"),Ur("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),ct("weekYear",1),ct("isoWeekYear",1),Rt("G",Ot),Rt("g",Ot),Rt("GG",Tt,bt),Rt("gg",Tt,bt),Rt("GGGG",Et,kt),Rt("gggg",Et,kt),Rt("GGGGG",Lt,xt),Rt("ggggg",Lt,xt),Ht(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=ht(t)})),Ht(["gg","GG"],(function(t,e,n,i){e[i]=o.parseTwoDigitYear(t)})),H("Q",0,"Qo","quarter"),rt("quarter","Q"),ct("quarter",7),Rt("Q",yt),Ft("Q",(function(t,e){e[$t]=3*(ht(t)-1)})),H("D",["DD",2],"Do","date"),rt("date","D"),ct("date",9),Rt("D",Tt),Rt("DD",Tt,bt),Rt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Ft(["D","DD"],Xt),Ft("Do",(function(t,e){e[Xt]=ht(t.match(Tt)[0])}));var to=ft("Date",!0);function eo(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),ct("dayOfYear",4),Rt("DDD",Ct),Rt("DDDD",wt),Ft(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=ht(t)})),H("m",["mm",2],0,"minute"),rt("minute","m"),ct("minute",14),Rt("m",Tt),Rt("mm",Tt,bt),Ft(["m","mm"],Gt);var no=ft("Minutes",!1);H("s",["ss",2],0,"second"),rt("second","s"),ct("second",15),Rt("s",Tt),Rt("ss",Tt,bt),Ft(["s","ss"],Zt);var io,ro,oo=ft("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),rt("millisecond","ms"),ct("millisecond",16),Rt("S",Ct,yt),Rt("SS",Ct,bt),Rt("SSS",Ct,wt),io="SSSS";io.length<=9;io+="S")Rt(io,At);function ao(t,e){e[Jt]=ht(1e3*("0."+t))}for(io="S";io.length<=9;io+="S")Ft(io,ao);function so(){return this._isUTC?"UTC":""}function co(){return this._isUTC?"Coordinated Universal Time":""}ro=ft("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var lo=T.prototype;function uo(t){return Zn(1e3*t)}function ho(){return Zn.apply(null,arguments).parseZone()}function fo(t){return t}lo.add=Ii,lo.calendar=Vi,lo.clone=Ui,lo.diff=Ji,lo.endOf=_r,lo.format=nr,lo.from=ir,lo.fromNow=rr,lo.to=or,lo.toNow=ar,lo.get=gt,lo.invalidAt=Cr,lo.isAfter=Wi,lo.isBefore=$i,lo.isBetween=Xi,lo.isSame=qi,lo.isSameOrAfter=Gi,lo.isSameOrBefore=Zi,lo.isValid=Mr,lo.lang=cr,lo.locale=sr,lo.localeData=lr,lo.max=Kn,lo.min=Jn,lo.parsingFlags=Sr,lo.set=vt,lo.startOf=vr,lo.subtract=Ri,lo.toArray=kr,lo.toObject=xr,lo.toDate=wr,lo.toISOString=tr,lo.inspect=er,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Tr,lo.toString=Qi,lo.unix=br,lo.valueOf=yr,lo.creationData=Er,lo.eraName=Pr,lo.eraNarrow=Dr,lo.eraAbbr=jr,lo.eraYear=Ir,lo.year=_e,lo.isLeapYear=ye,lo.weekYear=Wr,lo.isoWeekYear=$r,lo.quarter=lo.quarters=Qr,lo.month=he,lo.daysInMonth=fe,lo.week=lo.weeks=Ae,lo.isoWeek=lo.isoWeeks=Oe,lo.weeksInYear=Gr,lo.weeksInWeekYear=Zr,lo.isoWeeksInYear=Xr,lo.isoWeeksInISOWeekYear=qr,lo.date=to,lo.day=lo.days=$e,lo.weekday=Xe,lo.isoWeekday=qe,lo.dayOfYear=eo,lo.hour=lo.hours=an,lo.minute=lo.minutes=no,lo.second=lo.seconds=oo,lo.millisecond=lo.milliseconds=ro,lo.utcOffset=gi,lo.utc=_i,lo.local=yi,lo.parseZone=bi,lo.hasAlignedHourOffset=wi,lo.isDST=ki,lo.isLocal=Ti,lo.isUtcOffset=Mi,lo.isUtc=Si,lo.isUTC=Si,lo.zoneAbbr=so,lo.zoneName=co,lo.dates=C("dates accessor is deprecated. Use date instead.",to),lo.months=C("months accessor is deprecated. Use month instead",he),lo.years=C("years accessor is deprecated. Use year instead",_e),lo.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vi),lo.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xi);var po=j.prototype;function mo(t,e,n,i){var r=yn(),o=g().set(i,e);return r[n](o,t)}function go(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return mo(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=mo(t,i,n,"month");return r}function vo(t,e,n,i){"boolean"===typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var r,o=yn(),a=t?o._week.dow:0,s=[];if(null!=n)return mo(e,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=mo(e,(r+a)%7,i,"day");return s}function _o(t,e){return go(t,e,"months")}function yo(t,e){return go(t,e,"monthsShort")}function bo(t,e,n){return vo(t,e,n,"weekdays")}function wo(t,e,n){return vo(t,e,n,"weekdaysShort")}function ko(t,e,n){return vo(t,e,n,"weekdaysMin")}po.calendar=R,po.longDateFormat=q,po.invalidDate=Z,po.ordinal=Q,po.preparse=fo,po.postformat=fo,po.relativeTime=et,po.pastFuture=nt,po.set=P,po.eras=Lr,po.erasParse=Ar,po.erasConvertYear=Or,po.erasAbbrRegex=Nr,po.erasNameRegex=Rr,po.erasNarrowRegex=Yr,po.months=se,po.monthsShort=ce,po.monthsParse=ue,po.monthsRegex=me,po.monthsShortRegex=pe,po.week=Se,po.firstDayOfYear=Le,po.firstDayOfWeek=Ee,po.weekdays=Fe,po.weekdaysMin=Ve,po.weekdaysShort=He,po.weekdaysParse=We,po.weekdaysRegex=Ge,po.weekdaysShortRegex=Ze,po.weekdaysMinRegex=Je,po.isPM=rn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===ht(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),o.lang=C("moment.lang is deprecated. Use moment.locale instead.",gn),o.langData=C("moment.langData is deprecated. Use moment.localeData instead.",yn);var xo=Math.abs;function To(){var t=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),t.milliseconds=xo(t.milliseconds),t.seconds=xo(t.seconds),t.minutes=xo(t.minutes),t.hours=xo(t.hours),t.months=xo(t.months),t.years=xo(t.years),this}function Mo(t,e,n,i){var r=Li(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function So(t,e){return Mo(this,t,e,1)}function Co(t,e){return Mo(this,t,e,-1)}function Eo(t){return t<0?Math.floor(t):Math.ceil(t)}function Lo(){var t,e,n,i,r,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Eo(Oo(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=dt(o/1e3),c.seconds=t%60,e=dt(t/60),c.minutes=e%60,n=dt(e/60),c.hours=n%24,a+=dt(n/24),r=dt(Ao(a)),s+=r,a-=Eo(Oo(r)),i=dt(s/12),s%=12,c.days=a,c.months=s,c.years=i,this}function Ao(t){return 4800*t/146097}function Oo(t){return 146097*t/4800}function Po(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=ot(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+Ao(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Oo(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Do(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN}function jo(t){return function(){return this.as(t)}}var Io=jo("ms"),Ro=jo("s"),No=jo("m"),Yo=jo("h"),zo=jo("d"),Bo=jo("w"),Fo=jo("M"),Ho=jo("Q"),Vo=jo("y");function Uo(){return Li(this)}function Wo(t){return t=ot(t),this.isValid()?this[t+"s"]():NaN}function $o(t){return function(){return this.isValid()?this._data[t]:NaN}}var Xo=$o("milliseconds"),qo=$o("seconds"),Go=$o("minutes"),Zo=$o("hours"),Jo=$o("days"),Ko=$o("months"),Qo=$o("years");function ta(){return dt(this.days()/7)}var ea=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ia(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ra(t,e,n,i){var r=Li(t).abs(),o=ea(r.as("s")),a=ea(r.as("m")),s=ea(r.as("h")),c=ea(r.as("d")),l=ea(r.as("M")),u=ea(r.as("w")),d=ea(r.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),h=h||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=i,ia.apply(null,h)}function oa(t){return void 0===t?ea:"function"===typeof t&&(ea=t,!0)}function aa(t,e){return void 0!==na[t]&&(void 0===e?na[t]:(na[t]=e,"s"===t&&(na.ss=e-1),!0))}function sa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=na;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(r=t),"object"===typeof e&&(o=Object.assign({},na,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),i=ra(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var ca=Math.abs;function la(t){return(t>0)-(t<0)||+t}function ua(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,a,s,c=ca(this._milliseconds)/1e3,l=ca(this._days),u=ca(this._months),d=this.asSeconds();return d?(t=dt(c/60),e=dt(t/60),c%=60,t%=60,n=dt(u/12),u%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+i+"S":"")):"P0D"}var da=si.prototype;return da.isValid=oi,da.abs=To,da.add=So,da.subtract=Co,da.as=Po,da.asMilliseconds=Io,da.asSeconds=Ro,da.asMinutes=No,da.asHours=Yo,da.asDays=zo,da.asWeeks=Bo,da.asMonths=Fo,da.asQuarters=Ho,da.asYears=Vo,da.valueOf=Do,da._bubble=Lo,da.clone=Uo,da.get=Wo,da.milliseconds=Xo,da.seconds=qo,da.minutes=Go,da.hours=Zo,da.days=Jo,da.weeks=ta,da.months=Ko,da.years=Qo,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=sr,da.localeData=lr,da.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=cr,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Rt("x",Ot),Rt("X",jt),Ft("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Ft("x",(function(t,e,n){n._d=new Date(ht(t))})), 368//! moment.js 369o.version="2.29.1",a(Zn),o.fn=lo,o.min=ti,o.max=ei,o.now=ni,o.utc=g,o.unix=uo,o.months=_o,o.isDate=f,o.locale=gn,o.invalid=b,o.duration=Li,o.isMoment=M,o.weekdays=bo,o.parseZone=ho,o.localeData=yn,o.isDuration=ci,o.monthsShort=yo,o.weekdaysMin=ko,o.defineLocale=vn,o.updateLocale=_n,o.locales=bn,o.weekdaysShort=wo,o.normalizeUnits=ot,o.relativeTimeRounding=oa,o.relativeTimeThreshold=aa,o.calendarFormat=Hi,o.prototype=lo,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS
369",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}))}).call(this,n("62e4")(t))},c253:function(t,e,n){var i=n("9c0c"),r=n("c4c1"),o=n("6d2f"),a=n("77e9"),s=n("d16a"),c=n("23dd"),l={},u={};e=t.exports=function(t,e,n,d,h){var f,p,m,g,v=h?function(){return t}:c(t),_=i(n,d,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=s(t.length);f>y;y++)if(g=e?_(a(p=t[y])[0],p[1]):_(t[y]),g===l||g===u)return g}else for(m=v.call(t);!(p=m.next()).done;)if(g=r(m,_,p.value,e),g===l||g===u)return g};e.BREAK=l,e.RETURN=u},c2a3:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c401:function(t,e,n){"use strict";var i=n("c532"),r=n("2444");t.exports=function(t,e,n){var o=this||r;return i.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c430:function(t,e){t.exports=!1},c4c1:function(t,e,n){var i=n("77e9");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&i(o.call(t)),a}}},c532:function(t,e,n){"use strict";var i=n("1d2b"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===r.call(t)}function l(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function d(t){return"string"===typeof t}function h(t){return"number"===typeof t}function f(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function m(t){return"[object Date]"===r.call(t)}function g(t){return"[object File]"===r.call(t)}function v(t){return"[object Blob]"===r.call(t)}function _(t){return"[object Function]"===r.call(t)}function y(t){return f(t)&&_(t.pipe)}function b(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function T(){var t={};function e(e,n){p(t[n])&&p(e)?t[n]=T(t[n],e):p(e)?t[n]=T({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,i=arguments.length;n<i;n++)x(arguments[n],e);return t}function M(t,e,n){return x(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:s,isFormData:l,isArrayBufferView:u,isString:d,isNumber:h,isObject:f,isPlainObject:p,isUndefined:a,isDate:m,isFile:g,isBlob:v,isFunction:_,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:k,forEach:x,merge:T,extend:M,trim:w,stripBOM:S}},c579:function(t,e,n){"use strict";var i,r,o,a,s=n("e444"),c=n("ef08"),l=n("9c0c"),u=n("6aa8"),d=n("512c"),h=n("7a41"),f=n("1609"),p=n("ba43"),m=n("c253"),g=n("db37"),v=n("bce0").set,_=n("8ecb")(),y=n("f2c2"),b=n("c2a3"),w=n("8e5c"),k=n("24a2"),x="Promise",T=c.TypeError,M=c.process,S=M&&M.versions,C=S&&S.v8||"",E=c[x],L="process"==u(M),A=function(){},O=r=y.f,P=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n("cc15")("species")]=function(t){t(A,A)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(i){}}(),D=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;_((function(){var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a,s=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(r||(2==t._h&&N(t),t._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),a=!0)),n===e.promise?l(T("Promise-chain cycle")):(o=D(n))?o.call(n,c,l):c(n)):l(i)}catch(d){u&&!a&&u.exit(),l(d)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)}))}},I=function(t){v.call(c,(function(){var e,n,i,r=t._v,o=R(t);
vendor: 2,391 bytes, line 369
369if(o&&(e=b((function(){L?M.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)})),t._h=L||R(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){v.call(c,(function(){var e;L?M.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Y=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=D(t))?_((function(){var i={_w:n,_d:!1};try{e.call(t,l(z,i,1),l(Y,i,1))}catch(r){Y.call(i,r)}})):(n._v=t,n._s=1,j(n,!1))}catch(i){Y.call({_w:n,_d:!1},i)}}};P||(E=function(t){p(this,E,x,"_h"),f(t),i.call(this);try{t(l(z,this,1),l(Y,this,1))}catch(e){Y.call(this,e)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("899e")(E.prototype,{then:function(t,e){var n=O(g(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(z,t,1),this.reject=l(Y,t,1)},y.f=O=function(t){return t===E||t===a?new o(t):r(t)}),d(d.G+d.W+d.F*!P,{Promise:E}),n("92f0")(E,x),n("bdad")(x),a=n("5524")[x],d(d.S+d.F*!P,x,{reject:function(t){var e=O(this),n=e.reject;return n(t),e.promise}}),d(d.S+d.F*(s||!P),x,{resolve:function(t){return k(s&&this===a?E:this,t)}}),d(d.S+d.F*!(P&&n("8771")((function(t){E.all(t)["catch"](A)}))),x,{all:function(t){var e=this,n=O(e),i=n.resolve,r=n.reject,o=b((function(){var n=[],o=0,a=1;m(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=O(e),i=n.reject,r=b((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var i=n("da84"),r=n("ce4e"),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},c7aa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
370//! moment.js locale configuration 371var e=t.defineLocale("he",{months:"×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר".split("_"),monthsShort:"×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳".split("_"),weekdays:"ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת".split("_"),weekdaysShort:"×׳_×׳_×׳_×׳_×׳_×׳_ש׳".split("_"),weekdaysMin:"×_×_×_×_×_×_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [×]MMMM YYYY",LLL:"D [×]MMMM YYYY HH:mm",LLLL:"dddd, D [×]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[×××× ×Ö¾]LT",nextDay:"[××ר ×Ö¾]LT",nextWeek:"dddd [×שע×] LT",lastDay:"[×ת××× ×Ö¾]LT",lastWeek:"[××××] dddd [×××ר×× ×שע×] LT",sameElse:"L"},relativeTime:{future:"××¢×× %s",past:"××¤× × %s",s:"×ספר ×©× ××ת",ss:"%d ×©× ××ת",m:"××§×",mm:"%d ××§×ת",h:"שע×",hh:function(t){return 2===t?"שעת×××":t+" שע×ת"},d:"×××",dd:function(t){return 2===t?"××××××":t+" ××××"},M:"×××ש",MM:function(t){return 2===t?"×××ש×××":t+" ×××ש××"},y:"×©× ×",yy:function(t){return 2===t?"×©× ×ª×××":t%10===0&&10!==t?t+" ×©× ×":t+" ×©× ××"}},meridiemParse:/×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i,isPM:function(t){return/^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(t)},meridiem:function(t,e,n){return t<5?"××¤× ×ת ××קר":t<10?"×××קר":t<12?n?'××¤× ×"צ':"××¤× × ×צ×ר×××":t<18?n?'×××"צ':"×××¨× ×צ×ר×××":"×ער×"}});return e}))},c7cd:function(t,e,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return r(this,"tt","","")}})},c8af:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},c8b5:function(t,e,n){var i; 372/*! Hammer.JS - v2.0.7 - 2016-04-22 373 * http://hammerjs.github.io/ 374 * 375 * Copyright (c) 2016 Jorik Tangelder; 376 * Licensed under the MIT license */(function(r,o,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=o.createElement("div"),d="function",h=Math.round,f=Math.abs,p=Date.now;function m(t,e,n){return setTimeout(k(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s){i=0;while(i<t.length)e.call(n,t[i],i,t),i++}else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function _(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}c="function"!==typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var y=_((function(t,e,n){var i=Object.keys(e),r=0;while(r<i.length)(!n||n&&t[i[r]]===s)&&(t[i[r]]=e[i[r]]),r++;return t}),"extend","Use `assign`."),b=_((function(t,e){return y(t,e,!0)}),"merge","Use `assign`.");function w(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&c(i,n)}function k(t,e){return function(){return t.apply(e,arguments)}}function x(t,e){return typeof t==d?t.apply(e&&e[0]||s,e):t}function T(t,e){return t===s?e:t}function M(t,e,n){v(L(e),(function(e){t.addEventListener(e,n,!1)}))}function S(t,e,n){v(L(e),(function(e){t.removeEventListener(e,n,!1)}))}function C(t,e){while(t){if(t==e)return!0;t=t.parentNode}return!1}function E(t,e){return t.indexOf(e)>-1}function L(t){return t.trim().split(/\s+/g)}
vendor: 4,322 bytes, line 376
376function A(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);var i=0;while(i<t.length){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function O(t){return Array.prototype.slice.call(t,0)}function P(t,e,n){var i=[],r=[],o=0;while(o<t.length){var a=e?t[o][e]:t[o];A(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function D(t,e){var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;while(o<l.length){if(n=l[o],i=n?n+r:e,i in t)return i;o++}return s}var j=1;function I(){return j++}function R(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var N=/mobile|tablet|ip(ad|hone|od)|android/i,Y="ontouchstart"in r,z=D(r,"PointerEvent")!==s,B=Y&&N.test(navigator.userAgent),F="touch",H="pen",V="mouse",U="kinect",W=25,$=1,X=2,q=4,G=8,Z=1,J=2,K=4,Q=8,tt=16,et=J|K,nt=Q|tt,it=et|nt,rt=["x","y"],ot=["clientX","clientY"];function at(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){x(t.options.enable,[t])&&n.handler(e)},this.init()}function st(t){var e,n=t.options.inputClass;return e=n||(z?Et:B?Rt:Y?Bt:xt),new e(t,ct)}function ct(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&$&&i-r===0,a=e&(q|G)&&i-r===0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,lt(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function lt(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=ht(e)),r>1&&!n.firstMultiple?n.firstMultiple=ht(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,c=e.center=ft(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=vt(s,c),e.distance=gt(s,c),ut(n,e),e.offsetDirection=mt(e.deltaX,e.deltaY);var l=pt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=f(l.x)>f(l.y)?l.x:l.y,e.scale=a?yt(a.pointers,i):1,e.rotation=a?_t(a.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,dt(n,e);var u=t.element;C(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function ut(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==$&&o.eventType!==q||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function dt(t,e){var n,i,r,o,a=t.lastInterval||e,c=e.timeStamp-a.timeStamp;if(e.eventType!=G&&(c>W||a.velocity===s)){var l=e.deltaX-a.deltaX,u=e.deltaY-a.deltaY,d=pt(c,l,u);i=d.x,r=d.y,n=f(d.x)>f(d.y)?d.x:d.y,o=mt(l,u),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function ht(t){var e=[],n=0;while(n<t.pointers.length)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:e,center:ft(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ft(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};var n=0,i=0,r=0;while(r<e)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:h(n/e),y:h(i/e)}}function pt(t,e,n){return{x:e/t||0,y:n/t||0}}function mt(t,e){return t===e?Z:f(t)>=f(e)?t<0?J:K:e<0?Q:tt}function gt(t,e,n){n||(n=rt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function vt(t,e,n){n||(n=rt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function _t(t,e){return vt(e[1],e[0],ot)+vt(t[1],t[0],ot)}function yt(t,e){return gt(e[0],e[1],ot)/gt(t[0],t[1],ot)}at.prototype={handler:function(){},init:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(R(this.element),this.evWin,this.domHandler)}};var bt={mousedown:$,mousemove:X,mouseup:q},wt="mousedown",kt="mousemove mouseup";function xt(){this.evEl=wt,this.evWin=kt,this.pressed=!1,at.apply(this,arguments)}w(xt,at,{handler:function(t){var e=bt[t.type];e&$&&0===t.button&&(this.pressed=!0),e&X&&1!==t.which&&(e=q),this.pressed&&(e&q&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],
vendor: 4,277 bytes, line 376
376changedPointers:[t],pointerType:V,srcEvent:t}))}});var Tt={pointerdown:$,pointermove:X,pointerup:q,pointercancel:G,pointerout:G},Mt={2:F,3:H,4:V,5:U},St="pointerdown",Ct="pointermove pointerup pointercancel";function Et(){this.evEl=St,this.evWin=Ct,at.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(St="MSPointerDown",Ct="MSPointerMove MSPointerUp MSPointerCancel"),w(Et,at,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Tt[i],o=Mt[t.pointerType]||t.pointerType,a=o==F,s=A(e,t.pointerId,"pointerId");r&$&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):r&(q|G)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var Lt={touchstart:$,touchmove:X,touchend:q,touchcancel:G},At="touchstart",Ot="touchstart touchmove touchend touchcancel";function Pt(){this.evTarget=At,this.evWin=Ot,this.started=!1,at.apply(this,arguments)}function Dt(t,e){var n=O(t.touches),i=O(t.changedTouches);return e&(q|G)&&(n=P(n.concat(i),"identifier",!0)),[n,i]}w(Pt,at,{handler:function(t){var e=Lt[t.type];if(e===$&&(this.started=!0),this.started){var n=Dt.call(this,t,e);e&(q|G)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}});var jt={touchstart:$,touchmove:X,touchend:q,touchcancel:G},It="touchstart touchmove touchend touchcancel";function Rt(){this.evTarget=It,this.targetIds={},at.apply(this,arguments)}function Nt(t,e){var n=O(t.touches),i=this.targetIds;if(e&($|X)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=O(t.changedTouches),s=[],c=this.target;if(o=n.filter((function(t){return C(t.target,c)})),e===$){r=0;while(r<o.length)i[o[r].identifier]=!0,r++}r=0;while(r<a.length)i[a[r].identifier]&&s.push(a[r]),e&(q|G)&&delete i[a[r].identifier],r++;return s.length?[P(o.concat(s),"identifier",!0),s]:void 0}w(Rt,at,{handler:function(t){var e=jt[t.type],n=Nt.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}});var Yt=2500,zt=25;function Bt(){at.apply(this,arguments);var t=k(this.handler,this);this.touch=new Rt(this.manager,t),this.mouse=new xt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Ft(t,e){t&$?(this.primaryTouch=e.changedPointers[0].identifier,Ht.call(this,e)):t&(q|G)&&Ht.call(this,e)}function Ht(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,Yt)}}function Vt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),a=Math.abs(n-r.y);if(o<=zt&&a<=zt)return!0}return!1}w(Bt,at,{handler:function(t,e,n){var i=n.pointerType==F,r=n.pointerType==V;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)Ft.call(this,e,n);else if(r&&Vt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ut=D(u.style,"touchAction"),Wt=Ut!==s,$t="compute",Xt="auto",qt="manipulation",Gt="none",Zt="pan-x",Jt="pan-y",Kt=ee();function Qt(t,e){this.manager=t,this.set(e)}function te(t){if(E(t,Gt))return Gt;var e=E(t,Zt),n=E(t,Jt);return e&&n?Gt:e||n?e?Zt:Jt:E(t,qt)?qt:Xt}function ee(){if(!Wt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||r.CSS.supports("touch-action",n)})),t}Qt.prototype={set:function(t){t==$t&&(t=this.compute()),Wt&&this.manager.element.style&&Kt[t]&&(this.manager.element.style[Ut]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(e){x(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),te(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=E(i,Gt)&&!Kt[Gt],o=E(i,Jt)&&!Kt[Jt],a=E(i,Zt)&&!Kt[Zt];if(r){var s=1===t.pointers.length,c=t.distance<2,l=t.deltaTime<250;
vendor: 6,176 bytes, line 376
376if(s&&c&&l)return}if(!a||!o)return r||o&&n&et||a&&n&nt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ne=1,ie=2,re=4,oe=8,ae=oe,se=16,ce=32;function le(t){this.options=c({},this.defaults,t||{}),this.id=I(),this.manager=null,this.options.enable=T(this.options.enable,!0),this.state=ne,this.simultaneous={},this.requireFail=[]}function ue(t){return t&se?"cancel":t&oe?"end":t&re?"move":t&ie?"start":""}function de(t){return t==tt?"down":t==Q?"up":t==J?"left":t==K?"right":""}function he(t,e){var n=e.manager;return n?n.get(t):t}function fe(){le.apply(this,arguments)}function pe(){fe.apply(this,arguments),this.pX=null,this.pY=null}function me(){fe.apply(this,arguments)}function ge(){le.apply(this,arguments),this._timer=null,this._input=null}function ve(){fe.apply(this,arguments)}function _e(){fe.apply(this,arguments)}function ye(){le.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function be(t,e){return e=e||{},e.recognizers=T(e.recognizers,be.defaults.preset),new xe(t,e)}le.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=he(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)||(t=he(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return t=he(t,this),-1===A(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=he(t,this);var e=A(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<oe&&i(e.options.event+ue(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=oe&&i(e.options.event+ue(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=ce},canEmit:function(){var t=0;while(t<this.requireFail.length){if(!(this.requireFail[t].state&(ce|ne)))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=ce);this.state&(ae|se|ce)&&(this.state=ne),this.state=this.process(e),this.state&(ie|re|oe|se)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(fe,le,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(ie|re),r=this.attrTest(t);return i&&(n&G||!r)?e|se:i||r?n&q?e|oe:e&ie?e|re:ie:ce}}),w(pe,fe,{defaults:{event:"pan",threshold:10,pointers:1,direction:it},getTouchAction:function(){var t=this.options.direction,e=[];return t&et&&e.push(Jt),t&nt&&e.push(Zt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&et?(r=0===o?Z:o<0?J:K,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?Z:a<0?Q:tt,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return fe.prototype.attrTest.call(this,t)&&(this.state&ie||!(this.state&ie)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=de(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(me,fe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Gt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&ie)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),w(ge,le,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Xt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(q|G)&&!r)this.reset();else if(t.eventType&$)this.reset(),this._timer=m((function(){this.state=ae,this.tryEmit()}),e.time,this);else if(t.eventType&q)return ae;return ce},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ae&&(t&&t.eventType&q?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),w(ve,fe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Gt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&ie)}}),w(_e,fe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:et|nt,pointers:1},getTouchAction:function(){return pe.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(et|nt)?e=t.overallVelocity:n&et?e=t.overallVelocityX:n&nt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&t.eventType&q},emit:function(t){var e=de(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(ye,le,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[qt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&$&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=q)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||gt(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;var s=this.count%e.taps;if(0===s)return this.hasRequireFailures()?(this._timer=m((function(){this.state=ae,this.tryEmit()}
vendor: 3,580 bytes, line 376
376),e.interval,this),ie):ae}return ce},failTimeout:function(){return this._timer=m((function(){this.state=ce}),this.options.interval,this),ce},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ae&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),be.VERSION="2.0.7",be.defaults={domEvents:!1,touchAction:$t,enable:!0,inputTarget:null,inputClass:null,preset:[[ve,{enable:!1}],[me,{enable:!1},["rotate"]],[_e,{direction:et}],[pe,{direction:et},["swipe"]],[ye],[ye,{event:"doubletap",taps:2},["tap"]],[ge]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var we=1,ke=2;function xe(t,e){this.options=c({},be.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=st(this),this.touchAction=new Qt(this,this.options.touchAction),Te(this,!0),v(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Te(t,e){var n,i=t.element;i.style&&(v(t.options.cssProps,(function(r,o){n=D(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}function Me(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}xe.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?ke:we},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ae)&&(r=e.curRecognizer=null);var o=0;while(o<i.length)n=i[o],e.stopped===ke||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(ie|re|oe)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof le)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t),t){var e=this.recognizers,n=A(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return v(L(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==s){var n=this.handlers;return v(L(t),(function(t){e?n[t]&&n[t].splice(A(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&Me(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};var i=0;while(i<n.length)n[i](e),i++}},destroy:function(){this.element&&Te(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(be,{INPUT_START:$,INPUT_MOVE:X,INPUT_END:q,INPUT_CANCEL:G,STATE_POSSIBLE:ne,STATE_BEGAN:ie,STATE_CHANGED:re,STATE_ENDED:oe,STATE_RECOGNIZED:ae,STATE_CANCELLED:se,STATE_FAILED:ce,DIRECTION_NONE:Z,DIRECTION_LEFT:J,DIRECTION_RIGHT:K,DIRECTION_UP:Q,DIRECTION_DOWN:tt,DIRECTION_HORIZONTAL:et,DIRECTION_VERTICAL:nt,DIRECTION_ALL:it,Manager:xe,Input:at,TouchAction:Qt,TouchInput:Rt,MouseInput:xt,PointerEventInput:Et,TouchMouseInput:Bt,SingleTouchInput:Pt,Recognizer:le,AttrRecognizer:fe,Tap:ye,Pan:
376pe,Swipe:_e,Pinch:me,Rotate:ve,Press:ge,on:M,off:S,each:v,merge:b,extend:y,assign:c,inherit:w,bindFn:k,prefixed:D});var Se="undefined"!==typeof r?r:"undefined"!==typeof self?self:{};Se.Hammer=be,i=function(){return be}.call(e,n,e,t),i===s||(t.exports=i)})(window,document)},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c8d2:function(t,e,n){var i=n("d039"),r=n("5899"),o="â á ";t.exports=function(t){return i((function(){return!!r[t]()||o[t]()!=o||r[t].name!==t}))}},c8f3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 377//! moment.js locale configuration 378var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},c901:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c995:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return"nc-"+parseInt(1e9*Math.random())}},ca84:function(t,e,n){var i=n("5135"),r=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&l.push(n);while(e.length>c)i(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},ca91:function(t,e,n){"use strict";var i=n("ebb5"),r=n("d58f").left,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("reduce",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},ca95:function(t,e,n){(function(t,e){e(n("c8b5"))})(0,(function(e){"use strict";function n(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];for(var i=0;i<e.length;i++)for(var r=e[i],o=Object.keys(r),a=0;a<o.length;a++){var s=o[a];t[s]=r[s]}return t}function i(){return{type:Object,default:function(){return{}}}}function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}e="default"in e?e["default"]:e;var o=["up","down","left","right","horizontal","vertical","all"];function a(t){var n=t.direction;if("string"===typeof n){var i="DIRECTION_"+n.toUpperCase();o.indexOf(n)>-1&&e.hasOwnProperty(i)?t.direction=e[i]:console.warn("[vue-touch] invalid direction: "+n)}return t}var s={},c={},l=["pan","panstart","panmove","panend","pancancel","panleft","panright","panup","pandown","pinch","pinchstart","pinchmove","pinchend","pinchcancel","pinchin","pinchout","press","pressup","rotate","rotatestart","rotatemove","rotateend","rotatecancel","swipe","swipeleft","swiperight","swipeup","swipedown","tap"],u={pan:"pan",panstart:"pan",panmove:"pan",panend:"pan",pancancel:"pan",panleft:"pan",panright:"pan",panup:"pan",pandown:"pan",pinch:"pinch",pinchstart:"pinch",pinchmove:"pinch",pinchend:"pinch",pinchcancel:"pinch",pinchin:"pinch",pinchout:"pinch",press:"press",pressup:"press",rotate:"rotate",rotatestart:"rotate",rotatemove:"rotate",rotateend:"rotate",rotatecancel:"rotate",swipe:"swipe",swipeleft:"swipe",swiperight:"swipe",swipeup:"swipe",swipedown:"swipe",tap:"tap"},d={props:{options:i(),tapOptions:i(),panOptions:i(),pinchOptions:i(),pressOptions:i(),rotateOptions:i(),swipeOptions:i(),tag:{type:String,default:"div"},enabled:{default:!0,type:[Boolean,Object]}},mounted:function(){this.$isServer||(this.hammer=new e.Manager(this.$el,this.options),this.recognizers={},this.setupBuiltinRecognizers(),this.setupCustomRecognizers(),this.updateEnabled(this.enabled))},destroyed:function(){this.$isServer||this.hammer.destroy()},watch:{enabled:{deep:!0,handler:function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];(t=this).updateEnabled.apply(t,e)}}},methods:{setupBuiltinRecognizers:function(){for(var t=this,e=0;e<l.length;e++){var i=l[e];
378if(t._events[i]){var r=u[i],o=n({},s[r]||{},t[r+"Options"]);t.addRecognizer(r,o),t.addEvent(i)}}},setupCustomRecognizers:function(){for(var t=this,e=Object.keys(c),i=0;i<e.length;i++){var r=e[i];if(t._events[r]){var o=c[r],a=t[r+"Options"]||{},s=n({},o,a);t.addRecognizer(r,s,{mainGesture:s.type}),t.addEvent(r)}}},addRecognizer:function(t,n,i){void 0===i&&(i={});var o=i.mainGesture;if(!this.recognizers[t]){var s=new(e[r(o||t)])(a(n));this.recognizers[t]=s,this.hammer.add(s),s.recognizeWith(this.hammer.recognizers)}},addEvent:function(t){var e=this;this.hammer.on(t,(function(n){return e.$emit(t,n)}))},updateEnabled:function(t,e){var n=this;if(!0===t)this.enableAll();else if(!1===t)this.disableAll();else if("object"===typeof t)for(var i=Object.keys(t),r=0;r<i.length;r++){var o=i[r];n.recognizers[o]&&(t[o]?n.enable(o):n.disable(o))}},enable:function(t){var e=this.recognizers[t];e.options.enable||e.set({enable:!0})},disable:function(t){var e=this.recognizers[t];e.options.enable&&e.set({enable:!1})},toggle:function(t){var e=this.recognizers[t];e&&(e.options.enable?this.disable(t):this.enable(t))},enableAll:function(t){this.toggleAll({enable:!0})},disableAll:function(t){this.toggleAll({enable:!1})},toggleAll:function(t){for(var e=this,n=t.enable,i=Object.keys(this.recognizers),r=0;r<i.length;r++){var o=e.recognizers[i[r]];o.options.enable!==n&&o.set({enable:n})}},isEnabled:function(t){return this.recognizers[t]&&this.recognizers[t].options.enable}},render:function(t){return t(this.tag,{},this.$slots.default)}},h=!1,f={config:s,customEvents:c};f.install=function(t,e){void 0===e&&(e={});var i=e.name||"v-touch";t.component(i,n(d,{name:i})),h=!0}.bind(f),f.registerCustomEvent=function(t,e){void 0===e&&(e={}),h?console.warn("\n [vue-touch]: Custom Event '"+t+"' couldn't be added to vue-touch.\n Custom Events have to be registered before installing the plugin.\n "):(e.event=t,c[t]=e,d.props[t+"Options"]={type:Object,default:function(){return{}}})}.bind(f),f.component=d,t.exports=f}))},caad:function(t,e,n){"use strict";var i=n("23e7"),r=n("4d64").includes,o=n("44d2");i({target:"Array",proto:!0},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(t,e,n){var i=n("23e7"),r=n("81d5"),o=n("44d2");i({target:"Array",proto:!0},{fill:r}),o("fill")},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc15:function(t,e,n){var i=n("b367")("wks"),r=n("8b1a"),o=n("ef08").Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},cc71:function(t,e,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("bold")},{bold:function(){return r(this,"b","","")}})},cca6:function(t,e,n){var i=n("23e7"),r=n("60da");i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},cd26:function(t,e,n){"use strict";var i=n("ebb5"),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){var t,e=this,n=r(e).length,i=a(n/2),o=0;while(o<i)t=e[o],e[o++]=e[--n],e[n]=t;return e}))},cdf9:function(t,e,n){var i=n("825a"),r=n("861d"),o=n("f069");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},ce4e:function(t,e,n){var i=n("da84");t.exports=function(t,e){try{Object.defineProperty(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},ce7a:function(t,e,n){var i=n("9c0e"),r=n("0983"),o=n("5a94")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},ce8c:function(t,e,n){},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function c(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var l=c(s);l.Axios=o,l.create=function(t){return c(a(l.defaults,t))},l.Cancel=n("7a77"),l.CancelToken=n("8df4b"),l.isCancel=n("2e67"),l.all=function(t){return Promise.all(t)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),t.exports=l,t.exports.default=l},cf1e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,972 bytes, lines 379-380
379//! moment.js locale configuration 380var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){var t=["[proÅ¡le] [nedelje] [u] LT","[proÅ¡log] [ponedeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 1,564 bytes, lines 381-382
381//! moment.js locale configuration 382var e=t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à ] LT",nextDay:"[demà à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[ieiri à ] LT",lastWeek:"[sür el] dddd [lasteu à ] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n mÃut","'iens mÃut"],mm:[t+" mÃuts",t+" mÃuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?r[n][0]:r[n][1]}return e}))},cf75:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
383//! moment.js locale configuration 384var e="pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq",e}function i(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Huâ":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret",e}function r(t,e,n,i){var r=o(t);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function o(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+e[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+e[r]),""===o?"pagh":o}var a=t.defineLocale("tlh",{months:"teraâ jar waâ_teraâ jar chaâ_teraâ jar wej_teraâ jar loS_teraâ jar vagh_teraâ jar jav_teraâ jar Soch_teraâ jar chorgh_teraâ jar Hut_teraâ jar waâmaH_teraâ jar waâmaH waâ_teraâ jar waâmaH chaâ".split("_"),monthsShort:"jar waâ_jar chaâ_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar waâmaH_jar waâmaH waâ_jar waâmaH chaâ".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waâleS] LT",nextWeek:"LLL",lastDay:"[waâHuâ] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:i,s:"puS lup",ss:r,m:"waâ tup",mm:r,h:"waâ rep",hh:r,d:"waâ jaj",dd:r,M:"waâ jar",MM:r,y:"waâ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},cfc3:function(t,e,n){var i=n("74e8");i("Float32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},d012:function(t,e){t.exports={}},d02c:function(t,e){var n=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function i(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function r(t){function e(t,e,n,i){return 3600*(0|t)+60*(0|e)+(0|n)+(0|i)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function o(){this.values=n(null)}function a(t,e,n,i){var r=i?t.split(i):[t];for(var o in r)if("string"===typeof r[o]){var a=r[o].split(n);if(2===a.length){var s=a[0],c=a[1];e(s,c)}}}function s(t,e,n){var s=t;function c(){var e=r(t);if(null===e)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+s);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function l(t,e){var i=new o;a(t,(function(t,e){switch(t){case"region":for(var r=n.length-1;r>=0;r--)if(n[r].id===e){i.set(t,n[r].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),a=o[0];i.integer(t,a),i.percent(t,a)&&i.set("snapToLines",!1),i.alt(t,a,["auto"]),2===o.length&&i.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),i.percent(t,o[0]),2===o.length&&i.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start","middle","end","left","right"]);break}}),/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical",""),e.line=i.get("line","auto"),e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align","middle"),e.position=i.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=i.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function u(){t=t.replace(/^\s+/,"")}if(u(),e.startTime=c(),u(),"--\x3e"!==t.substr(0,3))throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+s);t=t.substr(3),u(),e.endTime=c(),u(),l(t,e)}i.prototype=n(Error.prototype),i.prototype.constructor=i,i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var i=0;i<n.length;++i)if(e===n[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var c={"&":"&","<":"<",">":">","‎":"â","‏":"â"," ":"Â "},l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},u={v:"title",lang:"lang"},d={rt:"ruby"};function h(t,e){function n(){if(!e)return null;function t(t){return e=e.substr(t.length),t}var n=e.match(/^([^<]*)(<[^>
384]*>?)?/);return t(n[1]?n[1]:n[2])}function i(t){return c[t]}function o(t){while(_=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))t=t.replace(_[0],i);return t}function a(t,e){return!d[e.localName]||d[e.localName]===t.localName}function s(e,n){var i=l[e];if(!i)return null;var r=t.document.createElement(i);r.localName=i;var o=u[e];return o&&n&&(r[o]=n.trim()),r}var h,f=t.document.createElement("div"),p=f,m=[];while(null!==(h=n()))if("<"!==h[0])p.appendChild(t.document.createTextNode(o(h)));else{if("/"===h[1]){m.length&&m[m.length-1]===h.substr(2).replace(">","")&&(m.pop(),p=p.parentNode);continue}var g,v=r(h.substr(1,h.length-2));if(v){g=t.document.createProcessingInstruction("timestamp",v),p.appendChild(g);continue}var _=h.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!_)continue;if(g=s(_[1],_[3]),!g)continue;if(!a(p,g))continue;_[2]&&(g.className=_[2].substr(1).replace("."," ")),m.push(_[1]),p.appendChild(g),p=g}return f}var f=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function p(t){for(var e=0;e<f.length;e++){var n=f[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function m(t){var e,n=[],i="";if(!t||!t.childNodes)return"ltr";function r(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function o(t){if(!t||!t.length)return null;var e=t.pop(),n=e.textContent||e.innerText;if(n){var i=n.match(/^.*(\n|\r)/);return i?(t.length=0,i[0]):n}return"ruby"===e.tagName?o(t):e.childNodes?(r(t,e),o(t)):void 0}r(n,t);while(i=o(n))for(var a=0;a<i.length;a++)if(e=i.charCodeAt(a),p(e))return"rtl";return"ltr"}function g(t){if("number"===typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,i=0,r=0;r<n.length&&n[r]!==e;r++)"showing"===n[r].mode&&i++;return-1*++i}function v(){}function _(t,e,n){var i=/MSIE\s8\.0/.test(navigator.userAgent),r="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";i&&(r="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),v.call(this),this.cue=e,this.cueDiv=h(t,e.text);var a={color:r,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};i||(a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",a.unicodeBidi="plaintext"),this.applyStyles(a,this.cueDiv),this.div=t.document.createElement("div"),a={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},i||(a.direction=m(this.cueDiv),a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(a),this.div.appendChild(this.cueDiv);var s=0;switch(e.positionAlign){case"start":s=e.position;break;case"middle":s=e.position-e.size/2;break;case"end":s=e.position-e.size;break}""===e.vertical?this.applyStyles({left:this.formatStyle(s,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(s,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")}
vendor: 5,575 bytes, line 384
384)}}function y(t){var e,n,i,r,o=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,i=t.div.offsetWidth,r=t.div.offsetTop;var a=(a=t.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();t=t.div.getBoundingClientRect(),e=a?Math.max(a[0]&&a[0].height||0,t.height/a.length):0}this.left=t.left,this.right=t.right,this.top=t.top||r,this.height=t.height||n,this.bottom=t.bottom||r+(t.height||n),this.width=t.width||i,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function b(t,e,n,i){function r(t,e){for(var r,o=new y(t),a=1,s=0;s<e.length;s++){while(t.overlapsOppositeAxis(n,e[s])||t.within(n)&&t.overlapsAny(i))t.move(e[s]);if(t.within(n))return t;var c=t.intersectPercentage(n);a>c&&(r=new y(t),a=c),t=new y(o)}return r||o}var o=new y(e),a=e.cue,s=g(a),c=[];if(a.snapToLines){var l;switch(a.vertical){case"":c=["+y","-y"],l="height";break;case"rl":c=["+x","-x"],l="width";break;case"lr":c=["-x","+x"],l="width";break}var u=o.lineHeight,d=u*Math.round(s),h=n[l]+u,f=c[0];Math.abs(d)>h&&(d=d<0?-1:1,d*=Math.ceil(h/u)*u),s<0&&(d+=""===a.vertical?n.height:n.width,c=c.reverse()),o.move(f,d)}else{var p=o.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=p/2;break;case"end":s-=p;break}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")});break}c=["+y","-x","+x","-y"],o=new y(e)}var m=r(o,c);e.move(m.toCSSCompatValues(n))}function w(){}v.prototype.applyStyles=function(t,e){for(var n in e=e||this.div,t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},v.prototype.formatStyle=function(t,e){return 0===t?0:t+e},_.prototype=n(v.prototype),_.prototype.constructor=_,y.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e;break}},y.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},y.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},y.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},y.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},y.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),i=e*n;return i/(this.height*this.width)},y.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},y.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,i=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var r={left:t.left,right:t.right,top:t.top||i,height:t.height||e,bottom:t.bottom||i+(t.height||e),width:t.width||n};return r},w.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},w.convertCueToDOMTree=function(t,e){return t&&e?h(t,e):null};var k=.05,x="sans-serif",T="1.5%";w.processCues=function(t,e,n){if(!t||!e||!n)return null;while(n.firstChild)n.removeChild(n.firstChild);var i=t.document.createElement("div");function r(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin=T,n.appendChild(i),r(e)){var o=[],a=y.getSimpleBoxPosition(i),s=Math.round(a.height*k*100)/100,c={font:s+"px "+x};(function(){for(var n,r,s=0;s<e.length;s++)r=e[s],n=new _(t,r,c),i.appendChild(n.div),b(t,n,a,o),r.displayState=n.div,o.push(y.getSimpleBoxPosition(n))})()}else for(var l=0;l<e.length;l++)i.appendChild(e[l].displayState)},w.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},w.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof i))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var e=this;function n(){var t=e.buffer,n=0;while(n<t.length&&"\r"!==t[n]&&"\n"!==t[n])++n;var i=t.substr(0,n);return"\r"===t[n]&&++n,"\n"===t[n]&&++n,e.buffer=t.substr(n),i}function c(t){var n=new o;if(a(t,(function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var i=e.split(",");if(2!==i.length)break;var r=new o;if(r.percent("x",i[0]),r.percent("y",i[1]),!r.has("x")||!r.has("y"))break;n.set(t+"X",r.get("x")),n.set(t+"Y",r.get("y"));break;case"scroll":n.alt(t,e,["up"]);break}}),/=/,/\s/),n.has("id")){var i=new(e.vttjs.VTTRegion||e.window.VTTRegion);i.width=n.get("width",100),i.lines=n.get("lines",3),i.regionAnchorX=n.get("regionanchorX",0),i.regionAnchorY=n.get("regionanchorY",100),i.viewportAnchorX=n.get("viewportanchorX",0),i.viewportAnchorY=n.get("viewportanchorY",100),i.scroll=n.get("scroll",""),e.onregion&&e.onregion(i),e.regi
384onList.push({id:n.get("id"),region:i})}}function l(t){var n=new o;a(t,(function(t,e){switch(t){case"MPEGT":n.integer(t+"S",e);break;case"LOCA":n.set(t+"L",r(e));break}}),/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}function u(t){t.match(/X-TIMESTAMP-MAP/)?a(t,(function(t,e){switch(t){case"X-TIMESTAMP-MAP":l(e);break}}),/=/):a(t,(function(t,e){switch(t){case"Region":c(e);break}}),/:/)}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var d;if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;d=n();var h=d.match(/^WEBVTT([ \t].*)?$/);if(!h||!h[0])throw new i(i.Errors.BadSignature);e.state="HEADER"}var f=!1;while(e.buffer){if(!/\r\n|\n/.test(e.buffer))return this;switch(f?f=!1:d=n(),e.state){case"HEADER":/:/.test(d)?u(d):d||(e.state="ID");continue;case"NOTE":d||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(d)){e.state="NOTE";break}if(!d)continue;if(e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,""),e.state="CUE",-1===d.indexOf("--\x3e")){e.cue.id=d;continue}case"CUE":try{s(d,e.cue,e.regionList)}catch(m){e.reportOrThrowError(m),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var p=-1!==d.indexOf("--\x3e");if(!d||p&&(f=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=d;continue;case"BADCUE":d||(e.state="ID");continue}}}catch(m){e.reportOrThrowError(m),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new i(i.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=w},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("da84"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t]):i[t]&&i[t][e]}},d139:function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").find,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("find",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},d16a:function(t,e,n){var i=n("fc5e"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d1f2:function(t,e,n){"use strict";n("d3b7");var i=n("dd2e");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},d26a:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,911 bytes, lines 385-386
385//! moment.js locale configuration 386var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},i=t.defineLocale("bo",{months:"à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½ ིà½à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½à½²à½¦à¼à½".split("_"),monthsShort:"à½à¾³à¼1_à½à¾³à¼2_à½à¾³à¼3_à½à¾³à¼4_à½à¾³à¼5_à½à¾³à¼6_à½à¾³à¼7_à½à¾³à¼8_à½à¾³à¼9_à½à¾³à¼10_à½à¾³à¼11_à½à¾³à¼12".split("_"),monthsShortRegex:/^(à½à¾³à¼\d{1,2})/,monthsParseExact:!0,weekdays:"à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼".split("_"),weekdaysShort:"à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼".split("_"),weekdaysMin:"à½à½²_à½à¾³_à½à½²à½_ལྷà½_à½à½´à½¢_སà½à½¦_སྤེà½".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à½à½²à¼à½¢à½²à½] LT",nextDay:"[སà½à¼à½à½²à½] LT",nextWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT",lastDay:"[à½à¼à½¦à½] LT",lastWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལà¼",past:"%s སà¾à½à¼à½£",s:"ལà½à¼à½¦à½",ss:"%d སà¾à½¢à¼à½à¼",m:"སà¾à½¢à¼à½à¼à½à½ ིà½",mm:"%d སà¾à½¢à¼à½",h:"à½à½´à¼à½à½¼à½à¼à½à½ ིà½",hh:"%d à½à½´à¼à½à½¼à½",d:"à½à½²à½à¼à½à½ ིà½",dd:"%d à½à½²à½à¼",M:"à½à¾³à¼à½à¼à½à½ ིà½",MM:"%d à½à¾³à¼à½",y:"ལོà¼à½à½ ིà½",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/,meridiemHour:function(t,e){return 12===t&&(t=0),"à½à½à½à¼à½à½¼"===e&&t>=4||"à½à½²à½à¼à½à½´à½"===e&&t<5||"à½à½à½¼à½à¼à½à½"===e?t+12:t},meridiem:function(t,e,n){return t<4?"à½à½à½à¼à½à½¼":t<10?"à½à½¼à½à½¦à¼à½à½¦":t<17?"à½à½²à½à¼à½à½´à½":t<20?"à½à½à½¼à½à¼à½à½":"à½à½à½à¼à½à½¼"},week:{dow:0,doy:6}});return i}))},d28b:function(t,e,n){var i=n("746f");i("iterator")},d2bb:function(t,e,n){var i=n("825a"),r=n("3bbe");
386t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d2d4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 387//! moment.js locale configuration 388var e=t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [à s] HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return e}))},d3b7:function(t,e,n){var i=n("00ee"),r=n("6eeb"),o=n("b041");i||r(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,r=n("5135"),o=n("b622"),a=o("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},d46b:function(t,e,n){n("e70e"),t.exports=n("5524").Object.keys},d4c3:function(t,e,n){var i=n("342f"),r=n("da84");t.exports=/iphone|ipod|ipad/i.test(i)&&void 0!==r.Pebble},d4ec:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},d58f:function(t,e,n){var i=n("1c0b"),r=n("7b0b"),o=n("44ad"),a=n("50c4"),s=function(t){return function(e,n,s,c){i(n);var l=r(e),u=o(l),d=a(l.length),h=t?d-1:0,f=t?-1:1;if(s<2)while(1){if(h in u){c=u[h],h+=f;break}if(h+=f,t?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:d>h;h+=f)h in u&&(c=n(c,u[h],h,l));return c}};t.exports={left:s(!1),right:s(!0)}},d5d6:function(t,e,n){"use strict";var i=n("ebb5"),r=n("b727").forEach,o=i.aTypedArray,a=i.exportTypedArrayMethod;
388a("forEach",(function(t){r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},d657:function(t,e,n){"use strict";n("d3b7"),n("3ca3"),n("ddb0");var i=n("4d13"),r=n("969c"),o=n("0361"),a=n("776d"),s=n("f548");function c(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var l=c(s);l.Axios=o,l.create=function(t){return c(a(l.defaults,t))},l.Cancel=n("dd2e"),l.CancelToken=n("d1f2"),l.isCancel=n("40da"),l.all=function(t){return Promise.all(t)},l.spread=n("f79b"),t.exports=l,t.exports.default=l},d69a:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 389//! moment.js locale configuration 390var e=t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},d6b6:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
391//! moment.js locale configuration 392var e=t.defineLocale("hy-am",{months:{format:"Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«".split("_"),standalone:"Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö".split("_")},monthsShort:"Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿".split("_"),weekdays:"Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©".split("_"),weekdaysShort:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),weekdaysMin:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Õ©.",LLL:"D MMMM YYYY Õ©., HH:mm",LLLL:"dddd, D MMMM YYYY Õ©., HH:mm"},calendar:{sameDay:"[Õ¡ÕµÕ½Ö Ö] LT",nextDay:"[Õ¾Õ¡Õ²Õ¨] LT",lastDay:"[Õ¥ÖÕ¥Õ¯] LT",nextWeek:function(){return"dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},lastWeek:function(){return"[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},sameElse:"L"},relativeTime:{future:"%s Õ°Õ¥Õ¿Õ¸",past:"%s Õ¡Õ¼Õ¡Õ»",s:"Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",ss:"%d Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",m:"ÖÕ¸ÕºÕ¥",mm:"%d ÖÕ¸ÕºÕ¥",h:"ÕªÕ¡Õ´",hh:"%d ÕªÕ¡Õ´",d:"Ö Ö",dd:"%d Ö Ö",M:"Õ¡Õ´Õ«Õ½",MM:"%d Õ¡Õ´Õ«Õ½",y:"Õ¿Õ¡ÖÕ«",yy:"%d Õ¿Õ¡ÖÕ«"},meridiemParse:/Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/,isPM:function(t){return/^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(t)},meridiem:function(t){return t<4?"Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡":t<12?"Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡":t<17?"ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡":"Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-Õ«Õ¶":t+"-ÖÕ¤";default:return t}},week:{dow:1,doy:7}});return e}))},d6d3:function(t,e,n){!function(e,i){t.exports=i(n("3d33"))}(0,(function(t){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=3)}([function(e,n){e.exports=t},function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),a=window.videojs||o.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0});var s=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"];e.default={name:"video-player",props:{start:{type:Number,default:0},crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{controls:!0,controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var t=this,e=Object.assign({},this.globalOptions,this.options);this.playsinline&&(this.$refs.video.setAttribute("playsinline",this.playsinline),this.$refs.video.setAttribute("webkit-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-video-player-type","h5"),this.$refs.video.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(this.$refs.video.crossOrigin=this.crossOrigin,this.$refs.video.setAttribute("crossOrigin",this.crossOrigin));var n=function(e,n){e&&t.$emit(e,t.player),n&&t.$emit(t.customEventName,i({}
392,e,n))};e.plugins&&delete e.plugins.__ob__;var r=this;this.player=a(this.$refs.video,e,(function(){for(var t=this,e=s.concat(r.events).concat(r.globalEvents),i={},o=0;o<e.length;o++)"string"==typeof e[o]&&void 0===i[e[o]]&&function(e){i[e]=null,t.on(e,(function(){n(e,!0)}))}(e[o]);this.on("timeupdate",(function(){n("timeupdate",this.currentTime())})),r.$emit("ready",this)}))},dispose:function(t){var e=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick((function(){e.reseted=!1,e.$nextTick((function(){e.reseted=!0,e.$nextTick((function(){t&&t()}))}))})))}},watch:{options:{deep:!0,handler:function(t,e){var n=this;this.dispose((function(){t&&t.sources&&t.sources.length&&n.initialize()}))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n.n(i);for(var o in i)["default","default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(5),s=n(4),c=s(r.a,a.a,!1,null,null,null);e.default=c.exports},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.videoPlayer=e.videojs=void 0;var r=n(0),o=i(r),a=n(2),s=i(a),c=window.videojs||o.default,l=function(t,e){e&&(e.options&&(s.default.props.globalOptions.default=function(){return e.options}),e.events&&(s.default.props.globalEvents.default=function(){return e.events})),t.component(s.default.name,s.default)},u={videojs:c,videoPlayer:s.default,install:l};e.default=u,e.videojs=c,e.videoPlayer=s.default,e.install=l},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=i),l){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=l,u.render=function(t,e){return l.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.reseted?n("div",{staticClass:"video-player"},[n("video",{ref:"video",staticClass:"video-js"})]):t._e()},r=[],o={render:i,staticRenderFns:r};e.a=o}])}))},d716:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
393//! moment.js locale configuration 394var e=t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}});return e}))},d784:function(t,e,n){"use strict";n("ac1f");var i=n("6eeb"),r=n("9263"),o=n("d039"),a=n("b622"),s=n("9112"),c=a("species"),l=RegExp.prototype;t.exports=function(t,e,n,u){var d=a(t),h=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=h&&!o((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!h||!f||n){var p=/./[d],m=e(d,""[t],(function(t,e,n,i,o){var a=e.exec;return a===r||a===l.exec?h&&!o?{done:!0,value:p.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}));i(String.prototype,t,m[0]),i(l,d,m[1])}u&&s(l[d],"sham",!0)}},d81d:function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").map,o=n("1dde"),a=o("map");i({target:"Array",proto:!0,forced:!a},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d998:function(t,e,n){var i=n("342f");t.exports=/MSIE|Trident/.test(i)},d9b5:function(t,e,n){var i=n("d066"),r=n("fdbf");t.exports=r?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return"function"==typeof e&&Object(t)instanceof e}},d9f8:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
395//! moment.js locale configuration 396var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}});return e}))},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},db29:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,373 bytes, lines 397-398
397//! moment.js locale configuration 398var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},db37:function(t,e,n){var i=n("77e9"),r=n("1609"),o=n("cc15")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},dbb4:function(t,e,n){var i=n("23e7"),r=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),c=n("8418");i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){var e,n,i=a(t),r=s.f,l=o(i),u={},d=0;while(l.length>d)n=r(i,e=l[d++]),void 0!==n&&c(u,e,n);return u}})},dc4d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 4,083 bytes, lines 399-400
399//! moment.js locale configuration 400var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},i=[/^à¤à¤¨/i,/^फ़र|फर/i,/^मारà¥à¤/i,/^ठपà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^ठà¤/i,/^सितà¤|सित/i,/^ठà¤à¥à¤à¥/i,/^नव|नवà¤/i,/^दिसà¤|दिस/i],r=[/^à¤à¤¨/i,/^फ़र/i,/^मारà¥à¤/i,/^ठपà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^ठà¤/i,/^सित/i,/^ठà¤à¥à¤à¥/i,/^नव/i,/^दिस/i],o=t.defineLocale("hi",{months:{format:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),standalone:"à¤à¤¨à¤µà¤°à¥_फरवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितà¤à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवà¤à¤¬à¤°_दिसà¤à¤¬à¤°".split("_")},monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_ठपà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._ठà¤._सित._ठà¤à¥à¤à¥._नव._दिस.".split("_"),weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥à¤²|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|ठà¤à¤¸à¥à¤¤|ठà¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsShortRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥à¤²|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|ठà¤à¤¸à¥à¤¤|ठà¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsStrictRegex:/^(à¤à¤¨à¤µà¤°à¥?|फ़रवरà¥|फरवरà¥?|मारà¥à¤?|ठपà¥à¤°à¥à¤²?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤?|ठà¤à¤¸à¥à¤¤?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित?\.?|ठà¤à¥à¤à¥à¤¬à¤°|ठà¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°?)/i,monthsShortStrictRegex:/^(à¤à¤¨\.?|फ़र\.?|मारà¥à¤?|ठपà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²\.?|ठà¤\.?|सित\.?|ठà¤à¥à¤à¥\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤²] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤²] LT",lastWeek:"[पिà¤à¤²à¥] dddd, LT",sameElse:"L"},relativeTime:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",ss:"%d सà¥à¤à¤à¤¡",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"},preparse:function(t){return t.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सà¥à¤¬à¤¹"===e?t:"दà¥à¤ªà¤¹à¤°"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0}
vendor: 4,243 bytes, line 400
400,meridiem:function(t,e,n){return t<4?"रात":t<10?"सà¥à¤¬à¤¹":t<17?"दà¥à¤ªà¤¹à¤°":t<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},dd2e:function(t,e,n){"use strict";function i(t){this.message=t}n("d3b7"),n("25f0"),i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},ddb0:function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),l=s("toStringTag"),u=o.values;for(var d in r){var h=i[d],f=h&&h.prototype;if(f){if(f[c]!==u)try{a(f,c,u)}catch(m){f[c]=u}if(f[l]||a(f,l,d),r[d])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(m){f[p]=o[p]}}}},df75:function(t,e,n){var i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i<t.length;i++)e(t[i],i,t)&&n.push(t[i]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),o=i(n.split("/")),a=Math.min(r.length,o.length),s=a,c=0;c<a;c++)if(r[c]!==o[c]){s=c;break}var l=[];for(c=s;c<r.length;c++)l.push("..");return l=l.concat(o.slice(s)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,i=-1,r=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){i=o;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(r=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){n=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},dfb9:function(t,e){t.exports=function(t,e){var n=0,i=e.length,r=new t(i);while(i>n)r[n]=e[n++];return r}},dfe5:function(t,e){},e01a:function(t,e,n){"use strict";var i=n("23e7"),r=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),c=n("9bf2").f,l=n("e893"),u=o.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};l(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(d,t))return"";var n=m?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:h})}},e0c5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
401//! moment.js locale configuration 402var e={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«",8:"à«®",9:"૯",0:"૦"},n={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«":"7","à«®":"8","૯":"9","૦":"0"},i=t.defineLocale("gu",{months:"àªàª¾àª¨à«àª¯à«àªàª°à«_ફà«àª¬à«àª°à«àªàª°à«_મારà«àª_àªàªªà«àª°àª¿àª²_મà«_àªà«àª¨_àªà«àª²àª¾àª_àªàªàª¸à«àª_સપà«àªà«àª®à«àª¬àª°_àªàªà«àªà«àª¬àª°_નવà«àª®à«àª¬àª°_ડિસà«àª®à«àª¬àª°".split("_"),monthsShort:"àªàª¾àª¨à«àª¯à«._ફà«àª¬à«àª°à«._મારà«àª_àªàªªà«àª°àª¿._મà«_àªà«àª¨_àªà«àª²àª¾._àªàª._સપà«àªà«._àªàªà«àªà«._નવà«._ડિસà«.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સà«àª®àªµàª¾àª°_મàªàªàª³àªµàª¾àª°_બà«àª§à«àªµàª¾àª°_àªà«àª°à«àªµàª¾àª°_શà«àªà«àª°àªµàª¾àª°_શનિવાર".split("_"),weekdaysShort:"રવિ_સà«àª®_મàªàªàª³_બà«àª§à«_àªà«àª°à«_શà«àªà«àª°_શનિ".split("_"),weekdaysMin:"ર_સà«_મàª_બà«_àªà«_શà«_શ".split("_"),longDateFormat:{LT:"A h:mm વાàªà«àª¯à«",LTS:"A h:mm:ss વાàªà«àª¯à«",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાàªà«àª¯à«",LLLL:"dddd, D MMMM YYYY, A h:mm વાàªà«àª¯à«"},calendar:{sameDay:"[àªàª] LT",nextDay:"[àªàª¾àª²à«] LT",nextWeek:"dddd, LT",lastDay:"[àªàªàªàª¾àª²à«] LT",lastWeek:"[પાàªàª²àª¾] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહà«àª²àª¾",s:"ઠમà«àª પળà«",ss:"%d સà«àªàªàª¡",m:"àªàª મિનિàª",mm:"%d મિનિàª",h:"àªàª àªàª²àª¾àª",hh:"%d àªàª²àª¾àª",d:"àªàª દિવસ",dd:"%d દિવસ",M:"àªàª મહિનà«",MM:"%d મહિનà«",y:"àªàª વરà«àª·",yy:"%d વરà«àª·"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપà«àª°|સવાર|સાàªàª/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપà«àª°"===e?t>=10?t:t+12:"સાàªàª"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપà«àª°":t<20?"સાàªàª":"રાત"},week:{dow:0,doy:6}});return i}))},e11b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mix=e.single=void 0;var i=n("ff81"),r=d(i),o=n("ec5a"),a=d(o),s=n("f1a0"),c=d(s),l=n("1765"),u=d(l);function d(t){return t&&t.__esModule?t:{default:t}}var h={appkey:c.default,scene:c.default,aeis:r.default,https:r.default,lang:{type:String,default:"en"}},f={appkey:a.default,scene:a.default,aeis:r.default,https:r.default,h5:{type:Boolean,default:u.default},lang:{type:String,default:"en"}};e.single=h,e.mix=f,e.default={appkey:a.default,scene:a.default,aeis:r.default,https:r.default,lang:{type:String,default:"en"}}},e11e:function(t,e,n){ 403/* @preserve 404 * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com 405 * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade 406 */ 407(function(t,n){n(e)})(0,(function(t){"use strict";var e="1.7.1";function n(t){var e,n,i,r;for(n=1,i=arguments.length;n<i;n++)for(e in r=arguments[n],r)t[e]=r[e];return t}var i=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function r(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var i=n.call(arguments,2);return function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)}}var o=0;function a(t){return t._leaflet_id=t._leaflet_id||++o,t._leaflet_id}function s(t,e,n){var i,r,o,a;return a=function(){i=!1,r&&(o.apply(n,r),r=!1)},o=function(){i?r=arguments:(t.apply(n,arguments),setTimeout(a,e),i=!0)},o}function c(t,e,n){var i=e[1],r=e[0],o=i-r;return t===i&&n?t:((t-r)%o+o)%o+r}function l(){return!1}function u(t,e){var n=Math.pow(10,void 0===e?6:e);return Math.round(t*n)/n}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function h(t){return d(t).split(/\s+/)}function f(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?i(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,n){var i=[];for(var r in t)i.push(encodeURIComponent(n?r.toUpperCase():r)+"="+encodeURIComponent(t[r]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")}var m=/\{ *([\w_-]+) *\}/g;function g(t,e){return t.replace(m,(function(t,n){var i=e[n];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"===typeof i&&(i=i(e)),i}))}var v=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function _(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function b(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function k(t){var e=+new Date,n=Math.max(0,16-(e-w));return w=e+n,window.setTimeout(t,n)}var x=window.requestAnimationFrame||b("RequestAnimationFrame")||k,T=window.cancelAnimationFrame||b("C
407ancelAnimationFrame")||b("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,e,n){if(!n||x!==k)return x.call(window,r(t,e));t.call(e)}function S(t){t&&T.call(window,t)}var C={extend:n,create:i,bind:r,lastId:o,stamp:a,throttle:s,wrapNum:c,falseFn:l,formatNum:u,trim:d,splitWords:h,setOptions:f,getParamString:p,template:g,isArray:v,indexOf:_,emptyImageUrl:y,requestFn:x,cancelFn:T,requestAnimFrame:M,cancelAnimFrame:S};function E(){}function A(t){if("undefined"!==typeof L&&L&&L.Mixin){t=v(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}E.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},r=e.__super__=this.prototype,o=i(r);for(var a in o.constructor=e,e.prototype=o,this)Object.prototype.hasOwnProperty.call(this,a)&&"prototype"!==a&&"__super__"!==a&&(e[a]=this[a]);return t.statics&&(n(e,t.statics),delete t.statics),t.includes&&(A(t.includes),n.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=n(i(o.options),t.options)),n(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){r.callInitHooks&&r.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},E.include=function(t){return n(this.prototype,t),this},E.mergeOptions=function(t){return n(this.prototype.options,t),this},E.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"===typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var O={on:function(t,e,n){if("object"===typeof t)for(var i in t)this._on(i,t[i],e);else{t=h(t);for(var r=0,o=t.length;r<o;r++)this._on(t[r],e,n)}return this},off:function(t,e,n){if(t)if("object"===typeof t)for(var i in t)this._off(i,t[i],e);else{t=h(t);for(var r=0,o=t.length;r<o;r++)this._off(t[r],e,n)}else delete this._events;return this},_on:function(t,e,n){this._events=this._events||{};var i=this._events[t];i||(i=[],this._events[t]=i),n===this&&(n=void 0);for(var r={fn:e,ctx:n},o=i,a=0,s=o.length;a<s;a++)if(o[a].fn===e&&o[a].ctx===n)return;o.push(r)},_off:function(t,e,n){var i,r,o;if(this._events&&(i=this._events[t],i))if(e){if(n===this&&(n=void 0),i)for(r=0,o=i.length;r<o;r++){var a=i[r];if(a.ctx===n&&a.fn===e)return a.fn=l,this._firingCount&&(this._events[t]=i=i.slice()),void i.splice(r,1)}}else{for(r=0,o=i.length;r<o;r++)i[r].fn=l;delete this._events[t]}},fire:function(t,e,i){if(!this.listens(t,i))return this;var r=n({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var a=0,s=o.length;a<s;a++){var c=o[a];c.fn.call(c.ctx||this,r)}this._firingCount--}}return i&&this._propagateEvent(r),this},listens:function(t,e){var n=this._events&&this._events[t];if(n&&n.length)return!0;if(e)for(var i in this._eventParents)if(this._eventParents[i].listens(t,e))return!0;return!1},once:function(t,e,n){if("object"===typeof t){for(var i in t)this.once(i,t[i],e);return this}var o=r((function(){this.off(t,e,n).off(t,o,n)}),this);return this.on(t,e,n).on(t,o,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[a(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[a(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,n({layer:t.target,propagatedFrom:t.target},t),!0)}};O.addEventListener=O.on,O.removeEventListener=O.clearAllEventListeners=O.off,O.addOneTimeEventListener=O.once,O.fireEvent=O.fire,O.hasEventListeners=O.listens;var P=E.extend(O);function D(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var j=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function I(t,e,n){return t instanceof D?t:v(t)?new D(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,n)}function R(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i<r;i++)this.extend(n[i])}function N(t,e){return!t||t instanceof R?t:new R(t,e)}function Y(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i<r;i++)this.extend(n[i])}function z(t,e){return t instanceof Y?t:new Y(t,e)}function B(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function F(t,e,n){return t instanceof B?t:v(t)&&"object"!==typeof t[0]?3===t.length?new B(t[0],t[1],t[2]):2===t.length?new B(t[0],t[1]):null:void 0===t||null===t?t:"object"===typeof t&&"lat"in t?new B(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new B(t,e,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new D(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new D(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=j(this.x),this.y=j(this.y),this},distanceTo:function(t){t=I(t);var e=t.x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return t=I(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},R.prototype={extend:function(t){return t=I(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return t="number"===typeof t[0]||t instanceof D?I(t):N(t),t instanceof R?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>=e.x&&i.x<=n.x,a=r.y>=e.y&&i.y<=n.y;return o&&a},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>e.x&&i.x<n.x,a=r.y>e.y&&i.y<n.y;return o&&a},isValid:function(){return!(!this.min||!this.max)}},Y.prototype={extend:function(t){var e,n,i=this._southWest,r=this._northEast;if(t instanceof B)e=t,n=t;else{if(!(t instanceof Y))return t?this.extend(F(t)||z(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return i||r?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),r.lat=Math.max(n.lat,r.lat),r.lng=Math.max(n.lng,r.lng)):(this._southWest=new B(e.lat,e.lng),this._northEast=new B(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t,r=Math.abs(e.lng-n.lng)*t;return new Y(new B(e.lat-i,e.lng-r),new B(n.lat+i,n.lng+r))},getCenter:function(){return new B((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new B(this.getNorth(),this.getWest())},getSouthEast:function(){return new B(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,467 bytes, line 407
407,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"===typeof t[0]||t instanceof B||"lat"in t?F(t):z(t);var e,n,i=this._southWest,r=this._northEast;return t instanceof Y?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=z(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>=e.lat&&i.lat<=n.lat,a=r.lng>=e.lng&&i.lng<=n.lng;return o&&a},overlaps:function(t){t=z(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>e.lat&&i.lat<n.lat,a=r.lng>e.lng&&i.lng<n.lng;return o&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=z(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},B.prototype={equals:function(t,e){if(!t)return!1;t=F(t);var n=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return n<=(void 0===e?1e-9:e)},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return V.distance(this,F(t))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return z([this.lat-e,this.lng-n],[this.lat+e,this.lng+n])},clone:function(){return new B(this.lat,this.lng,this.alt)}};var H={latLngToPoint:function(t,e){var n=this.projection.project(t),i=this.scale(e);return this.transformation._transform(n,i)},pointToLatLng:function(t,e){var n=this.scale(e),i=this.transformation.untransform(t,n);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,n=this.scale(t),i=this.transformation.transform(e.min,n),r=this.transformation.transform(e.max,n);return new R(i,r)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?c(t.lng,this.wrapLng,!0):t.lng,n=this.wrapLat?c(t.lat,this.wrapLat,!0):t.lat,i=t.alt;return new B(n,e,i)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),i=e.lat-n.lat,r=e.lng-n.lng;if(0===i&&0===r)return t;
vendor: 13,822 bytes, line 407
407var o=t.getSouthWest(),a=t.getNorthEast(),s=new B(o.lat-i,o.lng-r),c=new B(a.lat-i,a.lng-r);return new Y(s,c)}},V=n({},H,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,i=t.lat*n,r=e.lat*n,o=Math.sin((e.lat-t.lat)*n/2),a=Math.sin((e.lng-t.lng)*n/2),s=o*o+Math.cos(i)*Math.cos(r)*a*a,c=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*c}}),U=6378137,W={R:U,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,t.lat),-n),r=Math.sin(i*e);return new D(this.R*t.lng*e,this.R*Math.log((1+r)/(1-r))/2)},unproject:function(t){var e=180/Math.PI;return new B((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=U*Math.PI;return new R([-t,-t],[t,t])}()};function $(t,e,n,i){if(v(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=n,this._d=i}function X(t,e,n,i){return new $(t,e,n,i)}$.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new D((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var q=n({},V,{code:"EPSG:3857",projection:W,transformation:function(){var t=.5/(Math.PI*W.R);return X(t,.5,-t,.5)}()}),G=n({},q,{code:"EPSG:900913"});function Z(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function J(t,e){var n,i,r,o,a,s,c="";for(n=0,r=t.length;n<r;n++){for(a=t[n],i=0,o=a.length;i<o;i++)s=a[i],c+=(i?"L":"M")+s.x+" "+s.y;c+=e?Lt?"z":"x":""}return c||"M0 0"}var K=document.documentElement.style,Q="ActiveXObject"in window,tt=Q&&!document.addEventListener,et="msLaunchUri"in navigator&&!("documentMode"in document),nt=Ot("webkit"),it=Ot("android"),rt=Ot("android 2")||Ot("android 3"),ot=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=it&&Ot("Google")&&ot<537&&!("AudioNode"in window),st=!!window.opera,ct=!et&&Ot("chrome"),lt=Ot("gecko")&&!nt&&!st&&!Q,ut=!ct&&Ot("safari"),dt=Ot("phantom"),ht="OTransition"in K,ft=0===navigator.platform.indexOf("Win"),pt=Q&&"transition"in K,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,gt="MozPerspective"in K,vt=!window.L_DISABLE_3D&&(pt||mt||gt)&&!ht&&!dt,_t="undefined"!==typeof orientation||Ot("mobile"),yt=_t&&nt,bt=_t&&mt,wt=!window.PointerEvent&&window.MSPointerEvent,kt=!(!window.PointerEvent&&!wt),xt=!window.L_NO_TOUCH&&(kt||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Tt=_t&&st,Mt=_t&<,St=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Ct=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(n){}return t}(),Et=function(){return!!document.createElement("canvas").getContext}(),Lt=!(!document.createElementNS||!Z("svg").createSVGRect),At=!Lt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}();function Ot(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Pt={ie:Q,ielt9:tt,edge:et,webkit:nt,android:it,android23:rt,androidStock:at,opera:st,chrome:ct,gecko:lt,safari:ut,phantom:dt,opera12:ht,win:ft,ie3d:pt,webkit3d:mt,gecko3d:gt,any3d:vt,mobile:_t,mobileWebkit:yt,mobileWebkit3d:bt,msPointer:wt,pointer:kt,touch:xt,mobileOpera:Tt,mobileGecko:Mt,retina:St,passiveEvents:Ct,canvas:Et,svg:Lt,vml:At},Dt=wt?"MSPointerDown":"pointerdown",jt=wt?"MSPointerMove":"pointermove",It=wt?"MSPointerUp":"pointerup",Rt=wt?"MSPointerCancel":"pointercancel",Nt={},Yt=!1;function zt(t,e,n,i){return"touchstart"===e?Ft(t,n,i):"touchmove"===e?$t(t,n,i):"touchend"===e&&Xt(t,n,i),this}function Bt(t,e,n){var i=t["_leaflet_"+e+n];return"touchstart"===e?t.removeEventListener(Dt,i,!1):"touchmove"===e?t.removeEventListener(jt,i,!1):"touchend"===e&&(t.removeEventListener(It,i,!1),t.removeEventListener(Rt,i,!1)),this}function Ft(t,e,n){var i=r((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ve(t),Wt(t,e)}));t["_leaflet_touchstart"+n]=i,t.addEventListener(Dt,i,!1),Yt||(document.addEventListener(Dt,Ht,!0),document.addEventListener(jt,Vt,!0),document.addEventListener(It,Ut,!0),document.addEventListener(Rt,Ut,!0),Yt=!0)}function Ht(t){Nt[t.pointerId]=t}function Vt(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Ut(t){delete Nt[t.pointerId]}function Wt(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}function $t(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Wt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(jt,i,!1)}function Xt(t,e,n){var i=function(t){Wt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(It,i,!1),t.addEventListener(Rt,i,!1)}var qt=wt?"MSPointerDown":kt?"pointerdown":"touchstart",Gt=wt?"MSPointerUp":kt?"pointerup":"touchend",Zt="_leaflet_";function Jt(t,e,n){var i,r,o=!1,a=250;function s(t){if(kt){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,o=n>0&&n<=a,i=e}function c(t){if(o&&!r.cancelBubble){if(kt){if("mouse"===t.pointerType)return;var n,a,s={};for(a in r)n=r[a],s[a]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}return t[Zt+qt+n]=s,t[Zt+Gt+n]=c,t[Zt+"dblclick"+n]=e,t.addEventListener(qt,s,!!Ct&&{passive:!1}),t.addEventListener(Gt,c,!!Ct&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function Kt(t,e){var n=t[Zt+qt+e],i=t[Zt+Gt+e],r=t[Zt+"dblclick"+e];return t.removeEventListener(qt,n,!!Ct&&{passive:!1}),t.removeEventListener(Gt,i,!!Ct&&{passive:!1}),t.removeEventListener("dblclick",r,!1),this}var Qt,te,ee,ne,ie,re=we(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),oe=we(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ae="webkitTransition"===oe||"OTransition"===oe?oe+"End":"transitionend";function se(t){return"string"===typeof t?document.getElementById(t):t}function ce(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function le(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ue(t){var e=t.parentNode;e&&e.removeChild(t)}function de(t){while(t.firstChild)t.removeChild(t.firstChild)}function he(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function fe(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function pe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=_e(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function me(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i<r;i++)t.classList.add(n[i]);else if(!pe(t,e)){var o=_e(t);ve(t,(o?o+" ":"")+e)}}function ge(t,e){void 0!==t.classList?t.classList.remove(e):ve(t,d((" "+_e(t)+" ").replace(" "+e+" "," ")))}function ve(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function _e(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ye(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&be(t,e)}function be(t,e){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(r){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}function we(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function ke(t,e,n){var i=e||new D(0,0);t.style[re]=(pt?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function xe(t,e){t._leaflet_pos=e,vt?ke(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Te(t){return t._leaflet_pos||new D(0,0)}if("onselectstart"in document)Qt=function(){De(window,"selectstart",Ve)},te=function(){Ie(window,"selectstart",Ve)};else{var Me=we(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Qt=function(){if(Me){var t=document.documentElement.style;ee=t[Me],t[Me]="none"}},te=function(){Me&&(document.documentElement.style[Me]=ee,ee=void 0)}}function Se(){De(window,"dragstart",Ve)}function Ce(){Ie(window,"dragstart",Ve)}function Ee(t){while(-1===t.tabIndex)t=t.parentNode;t.style&&(Le(),ne=t,ie=t.style.outline,t.style.outline="none",De(window,"keydown",Le))}function Le(){ne&&(ne.style.outline=ie,ne=void 0,ie=void 0,Ie(window,"keydown",Le))}function Ae(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Oe(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Pe={TRANSFORM:re,TRANSITION:oe,TRANSITION_END:ae,get:se,getStyle:ce,create:le,remove:ue,empty:de,toFront:he,toBack:fe,hasClass:pe,addClass:me,removeClass:ge,setClass:ve,getClass:_e,setOpacity:ye,testProp:we,setTransform:ke,setPosition:xe,getPosition:Te,disableTextSelection:Qt,enableTextSelection:te,disableImageDrag:Se,enableImageDrag:Ce,preventOutline:Ee,restoreOutline:Le,getSizedParentNode:Ae,getScale:Oe};function De(t,e,n,i){if("object"===typeof e)for(var r in e)Ye(t,r,e[r],n);else{e=h(e);for(var o=0,a=e.length;o<a;o++)Ye(t,e[o],n,i)}return this}var je="_leaflet_events";function Ie(t,e,n,i){if("object"===typeof e)for(var r in e)ze(t,r,e[r],n);else if(e){e=h(e);for(var o=0,a=e.length;o<a;o++)ze(t,e[o],n,i)}else{for(var s in t[je])ze(t,s,t[je][s]);delete t[je]}return this}function Re(){if(kt)return!(et||ut)}var Ne={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ye(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):"");if(t[je]&&t[je][r])return this;var o=function(e){return n.call(i||t,e||window.event)},s=o;kt&&0===e.indexOf("touch")?zt(t,e,o,r):xt&&"dblclick"===e&&!Re()?Jt(t,o,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Ne[e]||e,o,!!Ct&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(o=function(e){e=e||window.event,Je(t,e)&&s(e)},t.addEventListener(Ne[e],o,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,o),t[je]=t[je]||{},t[je][r]=o}function ze(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):""),o=t[je]&&t[je][r];if(!o)return this;kt&&0===e.indexOf("touch")?Bt(t,e,r):xt&&"dblclick"===e&&!Re()?Kt(t,r):"removeEventListener"in t?t.removeEventListener(Ne[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[je][r]=null}function Be(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ze(t),this}function Fe(t){return Ye(t,"wheel",Be),this}function He(t){return De(t,"mousedown touchstart dblclick",Be),Ye(t,"click",Ge),this}function Ve(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ue(t){return Ve(t),Be(t),this}function We(t,e){if(!e)return new D(t.clientX,t.clientY);var n=Oe(e),i=n.boundingClientRect;return new D((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var $e=ft&&ct?2*window.devicePixelRatio:lt?window.devicePixelRatio:1;function Xe(t){return et?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/$e:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var qe={};function Ge(t){qe[t.type]=!0}function Ze(t){var e=qe[t.type];return qe[t.type]=!1,e}function Je(t,e){var n=e.relatedTarget;if(!n)return!0;try{while(n&&n!==t)n=n.parentNode}catch(i){return!1}return n!==t}var Ke={on:De,off:Ie,stopPropagation:Be,disableScrollPropagation:Fe,disableClickPropagation:He,preventDefault:Ve,stop:Ue,getMousePosition:We,getWheelDelta:Xe,fakeStop:Ge,skipped:Ze,isExternalTarget:Je,addListener:De,removeListener:Ie},Qe=P.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=Te(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var n=this._startPos.add(this._offset.multiplyBy(t));e&&n._round(),xe(this._el,n),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),tn=P.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=f(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=r(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(F(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=oe&&vt&&!Tt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),De(this._proxy,ae,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
407,setView:function(t,e,i){if(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(F(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i){void 0!==i.animate&&(i.zoom=n({animate:i.animate},i.zoom),i.pan=n({animate:i.animate,duration:i.duration},i.pan));var r=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan);if(r)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),r=this.getSize().divideBy(2),o=t instanceof D?t:this.latLngToContainerPoint(t),a=o.subtract(r).multiplyBy(1-1/i),s=this.containerPointToLatLng(r.add(a));return this.setView(s,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():z(t);var n=I(e.paddingTopLeft||e.padding||[0,0]),i=I(e.paddingBottomRight||e.padding||[0,0]),r=this.getBoundsZoom(t,!1,n.add(i));if(r="number"===typeof e.maxZoom?Math.min(e.maxZoom,r):r,r===1/0)return{center:t.getCenter(),zoom:r};
vendor: 2,005 bytes, line 407
407var o=i.subtract(n).divideBy(2),a=this.project(t.getSouthWest(),r),s=this.project(t.getNorthEast(),r),c=this.unproject(a.add(s).divideBy(2).add(o),r);return{center:c,zoom:r}},fitBounds:function(t,e){if(t=z(t),!t.isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,e);return this.setView(n.center,n.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=I(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Qe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){me(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){if(n=n||{},!1===n.animate||!vt)return this.setView(t,e,n);this._stop();var i=this.project(this.getCenter()),r=this.project(t),o=this.getSize(),a=this._zoom;t=F(t),e=void 0===e?a:e;var s=Math.max(o.x,o.y),c=s*this.getZoomScale(a,e),l=r.distanceTo(i)||1,u=1.42,d=u*u;function h(t){var e=t?-1:1,n=t?c:s,i=c*c-s*s+e*d*d*l*l,r=2*n*d*l,o=i/r,a=Math.sqrt(o*o+1)-o,u=a<1e-9?-18:Math.log(a);return u}function f(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return f(t)/p(t)}var g=h(0);function v(t){return s*(p(g)/p(g+u*t))}function _(t){return s*(p(g)*m(g+u*t)-f(g))/d}function y(t){return 1-Math.pow(1-t,1.5)}var b=Date.now(),w=(h(1)-g)/u,k=n.duration?1e3*n.duration:1e3*w*.8;function x(){var n=(Date.now()-b)/k,o=y(n)*w;n<=1?(this._flyToFrame=M(x,this),this._move(this.unproject(i.add(r.subtract(i).multiplyBy(_(o)/l)),a),this.get
vendor: 46,752 bytes, line 407
407ScaleZoom(s/v(o),a),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),x.call(this),this},flyToBounds:function(t,e){var n=this._getBoundsCenterZoom(t,e);return this.flyTo(n.center,n.zoom,e)},setMaxBounds:function(t){return t=z(t),t.isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,z(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var n=I(e.paddingTopLeft||e.padding||[0,0]),i=I(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),o=this.project(r),a=this.project(t),s=this.getPixelBounds(),c=s.getSize().divideBy(2),l=N([s.min.add(n),s.max.subtract(i)]);if(!l.contains(a)){this._enforcingBounds=!0;var u=o.subtract(a),d=I(a.x+u.x,a.y+u.y);(a.x<l.min.x||a.x>l.max.x)&&(d.x=o.x-u.x,u.x>0?d.x+=c.x-n.x:d.x-=c.x-i.x),(a.y<l.min.y||a.y>l.max.y)&&(d.y=o.y-u.y,u.y>0?d.y+=c.y-n.y:d.y-=c.y-i.y),this.panTo(this.unproject(d),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),o=e.divideBy(2).round(),a=i.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(r(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=r(this._handleGeolocationResponse,this),i=r(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,n=t.coords.longitude,i=new B(e,n),r=i.toBounds(2*t.coords.accuracy),o=this._locateOptions;if(o.setView){var a=this.getBoundsZoom(r);this.setView(i,o.maxZoom?Math.min(a,o.maxZoom):a)}var s={latlng:i,bounds:r,timestamp:t.timestamp};for(var c in t.coords)"number"===typeof t.coords[c]&&(s[c]=t.coords[c]);this.fire("locationfound",s)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ue(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ue(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i=le("div",n,e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new Y(e,n)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=z(t),n=I(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),o=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),c=this.getSize().subtract(n),l=N(this.project(s,i),this.project(a,i)).getSize(),u=vt?this.options.zoomSnap:1,d=c.x/l.x,h=c.y/l.y,f=e?Math.max(d,h):Math.min(d,h);return i=this.getScaleZoom(f,i),u&&(i=Math.round(i/(u/100))*(u/100),i=e?Math.ceil(i/u)*u:Math.floor(i/u)*u),Math.max(r,Math.min(o,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new R(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(F(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(z(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return We(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=se(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");De(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,me(t,"leaflet-container"+(xt?" leaflet-touch":"")+(St?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(ut?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ce(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),xe(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(me(t.markerPane,"leaflet-zoom-hide"),me(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){xe(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){xe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ie:De;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=M((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var n,i=[],r="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;while(o){if(n=this._targets[a(o)],n&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!Je(o,t))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||s||r||!Je(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ze(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Ee(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type){var r=n({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e)),i.length)){var o=i[0];"contextmenu"===e&&o.listens(e,!0)&&Ve(t);var a={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);a.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=s?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var c=0;c<i.length;c++)if(i[c].fire(e,a,!0),a.originalEvent._stopped||!1===i[c].options.bubblingMouseEvents&&-1!==_(this._mouseEvents,e))return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Te(this._mapPane)||new D(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var n=t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return n.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return N([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var i=this.project(t,e),r=this.getSize().divideBy(2),o=new R(i.subtract(r),i.add(r)),a=this._getBoundsOffset(o,n,e);return a.round().equals([0,0])?t:this.unproject(i.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),i=new R(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,n){var i=N(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n)),r=i.min.subtract(t.min),o=i.max.subtract(t.max),a=this._rebound(r.x,-o.x),s=this._rebound(r.y,-o.y);return new D(a,s)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=vt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ge(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=le("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=re,n=this._proxy.style[e];ke(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ue(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ke(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r))&&(M((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,me(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:i}),setTimeout(r(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ge(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M((function(){this._moveEnd(!0)}),this))}});function en(t,e){return new tn(t,e)}var nn=E.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return me(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ue(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),rn=function(t){return new nn(t)};tn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=le("div",e+"control-container",this._container);function i(i,r){var o=e+i+" "+e+r;t[i+r]=le("div",o,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ue(this._controlCorners[t]);ue(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var on=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n<i?-1:i<n?1:0}},initialize:function(t,e,n){for(var i in f(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return nn.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(a(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){me(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(me(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):ge(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return ge(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=le("div",t),n=this.options.collapsed;e.setAttribute("aria-haspopup",!0),He(e),Fe(e);var i=this._section=le("section",t+"-list");n&&(this._map.on("click",this.collapse,this),it||De(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var r=this._layersLink=le("a",t+"-toggle",e);r.href="#",r.title="Layers",xt?(De(r,"click",Ue),De(r,"click",this.expand,this)):De(r,"focus",this.expand,this),n||this.expand(),this._baseLayersList=le("div",t+"-base",i),this._separator=le("div",t+"-separator",i),this._overlaysList=le("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&a(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(r((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;de(this._baseLayersList),de(this._overlaysList),this._layerControlInputs=[];var t,e,n,i,r=0;for(n=0;n<this._layers.length;n++)i=this._layers[n],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,r+=i.overlay?0:1;return this.options.hideSingleBase&&(t=t&&r>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+a(this),i),this._layerControlInputs.push(e),e.layerId=a(t.layer),De(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var o=document.createElement("div");n.appendChild(o),o.appendChild(e),o.appendChild(r);var s=t.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(o=0;o<r.length;o++)this._map.hasLayer(r[o])&&this._map.removeLayer(r[o]);for(o=0;o<i.length;o++)this._map.hasLayer(i[o])||this._map.addLayer(i[o]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,i=this._map.getZoom(),r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),an=function(t,e,n){return new on(t,e,n)},sn=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=le("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var o=le("a",n,i);return o.innerHTML=t,o.href="#",o.title=e,o.setAttribute("role","button"),o.setAttribute("aria-label",e),He(o),De(o,"click",Ue),De(o,"click",r,this),De(o,"click",this._refocusOnMap,this),o},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";ge(this._zoomInButton,e),ge(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&me(this._zoomInButton,e)}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new sn,this.addControl(this.zoomControl))}));var cn=function(t){return new sn(t)},ln=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=le("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=le("div",e,n)),t.imperial&&(this._iScale=le("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),un=function(t){return new ln(t)},dn=nn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=le("div","leaflet-control-attribution"),He(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook((function(){this.options.attributionControl&&(new dn).addTo(this)}));var hn=function(t){return new dn(t)};nn.Layers=on,nn.Zoom=sn,nn.Scale=ln,nn.Attribution=dn,rn.layers=an,rn.zoom=cn,rn.scale=un,rn.attribution=hn;var fn=E.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});fn.addTo=function(t,e){return t.addHandler(e,this),this};var pn,mn={Events:O},gn=xt?"touchstart mousedown":"mousedown",vn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},_n={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},yn=P.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){f(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(De(this._dragStartTarget,gn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(yn._dragging===this&&this.finishDrag(),Ie(this._dragStartTarget,gn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!pe(this._element,"leaflet-zoom-anim")&&!(yn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(yn._dragging=this,this._preventOutline&&Ee(this._element),Se(),Qt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ae(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=Oe(n),De(document,_n[t.type],this._onMove,this),De(document,vn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new D(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Ve(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=Te(this._element).subtract(n),me(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),me(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,S(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),xe(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in ge(document.body,"leaflet-dragging"),this._lastTarget&&(ge(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),_n)Ie(document,_n[t],this._onMove,this),Ie(document,vn[t],this._onUp,this);Ce(),te(),this._moved&&this._moving&&(S(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,yn._dragging=!1}});function bn(t,e){if(!e||!t.length)return t.slice();var n=e*e;return t=Mn(t,n),t=xn(t,n),t}function wn(t,e,n){return Math.sqrt(An(t,e,n,!0))}function kn(t,e,n){return An(t,e,n)}function xn(t,e){var n=t.length,i=typeof Uint8Array!==void 0+""?Uint8Array:Array,r=new i(n);r[0]=r[n-1]=1,Tn(t,r,e,0,n-1);var o,a=[];for(o=0;o<n;o++)r[o]&&a.push(t[o]);return a}function Tn(t,e,n,i,r){var o,a,s,c=0;for(a=i+1;a<=r-1;a++)s=An(t[a],t[i],t[r],!0),s>c&&(o=a,c=s);c>n&&(e[o]=1,Tn(t,e,n,i,o),Tn(t,e,n,o,r))}function Mn(t,e){for(var n=[t[0]],i=1,r=0,o=t.length;i<o;i++)Ln(t[i],t[r])>e&&(n.push(t[i]),r=i);return r<o-1&&n.push(t[o-1]),n}function Sn(t,e,n,i,r){var o,a,s,c=i?pn:En(t,n),l=En(e,n);pn=l;while(1){if(!(c|l))return[t,e];if(c&l)return!1;o=c||l,a=Cn(t,e,o,n,r),s=En(a,n),o===c?(t=a,c=s):(e=a,l=s)}}function Cn(t,e,n,i,r){var o,a,s=e.x-t.x,c=e.y-t.y,l=i.min,u=i.max;return 8&n?(o=t.x+s*(u.y-t.y)/c,a=u.y):4&n?(o=t.x+s*(l.y-t.y)/c,a=l.y):2&n?(o=u.x,a=t.y+c*(u.x-t.x)/s):1&n&&(o=l.x,a=t.y+c*(l.x-t.x)/s),new D(o,a,r)}function En(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function Ln(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}function An(t,e,n,i){var r,o=e.x,a=e.y,s=n.x-o,c=n.y-a,l=s*s+c*c;return l>0&&(r=((t.x-o)*s+(t.y-a)*c)/l,r>1?(o=n.x,a=n.y):r>0&&(o+=s*r,a+=c*r)),s=t.x-o,c=t.y-a,i?s*s+c*c:new D(o,a)}function On(t){return!v(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Pn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),On(t)}var Dn={simplify:bn,pointToSegmentDistance:wn,closestPointOnSegment:kn,clipSegment:Sn,_getEdgeIntersection:Cn,_getBitCode:En,_sqClosestPointOnSegment:An,isFlat:On,_flat:Pn};function jn(t,e,n){var i,r,o,a,s,c,l,u,d,h=[1,4,2,8];for(r=0,l=t.length;r<l;r++)t[r]._code=En(t[r],e);for(a=0;a<4;a++){for(u=h[a],i=[],r=0,l=t.length,o=l-1;r<l;o=r++)s=t[r],c=t[o],s._code&u?c._code&u||(d=Cn(c,s,u,e,n),d._code=En(d,e),i.push(d)):(c._code&u&&(d=Cn(c,s,u,e,n),d._code=En(d,e),i.push(d)),i.push(s));t=i}return t}var In={clipPolygon:jn},Rn={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new B(t.y,t.x)},bounds:new R([-180,-90],[180,90])},Nn={R:6378137,R_MINOR:6356752.314245179,bounds:new R([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,i=t.lat*e,r=this.R_MINOR/n,o=Math.sqrt(1-r*r),a=o*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-a)/(1+a),o/2);return i=-n*Math.log(Math.max(s,1e-10)),new D(t.lng*e*n,i)},unproject:function(t){for(var e,n=180/Math.PI,i=this.R,r=this.R_MINOR/i,o=Math.sqrt(1-r*r),a=Math.exp(-t.y/i),s=Math.PI/2-2*Math.atan(a),c=0,l=.1;c<15&&Math.abs(l)>1e-7;c++)e=o*Math.sin(s),e=Math.pow((1-e)/(1+e),o/2),l=Math.PI/2-2*Math.atan(a*e)-s,s+=l;return new B(s*n,t.x*n/i)}},Yn={LonLat:Rn,Mercator:Nn,SphericalMercator:W},zn=n({},V,{code:"EPSG:3395",projection:Nn,transformation:function(){var t=.5/(Math.PI*Nn.R);return X(t,.5,-t,.5)}()}),Bn=n({},V,{code:"EPSG:4326",projection:Rn,transformation:X(1/180,1,-1/180,.5)}),Fn=n({},H,{projection:Rn,transformation:X(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});H.Earth=V,H.EPSG3395=zn,H.EPSG3857=q,H.EPSG900913=G,H.EPSG4326=Bn,H.Simple=Fn;var Hn=P.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){t=t?v(t)?t:[t]:[];for(var e=0,n=t.length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[a(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=a(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var r=this._zoomBoundLayers[i].options;t=void 0===r.minZoom?t:Math.min(t,r.minZoom),e=void 0===r.maxZoom?e:Math.max(e,r.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Vn=Hn.extend({initialize:function(t,e){var n,i;if(f(this,e),this._layers={},t)for(n=0,i=t.length;n<i;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){if(!t)return!1;var e="number"===typeof t?t:this.getLayerId(t);return e in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)n=this._layers[e],n[t]&&n[t].apply(n,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return a(t)}}),Un=function(t,e){return new Vn(t,e)},Wn=Vn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Vn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Vn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new Y;for(var e in this._layers){var n=this._layers[e];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),$n=function(t,e){return new Wn(t,e)},Xn=E.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){f(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),i},_setIconStyles:function(t,e){var n=this.options,i=n[e+"Size"];"number"===typeof i&&(i=[i,i]);var r=I(i),o=I("shadow"===e&&n.shadowAnchor||n.iconAnchor||r&&r.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),r&&(t.style.width=r.x+"px",t.style.height=r.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return St&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function qn(t){return new Xn(t)}var Gn=Xn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Gn.imagePath||(Gn.imagePath=this._detectIconPath()),(this.options.imagePath||Gn.imagePath)+Xn.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=le("div","leaflet-default-icon-path",document.body),e=ce(t,"background-image")||ce(t,"backgroundImage");return document.body.removeChild(t),e=null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,""),e}}),Zn=fn.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new yn(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),me(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&ge(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,i=this._marker.options.autoPanSpeed,r=this._marker.options.autoPanPadding,o=Te(e._icon),a=n.getPixelBounds(),s=n.getPixelOrigin(),c=N(a.min._subtract(s).add(r),a.max._subtract(s).subtract(r));if(!c.contains(o)){var l=I((Math.max(c.max.x,o.x)-c.max.x)/(a.max.x-c.max.x)-(Math.min(c.min.x,o.x)-c.min.x)/(a.min.x-c.min.x),(Math.max(c.max.y,o.y)-c.max.y)/(a.max.y-c.max.y)-(Math.min(c.min.y,o.y)-c.min.y)/(a.min.y-c.min.y)).multiplyBy(i);n.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),xe(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,i=Te(e._icon),r=e._map.layerPointToLatLng(i);n&&xe(n,i),e._latlng=r,t.latlng=r,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Jn=Hn.extend({options:{icon:new Gn,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){f(this,e),this._latlng=F(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=F(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),me(n,e),t.keyboard&&(n.tabIndex="0"),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var r=t.icon.createShadow(this._shadow),o=!1;r!==this._shadow&&(this._removeShadow(),o=!0),r&&(me(r,e),r.alt=""),this._shadow=r,t.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),r&&o&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ue(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ue(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&xe(this._icon,t),this._shadow&&xe(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(me(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Zn)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Zn(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ye(this._icon,t),this._shadow&&ye(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Kn(t,e){return new Jn(t,e)}var Qn=Hn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return f(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),ti=Qn.extend({options:{fill:!0,radius:10},initialize:function(t,e){f(this,e),this._latlng=F(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=F(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}
vendor: 2,508 bytes, line 407
407,setStyle:function(t){var e=t&&t.radius||this._radius;return Qn.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),i=[t+n,e+n];this._pxBounds=new R(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function ei(t,e){return new ti(t,e)}var ni=ti.extend({initialize:function(t,e,i){if("number"===typeof e&&(e=n({},i,{radius:e})),f(this,e),this._latlng=F(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new Y(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Qn.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===V.distance){var r=Math.PI/180,o=this._mRadius/V.R/r,a=n.project([e+o,t]),s=n.project([e-o,t]),c=a.add(s).divideBy(2),l=n.unproject(c).lat,u=Math.acos((Math.cos(o*r)-Math.sin(e*r)*Math.sin(l*r))/(Math.cos(e*r)*Math.cos(l*r)))/r;(isNaN(u)||0===u)&&(u=o/Math.cos(Math.PI/180*e)),this._point=c.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:c.x-n.project([l,t-u]).x,this._radiusY=c.y-a.y}else{var d=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}});function ii(t,e,n){return new ni(t,e,n)}var ri=Qn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){f(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,n,i=1/0,r=null,o=An,a=0,s=this._parts.length;a<s;a++)for(var c=this._parts[a],l=1,u=c.length;l<u;l++){e=c[l-1],n=c[l];var d=o(t,e,n,!0);d<i&&(i=d,r=o(t,e,n))}return r&&(r.distance=Math.sqrt(i)),r}
vendor: 61,117 bytes, line 407
407,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,r,o,a,s=this._rings[0],c=s.length;if(!c)return null;for(t=0,e=0;t<c-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(t=0,i=0;t<c-1;t++)if(r=s[t],o=s[t+1],n=r.distanceTo(o),i+=n,i>e)return a=(i-e)/n,this._map.layerPointToLatLng([o.x-a*(o.x-r.x),o.y-a*(o.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new Y,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return On(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=On(t),i=0,r=t.length;i<r;i++)n?(e[i]=F(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new R;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new D(t,t);this._pxBounds=new R([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,n){var i,r,o=t[0]instanceof B,a=t.length;if(o){for(r=[],i=0;i<a;i++)r[i]=this._map.latLngToLayerPoint(t[i]),n.extend(r[i]);e.push(r)}else for(i=0;i<a;i++)this._projectLatlngs(t[i],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,n,i,r,o,a,s,c=this._parts;for(e=0,i=0,r=this._rings.length;e<r;e++)for(s=this._rings[e],n=0,o=s.length;n<o-1;n++)a=Sn(s[n],s[n+1],t,n,!0),a&&(c[i]=c[i]||[],c[i].push(a[0]),a[1]===s[n+1]&&n!==o-2||(c[i].push(a[1]),i++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,i=t.length;n<i;n++)t[n]=bn(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,i,r,o,a,s,c=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,o=this._parts.length;n<o;n++)for(s=this._parts[n],i=0,a=s.length,r=a-1;i<a;r=i++)if((e||0!==i)&&wn(t,s[r],s[i])<=c)return!0;return!1}});function oi(t,e){return new ri(t,e)}ri._flat=Pn;var ai=ri.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,r,o,a,s,c,l=this._rings[0],u=l.length;if(!u)return null;for(o=a=s=0,t=0,e=u-1;t<u;e=t++)n=l[t],i=l[e],r=n.y*i.x-i.y*n.x,a+=(n.x+i.x)*r,s+=(n.y+i.y)*r,o+=3*r;return c=0===o?l[0]:[a/o,s/o],this._map.layerPointToLatLng(c)},_convertLatLngs:function(t){var e=ri.prototype._convertLatLngs.call(this,t),n=e.length;return n>=2&&e[0]instanceof B&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){ri.prototype._setLatLngs.call(this,t),On(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return On(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new D(e,e);if(t=new R(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,o=this._rings.length;r<o;r++)i=jn(this._rings[r],t,!0),i.length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,i,r,o,a,s,c,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(r=0,s=this._parts.length;r<s;r++)for(e=this._parts[r],o=0,c=e.length,a=c-1;o<c;a=o++)n=e[o],i=e[a],n.y>t.y!==i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(l=!l);return l||ri.prototype._containsPoint.call(this,t,!0)}});function si(t,e){return new ai(t,e)}var ci=Wn.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=v(t)?t:t.features;if(r){for(e=0,n=r.length;e<n;e++)i=r[e],(i.geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var o=this.options;if(o.filter&&!o.filter(t))return this;var a=li(t,o);return a?(a.feature=gi(t),a.defaultOptions=a.options,this.resetStyle(a),o.onEachFeature&&o.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=n({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"===typeof e&&(e=e(t.feature)),t.setStyle(e))}});function li(t,e){var n,i,r,o,a="Feature"===t.type?t.geometry:t,s=a?a.coordinates:null,c=[],l=e&&e.pointToLayer,u=e&&e.coordsToLatLng||di;if(!s&&!a)return null;switch(a.type){case"Point":return n=u(s),ui(l,t,n,e);case"MultiPoint":for(r=0,o=s.length;r<o;r++)n=u(s[r]),c.push(ui(l,t,n,e));return new Wn(c);case"LineString":case"MultiLineString":return i=hi(s,"LineString"===a.type?0:1,u),new ri(i,e);case"Polygon":case"MultiPolygon":return i=hi(s,"Polygon"===a.type?1:2,u),new ai(i,e);case"GeometryCollection":for(r=0,o=a.geometries.length;r<o;r++){var d=li({geometry:a.geometries[r],type:"Feature",properties:t.properties},e);d&&c.push(d)}return new Wn(c);default:throw new Error("Invalid GeoJSON object.")}}function ui(t,e,n,i){return t?t(e,n):new Jn(n,i&&i.markersInheritOptions&&i)}function di(t){return new B(t[1],t[0],t[2])}function hi(t,e,n){for(var i,r=[],o=0,a=t.length;o<a;o++)i=e?hi(t[o],e-1,n):(n||di)(t[o]),r.push(i);return r}function fi(t,e){return e="number"===typeof e?e:6,void 0!==t.alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function pi(t,e,n,i){for(var r=[],o=0,a=t.length;o<a;o++)r.push(e?pi(t[o],e-1,n,i):fi(t[o],i));return!e&&n&&r.push(r[0]),r}function mi(t,e){return t.feature?n({},t.feature,{geometry:e}):gi(e)}function gi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var vi={toGeoJSON:function(t){return mi(this,{type:"Point",coordinates:fi(this.getLatLng(),t)})}};function _i(t,e){return new ci(t,e)}Jn.include(vi),ni.include(vi),ti.include(vi),ri.include({toGeoJSON:function(t){var e=!On(this._latlngs),n=pi(this._latlngs,e?1:0,!1,t);return mi(this,{type:(e?"Multi":"")+"LineString",coordinates:n})}}),ai.include({toGeoJSON:function(t){var e=!On(this._latlngs),n=e&&!On(this._latlngs[0]),i=pi(this._latlngs,n?2:e?1:0,!0,t);return e||(i=[i]),mi(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),Vn.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(n){e.push(n.toGeoJSON(t).geometry.coordinates)})),mi(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var n="GeometryCollection"===e,i=[];return this.eachLayer((function(e){if(e.toGeoJSON){var r=e.toGeoJSON(t);if(n)i.push(r.geometry);else{var o=gi(r);"FeatureCollection"===o.type?i.push.apply(i,o.features):i.push(o)}}})),n?mi(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var yi=_i,bi=Hn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=z(e),f(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(me(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ue(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&he(this._image),this},bringToBack:function(){return this._map&&fe(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=z(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:le("img");me(e,"leaflet-image-layer"),this._zoomAnimated&&me(e,"leaflet-zoom-animated"),this.options.className&&me(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=r(this.fire,this,"load"),e.onerror=r(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ke(this._image,n,e)},_reset:function(){var t=this._image,e=new R(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();xe(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ye(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),wi=function(t,e,n){return new bi(t,e,n)},ki=bi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:le("video");if(me(e,"leaflet-image-layer"),this._zoomAnimated&&me(e,"leaflet-zoom-animated"),this.options.className&&me(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=r(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),i=[],o=0;o<n.length;o++)i.push(n[o].src);this._url=n.length>0?i:[e.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var a=0;a<this._url.length;a++){var s=le("source");s.src=this._url[a],e.appendChild(s)}}}});function xi(t,e,n){return new ki(t,e,n)}var Ti=bi.extend({_initImage:function(){var t=this._image=this._url;me(t,"leaflet-image-layer"),this._zoomAnimated&&me(t,"leaflet-zoom-animated"),this.options.className&&me(t,this.options.className),t.onselectstart=l,t.onmousemove=l}});function Mi(t,e,n){return new Ti(t,e,n)}var Si=Hn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){f(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ye(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ye(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(ye(this._container,0),this._removeTimeout=setTimeout(r(ue,void 0,this._container),200)):ue(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=F(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&he(this._container),this},bringToBack:function(){return this._map&&fe(this._container),this},_prepareOpen:function(t,e,n){if(e instanceof Hn||(n=e,e=t),e instanceof Wn)for(var i in t._layers){e=t._layers[i];break}if(!n)if(e.getCenter)n=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");n=e.getLatLng()}return this._source=e,this.update(),n},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"===typeof this._content?this._content(this._source||this):this._content;if("string"===typeof e)t.innerHTML=e;else{while(t.hasChildNodes())t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=I(this.options.offset),n=this._getAnchor();this._zoomAnimated?xe(this._container,t.add(n)):e=e.add(t).add(n);var i=this._containerBottom=-e.y,r=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=i+"px",this._container.style.left=r+"px"}},_getAnchor:function(){return[0,0]}}),Ci=Si.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Si.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Qn||this._source.on("preclick",Be))},onRemove:function(t){Si.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Qn||this._source.off("preclick",Be))},getEvents:function(){var t=Si.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=le("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=le("div",t+"-content-wrapper",e);if(this._contentNode=le("div",t+"-content",n),He(e),Fe(this._contentNode),De(e,"contextmenu",Be),this._tipContainer=le("div",t+"-tip-container",e),this._tip=le("div",t+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=le("a",t+"-close-button",e);i.href="#close",i.innerHTML="×",De(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var i=t.offsetHeight,r=this.options.maxHeight,o="leaflet-popup-scrolled";r&&i>r?(e.height=r+"px",me(t,o)):ge(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();xe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ce(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new D(this._containerLeft,-n-this._containerBottom);r._add(Te(this._container));var o=t.layerPointToContainerPoint(r),a=I(this.options.autoPanPadding),s=I(this.options.autoPanPaddingTopLeft||a),c=I(this.options.autoPanPaddingBottomRight||a),l=t.getSize(),u=0,d=0;o.x+i+c.x>l.x&&(u=o.x+i-l.x+c.x),o.x-u-s.x<0&&(u=o.x-s.x),o.y+n+c.y>l.y&&(d=o.y+n-l.y+c.y),o.y-d-s.y<0&&(d=o.y-s.y),(u||d)&&t.fire("autopanstart").panBy([u,d])}},_onCloseButtonClick:function(t){this._close(),Ue(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ei=function(t,e){return new Ci(t,e)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(t,e,n){return t instanceof Ci||(t=new Ci(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Hn.include({bindPopup:function(t,e){return t instanceof Ci?(f(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Ci(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ue(t),e instanceof Qn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Li=Si.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Si.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Si.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Si.prototype.getEvents.call(this);return xt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=le("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,o=i.latLngToContainerPoint(i.getCenter()),a=i.layerPointToContainerPoint(t),s=this.options.direction,c=r.offsetWidth,l=r.offsetHeight,u=I(this.options.offset),d=this._getAnchor();"top"===s?(e=c/2,n=l):"bottom"===s?(e=c/2,n=0):"center"===s?(e=c/2,n=l/2):"right"===s?(e=0,n=l/2):"left"===s?(e=c,n=l/2):a.x<o.x?(s="right",e=0,n=l/2):(s="left",e=c+2*(u.x+d.x),n=l/2),t=t.subtract(I(e,n,!0)).add(u).add(d),ge(r,"leaflet-tooltip-right"),ge(r,"leaflet-tooltip-left"),ge(r,"leaflet-tooltip-top"),ge(r,"leaflet-tooltip-bottom"),me(r,"leaflet-tooltip-"+s),xe(r,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ye(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Ai=function(t,e){return new Li(t,e)};tn.include({openTooltip:function(t,e,n){return t instanceof Li||(t=new Li(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Hn.include({bindTooltip:function(t,e){return t instanceof Li?(f(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=new Li(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),xt&&(n.click=this._openTooltip)),this[e](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(me(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(ge(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,n,i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(e),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var Oi=Xn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(de(e),e.appendChild(n.html)):e.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=I(n.bgPos);e.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function Pi(t){return new Oi(t)}Xn.Default=Gn;var Di=Hn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:_t,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){f(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ue(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(he(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(fe(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=s(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof D?t:new D(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,i=-t(-1/0,1/0),r=0,o=n.length;r<o;r++)e=n[r].style.zIndex,n[r]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!tt){ye(this._container,this.options.opacity);var t=+new Date,e=!1,n=!1;for(var i in this._tiles){var r=this._tiles[i];if(r.current&&r.loaded){var o=Math.min(1,(t-r.loaded)/200);ye(r.el,o),o<1?e=!0:(r.active?n=!0:this._onOpaqueTile(r),r.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),e&&(S(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=le("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(ue(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[t],r=this._map;return i||(i=this._levels[t]={},i.el=le("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=r.project(r.unproject(r.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,r.getCenter(),r.getZoom()),l(i.el.offsetWidth),this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var i=e.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ue(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,i){var r=Math.floor(t/2),o=Math.floor(e/2),a=n-1,s=new D(+r,+o);s.z=+a;var c=this._tileCoordsToKey(s),l=this._tiles[c];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),a>i&&this._retainParent(r,o,a,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var o=2*e;o<2*e+2;o++){var a=new D(r,o);a.z=n+1;var s=this._tileCoordsToKey(a),c=this._tiles[s];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n+1<i&&this._retainChildren(r,o,n+1,i))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,i){var r=Math.round(e);r=void 0!==this.options.maxZoom&&r>this.options.maxZoom||void 0!==this.options.minZoom&&r<this.options.minZoom?void 0:this._clampZoom(r);var o=this.options.updateWhenZooming&&r!==this._tileZoom;i&&!o||(this._tileZoom=r,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==r&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var i=this._map.getZoomScale(n,t.zoom),r=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,n)).round();vt?ke(t.el,r,i):xe(t.el,r)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,r=this._map.getPixelWorldBounds(this._tileZoom);r&&(this._globalTileRange=this._pxBoundsToTileRange(r)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(n,this._tileZoom),r=e.project(t,this._tileZoom).floor(),o=e.getSize().divideBy(2*i);return new R(r.subtract(o),r.add(o))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(t),r=this._pxBoundsToTileRange(i),o=r.getCenter(),a=[],s=this.options.keepBuffer,c=new R(r.getBottomLeft().subtract([s,-s]),r.getTopRight().add([s,-s]));if(!(isFinite(r.min.x)&&isFinite(r.min.y)&&isFinite(r.max.x)&&isFinite(r.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var l in this._tiles){var u=this._tiles[l].coords;u.z===this._tileZoom&&c.contains(new D(u.x,u.y))||(this._tiles[l].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var d=r.min.y;d<=r.max.y;d++)for(var h=r.min.x;h<=r.max.x;h++){var f=new D(h,d);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:a.push(f)}}if(a.sort((function(t,e){return t.distanceTo(o)-e.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<a.length;h++)this._addTile(a[h],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return z(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n),o=e.unproject(i,t.z),a=e.unproject(r,t.z);return[o,a]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new Y(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new D(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ue(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){me(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,tt&&this.options.opacity<1&&ye(t,this.options.opacity),it&&!rt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),i=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),r(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&M(r(this._tileReady,this,t,null,o)),xe(o,n),this._tiles[i]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var i=this._tileCoordsToKey(t);n=this._tiles[i],n&&(n.loaded=+new Date,this._map._fadeAnimated?(ye(n.el,0),S(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(me(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(r(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?c(t.x,this._wrapX):t.x,this._wrapY?c(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new R(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function ji(t){return new Di(t)}var Ii=Di.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,e=f(this,e),e.detectRetina&&St&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),it||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return De(n,"load",r(this._tileOnLoad,this,e,n)),De(n,"error",r(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:St?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=i),e["-y"]=i}return g(this._url,n(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(r(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,n=this.options.zoomReverse,i=this.options.zoomOffset;return n&&(t=e-t),t+i},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=l,e.onerror=l,e.complete||(e.src=y,ue(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return at||e.el.setAttribute("src",y),Di.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return Di.prototype._tileReady.call(this,t,e,n)}});function Ri(t,e){return new Ii(t,e)}var Ni=Ii.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=n({},this.defaultWmsParams);for(var r in e)r in this.options||(i[r]=e[r]);e=f(this,e);var o=e.detectRetina&&St?2:1,a=this.getTileSize();i.width=a.x*o,i.height=a.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Ii.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,o=i.max,a=(this._wmsVersion>=1.3&&this._crs===Bn?[r.y,r.x,o.y,o.x]:[r.x,r.y,o.x,o.y]).join(","),s=Ii.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function Yi(t,e){return new Ni(t,e)}Ii.WMS=Ni,Ri.wms=Yi;var zi=Hn.extend({options:{padding:.1,tolerance:0},initialize:function(t){f(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&me(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=Te(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),a=this._map.project(t,e),s=a.subtract(o),c=r.multiplyBy(-n).add(i).add(r).subtract(s);vt?ke(this._container,c,n):xe(this._container,c)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new R(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Bi=zi.extend({getEvents:function(){var t=zi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){zi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");De(t,"mousemove",this._onMouseMove,this),De(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),De(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,ue(this._container),Ie(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){zi.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=St?2:1;xe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",St&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){zi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n<i.length;n++){if(e=Number(i[n]),isNaN(e))return;r.push(e)}t.options._dashArray=r}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new R,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var n=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,i,r,o,a=t._parts,s=a.length,c=this._ctx;if(s){for(c.beginPath(),n=0;n<s;n++){for(i=0,r=a[n].length;i<r;i++)o=a[n][i],c[i?"lineTo":"moveTo"](o.x,o.y);e&&c.closePath()}this._fillStroke(c,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,n=this._ctx,i=Math.max(Math.round(t._radius),1),r=(Math.max(Math.round(t._radiusY),1)||i)/i;1!==r&&(n.save(),n.scale(1,r)),n.beginPath(),n.arc(e.x,e.y/r,i,0,2*Math.PI,!1),1!==r&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,i=this._map.mouseEventToLayerPoint(t),r=this._drawFirst;r;r=r.next)e=r.layer,e.options.interactive&&e._containsPoint(i)&&("click"!==t.type&&"preclick"===t.type||!this._map._draggableMoved(e))&&(n=e);n&&(Ge(t),this._fireEvent([n],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(ge(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,i,o=this._drawFirst;o;o=o.next)n=o.layer,n.options.interactive&&n._containsPoint(e)&&(i=n);i!==this._hoveredLayer&&(this._handleMouseOut(t),i&&(me(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseover"),this._hoveredLayer=i)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(r((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function Fi(t){return Et?new Bi(t):null}var Hi=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Vi={_initContainer:function(){this._container=le("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(zi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Hi("shape");me(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Hi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ue(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=Hi("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=v(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=Hi("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){he(t._container)},_bringToBack:function(t){fe(t._container)}},Ui=At?Hi:Z,Wi=zi.extend({getEvents:function(){var t=zi.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ue(this._container),Ie(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){zi.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),xe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Ui("path");t.options.className&&me(e,t.options.className),t.options.interactive&&me(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ue(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i=Math.max(Math.round(t._radiusY),1)||n,r="a"+n+","+i+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+r+2*n+",0 "+r+2*-n+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){he(t._path)},_bringToBack:function(t){fe(t._path)}});function $i(t){return Lt||At?new Wi(t):null}At&&Wi.include(Vi),tn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Fi(t)||$i(t)}});var Xi=ai.extend({initialize:function(t,e){ai.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=z(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function qi(t,e){return new Xi(t,e)}Wi.create=Ui,Wi.pointsToPath=J,ci.geometryToLayer=li,ci.coordsToLatLng=di,ci.coordsToLatLngs=hi,ci.latLngToCoords=fi,ci.latLngsToCoords=pi,ci.getFeature=mi,ci.asFeature=gi,tn.mergeOptions({boxZoom:!0});var Gi=fn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){De(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ie(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ue(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Qt(),Se(),this._startPoint=this._map.mouseEventToContainerPoint(t),De(document,{contextmenu:Ue,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=le("div","leaflet-zoom-box",this._container),me(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new R(this._point,this._startPoint),n=e.getSize();xe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ue(this._box),ge(this._container,"leaflet-crosshair")),te(),Ce(),Ie(document,{contextmenu:Ue,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(r(this._resetState,this),0);var e=new Y(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});tn.addInitHook("addHandler","boxZoom",Gi),tn.mergeOptions({doubleClickZoom:!0});var Zi=fn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});tn.addInitHook("addHandler","doubleClickZoom",Zi),tn.mergeOptions({dragging:!0,inertia:!rt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ji=fn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new yn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}me(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ge(this._map._container,"leaflet-grab"),ge(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=z(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,o=(i+e+n)%t-e-n,a=Math.abs(r+n)<Math.abs(o+n)?r:o;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,n=e.options,i=!n.inertia||this._times.length<2;if(e.fire("dragend",t),i)e.fire("moveend");else{this._prunePositions(+new Date);var r=this._lastPos.subtract(this._positions[0]),o=(this._lastTime-this._times[0])/1e3,a=n.easeLinearity,s=r.multiplyBy(a/o),c=s.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,c),u=s.multiplyBy(l/c),d=l/(n.inertiaDeceleration*a),h=u.multiplyBy(-d/2).round();h.x||h.y?(h=e._limitOffset(h,e.options.maxBounds),M((function(){e.panBy(h,{duration:d,easeLinearity:a,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});tn.addInitHook("addHandler","dragging",Ji),tn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Ki=fn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),De(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Ie(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,n=t.scrollTop||e.scrollTop,i=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,n,i=this._panKeys={},r=this.keyCodes;for(e=0,n=r.left.length;e<n;e++)i[r.left[e]]=[-1*t,0];for(e=0,n=r.right.length;e<n;e++)i[r.right[e]]=[t,0];for(e=0,n=r.down.length;e<n;e++)i[r.down[e]]=[0,t];for(e=0,n=r.up.length;e<n;e++)i[r.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,n,i=this._zoomKeys={},r=this.keyCodes;for(e=0,n=r.zoomIn.length;e<n;e++)i[r.zoomIn[e]]=t;for(e=0,n=r.zoomOut.length;e<n;e++)i[r.zoomOut[e]]=-t},_addHooks:function(){De(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Ie(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n=t.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(e=this._panKeys[n],t.shiftKey&&(e=I(e).multiplyBy(3)),i.panBy(e),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Ue(t)}}});tn.addInitHook("addHandler","keyboard",Ki),tn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Qi=fn.extend({addHooks:function(){De(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Ie(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Xe(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var i=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(r(this._performZoom,this),i),Ue(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),r=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,o=n?Math.ceil(r/n)*n:r,a=t._limitZoom(e+(this._delta>0?o:-o))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});tn.addInitHook("addHandler","scrollWheelZoom",Qi),tn.mergeOptions({tap:!0,tapTolerance:15});var tr=fn.extend({addHooks:function(){De(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ie(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ve(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&me(n,"leaflet-active"),this._holdTimeout=setTimeout(r((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),De(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ie(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&ge(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!xt||kt&&!ut||tn.addInitHook("addHandler","tap",tr),tn.mergeOptions({touchZoom:xt&&!rt,bounceAtZoomLimits:!0});var er=fn.extend({addHooks:function(){me(this._map._container,"leaflet-touch-zoom"),De(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ge(this._map._container,"leaflet-touch-zoom"),Ie(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),De(document,"touchmove",this._onTouchMove,this),De(document,"touchend",this._onTouchEnd,this),Ve(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]),o=n.distanceTo(i)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
407Zoom()&&o<1||this._zoom>e.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(i)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var s=r(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(s,this,!0),Ve(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),Ie(document,"touchmove",this._onTouchMove,this),Ie(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});tn.addInitHook("addHandler","touchZoom",er),tn.BoxZoom=Gi,tn.DoubleClickZoom=Zi,tn.Drag=Ji,tn.Keyboard=Ki,tn.ScrollWheelZoom=Qi,tn.Tap=tr,tn.TouchZoom=er,t.version=e,t.Control=nn,t.control=rn,t.Browser=Pt,t.Evented=P,t.Mixin=mn,t.Util=C,t.Class=E,t.Handler=fn,t.extend=n,t.bind=r,t.stamp=a,t.setOptions=f,t.DomEvent=Ke,t.DomUtil=Pe,t.PosAnimation=Qe,t.Draggable=yn,t.LineUtil=Dn,t.PolyUtil=In,t.Point=D,t.point=I,t.Bounds=R,t.bounds=N,t.Transformation=$,t.transformation=X,t.Projection=Yn,t.LatLng=B,t.latLng=F,t.LatLngBounds=Y,t.latLngBounds=z,t.CRS=H,t.GeoJSON=ci,t.geoJSON=_i,t.geoJson=yi,t.Layer=Hn,t.LayerGroup=Vn,t.layerGroup=Un,t.FeatureGroup=Wn,t.featureGroup=$n,t.ImageOverlay=bi,t.imageOverlay=wi,t.VideoOverlay=ki,t.videoOverlay=xi,t.SVGOverlay=Ti,t.svgOverlay=Mi,t.DivOverlay=Si,t.Popup=Ci,t.popup=Ei,t.Tooltip=Li,t.tooltip=Ai,t.Icon=Xn,t.icon=qn,t.DivIcon=Oi,t.divIcon=Pi,t.Marker=Jn,t.marker=Kn,t.TileLayer=Ii,t.tileLayer=Ri,t.GridLayer=Di,t.gridLayer=ji,t.SVG=Wi,t.svg=$i,t.Renderer=zi,t.Canvas=Bi,t.canvas=Fi,t.Path=Qn,t.CircleMarker=ti,t.circleMarker=ei,t.Circle=ni,t.circle=ii,t.Polyline=ri,t.polyline=oi,t.Polygon=ai,t.polygon=si,t.Rectangle=Xi,t.rectangle=qi,t.Map=tn,t.map=en;var nr=window.L;t.noConflict=function(){return window.L=nr,this},window.L=t}))},e163:function(t,e,n){var i=n("5135"),r=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e198:function(t,e,n){var i=n("ef08"),r=n("5524"),o=n("e444"),a=n("fcd4"),s=n("1a14").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},e1d3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
408//! moment.js locale configuration 409var e=t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},e1de:function(t,e,n){t.exports={default:n("22bf"),__esModule:!0}},e260:function(t,e,n){"use strict";var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",l=a.set,u=a.getterFor(c);t.exports=s(Array,"Array",(function(t,e){l(this,{type:c,target:i(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e2cc:function(t,e,n){var i=n("6eeb");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},e34a:function(t,e,n){var i=n("8b1a")("meta"),r=n("7a41"),o=n("9c0e"),a=n("1a14").f,s=0,c=Object.isExtensible||function(){return!0},l=!n("4b8b")((function(){return c(Object.preventExtensions({}))})),u=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},d=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[i].i},h=function(t,e){if(!o(t,i)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[i].w},f=function(t){return l&&p.NEED&&c(t)&&!o(t,i)&&u(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},e439:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),c=r((function(){a(1)})),l=!s||c;i({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e444:function(t,e){t.exports=!0},e538:function(t,e,n){var i=n("b622");e.f=i},e58c:function(t,e,n){"use strict";var i=n("fc6a"),r=n("a691"),o=n("50c4"),a=n("a640"),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=l||!u;t.exports=d?function(t){if(l)return c.apply(this,arguments)||0;var e=i(this),n=o(e.length),a=n-1;for(arguments.length>1&&(a=s(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:c},e607:function(t,e,n){},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6cf:function(t,e,n){"use strict";var i,r,o,a,s=n("23e7"),c=n("c430"),l=n("da84"),u=n("d066"),d=n("fea9"),h=n("6eeb"),f=n("e2cc"),p=n("d2bb"),m=n("d44e"),g=n("2626"),v=n("861d"),_=n("1c0b"),y=n("19aa"),b=n("8925"),w=n("2266"),k=n("1c7e"),x=n("4840"),T=n("2cf4").set,M=n("b575"),S=n("cdf9"),C=n("44de"),E=n("f069"),L=n("e667"),A=n("69f3"),O=n("94ca"),P=n("b622"),D=n("6069"),j=n("605d"),I=n("2d00"),R=P("species"),N="Promise",Y=A.get,z=A.set,B=A.getterFor(N),F=d&&d.prototype,H=d,V=F,U=l.TypeError,W=l.document,$=l.process,X=E.f,q=X,G=!!(W&&W.createEvent&&l.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,J="unhandledrejection",K="rejectionhandled",Q=0,tt=1,et=2,nt=1,it=2,rt=!1,ot=O(N,(function(){var t=b(H),e=t!==String(H);if(!e&&66===I)return!0;if(c&&!V["finally"])return!0;if(I>=51&&/native code/.test(t))return!1;var n=new H((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))},r=n.constructor={};return r[R]=i,rt=n.then((function(){}))instanceof i,!rt||!e&&D&&!Z})),at=ot||!k((function(t){H.all(t)["catch"]((function(){}))})),st=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},ct=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;M((function(){var i=t.value,r=t.state==tt,o=0;while(n.length>o){var a,s,c,l=n[o++],u=r?l.ok:l.fail,d=l.resolve,h=l.reject,f=l.domain;try{u?(r||(t.rejection===it&&ht(t),t.rejection=nt),!0===u?a=i:(f&&f.enter(),a=u(i),f&&(f.exit(),c=!0)),a===l.promise?h(U("Promise-chain cycle")):(s=st(a))?s.call(a,d,h):d(a)):h(i)}catch(p){f&&!c&&f.exit(),h(p)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ut(t)}))}},lt=function(t,e,n){var i,r;G?(i=W.createEvent("Event"),i.promise=e,i.reason=n,i.initEvent(t,!1,!0),l.dispatchEvent(i)):i={promise:e,reason:n},!Z&&(r=l["on"+t])?r(i):t===J&&C("Unhandled promise rejection",n)},ut=function(t){T.call(l,(function(){var e,n=t.facade,i=t.value,r=dt(t);if(r&&(e=L((function(){j?$.emit("unhandledRejection",i,n):lt(J,n,i)})),t.rejection=j||dt(t)?it:nt,e.error))throw e.value}))},dt=function(t){return t.rejection!==nt&&!t.parent},ht=function(t){T.call(l,(function(){var e=t.facade;j?$.emit("rejectionHandled",e):lt(K,e,t.value)}))},ft=function(t,e,n){return function(i){t(e,i,n)}},pt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=et,ct(t,!0))},mt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);
409try{if(t.facade===e)throw U("Promise can't be resolved itself");var i=st(e);i?M((function(){var n={done:!1};try{i.call(e,ft(mt,n,t),ft(pt,n,t))}catch(r){pt(n,r,t)}})):(t.value=e,t.state=tt,ct(t,!1))}catch(r){pt({done:!1},r,t)}}};if(ot&&(H=function(t){y(this,H,N),_(t),i.call(this);var e=Y(this);try{t(ft(mt,e),ft(pt,e))}catch(n){pt(e,n)}},V=H.prototype,i=function(t){z(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Q,value:void 0})},i.prototype=f(V,{then:function(t,e){var n=B(this),i=X(x(this,H));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=j?$.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=Q&&ct(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=Y(t);this.promise=t,this.resolve=ft(mt,e),this.reject=ft(pt,e)},E.f=X=function(t){return t===H||t===o?new r(t):q(t)},!c&&"function"==typeof d&&F!==Object.prototype)){a=F.then,rt||(h(F,"then",(function(t,e){var n=this;return new H((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),h(F,"catch",V["catch"],{unsafe:!0}));try{delete F.constructor}catch(gt){}p&&p(F,V)}s({global:!0,wrap:!0,forced:ot},{Promise:H}),m(H,N,!1,!0),g(N),o=u(N),s({target:N,stat:!0,forced:ot},{reject:function(t){var e=X(this);return e.reject.call(void 0,t),e.promise}}),s({target:N,stat:!0,forced:c||ot},{resolve:function(t){return S(c&&this===o?H:this,t)}}),s({target:N,stat:!0,forced:at},{all:function(t){var e=this,n=X(e),i=n.resolve,r=n.reject,o=L((function(){var n=_(e.resolve),o=[],a=0,s=1;w(t,(function(t){var c=a++,l=!1;o.push(void 0),s++,n.call(e,t).then((function(t){l||(l=!0,o[c]=t,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=X(e),i=n.reject,r=L((function(){var r=_(e.resolve);w(t,(function(t){r.call(e,t).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},e70e:function(t,e,n){var i=n("0983"),r=n("9876");n("7336")("keys",(function(){return function(t){return r(i(t))}}))},e762:function(t,e,n){"use strict";n.d(e,"a",(function(){return U}));var i=n("2909"),r=(n("159b"),n("20bf"),n("ace4"),n("d3b7"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("25f0"),n("a15b"),"3.6.1"),o=r,a="function"===typeof atob,s="function"===typeof btoa,c="function"===typeof Buffer,l="function"===typeof TextDecoder?new TextDecoder:void 0,u="function"===typeof TextEncoder?new TextEncoder:void 0,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=Object(i["a"])(d),f=function(t){var e={};return t.forEach((function(t,n){return e[t]=n})),e}(h),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,m=String.fromCharCode.bind(String),g="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},v=function(t){return t.replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"})).replace(/=+$/m,"")},_=function(t){return t.replace(/[^A-Za-z0-9\+\/]/g,"")},y=function(t){for(var e,n,i,r,o="",a=t.length%3,s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(i=t.charCodeAt(s++))>255||(r=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");e=n<<16|i<<8|r,o+=h[e>>18&63]+h[e>>12&63]+h[e>>6&63]+h[63&e]}return a?o.slice(0,a-3)+"===".substring(a):o},b=s?function(t){return btoa(t)}:c?function(t){return Buffer.from(t,"binary").toString("base64")}:y,w=c?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=4096,n=[],i=0,r=t.length;i<r;i+=e)n.push(m.apply(null,t.subarray(i,i+e)));return b(n.join(""))},k=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?v(w(t)):w(t)},x=function(t){if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?m(192|e>>>6)+m(128|63&e):m(224|e>>>12&15)+m(128|e>>>6&63)+m(128|63&e)}e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return m(240|e>>>18&7)+m(128|e>>
vendor: 2,798 bytes, line 409
409>12&63)+m(128|e>>>6&63)+m(128|63&e)},T=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,M=function(t){return t.replace(T,x)},S=c?function(t){return Buffer.from(t,"utf8").toString("base64")}:u?function(t){return w(u.encode(t))}:function(t){return b(M(t))},C=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?v(S(t)):S(t)},E=function(t){return C(t,!0)},L=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,A=function(t){switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return m(55296+(n>>>10))+m(56320+(1023&n));case 3:return m((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return m((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},O=function(t){return t.replace(L,A)},P=function(t){if(t=t.replace(/\s+/g,""),!p.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));for(var e,n,i,r="",o=0;o<t.length;)e=f[t.charAt(o++)]<<18|f[t.charAt(o++)]<<12|(n=f[t.charAt(o++)])<<6|(i=f[t.charAt(o++)]),r+=64===n?m(e>>16&255):64===i?m(e>>16&255,e>>8&255):m(e>>16&255,e>>8&255,255&e);return r},D=a?function(t){return atob(_(t))}:c?function(t){return Buffer.from(t,"base64").toString("binary")}:P,j=c?function(t){return g(Buffer.from(t,"base64"))}:function(t){return g(D(t),(function(t){return t.charCodeAt(0)}))},I=function(t){return j(N(t))},R=c?function(t){return Buffer.from(t,"base64").toString("utf8")}:l?function(t){return l.decode(j(t))}:function(t){return O(D(t))},N=function(t){return _(t.replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})))},Y=function(t){return R(N(t))},z=function(t){if("string"!==typeof t)return!1;var e=t.replace(/\s+/g,"").replace(/=+$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},B=function(t){return{value:t,enumerable:!1,writable:!0,configurable:!0}},F=function(){var t=function(t,e){return Object.defineProperty(String.prototype,t,B(e))};t("fromBase64",(function(){return Y(this)})),t("toBase64",(function(t){return C(this,t)})),t("toBase64URI",(function(){return C(this,!0)})),t("toBase64URL",(function(){return C(this,!0)})),t("toUint8Array",(function(){return I(this)}))},H=function(){var t=function(t,e){return Object.defineProperty(Uint8Array.prototype,t,B(e))};t("toBase64",(function(t){return k(this,t)})),t("toBase64URI",(function(){return k(this,!0)})),t("toBase64URL",(function(){return k(this,!0)}))},V=function(){F(),H()},U={version:r,VERSION:o,atob:D,atobPolyfill:P,btoa:b,btoaPolyfill:y,fromBase64:Y,toBase64:C,encode:C,encodeURI:E,encodeURL:E,utob:M,btou:O,decode:Y,isValid:z,fromUint8Array:k,toUint8Array:I,extendString:F,extendUint8Array:H,extendBuiltins:V}},e81d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
410//! moment.js locale configuration 411var e={1:"á¡",2:"á¢",3:"á£",4:"á¤",5:"á¥",6:"á¦",7:"á§",8:"á¨",9:"á©",0:"á "},n={"á¡":"1","á¢":"2","á£":"3","á¤":"4","á¥":"5","á¦":"6","á§":"7","á¨":"8","á©":"9","á ":"0"},i=t.defineLocale("km",{months:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼".split("_"),monthsShort:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼".split("_"),weekdays:"á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá".split("_"),weekdaysShort:"á¢á¶_á _á¢_á_ááá_áá»_á".split("_"),weekdaysMin:"á¢á¶_á _á¢_á_ááá_áá»_á".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/áááá¹á|áááá¶á /,isPM:function(t){return"áááá¶á "===t},meridiem:function(t,e,n){return t<12?"áááá¹á":"áááá¶á "},calendar:{sameDay:"[ááááááá áááá] LT",nextDay:"[ááá¢áá áááá] LT",nextWeek:"dddd [áááá] LT",lastDay:"[áááá·ááá·á áááá] LT",lastWeek:"dddd [ááááá¶á ááá»á] [áááá] LT",sameElse:"L"},relativeTime:{future:"%sááá",past:"%sáá»á",s:"ááá»áááá¶ááá·áá¶áá¸",ss:"%d áá·áá¶áá¸",m:"áá½ááá¶áá¸",mm:"%d áá¶áá¸",h:"áá½ááááá",hh:"%d áááá",d:"áá½ááááá",dd:"%d áááá",M:"áá½ááá",MM:"%d áá",y:"áá½ááááá¶á",yy:"%d áááá¶á"},dayOfMonthOrdinalParse:/áá¸\d{1,2}/,ordinal:"áá¸%d",preparse:function(t){return t.replace(/[á¡á¢á£á¤á¥á¦á§á¨á©á ]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return i}))},e893:function(t,e,n){var i=n("5135"),r=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=r(e),s=a.f,c=o.f,l=0;l<n.length;l++){var u=n[l];i(t,u)||s(t,u,c(e,u))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},e91f:function(t,e,n){"use strict";var i=n("ebb5"),r=n("4d64").indexOf,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("indexOf",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},e95a:function(t,e,n){var i=n("b622"),r=n("3f8c"),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},ea34:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},eb99:function(t,e,n){"use strict";var i=n("7037").default;n("d3b7"),n("25f0"),n("99af"),n("159b"),n("b64b"),n("ac1f"),n("5319"),n("a4d3"),n("e01a"),n("fb6a");var r=n("be23"),o=Object.prototype.hasOwnProperty,a=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t){while(t.length>1){var e=t.pop(),n=e.obj[e.prop];if(a(n)){for(var i=[],r=0;r<n.length;++r)"undefined"!==typeof n[r]&&i.push(n[r]);e.obj[e.prop]=i}}},l=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},i=0;i<t.length;++i)"undefined"!==typeof t[i]&&(n[i]=t[i]);return n},u=function t(e,n,r){if(!n)return e;if("object"!==i(n)){if(a(e))e.push(n);else{if(!e||"object"!==i(e))return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!==i(e))return[e].concat(n);var s=e;return a(e)&&!a(n)&&(s=l(e,r)),a(e)&&a(n)?(n.forEach((function(n,a){if(o.c
411all(e,a)){var s=e[a];s&&"object"===i(s)&&n&&"object"===i(n)?e[a]=t(s,n,r):e.push(n)}else e[a]=n})),e):Object.keys(n).reduce((function(e,i){var a=n[i];return o.call(e,i)?e[i]=t(e[i],a,r):e[i]=a,e}),s)},d=function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},h=function(t,e,n){var i=t.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(r){return i}},f=function(t,e,n,o,a){if(0===t.length)return t;var c=t;if("symbol"===i(t)?c=Symbol.prototype.toString.call(t):"string"!==typeof t&&(c=String(t)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",u=0;u<c.length;++u){var d=c.charCodeAt(u);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===r.RFC1738&&(40===d||41===d)?l+=c.charAt(u):d<128?l+=s[d]:d<2048?l+=s[192|d>>6]+s[128|63&d]:d<55296||d>=57344?l+=s[224|d>>12]+s[128|d>>6&63]+s[128|63&d]:(u+=1,d=65536+((1023&d)<<10|1023&c.charCodeAt(u)),l+=s[240|d>>18]+s[128|d>>12&63]+s[128|d>>6&63]+s[128|63&d])}return l},p=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],a=o.obj[o.prop],s=Object.keys(a),l=0;l<s.length;++l){var u=s[l],d=a[u];"object"===i(d)&&null!==d&&-1===n.indexOf(d)&&(e.push({obj:a,prop:u}),n.push(d))}return c(e),t},m=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},g=function(t){return!(!t||"object"!==i(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},v=function(t,e){return[].concat(t,e)},_=function(t,e){if(a(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(e(t[i]));return n}return e(t)};t.exports={arrayToObject:l,assign:d,combine:v,compact:p,decode:h,encode:f,isBuffer:g,isRegExp:m,maybeMap:_,merge:u}},ebb5:function(t,e,n){"use strict";var i,r,o,a=n("a981"),s=n("83ab"),c=n("da84"),l=n("861d"),u=n("5135"),d=n("f5df"),h=n("9112"),f=n("6eeb"),p=n("9bf2").f,m=n("e163"),g=n("d2bb"),v=n("b622"),_=n("90e3"),y=c.Int8Array,b=y&&y.prototype,w=c.Uint8ClampedArray,k=w&&w.prototype,x=y&&m(y),T=b&&m(b),M=Object.prototype,S=M.isPrototypeOf,C=v("toStringTag"),E=_("TYPED_ARRAY_TAG"),L=_("TYPED_ARRAY_CONSTRUCTOR"),A=a&&!!g&&"Opera"!==d(c.opera),O=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},j=function(t){if(!l(t))return!1;var e=d(t);return"DataView"===e||u(P,e)||u(D,e)},I=function(t){if(!l(t))return!1;var e=d(t);return u(P,e)||u(D,e)},R=function(t){if(I(t))return t;throw TypeError("Target is not a typed array")},N=function(t){if(g&&!S.call(x,t))throw TypeError("Target is not a typed array constructor");return t},Y=function(t,e,n){if(s){if(n)for(var i in P){var r=c[i];if(r&&u(r.prototype,t))try{delete r.prototype[t]}catch(o){}}T[t]&&!n||f(T,t,n?e:A&&b[t]||e)}},z=function(t,e,n){var i,r;if(s){if(g){if(n)for(i in P)if(r=c[i],r&&u(r,t))try{delete r[t]}catch(o){}if(x[t]&&!n)return;try{return f(x,t,n?e:A&&x[t]||e)}catch(o){}}for(i in P)r=c[i],!r||r[t]&&!n||f(r,t,e)}};for(i in P)r=c[i],o=r&&r.prototype,o?h(o,L,r):A=!1;for(i in D)r=c[i],o=r&&r.prototype,o&&h(o,L,r);if((!A||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},A))for(i in P)c[i]&&g(c[i],x);if((!A||!T||T===M)&&(T=x.prototype,A))for(i in P)c[i]&&g(c[i].prototype,T);if(A&&m(k)!==T&&g(k,T),s&&!u(T,C))for(i in O=!0,p(T,C,{get:function(){return l(this)?this[E]:void 0}}),P)c[i]&&h(c[i],E,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:O&&E,aTypedArray:R,aTypedArrayConstructor:N,exportTypedArrayMethod:Y,exportTypedArrayStaticMethod:z,isView:j,isTypedArray:I,TypedArray:x,TypedArrayPrototype:T}},ebe4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
vendor: 2,733 bytes, lines 412-415
412//! moment.js locale configuration 413var e=t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e}))},ec18:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 414//! moment.js locale configuration 415function e(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},ec2e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
416//! moment.js locale configuration 417var e=t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:0,doy:6}});return e}))},ec5a:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("1098"),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}e.default={type:[String,Object],validator:function(t){return"string"===typeof t&&t.length>0||"object"===("undefined"===typeof t?"undefined":(0,r.default)(t))&&(t.hasOwnProperty("pc")&&t.pc.length>0||t.hasOwnProperty("h5")&&t.h5.length>0)},required:!0}},eda5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
418//! moment.js locale configuration 419var e=t.defineLocale("si",{months:"ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶ à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·".split("_"),monthsShort:"ජන_à¶´à·à¶¶_මà·à¶»à·_à¶ à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·".split("_"),weekdays:"à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶ à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·".split("_"),weekdaysShort:"à¶à¶»à·_à·à¶³à·_à¶ à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±".split("_"),weekdaysMin:"à¶_à·_à¶ _à¶¶_à¶¶à·âà¶»_à·à·_à·à·".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss"},calendar:{sameDay:"[චද] LT[à¶§]",nextDay:"[à·à·à¶§] LT[à¶§]",nextWeek:"dddd LT[à¶§]",lastDay:"[à¶à¶ºà·] LT[à¶§]",lastWeek:"[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]",sameElse:"L"},relativeTime:{future:"%sà¶à·à¶±à·",past:"%sà¶à¶§ à¶´à·à¶»",s:"à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º",ss:"à¶à¶à·à¶´à¶» %d",m:"මà·à¶±à·à¶à·à¶à·à·",mm:"මà·à¶±à·à¶à·à¶à· %d",h:"à¶´à·à¶º",hh:"à¶´à·à¶º %d",d:"දà·à¶±à¶º",dd:"දà·à¶± %d",M:"මà·à·à¶º",MM:"මà·à· %d",y:"à·à·à¶»",yy:"à·à·à¶» %d"},dayOfMonthOrdinalParse:/\d{1,2} à·à·à¶±à·/,ordinal:function(t){return t+" à·à·à¶±à·"},meridiemParse:/à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./,isPM:function(t){return"à¶´.à·."===t||"à¶´à·à· à·à¶»à·"===t},meridiem:function(t,e,n){return t>11?n?"à¶´.à·.":"à¶´à·à· à·à¶»à·":n?"à¶´à·.à·.":"à¶´à·à¶» à·à¶»à·"}});return e}))},eec7:function(t,e,n){"use strict";var i=n("be09"),r=n("8362"),o=n("6444"),a=n("53a8");function s(t,e){for(var n=0;n<t.length;n++)e(t[n])}function c(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function l(t,e,n){var i=t;return r(e)?(n=e,"string"===typeof t&&(i={uri:t})):i=a(e,{uri:t}),i.callback=n,i}function u(t,e,n){return e=l(t,e,n),d(e)}function d(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,n=function(n,i,r){e||(e=!0,t.callback(n,i,r))};function i(){4===f.readyState&&setTimeout(s,0)}function r(){var t=void 0;if(t=f.response?f.response:f.responseText||h(f),b)try{t=JSON.parse(t)}catch(e){}return t}function a(t){return clearTimeout(p),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,n(t,w)}function s(){if(!d){var e;clearTimeout(p),e=t.useXDR&&void 0===f.status?200:1223===f.status?204:f.status;var i=w,a=null;return 0!==e?(i={body:r(),statusCode:e,method:g,headers:{},url:m,rawRequest:f},f.getAllResponseHeaders&&(i.headers=o(f.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,i,i.body)}}var l,d,f=t.xhr||null;f||(f=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var p,m=f.url=t.uri||t.url,g=f.method=t.method||"GET",v=t.body||t.data,_=f.headers=t.headers||{},y=!!t.sync,b=!1,w={body:void 0,headers:{},statusCode:0,method:g,url:m,rawRequest:f};if("json"in t&&!1!==t.json&&(b=!0,_["accept"]||_["Accept"]||(_["Accept"]="application/json"),"GET"!==g&&"HEAD"!==g&&(_["content-type"]||_["Content-Type"]||(_["Content-Type"]="application/json"),v=JSON.stringify(!0===t.json?v:t.json))),f.onreadystatechange=i,f.onload=s,f.onerror=a,f.onprogress=function(){},f.onabort=function(){d=!0},f.ontimeout=a,f.open(g,m,!y,t.username,t.password),y||(f.withCredentials=!!t.withCredentials),!y&&t.timeout>0&&(p=setTimeout((function(){if(!d){d=!0,f.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",a(t)}}),t.timeout)),f.setRequestHeader)for(l in _)_.hasOwnProperty(l)&&f.setRequestHeader(l,_[l]);else if(t.headers&&!c(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(f.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(f),f.send(v||null),f}function h(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}function f(){}t.exports=u,u.XMLHttpRequest=i.XMLHttpRequest||f,u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:i.XD
vendor: 6,588 bytes, lines 419-425
419omainRequest,s(["get","put","post","patch","head","delete"],(function(t){u["delete"===t?"del":t]=function(e,n,i){return n=l(e,n,i),n.method=t.toUpperCase(),d(n)}}))},ef08:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},ef34:function(t,e,n){(function(e){var i,r="undefined"!==typeof e?e:"undefined"!==typeof window?window:{},o=n(1);"undefined"!==typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"],i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o)),t.exports=i}).call(this,n("c8ba"))},f04c:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},f069:function(t,e,n){"use strict";var i=n("1c0b"),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},f13c:function(t,e,n){ 420/*! 421 * vue-scrollto v2.20.0 422 * (c) 2019 Randjelovic Igor 423 * @license MIT 424 */ 425(function(e,n){t.exports=n()})(0,(function(){"use strict";function t(e){return t="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){return e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},e.apply(this,arguments)}var n=4,i=.001,r=1e-7,o=10,a=11,s=1/(a-1),c="function"===typeof Float32Array;function l(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function d(t){return 3*t}function h(t,e,n){return((l(e,n)*t+u(e,n))*t+d(e))*t}function f(t,e,n){return 3*l(e,n)*t*t+2*u(e,n)*t+d(e)}function p(t,e,n,i,a){var s,c,l=0;do{c=e+(n-e)/2,s=h(c,i,a)-t,s>0?n=c:e=c}while(Math.abs(s)>r&&++l<o);return c}function m(t,e,i,r){for(var o=0;o<n;++o){var a=f(e,i,r);if(0===a)return e;var s=h(e,i,r)-t;e-=s/a}return e}function g(t){return t}var v=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return g;for(var o=c?new Float32Array(a):new Array(a),l=0;l<a;++l)o[l]=h(l*s,t,n);function u(e){for(var r=0,c=1,l=a-1;c!==l&&o[c]<=e;++c)r+=s;--c;var u=(e-o[c])/(o[c+1]-o[c]),d=r+u*s,h=f(d,t,n);return h>=i?m(e,d,t,n):0===h?d:p(e,r,r+s,t,n)}return function(t){return 0===t?0:1===t?1:h(u(t),e,r)}},_={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},y=!1;try{var b=Object.defineProperty({},"passive",{get:function(){y=!0}});window.addEventListener("test",null,b)}catch(I){}var w={$:function(t){return"string"!==typeof t?t:document.querySelector(t)},on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!1};e instanceof Array||(e=[e]);for(var r=0;r<e.length;r++)t.addEventListener(e[r],n,!!y&&i)},off:function(t,e,n){e instanceof Array||(e=[e]);for(var i=0;i<e.length;i++)t.removeEventListener(e[i],n)},cumulativeOffset:function(t){var e=0,n=0;do{e+=t.offsetTop||0,n+=t.offsetLeft||0,t=t.offsetParent}while(t);return{top:e,left:n}}},k=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],x={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function T(t){x=e({},x,t)}var M=function(){var e,n,i,r,o,a,s,c,l,u,d,h,f,p,m,g,y,b,T,M,S,C,E,L,A,O,P,D=function(t){c&&(E=t,M=!0)};function j(t){var e=t.scrollTop;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollTop),e}function I(t){var e=t.scrollLeft;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollLeft),e}function R(){S=w.cumulativeOffset(n),C=w.cumulativeOffset(e),h&&(m=C.left-S.left+a,b=m-p),f&&(y=C.top-S.top+a,T=y-g)}function N(t){if(M)return Y();A||(A=t),o||R(),O=t-A,P=Math.min(O/i,1),P=L(P),z(n,g+T*P,p+b*P),O<i?window.requestAnimationFrame(N):Y()}function Y(){M||z(n,y,m),A=!1,w.off(n,k,D),M&&d&&d(E,e),!M&&u&&u(e)}function z(t,e,n){f&&(t.scrollTop=e),h&&(t.scrollLeft=n),"body"===t.tagName.toLowerCase()&&(f&&(document.documentElement.scrollTop=e),h&&(document.documentElement.scrollLeft=n))}function B(m,S){var C=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"===t(S)?C=S:"number"===typeof S&&(C.duration=S),e=w.$(m),!e)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+m);if(n=w.$(C.container||x.container),i=C.hasOwnProperty("duration")?C.duration:x.duration,o=C.hasOwnProperty("lazy")?C.lazy:x.lazy,r=C.easing||x.easing,a=C.hasOwnProperty("offset")?C.offset:x.offset,s=C.hasOwnProperty("force")?!1!==C.force:x.force,c=C.hasOwnProperty("cancelable")?!1!==C.cancelable:x.cancelable,l=C.onStart||x.onStart,u=C.onDone||x.onDone,d=C.onCancel||x.onCancel,h=void 0===C.x?x.x:C.x,f=void 0===C.y?x.y:C.y,"function"===typeof a&&(a=a(e,n)),p=I(n),g=j(n),R(),M=!1,!s){var A="body"===n.tagName.toLowerCase()?document.documentElement.clientHeight||window.innerHeight:n.offsetHeight,O=g,P=O+A,Y=y-a,z=Y+e.offsetHeight;if(Y>=O&&z<=P)return void(u&&u(e))}if(l&&l(e),T||b)return"string"===typeof r&&(r=_[r]||_["ease"]),L=v.apply(v,r),w.on(n,k,D,{passive:!0}),window.requestAnimationFrame(N),function(){E=null,M=!0};u&&u(e)}return B},S=M(),C=[];function E(t){for(var e=0;e<C.length;++e)if(C[e].el===t)return C.splice(e,1),!0;return!1}function L(t){for(var e=0;e<C.length;++e)if(C[e].el===t)return C[e]}function A(t){var e=L(t);return e||(C.push(e={el:t,binding:{}}),e)}function O(t){var e=A(this).binding;if(e.value){if(t.preventDefault(),"string"===typeof e.value)return S(e.value);S(e.value.el||e.value.element,e.value)}}var P={bind:function(t,e){A(t).binding=e,w.on(t,"click",O)},unbind:function(t){E(t),w.off(t,"click",O)},update:function(t,e){A(t).binding=e}},D={bind:P.bind,unbind:P.unbind,update:P.update,beforeMount:P.bind,unmounted:P.unbind,updated:P.update,scrollTo:S,bindings:C},j=function(t,e){e&&T(e),t.directive("scroll-to",D);var n=t.config.globalProperties||t.prototype;n.$scrollTo=D.scrollTo};return"undefined"!==typeof window&&window.Vue&&(window.VueScrollTo=D,window.VueScrollTo.setDefaults=T,window.VueScrollTo.scroller=M,window.Vue.use&&window.Vue.use(j)),D.install=j,D}))},f1a0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={type:String,required:!0}},f260:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
426//! moment.js locale configuration 427var e=t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},f28c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){console.warn("[Vue-noCAPTCHA] "+t)}},f2c2:function(t,e,n){"use strict";var i=n("1609");function r(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},f2f3:function(t,e,n){"use strict";function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var r={namespaced:!0,state:{locale:null,fallback:null,translations:{}},mutations:{SET_LOCALE:function(t,e){t.locale=e.locale},ADD_LOCALE:function(t,e){var n=o(e.translations);if(t.translations.hasOwnProperty(e.locale)){var i=t.translations[e.locale];t.translations[e.locale]=Object.assign({},i,n)}else t.translations[e.locale]=n;try{t.translations.__ob__&&t.translations.__ob__.dep.notify()}catch(r){}},REPLACE_LOCALE:function(t,e){var n=o(e.translations);t.translations[e.locale]=n;try{t.translations.__ob__&&t.translations.__ob__.dep.notify()}catch(i){}},REMOVE_LOCALE:function(t,e){if(t.translations.hasOwnProperty(e.locale)){t.locale===e.locale&&(t.locale=null);var n=Object.assign({},t.translations);delete n[e.locale],t.translations=n}},SET_FALLBACK_LOCALE:function(t,e){t.fallback=e.locale}},actions:{setLocale:function(t,e){t.commit({type:"SET_LOCALE",locale:e.locale})},addLocale:function(t,e){t.commit({type:"ADD_LOCALE",locale:e.locale,translations:e.translations})},replaceLocale:function(t,e){t.commit({type:"REPLACE_LOCALE",locale:e.locale,translations:e.translations})},removeLocale:function(t,e){t.commit({type:"REMOVE_LOCALE",locale:e.locale,translations:e.translations})},setFallbackLocale:function(t,e){t.commit({type:"SET_FALLBACK_LOCALE",locale:e.locale})}}},o=function t(e){var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=i(e[r]);if(a(e[r])){for(var s=e[r].length,c=0;c<s;c++){var l=i(e[r][c]);if("string"!==l){console.warn("i18n:","currently only arrays of str
427ings are fully supported",e[r]);break}}n[r]=e[r]}else if("object"==o&&null!==o){var u=t(e[r]);for(var d in u)u.hasOwnProperty(d)&&(n[r+"."+d]=u[d])}else n[r]=e[r]}return n};function a(t){return!!t&&Array===t.constructor}var s={getTranslationIndex:function(t,e){switch(t){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return e%10!==1||e%100===11?1:0;case"jv":return 0!==e?1:0;case"mk":return 1===e||e%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":case"zh":return e>1?1:0;case"lv":return e%10===1&&e%100!==11?0:0!==e?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"mnk":return 0===e?0:1===e?1:2;case"ro":return 1===e?0:0===e||e%100>0&&e%100<20?1:2;case"pl":return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return 1===e?0:e>=2&&e<=4?1:2;case"csb":return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mt":return 1===e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"gd":return 1===e||11===e?0:2===e||12===e?1:e>2&&e<20?2:3;case"cy":return 1===e?0:2===e?1:8!==e&&11!==e?2:3;case"kw":return 1===e?0:2===e?1:3===e?2:3;case"ga":return 1===e?0:2===e?1:e>2&&e<7?2:e>6&&e<11?3:4;case"ar":return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5;default:return 1!==e?1:0}}},c={install:function(t,e,n){"string"!==typeof arguments[2]&&"string"!==typeof arguments[3]||(console.warn("i18n: Registering the plugin vuex-i18n with a string for `moduleName` or `identifiers` is deprecated. Use a configuration object instead.","https://github.com/dkfbasel/vuex-i18n#setup"),n={moduleName:arguments[2],identifiers:arguments[3]}),n=Object.assign({warnings:!0,moduleName:"i18n",identifiers:["{","}"],preserveState:!1,translateFilterName:"translate",translateInFilterName:"translateIn",onTranslationNotFound:function(){}},n);var i=n.moduleName,o=n.identifiers,a=n.translateFilterName,s=n.translateInFilterName,c=n.onTranslationNotFound;if("function"!==typeof c&&(console.error("i18n: i18n config option onTranslationNotFound must be a function"),c=function(){}),e.registerModule(i,r,{preserveState:n.preserveState}),!1===e.state.hasOwnProperty(i))return console.error("i18n: i18n vuex module is not correctly initialized. Please check the module name:",i),t.prototype.$i18n=function(t){return t},t.prototype.$getLanguage=function(){return null},void(t.prototype.$setLanguage=function(){console.error("i18n: i18n vuex module is not correctly initialized")});var u=l(o,n.warnings),d=function(){var t=e.state[i].locale;return h.apply(void 0,[t].concat(Array.prototype.slice.call(arguments)))},h=function(t){var r=arguments,o="",a="",s={},l=null,d=r.length;if(d>=3&&"string"===typeof r[2]?(o=r[1],a=r[2],d>3&&(s=r[3]),d>4&&(l=r[4])):(o=r[1],a=o,d>2&&(s=r[2]),d>3&&(l=r[3])),!t)return n.warnings&&console.warn("i18n: i18n locale is not set when trying to access translations:",o),a;var h=e.state[i].translations,f=e.state[i].fallback,p=t.split("-"),m=!0;if((!1===h.hasOwnProperty(t)||!1===h[t].hasOwnProperty(o))&&(m=!1),!0===m)return u(t,h[t][o],s,l);if(p.length>1&&!0===h.hasOwnProperty(p[0])&&!0===h[p[0]].hasOwnProperty(o))return u(p[0],h[p[0]][o],s,l);var g=c(t,o,a);return g&&Promise.resolve(g).then((function(e){var n={};n[o]=e,y(t,n)})),!1===h.hasOwnProperty(f)?u(t,a,s,l):!1===h[f].hasOwnProperty(o)?u(f,a,s,l):u(t,h[f][o],s,l)},f=function(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return h.apply(void 0,[e,t].concat(i))},p=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fallback",r=e.state[i].locale,o=e.state[i].fallback,a=e.state[i].translations;if(a.hasOwnProperty(r)&&a[r].hasOwnProperty(t))return!0;
427if("strict"==n)return!1;var s=r.split("-");return!!(s.length>1&&a.hasOwnProperty(s[0])&&a[s[0]].hasOwnProperty(t))||"locale"!=n&&!(!a.hasOwnProperty(o)||!a[o].hasOwnProperty(t))},m=function(t){e.dispatch({type:"".concat(i,"/setFallbackLocale"),locale:t})},g=function(t){e.dispatch({type:"".concat(i,"/setLocale"),locale:t})},v=function(){return e.state[i].locale},_=function(){return Object.keys(e.state[i].translations)},y=function(t,n){return e.dispatch({type:"".concat(i,"/addLocale"),locale:t,translations:n})},b=function(t,n){return e.dispatch({type:"".concat(i,"/replaceLocale"),locale:t,translations:n})},w=function(t){e.state[i].translations.hasOwnProperty(t)&&e.dispatch({type:"".concat(i,"/removeLocale"),locale:t})},k=function(t){return n.warnings&&console.warn("i18n: $i18n.exists is depreceated. Please use $i18n.localeExists instead. It provides exactly the same functionality."),x(t)},x=function(t){return e.state[i].translations.hasOwnProperty(t)};t.prototype.$i18n={locale:v,locales:_,set:g,add:y,replace:b,remove:w,fallback:m,localeExists:x,keyExists:p,translate:d,translateIn:h,exists:k},t.i18n={locale:v,locales:_,set:g,add:y,replace:b,remove:w,fallback:m,translate:d,translateIn:h,localeExists:x,keyExists:p,exists:k},t.prototype.$t=d,t.prototype.$tlang=h,t.filter(a,d),t.filter(s,f)}},l=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];null!=t&&2==t.length||console.warn("i18n: You must specify the start and end character identifying variable substitutions");var n=new RegExp(t[0]+"{1}(\\w{1}|\\w.+?)"+t[1]+"{1}","g"),r=function(i,r){return i.replace?i.replace(n,(function(n){var o=n.replace(t[0],"").replace(t[1],"");return void 0!==r[o]?r[o]:(e&&(console.group?console.group("i18n: Not all placeholders found"):console.warn("i18n: Not all placeholders found"),console.warn("Text:",i),console.warn("Placeholder:",n),console.groupEnd&&console.groupEnd()),n)})):i},o=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=i(n),l=i(a),d=function(){return u(n)?n.map((function(t){return r(t,o,!1)})):"string"===c?r(n,o,!0):void 0};if(null===a)return d();if("number"!==l)return e&&console.warn("i18n: pluralization is not a number"),d();var h=d(),f=null;f=u(h)&&h.length>0?h:h.split(":::");var p=s.getTranslationIndex(t,a);return"undefined"===typeof f[p]?(e&&console.warn("i18n: pluralization not provided in locale",n,t,p),f[0].trim()):f[p].trim()};return o};function u(t){return!!t&&Array===t.constructor}var d={store:r,plugin:c};e["a"]=d},f3e5:function(t,e,n){"use strict";var i=n("905a");t.exports=function(t,e,n){var r=n.config.validateStatus;!r||r(n.status)?t(n):e(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},f3ff:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
428//! moment.js locale configuration 429var e={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©",8:"à©®",9:"੯",0:"੦"},n={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©":"7","à©®":"8","੯":"9","੦":"0"},i=t.defineLocale("pa-in",{months:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°".split("_"),weekdaysShort:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),weekdaysMin:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),longDateFormat:{LT:"A h:mm ਵà¨à©",LTS:"A h:mm:ss ਵà¨à©",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵà¨à©",LLLL:"dddd, D MMMM YYYY, A h:mm ਵà¨à©"},calendar:{sameDay:"[ਠà¨] LT",nextDay:"[à¨à¨²] LT",nextWeek:"[ਠà¨à¨²à¨¾] dddd, LT",lastDay:"[à¨à¨²] LT",lastWeek:"[ਪਿà¨à¨²à©] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱà¨",past:"%s ਪਿà¨à¨²à©",s:"à¨à©à¨ ਸà¨à¨¿à©°à¨",ss:"%d ਸà¨à¨¿à©°à¨",m:"à¨à¨ ਮਿੰà¨",mm:"%d ਮਿੰà¨",h:"à¨à©±à¨ à¨à©°à¨à¨¾",hh:"%d à¨à©°à¨à©",d:"à¨à©±à¨ ਦਿਨ",dd:"%d ਦਿਨ",M:"à¨à©±à¨ ਮਹà©à¨¨à¨¾",MM:"%d ਮਹà©à¨¨à©",y:"à¨à©±à¨ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵà©à¨°"===e?t:"ਦà©à¨ªà¨¹à¨¿à¨°"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵà©à¨°":t<17?"ਦà©à¨ªà¨¹à¨¿à¨°":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return i}))},f548:function(t,e,n){"use strict";(function(e){n("d3b7"),n("25f0"),n("159b");var i=n("4d13"),r=n("6690"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("2d14")),t}var c={adapter:s(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){c.headers[t]=i.merge(o)})),t.exports=c}).call(this,n("4362"))},f5df:function(t,e,n){var i=n("00ee"),r=n("c6b6"),o=n("b622"),a=o("toStringTag"),s="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),a))?n:s?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},f60f:function(t,e,n){"use strict";var i=n("e11e"),r=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},o=function(t,e,n,o){var a=function(o){var a="set"+r(o),s=n[o].type===Object||n[o].type===Array||Array.isArray(n[o].type);
429n[o].custom&&t[a]?t.$watch(o,(function(e,n){t[a](e,n)}),{deep:s}):"setOptions"===a?t.$watch(o,(function(t,n){Object(i["setOptions"])(e,t)}),{deep:s}):e[a]&&t.$watch(o,(function(t,n){e[a](t)}),{deep:s})};for(var s in n)a(s)},a=function(t){var e={};for(var n in t){var i=t[n];null!==i&&void 0!==i&&(e[n]=i)}return e},s=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=a(n);t=a(t);var r=e.$options.props;for(var o in t){var s=r[o]?r[o].default&&"function"===typeof r[o].default?r[o].default.call():r[o].default:Symbol("unique"),c=!1;c=Array.isArray(s)?JSON.stringify(s)===JSON.stringify(t[o]):s===t[o],i[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),i[o]=t[o]):i[o]||(i[o]=t[o])}return i},c=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&null!==t&&void 0!==t&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},u={props:{options:{type:Object,default:function(){return{}}}}},d={name:"LPopup",mixins:[l,u],props:{latLng:{type:[Object,Array],default:function(){return[]}}},mounted:function(){var t=this,e=s(this.popperOptions,this);this.mapObject=Object(i["popup"])(e),void 0!==this.latLng&&this.mapObject.setLatLng(this.latLng),i["DomEvent"].on(this.mapObject,this.$listeners),o(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=c(this.$parent),this.parentContainer.mapObject.bindPopup(this.mapObject),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindPopup?this.parentContainer.unbindPopup():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindPopup&&this.parentContainer.mapObject.unbindPopup())}};function h(t,e,n,i,r,o,a,s,c,l){"boolean"!==typeof a&&(c=s,s=a,a=!1);var u,d="function"===typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var f=d,p=void 0,m=void 0,g=void 0,v=void 0,_=h({},p,f,m,v,g,!1,void 0,void 0,void 0);e["a"]=_},f6b4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
430//! moment.js locale configuration 431var e=["Am Faoilleach","An Gearran","Am Mà rt","An Giblean","An Cèitean","An t-Ãgmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dà mhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Mà rt","Gibl","Cèit","Ãgmh","Iuch","Lùn","Sult","Dà mh","Samh","Dùbh"],i=["Didòmhnaich","Diluain","Dimà irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],r=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà ","Ci","Ar","Ha","Sa"],a=t.defineLocale("gd",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-mà ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return a}))},f6b49:function(t,e,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},f748:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},f79b:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},f88c:function(t,e,n){"use strict";var i=n("4990"),r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)}; 432/*! 433FullCalendar List View Plugin v4.4.2 434Docs & License: https://fullcalendar.io/ 435(c) 2019 Adam Shaw 436*/ 437/*! ***************************************************************************** 438Copyright (c) Microsoft Corporation. 439 440Permission to use, copy, modify, and/or distribute this software for any 441purpose with or without fee is hereby granted. 442 443THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 444REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 445AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 446INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 447LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 448OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 449PERFORMANCE OF THIS SOFTWARE. 450***************************************************************************** */function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(t){function e(e){var n=t.call(this)||this;return n.listView=e,n}return o(e,t),e.prototype.attachSegs=function(t){t.length?this.listView.renderSegList(t):this.listView.renderEmptyMessage()},e.prototype.detachSegs=function(){},e.prototype.renderSegHtml=function(t){var e,n=this.context,r=n.theme,o=n.options,a=t.eventRange,s=a.def,c=a.instance,l=a.ui,u=s.url,d=["fc-list-item"].concat(l.classNames),h=l.backgroundColor;return e=s.allDay?Object(i["N"])(o):Object(i["U"])(a.range)?t.isStart?Object(i["Q"])(this._getTimeText(c.range.start,t.end,!1)):t.isEnd?Object(i["Q"])(this._getTimeText(t.start,c.range.end,!1)):Object(i["N"])(o):Object(i["Q"])(this.getTimeText(a)),u&&d.push("fc-has-url"),'<tr class="'+d.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+r.getClass("widgetContent")+'">'+(e||"")+"</td>":"")+'<td class="fc-list-item-marker '+r.getClass("widgetContent")+'"><span class="fc-event-dot"'+(h?' style="background-color:'+h+'"':"")+'></span></td><td class="fc-list-item-title '+r.getClass("widgetContent")+'"><a'+(u?' href="'+Object(i["Q"])(u)+'"':"")+">"+Object(i["Q"])(s.title||"")+"</a></td></tr>"},e.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",meridiem:"short"}},e}(i["g"]),s=function(t){function e(e,n){var r=t.call(this,e,n)||this;r.computeDateVars=Object(i["X"])(c),r.eventStoreToSegs=Object(i["X"])(r._eventStoreToSegs),r.renderSkeleton=Object(i["Y"])(r._renderSkeleton,r._unrenderSkeleton);var o=r.eventRenderer=new a(r);return r.renderContent=Object(i["Y"])(o.renderSegs.bind(o),o.unrender.bind(o),[r.renderSkeleton]),r}return o(e,t),e.prototype.firstContext=function(t){t.calendar.registerInteractiveComponent(this,{el:this.el})},e.prototype.render=function(e,n){t.prototype.render.call(this,e,n);var i=this.computeDateVars(e.dateProfile),r=i.dayDates,o=i.dayRanges;this.dayDates=r,this.renderSkeleton(n),this.renderContent(n,this.eventStoreToSegs(e.eventStore,e.eventUiBases,o))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.renderSkeleton.unrender(),this.renderContent.unrender(),this.context.calendar.unregisterInteractiveComponent(this)},e.prototype._renderSkeleton=function(t){var e=t.theme;this.el.classList.add("fc-list-view");for(var n=(e.getClass("listView")||"").split(" "),r=0,o=n;r<o.length;r++){var a=o[r];a&&this.el.classList.add(a)}this.scroller=new i["j"]("hidden","auto"),this.el.appendChild(this.scroller.el),this.contentEl=this.scroller.el},e.prototype._unrenderSkeleton=function(){this.scroller.destroy()},e.prototype.updateSize=function(e,n,i){t.prototype.updateSize.call(this,e,n,i),this.eventRenderer.computeSizes(e),this.eventRenderer.assignSizes(e),this.scroller.clear(),i||this.scroller.setHeight(this.computeScrollerHeight(n))},e.prototype.computeScrollerHeight=function(t){return t-Object(i["fb"])(this.el,this.scroller.el)},e.prototype._eventStoreToSegs=function(t,e,n){return this.eventRangesToSegs(Object(i["db"])(t,e,this.props.dateProfile.activeRange,this.context.nextDayThreshold).fg,n)},e.prototype.eventRangesToSegs=function(t,e){for(var n=[],i=0,r=t;i<r.length;i++){var o=r[i];n.push.apply(n,this.eventRangeToSegs(o,e))}return n},e.prototype.eventRangeToSegs=function(t,e){var n,r,o,a=this.context,s=a.dateEnv,c=a.nextDayThreshold,l=t.range,u=t.def.allDay,d=[];for(n=0;n<e.length;n++)if(r=Object(i["T"])(l,e[n]),r&&(o={component:this,eventRange:t,start:r.start,end:r.end,isStart:t.isStart&&r.start.valueOf()===l.start.valueOf(),isEnd:t.isEnd&&r.end.valueOf()===l.end.valueOf(),dayIndex:n},d.push(o),!o.isEnd&&!u&&n+1<e.length&&l.end<s.add(e[n+1].start,c))){o.end=l.end,o.isEnd=!0;break}return d},e.prototype.renderEmptyMessage=function(){this.contentEl.innerHTML='<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+Object(i["Q"])(this.context.options.noEventsMessage)+"</div></div></div>"},e.prototype.renderSegList=function(t){var e,n,r,o=this.context.theme,a=this.groupSegsByDay(t),s=Object(i["R"])('<table class="fc-list-table '+o.getClass("tableList")+'"><tbody></tbody></table>'),c=s.querySelector("tbody");for(e=0;e<a.length;e++)if(n=a[e],n)for(c.appendChild(this.buildDayHeaderRow(this.dayDates[e])),n=this.eventRenderer.sortEventSegs(n),r=0;r<n.length;r++)c.appendChild(n[r].el);this.contentEl.innerHTML="",this.contentEl.appendChild(s)},e.prototype.groupSegsByDay=function(t){var e,n,i=[];for(e=0;e<t.length;e++)n=t[e],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i},e.prototype.buildDayHeaderRow=function(t){var e=this.context,n=e.theme,r=e.dateEnv,o=e.options,a=Object(i["E"])(o.listDayFormat),s=Object(i["E"])(o.listDayAltFormat);return Object(i["D"])("tr",{className:"fc-list-heading","data-date":r.formatIso(t,{omitTime:!0})},'<td class="'+(n.getClass("tableListHeading")||n.getClass("widgetHeader"))+'" colspan="3">'+(a?Object(i["t"])(o,r,t,{class:"fc-list-heading-main"},Object(i["Q"])(r.format(t,a))):"")+(s?Object(i["t"])(o,r,t,{class:"fc-list-heading-alt"},Object(i["Q"])(r.format(t,s))):"")+"</td>")},e}(i["m"]);function c(t){var e=Object(i["eb"])(t.renderRange.start),n=t.renderRange.end,r=[],o=[];while(e<n)r.push(e),o.push({start:e,end:Object(i["n"])(e,1)}),e=Object(i["n"])(e,1);return{dayDates:r,dayRanges:o}}s.prototype.fgSegSelector=".fc-list-item";var l=Object(i["F"])({views:{list:{class:s,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDayAltFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDayAltFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDayAltFormat:{weekday:"long"}}}});e["a"]=l},f893:function(t,e,n){t.exports={default:n("8119"),__esModule:!0}},f8cd:function(t,e,n){var i=n("a691");t.exports=function(t){var e=i(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},f97d:function(t,e){var n={"":!0,up:!0};function i(t){if("string"!==typeof t)return!1;var e=n[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){return"number"===typeof t&&t>=0&&t<=100}function o(){var t=100,e=3,n=0,o=100,a=0,s=100,c="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return o}
450,set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");a=t}},scroll:{enumerable:!0,get:function(){return c},set:function(t){var e=i(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");c=e}}})}t.exports=o},facd:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; 451//! moment.js locale configuration 452var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},faf5:function(t,e,n){t.exports=!n("0bad")&&!n("4b8b")((function(){return 7!=Object.defineProperty(n("05f5")("div"),"a",{get:function(){return 7}}).a}))},fb3d:function(t,e,n){ 453/*! 454 * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. 455 * For licensing, see LICENSE.md. 456 */ 457!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 of %1",Aquamarine:"Aquamarine",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bulleted List":"Bulleted List",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Full size image":"Full size image",Green:"Green",Grey:"Grey","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Image toolbar":"Image toolbar","image widget":"image widget","Increase indent":"Increase indent","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Italic:"Italic","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link URL":"Link URL","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","Numbered List":"Numbered List","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich Text Editor, %0","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Side image":"Side image","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically","Table toolbar":"Table toolbar","Text alternative":"Text alternative","The URL must not be empty.":"The URL must not be empty.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.",Turquoise:"Turquoise",Undo:"Undo",Unlink:"Unlink","Upload failed":"Upload failed","Upload in progress":"Upload in progress",White:"White","Widget toolbar":"Widget toolbar",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(e,n){t.exports=n()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};
457return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=108)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));class i extends Error{constructor(t,e,n){super(`${t}${n?" "+JSON.stringify(n):""}${o(t)}`),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const n=new i(t.message,e);throw n.stack=t.stack,n}}function r(t,e){console.warn(...a(t,e))}function o(t){return"\nRead more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-"+t}function a(t,e){const n=o(t);return e?[t,e,n]:[t,n]}},function(t,e,n){"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},i=[],r=0;r<t.length;
vendor: 4,171 bytes, line 457
457r++){var o=t[r],c=e.base?o[0]+e.base:o[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=s(u),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(h)):a.push({identifier:u,updater:g(h,e),references:1}),i.push(u)}return i}function l(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function h(t,e,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var p=null,m=0;function g(t,e){var n,i,r;if(e.singleton){var o=m++;n=p||(p=l(e)),i=h.bind(null,n,o,!1),r=h.bind(null,n,o,!0)}else n=l(e),i=f.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var r=s(n[i]);a[r].references--}for(var o=c(t,e),l=0;l<n.length;l++){var u=s(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=o}}}},,function(t,e,n){"use strict";var i=n(8),r="object"==typeof self&&self&&self.Object===Object&&self,o=i.a||r||Function("return this")();e.a=o},function(t,n,i){"use strict";(function(t){var r=i(3),o=i(13),a=e&&!e.nodeType&&e,s=a&&"object"==typeof t&&t&&!t.nodeType&&t,c=s&&s.exports===a?r.a.Buffer:void 0,l=(c?c.isBuffer:void 0)||o.a;n.a=l}).call(this,i(10)(t))},function(t,n,i){"use strict";(function(t){var r=i(8),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o&&r.a.process,c=function(){try{var t=a&&a.require&&a.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();n.a=c}).call(this,i(10)(t))},function(t,e,n){"use strict";(function(t){var e=n(0);const i="object"==typeof window?window:t;if(i.CKEDITOR_VERSION)throw new e.a("ckeditor-duplicated-modules",null);i.CKEDITOR_VERSION="27.1.0"}).call(this,n(11))},function(t,e,n){var i=n(1),r=n(75);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(11))},function(t,n,i){"use strict";(function(t){var r=i(3),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.a.Buffer:void 0,c=s?s.allocUnsafe:void 0;n.a=function(t,e){if(e)return t.slice();var n=t.length,i=c?c(n):new t.constructor(n);return t.copy(i),i}}).call(this,i(10)(t))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i=n(1),r=n(70);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e,n){"use strict";e.a=function(){return!1}},function(t,e,n){var i=n(1),r=n(15);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-hidden{display:none!important}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{box-sizing:border-box;width:auto;height:auto;position:static}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#c4c4c4;--ck-color-base-action:#61b045;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#198cf0;--ck-color-base-active-focus:#0e7fe1;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:208,79%,51%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#bcdefb;--ck-color-focus-disabled-shadow:rgba(119,186,248,0.3);--ck-color-focus-error-shadow:rgba(255,64,31,0.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,0.15);--ck-color-shadow-drop-active:rgba(0,0,0,0.2);--ck-color-shadow-inner:rgba(0,0,0,0.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#e6e6e6;--ck-color-button-default-active-background:#d9d9d9;--ck-color-button-default-active-shadow:#bfbfbf;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#dedede;--ck-color-button-on-hover-background:#c4c4c4;--ck-color-button-on-active-background:#bababa;--ck-color-button-on-active-shadow:#a1a1a1;--ck-color-button-on-disabled-background:#dedede;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#579e3d;--ck-color-button-action-active-background:#53973b;--ck-color-button-action-active-shadow:#498433;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#b0b0b0;--ck-color-switch-button-off-hover-background:#a3a3a3;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#579e3d;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,0.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:#c7c7c7;--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:#c7c7c7;--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-base-active);--ck-color-list-button-on-background-focus:var(--ck-color-base-active-focus);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-foreground);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,177,255,0.1);--ck-color-link-fake-selection:rgba(31,177,255,0.3);--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}
457.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;vertical-align:middle;transition:none;word-wrap:break-word}.ck.ck-reset_all,.ck.ck-reset_all *{border-collapse:collapse;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);color:var(--ck-color-text);text-align:left;white-space:nowrap;cursor:auto;float:none}.ck.ck-reset_all .ck-rtl *{text-align:right}.ck.ck-reset_all iframe{vertical-align:inherit}.ck.ck-reset_all textarea{white-space:pre-wrap}.ck.ck-reset_all input[type=password],.ck.ck-reset_all input[type=text],.ck.ck-reset_all textarea{cursor:text}.ck.ck-reset_all input[type=password][disabled],.ck.ck-reset_all input[type=text][disabled],.ck.ck-reset_all textarea[disabled]{cursor:default}.ck.ck-reset_all fieldset{padding:10px;border:2px groove #dfdee3}.ck.ck-reset_all button::-moz-focus-inner{padding:0;border:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}"},function(t,e,n){var i=n(1),r=n(17);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{width:var(--ck-icon-size);height:var(--ck-icon-size);font-size:.8333350694em;will-change:transform}.ck.ck-icon,.ck.ck-icon *{color:inherit;cursor:inherit}.ck.ck-icon :not([fill]){fill:currentColor}"},function(t,e,n){var i=n(1),r=n(19);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{position:absolute;pointer-events:none;-webkit-backface-visibility:hidden}.ck.ck-tooltip{visibility:hidden;opacity:0;display:none;z-index:var(--ck-z-modal)}.ck.ck-tooltip .ck-tooltip__text{display:inline-block}.ck.ck-tooltip .ck-tooltip__text:after{content:"";width:0;height:0}:root{--ck-tooltip-arrow-size:5px}.ck.ck-tooltip{left:50%;top:0;transition:opacity .2s ease-in-out .2s}.ck.ck-tooltip .ck-tooltip__text{border-radius:0}.ck-rounded-corners .ck.ck-tooltip .ck-tooltip__text,.ck.ck-tooltip .ck-tooltip__text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-tooltip .ck-tooltip__text{font-size:.9em;line-height:1.5;color:var(--ck-color-tooltip-text);padding:var(--ck-spacing-small) var(--ck-spacing-medium);background:var(--ck-color-tooltip-background);position:relative;left:-50%}.ck.ck-tooltip .ck-tooltip__text:after{transition:opacity .2s ease-in-out .2s;border-style:solid;left:50%}.ck.ck-tooltip.ck-tooltip_s,.ck.ck-tooltip.ck-tooltip_se,.ck.ck-tooltip.ck-tooltip_sw{bottom:calc(var(--ck-tooltip-arrow-size)*-1);transform:translateY(100%)}.ck.ck-tooltip.ck-tooltip_s .ck-tooltip__text:after,.ck.ck-tooltip.ck-tooltip_se .ck-tooltip__text:after,.ck.ck-tooltip.ck-tooltip_sw .ck-tooltip__text:after{top:calc(var(--ck-tooltip-arrow-size)*-1 + 1px);transform:translateX(-50%);border-left-color:transparent;border-bottom-color:var(--ck-color-tooltip-background);border-right-color:transparent;border-top-color:transparent;border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:var(--ck-tooltip-arrow-size);border-top-width:0}.ck.ck-tooltip.ck-tooltip_sw{right:50%;left:auto}.ck.ck-tooltip.ck-tooltip_sw .ck-tooltip__text{left:auto;right:calc(var(--ck-tooltip-arrow-size)*-2)}.ck.ck-tooltip.ck-tooltip_sw .ck-tooltip__text:after{left:auto;right:0}.ck.ck-tooltip.ck-tooltip_se{left:50%;right:auto}.ck.ck-tooltip.ck-tooltip_se .ck-tooltip__text{right:auto;left:calc(var(--ck-tooltip-arrow-size)*-2)}.ck.ck-tooltip.ck-tooltip_se .ck-tooltip__text:after{right:auto;left:0;transform:translateX(50%)}.ck.ck-tooltip.ck-tooltip_n{top:calc(var(--ck-tooltip-arrow-size)*-1);transform:translateY(-100%)}.ck.ck-tooltip.ck-tooltip_n .ck-tooltip__text:after{bottom:calc(var(--ck-tooltip-arrow-size)*-1);transform:translateX(-50%);border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-top-color:var(--ck-color-tooltip-background);border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:0;border-right-width:var(--ck-tooltip-arrow-size);border-top-width:var(--ck-tooltip-arrow-size)}.ck.ck-tooltip.ck-tooltip_e{left:calc(100% + var(--ck-tooltip-arrow-size));top:50%}.ck.ck-tooltip.ck-tooltip_e .ck-tooltip__text{left:0;transform:translateY(-50%)}.ck.ck-tooltip.ck-tooltip_e .ck-tooltip__text:after{left:calc(var(--ck-tooltip-arrow-size)*-1);top:calc(50% - var(--ck-tooltip-arrow-size)*1);border-left-color:transparent;border-bottom-color:transparent;border-right-color:var(--ck-color-tooltip-background);border-top-color:transparent;border-left-width:0;border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:var(--ck-tooltip-arrow-size);border-top-width:var(--ck-tooltip-arrow-size)}.ck.ck-tooltip.ck-tooltip_w{right:calc(100% + var(--ck-tooltip-arrow-size));left:auto;top:50%}.ck.ck-tooltip.ck-tooltip_w .ck-tooltip__text{left:0;transform:translateY(-50%)}.ck.ck-tooltip.ck-tooltip_w .ck-tooltip__text:after{left:100%;top:calc(50% - var(--ck-tooltip-arrow-size)*1);border-left-color:var(--ck-color-tooltip-background);border-bottom-color:transparent;border-right-color:transparent;border-top-color:transparent;border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:0;border-top-width:var(--ck-tooltip-arrow-size)}'},function(t,e,n){var i=n(1),r=n(21);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-button,a.ck.ck-button{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:block}@media (hover:none){.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:none}}.ck.ck-button,a.ck.ck-button{position:relative;display:inline-flex;align-items:center;justify-content:left}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button:hover .ck-tooltip,a.ck.ck-button:hover .ck-tooltip{visibility:visible;opacity:1}.ck.ck-button:focus:not(:hover) .ck-tooltip,a.ck.ck-button:focus:not(:hover) .ck-tooltip{display:none}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-default-active-shadow)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{white-space:nowrap;cursor:default;vertical-align:middle;padding:var(--ck-spacing-tiny);text-align:center;min-width:var(--ck-ui-component-min-height);min-height:var(--ck-ui-component-min-height);line-height:1;font-size:inherit;border:1px solid transparent;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;-webkit-appearance:none}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{font-size:inherit;font-weight:inherit;color:inherit;cursor:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__icon{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-right:calc(var(--ck-spacing-small)*-1);margin-left:var(--ck-spacing-small)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-on-active-shadow)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-action-active-shadow)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}"},function(t,e,n){var i=n(1),r=n(23);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:1.0769230769em;--ck-switch-button-toggle-spacing:1px;--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - var(--ck-switch-button-toggle-spacing)*2)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{transition:background .4s ease;width:var(--ck-switch-button-toggle-width);background:var(--ck-color-switch-button-off-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*0.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{margin:var(--ck-switch-button-toggle-spacing);width:var(--ck-switch-button-toggle-inner-size);height:var(--ck-switch-button-toggle-inner-size);background:var(--ck-color-switch-button-inner-background);transition:all .3s ease}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var(--ck-switch-button-translation))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var(--ck-switch-button-translation)*-1))}"},function(t,e,n){var i=n(1),r=n(25);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#000}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{width:var(--ck-color-grid-tile-size);height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;border:0}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{display:none;color:var(--ck-color-color-grid-check-icon)}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}"},function(t,e,n){var i=n(1),r=n(27);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button .ck-tooltip{display:none}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__action{border-top-right-radius:unset;border-bottom-right-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__action{border-top-left-radius:unset;border-bottom-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-radius:0}.ck-rounded-corners [dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow,[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:unset;border-bottom-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-top-right-radius:unset;border-bottom-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled){border-left-color:var(--ck-color-split-button-hover-border)}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled){border-right-color:var(--ck-color-split-button-hover-border)}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}"},function(t,e,n){var i=n(1),r=n(29);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on .ck-tooltip{display:none}.ck.ck-dropdown .ck-dropdown__panel{-webkit-backface-visibility:hidden;display:none;z-index:var(--ck-z-modal);max-width:var(--ck-dropdown-max-width);position:absolute}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{top:100%;bottom:auto}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left
457:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{width:7em;overflow:hidden;text-overflow:ellipsis}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{box-shadow:var(--ck-drop-shadow),0 0;background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}"},function(t,e,n){var i=n(1),r=n(31);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-toolbar{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-flow:row nowrap;align-items:center}.ck.ck-toolbar>.ck-toolbar__items{display:flex;flex-flow:row wrap;align-items:center;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);padding:0 var(--ck-spacing-small);border:1px solid var(--ck-color-toolbar-border)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;width:1px;min-width:1px;background:var(--ck-color-toolbar-border);margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{width:100%;margin:0;border-radius:0;border:0}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar[dir=rtl].ck-toolbar_compact>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.ck.ck-toolbar[dir=rtl].ck-toolbar_compact>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-top-right-radius:0;border-bottom-right-radius:0}.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl].ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child){margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar[dir=ltr].ck-toolbar_compact>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ck.ck-toolbar[dir=ltr].ck-toolbar_compact>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr].ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child){margin-right:var(--ck-spacing-small)}"},function(t,e,n){var i=n(1),r=n(33);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-list{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{list-style-type:none;background:var(--ck-color-list-background)}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{min-height:unset;width:100%;text-align:left;border-radius:0;padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{height:1px;width:100%;background:var(--ck-color-base-border)}"},function(t,e,n){var i=n(1),r=n(35);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{width:max-content;max-width:var(--ck-toolbar-dropdown-max-width)}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}"},function(t,e,n){var i=n(1),r=n(37);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}"},function(t,e,n){var i=n(1),r=n(39);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0}.ck.ck-editor__editable_inline{overflow:auto;padding:0 var(--ck-spacing-standard);border:1px solid transparent}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}
457.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}"},function(t,e,n){var i=n(1),r=n(41);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}"},function(t,e,n){var i=n(1),r=n(43);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-form__header{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between}:root{--ck-form-header-height:38px}.ck.ck-form__header{padding:var(--ck-spacing-small) var(--ck-spacing-large);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-form__header .ck-form__header__label{font-weight:700}"},function(t,e,n){var i=n(1),r=n(45);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-input-text-width:18em}.ck.ck-input-text{border-radius:0}.ck-rounded-corners .ck.ck-input-text,.ck.ck-input-text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-text{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);min-width:var(--ck-input-text-width);min-height:var(--ck-ui-component-min-height);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input-text:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-input-text[readonly]{border:1px solid var(--ck-color-input-disabled-border);background:var(--ck-color-input-disabled-background);color:var(--ck-color-input-disabled-text)}.ck.ck-input-text[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input-text.ck-error{border-color:var(--ck-color-input-error-border);animation:ck-text-input-shake .3s ease both}.ck.ck-input-text.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-text-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}"},function(t,e,n){var i=n(1),r=n(47);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>
457.ck.ck-label{right:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{pointer-events:none;transform-origin:0 0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);background:var(--ck-color-labeled-field-label-background);padding:0 calc(var(--ck-font-size-tiny)*0.5);line-height:normal;font-weight:400;text-overflow:ellipsis;overflow:hidden;max-width:100%;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-spacing-medium),calc(var(--ck-font-size-base)*0.6)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-spacing-medium)*-1),calc(var(--ck-font-size-base)*0.6)) scale(1)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));background:transparent;padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}"},function(t,e,n){var i=n(1),r=n(49);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{width:0;height:0;border-style:solid}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:var(--ck-balloon-arrow-height);border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:0}.ck.ck-balloon-panel[class*=arrow_n]:before{border-bottom-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-color:transparent;border-right-color:transparent;border-top-color:transparent}.ck.ck-balloon-panel[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background);margin-top:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:0;border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-top-color:var(--ck-color-panel-border);filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.ck.ck-balloon-panel[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background);margin-bottom:var(--ck-balloon-arrow-offset)}
457.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);bottom:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);bottom:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{right:calc(var(--ck-balloon-arrow-half-width)*2);bottom:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{right:25%;margin-right:calc(var(--ck-balloon-arrow-half-width)*2);bottom:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);bottom:calc(var(--ck-balloon-arrow-height)*-1)}
457.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{right:25%;margin-right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}'},function(t,e,n){var i=n(1),r=n(51);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck .ck-balloon-rotator__navigation{display:flex;align-items:center;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-small)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}"},function(t,e,n){var i=n(1),r=n(53);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);width:100%;height:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}"},function(t,e,n){var i=n(1),r=n(55);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{z-index:var(--ck-z-modal);position:fixed;top:0}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{top:auto;position:absolute}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{box-shadow:var(--ck-drop-shadow),0 0;border-width:0 1px 1px;border-top-left-radius:0;border-top-right-radius:0}"},function(t,e,n){var i=n(1),r=n(57);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}"},function(t,e,n){var i=n(1),r=n(59);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-placeholder,.ck .ck-placeholder{position:relative}.ck.ck-placeholder:before,.ck .ck-placeholder:before{position:absolute;
457left:0;right:0;content:attr(data-placeholder);pointer-events:none}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-placeholder:before,.ck .ck-placeholder:before{cursor:text;color:var(--ck-color-engine-placeholder-text)}"},function(t,e,n){var i=n(1),r=n(61);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}"},function(t,e,n){var i=n(1),r=n(63);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck .ck-widget .ck-widget__type-around__button{display:block;position:absolute;overflow:hidden;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{position:absolute;top:50%;left:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{top:calc(var(--ck-widget-outline-thickness)*-0.5);left:min(10%,30px);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-0.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;position:absolute;top:1px;left:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;position:absolute;left:0;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{top:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{width:var(--ck-widget-type-around-button-size);height:var(--ck-widget-type-around-button-size);background:var(--ck-color-widget-type-around-button);border-radius:100px;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);opacity:0;pointer-events:none}.ck .ck-widget .ck-widget__type-around__button svg{width:10px;height:8px;transform:translate(-50%,-50%);transition:transform .5s ease;margin-top:1px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}
457.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{width:calc(var(--ck-widget-type-around-button-size) - 2px);height:calc(var(--ck-widget-type-around-button-size) - 2px);border-radius:100px;background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3))}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{pointer-events:none;height:1px;animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;outline:1px solid hsla(0,0%,100%,.5);background:var(--ck-color-base-text)}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}
457to{opacity:1}}'},function(t,e,n){var i=n(1),r=n(65);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);color:var(--ck-color-resizer-tooltip-text);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);font-size:var(--ck-font-size-tiny);display:block;padding:var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{top:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{top:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-width:var(--ck-widget-outline-thickness);outline-style:solid;outline-color:transparent;transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;background-color:var(--ck-color-widget-editable-focus-background)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{padding:4px;box-sizing:border-box;background-color:transparent;opacity:0;transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;transform:translateY(-100%);left:calc(0px - var(--ck-widget-outline-thickness))}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{width:var(--ck-widget-handler-icon-size);height:var(--ck-widget-handler-icon-size);color:var(--ck-color-widget-drag-handler-icon-color)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{opacity:1;background-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:1;background-color:var(--ck-color-focus-border)}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}"},function(t,e,n){var i=n(1),r=n(67);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;position:relative;pointer-events:none}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-0.5);top:calc(var(--ck-clipboard-drop-target-dot-height)*-0.5);border:1px solid var(--ck-clipboard-drop-target-color);background:var(--ck-clipboard-drop-target-color);margin-left:-1px}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{content:"";width:0;height:0;display:block;position:absolute;left:50%;top:calc(var(--ck-clipboard-drop-target-dot-height)*-0.5);transform:translateX(-50%);border-left:calc(var(--ck-clipboard-drop-target-dot-width)*0.5) solid transparent;border-bottom:0 solid transparent;border-right:calc(var(--ck-clipboard-drop-target-dot-width)*0.5) solid transparent;border-top:calc(var(--ck-clipboard-drop-target-dot-height)) solid var(--ck-clipboard-drop-target-color)}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}'},function(t,e,n){var i=n(1),r=n(69);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:5px solid #ccc}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}"},function(t,e){t.exports=".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}"},function(t,e,n){var i=n(1),r=n(72);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;position:absolute;pointer-events:none;left:0;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{position:absolute;pointer-events:all}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{width:var(--ck-resizer-size);height:var(--ck-resizer-size);background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{top:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{top:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}"},function(t,e,n){var i=n(1),r=n(74);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}"},function(t,e){t.exports='.ck-vertical-form .ck-button:after{content:"";width:0;position:absolute;right:-1px;top:var(--ck-spacing-small);bottom:var(--ck-spacing-small);z-index:1}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{content:"";width:0;position:absolute;right:-1px;top:var(--ck-spacing-small);bottom:var(--ck-spacing-small);z-index:1}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-text-width)*0.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-large);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after,[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}'},function(t,e,n){var i=n(1),r=n(77);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-content .image{display:table;clear:both;text-align:center;margin:1em auto}.ck-content .image img{display:block;margin:0 auto;max-width:100%;min-width:50px}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{position:static}"},function(t,e,n){var i=n(1),r=n(79);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}"},function(t,e,n){var i=n(1),r=n(81);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-image-style-spacing:1.5em}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}"},function(t,e,n){var i=n(1),r=n(83);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-editor__editable .image{position:relative}.ck.ck-editor__editable .image .ck-progress-bar{position:absolute;top:0;left:0}.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar{height:2px;width:0;background:var(--ck-color-upload-bar-background);transition:width .1s}@keyframes fadeIn{0%{opacity:0}
457to{opacity:1}}"},function(t,e,n){var i=n(1),r=n(85);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck-image-upload-complete-icon{display:block;position:absolute;top:10px;right:10px;border-radius:50%}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20px;--ck-image-upload-icon-width:2px}.ck-image-upload-complete-icon{width:var(--ck-image-upload-icon-size);height:var(--ck-image-upload-icon-size);opacity:0;background:var(--ck-color-image-upload-icon-background);animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;animation-fill-mode:forwards,forwards;animation-duration:.5s,.5s;font-size:var(--ck-image-upload-icon-size);animation-delay:0ms,3s}.ck-image-upload-complete-icon:after{left:25%;top:50%;opacity:0;height:0;width:0;transform:scaleX(-1) rotate(135deg);transform-origin:left top;border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);animation-name:ck-upload-complete-icon-check;animation-duration:.5s;animation-delay:.5s;animation-fill-mode:forwards;box-sizing:border-box}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{opacity:1;width:0;height:0}33%{width:.3em;height:0}to{opacity:1;width:.3em;height:.45em}}'},function(t,e,n){var i=n(1),r=n(87);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck .ck-upload-placeholder-loader{position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px}.ck .ck-image-upload-placeholder{width:100%;margin:0}.ck .ck-upload-placeholder-loader{width:100%;height:100%}.ck .ck-upload-placeholder-loader:before{width:var(--ck-upload-placeholder-loader-size);height:var(--ck-upload-placeholder-loader-size);border-radius:50%;border-top:3px solid var(--ck-color-upload-placeholder-loader);border-right:2px solid transparent;animation:ck-upload-placeholder-loader 1s linear infinite}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}'},function(t,e,n){var i=n(1),r=n(89);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{height:100%;border-right:1px solid var(--ck-color-base-text);margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}"},function(t,e,n){var i=n(1),r=n(91);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{padding:0;min-width:var(--ck-input-text-width)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical .ck-button{padding:var(--ck-spacing-standard);margin:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border);width:50%}[dir=ltr] .ck.ck-link-form_layout-vertical .ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{border:0;padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}"},function(t,e,n){var i=n(1),r=n(93);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{padding:0 var(--ck-spacing-medium);color:var(--ck-color-link-default);text-overflow:ellipsis;cursor:pointer;max-width:var(--ck-input-text-width);min-width:3em;text-align:center}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{min-width:0;max-width:100%}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}"},function(t,e,n){var i=n(1),r=n(95);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports='.ck-media__wrapper .ck-media__placeholder{display:flex;flex-direction:column;align-items:center}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:block}@media (hover:none){.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:none}}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url:hover .ck-tooltip{visibility:visible;opacity:1}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{overflow:hidden;display:block}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{padding:calc(var(--ck-spacing-standard)*3);background:var(--ck-color-base-foreground)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{min-width:var(--ck-media-embed-placeholder-icon-size);height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);background-position:50%;background-size:cover}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{width:100%;height:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);white-space:nowrap;text-align:center;font-style:italic;text-overflow:ellipsis}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-width:300px;max-height:380px}.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMDAzLjc4IDEuNjFoNDkuNjIxYzEuNjk0IDAgMy4xOS0uNzk4IDQuMTQ2LTIuMDM3eiIgZmlsbD0iIzVjODhjNSIvPjxwYXRoIGQ9Ik0yMjYuNzQyIDIyMi45ODhjLTkuMjY2IDAtMTYuNzc3IDcuMTctMTYuNzc3IDE2LjAxNC4wMDcgMi43NjIuNjYzIDUuNDc0IDIuMDkzIDcuODc1LjQzLjcwMy44MyAxLjQwOCAxLjE5IDIuMTA3LjMzMy41MDIuNjUgMS4wMDUuOTUgMS41MDguMzQzLjQ3Ny42NzMuOTU3Ljk4OCAxLjQ0IDEuMzEgMS43NjkgMi41IDMuNTAyIDMuNjM3IDUuMTY4Ljc5MyAxLjI3NSAxLjY4MyAyLjY0IDIuNDY2IDMuOTkgMi4zNjMgNC4wOTQgNC4wMDcgOC4wOTIgNC42IDEzLjkxNHYuMDEyYy4xODIuNDEyLjUxNi42NjYuODc5LjY2Ny40MDMtLjAwMS43NjgtLjMxNC45My0uNzk5LjYwMy01Ljc1NiAyLjIzOC05LjcyOSA0LjU4NS0xMy43OTQuNzgyLTEuMzUgMS42NzMtMi43MTUgMi40NjUtMy45OSAxLjEzNy0xLjY2NiAyLjMyOC0zLjQgMy42MzgtNS4xNjkuMzE1LS40ODIuNjQ1LS45NjIuOTg4LTEuNDM5LjMtLjUwMy42MTctMS4wMDYuOTUtMS41MDguMzU5LS43Ljc2LTEuNDA0IDEuMTktMi4xMDcgMS40MjYtMi40MDIgMi01LjExNCAyLjAwNC03Ljg3NSAwLTguODQ0LTcuNTExLTE2LjAxNC0xNi43NzYtMTYuMDE0eiIgZmlsbD0iI2RkNGIzZSIg
457cGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48ZWxsaXBzZSByeT0iNS41NjQiIHJ4PSI1LjgyOCIgY3k9IjIzOS4wMDIiIGN4PSIyMjYuNzQyIiBmaWxsPSIjODAyZDI3IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0xOTAuMzAxIDIzNy4yODNjLTQuNjcgMC04LjQ1NyAzLjg1My04LjQ1NyA4LjYwNnMzLjc4NiA4LjYwNyA4LjQ1NyA4LjYwN2MzLjA0MyAwIDQuODA2LS45NTggNi4zMzctMi41MTYgMS41My0xLjU1NyAyLjA4Ny0zLjkxMyAyLjA4Ny02LjI5IDAtLjM2Mi0uMDIzLS43MjItLjA2NC0xLjA3OWgtOC4yNTd2My4wNDNoNC44NWMtLjE5Ny43NTktLjUzMSAxLjQ1LTEuMDU4IDEuOTg2LS45NDIuOTU4LTIuMDI4IDEuNTQ4LTMuOTAxIDEuNTQ4LTIuODc2IDAtNS4yMDgtMi4zNzItNS4yMDgtNS4yOTkgMC0yLjkyNiAyLjMzMi01LjI5OSA1LjIwOC01LjI5OSAxLjM5OSAwIDIuNjE4LjQwNyAzLjU4NCAxLjI5M2wyLjM4MS0yLjM4YzAtLjAwMi0uMDAzLS4wMDQtLjAwNC0uMDA1LTEuNTg4LTEuNTI0LTMuNjItMi4yMTUtNS45NTUtMi4yMTV6bTQuNDMgNS42NmwuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxNS4xODQgMjUxLjkyOWwtNy45OCA3Ljk3OSAyOC40NzcgMjguNDc1YTUuMjMzIDUuMjMzIDAgMDAuNDQ5LTIuMTIzdi0zMS4xNjVjLS40NjkuNjc1LS45MzQgMS4zNDktMS4zODIgMi4wMDUtLjc5MiAxLjI3NS0xLjY4MiAyLjY0LTIuNDY1IDMuOTktMi4zNDcgNC4wNjUtMy45ODIgOC4wMzgtNC41ODUgMTMuNzk0LS4xNjIuNDg1LS41MjcuNzk4LS45My43OTktLjM2My0uMDAxLS42OTctLjI1NS0uODc5LS42Njd2LS4wMTJjLS41OTMtNS44MjItMi4yMzctOS44Mi00LjYtMTMuOTE0LS43ODMtMS4zNS0xLjY3My0yLjcxNS0yLjQ2Ni0zLjk5LTEuMTM3LTEuNjY2LTIuMzI3LTMuNC0zLjYzNy01LjE2OWwtLjAwMi0uMDAzeiIgZmlsbD0iI2MzYzNjMyIvPjxwYXRoIGQ9Ik0yMTIuOTgzIDI0OC40OTVsLTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAwNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYuMjc1IDEzNi4yNzUgMCAwMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAwLS45ODktMS40NCAzNS4xMjcgMzUuMTI3IDAgMDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OXoiIGZpbGw9IiNmZGRjNGYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxMS45OTggMjYxLjA4M2wtNi4xNTIgNi4xNTEgMjQuMjY0IDI0LjI2NGguNzgxYTUuMjI3IDUuMjI3IDAgMDA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuN
457Dg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OXptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OXoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzN6bTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1ek00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45I
457DIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIGZpbGw9IiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}'},function(t,e,n){var i=n(1),r=n(97);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck.ck-media-form{display:flex;align-items:flex-start;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}"},function(t,e,n){var i=n(1),r=n(99);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-content .media{clear:both;margin:1em 0;display:block;min-width:15em}"},function(t,e,n){var i=n(1),r=n(101);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=":root{--ck-color-table-focused-cell-background:rgba(158,207,250,0.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}"},function(t,e,n){var i=n(1),r=n(103);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2);padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0}.ck .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{width:var(--ck-insert-table-dropdown-box-width);height:var(--ck-insert-table-dropdown-box-height);margin:var(--ck-insert-table-dropdown-box-margin);border:1px solid var(--ck-color-base-border);border-radius:1px}.ck .ck-insert-table-dropdown-grid-box.ck-on{border-color:var(--ck-color-focus-border);background:var(--ck-color-focus-outer-shadow)}"},function(t,e,n){var i=n(1),r=n(105);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=':root{--ck-table-selected-cell-background:rgba(158,207,250,0.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{position:relative;caret-color:transparent;outline:unset;box-shadow:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{content:"";pointer-events:none;background-color:var(--ck-table-selected-cell-background);position:absolute;top:0;left:0;right:0;bottom:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget_selected{outline:unset}'},function(t,e,n){var i=n(1),r=n(107);
457"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};i(r,o),t.exports=r.locals||{}},function(t,e){t.exports=".ck-content .table{margin:1em auto;display:table}.ck-content .table table{border-collapse:collapse;border-spacing:0;width:100%;height:100%;border:1px double #b3b3b3}.ck-content .table table td,.ck-content .table table th{min-width:2em;padding:.4em;border:1px solid #bfbfbf}.ck-content .table table th{font-weight:700;background:hsla(0,0%,0%,5%)}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}"},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return b_}));var i=function(){return function t(){t.called=!0}};class r{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=i(),this.off=i()}}const o=new Array(256).fill().map((t,e)=>("0"+e.toString(16)).slice(-2));function a(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0;return"e"+o[t>>0&255]+o[t>>8&255]+o[t>>16&255]+o[t>>24&255]+o[e>>0&255]+o[e>>8&255]+o[e>>16&255]+o[e>>24&255]+o[n>>0&255]+o[n>>8&255]+o[n>>16&255]+o[n>>24&255]+o[i>>0&255]+o[i>>8&255]+o[i>>16&255]+o[i>>24&255]}var s={get(t){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5},c=(n(6),n(0));const l=Symbol("listeningTo"),u=Symbol("emitterId");var d={on(t,e,n={}){this.listenTo(this,t,e,n)},once(t,e,n){let i=!1;this.listenTo(this,t,(function(t,...n){i||(i=!0,t.off(),e.call(this,t,...n))}),n)},off(t,e){this.stopListening(this,t,e)},listenTo(t,e,n,i={}){let r,o;this[l]||(this[l]={});const a=this[l];f(t)||h(t);const s=f(t);(r=a[s])||(r=a[s]={emitter:t,callbacks:{}}),(o=r.callbacks[e])||(o=r.callbacks[e]=[]),o.push(n),function(t,e,n,i,r){e._addEventListener?e._addEventListener(n,i,r):t._addEventListener.call(e,n,i,r)}(this,t,e,n,i)},stopListening(t,e,n){const i=this[l];let r=t&&f(t);const o=i&&r&&i[r],a=o&&e&&o.callbacks[e];if(!(!i||t&&!o||e&&!a))if(n)v(this,t,e,n),-1!==a.indexOf(n)&&(1===a.length?delete o.callbacks[e]:v(this,t,e,n));else if(a){for(;n=a.pop();)v(this,t,e,n);delete o.callbacks[e]}else if(o){for(e in o.callbacks)this.stopListening(t,e);delete i[r]}else{for(r in i)this.stopListening(i[r].emitter);delete this[l]}},fire(t,...e){try{const n=t instanceof r?t:new r(this,t),i=n.name;let o=function t(e,n){let i;return e._events&&(i=e._events[n])&&i.callbacks.length?i.callbacks:n.indexOf(":")>-1?t(e,n.substr(0,n.lastIndexOf(":"))):null}(this,i);if(n.path.push(this),o){const t=[n,...e];o=Array.from(o);for(let e=0;e<o.length&&(o[e].callback.apply(this,t),n.off.called&&(delete n.off.called,this._removeEventListener(i,o[e].callback)),!n.stop.called);e++);}if(this._delegations){const t=this._delegations.get(i),r=this._delegations.get("*");t&&g(t,n,e),r&&g(r,n,e)}return n.return}catch(t){c.a.rethrowUnexpectedError(t,this)}},delegate(...t){return{to:(e,n)=>{this._delegations||(this._delegations=new Map),t.forEach(t=>{const i=this._delegations.get(t);i?i.set(e,n):this._delegations.set(t,new Map([[e,n]]))})}}},stopDelegating(t,e){if(this._delegations)if(t)if(e){const n=this._delegations.get(t);n&&n.delete(e)}else this._delegations.delete(t);else this._delegations.clear()},_addEventListener(t,e,n){!function(t,e){const n=p(t);if(n[e])return;let i=e,r=null;const o=[];for(;""!==i&&!n[i];)n[i]={callbacks:[],childEvents:[]},o.push(n[i]),r&&n[i].childEvents.push(r),r=i,i=i.substr(0,i.lastIndexOf(":"));if(""!==i){for(const t of o)t.callbacks=n[i].callbacks.slice();n[i].childEvents.push(r)}}(this,t);const i=m(this,t),r=s.get(n.priority),o={callback:e,priority:r};for(const a of i){let t=!1;for(let e=0;e<a.length;e++)if(a[e].priority<r){a.splice(e,0,o),t=!0;break}t||a.push(o)}},_removeEventListener(t,e){const n=m(this,t);for(const i of n)for(let t=0;t<i.length;t++)i[t].callback==e&&(i.splice(t,1),t--)}};function h(t,e){t[u]||(t[u]=e||a())}function f(t){return t[u]}function p(t){return t._events||Object.defineProperty(t,"_events",{value:{}}),t._events}function m(t,e){const n=p(t)[e];if(!n)return[];let i=[n.callbacks];for(let r=0;r<n.childEvents.length;r++){const e=m(t,n.childEvents[r]);i=i.concat(e)}return i}function g(t,e,n){for(let[i,o]of t){o?"function"==typeof o&&(o=o(e.name)):o=e.name;const t=new r(e.source,o);t.path=[...e.path],i.fire(t,...n)}}function v(t,e,n,i){e._removeEventListener?e._removeEventListener(n,i):t._removeEventListener.call(e,n,i)}var _,y=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},b=n(3),w=b.a.Symbol,k=Object.prototype,x=k.hasOwnProperty,T=k.toString,M=w?w.toStringTag:void 0,S=function(t){var e=x.call(t,M),n=t[M];try{t[M]=void 0;var i=!0}catch(t){}var r=T.call(t);return i&&(e?t[M]=n:delete t[M]),r},C=Object.prototype.toString,E=function(t){return C.call(t)},L=w?w.toStringTag:void 0,A=function(t){return null==t?void 0===t?"[object Undef
457ined]":"[object Null]":L&&L in Object(t)?S(t):E(t)},O=function(t){if(!y(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},P=b.a["__core-js_shared__"],D=(_=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",j=function(t){return!!D&&D in t},I=Function.prototype.toString,R=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},N=/^\[object .+?Constructor\]$/,Y=Function.prototype,z=Object.prototype,B=Y.toString,F=z.hasOwnProperty,H=RegExp("^"+B.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=function(t){return!(!y(t)||j(t))&&(O(t)?H:N).test(R(t))},U=function(t,e){return null==t?void 0:t[e]},W=function(t,e){var n=U(t,e);return V(n)?n:void 0},$=function(){try{var t=W(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),X=function(t,e,n){"__proto__"==e&&$?$(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},q=function(t,e){return t===e||t!=t&&e!=e},G=Object.prototype.hasOwnProperty,Z=function(t,e,n){var i=t[e];G.call(t,e)&&q(i,n)&&(void 0!==n||e in t)||X(t,e,n)},J=function(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],c=i?i(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),r?X(n,s,c):Z(n,s,c)}return n},K=function(t){return t},Q=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},tt=Math.max,et=function(t,e,n){return e=tt(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=tt(i.length-e,0),a=Array(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),Q(t,this,s)}},nt=function(t){return function(){return t}},it=$?function(t,e){return $(t,"toString",{configurable:!0,enumerable:!1,value:nt(e),writable:!0})}:K,rt=Date.now,ot=function(t){var e=0,n=0;return function(){var i=rt(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(it),at=function(t,e){return ot(et(t,e,K),t+"")},st=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},ct=function(t){return null!=t&&st(t.length)&&!O(t)},lt=/^(?:0|[1-9]\d*)$/,ut=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&<.test(t))&&t>-1&&t%1==0&&t<e},dt=function(t,e,n){if(!y(n))return!1;var i=typeof e;return!!("number"==i?ct(n)&&ut(e,n.length):"string"==i&&e in n)&&q(n[e],t)},ht=function(t){return at((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&dt(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))},ft=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},pt=function(t){return null!=t&&"object"==typeof t},mt=function(t){return pt(t)&&"[object Arguments]"==A(t)},gt=Object.prototype,vt=gt.hasOwnProperty,_t=gt.propertyIsEnumerable,yt=mt(function(){return arguments}())?mt:function(t){return pt(t)&&vt.call(t,"callee")&&!_t.call(t,"callee")},bt=Array.isArray,wt=n(4),kt={};kt["[object Float32Array]"]=kt["[object Float64Array]"]=kt["[object Int8Array]"]=kt["[object Int16Array]"]=kt["[object Int32Array]"]=kt["[object Uint8Array]"]=kt["[object Uint8ClampedArray]"]=kt["[object Uint16Array]"]=kt["[object Uint32Array]"]=!0,kt["[object Arguments]"]=kt["[object Array]"]=kt["[object ArrayBuffer]"]=kt["[object Boolean]"]=kt["[object DataView]"]=kt["[object Date]"]=kt["[object Error]"]=kt["[object Function]"]=kt["[object Map]"]=kt["[object Number]"]=kt["[object Object]"]=kt["[object RegExp]"]=kt["[object Set]"]=kt["[object String]"]=kt["[object WeakMap]"]=!1;var xt=function(t){return pt(t)&&st(t.length)&&!!kt[A(t)]},Tt=function(t){return function(e){return t(e)}},Mt=n(5),St=Mt.a&&Mt.a.isTypedArray,Ct=St?Tt(St):xt,Et=Object.prototype.hasOwnProperty,Lt=function(t,e){var n=bt(t),i=!n&&yt(t),r=!n&&!i&&Object(wt.a)(t),o=!n&&!i&&!r&&Ct(t),a=n||i||r||o,s=a?ft(t.length,String):[],c=s.length;for(var l in t)!e&&!Et.call(t,l)||a&&("length"==l||r&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ut(l,c))||s.push(l);return s},At=Object.prototype,Ot=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||At)},Pt=function(t){var e=[];
457if(null!=t)for(var n in Object(t))e.push(n);return e},Dt=Object.prototype.hasOwnProperty,jt=function(t){if(!y(t))return Pt(t);var e=Ot(t),n=[];for(var i in t)("constructor"!=i||!e&&Dt.call(t,i))&&n.push(i);return n},It=function(t){return ct(t)?Lt(t,!0):jt(t)},Rt=ht((function(t,e){J(e,It(e),t)}));const Nt=Symbol("observableProperties"),Yt=Symbol("boundObservables"),zt=Symbol("boundProperties"),Bt=Symbol("decoratedMethods"),Ft=Symbol("decoratedOriginal"),Ht={set(t,e){if(y(t))return void Object.keys(t).forEach(e=>{this.set(e,t[e])},this);Ut(this);const n=this[Nt];if(t in this&&!n.has(t))throw new c.a("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>n.get(t),set(e){const i=n.get(t);let r=this.fire("set:"+t,t,e,i);void 0===r&&(r=e),i===r&&n.has(t)||(n.set(t,r),this.fire("change:"+t,t,r,i))}}),this[t]=e},bind(...t){if(!t.length||!Xt(t))throw new c.a("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new c.a("observable-bind-duplicate-properties",this);Ut(this);const e=this[zt];t.forEach(t=>{if(e.has(t))throw new c.a("observable-bind-rebind",this)});const n=new Map;return t.forEach(t=>{const i={property:t,to:[]};e.set(t,i),n.set(t,i)}),{to:Wt,toMany:$t,_observable:this,_bindProperties:t,_to:[],_bindings:n}},unbind(...t){if(!this[Nt])return;const e=this[zt],n=this[Yt];if(t.length){if(!Xt(t))throw new c.a("observable-unbind-wrong-properties",this);t.forEach(t=>{const i=e.get(t);if(!i)return;let r,o,a,s;i.to.forEach(t=>{r=t[0],o=t[1],a=n.get(r),s=a[o],s.delete(i),s.size||delete a[o],Object.keys(a).length||(n.delete(r),this.stopListening(r,"change"))}),e.delete(t)})}else n.forEach((t,e)=>{this.stopListening(e,"change")}),n.clear(),e.clear()},decorate(t){const e=this[t];if(!e)throw new c.a("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,(t,n)=>{t.return=e.apply(this,n)}),this[t]=function(...e){return this.fire(t,e)},this[t][Ft]=e,this[Bt]||(this[Bt]=[]),this[Bt].push(t)}};Rt(Ht,d),Ht.stopListening=function(t,e,n){if(!t&&this[Bt]){for(const t of this[Bt])this[t]=this[t][Ft];delete this[Bt]}d.stopListening.call(this,t,e,n)};var Vt=Ht;function Ut(t){t[Nt]||(Object.defineProperty(t,Nt,{value:new Map}),Object.defineProperty(t,Yt,{value:new Map}),Object.defineProperty(t,zt,{value:new Map}))}function Wt(...t){const e=function(...t){if(!t.length)throw new c.a("observable-bind-to-parse-error",null);const e={to:[]};let n;return"function"==typeof t[t.length-1]&&(e.callback=t.pop()),t.forEach(t=>{if("string"==typeof t)n.properties.push(t);else{if("object"!=typeof t)throw new c.a("observable-bind-to-parse-error",null);n={observable:t,properties:[]},e.to.push(n)}}),e}(...t),n=Array.from(this._bindings.keys()),i=n.length;if(!e.callback&&e.to.length>1)throw new c.a("observable-bind-to-no-callback",this);if(i>1&&e.callback)throw new c.a("observable-bind-to-extra-callback",this);var r;e.to.forEach(t=>{if(t.properties.length&&t.properties.length!==i)throw new c.a("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)}),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),r=this._observable,this._to.forEach(t=>{const e=r[Yt];let n;e.get(t.observable)||r.listenTo(t.observable,"change",(i,o)=>{n=e.get(t.observable)[o],n&&n.forEach(t=>{qt(r,t.property)})})}),function(t){let e;
457t._bindings.forEach((n,i)=>{t._to.forEach(r=>{e=r.properties[n.callback?0:t._bindProperties.indexOf(i)],n.to.push([r.observable,e]),function(t,e,n,i){const r=t[Yt],o=r.get(n),a=o||{};a[i]||(a[i]=new Set),a[i].add(e),o||r.set(n,a)}(t._observable,n,r.observable,e)})})}(this),this._bindProperties.forEach(t=>{qt(this._observable,t)})}function $t(t,e,n){if(this._bindings.size>1)throw new c.a("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const n=t.map(t=>[t,e]);return Array.prototype.concat.apply([],n)}(t,e),n)}function Xt(t){return t.every(t=>"string"==typeof t)}function qt(t,e){const n=t[zt].get(e);let i;n.callback?i=n.callback.apply(t,n.to.map(t=>t[0][t[1]])):(i=n.to[0],i=i[0][i[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=i:t.set(e,i)}function Gt(t,...e){e.forEach(e=>{Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)).forEach(n=>{if(n in t.prototype)return;const i=Object.getOwnPropertyDescriptor(e,n);i.enumerable=!1,Object.defineProperty(t.prototype,n,i)})})}class Zt{constructor(t){this.editor=t,this.set("isEnabled",!0),this._disableStack=new Set}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",Jt,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",Jt),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function Jt(t){t.return=!1,t.stop()}Gt(Zt,Vt);class Kt{constructor(t){this.editor=t,this.set("value",void 0),this.set("isEnabled",!1),this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.on("execute",t=>{this.isEnabled||t.stop()},{priority:"high"}),this.listenTo(t,"change:isReadOnly",(t,e,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})}refresh(){this.isEnabled=!0}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",Qt,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",Qt),this.refresh())}execute(){}destroy(){this.stopListening()}}function Qt(t){t.return=!1,t.stop()}Gt(Kt,Vt);class te extends Kt{constructor(t){super(t),this._childCommands=[]}refresh(){}execute(...t){const e=this._getFirstEnabledCommand();return null!=e&&e.execute(t)}registerChildCommand(t){this._childCommands.push(t),t.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){return this._childCommands.find(t=>t.isEnabled)}}var ee=function(t,e){return function(n){return t(e(n))}},ne=ee(Object.getPrototypeOf,Object),ie=Function.prototype,re=Object.prototype,oe=ie.toString,ae=re.hasOwnProperty,se=oe.call(Object),ce=function(t){if(!pt(t)||"[object Object]"!=A(t))return!1;var e=ne(t);if(null===e)return!0;var n=ae.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&oe.call(n)==se},le=function(){this.__data__=[],this.size=0},ue=function(t,e){for(var n=t.length;n--;)if(q(t[n][0],e))return n;return-1},de=Array.prototype.splice,he=function(t){var e=this.__data__,n=ue(e,t);return!(n<0)&&(n==e.length-1?e.pop():de.call(e,n,1),--this.size,!0)},fe=function(t){var e=this.__data__,n=ue(e,t);return n<0?void 0:e[n][1]},pe=function(t){return ue(this.__data__,t)>-1},me=function(t,e){var n=this.__data__,i=ue(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function ge(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}ge.prototype.clear=le,ge.prototype.delete=he,ge.prototype.get=fe,ge.prototype.has=pe,ge.prototype.set=me;var ve=ge,_e=function(){this.__data__=new ve,this.size=0},ye=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},be=function(t){return this.__data__.get(t)},we=function(t){return this.__data__.has(t)},ke=W(b.a,"Map"),xe=W(Object,"create"),Te=function(){this.__data__=xe?xe(null):{},this.size=0},Me=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Se=Object.prototype.hasOwnProperty,Ce=function(t){var e=this.__data__;if(xe){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(e,t)?e[t]:void 0},Ee=Object.prototype.hasOwnProperty,Le=function(t){var e=this.__data__;return xe?void 0!==e[t]:Ee.call(e,t)},Ae=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=xe&&void 0===e?"__lodash_hash_undefined__":e,this};function Oe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Oe.prototype.clear=Te,Oe.prototype.delete=Me,Oe.prototype.get=Ce,Oe.prototype.has=Le,Oe.prototype.set=Ae;var Pe=Oe,De=function(){this.size=0,this.__data__={hash:new Pe,map:new(ke||ve),string:new Pe}},je=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},Ie=function(t,e){var n=t.__data__;return je(e)?n["string"==typeof e?"string":"hash"]:n.map},Re=function(t){var e=Ie(this,t).delete(t);return this.size-=e?1:0,e},Ne=function(t){return Ie(this,t).get(t)},Ye=function(t){return Ie(this,t).has(t)},ze=function(t,e){var n=Ie(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function Be(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Be.prototype.clear=De,Be.prototype.delete=Re,Be.prototype.get=Ne,Be.prototype.has=Ye,Be.prototype.set=ze;var Fe=Be,He=function(t,e){var n=this.__data__;if(n instanceof ve){var i=n.__data__;if(!ke||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Fe(i)}return n.set(t,e),this.size=n.size,this};function Ve(t){var e=this.__data__=new ve(t);this.size=e.size}Ve.prototype.clear=_e,Ve.prototype.delete=ye,Ve.prototype.get=be,Ve.prototype.has=we,Ve.prototype.set=He;var Ue=Ve,We=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t},$e=ee(Object.keys,Object),Xe=Object.prototype.hasOwnProperty,qe=function(t){if(!Ot(t))return $e(t);var e=[];for(var n in Object(t))Xe.call(t,n)&&"constructor"!=n&&e.push(n);return e},Ge=function(t){return ct(t)?Lt(t):qe(t)},Ze=function(t,e){return t&&J(e,Ge(e),t)},Je=function(t,e){return t&&J(e,It(e),t)},Ke=n(9),Qe=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e},tn=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o},en=function(){return[]},nn=Object.prototype.propertyIsEnumerable,rn=Object.getOwnPropertySymbols,on=rn?function(t){return null==t?[]:(t=Object(t),tn(rn(t),(function(e){return nn.call(t,e)})))}:en,an=function(t,e){return J(t,on(t),e)},sn=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t},cn=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)sn(e,on(t)),t=ne(t);return e}:en,ln=function(t,e){return J(t,cn(t),e)},un=function(t,e,n){var i=e(t);return bt(t)?i:sn(i,n(t))},dn=function(t){return un(t,Ge,on)},hn=function(t){return un(t,It,cn)},fn=W(b.a,"DataView"),pn=W(b.a,"Promise"),mn=W(b.a,"Set"),gn=W(b.a,"WeakMap"),vn=R(fn),_n=R(ke),yn=R(pn),bn=R(mn),wn=R(gn),kn=A;(fn&&"[object DataView]"!=kn(new fn(new ArrayBuffer(1)))||ke&&"[object Map]"!=kn(new ke)||pn&&"[object Promise]"!=kn(pn.resolve())||mn&&"[object Set]"!=kn(new mn)||gn&&"[object WeakMap]"!=kn(new gn))&&(kn=function(t){var e=A(t),n="[object Object]"==e?t.constructor:void 0,i=n?R(n):"";if(i)switch(i){case vn:return"[object DataView]";case _n:return"[object Map]";case yn:return"[object Promise]";case bn:return"[object Set]";case wn:return"[object WeakMap]"}return e});var xn=kn,Tn=Object.prototype.hasOwnProperty,Mn=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Tn.call(t,"index")&&(n.index=t.index,n.input=t.input),n},Sn=b.a.Uint8Array,Cn=function(t){var e=new t.constructor(t.byteLength);return new Sn(e).set(new Sn(t)),e},En=function(t,e){var n=e?Cn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},Ln=/\w*$/,An=function(t){var e=new t.constructor(t.source,Ln.exec(t));return e.lastIndex=t.lastIndex,e}
vendor: 4,119 bytes, line 457
457,On=w?w.prototype:void 0,Pn=On?On.valueOf:void 0,Dn=function(t){return Pn?Object(Pn.call(t)):{}},jn=function(t,e){var n=e?Cn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)},In=function(t,e,n){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return Cn(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return En(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return jn(t,n);case"[object Map]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return An(t);case"[object Set]":return new i;case"[object Symbol]":return Dn(t)}},Rn=Object.create,Nn=function(){function t(){}return function(e){if(!y(e))return{};if(Rn)return Rn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),Yn=function(t){return"function"!=typeof t.constructor||Ot(t)?{}:Nn(ne(t))},zn=function(t){return pt(t)&&"[object Map]"==xn(t)},Bn=Mt.a&&Mt.a.isMap,Fn=Bn?Tt(Bn):zn,Hn=function(t){return pt(t)&&"[object Set]"==xn(t)},Vn=Mt.a&&Mt.a.isSet,Un=Vn?Tt(Vn):Hn,Wn={};Wn["[object Arguments]"]=Wn["[object Array]"]=Wn["[object ArrayBuffer]"]=Wn["[object DataView]"]=Wn["[object Boolean]"]=Wn["[object Date]"]=Wn["[object Float32Array]"]=Wn["[object Float64Array]"]=Wn["[object Int8Array]"]=Wn["[object Int16Array]"]=Wn["[object Int32Array]"]=Wn["[object Map]"]=Wn["[object Number]"]=Wn["[object Object]"]=Wn["[object RegExp]"]=Wn["[object Set]"]=Wn["[object String]"]=Wn["[object Symbol]"]=Wn["[object Uint8Array]"]=Wn["[object Uint8ClampedArray]"]=Wn["[object Uint16Array]"]=Wn["[object Uint32Array]"]=!0,Wn["[object Error]"]=Wn["[object Function]"]=Wn["[object WeakMap]"]=!1;var $n=function t(e,n,i,r,o,a){var s,c=1&n,l=2&n,u=4&n;if(i&&(s=o?i(e,r,o,a):i(e)),void 0!==s)return s;if(!y(e))return e;var d=bt(e);if(d){if(s=Mn(e),!c)return Qe(e,s)}else{var h=xn(e),f="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(wt.a)(e))return Object(Ke.a)(e,c);if("[object Object]"==h||"[object Arguments]"==h||f&&!o){if(s=l||f?{}:Yn(e),!c)return l?ln(e,Je(s,e)):an(e,Ze(s,e))}else{if(!Wn[h])return o?e:{};s=In(e,h,c)}}a||(a=new Ue);var p=a.get(e);if(p)return p;a.set(e,s),Un(e)?e.forEach((function(r){s.add(t(r,n,i,r,e,a))})):Fn(e)&&e.forEach((function(r,o){s.set(o,t(r,n,i,o,e,a))}));var m=d?void 0:(u?l?hn:dn:l?It:Ge)(e);return We(m||e,(function(r,o){m&&(r=e[o=r]),Z(s,o,t(r,n,i,o,e,a))})),s},Xn=function(t,e){return $n(t,5,e="function"==typeof e?e:void 0)},qn=function(t){return pt(t)&&1===t.nodeType&&!ce(t)};class Gn{constructor(t,e){this._config={},e&&this.define(Zn(e)),t&&this._setObjectToTarget(this._config,t)}set(t,e){this._setToTarget(this._config,t,e)}define(t,e){this._setToTarget(this._config,t,e,!0)}get(t){return this._getFromSource(this._config,t)}*names(){for(const t of Object.keys(this._config))yield t}_setToTarget(t,e,n,i=!1){if(ce(e))return void this._setObjectToTarget(t,e,i);const r=e.split(".");e=r.pop();for(const o of r)ce(t[o])||(t[o]={}),t=t[o];if(ce(n))return ce(t[e])||(t[e]={}),t=t[e],void this._setObjectToTarget(t,n,i);i&&void 0!==t[e]||(t[e]=n)}_getFromSource(t,e){const n=e.split(".");e=n.pop();for(const i of n){if(!ce(t[i])){t=null;break}t=t[i]}return t?Zn(t[e]):void 0}_setObjectToTarget(t,e,n){Object.keys(e).forEach(i=>{this._setToTarget(t,i,e[i],n)})}}function Zn(t){return Xn(t,Jn)}function Jn(t){return qn(t)?t:void 0}function Kn(t){return!(!t||!t[Symbol.iterator])}class Qn{constructor(t={},e={}){const n=Kn(t);if(n||(e=t),this._items=[],this._itemMap=new Map,this._idProperty=e.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],n)for(const i of t)this._items.push(i),this._itemMap.set(this._getItemIdBeforeAdding(i),i)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(t,e){return this.addMany([t],e)}
vendor: 4,278 bytes, line 457
457addMany(t,e){if(void 0===e)e=this._items.length;else if(e>this._items.length||e<0)throw new c.a("collection-add-item-invalid-index",this);for(let n=0;n<t.length;n++){const i=t[n],r=this._getItemIdBeforeAdding(i),o=e+n;this._items.splice(o,0,i),this._itemMap.set(r,i),this.fire("add",i,o)}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new c.a("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,this._items.indexOf(e)}remove(t){const[e,n]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:n}),e}map(t,e){return this._items.map(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new c.a("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding(e=>new t(e))},using:t=>{"function"==typeof t?this._setUpBindToBinding(e=>t(e)):this._setUpBindToBinding(e=>e[t])}}}_setUpBindToBinding(t){const e=this._bindToCollection,n=(n,i,r)=>{const o=e._bindToCollection==this,a=e._bindToInternalToExternalMap.get(i);if(o&&a)this._bindToExternalToInternalMap.set(i,a),this._bindToInternalToExternalMap.set(a,i);else{const n=t(i);if(!n)return void this._skippedIndexesFromExternal.push(r);let o=r;for(const t of this._skippedIndexesFromExternal)r>t&&o--;for(const t of e._skippedIndexesFromExternal)o>=t&&o++;this._bindToExternalToInternalMap.set(i,n),this._bindToInternalToExternalMap.set(n,i),this.add(n,o);for(let t=0;t<e._skippedIndexesFromExternal.length;t++)o<=e._skippedIndexesFromExternal[t]&&e._skippedIndexesFromExternal[t]++}};for(const i of e)n(0,i,e.getIndex(i));this.listenTo(e,"add",n),this.listenTo(e,"remove",(t,e,n)=>{const i=this._bindToExternalToInternalMap.get(e);i&&this.remove(i),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((t,e)=>(n<e&&t.push(e-1),n>e&&t.push(e),t),[])})}_getItemIdBeforeAdding(t){const e=this._idProperty;let n;if(e in t){if(n=t[e],"string"!=typeof n)throw new c.a("collection-add-invalid-id",this);if(this.get(n))throw new c.a("collection-add-item-already-exists",this)}else t[e]=n=a();return n}_remove(t){let e,n,i,r=!1;const o=this._idProperty;if("string"==typeof t?(n=t,i=this._itemMap.get(n),r=!i,i&&(e=this._items.indexOf(i))):"number"==typeof t?(e=t,i=this._items[e],r=!i,i&&(n=i[o])):(i=t,n=i[o],e=this._items.indexOf(i),r=-1==e||!this._itemMap.get(n)),r)throw new c.a("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(n);const a=this._bindToInternalToExternalMap.get(i);return this._bindToInternalToExternalMap.delete(i),this._bindToExternalToInternalMap.delete(a),this.fire("remove",i,e),[i,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}Gt(Qn,d);class ti{constructor(t,e=[],n=[]){this._context=t,this._plugins=new Map,this._availablePlugins=new Map;for(const i of e)i.pluginName&&this._availablePlugins.set(i.pluginName,i);this._contextPlugins=new Map;for(const[i,r]of n)this._contextPlugins.set(i,r),this._contextPlugins.set(r,i),i.pluginName&&this._availablePlugins.set(i.pluginName,i)}*[Symbol.iterator](){for(const t of this._plugins)"function"==typeof t[0]&&(yield t)}get(t){const e=this._plugins.get(t);if(!e){let e=t;throw"function"==typeof t&&(e=t.pluginName||t.name),new c.a("plugincollection-plugin-not-loaded",this._context,{plugin:e})}return e}has(t){return this._plugins.has(t)}init(t,e=[],n=[]){const i=this,r=this._context;!function t(e,n=new Set){e.forEach(e=>{s(e)&&(n.has(e)||(n.add(e),e.pluginName&&!i._availablePlugins.has(e.pluginName)&&i._availablePlugins.set(e.pluginName,e),e.requires&&t(e.requires,n)))})}(t),h(t);const o=[...function t(e,n=new Set){return e.map(t=>s(t)?t:i._availablePlugins.get(t)).reduce((e,i)=>n.has(i)?e:(n.add(i),i.requires&&(h(i.requires,i),t(i.requires,n).forEac
457h(t=>e.add(t))),e.add(i)),new Set)}(t.filter(t=>!u(t,e)))];!function(t,e){for(const n of e){if("function"!=typeof n)throw new c.a("plugincollection-replace-plugin-invalid-type",null,{pluginItem:n});const e=n.pluginName;if(!e)throw new c.a("plugincollection-replace-plugin-missing-name",null,{pluginItem:n});if(n.requires&&n.requires.length)throw new c.a("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:e});const r=i._availablePlugins.get(e);if(!r)throw new c.a("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:e});const o=t.indexOf(r);if(-1===o){if(i._contextPlugins.has(r))return;throw new c.a("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:e})}if(r.requires&&r.requires.length)throw new c.a("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:e});t.splice(o,1,n),i._availablePlugins.set(e,n)}}(o,n);const a=function(t){return t.map(t=>{const e=i._contextPlugins.get(t)||new t(r);return i._add(t,e),e})}(o);return f(a,"init").then(()=>f(a,"afterInit")).then(()=>a);function s(t){return"function"==typeof t}function l(t){return s(t)&&t.isContextPlugin}function u(t,e){return e.some(e=>e===t||d(t)===e||d(e)===t)}function d(t){return s(t)?t.pluginName||t.name:t}function h(t,n=null){t.map(t=>s(t)?t:i._availablePlugins.get(t)||t).forEach(t=>{!function(t,e){if(!s(t)){if(e)throw new c.a("plugincollection-soft-required",r,{missingPlugin:t,requiredBy:d(e)});throw new c.a("plugincollection-plugin-not-found",r,{plugin:t})}}(t,n),function(t,e){if(l(e)&&!l(t))throw new c.a("plugincollection-context-required",r,{plugin:d(t),requiredBy:d(e)})}(t,n),function(t,n){if(n&&u(t,e))throw new c.a("plugincollection-required",r,{plugin:d(t),requiredBy:d(n)})}(t,n)})}function f(t,e){return t.reduce((t,n)=>n[e]?i._contextPlugins.has(n)?t:t.then(n[e].bind(n)):t,Promise.resolve())}}destroy(){const t=[];for(const[,e]of this)"function"!=typeof e.destroy||this._contextPlugins.has(e)||t.push(e.destroy());return Promise.all(t)}_add(t,e){this._plugins.set(t,e);const n=t.pluginName;if(n){if(this._plugins.has(n))throw new c.a("plugincollection-plugin-name-conflict",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t});this._plugins.set(n,e)}}}function ei(t){return Array.isArray(t)?t:[t]}function ni(t,e,n=1){if("number"!=typeof n)throw new c.a("translation-service-quantity-not-a-number",null,{quantity:n});const i=Object.keys(window.CKEDITOR_TRANSLATIONS).length;1===i&&(t=Object.keys(window.CKEDITOR_TRANSLATIONS)[0]);const r=e.id||e.string;if(0===i||!function(t,e){return!!window.CKEDITOR_TRANSLATIONS[t]&&!!window.CKEDITOR_TRANSLATIONS[t].dictionary[e]}(t,r))return 1!==n?e.plural:e.string;const o=window.CKEDITOR_TRANSLATIONS[t].dictionary,a=window.CKEDITOR_TRANSLATIONS[t].getPluralForm||(t=>1===t?0:1);if("string"==typeof o[r])return o[r];const s=Number(a(n));return o[r][s]}Gt(ti,d),window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={});const ii=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function ri(t){return ii.includes(t)?"rtl":"ltr"}class oi{constructor(t={}){this.uiLanguage=t.uiLanguage||"en",this.contentLanguage=t.contentLanguage||this.uiLanguage,this.uiLanguageDirection=ri(this.uiLanguage),this.contentLanguageDirection=ri(this.contentLanguage),this.t=(t,e)=>this._t(t,e)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(t,e=[]){e=ei(e),"string"==typeof t&&(t={string:t});const n=t.plural?e[0]:1;return function(t,e){return t.replace(/%(\d+)/g,(t,n)=>n<e.length?e[n]:t)}(ni(this.uiLanguage,t,n),e)}}class ai{constructor(t){this.config=new Gn(t,this.constructor.defaultConfig);const e=this.constructor.builtinPlugins;this.config.define("plugins",e),this.plugins=new ti(this,e);const n=this.config.get("language")||{};this.locale=new oi({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Qn,this._contextOwner=null}initPlugins(){const t=this.config.get("plugins")||[],e=this.config.get("substitutePlugins")||[];for(const n of t.concat(e)){if("function"!=typeof n)throw new c.a("context-initplugins-constructor-only",null,{Plugin:n});if(!0!==n.isContextPlugin)throw new c.a("context-initplugins-invalid-plugin",null,{Plugin:n})}return this.plugins.init(t,[],e)}destroy(){return Promise.all(Array.from(this.editors,t=>t.destroy())).then(()=>this.plugins.destroy())}_addEditor(t,e){if(this._contextOwner)throw new c.a("context-addeditor-private-context");this.editors.add(t),e&&(this._contextOwner=t)}_removeEditor(t){return this.editors.has(t)&&this.editors.remove(t),this._contextOwner===t?this.destroy():Promise.resolve()}_getEditorConfig(){const t={};for(const e of this.config.names())["plugins","removePlugins","extraPlugins"].includes(e)||(t[e]=this.config.get(e));return t}static create(t){return new Promise(e=>{const n=new this(t);e(n.initPlugins().then(()=>n))})}}class si{constructor(t){this.context=t}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}function ci(t,e){const n=Math.min(t.length,e.length);for(let i=0;i<n;i++)if(t[i]!=e[i])return i;return t.length==e.length?"same":t.length<e.length?"prefix":"extension"}Gt(si,Vt);var li=function(t){return $n(t,4)};class ui{constructor(t){this.document=t,this.parent=null}get index(){let t;if(!this.parent)return null;if(-1==(t=this.parent.getChildIndex(this)))throw new c.a("view-node-not-found-in-parent",this);return t}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return this.root.is("rootElement")}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.index),e=e.parent;return t}getAncestors(t={includeSelf:!1,parentFirst:!1}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),i=t.getAncestors(e);let r=0;for(;n[r]==i[r]&&n[r];)r++;return 0===r?null:n[r-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),i=ci(e,n);switch(i){case"prefix":return!0;case"extension":return!1;default:return e[i]<n[i]}}isAfter(t){return this!=t&&this.root===t.root&&!this.isBefore(t)}_remove(){this.parent._removeChildren(this.index)}
457_fireChange(t,e){this.fire("change:"+t,e),this.parent&&this.parent._fireChange(t,e)}toJSON(){const t=li(this);return delete t.parent,t}is(t){return"node"===t||"view:node"===t}}Gt(ui,d);class di extends ui{constructor(t,e){super(t),this._textData=e}is(t){return"$text"===t||"view:$text"===t||"text"===t||"view:text"===t||"node"===t||"view:node"===t}get data(){return this._textData}get _data(){return this.data}set _data(t){this._fireChange("text",this),this._textData=t}isSimilar(t){return t instanceof di&&(this===t||this.data===t.data)}_clone(){return new di(this.document,this.data)}}class hi{constructor(t,e,n){if(this.textNode=t,e<0||e>t.data.length)throw new c.a("view-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.data.length)throw new c.a("view-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}is(t){return"$textProxy"===t||"view:$textProxy"===t||"textProxy"===t||"view:textProxy"===t}getAncestors(t={includeSelf:!1,parentFirst:!1}){const e=[];let n=t.includeSelf?this.textNode:this.parent;for(;null!==n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}}function fi(t){return Kn(t)?new Map(t):function(t){const e=new Map;for(const n in t)e.set(n,t[n]);return e}(t)}class pi{constructor(...t){this._patterns=[],this.add(...t)}add(...t){for(let e of t)("string"==typeof e||e instanceof RegExp)&&(e={name:e}),e.classes&&("string"==typeof e.classes||e.classes instanceof RegExp)&&(e.classes=[e.classes]),this._patterns.push(e)}match(...t){for(const e of t)for(const t of this._patterns){const n=mi(e,t);if(n)return{element:e,pattern:t,match:n}}return null}matchAll(...t){const e=[];for(const n of t)for(const t of this._patterns){const i=mi(n,t);i&&e.push({element:n,pattern:t,match:i})}return e.length>0?e:null}getElementName(){if(1!==this._patterns.length)return null;const t=this._patterns[0],e=t.name;return"function"==typeof t||!e||e instanceof RegExp?null:e}}function mi(t,e){if("function"==typeof e)return e(t);const n={};return e.name&&(n.name=function(t,e){return t instanceof RegExp?t.test(e):t===e}(e.name,t.name),!n.name)||e.attributes&&(n.attributes=function(t,e){const n=[];for(const i in t){const r=t[i];if(!e.hasAttribute(i))return null;{const t=e.getAttribute(i);if(!0===r)n.push(i);else if(r instanceof RegExp){if(!r.test(t))return null;n.push(i)}else{if(t!==r)return null;n.push(i)}}}return n}(e.attributes,t),!n.attributes)?null:!(e.classes&&(n.classes=function(t,e){const n=[];for(const i of t)if(i instanceof RegExp){const t=e.getClassNames();for(const e of t)i.test(e)&&n.push(e);if(0===n.length)return null}else{if(!e.hasClass(i))return null;n.push(i)}return n}(e.classes,t),!n.classes))&&!(e.styles&&(n.styles=function(t,e){const n=[];for(const i in t){const r=t[i];if(!e.hasStyle(i))return null;{const t=e.getStyle(i);if(r instanceof RegExp){if(!r.test(t))return null;n.push(i)}else{if(t!==r)return null;n.push(i)}}}return n}(e.styles,t),!n.styles))&&n}var gi=function(t){return"symbol"==typeof t||pt(t)&&"[object Symbol]"==A(t)},vi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_i=/^\w*$/,yi=function(t,e){if(bt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!gi(t))||_i.test(t)||!vi.test(t)||null!=e&&t in Object(e)};function bi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(bi.Cache||Fe),n}bi.Cache=Fe;var wi=bi,ki=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xi=/\\(\\)?/g,Ti=function(t){var e=wi(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ki,(function(t,n,i,r){e.push(i?r.replace(xi,"$1"):n||t)})),e})),Mi=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r},Si=w?w.prototype:void 0,Ci=Si?Si.toString:void 0,Ei=function t(e){if("string"==typeof e)return e;if(bt(e))return Mi(e,t)+"";if(gi(e))return Ci?Ci.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},Li=function(t){return null==t?"":Ei(t)}
vendor: 36,345 bytes, line 457
457,Ai=function(t,e){return bt(t)?t:yi(t,e)?[t]:Ti(Li(t))},Oi=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},Pi=function(t){if("string"==typeof t||gi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Di=function(t,e){for(var n=0,i=(e=Ai(e,t)).length;null!=t&&n<i;)t=t[Pi(e[n++])];return n&&n==i?t:void 0},ji=function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(r);++i<r;)o[i]=t[i+e];return o},Ii=function(t,e){return e.length<2?t:Di(t,ji(e,0,-1))},Ri=function(t,e){return e=Ai(e,t),null==(t=Ii(t,e))||delete t[Pi(Oi(e))]},Ni=function(t,e){return null==t||Ri(t,e)},Yi=function(t,e,n){var i=null==t?void 0:Di(t,e);return void 0===i?n:i},zi=function(t,e,n){(void 0!==n&&!q(t[e],n)||void 0===n&&!(e in t))&&X(t,e,n)},Bi=function(t){return function(e,n,i){for(var r=-1,o=Object(e),a=i(e),s=a.length;s--;){var c=a[t?s:++r];if(!1===n(o[c],c,o))break}return e}}(),Fi=function(t){return pt(t)&&ct(t)},Hi=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},Vi=function(t){return J(t,It(t))},Ui=function(t,e,n,i,r,o,a){var s=Hi(t,n),c=Hi(e,n),l=a.get(c);if(l)zi(t,n,l);else{var u=o?o(s,c,n+"",t,e,a):void 0,d=void 0===u;if(d){var h=bt(c),f=!h&&Object(wt.a)(c),p=!h&&!f&&Ct(c);u=c,h||f||p?bt(s)?u=s:Fi(s)?u=Qe(s):f?(d=!1,u=Object(Ke.a)(c,!0)):p?(d=!1,u=jn(c,!0)):u=[]:ce(c)||yt(c)?(u=s,yt(s)?u=Vi(s):y(s)&&!O(s)||(u=Yn(c))):d=!1}d&&(a.set(c,u),r(u,c,i,o,a),a.delete(c)),zi(t,n,u)}},Wi=function t(e,n,i,r,o){e!==n&&Bi(n,(function(a,s){if(o||(o=new Ue),y(a))Ui(e,n,s,i,t,r,o);else{var c=r?r(Hi(e,s),a,s+"",e,n,o):void 0;void 0===c&&(c=a),zi(e,s,c)}}),It)},$i=ht((function(t,e,n){Wi(t,e,n)})),Xi=function(t,e,n,i){if(!y(t))return t;for(var r=-1,o=(e=Ai(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var c=Pi(e[r]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=a){var u=s[c];void 0===(l=i?i(u,c,s):void 0)&&(l=y(u)?u:ut(e[r+1])?[]:{})}Z(s,c,l),s=s[c]}return t},qi=function(t,e,n){return null==t?t:Xi(t,e,n)};class Gi{constructor(t){this._styles={},this._styleProcessor=t}get isEmpty(){const t=Object.entries(this._styles);return!Array.from(t).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(t){this.clear();const e=Array.from(function(t){let e=null,n=0,i=0,r=null;const o=new Map;if(""===t)return o;";"!=t.charAt(t.length-1)&&(t+=";");for(let a=0;a<t.length;a++){const s=t.charAt(a);if(null===e)switch(s){case":":r||(r=t.substr(n,a-n),i=a+1);break;case'"':case"'":e=s;break;case";":{const e=t.substr(i,a-i);r&&o.set(r.trim(),e.trim()),r=null,n=a+1;break}}else s===e&&(e=null)}return o}(t).entries());for(const[n,i]of e)this._styleProcessor.toNormalizedForm(n,i,this._styles)}has(t){if(this.isEmpty)return!1;const e=this._styleProcessor.getReducedForm(t,this._styles).find(([e])=>e===t);return Array.isArray(e)}set(t,e){if(y(t))for(const[n,i]of Object.entries(t))this._styleProcessor.toNormalizedForm(n,i,this._styles);else this._styleProcessor.toNormalizedForm(t,e,this._styles)}remove(t){const e=Ji(t);Ni(this._styles,e),delete this._styles[t],this._cleanEmptyObjectsOnPath(e)}getNormalized(t){return this._styleProcessor.getNormalized(t,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(t=>t.join(":")).sort().join(";")+";"}getAsString(t){if(this.isEmpty)return;if(this._styles[t]&&!y(this._styles[t]))return this._styles[t];const e=this._styleProcessor.getReducedForm(t,this._styles).find(([e])=>e===t);return Array.isArray(e)?e[1]:void 0}getStyleNames(){return this.isEmpty?[]:this._getStylesEntries().map(([t])=>t)}clear(){this._styles={}}_getStylesEntries(){const t=[],e=Object.keys(this._styles);for(const n of e)t.push(...this._styleProcessor.getReducedForm(n,this._styles));return t}_cleanEmptyObjectsOnPath(t){const e=t.split(".");if(!(e.length>1))return;const n=e.splice(0,e.length-1).join("."),i=Yi(this._styles,n);i&&!Array.from(Object.keys(i)).length&&this.remove(n)}}class Zi{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(t,e,n){if(y(e))Ki(n,Ji(t),e);else if(this._normalizers.has(t)){const i=this._normalizers.get(t),{path:r,value:o}=i(e);Ki(n,r,o)}else Ki(n,t,e)}getNormalized(t,e){if(!t)return $i({},e);if(void 0!==e[t])return e[t];if(this._extractors.has(t)){const n=this._extractors.get(t);if("string"==typeof n)return Yi(e,n);const i=n(t,e);if(i)return i}return Yi(e,Ji(t))}getReducedForm(t,e){const n=this.getNormalized(t,e);return void 0===n?[]:this._reducers.has(t)?this._reducers.get(t)(n):[[t,n]]}getRelatedStyles(t){return this._consumables.get(t)||[]}setNormalizer(t,e){this._normalizers.set(t,e)}setExtractor(t,e){this._extractors.set(t,e)}setReducer(t,e){this._reducers.set(t,e)}setStyleRelation(t,e){this._mapStyleNames(t,e);for(const n of e)this._mapStyleNames(n,[t])}_mapStyleNames(t,e){this._consumables.has(t)||this._consumables.set(t,[]),this._consumables.get(t).push(...e)}}function Ji(t){return t.replace("-",".")}function Ki(t,e,n){let i=n;y(n)&&(i=$i({},Yi(t,e),n)),qi(t,e,i)}class Qi extends ui{constructor(t,e,n,i){if(super(t),this.name=e,this._attrs=function(t){t=fi(t);for(const[e,n]of t)null===n?t.delete(e):"string"!=typeof n&&t.set(e,String(n));return t}(n),this._children=[],i&&this._insertChild(0,i),this._classes=new Set,this._attrs.has("class")){const t=this._attrs.get("class");tr(this._classes,t),this._attrs.delete("class")}this._styles=new Gi(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style")),this._customProperties=new Map,this._isAllowedInsideAttributeElement=!1}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}get isAllowedInsideAttributeElement(){return this._isAllowedInsideAttributeElement}is(t,e=null){return e?e===this.name&&("element"===t||"view:element"===t):"element"===t||"view:element"===t||"node"===t||"view:node"===t}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(t){if("class"==t)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==t){const t=this._styles.toString();return""==t?void 0:t}return this._attrs.get(t)}hasAttribute(t){return"class"==t?this._classes.size>0:"style"==t?!this._styles.isEmpty:this._attrs.has(t)}isSimilar(t){if(!(t instanceof Qi))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this.isAllowedInsideAttributeElement!=t.isAllowedInsideAttributeElement)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;for(const[e,n]of this._attrs)if(!t._attrs.has(e)||t._attrs.get(e)!==n)return!1;for(const e of this._classes)if(!t._classes.has(e))return!1;for(const e of this._styles.getStyleNames())if(!t._styles.has(e)||t._styles.getAsString(e)!==this._styles.getAsString(e))return!1;return!0}hasClass(...t){for(const e of t)if(!this._classes.has(e))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(t){return this._styles.getAsString(t)}getNormalizedStyle(t){return this._styles.getNormalized(t)}getStyleNames(){return this._styles.getStyleNames()}hasStyle(...t){for(const e of t)if(!this._styles.has(e))return!1;return!0}findAncestor(...t){const e=new pi(...t);let n=this.parent;for(;n;){if(e.match(n))return n;n=n.parent}return null}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const t=Array.from(this._classes).sort().join(","),e=this._styles.toString(),n=Array.from(this._attrs).map(t=>`${t[0]}="${t[1]}"`).sort().join(" ");return this.name+(""==t?"":` class="${t}"`)+(e?` style="${e}"`:"")+(""==n?"":" "+n)}_clone(t=!1){const e=[];if(t)for(const i of this.getChildren())e.push(i._clone(t));const n=new this.constructor(this.document,this.name,this._attrs,e);return n._classes=new Set(this._classes),n._styles.set(this._styles.getNormalized()),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n._isAllowedInsideAttributeElement=this.isAllowedInsideAttributeElement,n}_appendChild(t){return this._insertChild(this.childCount,t)}_insertChild(t,e){this._fireChange("children",this);let n=0;const i=function(t,e){return"string"==typeof e?[new di(t,e)]:(Kn(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new di(t,e):e instanceof hi?new di(t,e.data):e))}(this.document,e);for(const r of i)null!==r.parent&&r._remove(),r.parent=this,r.document=this.document,this._children.splice(t,0,r),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n<t+e;n++)this._children[n].parent=null;return this._children.splice(t,e)}_setAttribute(t,e){e=String(e),this._fireChange("attributes",this),"class"==t?tr(this._classes,e):"style"==t?this._styles.setTo(e):this._attrs.set(t,e)}_removeAttribute(t){return this._fireChange("attributes",this),"class"==t?this._classes.size>0&&(this._classes.clear(),!0):"style"==t?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(t)}_addClass(t){this._fireChange("attributes",this);for(const e of ei(t))this._classes.add(e)}_removeClass(t){this._fireChange("attributes",this);for(const e of ei(t))this._classes.delete(e)}_setStyle(t,e){this._fireChange("attributes",this),this._styles.set(t,e)}_removeStyle(t){this._fireChange("attributes",this);for(const e of ei(t))this._styles.remove(e)}_setCustomProperty(t,e){this._customProperties.set(t,e)}_removeCustomProperty(t){return this._customProperties.delete(t)}}function tr(t,e){const n=e.split(/\s+/);t.clear(),n.forEach(e=>t.add(e))}class er extends Qi{constructor(t,e,n,i){super(t,e,n,i),this.getFillerOffset=nr}is(t,e=null){return e?e===this.name&&("containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}}function nr(){const t=[...this.getChildren()],e=t[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;for(const n of t)if(!n.is("uiElement"))return null;return this.childCount}class ir extends er{constructor(t,e,n,i){super(t,e,n,i),this.set("isReadOnly",!1),this.set("isFocused",!1),this.bind("isReadOnly").to(t),this.bind("isFocused").to(t,"isFocused",e=>e&&t.selection.editableElement==this),this.listenTo(t.selection,"change",()=>{this.isFocused=t.isFocused&&t.selection.editableElement==this})}is(t,e=null){return e?e===this.name&&("editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}destroy(){this.stopListening()}}Gt(ir,Vt);const rr=Symbol("rootName");class or extends ir{constructor(t,e){super(t,e),this.rootName="main"}is(t,e=null){return e?e===this.name&&("rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}get rootName(){return this.getCustomProperty(rr)}set rootName(t){this._setCustomProperty(rr,t)}set _name(t){this.name=t}}class ar{constructor(t={}){if(!t.boundaries&&!t.startPosition)throw new c.a("view-tree-walker-no-start-position",null);if(t.direction&&"forward"!=t.direction&&"backward"!=t.direction)throw new c.a("view-tree-walker-unknown-direction",t.startPosition,{direction:t.direction});this.boundaries=t.boundaries||null,t.startPosition?this.position=sr._createAt(t.startPosition):this.position=sr._createAt(t.boundaries["backward"==t.direction?"end":"start"]),this.direction=t.direction||"forward",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}skip(t){let e,n,i;do{i=this.position,({done:e,value:n}=this.next())}while(!e&&t(n));e||(this.position=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&t.offset===n.childCount)return{done:!0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0};let i;if(n instanceof di){if(t.isAtEnd)return this.position=sr._createAfter(n),this._next();i=n.data[t.offset]}else i=n.getChild(t.offset);if(i instanceof Qi)return this.shallow?t.offset++:t=new sr(i,0),this.position=t,this._formatReturnValue("elementStart",i,e,t,1);if(i instanceof di){if(this.singleCharacters)return t=new sr(i,0),this.position=t,this._next();{let n,r=i.data.length;return i==this._boundaryEndParent?(r=this.boundaries.end.offset,n=new hi(i,0,r),t=sr._createAfter(n)):(n=new hi(i,0,i.data.length),t.offset++),this.position=t,this._formatReturnValue("text",n,e,t,r)}}if("string"==typeof i){let i;i=this.singleCharacters?1:(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-t.offset;const r=new hi(n,t.offset,i);return t.offset+=i,this.position=t,this._formatReturnValue("text",r,e,t,i)}return t=sr._createAfter(n),this.position=t,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",n,e,t)}_previous(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&0===t.offset)return{done:!0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0};let i;if(n instanceof di){if(t.isAtStart)return this.position=sr._createBefore(n),this._previous();i=n.data[t.offset-1]}else i=n.getChild(t.offset-1);if(i instanceof Qi)return this.shallow?(t.offset--,this.position=t,this._formatReturnValue("elementStart",i,e,t,1)):(t=new sr(i,i.childCount),this.position=t,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",i,e,t));if(i instanceof di){if(this.singleCharacters)return t=new sr(i,i.data.length),this.position=t,this._previous();{let n,r=i.data.length;if(i==this._boundaryStartParent){const e=this.boundaries.start.offset;n=new hi(i,e,i.data.length-e),r=n.data.length,t=sr._createBefore(n)}else n=new hi(i,0,i.data.length),t.offset--;return this.position=t,this._formatReturnValue("text",n,e,t,r)}}if("string"==typeof i){let i;if(this.singleCharacters)i=1;else{const e=n===this._boundaryStartParent?this.boundaries.start.offset:0;i=t.offset-e}t.offset-=i;const r=new hi(n,t.offset,i);return this.position=t,this._formatReturnValue("text",r,e,t,i)}return t=sr._createBefore(n),this.position=t,this._formatReturnValue("elementStart",n,e,t,1)}_formatReturnValue(t,e,n,i,r){return e instanceof hi&&(e.offsetInText+e.data.length==e.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=sr._createAfter(e.textNode):(i=sr._createAfter(e.textNode),this.position=i)),0===e.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=sr._createBefore(e.textNode):(i=sr._createBefore(e.textNode),this.position=i))),{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:r}}}}class sr{constructor(t,e){this.parent=t,this.offset=e}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const t=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===t}get root(){return this.parent.root}get editableElement(){let t=this.parent;for(;!(t instanceof ir);){if(!t.parent)return null;t=t.parent}return t}getShiftedBy(t){const e=sr._createAt(this),n=e.offset+t;return e.offset=n<0?0:n,e}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new ar(e);return n.skip(t),n.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(t){const e=this.getAncestors(),n=t.getAncestors();let i=0;for(;e[i]==n[i]&&e[i];)i++;return 0===i?null:e[i-1]}is(t){return"position"===t||"view:position"===t}isEqual(t){return this.parent==t.parent&&this.offset==t.offset}isBefore(t){return"before"==this.compareWith(t)}isAfter(t){return"after"==this.compareWith(t)}compareWith(t){if(this.root!==t.root)return"different";if(this.isEqual(t))return"same";const e=this.parent.is("node")?this.parent.getPath():[],n=t.parent.is("node")?t.parent.getPath():[];e.push(this.offset),n.push(t.offset);const i=ci(e,n);switch(i){case"prefix":return"before";case"extension":return"after";default:return e[i]<n[i]?"before":"after"}}getWalker(t={}){return t.startPosition=this,new ar(t)}clone(){return new sr(this.parent,this.offset)}static _createAt(t,e){if(t instanceof sr)return new this(t.parent,t.offset);{const n=t;if("end"==e)e=n.is("$text")?n.data.length:n.childCount;else{if("before"==e)return this._createBefore(n);if("after"==e)return this._createAfter(n);if(0!==e&&!e)throw new c.a("view-createpositionat-offset-required",n)}return new sr(n,e)}}static _createAfter(t){if(t.is("$textProxy"))return new sr(t.textNode,t.offsetInText+t.data.length);if(!t.parent)throw new c.a("view-position-after-root",t,{root:t});return new sr(t.parent,t.index+1)}static _createBefore(t){if(t.is("$textProxy"))return new sr(t.textNode,t.offsetInText);if(!t.parent)throw new c.a("view-position-before-root",t,{root:t});return new sr(t.parent,t.index)}}class cr{constructor(t,e=null){this.start=t.clone(),this.end=e?e.clone():t.clone()}*[Symbol.iterator](){yield*new ar({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let t=this.start.getLastMatchingPosition(lr,{direction:"backward"}),e=this.end.getLastMatchingPosition(lr);return t.parent.is("$text")&&t.isAtStart&&(t=sr._createBefore(t.parent)),e.parent.is("$text")&&e.isAtEnd&&(e=sr._createAfter(e.parent)),new cr(t,e)}getTrimmed(){let t=this.start.getLastMatchingPosition(lr);if(t.isAfter(this.end)||t.isEqual(this.end))return new cr(t,t);let e=this.end.getLastMatchingPosition(lr,{direction:"backward"});const n=t.nodeAfter,i=e.nodeBefore;return n&&n.is("$text")&&(t=new sr(n,0)),i&&i.is("$text")&&(e=new sr(i,i.data.length)),new cr(t,e)}isEqual(t){return this==t||this.start.isEqual(t.start)&&this.end.isEqual(t.end)}containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end)}containsRange(t,e=!1){t.isCollapsed&&(e=!1);const n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i}getDifference(t){const e=[];return this.isIntersecting(t)?(this.containsPosition(t.start)&&e.push(new cr(this.start,t.start)),this.containsPosition(t.end)&&e.push(new cr(t.end,this.end))):e.push(this.clone()),e}getIntersection(t){if(this.isIntersecting(t)){let e=this.start,n=this.end;return this.containsPosition(t.start)&&(e=t.start),this.containsPosition(t.end)&&(n=t.end),new cr(e,n)}return null}getWalker(t={}){return t.boundaries=this,new ar(t)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;let t=this.start.nodeAfter,e=this.end.nodeBefore;return this.start.parent.is("$text")&&this.start.isAtEnd&&this.start.parent.nextSibling&&(t=this.start.parent.nextSibling),this.end.parent.is("$text")&&this.end.isAtStart&&this.end.parent.previousSibling&&(e=this.end.parent.previousSibling),t&&t.is("element")&&t===e?t:null}clone(){return new cr(this.start,this.end)}*getItems(t={}){t.boundaries=this,t.ignoreElementEnd=!0;const e=new ar(t);for(const n of e)yield n.item}*getPositions(t={}){t.boundaries=this;const e=new ar(t);yield e.position;for(const n of e)yield n.nextPosition}is(t){return"range"===t||"view:range"===t}isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}static _createFromParentsAndOffsets(t,e,n,i){return new this(new sr(t,e),new sr(n,i))}static _createFromPositionAndShift(t,e){const n=t,i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n)}static _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}static _createOn(t){const e=t.is("$textProxy")?t.offsetSize:1;return this._createFromPositionAndShift(sr._createBefore(t),e)}}function lr(t){return!(!t.item.is("attributeElement")&&!t.item.is("uiElement"))}function ur(t){let e=0;for(const n of t)e++;return e}class dr{constructor(t=null,e,n){this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",this.setTo(t,e,n)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone()}get focus(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const t of this._ranges)yield t.clone()}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?t.clone():null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?t.clone():null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}isEqual(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const i of t._ranges)if(e.isEqual(i)){n=!0;break}if(!n)return!1}return!0}isSimilar(t){if(this.isBackward!=t.isBackward)return!1;const e=ur(this.getRanges());if(e!=ur(t.getRanges()))return!1;if(0==e)return!0;for(let n of this.getRanges()){n=n.getTrimmed();let e=!1;for(let i of t.getRanges())if(i=i.getTrimmed(),n.start.isEqual(i.start)&&n.end.isEqual(i.end)){e=!0;break}if(!e)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(t,e,n){if(null===t)this._setRanges([]),this._setFakeOptions(e);else if(t instanceof dr||t instanceof hr)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof cr)this._setRanges([t],e&&e.backward),this._setFakeOptions(e);else if(t instanceof sr)this._setRanges([new cr(t)]),this._setFakeOptions(e);else if(t instanceof ui){const i=!!n&&!!n.backward;let r;if(void 0===e)throw new c.a("view-selection-setto-required-second-parameter",this);r="in"==e?cr._createIn(t):"on"==e?cr._createOn(t):new cr(sr._createAt(t,e)),this._setRanges([r],i),this._setFakeOptions(n)}else{if(!Kn(t))throw new c.a("view-selection-setto-not-selectable",this);this._setRanges(t,e&&e.backward),this._setFakeOptions(e)}this.fire("change")}setFocus(t,e){if(null===this.anchor)throw new c.a("view-selection-setfocus-no-ranges",this);const n=sr._createAt(t,e);if("same"==n.compareWith(this.focus))return;const i=this.anchor;this._ranges.pop(),"before"==n.compareWith(i)?this._addRange(new cr(n,i),!0):this._addRange(new cr(i,n)),this.fire("change")}is(t){return"selection"===t||"view:selection"===t}_setRanges(t,e=!1){t=Array.from(t),this._ranges=[];for(const n of t)this._addRange(n);this._lastRangeBackward=!!e}_setFakeOptions(t={}){this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||""}_addRange(t,e=!1){if(!(t instanceof cr))throw new c.a("view-selection-add-range-not-range",this);this._pushRange(t),this._lastRangeBackward=!!e}_pushRange(t){for(const e of this._ranges)if(t.isIntersecting(e))throw new c.a("view-selection-range-intersects",this,{addedRange:t,intersectingRange:e});this._ranges.push(new cr(t.start,t.end))}}Gt(dr,d);class hr{constructor(t=null,e,n){this._selection=new dr,this._selection.delegate("change").to(this),this._selection.setTo(t,e,n)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(t){return this._selection.isEqual(t)}isSimilar(t){return this._selection.isSimilar(t)}is(t){return"selection"===t||"documentSelection"==t||"view:selection"==t||"view:documentSelection"==t}_setTo(t,e,n){this._selection.setTo(t,e,n)}_setFocus(t,e){this._selection.setFocus(t,e)}}Gt(hr,d);class fr extends r{constructor(t,e,n){super(t,e),this.startRange=n,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const pr=Symbol("bubbling contexts");var mr={fire(t,...e){try{const n=t instanceof r?t:new r(this,t),i=yr(this);if(!i.size)return;if(gr(n,"capturing",this),vr(i,"$capture",n,...e))return n.return;const o=n.startRange||this.selection.getFirstRange(),a=o?o.getContainedElement():null,s=!!a&&Boolean(_r(i,a));let c=a||function(t){if(!t)return null;const e=t.start.parent,n=t.end.parent,i=e.getPath(),r=n.getPath();return i.length>r.length?e:n}(o);if(gr(n,"atTarget",c),!s){if(vr(i,"$text",n,...e))return n.return;gr(n,"bubbling",c)}for(;c;){if(c.is("rootElement")){if(vr(i,"$root",n,...e))return n.return}else if(c.is("element")&&vr(i,c.name,n,...e))return n.return;if(vr(i,c,n,...e))return n.return;c=c.parent,gr(n,"bubbling",c)}return gr(n,"bubbling",this),vr(i,"$document",n,...e),n.return}catch(t){c.a.rethrowUnexpectedError(t,this)}},_addEventListener(t,e,n){const i=ei(n.context||"$document"),r=yr(this);for(const o of i){let i=r.get(o);i||(i=Object.create(d),r.set(o,i)),this.listenTo(i,t,e,n)}},_removeEventListener(t,e){const n=yr(this);for(const i of n.values())this.stopListening(i,t,e)}};function gr(t,e,n){t instanceof fr&&(t._eventPhase=e,t._currentTarget=n)}function vr(t,e,n,...i){const r="string"==typeof e?t.get(e):_r(t,e);return!!r&&(r.fire(n,...i),n.stop.called)}function _r(t,e){for(const[n,i]of t)if("function"==typeof n&&n(e))return i;return null}function yr(t){return t[pr]||(t[pr]=new Map),t[pr]}class br{constructor(t){this.selection=new hr,this.roots=new Qn({idProperty:"rootName"}),this.stylesProcessor=t,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isComposing",!1),this._postFixers=new Set}getRoot(t="main"){return this.roots.get(t)}registerPostFixer(t){this._postFixers.add(t)}destroy(){this.roots.map(t=>t.destroy()),this.stopListening()}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(e=n(t),e)break}while(e)}}Gt(br,mr),Gt(br,Vt);class wr extends Qi{constructor(t,e,n,i){super(t,e,n,i),this.getFillerOffset=kr,this._priority=10,this._id=null,this._clonesGroup=null}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new c.a("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}is(t,e=null){return e?e===this.name&&("attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t):"attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}isSimilar(t){return null!==this.id||null!==t.id?this.id===t.id:super.isSimilar(t)&&this.priority==t.priority}_clone(t){const e=super._clone(t);return e._priority=this._priority,e._id=this._id,e}}function kr(){if(xr(this))return null;let t=this.parent;for(;t&&t.is("attributeElement");){if(xr(t)>1)return null;t=t.parent}return!t||xr(t)>1?null:this.childCount}function xr(t){return Array.from(t.getChildren()).filter(t=>!t.is("uiElement")).length}wr.DEFAULT_PRIORITY=10;class Tr extends Qi{constructor(t,e,n,i){super(t,e,n,i),this._isAllowedInsideAttributeElement=!0,this.getFillerOffset=Mr}is(t,e=null){return e?e===this.name&&("emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t):"emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}_insertChild(t,e){if(e&&(e instanceof ui||Array.from(e).length>0))throw new c.a("view-emptyelement-cannot-add",[this,e])}}function Mr(){return null}const Sr=navigator.userAgent.toLowerCase();var Cr={isMac:function(t){return t.indexOf("macintosh")>-1}(Sr),isGecko:function(t){return!!t.match(/gecko\/\d+/)}(Sr),isSafari:function(t){return t.indexOf(" applewebkit/")>-1&&-1===t.indexOf("chrome")}(Sr),isAndroid:function(t){return t.indexOf("android")>-1}(Sr),isBlink:function(t){return t.indexOf("chrome/")>-1&&t.indexOf("edge/")<0}(Sr),features:{isRegExpUnicodePropertySupported:function(){let t=!1;try{t=0==="Ä".search(new RegExp("[\\p{L}]","u"))}catch(t){}return t}()}};const Er={ctrl:"â",cmd:"â",alt:"â¥",shift:"â§"},Lr={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},Ar=function(){const t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){const n=String.fromCharCode(e);t[n.toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;return t}(),Or=Object.fromEntries(Object.entries(Ar).map(([t,e])=>[e,t.charAt(0).toUpperCase()+t.slice(1)]));function Pr(t){let e;if("string"==typeof t){if(e=Ar[t.toLowerCase()],!e)throw new c.a("keyboard-unknown-key",null,{key:t})}else e=t.keyCode+(t.altKey?Ar.alt:0)+(t.ctrlKey?Ar.ctrl:0)+(t.shiftKey?Ar.shift:0)+(t.metaKey?Ar.cmd:0);return e}function Dr(t){return"string"==typeof t&&(t=function(t){return t.split("+").map(t=>t.trim())}(t)),t.map(t=>"string"==typeof t?function(t){if(t.endsWith("!"))return Pr(t.slice(0,-1));const e=Pr(t);return Cr.isMac&&e==Ar.ctrl?Ar.cmd:e}(t):t).reduce((t,e)=>e+t,0)}function jr(t){let e=Dr(t);return Object.entries(Cr.isMac?Er:Lr).reduce((t,[n,i])=>(0!=(e&Ar[n])&&(e&=~Ar[n],t+=i),t),"")+(e?Or[e]:"")}function Ir(t,e){const n="ltr"===e;switch(t){case Ar.arrowleft:return n?"left":"right";case Ar.arrowright:return n?"right":"left";case Ar.arrowup:return"up";case Ar.arrowdown:return"down"}}function Rr(t,e){const n=Ir(t,e);return"down"===n||"right"===n}class Nr extends Qi{constructor(t,e,n,i){super(t,e,n,i),this._isAllowedInsideAttributeElement=!0,this.getFillerOffset=zr}is(t,e=null){return e?e===this.name&&("uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t):"uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t}_insertChild(t,e){if(e&&(e instanceof ui||Array.from(e).length>0))throw new c.a("view-uielement-cannot-add",this)}render(t){return this.toDomElement(t)}toDomElement(t){const e=t.createElement(this.name);for(const n of this.getAttributeKeys())e.setAttribute(n,this.getAttribute(n));return e}}function Yr(t){t.document.on("arrowKey",(e,n)=>function(t,e,n){if(e.keyCode==Ar.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection(),i=1==t.rangeCount&&t.getRangeAt(0).collapsed;if(i||e.shiftKey){const e=t.focusNode,r=t.focusOffset,o=n.domPositionToView(e,r);if(null===o)return;let a=!1;const s=o.getLastMatchingPosition(t=>(t.item.is("uiElement")&&(a=!0),!(!t.item.is("uiElement")&&!t.item.is("attributeElement"))));if(a){const e=n.viewPositionToDom(s);i?t.collapse(e.parent,e.offset):t.extend(e.parent,e.offset)}}}}(0,n,t.domConverter),{priority:"low"})}function zr(){return null}class Br extends Qi{constructor(t,e,n,i){super(t,e,n,i),this._isAllowedInsideAttributeElement=!0,this.getFillerOffset=Fr}is(t,e=null){return e?e===this.name&&("rawElement"===t||"view:rawElement"===t||"element"===t||"view:element"===t):"rawElement"===t||"view:rawElement"===t||t===this.name||t==="view:"+this.name||"element"===t||"view:element"===t||"node"===t||"view:node"===t}_insertChild(t,e){if(e&&(e instanceof ui||Array.from(e).length>0))throw new c.a("view-rawelement-cannot-add",[this,e])}}function Fr(){return null}class Hr{constructor(t,e){this.document=t,this._children=[],e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}is(t){return"documentFragment"===t||"view:documentFragment"===t}_appendChild(t){return this._insertChild(this.childCount,t)}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(t,e){this._fireChange("children",this);let n=0;const i=function(t,e){return"string"==typeof e?[new di(t,e)]:(Kn(e)||(e=[e]),Array.from(e).map(e=>"string"==typeof e?new di(t,e):e instanceof hi?new di(t,e.data):e))}(this.document,e);for(const r of i)null!==r.parent&&r._remove(),r.parent=this,this._children.splice(t,0,r),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n<t+e;n++)this._children[n].parent=null;return this._children.splice(t,e)}_fireChange(t,e){this.fire("change:"+t,e)}}Gt(Hr,d);class Vr{constructor(t){this.document=t,this._cloneGroups=new Map}setSelection(t,e,n){this.document.selection._setTo(t,e,n)}setSelectionFocus(t,e){this.document.selection._setFocus(t,e)}createDocumentFragment(t){return new Hr(this.document,t)}createText(t){return new di(this.document,t)}createAttributeElement(t,e,n={}){const i=new wr(this.document,t,e);return n.priority&&(i._priority=n.priority),n.id&&(i._id=n.id),i}createContainerElement(t,e,n={}){const i=new er(this.document,t,e);return void 0!==n.isAllowedInsideAttributeElement&&(i._isAllowedInsideAttributeElement=n.isAllowedInsideAttributeElement),i}createEditableElement(t,e){const n=new ir(this.document,t,e);return n._document=this.document,n}createEmptyElement(t,e,n={}){const i=new Tr(this.document,t,e);return void 0!==n.isAllowedInsideAttributeElement&&(i._isAllowedInsideAttributeElement=n.isAllowedInsideAttributeElement),i}createUIElement(t,e,n,i={}){const r=new Nr(this.document,t,e);return n&&(r.render=n),void 0!==i.isAllowedInsideAttributeElement&&(r._isAllowedInsideAttributeElement=i.isAllowedInsideAttributeElement),r}createRawElement(t,e,n,i={}){const r=new Br(this.document,t,e);return r.render=n||(()=>{}),void 0!==i.isAllowedInsideAttributeElement&&(r._isAllowedInsideAttributeElement=i.isAllowedInsideAttributeElement),r}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){ce(t)&&void 0===n&&(n=e),n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}breakAttributes(t){return t instanceof sr?this._breakAttributes(t):this._breakAttributesRange(t)}
vendor: 4,356 bytes, line 457
457breakContainer(t){const e=t.parent;if(!e.is("containerElement"))throw new c.a("view-writer-break-non-container-element",this.document);if(!e.parent)throw new c.a("view-writer-break-root",this.document);if(t.isAtStart)return sr._createBefore(e);if(!t.isAtEnd){const n=e._clone(!1);this.insert(sr._createAfter(e),n);const i=new cr(t,sr._createAt(e,"end")),r=new sr(n,0);this.move(i,r)}return sr._createAfter(e)}mergeAttributes(t){const e=t.offset,n=t.parent;if(n.is("$text"))return t;if(n.is("attributeElement")&&0===n.childCount){const t=n.parent,e=n.index;return n._remove(),this._removeFromClonedElementsGroup(n),this.mergeAttributes(new sr(t,e))}const i=n.getChild(e-1),r=n.getChild(e);if(!i||!r)return t;if(i.is("$text")&&r.is("$text"))return qr(i,r);if(i.is("attributeElement")&&r.is("attributeElement")&&i.isSimilar(r)){const t=i.childCount;return i._appendChild(r.getChildren()),r._remove(),this._removeFromClonedElementsGroup(r),this.mergeAttributes(new sr(i,t))}return t}mergeContainers(t){const e=t.nodeBefore,n=t.nodeAfter;if(!(e&&n&&e.is("containerElement")&&n.is("containerElement")))throw new c.a("view-writer-merge-containers-invalid-position",this.document);const i=e.getChild(e.childCount-1),r=i instanceof di?sr._createAt(i,"end"):sr._createAt(e,"end");return this.move(cr._createIn(n),sr._createAt(e,"end")),this.remove(cr._createOn(n)),r}insert(t,e){(function t(e,n){for(const i of e){if(!Gr.some(t=>i instanceof t))throw new c.a("view-writer-insert-invalid-node-type",n);i.is("$text")||t(i.getChildren(),n)}})(e=Kn(e)?[...e]:[e],this.document);const n=e.reduce((t,e)=>{const n=t[t.length-1],i=!(e.is("uiElement")&&e.isAllowedInsideAttributeElement);return n&&n.breakAttributes==i?n.nodes.push(e):t.push({breakAttributes:i,nodes:[e]}),t},[]);let i=null,r=t;for(const{nodes:o,breakAttributes:a}of n){const t=this._insertNodes(r,o,a);i||(i=t.start),r=t.end}return i?new cr(i,r):new cr(t)}remove(t){const e=t instanceof cr?t:cr._createOn(t);if(Jr(e,this.document),e.isCollapsed)return new Hr(this.document);const{start:n,end:i}=this._breakAttributesRange(e,!0),r=n.parent,o=i.offset-n.offset,a=r._removeChildren(n.offset,o);for(const c of a)this._removeFromClonedElementsGroup(c);const s=this.mergeAttributes(n);return e.start=s,e.end=s.clone(),new Hr(this.document,a)}clear(t,e){Jr(t,this.document);const n=t.getWalker({direction:"backward",ignoreElementEnd:!0});for(const i of n){const n=i.item;let r;if(n.is("element")&&e.isSimilar(n))r=cr._createOn(n);else if(!i.nextPosition.isAfter(t.start)&&n.is("$textProxy")){const t=n.getAncestors().find(t=>t.is("element")&&e.isSimilar(t));t&&(r=cr._createIn(t))}r&&(r.end.isAfter(t.end)&&(r.end=t.end),r.start.isBefore(t.start)&&(r.start=t.start),this.remove(r))}}move(t,e){let n;if(e.isAfter(t.end)){const i=(e=this._breakAttributes(e,!0)).parent,r=i.childCount;t=this._breakAttributesRange(t,!0),n=this.remove(t),e.offset+=i.childCount-r}else n=this.remove(t);return this.insert(e,n)}wrap(t,e){if(!(e instanceof wr))throw new c.a("view-writer-wrap-invalid-attribute",this.document);if(Jr(t,this.document),t.isCollapsed){let i=t.start;i.parent.is("element")&&(n=i.parent,!Array.from(n.getChildren()).some(t=>!t.is("uiElement")))&&(i=i.getLastMatchingPosition(t=>t.item.is("uiElement"))),i=this._wrapPosition(i,e);const r=this.document.selection;return r.isCollapsed&&r.getFirstPosition().isEqual(t.start)&&this.setSelection(i),new cr(i)}return this._wrapRange(t,e);var n}unwrap(t,e){if(!(e instanceof wr))throw new c.a("view-writer-unwrap-invalid-attribute",this.document);if(Jr(t,this.document),t.isCollapsed)return t;const{start:n,end:i}=this._breakAttributesRange(t,!0),r=n.parent,o=this._unwrapChildren(r,n.offset,i.offset,e),a=this.mergeAttributes(o.start);a.isEqual(o.start)||o.end.offset--;const s=this.mergeAttributes(o.end);return new cr(a,s)}rename(t,e){const n=new er(this.document,t,e.getAttributes());return this.insert(sr._createAfter(e),n),this.move(cr._createIn(e),sr._createAt(n,0)),this.remove(cr._createOn(e)),n}clearClonedElementsGroup(t){this._cloneGroups.delete(t)}createPositionAt(t,e){return sr._createAt(t,e)}createPositionAfter(t){return sr._createAfter(t)}createPositionBefore(t){return sr._createBefore(t)}createRange(t,e){return new cr(t,e)}createRangeOn(t){return cr._createOn(t)}createRangeIn(t){return cr._createIn(t)}createSelection(t,e,n){return new dr(t,e,n)}
vendor: 7,292 bytes, line 457
457_insertNodes(t,e,n){let i,r;if(i=n?Ur(t):t.parent.is("$text")?t.parent.parent:t.parent,!i)throw new c.a("view-writer-invalid-position-container",this.document);r=n?this._breakAttributes(t,!0):t.parent.is("$text")?Xr(t):t;const o=i._insertChild(r.offset,e);for(const c of e)this._addToClonedElementsGroup(c);const a=r.getShiftedBy(o),s=this.mergeAttributes(r);s.isEqual(r)||a.offset--;const l=this.mergeAttributes(a);return new cr(s,l)}_wrapChildren(t,e,n,i){let r=e;const o=[];for(;r<n;){const e=t.getChild(r),n=e.is("$text"),a=e.is("attributeElement"),s=e.isAllowedInsideAttributeElement;if(a&&this._wrapAttributeElement(i,e))o.push(new sr(t,r));else if(n||s||a&&Wr(i,e)){const n=i._clone();e._remove(),n._appendChild(e),t._insertChild(r,n),this._addToClonedElementsGroup(n),o.push(new sr(t,r))}else a&&this._wrapChildren(e,0,e.childCount,i);r++}let a=0;for(const s of o)s.offset-=a,s.offset!=e&&(this.mergeAttributes(s).isEqual(s)||(a++,n--));return cr._createFromParentsAndOffsets(t,e,t,n)}_unwrapChildren(t,e,n,i){let r=e;const o=[];for(;r<n;){const e=t.getChild(r);if(e.is("attributeElement"))if(e.isSimilar(i)){const i=e.getChildren(),a=e.childCount;e._remove(),t._insertChild(r,i),this._removeFromClonedElementsGroup(e),o.push(new sr(t,r),new sr(t,r+a)),r+=a,n+=a-1}else this._unwrapAttributeElement(i,e)?(o.push(new sr(t,r),new sr(t,r+1)),r++):(this._unwrapChildren(e,0,e.childCount,i),r++);else r++}let a=0;for(const s of o)s.offset-=a,s.offset!=e&&s.offset!=n&&(this.mergeAttributes(s).isEqual(s)||(a++,n--));return cr._createFromParentsAndOffsets(t,e,t,n)}_wrapRange(t,e){const{start:n,end:i}=this._breakAttributesRange(t,!0),r=n.parent,o=this._wrapChildren(r,n.offset,i.offset,e),a=this.mergeAttributes(o.start);a.isEqual(o.start)||o.end.offset--;const s=this.mergeAttributes(o.end);return new cr(a,s)}_wrapPosition(t,e){if(e.isSimilar(t.parent))return $r(t.clone());t.parent.is("$text")&&(t=Xr(t));const n=this.createAttributeElement();n._priority=Number.POSITIVE_INFINITY,n.isSimilar=()=>!1,t.parent._insertChild(t.offset,n);const i=new cr(t,t.getShiftedBy(1));this.wrap(i,e);const r=new sr(n.parent,n.index);n._remove();const o=r.nodeBefore,a=r.nodeAfter;return o instanceof di&&a instanceof di?qr(o,a):$r(r)}_wrapAttributeElement(t,e){if(!Kr(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&e.hasAttribute(n)&&e.getAttribute(n)!==t.getAttribute(n))return!1;for(const n of t.getStyleNames())if(e.hasStyle(n)&&e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&(e.hasAttribute(n)||this.setAttribute(n,t.getAttribute(n),e));for(const n of t.getStyleNames())e.hasStyle(n)||this.setStyle(n,t.getStyle(n),e);for(const n of t.getClassNames())e.hasClass(n)||this.addClass(n,e);return!0}_unwrapAttributeElement(t,e){if(!Kr(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&(!e.hasAttribute(n)||e.getAttribute(n)!==t.getAttribute(n)))return!1;if(!e.hasClass(...t.getClassNames()))return!1;for(const n of t.getStyleNames())if(!e.hasStyle(n)||e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&this.removeAttribute(n,e);return this.removeClass(Array.from(t.getClassNames()),e),this.removeStyle(Array.from(t.getStyleNames()),e),!0}_breakAttributesRange(t,e=!1){const n=t.start,i=t.end;if(Jr(t,this.document),t.isCollapsed){const n=this._breakAttributes(t.start,e);return new cr(n,n)}const r=this._breakAttributes(i,e),o=r.parent.childCount,a=this._breakAttributes(n,e);return r.offset+=r.parent.childCount-o,new cr(a,r)}_breakAttributes(t,e=!1){const n=t.offset,i=t.parent;if(t.parent.is("emptyElement"))throw new c.a("view-writer-cannot-break-empty-element",this.document);if(t.parent.is("uiElement"))throw new c.a("view-writer-cannot-break-ui-element",this.document);if(t.parent.is("rawElement"))throw new c.a("view-writer-cannot-break-raw-element",this.document);if(!e&&i.is("$text")&&Zr(i.parent))return t.clone();if(Zr(i))return t.clone();if(i.is("$text"))return this._breakAttributes(Xr(t),e);if(n==i.childCount){const t=new sr(i.parent,i.index+1);return this._breakAttributes(t,e)}if(0===n){const t=new sr(i.parent,i.index);return this._breakAttributes(t,e)}{const t=i.index+1,r=i._clone();i.parent._insertChild(t,r),this._addToClonedElementsGroup(r);const o=i.childCount-n,a=i._removeChildren(n,o);r._appendChild(a);const s=new sr(i.parent,t);return this._breakAttributes(s,e)}}_addToClonedElementsGroup(t){if(!t.root.is("rootElement"))return;if(t.is("element"))for(const i of t.getChildren())this._addToClonedElementsGroup(i);const e=t.id;if(!e)return;let n=this._cloneGroups.get(e);n||(n=new Set,this._cloneGroups.set(e,n)),n.add(t),t._clonesGroup=n}_removeFromClonedElementsGroup(t){if(t.is("element"))for(const i of t.getChildren())this._removeFromClonedElementsGroup(i);const e=t.id;if(!e)return;const n=this._cloneGroups.get(e);n&&n.delete(t)}}function Ur(t){let e=t.parent;for(;!Zr(e);){if(!e)return;e=e.parent}return e}function Wr(t,e){return t.priority<e.priority||!(t.priority>e.priority)&&t.getIdentity()<e.getIdentity()}function $r(t){const e=t.nodeBefore;if(e&&e.is("$text"))return new sr(e,e.data.length);const n=t.nodeAfter;return n&&n.is("$text")?new sr(n,0):t}function Xr(t){if(t.offset==t.parent.data.length)return new sr(t.parent.parent,t.parent.index+1);if(0===t.offset)return new sr(t.parent.parent,t.parent.index);const e=t.parent.data.slice(t.offset);return t.parent._data=t.parent.data.slice(0,t.offset),t.parent.parent._insertChild(t.parent.index+1,new di(t.root.document,e)),new sr(t.parent.parent,t.parent.index+1)}function qr(t,e){const n=t.data.length;return t._data+=e.data,e._remove(),new sr(t,n)}const Gr=[di,wr,er,Tr,Br,Nr];function Zr(t){return t&&(t.is("containerElement")||t.is("documentFragment"))}function Jr(t,e){const n=Ur(t.start),i=Ur(t.end);if(!n||!i||n!==i)throw new c.a("view-writer-invalid-range-container",e)}function Kr(t,e){return null===t.id&&null===e.id}function Qr(t){return"[object Text]"==Object.prototype.toString.call(t)}const to=t=>t.createTextNode("Â "),eo=t=>{const e=t.createElement("span");return e.dataset.ckeFiller=!0,e.innerHTML="Â ",e},no=t=>{const e=t.createElement("br");return e.dataset.ckeFiller=!0,e},io="â ".repeat(7);function ro(t){return Qr(t)&&t.data.substr(0,7)===io}function oo(t){return 7==t.data.length&&ro(t)}function ao(t){return ro(t)?t.data.slice(7):t.data}function so(t,e){if(e.keyCode==Ar.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(1==t.rangeCount&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer,n=t.getRangeAt(0).startOffset;ro(e)&&n<=7&&t.collapse(e,0)}}}function co(t,e,n,i=!1){n=n||function(t,e){return t===e},Array.isArray(t)||(t=Array.prototype.slice.call(t)),Array.isArray(e)||(e=Array.prototype.slice.call(e));const r=function(t,e,n){const i=lo(t,e,n);if(-1===i)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const r=uo(t,i),o=uo(e,i),a=lo(r,o,n),s=t.length-a,c=e.length-a;return{firstIndex:i,lastIndexOld:s,lastIndexNew:c}}(t,e,n);return i?function(t,e){const{firstIndex:n,lastIndexOld:i,lastIndexNew:r}=t;if(-1===n)return Array(e).fill("equal");let o=[];return n>
vendor: 4,611 bytes, line 457
4570&&(o=o.concat(Array(n).fill("equal"))),r-n>0&&(o=o.concat(Array(r-n).fill("insert"))),i-n>0&&(o=o.concat(Array(i-n).fill("delete"))),r<e&&(o=o.concat(Array(e-r).fill("equal"))),o}(r,e.length):function(t,e){const n=[],{firstIndex:i,lastIndexOld:r,lastIndexNew:o}=e;return o-i>0&&n.push({index:i,type:"insert",values:t.slice(i,o)}),r-i>0&&n.push({index:i+(o-i),type:"delete",howMany:r-i}),n}(e,r)}function lo(t,e,n){for(let i=0;i<Math.max(t.length,e.length);i++)if(void 0===t[i]||void 0===e[i]||!n(t[i],e[i]))return i;return-1}function uo(t,e){return t.slice(e).reverse()}function ho(t,e,n){n=n||function(t,e){return t===e};const i=t.length,r=e.length;if(i>200||r>200||i+r>300)return ho.fastDiff(t,e,n,!0);let o,a;if(r<i){const n=t;t=e,e=n,o="delete",a="insert"}else o="insert",a="delete";const s=t.length,c=e.length,l=c-s,u={},d={};function h(i){const r=(void 0!==d[i-1]?d[i-1]:-1)+1,l=void 0!==d[i+1]?d[i+1]:-1,h=r>l?-1:1;u[i+h]&&(u[i]=u[i+h].slice(0)),u[i]||(u[i]=[]),u[i].push(r>l?o:a);let f=Math.max(r,l),p=f-i;for(;p<s&&f<c&&n(t[p],e[f]);)p++,f++,u[i].push("equal");return f}let f,p=0;do{for(f=-p;f<l;f++)d[f]=h(f);for(f=l+p;f>l;f--)d[f]=h(f);d[l]=h(l),p++}while(d[l]!==c);return u[l].slice(1)}function fo(t,e,n){t.insertBefore(n,t.childNodes[e]||null)}function po(t){const e=t.parentNode;e&&e.removeChild(t)}function mo(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}ho.fastDiff=co;class go{constructor(t,e){this.domDocuments=new Set,this.domConverter=t,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this.selection=e,this.isFocused=!1,this._inlineFiller=null,this._fakeSelectionContainer=null}markToSync(t,e){if("text"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if("attributes"===t)this.markedAttributes.add(e);else{if("children"!==t)throw new c.a("view-renderer-unknown-type",this);this.markedChildren.add(e)}}}render(){let t;for(const e of this.markedChildren)this._updateChildrenMappings(e);this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent));for(const e of this.markedAttributes)this._updateAttrs(e);for(const e of this.markedChildren)this._updateChildren(e,{inlineFillerPosition:t});for(const e of this.markedTexts)!this.markedChildren.has(e.parent)&&this.domConverter.mapViewToDom(e.parent)&&this._updateText(e,{inlineFillerPosition:t});if(t){const e=this.domConverter.viewPositionToDom(t),n=e.parent.ownerDocument;ro(e.parent)?this._inlineFiller=e.parent:this._inlineFiller=vo(n,e.parent,e.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=this.domConverter.mapViewToDom(t).childNodes,i=Array.from(this.domConverter.viewChildrenToDom(t,e.ownerDocument,{withChildren:!1})),r=this._diffNodeLists(n,i),o=this._findReplaceActions(r,n,i);if(-1!==o.indexOf("replace")){const e={equal:0,insert:0,delete:0};for(const r of o)if("replace"===r){const r=e.equal+e.insert,o=e.equal+e.delete,a=t.getChild(r);!a||a.is("uiElement")||a.is("rawElement")||this._updateElementMappings(a,n[o]),po(i[r]),e.equal++}else e[r]++}}_updateElementMappings(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t)}_getInlineFillerPosition(){const t=this.selection.getFirstPosition();return t.parent.is("$text")?sr._createBefore(this.selection.getFirstPosition().parent):t}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&Qr(e.parent)&&ro(e.parent))}_removeInlineFiller(){const t=this._inlineFiller;if(!ro(t))throw new c.a("view-renderer-filler-was-lost",this);oo(t)?t.parentNode.removeChild(t):t.data=t.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=t.parent,n=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is("element"))return!1;if(!function(t){if("false"==t.getAttribute("contenteditable"))return!1;
457const e=t.findAncestor(t=>t.hasAttribute("contenteditable"));return!e||"true"==e.getAttribute("contenteditable")}(e))return!1;if(n===e.getFillerOffset())return!1;const i=t.nodeBefore,r=t.nodeAfter;return!(i instanceof di||r instanceof di)}_updateText(t,e){const n=this.domConverter.findCorrespondingDomText(t),i=this.domConverter.viewToDom(t,n.ownerDocument),r=n.data;let o=i.data;const a=e.inlineFillerPosition;if(a&&a.parent==t.parent&&a.offset==t.index&&(o=io+o),r!=o){const t=co(r,o);for(const e of t)"insert"===e.type?n.insertData(e.index,e.values.join("")):n.deleteData(e.index,e.howMany)}}_updateAttrs(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.attributes).map(t=>t.name),i=t.getAttributeKeys();for(const r of i)e.setAttribute(r,t.getAttribute(r));for(const r of n)t.hasAttribute(r)||e.removeAttribute(r)}_updateChildren(t,e){const n=this.domConverter.mapViewToDom(t);if(!n)return;const i=e.inlineFillerPosition,r=this.domConverter.mapViewToDom(t).childNodes,o=Array.from(this.domConverter.viewChildrenToDom(t,n.ownerDocument,{bind:!0,inlineFillerPosition:i}));i&&i.parent===t&&vo(n.ownerDocument,o,i.offset);const a=this._diffNodeLists(r,o);let s=0;const c=new Set;for(const l of a)"delete"===l?(c.add(r[s]),po(r[s])):"equal"===l&&s++;s=0;for(const l of a)"insert"===l?(fo(n,s,o[s]),s++):"equal"===l&&(this._markDescendantTextToSync(this.domConverter.domToView(o[s])),s++);for(const l of c)l.parentNode||this.domConverter.unbindDomElement(l)}_diffNodeLists(t,e){return ho(t=function(t,e){const n=Array.from(t);return 0!=n.length&&e?(n[n.length-1]==e&&n.pop(),n):n}(t,this._fakeSelectionContainer),e,yo.bind(null,this.domConverter))}_findReplaceActions(t,e,n){if(-1===t.indexOf("insert")||-1===t.indexOf("delete"))return t;let i=[],r=[],o=[];const a={equal:0,insert:0,delete:0};for(const s of t)"insert"===s?o.push(n[a.equal+a.insert]):"delete"===s?r.push(e[a.equal+a.delete]):(i=i.concat(ho(r,o,_o).map(t=>"equal"===t?"replace":t)),i.push("equal"),r=[],o=[]),a[s]++;return i.concat(ho(r,o,_o).map(t=>"equal"===t?"replace":t))}_markDescendantTextToSync(t){if(t)if(t.is("$text"))this.markedTexts.add(t);else if(t.is("element"))for(const e of t.getChildren())this._markDescendantTextToSync(e)}_updateSelection(){if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):(this._removeFakeSelection(),this._updateDomSelection(t)))}_updateFakeSelection(t){const e=t.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(t){const e=t.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent="Â ",e}(e));const n=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(n,this.selection),!this._fakeSelectionNeedsUpdate(t))return;n.parentElement&&n.parentElement==t||t.appendChild(n),n.textContent=this.selection.fakeSelectionLabel||"Â ";const i=e.getSelection(),r=e.createRange();i.removeAllRanges(),r.selectNodeContents(n),i.addRange(r)}_updateDomSelection(t){const e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e))return;const n=this.domConverter.viewPositionToDom(this.selection.anchor),i=this.domConverter.viewPositionToDom(this.selection.focus);e.collapse(n.parent,n.offset),e.extend(i.parent,i.offset),Cr.isGecko&&function(t,e){const n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1)return;const i=n.childNodes[t.offset];i&&"BR"==i.tagName&&e.addRange(e.getRangeAt(0))}(i,e)}_domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;const e=t&&this.domConverter.domSelectionToView(t);return(!e||!this.selection.isEqual(e))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(e))}_fakeSelectionNeedsUpdate(t){const e=this._fakeSelectionContainer,n=t.ownerDocument.getSelection();return!e||e.parentElement!==t||n.anchorNode!==e&&!e.contains(n.anchorNode)||e.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const t of this.domDocuments)if(t.getSelection().rangeCount){const e=t.activeElement,n=this.domConverter.mapDomToView(e);e&&n&&t.getSelection().removeAllRanges()}}_removeFakeSelection(){const t=this._fakeSelectionContainer;t&&t.remove()}_updateFocus(){if(this.isFocused){const t=this.selection.editableElement;t&&this.domConverter.focus(t)}}}function vo(t,e,n){const i=e instanceof Array?e:e.childNodes,r=i[n];if(Qr(r))return r.data=io+r.data,r;{const r=t.createTextNode(io);return Array.isArray(e)?i.splice(n,0,r):fo(e,n,r),r}}function _o(t,e){return mo(t)&&mo(e)&&!Qr(t)&&!Qr(e)&&t.nodeType!==Node.COMMENT_NODE&&e.nodeType!==Node.COMMENT_NODE&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function yo(t,e,n){return e===n||(Qr(e)&&Qr(n)?e.data===n.data:!(!t.isBlockFiller(e)||!t.isBlockFiller(n)))}Gt(go,Vt);var bo={window:window,document:document};function wo(t){let e=0;for(;t.previousSibling;)t=t.previousSibling,e++;return e}function ko(t){const e=[];for(;t&&t.nodeType!=Node.DOCUMENT_NODE;)e.unshift(t),t=t.parentNode;return e}const xo=no(document),To=to(document),Mo=eo(document);class So{constructor(t,e={}){this.document=t,this.blockFillerMode=e.blockFillerMode||"br",this.preElements=["pre"],this.blockElements=["p","div","h1","h2","h3","h4","h5","h6","li","dd","dt","figcaption","td","th"],this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new pi,this._encounteredRawContentDomNodes=new WeakSet}bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new dr(e))}fakeSelectionToView(t){return this._fakeSelectionMapping.get(t)}bindElements(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}unbindDomElement(t){const e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t),this._viewToDomMapping.delete(e);for(const e of t.childNodes)this.unbindDomElement(e)}}bindDocumentFragments(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}viewToDom(t,e,n={}){if(t.is("$text")){const n=this._processDataFromViewText(t);return e.createTextNode(n)}{if(this.mapViewToDom(t))return this.mapViewToDom(t);let i;if(t.is("documentFragment"))i=e.createDocumentFragment(),n.bind&&this.bindDocumentFragments(i,t);else{if(t.is("uiElement"))return i=t.render(e),n.bind&&this.bindElements(i,t),i;i=t.hasAttribute("xmlns")?e.createElementNS(t.getAttribute("xmlns"),t.name):e.createElement(t.name),t.is("rawElement")&&t.render(i),n.bind&&this.bindElements(i,t);for(const e of t.getAttributeKeys())i.setAttribute(e,t.getAttribute(e))}if(!1!==n.withChildren)for(const r of this.viewChildrenToDom(t,e,n))i.appendChild(r);return i}}*viewChildrenToDom(t,e,n={}){const i=t.getFillerOffset&&t.getFillerOffset();let r=0;for(const o of t.getChildren())i===r&&(yield this._getBlockFiller(e)),yield this.viewToDom(o,e,n),r++;i===r&&(yield this._getBlockFiller(e))}viewRangeToDom(t){const e=this.viewPositionToDom(t.start),n=this.viewPositionToDom(t.end),i=document.createRange();return i.setStart(e.parent,e.offset),i.setEnd(n.parent,n.offset),i}viewPositionToDom(t){const e=t.parent;if(e.is("$text")){const n=this.findCorrespondingDomText(e);if(!n)return null;let i=t.offset;return ro(n)&&(i+=7),{parent:n,offset:i}}{let n,i,r;if(0===t.offset){if(n=this.mapViewToDom(e),!n)return null;r=n.childNodes[0]}else{const e=t.nodeBefore;if(i=e.is("$text")?this.findCorrespondingDomText(e):this.mapViewToDom(t.nodeBefore),!i)return null;n=i.parentNode,r=i.nextSibling}return Qr(r)&&ro(r)?{parent:r,offset:7}:{parent:n,offset:i?wo(i)+1:0}}}domToView(t,e={}){if(this.isBlockFiller(t))return null;const n=this.getHostViewElement(t);if(n)return n;if(Qr(t)){if(oo(t))return null;{const e=this._processDataFromDomText(t);return""===e?null:new di(this.document,e)}}if(this.isComment(t))return null;{if(this.mapDomToView(t))return this.mapDomToView(t);let n;if(this.isDocumentFragment(t))n=new Hr(this.document),e.bind&&this.bindDocumentFragments(t,n);else{const i=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();n=new Qi(this.document,i),e.bind&&this.bindElements(t,n);const r=t.attributes;for(let t=r.length-1;t>=0;t--)n._setAttribute(r[t].name,r[t].value);if(!1!==e.withChildren&&this._rawContentElementMatcher.match(n))return n._setCustomProperty("$rawContent",t.innerHTML),this._encounteredRawContentDomNodes.add(t),n}if(!1!==e.withChildren)for(const i of this.domChildrenToView(t,e))n._appendChild(i);return n}}*domChildrenToView(t,e={}){for(let n=0;n<t.childNodes.length;n++){const i=t.childNodes[n],r=this.domToView(i,e);null!==r&&(yield r)}}domSelectionToView(t){if(1===t.rangeCount){let e=t.getRangeAt(0).startContainer;Qr(e)&&(e=e.parentNode);const n=this.fakeSelectionToView(e);if(n)return n}const e=this.isDomSelectionBackward(t),n=[];for(let i=0;i<t.rangeCount;i++){const e=t.getRangeAt(i),r=this.domRangeToView(e);r&&n.push(r)}return new dr(n,{backward:e})}domRangeToView(t){const e=this.domPositionToView(t.startContainer,t.startOffset),n=this.domPositionToView(t.endContainer,t.endOffset);return e&&n?new cr(e,n):null}domPositionToView(t,e){if(this.isBlockFiller(t))return this.domPositionToView(t.parentNode,wo(t));const n=this.mapDomToView(t);if(n&&(n.is("uiElement")||n.is("rawElement")))return sr._createBefore(n);if(Qr(t)){if(oo(t))return this.domPositionToView(t.parentNode,wo(t));const n=this.findCorrespondingViewText(t);let i=e;return n?(ro(t)&&(i-=7,i=i<0?0:i),new sr(n,i)):null}if(0===e){const e=this.mapDomToView(t);if(e)return new sr(e,0)}else{const n=t.childNodes[e-1],i=Qr(n)?this.findCorrespondingViewText(n):this.mapDomToView(n);if(i&&i.parent)return new sr(i.parent,i.index+1)}return null}mapDomToView(t){return this.getHostViewElement(t)||this._domToViewMapping.get(t)}findCorrespondingViewText(t){if(oo(t))return null;const e=this.getHostViewElement(t);if(e)return e;const n=t.previousSibling;if(n){if(!this.isElement(n))return null;const t=this.mapDomToView(n);if(t)return t.nextSibling instanceof di?t.nextSibling:null}else{const e=this.mapDomToView(t.parentNode);
457if(e){const t=e.getChild(0);return t instanceof di?t:null}}return null}mapViewToDom(t){return this._viewToDomMapping.get(t)}findCorrespondingDomText(t){const e=t.previousSibling;return e&&this.mapViewToDom(e)?this.mapViewToDom(e).nextSibling:!e&&t.parent&&this.mapViewToDom(t.parent)?this.mapViewToDom(t.parent).childNodes[0]:null}focus(t){const e=this.mapViewToDom(t);if(e&&e.ownerDocument.activeElement!==e){const{scrollX:t,scrollY:n}=bo.window,i=[];Eo(e,t=>{const{scrollLeft:e,scrollTop:n}=t;i.push([e,n])}),e.focus(),Eo(e,t=>{const[e,n]=i.shift();t.scrollLeft=e,t.scrollTop=n}),bo.window.scrollTo(t,n)}}isElement(t){return t&&t.nodeType==Node.ELEMENT_NODE}isDocumentFragment(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isComment(t){return t&&t.nodeType==Node.COMMENT_NODE}isBlockFiller(t){return"br"==this.blockFillerMode?t.isEqualNode(xo):!("BR"!==t.tagName||!Lo(t,this.blockElements)||1!==t.parentNode.childNodes.length)||t.isEqualNode(Mo)||function(t,e){return t.isEqualNode(To)&&Lo(t,e)&&1===t.parentNode.childNodes.length}(t,this.blockElements)}isDomSelectionBackward(t){if(t.isCollapsed)return!1;const e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);const n=e.collapsed;return e.detach(),n}getHostViewElement(t){const e=ko(t);for(e.pop();e.length;){const t=e.pop(),n=this._domToViewMapping.get(t);if(n&&(n.is("uiElement")||n.is("rawElement")))return n}return null}isDomSelectionCorrect(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}registerRawContentMatcher(t){this._rawContentElementMatcher.add(t)}_getBlockFiller(t){switch(this.blockFillerMode){case"nbsp":return to(t);case"markedNbsp":return eo(t);case"br":return no(t)}}_isDomSelectionPositionCorrect(t,e){if(Qr(t)&&ro(t)&&e<7)return!1;if(this.isElement(t)&&ro(t.childNodes[e]))return!1;const n=this.mapDomToView(t);return!n||!n.is("uiElement")&&!n.is("rawElement")}_processDataFromViewText(t){let e=t.data;if(t.getAncestors().some(t=>this.preElements.includes(t.name)))return e;if(" "==e.charAt(0)){const n=this._getTouchingViewTextNode(t,!1);(!n||!this._nodeEndsWithSpace(n))&&n||(e="Â "+e.substr(1))}if(" "==e.charAt(e.length-1)){const n=this._getTouchingViewTextNode(t,!0);" "!=e.charAt(e.length-2)&&n&&" "!=n.data.charAt(0)||(e=e.substr(0,e.length-1)+"Â ")}return e.replace(/ {2}/g," Â ")}_nodeEndsWithSpace(t){if(t.getAncestors().some(t=>this.preElements.includes(t.name)))return!1;const e=this._processDataFromViewText(t);return" "==e.charAt(e.length-1)}_processDataFromDomText(t){let e=t.data;if(Co(t,this.preElements))return ao(t);e=e.replace(/[ \n\t\r]{1,}/g," ");const n=this._getTouchingInlineDomNode(t,!1),i=this._getTouchingInlineDomNode(t,!0),r=this._checkShouldLeftTrimDomText(t,n),o=this._checkShouldRightTrimDomText(t,i);return r&&(e=e.replace(/^ /,"")),o&&(e=e.replace(/ $/,"")),e=ao(new Text(e)),e=e.replace(/ \u00A0/g," "),(/( |\u00A0)\u00A0$/.test(e)||!i||i.data&&" "==i.data.charAt(0))&&(e=e.replace(/\u00A0$/," ")),r&&(e=e.replace(/^\u00A0/," ")),e}_checkShouldLeftTrimDomText(t,e){return!e||!!qn(e)||!this._encounteredRawContentDomNodes.has(t.previousSibling)&&/[^\S\u00A0]/.test(e.data.charAt(e.data.length-1))}_checkShouldRightTrimDomText(t,e){return!e&&!ro(t)}_getTouchingViewTextNode(t,e){const n=new ar({startPosition:e?sr._createAfter(t):sr._createBefore(t),direction:e?"forward":"backward"});for(const i of n){if(i.item.is("containerElement"))return null;if(i.item.is("element","br"))return null;if(i.item.is("$textProxy"))return i.item}return null}_getTouchingInlineDomNode(t,e){if(!t.parentNode)return null;const n=e?"nextNode":"previousNode",i=t.ownerDocument,r=ko(t)[0],o=i.createTreeWalker(r,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode:t=>Qr(t)||"BR"==t.tagName?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});o.currentNode=t;const a=o[n]();if(null!==a){const e=function(t,e){const n=ko(t),i=ko(e);let r=0;for(;n[r]==i[r]&&n[r];)r++;return 0===r?null:n[r-1]}(t,a);if(e&&!Co(t,this.blockElements,e)&&!Co(a,this.blockElements,e))return a}return null}}function Co(t,e,n){let i=ko(t);return n&&(i=i.slice(i.indexOf(n)+1)),i.some(t=>t.tagName&&e.includes(t.tagName.toLowerCase()))}function Eo(t,e){for(;t&&t!=bo.document;)e(t),t=t.parentNode}function Lo(t,e){const n=t.parentNode;return n&&n.tagName&&e.includes(n.tagName.toLowerCase())}function Ao(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}
457var Oo=Rt({},d,{listenTo(t,...e){if(mo(t)||Ao(t)){const n=this._getProxyEmitter(t)||new Po(t);n.attach(...e),t=n}d.listenTo.call(this,t,...e)},stopListening(t,e,n){if(mo(t)||Ao(t)){const e=this._getProxyEmitter(t);if(!e)return;t=e}d.stopListening.call(this,t,e,n),t instanceof Po&&t.detach(e)},_getProxyEmitter(t){return e=this,n=Do(t),e[l]&&e[l][n]?e[l][n].emitter:null;var e,n}});class Po{constructor(t){h(this,Do(t)),this._domNode=t}}function Do(t){return t["data-ck-expando"]||(t["data-ck-expando"]=a())}Rt(Po.prototype,d,{attach(t,e,n={}){if(this._domListeners&&this._domListeners[t])return;const i={capture:!!n.useCapture,passive:!!n.usePassive},r=this._createDomListener(t,i);this._domNode.addEventListener(t,r,i),this._domListeners||(this._domListeners={}),this._domListeners[t]=r},detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()},_createDomListener(t,e){const n=e=>{this.fire(t,e)};return n.removeListener=()=>{this._domNode.removeEventListener(t,n,e),delete this._domListeners[t]},n}});class jo{constructor(t){this.view=t,this.document=t.document,this.isEnabled=!1}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(t){return t&&3===t.nodeType&&(t=t.parentNode),!(!t||1!==t.nodeType)&&t.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}Gt(jo,Oo);var Io=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ro=function(t){return this.__data__.has(t)};function No(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Fe;++e<n;)this.add(t[e])}No.prototype.add=No.prototype.push=Io,No.prototype.has=Ro;var Yo=No,zo=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1},Bo=function(t,e){return t.has(e)},Fo=function(t,e,n,i,r,o){var a=1&n,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),u=o.get(e);if(l&&u)return l==e&&u==t;var d=-1,h=!0,f=2&n?new Yo:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var p=t[d],m=e[d];if(i)var g=a?i(m,p,d,e,t,o):i(p,m,d,t,e,o);if(void 0!==g){if(g)continue;h=!1;break}if(f){if(!zo(e,(function(t,e){if(!Bo(f,e)&&(p===t||r(p,t,n,i,o)))return f.push(e)}))){h=!1;break}}else if(p!==m&&!r(p,m,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h},Ho=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n},Vo=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},Uo=w?w.prototype:void 0,Wo=Uo?Uo.valueOf:void 0,$o=function(t,e,n,i,r,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Sn(t),new Sn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return q(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=Ho;case"[object Set]":var c=1&i;if(s||(s=Vo),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;i|=2,a.set(t,e);var u=Fo(s(t),s(e),i,r,o,a);return a.delete(t),u;case"[object Symbol]":if(Wo)return Wo.call(t)==Wo.call(e)}return!1},Xo=Object.prototype.hasOwnProperty,qo=function(t,e,n,i,r,o){var a=1&n,s=dn(t),c=s.length;if(c!=dn(e).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in e:Xo.call(e,u)))return!1}var d=o.get(t),h=o.get(e);if(d&&h)return d==e&&h==t;var f=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<c;){var m=t[u=s[l]],g=e[u];if(i)var v=a?i(g,m,u,e,t,o):i(m,g,u,t,e,o);if(!(void 0===v?m===g||r(m,g,n,i,o):v)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var _=t.constructor,y=e.constructor;_==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(t),o.delete(e),f},Go=Object.prototype.hasOwnProperty,Zo=function(t,e,n,i,r,o){var a=bt(t),s=bt(e),c=a?"[object Array]":xn(t),l=s?"[object Array]":xn(e),u="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),d="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),h=c==l;if(h&&Object(wt.a)(t)){if(!Object(wt.a)(e))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new Ue),a||Ct(t)?Fo(t,e,n,i,r,o):$o(t,e,c,n,i,r,o);if(!(1&n)){var f=u&&Go.call(t,"__wrapped__"),p=d&&Go.call(e,"__wrapped__");
vendor: 5,623 bytes, line 457
457if(f||p){var m=f?t.value():t,g=p?e.value():e;return o||(o=new Ue),r(m,g,n,i,o)}}return!!h&&(o||(o=new Ue),qo(t,e,n,i,r,o))},Jo=function t(e,n,i,r,o){return e===n||(null==e||null==n||!pt(e)&&!pt(n)?e!=e&&n!=n:Zo(e,n,i,r,t,o))},Ko=function(t,e,n){var i=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===i?Jo(t,e,void 0,n):!!i};class Qo extends jo{constructor(t){super(t),this._config={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},this.domConverter=t.domConverter,this.renderer=t._renderer,this._domElements=[],this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(t){this._domElements.push(t),this.isEnabled&&this._mutationObserver.observe(t,this._config)}enable(){super.enable();for(const t of this._domElements)this._mutationObserver.observe(t,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(t){if(0===t.length)return;const e=this.domConverter,n=new Map,i=new Set;for(const c of t)if("childList"===c.type){const t=e.mapDomToView(c.target);if(t&&(t.is("uiElement")||t.is("rawElement")))continue;t&&!this._isBogusBrMutation(c)&&i.add(t)}for(const c of t){const t=e.mapDomToView(c.target);if((!t||!t.is("uiElement")&&!t.is("rawElement"))&&"characterData"===c.type){const t=e.findCorrespondingViewText(c.target);t&&!i.has(t.parent)?n.set(t,{type:"text",oldText:t.data,newText:ao(c.target),node:t}):!t&&ro(c.target)&&i.add(e.mapDomToView(c.target.parentNode))}}const r=[];for(const c of n.values())this.renderer.markToSync("text",c.node),r.push(c);for(const c of i){const t=e.mapViewToDom(c),n=Array.from(c.getChildren()),i=Array.from(e.domChildrenToView(t,{withChildren:!1}));Ko(n,i,s)||(this.renderer.markToSync("children",c),r.push({type:"children",oldChildren:n,newChildren:i,node:c}))}const o=t[0].target.ownerDocument.getSelection();let a=null;if(o&&o.anchorNode){const t=e.domPositionToView(o.anchorNode,o.anchorOffset),n=e.domPositionToView(o.focusNode,o.focusOffset);t&&n&&(a=new dr(t),a.setFocus(n))}function s(t,e){if(!Array.isArray(t))return t===e||!(!t.is("$text")||!e.is("$text"))&&t.data===e.data}r.length&&(this.document.fire("mutations",r,a),this.view.forceRender())}_isBogusBrMutation(t){let e=null;return null===t.nextSibling&&0===t.removedNodes.length&&1==t.addedNodes.length&&(e=this.domConverter.domToView(t.addedNodes[0],{withChildren:!1})),e&&e.is("element","br")}}class ta{constructor(t,e,n){this.view=t,this.document=t.document,this.domEvent=e,this.domTarget=e.target,Rt(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class ea extends jo{constructor(t){super(t),this.useCapture=!1}observe(t){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(e=>{this.listenTo(t,e,(t,e)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(e.target)&&this.onDomEvent(e)},{useCapture:this.useCapture})})}fire(t,e,n){this.isEnabled&&this.document.fire(t,new ta(this.view,e,n))}}class na extends ea{constructor(t){super(t),this.domEventType=["keydown","keyup"]}onDomEvent(t){this.fire(t.type,t,{keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,get keystroke(){return Pr(this)}})}}var ia=function(){return b.a.Date.now()},ra=/\s/,oa=function(t){for(var e=t.length;e--&&ra.test(t.charAt(e)););return e},aa=/^\s+/,sa=function(t){return t?t.slice(0,oa(t)+1).replace(aa,""):t},ca=/^[-+]0x[0-9a-f]+$/i,la=/^0b[01]+$/i,ua=/^0o[0-7]+$/i,da=parseInt,ha=function(t){if("number"==typeof t)return t;if(gi(t))return NaN;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=sa(t);var n=la.test(t);return n||ua.test(t)?da(t.slice(2),n?2:8):ca.test(t)?NaN:+t},fa=Math.max,pa=Math.min,ma=function(t,e,n){var i,r,o,a,s,c,l=0,u=!1,d=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function f(e){var n=i,o=r;return i=r=void 0,l=e,a=t.apply(o,n)}function p(t){return l=t,s=setTimeout(g,e),u?f(t):a}function m(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-l>=o}function g(){var t=ia();if(m(t))return v(t);s=setTimeout(g,function(t){var n=e-(t-c);return d?pa(n,o-(t-l)):n}(t))}function v(t){return s=void 0,h&&i?f(t):(i=r=void 0,a)}function _(){var t=ia(),n=m(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return p(c);if(d)return clearTimeout(s),s=setTimeout(g,e),f(c)}return void 0===s&&(s=setTimeout(g,e)),a}return e=ha(e)||0,y(n)&&(u=!!n.leading,o=(d="maxWait"in n)?fa(ha(n.maxWait)||0,e):o,h="trailing"in n?!!n.trailing:h),_.cancel=function(){void 0!==s&&clearTimeout(s),l=0,i=c=r=s=void 0},_.flush=function(){return void 0===s?a:v(ia())},_};class ga extends jo{constructor(t){super(t),this._fireSelectionChangeDoneDebounced=ma(t=>this.document.fire("selectionChangeDone",t),200)}observe(){const t=this.document;t.on("arrowKey",(e,n)=>{t.selection.isFake&&this.isEnabled&&n.preventDefault()},{context:"$capture"}),t.on("arrowKey",(e,n)=>{t.selection.isFake&&this.isEnabled&&this._handleSelectionMove(n.keyCode)},{priority:"lowest"})}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(t){const e=this.document.selection,n=new dr(e.getRanges(),{backward:e.isBackward,fake:!1});t!=Ar.arrowleft&&t!=Ar.arrowup||n.setTo(n.getFirstPosition()),t!=Ar.arrowright&&t!=Ar.arrowdown||n.setTo(n.getLastPosition());const i={oldSelection:e,newSelection:n,domSelection:null};
457this.document.fire("selectionChange",i),this._fireSelectionChangeDoneDebounced(i)}}class va extends jo{constructor(t){super(t),this.mutationObserver=t.getObserver(Qo),this.selection=this.document.selection,this.domConverter=t.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=ma(t=>this.document.fire("selectionChangeDone",t),200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._loopbackCounter=0}observe(t){const e=t.ownerDocument;this._documents.has(e)||(this.listenTo(e,"selectionchange",(t,n)=>{this._handleSelectionChange(n,e)}),this._documents.add(e))}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionChange(t,e){if(!this.isEnabled)return;const n=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(n.anchorNode))return;this.mutationObserver.flush();const i=this.domConverter.domSelectionToView(n);if(0!=i.rangeCount){if(this.view.hasDomSelection=!0,!(this.selection.isEqual(i)&&this.domConverter.isDomSelectionCorrect(n)||++this._loopbackCounter>60))if(this.selection.isSimilar(i))this.view.forceRender();else{const t={oldSelection:this.selection,newSelection:i,domSelection:n};this.document.fire("selectionChange",t),this._fireSelectionChangeDoneDebounced(t)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class _a extends ea{constructor(t){super(t),this.domEventType=["focus","blur"],this.useCapture=!0;const e=this.document;e.on("focus",()=>{e.isFocused=!0,this._renderTimeoutId=setTimeout(()=>t.forceRender(),50)}),e.on("blur",(n,i)=>{const r=e.selection.editableElement;null!==r&&r!==i.target||(e.isFocused=!1,t.forceRender())})}onDomEvent(t){this.fire(t.type,t)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class ya extends ea{constructor(t){super(t),this.domEventType=["compositionstart","compositionupdate","compositionend"];const e=this.document;e.on("compositionstart",()=>{e.isComposing=!0}),e.on("compositionend",()=>{e.isComposing=!1})}onDomEvent(t){this.fire(t.type,t)}}class ba extends ea{constructor(t){super(t),this.domEventType=["beforeinput"]}onDomEvent(t){this.fire(t.type,t)}}class wa{constructor(){this._replacedElements=[]}replace(t,e){this._replacedElements.push({element:t,newElement:e}),t.style.display="none",e&&t.parentNode.insertBefore(e,t.nextSibling)}restore(){this._replacedElements.forEach(({element:t,newElement:e})=>{t.style.display="",e&&e.remove()}),this._replacedElements=[]}}var ka=function(t){return"string"==typeof t||!bt(t)&&pt(t)&&"[object String]"==A(t)};function xa(t){return"[object Range]"==Object.prototype.toString.apply(t)}function Ta(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}const Ma=["top","right","bottom","left","width","height"];class Sa{constructor(t){const e=xa(t);if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),qn(t)||e)if(e){const e=Sa.getDomRangeRects(t);Ca(this,Sa.getBoundingRect(e))}else Ca(this,t.getBoundingClientRect());else if(Ao(t)){const{innerWidth:e,innerHeight:n}=t;Ca(this,{top:0,right:e,bottom:n,left:0,width:e,height:n})}else Ca(this,t)}clone(){return new Sa(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left)};return e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0?null:new Sa(e)}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(!Ea(t)){let n=t.parentNode||t.commonAncestorContainer;for(;n&&!Ea(n);){const t=new Sa(n),i=e.getIntersection(t);
457if(!i)return null;i.getArea()<e.getArea()&&(e=i),n=n.parentNode}}return e}isEqual(t){for(const e of Ma)if(this[e]!==t[e])return!1;return!0}contains(t){const e=this.getIntersection(t);return!(!e||!e.isEqual(t))}excludeScrollbarsAndBorders(){const t=this._source;let e,n,i;if(Ao(t))e=t.innerWidth-t.document.documentElement.clientWidth,n=t.innerHeight-t.document.documentElement.clientHeight,i=t.getComputedStyle(t.document.documentElement).direction;else{const r=Ta(this._source);e=t.offsetWidth-t.clientWidth-r.left-r.right,n=t.offsetHeight-t.clientHeight-r.top-r.bottom,i=t.ownerDocument.defaultView.getComputedStyle(t).direction,this.left+=r.left,this.top+=r.top,this.right-=r.right,this.bottom-=r.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=e,"ltr"===i?this.right-=e:this.left+=e,this.height-=n,this.bottom-=n,this}static getDomRangeRects(t){const e=[],n=Array.from(t.getClientRects());if(n.length)for(const i of n)e.push(new Sa(i));else{let n=t.startContainer;Qr(n)&&(n=n.parentNode);const i=new Sa(n.getBoundingClientRect());i.right=i.left,i.width=0,e.push(i)}return e}static getBoundingRect(t){const e={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY};let n=0;for(const i of t)n++,e.left=Math.min(e.left,i.left),e.top=Math.min(e.top,i.top),e.right=Math.max(e.right,i.right),e.bottom=Math.max(e.bottom,i.bottom);return 0==n?null:(e.width=e.right-e.left,e.height=e.bottom-e.top,new Sa(e))}}function Ca(t,e){for(const n of Ma)t[n]=e[n]}function Ea(t){return!!qn(t)&&t===t.ownerDocument.body}class La{constructor(t,e){La._observerInstance||La._createObserver(),this._element=t,this._callback=e,La._addElementCallback(t,e),La._observerInstance.observe(t)}destroy(){La._deleteElementCallback(this._element,this._callback)}static _addElementCallback(t,e){La._elementCallbacks||(La._elementCallbacks=new Map);let n=La._elementCallbacks.get(t);n||(n=new Set,La._elementCallbacks.set(t,n)),n.add(e)}static _deleteElementCallback(t,e){const n=La._getElementCallbacks(t);n&&(n.delete(e),n.size||(La._elementCallbacks.delete(t),La._observerInstance.unobserve(t))),La._elementCallbacks&&!La._elementCallbacks.size&&(La._observerInstance=null,La._elementCallbacks=null)}static _getElementCallbacks(t){return La._elementCallbacks?La._elementCallbacks.get(t):null}static _createObserver(){let t;t="function"==typeof bo.window.ResizeObserver?bo.window.ResizeObserver:Aa,La._observerInstance=new t(t=>{for(const e of t){const t=La._getElementCallbacks(e.target);if(t)for(const n of t)n(e)}})}}La._observerInstance=null,La._elementCallbacks=null;class Aa{constructor(t){this._callback=t,this._elements=new Set,this._previousRects=new Map,this._periodicCheckTimeout=null}observe(t){this._elements.add(t),this._checkElementRectsAndExecuteCallback(),1===this._elements.size&&this._startPeriodicCheck()}unobserve(t){this._elements.delete(t),this._previousRects.delete(t),this._elements.size||this._stopPeriodicCheck()}_startPeriodicCheck(){const t=()=>{this._checkElementRectsAndExecuteCallback(),this._periodicCheckTimeout=setTimeout(t,100)};this.listenTo(bo.window,"resize",()=>{this._checkElementRectsAndExecuteCallback()}),this._periodicCheckTimeout=setTimeout(t,100)}_stopPeriodicCheck(){clearTimeout(this._periodicCheckTimeout),this.stopListening(),this._previousRects.clear()}_checkElementRectsAndExecuteCallback(){const t=[];for(const e of this._elements)this._hasRectChanged(e)&&t.push({target:e,contentRect:this._previousRects.get(e)});t.length&&this._callback(t)}_hasRectChanged(t){if(!t.ownerDocument.body.contains(t))return!1;const e=new Sa(t),n=this._previousRects.get(t),i=!n||!n.isEqual(e);return this._previousRects.set(t,e),i}}function Oa(t){return e=>e+t}function Pa(t){const e=t.next();return e.done?null:e.value}Gt(Aa,Oo);class Da{constructor(){this.set("isFocused",!1),this.set("focusedElement",null),this._elements=new Set,this._nextEventLoopTimeout=null}add(t){if(this._elements.has(t))throw new c.a("focustracker-add-element-already-exist",this);this.listenTo(t,"focus",()=>this._focus(t),{useCapture:!0}),this.listenTo(t,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(t)}remove(t){t===this.focusedElement&&this._blur(t),this._elements.has(t)&&(this.stopListening(t),this._elements.delete(t))}destroy(){this.stopListening()}_focus(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}Gt(Da,Oo),Gt(Da,Vt);class ja{constructor(){this._listener=Object.create(Oo)}listenTo(t){this._listener.listenTo(t,"keydown",(t,e)=>{this._listener.fire("_keydown:"+Pr(e),e)})}set(t,e,n={}){const i=Dr(t),r=n.priority;this._listener.listenTo(this._listener,"_keydown:"+i,(t,n)=>{e(n,()=>{n.preventDefault(),n.stopPropagation(),t.stop()}),t.return=!0},{priority:r})}press(t){return!!this._listener.fire("_keydown:"+Pr(t),t)}destroy(){this._listener.stopListening()}}class Ia extends jo{constructor(t){super(t),this.document.on("key
457down",(t,e)=>{if(this.isEnabled&&((n=e.keyCode)==Ar.arrowright||n==Ar.arrowleft||n==Ar.arrowup||n==Ar.arrowdown)){const n=new fr(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(n,e),n.stop.called&&t.stop()}var n})}observe(){}}function Ra({target:t,viewportOffset:e=0}){const n=Va(t);let i=n,r=null;for(;i;){let o;o=Ua(i==n?t:r),Ya(o,()=>Wa(t,i));const a=Wa(t,i);if(Na(i,a,e),i.parent!=i){if(r=i.frameElement,i=i.parent,!r)return}else i=null}}function Na(t,e,n){const i=e.clone().moveBy(0,n),r=e.clone().moveBy(0,-n),o=new Sa(t).excludeScrollbarsAndBorders();if(![r,i].every(t=>o.contains(t))){let{scrollX:a,scrollY:s}=t;Ba(r,o)?s-=o.top-e.top+n:za(i,o)&&(s+=e.bottom-o.bottom+n),Fa(e,o)?a-=o.left-e.left+n:Ha(e,o)&&(a+=e.right-o.right+n),t.scrollTo(a,s)}}function Ya(t,e){const n=Va(t);let i,r;for(;t!=n.document.body;)r=e(),i=new Sa(t).excludeScrollbarsAndBorders(),i.contains(r)||(Ba(r,i)?t.scrollTop-=i.top-r.top:za(r,i)&&(t.scrollTop+=r.bottom-i.bottom),Fa(r,i)?t.scrollLeft-=i.left-r.left:Ha(r,i)&&(t.scrollLeft+=r.right-i.right)),t=t.parentNode}function za(t,e){return t.bottom>e.bottom}function Ba(t,e){return t.top<e.top}function Fa(t,e){return t.left<e.left}function Ha(t,e){return t.right>e.right}function Va(t){return xa(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView}function Ua(t){if(xa(t)){let e=t.commonAncestorContainer;return Qr(e)&&(e=e.parentNode),e}return t.parentNode}function Wa(t,e){const n=Va(t),i=new Sa(t);if(n===e)return i;{let t=n;for(;t!=e;){const e=t.frameElement,n=new Sa(e).excludeScrollbarsAndBorders();i.moveBy(n.left,n.top),t=t.parent}}return i}Object.assign({},{scrollViewportToShowTarget:Ra,scrollAncestorsToShowTarget:function(t){Ya(Ua(t),()=>new Sa(t))}});class $a{constructor(t){this.document=new br(t),this.domConverter=new So(this.document),this.domRoots=new Map,this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new go(this.domConverter,this.document.selection),this._renderer.bind("isFocused").to(this.document),this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new Vr(this.document),this.addObserver(Qo),this.addObserver(va),this.addObserver(_a),this.addObserver(na),this.addObserver(ga),this.addObserver(ya),this.addObserver(Ia),Cr.isAndroid&&this.addObserver(ba),this.document.on("arrowKey",so,{priority:"low"}),Yr(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0})}attachDomRoot(t,e="main"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const i={};for(const{name:o,value:a}of Array.from(t.attributes))i[o]=a,"class"===o?this._writer.addClass(a.split(" "),n):this._writer.setAttribute(o,a,n);this._initialDomRootAttributes.set(t,i);const r=()=>{this._writer.setAttribute("contenteditable",!n.isReadOnly,n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};r(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(t.ownerDocument),n.on("change:children",(t,e)=>this._renderer.markToSync("children",e)),n.on("change:attributes",(t,e)=>this._renderer.markToSync("attributes",e)),n.on("change:text",(t,e)=>this._renderer.markToSync("text",e)),n.on("change:isReadOnly",()=>this.change(r)),n.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const o of this._observers.values())o.observe(t,e)}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach(({name:t})=>e.removeAttribute(t));const n=this._initialDomRootAttributes.get(e);for(const i in n)e.setAttribute(i,n[i]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e)}getDomRoot(t="main"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);for(const[n,i]of this.domRoots)e.observe(i,n);return e.enable(),e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values())t.disable()}enableObservers(){for(const t of this._observers.values())t.enable()}scrollToTheSelection(){const t=this.document.selection.getFirstRange();t&&Ra({target:this.domConverter.viewRangeToDom(t),viewportOffset:20})}focus(){if(!this.document.isFocused){const t=this.document.selection.editableElement;t&&(this.domConverter.focus(t),this.forceRender())}}change(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new c.a("cannot-change-view-tree",this);try{if(this._ongoingChange)return t(this._writer);this._ongoingChange=!0;const e=t(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),e}catch(t){c.a.rethrowUnexpectedError(t,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.change(()=>{})}
vendor: 23,957 bytes, line 457
457destroy(){for(const t of this._observers.values())t.destroy();this.document.destroy(),this.stopListening()}createPositionAt(t,e){return sr._createAt(t,e)}createPositionAfter(t){return sr._createAfter(t)}createPositionBefore(t){return sr._createBefore(t)}createRange(t,e){return new cr(t,e)}createRangeOn(t){return cr._createOn(t)}createRangeIn(t){return cr._createIn(t)}createSelection(t,e,n){return new dr(t,e,n)}_disableRendering(t){this._renderingDisabled=t,0==t&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}Gt($a,Vt);class Xa{constructor(t){this.parent=null,this._attrs=fi(t)}get index(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new c.a("model-node-not-found-in-parent",this);return t}get startOffset(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new c.a("model-node-not-found-in-parent",this);return t}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return this.root.is("rootElement")}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.startOffset),e=e.parent;return t}getAncestors(t={includeSelf:!1,parentFirst:!1}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),i=t.getAncestors(e);let r=0;for(;n[r]==i[r]&&n[r];)r++;return 0===r?null:n[r-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),i=ci(e,n);switch(i){case"prefix":return!0;case"extension":return!1;default:return e[i]<n[i]}}isAfter(t){return this!=t&&this.root===t.root&&!this.isBefore(t)}hasAttribute(t){return this._attrs.has(t)}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const t={};return this._attrs.size&&(t.attributes=Array.from(this._attrs).reduce((t,e)=>(t[e[0]]=e[1],t),{})),t}is(t){return"node"===t||"model:node"===t}_clone(){return new Xa(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(t,e){this._attrs.set(t,e)}_setAttributesTo(t){this._attrs=fi(t)}_removeAttribute(t){return this._attrs.delete(t)}_clearAttributes(){this._attrs.clear()}}class qa extends Xa{constructor(t,e){super(e),this._data=t||""}get offsetSize(){return this.data.length}get data(){return this._data}is(t){return"$text"===t||"model:$text"===t||"text"===t||"model:text"===t||"node"===t||"model:node"===t}toJSON(){const t=super.toJSON();return t.data=this.data,t}_clone(){return new qa(this.data,this.getAttributes())}static fromJSON(t){return new qa(t.data,t.attributes)}}class Ga{constructor(t,e,n){if(this.textNode=t,e<0||e>t.offsetSize)throw new c.a("model-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.offsetSize)throw new c.a("model-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}is(t){return"$textProxy"===t||"model:$textProxy"===t||"textProxy"===t||"model:textProxy"===t}getPath(){const t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t}getAncestors(t={includeSelf:!1,parentFirst:!1}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}hasAttribute(t){return this.textNode.hasAttribute(t)}getAttribute(t){return this.textNode.getAttribute(t)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}class Za{constructor(t){this._nodes=[],t&&this._insertNodes(0,t)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((t,e)=>t+e.offsetSize,0)}getNode(t){return this._nodes[t]||null}getNodeIndex(t){const e=this._nodes.indexOf(t);return-1==e?null:e}getNodeStartOffset(t){const e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce((t,e)=>t+e.offsetSize,0)}indexToOffset(t){if(t==this._nodes.length)return this.maxOffset;const e=this._nodes[t];if(!e)throw new c.a("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(e)}offsetToIndex(t){let e=0;for(const n of this._nodes){if(t>=e&&t<e+n.offsetSize)return this.getNodeIndex(n);e+=n.offsetSize}if(e!=t)throw new c.a("model-nodelist-offset-out-of-bounds",this,{offset:t,nodeList:this});return this.length}_insertNodes(t,e){for(const n of e)if(!(n instanceof Xa))throw new c.a("model-nodelist-insertnodes-not-node",this);this._nodes.splice(t,0,...e)}_removeNodes(t,e=1){return this._nodes.splice(t,e)}toJSON(){return this._nodes.map(t=>t.toJSON())}}class Ja extends Xa{constructor(t,e,n){super(e),this.name=t,this._children=new Za,n&&this._insertChild(0,n)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}is(t,e=null){return e?e===this.name&&("element"===t||"model:element"===t):"element"===t||"model:element"===t||"node"===t||"model:node"===t}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}offsetToIndex(t){return this._children.offsetToIndex(t)}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}findAncestor(t,e={includeSelf:!1}){let n=e.includeSelf?this:this.parent;for(;n;){if(n.name===t)return n;n=n.parent}return null}toJSON(){const t=super.toJSON();if(t.name=this.name,this._children.length>0){t.children=[];for(const e of this._children)t.children.push(e.toJSON())}return t}_clone(t=!1){const e=t?Array.from(this._children).map(t=>t._clone(!0)):null;return new Ja(this.name,this.getAttributes(),e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){return"string"==typeof t?[new qa(t)]:(Kn(t)||(t=[t]),Array.from(t).map(t=>"string"==typeof t?new qa(t):t instanceof Ga?new qa(t.data,t.getAttributes()):t))}(e);for(const i of n)null!==i.parent&&i._remove(),i.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const i of n)i.parent=null;return n}static fromJSON(t){let e=null;if(t.children){e=[];for(const n of t.children)n.name?e.push(Ja.fromJSON(n)):e.push(qa.fromJSON(n))}return new Ja(t.name,t.attributes,e)}}class Ka{constructor(t={}){if(!t.boundaries&&!t.startPosition)throw new c.a("model-tree-walker-no-start-position",null);const e=t.direction||"forward";if("forward"!=e&&"backward"!=e)throw new c.a("model-tree-walker-unknown-direction",t,{direction:e});this.direction=e,this.boundaries=t.boundaries||null,t.startPosition?this.position=t.startPosition.clone():this.position=ts._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}skip(t){let e,n,i,r;do{i=this.position,r=this._visitedParent,({done:e,value:n}=this.next())}while(!e&&t(n));e||(this.position=i,this._visitedParent=r)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&e.offset===n.maxOffset)return{done:!0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0};const i=e.parent,r=es(e,i),o=r||ns(e,i,r);if(o instanceof Ja)return this.shallow?e.offset++:(e.path.push(0),this._visitedParent=o),this.position=e,Qa("elementStart",o,t,e,1);if(o instanceof qa){let i;if(this.singleCharacters)i=1;else{let t=o.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offset<t&&(t=this.boundaries.end.offset),i=t-e.offset}const r=e.offset-o.startOffset,a=new Ga(o,r,i);return e.offset+=i,this.position=e,Qa("text",a,t,e,i)}return e.path.pop(),e.offset++,this.position=e,this._visitedParent=n.parent,this.ignoreElementEnd?this._next():Qa("elementEnd",n,t,e)}_previous(){const t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&0===e.offset)return{done:!0};if(n==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0};const i=e.parent,r=es(e,i),o=r||is(e,i,r);if(o instanceof Ja)return e.offset--,this.shallow?(this.position=e,Qa("elementStart",o,t,e,1)):(e.path.push(o.maxOffset),this.position=e,this._visitedParent=o,this.ignoreElementEnd?this._previous():Qa("elementEnd",o,t,e));if(o instanceof qa){let i;if(this.singleCharacters)i=1;else{let t=o.startOffset;this._boundaryStartParent==n&&this.boundaries.start.offset>t&&(t=this.boundaries.start.offset),i=e.offset-t}const r=e.offset-o.startOffset,a=new Ga(o,r-i,i);return e.offset-=i,this.position=e,Qa("text",a,t,e,i)}return e.path.pop(),this.position=e,this._visitedParent=n.parent,Qa("elementStart",n,t,e,1)}}function Qa(t,e,n,i,r){return{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:r}}}class ts{constructor(t,e,n="toNone"){if(!t.is("element")&&!t.is("documentFragment"))throw new c.a("model-position-root-invalid",t);if(!(e instanceof Array)||0===e.length)throw new c.a("model-position-path-incorrect-format",t,{path:e});t.is("rootElement")?e=e.slice():(e=[...t.getPath(),...e],t=t.root),this.root=t,this.path=e,this.stickiness=n}get offset(){return this.path[this.path.length-1]}set offset(t){this.path[this.path.length-1]=t}get parent(){let t=this.root;for(let e=0;e<this.path.length-1;e++)if(t=t.getChild(t.offsetToIndex(this.path[e])),!t)throw new c.a("model-position-path-incorrect",this,{position:this});if(t.is("$text"))throw new c.a("model-position-path-incorrect",this,{position:this});return t}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return es(this,this.parent)}get nodeAfter(){const t=this.parent;return ns(this,t,es(this,t))}get nodeBefore(){const t=this.parent;return is(this,t,es(this,t))}get isAtStart(){return 0===this.offset}get isAtEnd(){return this.offset==this.parent.maxOffset}compareWith(t){if(this.root!=t.root)return"different";const e=ci(this.path,t.path);switch(e){case"same":return"same";case"prefix":return"before";case"extension":return"after";default:return this.path[e]<t.path[e]?"before":"after"}}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new Ka(e);return n.skip(t),n.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){const t=this.parent;return t.is("documentFragment")?[t]:t.getAncestors({includeSelf:!0})}findAncestor(t){const e=this.parent;return e.is("element")?e.findAncestor(t,{includeSelf:!0}):null}getCommonPath(t){if(this.root!=t.root)return[];const e=ci(this.path,t.path),n="string"==typeof e?Math.min(this.path.length,t.path.length):e;return this.path.slice(0,n)}getCommonAncestor(t){const e=this.getAncestors(),n=t.getAncestors();let i=0;for(;e[i]==n[i]&&e[i];)i++;return 0===i?null:e[i-1]}getShiftedBy(t){const e=this.clone(),n=e.offset+t;return e.offset=n<0?0:n,e}isAfter(t){return"after"==this.compareWith(t)}isBefore(t){return"before"==this.compareWith(t)}isEqual(t){return"same"==this.compareWith(t)}isTouching(t){let e=null,n=null;switch(this.compareWith(t)){case"same":return!0;case"before":e=ts._createAt(this),n=ts._createAt(t);break;case"after":e=ts._createAt(t),n=ts._createAt(this);break;default:return!1}let i=e.parent;for(;e.path.length+n.path.length;){if(e.isEqual(n))return!0;if(e.path.length>n.path.length){if(e.offset!==i.maxOffset)return!1;e.path=e.path.slice(0,-1),i=i.parent,e.offset++}else{if(0!==n.offset)return!1;n.path=n.path.slice(0,-1)}}}is(t){return"position"===t||"model:position"===t}hasSameParentAs(t){return this.root===t.root&&"same"==ci(this.getParentPath(),t.getParentPath())}getTransformedByOperation(t){let e;switch(t.type){case"insert":e=this._getTransformedByInsertOperation(t);break;case"move":case"remove":case"reinsert":e=this._getTransformedByMoveOperation(t);break;case"split":e=this._getTransformedBySplitOperation(t);break;case"merge":e=this._getTransformedByMergeOperation(t);break;default:e=ts._createAt(this)}return e}_getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany)}_getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}_getTransformedBySplitOperation(t){const e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1)}_getTransformedByMergeOperation(t){const e=t.movedRange;let n;return e.containsPosition(this)||e.start.isEqual(this)?(n=this._getCombined(t.sourcePosition,t.targetPosition),t.sourcePosition.isBefore(t.targetPosition)&&(n=n._getTransformedByDeletion(t.deletionPosition,1))):n=this.isEqual(t.deletionPosition)?ts._createAt(t.deletionPosition):this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1),n}_getTransformedByDeletion(t,e){const n=ts._createAt(this);if(this.root!=t.root)return n;if("same"==ci(t.getParentPath(),this.getParentPath())){if(t.offset<this.offset){if(t.offset+e>this.offset)return null;n.offset-=e}}else if("prefix"==ci(t.getParentPath(),this.getParentPath())){const i=t.path.length-1;if(t.offset<=this.path[i]){if(t.offset+e>this.path[i])return null;n.path[i]-=e}}return n}_getTransformedByInsertion(t,e){const n=ts._createAt(this);if(this.root!=t.root)return n;if("same"==ci(t.getParentPath(),this.getParentPath()))(t.offset<this.offset||t.offset==this.offset&&"toPrevious"!=this.stickiness)&&(n.offset+=e);else if("prefix"==ci(t.getParentPath(),this.getParentPath())){const i=t.path.length-1;t.offset<=this.path[i]&&(n.path[i]+=e)}return n}_getTransformedByMove(t,e,n){if(e=e._getTransformedByDeletion(t,n),t.isEqual(e))return ts._createAt(this);const i=this._getTransformedByDeletion(t,n);return null===i||t.isEqual(this)&&"toNext"==this.stickiness||t.getShiftedBy(n).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(t,e):i._getTransformedByInsertion(e,n)}_getCombined(t,e){const n=t.path.length-1,i=ts._createAt(e);return i.stickiness=this.stickiness,i.offset=i.offset+this.path[n]-t.offset,i.path=[...i.path,...this.path.slice(n+1)],i}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(t,e,n="toNone"){if(t instanceof ts)return new ts(t.root,t.path,t.stickiness);{const i=t;if("end"==e)e=i.maxOffset;else{if("before"==e)return this._createBefore(i,n);if("after"==e)return this._createAfter(i,n);if(0!==e&&!e)throw new c.a("model-createpositionat-offset-required",[this,t])}if(!i.is("element")&&!i.is("documentFragment"))throw new c.a("model-position-parent-incorrect",[this,t]);const r=i.getPath();return r.push(e),new this(i.root,r,n)}}static _createAfter(t,e){if(!t.parent)throw new c.a("model-position-after-root",[this,t],{root:t});return this._createAt(t.parent,t.endOffset,e)}static _createBefore(t,e){if(!t.parent)throw new c.a("model-position-before-root",t,{root:t});return this._createAt(t.parent,t.startOffset,e)}static fromJSON(t,e){if("$graveyard"===t.root){const n=new ts(e.graveyard,t.path);return n.stickiness=t.stickiness,n}if(!e.getRoot(t.root))throw new c.a("model-position-fromjson-no-root",e,{rootName:t.root});return new ts(e.getRoot(t.root),t.path,t.stickiness)}}function es(t,e){const n=e.getChild(e.offsetToIndex(t.offset));return n&&n.is("$text")&&n.startOffset<t.offset?n:null}function ns(t,e,n){return null!==n?null:e.getChild(e.offsetToIndex(t.offset))}function is(t,e,n){return null!==n?null:e.getChild(e.offsetToIndex(t.offset)-1)}class rs{constructor(t,e=null){this.start=ts._createAt(t),this.end=e?ts._createAt(e):ts._createAt(t),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new Ka({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return"same"==ci(this.start.getParentPath(),this.end.getParentPath())}get root(){return this.start.root}containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end)}containsRange(t,e=!1){t.isCollapsed&&(e=!1);const n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i}containsItem(t){const e=ts._createBefore(t);return this.containsPosition(e)||this.start.isEqual(e)}is(t){return"range"===t||"model:range"===t}isEqual(t){return this.start.isEqual(t.start)&&this.end.isEqual(t.end)}isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}getDifference(t){const e=[];return this.isIntersecting(t)?(this.containsPosition(t.start)&&e.push(new rs(this.start,t.start)),this.containsPosition(t.end)&&e.push(new rs(t.end,this.end))):e.push(new rs(this.start,this.end)),e}getIntersection(t){if(this.isIntersecting(t)){let e=this.start,n=this.end;return this.containsPosition(t.start)&&(e=t.start),this.containsPosition(t.end)&&(n=t.end),new rs(e,n)}return null}getJoined(t,e=!1){let n=this.isIntersecting(t);if(n||(n=this.start.isBefore(t.start)?e?this.end.isTouching(t.start):this.end.isEqual(t.start):e?t.end.isTouching(this.start):t.end.isEqual(this.start)),!n)return null;let i=this.start,r=this.end;return t.start.isBefore(i)&&(i=t.start),t.end.isAfter(r)&&(r=t.end),new rs(i,r)}getMinimalFlatRanges(){const t=[],e=this.start.getCommonPath(this.end).length,n=ts._createAt(this.start);let i=n.parent;for(;n.path.length>e+1;){const e=i.maxOffset-n.offset;0!==e&&t.push(new rs(n,n.getShiftedBy(e))),n.path=n.path.slice(0,-1),n.offset++,i=i.parent}for(;n.path.length<=this.end.path.length;){const e=this.end.path[n.path.length-1],i=e-n.offset;0!==i&&t.push(new rs(n,n.getShiftedBy(i))),n.offset=e,n.path.push(0)}return t}getWalker(t={}){return t.boundaries=this,new Ka(t)}*getItems(t={}){t.boundaries=this,t.ignoreElementEnd=!0;const e=new Ka(t);for(const n of e)yield n.item}*getPositions(t={}){t.boundaries=this;const e=new Ka(t);yield e.position;for(const n of e)yield n.nextPosition}getTransformedByOperation(t){switch(t.type){case"insert":return this._getTransformedByInsertOperation(t);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(t);case"split":return[this._getTransformedBySplitOperation(t)];case"merge":return[this._getTransformedByMergeOperation(t)]}return[new rs(this.start,this.end)]}getTransformedByOperations(t){const e=[new rs(this.start,this.end)];for(const n of t)for(let t=0;t<e.length;t++){const i=e[t].getTransformedByOperation(n);e.splice(t,1,...i),t+=i.length-1}for(let n=0;n<e.length;n++){const t=e[n];for(let i=n+1;i<e.length;i++){const n=e[i];(t.containsRange(n)||n.containsRange(t)||t.isEqual(n))&&e.splice(i,1)}}return e}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;const t=this.start.nodeAfter,e=this.end.nodeBefore;return t&&t.is("element")&&t===e?t:null}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(t,e=!1){return this._getTransformedByInsertion(t.position,t.howMany,e)}_getTransformedByMoveOperation(t,e=!1){const n=t.sourcePosition,i=t.howMany,r=t.targetPosition;return this._getTransformedByMove(n,r,i,e)}_getTransformedBySplitOperation(t){const e=this.start._getTransformedBySplitOperation(t);let n=this.end._getTransformedBySplitOperation(t);return this.end.isEqual(t.insertionPosition)&&(n=this.end.getShiftedBy(1)),e.root!=n.root&&(n=this.end.getShiftedBy(-1)),new rs(e,n)}_getTransformedByMergeOperation(t){if(this.start.isEqual(t.targetPosition)&&this.end.isEqual(t.deletionPosition))return new rs(this.start);let e=this.start._getTransformedByMergeOperation(t),n=this.end._getTransformedByMergeOperation(t);return e.root!=n.root&&(n=this.end.getShiftedBy(-1)),e.isAfter(n)?(t.sourcePosition.isBefore(t.targetPosition)?(e=ts._createAt(n),e.offset=0):(t.deletionPosition.isEqual(e)||(n=t.deletionPosition),e=t.targetPosition),new rs(e,n)):new rs(e,n)}_getTransformedByInsertion(t,e,n=!1){if(n&&this.containsPosition(t))return[new rs(this.start,t),new rs(t.getShiftedBy(e),this.end._getTransformedByInsertion(t,e))];{const n=new rs(this.start,this.end);return n.start=n.start._getTransformedByInsertion(t,e),n.end=n.end._getTransformedByInsertion(t,e),[n]}}_getTransformedByMove(t,e,n,i=!1){if(this.isCollapsed){const i=this.start._getTransformedByMove(t,e,n);return[new rs(i)]}const r=rs._createFromPositionAndShift(t,n),o=e._getTransformedByDeletion(t,n);if(this.containsPosition(e)&&!i&&(r.containsPosition(this.start)||r.containsPosition(this.end))){const i=this.start._getTransformedByMove(t,e,n),r=this.end._getTransformedByMove(t,e,n);return[new rs(i,r)]}let a;const s=this.getDifference(r);let c=null;const l=this.getIntersection(r);if(1==s.length?c=new rs(s[0].start._getTransformedByDeletion(t,n),s[0].end._getTransformedByDeletion(t,n)):2==s.length&&(c=new rs(this.start,this.end._getTransformedByDeletion(t,n))),a=c?c._getTransformedByInsertion(o,n,null!==l||i):[],l){const t=new rs(l.start._getCombined(r.start,o),l.end._getCombined(r.start,o));2==a.length?a.splice(1,0,t):a.push(t)}return a}_getTransformedByDeletion(t,e){let n=this.start._getTransformedByDeletion(t,e),i=this.end._getTransformedByDeletion(t,e);return null==n&&null==i?null:(null==n&&(n=t),null==i&&(i=t),new rs(n,i))}static _createFromPositionAndShift(t,e){const n=t,i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n)}static _createIn(t){return new this(ts._createAt(t,0),ts._createAt(t,t.maxOffset))}static _createOn(t){return this._createFromPositionAndShift(ts._createBefore(t),t.offsetSize)}static _createFromRanges(t){if(0===t.length)throw new c.a("range-create-from-ranges-empty-array",null);if(1==t.length)return t[0].clone();const e=t[0];t.sort((t,e)=>t.start.isAfter(e.start)?1:-1);const n=t.indexOf(e),i=new this(e.start,e.end);if(n>0)for(let r=n-1;t[r].end.isEqual(i.start);r++)i.start=ts._createAt(t[r].start);for(let r=n+1;r<t.length&&t[r].start.isEqual(i.end);r++)i.end=ts._createAt(t[r].end);return i}static fromJSON(t,e){return new this(ts.fromJSON(t.start,e),ts.fromJSON(t.end,e))}}class os{constructor(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._viewToModelLengthCallbacks=new Map,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this.on("modelToViewPosition",(t,e)=>{if(e.viewPosition)return;const n=this._modelToViewMapping.get(e.modelPosition.parent);e.viewPosition=this.findPositionIn(n,e.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(t,e)=>{if(e.modelPosition)return;const n=this.findMappedViewAncestor(e.viewPosition),i=this._viewToModelMapping.get(n),r=this._toModelOff
457set(e.viewPosition.parent,e.viewPosition.offset,n);e.modelPosition=ts._createAt(i,r)},{priority:"low"})}bindElements(t,e){this._modelToViewMapping.set(t,e),this._viewToModelMapping.set(e,t)}unbindViewElement(t){const e=this.toModelElement(t);if(this._viewToModelMapping.delete(t),this._elementToMarkerNames.has(t))for(const n of this._elementToMarkerNames.get(t))this._unboundMarkerNames.add(n);this._modelToViewMapping.get(e)==t&&this._modelToViewMapping.delete(e)}unbindModelElement(t){const e=this.toViewElement(t);this._modelToViewMapping.delete(t),this._viewToModelMapping.get(e)==t&&this._viewToModelMapping.delete(e)}bindElementToMarker(t,e){const n=this._markerNameToElements.get(e)||new Set;n.add(t);const i=this._elementToMarkerNames.get(t)||new Set;i.add(e),this._markerNameToElements.set(e,n),this._elementToMarkerNames.set(t,i)}unbindElementFromMarkerName(t,e){const n=this._markerNameToElements.get(e);n&&(n.delete(t),0==n.size&&this._markerNameToElements.delete(e));const i=this._elementToMarkerNames.get(t);i&&(i.delete(e),0==i.size&&this._elementToMarkerNames.delete(t))}flushUnboundMarkerNames(){const t=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),t}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set}toModelElement(t){return this._viewToModelMapping.get(t)}toViewElement(t){return this._modelToViewMapping.get(t)}toModelRange(t){return new rs(this.toModelPosition(t.start),this.toModelPosition(t.end))}toViewRange(t){return new cr(this.toViewPosition(t.start),this.toViewPosition(t.end))}toModelPosition(t){const e={viewPosition:t,mapper:this};return this.fire("viewToModelPosition",e),e.modelPosition}toViewPosition(t,e={isPhantom:!1}){const n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire("modelToViewPosition",n),n.viewPosition}markerNameToElements(t){const e=this._markerNameToElements.get(t);if(!e)return null;const n=new Set;for(const i of e)if(i.is("attributeElement"))for(const t of i.getElementsWithSameId())n.add(t);else n.add(i);return n}registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e)}findMappedViewAncestor(t){let e=t.parent;for(;!this._viewToModelMapping.has(e);)e=e.parent;return e}_toModelOffset(t,e,n){if(n!=t)return this._toModelOffset(t.parent,t.index,n)+this._toModelOffset(t,e,t);if(t.is("$text"))return e;let i=0;for(let r=0;r<e;r++)i+=this.getModelLength(t.getChild(r));return i}getModelLength(t){if(this._viewToModelLengthCallbacks.get(t.name))return this._viewToModelLengthCallbacks.get(t.name)(t);if(this._viewToModelMapping.has(t))return 1;if(t.is("$text"))return t.data.length;if(t.is("uiElement"))return 0;{let e=0;for(const n of t.getChildren())e+=this.getModelLength(n);return e}}findPositionIn(t,e){let n,i=0,r=0,o=0;if(t.is("$text"))return new sr(t,e);for(;r<e;)n=t.getChild(o),i=this.getModelLength(n),r+=i,o++;return r==e?this._moveViewPositionToTextNode(new sr(t,o)):this.findPositionIn(n,e-(r-i))}_moveViewPositionToTextNode(t){const e=t.nodeBefore,n=t.nodeAfter;return e instanceof di?new sr(e,e.data.length):n instanceof di?new sr(n,0):t}}Gt(os,d);class as{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(t,e){e=ss(e),t instanceof Ga&&(t=this._getSymbolForTextProxy(t)),this._consumable.has(t)||this._consumable.set(t,new Map),this._consumable.get(t).set(e,!0)}consume(t,e){return e=ss(e),t instanceof Ga&&(t=this._getSymbolForTextProxy(t)),!!this.test(t,e)&&(this._consumable.get(t).set(e,!1),!0)}test(t,e){e=ss(e),t instanceof Ga&&(t=this._getSymbolForTextProxy(t));const n=this._consumable.get(t);if(void 0===n)return null;const i=n.get(e);return void 0===i?null:i}revert(t,e){e=ss(e),t instanceof Ga&&(t=this._getSymbolForTextProxy(t));const n=this.test(t,e);return!1===n?(this._consumable.get(t).set(e,!0),!0):!0!==n&&null}_getSymbolForTextProxy(t){let e=null;const n=this._textProxyRegistry.get(t.startOffset);if(n){const i=n.get(t.endOffset);i&&(e=i.get(t.parent))}return e||(e=this._addSymbolForTextProxy(t.startOffset,t.endOffset,t.parent)),e}_addSymbolForTextProxy(t,e,n){const i=Symbol("textProxySymbol");let r,o;return r=this._textProxyRegistry.get(t),r||(r=new Map,this._textProxyRegistry.set(t,r)),o=r.get(e),o||(o=new Map,r.set(e,o)),o.set(n,i),i}}function ss(t){const e=t.split(":");return e.length>1?e[0]+":"+e[1]:e[0]}class cs{constructor(t){this.conversionApi=Object.assign({dispatcher:this},t),this._reconversionEventsMapping=new Map}convertChanges(t,e,n){for(const r of t.getMarkersToRemove())this.convertMarkerRemove(r.name,r.range,n);const i=this._mapChangesWithAutomaticReconversion(t);for(const r of i)"insert"===r.type?this.convertInsert(rs._createFromPositionAndShift(r.position,r.length),n):"remove"===r.type?this.convertRemove(r.position,r.length,r.name,n):"reconvert"===r.type?this.reconvertElement(r.element,n):this.convertAttribute(r.range,r.attributeKey,r.attributeOldValue,r.attributeNewValue,n);for(const r of this.conversionApi.mapper.flushUnboundMarkerNames()){const t=e.get(r).getRange();this.convertMarkerRemove(r,t,n),this.convertMarkerAdd(r,t,n)}for(const r of t.getMarkersToAdd())this.convertMarkerAdd(r.name,r.range,n)}convertInsert(t,e){this.conversionApi.writer=e,this.conversionApi.consumable=this._createInsertConsumable(t);for(const n of Array.from(t).map(us))this._convertInsertWithAttributes(n);this._clearConversionApi()}convertRemove(t,e,n,i){this.conversionApi.writer=i,this.fire("remove:"+n,{position:t,length:e},this.conversionApi),this._clearConversionApi()}convertAttribute(t,e,n,i,r){this.conversionApi.writer=r,this.conversionApi.consumable=this._createConsumableForRange(t,"attribute:"+e);for(const o of t){const t={item:o.item,range:rs._createFromPositionAndShift(o.previousPosition,o.length),attributeKey:e,attributeOldValue:n,attributeNewValue:i};this._testAndFire("attribute:"+e,t)}this._clearConversionApi()}reconvertElement(t,e){const n=rs._createOn(t);this.conversionApi.writer=e,this.conversionApi.consumable=this._createInsertConsumable(n);const i=this.conversionApi.mapper,r=i.toViewElement(t);e.remove(r),this._convertInsertWithAttributes({item:t,range:n});const o=i.toViewElement(t);for(const a of rs._createIn(t)){const{item:t}=a,n=ds(t,i);n?n.root!==o.root&&e.move(e.createRangeOn(n),i.toViewPosition(ts._createBefore(t))):this._convertInsertWithAttributes(us(a))}i.unbindViewElement(r),this._clearConversionApi()}convertSelection(t,e,n){const i=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));if(this.conversionApi.writer=n,this.conversionApi.consumable=this._createSelectionConsumable(t,i),this.fire("selection",{selection:t},this.conversionApi),t.isCollapsed){for(const e of i){const n=e.getRange();if(!ls(t.getFirstPosition(),e,this.conversionApi.mapper))continue;const i={item:t,markerName:e.name,markerRange:n};this.conversionApi.consumable.test(t,"addMarker:"+e.name)&&this.fire("addMarker:"+e.name,i,this.conversionApi)}for(const e of t.getAttributeKeys()){const n={item:t,range:t.getFirstRange(),attributeKey:e,attributeOldValue:null,attributeNewValue:t.getAttribute(e)};this.conversionApi.consumable.test(t,"attribute:"+n.attributeKey)&&this.fire("attribute:"+n.attributeKey+":$text",n,this.conversionApi)}this._clearConversionApi()}}convertMarkerAdd(t,e,n){if("$graveyard"==e.root.rootName)return;this.conversionApi.writer=n;const i="addMarker:"+t,r=new as;if(r.add(e,i),this.conversionApi.consumable=r,this.fire(i,{markerName:t,markerRange:e},this.conversionApi),r.test(e,i)){this.conversionApi.consumable=this._createConsumableForRange(e,i);for(const n of e.getItems()){if(!this.conversionApi.consumable.test(n,i))continue;const r={item:n,range:rs._createOn(n),markerName:t,markerRange:e};this.fire(i,r,this.conversionApi)}this._clearConversionApi()}}convertMarkerRemove(t,e,n){"$graveyard"!=e.root.rootName&&(this.conversionApi.writer=n,this.fire("removeMarker:"+t,{markerName:t,markerRange:e},this.conversionApi),this._clearConversionApi())}_mapReconversionTriggerEvent(t,e){this._reconversionEventsMapping.set(e,t)}_createInsertConsumable(t){const e=new as;for(const n of t){const t=n.item;e.add(t,"insert");for(const n of t.getAttributeKeys())e.add(t,"attribute:"+n)}return e}_createConsumableForRange(t,e){const n=new as;for(const i of t.getItems())n.add(i,e);return n}_createSelectionConsumable(t,e){const n=new as;n.add(t,"selection");for(const i of e)n.add(t,"addMarker:"+i.name);for(const i of t.getAttributeKeys())n.add(t,"attribute:"+i);return n}_testAndFire(t,e){this.conversionApi.consumable.test(e.item,t)&&this.fire(function(t,e){const n=e.item.name||"$text";return`${t}:${n}`}(t,e),e,this.conversionApi)}_clearConversionApi(){delete this.conversionApi.writer,delete this.conversionApi.consumable}_convertInsertWithAttributes(t){this._testAndFire("insert",t);for(const e of t.item.getAttributeKeys())t.attributeKey=e,t.attributeOldValue=null,t.attributeNewValue=t.item.getAttribute(e),this._testAndFire("attribute:"+e,t)}_mapChangesWithAutomaticReconversion(t){const e=new Set,n=[];for(const i of t.getChanges()){const t=i.position||i.range.start,r=t.parent;if(es(t,r)){n.push(i);continue}const o="attribute"===i.type?ns(t,r,null):r;if(o.is("$text")){n.push(i);continue}let a;if(a="attribute"===i.type?`attribute:${i.attributeKey}:${o.name}`:`${i.type}:${i.name}`,this._isReconvertTriggerEvent(a,o.name)){if(e.has(o))continue;e.add(o),n.push({type:"reconvert",element:o})}else n.push(i)}return n}_isReconvertTriggerEvent(t,e){return this._reconversionEventsMapping.get(t)===e}}function ls(t,e,n){const i=e.getRange(),r=Array.from(t.getAncestors());return r.shift(),r.reverse(),!r.some(t=>{if(i.containsItem(t))return!!n.toViewElement(t).getCustomProperty("addHighlight")})}function us(t){return{item:t.item,range:rs._createFromPositionAndShift(t.previousPosition,t.length)}}function ds(t,e){if(t.is("textProxy")){const n=e.toViewPosition(ts._createBefore(t)).parent;return n.is("$text")?n:null}return e.toViewElement(t)}Gt(cs,d);class hs{constructor(t,e,n){this._lastRangeBackward=!1,this._ranges=[],this._attrs=new Map,t&&this.setTo(t,e,n)}get anchor(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}
vendor: 43,928 bytes, line 457
457get focus(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const i of t._ranges)if(e.isEqual(i)){n=!0;break}if(!n)return!1}return!0}*getRanges(){for(const t of this._ranges)yield new rs(t.start,t.end)}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?new rs(t.start,t.end):null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?new rs(t.start,t.end):null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}setTo(t,e,n){if(null===t)this._setRanges([]);else if(t instanceof hs)this._setRanges(t.getRanges(),t.isBackward);else if(t&&"function"==typeof t.getRanges)this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof rs)this._setRanges([t],!!e&&!!e.backward);else if(t instanceof ts)this._setRanges([new rs(t)]);else if(t instanceof Xa){const i=!!n&&!!n.backward;let r;if("in"==e)r=rs._createIn(t);else if("on"==e)r=rs._createOn(t);else{if(void 0===e)throw new c.a("model-selection-setto-required-second-parameter",[this,t]);r=new rs(ts._createAt(t,e))}this._setRanges([r],i)}else{if(!Kn(t))throw new c.a("model-selection-setto-not-selectable",[this,t]);this._setRanges(t,e&&!!e.backward)}}_setRanges(t,e=!1){const n=(t=Array.from(t)).some(e=>{if(!(e instanceof rs))throw new c.a("model-selection-set-ranges-not-range",[this,t]);return this._ranges.every(t=>!t.isEqual(e))});if(t.length!==this._ranges.length||n){this._removeAllRanges();for(const e of t)this._pushRange(e);this._lastRangeBackward=!!e,this.fire("change:range",{directChange:!0})}}setFocus(t,e){if(null===this.anchor)throw new c.a("model-selection-setfocus-no-ranges",[this,t]);const n=ts._createAt(t,e);if("same"==n.compareWith(this.focus))return;const i=this.anchor;this._ranges.length&&this._popRange(),"before"==n.compareWith(i)?(this._pushRange(new rs(n,i)),this._lastRangeBackward=!0):(this._pushRange(new rs(i,n)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(t){return this._attrs.has(t)}removeAttribute(t){this.hasAttribute(t)&&(this._attrs.delete(t),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}setAttribute(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}is(t){return"selection"===t||"model:selection"===t}*getSelectedBlocks(){const t=new WeakSet;for(const e of this.getRanges()){const n=ms(e.start,t);n&&gs(n,e)&&(yield n);for(const r of e.getWalker()){const n=r.item;"elementEnd"==r.type&&ps(n,t,e)&&(yield n)}const i=ms(e.end,t);i&&!e.end.isTouching(ts._createAt(i,0))&&gs(i,e)&&(yield i)}}containsEntireContent(t=this.anchor.root){const e=ts._createAt(t,0),n=ts._createAt(t,"end");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(t){this._checkRange(t),this._ranges.push(new rs(t.start,t.end))}_checkRange(t){for(let e=0;e<this._ranges.length;e++)if(t.isIntersecting(this._ranges[e]))throw new c.a("model-selection-range-intersects",[this,t],{addedRange:t,intersectingRange:this._ranges[e]})}_removeAllRanges(){for(;this._ranges.length>0;)this._popRange()}_popRange(){this._ranges.pop()}}function fs(t,e){return!e.has(t)&&(e.add(t),t.root.document.model.schema.isBlock(t)&&t.parent)}function ps(t,e,n){return fs(t,e)&&gs(t,n)}function ms(t,e){const n=t.parent.root.document.model.schema,i=t.parent.getAncestors({parentFirst:!0,includeSelf:!0});let r=!1;const o=i.find(t=>!r&&(r=n.isLimit(t),!r&&fs(t,e)));return i.forEach(t=>e.add(t)),o}function gs(t,e){const n=function(t){const e=t.root.document.model.schema;let n=t.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent}}(t);return!n||!e.containsRange(rs._createOn(n),!0)}Gt(hs,d);class vs extends rs{constructor(t,e){super(t,e),_s.call(this)}detach(){this.stopListening()}is(t){return"liveRange"===t||"model:liveRange"===t||"range"==t||"model:range"===t}toRange(){return new rs(this.start,this.end)}static fromRange(t){return new vs(t.start,t.end)}}function _s(){this.listenTo(this.root.document.model,"applyOperation",(t,e)=>{const n=e[0];n.isDocumentOperation&&ys.call(this,n)},{priority:"low"})}function ys(t){const e=this.getTransformedByOperation(t),n=rs._createFromRanges(e),i=!n.isEqual(this),r=function(t,e){switch(e.type){case"insert":return t.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case"split":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition)}return!1}(this,t);let o=null;if(i){"$graveyard"==n.root.rootName&&(o="remove"==t.type?t.sourcePosition:t.deletionPosition);const e=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",e,{deletionPosition:o})}else r&&this.fire("change:content",this.toRange(),{deletionPosition:o})}Gt(vs,d);class bs{constructor(t){this._selection=new ws(t),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(t){return this._selection.containsEntireContent(t)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(t){return this._selection.getAttribute(t)}hasAttribute(t){return this._selection.hasAttribute(t)}refresh(){this._selection._updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(t){this._selection.observeMarkers(t)}is(t){return"selection"===t||"model:selection"==t||"documentSelection"==t||"model:documentSelection"==t}_setFocus(t,e){this._selection.setFocus(t,e)}_setTo(t,e,n){this._selection.setTo(t,e,n)}_setAttribute(t,e){this._selection.setAttribute(t,e)}_removeAttribute(t){this._selection.removeAttribute(t)}_getStoredAttributes(){return this._selection._getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(t){this._selection.restoreGravity(t)}static _getStoreAttributeKey(t){return"selection:"+t}static _isStoreAttributeKey(t){return t.startsWith("selection:")}}Gt(bs,d);class ws extends hs{constructor(t){super(),this.markers=new Qn({idProperty:"name"}),this._model=t.model,this._document=t,this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this.listenTo(this._model,"applyOperation",(t,e)=>{const n=e[0];n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{for(const t of this.getRanges())if(!this._document._validateSelectionRange(t))throw new c.a("document-selection-wrong-position",this,{range:t})}),this.listenTo(this._model.markers,"update",(t,e,n,i)=>{this._updateMarker(e,i)}),this.listenTo(this._document,"change",(t,e)=>{!function(t,e){const n=t.document.differ;for(const i of n.getChanges()){if("insert"!=i.type)continue;const n=i.position.parent;i.length===n.maxOffset&&t.enqueueChange(e,t=>{const e=Array.from(n.getAttributeKeys()).filter(t=>t.startsWith("selection:"));for(const i of e)t.removeAttribute(i,n)})}}(this._model,e)})}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let t=0;t<this._ranges.length;t++)this._ranges[t].detach();this.stopListening()}*getRanges(){this._ranges.length?yield*super.getRanges():yield this._document._getDefaultRange()}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(t,e,n){super.setTo(t,e,n),this._updateAttributes(!0),this._updateMarkers()}setFocus(t,e){super.setFocus(t,e),this._updateAttributes(!0),this._updateMarkers()}setAttribute(t,e){if(this._setAttribute(t,e)){const e=[t];this.fire("change:attribute",{attributeKeys:e,directChange:!0})}}removeAttribute(t){if(this._removeAttribute(t)){const e=[t];this.fire("change:attribute",{attributeKeys:e,directChange:!0})}}overrideGravity(){const t=a();return this._overriddenGravityRegister.add(t),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),t}restoreGravity(t){if(!this._overriddenGravityRegister.has(t))throw new c.a("document-selection-gravity-wrong-restore",this,{uid:t});this._overriddenGravityRegister.delete(t),this.isGravityOverridden||this._updateAttributes(!0)}observeMarkers(t){this._observedMarkers.add(t),this._updateMarkers()}_popRange(){this._ranges.pop().detach()}_pushRange(t){const e=this._prepareRange(t);e&&this._ranges.push(e)}_prepareRange(t){if(this._checkRange(t),t.root==this._document.graveyard)return;const e=vs.fromRange(t);return e.on("change:range",(t,n,i)=>{if(this._hasChangedRange=!0,e.root==this._document.graveyard){this._selectionRestorePosition=i.deletionPosition;const t=this._ranges.indexOf(e);this._ranges.splice(t,1),e.detach()}}),e}_updateMarkers(){if(!this._observedMarkers.size)return;const t=[];let e=!1;for(const i of this._model.markers){const e=i.name.split(":",1)[0];if(!this._observedMarkers.has(e))continue;const n=i.getRange();for(const r of this.getRanges())n.containsRange(r,!r.isCollapsed)&&t.push(i)}const n=Array.from(this.markers);for(const i of t)this.markers.has(i)||(this.markers.add(i),e=!0);for(const i of Array.from(this.markers))t.includes(i)||(this.markers.remove(i),e=!0);e&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateMarker(t,e){const n=t.name.split(":",1)[0];if(!this._observedMarkers.has(n))return;let i=!1;const r=Array.from(this.markers),o=this.markers.has(t);if(e){let n=!1;for(const t of this.getRanges())if(e.containsRange(t,!t.isCollapsed)){n=!0;break}n&&!o?(this.markers.add(t),i=!0):!n&&o&&(this.markers.remove(t),i=!0)}else o&&(this.markers.remove(t),i=!0);i&&this.fire("change:marker",{oldMarkers:r,directChange:!1})}_updateAttributes(t){const e=fi(this._getSurroundingAttributes()),n=fi(this.getAttributes());if(t)this._attributePriority=new Map,this._attrs=new Map;else for(const[r,o]of this._attributePriority)"low"==o&&(this._attrs.delete(r),this._attributePriority.delete(r));this._setAttributesTo(e);const i=[];for(const[r,o]of this.getAttributes())n.has(r)&&n.get(r)===o||i.push(r);for(const[r]of n)this.hasAttribute(r)||i.push(r);i.length>0&&this.fire("change:attribute",{attributeKeys:i,directChange:!1})}_setAttribute(t,e,n=!0){const i=n?"normal":"low";return("low"!=i||"normal"!=this._attributePriority.get(t))&&(super.getAttribute(t)!==e&&(this._attrs.set(t,e),this._attributePriority.set(t,i),!0))}_removeAttribute(t,e=!0){const n=e?"normal":"low";return("low"!=n||"normal"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!super.hasAttribute(t)&&(this._attrs.delete(t),!0))}_setAttributesTo(t){const e=new Set;for(const[n,i]of this.getAttributes())t.get(n)!==i&&this._removeAttribute(n,!1);for(const[n,i]of t)this._setAttribute(n,i,!1)&&e.add(n);return e}*_getStoredAttributes(){const t=this.getFirstPosition().parent;if(this.isCollapsed&&t.isEmpty)for(const e of t.getAttributeKeys())if(e.startsWith("selection:")){const n=e.substr("selection:".length);yield[n,t.getAttribute(e)]}}_getSurroundingAttributes(){const t=this.getFirstPosition(),e=this._model.schema;let n=null;if(this.isCollapsed){const i=t.textNode?t.textNode:t.nodeBefore,r=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(n=ks(i)),n||(n=ks(r)),!this.isGravityOverridden&&!n){let t=i;for(;t&&!e.isInline(t)&&!n;)t=t.previousSibling,n=ks(t)}if(!n){let t=r;for(;t&&!e.isInline(t)&&!n;)t=t.nextSibling,n=ks(t)}n||(n=this._getStoredAttributes())}else{const t=this.getFirstRange();for(const i of t){if(i.item.is("element")&&e.isObject(i.item))break;if("text"==i.type){n=i.item.getAttributes();break}}}return n}_fixGraveyardSelection(t){const e=this._model.schema.getNearestSelectionRange(t);e&&this._pushRange(e)}}function ks(t){return t instanceof Ga||t instanceof qa?t.getAttributes():null}class xs{constructor(t){this._dispatchers=t}add(t){for(const e of this._dispatchers)t(e);return this}}var Ts=function(t){return $n(t,5)};class Ms extends xs{elementToElement(t){return this.add(function(t){return(t=Ts(t)).view=Es(t.view,"container"),e=>{var n;if(e.on("insert:"+t.model,(n=t.view,(t,e,i)=>{const r=n(e.item,i);if(!r)return;if(!i.consumable.consume(e.item,"insert"))return;const o=i.mapper.toViewPosition(e.range.start);i.mapper.bindElements(e.item,r),i.writer.insert(o,r)}),{priority:t.converterPriority||"normal"}),t.triggerBy){if(t.triggerBy.attributes)for(const n of t.triggerBy.attributes)e._mapReconversionTriggerEvent(t.model,`attribute:${n}:${t.model}`);if(t.triggerBy.children)for(const n of t.triggerBy.children)e._mapReconversionTriggerEvent(t.model,"insert:"+n),e._mapReconversionTriggerEvent(t.model,"remove:"+n)}}}(t))}attributeToElement(t){return this.add(function(t){t=Ts(t);let e="attribute:"+(t.model.key?t.model.key:t.model);if(t.model.name&&(e+=":"+t.model.name),t.model.values)for(const i of t.model.values)t.view[i]=Es(t.view[i],"attribute");else t.view=Es(t.view,"attribute");const n=Ls(t);return i=>{i.on(e,function(t){return(e,n,i)=>{const r=t(n.attributeOldValue,i),o=t(n.attributeNewValue,i);if(!r&&!o)return;if(!i.consumable.consume(n.item,e.name))return;const a=i.writer,s=a.document.selection;if(n.item instanceof hs||n.item instanceof bs)a.wrap(s.getFirstRange(),o);else{let t=i.mapper.toViewRange(n.range);null!==n.attributeOldValue&&r&&(t=a.unwrap(t,r)),null!==n.attributeNewValue&&o&&a.wrap(t,o)}}}(n),{priority:t.converterPriority||"normal"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=Ts(t);let e="attribute:"+(t.model.key?t.model.key:t.model);if(t.model.name&&(e+=":"+t.model.name),t.model.values)for(const i of t.model.values)t.view[i]=As(t.view[i]);else t.view=As(t.view);const n=Ls(t);return i=>{var r;i.on(e,(r=n,(t,e,n)=>{const i=r(e.attributeOldValue,n),o=r(e.attributeNewValue,n);if(!i&&!o)return;if(!n.consumable.consume(e.item,t.name))return;const a=n.mapper.toViewElement(e.item),s=n.writer;if(!a)throw new c.a("conversion-attribute-to-attribute-on-text",[e,n]);if(null!==e.attributeOldValue&&i)if("class"==i.key){const t=ei(i.value);for(const e of t)s.removeClass(e,a)}else if("style"==i.key){const t=Object.keys(i.value);for(const e of t)s.removeStyle(e,a)}else s.removeAttribute(i.key,a);if(null!==e.attributeNewValue&&o)if("class"==o.key){const t=ei(o.value);for(const e of t)s.addClass(e,a)}else if("style"==o.key){const t=Object.keys(o.value);for(const e of t)s.setStyle(e,o.value[e],a)}else s.setAttribute(o.key,o.value,a)}),{priority:t.converterPriority||"normal"})}}(t))}markerToElement(t){return this.add(function(t){return(t=Ts(t)).view=Es(t.view,"ui"),e=>{var n;e.on("addMarker:"+t.model,(n=t.view,(t,e,i)=>{e.isOpening=!0;const r=n(e,i);e.isOpening=!1;const o=n(e,i);if(!r||!o)return;const a=e.markerRange;if(a.isCollapsed&&!i.consumable.consume(a,t.name))return;for(const n of a)if(!i.consumable.consume(n.item,t.name))return;const s=i.mapper,c=i.writer;c.insert(s.toViewPosition(a.start),r),i.mapper.bindElementToMarker(r,e.markerName),a.isCollapsed||(c.insert(s.toViewPosition(a.end),o),i.mapper.bindElementToMarker(o,e.markerName)),t.stop()}),{priority:t.converterPriority||"normal"}),e.on("removeMarker:"+t.model,(t.view,(t,e,n)=>{const i=n.mapper.markerNameToElements(e.markerName);if(i){for(const t of i)n.mapper.unbindElementFromMarkerName(t,e.markerName),n.writer.clear(n.writer.createRangeOn(t),t);n.writer.clearClonedElementsGroup(e.markerName),t.stop()}}),{priority:t.converterPriority||"normal"})}}(t))}markerToHighlight(t){return this.add(function(t){return e=>{var n;e.on("addMarker:"+t.model,(n=t.view,(t,e,i)=>{if(!e.item)return;if(!(e.item instanceof hs||e.item instanceof bs||e.item.is("$textProxy")))return;const r=Os(n,e,i);if(!r)return;if(!i.consumable.consume(e.item,t.name))return;const o=i.writer,a=Ss(o,r),s=o.document.selection;if(e.item instanceof hs||e.item instanceof bs)o.wrap(s.getFirstRange(),a,s);else{const t=i.mapper.toViewRange(e.range),n=o.wrap(t,a);for(const r of n.getItems())if(r.is("attributeElement")&&r.isSimilar(a)){i.mapper.bindElementToMarker(r,e.markerName);break}}}),{priority:t.converterPriority||"normal"}),e.on("addMarker:"+t.model,function(t){return(e,n,i)=>{if(!n.item)return;if(!(n.item instanceof Ja))return;const r=Os(t,n,i);if(!r)return;if(!i.consumable.test(n.item,e.name))return;const o=i.mapper.toViewElement(n.item);if(o&&o.getCustomProperty("addHighlight")){i.consumable.consume(n.item,e.name);for(const t of rs._createIn(n.item))i.consumable.consume(t.item,e.name);o.getCustomProperty("addHighlight")(o,r,i.writer),i.mapper.bindElementToMarker(o,n.markerName)}}}(t.view),{priority:t.converterPriority||"normal"}),e.on("removeMarker:"+t.model,function(t){return(e,n,i)=>{if(n.markerRange.isCollapsed)return;const r=Os(t,n,i);if(!r)return;const o=Ss(i.writer,r),a=i.mapper.markerNameToElements(n.markerName);if(a){for(const t of a)i.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("attributeElement")?i.writer.unwrap(i.writer.createRangeOn(t),o):t.getCustomProperty("removeHighlight")(t,r.id,i.writer);i.writer.clearClonedElementsGroup(n.markerName),e.stop()}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}markerToData(t){return this.add(function(t){const e=(t=Ts(t)).model;return t.view||(t.view=n=>({group:e,name:n.substr(t.model.length+1)})),n=>{var i;n.on("addMarker:"+e,(i=t.view,(t,e,n)=>{const r=i(e.markerName,n);if(!r)return;const o=e.markerRange;n.consumable.consume(o,t.name)&&(Cs(o,!1,n,e,r),Cs(o,!0,n,e,r),t.stop())}),{priority:t.converterPriority||"normal"}),n.on("removeMarker:"+e,function(t){return(e,n,i)=>{const r=t(n.markerName,i);if(!r)return;const o=i.mapper.markerNameToElements(n.markerName);if(o){for(const t of o)i.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("containerElement")?(a(`data-${r.group}-start-before`,t),a(`data-${r.group}-start-after`,t),a(`data-${r.group}-end-before`,t),a(`data-${r.group}-end-after`,t)):i.writer.clear(i.writer.createRangeOn(t),t);i.writer.clearClonedElementsGroup(n.markerName),e.stop()}function a(t,e){if(e.hasAttribute(t)){const n=new Set(e.getAttribute(t).split(","));n.delete(r.name),0==n.size?i.writer.removeAttribute(t,e):i.writer.setAttribute(t,Array.from(n).join(","),e)}}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}}function Ss(t,e){const n=t.createAttributeElement("span",e.attributes);return e.classes&&n._addClass(e.classes),e.priority&&(n._priority=e.priority),n._id=e.id,n}function Cs(t,e,n,i,r){const o=e?t.start:t.end;if(n.schema.checkChild(o,"$text"))!function(t,e,n,i,r){const o=`${r.group}-${e?"start":"end"}`,a=r.name?{name:r.name}:null,s=n.writer.createUIElement(o,a);n.writer.insert(t,s),n.mapper.bindElementToMarker(s,i.markerName)}(n.mapper.toViewPosition(o),e,n,i,r);else{let t,a;e&&o.nodeAfter||!e&&!o.nodeBefore?(t=o.nodeAfter,a=!0):(t=o.nodeBefore,a=!1),function(t,e,n,i,r,o){const a=`data-${o.group}-${e?"start":"end"}-${n?"before":"after"}`,s=t.hasAttribute(a)?t.getAttribute(a).split(","):[];s.unshift(o.name),i.writer.setAttribute(a,s.join(","),t),i.mapper.bindElementToMarker(t,r.markerName)}(n.mapper.toViewElement(t),e,a,n,i,r)}}function Es(t,e){return"function"==typeof t?t:(n,i)=>function(t,e,n){let i;"string"==typeof t&&(t={name:t});const r=e.writer,o=Object.assign({},t.attributes);if("container"==n)i=r.createContainerElement(t.name,o);else if("attribute"==n){const e={priority:t.priority||wr.DEFAULT_PRIORITY};i=r.createAttributeElement(t.name,o,e)}else i=r.createUIElement(t.name,o);if(t.styles){const e=Object.keys(t.styles);for(const n of e)r.setStyle(n,t.styles[n],i)}if(t.classes){const e=t.classes;if("string"==typeof e)r.addClass(e,i);else for(const t of e)r.addClass(t,i)}return i}(t,i,e)}function Ls(t){return t.model.values?(e,n)=>{const i=t.view[e];return i?i(e,n):null}:t.view}function As(t){return"string"==typeof t?e=>({key:t,value:e}):"object"==typeof t?t.value?()=>t:e=>({key:t.key,value:e}):t}function Os(t,e,n){const i="function"==typeof t?t(e,n):t;return i?(i.priority||(i.priority=10),i.id||(i.id=e.markerName),i):null}function Ps(t){const{schema:e,document:n}=t.model;for(const i of n.getRootNames()){const r=n.getRoot(i);if(r.isEmpty&&!e.checkChild(r,"$text")&&e.checkChild(r,"paragraph"))return t.insertElement("paragraph",r),!0}return!1}function Ds(t,e,n){const i=n.createContext(t);return!!n.checkChild(i,"paragraph")&&!!n.checkChild(i.push("paragraph"),e)}function js(t,e){const n=e.createElement("paragraph");return e.insert(n,t),e.createPositionAt(n,0)}class Is extends xs{elementToElement(t){return this.add(Rs(t))}elementToAttribute(t){return this.add(function(t){zs(t=Ts(t));const e=Bs(t,!1),n=Ns(t.view),i=n?"element:"+n:"element";return n=>{n.on(i,e,{priority:t.converterPriority||"low"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=Ts(t);let e=null;("string"==typeof t.view||t.view.key)&&(e=function(t){"string"==typeof t.view&&(t.view={key:t.view});const e=t.view.key;let n;if("class"==e||"style"==e)n={["class"==e?"classes":"styles"]:t.view.value};else{const i=void 0===t.view.value?/[\s\S]*/:t.view.value;n={attributes:{[e]:i}}}return t.view.name&&(n.name=t.view.name),t.view=n,e}(t)),zs(t,e);const n=Bs(t,!0);return e=>{e.on("element",n,{priority:t.converterPriority||"low"})}}(t))}elementToMarker(t){return Object(c.b)("upcast-helpers-element-to-marker-deprecated"),this.add(function(t){return function(t){const e=t.model;t.model=(t,n)=>{const i="string"==typeof e?e:e(t,n);return n.writer.createElement("$marker",{"data-name":i})}}(t=Ts(t)),Rs(t)}(t))}dataToMarker(t){return this.add(function(t){(t=Ts(t)).model||(t.model=e=>e?t.view+":"+e:t.view);const e=Ys(Fs(t,"start")),n=Ys(Fs(t,"end"));return i=>{i.on("element:"+t.view+"-start",e,{priority:t.converterPriority||"normal"}),i.on("element:"+t.view+"-end",n,{priority:t.converterPriority||"normal"});const r=s.get("low"),o=s.get("highest"),a=s.get(t.converterPriority)/o;i.on("element",function(t){return(e,n,i)=>{const r="data-"+t.view;function o(e,r){for(const o of r){const r=t.model(o,i),a=i.writer.createElement("$marker",{"data-name":r});i.writer.insert(a,e),n.modelCursor.isEqual(e)?n.modelCursor=n.modelCursor.getShiftedBy(1):n.modelCursor=n.modelCursor._getTransformedByInsertion(e,1),n.modelRange=n.modelRange._getTransformedByInsertion(e,1)[0]}}n.modelRange||(n=Object.assign(n,i.convertChildren(n.viewItem,n.modelCursor))),i.consumable.consume(n.viewItem,{attributes:r+"-end-after"})&&o(n.modelRange.end,n.viewItem.getAttribute(r+"-end-after").split(",")),i.consumable.consume(n.viewItem,{attributes:r+"-start-after"})&&o(n.modelRange.end,n.viewItem.getAttribute(r+"-start-after").split(",")),i.consumable.consume(n.viewItem,{attributes:r+"-end-before"})&&o(n.modelRange.start,n.viewItem.getAttribute(r+"-end-before").split(",")),i.consumable.consume(n.viewItem,{attributes:r+"-start-before"})&&o(n.modelRange.start,n.viewItem.getAttribute(r+"-start-before").split(","))}}(t),{priority:r+a})}}(t))}}function Rs(t){const e=Ys(t=Ts(t)),n=Ns(t.view),i=n?"element:"+n:"element";return n=>{n.on(i,e,{priority:t.converterPriority||"normal"})}}function Ns(t){return"string"==typeof t?t:"object"==typeof t&&"string"==typeof t.name?t.name:null}function Ys(t){const e=new pi(t.view);return(n,i,r)=>{const o=e.match(i.viewItem);if(!o)return;const a=o.match;if(a.name=!0,!r.consumable.test(i.viewItem,a))return;const s=function(t,e,n){return t instanceof Function?t(e,n):n.writer.createElement(t)}(t.model,i.viewItem,r);s&&r.safeInsert(s,i.modelCursor)&&(r.consumable.consume(i.viewItem,a),r.convertChildren(i.viewItem,s),r.updateConversionResult(s,i))}}function zs(t,e=null){const n=null===e||(t=>t.getAttribute(e)),i="object"!=typeof t.model?t.model:t.model.key,r="object"!=typeof t.model||void 0===t.model.value?n:t.model.value;t.model={key:i,value:r}}function Bs(t,e){const n=new pi(t.view);return(i,r,o)=>{const a=n.match(r.viewItem);if(!a)return;const s=t.model.key,c="function"==typeof t.model.value?t.model.value(r.viewItem,o):t.model.value;null!==c&&(function(t,e){const n="function"==typeof t?t(e):t;return!("object"==typeof n&&!Ns(n))&&(!n.classes&&!n.attributes&&!n.styles)}(t.view,r.viewItem)?a.match.name=!0:delete a.match.name,o.consumable.test(r.viewItem,a.match)&&(r.modelRange||(r=Object.assign(r,o.convertChildren(r.viewItem,r.modelCursor))),function(t,e,n,i){let r=!1;for(const o of Array.from(t.getItems({shallow:n})))i.schema.checkAttribute(o,e.key)&&(r=!0,o.hasAttribute(e.key)||i.writer.setAttribute(e.key,e.value,o));return r}(r.modelRange,{key:s,value:c},e,o)&&o.consumable.consume(r.viewItem,a.match)))}}function Fs(t,e){const n={};return n.view=t.view+"-"+e,n.model=(e,n)=>{const i=e.getAttribute("name"),r=t.model(i,n);return n.writer.createElement("$marker",{"data-name":r})},n}class Hs{constructor(t,e){this.model=t,this.view=new $a(e),this.mapper=new os,this.downcastDispatcher=new cs({mapper:this.mapper,schema:t.schema});const n=this.model.document,i=n.selection,r=this.model.markers;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(n,"change",()=>{this.view.change(t=>{this.downcastDispatcher.convertChanges(n.differ,r,t),this.downcastDispatcher.convertSelection(i,r,t)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(t,e){return(n,i)=>{const r=i.newSelection,o=[];for(const t of r.getRanges())o.push(e.toModelRange(t));const a=t.createSelection(o,{backward:r.isBackward});a.isEqual(t.document.selection)||t.change(t=>{t.setSelection(a)})}}(this.model,this.mapper)),this.downcastDispatcher.on("insert:$text",(t,e,n)=>{if(!n.consumable.consume(e.item,"insert"))return;const i=n.writer,r=n.mapper.toViewPosition(e.range.start),o=i.createText(e.item.data);i.insert(r,o)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(t,e,n)=>{const i=n.mapper.toViewPosition(e.position),r=e.position.getShiftedBy(e.length),o=n.mapper.toViewPosition(r,{isPhantom:!0}),a=n.writer.createRange(i,o),s=n.writer.remove(a.getTrimmed());for(const c of n.writer.createRangeIn(s).getItems())n.mapper.unbindViewElement(c)},{priority:"low"}),this.downcastDispatcher.on("selection",(t,e,n)=>{const i=n.writer,r=i.document.selection;for(const o of r.getRanges())o.isCollapsed&&o.end.parent.isAttached()&&n.writer.mergeAttributes(o.start);i.setSelection(null)},{priority:"low"}),this.downcastDispatcher.on("selection",(t,e,n)=>{const i=e.selection;if(i.isCollapsed)return;if(!n.consumable.consume(i,"selection"))return;const r=[];for(const o of i.getRanges()){const t=n.mapper.toViewRange(o);r.push(t)}n.writer.setSelection(r,{backward:i.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(t,e,n)=>{const i=e.selection;if(!i.isCollapsed)return;if(!n.consumable.consume(i,"selection"))return;const r=n.writer,o=i.getFirstPosition(),a=n.mapper.toViewPosition(o),s=r.breakAttributes(a);r.setSelection(s)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(t=>{if("$graveyard"==t.rootName)return null;const e=new or(this.view.document,t.name);return e.rootName=t.rootName,this.mapper.bindElements(t,e),e})}destroy(){this.view.destroy(),this.stopListening()}}Gt(Hs,Vt);class Vs{constructor(){this._commands=new Map}add(t,e){this._commands.set(t,e)}get(t){return this._commands.get(t)}execute(t,...e){const n=this.get(t);if(!n)throw new c.a("commandcollection-command-not-found",this,{commandName:t});return n.execute(...e)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const t of this.commands())t.destroy()}}class Us{constructor(){this._consumables=new Map}add(t,e){let n;t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):(this._consumables.has(t)?n=this._consumables.get(t):(n=new Ws(t),this._consumables.set(t,n)),n.add(e))}test(t,e){const n=this._consumables.get(t);return void 0===n?null:t.is("$text")||t.is("documentFragment")?n:n.test(e)}consume(t,e){return!!this.test(t,e)&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!1):this._consumables.get(t).consume(e),!0)}revert(t,e){const n=this._consumables.get(t);void 0!==n&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):n.revert(e))}static consumablesFromElement(t){const e={element:t,name:!0,attributes:[],classes:[],styles:[]},n=t.getAttributeKeys();for(const o of n)"style"!=o&&"class"!=o&&e.attributes.push(o);const i=t.getClassNames();for(const o of i)e.classes.push(o);const r=t.getStyleNames();for(const o of r)e.styles.push(o);return e}static createFrom(t,e){if(e||(e=new Us(t)),t.is("$text"))return e.add(t),e;t.is("element")&&e.add(t,Us.consumablesFromElement(t)),t.is("documentFragment")&&e.add(t);for(const n of t.getChildren())e=Us.createFrom(n,e);return e}}class Ws{constructor(t){this.element=t,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(t){t.name&&(this._canConsumeName=!0);for(const e in this._consumables)e in t&&this._add(e,t[e])}test(t){if(t.name&&!this._canConsumeName)return this._canConsumeName;for(const e in this._consumables)if(e in t){const n=this._test(e,t[e]);if(!0!==n)return n}return!0}consume(t){t.name&&(this._canConsumeName=!1);for(const e in this._consumables)e in t&&this._consume(e,t[e])}revert(t){t.name&&(this._canConsumeName=!0);for(const e in this._consumables)e in t&&this._revert(e,t[e])}_add(t,e){const n=bt(e)?e:[e],i=this._consumables[t];for(const r of n){if("attributes"===t&&("class"===r||"style"===r))throw new c.a("viewconsumable-invalid-attribute",this);if(i.set(r,!0),"styles"===t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(r))i.set(t,!0)}}_test(t,e){const n=bt(e)?e:[e],i=this._consumables[t];for(const r of n)if("attributes"!==t||"class"!==r&&"style"!==r){const t=i.get(r);if(void 0===t)return null;if(!t)return!1}else{const t="class"==r?"classes":"styles",e=this._test(t,[...this._consumables[t].keys()]);if(!0!==e)return e}return!0}_consume(t,e){const n=bt(e)?e:[e],i=this._consumables[t];for(const r of n)if("attributes"!==t||"class"!==r&&"style"!==r){if(i.set(r,!1),"styles"==t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(r))i.set(t,!1)}else{const t="class"==r?"classes":"styles";this._consume(t,[...this._consumables[t].keys()])}}_revert(t,e){const n=bt(e)?e:[e],i=this._consumables[t];for(const r of n)if("attributes"!==t||"class"!==r&&"style"!==r)!1===i.get(r)&&i.set(r,!0);else{const t="class"==r?"classes":"styles";this._revert(t,[...this._consumables[t].keys()])}}}class $s{constructor(){this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(t,e)=>{e[0]=new Xs(e[0])},{priority:"highest"}),this.on("checkChild",(t,e)=>{e[0]=new Xs(e[0]),e[1]=this.getDefinition(e[1])},{priority:"highest"})}register(t,e){if(this._sourceDefinitions[t])throw new c.a("schema-cannot-register-item-twice",this,{itemName:t});this._sourceDefinitions[t]=[Object.assign({},e)],this._clearCache()}extend(t,e){if(!this._sourceDefinitions[t])throw new c.a("schema-cannot-extend-missing-item",this,{itemName:t});this._sourceDefinitions[t].push(Object.assign({},e)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(t){let e;return e="string"==typeof t?t:t.is&&(t.is("$text")||t.is("$textProxy"))?"$text":t.name,this.getDefinitions()[e]}isRegistered(t){return!!this.getDefinition(t)}isBlock(t){const e=this.getDefinition(t);return!(!e||!e.isBlock)}isLimit(t){const e=this.getDefinition(t);return!!e&&!(!e.isLimit&&!e.isObject)}isObject(t){const e=this.getDefinition(t);return!!e&&!!(e.isObject||e.isLimit&&e.isSelectable&&e.isContent)}isInline(t){const e=this.getDefinition(t);return!(!e||!e.isInline)}isSelectable(t){const e=this.getDefinition(t);return!!e&&!(!e.isSelectable&&!e.isObject)}isContent(t){const e=this.getDefinition(t);return!!e&&!(!e.isContent&&!e.isObject)}checkChild(t,e){return!!e&&this._checkContextMatch(e,t)}checkAttribute(t,e){const n=this.getDefinition(t.last);return!!n&&n.allowAttributes.includes(e)}checkMerge(t,e=null){if(t instanceof ts){const e=t.nodeBefore,n=t.nodeAfter;if(!(e instanceof Ja))throw new c.a("schema-check-merge-no-element-before",this);if(!(n instanceof Ja))throw new c.a("schema-check-merge-no-element-after",this);return this.checkMerge(e,n)}for(const n of e.getChildren())if(!this.checkChild(t,n))return!1;return!0}addChildCheck(t){this.on("checkChild",(e,[n,i])=>{if(!i)return;const r=t(n,i);"boolean"==typeof r&&(e.stop(),e.return=r)},{priority:"high"})}addAttributeCheck(t){this.on("checkAttribute",(e,[n,i])=>{const r=t(n,i);"boolean"==typeof r&&(e.stop(),e.return=r)},{priority:"high"})}setAttributeProperties(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}getAttributeProperties(t){return this._attributeProperties[t]||{}}getLimitElement(t){let e;for(e=t instanceof ts?t.parent:(t instanceof rs?[t]:Array.from(t.getRanges())).reduce((t,e)=>{const n=e.getCommonAncestor();return t?t.getCommonAncestor(n,{includeSelf:!0}):n},null);!this.isLimit(e)&&e.parent;)e=e.parent;return e}checkAttributeInSelection(t,e){if(t.isCollapsed){const n=[...t.getFirstPosition().getAncestors(),new qa("",t.getAttributes())];return this.checkAttribute(n,e)}{const n=t.getRanges();for(const t of n)for(const n of t)if(this.checkAttribute(n.item,e))return!0}return!1}*getValidRanges(t,e){t=function*(t){for(const e of t)yield*e.getMinimalFlatRanges()}(t);for(const n of t)yield*this._getValidRangesForRange(n,e)}getNearestSelectionRange(t,e="both"){if(this.checkChild(t,"$text"))return new rs(t);let n,i;const r=t.getAncestors().reverse().find(t=>this.isLimit(t))||t.root;"both"!=e&&"backward"!=e||(n=new Ka({boundaries:rs._createIn(r),startPosition:t,direction:"backward"})),"both"!=e&&"forward"!=e||(i=new Ka({boundaries:rs._createIn(r),startPosition:t}));for(const o of function*(t,e){let n=!1;for(;!n;){if(n=!0,t){const e=t.next();e.done||(n=!1,yield{walker:t,value:e.value})}if(e){const t=e.next();t.done||(n=!1,yield{walker:e,value:t.value})}}}(n,i)){const t=o.walker==n?"elementEnd":"elementStart",e=o.value;if(e.type==t&&this.isObject(e.item))return rs._createOn(e.item);if(this.checkChild(e.nextPosition,"$text"))return new rs(e.nextPosition)}return null}findAllowedParent(t,e){let n=t.parent;for(;n;){if(this.checkChild(n,e))return n;if(this.isLimit(n))return null;n=n.parent}return null}removeDisallowedAttributes(t,e){for(const n of t)if(n.is("$text"))rc(this,n,e);else{const t=rs._createIn(n).getPositions();for(const n of t)rc(this,n.nodeBefore||n.parent,e)}}createContext(t){return new Xs(t)}_clearCache(){this._compiledDefinitions=null}_compile(){const t={},e=this._sourceDefinitions,n=Object.keys(e);for(const i of n)t[i]=qs(e[i],i);for(const i of n)Gs(t,i);for(const i of n)Zs(t,i);for(const i of n)Js(t,i),Ks(t,i);for(const i of n)Qs(t,i),tc(t,i);this._compiledDefinitions=t}_checkContextMatch(t,e,n=e.length-1){const i=e.getItem(n);if(t.allowIn.includes(i.name)){if(0==n)return!0;{const t=this.getDefinition(i);return this._checkContextMatch(t,e,n-1)}}return!1}*_getValidRangesForRange(t,e){let n=t.start,i=t.start;for(const r of t.getItems({shallow:!0}))r.is("element")&&(yield*this._getValidRangesForRange(rs._createIn(r),e)),this.checkAttribute(r,e)||(n.isEqual(i)||(yield new rs(n,i)),n=ts._createAfter(r)),i=ts._createAfter(r);n.isEqual(i)||(yield new rs(n,i))}}Gt($s,Vt);class Xs{constructor(t){if(t instanceof Xs)return t;"string"==typeof t?t=[t]:Array.isArray(t)||(t=t.getAncestors({includeSelf:!0})),this._items=t.map(ic)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(t){const e=new Xs([t]);return e._items=[...this._items,...e._items],e}getItem(t){return this._items[t]}*getNames(){yield*this._items.map(t=>t.name)}endsWith(t){return Array.from(this.getNames()).join(" ").endsWith(t)}startsWith(t){return Array.from(this.getNames()).join(" ").startsWith(t)}}function qs(t,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],inheritTypesFrom:[]};return function(t,e){for(const n of t){const t=Object.keys(n).filter(t=>t.startsWith("is"));for(const i of t)e[i]=n[i]}}(t,n),ec(t,n,"allowIn"),ec(t,n,"allowContentOf"),ec(t,n,"allowWhere"),ec(t,n,"allowAttributes"),ec(t,n,"allowAttributesOf"),ec(t,n,"inheritTypesFrom"),function(t,e){for(const n of t){const t=n.inheritAllFrom;t&&(e.allowContentOf.push(t),e.allowWhere.push(t),e.allowAttributesOf.push(t),e.inheritTypesFrom.push(t))}}(t,n),n}function Gs(t,e){for(const n of t[e].allowContentOf)t[n]&&nc(t,n).forEach(t=>{t.allowIn.push(e)});delete t[e].allowContentOf}function Zs(t,e){for(const n of t[e].allowWhere){const i=t[n];if(i){const n=i.allowIn;t[e].allowIn.push(...n)}}delete t[e].allowWhere}function Js(t,e){for(const n of t[e].allowAttributesOf){const i=t[n];if(i){const n=i.allowAttributes;t[e].allowAttributes.push(...n)}}delete t[e].allowAttributesOf}function Ks(t,e){const n=t[e];for(const i of n.inheritTypesFrom){const e=t[i];if(e){const t=Object.keys(e).filter(t=>t.startsWith("is"));for(const i of t)i in n||(n[i]=e[i])}}delete n.inheritTypesFrom}function Qs(t,e){const n=t[e],i=n.allowIn.filter(e=>t[e]);n.allowIn=Array.from(new Set(i))}function tc(t,e){const n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function ec(t,e,n){for(const i of t)"string"==typeof i[n]?e[n].push(i[n]):Array.isArray(i[n])&&e[n].push(...i[n])}function nc(t,e){const n=t[e];return(i=t,Object.keys(i).map(t=>i[t])).filter(t=>t.allowIn.includes(n.name));var i}function ic(t){return"string"==typeof t||t.is("documentFragment")?{name:"string"==typeof t?t:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:t.is("element")?t.name:"$text",*getAttributeKeys(){yield*t.getAttributeKeys()},getAttribute:e=>t.getAttribute(e)}}function rc(t,e,n){for(const i of e.getAttributeKeys())t.checkAttribute(e,i)||n.removeAttribute(i,e)}class oc{constructor(t={}){this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this.conversionApi=Object.assign({},t),this.conversionApi.convertItem=this._convertItem.bind(this),this.conversionApi.convertChildren=this._convertChildren.bind(this),this.conversionApi.safeInsert=this._safeInsert.bind(this),this.conversionApi.updateConversionResult=this._updateConversionResult.bind(this),this.conversionApi.splitToAllowedParent=this._splitToAllowedParent.bind(this),this.conversionApi.getSplitParts=this._getSplitParts.bind(this)}convert(t,e,n=["$root"]){this.fire("viewCleanup",t),this._modelCursor=function(t,e){let n;for(const i of new Xs(t)){const t={};for(const e of i.getAttributeKeys())t[e]=i.getAttribute(e);const r=e.createElement(i.name,t);n&&e.append(r,n),n=ts._createAt(r,0)}return n}(n,e),this.conversionApi.writer=e,this.conversionApi.consumable=Us.createFrom(t),this.conversionApi.store={};const{modelRange:i}=this._convertItem(t,this._modelCursor),r=e.createDocumentFragment();if(i){this._removeEmptyElements();for(const t of Array.from(this._modelCursor.parent.getChildren()))e.append(t,r);r.markers=function(t,e){const n=new Set,i=new Map,r=rs._createIn(t).getItems();for(const o of r)"$marker"==o.name&&n.add(o);for(const o of n){const t=o.getAttribute("data-name"),n=e.createPositionBefore(o);i.has(t)?i.get(t).end=n.clone():i.set(t,new rs(n.clone())),e.remove(o)}return i}(r,e)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,r}_convertItem(t,e){const n=Object.assign({viewItem:t,modelCursor:e,modelRange:null});if(t.is("element")?this.fire("element:"+t.name,n,this.conversionApi):t.is("$text")?this.fire("text",n,this.conversionApi):this.fire("documentFragment",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof rs))throw new c.a("view-conversion-dispatcher-incorrect-result",this);return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(t,e){let n=e.is("position")?e:ts._createAt(e,0);const i=new rs(n);for(const r of Array.from(t.getChildren())){const t=this._convertItem(r,n);t.modelRange instanceof rs&&(i.end=t.modelRange.end,n=t.modelCursor)}return{modelRange:i,modelCursor:n}}_safeInsert(t,e){const n=this._splitToAllowedParent(t,e);return!!n&&(this.conversionApi.writer.insert(t,n.position),!0)}_updateConversionResult(t,e){const n=this._getSplitParts(t),i=this.conversionApi.writer;e.modelRange||(e.modelRange=i.createRange(i.createPositionBefore(t),i.createPositionAfter(n[n.length-1])));const r=this._cursorParents.get(t);e.modelCursor=r?i.createPositionAt(r,0):e.modelRange.end}_splitToAllowedParent(t,e){const{schema:n,writer:i}=this.conversionApi;let r=n.findAllowedParent(e,t);if(r){if(r===e.parent)return{position:e};this._modelCursor.parent.getAncestors().includes(r)&&(r=null)}if(!r)return Ds(e,t,n)?{position:js(e,i)}:null;const o=this.conversionApi.writer.split(e,r),a=[];for(const c of o.range.getWalker())if("elementEnd"==c.type)a.push(c.item);else{const t=a.pop(),e=c.item;this._registerSplitPair(t,e)}const s=o.range.end.parent;return this._cursorParents.set(t,s),{position:o.position,cursorParent:s}}_registerSplitPair(t,e){this._splitParts.has(t)||this._splitParts.set(t,[t]);const n=this._splitParts.get(t);this._splitParts.set(e,n),n.push(e)}_getSplitParts(t){let e;return e=this._splitParts.has(t)?this._splitParts.get(t):[t],e}_removeEmptyElements(){let t=!1;
457for(const e of this._splitParts.keys())e.isEmpty&&(this.conversionApi.writer.remove(e),this._splitParts.delete(e),t=!0);t&&this._removeEmptyElements()}}Gt(oc,d);class ac{getHtml(t){const e=document.implementation.createHTMLDocument("").createElement("div");return e.appendChild(t),e.innerHTML}}class sc{constructor(t){this._domParser=new DOMParser,this._domConverter=new So(t,{blockFillerMode:"nbsp"}),this._htmlWriter=new ac}toData(t){const e=this._domConverter.viewToDom(t,document);return this._htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this._domConverter.domToView(e)}registerRawContentMatcher(t){this._domConverter.registerRawContentMatcher(t)}useFillerType(t){this._domConverter.blockFillerMode="marked"==t?"markedNbsp":"nbsp"}_toDom(t){const e=this._domParser.parseFromString(t,"text/html"),n=e.createDocumentFragment(),i=e.body.childNodes;for(;i.length>0;)n.appendChild(i[0]);return n}}class cc{constructor(t,e){this.model=t,this.mapper=new os,this.downcastDispatcher=new cs({mapper:this.mapper,schema:t.schema}),this.downcastDispatcher.on("insert:$text",(t,e,n)=>{if(!n.consumable.consume(e.item,"insert"))return;const i=n.writer,r=n.mapper.toViewPosition(e.range.start),o=i.createText(e.item.data);i.insert(r,o)},{priority:"lowest"}),this.upcastDispatcher=new oc({schema:t.schema}),this.viewDocument=new br(e),this.stylesProcessor=e,this.htmlProcessor=new sc(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Vr(this.viewDocument),this.upcastDispatcher.on("text",(t,e,{schema:n,consumable:i,writer:r})=>{let o=e.modelCursor;if(!i.test(e.viewItem))return;if(!n.checkChild(o,"$text")){if(!Ds(o,"$text",n))return;o=js(o,r)}i.consume(e.viewItem);const a=r.createText(e.viewItem.data);r.insert(a,o),e.modelRange=r.createRange(o,o.getShiftedBy(a.offsetSize)),e.modelCursor=e.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=i}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=i}},{priority:"lowest"}),this.decorate("init"),this.decorate("set"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange("transparent",Ps)},{priority:"lowest"})}get(t={}){const{rootName:e="main",trim:n="empty"}=t;if(!this._checkIfRootsExists([e]))throw new c.a("datacontroller-get-non-existent-root",this);const i=this.model.document.getRoot(e);return"empty"!==n||this.model.hasContent(i,{ignoreWhitespaces:!0})?this.stringify(i,t):""}stringify(t,e={}){const n=this.toView(t,e);return this.processor.toData(n)}toView(t,e={}){const n=this.viewDocument,i=this._viewWriter;this.mapper.clearBindings();const r=rs._createIn(t),o=new Hr(n);this.mapper.bindElements(t,o),this.downcastDispatcher.conversionApi.options=e,this.downcastDispatcher.convertInsert(r,i);const a=t.is("documentFragment")?Array.from(t.markers):function(t){const e=[],n=t.root.document;if(!n)return[];const i=rs._createIn(t);for(const r of n.model.markers){const t=i.getIntersection(r.getRange());t&&e.push([r.name,t])}return e}(t);for(const[s,c]of a)this.downcastDispatcher.convertMarkerAdd(s,c,i);return delete this.downcastDispatcher.conversionApi.options,o}init(t){if(this.model.document.version)throw new c.a("datacontroller-init-document-not-empty",this);let e={};if("string"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new c.a("datacontroller-init-non-existent-root",this);return this.model.enqueueChange("transparent",t=>{for(const n of Object.keys(e)){const i=this.model.document.getRoot(n);t.insert(this.parse(e[n],i),i,0)}}),Promise.resolve()}set(t){let e={};if("string"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new c.a("datacontroller-set-non-existent-root",this);
vendor: 5,355 bytes, line 457
457this.model.enqueueChange("transparent",t=>{t.setSelection(null),t.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const n of Object.keys(e)){const i=this.model.document.getRoot(n);t.remove(t.createRangeIn(i)),t.insert(this.parse(e[n],i),i,0)}})}parse(t,e="$root"){const n=this.processor.toView(t);return this.toModel(n,e)}toModel(t,e="$root"){return this.model.change(n=>this.upcastDispatcher.convert(t,n,e))}addStyleProcessorRules(t){t(this.stylesProcessor)}registerRawContentMatcher(t){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(t),this.htmlProcessor.registerRawContentMatcher(t)}destroy(){this.stopListening()}_checkIfRootsExists(t){for(const e of t)if(!this.model.document.getRootNames().includes(e))return!1;return!0}}Gt(cc,Vt);class lc{constructor(t,e){this._helpers=new Map,this._downcast=ei(t),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=ei(e),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(t,e){const n=this._downcast.includes(e);if(!this._upcast.includes(e)&&!n)throw new c.a("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n})}for(t){if(!this._helpers.has(t))throw new c.a("conversion-for-unknown-group",this);return this._helpers.get(t)}elementToElement(t){this.for("downcast").elementToElement(t);for(const{model:e,view:n}of uc(t))this.for("upcast").elementToElement({model:e,view:n,converterPriority:t.converterPriority})}attributeToElement(t){this.for("downcast").attributeToElement(t);for(const{model:e,view:n}of uc(t))this.for("upcast").elementToAttribute({view:n,model:e,converterPriority:t.converterPriority})}attributeToAttribute(t){this.for("downcast").attributeToAttribute(t);for(const{model:e,view:n}of uc(t))this.for("upcast").attributeToAttribute({view:n,model:e})}_createConversionHelpers({name:t,dispatchers:e,isDowncast:n}){if(this._helpers.has(t))throw new c.a("conversion-group-exists",this);const i=n?new Ms(e):new Is(e);this._helpers.set(t,i)}}function*uc(t){if(t.model.values)for(const e of t.model.values){const n={key:t.model.key,value:e},i=t.view[e],r=t.upcastAlso?t.upcastAlso[e]:void 0;yield*dc(n,i,r)}else yield*dc(t.model,t.view,t.upcastAlso)}function*dc(t,e,n){if(yield{model:t,view:e},n)for(const i of ei(n))yield{model:t,view:i}}class hc{constructor(t="default"){this.operations=[],this.type=t}get baseVersion(){for(const t of this.operations)if(null!==t.baseVersion)return t.baseVersion;return null}addOperation(t){return t.batch=this,this.operations.push(t),t}}class fc{constructor(t){this.baseVersion=t,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t}static get className(){return"Operation"}static fromJSON(t){return new this(t.baseVersion)}}class pc{constructor(t){this.markers=new Map,this._children=new Za,t&&this._insertChild(0,t)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}is(t){return"documentFragment"===t||"model:documentFragment"===t}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}getPath(){return[]}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}offsetToIndex(t){return this._children.offsetToIndex(t)}toJSON(){const t=[];for(const e of this._children)t.push(e.toJSON());return t}static fromJSON(t){const e=[];for(const n of t)n.name?e.push(Ja.fromJSON(n)):e.push(qa.fromJSON(n));return new pc(e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){return"string"==typeof t?[new qa(t)]:(Kn(t)||(t=[t]),Array.from(t).map(t=>"string"==typeof t?new qa(t):t instanceof Ga?new qa(t.data,t.getAttributes()):t))}(e);for(const i of n)null!==i.parent&&i._remove(),i.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const i of n)i.parent=null;return n}}function mc(t,e){const n=(e=_c(e)).reduce((t,e)=>t+e.offsetSize,0),i=t.parent;bc(t);const r=t.index;return i._insertChild(r,e),yc(i,r+e.length),yc(i,r),new rs(t,t.getShiftedBy(n))}function gc(t){if(!t.isFlat)throw new c.a("operation-utils-remove-range-not-flat",this);const e=t.start.parent;bc(t.start),bc(t.end);const n=e._removeChildren(t.start.index,t.end.index-t.start.index);return yc(e,t.start.index),n}function vc(t,e){if(!t.isFlat)throw new c.a("operation-utils-move-range-not-flat",this);const n=gc(t);return mc(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),n)}function _c(t){const e=[];t instanceof Array||(t=[t]);for(let n=0;n<t.length;n++)if("string"==typeof t[n])e.push(new qa(t[n]));else if(t[n]instanceof Ga)e.push(new qa(t[n].data,t[n].getAttributes()));else if(t[n]instanceof pc||t[n]instanceof Za)for(const i of t[n])e.push(i);else t[n]instanceof Xa&&e.push(t[n]);for(let n=1;n<e.length;
vendor: 13,341 bytes, line 457
457n++){const t=e[n],i=e[n-1];t instanceof qa&&i instanceof qa&&wc(t,i)&&(e.splice(n-1,2,new qa(i.data+t.data,i.getAttributes())),n--)}return e}function yc(t,e){const n=t.getChild(e-1),i=t.getChild(e);if(n&&i&&n.is("$text")&&i.is("$text")&&wc(n,i)){const r=new qa(n.data+i.data,n.getAttributes());t._removeChildren(e-1,2),t._insertChild(e-1,r)}}function bc(t){const e=t.textNode,n=t.parent;if(e){const i=t.offset-e.startOffset,r=e.index;n._removeChildren(r,1);const o=new qa(e.data.substr(0,i),e.getAttributes()),a=new qa(e.data.substr(i),e.getAttributes());n._insertChild(r,[o,a])}}function wc(t,e){const n=t.getAttributes(),i=e.getAttributes();for(const r of n){if(r[1]!==e.getAttribute(r[0]))return!1;i.next()}return i.next().done}var kc=function(t,e){return Jo(t,e)};class xc extends fc{constructor(t,e,n,i,r){super(r),this.range=t.clone(),this.key=e,this.oldValue=void 0===n?null:n,this.newValue=void 0===i?null:i}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}clone(){return new xc(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new xc(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const t=super.toJSON();return t.range=this.range.toJSON(),t}_validate(){if(!this.range.isFlat)throw new c.a("attribute-operation-range-not-flat",this);for(const t of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!kc(t.getAttribute(this.key),this.oldValue))throw new c.a("attribute-operation-wrong-old-value",this,{item:t,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&t.hasAttribute(this.key))throw new c.a("attribute-operation-attribute-exists",this,{node:t,key:this.key})}}_execute(){kc(this.oldValue,this.newValue)||function(t,e,n){bc(t.start),bc(t.end);for(const i of t.getItems({shallow:!0})){const t=i.is("$textProxy")?i.textNode:i;null!==n?t._setAttribute(e,n):t._removeAttribute(e),yc(t.parent,t.index)}yc(t.end.parent,t.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(t,e){return new xc(rs.fromJSON(t.range,e),t.key,t.oldValue,t.newValue,t.baseVersion)}}class Tc extends fc{constructor(t,e){super(null),this.sourcePosition=t.clone(),this.howMany=e}get type(){return"detach"}toJSON(){const t=super.toJSON();return t.sourcePosition=this.sourcePosition.toJSON(),t}_validate(){if(this.sourcePosition.root.document)throw new c.a("detach-operation-on-document-node",this)}_execute(){gc(rs._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Mc extends fc{constructor(t,e,n,i){super(i),this.sourcePosition=t.clone(),this.sourcePosition.stickiness="toNext",this.howMany=e,this.targetPosition=n.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const t=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new this.constructor(this.getMovedRangeStart(),this.howMany,t,this.baseVersion+1)}_validate(){const t=this.sourcePosition.parent,e=this.targetPosition.parent,n=this.sourcePosition.offset,i=this.targetPosition.offset;if(n+this.howMany>t.maxOffset)throw new c.a("move-operation-nodes-do-not-exist",this);if(t===e&&n<i&&i<n+this.howMany)throw new c.a("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==ci(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const t=this.sourcePosition.path.length-1;if(this.targetPosition.path[t]>=n&&this.targetPosition.path[t]<n+this.howMany)throw new c.a("move-operation-node-into-itself",this)}}_execute(){vc(rs._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const t=super.toJSON();return t.sourcePosition=this.sourcePosition.toJSON(),t.targetPosition=this.targetPosition.toJSON(),t}static get className(){return"MoveOperation"}static fromJSON(t,e){const n=ts.fromJSON(t.sourcePosition,e),i=ts.fromJSON(t.targetPosition,e);return new this(n,t.howMany,i,t.baseVersion)}}class Sc extends fc{constructor(t,e,n){super(n),this.position=t.clone(),this.position.stickiness="toNone",this.nodes=new Za(_c(e)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}clone(){const t=new Za([...this.nodes].map(t=>t._clone(!0))),e=new Sc(this.position,t,this.baseVersion);return e.shouldReceiveAttributes=this.shouldReceiveAttributes,e}getReversed(){const t=this.position.root.document.graveyard,e=new ts(t,[0]);return new Mc(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}_validate(){const t=this.position.parent;if(!t||t.maxOffset<this.position.offset)throw new c.a("insert-operation-position-invalid",this)}_execute(){const t=this.nodes;this.nodes=new Za([...t].map(t=>t._clone(!0))),mc(this.position,t)}toJSON(){const t=super.toJSON();return t.position=this.position.toJSON(),t.nodes=this.nodes.toJSON(),t}static get className(){return"InsertOperation"}static fromJSON(t,e){const n=[];for(const r of t.nodes)r.name?n.push(Ja.fromJSON(r)):n.push(qa.fromJSON(r));const i=new Sc(ts.fromJSON(t.position,e),n,t.baseVersion);return i.shouldReceiveAttributes=t.shouldReceiveAttributes,i}}class Cc extends fc{constructor(t,e,n,i,r,o){super(o),this.name=t,this.oldRange=e?e.clone():null,this.newRange=n?n.clone():null,this.affectsData=r,this._markers=i}get type(){return"marker"}clone(){return new Cc(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new Cc(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){const t=this.newRange?"_set":"_remove";this._markers[t](this.name,this.newRange,!0,this.affectsData)}toJSON(){const t=super.toJSON();return this.oldRange&&(t.oldRange=this.oldRange.toJSON()),this.newRange&&(t.newRange=this.newRange.toJSON()),delete t._markers,t}static get className(){return"MarkerOperation"}static fromJSON(t,e){return new Cc(t.name,t.oldRange?rs.fromJSON(t.oldRange,e):null,t.newRange?rs.fromJSON(t.newRange,e):null,e.model.markers,t.affectsData,t.baseVersion)}}class Ec extends fc{constructor(t,e,n,i){super(i),this.position=t,this.position.stickiness="toNext",this.oldName=e,this.newName=n}get type(){return"rename"}clone(){return new Ec(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new Ec(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const t=this.position.nodeAfter;if(!(t instanceof Ja))throw new c.a("rename-operation-wrong-position",this);if(t.name!==this.oldName)throw new c.a("rename-operation-wrong-name",this)}_execute(){this.position.nodeAfter.name=this.newName}toJSON(){const t=super.toJSON();return t.position=this.position.toJSON(),t}static get className(){return"RenameOperation"}static fromJSON(t,e){return new Ec(ts.fromJSON(t.position,e),t.oldName,t.newName,t.baseVersion)}}class Lc extends fc{constructor(t,e,n,i,r){super(r),this.root=t,this.key=e,this.oldValue=n,this.newValue=i}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}clone(){return new Lc(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Lc(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new c.a("rootattribute-operation-not-a-root",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new c.a("rootattribute-operation-wrong-old-value",this,{root:this.root,key:this.key});if(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new c.a("rootattribute-operation-attribute-exists",this,{root:this.root,key:this.key})}_execute(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const t=super.toJSON();return t.root=this.root.toJSON(),t}static get className(){return"RootAttributeOperation"}static fromJSON(t,e){if(!e.getRoot(t.root))throw new c.a("rootattribute-operation-fromjson-no-root",this,{rootName:t.root});return new Lc(e.getRoot(t.root),t.key,t.oldValue,t.newValue,t.baseVersion)}}class Ac extends fc{constructor(t,e,n,i,r){super(r),this.sourcePosition=t.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=e,this.targetPosition=n.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=i.clone()}get type(){return"merge"}get deletionPosition(){return new ts(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const t=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new rs(this.sourcePosition,t)}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.targetPosition._getTransformedByMergeOperation(this),e=this.sourcePosition.path.slice(0,-1),n=new ts(this.sourcePosition.root,e)._getTransformedByMergeOperation(this);return new Oc(t,this.howMany,n,this.graveyardPosition,this.baseVersion+1)}_validate(){const t=this.sourcePosition.parent,e=this.targetPosition.parent;if(!t.parent)throw new c.a("merge-operation-source-position-invalid",this);if(!e.parent)throw new c.a("merge-operation-target-position-invalid",this);if(this.howMany!=t.maxOffset)throw new c.a("merge-operation-how-many-invalid",this)}_execute(){const t=this.sourcePosition.parent;vc(rs._createIn(t),this.targetPosition),vc(rs._createOn(t),this.graveyardPosition)}toJSON(){const t=super.toJSON();return t.sourcePosition=t.sourcePosition.toJSON(),t.targetPosition=t.targetPosition.toJSON(),t.graveyardPosition=t.graveyardPosition.toJSON(),t}static get className(){return"MergeOperation"}static fromJSON(t,e){const n=ts.fromJSON(t.sourcePosition,e),i=ts.fromJSON(t.targetPosition,e),r=ts.fromJSON(t.graveyardPosition,e);return new this(n,t.howMany,i,r,t.baseVersion)}}class Oc extends fc{constructor(t,e,n,i,r){super(r),this.splitPosition=t.clone(),this.splitPosition.stickiness="toNext",this.howMany=e,this.insertionPosition=n,this.graveyardPosition=i?i.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const t=this.insertionPosition.path.slice();return t.push(0),new ts(this.insertionPosition.root,t)}get movedRange(){const t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new rs(this.splitPosition,t)}clone(){return new this.constructor(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.splitPosition.root.document.graveyard,e=new ts(t,[0]);return new Ac(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}_validate(){const t=this.splitPosition.parent,e=this.splitPosition.offset;if(!t||t.maxOffset<e)throw new c.a("split-operation-position-invalid",this);if(!t.parent)throw new c.a("split-operation-split-in-root",this);if(this.howMany!=t.maxOffset-this.splitPosition.offset)throw new c.a("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new c.a("split-operation-graveyard-position-invalid",this)}_execute(){const t=this.splitPosition.parent;if(this.graveyardPosition)vc(rs._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const e=t._clone();mc(this.insertionPosition,e)}vc(new rs(ts._createAt(t,this.splitPosition.offset),ts._createAt(t,t.maxOffset)),this.moveTargetPosition)}toJSON(){const t=super.toJSON();return t.splitPosition=this.splitPosition.toJSON(),t.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(t.graveyardPosition=this.graveyardPosition.toJSON()),t}static get className(){return"SplitOperation"}static getInsertionPosition(t){const e=t.path.slice(0,-1);return e[e.length-1]++,new ts(t.root,e,"toPrevious")}static fromJSON(t,e){const n=ts.fromJSON(t.splitPosition,e),i=ts.fromJSON(t.insertionPosition,e),r=t.graveyardPosition?ts.fromJSON(t.graveyardPosition,e):null;return new this(n,t.howMany,i,r,t.baseVersion)}}class Pc extends Ja{constructor(t,e,n="main"){super(e),this._document=t,this.rootName=n}get document(){return this._document}is(t,e){return e?e===this.name&&("rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t):"rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t||"node"===t||"model:node"===t}toJSON(){return this.rootName}}class Dc{constructor(t,e){this.model=t,this.batch=e}createText(t,e){return new qa(t,e)}createElement(t,e){return new Ja(t,e)}createDocumentFragment(){return new pc}cloneElement(t,e=!0){return t._clone(e)}insert(t,e,n=0){if(this._assertWriterUsedCorrectly(),t instanceof qa&&""==t.data)return;const i=ts._createAt(e,n);if(t.parent){if(Yc(t.root,i.root))return void this.move(rs._createOn(t),i);
vendor: 32,239 bytes, line 457
457if(t.root.document)throw new c.a("model-writer-insert-forbidden-move",this);this.remove(t)}const r=i.root.document?i.root.document.version:null,o=new Sc(i,t,r);if(t instanceof qa&&(o.shouldReceiveAttributes=!0),this.batch.addOperation(o),this.model.applyOperation(o),t instanceof pc)for(const[a,s]of t.markers){const t=ts._createAt(s.root,0),e={range:new rs(s.start._getCombined(t,i),s.end._getCombined(t,i)),usingOperation:!0,affectsData:!0};this.model.markers.has(a)?this.updateMarker(a,e):this.addMarker(a,e)}}insertText(t,e,n,i){e instanceof pc||e instanceof Ja||e instanceof ts?this.insert(this.createText(t),e,n):this.insert(this.createText(t,e),n,i)}insertElement(t,e,n,i){e instanceof pc||e instanceof Ja||e instanceof ts?this.insert(this.createElement(t),e,n):this.insert(this.createElement(t,e),n,i)}append(t,e){this.insert(t,e,"end")}appendText(t,e,n){e instanceof pc||e instanceof Ja?this.insert(this.createText(t),e,"end"):this.insert(this.createText(t,e),n,"end")}appendElement(t,e,n){e instanceof pc||e instanceof Ja?this.insert(this.createElement(t),e,"end"):this.insert(this.createElement(t,e),n,"end")}setAttribute(t,e,n){if(this._assertWriterUsedCorrectly(),n instanceof rs){const i=n.getMinimalFlatRanges();for(const n of i)jc(this,t,e,n)}else Ic(this,t,e,n)}setAttributes(t,e){for(const[n,i]of fi(t))this.setAttribute(n,i,e)}removeAttribute(t,e){if(this._assertWriterUsedCorrectly(),e instanceof rs){const n=e.getMinimalFlatRanges();for(const e of n)jc(this,t,null,e)}else Ic(this,t,null,e)}clearAttributes(t){this._assertWriterUsedCorrectly();const e=t=>{for(const e of t.getAttributeKeys())this.removeAttribute(e,t)};if(t instanceof rs)for(const n of t.getItems())e(n);else e(t)}move(t,e,n){if(this._assertWriterUsedCorrectly(),!(t instanceof rs))throw new c.a("writer-move-invalid-range",this);if(!t.isFlat)throw new c.a("writer-move-range-not-flat",this);const i=ts._createAt(e,n);if(i.isEqual(t.start))return;if(this._addOperationForAffectedMarkers("move",t),!Yc(t.root,i.root))throw new c.a("writer-move-different-document",this);const r=t.root.document?t.root.document.version:null,o=new Mc(t.start,t.end.offset-t.start.offset,i,r);this.batch.addOperation(o),this.model.applyOperation(o)}remove(t){this._assertWriterUsedCorrectly();const e=(t instanceof rs?t:rs._createOn(t)).getMinimalFlatRanges().reverse();for(const n of e)this._addOperationForAffectedMarkers("move",n),Nc(n.start,n.end.offset-n.start.offset,this.batch,this.model)}merge(t){this._assertWriterUsedCorrectly();const e=t.nodeBefore,n=t.nodeAfter;if(this._addOperationForAffectedMarkers("merge",t),!(e instanceof Ja))throw new c.a("writer-merge-no-element-before",this);if(!(n instanceof Ja))throw new c.a("writer-merge-no-element-after",this);t.root.document?this._merge(t):this._mergeDetached(t)}createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n)}createPositionAt(t,e){return this.model.createPositionAt(t,e)}createPositionAfter(t){return this.model.createPositionAfter(t)}createPositionBefore(t){return this.model.createPositionBefore(t)}createRange(t,e){return this.model.createRange(t,e)}createRangeIn(t){return this.model.createRangeIn(t)}createRangeOn(t){return this.model.createRangeOn(t)}createSelection(t,e,n){return this.model.createSelection(t,e,n)}_mergeDetached(t){const e=t.nodeBefore,n=t.nodeAfter;this.move(rs._createIn(n),ts._createAt(e,"end")),this.remove(n)}_merge(t){const e=ts._createAt(t.nodeBefore,"end"),n=ts._createAt(t.nodeAfter,0),i=t.root.document.graveyard,r=new ts(i,[0]),o=t.root.document.version,a=new Ac(n,t.nodeAfter.maxOffset,e,r,o);this.batch.addOperation(a),this.model.applyOperation(a)}rename(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof Ja))throw new c.a("writer-rename-not-element-instance",this);const n=t.root.document?t.root.document.version:null,i=new Ec(ts._createBefore(t),t.name,e,n);this.batch.addOperation(i),this.model.applyOperation(i)}split(t,e){this._assertWriterUsedCorrectly();let n,i,r=t.parent;if(!r.parent)throw new c.a("writer-split-element-no-parent",this);if(e||(e=r.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new c.a("writer-split-invalid-limit-element",this);do{const e=r.root.document?r.root.document.version:null,o=r.maxOffset-t.offset,a=Oc.getInsertionPosition(t),s=new Oc(t,o,a,null,e);this.batch.addOperation(s),this.model.applyOperation(s),n||i||(n=r,i=t.parent.nextSibling),r=(t=this.createPositionAfter(t.parent)).parent}while(r!==e);return{position:t,range:new rs(ts._createAt(n,"end"),ts._createAt(i,0))}}wrap(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new c.a("writer-wrap-range-not-flat",this);const n=e instanceof Ja?e:new Ja(e);if(n.childCount>0)throw new c.a("writer-wrap-element-not-empty",this);if(null!==n.parent)throw new c.a("writer-wrap-element-attached",this);this.insert(n,t.start);const i=new rs(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(i,ts._createAt(n,0))}unwrap(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new c.a("writer-unwrap-element-no-parent",this);this.move(rs._createIn(t),this.createPositionAfter(t)),this.remove(t)}addMarker(t,e){if(this._assertWriterUsedCorrectly(),!e||"boolean"!=typeof e.usingOperation)throw new c.a("writer-addmarker-no-usingoperation",this);const n=e.usingOperation,i=e.range,r=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new c.a("writer-addmarker-marker-exists",this);if(!i)throw new c.a("writer-addmarker-no-range",this);return n?(Rc(this,t,null,i,r),this.model.markers.get(t)):this.model.markers._set(t,i,n,r)}updateMarker(t,e){this._assertWriterUsedCorrectly();const n="string"==typeof t?t:t.name,i=this.model.markers.get(n);if(!i)throw new c.a("writer-updatemarker-marker-not-exists",this);if(!e)return void this.model.markers._refresh(i);const r="boolean"==typeof e.usingOperation,o="boolean"==typeof e.affectsData,a=o?e.affectsData:i.affectsData;if(!r&&!e.range&&!o)throw new c.a("writer-updatemarker-wrong-options",this);const s=i.getRange(),l=e.range?e.range:s;r&&e.usingOperation!==i.managedUsingOperations?e.usingOperation?Rc(this,n,null,l,a):(Rc(this,n,s,null,a),this.model.markers._set(n,l,void 0,a)):i.managedUsingOperations?Rc(this,n,s,l,a):this.model.markers._set(n,l,void 0,a)}removeMarker(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new c.a("writer-removemarker-no-marker",this);const n=this.model.markers.get(e);n.managedUsingOperations?Rc(this,e,n.getRange(),null,n.affectsData):this.model.markers._remove(e)}setSelection(t,e,n){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(t,e,n)}setSelectionFocus(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e)}setSelectionAttribute(t,e){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._setSelectionAttribute(t,e);else for(const[n,i]of fi(t))this._setSelectionAttribute(n,i)}removeSelectionAttribute(t){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._removeSelectionAttribute(t);else for(const e of t)this._removeSelectionAttribute(e)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t)}_setSelectionAttribute(t,e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const i=bs._getStoreAttributeKey(t);this.setAttribute(i,e,n.anchor.parent)}n._setAttribute(t,e)}_removeSelectionAttribute(t){const e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){const n=bs._getStoreAttributeKey(t);this.removeAttribute(n,e.anchor.parent)}e._removeAttribute(t)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new c.a("writer-incorrect-use",this)}_addOperationForAffectedMarkers(t,e){for(const n of this.model.markers){if(!n.managedUsingOperations)continue;const i=n.getRange();let r=!1;if("move"===t)r=e.containsPosition(i.start)||e.start.isEqual(i.start)||e.containsPosition(i.end)||e.end.isEqual(i.end);else{const t=e.nodeBefore,n=e.nodeAfter,o=i.start.parent==t&&i.start.isAtEnd,a=i.end.parent==n&&0==i.end.offset,s=i.end.nodeAfter==n,c=i.start.nodeAfter==n;r=o||a||s||c}r&&this.updateMarker(n.name,{range:i})}}}function jc(t,e,n,i){const r=t.model,o=r.document;let a,s,c,l=i.start;for(const d of i.getWalker({shallow:!0}))c=d.item.getAttribute(e),a&&s!=c&&(s!=n&&u(),l=a),a=d.nextPosition,s=c;function u(){const i=new rs(l,a),c=i.root.document?o.version:null,u=new xc(i,e,s,n,c);t.batch.addOperation(u),r.applyOperation(u)}a instanceof ts&&a!=l&&s!=n&&u()}function Ic(t,e,n,i){const r=t.model,o=r.document,a=i.getAttribute(e);let s,c;if(a!=n){if(i.root===i){const t=i.document?o.version:null;c=new Lc(i,e,a,n,t)}else{s=new rs(ts._createBefore(i),t.createPositionAfter(i));const r=s.root.document?o.version:null;c=new xc(s,e,a,n,r)}t.batch.addOperation(c),r.applyOperation(c)}}function Rc(t,e,n,i,r){const o=t.model,a=o.document,s=new Cc(e,n,i,o.markers,r,a.version);t.batch.addOperation(s),o.applyOperation(s)}function Nc(t,e,n,i){let r;if(t.root.document){const n=i.document,o=new ts(n.graveyard,[0]);r=new Mc(t,e,o,n.version)}else r=new Tc(t,e);n.addOperation(r),i.applyOperation(r)}function Yc(t,e){return t===e||t instanceof Pc&&e instanceof Pc}class zc{constructor(t){this._markerCollection=t,this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size}refreshItem(t){if(this._isInInsertedElement(t.parent))return;this._markRemove(t.parent,t.startOffset,t.offsetSize),this._markInsert(t.parent,t.startOffset,t.offsetSize);const e=rs._createOn(t);for(const n of this._markerCollection.getMarkersIntersectingRange(e)){const t=n.getRange();this.bufferMarkerChange(n.name,t,t,n.affectsData)}this._cachedChanges=null}bufferOperation(t){switch(t.type){case"insert":if(this._isInInsertedElement(t.position.parent))return;this._markInsert(t.position.parent,t.position.offset,t.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const e of t.range.getItems({shallow:!0}))this._isInInsertedElement(e.parent)||this._markAttribute(e);break;case"remove":case"move":case"reinsert":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;const e=this._isInInsertedElement(t.sourcePosition.parent),n=this._isInInsertedElement(t.targetPosition.parent);e||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),n||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);break}case"rename":{if(this._isInInsertedElement(t.position.parent))return;this._markRemove(t.position.parent,t.position.offset,1),this._markInsert(t.position.parent,t.position.offset,1);const e=rs._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getRange();this.bufferMarkerChange(t.name,e,e,t.affectsData)}break}case"split":{const e=t.splitPosition.parent;this._isInInsertedElement(e)||this._markRemove(e,t.splitPosition.offset,t.howMany),this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1);break}case"merge":{const e=t.sourcePosition.parent;this._isInInsertedElement(e.parent)||this._markRemove(e.parent,e.startOffset,1);const n=t.graveyardPosition.parent;this._markInsert(n,t.graveyardPosition.offset,1);const i=t.targetPosition.parent;this._isInInsertedElement(i)||this._markInsert(i,t.targetPosition.offset,e.maxOffset);break}}this._cachedChanges=null}bufferMarkerChange(t,e,n,i){const r=this._changedMarkers.get(t);r?(r.newRange=n,r.affectsData=i,null==r.oldRange&&null==r.newRange&&this._changedMarkers.delete(t)):this._changedMarkers.set(t,{oldRange:e,newRange:n,affectsData:i})}getMarkersToRemove(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.oldRange&&t.push({name:e,range:n.oldRange});return t}getMarkersToAdd(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.newRange&&t.push({name:e,range:n.newRange});return t}getChangedMarkers(){return Array.from(this._changedMarkers).map(t=>({name:t[0],data:{oldRange:t[1].oldRange,newRange:t[1].newRange}}))}hasDataChanges(){for(const[,t]of this._changedMarkers)if(t.affectsData)return!0;return this._changesInElement.size>0}getChanges(t={includeChangesInGraveyard:!1}){if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let e=[];for(const n of this._changesInElement.keys()){const t=this._changesInElement.get(n).sort((t,e)=>t.offset===e.offset?t.type!=e.type?"remove"==t.type?-1:1:0:t.offset<e.offset?-1:1),i=this._elementSnapshots.get(n),r=Bc(n.getChildren()),o=Fc(i.length,t);let a=0,s=0;for(const c of o)if("i"===c)e.push(this._getInsertDiff(n,a,r[a].name)),a++;else if("r"===c)e.push(this._getRemoveDiff(n,a,i[s].name)),s++;else if("a"===c){const t=r[a].attributes,o=i[s].attributes;let c;if("$text"==r[a].name)c=new rs(ts._createAt(n,a),ts._createAt(n,a+1));else{const t=n.offsetToIndex(a);c=new rs(ts._createAt(n,a),ts._createAt(n.getChild(t),0))}e.push(...this._getAttributesDiff(c,o,t)),a++,s++}else a++,s++}e.sort((t,e)=>t.position.root!=e.position.root?t.position.root.rootName<e.position.root.rootName?-1:1:t.position.isEqual(e.position)?t.changeCount-e.changeCount:t.position.isBefore(e.position)?-1:1);for(let n=1,i=0;n<e.length;n++){const t=e[i],r=e[n],o="remove"==t.type&&"remove"==r.type&&"$text"==t.name&&"$text"==r.name&&t.position.isEqual(r.position),a="insert"==t.type&&"insert"==r.type&&"$text"==t.name&&"$text"==r.name&&t.position.parent==r.position.parent&&t.position.offset+t.length==r.position.offset,s="attribute"==t.type&&"attribute"==r.type&&t.position.parent==r.position.parent&&t.range.isFlat&&r.range.isFlat&&t.position.offset+t.length==r.position.offset&&t.attributeKey==r.attributeKey&&t.attributeOldValue==r.attributeOldValue&&t.attributeNewValue==r.attributeNewValue;o||a||s?(t.length++,s&&(t.range.end=t.range.end.getShiftedBy(1)),e[n]=null):i=n}e=e.filter(t=>t);for(const n of e)delete n.changeCount,"attribute"==n.type&&(delete n.position,delete n.length);return this._changeCount=0,this._cachedChangesWithGraveyard=e.slice(),this._cachedChanges=e.filter(Hc),t.includeChangesInGraveyard?this._cachedChangesWithGraveyard:this._cachedChanges}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._cachedChanges=null}_markInsert(t,e,n){const i={type:"insert",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,i)}_markRemove(t,e,n){const i={type:"remove",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,i),this._removeAllNestedChanges(t,e,n)}_markAttribute(t){const e={type:"attribute",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}_markChange(t,e){this._makeSnapshot(t);const n=this._getChangesForElement(t);this._handleChange(e,n),n.push(e);for(let i=0;i<n.length;i++)n[i].howMany<1&&(n.splice(i,1),i--)}_getChangesForElement(t){let e;return this._changesInElement.has(t)?e=this._changesInElement.get(t):(e=[],this._changesInElement.set(t,e)),e}_makeSnapshot(t){this._elementSnapshots.has(t)||this._elementSnapshots.set(t,Bc(t.getChildren()))}_handleChange(t,e){t.nodesToHandle=t.howMany;for(const n of e){const i=t.offset+t.howMany,r=n.offset+n.howMany;if("insert"==t.type&&("insert"==n.type&&(t.offset<=n.offset?n.offset+=t.howMany:t.offset<r&&(n.howMany+=t.nodesToHandle,t.nodesToHandle=0)),"remove"==n.type&&t.offset<n.offset&&(n.offset+=t.howMany),"attribute"==n.type))if(t.offset<=n.offset)n.offset+=t.howMany;else if(t.offset<r){const r=n.howMany;n.howMany=t.offset-n.offset,e.unshift({type:"attribute",offset:i,howMany:r-n.howMany,count:this._changeCount++})}if("remove"==t.type){if("insert"==n.type)if(i<=n.offset)n.offset-=t.howMany;else if(i<=r)if(t.offset<n.offset){const e=i-n.offset;n.offset=t.offset,n.howMany-=e,t.nodesToHandle-=e}else n.howMany-=t.nodesToHandle,t.nodesToHandle=0;else if(t.offset<=n.offset)t.nodesToHandle-=n.howMany,n.howMany=0;else if(t.offset<r){const e=r-t.offset;n.howMany-=e,t.nodesToHandle-=e}if("remove"==n.type&&(i<=n.offset?n.offset-=t.howMany:t.offset<n.offset&&(t.nodesToHandle+=n.howMany,n.howMany=0)),"attribute"==n.type)if(i<=n.offset)n.offset-=t.howMany;else if(t.offset<n.offset){const e=i-n.offset;n.offset=t.offset,n.howMany-=e}else if(t.offset<r)if(i<=r){const i=n.howMany;n.howMany=t.offset-n.offset;const r=i-n.howMany-t.nodesToHandle;e.unshift({type:"attribute",offset:t.offset,howMany:r,count:this._changeCount++})}else n.howMany-=r-t.offset}if("attribute"==t.type){if("insert"==n.type)if(t.offset<n.offset&&i>n.offset){if(i>r){const t={type:"attribute",offset:r,howMany:i-r,count:this._changeCount++};this._handleChange(t,e),e.push(t)}t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}else t.offset>=n.offset&&t.offset<r&&(i>r?(t.nodesToHandle=i-r,t.offset=r):t.nodesToHandle=0);if("remove"==n.type&&t.offset<n.offset&&i>n.offset){const r={type:"attribute",offset:n.offset,howMany:i-n.offset,count:this._changeCount++};this._handleChange(r,e),e.push(r),t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}"attribute"==n.type&&(t.offset>=n.offset&&i<=r?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=n.offset&&i>=r&&(n.howMany=0))}}t.howMany=t.nodesToHandle,delete t.nodesToHandle}_getInsertDiff(t,e,n){return{type:"insert",position:ts._createAt(t,e),name:n,length:1,changeCount:this._changeCount++}}_getRemoveDiff(t,e,n){return{type:"remove",position:ts._createAt(t,e),name:n,length:1,changeCount:this._changeCount++}}_getAttributesDiff(t,e,n){const i=[];n=new Map(n);for(const[r,o]of e){const e=n.has(r)?n.get(r):null;e!==o&&i.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:r,attributeOldValue:o,attributeNewValue:e,changeCount:this._changeCount++}),n.delete(r)}for(const[r,o]of n)i.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:r,attributeOldValue:null,attributeNewValue:o,changeCount:this._changeCount++});return i}_isInInsertedElement(t){const e=t.parent;if(!e)return!1;const n=this._changesInElement.get(e),i=t.startOffset;if(n)for(const r of n)if("insert"==r.type&&i>=r.offset&&i<r.offset+r.howMany)return!0;return this._isInInsertedElement(e)}_removeAllNestedChanges(t,e,n){const i=new rs(ts._createAt(t,e),ts._createAt(t,e+n));for(const r of i.getItems({shallow:!0}))r.is("element")&&(this._elementSnapshots.delete(r),this._changesInElement.delete(r),this._removeAllNestedChanges(r,0,r.maxOffset))}}function Bc(t){const e=[];for(const n of t)if(n.is("$text"))for(let t=0;t<n.data.length;t++)e.push({name:"$text",attributes:new Map(n.getAttributes())});else e.push({name:n.name,attributes:new Map(n.getAttributes())});return e}function Fc(t,e){const n=[];let i=0,r=0;for(const o of e){if(o.offset>i){for(let t=0;t<o.offset-i;t++)n.push("e");r+=o.offset-i}if("insert"==o.type){for(let t=0;t<o.howMany;t++)n.push("i");i=o.offset+o.howMany}else if("remove"==o.type){for(let t=0;t<o.howMany;t++)n.push("r");i=o.offset,r+=o.howMany}else n.push(..."a".repeat(o.howMany).split("")),i=o.offset+o.howMany,r+=o.howMany}if(r<t)for(let o=0;o<t-r-i;o++)n.push("e");return n}function Hc(t){const e=t.position&&"$graveyard"==t.position.root.rootName,n=t.range&&"$graveyard"==t.range.root.rootName;return!e&&!n}class Vc{constructor(){this._operations=[],this._undoPairs=new Map,this._undoneOperations=new Set}addOperation(t){this._operations.includes(t)||this._operations.push(t)}getOperations(t=Number.NEGATIVE_INFINITY,e=Number.POSITIVE_INFINITY){const n=[];for(const i of this._operations)i.baseVersion>=t&&i.baseVersion<e&&n.push(i);return n}getOperation(t){for(const e of this._operations)if(e.baseVersion==t)return e}setOperationAsUndone(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t)}isUndoingOperation(t){return this._undoPairs.has(t)}isUndoneOperation(t){return this._undoneOperations.has(t)}getUndoneOperation(t){return this._undoPairs.get(t)}}function Uc(t,e){return!!(n=t.charAt(e-1))&&1==n.length&&/[\ud800-\udbff]/.test(n)&&function(t){return!!t&&1==t.length&&/[\udc00-\udfff]/.test(t)}(t.charAt(e));var n}function Wc(t,e){return!!(n=t.charAt(e))&&1==n.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(n);var n}class $c{constructor(t){this.model=t,this.version=0,this.history=new Vc(this),this.selection=new bs(this),this.roots=new Qn({idProperty:"rootName"}),this.differ=new zc(t.markers),this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root","$graveyard"),this.listenTo(t,"applyOperation",(t,e)=>{const n=e[0];if(n.isDocumentOperation&&n.baseVersion!==this.version)throw new c.a("model-document-applyoperation-wrong-version",this,{operation:n})},{priority:"highest"}),this.listenTo(t,"applyOperation",(t,e)=>{const n=e[0];n.isDocumentOperation&&this.differ.bufferOperation(n)},{priority:"high"}),this.listenTo(t,"applyOperation",(t,e)=>{const n=e[0];n.isDocumentOperation&&(this.version++,this.history.addOperation(n))},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(t.markers,"update",(t,e,n,i)=>{this.differ.bufferMarkerChange(e.name,n,i,e.affectsData),null===n&&e.on("change",(t,n)=>{this.differ.bufferMarkerChange(e.name,n,e.getRange(),e.affectsData)})})}get graveyard(){return this.getRoot("$graveyard")}createRoot(t="$root",e="main"){if(this.roots.get(e))throw new c.a("model-document-createroot-name-exists",this,{name:e});const n=new Pc(this,t,e);return this.roots.add(n),n}destroy(){this.selection.destroy(),this.stopListening()}getRoot(t="main"){return this.roots.get(t)}getRootNames(){return Array.from(this.roots,t=>t.rootName).filter(t=>"$graveyard"!=t)}registerPostFixer(t){this._postFixers.add(t)}toJSON(){const t=li(this);return t.selection="[engine.model.DocumentSelection]",t.model="[engine.model.Model]",t}_handleChangeBlock(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",t.batch):this.fire("change",t.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){for(const t of this.roots)if(t!==this.graveyard)return t;return this.graveyard}_getDefaultRange(){const t=this._getDefaultRoot(),e=this.model,n=e.schema,i=e.createPositionFromPath(t,[0]);return n.getNearestSelectionRange(i)||e.createRange(i)}_validateSelectionRange(t){return Xc(t.start)&&Xc(t.end)}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(this.selection.refresh(),e=n(t),e)break}while(e)}}function Xc(t){const e=t.textNode;if(e){const n=e.data,i=t.offset-e.startOffset;return!Uc(n,i)&&!Wc(n,i)}return!0}Gt($c,d);class qc{constructor(){this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(t){return this._markers.has(t)}get(t){return this._markers.get(t)||null}_set(t,e,n=!1,i=!1){const r=t instanceof Gc?t.name:t;if(r.includes(","))throw new c.a("markercollection-incorrect-marker-name",this);const o=this._markers.get(r);if(o){const t=o.getRange();let a=!1;return t.isEqual(e)||(o._attachLiveRange(vs.fromRange(e)),a=!0),n!=o.managedUsingOperations&&(o._managedUsingOperations=n,a=!0),"boolean"==typeof i&&i!=o.affectsData&&(o._affectsData=i,a=!0),a&&this.fire("update:"+r,o,t,e),o}const a=vs.fromRange(e),s=new Gc(r,a,n,i);return this._markers.set(r,s),this.fire("update:"+r,s,null,e),s}_remove(t){const e=t instanceof Gc?t.name:t,n=this._markers.get(e);return!!n&&(this._markers.delete(e),this.fire("update:"+e,n,n.getRange(),null),this._destroyMarker(n),!0)}_refresh(t){const e=t instanceof Gc?t.name:t,n=this._markers.get(e);if(!n)throw new c.a("markercollection-refresh-marker-not-exists",this);const i=n.getRange();this.fire("update:"+e,n,i,i,n.managedUsingOperations,n.affectsData)}*getMarkersAtPosition(t){for(const e of this)e.getRange().containsPosition(t)&&(yield e)}*getMarkersIntersectingRange(t){for(const e of this)null!==e.getRange().getIntersection(t)&&(yield e)}destroy(){for(const t of this._markers.values())this._destroyMarker(t);this._markers=null,this.stopListening()}*getMarkersGroup(t){for(const e of this._markers.values())e.name.startsWith(t+":")&&(yield e)}_destroyMarker(t){t.stopListening(),t._detachLiveRange()}}Gt(qc,d);class Gc{constructor(t,e,n,i){this.name=t,this._liveRange=this._attachLiveRange(e),this._managedUsingOperations=n,this._affectsData=i}get managedUsingOperations(){if(!this._liveRange)throw new c.a("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new c.a("marker-destroyed",this);return this._affectsData}getStart(){if(!this._liveRange)throw new c.a("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new c.a("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new c.a("marker-destroyed",this);return this._liveRange.toRange()}is(t){return"marker"===t||"model:marker"===t}_attachLiveRange(t){return this._liveRange&&this._detachLiveRange(),t.delegate("change:range").to(this),t.delegate("change:content").to(this),this._liveRange=t,t}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Gt(Gc,d);class Zc extends fc{get type(){return"noop"}clone(){return new Zc(this.baseVersion)}getReversed(){return new Zc(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}const Jc={};Jc[xc.className]=xc,Jc[Sc.className]=Sc,Jc[Cc.className]=Cc,Jc[Mc.className]=Mc,Jc[Zc.className]=Zc,Jc[fc.className]=fc,Jc[Ec.className]=Ec,Jc[Lc.className]=Lc,Jc[Oc.className]=Oc,Jc[Ac.className]=Ac;class Kc extends ts{constructor(t,e,n="toNone"){if(super(t,e,n),!this.root.is("rootElement"))throw new c.a("model-liveposition-root-not-rootelement",t);Qc.call(this)}detach(){this.stopListening()}is(t){return"livePosition"===t||"model:livePosition"===t||"position"==t||"model:position"===t}toPosition(){return new ts(this.root,this.path.slice(),this.stickiness)}static fromPosition(t,e){return new this(t.root,t.path.slice(),e||t.stickiness)}}function Qc(){this.listenTo(this.root.document.model,"applyOperation",(t,e)=>{const n=e[0];n.isDocumentOperation&&tl.call(this,n)},{priority:"low"})}function tl(t){const e=this.getTransformedByOperation(t);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",t)}}Gt(Kc,d);class el{constructor(t,e,n){this.model=t,this.writer=e,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=t.schema,this._documentFragment=e.createDocumentFragment(),this._documentFragmentPosition=e.createPositionAt(this._documentFragment,0),this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null}handleNodes(t){for(const e of Array.from(t))this._handleNode(e);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(t){const e=this.writer.createPositionAfter(this._lastNode),n=this.writer.createPositionAfter(t);if(n.isAfter(e)){if(this._lastNode=t,this.position.parent!=t||!this.position.isAtEnd)throw new c.a("insertcontent-invalid-insertion-position",this);this.position=n,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this.nodeToSelect?rs._createOn(this.nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new rs(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(t){if(this.schema.isObject(t))return void this._handleObject(t);let e=this._checkAndAutoParagraphToAllowedPosition(t);e||(e=this._checkAndSplitToAllowedPosition(t),e)?(this._appendToFragment(t),this._firstNode||(this._firstNode=t),this._lastNode=t):this._handleDisallowedNode(t)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const t=Kc.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=t.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=t.toPosition(),t.detach()}_handleObject(t){this._checkAndSplitToAllowedPosition(t)?this._appendToFragment(t):this._tryAutoparagraphing(t)}_handleDisallowedNode(t){t.is("element")?this.handleNodes(t.getChildren()):this._tryAutoparagraphing(t)}_appendToFragment(t){if(!this.schema.checkChild(this.position,t))throw new c.a("insertcontent-wrong-position",this,{node:t,position:this.position});this.writer.insert(t,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(t.offsetSize),this.schema.isObject(t)&&!this.schema.checkChild(this.position,"$text")?this.nodeToSelect=t:this.nodeToSelect=null,this._filterAttributesOf.push(t)}_setAffectedBoundaries(t){this._affectedStart||(this._affectedStart=Kc.fromPosition(t,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(t)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=Kc.fromPosition(t,"toNext"))}_mergeOnLeft(){const t=this._firstNode;if(!(t instanceof Ja))return;if(!this._canMergeLeft(t))return;const e=Kc._createBefore(t);e.stickiness="toNext";const n=Kc.fromPosition(this.position,"toNext");this._affectedStart.isEqual(e)&&(this._affectedStart.detach(),this._affectedStart=Kc._createAt(e.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=Kc._createAt(e.nodeBefore,"end","toNext")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_mergeOnRight(){const t=this._lastNode;if(!(t instanceof Ja))return;if(!this._canMergeRight(t))return;const e=Kc._createAfter(t);if(e.stickiness="toNext",!this.position.isEqual(e))throw new c.a("insertcontent-invalid-insertion-position",this);this.position=ts._createAt(e.nodeBefore,"end");const n=Kc.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(e)&&(this._affectedEnd.detach(),this._affectedEnd=Kc._createAt(e.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=Kc._createAt(e.nodeBefore,0,"toPrevious")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_canMergeLeft(t){const e=t.previousSibling;return e instanceof Ja&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(e,t)}_canMergeRight(t){const e=t.nextSibling;return e instanceof Ja&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(t,e)}_tryAutoparagraphing(t){const e=this.writer.createElement("paragraph");this._getAllowedIn(e,this.position.parent)&&this.schema.checkChild(e,t)&&(e._appendChild(t),this._handleNode(e))}_checkAndAutoParagraphToAllowedPosition(t){if(this.schema.checkChild(this.position.parent,t))return!0;
457if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",t))return!1;this._insertPartialFragment();const e=this.writer.createElement("paragraph");return this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0),!0}_checkAndSplitToAllowedPosition(t){const e=this._getAllowedIn(t,this.position.parent);if(!e)return!1;for(e!=this.position.parent&&this._insertPartialFragment();e!=this.position.parent;){if(this.schema.isLimit(this.position.parent))return!1;if(this.position.isAtStart){const t=this.position.parent;this.position=this.writer.createPositionBefore(t),t.isEmpty&&t.parent===e&&this.writer.remove(t)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const t=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=t,this.canMergeWith.add(this.position.nodeAfter)}}return!0}_getAllowedIn(t,e){return this.schema.checkChild(e,t)?e:e.parent?this._getAllowedIn(t,e.parent):null}}function nl(t,e,n={}){if(e.isCollapsed)return;const i=e.getFirstRange();if("$graveyard"==i.root.rootName)return;const r=t.schema;t.change(t=>{if(!n.doNotResetEntireContent&&function(t,e){const n=t.getLimitElement(e);if(!e.containsEntireContent(n))return!1;const i=e.getFirstRange();return i.start.parent!=i.end.parent&&t.checkChild(n,"paragraph")}(r,e))return void function(t,e){const n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n)),rl(t,t.createPositionAt(n,0),e)}(t,e);const[o,a]=function(t){const e=t.root.document.model,n=t.start;let i=t.end;if(e.hasContent(t,{ignoreMarkers:!0})){const n=function(t){const e=t.parent,n=e.root.document.model.schema,i=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const r of i){if(n.isLimit(r))return null;if(n.isBlock(r))return r}}(i);if(n&&i.isTouching(e.createPositionAt(n,0))){const n=e.createSelection(t);e.modifySelection(n,{direction:"backward"}),i=n.getLastPosition()}}return[Kc.fromPosition(n,"toPrevious"),Kc.fromPosition(i,"toNext")]}(i);o.isTouching(a)||t.remove(t.createRange(o,a)),n.leaveUnmerged||(function(t,e,n){const i=t.model;if(!il(t.model.schema,e,n))return;const[r,o]=function(t,e){const n=t.getAncestors(),i=e.getAncestors();let r=0;for(;n[r]&&n[r]==i[r];)r++;return[n[r],i[r]]}(e,n);r&&o&&(!i.hasContent(r,{ignoreMarkers:!0})&&i.hasContent(o,{ignoreMarkers:!0})?function t(e,n,i,r){const o=n.parent,a=i.parent;if(o!=r&&a!=r){for(n=e.createPositionAfter(o),(i=e.createPositionBefore(a)).isEqual(n)||e.insert(o,i);n.parent.isEmpty;){const t=n.parent;n=e.createPositionBefore(t),e.remove(t)}i=e.createPositionBefore(a),function(t,e){const n=e.nodeBefore,i=e.nodeAfter;n.name!=i.name&&t.rename(n,i.name),t.clearAttributes(n),t.setAttributes(Object.fromEntries(i.getAttributes()),n),t.merge(e)}(e,i),il(e.model.schema,n,i)&&t(e,n,i,r)}}(t,e,n,r.parent):function t(e,n,i,r){const o=n.parent,a=i.parent;if(o!=r&&a!=r){for(n=e.createPositionAfter(o),(i=e.createPositionBefore(a)).isEqual(n)||e.insert(a,n),e.merge(n);i.parent.isEmpty;){const t=i.parent;i=e.createPositionBefore(t),e.remove(t)}il(e.model.schema,n,i)&&t(e,n,i,r)}}(t,e,n,r.parent))}(t,o,a),r.removeDisallowedAttributes(o.parent.getChildren(),t)),ol(t,e,o),!n.doNotAutoparagraph&&function(t,e){const n=t.checkChild(e,"$text"),i=t.checkChild(e,"paragraph");return!n&&i}(r,o)&&rl(t,o,e),o.detach(),a.detach()})}function il(t,e,n){const i=e.parent,r=n.parent;return i!=r&&!t.isLimit(i)&&!t.isLimit(r)&&function(t,e,n){const i=new rs(t,e);for(const r of i.getWalker())if(n.isLimit(r.item))return!1;return!0}(e,n,t)}function rl(t,e,n){const i=t.createElement("paragraph");t.insert(i,e),ol(t,n,t.createPositionAt(i,0))}function ol(t,e,n){e instanceof bs?t.setSelection(n):e.setTo(n)}function al(t,e){const{isForward:n,walker:i,unit:r,schema:o}=t,{type:a,item:s,nextPosition:c}=e;if("text"==a)return"word"===t.unit?function(t,e){let n=t.position.textNode;if(n){let i=t.position.offset-n.startOffset;for(;!cl(n.data,i,e)&&!ll(n,i,e);){t.next();const r=e?t.position.nodeAfter:t.position.nodeBefore;if(r&&r.is("$text")){const i=r.data.charAt(e?0:r.data.length-1);' ,.?!:;"-()'.includes(i)||(t.next(),n=t.position.textNode)}i=t.position.offset-n.startOffset}}return t.position}(i,n):function(t,e){const n=t.position.textNode;if(n){const i=n.data;let r=t.position.offset-n.startOffset;for(;Uc(i,r)||"character"==e&&Wc(i,r);)t.next(),r=t.position.offset-n.startOffset}return t.position}(i,r);if(a==(n?"elementStart":"elementEnd")){if(o.isSelectable(s))return ts._createAt(s,n?"after":"before");if(o.checkChild(c,"$text"))return c}else{if(o.isLimit(s))return void i.skip(()=>!0);if(o.checkChild(c,"$text"))return c}}function sl(t,e){const n=t.root,i=ts._createAt(n,e?"end":0);return e?new rs(t,i):new rs(i,t)}function cl(t,e,n){const i=e+(n?0:-1);return' ,.?!:;"-()'.includes(t.charAt(i))}function ll(t,e,n){return e===(n?t.endOffset:0)}function ul(t,e){const n=[];Array.from(t.getItems({direction:"backward"})).map(t=>e.createRangeOn(t)).filter(e=>(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end
457))).forEach(t=>{n.push(t.start.parent),e.remove(t)}),n.forEach(t=>{let n=t;for(;n.parent&&n.isEmpty;){const t=e.createRangeOn(n);n=n.parent,e.remove(t)}})}function dl(t){t.document.registerPostFixer(e=>function(t,e){const n=e.document.selection,i=e.schema,r=[];let o=!1;for(const a of n.getRanges()){const t=hl(a,i);t&&!t.isEqual(a)?(r.push(t),o=!0):r.push(a)}o&&t.setSelection(function(t){const e=[];e.push(t.shift());for(const n of t){const t=e.pop();if(n.isEqual(t))e.push(t);else if(n.isIntersecting(t)){const i=t.start.isAfter(n.start)?n.start:t.start,r=t.end.isAfter(n.end)?t.end:n.end,o=new rs(i,r);e.push(o)}else e.push(t),e.push(n)}return e}(r),{backward:n.isBackward})}(e,t))}function hl(t,e){return t.isCollapsed?function(t,e){const n=t.start,i=e.getNearestSelectionRange(n);if(!i)return null;if(!i.isCollapsed)return i;const r=i.start;return n.isEqual(r)?null:new rs(r)}(t,e):function(t,e){const{start:n,end:i}=t,r=e.checkChild(n,"$text"),o=e.checkChild(i,"$text"),a=e.getLimitElement(n),s=e.getLimitElement(i);if(a===s){if(r&&o)return null;if(function(t,e,n){const i=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,"$text"),r=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,"$text");return i||r}(n,i,e)){const t=n.nodeAfter&&e.isSelectable(n.nodeAfter)?null:e.getNearestSelectionRange(n,"forward"),r=i.nodeBefore&&e.isSelectable(i.nodeBefore)?null:e.getNearestSelectionRange(i,"backward"),o=t?t.start:n,a=r?r.end:i;return new rs(o,a)}}const c=a&&!a.is("rootElement"),l=s&&!s.is("rootElement");if(c||l){const t=n.nodeAfter&&i.nodeBefore&&n.nodeAfter.parent===i.nodeBefore.parent,r=c&&(!t||!pl(n.nodeAfter,e)),o=l&&(!t||!pl(i.nodeBefore,e));let u=n,d=i;return r&&(u=ts._createBefore(fl(a,e))),o&&(d=ts._createAfter(fl(s,e))),new rs(u,d)}return null}(t,e)}function fl(t,e){let n=t,i=n;for(;e.isLimit(i)&&i.parent;)n=i,i=i.parent;return n}function pl(t,e){return t&&e.isSelectable(t)}class ml{constructor(){this.markers=new qc,this.document=new $c(this),this.schema=new $s,this._pendingChanges=[],this._currentWriter=null,["insertContent","deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(t=>this.decorate(t)),this.on("applyOperation",(t,e)=>{e[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$block",{allowIn:"$root",isBlock:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",isLimit:!0}),this.schema.extend("$text",{allowIn:"$clipboardHolder"}),this.schema.register("$documentFragment",{allowContentOf:"$root",isLimit:!0}),this.schema.extend("$text",{allowIn:"$documentFragment"}),this.schema.register("$marker"),this.schema.addChildCheck((t,e)=>{if("$marker"===e.name)return!0}),dl(this),this.document.registerPostFixer(Ps)}change(t){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new hc,callback:t}),this._runPendingChanges()[0]):t(this._currentWriter)}catch(t){c.a.rethrowUnexpectedError(t,this)}}enqueueChange(t,e){try{"string"==typeof t?t=new hc(t):"function"==typeof t&&(e=t,t=new hc),this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(t){c.a.rethrowUnexpectedError(t,this)}}applyOperation(t){t._execute()}insertContent(t,e,n){return function(t,e,n,i){return t.change(r=>{let o;o=n?n instanceof hs||n instanceof bs?n:r.createSelection(n,i):t.document.selection,o.isCollapsed||t.deleteContent(o,{doNotAutoparagraph:!0});const a=new el(t,r,o.anchor);let s;s=e.is("documentFragment")?e.getChildren():[e],a.handleNodes(s);const c=a.getSelectionRange();c&&(o instanceof bs?r.setSelection(c):o.setTo(c));const l=a.getAffectedRange()||t.createRange(o.anchor);return a.destroy(),l})}(this,t,e,n)}deleteContent(t,e){nl(this,t,e)}modifySelection(t,e){!function(t,e,n={}){const i=t.schema,r="backward"!=n.direction,o=n.unit?n.unit:"character",a=e.focus,s=new Ka({boundaries:sl(a,r),singleCharacters:!0,direction:r?"forward":"backward"}),c={walker:s,schema:i,isForward:r,unit:o};let l;for(;l=s.next();){if(l.done)return;const n=al(c,l.value);if(n)return void(e instanceof bs?t.change(t=>{t.setSelectionFocus(n)}):e.setFocus(n))}}(this,t,e)}getSelectedContent(t){return function(t,e){return t.change(t=>{const n=t.createDocumentFragment(),i=e.getFirstRange();if(!i||i.isCollapsed)return n;const r=i.start.root,o=i.start.getCommonPath(i.end),a=r.getNodeByPath(o);let s;s=i.start.parent==i.end.parent?i:t.createRange(t.createPositionAt(a,i.start.path[o.length]),t.createPositionAt(a,i.end.path[o.length]+1));const c=s.end.offset-s.start.offset;for(const e of s.getItems({shallow:!0}))e.is("$textProxy")?t.appendText(e.data,e.getAttributes(),n):t.append(t.cloneElement(e,!0),n);if(s!=i){const e=i._getTransformedByMove(s.start,t.createPositionAt(n,0),c)[0],r=t.createRange(t.createPositionAt(n,0),e.start);ul(t.createRange(e.end,t.createPositionAt(n,"end")),t),ul(r,t)}return n})}(this,t)}hasContent(t,e={}){const n=t instanceof Ja?rs._createIn(t):t;if(n.isCollapsed)return!1;
457const{ignoreWhitespaces:i=!1,ignoreMarkers:r=!1}=e;if(!r)for(const o of this.markers.getMarkersIntersectingRange(n))if(o.affectsData)return!0;for(const o of n.getItems())if(this.schema.isContent(o)){if(!o.is("$textProxy"))return!0;if(!i)return!0;if(-1!==o.data.search(/\S/))return!0}return!1}createPositionFromPath(t,e,n){return new ts(t,e,n)}createPositionAt(t,e){return ts._createAt(t,e)}createPositionAfter(t){return ts._createAfter(t)}createPositionBefore(t){return ts._createBefore(t)}createRange(t,e){return new rs(t,e)}createRangeIn(t){return rs._createIn(t)}createRangeOn(t){return rs._createOn(t)}createSelection(t,e,n){return new hs(t,e,n)}createBatch(t){return new hc(t)}createOperationFromJSON(t){return class{static fromJSON(t,e){return Jc[t.__className].fromJSON(t,e)}}.fromJSON(t,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const t=[];for(this.fire("_beforeChanges");this._pendingChanges.length;){const e=this._pendingChanges[0].batch;this._currentWriter=new Dc(this,e);const n=this._pendingChanges[0].callback(this._currentWriter);t.push(n),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}return this.fire("_afterChanges"),t}}Gt(ml,Vt);class gl extends ja{constructor(t){super(),this.editor=t}set(t,e,n={}){if("string"==typeof e){const t=e;e=(e,n)=>{this.editor.execute(t),n()}}super.set(t,e,n)}}class vl{constructor(t={}){this._context=t.context||new ai({language:t.language}),this._context._addEditor(this,!t.context);const e=Array.from(this.constructor.builtinPlugins||[]);this.config=new Gn(t,this.constructor.defaultConfig),this.config.define("plugins",e),this.config.define(this._context._getEditorConfig()),this.plugins=new ti(this,e,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this.commands=new Vs,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.set("isReadOnly",!1),this.model=new ml;const n=new Zi;this.data=new cc(this.model,n),this.editing=new Hs(this.model,n),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new lc([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new gl(this),this.keystrokes.listenTo(this.editing.view.document)}initPlugins(){const t=this.config,e=t.get("plugins"),n=t.get("removePlugins")||[],i=t.get("extraPlugins")||[],r=t.get("substitutePlugins")||[];return this.plugins.init(e.concat(i),n,r)}destroy(){let t=Promise.resolve();return"initializing"==this.state&&(t=new Promise(t=>this.once("ready",t))),t.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(...t){try{return this.commands.execute(...t)}catch(t){c.a.rethrowUnexpectedError(t,this)}}focus(){this.editing.view.focus()}}Gt(vl,Vt);class _l{constructor(t){this.editor=t,this._components=new Map}*names(){for(const t of this._components.values())yield t.originalName}add(t,e){this._components.set(yl(t),{callback:e,originalName:t})}create(t){if(!this.has(t))throw new c.a("componentfactory-item-missing",this,{name:t});return this._components.get(yl(t)).callback(this.editor.locale)}has(t){return this._components.has(yl(t))}}function yl(t){return String(t).toLowerCase()}class bl{constructor(t){this.editor=t,this.componentFactory=new _l(t),this.focusTracker=new Da,this._editableElementsMap=new Map,this.listenTo(t.editing.view.document,"layoutChanged",()=>this.update())}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy();for(const t of this._editableElementsMap.values())t.ckeditorInstance=null;this._editableElementsMap=new Map}setEditableElement(t,e){this._editableElementsMap.set(t,e),e.ckeditorInstance||(e.ckeditorInstance=this.editor)}getEditableElement(t="main"){return this._editableElementsMap.get(t)}getEditableElementsNames(){return this._editableElementsMap.keys()}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}}Gt(bl,d);var wl={setData(t){this.data.set(t)},getData(t){return this.data.get(t)}},kl={updateSourceElement(){if(!this.sourceElement)throw new c.a("editor-missing-sourceelement",this);var t,e;t=this.sourceElement,e=this.data.get(),t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e}};class xl extends si{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Qn({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(t){if("string"!=typeof t)throw new c.a("pendingactions-add-invalid-message",this);const e=Object.create(Vt);return e.set("message",t),this._actions.add(e),this.hasAny=!0,e}remove(t){this._actions.remove(t),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const Tl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>',Ml='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',Sl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.3
45765.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"/></svg>',Cl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"/></svg>',El='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M18 4.5V3H2v1.5h16zm0 3V6h-5.674v1.5H18zm0 3V9h-5.674v1.5H18zm0 3V12h-5.674v1.5H18zm-8.5-6V12h-6V7.5h6zm.818-1.5H2.682C2.305 6 2 6.407 2 6.91v5.68c0 .503.305.91.682.91h7.636c.377 0 .682-.407.682-.91V6.91c0-.503-.305-.91-.682-.91zM18 16.5V15H2v1.5h16z"/></svg>',Ll='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm4.5 3V12h7V7.5h-7zM5.758 6h8.484c.419 0 .758.407.758.91v5.681c0 .502-.34.909-.758.909H5.758c-.419 0-.758-.407-.758-.91V6.91c0-.503.34-.91.758-.91zM2 16.5V15h16v1.5z"/></svg>',Al='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm0 3V6h5.674v1.5zm0 3V9h5.674v1.5zm0 3V12h5.674v1.5zm8.5-6V12h6V7.5h-6zM9.682 6h7.636c.377 0 .682.407.682.91v5.68c0 .503-.305.91-.682.91H9.682c-.377 0-.682-.407-.682-.91V6.91c0-.503.305-.91.682-.91zM2 16.5V15h16v1.5z"/></svg>',Ol='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm2.5 3V12h11V7.5h-11zM4.061 6H15.94c.586 0 1.061.407 1.061.91v5.68c0 .503-.475.91-1.061.91H4.06c-.585 0-1.06-.407-1.06-.91V6.91C3 6.406 3.475 6 4.061 6zM2 16.5V15h16v1.5z"/></svg>',Pl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.3 17.37-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506 13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5 9.375 17H19v1.5H8z"/></svg>',Dl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"/></svg>',jl='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="4.5" r="1.5"/><circle cx="9.5" cy="10.5" r="1.5"/><circle cx="9.5" cy="16.5" r="1.5"/></svg>';function Il({emitter:t,activator:e,callback:n,contextElements:i}){t.listenTo(document,"mousedown",(t,r)=>{if(!e())return;const o="function"==typeof r.composedPath?r.composedPath():[];for(const e of i)if(e.contains(r.target)||o.includes(e))return;n()})}function Rl(t){t.set("_isCssTransitionsDisabled",!1),t.disableCssTransitions=()=>{t._isCssTransitionsDisabled=!0},t.enableCssTransitions=()=>{t._isCssTransitionsDisabled=!1},t.extendTemplate({attributes:{class:[t.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}function Nl({view:t}){t.listenTo(t.element,"submit",(e,n)=>{n.preventDefault(),t.fire("submit")},{useCapture:!0})}class Yl extends Qn{constructor(t=[]){super(t,{idProperty:"viewUid"}),this.on("add",(t,e,n)=>{this._renderViewIntoCollectionParent(e,n)}),this.on("remove",(t,e)=>{e.element&&this._parentElement&&e.element.remove()}),this._parentElement=null}destroy(){this.map(t=>t.destroy())}setParent(t){this._parentElement=t;for(const e of this)this._renderViewIntoCollectionParent(e)}delegate(...t){if(!t.length||!t.every(t=>"string"==typeof t))throw new c.a("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const n of this)for(const i of t)n.delegate(i).to(e);this.on("add",(n,i)=>{for(const r of t)i.delegate(r).to(e)}),this.on("remove",(n,i)=>{for(const r of t)i.stopDelegating(r,e)})}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}}n(14);class zl{constructor(t){this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new Qn,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(e,n)=>{n.locale=t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Bl.bind(this,this)}createCollection(t){const e=new Yl(t);return this._viewCollections.add(e),e}registerChild(t){Kn(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){Kn(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Bl(t)}extendTemplate(t){Bl.extend(this.template,t)}
vendor: 5,903 bytes, line 457
457render(){if(this.isRendered)throw new c.a("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(t=>t.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}Gt(zl,Oo),Gt(zl,Vt);class Bl{constructor(t){Object.assign(this,Zl(Gl(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new c.a("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const n of e.children)eu(n)?yield n:nu(n)&&(yield*t(n))}(this)}static bind(t,e){return{to:(n,i)=>new Hl({eventNameOrFunction:n,attribute:n,observable:t,emitter:e,callback:i}),if:(n,i,r)=>new Vl({observable:t,emitter:e,attribute:n,valueIfTrue:i,callback:r})}}static extend(t,e){if(t._isRendered)throw new c.a("template-extend-render",[this,t]);!function t(e,n){if(n.attributes&&(e.attributes||(e.attributes={}),Ql(e.attributes,n.attributes)),n.eventListeners&&(e.eventListeners||(e.eventListeners={}),Ql(e.eventListeners,n.eventListeners)),n.text&&e.text.push(...n.text),n.children&&n.children.length){if(e.children.length!=n.children.length)throw new c.a("ui-template-extend-children-mismatch",e);let i=0;for(const r of n.children)t(e.children[i++],r)}}(t,Zl(Gl(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new c.a("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Ul(this.text)?this._bindToObservable({schema:this.text,updater:$l(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){let e,n,i,r;if(!this.attributes)return;const o=t.node,a=t.revertData;for(e in this.attributes)if(i=o.getAttribute(e),n=this.attributes[e],a&&(a.attributes[e]=i),r=y(n[0])&&n[0].ns?n[0].ns:null,Ul(n)){const s=r?n[0].value:n;a&&ru(e)&&s.unshift(i),this._bindToObservable({schema:s,updater:Xl(o,e,r),data:t})}else"style"==e&&"string"!=typeof n[0]?this._renderStyleAttribute(n[0],t):(a&&i&&ru(e)&&n.unshift(i),n=n.map(t=>t&&t.value||t).reduce((t,e)=>t.concat(e),[]).reduce(Kl,""),tu(n)||o.setAttributeNS(r,e,n))}_renderStyleAttribute(t,e){const n=e.node;for(const i in t){const r=t[i];Ul(r)?this._bindToObservable({schema:[r],updater:ql(n,i),data:e}):n.style[i]=r}}_renderElementChildren(t){const e=t.node,n=t.intoFragment?document.createDocumentFragment():e,i=t.isApplying;let r=0;for(const o of this.children)if(iu(o)){if(!i){o.setParent(e);for(const t of o)n.appendChild(t.element)}}else if(eu(o))i||(o.isRendered||o.render(),n.appendChild(o.element));else if(mo(o))n.appendChild(o);else if(i){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),o._renderNode({node:n.childNodes[r++],isApplying:!0,revertData:e})}else n.appendChild(o.render());t.intoFragment&&e.appendChild(n)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const n=this.eventListeners[e].map(n=>{const[i,r]=e.split("@");return n.activateDomEventListener(i,r,t)});t.revertData&&t.revertData.bindings.push(n)}}_bindToObservable({schema:t,updater:e,data:n}){const i=n.revertData;Wl(t,e,n);const r=t.filter(t=>!tu(t)).filter(t=>t.observable).map(i=>i.activateAttributeListener(t,e,n));i&&i.bindings.push(r)}_revertTemplateFromNode(t,e){for(const n of e.bindings)for(const t of n)t();if(e.text)t.textContent=e.text;else{for(const n in e.attributes){const i=e.attributes[n];null===i?t.removeAttribute(n):t.setAttribute(n,i)}for(let n=0;n<e.children.length;++n)this._revertTemplateFromNode(t.childNodes[n],e.children[n])}}}Gt(Bl,d);class Fl{constructor(t){Object.assign(this,t)}getValue(t){const e=this.observable[this.attribute];return this.callback?this.callback(e,t):e}activateAttributeListener(t,e,n){const i=()=>Wl(t,e,n);return this.emitter.listenTo(this.observable,"change:"+this.attribute,i),()=>{this.emitter.stopListening(this.observable,"change:"+this.attribute,i)}}}class Hl extends Fl{activateDomEventListener(t,e,n){const i=(t,n)=>{e&&!n.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(n):this.observable.fire(this.eventNameOrFunction,n))};return this.emitter.listenTo(n.node,t,i),()=>{this.emitter.stopListening(n.node,t,i)}}}class Vl extends Fl{getValue(t){return!tu(super.getValue(t))&&(this.valueIfTrue||!0)}}function Ul(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Ul):t instanceof Fl)}function Wl(t,e,{node:n}){let i=function(t,e){return t.map(t=>t instanceof Fl?t.getValue(e):t)}(t,n);i=1==t.length&&t[0]instanceof Vl?i[0]:i.reduce(Kl,""),tu(i)?e.remove():e.set(i)}function $l(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function Xl(t,e,n){return{set(i){t.setAttributeNS(n,e,i)},remove(){t.removeAttributeNS(n,e)}}}function ql(t,e){return{set(n){t.style[e]=n},remove(){t.style[e]=null}}}function Gl(t){return Xn(t,t=>{if(t&&(t instanceof Fl||nu(t)||eu(t)||iu(t)))return t})}function Zl(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=ei(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)Jl(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=ei(t[e].value)),Jl(t,e)}(t.attributes);const e=[];
457if(t.children)if(iu(t.children))e.push(t.children);else for(const n of t.children)nu(n)||eu(n)||mo(n)?e.push(n):e.push(new Bl(n));t.children=e}return t}function Jl(t,e){t[e]=ei(t[e])}function Kl(t,e){return tu(e)?t:tu(t)?e:`${t} ${e}`}function Ql(t,e){for(const n in e)t[n]?t[n].push(...e[n]):t[n]=e[n]}function tu(t){return!t&&0!==t}function eu(t){return t instanceof zl}function nu(t){return t instanceof Bl}function iu(t){return t instanceof Yl}function ru(t){return"class"==t||"style"==t}class ou extends Yl{constructor(t,e=[]){super(e),this.locale=t}attachToDom(){this._bodyCollectionContainer=new Bl({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let t=document.querySelector(".ck-body-wrapper");t||(t=function(t,e,n={},i=[]){const r=n&&n.xmlns,o=r?t.createElementNS(r,e):t.createElement(e);for(const a in n)o.setAttribute(a,n[a]);!ka(i)&&Kn(i)||(i=[i]);for(let a of i)ka(a)&&(a=t.createTextNode(a)),o.appendChild(a);return o}(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(t)),t.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const t=document.querySelector(".ck-body-wrapper");t&&0==t.childElementCount&&t.remove()}}n(16);class au extends zl{constructor(){super();const t=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon"],viewBox:t.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const t=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),e=t.getAttribute("viewBox");for(e&&(this.viewBox=e),this.element.innerHTML="";t.childNodes.length>0;)this.element.appendChild(t.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(t=>{t.style.fill=this.fillColor})}}n(18);class su extends zl{constructor(t){super(t),this.set("text",""),this.set("position","s");const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip",e.to("position",t=>"ck-tooltip_"+t),e.if("text","ck-hidden",t=>!t.trim())]},children:[{tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:e.to("text")}]}]})}}n(20);class cu extends zl{constructor(t){super(t);const e=this.bindTemplate,n=a();this.set("class"),this.set("labelStyle"),this.set("icon"),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke"),this.set("label"),this.set("tabindex",-1),this.set("tooltip"),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.tooltipView=this._createTooltipView(),this.labelView=this._createLabelView(n),this.iconView=new au,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this)),this.setTemplate({tag:"button",attributes:{class:["ck","ck-button",e.to("class"),e.if("isEnabled","ck-disabled",t=>!t),e.if("isVisible","ck-hidden",t=>!t),e.to("isOn",t=>t?"ck-on":"ck-off"),e.if("withText","ck-button_with-text"),e.if("withKeystroke","ck-button_with-keystroke")],type:e.to("type",t=>t||"button"),tabindex:e.to("tabindex"),"aria-labelledby":"ck-editor__aria-label_"+n,"aria-disabled":e.if("isEnabled",!0,t=>!t),"aria-pressed":e.to("isOn",t=>!!this.isToggleable&&String(t))},children:this.children,on:{mousedown:e.to(t=>{t.preventDefault()}),click:e.to(t=>{this.isEnabled?this.fire("execute"):t.preventDefault()})}})}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.tooltipView),this.children.add(this.labelView),this.withKeystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}_createTooltipView(){const t=new su;return t.bind("text").to(this,"_tooltipString"),t.bind("position").to(this,"tooltipPosition"),t}_createLabelView(t){const e=new zl,n=this.bindTemplate;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:n.to("labelStyle"),id:"ck-editor__aria-label_"+t},children:[{text:this.bindTemplate.to("label")}]}),e}_createKeystrokeView(){const t=new zl;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",t=>jr(t))}]}),t}_getTooltipString(t,e,n){return t?"string"==typeof t?t:(n&&(n=jr(n)),t instanceof Function?t(e,n):`${e}${n?` (${n})`:""}`):""}}n(22);class lu extends cu{constructor(t){super(t),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const t=new zl;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),t}}class uu{constructor(t){if(Object.assign(this,t),t.actions&&t.keystrokeHandler)for(const e in t.actions){let n=t.actions[e];"string"==typeof n&&(n=[n]);for(const i of n)t.keystrokeHandler.set(i,(t,n)=>{this[e](),n()})}}get first(){return this.focusables.find(du)||null}get last(){return this.focusables.filter(du).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let t=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((e,n)=>{const i=e.element===this.focusTracker.focusedElement;return i&&(t=n),i}),t)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(t){t&&t.focus()}_getFocusableItem(t){const e=this.current,n=this.focusables.length;if(!n)return null;if(null===e)return this[1===t?"first":"last"];let i=(e+n+t)%n;do{const e=this.focusables.get(i);if(du(e))return e;i=(i+n+t)%n}while(i!==e);return null}}function du(t){return!(!t.focus||"none"==bo.window.getComputedStyle(t.element).display)}n(24);var hu='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>';class fu extends cu{constructor(t){super(t),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const t=new au;return t.content=hu,t.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),t}}
457n(26);class pu extends zl{constructor(t){super(t);const e=this.bindTemplate;this.set("icon"),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke"),this.set("label"),this.set("tabindex",-1),this.set("tooltip"),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(),this.arrowView=this._createArrowView(),this.keystrokes=new ja,this.focusTracker=new Da,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",e.if("isVisible","ck-hidden",t=>!t),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(t,e)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),e())}),this.keystrokes.set("arrowleft",(t,e)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),e())})}focus(){this.actionView.focus()}_createActionView(){const t=new cu;return t.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),t.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),t.delegate("execute").to(this),t}_createArrowView(){const t=new cu,e=t.bindTemplate;return t.icon=hu,t.extendTemplate({attributes:{class:"ck-splitbutton__arrow","aria-haspopup":!0,"aria-expanded":e.to("isOn",t=>String(t))}}),t.bind("isEnabled").to(this),t.delegate("execute").to(this,"open"),t}}class mu extends zl{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",e.to("position",t=>"ck-dropdown__panel_"+t),e.if("isVisible","ck-dropdown__panel-visible")]},children:this.children,on:{selectstart:e.to(t=>t.preventDefault())}})}focus(){this.children.length&&this.children.first.focus()}focusLast(){if(this.children.length){const t=this.children.last;"function"==typeof t.focusLast?t.focusLast():t.focus()}}}function gu({element:t,target:e,positions:n,limiter:i,fitInViewport:r}){O(e)&&(e=e()),O(i)&&(i=i());const o=function(t){return t&&t.parentNode?t.offsetParent===bo.document.body?null:t.offsetParent:null}(t),a=new Sa(t),s=new Sa(e);let c,l;if(i||r){const t=function(t,e){const{elementRect:n,viewportRect:i}=e,r=n.getArea(),o=function(t,{targetRect:e,elementRect:n,limiterRect:i,viewportRect:r}){const o=[],a=n.getArea();for(const s of t){const t=vu(s,e,n);if(!t)continue;const[c,l]=t;let u=0,d=0;if(i)if(r){const t=i.getIntersection(r);t&&(u=t.getIntersectionArea(l))}else u=i.getIntersectionArea(l);r&&(d=r.getIntersectionArea(l));const h={positionName:c,positionRect:l,limiterIntersectArea:u,viewportIntersectArea:d};if(u===a)return[h];o.push(h)}return o}(t,e);if(i){const t=_u(o.filter(({viewportIntersectArea:t})=>t===r),r);if(t)return t}return _u(o,r)}(n,{targetRect:s,elementRect:a,limiterRect:i&&new Sa(i).getVisible(),viewportRect:r&&new Sa(bo.window)});[l,c]=t||vu(n[0],s,a)}else[l,c]=vu(n[0],s,a);let u=yu(c);return o&&(u=function({left:t,top:e},n){const i=yu(new Sa(n)),r=Ta(n);return t-=i.left,e-=i.top,t+=n.scrollLeft,e+=n.scrollTop,t-=r.left,e-=r.top,{left:t,top:e}}(u,o)),{left:u.left,top:u.top,name:l}}function vu(t,e,n){const i=t(e,n);if(!i)return null;const{left:r,top:o,name:a}=i;return[a,n.clone().moveTo(r,o)]}function _u(t,e){let n,i,r=0;for(const{positionName:o,positionRect:a,limiterIntersectArea:s,viewportIntersectArea:c}of t){if(s===e)return[o,a];const t=c**2+s**2;t>r&&(r=t,n=a,i=o)}return n?[i,n]:null}function yu({left:t,top:e}){const{scrollX:n,scrollY:i}=bo.window;return{left:t+n,top:e+i}}n(28);class bu extends zl{constructor(t,e,n){super(t);const i=this.bindTemplate;this.buttonView=e,this.panelView=n,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class"),this.set("id"),this.set("panelPosition","auto"),this.keystrokes=new ja,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",i.to("class"),i.if("isEnabled","ck-disabled",t=>!t)],id:i.to("id"),"aria-describedby":i.to("ariaDescribedById")},children:[e,n]}),e.extendTemplate({attributes:{class:["ck-dropdown__button"]}})}render(){super.render(),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",()=>{this.isOpen&&("auto"===this.panelPosition?this.panelView.position=bu._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name:this.panelView.position=this.panelPosition)}),this.keystrokes.listenTo(this.element);const t=(t,e)=>{this.isOpen&&(this.buttonView.focus(),this.isOpen=!1,e())};this.keystrokes.set("arrowdown",(t,e)=>
457{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,e())}),this.keystrokes.set("arrowright",(t,e)=>{this.isOpen&&e()}),this.keystrokes.set("arrowleft",t),this.keystrokes.set("esc",t)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:t,north:e,southEast:n,southWest:i,northEast:r,northWest:o,southMiddleEast:a,southMiddleWest:s,northMiddleEast:c,northMiddleWest:l}=bu.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[n,i,a,s,t,r,o,c,l,e]:[i,n,s,a,t,o,r,l,c,e]}}bu.defaultPanelPositions={south:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/2,name:"s"}),southEast:t=>({top:t.bottom,left:t.left,name:"se"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:"sw"}),southMiddleEast:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/4,name:"sme"}),southMiddleWest:(t,e)=>({top:t.bottom,left:t.left-3*(e.width-t.width)/4,name:"smw"}),north:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/2,name:"n"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:"ne"}),northWest:(t,e)=>({top:t.top-e.height,left:t.left-e.width+t.width,name:"nw"}),northMiddleEast:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/4,name:"nme"}),northMiddleWest:(t,e)=>({top:t.top-e.height,left:t.left-3*(e.width-t.width)/4,name:"nmw"})},bu._getOptimalPosition=gu;class wu extends zl{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class ku extends zl{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function xu(t){return Array.isArray(t)?{items:t,removeItems:[]}:t?Object.assign({items:[],removeItems:[]},t):{items:[],removeItems:[]}}n(30);class Tu extends zl{constructor(t,e){super(t);const n=this.bindTemplate,i=this.t;this.options=e||{},this.set("ariaLabel",i("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Da,this.keystrokes=new ja,this.set("class"),this.set("isCompact",!1),this.itemsView=new Mu(t),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection(),this._focusCycler=new uu({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["arrowleft","arrowup"],focusNext:["arrowright","arrowdown"]}});const r=["ck","ck-toolbar",n.to("class"),n.if("isCompact","ck-toolbar_compact")];var o;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":n.to("ariaLabel"),style:{maxWidth:n.to("maxWidth")}},children:this.children,on:{mousedown:(o=this,o.bindTemplate.to(t=>{t.target===o.element&&t.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new Cu(this):new Su(this)}render(){super.render();for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",(t,e)=>{this.focusTracker.add(e.element)}),this.items.on("remove",(t,e)=>{this.focusTracker.remove(e.element)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(t,e){const n=xu(t),i=n.items.filter((t,i,r)=>"|"===t||-1===n.removeItems.indexOf(t)&&("-"===t?!this.options.shouldGroupWhenFull||(Object(c.b)("toolbarview-line-break-ignored-when-grouping-items",r),!1):!!e.has(t)||(Object(c.b)("toolbarview-item-unavailable",{name:t}),!1))),r=this._cleanSeparators(i).map(t=>"|"===t?new wu:"-"===t?new ku:e.create(t));this.items.addMany(r)}_cleanSeparators(t){const e=t=>"-"!==t&&"|"!==t,n=t.length,i=t.findIndex(e),r=n-t.slice().reverse().findIndex(e);
457return t.slice(i,r).filter((t,n,i)=>!!e(t)||!(n>0&&i[n-1]===t))}}class Mu extends zl{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Su{constructor(t){const e=t.bindTemplate;t.set("isVertical",!1),t.itemsView.children.bindTo(t.items).using(t=>t),t.focusables.bindTo(t.items).using(t=>t),t.extendTemplate({attributes:{class:[e.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class Cu{constructor(t){this.view=t,this.viewChildren=t.children,this.viewFocusables=t.focusables,this.viewItemsView=t.itemsView,this.viewFocusTracker=t.focusTracker,this.viewLocale=t.locale,this.ungroupedItems=t.createCollection(),this.groupedItems=t.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,t.itemsView.children.bindTo(this.ungroupedItems).using(t=>t),this.ungroupedItems.on("add",this._updateFocusCycleableItems.bind(this)),this.ungroupedItems.on("remove",this._updateFocusCycleableItems.bind(this)),t.children.on("add",this._updateFocusCycleableItems.bind(this)),t.children.on("remove",this._updateFocusCycleableItems.bind(this)),t.items.on("change",(t,e)=>{const n=e.index;for(const i of e.removed)n>=this.ungroupedItems.length?this.groupedItems.remove(i):this.ungroupedItems.remove(i);for(let i=n;i<n+e.added.length;i++){const t=e.added[i-n];i>this.ungroupedItems.length?this.groupedItems.add(t,i-this.ungroupedItems.length):this.ungroupedItems.add(t,i)}this._updateGrouping()}),t.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(t){this.viewElement=t.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(t)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!this.viewElement.offsetParent)return void(this.shouldUpdateGroupingOnNextResize=!0);const t=this.groupedItems.length;let e;for(;this._areItemsOverflowing;)this._groupLastItem(),e=!0;if(!e&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==t&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const t=this.viewElement,e=this.viewLocale.uiLanguageDirection,n=new Sa(t.lastChild),i=new Sa(t);if(!this.cachedPadding){const n=bo.window.getComputedStyle(t),i="ltr"===e?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(n[i])}return"ltr"===e?n.right>i.right-this.cachedPadding:n.left<i.left+this.cachedPadding}_enableGroupingOnResize(){let t;this.resizeObserver=new La(this.viewElement,e=>{t&&t===e.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),t=e.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(t){t.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new wu),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const t=this.viewLocale,e=t.t,n=Ou(t);return n.class="ck-toolbar__grouped-dropdown",n.panelPosition="ltr"===t.uiLanguageDirection?"sw":"se",function(t,e){const n=t.locale,i=n.t,r=t.toolbarView=new Tu(n);r.set("ariaLabel",i("Dropdown toolbar")),t.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.map(t=>r.items.add(t)),t.panelView.children.add(r),r.items.delegate("execute").to(t)}(n,[]),n.buttonView.set({label:e("Show more items"),tooltip:!0,tooltipPosition:"rtl"===t.uiLanguageDirection?"se":"sw",icon:jl}),n.toolbarView.items.bindTo(this.groupedItems).using(t=>t),n}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(t=>{this.viewFocusables.add(t)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}n(32);class Eu extends zl{constructor(){super(),this.items=this.createCollection(),this.focusTracker=new Da,this.keystrokes=new ja,this._focusCycler=new uu({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"]},children:this.items})}render(){super.render();for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",(t,e)=>{this.focusTracker.add(e.element)}),this.items.on("remove",(t,e)=>{this.focusTracker.remove(e.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class Lu extends zl{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item"]},children:this.children})}focus(){this.children.first.focus()}}class Au extends zl{constructor(t){super(t),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}function Ou(t,e=fu){const n=new e(t),i=new mu(t),r=new bu(t,n,i);return n.bind("isEnabled").to(r),n instanceof fu?n.bind("isOn").to(r,"isOpen"):n.arrowView.bind("isOn").to(r,"isOpen"),function(t){(function(t){t.on("render",()=>{Il({emitter:t,activator:()=>t.isOpen,callback:()=>{t.isOpen=!1},contextElements:[t.element]})})})(t),function(t){t.on("execute",e=>{e.source instanceof lu||(t.isOpen=!1)})}(t),function(t){t.keystrokes.set("arrowdown",(e,n)=>{t.isOpen&&(t.panelView.focus(),n())}),t.keystrokes.set("arrowup",(e,n)=>{t.isOpen&&(t.panelView.focusLast(),n())})}(t)}(r),r}function Pu(t,e){const n=t.locale,i=t.listView=new Eu(n);i.items.bindTo(e).using(({type:t,model:e})=>
457{if("separator"===t)return new Au(n);if("button"===t||"switchbutton"===t){const i=new Lu(n);let r;return r="button"===t?new cu(n):new lu(n),r.bind(...Object.keys(e)).to(e),r.delegate("execute").to(i),i.children.add(r),i}}),t.panelView.children.add(i),i.items.delegate("execute").to(t)}n(34),n(36),n(38);class Du extends zl{constructor(t){super(t),this.body=new ou(t)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}n(40);class ju extends zl{constructor(t){super(t),this.set("text"),this.set("for"),this.id="ck-editor__label_"+a();const e=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")},children:[{text:e.to("text")}]})}}class Iu extends Du{constructor(t){super(t),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:t.uiLanguageDirection,lang:t.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const t=this.t,e=new ju;return e.text=t("Rich Text Editor"),e.extendTemplate({attributes:{class:"ck-voice-label"}}),e}}class Ru extends zl{constructor(t,e,n){super(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:t.contentLanguage,dir:t.contentLanguageDirection}}),this.name=null,this.set("isFocused",!1),this._editableElement=n,this._hasExternalElement=!!this._editableElement,this._editingView=e}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}_updateIsFocusedClasses(){const t=this._editingView;function e(e){t.change(n=>{const i=t.document.getRoot(e.name);n.addClass(e.isFocused?"ck-focused":"ck-blurred",i),n.removeClass(e.isFocused?"ck-blurred":"ck-focused",i)})}t.isRenderingInProgress?function n(i){t.once("change:isRenderingInProgress",(t,r,o)=>{o?n(i):e(i)})}(this):e(this)}}class Nu extends Ru{constructor(t,e,n){super(t,e,n),this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}})}render(){super.render();const t=this._editingView,e=this.t;t.change(n=>{const i=t.document.getRoot(this.name);n.setAttribute("aria-label",e("Rich Text Editor, %0",this.name),i)})}}n(42),n(44);class Yu extends zl{constructor(t){super(t),this.set("value"),this.set("id"),this.set("placeholder"),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById"),this.focusTracker=new Da,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{type:"text",class:["ck","ck-input","ck-input-text",e.if("isFocused","ck-input_focused"),e.if("isEmpty","ck-input-text_empty"),e.if("hasError","ck-error")],id:e.to("id"),placeholder:e.to("placeholder"),readonly:e.to("isReadOnly"),"aria-invalid":e.if("hasError",!0),"aria-describedby":e.to("ariaDescribedById")},on:{input:e.to("input"),change:e.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(t,e,n)=>{this._setDomElementValue(n),this._updateIsEmpty()})}select(){this.element.select()}focus(){this.element.focus()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(t){this.element.value=t||0===t?t:""}}n(46);class zu extends zl{constructor(t,e){super(t);const n="ck-labeled-field-view-"+a(),i="ck-labeled-field-view-status-"+a();this.fieldView=e(this,n,i),this.set("label"),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class"),this.set("placeholder"),this.labelView=this._createLabelView(n),this.statusView=this._createStatusView(i),this.bind("_statusText").to(this,"errorText",this,"infoText",(t,e)=>t||e);const r=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",r.to("class"),r.if("isEnabled","ck-disabled",t=>!t),r.if("isEmpty","ck-labeled-field-view_empty"),r.if("isFocused","ck-labeled-field-view_focu
457sed"),r.if("placeholder","ck-labeled-field-view_placeholder"),r.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:[this.fieldView,this.labelView]},this.statusView]})}_createLabelView(t){const e=new ju(this.locale);return e.for=t,e.bind("text").to(this,"label"),e}_createStatusView(t){const e=new zl(this.locale),n=this.bindTemplate;return e.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",n.if("errorText","ck-labeled-field-view__status_error"),n.if("_statusText","ck-hidden",t=>!t)],id:t,role:n.if("errorText","alert")},children:[{text:n.to("_statusText")}]}),e}focus(){this.fieldView.focus()}}function Bu(t,e,n){const i=new Yu(t.locale);return i.set({id:e,ariaDescribedById:n}),i.bind("isReadOnly").to(t,"isEnabled",t=>!t),i.bind("hasError").to(t,"errorText",t=>!!t),i.on("input",()=>{t.errorText=null}),t.bind("isEmpty","isFocused","placeholder").to(i),i}class Fu extends si{static get pluginName(){return"Notification"}init(){this.on("show:warning",(t,e)=>{window.alert(e.message)},{priority:"lowest"})}showSuccess(t,e={}){this._showNotification({message:t,type:"success",namespace:e.namespace,title:e.title})}showInfo(t,e={}){this._showNotification({message:t,type:"info",namespace:e.namespace,title:e.title})}showWarning(t,e={}){this._showNotification({message:t,type:"warning",namespace:e.namespace,title:e.title})}_showNotification(t){const e="show:"+t.type+(t.namespace?":"+t.namespace:"");this.fire(e,{message:t.message,type:t.type,title:t.title||""})}}class Hu{constructor(t,e){e&&Rt(this,e),t&&this.set(t)}}Gt(Hu,Vt),n(48);const Vu=Oa("px"),Uu=bo.document.body;class Wu extends zl{constructor(t){super(t);const e=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class"),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",e.to("position",t=>"ck-balloon-panel_"+t),e.if("isVisible","ck-balloon-panel_visible"),e.if("withArrow","ck-balloon-panel_with-arrow"),e.to("class")],style:{top:e.to("top",Vu),left:e.to("left",Vu)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(t){this.show();const e=Wu.defaultPositions,n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthMiddleWest,e.southArrowNorthMiddleEast,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthMiddleWest,e.northArrowSouthMiddleEast,e.northArrowSouthWest,e.northArrowSouthEast],limiter:Uu,fitInViewport:!0},t),i=Wu._getOptimalPosition(n),r=parseInt(i.left),o=parseInt(i.top),a=i.name;Object.assign(this,{top:o,left:r,position:a})}pin(t){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(t):this._stopPinning()},this._startPinning(t),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(t){this.attachTo(t);const e=$u(t.target),n=t.limiter?$u(t.limiter):Uu;this.listenTo(bo.document,"scroll",(i,r)=>{const o=r.target,a=e&&o.contains(e),s=n&&o.contains(n);!a&&!s&&e&&n||this.attachTo(t)},{useCapture:!0}),this.listenTo(bo.window,"resize",()=>{this.attachTo(t)})}_stopPinning(){this.stopListening(bo.document,"scroll"),this.stopListening(bo.window,"resize")}}function $u(t){return qn(t)?t:xa(t)?t.commonAncestorContainer:"function"==typeof t?$u(t()):null}function Xu(t,e){return t.top-e.height-Wu.arrowVerticalOffset}function qu(t){return t.bottom+Wu.arrowVerticalOffset}Wu.arrowHorizontalOffset=25,Wu.arrowVerticalOffset=10,Wu._getOptimalPosition=gu,Wu.defaultPositions={northWestArrowSouthWest:(t,e)=>({top:Xu(t,e),left:t.left-Wu.arrowHorizontalOffset,name:"arrow_sw"}),northWestArrowSouthMiddleWest:(t,e)=>({top:Xu(t,e),left:t.left-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_smw"}),northWestArrowSouth:(t,e)=>({top:Xu(t,e),left:t.left-e.width/2,name:"arrow_s"}),northWestArrowSouthMiddleEast:(t,e)=>({top:Xu(t,e),left:t.left-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_sme"}),northWestArrowSouthEast:(t,e)=>({top:Xu(t,e),left:t.left-e.width+Wu.arrowHorizontalOffset,name:"arrow_se"}),northArrowSouthWest:(t,e)=>({top:Xu(t,e),left:t.left+t.width/2-Wu.arrowHorizontalOffset,name:"arrow_sw"}),northArrowSouthMiddleWest:(t,e)=>({top:Xu(t,e),left:t.left+t.width/2-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_smw"}),northArrowSouth:(t,e)=>({top:Xu(t,e),left:t.left+t.width/2-e.width/2,name:"arrow_s"}),northArrowSouthMiddleEast:(t,e)=>({top:Xu(t,e),left:t.left+t.width/2-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_sme"}),northArrowSouthEast:(t,e)=>({top:Xu(t,e),left:t.left+t.width/2-e.width+Wu.arrowHorizontalOffset,name:"arrow_se"}),northEastArrowSouthWest:(t,e)=>({top:Xu(t,e),left:t.right-Wu.arrowHorizontalOffset,name:"arrow_sw"}),northEastArrowSouthMiddleWest:(t,e)=>({top:Xu(t,e),left:t.right-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_smw"}),northEastArrowSouth:(t,e)=>({top:Xu(t,e),left:t.right-e.width/2,name:"arrow_s"}),northEastArrowSouthMiddleEast:(t,e)=>({top:Xu(t,e),left:t.right-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_sme"}),northEastArrowSouthEast:(t,e)=>({top:Xu(t,e),left:t.right-e.width+Wu.arrowHorizontalOffset,name:"arrow_se"}),southWestArrowNorthWest:(t,e)=>({top:qu(t),left:t.left-Wu.arrowHorizontalOffset,name:"arrow_nw"}),southWestArrowNorthMiddleWest:(t,e)=>({top:qu(t),left:t.left-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_nmw"}),southWestArrowNorth:(t,e)=>({top:qu(t),left:t.left-e.width/2,name:"arrow_n"}),southWestArrowNorthMiddleEast:(t,e)=>({top:qu(t),left:t.left-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_nme"}),southWestArrowNorthEast:(t,e)=>({top:qu(t),left:t.left-e.width+Wu.arrowHorizontalOffset,name:"arrow_ne"}),southArrowNorthWest:(t,e)=>({top:qu(t),left:t.left+t.width/2-Wu.arrowHorizontalOffset,name:"arrow_nw"}),southArrowNorthMiddleWest:(t,e)=>({top:qu(t),left:t.left+t.width/2-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_nmw"}),southArrowNorth:(t,e)=>({top:qu(t),left:t.left+t.width/2-e.width/2,name:"arrow_n"}),southArrowNorthMiddleEast:(t,e)=>({top:qu(t),left:t.left+t.width/2-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_nme"}),southArrowNorthEast:(t,e)=>({top:qu(t),left:t.left+t.width/2-e.width+Wu.arrowHorizontalOffset,name:"arrow_ne"}),southEastArrowNorthWest:(t,e)=>({top:qu(t),left:t.right-Wu.arrowHorizontalOffset,name:"arrow_nw"}),southEastArrowNorthMiddleWest:(t,e)=>({top:qu(t),left:t.right-.25*e.width-Wu.arrowHorizontalOffset,name:"arrow_nmw"}),southEastArrowNorth:(t,e)=>({top:qu(t),left:t.right-e.width/2,name:"arrow_n"}),southEastArrowNorthMiddleEast:(t,e)=>({top:qu(t),left:t.right-.75*e.width+Wu.arrowHorizontalOffset,name:"arrow_nme"}),southEastArrowNorthEast:(t,e)=>({top:qu(t),left:t.right-e.width+Wu.arrowHorizontalOffset,name:"arrow_ne"})},n(50),n(52);const Gu=Oa("px");class Zu extends Zt{static get pluginName(){return"ContextualBalloon"}constructor(t){super(t),this.positionLimiter=()=>{const t=this.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null},this.set("visibleView",null),this.view=new Wu(t.locale),t.ui.view.body.add(this.view),t.ui.focusTracker.add(this.view.element),this._viewToStack=new Map,this._idToStack=new Map,this.set("_numberOfStacks",0),this.set("_singleViewMode",!1),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}hasView(t){return Array.from(this._viewToStack.keys()).includes(t)}add(t){if(this.hasView(t.view))throw new c.a("contextualballoon-add-view-exist",[this,t]);const e=t.stackId||"main";if(!this._idToStack.has(e))return this._idToStack.set(e,new Map([[t.view,t]])),this._viewToStack.set(t.view,this._idToStack.get(e)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!t.singleViewMode||this.showStack(e));const n=this._idToStack.get(e);t.singleViewMode&&this.showStack(e),n.set(t.view,t),this._viewToStack.set(t.view,n),n===this._visibleStack&&this._showView(t)}remove(t){if(!this.hasView(t))throw new c.a("contextualballoon-remove-view-not-exist",[this,t]);const e=this._viewToStack.get(t);this._singleViewMode&&this.visibleView===t&&(this._singleViewMode=!1),this.visibleView===t&&(1===e.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(e.values())[e.size-2])),1===e.size?(this._idToStack.delete(this._getStackId(e)),this._numberOfStacks=this._idToStack.size):e.delete(t),this._viewToStack.delete(t)}updatePosition(t){t&&(this._visibleStack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(t){this.visibleStack=t;const e=this._idToStack.get(t);if(!e)throw new c.a("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==e&&this._showView(Array.from(e.values()).pop())}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(t){return Array.from(this._idToStack.entries()).find(e=>e[1]===t)[0]}_showNextStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)+1;t[e]||(e=0),this.showStack(this._getStackId(t[e]))}_showPrevStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)-1;t[e]||(e=t.length-1),this.showStack(this._getStackId(t[e]))}_createRotatorView(){const t=new Ju(this.editor.locale),e=this.editor.locale.t;return this.view.content.add(t),t.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(t,e)=>!e&&t>1),t.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),t.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(t,n)=>{if(n<2)return"";const i=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return e("%0 of %1",[i,n])}),t.buttonNextView.on("execute",()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),t.buttonPrevView.on("execute",()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),t}_createFakePanelsView(){const t=new Ku(this.editor.locale,this.view);return t.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(t,e)=>!e&&t>=2?Math.min(t-1,2):0),t.listenTo(this.view,"change:top",()=>t.updatePosition()),t.listenTo(this.view,"change:left",()=>t.updatePosition()),this.editor.ui.view.body.add(t),t}_showView({view:t,balloonClassName:e="",withArrow:n=!0,singleViewMode:i=!1}){this.view.class=e,this.view.withArrow=n,this._rotatorView.showView(t),this.visibleView=t,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),i&&(this._singleViewMode=!0)}_getBalloonPosition(){let t=Array.from(this._visibleStack.values()).pop().position;return t&&!t.limiter&&(t=Object.assign({},t,{limiter:this.positionLimiter})),t}}class Ju extends zl{constructor(t){super(t);const e=t.t,n=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Da,this.buttonPrevView=this._createButtonView(e("Previous"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/>
457</svg>'),this.buttonNextView=this._createButtonView(e("Next"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"/></svg>'),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",n.to("isNavigationVisible",t=>t?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:n.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}showView(t){this.hideView(),this.content.add(t)}hideView(){this.content.clear()}_createButtonView(t,e){const n=new cu(this.locale);return n.set({label:t,icon:e,tooltip:!0}),n}}class Ku extends zl{constructor(t,e){super(t);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=e,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",n.to("numberOfPanels",t=>t?"":"ck-hidden")],style:{top:n.to("top",Gu),left:n.to("left",Gu),width:n.to("width",Gu),height:n.to("height",Gu)}},children:this.content}),this.on("change:numberOfPanels",(t,e,n,i)=>{n>i?this._addPanels(n-i):this._removePanels(i-n),this.updatePosition()})}_addPanels(t){for(;t--;){const t=new zl;t.setTemplate({tag:"div"}),this.content.add(t),this.registerChild(t)}}_removePanels(t){for(;t--;){const t=this.content.last;this.content.remove(t),this.deregisterChild(t),t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:t,left:e}=this._balloonPanelView,{width:n,height:i}=new Sa(this._balloonPanelView.element);Object.assign(this,{top:t,left:e,width:n,height:i})}}}n(54);const Qu=Oa("px");class td extends zl{constructor(t){super(t);const e=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheLimiter",!1),this.set("_hasViewportTopOffset",!1),this.content=this.createCollection(),this._contentPanelPlaceholder=new Bl({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:e.to("isSticky",t=>t?"block":"none"),height:e.to("isSticky",t=>t?Qu(this._panelRect.height):null)}}}).render(),this._contentPanel=new Bl({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",e.if("isSticky","ck-sticky-panel__content_sticky"),e.if("_isStickyToTheLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:e.to("isSticky",t=>t?Qu(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:e.to("_hasViewportTopOffset",t=>t?Qu(this.viewportTopOffset):null),bottom:e.to("_isStickyToTheLimiter",t=>t?Qu(this.limiterBottomOffset):null),marginLeft:e.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this._checkIfShouldBeSticky(),this.listenTo(bo.window,"scroll",()=>{this._checkIfShouldBeSticky()}),this.listenTo(this,"change:isActive",()=>{this._checkIfShouldBeSticky()})}_checkIfShouldBeSticky(){const t=this._panelRect=this._contentPanel.getBoundingClientRect();let e;this.limiterElement?(e=this._limiterRect=this.limiterElement.getBoundingClientRect(),this.isSticky=this.isActive&&e.top<this.viewportTopOffset&&this._panelRect.height+this.limiterBottomOffset<e.height):this.isSticky=!1,this.isSticky?(this._isStickyToTheLimiter=e.bottom<t.height+this.limiterBottomOffset+this.viewportTopOffset,this._hasViewportTopOffset=!this._isStickyToTheLimiter&&!!this.viewportTopOffset,this._marginLeft=this._isStickyToTheLimiter?null:Qu(-bo.window.scrollX)):(this._isStickyToTheLimiter=!1,this._hasViewportTopOffset=!1,this._marginLeft=null)}}Oa("px"),n(56),Oa("px"),Oa("px"),n(58);const ed=new WeakMap;
vendor: 19,295 bytes, line 457
457function nd(t){const{view:e,element:n,text:i,isDirectHost:r=!0,keepOnFocus:o=!1}=t,a=e.document;ed.has(a)||(ed.set(a,new Map),a.registerPostFixer(t=>rd(a,t))),ed.get(a).set(n,{text:i,isDirectHost:r,keepOnFocus:o,hostElement:r?n:null}),e.change(t=>rd(a,t))}function id(t,e){return!!e.hasClass("ck-placeholder")&&(t.removeClass("ck-placeholder",e),!0)}function rd(t,e){const n=ed.get(t),i=[];let r=!1;for(const[o,a]of n)a.isDirectHost&&(i.push(o),od(e,o,a)&&(r=!0));for(const[o,a]of n){if(a.isDirectHost)continue;const t=ad(o);t&&(i.includes(t)||(a.hostElement=t,od(e,o,a)&&(r=!0)))}return r}function od(t,e,n){const{text:i,isDirectHost:r,hostElement:o}=n;let a=!1;return o.getAttribute("data-placeholder")!==i&&(t.setAttribute("data-placeholder",i,o),a=!0),(r||1==e.childCount)&&function(t,e){if(!t.isAttached())return!1;if(Array.from(t.getChildren()).some(t=>!t.is("uiElement")))return!1;if(e)return!0;const n=t.document;if(!n.isFocused)return!0;const i=n.selection.anchor;return i&&i.parent!==t}(o,n.keepOnFocus)?function(t,e){return!e.hasClass("ck-placeholder")&&(t.addClass("ck-placeholder",e),!0)}(t,o)&&(a=!0):id(t,o)&&(a=!0),a}function ad(t){if(t.childCount){const e=t.getChild(0);if(e.is("element")&&!e.is("uiElement"))return e}return null}const sd=new Map;function cd(t,e,n){let i=sd.get(t);i||(i=new Map,sd.set(t,i)),i.set(e,n)}function ld(t){return[t]}function ud(t,e,n={}){const i=function(t,e){const n=sd.get(t);return n&&n.has(e)?n.get(e):ld}(t.constructor,e.constructor);try{return i(t=t.clone(),e,n)}catch(t){throw t}}function dd(t,e,n){t=t.slice(),e=e.slice();const i=new hd(n.document,n.useRelations,n.forceWeakRemove);i.setOriginalOperations(t),i.setOriginalOperations(e);const r=i.originalOperations;if(0==t.length||0==e.length)return{operationsA:t,operationsB:e,originalOperations:r};const o=new WeakMap;for(const c of t)o.set(c,0);const a={nextBaseVersionA:t[t.length-1].baseVersion+1,nextBaseVersionB:e[e.length-1].baseVersion+1,originalOperationsACount:t.length,originalOperationsBCount:e.length};let s=0;for(;s<t.length;){const n=t[s],r=o.get(n);if(r==e.length){s++;continue}const a=e[r],c=ud(n,a,i.getContext(n,a,!0)),l=ud(a,n,i.getContext(a,n,!1));i.updateRelation(n,a),i.setOriginalOperations(c,n),i.setOriginalOperations(l,a);for(const t of c)o.set(t,r+l.length);t.splice(s,1,...c),e.splice(r,1,...l)}if(n.padWithNoOps){const n=t.length-a.originalOperationsACount,i=e.length-a.originalOperationsBCount;pd(t,i-n),pd(e,n-i)}return fd(t,a.nextBaseVersionB),fd(e,a.nextBaseVersionA),{operationsA:t,operationsB:e,originalOperations:r}}class hd{constructor(t,e,n=!1){this.originalOperations=new Map,this._history=t.history,this._useRelations=e,this._forceWeakRemove=!!n,this._relations=new Map}setOriginalOperations(t,e=null){const n=e?this.originalOperations.get(e):null;for(const i of t)this.originalOperations.set(i,n||i)}updateRelation(t,e){switch(t.constructor){case Mc:switch(e.constructor){case Ac:t.targetPosition.isEqual(e.sourcePosition)||e.movedRange.containsPosition(t.targetPosition)?this._setRelation(t,e,"insertAtSource"):t.targetPosition.isEqual(e.deletionPosition)?this._setRelation(t,e,"insertBetween"):t.targetPosition.isAfter(e.sourcePosition)&&this._setRelation(t,e,"moveTargetAfter");break;case Mc:t.targetPosition.isEqual(e.sourcePosition)||t.targetPosition.isBefore(e.sourcePosition)?this._setRelation(t,e,"insertBefore"):this._setRelation(t,e,"insertAfter")}break;case Oc:switch(e.constructor){case Ac:t.splitPosition.isBefore(e.sourcePosition)&&this._setRelation(t,e,"splitBefore");break;case Mc:if(t.splitPosition.isEqual(e.sourcePosition)||t.splitPosition.isBefore(e.sourcePosition))this._setRelation(t,e,"splitBefore");else{const n=rs._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&n.containsPosition(t.splitPosition)){const i=n.end.offset-t.splitPosition.offset,r=t.splitPosition.offset-n.start.offset;this._setRelation(t,e,{howMany:i,offset:r})}}}break;case Ac:switch(e.constructor){case Ac:t.targetPosition.isEqual(e.sourcePosition)||this._setRelation(t,e,"mergeTargetNotMoved"),t.sourcePosition.isEqual(e.targetPosition)&&this._setRelation(t,e,"mergeSourceNotMoved"),t.sourcePosition.isEqual(e.sourcePosition)&&this._setRelation(t,e,"mergeSameElement");break;case Oc:t.sourcePosition.isEqual(e.splitPosition)&&this._setRelation(t,e,"splitAtSource")}break;case Cc:{const n=t.newRange;if(!n)return;switch(e.constructor){case Mc:{const i=rs._createFromPositionAndShift(e.sourcePosition,e.howMany),r=i.containsPosition(n.start)||i.start.isEqual(n.start),o=i.containsPosition(n.end)||i.end.isEqual(n.end);!r&&!o||i.containsRange(n)||this._setRelation(t,e,{side:r?"left":"right",path:r?n.start.path.slice():n.end.path.slice()});break}case Ac:{const i=n.start.isEqual(e.targetPosition),r=n.start.isEqual(e.deletionPosition),o=n.end.isEqual(e.deletionPosition),a=n.end.isEqual(e.sourcePosition);(i||r||o||a)&&this._setRelation(t,e,{wasInLeftElement:i,wasStartBeforeMergedElement:r,wasEndBeforeMergedElement:o,wasInRightElement:a});break}}break}}}getContext(t,e,n){return{aIsStrong:n,aWasUndone:this._wasUndone(t),bWasUndone:this._wasUndone(e),abRelation:this._useRelations?this._getRelation(t,e):null,baRelation:this._useRelations?this._getRelation(e,t):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(t){const e=this.originalOperations.get(t);return e.wasUndone||this._history.isUndoneOperation(e)}_getRelation(t,e){const n=this.originalOperations.get(e),i=this._history.getUndoneOperation(n);if(!i)return null;const r=this.originalOperations.get(t),o=this._relations.get(r);return o&&o.get(i)||null}_setRelation(t,e,n){const i=this.originalOperations.get(t),r=this.originalOperations.get(e);let o=this._relations.get(i);o||(o=new Map,this._relations.set(i,o)),o.set(r,n)}}function fd(t,e){for(const n of t)n.baseVersion=e++}function pd(t,e){for(let n=0;n<e;n++)t.push(new Zc(0))}function md(t,e,n){const i=t.nodes.getNode(0).getAttribute(e);if(i==n)return null;const r=new rs(t.position,t.position.getShiftedBy(t.howMany));return new xc(r,e,i,n,0)}function gd(t,e){return null===t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany)}function vd(t,e){const n=[];for(let i=0;i<t.length;i++){const r=t[i],o=new Mc(r.start,r.end.offset-r.start.offset,e,0);n.push(o);for(let e=i+1;e<t.length;e++)t[e]=t[e]._getTransformedByMove(o.sourcePosition,o.targetPosition,o.howMany)[0];e=e._getTransformedByMove(o.sourcePosition,o.targetPosition,o.howMany)}return n}cd(xc,xc,(t,e,n)=>{if(t.key===e.key&&t.range.start.hasSameParentAs(e.range.start)){const i=t.range.getDifference(e.range).map(e=>new xc(e,t.key,t.oldValue,t.newValue,0)),r=t.range.getIntersection(e.range);return r&&n.aIsStrong&&i.push(new xc(r,e.key,e.newValue,t.newValue,0)),0==i.length?[new Zc(0)]:i}return[t]}),cd(xc,Sc,(t,e)=>{if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){const n=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map(e=>new xc(e,t.key,t.oldValue,t.newValue,t.baseVersion));if(e.shouldReceiveAttributes){const i=md(e,t.key,t.oldValue);i&&n.unshift(i)}return n}return t.range=t.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[t]}),cd(xc,Ac,(t,e)=>{const n=[];t.range.start.hasSameParentAs(e.deletionPosition)&&(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition))&&n.push(rs._createFromPositionAndShift(e.graveyardPosition,1));const i=t.range._getTransformedByMergeOperation(e);return i.isCollapsed||n.push(i),n.map(e=>new xc(e,t.key,t.oldValue,t.newValue,t.baseVersion))}),cd(xc,Mc,(t,e)=>function(t,e){const n=rs._createFromPositionAndShift(e.sourcePosition,e.howMany);let i=null,r=[];n.containsRange(t,!0)?i=t:t.start.hasSameParentAs(n.start)?(r=t.getDifference(n),i=t.getIntersection(n)):r=[t];const o=[];for(let a of r){a=a._getTransformedByDeletion(e.sourcePosition,e.howMany);const t=e.getMovedRangeStart(),n=a.start.hasSameParentAs(t);a=a._getTransformedByInsertion(t,e.howMany,n),o.push(...a)}return i&&o.push(i._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]),o}(t.range,e).map(e=>new xc(e,t.key,t.oldValue,t.newValue,t.baseVersion))),cd(xc,Oc,(t,e)=>{if(t.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.range.end.offset++,[t];if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){const n=t.clone();return n.range=new rs(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),t.range.end=e.splitPosition.clone(),t.range.end.stickiness="toPrevious",[t,n]}return t.range=t.range._getTransformedBySplitOperation(e),[t]}),cd(Sc,xc,(t,e)=>{const n=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){const i=md(t,e.key,e.newValue);i&&n.push(i)}return n}),cd(Sc,Sc,(t,e,n)=>(t.position.isEqual(e.position)&&n.aIsStrong||(t.position=t.position._getTransformedByInsertOperation(e)),[t])),cd(Sc,Mc,(t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t])),cd(Sc,Oc,(t,e)=>(t.position=t.position._getTransformedBySplitOperation(e),[t])),cd(Sc,Ac,(t,e)=>(t.position=t.position._getTransformedByMergeOperation(e),[t])),cd(Cc,Sc,(t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]),t.newRange&&(t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]),[t])),cd(Cc,Cc,(t,e,n)=>{if(t.name==e.name){if(!n.aIsStrong)return[new Zc(0)];t.oldRange=e.newRange?e.newRange.clone():null}return[t]}),cd(Cc,Ac,(t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByMergeOperation(e)),t.newRange&&(t.newRange=t.newRange._getTransformedByMergeOperation(e)),[t])),cd(Cc,Mc,(t,e,n)=>{if(t.oldRange&&(t.oldRange=rs._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))),t.newRange){if(n.abRelation){const i=rs._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if("left"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.start))return t.newRange.start.path=n.abRelation.path,t.newRange.end=i.end,[t];if("right"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.end))return t.newRange.start=i.start,t.newRange.end.path=n.abRelation.path,[t]}t.newRange=rs._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]}),cd(Cc,Oc,(t,e,n)=>{if(t.oldRange&&(t.oldRange=t.oldRange._getTransformedBySplitOperation(e)),t.newRange){if(n.abRelation){const i=t.newRange._getTransformedBySplitOperation(e);return t.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?t.newRange.start=ts._createAt(e.insertionPosition):t.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement&&(t.newRange.start=ts._createAt(e.moveTargetPosition)),t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement?t.newRange.end=ts._createAt(e.moveTargetPosition):t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?t.newRange.end=ts._createAt(e.insertionPosition):t.newRange.end=i.end,[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]}),cd(Ac,Sc,(t,e)=>(t.sourcePosition.hasSameParentAs(e.position)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e),t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e),[t])),cd(Ac,Ac,(t,e,n)=>{if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(n.bWasUndone){const n=e.graveyardPosition.path.slice();return n.push(0),t.sourcePosition=new ts(e.graveyardPosition.root,n),t.howMany=0,[t]}return[new Zc(0)]}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&"splitAtSource"!=n.abRelation){const i="$graveyard"==t.targetPosition.root.rootName,r="$graveyard"==e.targetPosition.root.rootName,o=i&&!r;if(r&&!i||!o&&n.aIsStrong){const n=e.targetPosition._getTransformedByMergeOperation(e),i=t.targetPosition._getTransformedByMergeOperation(e);return[new Mc(n,t.howMany,i,0)]}return[new Zc(0)]}return t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),t.graveyardPosition.isEqual(e.graveyardPosition)&&n.aIsStrong||(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]}),cd(Ac,Mc,(t,e,n)=>{const i=rs._createFromPositionAndShift(e.sourcePosition,e.howMany);return"remove"==e.type&&!n.bWasUndone&&!n.forceWeakRemove&&t.deletionPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(t.sourcePosition)?[new Zc(0)]:(t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition.hasSameParentAs(e.sourcePosition)&&(t.howMany-=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e),t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e),t.graveyardPosition.isEqual(e.targetPosition)||(t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)),[t])}),cd(Ac,Oc,(t,e,n)=>{if(e.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),t.deletionPosition.isEqual(e.graveyardPosition)&&(t.howMany=e.howMany)),t.targetPosition.isEqual(e.splitPosition)){const i=0!=e.howMany,r=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(i||r||"mergeTargetNotMoved"==n.abRelation)return t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),[t]}if(t.sourcePosition.isEqual(e.splitPosition)){if("mergeSourceNotMoved"==n.abRelation)return t.howMany=0,t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t];if("mergeSameElement"==n.abRelation||t.sourcePosition.offset>0)return t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}return t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}),cd(Mc,Sc,(t,e)=>{const n=rs._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=n.start,t.howMany=n.end.offset-n.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t]}),cd(Mc,Mc,(t,e,n)=>{const i=rs._createFromPositionAndShift(t.sourcePosition,t.howMany),r=rs._createFromPositionAndShift(e.sourcePosition,e.howMany);let o,a=n.aIsStrong,s=!n.aIsStrong;if("insertBefore"==n.abRelation||"insertAfter"==n.baRelation?s=!0:"insertAfter"!=n.abRelation&&"insertBefore"!=n.baRelation||(s=!1),o=t.targetPosition.isEqual(e.targetPosition)&&s?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),gd(t,e)&&gd(e,t))return[e.getReversed()];if(i.containsPosition(e.targetPosition)&&i.containsRange(r,!0))return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),vd([i],o);if(r.containsPosition(t.targetPosition)&&r.containsRange(i,!0))return i.start=i.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),i.end=i.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),vd([i],o);const c=ci(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if("prefix"==c||"extension"==c)return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),vd([i],o);"remove"!=t.type||"remove"==e.type||n.aWasUndone||n.forceWeakRemove?"remove"==t.type||"remove"!=e.type||n.bWasUndone||n.forceWeakRemove||(a=!1):a=!0;const l=[],u=i.getDifference(r);for(const h of u){h.start=h.start._getTransformedByDeletion(e.sourcePosition,e.howMany),h.end=h.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const t="same"==ci(h.start.getParentPath(),e.getMovedRangeStart().getParentPath()),n=h._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,t);l.push(...n)}const d=i.getIntersection(r);return null!==d&&a&&(d.start=d.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),d.end=d.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===l.length?l.push(d):1==l.length?r.start.isBefore(i.start)||r.start.isEqual(i.start)?l.unshift(d):l.push(d):l.splice(1,0,d)),0===l.length?[new Zc(t.baseVersion)]:vd(l,o)}),cd(Mc,Oc,(t,e,n)=>{let i=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&"moveTargetAfter"!=n.abRelation||(i=t.targetPosition._getTransformedBySplitOperation(e));const r=rs._createFromPositionAndShift(t.sourcePosition,t.howMany);if(r.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=i,[t];if(r.start.hasSameParentAs(e.splitPosition)&&r.containsPosition(e.splitPosition)){let t=new rs(e.splitPosition,r.end);return t=t._getTransformedBySplitOperation(e),vd([new rs(r.start,e.splitPosition),t],i)}t.targetPosition.isEqual(e.splitPosition)&&"insertAtSource"==n.abRelation&&(i=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&"insertBetween"==n.abRelation&&(i=t.targetPosition);const o=[r._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const i=r.start.isEqual(e.graveyardPosition)||r.containsPosition(e.graveyardPosition);t.howMany>1&&i&&!n.aWasUndone&&o.push(rs._createFromPositionAndShift(e.insertionPosition,1))}return vd(o,i)}),cd(Mc,Ac,(t,e,n)=>{const i=rs._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&i.containsPosition(e.sourcePosition))if("remove"!=t.type||n.forceWeakRemove){if(1==t.howMany)return n.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new Zc(0)]}else if(!n.aWasUndone){const n=[];let i=e.graveyardPosition.clone(),r=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(n.push(new Mc(t.sourcePosition,t.howMany-1,t.targetPosition,0)),i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),r=r._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));const o=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),a=new Mc(i,1,o,0),s=a.getMovedRangeStart().path.slice();s.push(0);const c=new ts(a.targetPosition.root,s);r=r._getTransformedByMove(i,o,1);const l=new Mc(r,e.howMany,c,0);return n.push(a),n.push(l),n}const r=rs._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=r.start,t.howMany=r.end.offset-r.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]}),cd(Ec,Sc,(t,e)=>(t.position=t.position._getTransformedByInsertOperation(e),[t])),cd(Ec,Ac,(t,e)=>t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness="toNext",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t])),cd(Ec,Mc,(t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t])),cd(Ec,Ec,(t,e,n)=>
vendor: 7,422 bytes, line 457
457{if(t.position.isEqual(e.position)){if(!n.aIsStrong)return[new Zc(0)];t.oldName=e.newName}return[t]}),cd(Ec,Oc,(t,e)=>{if("same"==ci(t.position.path,e.splitPosition.getParentPath())&&!e.graveyardPosition){const e=new Ec(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,e]}return t.position=t.position._getTransformedBySplitOperation(e),[t]}),cd(Lc,Lc,(t,e,n)=>{if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue)return[new Zc(0)];t.oldValue=e.newValue}return[t]}),cd(Oc,Sc,(t,e)=>(t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset<e.position.offset&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByInsertOperation(e),t.insertionPosition=t.insertionPosition._getTransformedByInsertOperation(e),[t])),cd(Oc,Ac,(t,e,n)=>{if(!t.graveyardPosition&&!n.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){const n=e.graveyardPosition.path.slice();n.push(0);const i=new ts(e.graveyardPosition.root,n),r=Oc.getInsertionPosition(new ts(e.graveyardPosition.root,n)),o=new Oc(i,0,r,null,0);return t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),t.graveyardPosition=o.insertionPosition.clone(),t.graveyardPosition.stickiness="toNext",[o,t]}return t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)&&t.howMany--,t.splitPosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]}),cd(Oc,Mc,(t,e,n)=>{const i=rs._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){const r=i.start.isEqual(t.graveyardPosition)||i.containsPosition(t.graveyardPosition);if(!n.bWasUndone&&r){const n=t.splitPosition._getTransformedByMoveOperation(e),i=t.graveyardPosition._getTransformedByMoveOperation(e),r=i.path.slice();r.push(0);const o=new ts(i.root,r);return[new Mc(n,t.howMany,o,0)]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}const r=t.splitPosition.isEqual(e.targetPosition);if(r&&("insertAtSource"==n.baRelation||"splitBefore"==n.abRelation))return t.howMany+=e.howMany,t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),[t];if(r&&n.abRelation&&n.abRelation.howMany){const{howMany:e,offset:i}=n.abRelation;return t.howMany+=e,t.splitPosition=t.splitPosition.getShiftedBy(i),[t]}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(t.splitPosition)){const n=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);return t.howMany-=n,t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset<e.targetPosition.offset&&(t.howMany+=e.howMany),t.splitPosition=e.sourcePosition.clone(),t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),[t]}return e.sourcePosition.isEqual(e.targetPosition)||(t.splitPosition.hasSameParentAs(e.sourcePosition)&&t.splitPosition.offset<=e.sourcePosition.offset&&(t.howMany-=e.howMany),t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset<e.targetPosition.offset&&(t.howMany+=e.howMany)),t.splitPosition.stickiness="toNone",t.splitPosition=t.splitPosition._getTransformedByMoveOperation(e),t.splitPosition.stickiness="toNext",t.graveyardPosition?t.insertionPosition=t.insertionPosition._getTransformedByMoveOperation(e):t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),[t]}),cd(Oc,Oc,(t,e,n)=>{if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition)return[new Zc(0)];if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition))return[new Zc(0)];if("splitBefore"==n.abRelation)return t.howMany=0,t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e),[t]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){const i="$graveyard"==t.splitPosition.root.rootName,r="$graveyard"==e.splitPosition.root.rootName,o=i&&!r;if(r&&!i||!o&&n.aIsStrong){const n=[];return e.howMany&&n.push(new Mc(e.moveTargetPosition,e.howMany,e.splitPosition,0)),t.howMany&&n.push(new Mc(t.splitPosition,t.howMany,t.moveTargetPosition,0)),n}return[new Zc(0)]}if(t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)),t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==n.abRelation)return t.howMany++,[t];if(e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==n.baRelation){const n=e.insertionPosition.path.slice();n.push(0);const i=new ts(e.insertionPosition.root,n);return[t,new Mc(t.insertionPosition,1,i,0)]}return t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset<e.splitPosition.offset&&(t.howMany-=e.howMany),t.splitPosition=t.splitPosition._getTransformedBySplitOperation(e),t.insertionPosition=Oc.getInsertionPosition(t.splitPosition),[t]});class _d extends ea{constructor(t){super(t),this.domEventType="click"}onDomEvent(t){this.fire(t.type,t)}}class yd extends ea{constructor(t){super(t),this.domEventType=["mousedown","mouseup"]}onDomEvent(t){this.fire(t.type,t)}}class bd{constructor(t){this.document=t}createDocumentFragment(t){return new Hr(this.document,t)}createElement(t,e,n){return new Qi(this.document,t,e,n)}createText(t){return new di(this.document,t)}clone(t,e=!1){return t._clone(e)}appendChild(t,e){return e._appendChild(t)}insertChild(t,e,n){return n._insertChild(t,e)}removeChildren(t,e,n){return n._removeChildren(t,e)}remove(t){const e=t.parent;return e?this.removeChildren(e.getChildIndex(t),1,e):[]}replace(t,e){const n=t.parent;if(n){const i=n.getChildIndex(t);return this.removeChildren(i,1,n),this.insertChild(i,e,n),!0}return!1}unwrapElement(t){const e=t.parent;if(e){const n=e.getChildIndex(t);this.remove(t),this.insertChild(n,t.getChildren(),e)}}rename(t,e){const n=new Qi(this.document,t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){ce(t)&&void 0===n&&(n=e),n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}createPositionAt(t,e){return sr._createAt(t,e)}createPositionAfter(t){return sr._createAfter(t)}createPositionBefore(t){return sr._createBefore(t)}createRange(t,e){return new cr(t,e)}createRangeOn(t){return cr._createOn(t)}createRangeIn(t){return cr._createIn(t)}createSelection(t,e,n){return new dr(t,e,n)}}new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","orange","aliceblue","antiquewhite","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","dar
457kviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","rebeccapurple","currentcolor","transparent"]);class wd extends bl{constructor(t,e){super(t),this.view=e,this._toolbarConfig=xu(t.config.get("toolbar")),this._elementReplacer=new wa}get element(){return this.view.element}init(t){const e=this.editor,n=this.view,i=e.editing.view,r=n.editable,o=i.document.getRoot();r.name=o.rootName,n.render();const a=r.element;this.setEditableElement(r.name,a),this.focusTracker.add(a),n.editable.bind("isFocused").to(this.focusTracker),i.attachDomRoot(a),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){const t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.detachDomRoot(t.editable.name),t.destroy(),super.destroy()}_initToolbar(){const t=this.editor,e=this.view,n=t.editing.view;e.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),e.stickyPanel.limiterElement=e.element,this._toolbarConfig.viewportTopOffset&&(e.stickyPanel.viewportTopOffset=this._toolbarConfig.viewportTopOffset),e.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),function({origin:t,originKeystrokeHandler:e,originFocusTracker:n,toolbar:i,beforeFocus:r,afterBlur:o}){n.add(i.element),e.set("Alt+F10",(t,e)=>{n.isFocused&&!i.focusTracker.isFocused&&(r&&r(),i.focus(),e())}),i.keystrokes.set("Esc",(e,n)=>{i.focusTracker.isFocused&&(t.focus(),o&&o(),n())})}({origin:n,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:e.toolbar})}_initPlaceholder(){const t=this.editor,e=t.editing.view,n=e.document.getRoot(),i=t.sourceElement,r=t.config.get("placeholder")||i&&"textarea"===i.tagName.toLowerCase()&&i.getAttribute("placeholder");r&&nd({view:e,element:n,text:r,isDirectHost:!1,keepOnFocus:!0})}}n(60);class kd extends Iu{constructor(t,e,n={}){super(t),this.stickyPanel=new td(t),this.toolbar=new Tu(t,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull}),this.editable=new Nu(t,e)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class xd extends vl{constructor(t,e){super(e),qn(t)&&(this.sourceElement=t),this.model.document.createRoot();const n=!this.config.get("toolbar.shouldNotGroupWhenFull"),i=new kd(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:n});this.ui=new wd(this,i),function(t){if(!O(t.updateSourceElement))throw new c.a("attachtoform-missing-elementapi-interface",t);const e=t.sourceElement;if(e&&"textarea"===e.tagName.toLowerCase()&&e.form){let n;const i=e.form,r=()=>t.updateSourceElement();O(i.submit)&&(n=i.submit,i.submit=()=>{r(),n.apply(i)}),i.addEventListener("submit",r),t.on("destroy",()=>{i.removeEventListener("submit",r),n&&(i.submit=n)})}}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise(n=>{const i=new this(t,e);n(i.initPlugins().then(()=>i.ui.init(qn(t)?t:null)).then(()=>
457{if(!qn(t)&&e.initialData)throw new c.a("editor-create-initial-data",null);const n=void 0!==e.initialData?e.initialData:function(t){return qn(t)?(e=t,e instanceof HTMLTextAreaElement?e.value:e.innerHTML):t;var e}(t);return i.data.init(n)}).then(()=>i.fire("ready")).then(()=>i))})}}Gt(xd,wl),Gt(xd,kl);class Td{constructor(t){this.files=function(t){const e=t.files?Array.from(t.files):[],n=t.items?Array.from(t.items):[];return e.length?e:n.filter(t=>"file"===t.kind).map(t=>t.getAsFile())}(t),this._native=t}get types(){return this._native.types}getData(t){return this._native.getData(t)}setData(t,e){this._native.setData(t,e)}set effectAllowed(t){this._native.effectAllowed=t}get effectAllowed(){return this._native.effectAllowed}set dropEffect(t){this._native.dropEffect=t}get dropEffect(){return this._native.dropEffect}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}class Md extends ea{constructor(t){super(t);const e=this.document;function n(t){return(n,i)=>{i.preventDefault();const o=i.dropRange?[i.dropRange]:null,a=new r(e,t);e.fire(a,{dataTransfer:i.dataTransfer,method:n.name,targetRanges:o,target:i.target}),a.stop.called&&i.stopPropagation()}}this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"],this.listenTo(e,"paste",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"drop",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"dragover",n("dragging"),{priority:"low"})}onDomEvent(t){const e={dataTransfer:new Td(t.clipboardData?t.clipboardData:t.dataTransfer)};"drop"!=t.type&&"dragover"!=t.type||(e.dropRange=function(t,e){const n=e.target.ownerDocument,i=e.clientX,r=e.clientY;let o;return n.caretRangeFromPoint&&n.caretRangeFromPoint(i,r)?o=n.caretRangeFromPoint(i,r):e.rangeParent&&(o=n.createRange(),o.setStart(e.rangeParent,e.rangeOffset),o.collapse(!0)),o?t.domConverter.domRangeToView(o):null}(this.view,t)),this.fire(t.type,t,e)}}const Sd=["figcaption","li"];class Cd extends Zt{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(Md),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const t=this.editor,e=t.model,n=t.editing.view,i=n.document;this.listenTo(i,"clipboardInput",e=>{t.isReadOnly&&e.stop()},{priority:"highest"}),this.listenTo(i,"clipboardInput",(t,e)=>{const i=e.dataTransfer;let o=e.content||"";var a;o||(i.getData("text/html")?o=function(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,e)=>1==e.length?" ":e)}(i.getData("text/html")):i.getData("text/plain")&&(((a=(a=i.getData("text/plain")).replace(/</g,"<").replace(/>/g,">").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).includes("</p><p>")||a.includes("<br>"))&&(a=`<p>${a}</p>`),o=a),o=this.editor.data.htmlProcessor.toView(o));const s=new r(this,"inputTransformation");this.fire(s,{content:o,dataTransfer:i,targetRanges:e.targetRanges,method:e.method}),s.stop.called&&t.stop(),n.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(t,n)=>{if(n.content.isEmpty)return;const i=this.editor.data.toModel(n.content,"$clipboardHolder");0!=i.childCount&&(t.stop(),e.change(()=>{this.fire("contentInsertion",{content:i,method:n.method,dataTransfer:n.dataTransfer,targetRanges:n.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(t,n)=>{n.resultRange=e.insertContent(n.content)},{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document;function i(i,r){const o=r.dataTransfer;r.preventDefault();const a=t.data.toView(t.model.getSelectedContent(e.selection));n.fire("clipboardOutput",{dataTransfer:o,content:a,method:i.name})}this.listenTo(n,"copy",i,{priority:"low"}),this.listenTo(n,"cut",(e,n)=>{t.isReadOnly?n.preventDefault():i(e,n)},{priority:"low"}),this.listenTo(n,"clipboardOutput",(n,i)=>{i.content.isEmpty||(i.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(i.content)),i.dataTransfer.setData("text/plain",function t(e){let n="";if(e.is("$text")||e.is("$textProxy"))n=e.data;else if(e.is("element","img")&&e.hasAttribute("alt"))n=e.getAttribute("alt");else if(e.is("element","br"))n="\n";else{let i=null;for(const r of e.getChildren()){const e=t(r);
457i&&(i.is("containerElement")||r.is("containerElement"))&&(Sd.includes(i.name)||Sd.includes(r.name)?n+="\n":n+="\n\n"),n+=e,i=r}}return n}(i.content))),"cut"==i.method&&t.model.deleteContent(e.selection)},{priority:"low"})}}function*Ed(t,e){for(const n of e)n&&t.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}class Ld extends Kt{execute(){const t=this.editor.model,e=t.document;t.change(n=>{!function(t,e,n,i){const r=n.isCollapsed,o=n.getFirstRange(),a=o.start.parent,s=o.end.parent;if(i.isLimit(a)||i.isLimit(s))r||a!=s||t.deleteContent(n);else if(r){const t=Ed(e.model.schema,n.getAttributes());Ad(e,o.start),e.setSelectionAttribute(t)}else{const i=!(o.start.isAtStart&&o.end.isAtEnd),r=a==s;t.deleteContent(n,{leaveUnmerged:i}),i&&(r?Ad(e,n.focus):e.setSelection(s,0))}}(this.editor.model,n,e.selection,t.schema),this.fire("afterExecute",{writer:n})})}}function Ad(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}class Od extends jo{constructor(t){super(t);const e=this.document;e.on("keydown",(t,n)=>{if(this.isEnabled&&n.keyCode==Ar.enter){const i=new fr(e,"enter",e.selection.getFirstRange());e.fire(i,new ta(e,n.domEvent,{isSoft:n.shiftKey})),i.stop.called&&t.stop()}})}observe(){}}class Pd extends Zt{static get pluginName(){return"Enter"}init(){const t=this.editor,e=t.editing.view,n=e.document;e.addObserver(Od),t.commands.add("enter",new Ld(t)),this.listenTo(n,"enter",(n,i)=>{i.preventDefault(),i.isSoft||(t.execute("enter"),e.scrollToTheSelection())},{priority:"low"})}}class Dd{constructor(t,e=20){this.model=t,this.size=0,this.limit=e,this.isLocked=!1,this._changeCallback=(t,e)=>{"transparent"!=e.type&&e!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch()),this._batch}input(t){this.size+=t,this.size>=this.limit&&this._reset(!0)}lock(){this.isLocked=!0}unlock(){this.isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(t){this.isLocked&&!t||(this._batch=null,this.size=0)}}class jd extends Kt{constructor(t,e){super(t),this.direction=e,this._buffer=new Dd(t.model,t.config.get("typing.undoStep"))}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,i=>{this._buffer.lock();const r=i.createSelection(t.selection||n.selection),o=t.sequence||1,a=r.isCollapsed;if(r.isCollapsed&&e.modifySelection(r,{direction:this.direction,unit:t.unit}),this._shouldEntireContentBeReplacedWithParagraph(o))return void this._replaceEntireContentWithParagraph(i);if(this._shouldReplaceFirstBlockWithParagraph(r,o))return void this.editor.execute("paragraph",{selection:r});if(r.isCollapsed)return;let s=0;
457r.getFirstRange().getMinimalFlatRanges().forEach(t=>{s+=ur(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),e.deleteContent(r,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(s),i.setSelection(r),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;const e=this.editor.model,n=e.document.selection,i=e.schema.getLimitElement(n);if(!n.isCollapsed||!n.containsEntireContent(i))return!1;if(!e.schema.checkChild(i,"paragraph"))return!1;const r=i.getChild(0);return!r||"paragraph"!==r.name}_replaceEntireContentWithParagraph(t){const e=this.editor.model,n=e.document.selection,i=e.schema.getLimitElement(n),r=t.createElement("paragraph");t.remove(t.createRangeIn(i)),t.insert(r,i),t.setSelection(r,0)}_shouldReplaceFirstBlockWithParagraph(t,e){const n=this.editor.model;if(e>1||"backward"!=this.direction)return!1;if(!t.isCollapsed)return!1;const i=t.getFirstPosition(),r=n.schema.getLimitElement(i),o=r.getChild(0);return i.parent==o&&!!t.containsEntireContent(o)&&!!n.schema.checkChild(r,"paragraph")&&"paragraph"!=o.name}}class Id extends jo{constructor(t){super(t);const e=t.document;let n=0;function i(t,n,i){const r=new fr(e,"delete",e.selection.getFirstRange());e.fire(r,new ta(e,n,i)),r.stop.called&&t.stop()}e.on("keyup",(t,e)=>{e.keyCode!=Ar.delete&&e.keyCode!=Ar.backspace||(n=0)}),e.on("keydown",(t,e)=>{const r={};if(e.keyCode==Ar.delete)r.direction="forward",r.unit="character";else{if(e.keyCode!=Ar.backspace)return;r.direction="backward",r.unit="codePoint"}const o=Cr.isMac?e.altKey:e.ctrlKey;r.unit=o?"word":r.unit,r.sequence=++n,i(t,e.domEvent,r)}),Cr.isAndroid&&e.on("beforeinput",(e,n)=>{if("deleteContentBackward"!=n.domEvent.inputType)return;const r={unit:"codepoint",direction:"backward",sequence:1},o=n.domTarget.ownerDocument.defaultView.getSelection();o.anchorNode==o.focusNode&&o.anchorOffset+1!=o.focusOffset&&(r.selectionToRemove=t.domConverter.domSelectionToView(o)),i(e,n.domEvent,r)})}observe(){}}class Rd extends Zt{static get pluginName(){return"Delete"}init(){const t=this.editor,e=t.editing.view,n=e.document;e.addObserver(Id);const i=new jd(t,"forward");if(t.commands.add("deleteForward",i),t.commands.add("forwardDelete",i),t.commands.add("delete",new jd(t,"backward")),this.listenTo(n,"delete",(n,i)=>{const r={unit:i.unit,sequence:i.sequence};if(i.selectionToRemove){const e=t.model.createSelection(),n=[];for(const r of i.selectionToRemove.getRanges())n.push(t.editing.mapper.toModelRange(r));e.setTo(n),r.selection=e}t.execute("forward"==i.direction?"deleteForward":"delete",r),i.preventDefault(),e.scrollToTheSelection()},{priority:"low"}),Cr.isAndroid){let t=null;this.listenTo(n,"delete",(e,n)=>{const i=n.domTarget.ownerDocument.defaultView.getSelection();t={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}},{priority:"lowest"}),this.listenTo(n,"keyup",(e,n)=>{if(t){const e=n.domTarget.ownerDocument.defaultView.getSelection();e.collapse(t.anchorNode,t.anchorOffset),e.extend(t.focusNode,t.focusOffset),t=null}})}}}class Nd{constructor(){this._stack=[]}add(t,e){const n=this._stack,i=n[0];this._insertDescriptor(t);const r=n[0];i===r||Yd(i,r)||this.fire("change:top",{oldDescriptor:i,newDescriptor:r,writer:e})}remove(t,e){const n=this._stack,i=n[0];this._removeDescriptor(t);const r=n[0];i===r||Yd(i,r)||this.fire("change:top",{oldDescriptor:i,newDescriptor:r,writer:e})}_insertDescriptor(t){const e=this._stack,n=e.findIndex(e=>e.id===t.id);if(Yd(t,e[n]))return;n>-1&&e.splice(n,1);let i=0;for(;e[i]&&zd(e[i],t);)i++;e.splice(i,0,t)}_removeDescriptor(t){const e=this._stack,n=e.findIndex(e=>e.id===t);n>-1&&e.splice(n,1)}}function Yd(t,e){return t&&e&&t.priority==e.priority&&Bd(t.classes)==Bd(e.classes)}function zd(t,e){return t.priority>e.priority||!(t.priority<e.priority)&&Bd(t.classes)>Bd(e.classes)}function Bd(t){return Array.isArray(t)?t.sort().join(","):t}function Fd(t){return!!t.is("element")&&!!t.getCustomProperty("widget")}function Hd(t,e,n={}){if(!t.is("containerElement"))throw new c.a("widget-to-widget-wrong-element-type",null,{element:t});return e.setAttribute("contenteditable","false",t),e.addClass("ck-widget",t),e.setCustomProperty("widget",!0,t),t.getFillerOffset=Jd,n.label&&function(t,e,n){n.setCustomProperty("widgetLabel",e,t)}(t,n.label,e),n.hasSelectionHandle&&function(t,e){const n=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(t){const e=this.toDomElement(t),n=new au;return n.set("content",'<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z"/><path fill-opacity=".256" d="M1 1h14v14H1z"/><g class="ck-icon__selected-indicator"><path d="M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z"/><path fill-opacity=".254" d="M1 1h14v14H1z"/></g></svg>'),n.render(),e.appendChild(n.element),e}));e.insert(e.createPositionAt(t,0),n),e.addClass(["ck-widget_with-selection-handle"],t)}(t,e),Wd(t,e,Vd,Ud),t}function Vd(t,e,n){if(e.classes&&n.addClass(ei(e.classes),t),e.attributes)for(const i in e.attributes)n.setAttribute(i,e.attributes[i],t)}function Ud(t,e,n){if(e.classes&&n.removeClass(ei(e.classes),t),e.attributes)for(const i in e.attributes)n.removeAttribute(i,t)}function Wd(t,e,n,i){const r=new Nd;r.on("change:top",(e,r)=>{r.oldDescriptor&&i(t,r.oldDescriptor,r.writer),r.newDescriptor&&n(t,r.newDescriptor,r.writer)}),e.setCustomProperty("addHighlight",(t,e,n)=>r.add(e,n),t),e.setCustomProperty("removeHighlight",(t,e,n)=>r.remove(e,n),t)}function $d(t){const e=t.getCustomProperty("widgetLabel");return e?"function"==typeof e?e():e:""}function Xd(t,e){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],t),e.setAttribute("contenteditable",t.isReadOnly?"false":"true",t),t.on("change:isReadOnly",(n,i,r)=>
457{e.setAttribute("contenteditable",r?"false":"true",t)}),t.on("change:isFocused",(n,i,r)=>{r?e.addClass("ck-editor__nested-editable_focused",t):e.removeClass("ck-editor__nested-editable_focused",t)}),t}function qd(t,e){const n=t.getSelectedElement();if(n){const i=Qd(t);if(i)return e.createPositionAt(n,i);if(e.schema.isBlock(n))return e.createPositionAfter(n)}const i=t.getSelectedBlocks().next().value;if(i){if(i.isEmpty)return e.createPositionAt(i,0);const n=e.createPositionAfter(i);return t.focus.isTouching(n)?n:e.createPositionBefore(i)}return t.focus}function Gd(t,e){const n=t.getSelectedElement();return!!n&&e.isObject(n)}function Zd(t,e){const n=new Sa(bo.window),i=n.getIntersection(t),r=e.height+Wu.arrowVerticalOffset;if(t.top-r>n.top||t.bottom+r<n.bottom)return null;const o=i||t,a=o.left+o.width/2-e.width/2;return{top:Math.max(t.top,0)+Wu.arrowVerticalOffset,left:a,name:"arrow_n"}}function Jd(){return null}function Kd(t,e,n){return t&&Fd(t)&&!n.isInline(e)}function Qd(t){return t.getAttribute("widget-type-around")}Gt(Nd,d);const th=[Pr("arrowUp"),Pr("arrowRight"),Pr("arrowDown"),Pr("arrowLeft"),9,16,17,18,19,20,27,33,34,35,36,45,91,93,144,145,173,174,175,176,177,178,179,255];for(let w_=112;w_<=135;w_++)th.push(w_);function eh(t){return!(!t.ctrlKey&&!t.metaKey)||th.includes(t.keyCode)}n(62);const nh=["before","after"],ih=(new DOMParser).parseFromString('<svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M9.055.263v3.972h-6.77M1 4.216l2-2.038m-2 2 2 2.038"/></svg>',"image/svg+xml").firstChild;class rh extends Zt{static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Pd,Rd]}constructor(t){super(t),this._currentFakeCaretModelElement=null}init(){const t=this.editor,e=t.editing.view;this.on("change:isEnabled",(n,i,r)=>{e.change(t=>{for(const n of e.document.roots)r?t.removeClass("ck-widget__type-around_disabled",n):t.addClass("ck-widget__type-around_disabled",n)}),r||t.model.change(t=>{t.removeSelectionAttribute("widget-type-around")})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration()}destroy(){this._currentFakeCaretModelElement=null}_insertParagraph(t,e){const n=this.editor,i=n.editing.view;n.execute("insertParagraph",{position:n.model.createPositionAt(t,e)}),i.focus(),i.scrollToTheSelection()}_listenToIfEnabled(t,e,n,i){this.listenTo(t,e,(...t)=>{this.isEnabled&&n(...t)},i)}_insertParagraphAccordingToFakeCaretPosition(){const t=this.editor.model.document.selection,e=Qd(t);if(!e)return!1;const n=t.getSelectedElement();return this._insertParagraph(n,e),!0}_enableTypeAroundUIInjection(){const t=this.editor,e=t.model.schema,n=t.locale.t,i={before:n("Insert paragraph before block"),after:n("Insert paragraph after block")};t.editing.downcastDispatcher.on("insert",(t,n,r)=>{const o=r.mapper.toViewElement(n.item);Kd(o,n.item,e)&&function(t,e,n){const i=t.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(t){const n=this.toDomElement(t);return function(t,e){for(const n of nh){const i=new Bl({tag:"div",attributes:{class:["ck","ck-widget__type-around__button","ck-widget__type-around__button_"+n],title:e[n]},children:[t.ownerDocument.importNode(ih,!0)]});t.appendChild(i.render())}}(n,e),function(t){const e=new Bl({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});t.appendChild(e.render())}(n),n}));t.insert(t.createPositionAt(n,"end"),i)}(r.writer,i,o)},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const t=this.editor,e=t.model,n=e.document.selection,i=e.schema,r=t.editing.view;function o(t){return"ck-widget_type-around_show-fake-caret_"+t}this._listenToIfEnabled(r.document,"arrowKey",(t,e)=>{this._handleArrowKeyPress(t,e)},{context:[Fd,"$text"],priority:"high"}),this._listenToIfEnabled(n,"change:range",(e,n)=>{n.directChange&&t.model.change(t=>{t.removeSelectionAttribute("widget-type-around")})}),this._listenToIfEnabled(e.document,"change:data",()=>{const e=n.getSelectedElement();e&&Kd(t.editing.mapper.toViewElement(e),e,i)||t.model.change(t=>{t.removeSelectionAttribute("widget-type-around")})}),this._listenToIfEnabled(t.editing.downcastDispatcher,"selection",(t,e,n)=>{const r=n.writer;if(this._currentFakeCaretModelElement){const t=n.mapper.toViewElement(this._currentFakeCaretModelElement);t&&(r.removeClass(nh.map(o),t),this._currentFakeCaretModelElement=null)}const a=e.selection.getSelectedElement();if(!a)return;const s=n.mapper.toViewElement(a);if(!Kd(s,a,i))return;const c=Qd(e.selection);c&&(r.addClass(o(c),s),this._currentFakeCaretModelElement=a)}),this._listenToIfEnabled(t.ui.focusTracker,"change:isFocused",(e,n,i)=>{i||t.model.change(t=>{t.removeSelectionAttribute("widget-type-around")})})}_handleArrowKeyPress(t,e){const n=this.editor,i=n.model,r=i.document.selection,o=i.schema,a=n.editing.view,s=Rr(e.keyCode,n.locale.contentLanguageDirection),c=a.document.selection.getSelectedElement();let l;Kd(c,n.editing.mapper.toModelElement(c),o)?l=this._handleArrowKeyPressOnSelectedWidget(s):r.isCollapsed&&(l=this._handleArrowKeyPressWhenSelectionNextToAWidget(s)),l&&(e.preventDefault(),t.stop())}_handleArrowKeyPressOnSelectedWidget(t){const e=this.editor.model,n=Qd(e.document.selection);return e.change(e=>n?n!==(t?"after":"before")&&(e.removeSelectionAttribute("widget-type-around"),!0):(e.setSelectionAttribute("widget-type-around",t?"after":"before"),!0))}_handleArrowKeyPressWhenSelectionNextToAWidget(t){const e=this.editor,n=e.model,i=n.schema,r=e.plugins.get("Widget"),o=r._getObjectElementNextToSelection(t);return!!Kd(e.editing.mapper.toViewElement(o),o,i)&&(n.change(e=>{r._setSelectionOverElement(o),e.setSelectionAttribute("widget-type-around",t?"before":"after")}),!0)}_enableInsertingParagraphsOnButtonClick(){const t=this.editor,e=t.editing.view;this._listenToIfEnabled(e.document,"mousedown",(n,i)=>{const r=i.domTarget.closest(".ck-widget__type-around__button");if(!r)return;const o=function(t){return t.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(r),a=function(t,e){const n=t.closest(".ck-widget");return e.mapDomToView(n)}(r,e.domConverter),s=t.editing.mapper.toModelElement(a);this._insertParagraph(s,o),i.preventDefault(),n.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const t=this.editor,e=t.model.document.selection,n=t.editing.view;this._listenToIfEnabled(n.document,"enter",(n,i)=>{if("atTarget"!=n.eventPhase)return;const r=e.getSelectedElement(),o=t.editing.mapper.toViewElement(r),a=t.model.schema;let s;this._insertParagraphAccordingToFakeCaretPosition()?s=!0:Kd(o,r,a)&&(this._insertParagraph(r,i.isSoft?"before":"after"),s=!0),s&&(i.preventDefault(),n.stop())},{context:Fd})}_enableInsertingParagraphsOnTypingKeystroke(){const t=this.editor.editing.view,e=[Ar.enter,Ar.delete,Ar.backspace];this._listenToIfEnabled(t.document,"keydown",(t,n)=>{e.includes(n.keyCode)||eh(n)||this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const t=this.editor,e=t.editing.view,n=t.model,i=n.schema;this._listenToIfEnabled(e.document,"delete",(e,r)=>{if("atTarget"!=e.eventPhase)return;const o=Qd(n.document.selection);if(!o)return;const a=r.direction,s=n.document.selection.getSelectedElement(),c="forward"==a;if("before"===o===c)t.execute("delete",{selection:n.createSelection(s,"on")});else{const e=i.getNearestSelectionRange(n.createPositionAt(s,o),a);if(e)if(e.isCollapsed){const r=n.createSelection(e.start);if(n.modifySelection(r,{direction:a}),r.focus.isEqual(e.start)){const t=function(t,e){let n=e;for(const i of e.getAncestors({parentFirst:!0})){if(i.childCount>1||t.isLimit(i))break;n=i}return n}(i,e.start.parent);n.deleteContent(n.createSelection(t,"on"),{doNotAutoparagraph:!0})}else n.change(n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")})}else n.change(n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")})}r.preventDefault(),e.stop()},{context:Fd})}_enableInsertContentIntegration(){const t=this.editor,e=this.editor.model,n=e.document.selection;this._listenToIfEnabled(t.model,"insertContent",(t,[i,r])=>
457{if(r&&!r.is("documentSelection"))return;const o=Qd(n);return o?(t.stop(),e.change(t=>{const r=n.getSelectedElement(),a=e.createPositionAt(r,o),s=t.createSelection(a),c=e.insertContent(i,s);return t.setSelection(s),c})):void 0},{priority:"high"})}}function oh(t){const e=t.model;return(n,i)=>{const r=i.keyCode==Ar.arrowup,o=i.keyCode==Ar.arrowdown,a=i.shiftKey,s=e.document.selection;if(!r&&!o)return;const c=o;if(a&&function(t,e){return!t.isCollapsed&&t.isBackward==e}(s,c))return;const l=function(t,e,n){const i=t.model;if(n){const t=e.isCollapsed?e.focus:e.getLastPosition(),n=ah(i,t,"forward");if(!n)return null;const r=i.createRange(t,n),o=sh(i.schema,r,"backward");return o&&t.isBefore(o)?i.createRange(t,o):null}{const t=e.isCollapsed?e.focus:e.getFirstPosition(),n=ah(i,t,"backward");if(!n)return null;const r=i.createRange(n,t),o=sh(i.schema,r,"forward");return o&&t.isAfter(o)?i.createRange(o,t):null}}(t,s,c);l&&!l.isCollapsed&&function(t,e,n){const i=t.model,r=t.view.domConverter;if(n){const t=i.createSelection(e.start);i.modifySelection(t),t.focus.isAtEnd||e.start.isEqual(t.focus)||(e=i.createRange(t.focus,e.end))}const o=t.mapper.toViewRange(e),a=r.viewRangeToDom(o),s=Sa.getDomRangeRects(a);let c;for(const l of s)if(void 0!==c){if(Math.round(l.top)>=c)return!1;c=Math.max(c,Math.round(l.bottom))}else c=Math.round(l.bottom);return!0}(t,l,c)&&(e.change(t=>{const n=c?l.end:l.start;if(a){const i=e.createSelection(s.anchor);i.setFocus(n),t.setSelection(i)}else t.setSelection(n)}),n.stop(),i.preventDefault(),i.stopPropagation())}}function ah(t,e,n){const i=t.schema,r=t.createRangeIn(e.root),o="forward"==n?"elementStart":"elementEnd";for(const{previousPosition:a,item:s,type:c}of r.getWalker({startPosition:e,direction:n})){if(i.isLimit(s)&&!i.isInline(s))return a;if(c==o&&i.isBlock(s))return null}return null}function sh(t,e,n){const i="backward"==n?e.end:e.start;if(t.checkChild(i,"$text"))return i;for(const{nextPosition:r}of e.getWalker({direction:n}))if(t.checkChild(r,"$text"))return r}n(64);class ch extends Zt{static get pluginName(){return"Widget"}static get requires(){return[rh,Rd]}init(){const t=this.editor.editing.view,e=t.document;this._previouslySelected=new Set,this.editor.editing.downcastDispatcher.on("selection",(t,e,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const i=n.writer,r=i.document.selection,o=r.getSelectedElement();let a=null;for(const s of r.getRanges())for(const t of s){const e=t.item;Fd(e)&&!lh(e,a)&&(i.addClass("ck-widget_selected",e),this._previouslySelected.add(e),a=e,e==o&&i.setSelection(r.getRanges(),{fake:!0,label:$d(o)}))}},{priority:"low"}),t.addObserver(yd),this.listenTo(e,"mousedown",(...t)=>this._onMousedown(...t)),this.listenTo(e,"arrowKey",(...t)=>{this._handleSelectionChangeOnArrowKeyPress(...t)},{context:[Fd,"$text"]}),this.listenTo(e,"arrowKey",(...t)=>{this._preventDefaultOnArrowKeyPress(...t)},{context:"$root"}),this.listenTo(e,"arrowKey",oh(this.editor.editing),{context:"$text"}),this.listenTo(e,"delete",(t,e)=>{this._handleDelete("forward"==e.direction)&&(e.preventDefault(),t.stop())},{context:"$root"})}_onMousedown(t,e){const n=this.editor,i=n.editing.view,r=i.document;let o=e.target;if(function(t){for(;t;){if(t.is("editableElement")&&!t.is("rootElement"))return!0;if(Fd(t))return!1;t=t.parent}return!1}(o)){if((Cr.isSafari||Cr.isGecko)&&e.domEvent.detail>=3){const t=n.editing.mapper,i=o.is("attributeElement")?o.findAncestor(t=>!t.is("attributeElement")):o,r=t.toModelElement(i);e.preventDefault(),this.editor.model.change(t=>{t.setSelection(r,"in")})}return}if(!Fd(o)&&(o=o.findAncestor(Fd),!o))return;Cr.isAndroid&&e.preventDefault(),r.isFocused||i.focus();const a=n.editing.mapper.toModelElement(o);this._setSelectionOverElement(a)}_handleSelectionChangeOnArrowKeyPress(t,e){const n=e.keyCode,i=this.editor.model,r=i.schema,o=i.document.selection,a=o.getSelectedElement(),s=Rr(n,this.editor.locale.contentLanguageDirection);if(a&&r.isObject(a)){const n=s?o.getLastPosition():o.getFirstPosition(),a=r.getNearestSelectionRange(n,s?"forward":"backward");return void(a&&(i.change(t=>{t.setSelection(a)}),e.preventDefault(),t.stop()))}if(!o.isCollapsed)return;const c=this._getObjectElementNextToSelection(s);c&&r.isObject(c)&&(this._setSelectionOverElement(c),e.preventDefault(),t.stop())}_preventDefaultOnArrowKeyPress(t,e){const n=this.editor.model,i=n.schema,r=n.document.selection.getSelectedElement();r&&i.isObject(r)&&(e.preventDefault(),t.stop())}_handleDelete(t){if(this.editor.isReadOnly)return;const e=this.editor.model.document.selection;if(!e.isCollapsed)return;const n=this._getObjectElementNextToSelection(t);return n?(this.editor.model.change(t=>{let i=e.anchor.parent;for(;i.isEmpty;){const e=i;i=e.parent,t.remove(e)}this._setSelectionOverElement(n)}),!0):void 0}_setSelectionOverElement(t){this.editor.model.change(e=>{e.setSelection(e.createRangeOn(t))})}_getObjectElementNextToSelection(t){const e=this.editor.model,n=e.schema,i=e.document.selection,r=e.createSelection(i);e.modifySelection(r,{direction:t?"forward":"backward"});const o=t?r.focus.nodeBefore:r.focus.nodeAfter;return o&&n.isObject(o)?o:null}_clearPreviouslySelectedWidgets(t){for(const e of this._previouslySelected)t.removeClass("ck-widget_selected",e);this._previouslySelected.clear()}}function lh(t,e){return!!e&&Array.from(t.getAncestors()).includes(e)}var uh=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return y(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ma(t,e,{leading:i,maxWait:e,trailing:r})};n(66);class dh extends Zt{static get pluginName(){return"DragDrop"}static get requires(){return[Cd,ch]}init(){const t=this.editor,e=t.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,this._updateDropMarkerThrottled=uh(t=>this._updateDropMarker(t),40),this._removeDropMarkerDelayed=ph(()=>this._removeDropMarker(),40),this._clearDraggableAttributesDelayed=ph(()=>this._clearDraggableAttributes(),40),e.addObserver(Md),e.addObserver(yd),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDropMarker(),this._setupDraggableAttributeHandling(),this.listenTo(t,"change:isReadOnly",(t,e,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(t,e,n)=>{n||this._finalizeDragging(!1)}),Cr.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._updateDropMarkerThrottled.cancel(),this._removeDropMarkerDelayed.cancel(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const t=this.editor,e=t.model,n=e.document,i=t.editing.view,r=i.document;this.listenTo(r,"dragstart",(i,o)=>{const s=n.selection;if(o.target&&o.target.is("editableElement"))return void o.preventDefault();const c=o.target?mh(o.target):null;if(c){const n=t.editing.mapper.toModelElement(c);this._draggedRange=vs.fromRange(e.createRangeOn(n))}
457else if(!r.selection.isCollapsed){const t=r.selection.getSelectedElement();t&&Fd(t)||(this._draggedRange=vs.fromRange(s.getFirstRange()))}if(!this._draggedRange)return void o.preventDefault();this._draggingUid=a(),o.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",o.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const l=e.createSelection(this._draggedRange.toRange()),u=t.data.toView(e.getSelectedContent(l));r.fire("clipboardOutput",{dataTransfer:o.dataTransfer,content:u,method:i.name}),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(r,"dragend",(t,e)=>{this._finalizeDragging(!e.dataTransfer.isCanceled&&"move"==e.dataTransfer.dropEffect)},{priority:"low"}),this.listenTo(r,"dragenter",()=>{this.isEnabled&&i.focus()}),this.listenTo(r,"dragleave",()=>{this._removeDropMarkerDelayed()}),this.listenTo(r,"dragging",(e,n)=>{if(!this.isEnabled)return void(n.dataTransfer.dropEffect="none");this._removeDropMarkerDelayed.cancel();const i=hh(t,n.targetRanges,n.target);this._draggedRange||(n.dataTransfer.dropEffect="copy"),Cr.isGecko||("copy"==n.dataTransfer.effectAllowed?n.dataTransfer.dropEffect="copy":["all","copyMove"].includes(n.dataTransfer.effectAllowed)&&(n.dataTransfer.dropEffect="move")),i&&this._updateDropMarkerThrottled(i)},{priority:"low"})}_setupClipboardInputIntegration(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"clipboardInput",(e,n)=>{if("drop"!=n.method)return;const i=hh(t,n.targetRanges,n.target);return this._removeDropMarker(),i?(this._draggedRange&&this._draggingUid!=n.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==fh(n.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(i,!0)?(this._finalizeDragging(!1),void e.stop()):void(n.targetRanges=[t.editing.mapper.toViewRange(i)])):(this._finalizeDragging(!1),void e.stop())},{priority:"high"})}_setupContentInsertionIntegration(){const t=this.editor.plugins.get(Cd);t.on("contentInsertion",(t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n=e.targetRanges.map(t=>this.editor.editing.mapper.toModelRange(t));this.editor.model.change(t=>t.setSelection(n))},{priority:"high"}),t.on("contentInsertion",(t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n="move"==fh(e.dataTransfer),i=!e.resultRange||!e.resultRange.isCollapsed;this._finalizeDragging(i&&n)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const t=this.editor,e=t.editing.view,n=e.document;this.listenTo(n,"mousedown",(i,r)=>{if(Cr.isAndroid||!r)return;this._clearDraggableAttributesDelayed.cancel();let o=mh(r.target);if(Cr.isBlink&&!t.isReadOnly&&!o&&!n.selection.isCollapsed){const t=n.selection.getSelectedElement();t&&Fd(t)||(o=n.selection.editableElement)}o&&(e.change(t=>{t.setAttribute("draggable","true",o)}),this._draggableElement=t.editing.mapper.toModelElement(o))}),this.listenTo(n,"mouseup",()=>{Cr.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const t=this.editor.editing;t.view.change(e=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&e.removeAttribute("draggable",t.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_setupDropMarker(){const t=this.editor;t.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),t.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(e,{writer:n})=>{if(t.model.schema.checkChild(e.markerRange.start,"$text"))return n.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(t){const e=this.toDomElement(t);return e.innerHTML="⁠<span></span>⁠",e}))}})}_updateDropMarker(t){const e=this.editor,n=e.model.markers;e.model.change(e=>{n.has("drop-target")?n.get("drop-target").getRange().isEqual(t)||e.updateMarker("drop-target",{range:t}):e.addMarker("drop-target",{range:t,usingOperation:!1,affectsData:!1})})}_removeDropMarker(){const t=this.editor.model;this._removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),t.markers.has("drop-target")&&t.change(t=>{t.removeMarker("drop-target")})}_finalizeDragging(t){const e=this.editor.model;this._removeDropMarker(),this._clearDraggableAttributes(),this._draggingUid="",this._draggedRange&&(t&&this.isEnabled&&e.deleteContent(e.createSelection(this._draggedRange),{doNotAutoparagraph:!0}),this._draggedRange.detach(),this._draggedRange=null)}}function hh(t,e,n){const i=t.model,r=t.editing.mapper;let o=null;const a=e?e[0].start:null;if(n.is("uiElement")&&(n=n.parent),o=function(t,e){const n=t.model,i=t.editing.mapper;if(Fd(e))return n.createRangeOn(i.toModelElement(e));
457if(!e.is("editableElement")){const t=e.findAncestor(t=>Fd(t)||t.is("editableElement"));if(Fd(t))return n.createRangeOn(i.toModelElement(t))}return null}(t,n),o)return o;const s=function(t,e){const n=t.editing.mapper,i=t.editing.view,r=n.toModelElement(e);if(r)return r;const o=i.createPositionBefore(e),a=n.findMappedViewAncestor(o);return n.toModelElement(a)}(t,n),c=a?r.toModelPosition(a):null;return c?(o=function(t,e,n){const i=t.model;if(!i.schema.checkChild(n,"$block"))return null;const r=i.createPositionAt(n,0),o=e.path.slice(0,r.path.length),a=i.createPositionFromPath(e.root,o).nodeAfter;return a&&i.schema.isObject(a)?i.createRangeOn(a):null}(t,c,s),o||(o=i.schema.getNearestSelectionRange(c,Cr.isGecko?"forward":"backward"),o||function(t,e){const n=t.model;for(;e;){if(n.schema.isObject(e))return n.createRangeOn(e);e=e.parent}}(t,c.parent))):function(t,e){const n=t.model,i=n.schema,r=n.createPositionAt(e,0);return i.getNearestSelectionRange(r,"forward")}(t,s)}function fh(t){return Cr.isGecko?t.dropEffect:["all","copyMove"].includes(t.effectAllowed)?"move":"copy"}function ph(t,e){let n;function i(...r){i.cancel(),n=setTimeout(()=>t(...r),e)}return i.cancel=()=>{clearTimeout(n)},i}function mh(t){if(t.is("editableElement"))return null;if(t.hasClass("ck-widget__selection-handle"))return t.findAncestor(Fd);if(Fd(t))return t;const e=t.findAncestor(t=>Fd(t)||t.is("editableElement"));return Fd(e)?e:null}class gh extends Zt{static get pluginName(){return"PastePlainText"}static get requires(){return[Cd]}init(){const t=this.editor,e=t.model,n=t.editing.view,i=n.document,r=e.document.selection;let o=!1;n.addObserver(Md),this.listenTo(i,"keydown",(t,e)=>{o=e.shiftKey}),t.plugins.get(Cd).on("contentInsertion",(t,n)=>{(o||function(t,e){if(t.childCount>1)return!1;const n=t.getChild(0);return!e.isObject(n)&&0==[...n.getAttributeKeys()].length}(n.content,e.schema))&&e.change(t=>{const i=Array.from(r.getAttributes()).filter(([t])=>e.schema.getAttributeProperties(t).isFormatting);r.isCollapsed||e.deleteContent(r,{doNotAutoparagraph:!0}),i.push(...r.getAttributes());const o=t.createRangeIn(n.content);for(const e of o.getItems())e.is("$textProxy")&&t.setAttributes(i,e)})})}}class vh extends Zt{static get pluginName(){return"Clipboard"}static get requires(){return[Cd,dh,gh]}}class _h extends Kt{execute(){const t=this.editor.model,e=t.document;t.change(n=>{!function(t,e,n){const i=n.isCollapsed,r=n.getFirstRange(),o=r.start.parent,a=r.end.parent,s=o==a;if(i){const i=Ed(t.schema,n.getAttributes());yh(t,e,r.end),e.removeSelectionAttribute(n.getAttributeKeys()),e.setSelectionAttribute(i)}else{const i=!(r.start.isAtStart&&r.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:i}),s?yh(t,e,n.focus):i&&e.setSelection(a,0)}}(t,n,e.selection),this.fire("afterExecute",{writer:n})})}refresh(){const t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;const n=e.anchor;if(!n||!t.checkChild(n,"softBreak"))return!1;const i=e.getFirstRange(),r=i.start.parent,o=i.end.parent;return!bh(r,t)&&!bh(o,t)||r===o}(t.schema,e.selection)}}function yh(t,e,n){const i=e.createElement("softBreak");t.insertContent(i,n),e.setSelection(i,"after")}function bh(t,e){return!t.is("rootElement")&&(e.isLimit(t)||bh(t.parent,e))}class wh extends Zt{static get pluginName(){return"ShiftEnter"}init(){const t=this.editor,e=t.model.schema,n=t.conversion,i=t.editing.view,r=i.document;e.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(t,{writer:e})=>e.createEmptyElement("br")}),i.addObserver(Od),t.commands.add("shiftEnter",new _h(t)),this.listenTo(r,"enter",(e,n)=>{n.preventDefault(),n.isSoft&&(t.execute("shiftEnter"),i.scrollToTheSelection())},{priority:"low"})}}class kh extends Kt{execute(){const t=this.editor.model,e=t.document.selection;let n=t.schema.getLimitElement(e);if(e.containsEntireContent(n)||!xh(t.schema,n))do{if(n=n.parent,!n)return}while(!xh(t.schema,n));t.change(t=>{t.setSelection(n,"in")})}}function xh(t,e){return t.isLimit(e)&&(t.checkChild(e,"$text")||t.checkChild(e,"paragraph"))}const Th=Dr("Ctrl+A");class Mh extends Zt{static get pluginName(){return"SelectAllEditing"}init(){const t=this.editor,e=t.editing.view.document;t.commands.add("selectAll",new kh(t)),this.listenTo(e,"keydown",(e,n)=>{Pr(n)===Th&&(t.execute("selectAll"),n.preventDefault())})}}class Sh extends Zt{static get pluginName(){return"SelectAllUI"}init(){const t=this.editor;t.ui.componentFactory.add("selectAll",e=>{const n=t.commands.get("selectAll"),i=new cu(e),r=e.t;return i.set({label:r("Select all"),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.75 15.5a.75.75 0 0 1 .75.75V18l.008.09A.5.5 0 0 0 2 18.5h1.75a.75.75 0 1 1 0 1.5H1.5l-.144-.007a1.5 1.5 0 0 1-1.35-1.349L0 18.5v-2.25a.75.75 0 0 1 .75-.75zm18.5 0a.75.75 0 0 1 .75.75v2.25l-.007.144a1.5 1.5 0 0 1-1.349 1.35L18.5 20h-2.25a.75.75 0 1 1 0-1.5H18a.5.5 0 0 0 .492-.41L18.5 18v-1.75a.75.75 0 0 1 .75-.75zm-10.45 3c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm.45-5.5a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5h8.5zM1.3 11c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM1.3 7c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5h-2.5a.75.75 0 1 1 0-1.5h2.5zm-5 0a.75.75 0 1 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5h5.5zm-6.5-5a.75.75 0 0 1 0 1.5H2a.5.5 0 0 0-.492.41L1.5 2v1.75a.75.75 0 0 1-1.5 0V1.5l.007-.144A1.5 1.5 0 0 1 1.356.006L1.5 0h2.25zM18.5 0l.144.007a1.5 1.5 0 0 1 1.35 1.349L20 1.5v2.25a.75.75 0 1 1-1.5 0V2l-.008-.09A.5.5 0 0 0 18 1.5h-1.75a.75.75 0 1 1 0-1.5h2.25zM8.8 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6z"/></svg>',keystroke:"Ctrl+A",tooltip:!0}),i.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(i,"execute",()=>{t.execute("selectAll"),t.editing.view.focus()}),i})}}class Ch extends Zt{static get requires(){return[Mh,Sh]}static get pluginName(){return"SelectAll"}}class Eh extends Kt{constructor(t,e){super(t),this._buffer=new Dd(t.model,e),this._batches=new WeakSet}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(t={}){const e=this.editor.model,n=e.document,i=t.text||"",r=i.length,o=t.range?e.createSelection(t.range):n.selection,a=t.resultRange;e.enqueueChange(this._buffer.batch,t=>{this._buffer.lock(),this._batches.add(this._buffer.batch),e.deleteContent(o),i&&e.insertContent(t.createText(i,n.selection.getAttributes()),o),a?t.setSelection(a):o.is("documentSelection")||t.setSelection(o),this._buffer.unlock(),this._buffer.input(r)})}}function Lh(t){if(t.newChildren.length-t.oldChildren.length!=1)return;const e=function(t,e){const n=[];let i,r=0;return t.forEach(t=>{"equal"==t?(o(),r++):"insert"==t?(a("insert")?i.values.push(e[r]):(o(),i={type:"insert",index:r,values:[e[r]]}),r++):a("delete")?i.howMany++:(o(),i={type:"delete",index:r,howMany:1})}),o(),n;function o(){i&&(n.push(i),i=null)}function a(t){return i&&i.type==t}}(ho(t.oldChildren,t.newChildren,Ah),t.newChildren);if(e.length>1)return;const n=e[0];return n.values[0]&&n.values[0].is("$text")?n:void 0}function Ah(t,e){return t&&t.is("$text")&&e&&e.is("$text")?t.data===e.data:t===e}class Oh{constructor(t){this.editor=t,this.editing=this.editor.editing}handle(t,e){if(function(t){if(0==t.length)return!1;for(const e of t)if("children"===e.type&&!Lh(e))return!0;return!1}(t))this._handleContainerChildrenMutations(t,e);else for(const n of t)this._handleTextMutation(n,e),this._handleTextNodeInsertion(n)}_handleContainerChildrenMutations(t,e){const n=function(t){const e=t.map(t=>t.node).reduce((t,e)=>t.getCommonAncestor(e,{includeSelf:!0}));if(e)return e.getAncestors({includeSelf:!0,parentFirst:!0}).find(t=>t.is("containerElement")||t.is("rootElement"))}(t);if(!n)return;const i=this.editor.editing.view.domConverter.mapViewToDom(n),r=new So(this.editor.editing.view.document),o=this.editor.data.toModel(r.domToView(i)).getChild(0),a=this.editor.editing.mapper.toModelElement(n);if(!a)return;const s=Array.from(o.getChildren()),c=Array.from(a.getChildren()),l=s[s.length-1],u=c[c.length-1],d=l&&l.is("element","softBreak"),h=u&&!u.is("element","softBreak");d&&h&&s.pop();const f=this.editor.model.schema;if(!Ph(s,f)||!Ph(c,f))return;const p=s.map(t=>t.is("$text")?t.data:"@").join("").replace(/\u00A0/g," "),m=c.map(t=>t.is("$text")?t.data:"@").join("").replace(/\u00A0/g," ");
457if(m===p)return;const g=ho(m,p),{firstChangeAt:v,insertions:_,deletions:y}=Dh(g);let b=null;e&&(b=this.editing.mapper.toModelRange(e.getFirstRange()));const w=p.substr(v,_),k=this.editor.model.createRange(this.editor.model.createPositionAt(a,v),this.editor.model.createPositionAt(a,v+y));this.editor.execute("input",{text:w,range:k,resultRange:b})}_handleTextMutation(t,e){if("text"!=t.type)return;const n=t.newText.replace(/\u00A0/g," "),i=t.oldText.replace(/\u00A0/g," ");if(i===n)return;const r=ho(i,n),{firstChangeAt:o,insertions:a,deletions:s}=Dh(r);let c=null;e&&(c=this.editing.mapper.toModelRange(e.getFirstRange()));const l=this.editing.view.createPositionAt(t.node,o),u=this.editing.mapper.toModelPosition(l),d=this.editor.model.createRange(u,u.getShiftedBy(s)),h=n.substr(o,a);this.editor.execute("input",{text:h,range:d,resultRange:c})}_handleTextNodeInsertion(t){if("children"!=t.type)return;const e=Lh(t),n=this.editing.view.createPositionAt(t.node,e.index),i=this.editing.mapper.toModelPosition(n),r=e.values[0].data;this.editor.execute("input",{text:r.replace(/\u00A0/g," "),range:this.editor.model.createRange(i)})}}function Ph(t,e){return t.every(t=>e.isInline(t))}function Dh(t){let e=null,n=null;for(let o=0;o<t.length;o++)"equal"!=t[o]&&(e=null===e?o:e,n=o);let i=0,r=0;for(let o=e;o<=n;o++)"insert"!=t[o]&&i++,"delete"!=t[o]&&r++;return{insertions:r,deletions:i,firstChangeAt:e}}class jh extends Zt{static get pluginName(){return"Input"}init(){const t=this.editor,e=new Eh(t,t.config.get("typing.undoStep")||20);t.commands.add("input",e),function(t){let e=null;const n=t.model,i=t.editing.view,r=t.commands.get("input");function o(t){const o=n.document,s=i.document.isComposing,c=e&&e.isEqual(o.selection);e=null,r.isEnabled&&(eh(t)||o.selection.isCollapsed||s&&229===t.keyCode||!s&&229===t.keyCode&&c||a())}function a(){const t=r.buffer;t.lock();const e=t.batch;r._batches.add(e),n.enqueueChange(e,()=>{n.deleteContent(n.document.selection)}),t.unlock()}Cr.isAndroid?i.document.on("beforeinput",(t,e)=>o(e),{priority:"lowest"}):i.document.on("keydown",(t,e)=>o(e),{priority:"lowest"}),i.document.on("compositionstart",(function(){const t=n.document,e=1!==t.selection.rangeCount||t.selection.getFirstRange().isFlat;t.selection.isCollapsed||e||a()}),{priority:"lowest"}),i.document.on("compositionend",()=>{e=n.createSelection(n.document.selection)},{priority:"lowest"})}(t),function(t){t.editing.view.document.on("mutations",(e,n,i)=>{new Oh(t).handle(n,i)})}(t)}isInput(t){return this.editor.commands.get("input")._batches.has(t)}}class Ih extends Zt{static get requires(){return[jh,Rd]}static get pluginName(){return"Typing"}}function Rh(t,e){let n=t.start;return{text:Array.from(t.getItems()).reduce((t,i)=>i.is("$text")||i.is("$textProxy")?t+i.data:(n=e.createPositionAfter(i),""),""),range:e.createRange(n,t.end)}}class Nh{constructor(t,e){this.model=t,this.testCallback=e,this.hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(t.document.selection),this.stopListening(t.document))}),this._startListening()}_startListening(){const t=this.model.document;this.listenTo(t.selection,"change:range",(e,{directChange:n})=>{n&&(t.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this.hasMatch=!1))}),this.listenTo(t,"change:data",(t,e)=>{"transparent"!=e.type&&this._evaluateTextBeforeSelection("data",{batch:e})})}_evaluateTextBeforeSelection(t,e={}){const n=this.model,i=n.document.selection,r=n.createRange(n.createPositionAt(i.focus.parent,0),i.focus),{text:o,range:a}=Rh(r,n),s=this.testCallback(o);if(!s&&this.hasMatch&&this.fire("unmatched"),this.hasMatch=!!s,s){const n=Object.assign(e,{text:o,range:a});"object"==typeof s&&Object.assign(n,s),this.fire("matched:"+t,n)}}}Gt(Nh,Vt);class Yh extends Zt{static get pluginName(){return"TwoStepCaretMovement"}constructor(t){super(t),this.attributes=new Set,this._overrideUid=null}init(){const t=this.editor,e=t.model,n=t.editing.view,i=t.locale,r=e.document.selection;this.listenTo(n.document,"arrowKey",(t,e)=>{if(!r.isCollapsed)return;if(e.shiftKey||e.altKey||e.ctrlKey)return;
457const n=e.keyCode==Ar.arrowright,o=e.keyCode==Ar.arrowleft;if(!n&&!o)return;const a=i.contentLanguageDirection;let s=!1;s="ltr"===a&&n||"rtl"===a&&o?this._handleForwardMovement(e):this._handleBackwardMovement(e),!0===s&&t.stop()},{context:"$text",priority:"highest"}),this._isNextGravityRestorationSkipped=!1,this.listenTo(r,"change:range",(t,e)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!e.directChange&&Hh(r.getFirstPosition(),this.attributes)||this._restoreGravity())})}registerAttribute(t){this.attributes.add(t)}_handleForwardMovement(t){const e=this.attributes,n=this.editor.model.document.selection,i=n.getFirstPosition();return!this._isGravityOverridden&&(!i.isAtStart||!zh(n,e))&&(Hh(i,e)?(Fh(t),this._overrideGravity(),!0):void 0)}_handleBackwardMovement(t){const e=this.attributes,n=this.editor.model,i=n.document.selection,r=i.getFirstPosition();return this._isGravityOverridden?(Fh(t),this._restoreGravity(),Bh(n,e,r),!0):r.isAtStart?!!zh(i,e)&&(Fh(t),Bh(n,e,r),!0):function(t,e){return Hh(t.getShiftedBy(-1),e)}(r,e)?r.isAtEnd&&!zh(i,e)&&Hh(r,e)?(Fh(t),Bh(n,e,r),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1):void 0}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(t=>t.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(t=>{t.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function zh(t,e){for(const n of e)if(t.hasAttribute(n))return!0;return!1}function Bh(t,e,n){const i=n.nodeBefore;t.change(t=>{i?t.setSelectionAttribute(i.getAttributes()):t.removeSelectionAttribute(e)})}function Fh(t){t.preventDefault()}function Hh(t,e){const{nodeBefore:n,nodeAfter:i}=t;for(const r of e){const t=n?n.getAttribute(r):void 0;if((i?i.getAttribute(r):void 0)!==t)return!0}return!1}var Vh=/[\\^$.*+?()[\]{}|]/g,Uh=RegExp(Vh.source),Wh=function(t){return(t=Li(t))&&Uh.test(t)?t.replace(Vh,"\\$&"):t};const $h={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"â¢"},oneHalf:{from:"1/2",to:"½"},oneThird:{from:"1/3",to:"â
"},twoThirds:{from:"2/3",to:"â
"},oneForth:{from:"1/4",to:"¼"},threeQuarters:{from:"3/4",to:"¾"},lessThanOrEqual:{from:"<=",to:"â¤"},greaterThanOrEqual:{from:">=",to:"â¥"},notEqual:{from:"!=",to:"â "},arrowLeft:{from:"<-",to:"â"},arrowRight:{from:"->",to:"â"},horizontalEllipsis:{from:"...",to:"â¦"},enDash:{from:/(^| )(--)( )$/,to:[null,"â",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"â",null]},quotesPrimary:{from:Kh('"'),to:[null,"â",null,"â"]},quotesSecondary:{from:Kh("'"),to:[null,"â",null,"â"]},quotesPrimaryEnGb:{from:Kh("'"),to:[null,"â",null,"â"]},quotesSecondaryEnGb:{from:Kh('"'),to:[null,"â",null,"â"]},quotesPrimaryPl:{from:Kh('"'),to:[null,"â",null,"â"]},quotesSecondaryPl:{from:Kh("'"),to:[null,"â",null,"â"]}},Xh={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},qh=["symbols","mathematical","typography","quotes"];function Gh(t){return"string"==typeof t?new RegExp(`(${Wh(t)})$`):t}function Zh(t){return"string"==typeof t?()=>[t]:t instanceof Array?()=>t:t}function Jh(t){return(t.textNode?t.textNode:t.nodeAfter).getAttributes()}function Kh(t){return new RegExp(`(^|\\s)(${t})([^${t}]*)(${t})$`)}function Qh(t,e,n,i){return i.createRange(tf(t,e,n,!0,i),tf(t,e,n,!1,i))}function tf(t,e,n,i,r){let o=t.textNode||(i?t.nodeBefore:t.nodeAfter),a=null;for(;o&&o.getAttribute(e)==n;)a=o,o=i?o.previousSibling:o.nextSibling;return a?r.createPositionAt(a,i?"before":"after"):t}class ef extends Kt{constructor(t){super(t),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this.listenTo(t.data,"set",()=>this.clearStack())}refresh(){this.isEnabled=this._stack.length>0}addBatch(t){const e=this.editor.model.document.selection,n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(t,e,n){const i=this.editor.model,r=i.document,o=[],a=t.map(t=>t.getTransformedByOperations(n)),s=a.flat();for(const c of a){const t=c.filter(t=>t.root!=r.graveyard).filter(t=>!rf(t,s));t.length&&(nf(t),o.push(t[0]))}o.length&&i.change(t=>{t.setSelection(o,{backward:e})})}_undo(t,e){const n=this.editor.model,i=n.document;this._createdBatches.add(e);const r=t.operations.slice().filter(t=>t.isDocumentOperation);r.reverse();for(const o of r){const t=o.baseVersion+1,r=Array.from(i.history.getOperations(t)),a=dd([o.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(const s of a)e.addOperation(s),n.applyOperation(s),i.history.setOperationAsUndone(o,s)}}}function nf(t){t.sort((t,e)=>t.start.isBefore(e.start)?-1:1);for(let e=1;e<t.length;e++){const n=t[e-1].getJoined(t[e],!0);
457n&&(e--,t.splice(e,2,n))}}function rf(t,e){return e.some(e=>e!==t&&e.containsRange(t,!0))}class of extends ef{execute(t=null){const e=t?this._stack.findIndex(e=>e.batch==t):this._stack.length-1,n=this._stack.splice(e,1)[0],i=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(i,()=>{this._undo(n.batch,i);const t=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,t),this.fire("revert",n.batch,i)}),this.refresh()}}class af extends ef{execute(){const t=this._stack.pop(),e=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(e,()=>{const n=t.batch.operations[t.batch.operations.length-1].baseVersion+1,i=this.editor.model.document.history.getOperations(n);this._restoreSelection(t.selection.ranges,t.selection.isBackward,i),this._undo(t.batch,e)}),this.refresh()}}class sf extends Zt{static get pluginName(){return"UndoEditing"}constructor(t){super(t),this._batchRegistry=new WeakSet}init(){const t=this.editor;this._undoCommand=new of(t),this._redoCommand=new af(t),t.commands.add("undo",this._und
457oCommand),t.commands.add("redo",this._redoCommand),this.listenTo(t.model,"applyOperation",(t,e)=>{const n=e[0];if(!n.isDocumentOperation)return;const i=n.batch,r=this._redoCommand._createdBatches.has(i),o=this._undoCommand._createdBatches.has(i);this._batchRegistry.has(i)||"transparent"==i.type&&!r&&!o||(r?this._undoCommand.addBatch(i):o||(this._undoCommand.addBatch(i),this._redoCommand.clearStack()),this._batchRegistry.add(i))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(t,e,n)=>{this._redoCommand.addBatch(n)}),t.keystrokes.set("CTRL+Z","undo"),t.keystrokes.set("CTRL+Y","redo"),t.keystrokes.set("CTRL+SHIFT+Z","redo")}}var cf='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',lf='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14.958 9.367-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"/></svg>';class uf extends Zt{static get pluginName(){return"UndoUI"}init(){const t=this.editor,e=t.locale,n=t.t,i="ltr"==e.uiLanguageDirection?cf:lf,r="ltr"==e.uiLanguageDirection?lf:cf;this._addButton("undo",n("Undo"),"CTRL+Z",i),this._addButton("redo",n("Redo"),"CTRL+Y",r)}_addButton(t,e,n,i){const r=this.editor;r.ui.componentFactory.add(t,o=>{const a=r.commands.get(t),s=new cu(o);return s.set({label:e,icon:i,keystroke:n,tooltip:!0}),s.bind("isEnabled").to(a,"isEnabled"),this.listenTo(s,"execute",()=>{r.execute(t),r.editing.view.focus()}),s})}}class df extends Zt{static get requires(){return[sf,uf]}static get pluginName(){return"Undo"}}class hf{constructor(){const t=new window.FileReader;this._reader=t,this._data=void 0,this.set("loaded",0),t.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(t){const e=this._reader;return this.total=t.size,new Promise((n,i)=>{e.onload=()=>{const t=e.result;this._data=t,n(t)},e.onerror=()=>{i("error")},e.onabort=()=>{i("aborted")},this._reader.readAsDataURL(t)})}abort(){this._reader.abort()}}Gt(hf,Vt);class ff extends Zt{static get pluginName(){return"FileRepository"}static get requires(){return[xl]}init(){this.loaders=new Qn,this.loaders.on("add",()=>this._updatePendingAction()),this.loaders.on("remove",()=>this._updatePendingAction()),this._loadersMap=new Map,this._pendingAction=null,this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(t,e)=>e?t/e*100:0)}getLoader(t){return this._loadersMap.get(t)||null}createLoader(t){if(!this.createUploadAdapter)return Object(c.b)("filerepository-no-upload-adapter"),null;const e=new pf(Promise.resolve(t),this.createUploadAdapter);return this.loaders.add(e),this._loadersMap.set(t,e),t instanceof Promise&&e.file.then(t=>{this._loadersMap.set(t,e)}).catch(()=>{}),e.on("change:uploaded",()=>{let t=0;for(const e of this.loaders)t+=e.uploaded;this.uploaded=t}),e.on("change:uploadTotal",()=>{let t=0;for(const e of this.loaders)e.uploadTotal&&(t+=e.uploadTotal);this.uploadTotal=t}),e}destroyLoader(t){const e=t instanceof pf?t:this.getLoader(t);e._destroy(),this.loaders.remove(e),this._loadersMap.forEach((t,n)=>{t===e&&this._loadersMap.delete(n)})}_updatePendingAction(){const t=this.editor.plugins.get(xl);if(this.loaders.length){if(!this._pendingAction){const e=this.editor.t,n=t=>`${e("Upload in progress")} ${parseInt(t)}%.`;this._pendingAction=t.add(n(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",n)}}else t.remove(this._pendingAction),this._pendingAction=null}}Gt(ff,Vt);class pf{constructor(t,e){this.id=a(),this._filePromiseWrapper=this._createFilePromiseWrapper(t),this._adapter=e(this),this._reader=new hf,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(t,e)=>e?t/e*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(t=>this._filePromiseWrapper?t:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new c.a("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(t=>this._reader.read(t)).then(t=>{if("reading"!==this.status)throw this.status;return this.status="idle",t}).catch(t=>{if("aborted"===t)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:t})}upload(){if("idle"!=this.status)throw new c.a("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(t=>(this.uploadResponse=t,this.status="idle",t)).catch(t=>{if("aborted"===this.status)throw"aborted";throw this.status="error",t})}abort(){const t=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==t?this._reader.abort():"uploading"==t&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(t){const e={};return e.promise=new Promise((n,i)=>
vendor: 4,527 bytes, line 457
457{e.rejecter=i,e.isFulfilled=!1,t.then(t=>{e.isFulfilled=!0,n(t)}).catch(t=>{e.isFulfilled=!0,i(t)})}),e}}Gt(pf,Vt);class mf extends zl{constructor(t){super(t),this.buttonView=new cu(t),this._fileInputView=new gf(t),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",()=>{this._fileInputView.open()})}focus(){this.buttonView.focus()}}class gf extends zl{constructor(t){super(t),this.set("acceptedType"),this.set("allowMultipleFiles",!1);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:e.to("acceptedType"),multiple:e.to("allowMultipleFiles")},on:{change:e.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}function vf(){let t=function(t){t=t.toLowerCase();const e=document.cookie.split(";");for(const n of e){const e=n.split("=");if(decodeURIComponent(e[0].trim().toLowerCase())===t)return decodeURIComponent(e[1])}return null}("ckCsrfToken");var e,n;return t&&40==t.length||(t=function(t){let e="";const n=new Uint8Array(t);window.crypto.getRandomValues(n);for(let i=0;i<n.length;i++){const t="abcdefghijklmnopqrstuvwxyz0123456789".charAt(n[i]%"abcdefghijklmnopqrstuvwxyz0123456789".length);e+=Math.random()>.5?t.toUpperCase():t}return e}(40),e="ckCsrfToken",n=t,document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(n)+";path=/"),t}class _f{constructor(t,e,n){this.loader=t,this.url=e,this.t=n}upload(){return this.loader.file.then(t=>new Promise((e,n)=>{this._initRequest(),this._initListeners(e,n,t),this._sendRequest(t)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const t=this.xhr=new XMLHttpRequest;t.open("POST",this.url,!0),t.responseType="json"}_initListeners(t,e,n){const i=this.xhr,r=this.loader,o=(0,this.t)("Cannot upload file:")+` ${n.name}.`;i.addEventListener("error",()=>e(o)),i.addEventListener("abort",()=>e()),i.addEventListener("load",()=>{const n=i.response;if(!n||!n.uploaded)return e(n&&n.error&&n.error.message?n.error.message:o);t({default:n.url})}),i.upload&&i.upload.addEventListener("progress",t=>{t.lengthComputable&&(r.uploadTotal=t.total,r.uploaded=t.loaded)})}_sendRequest(t){const e=new FormData;e.append("upload",t),e.append("ckCsrfToken",vf()),this.xhr.send(e)}}function yf(t,e,n,i){let r,o=null;"function"==typeof i?r=i:(o=t.commands.get(i),r=()=>{t.execute(i)}),t.model.document.on("change:data",(a,s)=>{if(o&&!o.isEnabled||!e.isEnabled)return;const c=Pa(t.model.document.selection.getRanges());if(!c.isCollapsed)return;if("transparent"==s.type)return;const l=Array.from(t.model.document.differ.getChanges()),u=l[0];if(1!=l.length||"insert"!==u.type||"$text"!=u.name||1!=u.length)return;const d=u.position.parent;if(d.is("element","codeBlock"))return;if(d.is("element","listItem")&&"function"!=typeof i&&!["numberedList","bulletedList","todoList"].includes(i))return;if(o&&!0===o.value)return;const h=d.getChild(0),f=t.model.createRangeOn(h);if(!f.containsRange(c)&&!c.end.isEqual(f.end))return;const p=n.exec(h.data.substr(0,c.end.offset));p&&t.model.enqueueChange(e=>{const n=e.createPositionAt(d,0),i=e.createPositionAt(d,p[0].length),o=new vs(n,i);if(!1!==r({match:p})){e.remove(o);const n=t.model.document.selection.getFirstRange(),i=e.createRangeIn(d);!d.isEmpty||i.isEqual(n)||i.containsRange(n,!0)||e.remove(d)}o.detach()})})}function bf(t,e,n,i){let r,o;n instanceof RegExp?r=n:o=n,o=o||(t=>{let e;const n=[],i=[];for(;null!==(e=r.exec(t))&&!(e&&e.length<4);){let{index:t,1:r,2:o,3:a}=e;const s=r+o+a;t+=e[0].length-s.length;const c=[t,t+r.length],l=[t+r.length+o.length,t+r.length+o.length+a.length];n.push(c),n.push(l),i.push([t+r.length,t+r.length+o.length])}return{remove:n,format:i}}),t.model.document.on("change:data",(n,r)=>{if("transparent"==r.type||!e.isEnabled)return;const a=t.model,s=a.document.selection;if(!s.isCollapsed)return;const c=Array.from(a.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const u=s.focus,d=u.parent,{text:h,range:f}=function(t,e){let n=t.start;return{text:Array.from(t.getItems()).reduce((t,i)=>!i.is("$text")&&!i.is("$textProxy")||i.getAttribute("code")?(n=e.createPositionAfter(i),""):t+i.data,""),range:e.createRange(n,t.end)}}
457(a.createRange(a.createPositionAt(d,0),u),a),p=o(h),m=wf(f.start,p.format,a),g=wf(f.start,p.remove,a);m.length&&g.length&&a.enqueueChange(t=>{if(!1!==i(t,m))for(const e of g.reverse())t.remove(e)})})}function wf(t,e,n){return e.filter(t=>void 0!==t[0]&&void 0!==t[1]).map(e=>n.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1])))}function kf(t,e){return(n,i)=>{if(!t.commands.get(e).isEnabled)return!1;const r=t.model.schema.getValidRanges(i,e);for(const t of r)n.setAttribute(e,!0,t);n.removeSelectionAttribute(e)}}class xf extends Kt{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,n=e.document.selection,i=void 0===t.forceValue?!this.value:t.forceValue;e.change(t=>{if(n.isCollapsed)i?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const r=e.schema.getValidRanges(n.getRanges(),this.attributeKey);for(const e of r)i?t.setAttribute(this.attributeKey,i,e):t.removeAttribute(this.attributeKey,e)}})}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,n=t.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const i of n.getRanges())for(const t of i.getItems())if(e.checkAttribute(t,this.attributeKey))return t.hasAttribute(this.attributeKey);return!1}}class Tf extends Zt{static get pluginName(){return"BoldEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:"bold"}),t.model.schema.setAttributeProperties("bold",{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:"bold",view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e?"bold"==e||Number(e)>=600?{name:!0,styles:["font-weight"]}:void 0:null}]}),t.commands.add("bold",new xf(t,"bold")),t.keystrokes.set("CTRL+B","bold")}}class Mf extends Zt{static get pluginName(){return"BoldUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add("bold",n=>{const i=t.commands.get("bold"),r=new cu(n);return r.set({label:e("Bold"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"/></svg>',keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(r,"execute",()=>{t.execute("bold"),t.editing.view.focus()}),r})}}class Sf extends Zt{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:"italic"}),t.model.schema.setAttributeProperties("italic",{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:"italic",view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add("italic",new xf(t,"italic")),t.keystrokes.set("CTRL+I","italic")}}class Cf extends Zt{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add("italic",n=>{const i=t.commands.get("italic"),r=new cu(n);return r.set({label:e("Italic"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(r,"execute",()=>{t.execute("italic"),t.editing.view.focus()}),r})}}class Ef extends Kt{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.schema,i=e.document.selection,r=Array.from(i.getSelectedBlocks()),o=void 0===t.forceValue?!this.value:t.forceValue;e.change(t=>{if(o){const e=r.filter(t=>Lf(t)||Of(n,t));this._applyQuote(t,e)}else this._removeQuote(t,r.filter(Lf))})}_getValue(){const t=Pa(this.editor.model.document.selection.getSelectedBlocks());return!(!t||!Lf(t))}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,n=Pa(t.getSelectedBlocks());return!!n&&Of(e,n)}
457_removeQuote(t,e){Af(t,e).reverse().forEach(e=>{if(e.start.isAtStart&&e.end.isAtEnd)return void t.unwrap(e.start.parent);if(e.start.isAtStart){const n=t.createPositionBefore(e.start.parent);return void t.move(e,n)}e.end.isAtEnd||t.split(e.end);const n=t.createPositionAfter(e.end.parent);t.move(e,n)})}_applyQuote(t,e){const n=[];Af(t,e).reverse().forEach(e=>{let i=Lf(e.start);i||(i=t.createElement("blockQuote"),t.wrap(e,i)),n.push(i)}),n.reverse().reduce((e,n)=>e.nextSibling==n?(t.merge(t.createPositionAfter(e)),e):n)}}function Lf(t){return"blockQuote"==t.parent.name?t.parent:null}function Af(t,e){let n,i=0;const r=[];for(;i<e.length;){const o=e[i],a=e[i+1];n||(n=t.createPositionBefore(o)),a&&o.nextSibling==a||(r.push(t.createRange(n,t.createPositionAfter(o))),n=null),i++}return r}function Of(t,e){const n=t.checkChild(e.parent,"blockQuote"),i=t.checkChild(["$root","blockQuote"],e);return n&&i}class Pf extends Zt{static get pluginName(){return"BlockQuoteEditing"}static get requires(){return[Pd,Rd]}init(){const t=this.editor,e=t.model.schema;t.commands.add("blockQuote",new Ef(t)),e.register("blockQuote",{allowWhere:"$block",allowContentOf:"$root"}),t.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),t.model.document.registerPostFixer(n=>{const i=t.model.document.differ.getChanges();for(const t of i)if("insert"==t.type){const i=t.position.nodeAfter;if(!i)continue;if(i.is("element","blockQuote")&&i.isEmpty)return n.remove(i),!0;if(i.is("element","blockQuote")&&!e.checkChild(t.position,i))return n.unwrap(i),!0;if(i.is("element")){const t=n.createRangeIn(i);for(const i of t.getItems())if(i.is("element","blockQuote")&&!e.checkChild(n.createPositionBefore(i),i))return n.unwrap(i),!0}}else if("remove"==t.type){const e=t.position.parent;if(e.is("element","blockQuote")&&e.isEmpty)return n.remove(e),!0}return!1});const n=this.editor.editing.view.document,i=t.model.document.selection,r=t.commands.get("blockQuote");this.listenTo(n,"enter",(e,n)=>{i.isCollapsed&&r.value&&i.getLastPosition().parent.isEmpty&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())},{context:"blockquote"}),this.listenTo(n,"delete",(e,n)=>{if("backward"!=n.direction||!i.isCollapsed||!r.value)return;const o=i.getLastPosition().parent;o.isEmpty&&!o.previousSibling&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())},{context:"blockquote"})}}n(68);class Df extends Zt{static get pluginName(){return"BlockQuoteUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add("blockQuote",n=>{const i=t.commands.get("blockQuote"),r=new cu(n);return r.set({label:e("Block quote"),icon:Dl,tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(r,"execute",()=>{t.execute("blockQuote"),t.editing.view.focus()}),r})}}class jf extends Zt{static get pluginName(){return"CKFinderUI"}init(){const t=this.editor,e=t.ui.componentFactory,n=t.t;e.add("ckfinder",e=>{const i=t.commands.get("ckfinder"),r=new cu(e);return r.set({label:n("Insert image or file"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>',tooltip:!0}),r.bind("isEnabled").to(i),r.on("execute",()=>{t.execute("ckfinder"),t.editing.view.focus()}),r})}}class If extends Kt{constructor(t){super(t),this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");this.isEnabled=t.isEnabled||e.isEnabled}execute(){const t=this.editor,e=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=e&&"modal"!=e)throw new c.a("ckfinder-unknown-openermethod",t);const n=this.editor.config.get("ckfinder.options")||{};n.chooseFiles=!0;const i=n.onInit;n.language||(n.language=t.locale.uiLanguage),n.onInit=e=>{i&&i(e),e.on("files:choose",n=>{const i=n.data.files.toArray(),r=i.filter(t=>!t.isImage()),o=i.filter(t=>t.isImage());for(const e of r)t.execute("link",e.getUrl());const a=[];for(const t of o){const n=t.getUrl();a.push(n||e.request("file:getProxyUrl",{file:t}))}a.length&&Rf(t,a)}),e.on("file:choose:resizedImage",e=>{const n=e.data.resizedUrl;if(n)Rf(t,[n]);else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not obtain resized image URL."),{title:n("Selecting resized image failed"),namespace:"ckfinder"})}})},window.CKFinder[e](n)}}function Rf(t,e){if(t.commands.get("insertImage").isEnabled)t.execute("insertImage",{source:e});else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not insert image at the current position."),{title:n("Inserting image failed"),namespace:"ckfinder"})}}class Nf extends Zt{static get pluginName(){return"CKFinderEditing"}static get requires(){return[Fu,"ImageEditing","LinkEditing"]}init(){const t=this.editor;t.commands.add("ckfinder",new If(t))}}class Yf extends Zt{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",ff]}init(){const t=this.editor,e=t.plugins.get("CloudServices"),n=e.token,i=e.uploadUrl;n&&(this._uploadGateway=t.plugins.get("CloudServicesCore").createUploadGateway(n,i),t.plugins.get(ff).createUploadAdapter=t=>new zf(this._uploadGateway,t))}}class zf{constructor(t,e){this.uploadGateway=t,this.loader=e}upload(){return this.loader.file.then(t=>(this.fileUploader=this.uploadGateway.upload(t),this.fileUploader.on("progress",(t,e)=>{this.loader.uploadTotal=e.total,this.loader.uploaded=e.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}class Bf extends Kt{refresh(){const t=this.editor.model,e=Pa(t.document.selection.getSelectedBlocks());this.value=!!e&&e.is("element","paragraph"),this.isEnabled=!!e&&Ff(e,t.schema)}execute(t={}){const e=this.editor.model,n=e.document;e.change(i=>{const r=(t.selection||n.selection).getSelectedBlocks();for(const t of r)!t.is("element","paragraph")&&Ff(t,e.schema)&&i.rename(t,"paragraph")})}}function Ff(t,e){return e.checkChild(t.parent,"paragraph")&&!e.isObject(t)}class Hf extends Kt{execute(t){const e=this.editor.model;let n=t.position;e.change(t=>{const i=t.createElement("paragraph");if(!e.schema.checkChild(n.parent,i)){const r=e.schema.findAllowedParent(n,i);if(!r)return;n=t.split(n,r).position}e.insertContent(i,n),t.setSelection(i,"in")})}}class Vf extends Zt{static get pluginName(){return"Paragraph"}init(){const t=this.editor,e=t.model;t.commands.add("paragraph",new Bf(t)),t.commands.add("insertParagraph",new Hf(t)),e.schema.register("paragraph",{inheritAllFrom
457:"$block"}),t.conversion.elementToElement({model:"paragraph",view:"p"}),t.conversion.for("upcast").elementToElement({model:(t,{writer:e})=>Vf.paragraphLikeElements.has(t.name)?t.isEmpty?null:e.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}}Vf.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class Uf extends Kt{constructor(t,e){super(t),this.modelElements=e}refresh(){const t=Pa(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name,this.isEnabled=!!t&&this.modelElements.some(e=>Wf(t,e,this.editor.model.schema))}execute(t){const e=this.editor.model,n=e.document,i=t.value;e.change(t=>{const r=Array.from(n.selection.getSelectedBlocks()).filter(t=>Wf(t,i,e.schema));for(const e of r)e.is("element",i)||t.rename(e,i)})}}function Wf(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t)}class $f extends Zt{static get pluginName(){return"HeadingEditing"}constructor(t){super(t),t.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Vf]}init(){const t=this.editor,e=t.config.get("heading.options"),n=[];for(const i of e)"paragraph"!==i.model&&(t.model.schema.register(i.model,{inheritAllFrom:"$block"}),t.conversion.elementToElement(i),n.push(i.model));this._addDefaultH1Conversion(t),t.commands.add("heading",new Uf(t,n))}afterInit(){const t=this.editor,e=t.commands.get("enter"),n=t.config.get("heading.options");e&&this.listenTo(e,"afterExecute",(e,i)=>{const r=t.model.document.selection.getFirstPosition().parent;n.some(t=>r.is("element",t.model))&&!r.is("element","paragraph")&&0===r.childCount&&i.writer.rename(r,"paragraph")})}_addDefaultH1Conversion(t){t.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:s.get("low")+1})}}n(12);class Xf extends Zt{static get pluginName(){return"HeadingUI"}init(){const t=this.editor,e=t.t,n=function(t){const e=t.t,n={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return t.config.get("heading.options").map(t=>{const e=n[t.title];return e&&e!=t.title&&(t.title=e),t})}(t),i=e("Choose heading"),r=e("Heading");t.ui.componentFactory.add("heading",e=>{const o={},a=new Qn,s=t.commands.get("heading"),c=t.commands.get("paragraph"),l=[s];for(const t of n){const e={type:"button",model:new Hu({label:t.title,class:t.class,withText:!0})};"paragraph"===t.model?(e.model.bind("isOn").to(c,"value"),e.model.set("commandName","paragraph"),l.push(c)):(e.model.bind("isOn").to(s,"value",e=>e===t.model),e.model.set({commandName:"heading",commandValue:t.model})),a.add(e),o[t.model]=t.title}const u=Ou(e);return Pu(u,a),u.buttonView.set({isOn:!1,withText:!0,tooltip:r}),u.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),u.bind("isEnabled").toMany(l,"isEnabled",(...t)=>t.some(t=>t)),u.buttonView.bind("label").to(s,"value",c,"value",(t,e)=>{const n=t||e&&"paragraph";return o[n]?o[n]:i}),this.listenTo(u,"execute",e=>{t.execute(e.source.commandName,e.source.commandValue?{value:e.source.commandValue}:void 0),t.editing.view.focus()}),u})}}class qf extends Zt{static get requires(){return[Zu]}static get pluginName(){return"WidgetToolbarRepository"}init(){const t=this.editor;if(t.plugins.has("BalloonToolbar")){const e=t.plugins.get("BalloonToolbar");this.listenTo(e,"show",e=>{(function(t){const e=t.getSelectedElement();return!(!e||!Fd(e))})(t.editing.view.document.selection)&&e.stop()},{priority:"high"})}this._toolbarDefinitions=new Map,this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(t.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(t.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const t of this._toolbarDefinitions.values())t.view.destroy()}register(t,{ariaLabel:e,items:n,getRelatedElement:i,balloonClassName:r="ck-toolbar-container"}){if(!n.length)return void Object(c.b)("widget-toolbar-no-items",{toolbarId:t});const o=this.editor,a=o.t,s=new Tu(o.locale);if(s.ariaLabel=e||a("Widget toolbar"),this._toolbarDefinitions.has(t))throw new c.a("widget-toolbar-duplicated",this,{toolbarId:t});s.fillFromConfig(n,o.ui.componentFactory),this._toolbarDefinitions.set(t,{view:s,getRelatedElement:i,balloonClassName:r})}_updateToolbarsVisibility(){let t=0,e=null,n=null;for(const i of this._toolbarDefinitions.values()){const r=i.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&r)if(this.editor.ui.focusTracker.isFocused){const o=r.getAncestors().length;o>t&&(t=o,e=r,n=i)}else this._isToolbarVisible(i)&&this._hideToolbar(i);else this._isToolbarInBalloon(i)&&this._hideToolbar(i)}n&&this._showToolbar(n,e)}_hideToolbar(t){this._balloon.remove(t.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(t,e){this._isToolbarVisible(t)?Gf(this.editor,e):this._isToolbarInBalloon(t)||(this._balloon.add({view:t.view,position:Zf(this.editor,e),balloonClassName:t.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const t of this._toolbarDefinitions.values())if(this._isToolbarVisible(t)){const e=t.getRelatedElement(this.editor.editing.view.document.selection);Gf(this.editor,e)}}))}_isToolbarVisible(t){return this._balloon.visibleView===t.view}_isToolbarInBalloon(t){return this._balloon.hasView(t.view)}}function Gf(t,e){const n=t.plugins.get("ContextualBalloon"),i=Zf(t,e);n.updatePosition(i)}function Zf(t,e){const n=t.editing.view,i=Wu.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast,Zd]}}class Jf{constructor(t){this.set("activeHandlePosition",null),this.set("proposedWidthPercents",null),this.set("proposedWidth",null),this.set("proposedHeight",null),this.set("proposedHandleHostWidth",null),this.set("proposedHandleHostHeight",null),this._options=t,this._referenceCoordinates=null}begin(t,e,n){const i=new Sa(e);this.activeHandlePosition=function(t){const e=["top-left","top-right","bottom-right","bottom-left"];for(const n of e)if(t.classList.contains("ck-widget__resizer__handle-"+n))return n}(t),this._referenceCoordinates=function(t,e){const n=new Sa(t),i=e.split("-"),r={x:"right"==i[1]?n.right:n.left,y:"bottom"==i[0]?n.bottom:n.top};return r.x+=t.ownerDocument.defaultView.scrollX,r.y+=t.ownerDocument.defaultView.scrollY,r}(e,function(t){const e=t.split("-"),n={top:"bottom",bottom:"top",left:"r
457ight",right:"left"};return`${n[e[0]]}-${n[e[1]]}`}(this.activeHandlePosition)),this.originalWidth=i.width,this.originalHeight=i.height,this.aspectRatio=i.width/i.height;const r=n.style.width;r&&r.match(/^\d+(\.\d*)?%$/)?this.originalWidthPercents=parseFloat(r):this.originalWidthPercents=function(t,e){const n=t.parentElement,i=parseFloat(n.ownerDocument.defaultView.getComputedStyle(n).width);return e.width/i*100}(n,i)}update(t){this.proposedWidth=t.width,this.proposedHeight=t.height,this.proposedWidthPercents=t.widthPercents,this.proposedHandleHostWidth=t.handleHostWidth,this.proposedHandleHostHeight=t.handleHostHeight}}Gt(Jf,Vt);class Kf{constructor(t){this._options=t,this._domResizerWrapper=null,this._viewResizerWrapper=null,this.set("isEnabled",!0),this.decorate("begin"),this.decorate("cancel"),this.decorate("commit"),this.decorate("updateSize"),this.on("commit",t=>{this.state.proposedWidth||this.state.proposedWidthPercents||(this._cleanup(),t.stop())},{priority:"high"}),this.on("change:isEnabled",()=>{this.isEnabled&&this.redraw()})}attach(){const t=this,e=this._options.viewElement;this._options.editor.editing.view.change(n=>{const i=n.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},(function(e){const n=this.toDomElement(e);return t._appendHandles(n),t._appendSizeUI(n),t._domResizerWrapper=n,t.on("change:isEnabled",(t,e,i)=>{n.style.display=i?"":"none"}),n.style.display=t.isEnabled?"":"none",n}));n.insert(n.createPositionAt(e,"end"),i),n.addClass("ck-widget_with-resizer",e),this._viewResizerWrapper=i})}begin(t){this.state=new Jf(this._options),this._sizeUI.bindToState(this._options,this.state),this._initialViewWidth=this._options.viewElement.getStyle("width"),this.state.begin(t,this._getHandleHost(),this._getResizeHost())}updateSize(t){const e=this._proposeNewSize(t);this._options.editor.editing.view.change(t=>{const n=this._options.unit||"%",i=("%"===n?e.widthPercents:e.width)+n;t.setStyle("width",i,this._options.viewElement)});const n=this._getHandleHost(),i=new Sa(n);e.handleHostWidth=Math.round(i.width),e.handleHostHeight=Math.round(i.height);const r=new Sa(n);e.width=Math.round(r.width),e.height=Math.round(r.height),this.redraw(i),this.state.update(e)}commit(){const t=this._options.unit||"%",e=("%"===t?this.state.proposedWidthPercents:this.state.proposedWidth)+t;this._options.editor.editing.view.change(()=>{this._cleanup(),this._options.onCommit(e)})}cancel(){this._cleanup()}destroy(){this.cancel()}redraw(t){const e=this._domResizerWrapper;if(!((n=e)&&n.ownerDocument&&n.ownerDocument.contains(n)))return;var n;const i=e.parentElement,r=this._getHandleHost(),o=this._viewResizerWrapper,a=[o.getStyle("width"),o.getStyle("height"),o.getStyle("left"),o.getStyle("top")];let s;if(i.isSameNode(r)){const e=t||new Sa(r);s=[e.width+"px",e.height+"px",void 0,void 0]}else s=[r.offsetWidth+"px",r.offsetHeight+"px",r.offsetLeft+"px",r.offsetTop+"px"];"same"!==ci(a,s)&&this._options.editor.editing.view.change(t=>{t.setStyle({width:s[0],height:s[1],left:s[2],top:s[3]},o)})}containsHandle(t){return this._domResizerWrapper.contains(t)}static isResizeHandle(t){return t.classList.contains("ck-widget__resizer__handle")}_cleanup(){this._sizeUI.dismiss(),this._sizeUI.isVisible=!1,this._options.editor.editing.view.change(t=>{t.setStyle("width",this._initialViewWidth,this._options.viewElement)})}_proposeNewSize(t){const e=this.state,n={x:(i=t).pageX,y:i.pageY};var i;const r=!this._options.isCentered||this._options.isCentered(this),o={x:e._referenceCoordinates.x-(n.x+e.originalWidth),y:n.y-e.originalHeight-e._referenceCoordinates.y};r&&e.activeHandlePosition.endsWith("-right")&&(o.x=n.x-(e._referenceCoordinates.x+e.originalWidth)),r&&(o.x*=2);const a={width:Math.abs(e.originalWidth+o.x),height:Math.abs(e.originalHeight+o.y)};a.dominant=a.width/e.aspectRatio>a.height?"width":"height",a.max=a[a.dominant];const s={width:a.width,height:a.height};return"width"==a.dominant?s.height=s.width/e.aspectRatio:s.width=s.height*e.aspectRatio,{width:Math.round(s.width),height:Math.round(s.height),widthPercents:Math.min(Math.round(e.originalWidthPercents/e.originalWidth*s.width*100)/100,100)}}_getResizeHost(){const t=this._domResizerWrapper.parentElement;return this._options.getResizeHost(t)}_getHandleHost(){const t=this._domResizerWrapper.parentElement;return this._options.getHandleHost(t)}_appendHandles(t){const e=["top-left","top-right","bottom-right","bottom-left"];for(const i of e)t.appendChild(new Bl({tag:"div",attributes:{class:"ck-widget__resizer__handle "+(n=i,"ck-widget__resizer__handle-"+n)}}).render());var n}_appendSizeUI(t){const e=new Qf;e.render(),this._sizeUI=e,t.appendChild(e.element)}}Gt(Kf,Vt);class Qf extends zl{constructor(){super();const t=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-size-view",t.to("activeHandlePosition",t=>t?"ck-orientation-"+t:"")],style:{display:t.if("isVisible","none",t=>!t)}},children:[{text:t.to("label")}]})}bindToState(t,e){this.bind("isVisible").to(e,"proposedWidth",e,"proposedHeight",(t,e)=>null!==t&&null!==e),this.bind("label").to(e,"proposedHandleHostWidth",e,"proposedHandleHostHeight",e,"proposedWidthPercents",(e,n,i)=>"px"===t.unit?`${e}Ã${n}`:i+"%"),this.bind("activeHandlePosition").to(e)}dismiss(){this.unbind(),this.isVisible=!1}}n(71),Gt(class extends Zt{static get pluginName(){return"WidgetResize"}init(){this.set("visibleResizer",null),this.set("_activeResizer",null),this._resizers=new Map;const t=bo.window.document;this.editor.model.schema.setAttributeProperties("width",{isFormatting:!0}),this.editor.editing.view.addObserver(yd),this._observer=Object.create(Oo),this.listenTo(this.editor.editing.view.document,"mousedown",this._mouseDownListener.bind(this),{priority:"high"}),this._observer.listenTo(t,"mousemove",this._mouseMoveListener.bind(this)),this._observer.listenTo(t,"mouseup",this._mouseUpListener.bind(this));const e=()=>{this.visibleResizer&&this.visibleResizer.redraw()},n=uh(e,200);this.on("change:visibleResizer",e),this.editor.ui.on("update",n),this._observer.listenTo(bo.window,"resize",n);const i=this.editor.editing.view.document.selection;i.on("change",()=>{const t=i.getSelectedElement();this.visibleResizer=this.getResizerByViewElement(t)||null})}destroy(){this._observer.stopListening();
457for(const t of this._resizers.values())t.destroy()}attachTo(t){const e=new Kf(t),n=this.editor.plugins;if(e.attach(),n.has("WidgetToolbarRepository")){const t=n.get("WidgetToolbarRepository");e.on("begin",()=>{t.forceDisabled("resize")},{priority:"lowest"}),e.on("cancel",()=>{t.clearForceDisabled("resize")},{priority:"highest"}),e.on("commit",()=>{t.clearForceDisabled("resize")},{priority:"highest"})}this._resizers.set(t.viewElement,e);const i=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(i)==e&&(this.visibleResizer=e),e}getResizerByViewElement(t){return this._resizers.get(t)}_getResizerByHandle(t){for(const e of this._resizers.values())if(e.containsHandle(t))return e}_mouseDownListener(t,e){const n=e.domTarget;Kf.isResizeHandle(n)&&(this._activeResizer=this._getResizerByHandle(n),this._activeResizer&&(this._activeResizer.begin(n),t.stop(),e.preventDefault()))}_mouseMoveListener(t,e){this._activeResizer&&this._activeResizer.updateSize(e)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}},Vt);class tp extends jo{observe(t){this.listenTo(t,"load",(t,e)=>{const n=e.target;this.checkShouldIgnoreEventFromTarget(n)||"IMG"==n.tagName&&this._fireEvents(e)},{useCapture:!0})}_fireEvents(t){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",t))}}function ep(t){return!!t.getCustomProperty("image")&&Fd(t)}function np(t){const e=t.getSelectedElement();return e&&ep(e)?e:null}function ip(t){return!!t&&t.is("element","image")}function rp(t,e={},n=null){t.change(i=>{const r=i.createElement("image",e),o=n||qd(t.document.selection,t);t.insertContent(r,o),r.parent&&i.setSelection(r,"on")})}function op(t){const e=t.schema,n=t.document.selection;return function(t,e,n){const i=function(t,e){const n=qd(t,e).parent;return n.isEmpty&&!n.is("element","$root")?n.parent:n}(t,n);return e.checkChild(i,"image")}(n,e,t)&&!Gd(n,e)&&function(t){return[...t.focus.getAncestors()].every(t=>!t.is("element","image"))}(n)}function ap(t){const e=[];for(const n of t.getChildren())e.push(n),n.is("element")&&e.push(...n.getChildren());return e.find(t=>t.is("element","img"))}function sp(t){return n=>{n.on(`attribute:${t}:image`,e)};function e(t,e,n){if(!n.consumable.consume(e.item,t.name))return;const i=n.writer,r=ap(n.mapper.toViewElement(e.item));i.setAttribute(e.attributeKey,e.attributeNewValue||"",r)}}class cp extends Kt{refresh(){this.isEnabled=op(this.editor.model)}execute(t){const e=this.editor.model;for(const n of ei(t.source))rp(e,{src:n})}}class lp extends Zt{static get pluginName(){return"ImageEditing"}init(){const t=this.editor,e=t.model.schema,n=t.t,i=t.conversion;t.editing.view.addObserver(tp),e.register("image",{isObject:!0,isBlock:!0,allowWhere:"$block",allowAttributes:["alt","src","srcset"]}),i.for("dataDowncast").elementToElement({model:"image",view:(t,{writer:e})=>up(e)}),i.for("editingDowncast").elementToElement({model:"image",view:(t,{writer:e})=>function(t,e,n){return e.setCustomProperty("image",!0,t),Hd(t,e,{label:function(){const e=ap(t).getAttribute("alt");return e?`${e} ${n}`:n}})}(up(e),e,n("image widget"))}),i.for("downcast").add(sp("src")).add(sp("alt")).add(function(){return e=>{e.on("attribute:srcset:image",t)};function t(t,e,n){if(!n.consumable.consume(e.item,t.name))return;const i=n.writer,r=ap(n.mapper.toViewElement(e.item));if(null===e.attributeNewValue){const t=e.attributeOldValue;t.data&&(i.removeAttribute("srcset",r),i.removeAttribute("sizes",r),t.width&&i.removeAttribute("width",r))}else{const t=e.attributeNewValue;t.data&&(i.setAttribute("srcset",t.data,r),i.setAttribute("sizes","100vw",r),t.width&&i.setAttribute("width",t.width,r))}}}()),i.for("upcast").elementToElement({view:{name:"img",attributes:{src:!0}},model:(t,{writer:e})=>e.createElement("image",{src:t.getAttribute("src")})}).attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:t=>{const e={data:t.getAttribute("srcset")};return t.hasAttribute("width")&&(e.width=t.getAttribute("width")),e}}}).add(function(){return e=>{e.on("element:figure",t)};function t(t,e,n){if(!n.consumable.test(e.viewItem,{name:!0,classes:"image"}))return;const i=ap(e.viewItem);if(!i||!i.hasAttribute("src")||!n.consumable.test(i,{name:!0}))return;const r=Pa(n.convertItem(i,e.modelCursor).modelRange.getItems());r&&(n.convertChildren(e.viewItem,r),n.updateConversionResult(r,e))}}());const r=new cp(t);t.commands.add("insertImage",r),t.commands.add("imageInsert",r)}}function up(t){const e=t.createEmptyElement("img"),n=t.createContainerElement("figure",{class:"image"});return t.insert(t.createPositionAt(n,0),e),n}class dp extends Kt{refresh(){const t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=ip(t),ip(t)&&t.hasAttribute("alt")?this.value=t.getAttribute("alt"):this.value=!1}execute(t){const e=this.editor.model,n=e.document.selection.getSelectedElement();e.change(e=>{e.setAttribute("alt",t.newValue,n)})}}class hp extends Zt{static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new dp(this.editor))}}n(73),n(7);class fp extends zl{constructor(t){super(t);const e=this.locale.t;this.focusTracker=new Da,this.keystrokes=new ja,this.labeledInput=this._createLabeledInputVie
457w(),this.saveButtonView=this._createButton(e("Save"),Ml,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(e("Cancel"),Tl,"ck-button-cancel","cancel"),this._focusables=new Yl,this._focusCycler=new uu({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]}),Rl(this)}render(){super.render(),this.keystrokes.listenTo(this.element),Nl({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)})}_createButton(t,e,n,i){const r=new cu(this.locale);return r.set({label:t,icon:e,tooltip:!0}),r.extendTemplate({attributes:{class:n}}),i&&r.delegate("execute").to(this,i),r}_createLabeledInputView(){const t=this.locale.t,e=new zu(this.locale,Bu);return e.label=t("Text alternative"),e}}function pp(t){const e=t.editing.view,n=Wu.defaultPositions;return{target:e.domConverter.viewToDom(e.document.selection.getSelectedElement()),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast]}}class mp extends Zt{static get requires(){return[Zu]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton(),this._createForm()}destroy(){super.destroy(),this._form.destroy()}_createButton(){const t=this.editor,e=t.t;t.ui.componentFactory.add("imageTextAlternative",n=>{const i=t.commands.get("imageTextAlternative"),r=new cu(n);return r.set({label:e("Change image text alternative"),icon:Sl,tooltip:!0}),r.bind("isEnabled").to(i,"isEnabled"),this.listenTo(r,"execute",()=>{this._showForm()}),r})}_createForm(){const t=this.editor,e=t.editing.view.document;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new fp(t.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{t.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(t,e)=>{this._hideForm(!0),e()}),this.listenTo(t.ui,"update",()=>{np(e.selection)?this._isVisible&&function(t){const e=t.plugins.get("ContextualBalloon");if(np(t.editing.view.document.selection)){const n=pp(t);e.updatePosition(n)}}(t):this._hideForm(!0)}),Il({emitter:this._form,activator:()=>this._isVisible,contextElements:[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;const t=this.editor,e=t.commands.get("imageTextAlternative"),n=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:pp(t)}),n.fieldView.value=n.fieldView.element.value=e.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(t){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),t&&this.editor.editing.view.focus())}get _isVisible(){return this._balloon.visibleView===this._form}get _isInBalloon(){return this._balloon.hasView(this._form)}}class gp extends Zt{static get requires(){return[hp,mp]}static get pluginName(){return"ImageTextAlternative"}}function vp(t){for(const e of t.getChildren())if(e&&e.is("element","caption"))return e;return null}function _p(t){const e=t.parent;return"figcaption"==t.name&&e&&"figure"==e.name&&e.hasClass("image")?{name:!0}:null}n(76);class yp extends Zt{static get pluginName(){return"ImageCaptionEditing"}init(){const t=this.editor,e=t.editing.view,n=t.model.schema,i=t.data,r=t.editing,o=t.t;n.register("caption",{allowIn:"image",allowContentOf:"$block",isLimit:!0}),t.model.document.registerPostFixer(t=>this._insertMissingModelCaptionElement(t)),t.conversion.for("upcast").elementToElement({view:_p,model:"caption"}),i.downcastDispatcher.on("insert:caption",bp(t=>t.createContainerElement("figcaption"),!1));const a=function(t,e){return n=>{const i=n.createEditableElement("figcaption");return n.setCustomProperty("imageCaption",!0,i),nd({view:t,element:i,text:e}),Xd(i,n)}}(e,o("Enter image caption"));r.downcastDispatcher.on("insert:caption",bp(a)),r.downcastDispatcher.on("insert",this._fixCaptionVisibility(t=>t.item),{priority:"high"}),r.downcastDispatcher.on("remove",this._fixCaptionVisibility(t=>t.position.parent),{priority:"high"}),e.document.registerPostFixer(t=>this._updateCaptionVisibility(t))}_updateCaptionVisibility(t){const e=this.editor.editing.mapper,n=this._lastSelectedCaption;let i;const r=this.editor.model.document.selection,o=r.getSelectedElement();if(o&&o.is("element","image")){const t=vp(o);i=e.toViewElement(t)}const a=wp(r.getFirstPosition().parent);
457if(a&&(i=e.toViewElement(a)),i&&!this.editor.isReadOnly)return n?(n===i||(kp(n,t),this._lastSelectedCaption=i),xp(i,t)):(this._lastSelectedCaption=i,xp(i,t));if(n){const e=kp(n,t);return this._lastSelectedCaption=null,e}return!1}_fixCaptionVisibility(t){return(e,n,i)=>{const r=wp(t(n)),o=this.editor.editing.mapper,a=i.writer;if(r){const t=o.toViewElement(r);t&&(r.childCount?a.removeClass("ck-hidden",t):a.addClass("ck-hidden",t))}}}_insertMissingModelCaptionElement(t){const e=this.editor.model,n=e.document.differ.getChanges(),i=[];for(const r of n)if("insert"==r.type&&"$text"!=r.name){const t=r.position.nodeAfter;if(t.is("element","image")&&!vp(t)&&i.push(t),!t.is("element","image")&&t.childCount)for(const n of e.createRangeIn(t).getItems())n.is("element","image")&&!vp(n)&&i.push(n)}for(const r of i)t.appendElement("caption",r);return!!i.length}}function bp(t,e=!0){return(n,i,r)=>{const o=i.item;if((o.childCount||e)&&ip(o.parent)){if(!r.consumable.consume(i.item,"insert"))return;const e=r.mapper.toViewElement(i.range.start.parent),n=t(r.writer),a=r.writer;o.childCount||a.addClass("ck-hidden",n),function(t,e,n,i){const r=i.writer.createPositionAt(n,"end");i.writer.insert(r,t),i.mapper.bindElements(e,t)}(n,i.item,e,r)}}}function wp(t){const e=t.getAncestors({includeSelf:!0}).find(t=>"caption"==t.name);return e&&e.parent&&"image"==e.parent.name?e:null}function kp(t,e){return!t.childCount&&!t.hasClass("ck-hidden")&&(e.addClass("ck-hidden",t),!0)}function xp(t,e){return!!t.hasClass("ck-hidden")&&(e.removeClass("ck-hidden",t),!0)}n(78);class Tp extends Kt{constructor(t,e){super(t),this.defaultStyle=!1,this.styles=e.reduce((t,e)=>(t[e.name]=e,e.isDefault&&(this.defaultStyle=e.name),t),{})}refresh(){const t=this.editor.model.document.selection.getSelectedElement();if(this.isEnabled=ip(t),t)if(t.hasAttribute("imageStyle")){const e=t.getAttribute("imageStyle");this.value=!!this.styles[e]&&e}else this.value=this.defaultStyle;else this.value=!1}execute(t){const e=t.value,n=this.editor.model,i=n.document.selection.getSelectedElement();n.change(t=>{this.styles[e].isDefault?t.removeAttribute("imageStyle",i):t.setAttribute("imageStyle",e,i)})}}function Mp(t,e){for(const n of e)if(n.name===t)return n}const Sp={full:{name:"full",title:"Full size image",icon:Ol,isDefault:!0},side:{name:"side",title:"Side image",icon:Al,className:"image-style-side"},alignLeft:{name:"alignLeft",title:"Left aligned image",icon:El,className:"image-style-align-left"},alignCenter:{name:"alignCenter",title:"Centered image",icon:Ll,className:"image-style-align-center"},alignRight:{name:"alignRight",title:"Right aligned image",icon:Al,className:"image-style-align-right"}},Cp={full:Ol,left:El,right:Al,center:Ll};function Ep(t=[]){return t.map(Lp)}function Lp(t){if("string"==typeof t){const e=t;Sp[e]?t=Object.assign({},Sp[e]):(Object(c.b)("image-style-not-found",{name:e}),t={name:e})}else if(Sp[t.name]){const e=Sp[t.name],n=Object.assign({},t);for(const i in e)Object.prototype.hasOwnProperty.call(t,i)||(n[i]=e[i]);t=n}return"string"==typeof t.icon&&Cp[t.icon]&&(t.icon=Cp[t.icon]),t}class Ap extends Zt{static get pluginName(){return"ImageStyleEditing"}init(){const t=this.editor,e=t.model.schema,n=t.data,i=t.editing;t.config.define("image.styles",["full","side"]);const r=Ep(t.config.get("image.styles"));e.extend("image",{allowAttributes:"imageStyle"});const o=function(t){return(e,n,i)=>{if(!i.consumable.consume(n.item,e.name))return;const r=Mp(n.attributeNewValue,t),o=Mp(n.attributeOldValue,t),a=i.mapper.toViewElement(n.item),s=i.writer;o&&s.removeClass(o.className,a),r&&s.addClass(r.className,a)}}(r);i.downcastDispatcher.on("attribute:imageStyle:image",o),n.downcastDispatcher.on("attribute:imageStyle:image",o),n.upcastDispatcher.on("element:figure",function(t){const e=t.filter(t=>!t.isDefault);return(t,n,i)=>{if(!n.modelRange)return;const r=n.viewItem,o=Pa(n.modelRange.getItems());if(!o||i.schema.checkAttribute(o,"imageStyle"))for(const a of e)i.consumable.consume(r,{classes:a.className})&&i.writer.setAttribute("imageStyle",a.name,o)}}(r),{priority:"low"}),t.commands.add("imageStyle",new Tp(t,r))}}n(80);class Op extends Zt{static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const t=this.editor.t;return{"Full size image":t("Full size image"),"Side image":t("Side image"),"Left aligned image":t("Left aligned image"),"Centered image":t("Centered image"),"Right aligned image":t("Right aligned image")}}init(){const t=function(t,e){for(const n of t)e[n.title]&&(n.title=e[n.title]);return t}(Ep(this.editor.config.get("image.styles")),this.localizedDefaultStylesTitles);for(const e of t)this._createButton(e)}_createButton(t){const e=this.editor,n="imageStyle:"+t.name;e.ui.componentFactory.add(n,n=>{const i=e.commands.get("imageStyle"),r=new cu(n);return r.set({label:t.title,icon:t.icon,tooltip:!0,isToggleable:!0}),r.bind("isEnabled").to(i,"isEnabled"),r.bind("isOn").to(i,"value",e=>e===t.name),this.listenTo(r,"execute",()=>{e.execute("imageStyle",{value:t.name}),e.editing.view.focus()}),r})}}function Pp(t){const e=t.map(t=>t.replace("+","\\+"));return new RegExp(`^image\\/(${e.join("|")})$`)}
457function Dp(t){return new Promise((e,n)=>{const i=t.getAttribute("src");fetch(i).then(t=>t.blob()).then(t=>{const n=jp(t,i),r=n.replace("image/",""),o=new File([t],"image."+r,{type:n});e(o)}).catch(t=>t&&"TypeError"===t.name?function(t){return function(t){return new Promise((e,n)=>{const i=bo.document.createElement("img");i.addEventListener("load",()=>{const t=bo.document.createElement("canvas");t.width=i.width,t.height=i.height,t.getContext("2d").drawImage(i,0,0),t.toBlob(t=>t?e(t):n())}),i.addEventListener("error",()=>n()),i.src=t})}(t).then(e=>{const n=jp(e,t),i=n.replace("image/","");return new File([e],"image."+i,{type:n})})}(i).then(e).catch(n):n(t))})}function jp(t,e){return t.type?t.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class Ip extends Zt{static get pluginName(){return"ImageUploadUI"}init(){const t=this.editor,e=t.t,n=n=>{const i=new mf(n),r=t.commands.get("uploadImage"),o=t.config.get("image.upload.types"),a=Pp(o);return i.set({acceptedType:o.map(t=>"image/"+t).join(","),allowMultipleFiles:!0}),i.buttonView.set({label:e("Insert image"),icon:Cl,tooltip:!0}),i.buttonView.bind("isEnabled").to(r),i.on("done",(e,n)=>{const i=Array.from(n).filter(t=>a.test(t.type));i.length&&t.execute("uploadImage",{file:i})}),i};t.ui.componentFactory.add("uploadImage",n),t.ui.componentFactory.add("imageUpload",n)}}n(82),n(84),n(86);class Rp extends Zt{static get pluginName(){return"ImageUploadProgress"}constructor(t){super(t),this.placeholder="data:image/svg+xml;utf8,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 250"><rect rx="4"/></svg>')}init(){this.editor.editing.downcastDispatcher.on("attribute:uploadStatus:image",(...t)=>this.uploadStatusChange(...t))}uploadStatusChange(t,e,n){const i=this.editor,r=e.item,o=r.getAttribute("uploadId");if(!n.consumable.consume(e.item,t.name))return;const a=i.plugins.get(ff),s=o?e.attributeNewValue:null,c=this.placeholder,l=i.editing.mapper.toViewElement(r),u=n.writer;if("reading"==s)return Np(l,u),void Yp(c,l,u);if("uploading"==s){const t=a.loaders.get(o);return Np(l,u),void(t?(zp(l,u),function(t,e,n,i){const r=function(t){const e=t.createUIElement("div",{class:"ck-progress-bar"});return t.setCustomProperty("progressBar",!0,e),e}(e);e.insert(e.createPositionAt(t,"end"),r),n.on("change:uploadedPercent",(t,e,n)=>{i.change(t=>{t.setStyle("width",n+"%",r)})})}(l,u,t,i.editing.view),function(t,e,n){if(n.data){const i=ap(t);e.setAttribute("src",n.data,i)}}(l,u,t)):Yp(c,l,u))}"complete"==s&&a.loaders.get(o)&&function(t,e,n){const i=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(t,"end"),i),setTimeout(()=>{n.change(t=>t.remove(t.createRangeOn(i)))},3e3)}(l,u,i.editing.view),function(t,e){Fp(t,e,"progressBar")}(l,u),zp(l,u),function(t,e){e.removeClass("ck-appear",t)}(l,u)}}function Np(t,e){t.hasClass("ck-appear")||e.addClass("ck-appear",t)}function Yp(t,e,n){e.hasClass("ck-image-upload-placeholder")||n.addClass("ck-image-upload-placeholder",e);const i=ap(e);i.getAttribute("src")!==t&&n.setAttribute("src",t,i),Bp(e,"placeholder")||n.insert(n.createPositionAfter(i),function(t){const e=t.createUIElement("div",{class:"ck-upload-placeholder-loader"});return t.setCustomProperty("placeholder",!0,e),e}(n))}function zp(t,e){t.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",t),Fp(t,e,"placeholder")}function Bp(t,e){for(const n of t.getChildren())if(n.getCustomProperty(e))return n}function Fp(t,e,n){const i=Bp(t,n);i&&e.remove(e.createRangeOn(i))}class Hp extends Kt{refresh(){const t=this.editor.model.document.selection.getSelectedElement(),e=t&&"image"===t.name||!1;this.isEnabled=op(this.editor.model)||e}execute(t){const e=this.editor,n=e.model,i=e.plugins.get(ff);for(const r of ei(t.file))Vp(n,i,r)}}function Vp(t,e,n){const i=e.createLoader(n);i&&rp(t,{uploadId:i.id})}class Up extends Zt{static get requires(){return[ff,Fu,Cd]}static get pluginName(){return"ImageUploadEditing"}constructor(t){super(t),t.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}})}init(){const t=this.editor,e=t.model.document,n=t.model.schema,i=t.conversion,r=t.plugins.get(ff),o=Pp(t.config.get("image.upload.types"));n.extend("image",{allowAttributes:["uploadId","uploadStatus"]});const a=new Hp(t);t.commands.add("uploadImage",a),t.commands.add("imageUpload",a),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(t.editing.view.document,"clipboardInput",(e,n)=>{if(i=n.dataTransfer,Array.from(i.types).includes("text/html")&&""!==i.getData("text/html"))return;var i;const r=Array.from(n.dataTransfer.files).filter(t=>!!t&&o.test(t.type));r.length&&(e.stop(),t.model.change(e=>{n.targetRanges&&e.setSelection(n.targetRanges.map(e=>t.editing.mapper.toModelRange(e))),t.model.enqueueChange("default",()=>{t.execute("uploadImage",{file:r})})}))}),this.listenTo(t.plugins.get("ClipboardPipeline"),"inputTransformation",(e,n)=>{const i=Array.from(t.editing.view.createRangeIn(n.content)).filter(t=>{return!(!(e=t.item).is("element","img")||!e.getAttribute("src"))&&(e.getAttribute("src").match(/^data:image\/\w+;base64,/g)||e.getAttribute("src").match(/^blob:/g))&&!t.item.getAttribute("uploadProcessed");var e}).map(t=>({promise:Dp(t.item),imageElement:t.item}));if(!i.length)return;const o=new bd(t.editing.view.document);for(const t of i){o.setAttribute("uploadProcessed",!0,t.imageElement);const e=r.createLoader(t.promise);e&&(o.setAttribute("src","",t.imageElement),o.setAttribute("uploadId",e.id,t.imageElement))}}),t.editing.view.document.on("dragover",(t,e)=>{e.preventDefault()}),e.on("change",()=>{const n=e.differ.getChanges({includeChangesInGraveyard:!0});for(const e of n)if("insert"==e.type&&"$text"!=e.name){const n=e.position.nodeAfter,i="$graveyard"==e.position.root.rootName;for(const e of Wp(t,n)){const t=e.getAttribute("uploadId");if(!t)continue;const n=r.loaders.get(t);n&&(i?n.abort():"idle"==n.status&&this._readAndUpload(n,e))}}}),this.on("uploadComplete",(t,{imageElement:e,data:n})=>{const i=n.urls?n.urls:n;this.editor.model.change(t=>{t.setAttribute("src",i.default,e),this._parseAndSetSrcsetAttributeOnImage(i,e,t)})},{priority:"low"})}_readAndUpload(t,e){const n=this.editor,i=n.model,r=n.locale.t,o=n.plugins.get(ff),a=n.plugins.get(Fu);
457return i.enqueueChange("transparent",t=>{t.setAttribute("uploadStatus","reading",e)}),t.read().then(()=>{const r=t.upload();if(Cr.isSafari){const t=ap(n.editing.mapper.toViewElement(e));n.editing.view.once("render",()=>{if(!t.parent)return;const e=n.editing.view.domConverter.mapViewToDom(t.parent);if(!e)return;const i=e.style.display;e.style.display="none",e._ckHack=e.offsetHeight,e.style.display=i})}return i.enqueueChange("transparent",t=>{t.setAttribute("uploadStatus","uploading",e)}),r}).then(t=>{i.enqueueChange("transparent",n=>{n.setAttribute("uploadStatus","complete",e),this.fire("uploadComplete",{data:t,imageElement:e})}),s()}).catch(n=>{if("error"!==t.status&&"aborted"!==t.status)throw n;"error"==t.status&&n&&a.showWarning(n,{title:r("Upload failed"),namespace:"upload"}),s(),i.enqueueChange("transparent",t=>{t.remove(e)})});function s(){i.enqueueChange("transparent",t=>{t.removeAttribute("uploadId",e),t.removeAttribute("uploadStatus",e)}),o.destroyLoader(t)}}_parseAndSetSrcsetAttributeOnImage(t,e,n){let i=0;const r=Object.keys(t).filter(t=>{const e=parseInt(t,10);if(!isNaN(e))return i=Math.max(i,e),!0}).map(e=>`${t[e]} ${e}w`).join(", ");""!=r&&n.setAttribute("srcset",{data:r,width:i},e)}}function Wp(t,e){return Array.from(t.model.createRangeOn(e)).filter(t=>t.item.is("element","image")).map(t=>t.item)}class $p extends Zt{static get pluginName(){return"IndentEditing"}init(){const t=this.editor;t.commands.add("indent",new te(t)),t.commands.add("outdent",new te(t))}}var Xp='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95 5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"/></svg>',qp='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"/></svg>';class Gp extends Zt{static get pluginName(){return"IndentUI"}init(){const t=this.editor,e=t.locale,n=t.t,i="ltr"==e.uiLanguageDirection?Xp:qp,r="ltr"==e.uiLanguageDirection?qp:Xp;this._defineButton("indent",n("Increase indent"),i),this._defineButton("outdent",n("Decrease indent"),r)}_defineButton(t,e,n){const i=this.editor;i.ui.componentFactory.add(t,r=>{const o=i.commands.get(t),a=new cu(r);return a.set({label:e,icon:n,tooltip:!0}),a.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(a,"execute",()=>{i.execute(t),i.editing.view.focus()}),a})}}class Zp{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){Array.isArray(t)?t.forEach(t=>this._definitions.add(t)):this._definitions.add(t)}getDispatcher(){return t=>{t.on("attribute:linkHref",(t,e,n)=>{if(!n.consumable.test(e.item,"attribute:linkHref"))return;const i=n.writer,r=i.document.selection;for(const o of this._definitions){const t=i.createAttributeElement("a",o.attributes,{priority:5});i.setCustomProperty("link",!0,t),o.callback(e.attributeNewValue)?e.item.is("selection")?i.wrap(r.getFirstRange(),t):i.wrap(n.mapper.toViewRange(e.range),t):i.unwrap(n.mapper.toViewRange(e.range),t)}},{priority:"high"})}}getDispatcherForLinkedImage(){return t=>{t.on("attribute:linkHref:image",(t,e,n)=>{const i=n.mapper.toViewElement(e.item),r=Array.from(i.getChildren()).find(t=>"a"===t.name);for(const o of this._definitions){const t=fi(o.attributes);if(o.callback(e.attributeNewValue))for(const[e,i]of t)"class"===e?n.writer.addClass(i,r):n.writer.setAttribute(e,i,r);else for(const[e,i]of t)"class"===e?n.writer.removeClass(i,r):n.writer.removeAttribute(e,r)}})}}}var Jp=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:ji(t,e,n)},Kp=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Qp=function(t){return Kp.test(t)},tm=function(t){return t.split("")},em="[\\ud800-\\udfff]",nm="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",im="\\ud83c[\\udffb-\\udfff]",rm="[^\\ud800-\\udfff]",om="(?:\\ud83c[\\udde6-\\uddff]){2}",am="[\\ud800-\\udbff][\\udc00-\\udfff]",sm="(?:"+nm+"|"+im+")?",cm="[\\ufe0e\\ufe0f]?"+sm+"(?:\\u200d(?:"+[rm,om,am].join("|")+")[\\ufe0e\\ufe0f]?"+sm+")*",lm="(?:"+[rm+nm+"?",nm,om,am,em].join("|")+")",um=RegExp(im+"(?="+im+")|"+lm+cm,"g"),dm=function(t){return t.match(um)||[]},hm=function(t){return Qp(t)?dm(t):tm(t)},fm=function(t){return function(e){e=Li(e);var n=Qp(e)?hm(e):void 0,i=n?n[0]:e.charAt(0),r=n?Jp(n,1).join(""):e.slice(1);return i[t]()+r}}("toUpperCase");const pm=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,mm=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,gm=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,vm=/^((\w+:(\/{2,})?)|(\W))/i;
vendor: 5,731 bytes, line 457
457function _m(t,{writer:e}){const n=e.createAttributeElement("a",{href:t},{priority:5});return e.setCustomProperty("link",!0,n),n}function ym(t){return function(t){return t.replace(pm,"").match(mm)}(t=String(t))?t:"#"}function bm(t,e){return!!t&&t.is("element","image")&&e.checkAttribute("image","linkHref")}function wm(t,e){const n=(i=t,gm.test(i)?"mailto:":e);var i;const r=!!n&&!vm.test(t);return t&&r?n+t:t}class km extends Kt{constructor(t){super(t),this.manualDecorators=new Qn,this.automaticDecorators=new Zp}restoreManualDecoratorStates(){for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}refresh(){const t=this.editor.model,e=t.document,n=Pa(e.selection.getSelectedBlocks());bm(n,t.schema)?(this.value=n.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttribute(n,"linkHref")):(this.value=e.selection.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,"linkHref"));for(const i of this.manualDecorators)i.value=this._getDecoratorStateFromModel(i.id)}execute(t,e={}){const n=this.editor.model,i=n.document.selection,r=[],o=[];for(const a in e)e[a]?r.push(a):o.push(a);n.change(e=>{if(i.isCollapsed){const a=i.getFirstPosition();if(i.hasAttribute("linkHref")){const s=Qh(a,"linkHref",i.getAttribute("linkHref"),n);e.setAttribute("linkHref",t,s),r.forEach(t=>{e.setAttribute(t,!0,s)}),o.forEach(t=>{e.removeAttribute(t,s)}),e.setSelection(e.createPositionAfter(s.end.nodeBefore))}else if(""!==t){const o=fi(i.getAttributes());o.set("linkHref",t),r.forEach(t=>{o.set(t,!0)});const{end:s}=n.insertContent(e.createText(t,o),a);e.setSelection(s)}["linkHref",...r,...o].forEach(t=>{e.removeSelectionAttribute(t)})}else{const a=n.schema.getValidRanges(i.getRanges(),"linkHref"),s=[];for(const t of i.getSelectedBlocks())n.schema.checkAttribute(t,"linkHref")&&s.push(e.createRangeOn(t));const c=s.slice();for(const t of a)this._isRangeToUpdate(t,s)&&c.push(t);for(const n of c)e.setAttribute("linkHref",t,n),r.forEach(t=>{e.setAttribute(t,!0,n)}),o.forEach(t=>{e.removeAttribute(t,n)})}})}_getDecoratorStateFromModel(t){const e=this.editor.model,n=e.document,i=Pa(n.selection.getSelectedBlocks());return bm(i,e.schema)?i.getAttribute(t):n.selection.getAttribute(t)}_isRangeToUpdate(t,e){for(const n of e)if(n.containsRange(t))return!1;return!0}}class xm extends Kt{refresh(){const t=this.editor.model,e=t.document,n=Pa(e.selection.getSelectedBlocks());bm(n,t.schema)?this.isEnabled=t.schema.checkAttribute(n,"linkHref"):this.isEnabled=t.schema.checkAttributeInSelection(e.selection,"linkHref")}execute(){const t=this.editor,e=this.editor.model,n=e.document.selection,i=t.commands.get("link");e.change(t=>{const r=n.isCollapsed?[Qh(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),e)]:e.schema.getValidRanges(n.getRanges(),"linkHref");for(const e of r)if(t.removeAttribute("linkHref",e),i)for(const n of i.manualDecorators)t.removeAttribute(n.id,e)})}}class Tm{constructor({id:t,label:e,attributes:n,defaultValue:i}){this.id=t,this.set("value"),this.defaultValue=i,this.label=e,this.attributes=n}}Gt(Tm,Vt),n(88);const Mm=/^(https?:)?\/\//;class Sm extends Zt{static get pluginName(){return"LinkEditing"}static get requires(){return[Yh,jh,Cd]}constructor(t){super(t),t.config.define("link",{addTargetToExternalLinks:!1})}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:"linkHref"}),t.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:_m}),t.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(t,e)=>_m(ym(t),e)}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:t=>t.getAttribute("href")}}),t.commands.add("link",new km(t)),t.commands.add("unlink",new xm(t));const e=function(t,e){const n={"Open in a new tab":t("Open in a new tab"),Downloadable:t("Downloadable")};return e.forEach(t=>(t.label&&n[t.label]&&(t.label=n[t.label]),t)),e}(t.t,function(t){const e=[];if(t)for(const[n,i]of Object.entries(t)){const t=Object.assign({},i,{id:"link"+fm(n)});e.push(t)}return e}(t.config.get("link.decorators")));this._enableAutomaticDecorators(e.filter(t=>"automatic"===t.mode)),this._enableManualDecorators(e.filter(t=>"manual"===t.mode)),t.plugins.get(Yh).registerAttribute("linkHref"),function(t,e,n,i){const r=t.editing.view,o=new Set;r.document.registerPostFixer(r=>{const a=t.model.document.selection;let s=!1;if(a.hasAttribute(e)){const c=Qh(a.getFirstPosition(),e,a.getAttribute(e),t.model),l=t.editing.mapper.toViewRange(c);for(const t of l.getItems())t.is("element",n)&&!t.hasClass(i)&&(r.addClass(i,t),o.add(t),s=!0)}return s}),t.conversion.for("editingDowncast").add(t=>{function e(){r.change(t=>{for(const e of o.values())t.removeClass(i,e),o.delete(e)})}t.on("insert",e,{priority:"highest"}),t.on("remove",e,{priority:"highest"}),t.on("attribute",e,{priority:"highest"}),t.on("selection",e,{priority:"highest"})})}(t,"linkHref","a","ck-link_selected"),this._enableInsertContentSelectionAttributesFixer(),this._enableClickingAfterLink(),this._enableTypingOverLink(),this._handleDeleteContentAfterLink()}_enableAutomaticDecorators(t){const e=this.editor,n=e.commands.get("link").automaticDecorators;e.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:"automatic",callback:t=>Mm.test(t),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(t),n.length&&e.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(t){if(!t.length)return;const e=this.editor,n=e.commands.get("link").manualDecorators;t.forEach(t=>{e.model.schema.extend("$text",{allowAttributes:t.id}),n.add(new Tm(t)),e.conversion.for("downcast").attributeToElement({model:t.id,view:(e,{writer
457:i})=>{if(e){const e=n.get(t.id).attributes,r=i.createAttributeElement("a",e,{priority:5});return i.setCustomProperty("link",!0,r),r}}}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:n.get(t.id).attributes},model:{key:t.id}})})}_enableInsertContentSelectionAttributesFixer(){const t=this.editor,e=t.model,n=e.document.selection,i=t.commands.get("link");this.listenTo(e,"insertContent",()=>{const t=n.anchor.nodeBefore,r=n.anchor.nodeAfter;n.hasAttribute("linkHref")&&t&&t.hasAttribute("linkHref")&&(r&&r.hasAttribute("linkHref")||e.change(t=>{Cm(t,i.manualDecorators)}))},{priority:"low"})}_enableClickingAfterLink(){const t=this.editor,e=t.commands.get("link");t.editing.view.addObserver(yd);let n=!1;this.listenTo(t.editing.view.document,"mousedown",()=>{n=!0}),this.listenTo(t.editing.view.document,"selectionChange",()=>{if(!n)return;n=!1;const i=t.model.document.selection;if(!i.isCollapsed)return;if(!i.hasAttribute("linkHref"))return;const r=i.getFirstPosition(),o=Qh(r,"linkHref",i.getAttribute("linkHref"),t.model);(r.isTouching(o.start)||r.isTouching(o.end))&&t.model.change(t=>{Cm(t,e.manualDecorators)})})}_enableTypingOverLink(){const t=this.editor,e=t.editing.view;let n,i;this.listenTo(e.document,"delete",()=>{i=!0},{priority:"high"}),this.listenTo(t.model,"deleteContent",()=>{const e=t.model.document.selection;e.isCollapsed||(i?i=!1:Em(t)&&function(t){const e=t.document.selection,n=e.getFirstPosition(),i=e.getLastPosition(),r=n.nodeAfter;if(!r)return!1;if(!r.is("$text"))return!1;if(!r.hasAttribute("linkHref"))return!1;const o=i.textNode||i.nodeBefore;return r===o||Qh(n,"linkHref",r.getAttribute("linkHref"),t).containsRange(t.createRange(n,i),!0)}(t.model)&&(n=e.getAttributes()))},{priority:"high"}),this.listenTo(t.model,"insertContent",(e,[r])=>{i=!1,Em(t)&&n&&(t.model.change(t=>{for(const[e,i]of n)t.setAttribute(e,i,r)}),n=null)},{priority:"high"})}_handleDeleteContentAfterLink(){const t=this.editor,e=t.model,n=e.document.selection,i=t.editing.view,r=t.commands.get("link");let o=!1,a=!1;this.listenTo(i.document,"delete",(t,e)=>{a=e.domEvent.keyCode===Ar.backspace},{priority:"high"}),this.listenTo(e,"deleteContent",()=>{o=!1;const t=n.getFirstPosition(),i=n.getAttribute("linkHref");if(!i)return;const r=Qh(t,"linkHref",i,e);o=r.containsPosition(t)||r.end.isEqual(t)},{priority:"high"}),this.listenTo(e,"deleteContent",()=>{a&&(a=!1,o||t.model.enqueueChange(t=>{Cm(t,r.manualDecorators)}))},{priority:"low"})}}function Cm(t,e){t.removeSelectionAttribute("linkHref");for(const n of e)t.removeSelectionAttribute(n.id)}function Em(t){return t.plugins.get("Input").isInput(t.model.change(t=>t.batch))}n(90);class Lm extends zl{constructor(t,e){super(t);const n=t.t;this.focusTracker=new Da,this.keystrokes=new ja,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),Ml,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("Cancel"),Tl,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(e),this.children=this._createFormChildren(e.manualDecorators),this._focusables=new Yl,this._focusCycler=new uu({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const i=["ck","ck-link-form","ck-responsive-form"];e.manualDecorators.length&&i.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:i,tabindex:"-1"},children:this.children}),Rl(this)}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((t,e)=>(t[e.name]=e.isOn,t),{})}render(){super.render(),Nl({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const t=this.locale.t,e=new zu(this.locale,Bu);return e.label=t("Link URL"),e}_createButton(t,e,n,i){const r=new cu(this.locale);return r.set({label:t,icon:e,tooltip:!0}),r.extendTemplate({attributes:{class:n}}),i&&r.delegate("execute").to(this,i),r}_createManualDecoratorSwitches(t){const e=this.createCollection();for(const n of t.manualDecorators){const i=new lu(this.locale);i.set({name:n.id,label:n.label,withText:!0}),i.bind("isOn").toMany([n,t],"value",(t,e)=>void 0===e&&void 0===t?n.defaultValue:t),i.on("execute",()=>{n.set("value",!i.isOn)}),e.add(i)}return e}_createFormChildren(t){const e=this.createCollection();if(e.add(this.urlInputView),t.length){const t=new zl;t.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(t=>({tag:"li",children:[t],attributes:{class:["ck","ck-list__item"]}}
457)),attributes:{class:["ck","ck-reset","ck-list"]}}),e.add(t)}return e.add(this.saveButtonView),e.add(this.cancelButtonView),e}}n(92);class Am extends zl{constructor(t){super(t);const e=t.t;this.focusTracker=new Da,this.keystrokes=new ja,this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(e("Unlink"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"/></svg>',"unlink"),this.editButtonView=this._createButton(e("Edit link"),Pl,"edit"),this.set("href"),this._focusables=new Yl,this._focusCycler=new uu({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createButton(t,e,n){const i=new cu(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.delegate("execute").to(this,n),i}_createPreviewButton(){const t=new cu(this.locale),e=this.bindTemplate,n=this.t;return t.set({withText:!0,tooltip:n("Open link in new tab")}),t.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:e.to("href",t=>t&&ym(t)),target:"_blank",rel:"noopener noreferrer"}}),t.bind("label").to(this,"href",t=>t||n("This link has no URL")),t.bind("isEnabled").to(this,"href",t=>!!t),t.template.tag="a",t.template.eventListeners={},t}}class Om extends Zt{static get requires(){return[Zu]}static get pluginName(){return"LinkUI"}init(){const t=this.editor;t.editing.view.addObserver(_d),this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._balloon=t.plugins.get(Zu),this._createToolbarLinkButton(),this._enableUserBalloonInteractions(),t.conversion.for("editingDowncast").markerToHighlight({model:"link-ui",view:{classes:["ck-fake-link-selection"]}}),t.conversion.for("editingDowncast").markerToElement({model:"link-ui",view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView.destroy()}_createActionsView(){const t=this.editor,e=new Am(t.locale),n=t.commands.get("link"),i=t.commands.get("unlink");return e.bind("href").to(n,"value"),e.editButtonView.bind("isEnabled").to(n),e.unlinkButtonView.bind("isEnabled").to(i),this.listenTo(e,"edit",()=>{this._addFormView()}),this.listenTo(e,"unlink",()=>{t.execute("unlink"),this._hideUI()}),e.keystrokes.set("Esc",(t,e)=>{this._hideUI(),e()}),e.keystrokes.set("Ctrl+K",(t,e)=>{this._addFormView(),e()}),e}_createFormView(){const t=this.editor,e=t.commands.get("link"),n=t.config.get("link.defaultProtocol"),i=new Lm(t.locale,e);return i.urlInputView.fieldView.bind("value").to(e,"value"),i.urlInputView.bind("isReadOnly").to(e,"isEnabled",t=>!t),i.saveButtonView.bind("isEnabled").to(e),this.listenTo(i,"submit",()=>{const{value:e}=i.urlInputView.fieldView.element,r=wm(e,n);t.execute("link",r,i.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(i,"cancel",()=>{this._closeFormView()}),i.keystrokes.set("Esc",(t,e)=>{this._closeFormView(),e()}),i}_createToolbarLinkButton(){const t=this.editor,e=t.commands.get("link"),n=t.t;t.keystrokes.set("Ctrl+K",(t,n)=>{n(),e.isEnabled&&this._showUI(!0)}),t.ui.componentFactory.add("link",t=>{const i=new cu(t);return i.isEnabled=!0,i.label=n("Link"),i.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
457<path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"/></svg>',i.keystroke="Ctrl+K",i.tooltip=!0,i.isToggleable=!0,i.bind("isEnabled").to(e,"isEnabled"),i.bind("isOn").to(e,"value",t=>!!t),this.listenTo(i,"execute",()=>this._showUI(!0)),i})}_enableUserBalloonInteractions(){const t=this.editor.editing.view.document;this.listenTo(t,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),this.editor.keystrokes.set("Tab",(t,e)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),e())},{priority:"high"}),this.editor.keystrokes.set("Esc",(t,e)=>{this._isUIVisible&&(this._hideUI(),e())}),Il({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this._isFormInPanel)return;const t=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=t.value||""}_closeFormView(){const t=this.editor.commands.get("link");t.restoreManualDecoratorStates(),void 0!==t.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(t=!1){this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),t&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),t&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const t=this.editor;this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),t.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const t=this.editor,e=t.editing.view.document;let n=this._getSelectedLinkElement(),i=o();const r=()=>{const t=this._getSelectedLinkElement(),e=o();n&&!t||!n&&e!==i?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),n=t,i=e};function o(){return e.selection.focus.getAncestors().reverse().find(t=>t.is("element"))}this.listenTo(t.ui,"update",r),this.listenTo(this._balloon,"change:visibleView",r)}get _isFormInPanel(){return this._balloon.hasView(this.formView)}get _areActionsInPanel(){return this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const t=this.editor.editing.view,e=this.editor.model,n=t.document;let i=null;if(e.markers.has("link-ui")){const e=Array.from(this.editor.editing.mapper.markerNameToElements("link-ui")),n=t.createRange(t.createPositionBefore(e[0]),t.createPositionAfter(e[e.length-1]));i=t.domConverter.viewRangeToDom(n)}else{const e=this._getSelectedLinkElement(),r=n.selection.getFirstRange();i=e?t.domConverter.mapViewToDom(e):t.domConverter.viewRangeToDom(r)}return{target:i}}_getSelectedLinkElement(){const t=this.editor.editing.view,e=t.document.selection;if(e.isCollapsed)return Pm(e.getFirstPosition());{const n=e.getFirstRange().getTrimmed(),i=Pm(n.start),r=Pm(n.end);return i&&i==r&&t.createRangeIn(i).getTrimmed().isEqual(n)?i:null}}_showFakeVisualSelection(){const t=this.editor.model;t.change(e=>{const n=t.document.selection.getFirstRange();if(t.markers.has("link-ui"))e.updateMarker("link-ui",{range:n});else if(n.start.isAtEnd){const i=n.start.getLastMatchingPosition(({item:e})=>!t.schema.isContent(e),{boundaries:n});e.addMarker("link-ui",{usingOperation:!1,affectsData:!1,range:e.createRange(i,n.end)})}else e.addMarker("link-ui",{usingOperation:!1,affectsData:!1,range:n})})}_hideFakeVisualSelection(){const t=this.editor.model;t.markers.has("link-ui")&&t.change(t=>{t.removeMarker("link-ui")})}}function Pm(t){return t.getAncestors().find(t=>{return(e=t).is("attributeElement")&&!!e.getCustomProperty("link");var e})}const Dm=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class jm extends Zt{static get pluginName(){return"AutoLink"}init(){const t=this.editor.model.document.selection;t.on("change:range",()=>{this.isEnabled=!t.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling()}_enableTypingHandling(){const t=this.editor,e=new Nh(t.model,t=>{if(!function(t){return t.length>4&&" "===t[t.length-1]&&" "!==t[t.length-2]}(t))return;const e=Im(t.substr(0,t.length-1));return e?{url:e}:void 0}),n=t.plugins.get("Input");e.on("matched:data",(e,i)=>{const{batch:r,range:o,url:a}=i;if(!n.isInput(r))return;const s=o.end.getShiftedBy(-1),c=s.getShiftedBy(-a.length),l=t.model.createRange(c,s);this._applyAutoLink(a,l)}),e.bind("isEnabled").to(this)}_enableEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("enter");n&&n.on("execute",()=>{const t=e.document.selection.getFirstPosition();if(!t.parent.previousSibling)return;const n=e.createRangeIn(t.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(n)})}_enableShiftEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("shiftEnter");n&&n.on("execute",()=>{const t=e.document.selection.getFirstPosition(),n=e.createRange(e.createPositionAt(t.parent,0),t.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(n)})}_checkAndApplyAutoLinkOnRange(t){const e=this.editor.model,{text:n,range:i}=Rh(t,e),r=Im(n);if(r){const t=e.createRange(i.end.getShiftedBy(-r.length),i.end);this._applyAutoLink(r,t)}}_applyAutoLink(t,e){const n=this.editor.model;this.isEnabled&&function(t,e){return e.schema.checkAttributeInSelection(e.createSelection(t),"linkHref")}(e,n)&&n.enqueueChange(n=>{const i=this.editor.config.get("link.defaultProtocol"),r=wm(t,i);n.setAttribute("linkHref",r,e)})}}function Im(t){const e=Dm.exec(t);return e?e[2]:null}class Rm extends Kt{constructor(t,e){super(t),this.type=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.document,i=Array.from(n.selection.getSelectedBlocks()).filter(t=>
vendor: 14,420 bytes, line 457
457Ym(t,e.schema)),r=void 0!==t.forceValue?!t.forceValue:this.value;e.change(t=>{if(r){let e=i[i.length-1].nextSibling,n=Number.POSITIVE_INFINITY,r=[];for(;e&&"listItem"==e.name&&0!==e.getAttribute("listIndent");){const t=e.getAttribute("listIndent");t<n&&(n=t);const i=t-n;r.push({element:e,listIndent:i}),e=e.nextSibling}r=r.reverse();for(const i of r)t.setAttribute("listIndent",i.listIndent,i.element)}if(!r){let t=Number.POSITIVE_INFINITY;for(const e of i)e.is("element","listItem")&&e.getAttribute("listIndent")<t&&(t=e.getAttribute("listIndent"));t=0===t?1:t,Nm(i,!0,t),Nm(i,!1,t)}for(const e of i.reverse())r&&"listItem"==e.name?t.rename(e,"paragraph"):r||"listItem"==e.name?r||"listItem"!=e.name||e.getAttribute("listType")==this.type||t.setAttribute("listType",this.type,e):(t.setAttributes({listType:this.type,listIndent:0},e),t.rename(e,"listItem"));this.fire("_executeCleanup",i)})}_getValue(){const t=Pa(this.editor.model.document.selection.getSelectedBlocks());return!!t&&t.is("element","listItem")&&t.getAttribute("listType")==this.type}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,n=Pa(t.getSelectedBlocks());return!!n&&Ym(n,e)}}function Nm(t,e,n){const i=e?t[0]:t[t.length-1];if(i.is("element","listItem")){let r=i[e?"previousSibling":"nextSibling"],o=i.getAttribute("listIndent");for(;r&&r.is("element","listItem")&&r.getAttribute("listIndent")>=n;)o>r.getAttribute("listIndent")&&(o=r.getAttribute("listIndent")),r.getAttribute("listIndent")==o&&t[e?"unshift":"push"](r),r=r[e?"previousSibling":"nextSibling"]}}function Ym(t,e){return e.checkChild(t.parent,"listItem")&&!e.isObject(t)}class zm extends Kt{constructor(t,e){super(t),this._indentBy="forward"==e?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=t.document;let n=Array.from(e.selection.getSelectedBlocks());t.change(t=>{const e=n[n.length-1];let i=e.nextSibling;for(;i&&"listItem"==i.name&&i.getAttribute("listIndent")>e.getAttribute("listIndent");)n.push(i),i=i.nextSibling;this._indentBy<0&&(n=n.reverse());for(const r of n){const e=r.getAttribute("listIndent")+this._indentBy;e<0?t.rename(r,"paragraph"):t.setAttribute("listIndent",e,r)}this.fire("_executeCleanup",n)})}_checkEnabled(){const t=Pa(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is("element","listItem"))return!1;if(this._indentBy>0){const e=t.getAttribute("listIndent"),n=t.getAttribute("listType");let i=t.previousSibling;for(;i&&i.is("element","listItem")&&i.getAttribute("listIndent")>=e;){if(i.getAttribute("listIndent")==e)return i.getAttribute("listType")==n;i=i.previousSibling}return!1}return!0}}function Bm(t,e){const n=e.mapper,i=e.writer,r="numbered"==t.getAttribute("listType")?"ol":"ul",o=function(t){const e=t.createContainerElement("li");return e.getFillerOffset=$m,e}(i),a=i.createContainerElement(r,null);return i.insert(i.createPositionAt(a,0),o),n.bindElements(t,o),o}function Fm(t,e,n,i){const r=e.parent,o=n.mapper,a=n.writer;let s=o.toViewPosition(i.createPositionBefore(t));const c=Um(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute("listIndent")}),l=t.previousSibling;if(c&&c.getAttribute("listIndent")==t.getAttribute("listIndent")){const t=o.toViewElement(c);s=a.breakContainer(a.createPositionAfter(t))}else if(l&&"listItem"==l.name){s=o.toViewPosition(i.createPositionAt(l,"end"));const t=o.findMappedViewAncestor(s),e=function(t){for(const e of t.getChildren())if("ul"==e.name||"ol"==e.name)return e;return null}(t);s=e?a.createPositionBefore(e):a.createPositionAt(t,"end")}else s=o.toViewPosition(i.createPositionBefore(t));if(s=Vm(s),a.insert(s,r),l&&"listItem"==l.name){const t=o.toViewElement(l),n=a.createRange(a.createPositionAt(t,0),s).getWalker({ignoreElementEnd:!0});for(const i of n)if(i.item.is("element","li")){const t=a.breakContainer(a.createPositionBefore(i.item)),r=i.item.parent,o=a.createPositionAt(e,"end");Hm(a,o.nodeBefore,o.nodeAfter),a.move(a.createRangeOn(r),o),n.position=t}}else{const n=r.nextSibling;if(n&&(n.is("element","ul")||n.is("element","ol"))){let i=null;for(const e of n.getChildren()){const n=o.toModelElement(e);if(!(n&&n.getAttribute("listIndent")>t.getAttribute("listIndent")))break;i=e}i&&(a.breakContainer(a.createPositionAfter(i)),a.move(a.createRangeOn(i.parent),a.createPositionAt(e,"end")))}}Hm(a,r,r.nextSibling),Hm(a,r.previousSibling,r)}function Hm(t,e,n){return!e||!n||"ul"!=e.name&&"ol"!=e.name||e.name!=n.name||e.getAttribute("class")!==n.getAttribute("class")?null:t.mergeContainers(t.createPositionAfter(e))}function Vm(t){return t.getLastMatchingPosition(t=>t.item.is("uiElement"))}function Um(t,e){const n=!!e.sameIndent,i=!!e.smallerIndent,r=e.listIndent;let o=t;for(;o&&"listItem"==o.name;){const t=o.getAttribute("listIndent");if(n&&r==t||i&&r>t)return o;o="forward"===e.direction?o.nextSibling:o.previousSibling}return null}function Wm(t,e,n,i){t.ui.componentFactory.add(e,r=>{const o=t.commands.get(e),a=new cu(r);return a.set({label:n,icon:i,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(o,"value","isEnabled"),a.on("execute",()=>{t.execute(e),t.editing.view.focus()}),a})}function $m(){const t=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||t?0:nr.call(this)}function Xm(t){return(e,n,i)=>{const r=i.consumable;if(!r.test(n.item,"insert")||!r.test(n.item,"attribute:listType")||!r.test(n.item,"attribute:listIndent"))return;r.consume(n.item,"insert"),r.consume(n.item,"attribute:listType"),r.consume(n.item,"attribute:listIndent");const o=n.item;Fm(o,Bm(o,i),i,t)}}function qm(t,e,n){if(!n.consumable.consume(e.item,"attribute:listType"))return;const i=n.mapper.toViewElement(e.item),r=n.writer;r.breakContainer(r.createPositionBefore(i)),r.breakContainer(r.createPositionAfter(i));const o=i.parent,a="numbered"==e.attributeNewValue?"ol":"ul";r.rename(a,o)}function Gm(t,e,n){const i=n.mapper.toViewElement(e.item).parent,r=n.writer;Hm(r,i,i.nextSibling),Hm(r,i.previousSibling,i);for(const o of e.item.getChildren())n.consumable.consume(o,"insert")}function Zm(t,e,n){if("listItem"!=e.item.name){let t=n.mapper.toViewPosition(e.range.start);const i=n.writer,r=[];for(;("ul"==t.parent.name||"ol"==t.parent.name)&&(t=i.breakContainer(t),"li"==t.parent.name);){const e=t,n=i.createPositionAt(t.parent,"end");if(!e.isEqual(n)){const t=i.remove(i.createRange(e,n));r.push(t)}t=i.createPositionAfter(t.parent)}if(r.length>0){for(let e=0;e<r.length;e++){const n=t.nodeBefore;if(t=i.insert(t,r[e]).end,e>0){const e=Hm(i,n,n.nextSibling);e&&e.parent==n&&t.offset--}}Hm(i,t.nodeBefore,t.nodeAfter)}}}function Jm(t,e,n){const i=n.mapper.toViewPosition(e.position),r=i.nodeBefore,o=i.nodeAfter;Hm(n.writer,r,o)}function Km(t,e,n){if(n.consumable.consume(e.viewItem,{name:!0})){const t=n.writer,i=t.createElement("listItem"),r=function(t){let e=0,n=t.parent;for(;n;){if(n.is("element","li"))e++;else{const t=n.previousSibling;t&&t.is("element","li")&&e++}n=n.parent}return e}(e.viewItem);t.setAttribute("listIndent",r,i);const o=e.viewItem.parent&&"ol"==e.viewItem.parent.name?"numbered":"bulleted";if(t.setAttribute("listType",o,i),!n.safeInsert(i,e.modelCursor))return;const a=function(t,e,n){const{writer:i,schema:r}=n;let o=i.createPositionAfter(t);for(const a of e)if("ul"==a.name||"ol"==a.name)o=n.convertItem(a,o).modelCursor;else{const e=n.convertItem(a,i.createPositionAt(t,"end")),s=e.modelRange.start.nodeAfter;s&&s.is("element")&&!r.checkChild(t,s.name)&&(t=e.modelCursor.parent.is("element","listItem")?e.modelCursor.parent:ig(e.modelCursor),o=i.createPositionAfter(t))}return o}(i,e.viewItem.getChildren(),n);e.modelRange=t.createRange(e.modelCursor,a),n.updateConversionResult(i,e)}}function Qm(t,e,n){if(n.consumable.test(e.viewItem,{name:!0})){const t=Array.from(e.viewItem.getChildren());for(const e of t)!e.is("element","li")&&!og(e)&&e._remove()}}function tg(t,e,n){if(n.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;const t=[...e.viewItem.getChildren()];let n=!1,i=!0;for(const e of t)n&&!og(e)&&e._remove(),e.is("$text")?(i&&(e._data=e.data.trimStart()),e.nextSibling&&!og(e.nextSibling)||(e._data=e.data.trimEnd())):og(e)&&(n=!0),i=!1}}function eg(t){return(e,n)=>{if(n.isPhantom)return;const i=n.modelPosition.nodeBefore;if(i&&i.is("element","listItem")){const e=n.mapper.toViewElement(i),r=e.getAncestors().find(og),o=t.createPositionAt(e,0).getWalker();for(const t of o){if("elementStart"==t.type&&t.item.is("element","li")){n.viewPosition=t.previousPosition;break}if("elementEnd"==t.type&&t.item==r){n.viewPosition=t.nextPosition;break}}}}}function ng(t,[e,n]){let i,r=e.is("documentFragment")?e.getChild(0):e;if(i=n?this.createSelection(n):this.document.selection,r&&r.is("element","listItem")){const t=i.getFirstPosition();let e=null;if(t.parent.is("element","listItem")?e=t.parent:t.nodeBefore&&t.nodeBefore.is("element","listItem")&&(e=t.nodeBefore),e){const t=e.getAttribute("listIndent");if(t>0)for(;r&&r.is("element","listItem");)r._setAttribute("listIndent",r.getAttribute("listIndent")+t),r=r.nextSibling}}}function ig(t){const e=new Ka({startPosition:t});let n;do{n=e.next()}while(!n.value.item.is("element","listItem"));return n.value.item}function rg(t,e,n,i,r,o){const a=Um(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t,foo:"b"}),s=r.mapper,c=r.writer,l=a?a.getAttribute("listIndent"):null;let u;if(a)if(l==t){const t=s.toViewElement(a).parent;u=c.createPositionAfter(t)}else{const t=o.createPositionAt(a,"end");u=s.toViewPosition(t)}else u=n;u=Vm(u);for(const d of[...i.getChildren()])og(d)&&(u=c.move(c.createRangeOn(d),u).end,Hm(c,d,d.nextSibling),Hm(c,d.previousSibling,d))}function og(t){return t.is("element","ol")||t.is("element","ul")}class ag extends Zt{static get pluginName(){return"ListEditing"}static get requires(){return[Pd,Rd]}init(){const t=this.editor;t.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const e=t.data,n=t.editing;var i;t.model.document.registerPostFixer(e=>function(t,e){const n=t.document.differ.getChanges(),i=new Map;let r=!1;for(const c of n)if("insert"==c.type&&"listItem"==c.name)o(c.position);else if("insert"==c.type&&"listItem"!=c.name){if("$text"!=c.name){const n=c.position.nodeAfter;n.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",n),r=!0),n.hasAttribute("listType")&&(e.removeAttribute("listType",n),r=!0),n.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",n),r=!0);for(const e of Array.from(t.createRangeIn(n)).filter(t=>t.item.is("element","listItem")))o(e.previousPosition)}o(c.position.getShiftedBy(c.length))}else"remove"==c.type&&"listItem"==c.name?o(c.position):("attribute"==c.type&&"listIndent"==c.attributeKey||"attribute"==c.type&&"listType"==c.attributeKey)&&o(c.range.start);for(const c of i.values())a(c),s(c);return r;function o(t){const e=t.nodeBefore;if(e&&e.is("element","listItem")){let t=e;if(i.has(t))return;for(let e=t.previousSibling;e&&e.is("element","listItem");e=t.previousSibling)if(t=e,i.has(t))return;i.set(e,t)}else{const e=t.nodeAfter;e&&e.is("element","listItem")&&i.set(e,e)}}function a(t){let n=0,i=null;for(;t&&t.is("element","listItem");){const o=t.getAttribute("listIndent");if(o>n){let a;null===i?(i=o-n,a=n):(i>o&&(i=o),a=o-i),e.setAttribute("listIndent",a,t),r=!0}else i=null,n=t.getAttribute("listIndent")+1;t=t.nextSibling}}function s(t){let n=[],i=null;for(;t&&t.is("element","listItem");){const o=t.getAttribute("listIndent");if(i&&i.getAttribute("listIndent")>o&&(n=n.slice(0,o+1)),0!=o)if(n[o]){const i=n[o];t.getAttribute("listType")!=i&&(e.setAttribute("listType",i,t),r=!0)}else n[o]=t.getAttribute("listType");i=t,t=t.nextSibling}}}(t.model,e)),n.mapper.registerViewToModelLength("li",sg),e.mapper.registerViewToModelLength("li",sg),n.mapper.on("modelToViewPosition",eg(n.view)),n.mapper.on("viewToModelPosition",(i=t.model,(t,e)=>{const n=e.viewPosition,r=n.parent,o=e.mapper;if("ul"==r.name||"ol"==r.name){if(n.isAtEnd){const t=o.toModelElement(n.nodeBefore),r=o.getModelLength(n.nodeBefore);e.modelPosition=i.createPositionBefore(t).getShiftedBy(r)}else{const t=o.toModelElement(n.nodeAfter);e.modelPosition=i.createPositionBefore(t)}t.stop()}else if("li"==r.name&&n.nodeBefore&&("ul"==n.nodeBefore.name||"ol"==n.nodeBefore.name)){const a=o.toModelElement(r);let s=1,c=n.nodeBefore;for(;c&&og(c);)s+=o.getModelLength(c),c=c.previousSibling;e.modelPosition=i.createPositionBefore(a).getShiftedBy(s),t.stop()}})),e.mapper.on("modelToViewPosition",eg(n.view)),t.conversion.for("editingDowncast").add(e=>{e.on("insert",Zm,{priority:"high"}),e.on("insert:listItem",Xm(t.model)),e.on("attribute:listType:listItem",qm,{priority:"high"}),e.on("attribute:listType:listItem",Gm,{priority:"low"}),e.on("attribute:listIndent:listItem",function(t){return(e,n,i)=>{if(!i.consumable.consume(n.item,"attribute:listIndent"))return;const r=i.mapper.toViewElement(n.item),o=i.writer;o.breakContainer(o.createPositionBefore(r)),o.breakContainer(o.createPositionAfter(r));const a=r.parent,s=a.previousSibling,c=o.createRangeOn(a);o.remove(c),s&&s.nextSibling&&Hm(o,s,s.nextSibling),rg(n.attributeOldValue+1,n.range.start,c.start,r,i,t),Fm(n.item,r,i,t);for(const t of n.item.getChildren())i.consumable.consume(t,"insert")}}(t.model)),e.on("remove:listItem",function(t){return(e,n,i)=>{const r=i.mapper.toViewPosition(n.position).getLastMatchingPosition(t=>!t.item.is("element","li")).nodeAfter,o=i.writer;o.breakContainer(o.createPositionBefore(r)),o.breakContainer(o.createPositionAfter(r));const a=r.parent,s=a.previousSibling,c=o.createRangeOn(a),l=o.remove(c);s&&s.nextSibling&&Hm(o,s,s.nextSibling),rg(i.mapper.toModelElement(r).getAttribute("listIndent")+1,n.position,c.start,r,i,t);for(const t of o.createRangeIn(l).getItems())i.mapper.unbindViewElement(t);e.stop()}}(t.model)),e.on("remove",Jm,{priority:"low"})}),t.conversion.for("dataDowncast").add(e=>{e.on("insert",Zm,{priority:"high"}),e.on("insert:listItem",Xm(t.model))}),t.conversion.for("upcast").add(t=>{t.on("element:ul",Qm,{priority:"high"}),t.on("element:ol",Qm,{priority:"high"}),t.on("element:li",tg,{priority:"high"}),t.on("element:li",Km)}),t.model.on("insertContent",ng,{priority:"high"}),t.commands.add("numberedList",new Rm(t,"numbered")),t.commands.add("bulletedList",new Rm(t,"bulleted")),t.commands.add("indentList",new zm(t,"forward")),t.commands.add("outde
457ntList",new zm(t,"backward"));const r=n.view.document;this.listenTo(r,"enter",(t,e)=>{const n=this.editor.model.document,i=n.selection.getLastPosition().parent;n.selection.isCollapsed&&"listItem"==i.name&&i.isEmpty&&(this.editor.execute("outdentList"),e.preventDefault(),t.stop())},{context:"li"}),this.listenTo(r,"delete",(t,e)=>{if("backward"!==e.direction)return;const n=this.editor.model.document.selection;if(!n.isCollapsed)return;const i=n.getFirstPosition();if(!i.isAtStart)return;const r=i.parent;"listItem"===r.name&&(r.previousSibling&&"listItem"===r.previousSibling.name||(this.editor.execute("outdentList"),e.preventDefault(),t.stop()))},{context:"li"});const o=t=>(e,n)=>{this.editor.commands.get(t).isEnabled&&(this.editor.execute(t),n())};t.keystrokes.set("Tab",o("indentList")),t.keystrokes.set("Shift+Tab",o("outdentList"))}afterInit(){const t=this.editor.commands,e=t.get("indent"),n=t.get("outdent");e&&e.registerChildCommand(t.get("indentList")),n&&n.registerChildCommand(t.get("outdentList"))}}function sg(t){let e=1;for(const n of t.getChildren())if("ul"==n.name||"ol"==n.name)for(const t of n.getChildren())e+=sg(t);return e}class cg extends Zt{static get pluginName(){return"ListUI"}init(){const t=this.editor.t;Wm(this.editor,"numberedList",t("Numbered List"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>'),Wm(this.editor,"bulletedList",t("Bulleted List"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"/></svg>')}}function lg(t,e){return t=>{t.on("attribute:url:media",n)};function n(n,i,r){if(!r.consumable.consume(i.item,n.name))return;const o=i.attributeNewValue,a=r.writer,s=r.mapper.toViewElement(i.item),c=[...s.getChildren()].find(t=>t.getCustomProperty("media-content"));a.remove(c);const l=t.getMediaViewElement(a,o,e);a.insert(a.createPositionAt(s,0),l)}}function ug(t,e,n,i){const r=t.createContainerElement("figure",{class:"media"});return t.insert(t.createPositionAt(r,0),e.getMediaViewElement(t,n,i)),r}function dg(t){const e=t.getSelectedElement();return e&&e.is("element","media")?e:null}function hg(t,e,n){t.change(i=>{const r=i.createElement("media",{url:e});t.insertContent(r,n),i.setSelection(r,"on")})}class fg extends Kt{refresh(){const t=this.editor.model,e=t.document.selection,n=t.schema,i=dg(e);this.value=i?i.getAttribute("url"):null,this.isEnabled=function(t){const e=t.getSelectedElement();return!!e&&"media"===e.name}(e)||function(t,e){let n=qd(t,e).parent;return n.isEmpty&&!e.schema.isLimit(n)&&(n=n.parent),e.schema.checkChild(n,"media")}(e,t)&&!Gd(e,n)}execute(t){const e=this.editor.model,n=e.document.selection,i=dg(n);if(i)e.change(e=>{e.setAttribute("url",t,i)});else{const i=qd(n,e);hg(e,t,i)}}}class pg{constructor(t,e){const n=e.providers,i=e.extraProviders||[],r=new Set(e.removeProviders),o=n.concat(i).filter(t=>{const e=t.name;return e?!r.has(e):(Object(c.b)("media-embed-no-provider-name",{provider:t}),!1)});this.locale=t,this.providerDefinitions=o}hasMedia(t){return!!this._getMedia(t)}getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n)}_getMedia(t){if(!t)return new mg(this.locale);t=t.trim();for(const e of this.providerDefinitions){const n=e.html,i=ei(e.url);for(const e of i){const i=this._getUrlMatches(t,e);if(i)return new mg(this.locale,t,i,n)}}return null}_getUrlMatches(t,e){let n=t.match(e);if(n)return n;let i=t.replace(/^https?:\/\//,"");return n=i.match(e),n||(i=i.replace(/^www\./,""),n=i.match(e),n||null)}}
vendor: 1,338 bytes, line 457
457class mg{constructor(t,e,n,i){this.url=this._getValidUrl(e),this._t=t.t,this._match=n,this._previewRenderer=i}getViewElement(t,e){const n={};let i;if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(n["data-oembed-url"]=this.url),e.renderForEditingView&&(n.class="ck-media__wrapper");const r=this._getPreviewHtml(e);i=t.createRawElement("div",n,(function(t){t.innerHTML=r}))}else this.url&&(n.url=this.url),i=t.createEmptyElement(e.elementName,n);return t.setCustomProperty("media-content",!0,i),i}_getPreviewHtml(t){return this._previewRenderer?this._previewRenderer(this._match):this.url&&t.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const t=new su,e=new au;return t.text=this._t("Open media in new tab"),e.content='<svg viewBox="0 0 64 42" xmlns="http://www.w3.org/2000/svg"><path d="M47.426 17V3.713L63.102 0v19.389h-.001l.001.272c0 1.595-2.032 3.43-4.538 4.098-2.506.668-4.538-.083-4.538-1.678 0-1.594 2.032-3.43 4.538-4.098.914-.244 2.032-.565 2.888-.603V4.516L49.076 7.447v9.556A1.014 1.014 0 0 0 49 17h-1.574zM29.5 17h-8.343a7.073 7.073 0 1 0-4.657 4.06v3.781H3.3a2.803 2.803 0 0 1-2.8-2.804V8.63a2.803 2.803 0 0 1 2.8-2.805h4.082L8.58 2.768A1.994 1.994 0 0 1 10.435 1.5h8.985c.773 0 1.477.448 1.805 1.149l1.488 3.177H26.7c1.546 0 2.8 1.256 2.8 2.805V17zm-11.
457637 0H17.5a1 1 0 0 0-1 1v.05A4.244 4.244 0 1 1 17.863 17zm29.684 2c.97 0 .953-.048.953.889v20.743c0 .953.016.905-.953.905H19.453c-.97 0-.953.048-.953-.905V19.89c0-.937-.016-.889.97-.889h28.077zm-4.701 19.338V22.183H24.154v16.155h18.692zM20.6 21.375v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616V37.53H20.6zm24.233-16.155v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615V37.53h-1.615zM29.485 25.283a.4.4 0 0 1 .593-.35l9.05 4.977a.4.4 0 0 1 0 .701l-9.05 4.978a.4.4 0 0 1-.593-.35v-9.956z"/></svg>',e.viewBox="0 0 64 42",new Bl({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[e]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]},t]}]}).render().outerHTML}_getValidUrl(t){return t?t.match(/^https?/)?t:"https://"+t:null}}n(94);class gg extends Zt{static get pluginName(){return"MediaEmbedEditing"}constructor(t){super(t),t.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:/^dailymotion\.com\/video\/(\w+)/,html:t=>`<div style="position: relative; padding-bottom: 100%; height: 0; "><iframe src="https://www.dailymotion.com/embed/video/${t[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" width="480" height="270" allowfullscreen allow="autoplay"></iframe></div>`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:t=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 126%;"><iframe src="https://open.spotify.com/embed/${t[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></div>`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)/,/^youtube\.com\/embed\/([\w-]+)/,/^youtu\.be\/([\w-]+)/],html:t=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://www.youtube.com/embed/${t[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>`},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:t=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://player.vimeo.com/video/${t[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:/^google\.com\/maps/},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new pg(t.locale,t.config.get("mediaEmbed"))}init(){const t=this.editor,e=t.model.schema,n=t.t,i=t.conversion,r=t.config.get("mediaEmbed.previewsInData"),o=t.config.get("mediaEmbed.elementName"),a=this.registry;t.commands.add("mediaEmbed",new fg(t)),e.register("media",{isObject:!0,isBlock:!0,allowWhere:"$block",allowAttributes:["url"]}),i.for("dataDowncast").elementToElement({model:"media",view:(t,{writer:e})=>{const n=t.getAttribute("url");return ug(e,a,n,{elementName:o,renderMediaPreview:n&&r})}}),i.for("dataDowncast").add(lg(a,{elementName:o,renderMediaPreview:r})),i.for("editingDowncast").elementToElement({model:"media",view:(t,{writer
457:e})=>{const i=t.getAttribute("url");return function(t,e,n){return e.setCustomProperty("media",!0,t),Hd(t,e,{label:n})}(ug(e,a,i,{elementName:o,renderForEditingView:!0}),e,n("media widget"))}}),i.for("editingDowncast").add(lg(a,{elementName:o,renderForEditingView:!0})),i.for("upcast").elementToElement({view:t=>["oembed",o].includes(t.name)&&t.getAttribute("url")?{name:!0}:null,model:(t,{writer:e})=>{const n=t.getAttribute("url");if(a.hasMedia(n))return e.createElement("media",{url:n})}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(t,{writer:e})=>{const n=t.getAttribute("data-oembed-url");if(a.hasMedia(n))return e.createElement("media",{url:n})}})}}const vg=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class _g extends Zt{static get requires(){return[vh,df]}static get pluginName(){return"AutoMediaEmbed"}constructor(t){super(t),this._timeoutId=null,this._positionToInsert=null}init(){const t=this.editor,e=t.model.document;this.listenTo(t.plugins.get("ClipboardPipeline"),"inputTransformation",()=>{const t=e.selection.getFirstRange(),n=Kc.fromPosition(t.start);n.stickiness="toPrevious";const i=Kc.fromPosition(t.end);i.stickiness="toNext",e.once("change:data",()=>{this._embedMediaBetweenPositions(n,i),n.detach(),i.detach()},{priority:"high"})}),t.commands.get("undo").on("execute",()=>{this._timeoutId&&(bo.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(t,e){const n=this.editor,i=n.plugins.get(gg).registry,r=new vs(t,e),o=r.getWalker({ignoreElementEnd:!0});let a="";for(const s of o)s.item.is("$textProxy")&&(a+=s.item.data);a=a.trim(),a.match(vg)&&i.hasMedia(a)&&n.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=Kc.fromPosition(t),this._timeoutId=bo.window.setTimeout(()=>{n.model.change(t=>{let e;this._timeoutId=null,t.remove(r),r.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(e=this._positionToInsert),hg(n.model,a,e),this._positionToInsert.detach(),this._positionToInsert=null})},100)):r.detach()}}n(96);class yg extends zl{constructor(t,e){super(e);const n=e.t;this.focusTracker=new Da,this.keystrokes=new ja,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),Ml,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",t=>!!t),this.cancelButtonView=this._createButton(n("Cancel"),Tl,"ck-button-cancel","cancel"),this._focusables=new Yl,this._focusCycler=new uu({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=t,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]}),Rl(this)}render(){super.render(),Nl({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t),this.listenTo(this.urlInputView.element,"selectstart",(t,e)=>{e.stopPropagation()},{priority:"high"})}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(t){this.urlInputView.fieldView.element.value=t.trim()}isValid(){this.resetFormStatus();for(const t of this._validators){const e=t(this);if(e)return this.urlInputView.errorText=e,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const t=this.locale.t,e=new zu(this.locale,Bu),n=e.fieldView;return this._urlInputViewInfoDefault=t("Paste the media URL in the input."),this._urlInputViewInfoTip=t("Tip: Paste the URL into the content to embed faster."),e.label=t("Media URL"),e.infoText=this._urlInputViewInfoDefault,n.on("input",()=>{e.infoText=n.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=n.element.value.trim()}),e}_createButton(t,e,n,i){const r=new cu(this.locale);return r.set({label:t,icon:e,tooltip:!0}),r.extendTemplate({attributes:{class:n}}),i&&r.delegate("execute").to(this,i),r}}class bg extends Zt{static get requires(){return[gg]}static get pluginName(){return"MediaEmbedUI"}init(){const t=this.editor,e=t.commands.get("mediaEmbed"),n=t.plugins.get(gg).registry;
457t.ui.componentFactory.add("mediaEmbed",i=>{const r=Ou(i),o=new yg(function(t,e){return[e=>{if(!e.url.length)return t("The URL must not be empty.")},n=>{if(!e.hasMedia(n.url))return t("This media URL is not supported.")}]}(t.t,n),t.locale);return this._setUpDropdown(r,o,e,t),this._setUpForm(r,o,e),r})}_setUpDropdown(t,e,n){const i=this.editor,r=i.t,o=t.buttonView;function a(){i.editing.view.focus(),t.isOpen=!1}t.bind("isEnabled").to(n),t.panelView.children.add(e),o.set({label:r("Insert media"),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M18.68 3.03c.6 0 .59-.03.59.55v12.84c0 .59.01.56-.59.56H1.29c-.6 0-.59.03-.59-.56V3.58c0-.58-.01-.55.6-.55h17.38zM15.77 15V5H4.2v10h11.57zM2 4v1h1V4H2zm0 2v1h1V6H2zm0 2v1h1V8H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zM17 4v1h1V4h-1zm0 2v1h1V6h-1zm0 2v1h1V8h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zM7.5 7.177a.4.4 0 0 1 .593-.351l5.133 2.824a.4.4 0 0 1 0 .7l-5.133 2.824a.4.4 0 0 1-.593-.35V7.176v.001z"/></svg>',tooltip:!0}),o.on("open",()=>{e.disableCssTransitions(),e.url=n.value||"",e.urlInputView.fieldView.select(),e.focus(),e.enableCssTransitions()},{priority:"low"}),t.on("submit",()=>{e.isValid()&&(i.execute("mediaEmbed",e.url),a())}),t.on("change:isOpen",()=>e.resetFormStatus()),t.on("cancel",()=>a())}_setUpForm(t,e,n){e.delegate("submit","cancel").to(t),e.urlInputView.bind("value").to(n,"value"),e.urlInputView.bind("isReadOnly").to(n,"isEnabled",t=>!t)}}function wg(t,e){if(!t.childCount)return;const n=new bd(t.document),i=function(t,e){const n=e.createRangeIn(t),i=new pi({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),r=[];for(const o of n)if("elementStart"===o.type&&i.match(o.item)){const t=Tg(o.item);r.push({element:o.item,id:t.id,order:t.order,indent:t.indent})}return r}(t,n);if(!i.length)return;let r=null,o=1;i.forEach((t,a)=>{const s=function(t,e){if(!t)return!0;if(t.id!==e.id)return e.indent-t.indent!=1;const n=e.element.previousSibling;return!n||(i=n,!(i.is("element","ol")||i.is("element","ul")));var i}(i[a-1],t),c=s?null:i[a-1],l=(d=t,(u=c)?d.indent-u.indent:d.indent-1);var u,d;if(s&&(r=null,o=1),!r||0!==l){const i=function(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),i=/mso-level-number-format:([^;]{0,100});/gi,r=n.exec(e);let o="decimal",a="ol";if(r&&r[1]){const e=i.exec(r[1]);
457if(e&&e[1]&&(o=e[1].trim(),a="bullet"!==o&&"image"!==o?"ol":"ul"),"bullet"===o){const e=function(t){const e=function(t){if(t.getChild(0).is("$text"))return null;const e=t.getChild(0).getChild(0);return e.is("$text")?e:e.getChild(0)}(t);if(!e)return null;const n=e._data;return"o"===n?"circle":"·"===n?"disc":"§"===n?"square":null}(t.element);e&&(o=e)}}return{type:a,style:kg(o)}}(t,e);if(r){if(t.indent>o){const t=r.getChild(r.childCount-1),e=t.getChild(t.childCount-1);r=xg(i,e,n),o+=1}else if(t.indent<o){const e=o-t.indent;r=function(t,e){const n=t.getAncestors({parentFirst:!0});let i=null,r=0;for(const o of n)if("ul"!==o.name&&"ol"!==o.name||r++,r===e){i=o;break}return i}(r,e),o=parseInt(t.indent)}}else r=xg(i,t.element,n);t.indent<=o&&(r.is("element",i.type)||(r=n.rename(i.type,r)))}const h=function(t,e){return function(t,e){const n=new pi({name:"span",styles:{"mso-list":"Ignore"}}),i=e.createRangeIn(t);for(const r of i)"elementStart"===r.type&&n.match(r.item)&&e.remove(r.item)}(t,e),e.rename("li",t)}(t.element,n);n.appendChild(h,r)})}function kg(t){switch(t){case"arabic-leading-zero":return"decimal-leading-zero";case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function xg(t,e,n){const i=e.parent,r=n.createElement(t.type),o=i.getChildIndex(e)+1;return n.insertChild(o,r,i),t.style&&n.setStyle("list-style-type",t.style,r),r}function Tg(t){const e={},n=t.getStyle("mso-list");if(n){const t=n.match(/(^|\s{1,100})l(\d+)/i),i=n.match(/\s{0,100}lfo(\d+)/i),r=n.match(/\s{0,100}level(\d+)/i);t&&i&&r&&(e.id=t[2],e.order=i[1],e.indent=r[1])}return e}n(98);const Mg=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class Sg{constructor(t){this.document=t}isActive(t){return Mg.test(t)}execute(t){const e=new bd(this.document);!function(t,e){for(const n of t.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const i=t.getChildIndex(n);e.remove(n),e.insertChild(i,n.getChildren(),t)}}(t.content,e),function(t,e){for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","li")){const n=t.getChild(0);n&&n.is("element","p")&&e.unwrapElement(n)}}}(t.content,e)}}function Cg(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,e)=>1===e.length?" ":Array(e.length+1).join(" ").substr(0,e.length))}function Eg(t,e){const n=new DOMParser,i=function(t){return Cg(Cg(t)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(t){const e=t.indexOf("</body>");if(e<0)return t;const n=t.indexOf("</html>",e+"</body>".length);return t.substring(0,e+"</body>".length)+(n>=0?t.substring(n):"")}(t=t.replace(/<!--\[if gte vml 1]>/g,""))),r=n.parseFromString(i,"text/html");!function(t){t.querySelectorAll("span[style*=spacerun]").forEach(t=>{const e=t.innerText.length||0;t.innerHTML=Array(e+1).join(" ").substr(0,e)})}(r);const o=r.body.innerHTML,a=function(t,e){const n=new br(e),i=new So(n,{blockFillerMode:"nbsp"}),r=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)r.appendChild(o[0]);return i.domToView(r)}(r,e),s=function(t){const e=[],n=[],i=Array.from(t.getElementsByTagName("style"));for(const r of i)r.sheet&&r.sheet.cssRules&&r.sheet.cssRules.length&&(e.push(r.sheet),n.push(r.innerHTML));return{styles:e,stylesString:n.join(" ")}}(r);return{body:a,bodyString:o,styles:s.styles,stylesString:s.stylesString}}function Lg(t,e){if(!t.childCount)return;const n=new bd;!function(t,e,n){const i=n.createRangeIn(e),r=new pi({name:"img"}),o=[];for(const a of i)if(r.match(a.item)){const e=a.item,n=e.getAttribute("v:shapes")?e.getAttribute("v:shapes").split(" "):[];n.length&&n.every(e=>t.indexOf(e)>-1)?o.push(e):e.getAttribute("src")||o.push(e)}for(const a of o)n.remove(a)}
457(function(t,e){const n=e.createRangeIn(t),i=new pi({name:/v:(.+)/}),r=[];for(const o of n){const t=o.item,e=t.previousSibling&&t.previousSibling.name||null;i.match(t)&&t.getAttribute("o:gfxdata")&&"v:shapetype"!==e&&r.push(o.item.getAttribute("id"))}return r}(t,n),t,n),function(t,e){const n=e.createRangeIn(t),i=new pi({name:/v:(.+)/}),r=[];for(const o of n)i.match(o.item)&&r.push(o.item);for(const o of r)e.remove(o)}(t,n);const i=function(t,e){const n=e.createRangeIn(t),i=new pi({name:"img"}),r=[];for(const o of n)i.match(o.item)&&o.item.getAttribute("src").startsWith("file://")&&r.push(o.item);return r}(t,n);i.length&&function(t,e,n){if(t.length===e.length)for(let r=0;r<t.length;r++){const o=`data:${e[r].type};base64,${i=e[r].hex,btoa(i.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}`;n.setAttribute("src",o,t[r])}var i}(i,function(t){if(!t)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),i=t.match(n),r=[];if(i)for(const o of i){let t=!1;o.includes("\\pngblip")?t="image/png":o.includes("\\jpegblip")&&(t="image/jpeg"),t&&r.push({hex:o.replace(e,"").replace(/[^\da-fA-F]/g,""),type:t})}return r}(e),n)}const Ag=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,Og=/xmlns:o="urn:schemas-microsoft-com/i;class Pg{constructor(t){this.document=t}isActive(t){return Ag.test(t)||Og.test(t)}execute(t){const{body:e,stylesString:n}=Eg(t.dataTransfer.getData("text/html"),this.document.stylesProcessor);wg(e,n),Lg(e,t.dataTransfer.getData("text/rtf")),t.content=e}}function Dg(t,e,n,i,r=1){e>r?i.setAttribute(t,e,n):i.removeAttribute(t,n)}function jg(t,e,n={}){const i=t.createElement("tableCell",n);return t.insertElement("paragraph",i),t.insert(i,e),i}function Ig(t,e){const n=e.parent.parent,i=parseInt(n.getAttribute("headingColumns")||0),{column:r}=t.getCellLocation(e);return!!i&&r<i}function Rg(){return t=>{t.on("element:table",(t,e,n)=>{const i=e.viewItem;if(!n.consumable.test(i,{name:!0}))return;const{rows:r,headingRows:o,headingColumns:a}=function(t){const e={headingRows:0,headingColumns:0},n=[],i=[];let r;for(const o of Array.from(t.getChildren()))if("tbody"===o.name||"thead"===o.name||"tfoot"===o.name){"thead"!==o.name||r||(r=o);const t=Array.from(o.getChildren()).filter(t=>t.is("element","tr"));for(const o of t)if("thead"===o.parent.name&&o.parent===r)e.headingRows++,n.push(o);else{i.push(o);const t=Yg(o);t>e.headingColumns&&(e.headingColumns=t)}}return e.rows=[...n,...i],e}(i),s={};a&&(s.headingColumns=a),o&&(s.headingRows=o);const c=n.writer.createElement("table",s);if(n.safeInsert(c,e.modelCursor)){if(n.consumable.consume(i,{name:!0}),r.forEach(t=>n.convertItem(t,n.writer.createPositionAt(c,"end"))),c.isEmpty){const t=n.writer.createElement("tableRow");n.writer.insert(t,n.writer.createPositionAt(c,"end")),jg(n.writer,n.writer.createPositionAt(t,"end"))}n.updateConversionResult(c,e)}})}}function Ng(t){return e=>{e.on("element:"+t,(t,e,n)=>{if(e.modelRange&&e.viewItem.isEmpty){const t=e.modelRange.start.nodeAfter,i=n.writer.createPositionAt(t,0);n.writer.insertElement("paragraph",i)}},{priority:"low"})}}function Yg(t){let e=0,n=0;const i=Array.from(t.getChildren()).filter(t=>"th"===t.name||"td"===t.name);for(;n<i.length&&"th"===i[n].name;){const t=i[n];e+=parseInt(t.getAttribute("colspan")||1),n++}return e}class zg{constructor(t,e={}){this._table=t,this._startRow=void 0!==e.row?e.row:e.startRow||0,this._endRow=void 0!==e.row?e.row:e.endRow,this._startColumn=void 0!==e.column?e.column:e.startColumn||0,this._endColumn=void 0!==e.column?e.column:e.endColumn,this._includeAllSlots=!!e.includeAllSlots,this._skipRows=new Set,this._row=0,this._column=0,this._cellIndex=0,this._spannedCells=new Map,this._nextCellAtColumn=-1}[Symbol.iterator](){return this}next(){const t=this._table.getChild(this._row);if(!t||this._isOverEndRow())return{done:!0};if(this._isOverEndColumn())return this._advanceToNextRow();let e=null;const n=this._getSpanned();if(n)this._includeAllSlots&&!this._shouldSkipSlot()&&(e=this._formatOutValue(n.cell,n.row,n.column));else{const n=t.getChild(this._cellIndex);if(!n)return this._advanceToNextRow();const i=parseInt(n.getAttribute("colspan")||1),r=parseInt(n.getAttribute("rowspan")||1);(i>1||r>1)&&this._recordSpans(n,r,i),this._shouldSkipSlot()||(e=this._formatOutValue(n)),this._nextCellAtColumn=this._column+i}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,e||this.next()}
457skipRow(t){this._skipRows.add(t)}_advanceToNextRow(){return this._row++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(t,e=this._row,n=this._column){return{done:!1,value:new Bg(this,t,e,n)}}_shouldSkipSlot(){const t=this._skipRows.has(this._row),e=this._row<this._startRow,n=this._column<this._startColumn,i=void 0!==this._endColumn&&this._column>this._endColumn;return t||e||n||i}_getSpanned(){const t=this._spannedCells.get(this._row);return t&&t.get(this._column)||null}_recordSpans(t,e,n){const i={cell:t,row:this._row,column:this._column};for(let r=this._row;r<this._row+e;r++)for(let t=this._column;t<this._column+n;t++)r==this._row&&t==this._column||this._markSpannedCell(r,t,i)}_markSpannedCell(t,e,n){this._spannedCells.has(t)||this._spannedCells.set(t,new Map),this._spannedCells.get(t).set(e,n)}}class Bg{constructor(t,e,n,i){this.cell=e,this.row=t._row,this.column=t._column,this.cellAnchorRow=n,this.cellAnchorColumn=i,this._cellIndex=t._cellIndex,this._table=t._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||1)}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||1)}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function Fg(t={}){return e=>e.on("insert:table",(e,n,i)=>{const r=n.item;if(!i.consumable.consume(r,"insert"))return;i.consumable.consume(r,"attribute:headingRows:table"),i.consumable.consume(r,"attribute:headingColumns:table");const o=t&&t.asWidget,a=i.writer.createContainerElement("figure",{class:"table"}),s=i.writer.createContainerElement("table");let c;var l,u;i.writer.insert(i.writer.createPositionAt(a,0),s),o&&(l=a,(u=i.writer).setCustomProperty("table",!0,l),c=Hd(l,u,{hasSelectionHandle:!0}));const d=new zg(r),h={headingRows:r.getAttribute("headingRows")||0,headingColumns:r.getAttribute("headingColumns")||0},f=new Map;for(const m of d){const{row:e,cell:n}=m,o=r.getChild(e),a=f.get(e)||$g(s,o,e,h,i);f.set(e,a),i.consumable.consume(n,"insert"),Wg(m,h,i.writer.createPositionAt(a,"end"),i,t)}for(const t of r.getChildren()){const e=t.index;f.has(e)||f.set(e,$g(s,t,e,h,i))}const p=i.mapper.toViewPosition(n.range.start);i.mapper.bindElements(r,o?c:a),i.writer.insert(p,o?c:a)})}function Hg(t,e){const{writer:n}=e;if(t.parent.is("element","tableCell"))return Vg(t)?n.createContainerElement("span",{style:"display:inline-block"}):n.createContainerElement("p")}function Vg(t){return 1===t.parent.childCount&&!Zg(t)}function Ug(t,e,n){const{cell:i}=t,r=Xg(t,e),o=n.mapper.toViewElement(i);o&&o.name!==r&&function(t,e,n){const i=n.writer,r=n.mapper.toViewElement(t),o=Xd(i.createEditableElement(e,r.getAttributes()),i);Wd(o,i,(t,e,n)=>n.addClass(ei(e.classes),t),(t,e,n)=>n.removeClass(ei(e.classes),t)),i.insert(i.createPositionAfter(r),o),i.move(i.createRangeIn(r),i.createPositionAt(o,0)),i.remove(i.createRangeOn(r)),n.mapper.unbindViewElement(r),n.mapper.bindElements(t,o)}(i,r,n)}function Wg(t,e,n,i,r){const o=r&&r.asWidget,a=Xg(t,e),s=o?Xd(i.writer.createEditableElement(a),i.writer):i.writer.createContainerElement(a);o&&Wd(s,i.writer,(t,e,n)=>n.addClass(ei(e.classes),t),(t,e,n)=>n.removeClass(ei(e.classes),t));const c=t.cell,l=c.getChild(0),u=1===c.childCount&&"paragraph"===l.name;if(i.writer.insert(n,s),i.mapper.bindElements(c,s),!o&&u&&!Zg(l)){const t=c.getChild(0);i.consumable.consume(t,"insert"),i.mapper.bindElements(t,s)}}function $g(t,e,n,i,r){r.consumable.consume(e,"insert");const o=e.isEmpty?r.writer.createEmptyElement("tr"):r.writer.createContainerElement("tr");r.mapper.bindElements(e,o);const a=i.headingRows,s=function(t,e,n){const i=qg(t,e);return i||function(t,e,n){const i=n.writer.createContainerElement(t),r=n.writer.createPositionAt(e,"tbody"==t?"end":0);return n.writer.insert(r,i),i}(t,e,n)}(function(t,e){return t<e.headingRows?"thead":"tbody"}(n,i),t,r),c=a>0&&n>
457=a?n-a:n,l=r.writer.createPositionAt(s,c);return r.writer.insert(l,o),o}function Xg(t,e){const{row:n,column:i}=t,{headingColumns:r,headingRows:o}=e;return o&&o>n||r&&r>i?"th":"td"}function qg(t,e){for(const n of e.getChildren())if(n.name==t)return n}function Gg(t,e,n){const i=qg(t,e);i&&0===i.childCount&&n.writer.remove(n.writer.createRangeOn(i))}function Zg(t){return!![...t.getAttributeKeys()].length}class Jg extends Kt{refresh(){const t=this.editor.model,e=t.document.selection,n=t.schema;this.isEnabled=function(t,e){const n=t.getFirstPosition().parent,i=n===n.root?n:n.parent;return e.checkChild(i,"table")}(e,n)&&!Gd(e,n)}execute(t={}){const e=this.editor.model,n=e.document.selection,i=this.editor.plugins.get("TableUtils"),r=qd(n,e);e.change(n=>{const o=i.createTable(n,t);e.insertContent(o,r),n.setSelection(n.createPositionAt(o.getNodeByPath([0,0,0]),0))})}}function Kg(t){const e=[];for(const n of rv(t.getRanges())){const t=n.getContainedElement();t&&t.is("element","tableCell")&&e.push(t)}return e}function Qg(t){const e=[];for(const n of t.getRanges()){const t=n.start.findAncestor("tableCell");t&&e.push(t)}return e}function tv(t){const e=Kg(t);return e.length?e:Qg(t)}function ev(t){return ov(t.map(t=>t.parent.index))}
457function nv(t){const e=t[0].findAncestor("table");return ov([...new zg(e)].filter(e=>t.includes(e.cell)).map(t=>t.column))}function iv(t,e){if(t.length<2||!function(t){const e=t[0].findAncestor("table"),n=ev(t),i=parseInt(e.getAttribute("headingRows")||0);if(!sv(n,i))return!1;const r=parseInt(e.getAttribute("headingColumns")||0);return sv(nv(t),r)}(t))return!1;const n=new Set,i=new Set;let r=0;for(const o of t){const{row:t,column:a}=e.getCellLocation(o),s=parseInt(o.getAttribute("rowspan")||1),c=parseInt(o.getAttribute("colspan")||1);n.add(t),i.add(a),s>1&&n.add(t+s-1),c>1&&i.add(a+c-1),r+=s*c}return function(t,e){const n=Array.from(t.values()),i=Array.from(e.values()),r=Math.max(...n),o=Math.min(...n),a=Math.max(...i),s=Math.min(...i);return(r-o+1)*(a-s+1)}(n,i)==r}function rv(t){return Array.from(t).sort(av)}function ov(t){const e=t.sort((t,e)=>t-e);return{first:e[0],last:e[e.length-1]}}function av(t,e){const n=t.start,i=e.start;return n.isBefore(i)?-1:1}function sv({first:t,last:e},n){return t<n===e<n}class cv extends Kt{constructor(t,e={}){super(t),this.order=e.order||"below"}refresh(){const t=this.editor.model.document.selection.getFirstPosition().findAncestor("table");this.isEnabled=!!t}execute(){const t=this.editor,e=t.model.document.selection,n=t.plugins.get("TableUtils"),i="above"===this.order,r=tv(e),o=ev(r),a=i?o.first:o.last,s=r[0].findAnce
vendor: 4,266 bytes, line 457
457stor("table");n.insertRows(s,{at:i?a:a+1,copyStructureFromAbove:!i})}}class lv extends Kt{constructor(t,e={}){super(t),this.order=e.order||"right"}refresh(){const t=this.editor.model.document.selection.getFirstPosition().findAncestor("table");this.isEnabled=!!t}execute(){const t=this.editor,e=t.model.document.selection,n=t.plugins.get("TableUtils"),i="left"===this.order,r=tv(e),o=nv(r),a=i?o.first:o.last,s=r[0].findAncestor("table");n.insertColumns(s,{columns:1,at:i?a:a+1})}}class uv extends Kt{constructor(t,e={}){super(t),this.direction=e.direction||"horizontally"}refresh(){const t=tv(this.editor.model.document.selection);this.isEnabled=1===t.length}execute(){const t=tv(this.editor.model.document.selection)[0],e="horizontally"===this.direction,n=this.editor.plugins.get("TableUtils");e?n.splitCellHorizontally(t,2):n.splitCellVertically(t,2)}}function dv(t,e,n){const{startRow:i,startColumn:r,endRow:o,endColumn:a}=e,s=n.createElement("table"),c=o-i+1;for(let u=0;u<c;u++)n.insertElement("tableRow",s,"end");const l=[...new zg(t,{startRow:i,endRow:o,startColumn:r,endColumn:a,includeAllSlots:!0})];for(const{row:u,column:d,cell:h,isAnchor:f,cellAnchorRow:p,cellAnchorColumn:m}of l){const t=u-i,e=s.getChild(t);if(f){const t=n.cloneElement(h);n.append(t,e),gv(t,u,d,o,a,n)}else(p<i||m<r)&&jg(n,n.createPositionAt(e,"end"))}return function(t,e,n,i,r){const o=parseInt(e.getAttribute("headingRows")||0);o>0&&Dg("headingRows",o-n,t,r,0);const a=parseInt(e.getAttribute("headingColumns")||0);a>0&&Dg("headingColumns",a-i,t,r,0)}(s,t,i,r,n),s}function hv(t,e,n=0){const i=[],r=new zg(t,{startRow:n,endRow:e-1});for(const o of r){const{row:t,cellHeight:n}=o,r=t+n-1;t<e&&e<=r&&i.push(o)}return i}function fv(t,e,n){const i=t.parent,r=i.parent,o=i.index,a=e-o,s={},c=parseInt(t.getAttribute("rowspan"))-a;c>1&&(s.rowspan=c);const l=parseInt(t.getAttribute("colspan")||1);l>1&&(s.colspan=l);const u=o+a,d=[...new zg(r,{startRow:o,endRow:u,includeAllSlots:!0})];let h,f=null;for(const p of d){const{row:e,column:i,cell:r}=p;r===t&&void 0===h&&(h=i),void 0!==h&&h===i&&e===u&&(f=jg(n,p.getPositionBefore(),s))}return Dg("rowspan",a,t,n),f}function pv(t,e){const n=[],i=new zg(t);for(const r of i){const{column:t,cellWidth:i}=r,o=t+i-1;t<e&&e<=o&&n.push(r)}return n}function mv(t,e,n,i){const r=n-e,o={},a=parseInt(t.getAttribute("colspan"))-r;a>1&&(o.colspan=a);const s=parseInt(t.getAttribute("rowspan")||1);s>1&&(o.rowspan=s);const c=jg(i,i.createPositionAfter(t),o);return Dg("colspan",r,t,i),c}function gv(t,e,n,i,r,o){const a=parseInt(t.getAttribute("colspan")||1),s=parseInt(t.getAttribute("rowspan")||1);n+a-1>r&&Dg("colspan",r-n+1,t,o,1),e+s-1>i&&Dg("rowspan",i-e+1,t,o,1)}function vv(t,e){const n=e.getColumns(t),i=new Array(n).fill(0);for(const{column:o}of new zg(t))i[o]++;const r=i.reduce((t,e,n)=>e?t:[...t,n],[]);if(r.length>0){const n=r[r.length-1];return e.removeColumns(t,{at:n}),!0}return!1}function _v(t,e){const n=[];for(let i=0;i<t.childCount;i++)t.getChild(i).isEmpty&&n.push(i);if(n.length>0){const i=n[n.length-1];return e.removeRows(t,{at:i}),!0}return!1}function yv(t,e){vv(t,e)||_v(t,e)}function bv(t,e){const n=Array.from(new zg(t,{startColumn:e.firstColumn,endColumn:e.lastColumn,row:e.lastRow}));if(n.every(({cellHeight:t})=>1===t))return e.lastRow;const i=n[0].cellHeight-1;return e.lastRow+i}function wv(t,e){const n=Array.from(new zg(t,{startRow:e.firstRow,endRow:e.lastRow,column:e.lastColumn}));if(n.every(({cellWidth:t})=>1===t))return e.lastColumn;const i=n[0].cellWidth-1;return e.lastColumn+i}class kv extends Kt{constructor(t,e){super(t),this.direction=e.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const t=this._getMergeableCell();this.value=t,this.isEnabled=!!t}execute(){const t=this.editor.model,e=Qg(t.document.selection)[0],n=this.value,i=this.direction;t.change(t=>{const r="right"==i||"down"==i,o=r?e:n,a=r?n:e,s=a.parent;!function(t,e,n){xv(t)||(xv(e)&&n.remove(n.createRangeIn(e)),n.move(n.createRangeIn(t),n.createPositionAt(e,"end"))),n.remove(t)}(a,o,t);const c=this.isHorizontal?"colspan":"rowspan",l=parseInt(e.getAttribute(c)||1),u=parseInt(n.getAttribute(c)||1);t.setAttribute(c,l+u,o),t.setSelection(t.createRangeIn(o));const d=this.editor.plugins.get("TableUtils");
457yv(s.findAncestor("table"),d)})}_getMergeableCell(){const t=Qg(this.editor.model.document.selection)[0];if(!t)return;const e=this.editor.plugins.get("TableUtils"),n=this.isHorizontal?function(t,e,n){const i=t.parent.parent,r="right"==e?t.nextSibling:t.previousSibling,o=(i.getAttribute("headingColumns")||0)>0;if(!r)return;const a="right"==e?t:r,s="right"==e?r:t,{column:c}=n.getCellLocation(a),{column:l}=n.getCellLocation(s),u=parseInt(a.getAttribute("colspan")||1),d=Ig(n,a),h=Ig(n,s);return o&&d!=h?void 0:c+u===l?r:void 0}(t,this.direction,e):function(t,e){const n=t.parent,i=n.parent,r=i.getChildIndex(n);if("down"==e&&r===i.childCount-1||"up"==e&&0===r)return;const o=parseInt(t.getAttribute("rowspan")||1),a=i.getAttribute("headingRows")||0,s="down"==e&&r+o===a,c="up"==e&&r===a;if(a&&(s||c))return;const l=parseInt(t.getAttribute("rowspan")||1),u="down"==e?r+l:r,d=[...new zg(i,{endRow:u})],h=d.find(e=>e.cell===t).column,f=d.find(({row:t,cellHeight:n,column:i})=>i===h&&("down"==e?t===u:u===t+n));return f&&f.cell}(t,this.direction);if(!n)return;const i=this.isHorizontal?"rowspan":"colspan",r=parseInt(t.getAttribute(i)||1);return parseInt(n.getAttribute(i)||1)===r?n:void 0}}function xv(t){return 1==t.childCount&&t.getChild(0).is("element","paragraph")&&t.getChild(0).isEmpty}class Tv extends Kt{refresh(){const t=tv(this.editor.model.document.selection),e=t[0];if(e){const n=e.findAncestor("table"),i=this.editor.plugins.get("TableUtils").getRows(n)-1,r=ev(t),o=0===r.first&&r.last===i;this.isEnabled=!o}else this.isEnabled=!1}execute(){const t=this.editor.model,e=tv(t.document.selection),n=ev(e),i=e[0],r=i.findAncestor("table"),o=this.editor.plugins.get("TableUtils").getCellLocation(i).column;t.change(t=>{const e=n.last-n.first+1;this.editor.plugins.get("TableUtils").removeRows(r,{at:n.first,rows:e});const i=function(t,e,n){const i=t.getChild(e)||t.getChild(t.childCount-1);let r=i.getChild(0),o=0;for(const a of i.getChildren()){if(o>n)return r;r=a,o+=parseInt(a.getAttribute("colspan")||1)}return r}(r,n.first,o);t.setSelection(t.createPositionAt(i,0))})}}class Mv extends Kt{refresh(){const t=tv(this.editor.model.document.selection),e=t[0];if(e){const n=e.findAncestor("table"),i=this.editor.plugins.get("TableUtils").getColumns(n),{first:r,last:o}=nv(t);this.isEnabled=o-r<i-1}else this.isEnabled=!1}execute(){const[t,e]=function(t){const e=tv(t),n=e[0],i=e.pop(),r=[n,i];return n.isBefore(i)?r:r.reverse()}(this.editor.model.document.selection),n=t.parent.parent,i=[...new zg(n)],r={first:i.find(e=>e.cell===t).column,last:i.find(t=>t.cell===e).column},o=function(t,e,n,i){return parseInt(n.getAttribute("colspan")||1)>1?n:e.previousSibling||n.nextSibling?n.nextSibling||e.previousSibling:i.first?t.reverse().find(({column:t})=>t<i.first).cell:t.reverse().find(({column:t})=>t>i.last).cell}(i,t,e,r);this.editor.model.change(t=>{const e=r.last-r.first+1;this.editor.plugins.get("TableUtils").removeColumns(n,{at:r.first,columns:e}),t.setSelection(t.createPositionAt(o,0))})}}class Sv extends Kt{refresh(){const t=tv(this.editor.model.document.selection),e=t.length>0;this.isEnabled=e,this.value=e&&t.every(t=>this._isInHeading(t,t.parent.parent))}execute(t={}){if(t.forceValue===this.value)return;const e=this.editor.model,n=tv(e.document.selection),i=n[0].findAncestor("table"),{first:r,last:o}=ev(n),a=this.value?r:o+1,s=i.getAttribute("headingRows")||0;e.change(t=>{if(a){const e=hv(i,a,a>s?s:0);for(const{cell:n}of e)fv(n,a,t)}Dg("headingRows",a,i,t,0)})}_isInHeading(t,e){const n=parseInt(e.getAttribute("headingRows")||0);return!!n&&t.parent.index<n}}class Cv extends Kt{refresh(){const t=tv(this.editor.model.document.selection),e=this.editor.plugins.get("TableUtils"),n=t.length>0;this.isEnabled=n,this.value=n&&t.every(t=>Ig(e,t))}execute(t={}){if(t.forceValue===this.value)return;const e=this.editor.model,n=tv(e.document.selection),i=n[0].findAncestor("table"),{first:r,last:o}=nv(n),a=this.value?r:o+1;e.change(t=>{if(a){const e=pv(i,a);for(const{cell:n,column:i}of e)mv(n,i,a,t)}Dg("headingColumns",a,i,t,0)})}}class Ev extends Zt{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(t){const e=t.parent,n=e.parent,i=n.getChildIndex(e),r=new zg(n,{row:i});for(const{cell:o,row:a,column:s}of r)if(o===t)return{row:a,column:s}}createTable(t,e){const n=t.createElement("table");return Lv(t,n,0,parseInt(e.rows)||2,parseInt(e.columns)||2),e.headingRows&&Dg("headingRows",e.headingRows,n,t,0),e.headingColumns&&Dg("headingColumns",e.headingColumns,n,t,0),n}insertRows(t,e={}){const n=this.editor.model,i=e.at||0,r=e.rows||1,o=void 0!==e.copyStructureFromAbove,a=e.copyStructureFromAbove?i-1:i,s=this.getRows(t),c=this.getColumns(t);n.change(e=>{const n=t.getAttribute("headingRows")||0;if(n>i&&Dg("headingRows",n+r,t,e,0),!o&&(0===i||i===s))return void Lv(e,t,i,r,c);const l=o?Math.max(i,a):i,u=new zg(t,{endRow:l}),d=new Array(c).fill(1);for(const{row:t,column:s,cellHeight:c,cellWidth:h,cell:f}of u){const n=t+c-1,l=t<=a&&a<=n;t<i&&i<=n?(e.setAttribute("rowspan",c+r,f),d[s]=-h):o&&l&&(d[s]=h)}for(let o=0;o<r;o++){const n=e.createElement("tableRow");e.insert(n,t,i);for(let t=0;t<d.length;t++){const i=d[t],r=e.createPositionAt(n,"end");i>0&&jg(e,r,i>1?{colspan:i}:null),t+=Math.abs(i)-1}}})}insertColumns(t,e={}){const n=this.editor.model,i=e.at||0,r=e.columns||1;n.change(e=>{const n=t.getAttribute("headingColumns");i<n&&e.setAttribute("headingColumns",n+r,t);const o=this.getColumns(t);if(0===i||o===i){for(const n of t.getChildren())Av(r,e,e.createPositionAt(n,i?"end":0));return}const a=new zg(t,{column:i,includeAllSlots:!0});for(const t of a){const{row:n,cell:o,cellAnchorColumn:s,cellAnchorRow:c,cellWidth:l,cellHeight:u}=t;if(s<i){e.setAttribute("colspan",l+r,o);const t=c+u-1;for(let e=n;e<=t;e++)a.skipRow(e)}else Av(r,e,t.getPositionBefore())}})}removeRows(t,e){const n=this.editor.model,i=e.rows||1,r=e.at,o=r+i-1;n.change(e=>{const{cellsToMove:n,cellsToTrim:i}=function(t,e,n){const i=new Map,r=[];for(const{row:o,column:a,cellHeight:s,cell:c}of new zg(t,{endRow:n})){const t=o+s-1;if(o>=e&&o<=n&&t>n){const t=s-(n-o+1);i.set(a,{cell:c,rowspan:t})}if(o<e&&t>=e){let i;i=t>=n?n-e+1:t-e+1,r.push({cell:c,rowspan:s-i})}}return{cellsToMove:i,cellsToTrim:r}}(t,r,o);n.size&&function(t,e,n,i){const r=[...new zg(t,{includeAllSlots:!0,row:e})],o=t.getChild(e);let a;for(const{column:s,cell:c,isAnchor:l}of r)if(n.has(s)){const{cell:t,rowspan:e}=n.get(s),r=a?i.createPositionAfter(a):i.createPositionAt(o,0);i.move(i.createRangeOn(t),r),Dg("rowspan",e,t,i),a=t}else l&&(a=c)}(t,o+1,n,e);for(let a=o;a>=r;a--)e.remove(t.getChild(a));for(const{rowspan:t,cell:r}of i)Dg("rowspan",t,r,e);!function(t,e,n,i){const r=t.getAttribute("headingRows")||0;e<r&&Dg("headingRows",n<r?r-(n-e+1):e,t,i,0)}(t,r,o,e),vv(t,this)||_v(t,this)})}
457removeColumns(t,e){const n=this.editor.model,i=e.at,r=e.columns||1,o=e.at+r-1;n.change(e=>{!function(t,e,n){const i=t.getAttribute("headingColumns")||0;if(i&&e.first<i){const r=Math.min(i-1,e.last)-e.first+1;n.setAttribute("headingColumns",i-r,t)}}(t,{first:i,last:o},e);for(let n=o;n>=i;n--)for(const{cell:i,column:r,cellWidth:o}of[...new zg(t)])r<=n&&o>1&&r+o>n?Dg("colspan",o-1,i,e):r===n&&e.remove(i);_v(t,this)||vv(t,this)})}splitCellVertically(t,e=2){const n=this.editor.model,i=t.parent.parent,r=parseInt(t.getAttribute("rowspan")||1),o=parseInt(t.getAttribute("colspan")||1);n.change(n=>{if(o>1){const{newCellsSpan:i,updatedSpan:a}=Ov(o,e);Dg("colspan",a,t,n);const s={};i>1&&(s.colspan=i),r>1&&(s.rowspan=r),Av(o>e?e-1:o-1,n,n.createPositionAfter(t),s)}if(o<e){const a=e-o,s=[...new zg(i)],{column:c}=s.find(({cell:e})=>e===t),l=s.filter(({cell:e,cellWidth:n,column:i})=>e!==t&&i===c||i<c&&i+n>c);for(const{cell:t,cellWidth:e}of l)n.setAttribute("colspan",e+a,t);const u={};r>1&&(u.rowspan=r),Av(a,n,n.createPositionAfter(t),u);const d=i.getAttribute("headingColumns")||0;d>c&&Dg("headingColumns",d+a,i,n)}})}splitCellHorizontally(t,e=2){const n=this.editor.model,i=t.parent,r=i.parent,o=r.getChildIndex(i),a=parseInt(t.getAttribute("rowspan")||1),s=parseInt(t.getAttribute("colspan")||1);n.change(n=>{if(a>1){const i=[...new zg(r,{startRow:o,endRow:o+a-1,includeAllSlots:!0})],{newCellsSpan:c,updatedSpan:l}=Ov(a,e);Dg("rowspan",l,t,n);const{column:u}=i.find(({cell:e})=>e===t),d={};c>1&&(d.rowspan=c),s>1&&(d.colspan=s);for(const t of i){const{column:e,row:i}=t,r=e===u,a=(i+o+l)%c==0;i>=o+l&&r&&a&&Av(1,n,t.getPositionBefore(),d)}}if(a<e){const i=e-a,c=[...new zg(r,{startRow:0,endRow:o})];for(const{cell:e,cellHeight:r,row:a}of c)if(e!==t&&a+r>o){const t=r+i;n.setAttribute("rowspan",t,e)}const l={};s>1&&(l.colspan=s),Lv(n,r,o+1,i,1,l);const u=r.getAttribute("headingRows")||0;u>o&&Dg("headingRows",u+i,r,n)}})}getColumns(t){return[...t.getChild(0).getChildren()].reduce((t,e)=>t+parseInt(e.getAttribute("colspan")||1),0)}getRows(t){return t.childCount}}function Lv(t,e,n,i,r,o={}){for(let a=0;a<i;a++){const i=t.createElement("tableRow");t.insert(i,e,n),Av(r,t,t.createPositionAt(i,"end"),o)}}function Av(t,e,n,i={}){for(let r=0;r<t;r++)jg(e,n,i)}function Ov(t,e){if(t<e)return{newCellsSpan:1,updatedSpan:1};const n=Math.floor(t/e);return{newCellsSpan:n,updatedSpan:t-n*e+n}}class Pv extends Kt{refresh(){const t=Kg(this.editor.model.document.selection);this.isEnabled=iv(t,this.editor.plugins.get(Ev))}execute(){const t=this.editor.model,e=this.editor.plugins.get(Ev);t.change(n=>{const i=Kg(t.document.selection),r=i.shift(),{mergeWidth:o,mergeHeight:a}=function(t,e,n){let i=0,r=0;for(const s of e){const{row:t,column:e}=n.getCellLocation(s);i=Iv(s,e,i,"colspan"),r=Iv(s,t,r,"rowspan")}const{row:o,column:a}=n.getCellLocation(t);return{mergeWidth:i-a,mergeHeight:r-o}}(r,i,e);Dg("colspan",o,r,n),Dg("rowspan",a,r,n);for(const t of i)Dv(t,r,n);yv(r.findAncestor("table"),e),n.setSelection(r,"in")})}}function Dv(t,e,n){jv(t)||(jv(e)&&n.remove(n.createRangeIn(e)),n.move(n.createRangeIn(t),n.createPositionAt(e,"end"))),n.remove(t)}function jv(t){return 1==t.childCount&&t.getChild(0).is("element","paragraph")&&t.getChild(0).isEmpty}function Iv(t,e,n,i){const r=parseInt(t.getAttribute(i)||1);return Math.max(n,e+r)}class Rv extends Kt{refresh(){const t=tv(this.editor.model.document.selection);this.isEnabled=t.length>0}execute(){const t=this.editor.model,e=tv(t.document.selection),n=ev(e),i=e[0].findAnce
457stor("table"),r=[];for(let o=n.first;o<=n.last;o++)for(const e of i.getChild(o).getChildren())r.push(t.createRangeOn(e));t.change(t=>{t.setSelection(r)})}}class Nv extends Kt{refresh(){const t=tv(this.editor.model.document.selection);this.isEnabled=t.length>0}execute(){const t=this.editor.model,e=tv(t.document.selection),n=e[0],i=e.pop(),r=n.findAncestor("table"),o=this.editor.plugins.get("TableUtils"),a=o.getCellLocation(n),s=o.getCellLocation(i),c=Math.min(a.column,s.column),l=Math.max(a.column,s.column),u=[];for(const d of new zg(r,{startColumn:c,endColumn:l}))u.push(t.createRangeOn(d.cell));t.change(t=>{t.setSelection(u)})}}function Yv(t){t.document.registerPostFixer(e=>function(t,e){const n=e.document.differ.getChanges();let i=!1;const r=new Set;for(const o of n){let e;"table"==o.name&&"insert"==o.type&&(e=o.position.nodeAfter),"tableRow"!=o.name&&"tableCell"!=o.name||(e=o.position.findAncestor("table")),Fv(o)&&(e=o.range.start.findAncestor("table")),e&&!r.has(e)&&(i=zv(e,t)||i,i=Bv(e,t)||i,r.add(e))}return i}(e,t))}function zv(t,e){let n=!1;const i=function(t){const e=parseInt(t.getAttribute("headingRows")||0),n=t.childCount,i=[];for(const{row:r,cell:o,cellHeight:a}of new zg(t)){if(a<2)continue;const t=r<e?e:n;if(r+a>t){const e=t-r;i.push({cell:o,rowspan:e})}}return i}(t);if(i.length){n=!0;for(const t of i)Dg("rowspan",t.rowspan,t.cell,e,1)}return n}function Bv(t,e){let n=!1;const i=function(t){const e=new Array(t.childCount).fill(0);for(const{row:n}of new zg(t,{includeAllSlots:!0}))e[n]++;return e}(t),r=[];for(const[a,s]of i.entries())s||r.push(a);if(r.length){n=!0;for(const n of r.reverse())e.remove(t.getChild(n)),i.splice(n,1)}const o=i[0];if(!i.every(t=>t===o)){const r=i.reduce((t,e)=>e>t?e:t,0);for(const[o,a]of i.entries()){const i=r-a;if(i){for(let n=0;n<i;n++)jg(e,e.createPositionAt(t.getChild(o),"end"));n=!0}}}return n}function Fv(t){const e="attribute"===t.type,n=t.attributeKey;return e&&("headingRows"===n||"colspan"===n||"rowspan"===n)}function Hv(t){t.document.registerPostFixer(e=>function(t,e){const n=e.document.differ.getChanges();let i=!1;for(const r of n)"insert"==r.type&&"table"==r.name&&(i=Vv(r.position.nodeAfter,t)||i),"insert"==r.type&&"tableRow"==r.name&&(i=Uv(r.position.nodeAfter,t)||i),"insert"==r.type&&"tableCell"==r.name&&(i=Wv(r.position.nodeAfter,t)||i),$v(r)&&(i=Wv(r.position.parent,t)||i);return i}(e,t))}function Vv(t,e){let n=!1;for(const i of t.getChildren())n=Uv(i,e)||n;return n}function Uv(t,e){let n=!1;for(const i of t.getChildren())n=Wv(i,e)||n;return n}function Wv(t,e){if(0==t.childCount)return e.insertElement("paragraph",t),!0;const n=Array.from(t.getChildren()).filter(t=>t.is("$text"));for(const i of n)e.wrap(e.createRangeOn(i),"paragraph");return!!n.length}function $v(t){return!(!t.position||!t.position.parent.is("element","tableCell"))&&("insert"==t.type&&"$text"==t.name||"remove"==t.type)}function Xv(t,e){t.document.registerPostFixer(()=>function(t,e){const n=new Set;for(const i of t.getChanges()){const t="attribute"==i.type?i.range.start.parent:i.position.parent;t.is("element","tableCell")&&n.add(t)}for(const i of n.values())for(const n of[...i.getChildren()].filter(t=>qv(t,e)))t.refreshItem(n);return!1}(t.document.differ,e))}function qv(t,e){if(!t.is("element","paragraph"))return!1;const n=e.toViewElement(t);return!!n&&Vg(t)!==n.is("element","span")}function Gv(t){t.document.registerPostFixer(()=>function(t){const e=t.document.differ,n=new Set;for(const i of e.getChanges()){if("attribute"!=i.type)continue;const t=i.range.start.nodeAfter;t&&t.is("element","table")&&"headingRows"==i.attributeKey&&n.add(t)}if(n.size){for(const t of n.values())e.refreshItem(t);return!0}return!1}(t))}n(100);class Zv extends Zt{static get pluginName(){return"TableEditing"}init(){const t=this.editor,e=t.model,n=e.schema,i=t.conversion;n.register("table",{allowWhere:"$block",allowAttributes:["headingRows","headingColumns"],isObject:!0,isBlock:!0}),n.register("tableRow",{allowIn:"table",isLimit:!0}),n.register("tableCell",{allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),n.extend("$block",{allowIn:"tableCell"}),i.for("upcast").add(Rg()),i.for("editingDowncast").add(Fg({asWidget:!0})),i.for("dataDowncast").add(Fg()),i.for("upcast").elementToElement({model:"tableRow",view:"tr"}),i.for("upcast").add(t=>{t.on("element:tr",(t,e)=>{e.viewItem.isEmpty&&0==e.modelCursor.index&&t.stop()},{priority:"high"})}),i.for("editingDowncast").add(t=>t.on("insert:tableRow",(t,e,n)=>{const i=e.item;if(!n.consumable.consume(i,"insert"))return;const r=i.parent,o=function(t){for(const e of t.getChildren())if("table"===e.name)return e}(n.mapper.toViewElement(r)),a=r.getChildIndex(i),s=new zg(r,{row:a}),c={headingRows:r.getAttribute("headingRows")||0,headingColumns:r.getAttribute("headingColumns")||0},l=new Map;for(const u of s){const t=l.get(a)||$g(o,i,a,c,n);l.set(a,t),n.consumable.consume(u.cell,"insert"),Wg(u,c,n.writer.createPositionAt(t,"end"),n,{asWidget:!0})}})),i.for("editingDowncast").add(t=>t.on("remove:tableRow",(t,e,n)=>{t.stop();const i=n.writer,r=n.mapper,o=r.toViewPosition(e.position).getLastMatchingPosition(t=>!t.item.is("element","tr")).nodeAfter,a=o.parent.parent,s=i.createRangeOn(o),c=i.remove(s);for(const l of i.createRangeIn(c).getItems())r.unbindViewElement(l);Gg("thead",a,n),Gg("tbody",a,n)},{priority:"higher"})),i.for("upcast").elementToElement({model:"tableCell",view:"td"}),i.for("upcast").elementToElement({model:"tableCell",view:"th"}),i.for("upcast").add(Ng("td")),i.for("upcast").add(Ng("th")),i.for("editingDowncast").add(t=>t.on("insert:tableCell",(t,e,n)=>{const i=e.item;if(!n.consumable.consume(i,"insert"))return;const r=i.parent,o=r.parent,a=o.getChildIndex(r),s=new zg(o,{row:a}),c={headingRows:o.getAttribute("headingRows")||0,headingColumns:o.getAttribute("headingColumns")||0};for(const l of s)if(l.cell===i){const t=n.mapper.toViewElement(r);return void Wg(l,c,n.writer.createPositionAt(t,r.getChildIndex(i)),n,{asWidget:!0})}})),t.conversion.for("editingDowncast").elementToElement({model:"paragraph",view:Hg,converterPriority:"high"}),i.attributeToAttribute({model:"colspan",view:"colspan"}),i.attributeToAttribute({model:"rowspan",view:"rowspan"}),i.for("editingDowncast").add(t=>t.on("attribute:headingColumns:table",(t,e,n)=>{const i=e.item;if(!n.consumable.consume(e.item,t.name))return;const r={headingRows:i.getAttribute("headingRows")||0,headingColumns:i.getAttribute("headingColumns")||0}
457,o=e.attributeOldValue,a=e.attributeNewValue,s=(o>a?o:a)-1;for(const c of new zg(i,{endColumn:s}))Ug(c,r,n)})),t.commands.add("insertTable",new Jg(t)),t.commands.add("insertTableRowAbove",new cv(t,{order:"above"})),t.commands.add("insertTableRowBelow",new cv(t,{order:"below"})),t.commands.add("insertTableColumnLeft",new lv(t,{order:"left"})),t.commands.add("insertTableColumnRight",new lv(t,{order:"right"})),t.commands.add("removeTableRow",new Tv(t)),t.commands.add("removeTableColumn",new Mv(t)),t.commands.add("splitTableCellVertically",new uv(t,{direction:"vertically"})),t.commands.add("splitTableCellHorizontally",new uv(t,{direction:"horizontally"})),t.commands.add("mergeTableCells",new Pv(t)),t.commands.add("mergeTableCellRight",new kv(t,{direction:"right"})),t.commands.add("mergeTableCellLeft",new kv(t,{direction:"left"})),t.commands.add("mergeTableCellDown",new kv(t,{direction:"down"})),t.commands.add("mergeTableCellUp",new kv(t,{direction:"up"})),t.commands.add("setTableColumnHeader",new Cv(t)),t.commands.add("setTableRowHeader",new Sv(t)),t.commands.add("selectTableRow",new Rv(t)),t.commands.add("selectTableColumn",new Nv(t)),Gv(e),Yv(e),Xv(e,t.editing.mapper),Hv(e)}static get requires(){return[Ev]}}n(102);class Jv extends zl{constructor(t){super(t);const e=this.bindTemplate;this.items=this._createGridCollection(),this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",(t,e)=>`${e} Ã ${t}`),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"[email protected]":e.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck-insert-table-dropdown__label"]},children:[{text:e.to("label")}]}],on:{mousedown:e.to(t=>{t.preventDefault()}),click:e.to(()=>{this.fire("execute")})}}),this.on("boxover",(t,e)=>{const{row:n,column:i}=e.target.dataset;this.set({rows:parseInt(n),columns:parseInt(i)})}),this.on("change:columns",()=>{this._highlightGridBoxes()}),this.on("change:rows",()=>{this._highlightGridBoxes()})}focus(){}focusLast(){}_highlightGridBoxes(){const t=this.rows,e=this.columns;this.items.map((n,i)=>{const r=Math.floor(i/10)<t&&i%10<e;n.set("isOn",r)})}_createGridCollection(){const t=[];for(let e=0;e<100;e++){const n=Math.floor(e/10),i=e%10;t.push(new Kv(this.locale,n+1,i+1))}return this.createCollection(t)}}class Kv extends zl{constructor(t,e,n){super(t);const i=this.bindTemplate;this.set("isOn",!1),this.setTemplate({tag:"div",attributes:{class:["ck-insert-table-dropdown-grid-box",i.if("isOn","ck-on")],"data-row":e,"data-column":n}})}}class Qv extends Zt{static get pluginName(){return"TableUI"}init(){const t=this.editor,e=this.editor.t,n="ltr"===t.locale.contentLanguageDirection;t.ui.componentFactory.add("insertTable",n=>{const i=t.commands.get("insertTable"),r=Ou(n);let o;return r.bind("isEnabled").to(i),r.buttonView.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z"/></svg>',label:e("Insert table"),tooltip:!0}),r.on("change:isOpen",()=>{o||(o=new Jv(n),r.panelView.children.add(o),o.delegate("execute").to(r),r.buttonView.on("open",()=>{o.rows=0,o.columns=0}),r.on("execute",()=>{t.execute("insertTable",{rows:o.rows,columns:o.columns}),t.editing.view.focus()}))}),r}),t.ui.componentFactory.add("tableColumn",t=>{const i=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:e("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:n?"insertTableColumnLeft":"insertTableColumnRight",label:e("Insert column left")}},{type:"button",model:{commandName:n?"insertTableColumnRight":"insertTableColumnLeft",label:e("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:e("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:e("Select column")}}];return this._prepareDropdown(e("Column"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M18 7v1H2V7h16zm0 5v1H2v-1h16z" opacity=".6"/><path d="M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z"/></svg>',i,t)}
457),t.ui.componentFactory.add("tableRow",t=>{const n=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:e("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:e("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:e("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:e("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:e("Select row")}}];return this._prepareDropdown(e("Row"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v16h-1V2z" opacity=".6"/><path d="M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z"/></svg>',n,t)}),t.ui.componentFactory.add("mergeTableCells",t=>{const i=[{type:"button",model:{commandName:"mergeTableCellUp",label:e("Merge cell up")}},{type:"button",model:{commandName:n?"mergeTableCellRight":"mergeTableCellLeft",label:e("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:e("Merge cell down")}},{type:"button",model:{commandName:n?"mergeTableCellLeft":"mergeTableCellRight",label:e("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:e("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:e("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(e("Merge cells"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z" opacity=".6"/><path d="M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z"/></svg>',i,t)})}_prepareDropdown(t,e,n,i){const r=this.editor,o=Ou(i),a=this._fillDropdownWithListOptions(o,n);return o.buttonView.set({label:t,icon:e,tooltip:!0}),o.bind("isEnabled").toMany(a,"isEnabled",(...t)=>t.some(t=>t)),this.listenTo(o,"execute",t=>{r.execute(t.source.commandName),r.editing.view.focus()}),o}_prepareMergeSplitButtonDropdown(t,e,n,i){const r=this.editor,o=Ou(i,pu);return this._fillDropdownWithListOptions(o,n),o.buttonView.set({label:t,icon:e,tooltip:!0,isEnabled:!0}),this.listenTo(o.buttonView,"execute",()=>{r.execute("mergeTableCells"),r.editing.view.focus()}),this.listenTo(o,"execute",t=>{r.execute(t.source.commandName),r.editing.view.focus()}),o}_fillDropdownWithListOptions(t,e){const n=this.editor,i=[],r=new Qn;for(const o of e)t_(o,n,i,r);return Pu(t,r,n.ui.componentFactory),i}}function t_(t,e,n,i){const r=t.model=new Hu(t.model),{commandName:o,bindIsOn:a}=t.model;if("button"===t.type||"switchbutton"===t.type){const t=e.commands.get(o);n.push(t),r.set({commandName:o}),r.bind("isEnabled").to(t),a&&r.bind("isOn").to(t,"value")}r.set({withText:!0}),i.add(t)}n(104);class e_ extends Zt{static get pluginName(){return"TableSelection"}static get requires(){return[Ev]}init(){const t=this.editor.model;this.listenTo(t,"deleteContent",(t,e)=>this._handleDeleteContent(t,e),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const t=Kg(this.editor.model.document.selection);return 0==t.length?null:t}getSelectionAsFragment(){const t=this.getSelectedTableCells();return t?this.editor.model.change(e=>{const n=e.createDocumentFragment(),i=this.editor.plugins.get("TableUtils"),{first:r,last:o}=nv(t),{first:a,last:s}
457=ev(t),c=t[0].findAncestor("table");let l=s,u=o;if(iv(t,i)){const t={firstColumn:r,lastColumn:o,firstRow:a,lastRow:s};l=bv(c,t),u=wv(c,t)}const d=dv(c,{startRow:a,startColumn:r,endRow:l,endColumn:u},e);return e.insert(d,n,0),n}):null}setCellSelection(t,e){const n=this._getCellsToSelect(t,e);this.editor.model.change(t=>{t.setSelection(n.cells.map(e=>t.createRangeOn(e)),{backward:n.backward})})}getFocusCell(){const t=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return t&&t.is("element","tableCell")?t:null}getAnchorCell(){const t=Pa(this.editor.model.document.selection.getRanges()).getContainedElement();return t&&t.is("element","tableCell")?t:null}_defineSelectionConverter(){const t=this.editor,e=new Set;t.conversion.for("editingDowncast").add(t=>t.on("selection",(t,n,i)=>{const r=i.writer;!function(t){for(const n of e)t.removeClass("ck-editor__editable_selected",n);e.clear()}(r);const o=this.getSelectedTableCells();if(!o)return;for(const s of o){const t=i.mapper.toViewElement(s);r.addClass("ck-editor__editable_selected",t),e.add(t)}const a=i.mapper.toViewElement(o[o.length-1]);r.setSelection(a,0)},{priority:"lowest"}))}_enablePluginDisabling(){const t=this.editor;this.on("change:isEnabled",()=>{if(!this.isEnabled){const e=this.getSelectedTableCells();if(!e)return;t.model.change(n=>{const i=n.createPositionAt(e[0],0),r=t.model.schema.getNearestSelectionRange(i);n.setSelection(r)})}})}_handleDeleteContent(t,e){const[n,i]=e,r=this.editor.model,o=!i||"backward"==i.direction,a=Kg(n);a.length&&(t.stop(),r.change(t=>{const e=a[o?a.length-1:0];r.change(t=>{for(const e of a)r.deleteContent(t.createSelection(e,"in"))});const i=r.schema.getNearestSelectionRange(t.createPositionAt(e,0));n.is("documentSelection")?t.setSelection(i):n.setTo(i)}))}_getCellsToSelect(t,e){const n=this.editor.plugins.get("TableUtils"),i=n.getCellLocation(t),r=n.getCellLocation(e),o=Math.min(i.row,r.row),a=Math.max(i.row,r.row),s=Math.min(i.column,r.column),c=Math.max(i.column,r.column),l=new Array(a-o+1).fill(null).map(()=>[]),u={startRow:o,endRow:a,startColumn:s,endColumn:c};for(const{row:f,cell:p}of new zg(t.findAncestor("table"),u))l[f-o].push(p);const d=r.row<i.row,h=r.column<i.column;return d&&l.reverse(),h&&l.forEach(t=>t.reverse()),{cells:l.flat(),backward:d||h}}}class n_ extends Zt{static get pluginName(){return"TableClipboard"}static get requires(){return[e_,Ev]}init(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"copy",(t,e)=>this._onCopyCut(t,e)),this.listenTo(e,"cut",(t,e)=>this._onCopyCut(t,e)),this.listenTo(t.model,"insertContent",(t,e)=>this._onInsertContent(t,...e),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(t,e){const n=this.editor.plugins.get(e_);if(!n.getSelectedTableCells())return;if("cut"==t.name&&this.editor.isReadOnly)return;e.preventDefault(),t.stop();const i=this.editor.data,r=this.editor.editing.view.document,o=i.toView(n.getSelectionAsFragment());r.fire("clipboardOutput",{dataTransfer:e.dataTransfer,content:o,method:t.name})}_onInsertContent(t,e,n){if(n&&!n.is("documentSelection"))return;const i=this.editor.model,r=this.editor.plugins.get(Ev);let o=function(t,e){if(!t.is("documentFragment")&&!t.is("element"))return null;if(t.is("element","table"))return t;if(1==t.childCount&&t.getChild(0).is("element","table"))return t.getChild(0);const n=e.createRangeIn(t);for(const i of n.getItems())if(i.is("element","table")){const t=e.createRange(n.start,e.createPositionBefore(i));if(e.hasContent(t,{ignoreWhitespaces:!0}))return null;const r=e.createRange(e.createPositionAfter(i),n.end);return e.hasContent(r,{ignoreWhitespaces:!0})?null:i}return null}(e,i);if(!o)return;const a=tv(i.document.selection);a.length?(t.stop(),i.change(t=>{const e={width:r.getColumns(o),height:r.getRows(o)}
457,n=function(t,e,n,i){const r=t[0].findAncestor("table"),o=nv(t),a=ev(t),s={firstColumn:o.first,lastColumn:o.last,firstRow:a.first,lastRow:a.last},c=1===t.length;return c&&(s.lastRow+=e.height-1,s.lastColumn+=e.width-1,function(t,e,n,i){const r=i.getColumns(t),o=i.getRows(t);n>r&&i.insertColumns(t,{at:r,columns:n-r}),e>o&&i.insertRows(t,{at:o,rows:e-o})}(r,s.lastRow+1,s.lastColumn+1,i)),c||!iv(t,i)?function(t,e,n){const{firstRow:i,lastRow:r,firstColumn:o,lastColumn:a}=e,s={first:i,last:r},c={first:o,last:a};r_(t,o,s,n),r_(t,a+1,s,n),i_(t,i,c,n),i_(t,r+1,c,n,i)}(r,s,n):(s.lastRow=bv(r,s),s.lastColumn=wv(r,s)),s}(a,e,t,r),i=n.lastRow-n.firstRow+1,s=n.lastColumn-n.firstColumn+1,c={startRow:0,startColumn:0,endRow:Math.min(i,e.height)-1,endColumn:Math.min(s,e.width)-1};o=dv(o,c,t);const l=a[0].findAncestor("table"),u=this._replaceSelectedCellsWithPasted(o,e,l,n,t);if(this.editor.plugins.get("TableSelection").isEnabled){const e=rv(u.map(e=>t.createRangeOn(e)));t.setSelection(e)}else t.setSelection(u[0],0)})):yv(o,r)}_replaceSelectedCellsWithPasted(t,e,n,i,r){const{width:o,height:a}=e,s=function(t,e,n){const i=new Array(n).fill(null).map(()=>new Array(e).fill(null));for(const{column:r,row:o,cell:a}of new zg(t))i[o][r]=a;return i}(t,o,a),c=[...new zg(n,{startRow:i.firstRow,endRow:i.lastRow,startColumn:i.firstColumn,endColumn:i.lastColumn,includeAllSlots:!0})],l=[];let u;for(const m of c){const{row:t,column:e}=m;e===i.firstColumn&&(u=m.getPositionBefore());const n=t-i.firstRow,c=e-i.firstColumn,d=s[n%a][c%o],h=d?r.cloneElement(d):null,f=this._replaceTableSlotCell(m,h,u,r);f&&(gv(f,t,e,i.lastRow,i.lastColumn,r),l.push(f),u=r.createPositionAfter(f))}const d=parseInt(n.getAttribute("headingRows")||0),h=parseInt(n.getAttribute("headingColumns")||0),f=i.firstRow<d&&d<=i.lastRow,p=i.firstColumn<h&&h<=i.lastColumn;if(f){const t=i_(n,d,{first:i.firstColumn,last:i.lastColumn},r,i.firstRow);l.push(...t)}if(p){const t=r_(n,h,{first:i.firstRow,last:i.lastRow},r);l.push(...t)}return l}_replaceTableSlotCell(t,e,n,i){const{cell:r,isAnchor:o}=t;return o&&i.remove(r),e?(i.insert(e,n),e):null}}function i_(t,e,n,i,r=0){if(!(e<1))return hv(t,e,r).filter(({column:t,cellWidth:e})=>o_(t,e,n)).map(({cell:t})=>fv(t,e,i))}function r_(t,e,n,i){if(!(e<1))return pv(t,e).filter(({row:t,cellHeight:e})=>o_(t,e,n)).map(({cell:t,column:n})=>mv(t,n,e,i))}function o_(t,e,n){const i=t+e-1,{first:r,last:o}=n;return t>=r&&t<=o||t<r&&i>=r}class a_ extends Zt{static get pluginName(){return"TableKeyboard"}static get requires(){return[e_]}init(){const t=this.editor.editing.view.document;this.editor.keystrokes.set("Tab",(...t)=>this._handleTabOnSelectedTable(...t),{priority:"low"}),this.editor.keystrokes.set("Tab",this._getTabHandler(!0),{priority:"low"}),this.editor.keystrokes.set("Shift+Tab",this._getTabHandler(!1),{priority:"low"}),this.listenTo(t,"arrowKey",(...t)=>this._onArrowKey(...t),{context:"table"})}_handleTabOnSelectedTable(t,e){const n=this.editor,i=n.model.document.selection.getSelectedElement();i&&i.is("element","table")&&(e(),n.model.change(t=>{t.setSelection(t.createRangeIn(i.getChild(0).getChild(0)))}))}_getTabHandler(t){const e=this.editor;return(n,i)=>{let r=Qg(e.model.document.selection)[0];if(r||(r=this.editor.plugins.get("TableSelection").getFocusCell()),!r)return;i();const o=r.parent,a=o.parent,s=a.getChildIndex(o),c=o.getChildIndex(r),l=0===c;if(!t&&l&&0===s)return void e.model.change(t=>{t.setSelection(t.createRangeOn(a))});const u=c===o.childCount-1,d=s===a.childCount-1;if(t&&d&&u&&(e.execute("insertTableRowBelow"),s===a.childCount-1))return void e.model.change(t=>{t.setSelection(t.createRangeOn(a))});let h;if(t&&u){const t=a.getChild(s+1);h=t.getChild(0)}else if(!t&&l){const t=a.getChild(s-1);h=t.getChild(t.childCount-1)}else h=o.getChild(c+(t?1:-1));e.model.change(t=>{t.setSelection(t.createRangeIn(h))})}}_onArrowKey(t,e){const n=this.editor,i=Ir(e.keyCode,n.locale.contentLanguageDirection);this._handleArrowKeys(i,e.shiftKey)&&(e.preventDefault(),e.stopPropagation(),t.stop())}_handleArrowKeys(t,e){const n=this.editor.model.document.selection,i=["right","down"].includes(t),r=Kg(n);if(r.length){let n;return n=e?this.editor.plugins.get("TableSelection").getFocusCell():i?r[r.length-1]:r[0],this._navigateFromCellInDirection(n,t,e),!0}
457const o=n.focus.findAncestor("tableCell");return!!o&&!(e&&!n.isCollapsed&&n.isBackward==i)&&!!this._isSelectionAtCellEdge(n,o,i)&&(this._navigateFromCellInDirection(o,t,e),!0)}_isSelectionAtCellEdge(t,e,n){const i=this.editor.model,r=this.editor.model.schema,o=n?t.getLastPosition():t.getFirstPosition();if(!r.getLimitElement(o).is("element","tableCell"))return i.createPositionAt(e,n?"end":0).isTouching(o);const a=i.createSelection(o);return i.modifySelection(a,{direction:n?"forward":"backward"}),o.isEqual(a.focus)}_navigateFromCellInDirection(t,e,n=!1){const i=this.editor.model,r=t.findAncestor("table"),o=[...new zg(r,{includeAllSlots:!0})],{row:a,column:s}=o[o.length-1],c=o.find(({cell:e})=>e==t);let{row:l,column:u}=c;switch(e){case"left":u--;break;case"up":l--;break;case"right":u+=c.cellWidth;break;case"down":l+=c.cellHeight}if(l<0||l>a||u<0&&l<=0||u>s&&l>=a)return void i.change(t=>{t.setSelection(t.createRangeOn(r))});u<0?(u=n?0:s,l--):u>s&&(u=n?s:0,l++);const d=o.find(t=>t.row==l&&t.column==u).cell,h=["right","down"].includes(e),f=this.editor.plugins.get("TableSelection");if(n&&f.isEnabled){const e=f.getAnchorCell()||t;f.setCellSelection(e,d)}else{const t=i.createPositionAt(d,h?0:"end");i.change(e=>{e.setSelection(t)})}}}class s_ extends ea{constructor(t){super(t),this.domEventType=["mousemove","mouseleave"]}onDomEvent(t){this.fire(t.type,t)}}class c_ extends Zt{static get pluginName(){return"TableMouse"}static get requires(){return[e_]}init(){this.editor.editing.view.addObserver(s_),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const t=this.editor;let e=!1;const n=t.plugins.get(e_);this.listenTo(t.editing.view.document,"mousedown",(i,r)=>{if(!this.isEnabled||!n.isEnabled)return;if(!r.domEvent.shiftKey)return;const o=n.getAnchorCell()||Qg(t.model.document.selection)[0];if(!o)return;const a=this._getModelTableCellFromDomEvent(r);a&&l_(o,a)&&(e=!0,n.setCellSelection(o,a),r.preventDefault())}),this.listenTo(t.editing.view.document,"mouseup",()=>{e=!1}),this.listenTo(t.editing.view.document,"selectionChange",t=>{e&&t.stop()},{priority:"highest"})}_enableMouseDragSelection(){const t=this.editor;let e,n,i=!1,r=!1;const o=t.plugins.get(e_);this.listenTo(t.editing.view.document,"mousedown",(t,n)=>{this.isEnabled&&o.isEnabled&&(n.domEvent.shiftKey||n.domEvent.ctrlKey||n.domEvent.altKey||(e=this._getModelTableCellFromDomEvent(n)))}),this.listenTo(t.editing.view.document,"mousemove",(t,a)=>{if(!a.domEvent.buttons)return;if(!e)return;const s=this._getModelTableCellFromDomEvent(a);s&&l_(e,s)&&(n=s,i||n==e||(i=!0)),i&&(r=!0,o.setCellSelection(e,n),a.preventDefault())}),this.listenTo(t.editing.view.document,"mouseup",()=>{i=!1,r=!1,e=null,n=null}),this.listenTo(t.editing.view.document,"selectionChange",t=>{r&&t.stop()},{priority:"highest"})}_getModelTableCellFromDomEvent(t){const e=t.target,n=this.editor.editing.view.createPositionAt(e,0);return this.editor.editing.mapper.toModelPosition(n).parent.findAncestor("tableCell",{includeSelf:!0})}}function l_(t,e){return t.parent.parent==e.parent.parent}function u_(t){const e=t.getSelectedElement();return e&&h_(e)?e:null}function d_(t){const e=function(t,e){let n=e.parent;for(;n;){if(n.name===t)return n;n=n.parent}}("table",t.getFirstPosition());return e&&h_(e.parent)?e.parent:null}function h_(t){return!!t.getCustomProperty("table")&&Fd(t)}n(106);const f_={autoRefresh:!0};class p_{constructor(t,e=f_){if(!t)throw new c.a("token-missing-token-url",this);e.initValue&&this._validateTokenValue(e.initValue),this.set("value",e.initValue),this._refresh="function"==typeof t?t:()=>{return e=t,new Promise((t,n)=>{const i=new XMLHttpRequest;i.open("GET",e),i.addEventListener("load",()=>{const e=i.status,r=i.response;return e<200||e>299?n(new c.a("token-cannot-download-new-token",null)):t(r)}),i.addEventListener("error",()=>n(new Error("Network Error"))),i.addEventListener("abort",()=>n(new Error("Abort"))),i.send()});var e},this._options=Object.assign({},f_,e)}init(){return new Promise((t,e)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),t(this)):this.refreshToken().then(t).cat
457ch(e)})}refreshToken(){return this._refresh().then(t=>{this._validateTokenValue(t),this.set("value",t),this._options.autoRefresh&&this._registerRefreshTokenTimeout()}).then(()=>this)}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(t){const e="string"==typeof t,n=!/^".*"$/.test(t),i=e&&3===t.split(".").length;if(!n||!i)throw new c.a("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(){const t=this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout(()=>{this.refreshToken()},t)}_getTokenRefreshTimeoutTime(){try{const[,t]=this.value.split("."),{exp:e}=JSON.parse(atob(t));return e?Math.floor((1e3*e-Date.now())/2):36e5}catch(t){return 36e5}}static create(t,e=f_){return new p_(t,e).init()}}Gt(p_,Vt);var m_=p_;const g_=/^data:(\S*?);base64,/;class v_{constructor(t,e,n){if(!t)throw new c.a("fileuploader-missing-file",null);if(!e)throw new c.a("fileuploader-missing-token",null);if(!n)throw new c.a("fileuploader-missing-api-address",null);this.file=function(t){if("string"!=typeof t)return!1;const e=t.match(g_);return!(!e||!e.length)}(t)?function(t,e=512){try{const n=t.match(g_)[1],i=atob(t.replace(g_,"")),r=[];for(let t=0;t<i.length;t+=e){const n=i.slice(t,t+e),o=new Array(n.length);for(let t=0;t<n.length;t++)o[t]=n.charCodeAt(t);r.push(new Uint8Array(o))}return new Blob(r,{type:n})}catch(t){throw new c.a("fileuploader-decoding-image-data-error",null)}}(t):t,this._token=e,this._apiAddress=n}onProgress(t){return this.on("progress",(e,n)=>t(n)),this}onError(t){return this.once("error",(e,n)=>t(n)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const t=new XMLHttpRequest;t.open("POST",this._apiAddress),t.setRequestHeader("Authorization",this._token.value),t.responseType="json",this.xhr=t}_attachXHRListeners(){const t=this,e=this.xhr;function n(e){return()=>t.fire("error",e)}e.addEventListener("error",n("Network Error")),e.addEventListener("abort",n("Abort")),e.upload&&e.upload.addEventListener("progress",t=>{t.lengthComputable&&this.fire("progress",{total:t.total,uploaded:t.loaded})}),e.addEventListener("load",()=>{const t=e.status,n=e.response;if(t<200||t>299)return this.fire("error",n.message||n.error)})}_sendRequest(){const t=new FormData,e=this.xhr;return t.append("file",this.file),new Promise((n,i)=>{e.addEventListener("load",()=>{const t=e.status,r=e.response;return t<200||t>299?r.message?i(new c.a("fileuploader-uploading-data-failed",this,{message:r.message})):i(r.error):n(r)}),e.addEventListener("error",()=>i(new Error("Network Error"))),e.addEventListener("abort",()=>i(new Error("Abort"))),e.send(t)})}}Gt(v_,d);class __{constructor(t,e){if(!t)throw new c.a("uploadgateway-missing-token",null);if(!e)throw new c.a("uploadgateway-missing-api-address",null);this._token=t,this._apiAddress=e}upload(t){return new v_(t,this._token,this._apiAddress)}}class y_ extends si{static get pluginName(){return"CloudServicesCore"}createToken(t,e){return new m_(t,e)}createUploadGateway(t,e){return new __(t,e)}}class b_ extends xd{}b_.builtinPlugins=[class extends Zt{static get requires(){return[vh,Pd,Ch,wh,Ih,df]}static get pluginName(){return"Essentials"}},class extends Zt{static get requires(){return[ff]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const t=this.editor.config.get("ckfinder.uploadUrl");t&&(this.editor.plugins.get(ff).createUploadAdapter=e=>new _f(e,t,this.editor.t))}},class extends Zt{static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const t=this.editor.commands;t.get("bulletedList")&&yf(this.editor,this,/^[*-]\s$/,"bulletedList"),t.get("numberedList")&&yf(this.editor,this,/^1[.|)]\s$/,"numberedList"),t.get("todoList")&&yf(this.editor,this,/^\[\s?\]\s$/,"todoList"),t.get("checkTodoList")&&yf(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get("bold")){const t=kf(this.editor,"bold");bf(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),bf(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(t.get("italic")){const t=kf(this.editor,"italic");bf(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),bf(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(t.get("code")){const t=kf(this.editor,"code");bf(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(t.get("strikethrough")){const t=kf(this.editor,"strikethrough");bf(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get("heading");t&&t.modelElements.filter(t=>
457t.match(/^heading[1-6]$/)).forEach(e=>{const n=e[7],i=new RegExp(`^(#{${n}})\\s$`);yf(this.editor,this,i,()=>{if(!t.isEnabled||t.value===e)return!1;this.editor.execute("heading",{value:e})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&yf(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){this.editor.commands.get("codeBlock")&&yf(this.editor,this,/^```$/,"codeBlock")}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&yf(this.editor,this,/^---$/,"horizontalLine")}},class extends Zt{static get requires(){return[Tf,Mf]}static get pluginName(){return"Bold"}},class extends Zt{static get requires(){return[Sf,Cf]}static get pluginName(){return"Italic"}},class extends Zt{static get requires(){return[Pf,Df]}static get pluginName(){return"BlockQuote"}},class extends Zt{static get pluginName(){return"CKFinder"}static get requires(){return["Image","Link","CKFinderUploadAdapter",Nf,jf]}},class extends si{static get pluginName(){return"CloudServices"}static get requires(){return[y_]}init(){const t=this.context.config.get("cloudServices")||{};for(const e in t)this[e]=t[e];if(this._tokens=new Map,this.tokenUrl)return this.token=this.context.plugins.get("CloudServicesCore").createToken(this.tokenUrl),this._tokens.set(this.tokenUrl,this.token),this.token.init();this.token=null}registerTokenUrl(t){if(this._tokens.has(t))return Promise.resolve(this.getTokenFor(t));const e=this.context.plugins.get("CloudServicesCore").createToken(t);return this._tokens.set(t,e),e.init()}getTokenFor(t){const e=this._tokens.get(t);if(!e)throw new c.a("cloudservices-token-not-registered",this);return e}destroy(){super.destroy();for(const t of this._tokens.values())t.destroy()}},class extends Zt{static get requires(){return[Yf,"Image","ImageUpload"]}static get pluginName(){return"EasyImage"}},class extends Zt{static get requires(){return[$f,Xf]}static get pluginName(){return"Heading"}},class extends Zt{static get requires(){return[lp,ch,gp]}static get pluginName(){return"Image"}isImageWidget(t){return ep(t)}},class extends Zt{static get requires(){return[yp]}static get pluginName(){return"ImageCaption"}},class extends Zt{static get requires(){return[Ap,Op]}static get pluginName(){return"ImageStyle"}},class extends Zt{static get requires(){return[qf]}static get pluginName(){return"ImageToolbar"}afterInit(){const t=this.editor,e=t.t;t.plugins.get(qf).register("image",{ariaLabel:e("Image toolbar"),items:t.config.get("image.toolbar")||[],getRelatedElement:np})}},class extends Zt{static get pluginName(){return"ImageUpload"}static get requires(){return[Up,Ip,Rp]}},class extends Zt{static get pluginName(){return"Indent"}static get requires(){return[$p,Gp]}},class extends Zt{static get requires(){return[Sm,Om,jm]}static get pluginName(){return"Link"}},class extends Zt{static get requires(){return[ag,cg]}static get pluginName(){return"List"}},class extends Zt{static get requires(){return[gg,bg,_g,ch]}static get pluginName(){return"MediaEmbed"}},Vf,class extends Zt{static get pluginName(){return"PasteFromOffice"}static get requires(){return[Cd]}init(){const t=this.editor,e=t.editing.view.document,n=[];n.push(new Pg(e)),n.push(new Sg(e)),t.plugins.get("ClipboardPipeline").on("inputTransformation",(t,e)=>{if(e.isTransformedWithPasteFromOffice)return;const i=e.dataTransfer.getData("text/html"),r=n.find(t=>t.isActive(i));r&&(r.execute(e),e.isTransformedWithPasteFromOffice=!0)},{priority:"high"})}},class extends Zt{static get requires(){return[Zv,Qv,e_,c_,a_,n_,ch]}static get pluginName(){return"Table"}},class extends Zt{static get requires(){return[qf]}static get pluginName(){return"TableToolbar"}afterInit(){const t=this.editor,e=t.t,n=t.plugins.get(qf),i=t.config.get("table.contentToolbar"),r=t.config.get("table.tableToolbar");i&&n.register("tableContent",{ariaLabel:e("Table toolbar"),items:i,getRelatedElement:d_}),r&&n.register("table",{ariaLabel:e("Table toolbar"),items:r,getRelatedElement:u_})}},class extends Zt{static get pluginName(){return"TextTransformation"}constructor(t){super(t),t.config.define("typing",{transformations:{include:qh}})}init(){const t=this.editor.model.document.selection;t.on("change:range",()=>{this.isEnabled=!t.anchor.parent.is("element","codeBlock")}),this._enableTransformationWatchers()}_enableTransformationWatchers(){const t=this.editor,e=t.model,n=t.plugins.get("Input"),i=function(t){const e=t.extra||[],n=t.remove||[],i=t=>!n.includes(t);return function(t){const e=new Set;for(const n of t)if(Xh[n])for(const t of Xh[n])e.add(t);else e.add(n);return Array.from(e)}(t.include.concat(e).filter(i)).filter(i).map(t=>$h[t]||t).map(t=>({from:Gh(t.from),to:Zh(t.to)}))}(t.config.get("typing.transformations")),r=new Nh(t.model,t=>{for(const e of i)if(e.from.test(t))return{normalizedTransformation:e}});r.on("matched:data",(t,i)=>{if(!n.isInput(i.batch))return;const{from:r,to:o}=i.normalizedTransformation,a=r.exec(i.text),s=o(a.slice(1)),c=i.range;let l=a.index;e.enqueueChange(t=>{for(let n=1;n<a.length;n++){const i=a[n],r=s[n-1];if(null==r){l+=i.length;continue}const o=c.start.getShiftedBy(l),u=e.createRange(o,o.getShiftedBy(i.length)),d=Jh(o);e.insertContent(t.createText(r,d),u),l+=r.length}})}),r.bind("isEnabled").to(this)}}],b_.defaultConfig={toolbar:{items:["heading","|","bold","italic","link","bulletedList","numberedList","|","outdent","indent","|","uploadImage","blockQuote","insertTable","mediaEmbed","undo","redo"]}
457,image:{toolbar:["imageStyle:full","imageStyle:side","|","imageTextAlternative"]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},language:"en"}}]).default}))},fb6a:function(t,e,n){"use strict";var i=n("23e7"),r=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),c=n("fc6a"),l=n("8418"),u=n("b622"),d=n("1dde"),h=d("slice"),f=u("species"),p=[].slice,m=Math.max;i({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var n,i,u,d=c(this),h=s(d.length),g=a(t,h),v=a(void 0===e?h:e,h);if(o(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[f],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return p.call(d,g,v);for(i=new(void 0===n?Array:n)(m(v-g,0)),u=0;g<v;g++,u++)g in d&&l(i,u,d[g]);return i.length=u,i}})},fbba:function(t,e,n){"use strict";var i=n("e11e"),r=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},o=function(t,e,n,o){var a=function(o){var a="set"+r(o),s=n[o].type===Object||n[o].type===Array||Array.isArray(n[o].type);n[o].custom&&t[a]?t.$watch(o,(function(e,n){t[a](e,n)}),{deep:s}
457):"setOptions"===a?t.$watch(o,(function(t,n){Object(i["setOptions"])(e,t)}),{deep:s}):e[a]&&t.$watch(o,(function(t,n){e[a](t)}),{deep:s})};for(var s in n)a(s)},a=function(t){var e={};for(var n in t){var i=t[n];null!==i&&void 0!==i&&(e[n]=i)}return e},s=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=a(n);t=a(t);var r=e.$options.props;for(var o in t){var s=r[o]?r[o].default&&"function"===typeof r[o].default?r[o].default.call():r[o].default:Symbol("unique"),c=!1;c=Array.isArray(s)?JSON.stringify(s)===JSON.stringify(t[o]):s===t[o],i[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),i[o]=t[o]):i[o]||(i[o]=t[o])}return i},c=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={name:"LIcon",props:{iconUrl:{type:String,custom:!0,default:null},iconRetinaUrl:{type:String,custom:!0,default:null},iconSize:{type:[Object,Array],custom:!0,default:null},iconAnchor:{type:[Object,Array],custom:!0,default:null},popupAnchor:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},tooltipAnchor:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},shadowUrl:{type:String,custom:!0,default:null},shadowRetinaUrl:{type:String,custom:!0,default:null},shadowSize:{type:[Object,Array],custom:!0,default:null},shadowAnchor:{type:[Object,Array],custom:!0,default:null},bgPos:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},className:{type:String,custom:!0,default:""},options:{type:Object,custom:!0,default:function(){return{}}}},data:function(){return{parentContainer:null,observer:null,recreationNeeded:!1,swapHtmlNeeded:!1}},mounted:function(){var t=this;if(this.parentContainer=c(this.$parent),!this.parentContainer)throw new Error("No parent container with mapObject found for LIcon");o(this,this.parentContainer.mapObject,this.$options.props),this.observer=new MutationObserver((function(){t.scheduleHtmlSwap()})),this.observer.observe(this.$el,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this.scheduleCreateIcon()},beforeDestroy:function(){this.parentContainer.mapObject&&this.parentContainer.mapObject.setIcon(this.parentContainer.$props.icon),this.observer.disconnect()},methods:{scheduleCreateIcon:function(){this.recreationNeeded=!0,this.$nextTick(this.createIcon)},scheduleHtmlSwap:function(){this.htmlSwapNeeded=!0,this.$nextTick(this.createIcon)},createIcon:function(){if(this.htmlSwapNeeded&&!this.recreationNeeded&&this.iconObject&&this.parentContainer.mapObject.getElement())return this.parentContainer.mapObject.getElement().innerHTML=this.$el.innerHTML,void(this.htmlSwapNeeded=!1);if(this.recreationNeeded){this.iconObject&&i["DomEvent"].off(this.iconObject,this.$listeners);var t=s({iconUrl:this.iconUrl,iconRetinaUrl:this.iconRetinaUrl,iconSize:this.iconSize,iconAnchor:this.iconAnchor,popupAnchor:this.popupAnchor,tooltipAnchor:this.tooltipAnchor,shadowUrl:this.shadowUrl,shadowRetinaUrl:this.shadowRetinaUrl,shadowSize:this.shadowSize,shadowAnchor:this.shadowAnchor,bgPos:this.bgPos,className:this.className,html:this.$el.innerHTML||this.html},this);t.html?this.iconObject=Object(i["divIcon"])(t):this.iconObject=Object(i["icon"])(t),i["DomEvent"].on(this.iconObject,this.$listeners),this.parentContainer.mapObject.setIcon(this.iconObject),this.recreationNeeded=!1,this.htmlSwapNeeded=!1}},setIconUrl:function(){this.scheduleCreateIcon()},setIconRetinaUrl:function(){this.scheduleCreateIcon()},setIconSize:function(){this.scheduleCreateIcon()},setIconAnchor:function(){this.scheduleCreateIcon()},setPopupAnchor:function(){this.scheduleCreateIcon()},setTooltipAnchor:function(){this.scheduleCreateIcon()},setShadowUrl:function(){this.scheduleCreateIcon()},setShadowRetinaUrl:function(){this.scheduleCreateIcon()},setShadowAnchor:function(){this.scheduleCreateIcon()},setBgPos:function(){this.scheduleCreateIcon()},setClassName:function(){this.scheduleCreateIcon()},setHtml:function(){this.scheduleCreateIcon()}},render:function(){return null}};function u(t,e,n,i,r,o,a,s,c,l){"boolean"!==typeof a&&(c=s,s=a,a=!1);var u,d="function"===typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var d=l,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},f=[],p=void 0,m=void 0,g=void 0,v=!1,_=u({render:h,staticRenderFns:f},p,d,m,v,g,!1,void 0,void 0,void 0);e["a"]=_},fc5e:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(t))}},fc96:function(t,e,n){var i=n("512c");i(i.S+i.F*!n("0bad"),"Object",{defineProperties:n("85e7")})},fcd4:function(t,e,n){e.f=n("cc15")},fce3:function(t,e,n){var i=n("d039");t.exports=i((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fd7e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
458//! moment.js locale configuration 459var e=t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Ãp~rÃl_~Máý_~Júñé~_Júl~ý_Ãú~gúst~_Sép~témb~ér_Ã~ctób~ér_Ã~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ã~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"Ã~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~mÃñ~úté",mm:"%d m~Ãñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},fda2:function(t,e,n){},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var i=n("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fdc2:function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){"use strict";var t={code:"ru",week:{dow:1,doy:4},buttonText:{prev:"ÐÑед",next:"След",today:"СегоднÑ",month:"ÐеÑÑÑ",week:"ÐеделÑ",day:"ÐенÑ",list:"ÐовеÑÑка днÑ"},weekLabel:"Ðед",allDayText:"ÐеÑÑ Ð´ÐµÐ½Ñ",eventLimitText:function(t){return"+ еÑÑ "+t},noEventsMessage:"ÐÐµÑ ÑобÑÑий Ð´Ð»Ñ Ð¾ÑобÑажениÑ"};return t}))},fe6c:function(t,e,n){"use strict";n("ac1f"),n("5319"),n("1276"),n("fb6a"),n("99af"),n("b64b");var i=n("eb99"),r=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",d=function(t,e){var n,d={},h=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=h.split(e.delimiter,f),m=-1,g=e.charset;if(e.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&(p[n]===u?g="utf-8":p[n]===l&&(g="iso-8859-1"),m=n,n=p.length);for(n=0;n<p.length;++n)if(n!==m){var v,_,y=p[n],b=y.indexOf("]="),w=-1===b?y.indexOf("="):b+1;-1===w?(v=e.decoder(y,a.decoder,g,"key"),_=e.strictNullHandling?null:""):(v=e.decoder(y.slice(0,w),a.decoder,g,"key"),_=i.maybeMap(c(y.slice(w+1),e),(function(t){return e.decoder(t,a.decoder,g,"value")}))),_&&e.interpretNumericEntities&&"iso-8859-1"===g&&(_=s(_)),y.indexOf("[]=")>-1&&(_=o(_)?[_]:_),r.call(d,v)?d[v]=i.combine(d[v],_):d[v]=_}return d},h=function(t,e,n,i){for(var r=i?e:c(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>
vendor: 2,717 bytes, line 459
459=0&&n.parseArrays&&u<=n.arrayLimit?(a=[],a[u]=r):a[l]=r:a={0:r}}r=a}return r},f=function(t,e,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=n.depth>0&&a.exec(o),l=c?o.slice(0,c.index):o,u=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}var d=0;while(n.depth>0&&null!==(c=s.exec(o))&&d<n.depth){if(d+=1,!n.plainObjects&&r.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+o.slice(c.index)+"]"),h(u,e,n,i)}},p=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e="undefined"===typeof t.charset?a.charset:t.charset;return{allowDots:"undefined"===typeof t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"===typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"===typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof t.comma?t.comma:a.comma,decoder:"function"===typeof t.decoder?t.decoder:a.decoder,delimiter:"string"===typeof t.delimiter||i.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"===typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"===typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var n=p(e);if(""===t||null===t||"undefined"===typeof t)return n.plainObjects?Object.create(null):{};for(var r="string"===typeof t?d(t,n):t,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),s=0;s<a.length;++s){var c=a[s],l=f(c,r[c],n,"string"===typeof t);o=i.merge(o,l,n)}return!0===n.allowSparse?o:i.compact(o)}},fea9:function(t,e,n){var i=n("da84");t.exports=i.Promise},fed5:function(t,e){e.f=Object.getOwnPropertySymbols},ff81:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={type:Boolean,default:!1}},ffff:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
460//! moment.js locale configuration 461var e=t.defineLocale("se",{months:"oÄÄajagemánnu_guovvamánnu_njukÄamánnu_cuoÅománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maÅ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maÅit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))}}]); 462//# sourceMappingURL=chunk-vendors.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.