UNPKG

kd-api-project-21building

Version:

KD-API-PROJECT

1 lines 349 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.KdApi=t():e.KdApi=t()}(self,(function(){return(()=>{var e={8883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(8081),s=n.n(a),r=n(3645),i=n.n(r)()(s());i.push([e.id,"div,\ni,\nbutton {\n margin: 0;\n padding: 0;\n}\n.kd-message {\n font-family: '\\5FAE\\8F6F\\96C5\\9ED1', Helvetica, sans-serif;\n font-size: 12px;\n z-index: 99999;\n text-align: center;\n}\n.kd-message {\n box-sizing: border-box;\n position: fixed;\n top: -200px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 99999;\n padding: 8px 32px 8px 32px;\n min-width: 20%;\n max-width: 50%;\n border-radius: 4px;\n transition: top 0.3s;\n}\n/* info 消息 */\n.kd-type__block—-info {\n background: #edf2fc;\n border: 1px solid #ebeef5;\n color: #909399;\n}\n/* success 消息 */\n.kd-type__block—-success {\n background: #f0f9eb;\n border: 1px solid #e1f3d8;\n color: #67c23a;\n}\n/* error 消息 */\n.kd-type__block—-error {\n background: #fef0f0;\n border: 1px solid #fde2e2;\n color: #f56c6c;\n}\n/* warning 消息 */\n.kd-type__block—-warning {\n background: #fdf6ec;\n border: 1px solid #faecd8;\n color: #e6a23c;\n}\n.kd__icon--close {\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 16px;\n height: 16px;\n line-height: 16px;\n text-align: center;\n font-style: normal;\n cursor: pointer;\n}\n",""]);const o=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,s,r){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var o=0;o<this.length;o++){var d=this[o][0];null!=d&&(i[d]=!0)}for(var u=0;u<e.length;u++){var _=[].concat(e[u]);a&&i[_[0]]||(void 0!==r&&(void 0===_[5]||(_[1]="@layer".concat(_[5].length>0?" ".concat(_[5]):""," {").concat(_[1],"}")),_[5]=r),n&&(_[2]?(_[1]="@media ".concat(_[2]," {").concat(_[1],"}"),_[2]=n):_[2]=n),s&&(_[4]?(_[1]="@supports (".concat(_[4],") {").concat(_[1],"}"),_[4]=s):_[4]="".concat(s)),t.push(_))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},4542:e=>{self,e.exports=(()=>{"use strict";var e={272:(e,t,n)=>{var a=n(723),s=[],r=[],i=a.makeRequestCallFromTimer((function(){if(r.length)throw r.shift()}));function o(e){var t;(t=s.length?s.pop():new d).task=e,a(t)}function d(){this.task=null}e.exports=o,d.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(r.push(e),i())}finally{this.task=null,s[s.length]=this}}},723:(e,t,n)=>{function a(e){r.length||s(),r[r.length]=e}e.exports=a;var s,r=[],i=0;function o(){for(;i<r.length;){var e=i;if(i+=1,r[e].call(),i>1024){for(var t=0,n=r.length-i;t<n;t++)r[t]=r[t+i];r.length-=i,i=0}}r.length=0,i=0}var d,u,_,m=void 0!==n.g?n.g:self,l=m.MutationObserver||m.WebKitMutationObserver;function c(e){return function(){var t=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof l?(d=1,u=new l(o),_=document.createTextNode(""),u.observe(_,{characterData:!0}),s=function(){d=-d,_.data=d}):s=c(o),a.requestFlush=s,a.makeRequestCallFromTimer=c},883:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(81),s=n.n(a),r=n(645),i=n.n(r)()(s());i.push([e.id,"div,\ni,\nbutton {\n margin: 0;\n padding: 0;\n}\n.kd-message {\n font-family: '\\5FAE\\8F6F\\96C5\\9ED1', Helvetica, sans-serif;\n font-size: 12px;\n z-index: 99999;\n text-align: center;\n}\n.kd-message {\n box-sizing: border-box;\n position: fixed;\n top: -200px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 99999;\n padding: 8px 32px 8px 32px;\n min-width: 20%;\n max-width: 50%;\n border-radius: 4px;\n transition: top 0.3s;\n}\n/* info 消息 */\n.kd-type__block—-info {\n background: #edf2fc;\n border: 1px solid #ebeef5;\n color: #909399;\n}\n/* success 消息 */\n.kd-type__block—-success {\n background: #f0f9eb;\n border: 1px solid #e1f3d8;\n color: #67c23a;\n}\n/* error 消息 */\n.kd-type__block—-error {\n background: #fef0f0;\n border: 1px solid #fde2e2;\n color: #f56c6c;\n}\n/* warning 消息 */\n.kd-type__block—-warning {\n background: #fdf6ec;\n border: 1px solid #faecd8;\n color: #e6a23c;\n}\n.kd__icon--close {\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 16px;\n height: 16px;\n line-height: 16px;\n text-align: center;\n font-style: normal;\n cursor: pointer;\n}\n",""]);const o=i},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,s,r){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var o=0;o<this.length;o++){var d=this[o][0];null!=d&&(i[d]=!0)}for(var u=0;u<e.length;u++){var _=[].concat(e[u]);a&&i[_[0]]||(void 0!==r&&(void 0===_[5]||(_[1]="@layer".concat(_[5].length>0?" ".concat(_[5]):""," {").concat(_[1],"}")),_[5]=r),n&&(_[2]?(_[1]="@media ".concat(_[2]," {").concat(_[1],"}"),_[2]=n):_[2]=n),s&&(_[4]?(_[1]="@supports (".concat(_[4],") {").concat(_[1],"}"),_[4]=s):_[4]="".concat(s)),t.push(_))}},t}},81:e=>{e.exports=function(e){return e[1]}},259:(e,t,n)=>{e.exports=n(159)},434:(e,t,n)=>{var a=n(723);function s(){}var r=null,i={};function o(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._U=0,this._V=0,this._W=null,this._X=null,e!==s&&c(e,this)}function d(e,t){for(;3===e._V;)e=e._W;if(o._Y&&o._Y(e),0===e._V)return 0===e._U?(e._U=1,void(e._X=t)):1===e._U?(e._U=2,void(e._X=[e._X,t])):void e._X.push(t);!function(e,t){a((function(){var n=1===e._V?t.onFulfilled:t.onRejected;if(null!==n){var a=function(e,t){try{return e(t)}catch(e){return r=e,i}}(n,e._W);a===i?_(t.promise,r):u(t.promise,a)}else 1===e._V?u(t.promise,e._W):_(t.promise,e._W)}))}(e,t)}function u(e,t){if(t===e)return _(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=function(e){try{return e.then}catch(e){return r=e,i}}(t);if(n===i)return _(e,r);if(n===e.then&&t instanceof o)return e._V=3,e._W=t,void m(e);if("function"==typeof n)return void c(n.bind(t),e)}e._V=1,e._W=t,m(e)}function _(e,t){e._V=2,e._W=t,o._Z&&o._Z(e,t),m(e)}function m(e){if(1===e._U&&(d(e,e._X),e._X=null),2===e._U){for(var t=0;t<e._X.length;t++)d(e,e._X[t]);e._X=null}}function l(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function c(e,t){var n=!1,a=function(e,a,s){try{e((function(e){n||(n=!0,u(t,e))}),(function(e){n||(n=!0,_(t,e))}))}catch(e){return r=e,i}}(e);n||a!==i||(n=!0,_(t,r))}e.exports=o,o._Y=null,o._Z=null,o._0=s,o.prototype.then=function(e,t){if(this.constructor!==o)return function(e,t,n){return new e.constructor((function(a,r){var i=new o(s);i.then(a,r),d(e,new l(t,n,i))}))}(this,e,t);var n=new o(s);return d(this,new l(e,t,n)),n}},445:(e,t,n)=>{var a=n(434);e.exports=a,a.prototype.done=function(e,t){(arguments.length?this.then.apply(this,arguments):this).then(null,(function(e){setTimeout((function(){throw e}),0)}))}},803:(e,t,n)=>{var a=n(434);e.exports=a;var s=_(!0),r=_(!1),i=_(null),o=_(void 0),d=_(0),u=_("");function _(e){var t=new a(a._0);return t._V=1,t._W=e,t}a.resolve=function(e){if(e instanceof a)return e;if(null===e)return i;if(void 0===e)return o;if(!0===e)return s;if(!1===e)return r;if(0===e)return d;if(""===e)return u;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new a(t.bind(e))}catch(e){return new a((function(t,n){n(e)}))}return _(e)};var m=function(e){return"function"==typeof Array.from?(m=Array.from,Array.from(e)):(m=function(e){return Array.prototype.slice.call(e)},Array.prototype.slice.call(e))};a.all=function(e){var t=m(e);return new a((function(e,n){if(0===t.length)return e([]);var s=t.length;function r(i,o){if(o&&("object"==typeof o||"function"==typeof o)){if(o instanceof a&&o.then===a.prototype.then){for(;3===o._V;)o=o._W;return 1===o._V?r(i,o._W):(2===o._V&&n(o._W),void o.then((function(e){r(i,e)}),n))}var d=o.then;if("function"==typeof d)return void new a(d.bind(o)).then((function(e){r(i,e)}),n)}t[i]=o,0==--s&&e(t)}for(var i=0;i<t.length;i++)r(i,t[i])}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){m(e).forEach((function(e){a.resolve(e).then(t,n)}))}))},a.prototype.catch=function(e){return this.then(null,e)}},29:(e,t,n)=>{var a=n(434);e.exports=a,a.prototype.finally=function(e){return this.then((function(t){return a.resolve(e()).then((function(){return t}))}),(function(t){return a.resolve(e()).then((function(){throw t}))}))}},159:(e,t,n)=>{e.exports=n(434),n(445),n(29),n(803),n(490),n(690)},490:(e,t,n)=>{var a=n(434),s=n(272);e.exports=a,a.denodeify=function(e,t){return"number"==typeof t&&t!==1/0?function(e,t){for(var n=[],s=0;s<t;s++)n.push("a"+s);var i=["return function ("+n.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(n).concat([r]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],i)(a,e)}(e,t):function(e){for(var t=Math.max(e.length-1,3),n=[],s=0;s<t;s++)n.push("a"+s);var i=["return function ("+n.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+t+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+r+";","var res;","switch (argLength) {",n.concat(["extra"]).map((function(e,t){return"case "+t+":res = fn.call("+["self"].concat(n.slice(0,t)).concat("cb").join(",")+");break;"})).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],i)(a,e)}(e)};var r="function (err, res) {if (err) { rj(err); } else { rs(res); }}";a.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments),n="function"==typeof t[t.length-1]?t.pop():null,r=this;try{return e.apply(this,arguments).nodeify(n,r)}catch(e){if(null==n)return new a((function(t,n){n(e)}));s((function(){n.call(r,e)}))}}},a.prototype.nodeify=function(e,t){if("function"!=typeof e)return this;this.then((function(n){s((function(){e.call(t,null,n)}))}),(function(n){s((function(){e.call(t,n)}))}))}},690:(e,t,n)=>{var a=n(434);e.exports=a,a.enableSynchronous=function(){a.prototype.isPending=function(){return 0==this.getState()},a.prototype.isFulfilled=function(){return 1==this.getState()},a.prototype.isRejected=function(){return 2==this.getState()},a.prototype.getValue=function(){if(3===this._V)return this._W.getValue();if(!this.isFulfilled())throw new Error("Cannot get a value of an unfulfilled promise.");return this._W},a.prototype.getReason=function(){if(3===this._V)return this._W.getReason();if(!this.isRejected())throw new Error("Cannot get a rejection reason of a non-rejected promise.");return this._W},a.prototype.getState=function(){return 3===this._V?this._W.getState():-1===this._V||-2===this._V?0:this._V}},a.disableSynchronous=function(){a.prototype.isPending=void 0,a.prototype.isFulfilled=void 0,a.prototype.isRejected=void 0,a.prototype.getValue=void 0,a.prototype.getReason=void 0,a.prototype.getState=void 0}},379:e=>{var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var r={},i=[],o=0;o<e.length;o++){var d=e[o],u=a.base?d[0]+a.base:d[0],_=r[u]||0,m="".concat(u," ").concat(_);r[u]=_+1;var l=n(m),c={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==l)t[l].references++,t[l].updater(c);else{var h=s(c,a);a.byIndex=o,t.splice(o,0,{identifier:m,updater:h,references:1})}i.push(m)}return i}function s(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,s){var r=a(e=e||[],s=s||{});return function(e){e=e||[];for(var i=0;i<r.length;i++){var o=n(r[i]);t[o].references--}for(var d=a(e,s),u=0;u<r.length;u++){var _=n(r[u]);0===t[_].references&&(t[_].updater(),t.splice(_,1))}r=d}}},569:e=>{var t={};e.exports=function(e,n){var a=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(e){n=null}t[e]=n}return t[e]}(e);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(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,s&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(a){var s=t[a];if(void 0!==s)return s.exports;var r=t[a]={id:a,exports:{}};return e[a](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{InitClientSocket:()=>v,sendEvent:()=>T});var e={AltLeft:53,AltRight:54,ArrowDown:64,ArrowLeft:61,ArrowRight:62,ArrowUp:63,Backquote:4,Backslash:10,Backspace:65,CapsLock:72,Comma:7,ContextMenu:59,ControlLeft:55,ControlRight:56,Delete:71,Digit0:50,Digit1:41,Digit2:42,Digit3:43,Digit4:44,Digit5:45,Digit6:46,Digit7:47,Digit8:48,Digit9:49,End:69,Enter:2,Equals:14,Escape:60,F1:94,F10:103,F11:104,F12:105,F2:95,F3:96,F4:97,F5:98,F6:99,F7:100,F8:101,F9:102,Home:68,Insert:70,KeyA:15,KeyB:16,KeyC:17,KeyD:18,KeyE:19,KeyF:20,KeyG:21,KeyH:22,KeyI:23,KeyJ:24,KeyK:25,KeyL:26,KeyM:27,KeyN:28,KeyO:29,KeyP:30,KeyQ:31,KeyR:32,KeyS:33,KeyT:34,KeyU:35,KeyV:36,KeyW:37,KeyX:38,KeyY:39,KeyZ:40,LeftBracket:11,MetaLeft:57,MetaRight:58,Minus:13,NumLock:73,Numpad0:84,Numpad1:85,Numpad2:86,Numpad3:87,Numpad4:88,Numpad5:89,Numpad6:90,Numpad7:91,Numpad8:92,Numpad9:93,NumpadDivide:78,NumpadEnter:77,NumpadEquals:83,NumpadMinus:81,NumpadMultiply:79,NumpadPeriod:82,NumpadPlus:80,PageDown:66,PageUp:67,Pause:76,Period:8,PrintScreen:74,Quote:5,RightBracket:12,ScrollLock:75,Semicolon:6,ShiftLeft:51,ShiftRight:52,Slash:9,Space:1,Tab:3};function t(t){return e[t]}var s=function(){function e(){}return e.getVertexPosition=function(e){if(!e)return null;var t=e.offsetTop;return{left:e.offsetLeft,top:t}},e.registerEvents=function(e,n){var a=this;this.channel=e,n.addEventListener("mouseover",(function(){a.cMouse.b=!0}),!1),n.addEventListener("mousemove",(function(e){a.cMouse.originX=n.videoWidth,a.cMouse.originY=n.videoHeight;var t=a.getMouseScreenPos(e,n),s=t.X,r=t.Y;a.mouse.x=s,a.mouse.y=r,a.cMouse.b&&(a.cMouse.b=!1)}),!1),n.addEventListener("mousedown",(function(e){switch(e.button){case 0:a.mouse.left=!0;break;case 1:a.mouse.middle=!0;break;case 2:a.mouse.right=!0}}),!1),n.addEventListener("mouseup",(function(e){switch(e.button){case 0:a.mouse.left=!1;break;case 1:a.mouse.middle=!1;break;case 2:a.mouse.right=!1}}),!1),addEventListener("mouseout",(function(){a.mouse.left=!1,a.mouse.middle=!1,a.mouse.right=!1,a.cMouse.b=!1}),!1),n.addEventListener("wheel",(function(e){a.mouse.wheelx=a.cMouse.wheelX=e.deltaX+a.cMouse.wheelX,a.mouse.wheely=a.cMouse.wheelY=e.deltaY+a.cMouse.wheelY}),!1),window.onkeydown=function(e){var n={code:102,order:JSON.stringify({isdown:!0,key:t(e.code)})};a.sendData(n)},window.onkeyup=function(e){var n={code:102,order:JSON.stringify({isdown:!1,key:t(e.code)})};a.sendData(n)}},e.getMouseScreenPos=function(e,t){var n=0,a=0,s=t.clientWidth,r=t.clientHeight;if(this.cMouse.originX/this.cMouse.originY>s/r){var i=s/this.cMouse.originX;n=Math.round(e.offsetX/s*this.cMouse.originX),a=Math.round(this.cMouse.originY-(e.offsetY-(r-this.cMouse.originY*i)/2)/i)}else i=r/this.cMouse.originY,n=Math.round((e.offsetX-(s-this.cMouse.originX*i)/2)/i),a=Math.round(this.cMouse.originY-e.offsetY/r*this.cMouse.originY);return{X:n,Y:a}},e.sendData=function(e){e&&this.dataList.push(e)},e.sendMouseData=function(){this.channel&&(this.mouse.wheelx&&this.mouse.wheely||(this.mouse.wheelx=0,this.mouse.wheely=0),this.mouse.x>0&&this.mouse.y>0&&(this.cMouse.deltaX=this.mouse.x-this.cMouse.x,this.cMouse.deltaY=this.mouse.y-this.cMouse.y,this.cMouse.x=this.mouse.x,this.cMouse.y=this.mouse.y,this.cMouse.middle=this.mouse.middle,this.cMouse.left=this.mouse.left,this.cMouse.right=this.mouse.right,this.sendData({code:101,order:JSON.stringify(this.cMouse)}),this.cMouse.wheelX=0,this.cMouse.wheelY=0,this.mouse.wheelx=0,this.mouse.wheely=0))},e.prototype.sendAllData=function(){return t=this,void 0,a=function(){var t=this;return function(e,t){var n,a,s,r,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(r){return function(o){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(s=2&r[0]?a.return:r[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;switch(a=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,a=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==r[0]&&2!==r[0])){i=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(6===r[0]&&i.label<s[1]){i.label=s[1],s=r;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(r);break}s[2]&&i.ops.pop(),i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e],a=0}finally{n=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,o])}}}(this,(function(n){return e.channel&&"open"===e.channel.readyState&&(e.sendMouseData(),e.channel.send(JSON.stringify(e.dataList)),e.dataList=[]),setTimeout((function(){t.sendAllData()}),1e3/60),[2]}))},new((n=void 0)||(n=Promise))((function(e,s){function r(e){try{o(a.next(e))}catch(e){s(e)}}function i(e){try{o(a.throw(e))}catch(e){s(e)}}function o(t){var a;t.done?e(t.value):(a=t.value,a instanceof n?a:new n((function(e){e(a)}))).then(r,i)}o((a=a.apply(t,[])).next())}));var t,n,a},e.channel=null,e.code=101,e.mouse={left:!1,middle:!1,right:!1,wheelx:0,wheely:0,x:0,y:0},e.cMouse={b:!1,deltaX:0,deltaY:0,left:!1,middle:!1,originX:0,originY:0,right:!1,wheelX:0,wheelY:0,x:0,y:0},e.dataList=[],e}();(new s).sendAllData();var r=n(379),i=n.n(r),o=n(795),d=n.n(o),u=n(569),_=n.n(u),m=n(565),l=n.n(m),c=n(216),h=n.n(c),M=n(589),f=n.n(M),y=n(883),L={};L.styleTagTransform=f(),L.setAttributes=l(),L.insert=_().bind(null,"head"),L.domAPI=d(),L.insertStyleElement=h(),i()(y.Z,L),y.Z&&y.Z.locals&&y.Z.locals;var p=function(){function e(e){this.duration=2500,this.autoTimer=null,this.messageBox=document.createElement("div"),this.message=e.message,this.type=e.type,this.duration=e.duration,this.status=e.status,this.options=e,this.init()}return e.prototype.init=function(){if("message"===this.status)return this.createMessage(),void this.open()},e.prototype.createMessage=function(){var e=this,t=document.createElement("span");t.id="KdClose",t.className="kd__icon--close",t.innerText="x",this.messageBox.className="kd-message kd-type__block—-".concat(this.type),this.messageBox.appendChild(t);var n=document.createElement("span");n.innerText="".concat(this.message),this.messageBox.prepend(n),document.body.appendChild(this.messageBox),this.messageBox.onclick=function(t){var n=t.target;n&&"KdClose"===n.id&&e.close()}},e.prototype.open=function(){var e=this;if("message"===this.status){var t=(document.querySelectorAll(".kd-message")||[]).length||1;return this.messageBox.style.top="".concat(t<=1?20:20+50*(t-1),"px"),void(this.autoTimer=setTimeout((function(){e.close()}),this.duration))}},e.prototype.close=function(){var e=this;"message"===this.status&&(clearTimeout(this.autoTimer),this.messageBox.style.top="-200px",this.messageBox.addEventListener("transitionend",(function(){document.body.removeChild(e.messageBox)})))},e.autoTimer=null,e}();function Y(e){return e=Object.assign({duration:e.duration||2500,message:"我是默认信息",status:"message",type:"info"},e),new p(e)}function D(){for(var e="",t=1;t<=32;t++)e+=Math.floor(16*Math.random()).toString(16);return e}var g=navigator.appVersion.indexOf("ZFBrowser")>0,k=n(259);document.oncontextmenu=function(){return!1};var v=function(){function e(){}return e.init=function(t,n,a){var s=this;return new Promise((function(r,i){if(!t)return i("请传入Dom节点id!");if(s.removePlayDom=document.getElementById(t),!s.removePlayDom)return i("需要实例一个video标签!");if(g)return r("底座连接成功!");if(!n)return i("请传入合理的底座引擎地址!");window.ws&&s.close();var o="".concat(n,"&").concat(navigator.userAgent.split(";")[1].replace(/\s/g,""),"&").concat(a);s.setTimeoutWs=setTimeout((function(){window.ws=s.ws=new WebSocket(o),s.ws&&window.WebSocket||i("您当前浏览器不支持WebSocket,为了更好的用户体验,请更换为谷歌浏览器!"),s.ws.onopen=function(){e.remoteClient=new RTCPeerConnection({iceServers:[{urls:["stun:stun.xten.com:3478"]}]}),e.remoteClient.addEventListener("addstream",(function(t){e.removeStream=t.stream,e.removePlayDom?(e.removePlayDom.srcObject=e.removeStream,e.removePlayDom.play(),S(),r("底座连接成功!")):i("底座打开失败!")}))},s.ws.onmessage=function(e){return w(e)},s.ws.onclose=function(){s.remoteClient&&s.remoteClient.close(),delete window.ws,r("当前底座已经关闭!")},s.ws.onerror=function(){console.log("报错了"),i("socket链接错误,请检查传入的地址!")}}),300)}))},e.close=function(){var e=this;return new Promise((function(){clearTimeout(e.setTimeoutWs),e.ws&&window.ws.close(),window.ws&&(window.ws.close(),delete window.ws),console.log("======当前底座已经关闭!")}))},e.progress=function(e){this.removePlayDom.handle&&this.removePlayDom.removeEventListener("load-stream",this.removePlayDom.handle),this.removePlayDom.handle=function(t){e(t.detail)},this.removePlayDom.addEventListener("load-stream",this.removePlayDom.handle)},e.getpos=function(e){this.removePlayDom.handled&&this.removePlayDom.removeEventListener("poi-data",this.removePlayDom.handled),this.removePlayDom.handled=function(t){e(t.detail)},this.removePlayDom.addEventListener("poi-data",this.removePlayDom.handled)},e.getPosXY=function(e){this.removePlayDom.handledxy&&this.removePlayDom.removeEventListener("poi-xy",this.removePlayDom.handledxy),this.removePlayDom.handledxy=function(t){e(t.detail)},this.removePlayDom.addEventListener("poi-xy",this.removePlayDom.handledxy)},e.getScreenPoint=function(e){this.removePlayDom.handledScreenPoint&&this.removePlayDom.removeEventListener("screen-point",this.removePlayDom.handledScreenPoint),this.removePlayDom.handledScreenPoint=function(t){e(t.detail)},this.removePlayDom.addEventListener("screen-point",this.removePlayDom.handledScreenPoint)},e.getTwinsBodyCode=function(e){this.removePlayDom.handleBodyCode&&this.removePlayDom.removeEventListener("twins-body-code",this.removePlayDom.handleBodyCode),this.removePlayDom.handleBodyCode=function(t){e(t.detail)},this.removePlayDom.addEventListener("twins-body-code",this.removePlayDom.handleBodyCode)},e.ws=null,e.remoteClient=null,e.removeStream=null,e.removePlayDom=null,e.receiveChannel=[],e.promisePool={},e.setTimeoutWs=null,e.isZFBrowser=g,e}(),w=function(e){if(e.data){var t=JSON.parse(e.data),n=t.code,a=t.data;if("Offer"===n){var s=new RTCSessionDescription({sdp:a,type:"offer"});v.remoteClient.setRemoteDescription(s).then((function(){v.remoteClient.createAnswer().then((function(e){!function(e){v.remoteClient.setLocalDescription(e).then((function(){var t=JSON.stringify({code:"Ans",data:e.sdp});v.ws.send(t)})).catch((function(e){Y({message:e?e.message:"系统报错!",type:"error"})}))}(e)}))})).catch((function(e){Y({message:e?e.message:"系统报错!",type:"error"})}))}"Cand"===n&&(r=JSON.parse(a),i=new RTCIceCandidate({candidate:r.candidate,sdpMLineIndex:r.sdpMLineIndex,sdpMid:r.sdpMid}),v.remoteClient.addIceCandidate(i).catch((function(e){console.log(e)}))),"alert"===n&&Y({message:a||"底座引擎监听错误消息",type:"error"})}else Y({message:"系统报错!",type:"error"});var r,i},S=function(){v.remoteClient.ondatachannel=function(e){v.receiveChannel=e.channel,s.registerEvents(v.receiveChannel,v.removePlayDom),v.receiveChannel.onmessage=function(e){if(e&&e.data){var t=JSON.parse(e.data);!t||t.length<=0||t.forEach((function(e){var t=e.code,n=e.order;if(200===t)H(JSON.parse(n));else if(301===t||302===t){var a=new CustomEvent("load-stream",{detail:302===t?JSON.parse(n).data:100});v.removePlayDom.dispatchEvent(a)}else if(304===t){var s=new CustomEvent("poi-xy",{detail:n?JSON.parse(n).data:""});v.removePlayDom.dispatchEvent(s)}else if(305===t){var r=new CustomEvent("poi-data",{detail:n?JSON.parse(n).data:""});v.removePlayDom.dispatchEvent(r)}else if(306===t){var i=new CustomEvent("screen-point",{detail:n?JSON.parse(n).data:""});v.removePlayDom.dispatchEvent(i)}else if(307===t){var o=new CustomEvent("twins-body-code",{detail:n?JSON.parse(n).data:""});v.removePlayDom.dispatchEvent(o)}}))}},v.remoteClient.onicecandidate=function(e){var t=e.candidate;if(t){var n={candidate:t.candidate,sdpMLineIndex:t.sdpMLineIndex,sdpMid:t.sdpMid},a={code:"Cand",data:JSON.stringify(n)},s=JSON.stringify(a);v.ws.send(s)}}}},T=function(e,t,n){if(g)return b(e,t,n);if(v.ws&&1===v.ws.readyState){var a=D();return new Promise((function(s,r){if(v.ws&&v.receiveChannel){v.promisePool[a]={action:t,data:n,reject:r,resolve:s,token:a};var i=[{code:200,order:JSON.stringify({action:t,package:e,param:n,token:a})}];v.receiveChannel.send(JSON.stringify(i))}else r("请先链接底座!")}))}return Promise.reject("请先链接底座!")},b=function(e,t,n){var a=D();return new k((function(r,i){v.promisePool[a]={action:t,data:n,reject:i,resolve:r,token:a},s.dataList.push({code:200,order:JSON.stringify({action:t,package:e,param:n,token:a})})}))},H=function(e){var t=e.token,n=e.code,a=e.data,s=e.message;if(t){var r=v.promisePool[t];if(!t||200!==n)return r.reject(s||"不规范的报文");if(r){var i={code:n,data:a?JSON.parse(a):{},message:s};return delete v.promisePool[t],r.resolve(i)}}};g&&(window.sendAlldata=function(){s.dataList.length>0&&(window.send(JSON.stringify(s.dataList)),s.dataList=[]),setTimeout(window.sendAlldata,1e3/60)},window.sendAlldata(),window.ReceiveMsg=function(e){if(e){var t=JSON.parse(e);!t||t.length<=0||t.forEach((function(e){var t=e.code,n=e.order,a=JSON.parse(n);if([200,306,307].indexOf(t)>-1)return H(a);if(301===t||302===t){var s=new CustomEvent("load-stream",{detail:302===t?a.data:100});v.removePlayDom.dispatchEvent(s)}if(304===t){var r=new CustomEvent("poi-xy",{detail:304===t?a.data:""});v.removePlayDom.dispatchEvent(r)}}))}})})(),a})()},2786:function(e,t,n){!function(e){"use strict";e.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(381))},4130:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{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:4}})}(n(381))},6135:function(e,t,n){!function(e){"use strict";e.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}})}(n(381))},6440:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,s,r,i){var o=n(t),d=a[e][n(t)];return 2===o&&(d=d[s?0:1]),d.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{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(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(381))},7702:function(e,t,n){!function(e){"use strict";e.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:6,doy:12}})}(n(381))},6040:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(381))},7100:function(e,t,n){!function(e){"use strict";e.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}})}(n(381))},867:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={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(e){return function(t,n,r,i){var o=a(t),d=s[e][a(t)];return 2===o&&(d=d[n?0:1]),d.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(381))},1083:function(e,t,n){!function(e){"use strict";var t={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ı"};e.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:"birneçə 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(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(381))},9808:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(a=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),a%10==1&&a%100!=11?s[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?s[1]:s[2]);var a,s}e.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:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(381))},8338:function(e,t,n){!function(e){"use strict";e.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 дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(381))},7438:function(e,t,n){!function(e){"use strict";e.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}})}(n(381))},8905:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(381))},1560:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{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:"[བདུན་ཕྲག་རྗེས་མ], 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(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(381))},1278:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}e.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("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(381))},622:function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=e+" ";switch(n){case"ss":return a+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return a+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta")