mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
0c56a3e599
Made-with: Cursor Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
336 lines
1.6 MiB
Plaintext
336 lines
1.6 MiB
Plaintext
(window["webpackJsonp_"]=window["webpackJsonp_"]||[]).push([["chunk-18dffd92"],{"0563":function(e,t,n){"use strict";n.r(t),n.d(t,"DecodedFrameType",(function(){return k}));var r=function(){var e="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;return function(t){t=t||{};var n,r;t="undefined"!==typeof t?t:{};t["ready"]=new Promise((function(e,t){n=e,r=t}));var i,a={};for(i in t)t.hasOwnProperty(i)&&(a[i]=t[i]);var o,s,l=[],c="./this.program",u=!0,d=!1,h="";function f(e){return t["locateFile"]?t["locateFile"](e,h):h+e}(u||d)&&(d?h=self.location.href:"undefined"!==typeof document&&document.currentScript&&(h=document.currentScript.src),e&&(h=e),h=0!==h.indexOf("blob:")?h.substr(0,h.lastIndexOf("/")+1):"",o=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(s=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)});var p=t["print"]||console.log.bind(console),m=t["printErr"]||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(t[i]=a[i]);a=null,t["arguments"]&&(l=t["arguments"]),t["thisProgram"]&&(c=t["thisProgram"]),t["quit"]&&t["quit"];var y=16;function v(e,t){return t||(t=y),Math.ceil(e/t)*t}function g(e,t){if("function"===typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},r={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},i=1;i<t.length;++i)r.parameters.push(n[t[i]]);return new WebAssembly.Function(r,e)}var a=[1,0,1,96],o=t.slice(0,1),s=t.slice(1),l={i:127,j:126,f:125,d:124};a.push(s.length);for(i=0;i<s.length;++i)a.push(l[s[i]]);"v"==o?a.push(0):a=a.concat([1,l[o]]),a[1]=a.length-2;var c=new Uint8Array([0,97,115,109,1,0,0,0].concat(a,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),u=new WebAssembly.Module(c),d=new WebAssembly.Instance(u,{e:{f:e}}),h=d.exports["f"];return h}var _,w,b,A=[];function k(){if(A.length)return A.pop();try{z.grow(1)}catch(m){if(!(m instanceof RangeError))throw m;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return z.length-1}function M(e,t){if(!_){_=new WeakMap;for(var n=0;n<z.length;n++){var r=z.get(n);r&&_.set(r,n)}}if(_.has(e))return _.get(e);var i=k();try{z.set(i,e)}catch(m){if(!(m instanceof TypeError))throw m;var a=g(e,t);z.set(i,a)}return _.set(e,i),i}function x(e){_.delete(z.get(e)),A.push(e)}function S(e,t){return M(e,t)}t["wasmBinary"]&&(w=t["wasmBinary"]),t["noExitRuntime"]&&t["noExitRuntime"],"object"!==typeof WebAssembly&&oe("no native wasm support detected");var L=!1;function T(e,t){e||oe("Assertion failed: "+t)}var D,E,C,Y,P,O="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;function I(e,t,n){var r=t+n,i=t;while(e[i]&&!(i>=r))++i;if(i-t>16&&e.subarray&&O)return O.decode(e.subarray(t,i));var a="";while(t<i){var o=e[t++];if(128&o){var s=63&e[t++];if(192!=(224&o)){var l=63&e[t++];if(o=224==(240&o)?(15&o)<<12|s<<6|l:(7&o)<<18|s<<12|l<<6|63&e[t++],o<65536)a+=String.fromCharCode(o);else{var c=o-65536;a+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else a+=String.fromCharCode((31&o)<<6|s)}else a+=String.fromCharCode(o)}return a}function R(e,t){return e?I(C,e,t):""}function N(e,t,n,r){if(!(r>0))return 0;for(var i=n,a=n+r-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343){var l=e.charCodeAt(++o);s=65536+((1023&s)<<10)|1023&l}if(s<=127){if(n>=a)break;t[n++]=s}else if(s<=2047){if(n+1>=a)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=a)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=a)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}return t[n]=0,n-i}function F(e,t,n){return N(e,C,t,n)}function j(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r>=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:4}return t}function B(e,t,n){for(var r=0;r<e.length;++r)E[t++>>0]=e.charCodeAt(r);n||(E[t>>0]=0)}function H(e,t){return e%t>0&&(e+=t-e%t),e}function W(e){D=e,t["HEAP8"]=E=new Int8Array(e),t["HEAP16"]=Y=new Int16Array(e),t["HEAP32"]=P=new Int32Array(e),t["HEAPU8"]=C=new Uint8Array(e),t["HEAPU16"]=new Uint16Array(e),t["HEAPU32"]=new Uint32Array(e),t["HEAPF32"]=new Float32Array(e),t["HEAPF64"]=new Float64Array(e)}t["INITIAL_MEMORY"];var z,U=[],V=[],G=[],Q=[];function J(){if(t["preRun"]){"function"==typeof t["preRun"]&&(t["preRun"]=[t["preRun"]]);while(t["preRun"].length)Z(t["preRun"].shift())}ye(U)}function q(){!0,t["noFSInit"]||Me.init.initialized||Me.init(),be.init(),ye(V)}function K(){Me.ignorePermissions=!1,ye(G)}function X(){if(t["postRun"]){"function"==typeof t["postRun"]&&(t["postRun"]=[t["postRun"]]);while(t["postRun"].length)$(t["postRun"].shift())}ye(Q)}function Z(e){U.unshift(e)}function $(e){Q.unshift(e)}var ee=0,te=null,ne=null;function re(e){return e}function ie(e){ee++,t["monitorRunDependencies"]&&t["monitorRunDependencies"](ee)}function ae(e){if(ee--,t["monitorRunDependencies"]&&t["monitorRunDependencies"](ee),0==ee&&(null!==te&&(clearInterval(te),te=null),ne)){var n=ne;ne=null,n()}}function oe(e){t["onAbort"]&&t["onAbort"](e),e+="",m(e),L=!0,1,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var n=new WebAssembly.RuntimeError(e);throw r(n),n}function se(e,t){return String.prototype.startsWith?e.startsWith(t):0===e.indexOf(t)}t["preloadedImages"]={},t["preloadedAudios"]={};var le="data:application/octet-stream;base64,";function ce(e){return se(e,le)}var ue,de,he="_api.wasm";function fe(e){try{if(e==he&&w)return new Uint8Array(w);if(s)return s(e);throw"both async and sync fetching of the wasm failed"}catch(m){oe(m)}}function pe(){return w||!u&&!d||"function"!==typeof fetch?Promise.resolve().then((function(){return fe(he)})):fetch(he,{credentials:"same-origin"}).then((function(e){if(!e["ok"])throw"failed to load wasm binary file at '"+he+"'";return e["arrayBuffer"]()})).catch((function(){return fe(he)}))}function me(){var e={a:Ke};function n(e,n){var r=e.exports;t["asm"]=r,b=t["asm"]["o"],W(b.buffer),z=t["asm"]["p"],ae("wasm-instantiate")}function i(e){n(e["instance"])}function a(t){return pe().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){m("failed to asynchronously prepare wasm: "+e),oe(e)}))}function o(){return w||"function"!==typeof WebAssembly.instantiateStreaming||ce(he)||"function"!==typeof fetch?a(i):fetch(he,{credentials:"same-origin"}).then((function(t){var n=WebAssembly.instantiateStreaming(t,e);return n.then(i,(function(e){return m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),a(i)}))}))}if(ie("wasm-instantiate"),t["instantiateWasm"])try{var s=t["instantiateWasm"](e,n);return s}catch(l){return m("Module.instantiateWasm callback failed with error: "+l),!1}return o().catch(r),{}}function ye(e){while(e.length>0){var n=e.shift();if("function"!=typeof n){var r=n.func;"number"===typeof r?void 0===n.arg?z.get(r)():z.get(r)(n.arg):r(void 0===n.arg?null:n.arg)}else n(t)}}function ve(e){return P[$e()>>2]=e,e}ce(he)||(he=f(he));var ge={splitPath:function(e){var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return t.exec(e).slice(1)},normalizeArray:function(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),n="/"===e.substr(-1);return e=ge.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=ge.splitPath(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(e){if("/"===e)return"/";e=ge.normalize(e),e=e.replace(/\/$/,"");var t=e.lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return ge.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return ge.normalize(e.join("/"))},join2:function(e,t){return ge.normalize(e+"/"+t)}};function _e(){if("object"===typeof crypto&&"function"===typeof crypto["getRandomValues"]){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}return function(){oe("randomDevice")}}var we={resolve:function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:Me.cwd();if("string"!==typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,t="/"===r.charAt(0)}return e=ge.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."},relative:function(e,t){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=we.resolve(e).substr(1),t=we.resolve(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),a=Math.min(r.length,i.length),o=a,s=0;s<a;s++)if(r[s]!==i[s]){o=s;break}var l=[];for(s=o;s<r.length;s++)l.push("..");return l=l.concat(i.slice(o)),l.join("/")}},be={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){be.ttys[e]={input:[],output:[],ops:t},Me.registerDevice(e,be.stream_ops)},stream_ops:{open:function(e){var t=be.ttys[e.node.rdev];if(!t)throw new Me.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,t,n,r,i){if(!e.tty||!e.tty.ops.get_char)throw new Me.ErrnoError(60);for(var a=0,o=0;o<r;o++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(l){throw new Me.ErrnoError(29)}if(void 0===s&&0===a)throw new Me.ErrnoError(6);if(null===s||void 0===s)break;a++,t[n+o]=s}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,n,r,i){if(!e.tty||!e.tty.ops.put_char)throw new Me.ErrnoError(60);try{for(var a=0;a<r;a++)e.tty.ops.put_char(e.tty,t[n+a])}catch(o){throw new Me.ErrnoError(29)}return r&&(e.node.timestamp=Date.now()),a}},default_tty_ops:{get_char:function(e){if(!e.input.length){var t=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?(t=window.prompt("Input: "),null!==t&&(t+="\n")):"function"==typeof readline&&(t=readline(),null!==t&&(t+="\n")),!t)return null;e.input=Je(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(p(I(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(p(I(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(m(I(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(m(I(e.output,0)),e.output=[])}}};function Ae(e){var t=v(e,16384),n=Ze(t);while(e<t)E[n+e++]=0;return n}var ke={ops_table:null,mount:function(e){return ke.createNode(null,"/",16895,0)},createNode:function(e,t,n,r){if(Me.isBlkdev(n)||Me.isFIFO(n))throw new Me.ErrnoError(63);ke.ops_table||(ke.ops_table={dir:{node:{getattr:ke.node_ops.getattr,setattr:ke.node_ops.setattr,lookup:ke.node_ops.lookup,mknod:ke.node_ops.mknod,rename:ke.node_ops.rename,unlink:ke.node_ops.unlink,rmdir:ke.node_ops.rmdir,readdir:ke.node_ops.readdir,symlink:ke.node_ops.symlink},stream:{llseek:ke.stream_ops.llseek}},file:{node:{getattr:ke.node_ops.getattr,setattr:ke.node_ops.setattr},stream:{llseek:ke.stream_ops.llseek,read:ke.stream_ops.read,write:ke.stream_ops.write,allocate:ke.stream_ops.allocate,mmap:ke.stream_ops.mmap,msync:ke.stream_ops.msync}},link:{node:{getattr:ke.node_ops.getattr,setattr:ke.node_ops.setattr,readlink:ke.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ke.node_ops.getattr,setattr:ke.node_ops.setattr},stream:Me.chrdev_stream_ops}});var i=Me.createNode(e,t,n,r);return Me.isDir(i.mode)?(i.node_ops=ke.ops_table.dir.node,i.stream_ops=ke.ops_table.dir.stream,i.contents={}):Me.isFile(i.mode)?(i.node_ops=ke.ops_table.file.node,i.stream_ops=ke.ops_table.file.stream,i.usedBytes=0,i.contents=null):Me.isLink(i.mode)?(i.node_ops=ke.ops_table.link.node,i.stream_ops=ke.ops_table.link.stream):Me.isChrdev(i.mode)&&(i.node_ops=ke.ops_table.chrdev.node,i.stream_ops=ke.ops_table.chrdev.stream),i.timestamp=Date.now(),e&&(e.contents[t]=i),i},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var t=[],n=0;n<e.usedBytes;++n)t.push(e.contents[n]);return t}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var n=e.contents?e.contents.length:0;if(!(n>=t)){var r=1048576;t=Math.max(t,n*(n<r?2:1.125)>>>0),0!=n&&(t=Math.max(t,256));var i=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(i.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t){if(0==t)return e.contents=null,void(e.usedBytes=0);if(!e.contents||e.contents.subarray){var n=e.contents;return e.contents=new Uint8Array(t),n&&e.contents.set(n.subarray(0,Math.min(t,e.usedBytes))),void(e.usedBytes=t)}if(e.contents||(e.contents=[]),e.contents.length>t)e.contents.length=t;else while(e.contents.length<t)e.contents.push(0);e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=Me.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,Me.isDir(e.mode)?t.size=4096:Me.isFile(e.mode)?t.size=e.usedBytes:Me.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&ke.resizeFileStorage(e,t.size)},lookup:function(e,t){throw Me.genericErrors[44]},mknod:function(e,t,n,r){return ke.createNode(e,t,n,r)},rename:function(e,t,n){if(Me.isDir(e.mode)){var r;try{r=Me.lookupNode(t,n)}catch(a){}if(r)for(var i in r.contents)throw new Me.ErrnoError(55)}delete e.parent.contents[e.name],e.name=n,t.contents[n]=e,e.parent=t},unlink:function(e,t){delete e.contents[t]},rmdir:function(e,t){var n=Me.lookupNode(e,t);for(var r in n.contents)throw new Me.ErrnoError(55);delete e.contents[t]},readdir:function(e){var t=[".",".."];for(var n in e.contents)e.contents.hasOwnProperty(n)&&t.push(n);return t},symlink:function(e,t,n){var r=ke.createNode(e,t,41471,0);return r.link=n,r},readlink:function(e){if(!Me.isLink(e.mode))throw new Me.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,n,r,i){var a=e.node.contents;if(i>=e.node.usedBytes)return 0;var o=Math.min(e.node.usedBytes-i,r);if(o>8&&a.subarray)t.set(a.subarray(i,i+o),n);else for(var s=0;s<o;s++)t[n+s]=a[i+s];return o},write:function(e,t,n,r,i,a){if(t.buffer===E.buffer&&(a=!1),!r)return 0;var o=e.node;if(o.timestamp=Date.now(),t.subarray&&(!o.contents||o.contents.subarray)){if(a)return o.contents=t.subarray(n,n+r),o.usedBytes=r,r;if(0===o.usedBytes&&0===i)return o.contents=t.slice(n,n+r),o.usedBytes=r,r;if(i+r<=o.usedBytes)return o.contents.set(t.subarray(n,n+r),i),r}if(ke.expandFileStorage(o,i+r),o.contents.subarray&&t.subarray)o.contents.set(t.subarray(n,n+r),i);else for(var s=0;s<r;s++)o.contents[i+s]=t[n+s];return o.usedBytes=Math.max(o.usedBytes,i+r),r},llseek:function(e,t,n){var r=t;if(1===n?r+=e.position:2===n&&Me.isFile(e.node.mode)&&(r+=e.node.usedBytes),r<0)throw new Me.ErrnoError(28);return r},allocate:function(e,t,n){ke.expandFileStorage(e.node,t+n),e.node.usedBytes=Math.max(e.node.usedBytes,t+n)},mmap:function(e,t,n,r,i,a){if(T(0===t),!Me.isFile(e.node.mode))throw new Me.ErrnoError(43);var o,s,l=e.node.contents;if(2&a||l.buffer!==D){if((r>0||r+n<l.length)&&(l=l.subarray?l.subarray(r,r+n):Array.prototype.slice.call(l,r,r+n)),s=!0,o=Ae(n),!o)throw new Me.ErrnoError(48);E.set(l,o)}else s=!1,o=l.byteOffset;return{ptr:o,allocated:s}},msync:function(e,t,n,r,i){if(!Me.isFile(e.node.mode))throw new Me.ErrnoError(43);if(2&i)return 0;ke.stream_ops.write(e,t,0,r,n,!1);return 0}}},Me={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e,t){if(e=we.resolve(Me.cwd(),e),t=t||{},!e)return{path:"",node:null};var n={follow_mount:!0,recurse_count:0};for(var r in n)void 0===t[r]&&(t[r]=n[r]);if(t.recurse_count>8)throw new Me.ErrnoError(32);for(var i=ge.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),a=Me.root,o="/",s=0;s<i.length;s++){var l=s===i.length-1;if(l&&t.parent)break;if(a=Me.lookupNode(a,i[s]),o=ge.join2(o,i[s]),Me.isMountpoint(a)&&(!l||l&&t.follow_mount)&&(a=a.mounted.root),!l||t.follow){var c=0;while(Me.isLink(a.mode)){var u=Me.readlink(o);o=we.resolve(ge.dirname(o),u);var d=Me.lookupPath(o,{recurse_count:t.recurse_count});if(a=d.node,c++>40)throw new Me.ErrnoError(32)}}}return{path:o,node:a}},getPath:function(e){var t;while(1){if(Me.isRoot(e)){var n=e.mount.mountpoint;return t?"/"!==n[n.length-1]?n+"/"+t:n+t:n}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var n=0,r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r)|0;return(e+n>>>0)%Me.nameTable.length},hashAddNode:function(e){var t=Me.hashName(e.parent.id,e.name);e.name_next=Me.nameTable[t],Me.nameTable[t]=e},hashRemoveNode:function(e){var t=Me.hashName(e.parent.id,e.name);if(Me.nameTable[t]===e)Me.nameTable[t]=e.name_next;else{var n=Me.nameTable[t];while(n){if(n.name_next===e){n.name_next=e.name_next;break}n=n.name_next}}},lookupNode:function(e,t){var n=Me.mayLookup(e);if(n)throw new Me.ErrnoError(n,e);for(var r=Me.hashName(e.id,t),i=Me.nameTable[r];i;i=i.name_next){var a=i.name;if(i.parent.id===e.id&&a===t)return i}return Me.lookup(e,t)},createNode:function(e,t,n,r){var i=new Me.FSNode(e,t,n,r);return Me.hashAddNode(i),i},destroyNode:function(e){Me.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768===(61440&e)},isDir:function(e){return 16384===(61440&e)},isLink:function(e){return 40960===(61440&e)},isChrdev:function(e){return 8192===(61440&e)},isBlkdev:function(e){return 24576===(61440&e)},isFIFO:function(e){return 4096===(61440&e)},isSocket:function(e){return 49152===(49152&e)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(e){var t=Me.flagModes[e];if("undefined"===typeof t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return Me.ignorePermissions||(-1===t.indexOf("r")||292&e.mode)&&(-1===t.indexOf("w")||146&e.mode)&&(-1===t.indexOf("x")||73&e.mode)?0:2},mayLookup:function(e){var t=Me.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{Me.lookupNode(e,t);return 20}catch(n){}return Me.nodePermissions(e,"wx")},mayDelete:function(e,t,n){var r;try{r=Me.lookupNode(e,t)}catch(a){return a.errno}var i=Me.nodePermissions(e,"wx");if(i)return i;if(n){if(!Me.isDir(r.mode))return 54;if(Me.isRoot(r)||Me.getPath(r)===Me.cwd())return 10}else if(Me.isDir(r.mode))return 31;return 0},mayOpen:function(e,t){return e?Me.isLink(e.mode)?32:Me.isDir(e.mode)&&("r"!==Me.flagsToPermissionString(t)||512&t)?31:Me.nodePermissions(e,Me.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(e,t){e=e||0,t=t||Me.MAX_OPEN_FDS;for(var n=e;n<=t;n++)if(!Me.streams[n])return n;throw new Me.ErrnoError(33)},getStream:function(e){return Me.streams[e]},createStream:function(e,t,n){Me.FSStream||(Me.FSStream=function(){},Me.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!==(2097155&this.flags)}},isWrite:{get:function(){return 0!==(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var r=new Me.FSStream;for(var i in e)r[i]=e[i];e=r;var a=Me.nextfd(t,n);return e.fd=a,Me.streams[a]=e,e},closeStream:function(e){Me.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=Me.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new Me.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){Me.devices[e]={stream_ops:t}},getDevice:function(e){return Me.devices[e]},getMounts:function(e){var t=[],n=[e];while(n.length){var r=n.pop();t.push(r),n.push.apply(n,r.mounts)}return t},syncfs:function(e,t){"function"===typeof e&&(t=e,e=!1),Me.syncFSRequests++,Me.syncFSRequests>1&&m("warning: "+Me.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=Me.getMounts(Me.root.mount),r=0;function i(e){return Me.syncFSRequests--,t(e)}function a(e){if(e)return a.errored?void 0:(a.errored=!0,i(e));++r>=n.length&&i(null)}n.forEach((function(t){if(!t.type.syncfs)return a(null);t.type.syncfs(t,e,a)}))},mount:function(e,t,n){var r,i="/"===n,a=!n;if(i&&Me.root)throw new Me.ErrnoError(10);if(!i&&!a){var o=Me.lookupPath(n,{follow_mount:!1});if(n=o.path,r=o.node,Me.isMountpoint(r))throw new Me.ErrnoError(10);if(!Me.isDir(r.mode))throw new Me.ErrnoError(54)}var s={type:e,opts:t,mountpoint:n,mounts:[]},l=e.mount(s);return l.mount=s,s.root=l,i?Me.root=l:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),l},unmount:function(e){var t=Me.lookupPath(e,{follow_mount:!1});if(!Me.isMountpoint(t.node))throw new Me.ErrnoError(28);var n=t.node,r=n.mounted,i=Me.getMounts(r);Object.keys(Me.nameTable).forEach((function(e){var t=Me.nameTable[e];while(t){var n=t.name_next;-1!==i.indexOf(t.mount)&&Me.destroyNode(t),t=n}})),n.mounted=null;var a=n.mount.mounts.indexOf(r);n.mount.mounts.splice(a,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,n){var r=Me.lookupPath(e,{parent:!0}),i=r.node,a=ge.basename(e);if(!a||"."===a||".."===a)throw new Me.ErrnoError(28);var o=Me.mayCreate(i,a);if(o)throw new Me.ErrnoError(o);if(!i.node_ops.mknod)throw new Me.ErrnoError(63);return i.node_ops.mknod(i,a,t,n)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,Me.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,Me.mknod(e,t,0)},mkdirTree:function(e,t){for(var n=e.split("/"),r="",i=0;i<n.length;++i)if(n[i]){r+="/"+n[i];try{Me.mkdir(r,t)}catch(a){if(20!=a.errno)throw a}}},mkdev:function(e,t,n){return"undefined"===typeof n&&(n=t,t=438),t|=8192,Me.mknod(e,t,n)},symlink:function(e,t){if(!we.resolve(e))throw new Me.ErrnoError(44);var n=Me.lookupPath(t,{parent:!0}),r=n.node;if(!r)throw new Me.ErrnoError(44);var i=ge.basename(t),a=Me.mayCreate(r,i);if(a)throw new Me.ErrnoError(a);if(!r.node_ops.symlink)throw new Me.ErrnoError(63);return r.node_ops.symlink(r,i,e)},rename:function(e,t){var n,r,i,a=ge.dirname(e),o=ge.dirname(t),s=ge.basename(e),l=ge.basename(t);if(n=Me.lookupPath(e,{parent:!0}),r=n.node,n=Me.lookupPath(t,{parent:!0}),i=n.node,!r||!i)throw new Me.ErrnoError(44);if(r.mount!==i.mount)throw new Me.ErrnoError(75);var c,u=Me.lookupNode(r,s),d=we.relative(e,o);if("."!==d.charAt(0))throw new Me.ErrnoError(28);if(d=we.relative(t,a),"."!==d.charAt(0))throw new Me.ErrnoError(55);try{c=Me.lookupNode(i,l)}catch(p){}if(u!==c){var h=Me.isDir(u.mode),f=Me.mayDelete(r,s,h);if(f)throw new Me.ErrnoError(f);if(f=c?Me.mayDelete(i,l,h):Me.mayCreate(i,l),f)throw new Me.ErrnoError(f);if(!r.node_ops.rename)throw new Me.ErrnoError(63);if(Me.isMountpoint(u)||c&&Me.isMountpoint(c))throw new Me.ErrnoError(10);if(i!==r&&(f=Me.nodePermissions(r,"w"),f))throw new Me.ErrnoError(f);try{Me.trackingDelegate["willMovePath"]&&Me.trackingDelegate["willMovePath"](e,t)}catch(p){m("FS.trackingDelegate['willMovePath']('"+e+"', '"+t+"') threw an exception: "+p.message)}Me.hashRemoveNode(u);try{r.node_ops.rename(u,i,l)}catch(p){throw p}finally{Me.hashAddNode(u)}try{Me.trackingDelegate["onMovePath"]&&Me.trackingDelegate["onMovePath"](e,t)}catch(p){m("FS.trackingDelegate['onMovePath']('"+e+"', '"+t+"') threw an exception: "+p.message)}}},rmdir:function(e){var t=Me.lookupPath(e,{parent:!0}),n=t.node,r=ge.basename(e),i=Me.lookupNode(n,r),a=Me.mayDelete(n,r,!0);if(a)throw new Me.ErrnoError(a);if(!n.node_ops.rmdir)throw new Me.ErrnoError(63);if(Me.isMountpoint(i))throw new Me.ErrnoError(10);try{Me.trackingDelegate["willDeletePath"]&&Me.trackingDelegate["willDeletePath"](e)}catch(o){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+o.message)}n.node_ops.rmdir(n,r),Me.destroyNode(i);try{Me.trackingDelegate["onDeletePath"]&&Me.trackingDelegate["onDeletePath"](e)}catch(o){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+o.message)}},readdir:function(e){var t=Me.lookupPath(e,{follow:!0}),n=t.node;if(!n.node_ops.readdir)throw new Me.ErrnoError(54);return n.node_ops.readdir(n)},unlink:function(e){var t=Me.lookupPath(e,{parent:!0}),n=t.node,r=ge.basename(e),i=Me.lookupNode(n,r),a=Me.mayDelete(n,r,!1);if(a)throw new Me.ErrnoError(a);if(!n.node_ops.unlink)throw new Me.ErrnoError(63);if(Me.isMountpoint(i))throw new Me.ErrnoError(10);try{Me.trackingDelegate["willDeletePath"]&&Me.trackingDelegate["willDeletePath"](e)}catch(o){m("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+o.message)}n.node_ops.unlink(n,r),Me.destroyNode(i);try{Me.trackingDelegate["onDeletePath"]&&Me.trackingDelegate["onDeletePath"](e)}catch(o){m("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+o.message)}},readlink:function(e){var t=Me.lookupPath(e),n=t.node;if(!n)throw new Me.ErrnoError(44);if(!n.node_ops.readlink)throw new Me.ErrnoError(28);return we.resolve(Me.getPath(n.parent),n.node_ops.readlink(n))},stat:function(e,t){var n=Me.lookupPath(e,{follow:!t}),r=n.node;if(!r)throw new Me.ErrnoError(44);if(!r.node_ops.getattr)throw new Me.ErrnoError(63);return r.node_ops.getattr(r)},lstat:function(e){return Me.stat(e,!0)},chmod:function(e,t,n){var r;if("string"===typeof e){var i=Me.lookupPath(e,{follow:!n});r=i.node}else r=e;if(!r.node_ops.setattr)throw new Me.ErrnoError(63);r.node_ops.setattr(r,{mode:4095&t|-4096&r.mode,timestamp:Date.now()})},lchmod:function(e,t){Me.chmod(e,t,!0)},fchmod:function(e,t){var n=Me.getStream(e);if(!n)throw new Me.ErrnoError(8);Me.chmod(n.node,t)},chown:function(e,t,n,r){var i;if("string"===typeof e){var a=Me.lookupPath(e,{follow:!r});i=a.node}else i=e;if(!i.node_ops.setattr)throw new Me.ErrnoError(63);i.node_ops.setattr(i,{timestamp:Date.now()})},lchown:function(e,t,n){Me.chown(e,t,n,!0)},fchown:function(e,t,n){var r=Me.getStream(e);if(!r)throw new Me.ErrnoError(8);Me.chown(r.node,t,n)},truncate:function(e,t){if(t<0)throw new Me.ErrnoError(28);var n;if("string"===typeof e){var r=Me.lookupPath(e,{follow:!0});n=r.node}else n=e;if(!n.node_ops.setattr)throw new Me.ErrnoError(63);if(Me.isDir(n.mode))throw new Me.ErrnoError(31);if(!Me.isFile(n.mode))throw new Me.ErrnoError(28);var i=Me.nodePermissions(n,"w");if(i)throw new Me.ErrnoError(i);n.node_ops.setattr(n,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var n=Me.getStream(e);if(!n)throw new Me.ErrnoError(8);if(0===(2097155&n.flags))throw new Me.ErrnoError(28);Me.truncate(n.node,t)},utime:function(e,t,n){var r=Me.lookupPath(e,{follow:!0}),i=r.node;i.node_ops.setattr(i,{timestamp:Math.max(t,n)})},open:function(e,n,r,i,a){if(""===e)throw new Me.ErrnoError(44);var o;if(n="string"===typeof n?Me.modeStringToFlags(n):n,r="undefined"===typeof r?438:r,r=64&n?4095&r|32768:0,"object"===typeof e)o=e;else{e=ge.normalize(e);try{var s=Me.lookupPath(e,{follow:!(131072&n)});o=s.node}catch(h){}}var l=!1;if(64&n)if(o){if(128&n)throw new Me.ErrnoError(20)}else o=Me.mknod(e,r,0),l=!0;if(!o)throw new Me.ErrnoError(44);if(Me.isChrdev(o.mode)&&(n&=-513),65536&n&&!Me.isDir(o.mode))throw new Me.ErrnoError(54);if(!l){var c=Me.mayOpen(o,n);if(c)throw new Me.ErrnoError(c)}512&n&&Me.truncate(o,0),n&=-131713;var u=Me.createStream({node:o,path:Me.getPath(o),flags:n,seekable:!0,position:0,stream_ops:o.stream_ops,ungotten:[],error:!1},i,a);u.stream_ops.open&&u.stream_ops.open(u),!t["logReadFiles"]||1&n||(Me.readFiles||(Me.readFiles={}),e in Me.readFiles||(Me.readFiles[e]=1,m("FS.trackingDelegate error on read file: "+e)));try{if(Me.trackingDelegate["onOpenFile"]){var d=0;1!==(2097155&n)&&(d|=Me.tracking.openFlags.READ),0!==(2097155&n)&&(d|=Me.tracking.openFlags.WRITE),Me.trackingDelegate["onOpenFile"](e,d)}}catch(h){m("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+h.message)}return u},close:function(e){if(Me.isClosed(e))throw new Me.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(t){throw t}finally{Me.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,n){if(Me.isClosed(e))throw new Me.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Me.ErrnoError(70);if(0!=n&&1!=n&&2!=n)throw new Me.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,n),e.ungotten=[],e.position},read:function(e,t,n,r,i){if(r<0||i<0)throw new Me.ErrnoError(28);if(Me.isClosed(e))throw new Me.ErrnoError(8);if(1===(2097155&e.flags))throw new Me.ErrnoError(8);if(Me.isDir(e.node.mode))throw new Me.ErrnoError(31);if(!e.stream_ops.read)throw new Me.ErrnoError(28);var a="undefined"!==typeof i;if(a){if(!e.seekable)throw new Me.ErrnoError(70)}else i=e.position;var o=e.stream_ops.read(e,t,n,r,i);return a||(e.position+=o),o},write:function(e,t,n,r,i,a){if(r<0||i<0)throw new Me.ErrnoError(28);if(Me.isClosed(e))throw new Me.ErrnoError(8);if(0===(2097155&e.flags))throw new Me.ErrnoError(8);if(Me.isDir(e.node.mode))throw new Me.ErrnoError(31);if(!e.stream_ops.write)throw new Me.ErrnoError(28);e.seekable&&1024&e.flags&&Me.llseek(e,0,2);var o="undefined"!==typeof i;if(o){if(!e.seekable)throw new Me.ErrnoError(70)}else i=e.position;var s=e.stream_ops.write(e,t,n,r,i,a);o||(e.position+=s);try{e.path&&Me.trackingDelegate["onWriteToFile"]&&Me.trackingDelegate["onWriteToFile"](e.path)}catch(l){m("FS.trackingDelegate['onWriteToFile']('"+e.path+"') threw an exception: "+l.message)}return s},allocate:function(e,t,n){if(Me.isClosed(e))throw new Me.ErrnoError(8);if(t<0||n<=0)throw new Me.ErrnoError(28);if(0===(2097155&e.flags))throw new Me.ErrnoError(8);if(!Me.isFile(e.node.mode)&&!Me.isDir(e.node.mode))throw new Me.ErrnoError(43);if(!e.stream_ops.allocate)throw new Me.ErrnoError(138);e.stream_ops.allocate(e,t,n)},mmap:function(e,t,n,r,i,a){if(0!==(2&i)&&0===(2&a)&&2!==(2097155&e.flags))throw new Me.ErrnoError(2);if(1===(2097155&e.flags))throw new Me.ErrnoError(2);if(!e.stream_ops.mmap)throw new Me.ErrnoError(43);return e.stream_ops.mmap(e,t,n,r,i,a)},msync:function(e,t,n,r,i){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,n,r,i):0},munmap:function(e){return 0},ioctl:function(e,t,n){if(!e.stream_ops.ioctl)throw new Me.ErrnoError(59);return e.stream_ops.ioctl(e,t,n)},readFile:function(e,t){if(t=t||{},t.flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var n,r=Me.open(e,t.flags),i=Me.stat(e),a=i.size,o=new Uint8Array(a);return Me.read(r,o,0,a,0),"utf8"===t.encoding?n=I(o,0):"binary"===t.encoding&&(n=o),Me.close(r),n},writeFile:function(e,t,n){n=n||{},n.flags=n.flags||577;var r=Me.open(e,n.flags,n.mode);if("string"===typeof t){var i=new Uint8Array(j(t)+1),a=N(t,i,0,i.length);Me.write(r,i,0,a,void 0,n.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Me.write(r,t,0,t.byteLength,void 0,n.canOwn)}Me.close(r)},cwd:function(){return Me.currentPath},chdir:function(e){var t=Me.lookupPath(e,{follow:!0});if(null===t.node)throw new Me.ErrnoError(44);if(!Me.isDir(t.node.mode))throw new Me.ErrnoError(54);var n=Me.nodePermissions(t.node,"x");if(n)throw new Me.ErrnoError(n);Me.currentPath=t.path},createDefaultDirectories:function(){Me.mkdir("/tmp"),Me.mkdir("/home"),Me.mkdir("/home/web_user")},createDefaultDevices:function(){Me.mkdir("/dev"),Me.registerDevice(Me.makedev(1,3),{read:function(){return 0},write:function(e,t,n,r,i){return r}}),Me.mkdev("/dev/null",Me.makedev(1,3)),be.register(Me.makedev(5,0),be.default_tty_ops),be.register(Me.makedev(6,0),be.default_tty1_ops),Me.mkdev("/dev/tty",Me.makedev(5,0)),Me.mkdev("/dev/tty1",Me.makedev(6,0));var e=_e();Me.createDevice("/dev","random",e),Me.createDevice("/dev","urandom",e),Me.mkdir("/dev/shm"),Me.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){Me.mkdir("/proc"),Me.mkdir("/proc/self"),Me.mkdir("/proc/self/fd"),Me.mount({mount:function(){var e=Me.createNode("/proc/self","fd",16895,73);return e.node_ops={lookup:function(e,t){var n=+t,r=Me.getStream(n);if(!r)throw new Me.ErrnoError(8);var i={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return r.path}}};return i.parent=i,i}},e}},{},"/proc/self/fd")},createStandardStreams:function(){t["stdin"]?Me.createDevice("/dev","stdin",t["stdin"]):Me.symlink("/dev/tty","/dev/stdin"),t["stdout"]?Me.createDevice("/dev","stdout",null,t["stdout"]):Me.symlink("/dev/tty","/dev/stdout"),t["stderr"]?Me.createDevice("/dev","stderr",null,t["stderr"]):Me.symlink("/dev/tty1","/dev/stderr");Me.open("/dev/stdin",0),Me.open("/dev/stdout",1),Me.open("/dev/stderr",1)},ensureErrnoError:function(){Me.ErrnoError||(Me.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},Me.ErrnoError.prototype=new Error,Me.ErrnoError.prototype.constructor=Me.ErrnoError,[44].forEach((function(e){Me.genericErrors[e]=new Me.ErrnoError(e),Me.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){Me.ensureErrnoError(),Me.nameTable=new Array(4096),Me.mount(ke,{},"/"),Me.createDefaultDirectories(),Me.createDefaultDevices(),Me.createSpecialDirectories(),Me.filesystems={MEMFS:ke}},init:function(e,n,r){Me.init.initialized=!0,Me.ensureErrnoError(),t["stdin"]=e||t["stdin"],t["stdout"]=n||t["stdout"],t["stderr"]=r||t["stderr"],Me.createStandardStreams()},quit:function(){Me.init.initialized=!1;var e=t["_fflush"];e&&e(0);for(var n=0;n<Me.streams.length;n++){var r=Me.streams[n];r&&Me.close(r)}},getMode:function(e,t){var n=0;return e&&(n|=365),t&&(n|=146),n},findObject:function(e,t){var n=Me.analyzePath(e,t);return n.exists?n.object:null},analyzePath:function(e,t){try{var n=Me.lookupPath(e,{follow:!t});e=n.path}catch(i){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{n=Me.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=ge.basename(e),n=Me.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(i){r.error=i.errno}return r},createPath:function(e,t,n,r){e="string"===typeof e?e:Me.getPath(e);var i=t.split("/").reverse();while(i.length){var a=i.pop();if(a){var o=ge.join2(e,a);try{Me.mkdir(o)}catch(s){}e=o}}return o},createFile:function(e,t,n,r,i){var a=ge.join2("string"===typeof e?e:Me.getPath(e),t),o=Me.getMode(r,i);return Me.create(a,o)},createDataFile:function(e,t,n,r,i,a){var o=t?ge.join2("string"===typeof e?e:Me.getPath(e),t):e,s=Me.getMode(r,i),l=Me.create(o,s);if(n){if("string"===typeof n){for(var c=new Array(n.length),u=0,d=n.length;u<d;++u)c[u]=n.charCodeAt(u);n=c}Me.chmod(l,146|s);var h=Me.open(l,577);Me.write(h,n,0,n.length,0,a),Me.close(h),Me.chmod(l,s)}return l},createDevice:function(e,t,n,r){var i=ge.join2("string"===typeof e?e:Me.getPath(e),t),a=Me.getMode(!!n,!!r);Me.createDevice.major||(Me.createDevice.major=64);var o=Me.makedev(Me.createDevice.major++,0);return Me.registerDevice(o,{open:function(e){e.seekable=!1},close:function(e){r&&r.buffer&&r.buffer.length&&r(10)},read:function(e,t,r,i,a){for(var o=0,s=0;s<i;s++){var l;try{l=n()}catch(c){throw new Me.ErrnoError(29)}if(void 0===l&&0===o)throw new Me.ErrnoError(6);if(null===l||void 0===l)break;o++,t[r+s]=l}return o&&(e.node.timestamp=Date.now()),o},write:function(e,t,n,i,a){for(var o=0;o<i;o++)try{r(t[n+o])}catch(s){throw new Me.ErrnoError(29)}return i&&(e.node.timestamp=Date.now()),o}}),Me.mkdev(i,a,o)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!==typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!o)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Je(o(e.url),!0),e.usedBytes=e.contents.length}catch(t){throw new Me.ErrnoError(29)}},createLazyFile:function(e,t,n,r,i){function a(){this.lengthKnown=!1,this.chunks=[]}if(a.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,n=e/this.chunkSize|0;return this.getter(n)[t]}},a.prototype.setDataGetter=function(e){this.getter=e},a.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",n,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+n+". Status: "+e.status);var t,r=Number(e.getResponseHeader("Content-length")),i=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,a=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,o=1048576;i||(o=r);var s=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==o&&i.setRequestHeader("Range","bytes="+e+"-"+t),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):Je(i.responseText||"",!0)},l=this;l.setDataGetter((function(e){var t=e*o,n=(e+1)*o-1;if(n=Math.min(n,r-1),"undefined"===typeof l.chunks[e]&&(l.chunks[e]=s(t,n)),"undefined"===typeof l.chunks[e])throw new Error("doXHR failed!");return l.chunks[e]})),!a&&r||(o=r=1,r=this.getter(0).length,o=r,p("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=o,this.lengthKnown=!0},"undefined"!==typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var o=new a;Object.defineProperties(o,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:o}}else s={isDevice:!1,url:n};var l=Me.createFile(e,t,s,r,i);s.contents?l.contents=s.contents:s.url&&(l.contents=null,l.url=s.url),Object.defineProperties(l,{usedBytes:{get:function(){return this.contents.length}}});var c={},u=Object.keys(l.stream_ops);return u.forEach((function(e){var t=l.stream_ops[e];c[e]=function(){return Me.forceLoadFile(l),t.apply(null,arguments)}})),c.read=function(e,t,n,r,i){Me.forceLoadFile(l);var a=e.node.contents;if(i>=a.length)return 0;var o=Math.min(a.length-i,r);if(a.slice)for(var s=0;s<o;s++)t[n+s]=a[i+s];else for(s=0;s<o;s++)t[n+s]=a.get(i+s);return o},l.stream_ops=c,l},createPreloadedFile:function(e,n,r,i,a,o,s,l,c,u){Browser.init();var d=n?we.resolve(ge.join2(e,n)):e,h=re("cp "+d);function f(r){function f(t){u&&u(),l||Me.createDataFile(e,n,t,i,a,c),o&&o(),ae(h)}var p=!1;t["preloadPlugins"].forEach((function(e){p||e["canHandle"](d)&&(e["handle"](r,d,f,(function(){s&&s(),ae(h)})),p=!0)})),p||f(r)}ie(h),"string"==typeof r?Browser.asyncLoad(r,(function(e){f(e)}),s):f(r)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,t,n){t=t||function(){},n=n||function(){};var r=Me.indexedDB();try{var i=r.open(Me.DB_NAME(),Me.DB_VERSION)}catch(a){return n(a)}i.onupgradeneeded=function(){p("creating db");var e=i.result;e.createObjectStore(Me.DB_STORE_NAME)},i.onsuccess=function(){var r=i.result,a=r.transaction([Me.DB_STORE_NAME],"readwrite"),o=a.objectStore(Me.DB_STORE_NAME),s=0,l=0,c=e.length;function u(){0==l?t():n()}e.forEach((function(e){var t=o.put(Me.analyzePath(e).object.contents,e);t.onsuccess=function(){s++,s+l==c&&u()},t.onerror=function(){l++,s+l==c&&u()}})),a.onerror=n},i.onerror=n},loadFilesFromDB:function(e,t,n){t=t||function(){},n=n||function(){};var r=Me.indexedDB();try{var i=r.open(Me.DB_NAME(),Me.DB_VERSION)}catch(a){return n(a)}i.onupgradeneeded=n,i.onsuccess=function(){var r=i.result;try{var o=r.transaction([Me.DB_STORE_NAME],"readonly")}catch(a){return void n(a)}var s=o.objectStore(Me.DB_STORE_NAME),l=0,c=0,u=e.length;function d(){0==c?t():n()}e.forEach((function(e){var t=s.get(e);t.onsuccess=function(){Me.analyzePath(e).exists&&Me.unlink(e),Me.createDataFile(ge.dirname(e),ge.basename(e),t.result,!0,!0,!0),l++,l+c==u&&d()},t.onerror=function(){c++,l+c==u&&d()}})),o.onerror=n},i.onerror=n}},xe={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t){if("/"!==t[0]){var n;if(-100===e)n=Me.cwd();else{var r=Me.getStream(e);if(!r)throw new Me.ErrnoError(8);n=r.path}t=ge.join2(n,t)}return t},doStat:function(e,t,n){try{var r=e(t)}catch(i){if(i&&i.node&&ge.normalize(t)!==ge.normalize(Me.getPath(i.node)))return-54;throw i}return P[n>>2]=r.dev,P[n+4>>2]=0,P[n+8>>2]=r.ino,P[n+12>>2]=r.mode,P[n+16>>2]=r.nlink,P[n+20>>2]=r.uid,P[n+24>>2]=r.gid,P[n+28>>2]=r.rdev,P[n+32>>2]=0,de=[r.size>>>0,(ue=r.size,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],P[n+40>>2]=de[0],P[n+44>>2]=de[1],P[n+48>>2]=4096,P[n+52>>2]=r.blocks,P[n+56>>2]=r.atime.getTime()/1e3|0,P[n+60>>2]=0,P[n+64>>2]=r.mtime.getTime()/1e3|0,P[n+68>>2]=0,P[n+72>>2]=r.ctime.getTime()/1e3|0,P[n+76>>2]=0,de=[r.ino>>>0,(ue=r.ino,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],P[n+80>>2]=de[0],P[n+84>>2]=de[1],0},doMsync:function(e,t,n,r,i){var a=C.slice(e,e+n);Me.msync(t,a,i,n,r)},doMkdir:function(e,t){return e=ge.normalize(e),"/"===e[e.length-1]&&(e=e.substr(0,e.length-1)),Me.mkdir(e,t,0),0},doMknod:function(e,t,n){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Me.mknod(e,t,n),0},doReadlink:function(e,t,n){if(n<=0)return-28;var r=Me.readlink(e),i=Math.min(n,j(r)),a=E[t+i];return F(r,t,n+1),E[t+i]=a,i},doAccess:function(e,t){if(-8&t)return-28;var n,r=Me.lookupPath(e,{follow:!0});if(n=r.node,!n)return-44;var i="";return 4&t&&(i+="r"),2&t&&(i+="w"),1&t&&(i+="x"),i&&Me.nodePermissions(n,i)?-2:0},doDup:function(e,t,n){var r=Me.getStream(n);return r&&Me.close(r),Me.open(e,t,0,n,n).fd},doReadv:function(e,t,n,r){for(var i=0,a=0;a<n;a++){var o=P[t+8*a>>2],s=P[t+(8*a+4)>>2],l=Me.read(e,E,o,s,r);if(l<0)return-1;if(i+=l,l<s)break}return i},doWritev:function(e,t,n,r){for(var i=0,a=0;a<n;a++){var o=P[t+8*a>>2],s=P[t+(8*a+4)>>2],l=Me.write(e,E,o,s,r);if(l<0)return-1;i+=l}return i},varargs:void 0,get:function(){xe.varargs+=4;var e=P[xe.varargs-4>>2];return e},getStr:function(e){var t=R(e);return t},getStreamFromFD:function(e){var t=Me.getStream(e);if(!t)throw new Me.ErrnoError(8);return t},get64:function(e,t){return e}};function Se(e,t,n){xe.varargs=n;try{var r=xe.getStreamFromFD(e);switch(t){case 0:var i,a=xe.get();return a<0?-28:(i=Me.open(r.path,r.flags,0,a),i.fd);case 1:case 2:return 0;case 3:return r.flags;case 4:a=xe.get();return r.flags|=a,0;case 12:a=xe.get();var o=0;return Y[a+o>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return ve(28),-1;default:return-28}}catch(s){return"undefined"!==typeof Me&&s instanceof Me.ErrnoError||oe(s),-s.errno}}function Le(e,t,n){xe.varargs=n;try{var r=xe.getStr(e),i=n?xe.get():0,a=Me.open(r,t,i);return a.fd}catch(o){return"undefined"!==typeof Me&&o instanceof Me.ErrnoError||oe(o),-o.errno}}function Te(){oe()}function De(){return void 0===De.start&&(De.start=Date.now()),1e3*(Date.now()-De.start)|0}function Ee(e,t,n){C.copyWithin(e,t,t+n)}function Ce(){return C.length}function Ye(e){try{return b.grow(e-D.byteLength+65535>>>16),W(b.buffer),1}catch(t){}}function Pe(e){e>>>=0;var t=Ce(),n=2147483648;if(e>n)return!1;for(var r=16777216,i=1;i<=4;i*=2){var a=t*(1+.2/i);a=Math.min(a,e+100663296);var o=Math.min(n,H(Math.max(r,e,a),65536)),s=Ye(o);if(s)return!0}return!1}var Oe={};function Ie(){return c||"./this.program"}function Re(){if(!Re.strings){var e=("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:Ie()};for(var n in Oe)t[n]=Oe[n];var r=[];for(var n in t)r.push(n+"="+t[n]);Re.strings=r}return Re.strings}function Ne(e,t){try{var n=0;return Re().forEach((function(r,i){var a=t+n;P[e+4*i>>2]=a,B(r,a),n+=r.length+1})),0}catch(r){return"undefined"!==typeof Me&&r instanceof Me.ErrnoError||oe(r),r.errno}}function Fe(e,t){try{var n=Re();P[e>>2]=n.length;var r=0;return n.forEach((function(e){r+=e.length+1})),P[t>>2]=r,0}catch(i){return"undefined"!==typeof Me&&i instanceof Me.ErrnoError||oe(i),i.errno}}function je(e){try{var t=xe.getStreamFromFD(e);return Me.close(t),0}catch(n){return"undefined"!==typeof Me&&n instanceof Me.ErrnoError||oe(n),n.errno}}function Be(e,t){try{var n=xe.getStreamFromFD(e),r=n.tty?2:Me.isDir(n.mode)?3:Me.isLink(n.mode)?7:4;return E[t>>0]=r,0}catch(i){return"undefined"!==typeof Me&&i instanceof Me.ErrnoError||oe(i),i.errno}}function He(e,t,n,r){try{var i=xe.getStreamFromFD(e),a=xe.doReadv(i,t,n);return P[r>>2]=a,0}catch(o){return"undefined"!==typeof Me&&o instanceof Me.ErrnoError||oe(o),o.errno}}function We(e,t,n,r,i){try{var a=xe.getStreamFromFD(e),o=4294967296,s=n*o+(t>>>0),l=9007199254740992;return s<=-l||s>=l?-61:(Me.llseek(a,s,r),de=[a.position>>>0,(ue=a.position,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],P[i>>2]=de[0],P[i+4>>2]=de[1],a.getdents&&0===s&&0===r&&(a.getdents=null),0)}catch(c){return"undefined"!==typeof Me&&c instanceof Me.ErrnoError||oe(c),c.errno}}function ze(e,t,n,r){try{var i=xe.getStreamFromFD(e),a=xe.doWritev(i,t,n);return P[r>>2]=a,0}catch(o){return"undefined"!==typeof Me&&o instanceof Me.ErrnoError||oe(o),o.errno}}function Ue(e){var t=Date.now();return P[e>>2]=t/1e3|0,P[e+4>>2]=t%1e3*1e3|0,0}var Ve=function(e,t,n,r){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Me.nextInode++,this.name=t,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},Ge=365,Qe=146;function Je(e,t,n){var r=n>0?n:j(e)+1,i=new Array(r),a=N(e,i,0,i.length);return t&&(i.length=a),i}Object.defineProperties(Ve.prototype,{read:{get:function(){return(this.mode&Ge)===Ge},set:function(e){e?this.mode|=Ge:this.mode&=~Ge}},write:{get:function(){return(this.mode&Qe)===Qe},set:function(e){e?this.mode|=Qe:this.mode&=~Qe}},isFolder:{get:function(){return Me.isDir(this.mode)}},isDevice:{get:function(){return Me.isChrdev(this.mode)}}}),Me.FSNode=Ve,Me.staticInit(),V.push({func:function(){Xe()}});var qe,Ke={f:Se,e:Le,a:Te,i:De,k:Ee,l:Pe,m:Ne,d:Fe,c:je,g:Be,h:He,j:We,b:ze,n:Ue},Xe=(me(),t["___wasm_call_ctors"]=function(){return(Xe=t["___wasm_call_ctors"]=t["asm"]["q"]).apply(null,arguments)}),Ze=(t["_free"]=function(){return(t["_free"]=t["asm"]["r"]).apply(null,arguments)},t["_malloc"]=function(){return(Ze=t["_malloc"]=t["asm"]["s"]).apply(null,arguments)}),$e=t["___errno_location"]=function(){return($e=t["___errno_location"]=t["asm"]["t"]).apply(null,arguments)};t["_MDEC_Create"]=function(){return(t["_MDEC_Create"]=t["asm"]["u"]).apply(null,arguments)},t["_MDEC_Config"]=function(){return(t["_MDEC_Config"]=t["asm"]["v"]).apply(null,arguments)},t["_MDEC_SetBufferAlloc"]=function(){return(t["_MDEC_SetBufferAlloc"]=t["asm"]["w"]).apply(null,arguments)},t["_MDEC_Open"]=function(){return(t["_MDEC_Open"]=t["asm"]["x"]).apply(null,arguments)},t["_MDEC_PutData"]=function(){return(t["_MDEC_PutData"]=t["asm"]["y"]).apply(null,arguments)},t["_MDEC_PutTimedData"]=function(){return(t["_MDEC_PutTimedData"]=t["asm"]["z"]).apply(null,arguments)},t["_MDEC_Destroy"]=function(){return(t["_MDEC_Destroy"]=t["asm"]["A"]).apply(null,arguments)},t["_ff_h264_cabac_tables"]=111957;function et(e){function r(){qe||(qe=!0,t["calledRun"]=!0,L||(q(),K(),n(t),t["onRuntimeInitialized"]&&t["onRuntimeInitialized"](),X()))}e=e||l,ee>0||(J(),ee>0||(t["setStatus"]?(t["setStatus"]("Running..."),setTimeout((function(){setTimeout((function(){t["setStatus"]("")}),1),r()}),1)):r()))}if(t["addFunction"]=S,t["removeFunction"]=x,ne=function e(){qe||et(),qe||(ne=e)},t["run"]=et,t["preInit"]){"function"==typeof t["preInit"]&&(t["preInit"]=[t["preInit"]]);while(t["preInit"].length>0)t["preInit"].pop()()}return!0,et(),t.ready}}(),i=r,a=n("6d1b"),o=n.n(a);let s,l=null;function c(){return null!==l&&l.buffer===s.memory.buffer||(l=new Int32Array(s.memory.buffer)),l}let u=null;function d(){return null!==u&&u.buffer===s.memory.buffer||(u=new Uint8Array(s.memory.buffer)),u}function h(e,t){return d().subarray(e/1,e/1+t)}function f(){try{const r=s.__wbindgen_add_to_stack_pointer(-16);s.getWasmData(r);var e=c()[r/4+0],t=c()[r/4+1],n=h(e,t).slice();return s.__wbindgen_free(e,1*t),n}finally{s.__wbindgen_add_to_stack_pointer(16)}}function p(){try{const r=s.__wbindgen_add_to_stack_pointer(-16);s.getJsData(r);var e=c()[r/4+0],t=c()[r/4+1],n=h(e,t).slice();return s.__wbindgen_free(e,1*t),n}finally{s.__wbindgen_add_to_stack_pointer(16)}}async function m(e,t){if("function"===typeof Response&&e instanceof Response){if("function"===typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if("application/wasm"==e.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function y(e){"undefined"===typeof e&&(e=new URL("media_decoder_bg.wasm",""));const t={};("string"===typeof e||"function"===typeof Request&&e instanceof Request||"function"===typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:r}=await m(await e,t);return s=n.exports,y.__wbindgen_wasm_module=r,s}var v=y;let g=!1;function _(e){return new Promise((t,n)=>{g?t(e()):fetch(o.a).then(r=>{v(r.arrayBuffer()).then(()=>{g=!0,t(e())}).catch(n)}).catch(n)})}function w(){return new Promise((e,t)=>{const n={instance:void 0};n.instance=i({instantiateWasm(e,n){return _(f).then(r=>{WebAssembly.instantiate(r,e).then((function(e){n(e.instance,e.module)}),(function(e){throw console.err("failed to prepare wasm"),t(e),e}))}),{}},onRuntimeInitialized(){e(n.instance)}})})}function b(){return new Promise((e,t)=>{_(f).then(t=>{e(t)}).catch(e=>t(e))})}function A(){return new Promise((e,t)=>{_(p).then(t=>{e(t)}).catch(e=>t(e))})}var k,M={load:w,getWasmData:b,getJsData:A},x=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};(function(e){e[e["MDEC_FRAME_UNKNOWN"]=0]="MDEC_FRAME_UNKNOWN",e[e["MDEC_FRAME_I420"]=1]="MDEC_FRAME_I420",e[e["MDEC_FRAME_NV12"]=2]="MDEC_FRAME_NV12",e[e["MDEC_FRAME_PCM"]=3]="MDEC_FRAME_PCM"})(k||(k={}));const S=1048576,L=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350,0,0,0],T=0,D=1,E=3,C=10;function Y(){const e=1,t=4,n=5,r=6,i=8,a=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350,0,0,0],o=1048576,s=0,l=1,c=3,u=10;self.moduleInited=!1,self.videoHandle=-1,self.audioHandle=-1,self.videoCodec=-1,self.audioCodec=-1,self.freqCh=0,self.streamId=0,self.dstSampleRate=0,self.onmessage=d=>{const h=d.data;if(s===h.type){self.postMessage({type:u});const o=new DataView(h.data.buffer),s=o.getUint8(0),l=o.getUint8(1);if(self.streamId=o.getUint8(3),l<128){if(l!=self.videoCodec){if(-1!=self.videoHandle&&(self.module._MDEC_Destroy(self.videoHandle),self.videoHandle=-1),self.videoHandle=self.module._MDEC_Create(l,self.decodeCallback,1),self.videoHandle<0)return void console.error("create decode handle failed ret="+self.videoHandle);self.module._MDEC_Config(self.videoHandle,i,16),self.module._MDEC_Config(self.videoHandle,e,0);const t=self.module._MDEC_Open(self.videoHandle);if(t<0)return void console.error("open video decoder failed ret="+self.audioHandle);self.videoCodec=l}self.module.HEAPU8.set(h.data.subarray(4),self.cacheBuffer),self.module._MDEC_PutTimedData(self.videoHandle,self.cacheBuffer,h.data.length-4)}else{if(l!=self.audioCodec||s!=self.freqCh){if(-1!=self.audioHandle&&(self.module._MDEC_Destroy(self.audioHandle),self.audioHandle=-1),self.audioHandle=self.module._MDEC_Create(l,self.decodeCallback,2),self.audioHandle<0)return void console.error("create decode handle failed ret="+self.audioHandle);self.dstSampleRate&&self.module._MDEC_Config(self.audioHandle,n,self.dstSampleRate),self.module._MDEC_Config(self.audioHandle,i,16),self.module._MDEC_Config(self.audioHandle,e,0),self.module._MDEC_Config(self.audioHandle,t,a[s>>4]),self.module._MDEC_Config(self.audioHandle,r,15&s);const o=self.module._MDEC_Open(self.audioHandle);if(o<0)return void console.error("open audio decoder failed ret="+self.audioHandle);self.audioCodec=l,self.freqCh=s}self.module.HEAPU8.set(h.data.subarray(4),self.cacheBuffer);const o=self.module._MDEC_PutTimedData(self.audioHandle,self.cacheBuffer,h.data.length-4);o<0&&console.warn("decode audio failed ret="+o)}}else if(l===h.type){const e=URL.createObjectURL(new Blob([h.jsData.subarray(0,h.jsData.length-22)],{type:"application/javascript"}));self.importScripts(e),self.dstSampleRate=h.config.dstSampleRate,self.module={instantiateWasm(e,t){return WebAssembly.instantiate(h.wasmData,e).then((function(e){t(e.instance,e.module)}),(function(e){throw console.error("failed to prepare wasm"),e})),{}},onRuntimeInitialized(){self.moduleInited=!0,self.cacheBuffer=self.module._malloc(o),self.decodeCallback=self.module.addFunction((function(e,t,n){const r=self.module.HEAPU8.subarray(e,e+t),i=new Uint8Array(r);self.postMessage({type:0,streamId:self.streamId,data:i},[i.buffer])}),"viii"),self.postMessage({type:1,code:0})}},Module(self.module)}else c===h.type&&(-1!==self.videoHandle&&self.module._MDEC_Destroy(self.videoHandle),-1!==self.audioHandle&&self.module._MDEC_Destroy(self.audioHandle),self.decodeCallback&&self.module.removeFunction(self.videoCallback),self.close())}}const P=URL.createObjectURL(new Blob(["(",Y.toString(),")()"],{type:"application/javascript"}));class O{constructor(e){this.onFrame=()=>1,this.worker=e,this.totalPkgNum=0,this.consumedPkgNum=0}static create(e){return x(this,void 0,void 0,(function*(){return new Promise((t,n)=>{M.getWasmData().then(r=>{M.getJsData().then(n=>{const i=new Worker(P),a=new O(i);i.onmessage=e=>{if(T===e.data.type){const t=new DataView(e.data.data.buffer),n=t.getFloat64(0,!0),r=t.getUint8(8,!0),i=t.getUint8(9,!0);let o=0,s=0;k.MDEC_FRAME_PCM==r&&(o=t.getUint8(10,!0),s=L[t.getUint8(11,!0)]);const l={type:r,flag:i,pts:n,channels:o,sampleRate:s,data:e.data.data};a.onFrame(e.data.streamId,l)}else C==e.data.type&&a.totalPkgNum>0&&(a.consumedPkgNum+=1);D===e.data.type&&t(a)},i.postMessage({type:1,config:e,wasmData:r,jsData:n},[r.buffer,n.buffer])}).catch(n)}).catch(n)})}))}putFrameData(e){if(e<14)throw"invalid input data";if(e.length>S)throw"data size exceed limit "+S;this.totalPkgNum+=1,this.worker.postMessage({type:T,data:e},[e.buffer])}queuedCount(){return this.totalPkgNum-this.consumedPkgNum}clearCount(){this.totalPkgNum=0,this.consumedPkgNum=0}destroy(){this.worker.postMessage({type:E}),this.worker.terminate(),this.totalPkgNum=0,this.consumedPkgNum=0}}t["default"]=O},"0676":function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},"11b0":function(e,t){function n(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},2236:function(e,t,n){var r=n("5a43");function i(e){if(Array.isArray(e))return r(e)}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},2930:function(e,t,n){"use strict";var r;n.r(t),function(e){e[e["MODULE_NOT_FOUND"]=0]="MODULE_NOT_FOUND",e[e["MODULE_LOAD_FAILED"]=1]="MODULE_LOAD_FAILED",e[e["SERVICE_NEED_UPGRADE"]=2]="SERVICE_NEED_UPGRADE",e[e["SERVICE_CONNECT_FAILED"]=3]="SERVICE_CONNECT_FAILED",e[e["PIPE_INVALID_STATE"]=4]="PIPE_INVALID_STATE",e[e["RPC_TIMEOUT"]=5]="RPC_TIMEOUT"}(r||(r={}));class i{static from(e,t=0){return{code:r[e],no:t}}}class a{constructor(e,t,n,a){this.onNotify=()=>{},this.onDisconnected=()=>{},this.timerId=0,this.rpcMessages=new Map,this.rpcSeq=1,this.ws=t,this.moduleName=e,this.dataPort=n,this.initTime=performance.now(),this.serviceVersion=a,this.timerId=window.setInterval(()=>{const e=performance.now();this.rpcMessages.forEach((t,n,a)=>{t.expireTime<=e&&(t.reject(i.from(r.RPC_TIMEOUT)),a.delete(n))})},1e3),this.initWebSocket()}getDataPort(){return this.dataPort}getServiceVersion(){return this.serviceVersion}destroy(){0!==this.timerId&&(window.clearInterval(this.timerId),this.timerId=0),this.ws.onerror=this.ws.onclose=()=>{},this.ws.close()}call(e,t,n=5e3){const a=this.rpcSeq++;return new Promise((o,s)=>{if(this.ws.readyState!==WebSocket.OPEN)return void s(i.from(r.PIPE_INVALID_STATE));const l={seq:a,resolve:o,reject:s,expireTime:performance.now()+n};this.rpcMessages.set(a,l),this.ws.send(JSON.stringify({seq:a,cmd:e,data:t}))})}postRaw(e){return this.ws.readyState===WebSocket.OPEN&&(this.ws.send(e),!0)}notify(e,t){if(this.ws.readyState!==WebSocket.OPEN)return!1;const n=this.rpcSeq++;return this.ws.send(JSON.stringify({seq:n,cmd:e,data:t})),!0}initWebSocket(){this.ws.onerror=this.ws.onclose=()=>{this.onDisconnected()},this.ws.onmessage=e=>{if("string"===typeof e.data){const t=JSON.parse(e.data);this.procMsg(t.cmd,t.seq,t.err,t.data)}else{const t=new DataView(e.data),n=t.getFloat64(4,!0);this.procMsg("",n,void 0,new Uint8Array(e.data,12))}}}procMsg(e,t,n,r){if(!t)return void this.onNotify(e,r);const i=this.rpcMessages.get(t);i&&(this.rpcMessages.delete(t),n?i.reject(n):i.resolve(r))}}let o,s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});s.decode();let l=null;function c(){return null!==l&&l.buffer===o.memory.buffer||(l=new Uint8Array(o.memory.buffer)),l}function u(e,t){return s.decode(c().subarray(e,e+t))}const d=new Array(32).fill(void 0);d.push(void 0,null,!0,!1);let h=d.length;function f(e){h===d.length&&d.push(d.length+1);const t=h;return h=d[t],d[t]=e,t}function p(e){return d[e]}function m(e){e<36||(d[e]=h,h=e)}function y(e){const t=p(e);return m(e),t}let v=0,g=new TextEncoder("utf-8");const _="function"===typeof g.encodeInto?function(e,t){return g.encodeInto(e,t)}:function(e,t){const n=g.encode(e);return t.set(n),{read:e.length,written:n.length}};function w(e,t,n){if(void 0===n){const n=g.encode(e),r=t(n.length);return c().subarray(r,r+n.length).set(n),v=n.length,r}let r=e.length,i=t(r);const a=c();let o=0;for(;o<r;o++){const t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){0!==o&&(e=e.slice(o)),i=n(i,r,r=o+3*e.length);const t=c().subarray(i+o,i+r),a=_(e,t);o+=a.written}return v=o,i}function b(e){var t=w(e,o.__wbindgen_malloc,o.__wbindgen_realloc),n=v,r=o.loadData(t,n);return y(r)}let A=null;function k(){return null!==A&&A.buffer===o.memory.buffer||(A=new Int32Array(o.memory.buffer)),A}function M(e){return function(){try{return e.apply(this,arguments)}catch(t){o.__wbindgen_exn_store(f(t))}}}async function x(e,t){if("function"===typeof Response&&e instanceof Response){if("function"===typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if("application/wasm"==e.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function S(e){"undefined"===typeof e&&(e="".replace(/\.js$/,"_bg.wasm"));const t={wbg:{}};t.wbg.__wbindgen_string_new=function(e,t){var n=u(e,t);return f(n)},t.wbg.__wbindgen_object_drop_ref=function(e){y(e)},t.wbg.__wbg_new_59cb74e423758ede=function(){var e=new Error;return f(e)},t.wbg.__wbg_stack_558ba5917b466edd=function(e,t){var n=p(t).stack,r=w(n,o.__wbindgen_malloc,o.__wbindgen_realloc),i=v;k()[e/4+1]=i,k()[e/4+0]=r},t.wbg.__wbg_error_4bb6c2a97407129a=function(e,t){try{console.error(u(e,t))}finally{o.__wbindgen_free(e,t)}},t.wbg.__wbg_new_ba07d0daa0e4677e=function(){var e=new Object;return f(e)},t.wbg.__wbg_buffer_3f12a1c608c6d04e=function(e){var t=p(e).buffer;return f(t)},t.wbg.__wbg_newwithbyteoffsetandlength_4c51342f87299c5a=function(e,t,n){var r=new Uint8Array(p(e),t>>>0,n>>>0);return f(r)},t.wbg.__wbg_new_c6c0228e6d22a2f9=function(e){var t=new Uint8Array(p(e));return f(t)},t.wbg.__wbg_set_9bdd413385146137=M((function(e,t,n){var r=Reflect.set(p(e),p(t),p(n));return r})),t.wbg.__wbindgen_throw=function(e,t){throw new Error(u(e,t))},t.wbg.__wbindgen_rethrow=function(e){throw y(e)},t.wbg.__wbindgen_memory=function(){var e=o.memory;return f(e)},("string"===typeof e||"function"===typeof Request&&e instanceof Request||"function"===typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:r}=await x(await e,t);return o=n.exports,S.__wbindgen_wasm_module=r,o}var L=S,T=n("49e2"),D=n.n(T);let E=!1;function C(){return"PluginService"}function Y(){switch(navigator.platform.toLowerCase()){case"macintel":return"2.0.3.2021060916";case"linux":return"1.0.0.2021062511";default:return"2.0.3.2021072610"}}async function P(e){return E||(await L((await fetch(D.a)).arrayBuffer()),E=!0),b(e)}var O={getModuleName:C,getModuleVersion:Y,loadModuleData:P},I=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};const R="ws://127.0.0.1:3458";function N(e,t,n){return I(this,void 0,void 0,(function*(){return new Promise((a,o)=>{t&&n?B(e,t,a,o,n):o(i.from(r.MODULE_NOT_FOUND))})}))}function F(e=""){return I(this,void 0,void 0,(function*(){e||(e=navigator.platform.toLowerCase());const t=yield O.loadModuleData(e),n=new Blob([t.data],{type:"application/octet-stream"}),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r;let a=t.name.lastIndexOf("/");a<0&&(a=t.name.lastIndexOf("\\")),a>=0&&(t.name=t.name.substr(a+1)),i.download=t.name,i.click(),URL.revokeObjectURL(r)}))}function j(){return O.getModuleVersion()}function B(e,t,n,o,s){return I(this,void 0,void 0,(function*(){const l=new WebSocket(R);l.binaryType="arraybuffer",l.onerror=()=>{o(i.from(r.SERVICE_CONNECT_FAILED)),H(l)},l.onclose=()=>{o(i.from(r.SERVICE_CONNECT_FAILED)),H(l)},l.onopen=()=>{l.send(JSON.stringify({seq:0,cmd:"CMS_REQ_INIT",data:{name:e,ver:t||"0.0.0"}}))},l.onmessage=t=>{if("string"!==typeof t.data)return;const c=JSON.parse(t.data);if(c.err)o(c.err),H(l);else if("CMS_RES_INIT"===c.cmd)if(!0===c.data.upgrade)s(c.data.platform).then(e=>{l.send(e.data)}).catch(e=>{console.error(e),o(i.from(r.MODULE_LOAD_FAILED)),H(l)});else if(c.data.service&&W(O.getModuleVersion(),c.data.service))o(i.from(r.SERVICE_NEED_UPGRADE)),H(l);else{const t=new a(e,l,c.data.port,c.data.service);n(t)}}}))}function H(e){e.onerror=e.onclose=e.onmessage=()=>{},e.close()}function W(e,t){const n=e.split("."),r=t.split(".");for(let i=0;i<Math.min(n.length,r.length);i++)if(n[i]>r[i])return!0;return!1}t["default"]={create:N,downloadService:F,getServiceVersion:j}},"3a44":function(e,t,n){"use strict";let r;n.r(t),n.d(t,"getModuleName",(function(){return T})),n.d(t,"getModuleVersion",(function(){return D})),n.d(t,"loadModuleData",(function(){return E}));let i=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});i.decode();let a=null;function o(){return null!==a&&a.buffer===r.memory.buffer||(a=new Uint8Array(r.memory.buffer)),a}function s(e,t){return i.decode(o().subarray(e,e+t))}const l=new Array(32).fill(void 0);l.push(void 0,null,!0,!1);let c=l.length;function u(e){c===l.length&&l.push(l.length+1);const t=c;return c=l[t],l[t]=e,t}function d(e){return l[e]}function h(e){e<36||(l[e]=c,c=e)}function f(e){const t=d(e);return h(e),t}let p=0,m=new TextEncoder("utf-8");const y="function"===typeof m.encodeInto?function(e,t){return m.encodeInto(e,t)}:function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}};function v(e,t,n){if(void 0===n){const n=m.encode(e),r=t(n.length);return o().subarray(r,r+n.length).set(n),p=n.length,r}let r=e.length,i=t(r);const a=o();let s=0;for(;s<r;s++){const t=e.charCodeAt(s);if(t>127)break;a[i+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),i=n(i,r,r=s+3*e.length);const t=o().subarray(i+s,i+r),a=y(e,t);s+=a.written}return p=s,i}function g(e){var t=v(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=p,i=r.loadData(t,n);return f(i)}let _=null;function w(){return null!==_&&_.buffer===r.memory.buffer||(_=new Int32Array(r.memory.buffer)),_}function b(e){return function(){try{return e.apply(this,arguments)}catch(t){r.__wbindgen_exn_store(u(t))}}}async function A(e,t){if("function"===typeof Response&&e instanceof Response){if("function"===typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if("application/wasm"==e.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function k(e){"undefined"===typeof e&&(e="".replace(/\.js$/,"_bg.wasm"));const t={wbg:{}};t.wbg.__wbindgen_string_new=function(e,t){var n=s(e,t);return u(n)},t.wbg.__wbindgen_object_drop_ref=function(e){f(e)},t.wbg.__wbg_new_59cb74e423758ede=function(){var e=new Error;return u(e)},t.wbg.__wbg_stack_558ba5917b466edd=function(e,t){var n=d(t).stack,i=v(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=p;w()[e/4+1]=a,w()[e/4+0]=i},t.wbg.__wbg_error_4bb6c2a97407129a=function(e,t){try{console.error(s(e,t))}finally{r.__wbindgen_free(e,t)}},t.wbg.__wbg_new_ba07d0daa0e4677e=function(){var e=new Object;return u(e)},t.wbg.__wbg_buffer_3f12a1c608c6d04e=function(e){var t=d(e).buffer;return u(t)},t.wbg.__wbg_newwithbyteoffsetandlength_4c51342f87299c5a=function(e,t,n){var r=new Uint8Array(d(e),t>>>0,n>>>0);return u(r)},t.wbg.__wbg_new_c6c0228e6d22a2f9=function(e){var t=new Uint8Array(d(e));return u(t)},t.wbg.__wbg_set_9bdd413385146137=b((function(e,t,n){var r=Reflect.set(d(e),d(t),d(n));return r})),t.wbg.__wbindgen_throw=function(e,t){throw new Error(s(e,t))},t.wbg.__wbindgen_rethrow=function(e){throw f(e)},t.wbg.__wbindgen_memory=function(){var e=r.memory;return u(e)},("string"===typeof e||"function"===typeof Request&&e instanceof Request||"function"===typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:i}=await A(await e,t);return r=n.exports,k.__wbindgen_wasm_module=i,r}var M=k,x=n("da76"),S=n.n(x);let L=!1;function T(){return"Stream2"}function D(){switch(navigator.platform.toLowerCase()){case"macintel":return"1.1.0.2021083118";case"linux":return"1.1.0.2021081213";default:return"1.1.0.2021090210"}}async function E(e){return L||(await M((await fetch(S.a)).arrayBuffer()),L=!0),g(e)}t["default"]={getModuleName:T,getModuleVersion:D,loadModuleData:E}},"448a":function(e,t,n){var r=n("2236"),i=n("11b0"),a=n("6613"),o=n("0676");function s(e){return r(e)||i(e)||a(e)||o()}e.exports=s,e.exports["default"]=e.exports,e.exports.__esModule=!0},4604:function(e,t,n){},"49e2":function(e,t,n){e.exports=n.p+"img/pluginservice_bg.c88bb7a5.png"},"5a43":function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},6613:function(e,t,n){var r=n("5a43");function i(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},"6d1b":function(e,t,n){e.exports=n.p+"img/media_decoder_bg.e66c7ed6.png"},"85db":function(e,t,n){(function(t,r){e.exports=r(n("c53a"),n("2b0e"))})("undefined"!==typeof self&&self,(function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"038a":function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var r;n.r(t),"undefined"!==typeof window&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{class:e.clazz,style:e.style,attrs:{version:"1.1",viewBox:e.box},domProps:{innerHTML:e._s(e.path)},on:{click:e.onClick}})},a=[],o={},s=[],l="",c="svg",u=!1,d=!1,h={data:function(){return{loaded:!1}},props:{icon:String,name:String,width:{type:String,default:""},height:{type:String,default:""},scale:String,dir:String,fill:{type:Boolean,default:function(){return!u}},color:String,original:{type:Boolean,default:function(){return d}},title:String},computed:{clazz:function(){var e="".concat(c,"-icon");return this.fill&&(e+=" ".concat(c,"-fill")),this.dir&&(e+=" ".concat(c,"-").concat(this.dir)),e},iconName:function(){return this.name||this.icon},iconData:function(){var e=o[this.iconName];return e||this.loaded?e:null},colors:function(){return this.color?this.color.split(" "):[]},path:function(){var e="";return this.iconData?(e=this.iconData.data,e=this.setTitle(e),this.original&&(e=this.addOriginalColor(e)),this.colors.length>0&&(e=this.addColor(e))):s.push({name:this.iconName,component:this}),this.getValidPathData(e)},box:function(){var e=this.width||16,t=this.width||16;return this.iconData?this.iconData.viewBox?this.iconData.viewBox:"0 0 ".concat(this.iconData.width," ").concat(this.iconData.height):"0 0 ".concat(parseFloat(e)," ").concat(parseFloat(t))},style:function(){var e,t,n=/^\d+$/,r=Number(this.scale);!isNaN(r)&&this.iconData?(e=Number(this.iconData.width)*r+"px",t=Number(this.iconData.height)*r+"px"):(e=n.test(this.width)?this.width+"px":this.width||l,t=n.test(this.height)?this.height+"px":this.height||l);var i={};return e&&(i.width=e),t&&(i.height=t),i}},created:function(){o[this.iconName]&&(this.loaded=!0)},methods:{addColor:function(e){var t=this,n=/<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi,r=0;return e.replace(n,(function(e){var n=t.colors[r++]||t.colors[t.colors.length-1],i=t.fill;if(n&&"_"===n)return e;n&&0===n.indexOf("r-")&&(i=!i,n=n.substr(2));var a=i?"fill":"stroke",o=i?"stroke":"fill";return e+"".concat(a,'="').concat(n,'" ').concat(o,'="none" ')}))},addOriginalColor:function(e){var t=/_fill="|_stroke="/gi;return e.replace(t,(function(e){return e&&e.slice(1)}))},getValidPathData:function(e){if(this.original&&this.colors.length>0){var t=/<(path|rect|circle|polygon|line|polyline|ellipse)(\sfill|\sstroke)([="\w\s\.\-\+#\$\&>]+)(fill|stroke)/gi;e=e.replace(t,(function(e,t,n,r,i){return"<".concat(t).concat(n).concat(r,"_").concat(i)}))}return e},setTitle:function(e){if(this.title){var t=this.title.replace(/\</gi,"<").replace(/>/gi,">").replace(/&/g,"&");return"<title>".concat(t,"</title>")+e}return e},onClick:function(e){this.$emit("click",e)}},install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.tagName||"svgicon";t.classPrefix&&(c=t.classPrefix),u=!!t.isStroke,d=!!t.isOriginalDefault,t.defaultWidth&&(l=t.defaultWidth),t.defaultHeight&&t.defaultHeight,e.component(n,this)},register:function(e){var t=function(t){o[t]||(o[t]=e[t]),s=s.filter((function(e,n){return e.name===t&&e.component.$set(e.component,"loaded",!0),e.name!==t}))};for(var n in e)t(n)},icons:o},f=h;function p(e,t,n,r,i,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var m=p(f,i,a,!1,null,null,null),y=m.exports;t["default"]=y}})["default"]},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},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 t}))},"0538":function(e,t,n){"use strict";var r=n("1c0b"),i=n("861d"),a=[].slice,o={},s=function(e,t,n){if(!(t in o)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";o[t]=Function("C,a","return new C("+r.join(",")+")")}return o[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),o=function(){var r=n.concat(a.call(arguments));return this instanceof o?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(o.prototype=t.prototype),o}},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||i?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||i?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(i?"daga":"dögum"):n?a+"dagur":a+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(i?"mánuði":"mánuðum"):n?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?a+(n||i?"ár":"árum"):a+(n||i?"ár":"ári")}}var r=e.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 r}))},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},"0721":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"079e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return"元"===t[1]?1:parseInt(t[1]||e,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(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},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 t}))},"0a3c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,a=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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 a}))},"0a84":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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:1,doy:4}});return t}))},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"0cb2":function(e,t,n){var r=n("7b0b"),i=Math.floor,a="".replace,o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,c,u){var d=n+e.length,h=l.length,f=s;return void 0!==c&&(c=r(c),f=o),a.call(u,f,(function(r,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":o=c[a.slice(1,-1)];break;default:var s=+a;if(0===s)return r;if(s>h){var u=i(s/10);return 0===u?r:u<=h?void 0===l[u-1]?a.charAt(1):l[u-1]+a.charAt(1):r}o=l[s-1]}return void 0===o?"":o}))}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),a=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),a=n("c430"),o=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"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}))},"0e49":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"0e6b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"0e81":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
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ı"},n=e.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(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,i=e%100-r,a=e>=100?100:null;return e+(t[r]||t[i]||t[a])}},week:{dow:1,doy:7}});return n}))},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"0f38":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return e},week:{dow:1,doy:4}});return t}))},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"104b":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.speed-container{position:absolute;top:0;z-index:1000;width:42px;height:20px;margin-top:2px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;cursor:pointer}.speed-container:hover{position:absolute;top:-140px;height:160px}.speed-container:hover .speed-list-panel{display:block}.speed-container .speed-str{position:absolute;bottom:0;display:block;width:42px;height:20px;background-color:#666;border-radius:2px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:20px;text-align:center}.speed-container .speed-str:hover{background-color:#445eff;color:#fff}.speed-container .speed-list-panel{display:none;position:absolute;z-index:1000;bottom:38px;left:calc(-50% + 8px);width:64px;height:160px;background:rgba(35,35,35,.8);border-radius:4px}.speed-container .speed-list-panel:after{position:absolute;top:160px;left:calc(50% - 6px);content:"";width:0;height:0;border:6px solid transparent;border-top:6px solid rgba(35,35,35,.8)}.speed-container .speed-list-panel .speed-list-item{height:17px;padding:0 10px;margin-bottom:10px}.speed-container .speed-list-panel .speed-list-item:hover{font-size:14px}.speed-container .speed-list-panel .speed-list-item-check{color:#445eff}.speed-container-disabled{cursor:not-allowed!important}.speed-container-disabled:hover{top:0!important;height:20px!important}.speed-container-disabled:hover .speed-list-panel{display:none!important}',""]),e.exports=t},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(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:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},"11f2":function(e,t,n){var r=n("fc9f");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("7affd995",r,!0,{sourceMap:!1,shadowMode:!1})},"121d":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-player-tools-container{height:100%;padding-left:17px}.vod-player-tools-container .volume-container{display:inline-block;width:35px;height:35px;background-color:#666;border-radius:17.5px}.vod-player-tools-container .volume-container:hover{background-color:#445eff}.vod-player-tools-container .volume-container .vod-player-volume-control{left:0;right:0;top:0;bottom:0;margin:auto}.vod-player-tools-container .volume-container .vod-player-volume-control:hover{top:-141px;left:-2px}.vod-player-tools-container .volume-container .vod-player-volume-control .dcs-volume-icon{transform:scale(1.2)}.vod-player-tools-container .tools-icon{position:relative;top:12px;margin-left:10px;cursor:pointer}.vod-player-tools-container .tools-icon circle{fill:#666}.vod-player-tools-container .tools-icon path{fill:#fff}.vod-player-tools-container .tools-icon:hover g circle{fill:#445eff}.vod-player-tools-container .disabled-icon{cursor:not-allowed!important}",""]),e.exports=t},1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),a=n("825a"),o=n("1d80"),s=n("4840"),l=n("8aa5"),c=n("50c4"),u=n("14c3"),d=n("9263"),h=n("9f7f"),f=h.UNSUPPORTED_Y,p=[].push,m=Math.min,y=4294967295;r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(o(this)),a=void 0===n?y:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,a);var s,l,c,u=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,m=new RegExp(e.source,h+"g");while(s=d.call(m,r)){if(l=m.lastIndex,l>f&&(u.push(r.slice(f,s.index)),s.length>1&&s.index<r.length&&p.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=a))break;m.lastIndex===s.index&&m.lastIndex++}return f===r.length?!c&&m.test("")||u.push(""):u.push(r.slice(f)),u.length>a?u.slice(0,a):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=o(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var d=a(e),h=String(this),p=s(d,RegExp),v=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(f?"g":"y"),_=new p(f?"^(?:"+d.source+")":d,g),w=void 0===i?y:i>>>0;if(0===w)return[];if(0===h.length)return null===u(_,h)?[h]:[];var b=0,A=0,k=[];while(A<h.length){_.lastIndex=f?0:A;var M,x=u(_,f?h.slice(A):h);if(null===x||(M=m(c(_.lastIndex+(f?A:0)),h.length))===b)A=l(h,A,v);else{if(k.push(h.slice(b,A)),k.length===w)return k;for(var S=1;S<=x.length-1;S++)if(k.push(x[S]),k.length===w)return k;A=b=M}}return k.push(h.slice(b)),k}]}),f)},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.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 e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("17c2"),o=n("9112");for(var s in i){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==a)try{o(c,"forEach",a)}catch(u){c.forEach=a}}},"167b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),a=i("forEach");e.exports=a?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1b3a":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,"",""]),e.exports=t},"1b45":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},"1cfd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
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},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 عام"]},i=function(e){return function(t,i,a,o){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{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(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: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")},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}});return o}))},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),a=n("2d00"),o=i("species");e.exports=function(e){return a>=51||!r((function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1de5":function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1ef1":function(t,n){t.exports=e},"1fc1":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}var r=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:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},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}});return r}))},"201b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},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(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},2266:function(e,t,n){var r=n("825a"),i=n("e95a"),a=n("50c4"),o=n("0366"),s=n("35a1"),l=n("2a62"),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,h,f,p,m,y,v=n&&n.that,g=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),b=o(t,v,1+g+w),A=function(e){return u&&l(u),new c(!0,e)},k=function(e){return g?(r(e),w?b(e[0],e[1],A):b(e[0],e[1])):w?b(e,A):b(e)};if(_)u=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(h=0,f=a(e.length);f>h;h++)if(p=k(e[h]),p&&p instanceof c)return p;return new c(!1)}u=d.call(e)}m=u.next;while(!(y=m.call(u)).done){try{p=k(y.value)}catch(M){throw l(u),M}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},"22f8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t}))},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,a=n("9112"),o=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,h,f,p,m=e.target,y=e.global,v=e.stat;if(u=y?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=i(u,d),h=p&&p.value):h=u[d],n=c(y?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f===typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&a(f,"sham",!0),o(u,d,f,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},2421:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:r,monthsShort:r,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/ئێواره/.test(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:6,doy:12}});return i}))},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=i(r),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},2554:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),a=n("b622"),o=n("83ab"),s=a("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"26f9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={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(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?a(n)[0]:r?a(n)[1]:a(n)[2]}function i(e){return e%10===0||e>10&&e<20}function a(e){return t[e].split("_")}function o(e,t,n,o){var s=e+" ";return 1===e?s+r(e,t,n[0],o):t?s+(i(e)?a(n)[1]:a(n)[0]):o?s+a(n)[1]:s+(i(e)?a(n)[1]:a(n)[2])}var s=e.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:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2921:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.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 e=["[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 e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,i=n("23e7"),a=n("83ab"),o=n("0d3b"),s=n("da84"),l=n("37e8"),c=n("6eeb"),u=n("19aa"),d=n("5135"),h=n("60da"),f=n("4df4"),p=n("6547").codeAt,m=n("5fb2"),y=n("d44e"),v=n("9861"),g=n("69f3"),_=s.URL,w=v.URLSearchParams,b=v.getState,A=g.set,k=g.getterFor("URL"),M=Math.floor,x=Math.pow,S="Invalid authority",L="Invalid scheme",T="Invalid host",D="Invalid port",E=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,Y=/\d/,P=/^(0x|0X)/,O=/^[0-7]+$/,I=/^\d+$/,R=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:?@[\\]]/,F=/[\0\t\n\r #/:?@[\\]]/,j=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\n\r]/g,H=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(n=z(t.slice(1,-1)),!n)return T;e.host=n}else if(Z(e)){if(t=m(t),N.test(t))return T;if(n=W(t),null===n)return T;e.host=n}else{if(F.test(t))return T;for(n="",r=f(t),i=0;i<r.length;i++)n+=K(r[i],G);e.host=n}},W=function(e){var t,n,r,i,a,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),t=l.length,t>4)return e;for(n=[],r=0;r<t;r++){if(i=l[r],""==i)return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=P.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?I:8==a?O:R).test(i))return e;o=parseInt(i,a)}n.push(o)}for(r=0;r<t;r++)if(o=n[r],r==t-1){if(o>=x(256,5-t))return null}else if(o>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*x(256,3-r);return s},z=function(e){var t,n,r,i,a,o,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,h=function(){return e.charAt(d)};if(":"==h()){if(":"!=e.charAt(1))return;d+=2,c++,u=c}while(h()){if(8==c)return;if(":"!=h()){t=n=0;while(n<4&&R.test(h()))t=16*t+parseInt(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,c>6)return;r=0;while(h()){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!Y.test(h()))return;while(Y.test(h())){if(a=parseInt(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;d++}l[c]=256*l[c]+i,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[c++]=t}else{if(null!==u)return;d++,c++,u=c}}if(null!==u){o=c-u,c=7;while(0!=c&&o>0)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s}else if(8!=c)return;return l},U=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)0!==e[a]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(t=r,n=i),t},V=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=M(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=U(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},G={},Q=h({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),J=h({},Q,{"#":1,"?":1,"{":1,"}":1}),q=h({},J,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=p(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(X,e.scheme)},$=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&E.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},ae=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},oe={},se={},le={},ce={},ue={},de={},he={},fe={},pe={},me={},ye={},ve={},ge={},_e={},we={},be={},Ae={},ke={},Me={},xe={},Se={},Le=function(e,t,n,i){var a,o,s,l,c=n||oe,u=0,h="",p=!1,m=!1,y=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(B,""),a=f(t);while(u<=a.length){switch(o=a[u],c){case oe:if(!o||!E.test(o)){if(n)return L;c=le;continue}h+=o.toLowerCase(),c=se;break;case se:if(o&&(C.test(o)||"+"==o||"-"==o||"."==o))h+=o.toLowerCase();else{if(":"!=o){if(n)return L;h="",c=le,u=0;continue}if(n&&(Z(e)!=d(X,h)||"file"==h&&($(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Z(e)&&X[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?c=_e:Z(e)&&i&&i.scheme==e.scheme?c=ce:Z(e)?c=fe:"/"==a[u+1]?(c=ue,u++):(e.cannotBeABaseURL=!0,e.path.push(""),c=Me)}break;case le:if(!i||i.cannotBeABaseURL&&"#"!=o)return L;if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=Se;break}c="file"==i.scheme?_e:de;continue;case ce:if("/"!=o||"/"!=a[u+1]){c=de;continue}c=pe,u++;break;case ue:if("/"==o){c=me;break}c=ke;continue;case de:if(e.scheme=i.scheme,o==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Z(e))c=he;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",c=xe;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),c=ke;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=Se}break;case he:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=ke;continue}c=me}else c=pe;break;case fe:if(c=pe,"/"!=o||"/"!=h.charAt(u+1))continue;u++;break;case pe:if("/"!=o&&"\\"!=o){c=me;continue}break;case me:if("@"==o){p&&(h="%40"+h),p=!0,s=f(h);for(var v=0;v<s.length;v++){var g=s[v];if(":"!=g||y){var _=K(g,q);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(p&&""==h)return S;u-=f(h).length+1,h="",c=ye}else h+=o;break;case ye:case ve:if(n&&"file"==e.scheme){c=be;continue}if(":"!=o||m){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==h)return T;if(n&&""==h&&($(e)||null!==e.port))return;if(l=H(e,h),l)return l;if(h="",c=Ae,n)return;continue}"["==o?m=!0:"]"==o&&(m=!1),h+=o}else{if(""==h)return T;if(l=H(e,h),l)return l;if(h="",c=ge,n==ve)return}break;case ge:if(!Y.test(o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return D;e.port=Z(e)&&w===X[e.scheme]?null:w,h=""}if(n)return;c=Ae;continue}return D}h+=o;break;case _e:if(e.scheme="file","/"==o||"\\"==o)c=we;else{if(!i||"file"!=i.scheme){c=ke;continue}if(o==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",c=xe;else{if("#"!=o){ne(a.slice(u).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),c=ke;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=Se}}break;case we:if("/"==o||"\\"==o){c=be;break}i&&"file"==i.scheme&&!ne(a.slice(u).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),c=ke;continue;case be:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&te(h))c=ke;else if(""==h){if(e.host="",n)return;c=Ae}else{if(l=H(e,h),l)return l;if("localhost"==e.host&&(e.host=""),n)return;h="",c=Ae}continue}h+=o;break;case Ae:if(Z(e)){if(c=ke,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=r&&(c=ke,"/"!=o))continue}else e.fragment="",c=Se;else e.query="",c=xe;break;case ke:if(o==r||"/"==o||"\\"==o&&Z(e)||!n&&("?"==o||"#"==o)){if(ae(h)?(re(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):ie(h)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(o==r||"?"==o||"#"==o))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==o?(e.query="",c=xe):"#"==o&&(e.fragment="",c=Se)}else h+=K(o,J);break;case Me:"?"==o?(e.query="",c=xe):"#"==o?(e.fragment="",c=Se):o!=r&&(e.path[0]+=K(o,G));break;case xe:n||"#"!=o?o!=r&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":K(o,G)):(e.fragment="",c=Se);break;case Se:o!=r&&(e.fragment+=K(o,Q));break}u++}},Te=function(e){var t,n,r=u(this,Te,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(e),s=A(r,{type:"URL"});if(void 0!==i)if(i instanceof Te)t=k(i);else if(n=Le(t={},String(i)),n)throw TypeError(n);if(n=Le(s,o,null,t),n)throw TypeError(n);var l=s.searchParams=new w,c=b(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},a||(r.href=Ee.call(r),r.origin=Ce.call(r),r.protocol=Ye.call(r),r.username=Pe.call(r),r.password=Oe.call(r),r.host=Ie.call(r),r.hostname=Re.call(r),r.port=Ne.call(r),r.pathname=Fe.call(r),r.search=je.call(r),r.searchParams=Be.call(r),r.hash=He.call(r))},De=Te.prototype,Ee=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",$(e)&&(c+=n+(r?":"+r:"")+"@"),c+=V(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ce=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Te(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ye=function(){return k(this).scheme+":"},Pe=function(){return k(this).username},Oe=function(){return k(this).password},Ie=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Re=function(){var e=k(this).host;return null===e?"":V(e)},Ne=function(){var e=k(this).port;return null===e?"":String(e)},Fe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=k(this).query;return e?"?"+e:""},Be=function(){return k(this).searchParams},He=function(){var e=k(this).fragment;return e?"#"+e:""},We=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&l(De,{href:We(Ee,(function(e){var t=k(this),n=String(e),r=Le(t,n);if(r)throw TypeError(r);b(t.searchParams).updateSearchParams(t.query)})),origin:We(Ce),protocol:We(Ye,(function(e){var t=k(this);Le(t,String(e)+":",oe)})),username:We(Pe,(function(e){var t=k(this),n=f(String(e));if(!ee(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=K(n[r],q)}})),password:We(Oe,(function(e){var t=k(this),n=f(String(e));if(!ee(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=K(n[r],q)}})),host:We(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),ye)})),hostname:We(Re,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),ve)})),port:We(Ne,(function(e){var t=k(this);ee(t)||(e=String(e),""==e?t.port=null:Le(t,e,ge))})),pathname:We(Fe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Le(t,e+"",Ae))})),search:We(je,(function(e){var t=k(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Le(t,e,xe)),b(t.searchParams).updateSearchParams(t.query)})),searchParams:We(Be),hash:We(He,(function(e){var t=k(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Le(t,e,Se)):t.fragment=null}))}),c(De,"toJSON",(function(){return Ee.call(this)}),{enumerable:!0}),c(De,"toString",(function(){return Ee.call(this)}),{enumerable:!0}),_){var ze=_.createObjectURL,Ue=_.revokeObjectURL;ze&&c(Te,"createObjectURL",(function(e){return ze.apply(_,arguments)})),Ue&&c(Te,"revokeObjectURL",(function(e){return Ue.apply(_,arguments)}))}y(Te,"URL"),i({global:!0,forced:!o,sham:!a},{URL:Te})},"2bec":function(e,t,n){var r=n("1b3a");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("2a7b27cd",r,!0,{sourceMap:!1,shadowMode:!1})},"2bfb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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}});return t}))},"2cf4":function(e,t,n){var r,i,a,o=n("da84"),s=n("d039"),l=n("0366"),c=n("1be4"),u=n("cc12"),d=n("1cdc"),h=n("605d"),f=o.location,p=o.setImmediate,m=o.clearImmediate,y=o.process,v=o.MessageChannel,g=o.Dispatch,_=0,w={},b="onreadystatechange",A=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){A(e)}},M=function(e){A(e.data)},x=function(e){o.postMessage(e+"",f.protocol+"//"+f.host)};p&&m||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(_),_},m=function(e){delete w[e]},h?r=function(e){y.nextTick(k(e))}:g&&g.now?r=function(e){g.now(k(e))}:v&&!d?(i=new v,a=i.port2,i.port1.onmessage=M,r=l(a.postMessage,a,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&f&&"file:"!==f.protocol&&!s(x)?(r=x,o.addEventListener("message",M,!1)):r=b in u("script")?function(e){c.appendChild(u("script"))[b]=function(){c.removeChild(this),A(e)}}:function(e){setTimeout(k(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,a=n("da84"),o=n("342f"),s=a.process,l=s&&s.versions,c=l&&l.v8;c?(r=c.split("."),i=r[0]<4?1:r[0]+r[1]):o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2e8c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"2ef0":function(e,t,n){(function(e,r){var i;
|
||
/**
|
||
* @license
|
||
* Lodash <https://lodash.com/>
|
||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
* Released under MIT license <https://lodash.com/license>
|
||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
*/(function(){var a,o="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,f="__lodash_placeholder__",p=1,m=2,y=4,v=1,g=2,_=1,w=2,b=4,A=8,k=16,M=32,x=64,S=128,L=256,T=512,D=30,E="...",C=800,Y=16,P=1,O=2,I=3,R=1/0,N=9007199254740991,F=17976931348623157e292,j=NaN,B=4294967295,H=B-1,W=B>>>1,z=[["ary",S],["bind",_],["bindKey",w],["curry",A],["curryRight",k],["flip",T],["partial",M],["partialRight",x],["rearg",L]],U="[object Arguments]",V="[object Array]",G="[object AsyncFunction]",Q="[object Boolean]",J="[object Date]",q="[object DOMException]",K="[object Error]",X="[object Function]",Z="[object GeneratorFunction]",$="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",ae="[object RegExp]",oe="[object Set]",se="[object String]",le="[object Symbol]",ce="[object Undefined]",ue="[object WeakMap]",de="[object WeakSet]",he="[object ArrayBuffer]",fe="[object DataView]",pe="[object Float32Array]",me="[object Float64Array]",ye="[object Int8Array]",ve="[object Int16Array]",ge="[object Int32Array]",_e="[object Uint8Array]",we="[object Uint8ClampedArray]",be="[object Uint16Array]",Ae="[object Uint32Array]",ke=/\b__p \+= '';/g,Me=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,Le=/[&<>"']/g,Te=RegExp(Se.source),De=RegExp(Le.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ye=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oe=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Re.source),Fe=/^\s+/,je=/\s/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,He=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/[()=,{}\[\]\/\s]/,Ve=/\\(\\)?/g,Ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qe=/\w*$/,Je=/^[-+]0x[0-9a-f]+$/i,qe=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",at="\\u20d0-\\u20ff",ot=rt+it+at,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ct="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",ht=" \\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",ft="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",mt=ct+ut+dt+ht,yt="['’]",vt="["+nt+"]",gt="["+mt+"]",_t="["+ot+"]",wt="\\d+",bt="["+st+"]",At="["+lt+"]",kt="[^"+nt+mt+wt+st+lt+ft+"]",Mt="\\ud83c[\\udffb-\\udfff]",xt="(?:"+_t+"|"+Mt+")",St="[^"+nt+"]",Lt="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="["+ft+"]",Et="\\u200d",Ct="(?:"+At+"|"+kt+")",Yt="(?:"+Dt+"|"+kt+")",Pt="(?:"+yt+"(?:d|ll|m|re|s|t|ve))?",Ot="(?:"+yt+"(?:D|LL|M|RE|S|T|VE))?",It=xt+"?",Rt="["+pt+"]?",Nt="(?:"+Et+"(?:"+[St,Lt,Tt].join("|")+")"+Rt+It+")*",Ft="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bt=Rt+It+Nt,Ht="(?:"+[bt,Lt,Tt].join("|")+")"+Bt,Wt="(?:"+[St+_t+"?",_t,Lt,Tt,vt].join("|")+")",zt=RegExp(yt,"g"),Ut=RegExp(_t,"g"),Vt=RegExp(Mt+"(?="+Mt+")|"+Wt+Bt,"g"),Gt=RegExp([Dt+"?"+At+"+"+Pt+"(?="+[gt,Dt,"$"].join("|")+")",Yt+"+"+Ot+"(?="+[gt,Dt+Ct,"$"].join("|")+")",Dt+"?"+Ct+"+"+Pt,Dt+"+"+Ot,jt,Ft,wt,Ht].join("|"),"g"),Qt=RegExp("["+Et+nt+ot+pt+"]"),Jt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qt=["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"],Kt=-1,Xt={};Xt[pe]=Xt[me]=Xt[ye]=Xt[ve]=Xt[ge]=Xt[_e]=Xt[we]=Xt[be]=Xt[Ae]=!0,Xt[U]=Xt[V]=Xt[he]=Xt[Q]=Xt[fe]=Xt[J]=Xt[K]=Xt[X]=Xt[$]=Xt[ee]=Xt[ne]=Xt[ae]=Xt[oe]=Xt[se]=Xt[ue]=!1;var Zt={};Zt[U]=Zt[V]=Zt[he]=Zt[fe]=Zt[Q]=Zt[J]=Zt[pe]=Zt[me]=Zt[ye]=Zt[ve]=Zt[ge]=Zt[$]=Zt[ee]=Zt[ne]=Zt[ae]=Zt[oe]=Zt[se]=Zt[le]=Zt[_e]=Zt[we]=Zt[be]=Zt[Ae]=!0,Zt[K]=Zt[X]=Zt[ue]=!1;var $t={"À":"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":"'n","ſ":"s"},en={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,an=parseInt,on="object"==typeof e&&e&&e.Object===Object&&e,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=on||sn||Function("return this")(),cn=t&&!t.nodeType&&t,un=cn&&"object"==typeof r&&r&&!r.nodeType&&r,dn=un&&un.exports===cn,hn=dn&&on.process,fn=function(){try{var e=un&&un.require&&un.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),pn=fn&&fn.isArrayBuffer,mn=fn&&fn.isDate,yn=fn&&fn.isMap,vn=fn&&fn.isRegExp,gn=fn&&fn.isSet,_n=fn&&fn.isTypedArray;function wn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function bn(e,t,n,r){var i=-1,a=null==e?0:e.length;while(++i<a){var o=e[i];t(r,o,n(o),e)}return r}function An(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function kn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Mn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function xn(e,t){var n=-1,r=null==e?0:e.length,i=0,a=[];while(++n<r){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Sn(e,t){var n=null==e?0:e.length;return!!n&&Fn(e,t,0)>-1}function Ln(e,t,n){var r=-1,i=null==e?0:e.length;while(++r<i)if(n(t,e[r]))return!0;return!1}function Tn(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}function Dn(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function En(e,t,n,r){var i=-1,a=null==e?0:e.length;r&&a&&(n=e[++i]);while(++i<a)n=t(n,e[i],i,e);return n}function Cn(e,t,n,r){var i=null==e?0:e.length;r&&i&&(n=e[--i]);while(i--)n=t(n,e[i],i,e);return n}function Yn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var Pn=Wn("length");function On(e){return e.split("")}function In(e){return e.match(ze)||[]}function Rn(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Nn(e,t,n,r){var i=e.length,a=n+(r?1:-1);while(r?a--:++a<i)if(t(e[a],a,e))return a;return-1}function Fn(e,t,n){return t===t?pr(e,t,n):Nn(e,Bn,n)}function jn(e,t,n,r){var i=n-1,a=e.length;while(++i<a)if(r(e[i],t))return i;return-1}function Bn(e){return e!==e}function Hn(e,t){var n=null==e?0:e.length;return n?Gn(e,t)/n:j}function Wn(e){return function(t){return null==t?a:t[e]}}function zn(e){return function(t){return null==e?a:e[t]}}function Un(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function Vn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function Gn(e,t){var n,r=-1,i=e.length;while(++r<i){var o=t(e[r]);o!==a&&(n=n===a?o:n+o)}return n}function Qn(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function Jn(e,t){return Tn(t,(function(t){return[t,e[t]]}))}function qn(e){return e?e.slice(0,gr(e)+1).replace(Fe,""):e}function Kn(e){return function(t){return e(t)}}function Xn(e,t){return Tn(t,(function(t){return e[t]}))}function Zn(e,t){return e.has(t)}function $n(e,t){var n=-1,r=e.length;while(++n<r&&Fn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length;while(n--&&Fn(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=zn($t),rr=zn(en);function ir(e){return"\\"+nn[e]}function ar(e,t){return null==e?a:e[t]}function or(e){return Qt.test(e)}function sr(e){return Jt.test(e)}function lr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function cr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ur(e,t){return function(n){return e(t(n))}}function dr(e,t){var n=-1,r=e.length,i=0,a=[];while(++n<r){var o=e[n];o!==t&&o!==f||(e[n]=f,a[i++]=n)}return a}function hr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pr(e,t,n){var r=n-1,i=e.length;while(++r<i)if(e[r]===t)return r;return-1}function mr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function yr(e){return or(e)?wr(e):Pn(e)}function vr(e){return or(e)?br(e):On(e)}function gr(e){var t=e.length;while(t--&&je.test(e.charAt(t)));return t}var _r=zn(tn);function wr(e){var t=Vt.lastIndex=0;while(Vt.test(e))++t;return t}function br(e){return e.match(Vt)||[]}function Ar(e){return e.match(Gt)||[]}var kr=function e(t){t=null==t?ln:Mr.defaults(ln.Object(),t,Mr.pick(ln,qt));var n=t.Array,r=t.Date,i=t.Error,je=t.Function,ze=t.Math,nt=t.Object,rt=t.RegExp,it=t.String,at=t.TypeError,ot=n.prototype,st=je.prototype,lt=nt.prototype,ct=t["__core-js_shared__"],ut=st.toString,dt=lt.hasOwnProperty,ht=0,ft=function(){var e=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,mt=ut.call(nt),yt=ln._,vt=rt("^"+ut.call(dt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=dn?t.Buffer:a,_t=t.Symbol,wt=t.Uint8Array,bt=gt?gt.allocUnsafe:a,At=ur(nt.getPrototypeOf,nt),kt=nt.create,Mt=lt.propertyIsEnumerable,xt=ot.splice,St=_t?_t.isConcatSpreadable:a,Lt=_t?_t.iterator:a,Tt=_t?_t.toStringTag:a,Dt=function(){try{var e=Qo(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Et=t.clearTimeout!==ln.clearTimeout&&t.clearTimeout,Ct=r&&r.now!==ln.Date.now&&r.now,Yt=t.setTimeout!==ln.setTimeout&&t.setTimeout,Pt=ze.ceil,Ot=ze.floor,It=nt.getOwnPropertySymbols,Rt=gt?gt.isBuffer:a,Nt=t.isFinite,Ft=ot.join,jt=ur(nt.keys,nt),Bt=ze.max,Ht=ze.min,Wt=r.now,Vt=t.parseInt,Gt=ze.random,Qt=ot.reverse,Jt=Qo(t,"DataView"),$t=Qo(t,"Map"),en=Qo(t,"Promise"),tn=Qo(t,"Set"),nn=Qo(t,"WeakMap"),on=Qo(nt,"create"),sn=nn&&new nn,cn={},un=Ys(Jt),hn=Ys($t),fn=Ys(en),Pn=Ys(tn),On=Ys(nn),zn=_t?_t.prototype:a,pr=zn?zn.valueOf:a,wr=zn?zn.toString:a;function br(e){if(xu(e)&&!lu(e)&&!(e instanceof Lr)){if(e instanceof Sr)return e;if(dt.call(e,"__wrapped__"))return Os(e)}return new Sr(e)}var kr=function(){function e(){}return function(t){if(!Mu(t))return{};if(kt)return kt(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function xr(){}function Sr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function Lr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function Tr(){var e=new Lr(this.__wrapped__);return e.__actions__=ro(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ro(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ro(this.__views__),e}function Dr(){if(this.__filtered__){var e=new Lr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Er(){var e=this.__wrapped__.value(),t=this.__dir__,n=lu(e),r=t<0,i=n?e.length:0,a=Zo(0,i,this.__views__),o=a.start,s=a.end,l=s-o,c=r?s:o-1,u=this.__iteratees__,d=u.length,h=0,f=Ht(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return Fa(e,this.__actions__);var p=[];e:while(l--&&h<f){c+=t;var m=-1,y=e[c];while(++m<d){var v=u[m],g=v.iteratee,_=v.type,w=g(y);if(_==O)y=w;else if(!w){if(_==P)continue e;break e}}p[h++]=y}return p}function Cr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Yr(){this.__data__=on?on(null):{},this.size=0}function Pr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Or(e){var t=this.__data__;if(on){var n=t[e];return n===d?a:n}return dt.call(t,e)?t[e]:a}function Ir(e){var t=this.__data__;return on?t[e]!==a:dt.call(t,e)}function Rr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=on&&t===a?d:t,this}function Nr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Fr(){this.__data__=[],this.size=0}function jr(e){var t=this.__data__,n=ui(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():xt.call(t,n,1),--this.size,!0}function Br(e){var t=this.__data__,n=ui(t,e);return n<0?a:t[n][1]}function Hr(e){return ui(this.__data__,e)>-1}function Wr(e,t){var n=this.__data__,r=ui(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function zr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Ur(){this.size=0,this.__data__={hash:new Cr,map:new($t||Nr),string:new Cr}}function Vr(e){var t=Vo(this,e)["delete"](e);return this.size-=t?1:0,t}function Gr(e){return Vo(this,e).get(e)}function Qr(e){return Vo(this,e).has(e)}function Jr(e,t){var n=Vo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function qr(e){var t=-1,n=null==e?0:e.length;this.__data__=new zr;while(++t<n)this.add(e[t])}function Kr(e){return this.__data__.set(e,d),this}function Xr(e){return this.__data__.has(e)}function Zr(e){var t=this.__data__=new Nr(e);this.size=t.size}function $r(){this.__data__=new Nr,this.size=0}function ei(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ti(e){return this.__data__.get(e)}function ni(e){return this.__data__.has(e)}function ri(e,t){var n=this.__data__;if(n instanceof Nr){var r=n.__data__;if(!$t||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new zr(r)}return n.set(e,t),this.size=n.size,this}function ii(e,t){var n=lu(e),r=!n&&su(e),i=!n&&!r&&fu(e),a=!n&&!r&&!i&&Bu(e),o=n||r||i||a,s=o?Qn(e.length,it):[],l=s.length;for(var c in e)!t&&!dt.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||os(c,l))||s.push(c);return s}function ai(e){var t=e.length;return t?e[va(0,t-1)]:a}function oi(e,t){return Ds(ro(e),yi(t,0,e.length))}function si(e){return Ds(ro(e))}function li(e,t,n){(n!==a&&!iu(e[t],n)||n===a&&!(t in e))&&pi(e,t,n)}function ci(e,t,n){var r=e[t];dt.call(e,t)&&iu(r,n)&&(n!==a||t in e)||pi(e,t,n)}function ui(e,t){var n=e.length;while(n--)if(iu(e[n][0],t))return n;return-1}function di(e,t,n,r){return Ai(e,(function(e,i,a){t(r,e,n(e),a)})),r}function hi(e,t){return e&&io(t,Ad(t),e)}function fi(e,t){return e&&io(t,kd(t),e)}function pi(e,t,n){"__proto__"==t&&Dt?Dt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function mi(e,t){var r=-1,i=t.length,o=n(i),s=null==e;while(++r<i)o[r]=s?a:yd(e,t[r]);return o}function yi(e,t,n){return e===e&&(n!==a&&(e=e<=n?e:n),t!==a&&(e=e>=t?e:t)),e}function vi(e,t,n,r,i,o){var s,l=t&p,c=t&m,u=t&y;if(n&&(s=i?n(e,r,i,o):n(e)),s!==a)return s;if(!Mu(e))return e;var d=lu(e);if(d){if(s=ts(e),!l)return ro(e,s)}else{var h=Xo(e),f=h==X||h==Z;if(fu(e))return Qa(e,l);if(h==ne||h==U||f&&!i){if(s=c||f?{}:ns(e),!l)return c?oo(e,fi(s,e)):ao(e,hi(s,e))}else{if(!Zt[h])return i?e:{};s=rs(e,h,l)}}o||(o=new Zr);var v=o.get(e);if(v)return v;o.set(e,s),Nu(e)?e.forEach((function(r){s.add(vi(r,t,n,r,e,o))})):Su(e)&&e.forEach((function(r,i){s.set(i,vi(r,t,n,i,e,o))}));var g=u?c?Bo:jo:c?kd:Ad,_=d?a:g(e);return An(_||e,(function(r,i){_&&(i=r,r=e[i]),ci(s,i,vi(r,t,n,i,e,o))})),s}function gi(e){var t=Ad(e);return function(n){return _i(n,e,t)}}function _i(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var i=n[r],o=t[i],s=e[i];if(s===a&&!(i in e)||!o(s))return!1}return!0}function wi(e,t,n){if("function"!=typeof e)throw new at(c);return xs((function(){e.apply(a,n)}),t)}function bi(e,t,n,r){var i=-1,a=Sn,o=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=Tn(t,Kn(n))),r?(a=Ln,o=!1):t.length>=s&&(a=Zn,o=!1,t=new qr(t));e:while(++i<l){var d=e[i],h=null==n?d:n(d);if(d=r||0!==d?d:0,o&&h===h){var f=u;while(f--)if(t[f]===h)continue e;c.push(d)}else a(t,h,r)||c.push(d)}return c}br.templateSettings={escape:Ee,evaluate:Ce,interpolate:Ye,variable:"",imports:{_:br}},br.prototype=xr.prototype,br.prototype.constructor=br,Sr.prototype=kr(xr.prototype),Sr.prototype.constructor=Sr,Lr.prototype=kr(xr.prototype),Lr.prototype.constructor=Lr,Cr.prototype.clear=Yr,Cr.prototype["delete"]=Pr,Cr.prototype.get=Or,Cr.prototype.has=Ir,Cr.prototype.set=Rr,Nr.prototype.clear=Fr,Nr.prototype["delete"]=jr,Nr.prototype.get=Br,Nr.prototype.has=Hr,Nr.prototype.set=Wr,zr.prototype.clear=Ur,zr.prototype["delete"]=Vr,zr.prototype.get=Gr,zr.prototype.has=Qr,zr.prototype.set=Jr,qr.prototype.add=qr.prototype.push=Kr,qr.prototype.has=Xr,Zr.prototype.clear=$r,Zr.prototype["delete"]=ei,Zr.prototype.get=ti,Zr.prototype.has=ni,Zr.prototype.set=ri;var Ai=co(Ci),ki=co(Yi,!0);function Mi(e,t){var n=!0;return Ai(e,(function(e,r,i){return n=!!t(e,r,i),n})),n}function xi(e,t,n){var r=-1,i=e.length;while(++r<i){var o=e[r],s=t(o);if(null!=s&&(l===a?s===s&&!ju(s):n(s,l)))var l=s,c=o}return c}function Si(e,t,n,r){var i=e.length;n=Ju(n),n<0&&(n=-n>i?0:i+n),r=r===a||r>i?i:Ju(r),r<0&&(r+=i),r=n>r?0:qu(r);while(n<r)e[n++]=t;return e}function Li(e,t){var n=[];return Ai(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Ti(e,t,n,r,i){var a=-1,o=e.length;n||(n=as),i||(i=[]);while(++a<o){var s=e[a];t>0&&n(s)?t>1?Ti(s,t-1,n,r,i):Dn(i,s):r||(i[i.length]=s)}return i}var Di=uo(),Ei=uo(!0);function Ci(e,t){return e&&Di(e,t,Ad)}function Yi(e,t){return e&&Ei(e,t,Ad)}function Pi(e,t){return xn(t,(function(t){return bu(e[t])}))}function Oi(e,t){t=za(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Cs(t[n++])];return n&&n==r?e:a}function Ii(e,t,n){var r=t(e);return lu(e)?r:Dn(r,n(e))}function Ri(e){return null==e?e===a?ce:te:Tt&&Tt in nt(e)?Jo(e):_s(e)}function Ni(e,t){return e>t}function Fi(e,t){return null!=e&&dt.call(e,t)}function ji(e,t){return null!=e&&t in nt(e)}function Bi(e,t,n){return e>=Ht(t,n)&&e<Bt(t,n)}function Hi(e,t,r){var i=r?Ln:Sn,o=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];while(l--){var h=e[l];l&&t&&(h=Tn(h,Kn(t))),u=Ht(h.length,u),c[l]=!r&&(t||o>=120&&h.length>=120)?new qr(l&&h):a}h=e[0];var f=-1,p=c[0];e:while(++f<o&&d.length<u){var m=h[f],y=t?t(m):m;if(m=r||0!==m?m:0,!(p?Zn(p,y):i(d,y,r))){l=s;while(--l){var v=c[l];if(!(v?Zn(v,y):i(e[l],y,r)))continue e}p&&p.push(y),d.push(m)}}return d}function Wi(e,t,n,r){return Ci(e,(function(e,i,a){t(r,n(e),i,a)})),r}function zi(e,t,n){t=za(t,e),e=bs(e,t);var r=null==e?e:e[Cs(al(t))];return null==r?a:wn(r,e,n)}function Ui(e){return xu(e)&&Ri(e)==U}function Vi(e){return xu(e)&&Ri(e)==he}function Gi(e){return xu(e)&&Ri(e)==J}function Qi(e,t,n,r,i){return e===t||(null==e||null==t||!xu(e)&&!xu(t)?e!==e&&t!==t:Ji(e,t,n,r,Qi,i))}function Ji(e,t,n,r,i,a){var o=lu(e),s=lu(t),l=o?V:Xo(e),c=s?V:Xo(t);l=l==U?ne:l,c=c==U?ne:c;var u=l==ne,d=c==ne,h=l==c;if(h&&fu(e)){if(!fu(t))return!1;o=!0,u=!1}if(h&&!u)return a||(a=new Zr),o||Bu(e)?Io(e,t,n,r,i,a):Ro(e,t,l,n,r,i,a);if(!(n&v)){var f=u&&dt.call(e,"__wrapped__"),p=d&&dt.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,y=p?t.value():t;return a||(a=new Zr),i(m,y,n,r,a)}}return!!h&&(a||(a=new Zr),No(e,t,n,r,i,a))}function qi(e){return xu(e)&&Xo(e)==$}function Ki(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;e=nt(e);while(i--){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++i<o){l=n[i];var c=l[0],u=e[c],d=l[1];if(s&&l[2]){if(u===a&&!(c in e))return!1}else{var h=new Zr;if(r)var f=r(u,d,c,e,t,h);if(!(f===a?Qi(d,u,v|g,r,h):f))return!1}}return!0}function Xi(e){if(!Mu(e)||ds(e))return!1;var t=bu(e)?vt:Ke;return t.test(Ys(e))}function Zi(e){return xu(e)&&Ri(e)==ae}function $i(e){return xu(e)&&Xo(e)==oe}function ea(e){return xu(e)&&ku(e.length)&&!!Xt[Ri(e)]}function ta(e){return"function"==typeof e?e:null==e?Eh:"object"==typeof e?lu(e)?sa(e[0],e[1]):oa(e):zh(e)}function na(e){if(!fs(e))return jt(e);var t=[];for(var n in nt(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ra(e){if(!Mu(e))return gs(e);var t=fs(e),n=[];for(var r in e)("constructor"!=r||!t&&dt.call(e,r))&&n.push(r);return n}function ia(e,t){return e<t}function aa(e,t){var r=-1,i=uu(e)?n(e.length):[];return Ai(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function oa(e){var t=Go(e);return 1==t.length&&t[0][2]?ms(t[0][0],t[0][1]):function(n){return n===e||Ki(n,e,t)}}function sa(e,t){return ls(e)&&ps(t)?ms(Cs(e),t):function(n){var r=yd(n,e);return r===a&&r===t?gd(n,e):Qi(t,r,v|g)}}function la(e,t,n,r,i){e!==t&&Di(t,(function(o,s){if(i||(i=new Zr),Mu(o))ca(e,t,s,n,la,r,i);else{var l=r?r(ks(e,s),o,s+"",e,t,i):a;l===a&&(l=o),li(e,s,l)}}),kd)}function ca(e,t,n,r,i,o,s){var l=ks(e,n),c=ks(t,n),u=s.get(c);if(u)li(e,n,u);else{var d=o?o(l,c,n+"",e,t,s):a,h=d===a;if(h){var f=lu(c),p=!f&&fu(c),m=!f&&!p&&Bu(c);d=c,f||p||m?lu(l)?d=l:du(l)?d=ro(l):p?(h=!1,d=Qa(c,!0)):m?(h=!1,d=Za(c,!0)):d=[]:Ou(c)||su(c)?(d=l,su(l)?d=Xu(l):Mu(l)&&!bu(l)||(d=ns(c))):h=!1}h&&(s.set(c,d),i(d,c,r,o,s),s["delete"](c)),li(e,n,d)}}function ua(e,t){var n=e.length;if(n)return t+=t<0?n:0,os(t,n)?e[t]:a}function da(e,t,n){t=t.length?Tn(t,(function(e){return lu(e)?function(t){return Oi(t,1===e.length?e[0]:e)}:e})):[Eh];var r=-1;t=Tn(t,Kn(Uo()));var i=aa(e,(function(e,n,i){var a=Tn(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return Vn(i,(function(e,t){return eo(e,t,n)}))}function ha(e,t){return fa(e,t,(function(t,n){return gd(e,n)}))}function fa(e,t,n){var r=-1,i=t.length,a={};while(++r<i){var o=t[r],s=Oi(e,o);n(s,o)&&ka(a,za(o,e),s)}return a}function pa(e){return function(t){return Oi(t,e)}}function ma(e,t,n,r){var i=r?jn:Fn,a=-1,o=t.length,s=e;e===t&&(t=ro(t)),n&&(s=Tn(e,Kn(n)));while(++a<o){var l=0,c=t[a],u=n?n(c):c;while((l=i(s,u,l,r))>-1)s!==e&&xt.call(s,l,1),xt.call(e,l,1)}return e}function ya(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==a){var a=i;os(i)?xt.call(e,i,1):Ia(e,i)}}return e}function va(e,t){return e+Ot(Gt()*(t-e+1))}function ga(e,t,r,i){var a=-1,o=Bt(Pt((t-e)/(r||1)),0),s=n(o);while(o--)s[i?o:++a]=e,e+=r;return s}function _a(e,t){var n="";if(!e||t<1||t>N)return n;do{t%2&&(n+=e),t=Ot(t/2),t&&(e+=e)}while(t);return n}function wa(e,t){return Ss(ws(e,t,Eh),e+"")}function ba(e){return ai(Hd(e))}function Aa(e,t){var n=Hd(e);return Ds(n,yi(t,0,n.length))}function ka(e,t,n,r){if(!Mu(e))return e;t=za(t,e);var i=-1,o=t.length,s=o-1,l=e;while(null!=l&&++i<o){var c=Cs(t[i]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var d=l[c];u=r?r(d,c,l):a,u===a&&(u=Mu(d)?d:os(t[i+1])?[]:{})}ci(l,c,u),l=l[c]}return e}var Ma=sn?function(e,t){return sn.set(e,t),e}:Eh,xa=Dt?function(e,t){return Dt(e,"toString",{configurable:!0,enumerable:!1,value:Sh(t),writable:!0})}:Eh;function Sa(e){return Ds(Hd(e))}function La(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;var o=n(a);while(++i<a)o[i]=e[i+t];return o}function Ta(e,t){var n;return Ai(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}function Da(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=W){while(r<i){var a=r+i>>>1,o=e[a];null!==o&&!ju(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ea(e,t,Eh,n)}function Ea(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;t=n(t);var s=t!==t,l=null===t,c=ju(t),u=t===a;while(i<o){var d=Ot((i+o)/2),h=n(e[d]),f=h!==a,p=null===h,m=h===h,y=ju(h);if(s)var v=r||m;else v=u?m&&(r||f):l?m&&f&&(r||!p):c?m&&f&&!p&&(r||!y):!p&&!y&&(r?h<=t:h<t);v?i=d+1:o=d}return Ht(o,H)}function Ca(e,t){var n=-1,r=e.length,i=0,a=[];while(++n<r){var o=e[n],s=t?t(o):o;if(!n||!iu(s,l)){var l=s;a[i++]=0===o?0:o}}return a}function Ya(e){return"number"==typeof e?e:ju(e)?j:+e}function Pa(e){if("string"==typeof e)return e;if(lu(e))return Tn(e,Pa)+"";if(ju(e))return wr?wr.call(e):"";var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Oa(e,t,n){var r=-1,i=Sn,a=e.length,o=!0,l=[],c=l;if(n)o=!1,i=Ln;else if(a>=s){var u=t?null:Do(e);if(u)return hr(u);o=!1,i=Zn,c=new qr}else c=t?[]:l;e:while(++r<a){var d=e[r],h=t?t(d):d;if(d=n||0!==d?d:0,o&&h===h){var f=c.length;while(f--)if(c[f]===h)continue e;t&&c.push(h),l.push(d)}else i(c,h,n)||(c!==l&&c.push(h),l.push(d))}return l}function Ia(e,t){return t=za(t,e),e=bs(e,t),null==e||delete e[Cs(al(t))]}function Ra(e,t,n,r){return ka(e,t,n(Oi(e,t)),r)}function Na(e,t,n,r){var i=e.length,a=r?i:-1;while((r?a--:++a<i)&&t(e[a],a,e));return n?La(e,r?0:a,r?a+1:i):La(e,r?a+1:0,r?i:a)}function Fa(e,t){var n=e;return n instanceof Lr&&(n=n.value()),En(t,(function(e,t){return t.func.apply(t.thisArg,Dn([e],t.args))}),n)}function ja(e,t,r){var i=e.length;if(i<2)return i?Oa(e[0]):[];var a=-1,o=n(i);while(++a<i){var s=e[a],l=-1;while(++l<i)l!=a&&(o[a]=bi(o[a]||s,e[l],t,r))}return Oa(Ti(o,1),t,r)}function Ba(e,t,n){var r=-1,i=e.length,o=t.length,s={};while(++r<i){var l=r<o?t[r]:a;n(s,e[r],l)}return s}function Ha(e){return du(e)?e:[]}function Wa(e){return"function"==typeof e?e:Eh}function za(e,t){return lu(e)?e:ls(e,t)?[e]:Es($u(e))}var Ua=wa;function Va(e,t,n){var r=e.length;return n=n===a?r:n,!t&&n>=r?e:La(e,t,n)}var Ga=Et||function(e){return ln.clearTimeout(e)};function Qa(e,t){if(t)return e.slice();var n=e.length,r=bt?bt(n):new e.constructor(n);return e.copy(r),r}function Ja(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function qa(e,t){var n=t?Ja(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ka(e){var t=new e.constructor(e.source,Qe.exec(e));return t.lastIndex=e.lastIndex,t}function Xa(e){return pr?nt(pr.call(e)):{}}function Za(e,t){var n=t?Ja(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $a(e,t){if(e!==t){var n=e!==a,r=null===e,i=e===e,o=ju(e),s=t!==a,l=null===t,c=t===t,u=ju(t);if(!l&&!u&&!o&&e>t||o&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||l&&n&&i||!s&&i||!c)return-1}return 0}function eo(e,t,n){var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;while(++r<o){var l=$a(i[r],a[r]);if(l){if(r>=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}function to(e,t,r,i){var a=-1,o=e.length,s=r.length,l=-1,c=t.length,u=Bt(o-s,0),d=n(c+u),h=!i;while(++l<c)d[l]=t[l];while(++a<s)(h||a<o)&&(d[r[a]]=e[a]);while(u--)d[l++]=e[a++];return d}function no(e,t,r,i){var a=-1,o=e.length,s=-1,l=r.length,c=-1,u=t.length,d=Bt(o-l,0),h=n(d+u),f=!i;while(++a<d)h[a]=e[a];var p=a;while(++c<u)h[p+c]=t[c];while(++s<l)(f||a<o)&&(h[p+r[s]]=e[a++]);return h}function ro(e,t){var r=-1,i=e.length;t||(t=n(i));while(++r<i)t[r]=e[r];return t}function io(e,t,n,r){var i=!n;n||(n={});var o=-1,s=t.length;while(++o<s){var l=t[o],c=r?r(n[l],e[l],l,n,e):a;c===a&&(c=e[l]),i?pi(n,l,c):ci(n,l,c)}return n}function ao(e,t){return io(e,qo(e),t)}function oo(e,t){return io(e,Ko(e),t)}function so(e,t){return function(n,r){var i=lu(n)?bn:di,a=t?t():{};return i(n,e,Uo(r,2),a)}}function lo(e){return wa((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:a,s=i>2?n[2]:a;o=e.length>3&&"function"==typeof o?(i--,o):a,s&&ss(n[0],n[1],s)&&(o=i<3?a:o,i=1),t=nt(t);while(++r<i){var l=n[r];l&&e(t,l,r,o)}return t}))}function co(e,t){return function(n,r){if(null==n)return n;if(!uu(n))return e(n,r);var i=n.length,a=t?i:-1,o=nt(n);while(t?a--:++a<i)if(!1===r(o[a],a,o))break;return n}}function uo(e){return function(t,n,r){var i=-1,a=nt(t),o=r(t),s=o.length;while(s--){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}function ho(e,t,n){var r=t&_,i=mo(e);function a(){var t=this&&this!==ln&&this instanceof a?i:e;return t.apply(r?n:this,arguments)}return a}function fo(e){return function(t){t=$u(t);var n=or(t)?vr(t):a,r=n?n[0]:t.charAt(0),i=n?Va(n,1).join(""):t.slice(1);return r[e]()+i}}function po(e){return function(t){return En(bh(Jd(t).replace(zt,"")),e,"")}}function mo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=kr(e.prototype),r=e.apply(n,t);return Mu(r)?r:n}}function yo(e,t,r){var i=mo(e);function o(){var s=arguments.length,l=n(s),c=s,u=zo(o);while(c--)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:dr(l,u);if(s-=d.length,s<r)return Lo(e,t,_o,o.placeholder,a,l,d,a,a,r-s);var h=this&&this!==ln&&this instanceof o?i:e;return wn(h,this,l)}return o}function vo(e){return function(t,n,r){var i=nt(t);if(!uu(t)){var o=Uo(n,3);t=Ad(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:a}}function go(e){return Fo((function(t){var n=t.length,r=n,i=Sr.prototype.thru;e&&t.reverse();while(r--){var o=t[r];if("function"!=typeof o)throw new at(c);if(i&&!s&&"wrapper"==Wo(o))var s=new Sr([],!0)}r=s?r:n;while(++r<n){o=t[r];var l=Wo(o),u="wrapper"==l?Ho(o):a;s=u&&us(u[0])&&u[1]==(S|A|M|L)&&!u[4].length&&1==u[9]?s[Wo(u[0])].apply(s,u[3]):1==o.length&&us(o)?s[l]():s.thru(o)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&lu(r))return s.plant(r).value();var i=0,a=n?t[i].apply(this,e):r;while(++i<n)a=t[i].call(this,a);return a}}))}function _o(e,t,r,i,o,s,l,c,u,d){var h=t&S,f=t&_,p=t&w,m=t&(A|k),y=t&T,v=p?a:mo(e);function g(){var a=arguments.length,_=n(a),w=a;while(w--)_[w]=arguments[w];if(m)var b=zo(g),A=tr(_,b);if(i&&(_=to(_,i,o,m)),s&&(_=no(_,s,l,m)),a-=A,m&&a<d){var k=dr(_,b);return Lo(e,t,_o,g.placeholder,r,_,k,c,u,d-a)}var M=f?r:this,x=p?M[e]:e;return a=_.length,c?_=As(_,c):y&&a>1&&_.reverse(),h&&u<a&&(_.length=u),this&&this!==ln&&this instanceof g&&(x=v||mo(x)),x.apply(M,_)}return g}function wo(e,t){return function(n,r){return Wi(n,e,t(r),{})}}function bo(e,t){return function(n,r){var i;if(n===a&&r===a)return t;if(n!==a&&(i=n),r!==a){if(i===a)return r;"string"==typeof n||"string"==typeof r?(n=Pa(n),r=Pa(r)):(n=Ya(n),r=Ya(r)),i=e(n,r)}return i}}function Ao(e){return Fo((function(t){return t=Tn(t,Kn(Uo())),wa((function(n){var r=this;return e(t,(function(e){return wn(e,r,n)}))}))}))}function ko(e,t){t=t===a?" ":Pa(t);var n=t.length;if(n<2)return n?_a(t,e):t;var r=_a(t,Pt(e/yr(t)));return or(t)?Va(vr(r),0,e).join(""):r.slice(0,e)}function Mo(e,t,r,i){var a=t&_,o=mo(e);function s(){var t=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l),h=this&&this!==ln&&this instanceof s?o:e;while(++c<u)d[c]=i[c];while(l--)d[c++]=arguments[++t];return wn(h,a?r:this,d)}return s}function xo(e){return function(t,n,r){return r&&"number"!=typeof r&&ss(t,n,r)&&(n=r=a),t=Qu(t),n===a?(n=t,t=0):n=Qu(n),r=r===a?t<n?1:-1:Qu(r),ga(t,n,r,e)}}function So(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ku(t),n=Ku(n)),e(t,n)}}function Lo(e,t,n,r,i,o,s,l,c,u){var d=t&A,h=d?s:a,f=d?a:s,p=d?o:a,m=d?a:o;t|=d?M:x,t&=~(d?x:M),t&b||(t&=~(_|w));var y=[e,t,i,p,h,m,f,l,c,u],v=n.apply(a,y);return us(e)&&Ms(v,y),v.placeholder=r,Ls(v,e,t)}function To(e){var t=ze[e];return function(e,n){if(e=Ku(e),n=null==n?0:Ht(Ju(n),292),n&&Nt(e)){var r=($u(e)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+n));return r=($u(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var Do=tn&&1/hr(new tn([,-0]))[1]==R?function(e){return new tn(e)}:Fh;function Eo(e){return function(t){var n=Xo(t);return n==$?cr(t):n==oe?fr(t):Jn(t,e(t))}}function Co(e,t,n,r,i,o,s,l){var u=t&w;if(!u&&"function"!=typeof e)throw new at(c);var d=r?r.length:0;if(d||(t&=~(M|x),r=i=a),s=s===a?s:Bt(Ju(s),0),l=l===a?l:Ju(l),d-=i?i.length:0,t&x){var h=r,f=i;r=i=a}var p=u?a:Ho(e),m=[e,t,n,r,i,h,f,o,s,l];if(p&&vs(m,p),e=m[0],t=m[1],n=m[2],r=m[3],i=m[4],l=m[9]=m[9]===a?u?0:e.length:Bt(m[9]-d,0),!l&&t&(A|k)&&(t&=~(A|k)),t&&t!=_)y=t==A||t==k?yo(e,t,l):t!=M&&t!=(_|M)||i.length?_o.apply(a,m):Mo(e,t,n,r);else var y=ho(e,t,n);var v=p?Ma:Ms;return Ls(v(y,m),e,t)}function Yo(e,t,n,r){return e===a||iu(e,lt[n])&&!dt.call(r,n)?t:e}function Po(e,t,n,r,i,o){return Mu(e)&&Mu(t)&&(o.set(t,e),la(e,t,a,Po,o),o["delete"](t)),e}function Oo(e){return Ou(e)?a:e}function Io(e,t,n,r,i,o){var s=n&v,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var h=-1,f=!0,p=n&g?new qr:a;o.set(e,t),o.set(t,e);while(++h<l){var m=e[h],y=t[h];if(r)var _=s?r(y,m,h,t,e,o):r(m,y,h,e,t,o);if(_!==a){if(_)continue;f=!1;break}if(p){if(!Yn(t,(function(e,t){if(!Zn(p,t)&&(m===e||i(m,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(m!==y&&!i(m,y,n,r,o)){f=!1;break}}return o["delete"](e),o["delete"](t),f}function Ro(e,t,n,r,i,a,o){switch(n){case fe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case he:return!(e.byteLength!=t.byteLength||!a(new wt(e),new wt(t)));case Q:case J:case ee:return iu(+e,+t);case K:return e.name==t.name&&e.message==t.message;case ae:case se:return e==t+"";case $:var s=cr;case oe:var l=r&v;if(s||(s=hr),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=g,o.set(e,t);var u=Io(s(e),s(t),r,i,a,o);return o["delete"](e),u;case le:if(pr)return pr.call(e)==pr.call(t)}return!1}function No(e,t,n,r,i,o){var s=n&v,l=jo(e),c=l.length,u=jo(t),d=u.length;if(c!=d&&!s)return!1;var h=c;while(h--){var f=l[h];if(!(s?f in t:dt.call(t,f)))return!1}var p=o.get(e),m=o.get(t);if(p&&m)return p==t&&m==e;var y=!0;o.set(e,t),o.set(t,e);var g=s;while(++h<c){f=l[h];var _=e[f],w=t[f];if(r)var b=s?r(w,_,f,t,e,o):r(_,w,f,e,t,o);if(!(b===a?_===w||i(_,w,n,r,o):b)){y=!1;break}g||(g="constructor"==f)}if(y&&!g){var A=e.constructor,k=t.constructor;A==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof k&&k instanceof k||(y=!1)}return o["delete"](e),o["delete"](t),y}function Fo(e){return Ss(ws(e,a,Js),e+"")}function jo(e){return Ii(e,Ad,qo)}function Bo(e){return Ii(e,kd,Ko)}var Ho=sn?function(e){return sn.get(e)}:Fh;function Wo(e){var t=e.name+"",n=cn[t],r=dt.call(cn,t)?n.length:0;while(r--){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function zo(e){var t=dt.call(br,"placeholder")?br:e;return t.placeholder}function Uo(){var e=br.iteratee||Ch;return e=e===Ch?ta:e,arguments.length?e(arguments[0],arguments[1]):e}function Vo(e,t){var n=e.__data__;return cs(t)?n["string"==typeof t?"string":"hash"]:n.map}function Go(e){var t=Ad(e),n=t.length;while(n--){var r=t[n],i=e[r];t[n]=[r,i,ps(i)]}return t}function Qo(e,t){var n=ar(e,t);return Xi(n)?n:a}function Jo(e){var t=dt.call(e,Tt),n=e[Tt];try{e[Tt]=a;var r=!0}catch(o){}var i=pt.call(e);return r&&(t?e[Tt]=n:delete e[Tt]),i}var qo=It?function(e){return null==e?[]:(e=nt(e),xn(It(e),(function(t){return Mt.call(e,t)})))}:Qh,Ko=It?function(e){var t=[];while(e)Dn(t,qo(e)),e=At(e);return t}:Qh,Xo=Ri;function Zo(e,t,n){var r=-1,i=n.length;while(++r<i){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=Ht(t,e+o);break;case"takeRight":e=Bt(e,t-o);break}}return{start:e,end:t}}function $o(e){var t=e.match(He);return t?t[1].split(We):[]}function es(e,t,n){t=za(t,e);var r=-1,i=t.length,a=!1;while(++r<i){var o=Cs(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=null==e?0:e.length,!!i&&ku(i)&&os(o,i)&&(lu(e)||su(e)))}function ts(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&dt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ns(e){return"function"!=typeof e.constructor||fs(e)?{}:kr(At(e))}function rs(e,t,n){var r=e.constructor;switch(t){case he:return Ja(e);case Q:case J:return new r(+e);case fe:return qa(e,n);case pe:case me:case ye:case ve:case ge:case _e:case we:case be:case Ae:return Za(e,n);case $:return new r;case ee:case se:return new r(e);case ae:return Ka(e);case oe:return new r;case le:return Xa(e)}}function is(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Be,"{\n/* [wrapped with "+t+"] */\n")}function as(e){return lu(e)||su(e)||!!(St&&e&&e[St])}function os(e,t){var n=typeof e;return t=null==t?N:t,!!t&&("number"==n||"symbol"!=n&&Ze.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,n){if(!Mu(n))return!1;var r=typeof t;return!!("number"==r?uu(n)&&os(t,n.length):"string"==r&&t in n)&&iu(n[t],e)}function ls(e,t){if(lu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ju(e))||Oe.test(e)||!Pe.test(e)||null!=t&&e in nt(t)}function cs(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function us(e){var t=Wo(e),n=br[t];if("function"!=typeof n||!(t in Lr.prototype))return!1;if(e===n)return!0;var r=Ho(n);return!!r&&e===r[0]}function ds(e){return!!ft&&ft in e}(Jt&&Xo(new Jt(new ArrayBuffer(1)))!=fe||$t&&Xo(new $t)!=$||en&&Xo(en.resolve())!=re||tn&&Xo(new tn)!=oe||nn&&Xo(new nn)!=ue)&&(Xo=function(e){var t=Ri(e),n=t==ne?e.constructor:a,r=n?Ys(n):"";if(r)switch(r){case un:return fe;case hn:return $;case fn:return re;case Pn:return oe;case On:return ue}return t});var hs=ct?bu:Jh;function fs(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function ps(e){return e===e&&!Mu(e)}function ms(e,t){return function(n){return null!=n&&n[e]===t&&(t!==a||e in nt(n))}}function ys(e){var t=Bc(e,(function(e){return n.size===h&&n.clear(),e})),n=t.cache;return t}function vs(e,t){var n=e[1],r=t[1],i=n|r,a=i<(_|w|S),o=r==S&&n==A||r==S&&n==L&&e[7].length<=t[8]||r==(S|L)&&t[7].length<=t[8]&&n==A;if(!a&&!o)return e;r&_&&(e[2]=t[2],i|=n&_?0:b);var s=t[3];if(s){var l=e[3];e[3]=l?to(l,s,t[4]):s,e[4]=l?dr(e[3],f):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?no(l,s,t[6]):s,e[6]=l?dr(e[5],f):t[6]),s=t[7],s&&(e[7]=s),r&S&&(e[8]=null==e[8]?t[8]:Ht(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function gs(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function _s(e){return pt.call(e)}function ws(e,t,r){return t=Bt(t===a?e.length-1:t,0),function(){var i=arguments,a=-1,o=Bt(i.length-t,0),s=n(o);while(++a<o)s[a]=i[t+a];a=-1;var l=n(t+1);while(++a<t)l[a]=i[a];return l[t]=r(s),wn(e,this,l)}}function bs(e,t){return t.length<2?e:Oi(e,La(t,0,-1))}function As(e,t){var n=e.length,r=Ht(t.length,n),i=ro(e);while(r--){var o=t[r];e[r]=os(o,n)?i[o]:a}return e}function ks(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Ms=Ts(Ma),xs=Yt||function(e,t){return ln.setTimeout(e,t)},Ss=Ts(xa);function Ls(e,t,n){var r=t+"";return Ss(e,is(r,Ps($o(r),n)))}function Ts(e){var t=0,n=0;return function(){var r=Wt(),i=Y-(r-n);if(n=r,i>0){if(++t>=C)return arguments[0]}else t=0;return e.apply(a,arguments)}}function Ds(e,t){var n=-1,r=e.length,i=r-1;t=t===a?r:t;while(++n<t){var o=va(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var Es=ys((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ie,(function(e,n,r,i){t.push(r?i.replace(Ve,"$1"):n||e)})),t}));function Cs(e){if("string"==typeof e||ju(e))return e;var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Ys(e){if(null!=e){try{return ut.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ps(e,t){return An(z,(function(n){var r="_."+n[0];t&n[1]&&!Sn(e,r)&&e.push(r)})),e.sort()}function Os(e){if(e instanceof Lr)return e.clone();var t=new Sr(e.__wrapped__,e.__chain__);return t.__actions__=ro(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Is(e,t,r){t=(r?ss(e,t,r):t===a)?1:Bt(Ju(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var o=0,s=0,l=n(Pt(i/t));while(o<i)l[s++]=La(e,o,o+=t);return l}function Rs(e){var t=-1,n=null==e?0:e.length,r=0,i=[];while(++t<n){var a=e[t];a&&(i[r++]=a)}return i}function Ns(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return Dn(lu(r)?ro(r):[r],Ti(t,1))}var Fs=wa((function(e,t){return du(e)?bi(e,Ti(t,1,du,!0)):[]})),js=wa((function(e,t){var n=al(t);return du(n)&&(n=a),du(e)?bi(e,Ti(t,1,du,!0),Uo(n,2)):[]})),Bs=wa((function(e,t){var n=al(t);return du(n)&&(n=a),du(e)?bi(e,Ti(t,1,du,!0),a,n):[]}));function Hs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===a?1:Ju(t),La(e,t<0?0:t,r)):[]}function Ws(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===a?1:Ju(t),t=r-t,La(e,0,t<0?0:t)):[]}function zs(e,t){return e&&e.length?Na(e,Uo(t,3),!0,!0):[]}function Us(e,t){return e&&e.length?Na(e,Uo(t,3),!0):[]}function Vs(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&ss(e,t,n)&&(n=0,r=i),Si(e,t,n,r)):[]}function Gs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ju(n);return i<0&&(i=Bt(r+i,0)),Nn(e,Uo(t,3),i)}function Qs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==a&&(i=Ju(n),i=n<0?Bt(r+i,0):Ht(i,r-1)),Nn(e,Uo(t,3),i,!0)}function Js(e){var t=null==e?0:e.length;return t?Ti(e,1):[]}function qs(e){var t=null==e?0:e.length;return t?Ti(e,R):[]}function Ks(e,t){var n=null==e?0:e.length;return n?(t=t===a?1:Ju(t),Ti(e,t)):[]}function Xs(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var i=e[t];r[i[0]]=i[1]}return r}function Zs(e){return e&&e.length?e[0]:a}function $s(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ju(n);return i<0&&(i=Bt(r+i,0)),Fn(e,t,i)}function el(e){var t=null==e?0:e.length;return t?La(e,0,-1):[]}var tl=wa((function(e){var t=Tn(e,Ha);return t.length&&t[0]===e[0]?Hi(t):[]})),nl=wa((function(e){var t=al(e),n=Tn(e,Ha);return t===al(n)?t=a:n.pop(),n.length&&n[0]===e[0]?Hi(n,Uo(t,2)):[]})),rl=wa((function(e){var t=al(e),n=Tn(e,Ha);return t="function"==typeof t?t:a,t&&n.pop(),n.length&&n[0]===e[0]?Hi(n,a,t):[]}));function il(e,t){return null==e?"":Ft.call(e,t)}function al(e){var t=null==e?0:e.length;return t?e[t-1]:a}function ol(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==a&&(i=Ju(n),i=i<0?Bt(r+i,0):Ht(i,r-1)),t===t?mr(e,t,i):Nn(e,Bn,i,!0)}function sl(e,t){return e&&e.length?ua(e,Ju(t)):a}var ll=wa(cl);function cl(e,t){return e&&e.length&&t&&t.length?ma(e,t):e}function ul(e,t,n){return e&&e.length&&t&&t.length?ma(e,t,Uo(n,2)):e}function dl(e,t,n){return e&&e.length&&t&&t.length?ma(e,t,a,n):e}var hl=Fo((function(e,t){var n=null==e?0:e.length,r=mi(e,t);return ya(e,Tn(t,(function(e){return os(e,n)?+e:e})).sort($a)),r}));function fl(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;t=Uo(t,3);while(++r<a){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return ya(e,i),n}function pl(e){return null==e?e:Qt.call(e)}function ml(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ss(e,t,n)?(t=0,n=r):(t=null==t?0:Ju(t),n=n===a?r:Ju(n)),La(e,t,n)):[]}function yl(e,t){return Da(e,t)}function vl(e,t,n){return Ea(e,t,Uo(n,2))}function gl(e,t){var n=null==e?0:e.length;if(n){var r=Da(e,t);if(r<n&&iu(e[r],t))return r}return-1}function _l(e,t){return Da(e,t,!0)}function wl(e,t,n){return Ea(e,t,Uo(n,2),!0)}function bl(e,t){var n=null==e?0:e.length;if(n){var r=Da(e,t,!0)-1;if(iu(e[r],t))return r}return-1}function Al(e){return e&&e.length?Ca(e):[]}function kl(e,t){return e&&e.length?Ca(e,Uo(t,2)):[]}function Ml(e){var t=null==e?0:e.length;return t?La(e,1,t):[]}function xl(e,t,n){return e&&e.length?(t=n||t===a?1:Ju(t),La(e,0,t<0?0:t)):[]}function Sl(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===a?1:Ju(t),t=r-t,La(e,t<0?0:t,r)):[]}function Ll(e,t){return e&&e.length?Na(e,Uo(t,3),!1,!0):[]}function Tl(e,t){return e&&e.length?Na(e,Uo(t,3)):[]}var Dl=wa((function(e){return Oa(Ti(e,1,du,!0))})),El=wa((function(e){var t=al(e);return du(t)&&(t=a),Oa(Ti(e,1,du,!0),Uo(t,2))})),Cl=wa((function(e){var t=al(e);return t="function"==typeof t?t:a,Oa(Ti(e,1,du,!0),a,t)}));function Yl(e){return e&&e.length?Oa(e):[]}function Pl(e,t){return e&&e.length?Oa(e,Uo(t,2)):[]}function Ol(e,t){return t="function"==typeof t?t:a,e&&e.length?Oa(e,a,t):[]}function Il(e){if(!e||!e.length)return[];var t=0;return e=xn(e,(function(e){if(du(e))return t=Bt(e.length,t),!0})),Qn(t,(function(t){return Tn(e,Wn(t))}))}function Rl(e,t){if(!e||!e.length)return[];var n=Il(e);return null==t?n:Tn(n,(function(e){return wn(t,a,e)}))}var Nl=wa((function(e,t){return du(e)?bi(e,t):[]})),Fl=wa((function(e){return ja(xn(e,du))})),jl=wa((function(e){var t=al(e);return du(t)&&(t=a),ja(xn(e,du),Uo(t,2))})),Bl=wa((function(e){var t=al(e);return t="function"==typeof t?t:a,ja(xn(e,du),a,t)})),Hl=wa(Il);function Wl(e,t){return Ba(e||[],t||[],ci)}function zl(e,t){return Ba(e||[],t||[],ka)}var Ul=wa((function(e){var t=e.length,n=t>1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,Rl(e,n)}));function Vl(e){var t=br(e);return t.__chain__=!0,t}function Gl(e,t){return t(e),e}function Ql(e,t){return t(e)}var Jl=Fo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return mi(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Lr&&os(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ql,args:[i],thisArg:a}),new Sr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)}));function ql(){return Vl(this)}function Kl(){return new Sr(this.value(),this.__chain__)}function Xl(){this.__values__===a&&(this.__values__=Gu(this.value()));var e=this.__index__>=this.__values__.length,t=e?a:this.__values__[this.__index__++];return{done:e,value:t}}function Zl(){return this}function $l(e){var t,n=this;while(n instanceof xr){var r=Os(n);r.__index__=0,r.__values__=a,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function ec(){var e=this.__wrapped__;if(e instanceof Lr){var t=e;return this.__actions__.length&&(t=new Lr(this)),t=t.reverse(),t.__actions__.push({func:Ql,args:[pl],thisArg:a}),new Sr(t,this.__chain__)}return this.thru(pl)}function tc(){return Fa(this.__wrapped__,this.__actions__)}var nc=so((function(e,t,n){dt.call(e,n)?++e[n]:pi(e,n,1)}));function rc(e,t,n){var r=lu(e)?Mn:Mi;return n&&ss(e,t,n)&&(t=a),r(e,Uo(t,3))}function ic(e,t){var n=lu(e)?xn:Li;return n(e,Uo(t,3))}var ac=vo(Gs),oc=vo(Qs);function sc(e,t){return Ti(yc(e,t),1)}function lc(e,t){return Ti(yc(e,t),R)}function cc(e,t,n){return n=n===a?1:Ju(n),Ti(yc(e,t),n)}function uc(e,t){var n=lu(e)?An:Ai;return n(e,Uo(t,3))}function dc(e,t){var n=lu(e)?kn:ki;return n(e,Uo(t,3))}var hc=so((function(e,t,n){dt.call(e,n)?e[n].push(t):pi(e,n,[t])}));function fc(e,t,n,r){e=uu(e)?e:Hd(e),n=n&&!r?Ju(n):0;var i=e.length;return n<0&&(n=Bt(i+n,0)),Fu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Fn(e,t,n)>-1}var pc=wa((function(e,t,r){var i=-1,a="function"==typeof t,o=uu(e)?n(e.length):[];return Ai(e,(function(e){o[++i]=a?wn(t,e,r):zi(e,t,r)})),o})),mc=so((function(e,t,n){pi(e,n,t)}));function yc(e,t){var n=lu(e)?Tn:aa;return n(e,Uo(t,3))}function vc(e,t,n,r){return null==e?[]:(lu(t)||(t=null==t?[]:[t]),n=r?a:n,lu(n)||(n=null==n?[]:[n]),da(e,t,n))}var gc=so((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function _c(e,t,n){var r=lu(e)?En:Un,i=arguments.length<3;return r(e,Uo(t,4),n,i,Ai)}function wc(e,t,n){var r=lu(e)?Cn:Un,i=arguments.length<3;return r(e,Uo(t,4),n,i,ki)}function bc(e,t){var n=lu(e)?xn:Li;return n(e,Hc(Uo(t,3)))}function Ac(e){var t=lu(e)?ai:ba;return t(e)}function kc(e,t,n){t=(n?ss(e,t,n):t===a)?1:Ju(t);var r=lu(e)?oi:Aa;return r(e,t)}function Mc(e){var t=lu(e)?si:Sa;return t(e)}function xc(e){if(null==e)return 0;if(uu(e))return Fu(e)?yr(e):e.length;var t=Xo(e);return t==$||t==oe?e.size:na(e).length}function Sc(e,t,n){var r=lu(e)?Yn:Ta;return n&&ss(e,t,n)&&(t=a),r(e,Uo(t,3))}var Lc=wa((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),da(e,Ti(t,1),[])})),Tc=Ct||function(){return ln.Date.now()};function Dc(e,t){if("function"!=typeof t)throw new at(c);return e=Ju(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ec(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Co(e,S,a,a,a,a,t)}function Cc(e,t){var n;if("function"!=typeof t)throw new at(c);return e=Ju(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var Yc=wa((function(e,t,n){var r=_;if(n.length){var i=dr(n,zo(Yc));r|=M}return Co(e,r,t,n,i)})),Pc=wa((function(e,t,n){var r=_|w;if(n.length){var i=dr(n,zo(Pc));r|=M}return Co(t,r,e,n,i)}));function Oc(e,t,n){t=n?a:t;var r=Co(e,A,a,a,a,a,a,t);return r.placeholder=Oc.placeholder,r}function Ic(e,t,n){t=n?a:t;var r=Co(e,k,a,a,a,a,a,t);return r.placeholder=Ic.placeholder,r}function Rc(e,t,n){var r,i,o,s,l,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new at(c);function m(t){var n=r,o=i;return r=i=a,d=t,s=e.apply(o,n),s}function y(e){return d=e,l=xs(_,t),h?m(e):s}function v(e){var n=e-u,r=e-d,i=t-n;return f?Ht(i,o-r):i}function g(e){var n=e-u,r=e-d;return u===a||n>=t||n<0||f&&r>=o}function _(){var e=Tc();if(g(e))return w(e);l=xs(_,v(e))}function w(e){return l=a,p&&r?m(e):(r=i=a,s)}function b(){l!==a&&Ga(l),d=0,r=u=i=l=a}function A(){return l===a?s:w(Tc())}function k(){var e=Tc(),n=g(e);if(r=arguments,i=this,u=e,n){if(l===a)return y(u);if(f)return Ga(l),l=xs(_,t),m(u)}return l===a&&(l=xs(_,t)),s}return t=Ku(t)||0,Mu(n)&&(h=!!n.leading,f="maxWait"in n,o=f?Bt(Ku(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),k.cancel=b,k.flush=A,k}var Nc=wa((function(e,t){return wi(e,1,t)})),Fc=wa((function(e,t,n){return wi(e,Ku(t)||0,n)}));function jc(e){return Co(e,T)}function Bc(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new at(c);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Bc.Cache||zr),n}function Hc(e){if("function"!=typeof e)throw new at(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Wc(e){return Cc(2,e)}Bc.Cache=zr;var zc=Ua((function(e,t){t=1==t.length&&lu(t[0])?Tn(t[0],Kn(Uo())):Tn(Ti(t,1),Kn(Uo()));var n=t.length;return wa((function(r){var i=-1,a=Ht(r.length,n);while(++i<a)r[i]=t[i].call(this,r[i]);return wn(e,this,r)}))})),Uc=wa((function(e,t){var n=dr(t,zo(Uc));return Co(e,M,a,t,n)})),Vc=wa((function(e,t){var n=dr(t,zo(Vc));return Co(e,x,a,t,n)})),Gc=Fo((function(e,t){return Co(e,L,a,a,a,t)}));function Qc(e,t){if("function"!=typeof e)throw new at(c);return t=t===a?t:Ju(t),wa(e,t)}function Jc(e,t){if("function"!=typeof e)throw new at(c);return t=null==t?0:Bt(Ju(t),0),wa((function(n){var r=n[t],i=Va(n,0,t);return r&&Dn(i,r),wn(e,this,i)}))}function qc(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new at(c);return Mu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Rc(e,t,{leading:r,maxWait:t,trailing:i})}function Kc(e){return Ec(e,1)}function Xc(e,t){return Uc(Wa(t),e)}function Zc(){if(!arguments.length)return[];var e=arguments[0];return lu(e)?e:[e]}function $c(e){return vi(e,y)}function eu(e,t){return t="function"==typeof t?t:a,vi(e,y,t)}function tu(e){return vi(e,p|y)}function nu(e,t){return t="function"==typeof t?t:a,vi(e,p|y,t)}function ru(e,t){return null==t||_i(e,t,Ad(t))}function iu(e,t){return e===t||e!==e&&t!==t}var au=So(Ni),ou=So((function(e,t){return e>=t})),su=Ui(function(){return arguments}())?Ui:function(e){return xu(e)&&dt.call(e,"callee")&&!Mt.call(e,"callee")},lu=n.isArray,cu=pn?Kn(pn):Vi;function uu(e){return null!=e&&ku(e.length)&&!bu(e)}function du(e){return xu(e)&&uu(e)}function hu(e){return!0===e||!1===e||xu(e)&&Ri(e)==Q}var fu=Rt||Jh,pu=mn?Kn(mn):Gi;function mu(e){return xu(e)&&1===e.nodeType&&!Ou(e)}function yu(e){if(null==e)return!0;if(uu(e)&&(lu(e)||"string"==typeof e||"function"==typeof e.splice||fu(e)||Bu(e)||su(e)))return!e.length;var t=Xo(e);if(t==$||t==oe)return!e.size;if(fs(e))return!na(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function vu(e,t){return Qi(e,t)}function gu(e,t,n){n="function"==typeof n?n:a;var r=n?n(e,t):a;return r===a?Qi(e,t,a,n):!!r}function _u(e){if(!xu(e))return!1;var t=Ri(e);return t==K||t==q||"string"==typeof e.message&&"string"==typeof e.name&&!Ou(e)}function wu(e){return"number"==typeof e&&Nt(e)}function bu(e){if(!Mu(e))return!1;var t=Ri(e);return t==X||t==Z||t==G||t==ie}function Au(e){return"number"==typeof e&&e==Ju(e)}function ku(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=N}function Mu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xu(e){return null!=e&&"object"==typeof e}var Su=yn?Kn(yn):qi;function Lu(e,t){return e===t||Ki(e,t,Go(t))}function Tu(e,t,n){return n="function"==typeof n?n:a,Ki(e,t,Go(t),n)}function Du(e){return Pu(e)&&e!=+e}function Eu(e){if(hs(e))throw new i(l);return Xi(e)}function Cu(e){return null===e}function Yu(e){return null==e}function Pu(e){return"number"==typeof e||xu(e)&&Ri(e)==ee}function Ou(e){if(!xu(e)||Ri(e)!=ne)return!1;var t=At(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ut.call(n)==mt}var Iu=vn?Kn(vn):Zi;function Ru(e){return Au(e)&&e>=-N&&e<=N}var Nu=gn?Kn(gn):$i;function Fu(e){return"string"==typeof e||!lu(e)&&xu(e)&&Ri(e)==se}function ju(e){return"symbol"==typeof e||xu(e)&&Ri(e)==le}var Bu=_n?Kn(_n):ea;function Hu(e){return e===a}function Wu(e){return xu(e)&&Xo(e)==ue}function zu(e){return xu(e)&&Ri(e)==de}var Uu=So(ia),Vu=So((function(e,t){return e<=t}));function Gu(e){if(!e)return[];if(uu(e))return Fu(e)?vr(e):ro(e);if(Lt&&e[Lt])return lr(e[Lt]());var t=Xo(e),n=t==$?cr:t==oe?hr:Hd;return n(e)}function Qu(e){if(!e)return 0===e?e:0;if(e=Ku(e),e===R||e===-R){var t=e<0?-1:1;return t*F}return e===e?e:0}function Ju(e){var t=Qu(e),n=t%1;return t===t?n?t-n:t:0}function qu(e){return e?yi(Ju(e),0,B):0}function Ku(e){if("number"==typeof e)return e;if(ju(e))return j;if(Mu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qn(e);var n=qe.test(e);return n||Xe.test(e)?an(e.slice(2),n?2:8):Je.test(e)?j:+e}function Xu(e){return io(e,kd(e))}function Zu(e){return e?yi(Ju(e),-N,N):0===e?e:0}function $u(e){return null==e?"":Pa(e)}var ed=lo((function(e,t){if(fs(t)||uu(t))io(t,Ad(t),e);else for(var n in t)dt.call(t,n)&&ci(e,n,t[n])})),td=lo((function(e,t){io(t,kd(t),e)})),nd=lo((function(e,t,n,r){io(t,kd(t),e,r)})),rd=lo((function(e,t,n,r){io(t,Ad(t),e,r)})),id=Fo(mi);function ad(e,t){var n=kr(e);return null==t?n:hi(n,t)}var od=wa((function(e,t){e=nt(e);var n=-1,r=t.length,i=r>2?t[2]:a;i&&ss(t[0],t[1],i)&&(r=1);while(++n<r){var o=t[n],s=kd(o),l=-1,c=s.length;while(++l<c){var u=s[l],d=e[u];(d===a||iu(d,lt[u])&&!dt.call(e,u))&&(e[u]=o[u])}}return e})),sd=wa((function(e){return e.push(a,Po),wn(Ld,a,e)}));function ld(e,t){return Rn(e,Uo(t,3),Ci)}function cd(e,t){return Rn(e,Uo(t,3),Yi)}function ud(e,t){return null==e?e:Di(e,Uo(t,3),kd)}function dd(e,t){return null==e?e:Ei(e,Uo(t,3),kd)}function hd(e,t){return e&&Ci(e,Uo(t,3))}function fd(e,t){return e&&Yi(e,Uo(t,3))}function pd(e){return null==e?[]:Pi(e,Ad(e))}function md(e){return null==e?[]:Pi(e,kd(e))}function yd(e,t,n){var r=null==e?a:Oi(e,t);return r===a?n:r}function vd(e,t){return null!=e&&es(e,t,Fi)}function gd(e,t){return null!=e&&es(e,t,ji)}var _d=wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),Sh(Eh)),wd=wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),dt.call(e,t)?e[t].push(n):e[t]=[n]}),Uo),bd=wa(zi);function Ad(e){return uu(e)?ii(e):na(e)}function kd(e){return uu(e)?ii(e,!0):ra(e)}function Md(e,t){var n={};return t=Uo(t,3),Ci(e,(function(e,r,i){pi(n,t(e,r,i),e)})),n}function xd(e,t){var n={};return t=Uo(t,3),Ci(e,(function(e,r,i){pi(n,r,t(e,r,i))})),n}var Sd=lo((function(e,t,n){la(e,t,n)})),Ld=lo((function(e,t,n,r){la(e,t,n,r)})),Td=Fo((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tn(t,(function(t){return t=za(t,e),r||(r=t.length>1),t})),io(e,Bo(e),n),r&&(n=vi(n,p|m|y,Oo));var i=t.length;while(i--)Ia(n,t[i]);return n}));function Dd(e,t){return Cd(e,Hc(Uo(t)))}var Ed=Fo((function(e,t){return null==e?{}:ha(e,t)}));function Cd(e,t){if(null==e)return{};var n=Tn(Bo(e),(function(e){return[e]}));return t=Uo(t),fa(e,n,(function(e,n){return t(e,n[0])}))}function Yd(e,t,n){t=za(t,e);var r=-1,i=t.length;i||(i=1,e=a);while(++r<i){var o=null==e?a:e[Cs(t[r])];o===a&&(r=i,o=n),e=bu(o)?o.call(e):o}return e}function Pd(e,t,n){return null==e?e:ka(e,t,n)}function Od(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:ka(e,t,n,r)}var Id=Eo(Ad),Rd=Eo(kd);function Nd(e,t,n){var r=lu(e),i=r||fu(e)||Bu(e);if(t=Uo(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:Mu(e)&&bu(a)?kr(At(e)):{}}return(i?An:Ci)(e,(function(e,r,i){return t(n,e,r,i)})),n}function Fd(e,t){return null==e||Ia(e,t)}function jd(e,t,n){return null==e?e:Ra(e,t,Wa(n))}function Bd(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:Ra(e,t,Wa(n),r)}function Hd(e){return null==e?[]:Xn(e,Ad(e))}function Wd(e){return null==e?[]:Xn(e,kd(e))}function zd(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=Ku(n),n=n===n?n:0),t!==a&&(t=Ku(t),t=t===t?t:0),yi(Ku(e),t,n)}function Ud(e,t,n){return t=Qu(t),n===a?(n=t,t=0):n=Qu(n),e=Ku(e),Bi(e,t,n)}function Vd(e,t,n){if(n&&"boolean"!=typeof n&&ss(e,t,n)&&(t=n=a),n===a&&("boolean"==typeof t?(n=t,t=a):"boolean"==typeof e&&(n=e,e=a)),e===a&&t===a?(e=0,t=1):(e=Qu(e),t===a?(t=e,e=0):t=Qu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Gt();return Ht(e+i*(t-e+rn("1e-"+((i+"").length-1))),t)}return va(e,t)}var Gd=po((function(e,t,n){return t=t.toLowerCase(),e+(n?Qd(t):t)}));function Qd(e){return wh($u(e).toLowerCase())}function Jd(e){return e=$u(e),e&&e.replace($e,nr).replace(Ut,"")}function qd(e,t,n){e=$u(e),t=Pa(t);var r=e.length;n=n===a?r:yi(Ju(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function Kd(e){return e=$u(e),e&&De.test(e)?e.replace(Le,rr):e}function Xd(e){return e=$u(e),e&&Ne.test(e)?e.replace(Re,"\\$&"):e}var Zd=po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),$d=po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),eh=fo("toLowerCase");function th(e,t,n){e=$u(e),t=Ju(t);var r=t?yr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ko(Ot(i),n)+e+ko(Pt(i),n)}function nh(e,t,n){e=$u(e),t=Ju(t);var r=t?yr(e):0;return t&&r<t?e+ko(t-r,n):e}function rh(e,t,n){e=$u(e),t=Ju(t);var r=t?yr(e):0;return t&&r<t?ko(t-r,n)+e:e}function ih(e,t,n){return n||null==t?t=0:t&&(t=+t),Vt($u(e).replace(Fe,""),t||0)}function ah(e,t,n){return t=(n?ss(e,t,n):t===a)?1:Ju(t),_a($u(e),t)}function oh(){var e=arguments,t=$u(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var sh=po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function lh(e,t,n){return n&&"number"!=typeof n&&ss(e,t,n)&&(t=n=a),n=n===a?B:n>>>0,n?(e=$u(e),e&&("string"==typeof t||null!=t&&!Iu(t))&&(t=Pa(t),!t&&or(e))?Va(vr(e),0,n):e.split(t,n)):[]}var ch=po((function(e,t,n){return e+(n?" ":"")+wh(t)}));function uh(e,t,n){return e=$u(e),n=null==n?0:yi(Ju(n),0,e.length),t=Pa(t),e.slice(n,n+t.length)==t}function dh(e,t,n){var r=br.templateSettings;n&&ss(e,t,n)&&(t=a),e=$u(e),t=nd({},t,r,Yo);var o,s,l=nd({},t.imports,r.imports,Yo),c=Ad(l),d=Xn(l,c),h=0,f=t.interpolate||et,p="__p += '",m=rt((t.escape||et).source+"|"+f.source+"|"+(f===Ye?Ge:et).source+"|"+(t.evaluate||et).source+"|$","g"),y="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(m,(function(t,n,r,i,a,l){return r||(r=i),p+=e.slice(h,l).replace(tt,ir),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=l+t.length,t})),p+="';\n";var v=dt.call(t,"variable")&&t.variable;if(v){if(Ue.test(v))throw new i(u)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(ke,""):p).replace(Me,"$1").replace(xe,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Ah((function(){return je(c,y+"return "+p).apply(a,d)}));if(g.source=p,_u(g))throw g;return g}function hh(e){return $u(e).toLowerCase()}function fh(e){return $u(e).toUpperCase()}function ph(e,t,n){if(e=$u(e),e&&(n||t===a))return qn(e);if(!e||!(t=Pa(t)))return e;var r=vr(e),i=vr(t),o=$n(r,i),s=er(r,i)+1;return Va(r,o,s).join("")}function mh(e,t,n){if(e=$u(e),e&&(n||t===a))return e.slice(0,gr(e)+1);if(!e||!(t=Pa(t)))return e;var r=vr(e),i=er(r,vr(t))+1;return Va(r,0,i).join("")}function yh(e,t,n){if(e=$u(e),e&&(n||t===a))return e.replace(Fe,"");if(!e||!(t=Pa(t)))return e;var r=vr(e),i=$n(r,vr(t));return Va(r,i).join("")}function vh(e,t){var n=D,r=E;if(Mu(t)){var i="separator"in t?t.separator:i;n="length"in t?Ju(t.length):n,r="omission"in t?Pa(t.omission):r}e=$u(e);var o=e.length;if(or(e)){var s=vr(e);o=s.length}if(n>=o)return e;var l=n-yr(r);if(l<1)return r;var c=s?Va(s,0,l).join(""):e.slice(0,l);if(i===a)return c+r;if(s&&(l+=c.length-l),Iu(i)){if(e.slice(l).search(i)){var u,d=c;i.global||(i=rt(i.source,$u(Qe.exec(i))+"g")),i.lastIndex=0;while(u=i.exec(d))var h=u.index;c=c.slice(0,h===a?l:h)}}else if(e.indexOf(Pa(i),l)!=l){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function gh(e){return e=$u(e),e&&Te.test(e)?e.replace(Se,_r):e}var _h=po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),wh=fo("toUpperCase");function bh(e,t,n){return e=$u(e),t=n?a:t,t===a?sr(e)?Ar(e):In(e):e.match(t)||[]}var Ah=wa((function(e,t){try{return wn(e,a,t)}catch(n){return _u(n)?n:new i(n)}})),kh=Fo((function(e,t){return An(t,(function(t){t=Cs(t),pi(e,t,Yc(e[t],e))})),e}));function Mh(e){var t=null==e?0:e.length,n=Uo();return e=t?Tn(e,(function(e){if("function"!=typeof e[1])throw new at(c);return[n(e[0]),e[1]]})):[],wa((function(n){var r=-1;while(++r<t){var i=e[r];if(wn(i[0],this,n))return wn(i[1],this,n)}}))}function xh(e){return gi(vi(e,p))}function Sh(e){return function(){return e}}function Lh(e,t){return null==e||e!==e?t:e}var Th=go(),Dh=go(!0);function Eh(e){return e}function Ch(e){return ta("function"==typeof e?e:vi(e,p))}function Yh(e){return oa(vi(e,p))}function Ph(e,t){return sa(e,vi(t,p))}var Oh=wa((function(e,t){return function(n){return zi(n,e,t)}})),Ih=wa((function(e,t){return function(n){return zi(e,n,t)}}));function Rh(e,t,n){var r=Ad(t),i=Pi(t,r);null!=n||Mu(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Pi(t,Ad(t)));var a=!(Mu(n)&&"chain"in n)||!!n.chain,o=bu(e);return An(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),i=n.__actions__=ro(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dn([this.value()],arguments))})})),e}function Nh(){return ln._===this&&(ln._=yt),this}function Fh(){}function jh(e){return e=Ju(e),wa((function(t){return ua(t,e)}))}var Bh=Ao(Tn),Hh=Ao(Mn),Wh=Ao(Yn);function zh(e){return ls(e)?Wn(Cs(e)):pa(e)}function Uh(e){return function(t){return null==e?a:Oi(e,t)}}var Vh=xo(),Gh=xo(!0);function Qh(){return[]}function Jh(){return!1}function qh(){return{}}function Kh(){return""}function Xh(){return!0}function Zh(e,t){if(e=Ju(e),e<1||e>N)return[];var n=B,r=Ht(e,B);t=Uo(t),e-=B;var i=Qn(r,t);while(++n<e)t(n);return i}function $h(e){return lu(e)?Tn(e,Cs):ju(e)?[e]:ro(Es($u(e)))}function ef(e){var t=++ht;return $u(e)+t}var tf=bo((function(e,t){return e+t}),0),nf=To("ceil"),rf=bo((function(e,t){return e/t}),1),af=To("floor");function of(e){return e&&e.length?xi(e,Eh,Ni):a}function sf(e,t){return e&&e.length?xi(e,Uo(t,2),Ni):a}function lf(e){return Hn(e,Eh)}function cf(e,t){return Hn(e,Uo(t,2))}function uf(e){return e&&e.length?xi(e,Eh,ia):a}function df(e,t){return e&&e.length?xi(e,Uo(t,2),ia):a}var hf=bo((function(e,t){return e*t}),1),ff=To("round"),pf=bo((function(e,t){return e-t}),0);function mf(e){return e&&e.length?Gn(e,Eh):0}function yf(e,t){return e&&e.length?Gn(e,Uo(t,2)):0}return br.after=Dc,br.ary=Ec,br.assign=ed,br.assignIn=td,br.assignInWith=nd,br.assignWith=rd,br.at=id,br.before=Cc,br.bind=Yc,br.bindAll=kh,br.bindKey=Pc,br.castArray=Zc,br.chain=Vl,br.chunk=Is,br.compact=Rs,br.concat=Ns,br.cond=Mh,br.conforms=xh,br.constant=Sh,br.countBy=nc,br.create=ad,br.curry=Oc,br.curryRight=Ic,br.debounce=Rc,br.defaults=od,br.defaultsDeep=sd,br.defer=Nc,br.delay=Fc,br.difference=Fs,br.differenceBy=js,br.differenceWith=Bs,br.drop=Hs,br.dropRight=Ws,br.dropRightWhile=zs,br.dropWhile=Us,br.fill=Vs,br.filter=ic,br.flatMap=sc,br.flatMapDeep=lc,br.flatMapDepth=cc,br.flatten=Js,br.flattenDeep=qs,br.flattenDepth=Ks,br.flip=jc,br.flow=Th,br.flowRight=Dh,br.fromPairs=Xs,br.functions=pd,br.functionsIn=md,br.groupBy=hc,br.initial=el,br.intersection=tl,br.intersectionBy=nl,br.intersectionWith=rl,br.invert=_d,br.invertBy=wd,br.invokeMap=pc,br.iteratee=Ch,br.keyBy=mc,br.keys=Ad,br.keysIn=kd,br.map=yc,br.mapKeys=Md,br.mapValues=xd,br.matches=Yh,br.matchesProperty=Ph,br.memoize=Bc,br.merge=Sd,br.mergeWith=Ld,br.method=Oh,br.methodOf=Ih,br.mixin=Rh,br.negate=Hc,br.nthArg=jh,br.omit=Td,br.omitBy=Dd,br.once=Wc,br.orderBy=vc,br.over=Bh,br.overArgs=zc,br.overEvery=Hh,br.overSome=Wh,br.partial=Uc,br.partialRight=Vc,br.partition=gc,br.pick=Ed,br.pickBy=Cd,br.property=zh,br.propertyOf=Uh,br.pull=ll,br.pullAll=cl,br.pullAllBy=ul,br.pullAllWith=dl,br.pullAt=hl,br.range=Vh,br.rangeRight=Gh,br.rearg=Gc,br.reject=bc,br.remove=fl,br.rest=Qc,br.reverse=pl,br.sampleSize=kc,br.set=Pd,br.setWith=Od,br.shuffle=Mc,br.slice=ml,br.sortBy=Lc,br.sortedUniq=Al,br.sortedUniqBy=kl,br.split=lh,br.spread=Jc,br.tail=Ml,br.take=xl,br.takeRight=Sl,br.takeRightWhile=Ll,br.takeWhile=Tl,br.tap=Gl,br.throttle=qc,br.thru=Ql,br.toArray=Gu,br.toPairs=Id,br.toPairsIn=Rd,br.toPath=$h,br.toPlainObject=Xu,br.transform=Nd,br.unary=Kc,br.union=Dl,br.unionBy=El,br.unionWith=Cl,br.uniq=Yl,br.uniqBy=Pl,br.uniqWith=Ol,br.unset=Fd,br.unzip=Il,br.unzipWith=Rl,br.update=jd,br.updateWith=Bd,br.values=Hd,br.valuesIn=Wd,br.without=Nl,br.words=bh,br.wrap=Xc,br.xor=Fl,br.xorBy=jl,br.xorWith=Bl,br.zip=Hl,br.zipObject=Wl,br.zipObjectDeep=zl,br.zipWith=Ul,br.entries=Id,br.entriesIn=Rd,br.extend=td,br.extendWith=nd,Rh(br,br),br.add=tf,br.attempt=Ah,br.camelCase=Gd,br.capitalize=Qd,br.ceil=nf,br.clamp=zd,br.clone=$c,br.cloneDeep=tu,br.cloneDeepWith=nu,br.cloneWith=eu,br.conformsTo=ru,br.deburr=Jd,br.defaultTo=Lh,br.divide=rf,br.endsWith=qd,br.eq=iu,br.escape=Kd,br.escapeRegExp=Xd,br.every=rc,br.find=ac,br.findIndex=Gs,br.findKey=ld,br.findLast=oc,br.findLastIndex=Qs,br.findLastKey=cd,br.floor=af,br.forEach=uc,br.forEachRight=dc,br.forIn=ud,br.forInRight=dd,br.forOwn=hd,br.forOwnRight=fd,br.get=yd,br.gt=au,br.gte=ou,br.has=vd,br.hasIn=gd,br.head=Zs,br.identity=Eh,br.includes=fc,br.indexOf=$s,br.inRange=Ud,br.invoke=bd,br.isArguments=su,br.isArray=lu,br.isArrayBuffer=cu,br.isArrayLike=uu,br.isArrayLikeObject=du,br.isBoolean=hu,br.isBuffer=fu,br.isDate=pu,br.isElement=mu,br.isEmpty=yu,br.isEqual=vu,br.isEqualWith=gu,br.isError=_u,br.isFinite=wu,br.isFunction=bu,br.isInteger=Au,br.isLength=ku,br.isMap=Su,br.isMatch=Lu,br.isMatchWith=Tu,br.isNaN=Du,br.isNative=Eu,br.isNil=Yu,br.isNull=Cu,br.isNumber=Pu,br.isObject=Mu,br.isObjectLike=xu,br.isPlainObject=Ou,br.isRegExp=Iu,br.isSafeInteger=Ru,br.isSet=Nu,br.isString=Fu,br.isSymbol=ju,br.isTypedArray=Bu,br.isUndefined=Hu,br.isWeakMap=Wu,br.isWeakSet=zu,br.join=il,br.kebabCase=Zd,br.last=al,br.lastIndexOf=ol,br.lowerCase=$d,br.lowerFirst=eh,br.lt=Uu,br.lte=Vu,br.max=of,br.maxBy=sf,br.mean=lf,br.meanBy=cf,br.min=uf,br.minBy=df,br.stubArray=Qh,br.stubFalse=Jh,br.stubObject=qh,br.stubString=Kh,br.stubTrue=Xh,br.multiply=hf,br.nth=sl,br.noConflict=Nh,br.noop=Fh,br.now=Tc,br.pad=th,br.padEnd=nh,br.padStart=rh,br.parseInt=ih,br.random=Vd,br.reduce=_c,br.reduceRight=wc,br.repeat=ah,br.replace=oh,br.result=Yd,br.round=ff,br.runInContext=e,br.sample=Ac,br.size=xc,br.snakeCase=sh,br.some=Sc,br.sortedIndex=yl,br.sortedIndexBy=vl,br.sortedIndexOf=gl,br.sortedLastIndex=_l,br.sortedLastIndexBy=wl,br.sortedLastIndexOf=bl,br.startCase=ch,br.startsWith=uh,br.subtract=pf,br.sum=mf,br.sumBy=yf,br.template=dh,br.times=Zh,br.toFinite=Qu,br.toInteger=Ju,br.toLength=qu,br.toLower=hh,br.toNumber=Ku,br.toSafeInteger=Zu,br.toString=$u,br.toUpper=fh,br.trim=ph,br.trimEnd=mh,br.trimStart=yh,br.truncate=vh,br.unescape=gh,br.uniqueId=ef,br.upperCase=_h,br.upperFirst=wh,br.each=uc,br.eachRight=dc,br.first=Zs,Rh(br,function(){var e={};return Ci(br,(function(t,n){dt.call(br.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),br.VERSION=o,An(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){br[e].placeholder=br})),An(["drop","take"],(function(e,t){Lr.prototype[e]=function(n){n=n===a?1:Bt(Ju(n),0);var r=this.__filtered__&&!t?new Lr(this):this.clone();return r.__filtered__?r.__takeCount__=Ht(n,r.__takeCount__):r.__views__.push({size:Ht(n,B),type:e+(r.__dir__<0?"Right":"")}),r},Lr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),An(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==P||n==I;Lr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Uo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),An(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Lr.prototype[e]=function(){return this[n](1).value()[0]}})),An(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Lr.prototype[e]=function(){return this.__filtered__?new Lr(this):this[n](1)}})),Lr.prototype.compact=function(){return this.filter(Eh)},Lr.prototype.find=function(e){return this.filter(e).head()},Lr.prototype.findLast=function(e){return this.reverse().find(e)},Lr.prototype.invokeMap=wa((function(e,t){return"function"==typeof e?new Lr(this):this.map((function(n){return zi(n,e,t)}))})),Lr.prototype.reject=function(e){return this.filter(Hc(Uo(e)))},Lr.prototype.slice=function(e,t){e=Ju(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Lr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(t=Ju(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Lr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Lr.prototype.toArray=function(){return this.take(B)},Ci(Lr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=br[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(br.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Lr,c=s[0],u=l||lu(t),d=function(e){var t=i.apply(br,Dn([e],s));return r&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=o&&!h,m=l&&!f;if(!o&&u){t=m?t:new Lr(this);var y=e.apply(t,s);return y.__actions__.push({func:Ql,args:[d],thisArg:a}),new Sr(y,h)}return p&&m?e.apply(this,s):(y=this.thru(d),p?r?y.value()[0]:y.value():y)})})),An(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);br.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(lu(i)?i:[],e)}return this[n]((function(n){return t.apply(lu(n)?n:[],e)}))}})),Ci(Lr.prototype,(function(e,t){var n=br[t];if(n){var r=n.name+"";dt.call(cn,r)||(cn[r]=[]),cn[r].push({name:t,func:n})}})),cn[_o(a,w).name]=[{name:"wrapper",func:a}],Lr.prototype.clone=Tr,Lr.prototype.reverse=Dr,Lr.prototype.value=Er,br.prototype.at=Jl,br.prototype.chain=ql,br.prototype.commit=Kl,br.prototype.next=Xl,br.prototype.plant=$l,br.prototype.reverse=ec,br.prototype.toJSON=br.prototype.valueOf=br.prototype.value=tc,br.prototype.first=br.prototype.head,Lt&&(br.prototype[Lt]=Zl),br},Mr=kr();ln._=Mr,i=function(){return Mr}.call(t,n,t,r),i===a||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},3040:function(e,t,n){"use strict";n("7c7b")},3066:function(e,t,n){var r=n("f817");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("f4e3e888",r,!0,{sourceMap:!1,shadowMode:!1})},"306b":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-lite-player-toolbar-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box!important;height:100%;width:100%;padding:0 20px}.vod-lite-player-toolbar-container .vod-lite-player-progress{box-sizing:border-box!important;position:relative;top:10px;height:8px;width:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar{box-sizing:border-box!important;display:flex;position:absolute;top:26px;height:24px;width:calc(100% - 40px)}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar{width:160px;height:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar .icondcs-pause,.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar .icondcs-play{margin-left:0!important}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .split-line{margin:0 4px}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .time-info{width:200px;height:100%;margin-left:10px;line-height:24px;font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar{position:absolute;right:0;width:100px;height:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-volume-icon{position:absolute;left:56px;top:5px;fill:#fff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-volume-icon:hover{fill:#445eff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-fullscreen-icon{position:absolute;right:0;top:1px;fill:#fff;cursor:pointer}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-fullscreen-icon:hover{fill:#445eff}",""]),e.exports=t},3410:function(e,t,n){var r=n("23e7"),i=n("d039"),a=n("7b0b"),o=n("e163"),s=n("e177"),l=i((function(){o(1)}));r({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),a=n("b622"),o=a("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),a=n("825a"),o=n("df75");e.exports=r?Object.defineProperties:function(e,t){a(e);var n,r=o(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"383f":function(e,t,n){var r=n("a530");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("213c1f9a",r,!0,{sourceMap:!1,shadowMode:!1})},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"38ff":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".player-title-container{display:flex;position:absolute;top:0;z-index:2000;width:100%;height:40px;background:linear-gradient(180deg,#000,rgba(32,35,71,0));border-radius:0 0 2px 2px;opacity:0;transition:opacity 1s}.player-title-container .player-status{position:relative;width:24px;height:100%}.player-title-container .player-status .player-status-icon{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;display:block;width:6px;height:6px;border-radius:3px;background:#87ff4f}.player-title-container .player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 146px)}.player-title-container .player-name,.player-title-container .player-speed{height:100%;line-height:40px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff}.player-title-container .player-speed{width:100px;text-align:right}.player-title-container .player-close{position:relative;width:22px;height:100%;cursor:pointer}.player-title-container .player-close .dcs-close-player-icon{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;fill:#fff}.player-title-container .player-close .dcs-close-player-icon:hover{fill:#445eff;transform:scale(1.5)}",""]),e.exports=t},"39a6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}var i=e.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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},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||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"39df":function(e,t,n){var r=n("8d68");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("c43fd0c4",r,!0,{sourceMap:!1,shadowMode:!1})},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.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(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?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<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 r}))},"3a6c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},"3b1b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.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(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^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],i=/^(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 a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),a=n("7dd0"),o="String Iterator",s=i.set,l=i.getterFor(o);a(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3de5":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=e.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(e){return e+"வது"},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:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return r}))},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r=e.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(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?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return r}))},"3f8c":function(e,t){e.exports={}},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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}});return t}))},"428f":function(e,t,n){var r=n("da84");e.exports=r},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={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 t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return i(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return i(e)}return e/=1e3,i(e)}var a=e.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:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),a=n("9bf2"),o=r("unscopables"),s=Array.prototype;void 0==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),a=n("b622"),o=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},4678:function(e,t,n){var r={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="4678"},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),a=n("b622"),o=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
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ı"},n=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:"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(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,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n}))},4930:function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s=a[1],l=a[2],c=a[3],u={id:e+":"+i,css:s,media:l,sourceMap:c};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,i){c=n,d=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],l=a[s.id];l.refs--,n.push(l)}for(t?(o=r(e,t),m(o)):o=[],i=0;i<n.length;i++)if(l=n[i],0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(v(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function y(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+h+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=y()),t=_.bind(null,r,i,!1),n=_.bind(null,r,i,!0)}else r=y(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function w(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(h,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"49ab":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},"4ae1":function(e,t,n){var r=n("23e7"),i=n("d066"),a=n("1c0b"),o=n("825a"),s=n("861d"),l=n("7c73"),c=n("0538"),u=n("d039"),d=i("Reflect","construct"),h=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),f=!u((function(){d((function(){}))})),p=h||f;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){a(e),o(t);var n=arguments.length<3?e:a(arguments[2]);if(f&&!h)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var i=n.prototype,u=l(s(i)?i:Object.prototype),p=Function.apply.call(e,u,t);return s(p)?p:u}})},"4afa":function(e,t,n){var r=n("6567");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("43fe7206",r,!0,{sourceMap:!1,shadowMode:!1})},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),a=n("23cb"),o=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,a=n("1dde"),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),i=n("7b0b"),a=n("9bdd"),o=n("e95a"),s=n("50c4"),l=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,d,h,f,p=i(e),m="function"==typeof this?this:Array,y=arguments.length,v=y>1?arguments[1]:void 0,g=void 0!==v,_=c(p),w=0;if(g&&(v=r(v,y>2?arguments[2]:void 0,2)),void 0==_||m==Array&&o(_))for(t=s(p.length),n=new m(t);t>w;w++)f=g?v(p[w],w):p[w],l(n,w,f);else for(d=_.call(p),h=d.next,n=new m;!(u=h.call(d)).done;w++)f=g?a(d,v,[u.value,w],!0):u.value,l(n,w,f);return n.length=w,n}},"4e64":function(e,t,n){var r=n("24fb"),i=n("1de5"),a=n("8286"),o=n("f8fe"),s=n("f73c"),l=n("ecd7");t=r(!1);var c=i(a),u=i(a,{hash:"#iefix"}),d=i(o),h=i(s),f=i(l,{hash:"#iconfont"});t.push([e.i,"@font-face{font-family:iconfont;src:url("+c+");src:url("+u+') format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAWUAAsAAAAADBQAAAVGAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDbgqJZIdaATYCJAMsCxgABCAFhG0HgTUbJwpRlE9OiOzHQW7SuhKiGJGVdjvnZSUr7Y3/COrXPnvmvV0+DIEClCcDVD4KUYHQXyYqkS7KnGYj9n57la4tLM//GRnVtdT0BA5CmO+4LNfpdJWqkK1w/fvc7AWqyU9DmUhdTisiNw1QEwkVWzHwXa+YMPc1lx/uZ7w17oOtnn2bS0ZbJa4FB5TXhVHCd3Rgp34W4pmbGKjCNzNuJzC6rLLy9PL+iW2r+H6B+GGNYNsZndqAhF7ZVpxaxT+NPv/kGcxf9/NxbBDbpKbgd3r2/UKx471ub7O8Lq/elpXV9iwYnUXBHUwlvlfaPlqLYnesGRe2dTvNm6tgT7Is7Fka3tGuI6SiasaxTm8I+ee1uGwG4Xd8ZM9SoQR7VijJnjVKYQ9HqewRGg3kCBot5CSktiW3gRTkFKQgl0ACPkzmlNOY81j8Yix2ccVdZwmlb0txN7kq3H7LCUPO8hlsbSUURZJOUoQkpA2GHKyRWWqTClJo4RQgMIzalWmVrFzTTIO+FJtoc/Wp7PpzxbVn8itP0tUCzcsYVdXEynmqRskp5FTtbkamqEc6kgFduxeuMXCEllMotSjHluUytZ7GWzsdMDwhVt3BgKqdxjUaFtNqudiWDntQNbOYZr9WA4eTrCqaL/zO2OWbursDUmhv6sTEyi4yhRTuVlc0s3IQaFrluEfk1rYwoDO53ChVc6uBcD1jWwsTrdYLutQrV/irV2XXryuuXfOcNBtiObS5/PlENAZjF7HldXpdanM7pNCxu6ujtlN2bUTXpPYcs6N36xkg1Lv36nDUtJ+v0nIEpu0iZMMXhIu7LysvLd090SN0j+NNs8o5BQ7EmgTraatmsqRtQNdo7iWVQ9yXi/F0vHZrS1BjcdWGtfC/ktlNN7ebQMzc3ETJJQrSFqAFYWEJiRtQA1qYmJCV7Q8pIhZmZycmLCQaiA0JiTUjbkShlxr/1R+QB0FYvsluMO9EAORaFBXYF8jDT+WCiRvKg1pJvkWDf3M/TGcI6D9j+o/OoP8mi62lTqQMbKUM72pF2Ss2lQ4pldIiaafSeDUYW8NK6VDmlR8P5k71sDbee3rsxNFrVAl1bW//WGp166jDKCydFeK2NnGFYBuOrkrSdoRghYUYxCF9DkT9MrgdOjb2z+8frtYZPn2AyqIOTIcDnyIplArSQq/6/h716SKrM1bNqES79yH5q3TYa0fyA+HcZ/pPWqIPZFnqJGRJ/jctdyYAbc3r1yvEYV20eJ7vPBHtql+tu+O8gvlgmwn4A4qbKBWANIkEQF7LsuYAUAJFXZVvsWFAPmj6CwxAAPz0O1AdSa38qltPVLDr+1K5PZdVhbJCL99yuf8Bn9hVl0LO20ZbFC+QMXlnK5IYRZAFd237277iFLmQ0DuVQOpcgqJ3BVMJd6Ax2YFW7wGMbrs6e3ICWhN1wC1fDMKmb0jr/kOx6QdTCb/QOO0fWpuxBqPnceKSk2thd58gCALFR0tuZYpaGmnXFz+AmXqBaaGjvgAWG+R90+WTVxABt3FEmZkBkeYaU+CX7G7gfeIZ0wQkNWOiPGxbXfVKjUyB7XoCAYEAhRtZ4iwpibRZTHYL3/8AGFOegA11F6wvACrs8lyv0REwV7JIqnsslcWMMUC9iMbpUWEScJc9C/AilnC5etsEkEhjHBDJhtpeP02VNftXhMdb+MtrwB8/RUaJGk200UUfQ4wxxWzzqyy1FoV0dsK5QLWTy5E+FTgq3zL1vi4SAeKAksUUu5uLMLdRbZfYvFh6eqGUD8gK2dqW5nHbO4uNxkOtUQSgRKPIjAEA") format("woff2"),url('+d+') format("woff"),url('+h+') format("truetype"),url('+f+') format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icondcs-fast-forward:before{content:"\\e607"}.icondcs-close:before{content:"\\e608"}.icondcs-full-screen:before{content:"\\e609"}.icondcs-pause:before{content:"\\e60a"}.icondcs-rewind:before{content:"\\e60b"}.icondcs-play:before{content:"\\e60c"}.icondcs-stop:before{content:"\\e60d"}.icondcs-drop-down:before{content:"\\e60e"}.icondcs-single-frame:before{content:"\\e60f"}.icondcs-snap:before{content:"\\e610"}',""]),e.exports=t},"4f94":function(e,t,n){var r=n("ce65");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("abfc344a",r,!0,{sourceMap:!1,shadowMode:!1})},5038:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<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 t}))},"503a":function(e,t,n){var r=n("5ae9");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("395c7ac9",r,!0,{sourceMap:!1,shadowMode:!1})},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"50c6":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-lite-player-toolbar-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box!important;height:100%;width:100%;padding:0 20px}.vod-lite-player-toolbar-container .vod-lite-player-progress{box-sizing:border-box!important;position:relative;top:10px;height:8px;width:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar{box-sizing:border-box!important;display:flex;position:absolute;top:26px;height:24px;width:calc(100% - 40px)}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar{width:160px;height:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar .icondcs-pause,.vod-lite-player-toolbar-container .vod-lite-player-control-bar .control-bar .icondcs-play{margin-left:0!important}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .split-line{margin:0 4px}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .time-info{width:200px;height:100%;margin-left:10px;line-height:24px;font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar{position:absolute;right:0;width:100px;height:100%}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-volume-icon{position:absolute;left:56px;top:5px;fill:#fff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-volume-icon:hover{fill:#445eff}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-fullscreen-icon{position:absolute;right:0;top:1px;fill:#fff;cursor:pointer}.vod-lite-player-toolbar-container .vod-lite-player-control-bar .right-control-bar .vod-lite-player-fullscreen-icon:hover{fill:#445eff}",""]),e.exports=t},5120:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["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"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],a=["Do","Lu","Má","Cé","Dé","A","Sa"],o=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:a,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(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o}))},5135:function(e,t,n){var r=n("7b0b"),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},5294:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r=e.defineLocale("ur",{months:t,monthsShort:t,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(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,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},"52bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},5319:function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),a=n("50c4"),o=n("a691"),s=n("1d80"),l=n("8aa5"),c=n("0cb2"),u=n("14c3"),d=Math.max,h=Math.min,f=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var p=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,y=p?"$":"$0";return[function(n,r){var i=s(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!p&&m||"string"===typeof r&&-1===r.indexOf(y)){var s=n(t,e,this,r);if(s.done)return s.value}var v=i(e),g=String(this),_="function"===typeof r;_||(r=String(r));var w=v.global;if(w){var b=v.unicode;v.lastIndex=0}var A=[];while(1){var k=u(v,g);if(null===k)break;if(A.push(k),!w)break;var M=String(k[0]);""===M&&(v.lastIndex=l(g,a(v.lastIndex),b))}for(var x="",S=0,L=0;L<A.length;L++){k=A[L];for(var T=String(k[0]),D=d(h(o(k.index),g.length),0),E=[],C=1;C<k.length;C++)E.push(f(k[C]));var Y=k.groups;if(_){var P=[T].concat(E,D,g);void 0!==Y&&P.push(Y);var O=String(r.apply(void 0,P))}else O=c(T,g,D,E,Y,r);D>=S&&(x+=g.slice(S,D)+O,S=D+T.length)}return x+g.slice(S)}]}))},"55c9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,a=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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 a}))},5607:function(e,t,n){var r=n("306b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("4a5e410e",r,!0,{sourceMap:!1,shadowMode:!1})},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),a=n("7418"),o=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},"576c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),i=n("5899"),a="["+i+"]",o=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"598a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,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(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,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return r}))},"5ae9":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-player-layout-container{position:relative;width:100%;height:100%;border:1px solid #989ccb;border-style:double;box-sizing:border-box!important;border-radius:2px}.dcs-player-layout-container .layout-item{position:absolute;box-sizing:border-box!important;background-color:#1d1b20}.dcs-player-layout-container .layout-item .layout-item-content-select{box-shadow:0 2px 20px 0 #445eff;border-radius:2px}.dcs-player-layout-container .layout-item .layout-item-content{background-color:#fff}.dcs-player-layout-container .layout-item .layout-item-content,.dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop{position:relative;box-sizing:border-box!important;width:100%;height:100%;border-radius:2px}",""]),e.exports=t},"5aff":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={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=e.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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,a=e>=100?100:null;return e+(t[r]||t[i]||t[a])}},week:{dow:1,doy:7}});return n}))},"5b14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var i=e.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(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.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 i}))},"5c3a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},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 t}))},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cbb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5e9a":function(e,t,n){var r=n("caf4");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("0ad72ed6",r,!0,{sourceMap:!1,shadowMode:!1})},"5fb2":function(e,t,n){"use strict";var r=2147483647,i=36,a=1,o=26,s=38,l=700,c=72,u=128,d="-",h=/[^\0-\u007E]/,f=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",m=i-a,y=Math.floor,v=String.fromCharCode,g=function(e){var t=[],n=0,r=e.length;while(n<r){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t},_=function(e){return e+22+75*(e<26)},w=function(e,t,n){var r=0;for(e=n?y(e/l):e>>1,e+=y(e/t);e>m*o>>1;r+=i)e=y(e/m);return y(r+(m+1)*e/(e+s))},b=function(e){var t=[];e=g(e);var n,s,l=e.length,h=u,f=0,m=c;for(n=0;n<e.length;n++)s=e[n],s<128&&t.push(v(s));var b=t.length,A=b;b&&t.push(d);while(A<l){var k=r;for(n=0;n<e.length;n++)s=e[n],s>=h&&s<k&&(k=s);var M=A+1;if(k-h>y((r-f)/M))throw RangeError(p);for(f+=(k-h)*M,h=k,n=0;n<e.length;n++){if(s=e[n],s<h&&++f>r)throw RangeError(p);if(s==h){for(var x=f,S=i;;S+=i){var L=S<=m?a:S>=m+o?o:S-m;if(x<L)break;var T=x-L,D=i-L;t.push(v(_(L+T%D))),x=y(T/D)}t.push(v(_(x))),m=w(f,M,A==b),f=0,++A}}++f,++h}return t.join("")};e.exports=function(e){var t,n,r=[],i=e.toLowerCase().replace(f,".").split(".");for(t=0;t<i.length;t++)n=i[t],r.push(h.test(n)?"xn--"+b(n):n);return r.join(".")}},"5fbd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},"605d":function(e,t,n){var r=n("c6b6"),i=n("da84");e.exports="process"==r(i.process)},6069:function(e,t){e.exports="object"==typeof window},"60da":function(e,t,n){"use strict";var r=n("83ab"),i=n("d039"),a=n("df75"),o=n("7418"),s=n("d1e7"),l=n("7b0b"),c=n("44ad"),u=Object.assign,d=Object.defineProperty;e.exports=!u||i((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||a(u({},t)).join("")!=i}))?function(e,t){var n=l(e),i=arguments.length,u=1,d=o.f,h=s.f;while(i>u){var f,p=c(arguments[u++]),m=d?a(p).concat(d(p)):a(p),y=m.length,v=0;while(y>v)f=m[v++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:u},6117:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},6403:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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 t}))},6547:function(e,t,n){var r=n("a691"),i=n("1d80"),a=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},6567:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-vod-lite-player-container{position:relative;width:100%;height:100%;border-radius:2px;background-color:#fff}.dcs-vod-lite-player-container .vod-lite-player-canvas{height:100%;width:100%}.dcs-vod-lite-player-container .single-frame-time-tips{position:absolute;top:0;right:10px;color:red}.dcs-vod-lite-player-container .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#989ccb}.dcs-vod-lite-player-container .dcs-camera-icon path+path{fill:#fff}.dcs-vod-lite-player-container:hover .bottom-tool-bar{opacity:1}.dcs-vod-lite-player-container .bottom-tool-bar{opacity:0;position:absolute;bottom:0;z-index:1000;height:60px;width:100%;background:linear-gradient(180deg,rgba(29,27,32,.1),#1d1b20);border-radius:0 0 2px 2px;transition:opacity 1s}.dcs-vod-lite-player-container .player-loading-icon{position:absolute;left:0;right:0;bottom:0;top:0;margin:auto}.dcs-vod-lite-player-container .custom-layer-container{position:absolute;width:100%;height:100%;top:0;left:0;z-index:3000;pointer-events:none}",""]),e.exports=t},"65db":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>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 t}))},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),a=n("b622"),o=a("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[o],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},6784:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r=e.defineLocale("sd",{months:t,monthsShort:t,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(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,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^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,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(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=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("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return f}))},"688b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},6909:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(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}});return t}))},"69f3":function(e,t,n){var r,i,a,o=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("c6cd"),h=n("f772"),f=n("d012"),p="Object already initialized",m=s.WeakMap,y=function(e){return a(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(o||d.state){var g=d.state||(d.state=new m),_=g.get,w=g.has,b=g.set;r=function(e,t){if(w.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},i=function(e){return _.call(g,e)||{}},a=function(e){return w.call(g,e)}}else{var A=h("state");f[A]=!0,r=function(e,t){if(u(e,A))throw new TypeError(p);return t.facade=e,c(e,A,t),t},i=function(e){return u(e,A)?e[A]:{}},a=function(e){return u(e,A)}}e.exports={set:r,get:i,has:a,enforce:y,getterFor:v}},"6c72":function(e,t,n){var r=n("9757");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("f0090d8a",r,!0,{sourceMap:!1,shadowMode:!1})},"6ce3":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"6d66":function(e,t,n){var r=n("ca27");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("27545e15",r,!0,{sourceMap:!1,shadowMode:!1})},"6d79":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.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(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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}});return t}))},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&c()}function l(){a(s)}function c(){var e=Date.now();if(n){if(e-i<o)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return c}var l=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=M(0,0,0,0);function m(e){return parseFloat(e)||0}function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function v(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e["padding-"+a];n[a]=m(o)}return n}function g(e){var t=e.getBBox();return M(0,0,t.width,t.height)}function _(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=v(r),a=i.left+i.right,o=i.top+i.bottom,s=m(r.width),l=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=y(r,"left","right")+a),Math.round(l+o)!==n&&(l-=y(r,"top","bottom")+o)),!b(e)){var c=Math.round(s+a)-t,u=Math.round(l+o)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return M(i.left,i.top,s,l)}var w=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function b(e){return e===f(e).document.documentElement}function A(e){return r?w(e)?g(e):_(e):p}function k(e){var t=e.x,n=e.y,r=e.width,i=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return h(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function M(e,t,n,r){return{x:e,y:t,width:n,height:r}}var x=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=A(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),S=function(){function e(e,t){var n=k(t);h(this,{target:e,contentRect:n})}return e}(),L=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new S(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!==typeof WeakMap?new WeakMap:new n,D=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new L(t,n,this);T.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));var E=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:D}();t["a"]=E}).call(this,n("c8ba"))},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),a=n("5135"),o=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),l=u(n),l.source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!f&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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 t}))},"6f50":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},7037:function(e,t,n){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),r(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),e.exports=r,e.exports["default"]=e.exports,e.exports.__esModule=!0},7118:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},7156:function(e,t,n){var r=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var a,o;return i&&"function"==typeof(a=t.constructor)&&a!==n&&r(o=a.prototype)&&o!==n.prototype&&i(e,o),e}},7333:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),i=n("5135"),a=n("e538"),o=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},"74dc":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},7636:function(e,t,n){var r=n("8098");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("b22f09b0",r,!0,{sourceMap:!1,shadowMode:!1})},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7be6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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 r(e){return e>1&&e<5}function i(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?a+(r(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var a=e.defineLocale("sk",{months:t,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: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 a}))},"7c73":function(e,t,n){var r,i=n("825a"),a=n("37e8"),o=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=">",h="<",f="prototype",p="script",m=u("IE_PROTO"),y=function(){},v=function(e){return h+p+d+e+h+"/"+p+d},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=c("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},w=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=r?g(r):_();var e=o.length;while(e--)delete w[f][o[e]];return w()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(y[f]=i(e),n=new y,y[f]=null,n[m]=e):n=w(),void 0===t?n:a(n,t)}},"7c7b":function(e,t,n){var r=n("f758");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("56c30584",r,!0,{sourceMap:!1,shadowMode:!1})},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),i=n("9ed3"),a=n("e163"),o=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),h=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,y=u("iterator"),v="keys",g="values",_="entries",w=function(){return this};e.exports=function(e,t,n,u,f,b,A){i(n,t,u);var k,M,x,S=function(e){if(e===f&&C)return C;if(!m&&e in D)return D[e];switch(e){case v:return function(){return new n(this,e)};case g:return function(){return new n(this,e)};case _:return function(){return new n(this,e)}}return function(){return new n(this)}},L=t+" Iterator",T=!1,D=e.prototype,E=D[y]||D["@@iterator"]||f&&D[f],C=!m&&E||S(f),Y="Array"==t&&D.entries||E;if(Y&&(k=a(Y.call(new e)),p!==Object.prototype&&k.next&&(d||a(k)===p||(o?o(k,p):"function"!=typeof k[y]&&l(k,y,w)),s(k,L,!0,!0),d&&(h[L]=w))),f==g&&E&&E.name!==g&&(T=!0,C=function(){return E.call(this)}),d&&!A||D[y]===C||l(D,y,C),h[t]=C,f)if(M={values:S(g),keys:b?C:S(v),entries:S(_)},A)for(x in M)(m||T||!(x in D))&&c(D,x,M[x]);else r({target:t,proto:!0,forced:m||T},M);return M}},"7f33":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_À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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t}))},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),a=r.WeakMap;e.exports="function"===typeof a&&/native code/.test(i(a))},8098:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".wait-play-container{display:flex;justify-content:center;align-items:center;position:absolute;z-index:900;top:0;left:0;height:100%;width:100%}.wait-play-container .dcs-wait-play-icon{fill:#292a31;cursor:pointer}.wait-play-container .dcs-wait-play-icon path{fill:#fff}",""]),e.exports=t},8155:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",i;case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",i;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",i;case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",i}}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"81e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var a="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":a=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":a=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":a=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":a=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":a=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":a=r?"vuoden":"vuotta";break}return a=i(e,r)+" "+a,a}function i(e,r){return e<10?r?n[e]:t[e]:e}var a=e.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: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 a}))},8230:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=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}});return r}))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},8286:function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,vAwAABQMAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAQ7AofQAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8fUgCAAABfAAAAFZjbWFw3+LrFAAAAgAAAAHuZ2x5Zp7BdKsAAAQIAAAE5GhlYWQbbfTFAAAA4AAAADZoaGVhB94DjAAAALwAAAAkaG10eCwAAAAAAAHUAAAALGxvY2EGeAeWAAAD8AAAABhtYXhwARwAaQAAARgAAAAgbmFtZT5U/n0AAAjsAAACbXBvc3TvOGDtAAALXAAAALUAAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAH0osENfDzz1AAsEAAAAAADcJ1hkAAAAANwnWGQAAP+ABAADgAAAAAgAAgAAAAAAAAABAAAACwBdAAcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gfmEAOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABZgABAAAAAABgAAMAAQAAACwAAwAKAAABZgAEADQAAAAEAAQAAQAA5hD//wAA5gf//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAJAAoAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAIgAAAAAAAAACgAA5gcAAOYHAAAAAQAA5ggAAOYIAAAAAgAA5gkAAOYJAAAAAwAA5goAAOYKAAAABAAA5gsAAOYLAAAABQAA5gwAAOYMAAAABgAA5g0AAOYNAAAABwAA5g4AAOYOAAAACAAA5g8AAOYPAAAACQAA5hAAAOYQAAAACgAAAAAAAAAwAHoBEgE8AWwBkAG+Ad4CDAJyAAEAAAAAAyACawAbAAABIgYVERQWPwEVFB8BHgE/ATY0LwEmBgcVJyYnAUAJDBgLsgMCBhEH9QcH9QoYAbIFBQJnDQj+XA0LCJmJBQUDBwEF0gYUBtIICw2JmQQBAAAAAAMAAP+ABAADgAAAAAwAKQAAASEWABc2ADcmACcGAAUWFA8BFxYUBiIvAQcGIiY0PwEnJjQ2Mh8BNzYyAgD+AAUBIdraASEFBf7f2tr+3wJ3BARdZwUJDARocQUMCARyaAQJCwVnXQUMAYDa/t8FBQEh2toBIQUF/t9tBAwEXWgEDAkFZ3IECQsFcmcFCwkEaF0FAAAHAAD/gAQAA4AAAAAMAB0ALgA+AE0AXAAAASEWABc2ADcmACcGAAUWFxUOAQcjLgE3MzY/ATQ2IRYXFRYfAR4BByMuASc1NDYlHgEXFQ4BByMuASc1PgE3JR4BFxUOASc1Ji8BLgE3Ix4BByMGDwEOASc1PgE3AgD+AAUBIdraASEFBf7f2tr+3wK5DAMBFhF1DQIMdAsDAQj+igsDAQt0DQIMdBEZAgkBKgwRAQERDMwNEAEBEA0BBxEZAgEZAwELdA0CDF0NAgx0CwMBARgEARYRAYDa/t8FBQEh2toBIQUF/t/7AQt0ERkCARkDAQt0BgkBC3QLAwEBGAQBFhF1BgmlAREMzAwRAQEQDcwNEAFJARYRdQ0CDHQLAwEBGAQBGQMBC3QNAgx0ERkCAAAAAgAAAAACwAKAAAwAGQAAATIWFREUBiImNRE0NiEyFhURFAYiJjURNDYBaxIYGCQZGQE8EhkZJBgYAoAZEv5WEhkZEgGqEhkZEv5WEhkZEgGqEhkAAQAAAAAC1gJrABsAAAEyFhURFAYvARUUDwEOAS8BJjQ/ATYWFxU3NjcCwAkMGAuyAwIGEQf1Bwf1ChgBsgUFAmcNCP5cDQsImYkFBQMHAQXSBhQG0ggLDYmZBAEAAAAAAQAAAAACwAJyABEAAAEFDgEuATURND4BFhcFHgEUBgKo/toMGxoODhkcDAEmCwwMAVW9CAEOFw8Beg8XDgEIvQcXGhcAAAAAAgAAAAADKwKrAAsAFwAAAQ4BBx4BFz4BNy4BBx4BFw4BBy4BJz4BAgB/qAQEqH9/qAQEqH9beAICeFtbeAICeAKrBKh/f6gEBKh/f6hSAnhbW3gCAnhbW3gAAAABAAAAAALtAbQADwAAAQcGIi8BLgE+ATMhMh4BBgLcuBAoELgLBgwaDwFwDxoMBgFcuA8PuAseHRERHR4AAAAAAgAAAAAC4AJrAAwAGgAAAQ4BFREUFjI2NRE0JhciBhURHgE/ATY0LwEmAVUSGBgkGRluCA0BGAr1Bwf1BgJrARgS/oASGBgSAYASGAMNCP5cDQsI0gYUBtIFAAAGAAD/gAQAA4AAAAAMACYALwA7AD8AAAEhFgAXNgA3JgAnBgAFMhYXFTMeARURFAYjISImNRE0NjczNT4BMxcOARQWMjY0JgcyHgEUDgEjIiY0NjcjFTMCAP4ABQEh2toBIQUF/t/a2v7fAewNEAGvDRAQDf6EDRAQDToBEQxJLDo6Vzo6KxQhFBQhFB8qKt07OwGA2v7fBQUBIdraASEFBf7fHBEMHQEQDf75DBERDAEHDRABHQwRdQE6Vzo6VzocFCInIhMqPikeHQAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbgBmAG8AbgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMABBkY3MtZmFzdC1mb3J3YXJkCWRjcy1jbG9zZQ9kY3MtZnVsbC1zY3JlZW4JZGNzLXBhdXNlCmRjcy1yZXdpbmQIZGNzLXBsYXkIZGNzLXN0b3ANZGNzLWRyb3AtZG93bhBkY3Mtc2luZ2xlLWZyYW1lCGRjcy1zbmFwAAAAAAA="},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("c04e"),i=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},"845c":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.progress-bar-container{position:relative;width:100%;height:100%;border-radius:4px;background:#f3f4f5;cursor:pointer}.progress-bar-container:hover .bg-hover-value{opacity:1}.progress-bar-container .progress-bar-bg{height:100%;border-radius:4px 0 0 4px;background-color:#445eff}.progress-bar-container .progress-bar-ball{position:absolute;top:-3px;box-sizing:border-box!important;width:14px;height:14px;border-radius:7px;border:2px solid #445eff;background-color:#fff;cursor:pointer}.progress-bar-container .bg-hover-value{opacity:0;position:absolute;top:-50px;width:80px;height:30px;border-radius:8px;background-color:rgba(0,0,0,.3);line-height:30px;text-align:center;color:#fff;font-size:12px}.progress-bar-container .bg-hover-value:after{position:absolute;top:30px;left:32px;content:"";width:0;height:0;border:8px solid transparent;border-top:8px solid rgba(0,0,0,.3)}',""]),e.exports=t},"84aa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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 дена",w:"седмица",ww:"%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}});return t}))},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=e.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(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},8840:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},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 t}))},8875:function(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,r,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(f.stack)||o.exec(f.stack),l=s&&s[1]||!1,c=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<d.length;h++){if("interactive"===d[h].readyState)return d[h];if(d[h].src===l)return d[h];if(l===u&&d[h].innerHTML&&d[h].innerHTML.trim()===i)return d[h]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},8938:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-vod-player-light{background:#fff}.dcs-vod-player-light .dcs-vod-player-content{background:#ccc}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container{background:#fbfbfb;box-shadow:0 0 10px 0 #d9d6d6}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .rewind-checkbox-button .rewind-tips{color:#1d1b20}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-fast-forward,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-pause,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-play,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-rewind,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-single-frame,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-stop{color:#5d5e6f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-fast-forward:hover,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-pause:hover,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-play:hover,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-rewind:hover,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-single-frame:hover,.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .player-control-tools-container .icondcs-stop:hover{color:#445eff}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container{color:#32343f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container .speed-str{background-color:#eee;color:#32343f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container .speed-str:hover{background-color:#445eff;color:#fff}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container .speed-list-panel{background:#eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container .speed-list-panel:after{border-top:6px solid #eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .speed-container .speed-list-panel .speed-list-item-check{color:#445eff}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container{color:#32343f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-str{background-color:#eee;color:#32343f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-str:hover{background-color:#445eff;color:#fff}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel{background:#eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel:after{border-top:6px solid #eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel .zoom-list-item{color:#32343f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel .zoom-list-item-check{color:#445eff}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-time-bar .vod-time-line-container .current-time-line .current-time-top{background:#e05858}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-time-bar .vod-time-line-container .current-time-line .current-time-bottom{background-color:#e05858}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-left .vod-player-time-bar .vod-time-line-container .current-time-str{color:#5d5e6f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .volume-container{background-color:#eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .volume-container:hover{background-color:#d9d6d6}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .volume-container .vod-player-volume-control{left:0;right:0;top:0;bottom:0;margin:auto}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .volume-container .vod-player-volume-control:hover{top:-141px;left:-2px}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .volume-container .vod-player-volume-control .dcs-volume-icon{transform:scale(1.2)}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .tools-icon circle{fill:#eee}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .tools-icon path{fill:#5d5e6f}.dcs-vod-player-light .dcs-vod-player-footer .vod-player-footer-bar-container .footer-right .vod-player-tools-container .tools-icon:hover g circle{fill:#d9d6d6}",""]),e.exports=t},"898b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,a=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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 a}))},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8b8d":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-single-player-container{position:relative;height:100%;width:100%;border-radius:2px}.vod-single-player-container:hover .vod-player-title-container{opacity:1}.vod-single-player-container .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#989ccb}.vod-single-player-container .dcs-camera-icon path+path{fill:#fff}.vod-single-player-container .single-player-drag{width:100%;height:100%}.vod-single-player-container .single-player-drag .vod-single-player-canvas-parent{display:block;width:100%;height:100%}.vod-single-player-container .single-player-drag .vod-single-player-canvas-parent .vod-single-player-canvas{height:100%;width:100%}.vod-single-player-container .player-loading-icon{position:absolute;left:0;right:0;bottom:0;top:0;margin:auto}.vod-single-player-container .custom-layer-container{position:absolute;top:0;left:0;z-index:3000;width:100%;height:100%}",""]),e.exports=t},"8bbf":function(e,n){e.exports=t},"8d47":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").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(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%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(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^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 i(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}var o=e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"8d68":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".player-toolbar-container{display:flex;align-items:center;position:absolute;bottom:0;left:0;z-index:2000;width:100%;height:40px;background:linear-gradient(1turn,#292a31,rgba(32,35,71,0));border-radius:0 0 2px 2px;opacity:0;transition:opacity 1s}.player-toolbar-container .toolbar-icon{margin:0 6px;fill:#fff;cursor:pointer}.player-toolbar-container .toolbar-icon:hover{fill:#445eff;transform:scale(1.2)}.player-toolbar-container .toolbar-icon-enable{cursor:not-allowed}.player-toolbar-container .toolbar-icon-ptz{position:relative;top:1px}.player-toolbar-container .toolbar-volume-icon{position:relative;width:14px;height:14px;margin:0 6px}",""]),e.exports=t},"8df4":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.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(e){return/بعد از ظهر/.test(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,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r}))},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%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 عام"]},a=function(e){return function(t,n,a,o){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{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(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:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("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}});return s}))},"8ef6":function(e,t,n){var r=n("8938");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("cec00416",r,!0,{sourceMap:!1,shadowMode:!1})},"8fce":function(e,t,n){var r=n("121d");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("69c1c38a",r,!0,{sourceMap:!1,shadowMode:!1})},9043:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=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}});return r}))},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},"90ea":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),a=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),i=n("9f7f"),a=n("5692"),o=RegExp.prototype.exec,s=a("native-string-replace",String.prototype.replace),l=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,d=void 0!==/()??/.exec("")[1],h=c||d||u;h&&(l=function(e){var t,n,i,a,l=this,h=u&&l.sticky,f=r.call(l),p=l.source,m=0,y=e;return h&&(f=f.replace("y",""),-1===f.indexOf("g")&&(f+="g"),y=String(e).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==e[l.lastIndex-1])&&(p="(?: "+p+")",y=" "+y,m++),n=new RegExp("^(?:"+p+")",f)),d&&(n=new RegExp("^"+p+"$(?!\\s)",f)),c&&(t=l.lastIndex),i=o.call(h?n:l,y),h?i?(i.input=i.input.slice(m),i[0]=i[0].slice(m),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:c&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),d&&i&&i.length>1&&s.call(i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i}),e.exports=l},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},"957c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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(e){if(e.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(e){if(e.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(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":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return i}))},"958b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.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(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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n}))},9609:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.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:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},9686:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.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(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?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return r}))},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(Y){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),o=new D(r||[]);return a._invoke=x(e,n,o),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(Y){return{type:"throw",arg:Y}}}e.wrap=c;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={};function y(){}function v(){}function g(){}var _={};_[a]=function(){return this};var w=Object.getPrototypeOf,b=w&&w(w(E([])));b&&b!==n&&r.call(b,a)&&(_=b);var A=g.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(i,a,o,s){var l=u(e[i],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(d).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,s)}))}s(l.arg)}var i;function a(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}this._invoke=a}function x(e,t,n){var r=d;return function(i,a){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw a;return C()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var s=S(o,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(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function E(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){while(++i<e.length)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=A.constructor=g,g.constructor=v,v.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},k(M.prototype),M.prototype[o]=function(){return this},e.AsyncIterator=M,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new M(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(A),l(A,s,"Generator"),A[a]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){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 a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:E(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+r[n]}var n=e.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:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},9757:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-vod-player-dark{background:#000}.dcs-vod-player-dark .dcs-vod-player-content{background:#ccc}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container{border:1px solid #232323}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item{background-color:#000}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content{background-color:#232323;border:2px solid rgba(68,94,255,0)}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop-active{border:2px solid #445eff;box-shadow:none}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .dcs-camera-icon{fill:#444}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .dcs-camera-icon path+path{fill:#666}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .load-error-container{background:#232323}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .load-error-container .error-content .dcs-load-error-icon path{fill:#444}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .load-error-container .error-content .dcs-load-error-icon path+path{fill:#666}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .load-error-container .error-content .dcs-load-error-icon path:last-child{fill:#ff7066}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content .vod-single-player-container .load-error-container .error-tips{color:#b1b4c1}.dcs-vod-player-dark .dcs-vod-player-content .dcs-player-layout-container .layout-item .layout-item-content-select{border:2px solid #445eff!important;box-shadow:none}.dcs-vod-player-dark .dcs-vod-player-footer{background-color:#333}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-fast-forward,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-pause,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-play,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-rewind,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-single-frame,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-stop,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .rewind-checkbox-button .rewind-tips{color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-fast-forward:hover,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-pause:hover,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-play:hover,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-rewind:hover,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-single-frame:hover,.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .player-control-tools-container .icondcs-stop:hover{color:#445eff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container{color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container .speed-str{background-color:#676767;color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container .speed-str:hover{background-color:#445eff;color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container .speed-list-panel{background:hsla(0,0%,40.4%,.3)}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container .speed-list-panel:after{border-top:6px solid hsla(0,0%,40.4%,.3)}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .speed-container .speed-list-panel .speed-list-item-check{color:#445eff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-str{color:#fff;background-color:#676767}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-str:hover{background-color:#445eff;color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel{background:hsla(0,0%,40.4%,.3)}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel:after{border-top:6px solid hsla(0,0%,40.4%,.3)}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel .zoom-list-item{color:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-tools .zoom-tool-container .zoom-list-pannel .zoom-list-item-check{color:#445eff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-time-bar .vod-time-line-container .current-time-line .current-time-top{background:#e05858}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-time-bar .vod-time-line-container .current-time-line .current-time-bottom{background-color:#e05858}.dcs-vod-player-dark .dcs-vod-player-footer .footer-left .vod-player-time-bar .vod-time-line-container .current-time-str{color:#ccc}.dcs-vod-player-dark .dcs-vod-player-footer .footer-right .vod-player-tools-container .tools-icon circle{fill:#666}.dcs-vod-player-dark .dcs-vod-player-footer .footer-right .vod-player-tools-container .tools-icon path{fill:#fff}.dcs-vod-player-dark .dcs-vod-player-footer .footer-right .vod-player-tools-container .tools-icon:hover g circle{fill:#445eff}.dcs-vod-player-dark .installation-inspection-container{background:#333;box-shadow:0 0 10px 0 #333}.dcs-vod-player-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path{fill:#3b3b3b}.dcs-vod-player-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path+path{fill:#444}.dcs-vod-player-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path:last-child{fill:#666}.dcs-vod-player-dark .installation-inspection-container .dcs-download-plugin-content .download-tips{color:#fff}.dcs-vod-player-dark .reconnect-tips-container{background:#333}.dcs-vod-player-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path{fill:#444}.dcs-vod-player-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle{fill:#777}.dcs-vod-player-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle+path{fill:#ccc}.dcs-vod-player-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path:last-child{fill:#666}.dcs-vod-player-dark .reconnect-tips-container .dcs-reconnect-content .reconnect-tips{color:#ccc}.dcs-vod-player-dark .player-load-error-container{background:#232323}.dcs-vod-player-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path{fill:#444}.dcs-vod-player-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle{fill:#777}.dcs-vod-player-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle+path{fill:#ccc}.dcs-vod-player-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path:last-child{fill:#666}.dcs-vod-player-dark .player-load-error-container .load-error-content .error-tips{color:#ccc}",""]),e.exports=t},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t}))},9861:function(e,t,n){"use strict";n("e260");var r=n("23e7"),i=n("d066"),a=n("0d3b"),o=n("6eeb"),s=n("e2cc"),l=n("d44e"),c=n("9ed3"),u=n("69f3"),d=n("19aa"),h=n("5135"),f=n("0366"),p=n("f5df"),m=n("825a"),y=n("861d"),v=n("7c73"),g=n("5c6c"),_=n("9a1f"),w=n("35a1"),b=n("b622"),A=i("fetch"),k=i("Headers"),M=b("iterator"),x="URLSearchParams",S=x+"Iterator",L=u.set,T=u.getterFor(x),D=u.getterFor(S),E=/\+/g,C=Array(4),Y=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},P=function(e){try{return decodeURIComponent(e)}catch(t){return e}},O=function(e){var t=e.replace(E," "),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(Y(n--),P);return t}},I=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(e){return R[e]},F=function(e){return encodeURIComponent(e).replace(I,N)},j=function(e,t){if(t){var n,r,i=t.split("&"),a=0;while(a<i.length)n=i[a++],n.length&&(r=n.split("="),e.push({key:O(r.shift()),value:O(r.join("="))}))}},B=function(e){this.entries.length=0,j(this.entries,e)},H=function(e,t){if(e<t)throw TypeError("Not enough arguments")},W=c((function(e,t){L(this,{type:S,iterator:_(T(e).entries),kind:t})}),"Iterator",(function(){var e=D(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),z=function(){d(this,z,x);var e,t,n,r,i,a,o,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(L(u,{type:x,entries:f,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(y(c))if(e=w(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(i=_(m(r.value)),a=i.next,(o=a.call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:o.value+"",value:s.value+""})}}else for(l in c)h(c,l)&&f.push({key:l,value:c[l]+""});else j(f,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},U=z.prototype;s(U,{append:function(e,t){H(arguments.length,2);var n=T(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){H(arguments.length,1);var t=T(this),n=t.entries,r=e+"",i=0;while(i<n.length)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){H(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){H(arguments.length,1);for(var t=T(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){H(arguments.length,1);var t=T(this).entries,n=e+"",r=0;while(r<t.length)if(t[r++].key===n)return!0;return!1},set:function(e,t){H(arguments.length,1);for(var n,r=T(this),i=r.entries,a=!1,o=e+"",s=t+"",l=0;l<i.length;l++)n=i[l],n.key===o&&(a?i.splice(l--,1):(a=!0,n.value=s));a||i.push({key:o,value:s}),r.updateURL()},sort:function(){var e,t,n,r=T(this),i=r.entries,a=i.slice();for(i.length=0,n=0;n<a.length;n++){for(e=a[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){var t,n=T(this).entries,r=f(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<n.length)t=n[i++],r(t.value,t.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}),o(U,M,U.entries),o(U,"toString",(function(){var e,t=T(this).entries,n=[],r=0;while(r<t.length)e=t[r++],n.push(F(e.key)+"="+F(e.value));return n.join("&")}),{enumerable:!0}),l(z,x),r({global:!0,forced:!a},{URLSearchParams:z}),a||"function"!=typeof A||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],y(t)&&(n=t.body,p(n)===x&&(r=t.headers?new k(t.headers):new k,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:g(0,String(n)),headers:g(0,r)}))),i.push(t)),A.apply(this,i)}}),e.exports={URLSearchParams:z,getState:T}},"99af":function(e,t,n){"use strict";var r=n("23e7"),i=n("d039"),a=n("e8b5"),o=n("861d"),s=n("7b0b"),l=n("50c4"),c=n("8418"),u=n("65f0"),d=n("1dde"),h=n("b622"),f=n("2d00"),p=h("isConcatSpreadable"),m=9007199254740991,y="Maximum allowed index exceeded",v=f>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),_=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:a(e)},w=!v||!g;r({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,r,i,a,o=s(this),d=u(o,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],_(a)){if(i=l(a.length),h+i>m)throw TypeError(y);for(n=0;n<i;n++,h++)n in a&&c(d,h,a[n])}else{if(h>=m)throw TypeError(y);c(d,h++,a)}return d.length=h,d}})},"9a1f":function(e,t,n){var r=n("825a"),i=n("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},"9bdd":function(e,t,n){var r=n("825a"),i=n("2a62");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(o){throw i(e),o}}},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),a=n("825a"),o=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ebe":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-player-title-container{display:flex;position:absolute;top:0;z-index:2000;width:100%;height:40px;background:linear-gradient(180deg,#000,rgba(32,35,71,0));border-radius:0 0 2px 2px;opacity:0;transition:opacity 1s}.vod-player-title-container .player-status{position:relative;width:24px;height:100%}.vod-player-title-container .player-status .player-status-icon{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;display:block;width:6px;height:6px;border-radius:3px;background:#87ff4f}.vod-player-title-container .player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 204px);height:100%;line-height:40px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff}.vod-player-title-container .player-right-info{width:200px}.vod-player-title-container .player-right-info .player-multiple{width:70px}.vod-player-title-container .player-right-info .player-multiple,.vod-player-title-container .player-right-info .player-speed{float:right;height:100%;line-height:40px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;text-align:right}.vod-player-title-container .player-right-info .player-speed{width:100px}.vod-player-title-container .player-right-info .player-close{float:right;position:relative;width:22px;height:100%;cursor:pointer}.vod-player-title-container .player-right-info .player-close .dcs-close-player-icon{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;fill:#fff}.vod-player-title-container .player-right-info .player-close .dcs-close-player-icon:hover{fill:#445eff;transform:scale(1.5)}",""]),e.exports=t},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),a=n("5c6c"),o=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:a(1,n)}),o(e,c,!1,!0),s[c]=l,e}},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=/^(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,r=/(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,i=[/^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],a=e.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:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return a}))},"9f7f":function(e,t,n){"use strict";var r=n("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"9ff9":function(e,t,n){var r=n("dc0b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("128ed5ce",r,!0,{sourceMap:!1,shadowMode:!1})},a081:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.zoom-tool-container{position:absolute;z-index:1000;width:42px;height:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.zoom-tool-container:hover{height:168px}.zoom-tool-container:hover .zoom-list-pannel{display:block}.zoom-tool-container:hover .zoom-str{bottom:2px}.zoom-tool-container .zoom-str{position:absolute;right:0;bottom:-146px;width:42px;height:20px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:20px;text-align:center;background-color:#666;border-radius:2px}.zoom-tool-container .zoom-str:hover{background-color:#445eff;color:#fff}.zoom-tool-container .zoom-list-pannel{display:none;position:absolute;z-index:1000;left:-10px;top:8px;width:64px;height:120px;background:rgba(35,35,35,.8);border-radius:4px}.zoom-tool-container .zoom-list-pannel:after{position:absolute;top:120px;left:calc(50% - 6px);content:"";width:0;height:0;border:6px solid transparent;border-top:6px solid rgba(35,35,35,.8)}.zoom-tool-container .zoom-list-pannel .zoom-list-item{height:17px;padding:0 8px;margin:10px 0;color:#fff;font-size:12px}.zoom-tool-container .zoom-list-pannel .zoom-list-item:hover{font-size:14px}.zoom-tool-container .zoom-list-pannel .zoom-list-item-check{color:#445eff}',""]),e.exports=t},a15b:function(e,t,n){"use strict";var r=n("23e7"),i=n("44ad"),a=n("fc6a"),o=n("a640"),s=[].join,l=i!=Object,c=o("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a1ab:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-player-footer-bar-container{box-sizing:border-box!important;display:flex;width:100%;height:60px;padding:0 20px;border-radius:2px;background-color:#333}.vod-player-footer-bar-container .footer-left{height:60px;width:calc(100% - 198px);box-sizing:border-box!important}.vod-player-footer-bar-container .footer-left .vod-player-tools{position:relative;height:24px}.vod-player-footer-bar-container .footer-left .vod-player-tools .player-speed-control{position:absolute;right:52px;cursor:pointer}.vod-player-footer-bar-container .footer-left .vod-player-tools .zoom-tool-control{position:absolute;right:0;top:-144px;cursor:pointer}.vod-player-footer-bar-container .footer-left .vod-player-time-bar{box-sizing:border-box!important;height:calc(100% - 24px);padding:3px 0}.vod-player-footer-bar-container .footer-right{height:60px;width:198px}",""]),e.exports=t},a2a9:function(e,t,n){var r=n("d751");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("0169051c",r,!0,{sourceMap:!1,shadowMode:!1})},a356:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%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 عام"]},r=function(e){return function(r,i,a,o){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-dz",{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")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},a434:function(e,t,n){"use strict";var r=n("23e7"),i=n("23cb"),a=n("a691"),o=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),d=u("splice"),h=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,r,u,d,y,v,g=s(this),_=o(g.length),w=i(e,_),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=_-w):(n=b-2,r=f(h(a(t),0),_-w)),_+n-r>p)throw TypeError(m);for(u=l(g,r),d=0;d<r;d++)y=w+d,y in g&&c(u,d,g[y]);if(u.length=r,n<r){for(d=w;d<_-r;d++)y=d+r,v=d+n,y in g?g[v]=g[y]:delete g[v];for(d=_;d>_-r+n;d--)delete g[d-1]}else if(n>r)for(d=_-r;d>w;d--)y=d+r-1,v=d+n-1,y in g?g[v]=g[y]:delete g[v];for(d=0;d<n;d++)g[d+w]=arguments[d+2];return g.length=_-r+n,u}})},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(e,t,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("d066"),o=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),h=n("e8b5"),f=n("861d"),p=n("825a"),m=n("7b0b"),y=n("fc6a"),v=n("c04e"),g=n("5c6c"),_=n("7c73"),w=n("df75"),b=n("241c"),A=n("057f"),k=n("7418"),M=n("06cf"),x=n("9bf2"),S=n("d1e7"),L=n("9112"),T=n("6eeb"),D=n("5692"),E=n("f772"),C=n("d012"),Y=n("90e3"),P=n("b622"),O=n("e538"),I=n("746f"),R=n("d44e"),N=n("69f3"),F=n("b727").forEach,j=E("hidden"),B="Symbol",H="prototype",W=P("toPrimitive"),z=N.set,U=N.getterFor(B),V=Object[H],G=i.Symbol,Q=a("JSON","stringify"),J=M.f,q=x.f,K=A.f,X=S.f,Z=D("symbols"),$=D("op-symbols"),ee=D("string-to-symbol-registry"),te=D("symbol-to-string-registry"),ne=D("wks"),re=i.QObject,ie=!re||!re[H]||!re[H].findChild,ae=s&&u((function(){return 7!=_(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=J(V,t);r&&delete V[t],q(e,t,n),r&&e!==V&&q(V,t,r)}:q,oe=function(e,t){var n=Z[e]=_(G[H]);return z(n,{type:B,tag:e,description:t}),s||(n.description=t),n},se=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof G},le=function(e,t,n){e===V&&le($,t,n),p(e);var r=v(t,!0);return p(n),d(Z,r)?(n.enumerable?(d(e,j)&&e[j][r]&&(e[j][r]=!1),n=_(n,{enumerable:g(0,!1)})):(d(e,j)||q(e,j,g(1,{})),e[j][r]=!0),ae(e,r,n)):q(e,r,n)},ce=function(e,t){p(e);var n=y(t),r=w(n).concat(pe(n));return F(r,(function(t){s&&!de.call(n,t)||le(e,t,n[t])})),e},ue=function(e,t){return void 0===t?_(e):ce(_(e),t)},de=function(e){var t=v(e,!0),n=X.call(this,t);return!(this===V&&d(Z,t)&&!d($,t))&&(!(n||!d(this,t)||!d(Z,t)||d(this,j)&&this[j][t])||n)},he=function(e,t){var n=y(e),r=v(t,!0);if(n!==V||!d(Z,r)||d($,r)){var i=J(n,r);return!i||!d(Z,r)||d(n,j)&&n[j][r]||(i.enumerable=!0),i}},fe=function(e){var t=K(y(e)),n=[];return F(t,(function(e){d(Z,e)||d(C,e)||n.push(e)})),n},pe=function(e){var t=e===V,n=K(t?$:y(e)),r=[];return F(n,(function(e){!d(Z,e)||t&&!d(V,e)||r.push(Z[e])})),r};if(l||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=Y(e),n=function(e){this===V&&n.call($,e),d(this,j)&&d(this[j],t)&&(this[j][t]=!1),ae(this,t,g(1,e))};return s&&ie&&ae(V,t,{configurable:!0,set:n}),oe(t,e)},T(G[H],"toString",(function(){return U(this).tag})),T(G,"withoutSetter",(function(e){return oe(Y(e),e)})),S.f=de,x.f=le,M.f=he,b.f=A.f=fe,k.f=pe,O.f=function(e){return oe(P(e),e)},s&&(q(G[H],"description",{configurable:!0,get:function(){return U(this).description}}),o||T(V,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),F(w(ne),(function(e){I(e)})),r({target:B,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var n=G(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:ue,defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:he}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),Q){var me=!l||u((function(){var e=G();return"[null]"!=Q([e])||"{}"!=Q({a:e})||"{}"!=Q(Object(e))}));r({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,n){var r,i=[e],a=1;while(arguments.length>a)i.push(arguments[a++]);if(r=t,(f(t)||void 0!==e)&&!se(e))return h(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),i[1]=t,Q.apply(null,i)}})}G[H][W]||L(G[H],W,G[H].valueOf),R(G,B),C[j]=!0},a530:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vod-time-line-container{position:relative;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.vod-time-line-container .vod-time-line-content{position:relative;overflow:hidden;width:100%;height:100%}.vod-time-line-container .vod-time-line-content .time-rules-canvas{position:absolute;z-index:1000}.vod-time-line-container .vod-time-line-content .record-canvas{position:absolute;z-index:500}.vod-time-line-container .current-time-line{position:absolute;left:calc(50% - 2.5px);top:-3px;z-index:1000}.vod-time-line-container .current-time-line .current-time-top{width:5px;height:7px;border-radius:1px;background:#e05858}.vod-time-line-container .current-time-line .current-time-bottom{height:14px;width:1px;margin-left:2px;background-color:#e05858}.vod-time-line-container .current-time-str{position:absolute;top:-24px;left:calc(50% - 61px);width:123px;height:17px;font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#ccc;line-height:17px}",""]),e.exports=t},a630:function(e,t,n){var r=n("23e7"),i=n("4df4"),a=n("1c7e"),o=!a((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:o},{from:i})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a7fa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=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}});return t}))},a80e:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.player-loading{display:inline-block;position:relative;width:80px;height:80px}.player-loading div{-webkit-animation:player-loading 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:player-loading 1.2s cubic-bezier(.5,0,.5,1) infinite;transform-origin:40px 40px}.player-loading div:after{content:" ";display:block;position:absolute;width:7px;height:7px;border-radius:50%;background:#445eff;margin:-4px 0 0 -4px}.player-loading div:first-child{-webkit-animation-delay:-36ms;animation-delay:-36ms}.player-loading div:first-child:after{top:63px;left:63px}.player-loading div:nth-child(2){-webkit-animation-delay:-72ms;animation-delay:-72ms}.player-loading div:nth-child(2):after{top:68px;left:56px}.player-loading div:nth-child(3){-webkit-animation-delay:-.108s;animation-delay:-.108s}.player-loading div:nth-child(3):after{top:71px;left:48px}.player-loading div:nth-child(4){-webkit-animation-delay:-.144s;animation-delay:-.144s}.player-loading div:nth-child(4):after{top:72px;left:40px}.player-loading div:nth-child(5){-webkit-animation-delay:-.18s;animation-delay:-.18s}.player-loading div:nth-child(5):after{top:71px;left:32px}.player-loading div:nth-child(6){-webkit-animation-delay:-.216s;animation-delay:-.216s}.player-loading div:nth-child(6):after{top:68px;left:24px}.player-loading div:nth-child(7){-webkit-animation-delay:-.252s;animation-delay:-.252s}.player-loading div:nth-child(7):after{top:63px;left:17px}.player-loading div:nth-child(8){-webkit-animation-delay:-.288s;animation-delay:-.288s}.player-loading div:nth-child(8):after{top:56px;left:12px}@-webkit-keyframes player-loading{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes player-loading{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}',""]),e.exports=t},a9e3:function(e,t,n){"use strict";var r=n("83ab"),i=n("da84"),a=n("94ca"),o=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),h=n("7c73"),f=n("241c").f,p=n("06cf").f,m=n("9bf2").f,y=n("58a8").trim,v="Number",g=i[v],_=g.prototype,w=l(h(_))==v,b=function(e){var t,n,r,i,a,o,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(c=y(c),t=c.charCodeAt(0),43===t||45===t){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=c.slice(2),o=a.length,s=0;s<o;s++)if(l=a.charCodeAt(s),l<48||l>i)return NaN;return parseInt(a,r)}return+c};if(a(v,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var A,k=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof k&&(w?d((function(){_.valueOf.call(n)})):l(n)!=v)?c(new g(b(t)),n,k):b(t)},M=r?f(g):"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(","),x=0;M.length>x;x++)s(g,A=M[x])&&!s(k,A)&&m(k,A,p(g,A));k.prototype=_,_.constructor=k,o(i,v,k)}},aaf2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?i[n][0]:i[n][1]}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},ac1f:function(e,t,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ada2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,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:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] 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(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+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a}))},ae93:function(e,t,n){"use strict";var r,i,a,o=n("d039"),s=n("e163"),l=n("9112"),c=n("5135"),u=n("b622"),d=n("c430"),h=u("iterator"),f=!1,p=function(){return this};[].keys&&(a=[].keys(),"next"in a?(i=s(s(a)),i!==Object.prototype&&(r=i)):f=!0);var m=void 0==r||o((function(){var e={};return r[h].call(e)!==e}));m&&(r={}),d&&!m||c(r,h)||l(r,h,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},af25:function(e,t,n){var r=n("50c6");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("1b37d6cc",r,!0,{sourceMap:!1,shadowMode:!1})},b041:function(e,t,n){"use strict";var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),i=n("9bf2").f,a=Function.prototype,o=a.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in a)&&i(a,l,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(e){return""}}})},b29d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(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:"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(e){return"ທີ່"+e}});return t}))},b3eb:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b500:function(e,t,n){var r=n("f9eb");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("3234cdae",r,!0,{sourceMap:!1,shadowMode:!1})},b53d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},b540:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<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 t}))},b575:function(e,t,n){var r,i,a,o,s,l,c,u,d=n("da84"),h=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),m=n("a4b4"),y=n("605d"),v=d.MutationObserver||d.WebKitMutationObserver,g=d.document,_=d.process,w=d.Promise,b=h(d,"queueMicrotask"),A=b&&b.value;A||(r=function(){var e,t;y&&(e=_.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(n){throw i?o():a=void 0,n}}a=void 0,e&&e.enter()},p||y||m||!v||!g?w&&w.resolve?(c=w.resolve(void 0),c.constructor=w,u=c.then,o=function(){u.call(c,r)}):o=y?function(){_.nextTick(r)}:function(){f.call(d,r)}:(s=!0,l=g.createTextNode(""),new v(r).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=A||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},b5b7:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,a=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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 a}))},b622:function(e,t,n){var r=n("da84"),i=n("5692"),a=n("5135"),o=n("90e3"),s=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)&&(s||"string"==typeof c[e])||(s&&a(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},b64b:function(e,t,n){var r=n("23e7"),i=n("7b0b"),a=n("df75"),o=n("d039"),s=o((function(){a(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return a(i(e))}})},b65f:function(e,t,n){var r=n("23e7"),i=Math.ceil,a=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?a:i)(e)}})},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),a=n("7b0b"),o=n("50c4"),s=n("65f0"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,m,y,v){for(var g,_,w=a(p),b=i(w),A=r(m,y,3),k=o(b.length),M=0,x=v||s,S=t?x(p,k):n||h?x(p,0):void 0;k>M;M++)if((f||M in b)&&(g=b[M],_=A(g,M,w),e))if(t)S[M]=_;else if(_)switch(e){case 3:return!0;case 5:return g;case 6:return M;case 2:l.call(S,g)}else switch(e){case 4:return!1;case 7:l.call(S,g)}return d?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},b7e9:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b84c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},b97c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={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(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}var o=e.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:a,ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},bb71:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bc25:function(e,t,n){var r=n("8b8d");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("63b7a7f2",r,!0,{sourceMap:!1,shadowMode:!1})},be18:function(e,t,n){var r=n("9ebe");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("23b6f5da",r,!0,{sourceMap:!1,shadowMode:!1})},c02b:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".reconnect-tips-container{position:absolute;top:0;left:0;z-index:1111;height:100%;width:100%;background:#f1f1f1;border-radius:2px}.reconnect-tips-container .dcs-reconnect-content{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:158px;height:240px}.reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path{fill:#d6d6d6}.reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle{fill:#999}.reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle+path{fill:#fff}.reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path:last-child{fill:#eee}.reconnect-tips-container .dcs-reconnect-content .reconnect-tips{display:block;margin-top:24px;text-align:center;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#666;cursor:pointer}",""]),e.exports=t},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c109:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},c1df:function(e,t,n){(function(e){//! moment.js
|
||
//! version : 2.29.1
|
||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||
//! license : MIT
|
||
//! momentjs.com
|
||
(function(t,n){e.exports=n()})(0,(function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function a(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function u(e){return void 0===e}function d(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Jn(e,t,n,r,!0).utc()}function y(){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 v(e){return null==e._pf&&(e._pf=y()),e._pf}function g(e){if(null==e._isValid){var t=v(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function _(e){var t=m(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=i.momentProperties=[],b=!1;function A(e,t){var n,r,i;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),w.length>0)for(n=0;n<w.length;n++)r=w[n],i=t[r],u(i)||(e[r]=i);return e}function k(e){A(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function M(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function x(e){!1===i.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return p((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,a,o,s=[];for(a=0;a<arguments.length;a++){if(r="","object"===typeof arguments[a]){for(o in r+="\n["+a+"] ",arguments[0])l(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[a];s.push(r)}x(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var L,T={};function D(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function E(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)l(e,n)&&(t=e[n],E(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Y(e,t){var n,r=p({},e);for(n in t)l(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&s(e[n])&&(r[n]=p({},r[n]));return r}function P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,L=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return E(r)?r.call(t,n):r}function R(e,t,n){var r=""+Math.abs(e),i=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},B={};function H(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return R(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function z(e){var t,n,r=e.match(N);for(t=0,n=r.length;t<n;t++)B[r[t]]?r[t]=B[r[t]]:r[t]=W(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=E(r[i])?r[i].call(t,e):r[i];return a}}function U(e,t){return e.isValid()?(t=V(t,e.localeData()),j[t]=j[t]||z(t),j[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}F.lastIndex=0;while(n>=0&&F.test(e))e=e.replace(F,r),F.lastIndex=0,n-=1;return e}var G={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(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var J="Invalid date";function q(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var $={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 ee(e,t,n,r){var i=this._relativeTime[n];return E(i)?i(e,t,n,r):i.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ie(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ae(e){var t,n,r={};for(n in e)l(e,n)&&(t=ie(n),t&&(r[t]=e[n]));return r}var oe={};function se(e,t){oe[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ce(e){return e%4===0&&e%100!==0||e%400===0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(n){return null!=n?(pe(this,e,n),i.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(n=de(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function me(e){return e=ie(e),E(this[e])?this[e]():this}function ye(e,t){if("object"===typeof e){e=ae(e);var n,r=le(e);for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(e=ie(e),E(this[e]))return this[e](t);return this}var ve,ge=/\d/,_e=/\d\d/,we=/\d{3}/,be=/\d{4}/,Ae=/[+-]?\d{6}/,ke=/\d\d?/,Me=/\d\d\d\d?/,xe=/\d\d\d\d\d\d?/,Se=/\d{1,3}/,Le=/\d{1,4}/,Te=/[+-]?\d{1,6}/,De=/\d+/,Ee=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,Pe=/[+-]?\d+(\.\d{1,3})?/,Oe=/[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 Ie(e,t,n){ve[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Re(e,t){return l(ve,e)?ve[e](t._strict,t._locale):new RegExp(Ne(e))}function Ne(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var je={};function Be(e,t){var n,r=t;for("string"===typeof e&&(e=[e]),d(t)&&(r=function(e,n){n[t]=de(e)}),n=0;n<e.length;n++)je[e[n]]=r}function He(e,t){Be(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function We(e,t,n){null!=t&&l(je,e)&&je[e](t,n._a,n,e)}var ze,Ue=0,Ve=1,Ge=2,Qe=3,Je=4,qe=5,Ke=6,Xe=7,Ze=8;function $e(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=$e(t,12);return e+=(t-n)/12,1===n?ce(e)?29:28:31-n%7%2}ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),se("month",8),Ie("M",ke),Ie("MM",ke,_e),Ie("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ie("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[Ve]=de(e)-1})),Be(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Ve]=i:v(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Oe,at=Oe;function ot(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months["standalone"]}function st(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function lt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(i=ze.call(this._shortMonthsParse,o),-1!==i?i:null):(i=ze.call(this._longMonthsParse,o),-1!==i?i:null):"MMM"===t?(i=ze.call(this._shortMonthsParse,o),-1!==i?i:(i=ze.call(this._longMonthsParse,o),-1!==i?i:null)):(i=ze.call(this._longMonthsParse,o),-1!==i?i:(i=ze.call(this._shortMonthsParse,o),-1!==i?i:null))}function ct(e,t,n){var r,i,a;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ut(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=de(t);else if(t=e.localeData().monthsParse(t),!d(t))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ut(this,e),i.updateOffset(this,!0),this):fe(this,"Month")}function ht(){return et(this.year(),this.month())}function ft(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=at),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Fe(r[t]),i[t]=Fe(i[t]);for(t=0;t<24;t++)a[t]=Fe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function yt(e){return ce(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?R(e,4):"+"+e})),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"),re("year","y"),se("year",1),Ie("Y",Ee),Ie("YY",ke,_e),Ie("YYYY",Le,be),Ie("YYYYY",Te,Ae),Ie("YYYYYY",Te,Ae),Be(["YYYYY","YYYYYY"],Ue),Be("YYYY",(function(e,t){t[Ue]=2===e.length?i.parseTwoDigitYear(e):de(e)})),Be("YY",(function(e,t){t[Ue]=i.parseTwoDigitYear(e)})),Be("Y",(function(e,t){t[Ue]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var vt=he("FullYear",!0);function gt(){return ce(this.year())}function _t(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function wt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bt(e,t,n){var r=7+t-n,i=(7+wt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function At(e,t,n,r,i){var a,o,s=(7+n-r)%7,l=bt(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(a=e-1,o=yt(a)+c):c>yt(e)?(a=e+1,o=c-yt(e)):(a=e,o=c),{year:a,dayOfYear:o}}function kt(e,t,n){var r,i,a=bt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,r=o+Mt(i,t,n)):o>Mt(e.year(),t,n)?(r=o-Mt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Mt(e,t,n){var r=bt(e,t,n),i=bt(e+1,t,n);return(yt(e)-r+i)/7}function xt(e){return kt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),se("week",5),se("isoWeek",5),Ie("w",ke),Ie("ww",ke,_e),Ie("W",ke),Ie("WW",ke,_e),He(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=de(e)}));var St={dow:0,doy:6};function Lt(){return this._week.dow}function Tt(){return this._week.doy}function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Yt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Ie("d",ke),Ie("e",ke),Ie("E",ke),Ie("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ie("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ie("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=de(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=Oe,Ft=Oe,jt=Oe;function Bt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function zt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(i=ze.call(this._weekdaysParse,o),-1!==i?i:null):"ddd"===t?(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:null):(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null):"dddd"===t?(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null))):"ddd"===t?(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null))):(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:null)))}function Ut(e,t,n){var r,i,a;if(this._weekdaysParseExact)return zt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Yt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Nt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=Fe(this.weekdaysMin(n,"")),i=Fe(this.weekdaysShort(n,"")),a=Fe(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),c.push(r),c.push(i),c.push(a);o.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function $t(){return this.hours()||24}function en(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Zt),H("k",["kk",2],0,$t),H("hmm",0,0,(function(){return""+Zt.apply(this)+R(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Zt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),en("a",!0),en("A",!1),re("hour","h"),se("hour",13),Ie("a",tn),Ie("A",tn),Ie("H",ke),Ie("h",ke),Ie("k",ke),Ie("HH",ke,_e),Ie("hh",ke,_e),Ie("kk",ke,_e),Ie("hmm",Me),Ie("hmmss",xe),Ie("Hmm",Me),Ie("Hmmss",xe),Be(["H","HH"],Qe),Be(["k","kk"],(function(e,t,n){var r=de(e);t[Qe]=24===r?0:r})),Be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Be(["h","hh"],(function(e,t,n){t[Qe]=de(e),v(n).bigHour=!0})),Be("hmm",(function(e,t,n){var r=e.length-2;t[Qe]=de(e.substr(0,r)),t[Je]=de(e.substr(r)),v(n).bigHour=!0})),Be("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Qe]=de(e.substr(0,r)),t[Je]=de(e.substr(r,2)),t[qe]=de(e.substr(i)),v(n).bigHour=!0})),Be("Hmm",(function(e,t,n){var r=e.length-2;t[Qe]=de(e.substr(0,r)),t[Je]=de(e.substr(r))})),Be("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Qe]=de(e.substr(0,r)),t[Je]=de(e.substr(r,2)),t[qe]=de(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,an=he("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:O,longDateFormat:G,invalidDate:J,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:$,months:tt,monthsShort:nt,week:St,weekdays:Ot,weekdaysMin:Rt,weekdaysShort:It,meridiemParse:rn},cn={},un={};function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function hn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){var t,n,r,i,a=0;while(a<e.length){i=hn(e[a]).split("-"),t=i.length,n=hn(e[a+1]),n=n?n.split("-"):null;while(t>0){if(r=pn(i.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&dn(i,n)>=t-1)break;t--}a++}return sn}function pn(t){var r=null;if(void 0===cn[t]&&"undefined"!==typeof e&&e&&e.exports)try{r=sn._abbr,n("4678")("./"+t),mn(r)}catch(i){cn[t]=null}return cn[t]}function mn(e,t){var n;return e&&(n=u(t)?gn(e):yn(e,t),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])D("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."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(n=pn(t.parentLocale),null==n)return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new P(Y(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),mn(e),cn[e]}return delete cn[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(Y(cn[e]._config,t)):(r=pn(e),null!=r&&(i=r._config),t=Y(i,t),null==r&&(t.abbr=e),n=new P(t),n.parentLocale=cn[e],cn[e]=n),mn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===mn()&&mn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!o(e)){if(t=pn(e),t)return t;e=[e]}return fn(e)}function _n(){return L(cn)}function wn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[Ge]<1||n[Ge]>et(n[Ue],n[Ve])?Ge:n[Qe]<0||n[Qe]>24||24===n[Qe]&&(0!==n[Je]||0!==n[qe]||0!==n[Ke])?Qe:n[Je]<0||n[Je]>59?Je:n[qe]<0||n[qe]>59?qe:n[Ke]<0||n[Ke]>999?Ke:-1,v(e)._overflowDayOfYear&&(t<Ue||t>Ge)&&(t=Ge),v(e)._overflowWeeks&&-1===t&&(t=Xe),v(e)._overflowWeekday&&-1===t&&(t=Ze),v(e).overflow=t),e}var bn=/^\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)?)?$/,An=/^\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)?)?$/,kn=/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]],xn=[["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/]],Sn=/^\/?Date\((-?\d+)/i,Ln=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(e){var t,n,r,i,a,o,s=e._i,l=bn.exec(s)||An.exec(s);if(l){for(v(e).iso=!0,t=0,n=Mn.length;t<n;t++)if(Mn[t][1].exec(l[1])){i=Mn[t][0],r=!1!==Mn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=xn.length;t<n;t++)if(xn[t][1].exec(l[3])){a=(l[2]||" ")+xn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!kn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Hn(e)}else e._isValid=!1}function En(e,t,n,r,i,a){var o=[Cn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Cn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Yn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){if(e){var r=It.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return v(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function On(e,t,n){if(e)return Tn[e];if(t)return 0;var r=parseInt(n,10),i=r%100,a=(r-i)/100;return 60*a+i}function In(e){var t,n=Ln.exec(Yn(e._i));if(n){if(t=En(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=On(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Rn(e){var t=Sn.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Nn(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function jn(e){var t,n,r,i,a,o=[];if(!e._d){for(r=Fn(e),e._w&&null==e._a[Ge]&&null==e._a[Ve]&&Bn(e),null!=e._dayOfYear&&(a=Nn(e._a[Ue],r[Ue]),(e._dayOfYear>yt(a)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=wt(a,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Qe]&&0===e._a[Je]&&0===e._a[qe]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[Qe]=0),e._d=(e._useUTC?wt:_t).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Qe]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,i,a,o,s,l,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=Nn(t.GG,e._a[Ue],kt(qn(),1,4).year),r=Nn(t.W,1),i=Nn(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=kt(qn(),a,o),n=Nn(t.gg,e._a[Ue],c.year),r=Nn(t.w,c.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),r<1||r>Mt(n,a,o)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=At(n,r,i,a,o),e._a[Ue]=s.year,e._dayOfYear=s.dayOfYear)}function Hn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,a,o,s,l=""+e._i,c=l.length,u=0;for(r=V(e._f,e._locale).match(N)||[],t=0;t<r.length;t++)a=r[t],n=(l.match(Re(a,e))||[])[0],n&&(o=l.substr(0,l.indexOf(n)),o.length>0&&v(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),B[a]?(n?v(e).empty=!1:v(e).unusedTokens.push(a),We(a,n,e)):e._strict&&!n&&v(e).unusedTokens.push(a);v(e).charsLeftOver=c-u,l.length>0&&v(e).unusedInput.push(l),e._a[Qe]<=12&&!0===v(e).bigHour&&e._a[Qe]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Qe]=Wn(e._locale,e._a[Qe],e._meridiem),s=v(e).era,null!==s&&(e._a[Ue]=e._locale.erasConvertYear(s,e._a[Ue])),jn(e),wn(e)}else In(e);else Dn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,o=!1,t=A({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Hn(t),g(t)&&(o=!0),a+=v(t).charsLeftOver,a+=10*v(t).unusedTokens.length,v(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));p(e,n||t)}function Un(e){if(!e._d){var t=ae(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),jn(e)}}function Vn(e){var t=new k(wn(Gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?zn(e):n?Hn(e):Qn(e),g(e)||(e._d=null),e))}function Qn(e){var t=e._i;u(t)?e._d=new Date(i.now()):h(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Rn(e):o(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),jn(e)):s(t)?Un(e):d(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Jn(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&c(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Vn(a)}function qn(e,t,n,r){return Jn(e,t,n,r,!1)}i.createFromInputFallback=S("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Kn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Xn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Zn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function $n(){var e=[].slice.call(arguments,0);return Zn("isBefore",e)}function er(){var e=[].slice.call(arguments,0);return Zn("isAfter",e)}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1;for(t in e)if(l(e,t)&&(-1===ze.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<nr.length;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==de(e[nr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return Tr(NaN)}function or(e){var t=ae(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=gn(),this._bubble()}function sr(e){return e instanceof or}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&de(e[r])!==de(t[r]))&&o++;return o+a}function ur(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ie("Z",Ye),Ie("ZZ",Ye),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hr(Ye,e)}));var dr=/([\+\-]|\d\d)/gi;function hr(e,t){var n,r,i,a=(t||"").match(e);return null===a?null:(n=a[a.length-1]||[],r=(n+"").match(dr)||["-",0,0],i=60*r[1]+de(r[2]),0===i?0:"+"===r[0]?i:-i)}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(M(e)||h(e)?e.valueOf():qn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):qn(e).local()}function pr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=hr(Ye,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=pr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Pr(this,Tr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(this)}function yr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function gr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function _r(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=hr(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function br(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ar(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return A(t,this),t=Gn(t),t._a?(e=t._isUTC?m(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Sr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,a=e,o=null;return sr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Sr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:de(o[Ge])*n,h:de(o[Qe])*n,m:de(o[Je])*n,s:de(o[qe])*n,ms:de(lr(1e3*o[Ke]))*n}):(o=Lr.exec(e))?(n="-"===o[1]?-1:1,a={y:Dr(o[2],n),M:Dr(o[3],n),w:Dr(o[4],n),d:Dr(o[5],n),h:Dr(o[6],n),m:Dr(o[7],n),s:Dr(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(i=Cr(qn(a.from),qn(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new or(a),sr(e)&&l(e,"_locale")&&(r._locale=e._locale),sr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Dr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Er(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Cr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Er(e,t):(n=Er(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Yr(e,t){return function(n,r){var i,a;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),i=Tr(n,r),Pr(this,i,e),this}}function Pr(e,t,n,r){var a=t._milliseconds,o=lr(t._days),s=lr(t._months);e.isValid()&&(r=null==r||r,s&&ut(e,fe(e,"Month")+s*n),o&&pe(e,"Date",fe(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,o||s))}Tr.fn=or.prototype,Tr.invalid=ar;var Or=Yr(1,"add"),Ir=Yr(-1,"subtract");function Rr(e){return"string"===typeof e||e instanceof String}function Nr(e){return M(e)||h(e)||Rr(e)||d(e)||jr(e)||Fr(e)||null===e||void 0===e}function Fr(e){var t,n,r=s(e)&&!c(e),i=!1,a=["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(t=0;t<a.length;t+=1)n=a[t],i=i||l(e,n);return r&&i}function jr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!d(t)&&Rr(e)})).length),t&&n}function Br(e){var t,n,r=s(e)&&!c(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||l(e,n);return r&&i}function Hr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||qn(),r=fr(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",o=t&&(E(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,qn(n)))}function zr(){return new k(this)}function Ur(e,t){var n=M(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=M(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Gr(e,t,n,r){var i=M(e)?e:qn(e),a=M(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function Qr(e,t){var n,r=M(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Jr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(r=fr(e,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=ie(t),t){case"year":a=Xr(this,r)/12;break;case"month":a=Xr(this,r);break;case"quarter":a=Xr(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:ue(a)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(i,"months");return t-a<0?(n=e.clone().add(i-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(i+1,"months"),r=(t-a)/(n-a)),-(i+r)||0}function Zr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $r(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=a+'[")]',this.format(e+t+n+r)}function ti(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(M(e)&&e.isValid()||qn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.from(qn(),e)}function ii(e,t){return this.isValid()&&(M(e)&&e.isValid()||qn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.to(qn(),e)}function oi(e){var t;return void 0===e?this._locale._abbr:(t=gn(e),null!=t&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var ci=1e3,ui=60*ci,di=60*ui,hi=3506328*di;function fi(e,t){return(e%t+t)%t}function pi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-hi:new Date(e,t,n).valueOf()}function mi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-hi:Date.UTC(e,t,n)}function yi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fi(t+(this._isUTC?0:this.utcOffset()*ui),di);break;case"minute":t=this._d.valueOf(),t-=fi(t,ui);break;case"second":t=this._d.valueOf(),t-=fi(t,ci);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function vi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-fi(t+(this._isUTC?0:this.utcOffset()*ui),di)-1;break;case"minute":t=this._d.valueOf(),t+=ui-fi(t,ui)-1;break;case"second":t=this._d.valueOf(),t+=ci-fi(t,ci)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function gi(){return this._d.valueOf()-6e4*(this._offset||0)}function _i(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function bi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ai(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ki(){return this.isValid()?this.toISOString():null}function Mi(){return g(this)}function xi(){return p({},v(this))}function Si(){return v(this).overflow}function Li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ti(e,t){var n,r,a,o=this._eras||gn("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":a=i(o[n].since).startOf("day"),o[n].since=a.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=i(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf();break}}return o}function Di(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r];break}else if([a,o,s].indexOf(e)>=0)return l[r]}function Ei(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function Ci(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Yi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Pi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Oi(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-i(a[e].since).year())*n+a[e].offset;return this.year()}function Ii(e){return l(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Ri(e){return l(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ni(e){return l(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function ji(e,t){return t.erasNameRegex(e)}function Bi(e,t){return t.erasNarrowRegex(e)}function Hi(e,t){return t._eraYearOrdinalRegex||De}function Wi(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Fe(o[e].name)),n.push(Fe(o[e].abbr)),i.push(Fe(o[e].narrow)),a.push(Fe(o[e].name)),a.push(Fe(o[e].abbr)),a.push(Fe(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function zi(e,t){H(0,[e,e.length],0,t)}function Ui(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return Mt(this.year(),1,4)}function Qi(){return Mt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return Mt(this.year(),e.dow,e.doy)}function qi(){var e=this.localeData()._week;return Mt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var a;return null==e?kt(this,r,i).year:(a=Mt(e,r,i),t>a&&(t=a),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var a=At(e,t,n,r,i),o=wt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Zi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-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"),Ie("N",Fi),Ie("NN",Fi),Ie("NNN",Fi),Ie("NNNN",ji),Ie("NNNNN",Bi),Be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e})),Ie("y",De),Ie("yy",De),Ie("yyy",De),Ie("yyyy",De),Ie("yo",Hi),Be(["y","yy","yyy","yyyy"],Ue),Be(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,i):t[Ue]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zi("gggg","weekYear"),zi("ggggg","weekYear"),zi("GGGG","isoWeekYear"),zi("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Ie("G",Ee),Ie("g",Ee),Ie("GG",ke,_e),Ie("gg",ke,_e),Ie("GGGG",Le,be),Ie("gggg",Le,be),Ie("GGGGG",Te,Ae),Ie("ggggg",Te,Ae),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=de(e)})),He(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),re("quarter","Q"),se("quarter",7),Ie("Q",ge),Be("Q",(function(e,t){t[Ve]=3*(de(e)-1)})),H("D",["DD",2],"Do","date"),re("date","D"),se("date",9),Ie("D",ke),Ie("DD",ke,_e),Ie("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],Ge),Be("Do",(function(e,t){t[Ge]=de(e.match(ke)[0])}));var $i=he("Date",!0);function ea(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),se("dayOfYear",4),Ie("DDD",Se),Ie("DDDD",we),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=de(e)})),H("m",["mm",2],0,"minute"),re("minute","m"),se("minute",14),Ie("m",ke),Ie("mm",ke,_e),Be(["m","mm"],Je);var ta=he("Minutes",!1);H("s",["ss",2],0,"second"),re("second","s"),se("second",15),Ie("s",ke),Ie("ss",ke,_e),Be(["s","ss"],qe);var na,ra,ia=he("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()})),re("millisecond","ms"),se("millisecond",16),Ie("S",Se,ge),Ie("SS",Se,_e),Ie("SSS",Se,we),na="SSSS";na.length<=9;na+="S")Ie(na,De);function aa(e,t){t[Ke]=de(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Be(na,aa);function oa(){return this._isUTC?"UTC":""}function sa(){return this._isUTC?"Coordinated Universal Time":""}ra=he("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var la=k.prototype;function ca(e){return qn(1e3*e)}function ua(){return qn.apply(null,arguments).parseZone()}function da(e){return e}la.add=Or,la.calendar=Wr,la.clone=zr,la.diff=Kr,la.endOf=vi,la.format=ti,la.from=ni,la.fromNow=ri,la.to=ii,la.toNow=ai,la.get=me,la.invalidAt=Si,la.isAfter=Ur,la.isBefore=Vr,la.isBetween=Gr,la.isSame=Qr,la.isSameOrAfter=Jr,la.isSameOrBefore=qr,la.isValid=Mi,la.lang=si,la.locale=oi,la.localeData=li,la.max=Xn,la.min=Kn,la.parsingFlags=xi,la.set=ye,la.startOf=yi,la.subtract=Ir,la.toArray=bi,la.toObject=Ai,la.toDate=wi,la.toISOString=$r,la.inspect=ei,"undefined"!==typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=ki,la.toString=Zr,la.unix=_i,la.valueOf=gi,la.creationData=Li,la.eraName=Ci,la.eraNarrow=Yi,la.eraAbbr=Pi,la.eraYear=Oi,la.year=vt,la.isLeapYear=gt,la.weekYear=Ui,la.isoWeekYear=Vi,la.quarter=la.quarters=Zi,la.month=dt,la.daysInMonth=ht,la.week=la.weeks=Dt,la.isoWeek=la.isoWeeks=Et,la.weeksInYear=Ji,la.weeksInWeekYear=qi,la.isoWeeksInYear=Gi,la.isoWeeksInISOWeekYear=Qi,la.date=$i,la.day=la.days=Vt,la.weekday=Gt,la.isoWeekday=Qt,la.dayOfYear=ea,la.hour=la.hours=an,la.minute=la.minutes=ta,la.second=la.seconds=ia,la.millisecond=la.milliseconds=ra,la.utcOffset=mr,la.utc=vr,la.local=gr,la.parseZone=_r,la.hasAlignedHourOffset=wr,la.isDST=br,la.isLocal=kr,la.isUtcOffset=Mr,la.isUtc=xr,la.isUTC=xr,la.zoneAbbr=oa,la.zoneName=sa,la.dates=S("dates accessor is deprecated. Use date instead.",$i),la.months=S("months accessor is deprecated. Use month instead",dt),la.years=S("years accessor is deprecated. Use year instead",vt),la.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),la.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ar);var ha=P.prototype;function fa(e,t,n,r){var i=gn(),a=m().set(r,t);return i[n](a,e)}function pa(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}function ma(e,t,n,r){"boolean"===typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var i,a=gn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ga(e,t,n){return ma(e,t,n,"weekdays")}function _a(e,t,n){return ma(e,t,n,"weekdaysShort")}function wa(e,t,n){return ma(e,t,n,"weekdaysMin")}ha.calendar=I,ha.longDateFormat=Q,ha.invalidDate=q,ha.ordinal=Z,ha.preparse=da,ha.postformat=da,ha.relativeTime=ee,ha.pastFuture=te,ha.set=C,ha.eras=Ti,ha.erasParse=Di,ha.erasConvertYear=Ei,ha.erasAbbrRegex=Ri,ha.erasNameRegex=Ii,ha.erasNarrowRegex=Ni,ha.months=ot,ha.monthsShort=st,ha.monthsParse=ct,ha.monthsRegex=pt,ha.monthsShortRegex=ft,ha.week=xt,ha.firstDayOfYear=Tt,ha.firstDayOfWeek=Lt,ha.weekdays=Bt,ha.weekdaysMin=Wt,ha.weekdaysShort=Ht,ha.weekdaysParse=Ut,ha.weekdaysRegex=Jt,ha.weekdaysShortRegex=qt,ha.weekdaysMinRegex=Kt,ha.isPM=nn,ha.meridiem=on,mn("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(e){var t=e%10,n=1===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",mn),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",gn);var ba=Math.abs;function Aa(){var e=this._data;return this._milliseconds=ba(this._milliseconds),this._days=ba(this._days),this._months=ba(this._months),e.milliseconds=ba(e.milliseconds),e.seconds=ba(e.seconds),e.minutes=ba(e.minutes),e.hours=ba(e.hours),e.months=ba(e.months),e.years=ba(e.years),this}function ka(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Ma(e,t){return ka(this,e,t,1)}function xa(e,t){return ka(this,e,t,-1)}function Sa(e){return e<0?Math.floor(e):Math.ceil(e)}function La(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Sa(Da(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=ue(a/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,o+=ue(n/24),i=ue(Ta(o)),s+=i,o-=Sa(Da(i)),r=ue(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ta(e){return 4800*e/146097}function Da(e){return 146097*e/4800}function Ea(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ta(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Da(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*de(this._months/12):NaN}function Ya(e){return function(){return this.as(e)}}var Pa=Ya("ms"),Oa=Ya("s"),Ia=Ya("m"),Ra=Ya("h"),Na=Ya("d"),Fa=Ya("w"),ja=Ya("M"),Ba=Ya("Q"),Ha=Ya("y");function Wa(){return Tr(this)}function za(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Ua(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=Ua("milliseconds"),Ga=Ua("seconds"),Qa=Ua("minutes"),Ja=Ua("hours"),qa=Ua("days"),Ka=Ua("months"),Xa=Ua("years");function Za(){return ue(this.days()/7)}var $a=Math.round,eo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function to(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function no(e,t,n,r){var i=Tr(e).abs(),a=$a(i.as("s")),o=$a(i.as("m")),s=$a(i.as("h")),l=$a(i.as("d")),c=$a(i.as("M")),u=$a(i.as("w")),d=$a(i.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,to.apply(null,h)}function ro(e){return void 0===e?$a:"function"===typeof e&&($a=e,!0)}function io(e,t){return void 0!==eo[e]&&(void 0===t?eo[e]:(eo[e]=t,"s"===e&&(eo.ss=t-1),!0))}function ao(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=eo;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(a=Object.assign({},eo,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),r=no(this,!i,a,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var oo=Math.abs;function so(e){return(e>0)-(e<0)||+e}function lo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s,l=oo(this._milliseconds)/1e3,c=oo(this._days),u=oo(this._months),d=this.asSeconds();return d?(e=ue(l/60),t=ue(e/60),l%=60,e%=60,n=ue(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=so(this._months)!==so(d)?"-":"",o=so(this._days)!==so(d)?"-":"",s=so(this._milliseconds)!==so(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var co=or.prototype;return co.isValid=ir,co.abs=Aa,co.add=Ma,co.subtract=xa,co.as=Ea,co.asMilliseconds=Pa,co.asSeconds=Oa,co.asMinutes=Ia,co.asHours=Ra,co.asDays=Na,co.asWeeks=Fa,co.asMonths=ja,co.asQuarters=Ba,co.asYears=Ha,co.valueOf=Ca,co._bubble=La,co.clone=Wa,co.get=za,co.milliseconds=Va,co.seconds=Ga,co.minutes=Qa,co.hours=Ja,co.days=qa,co.weeks=Za,co.months=Ka,co.years=Xa,co.humanize=ao,co.toISOString=lo,co.toString=lo,co.toJSON=lo,co.locale=oi,co.localeData=li,co.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo),co.lang=si,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Ie("x",Ee),Ie("X",Pe),Be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,n){n._d=new Date(de(e))})),
|
||
//! moment.js
|
||
i.version="2.29.1",a(qn),i.fn=la,i.min=$n,i.max=er,i.now=tr,i.utc=m,i.unix=ca,i.months=ya,i.isDate=h,i.locale=mn,i.invalid=_,i.duration=Tr,i.isMoment=M,i.weekdays=ga,i.parseZone=ua,i.localeData=gn,i.isDuration=sr,i.monthsShort=va,i.weekdaysMin=wa,i.defineLocale=yn,i.updateLocale=vn,i.locales=_n,i.weekdaysShort=_a,i.normalizeUnits=ie,i.relativeTimeRounding=ro,i.relativeTimeThreshold=io,i.calendarFormat=Hr,i.prototype=la,i.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",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}))}).call(this,n("62e4")(e))},c212:function(e,t,n){var r=n("104b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("31f751e9",r,!0,{sourceMap:!1,shadowMode:!1})},c22c:function(e,t,n){var r=n("f0f0");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("20d03b75",r,!0,{sourceMap:!1,shadowMode:!1})},c385:function(e,t,n){var r=n("f2b4");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("0c6276ee",r,!0,{sourceMap:!1,shadowMode:!1})},c430:function(e,t){e.exports=!1},c465:function(e,t,n){var r=n("38ff");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("f20bfd14",r,!0,{sourceMap:!1,shadowMode:!1})},c4fa:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".player-control-tools-container{position:relative;display:flex;height:24px;width:100%;line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.player-control-tools-container .rewind-checkbox-button{display:flex;align-items:center;width:56px;height:24px;line-height:24px}.player-control-tools-container .rewind-checkbox-button .rewind-checkbox{width:16px;height:16px;margin:0;cursor:pointer}.player-control-tools-container .rewind-checkbox-button .rewind-tips{margin-left:4px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;vertical-align:text-bottom}.player-control-tools-container .icondcs-fast-forward,.player-control-tools-container .icondcs-pause,.player-control-tools-container .icondcs-play,.player-control-tools-container .icondcs-rewind,.player-control-tools-container .icondcs-single-frame,.player-control-tools-container .icondcs-stop{margin:0 5px;color:#fff;font-size:24px;cursor:pointer}.player-control-tools-container .icondcs-fast-forward:hover,.player-control-tools-container .icondcs-pause:hover,.player-control-tools-container .icondcs-play:hover,.player-control-tools-container .icondcs-rewind:hover,.player-control-tools-container .icondcs-single-frame:hover,.player-control-tools-container .icondcs-stop:hover{color:#445eff}.player-control-tools-container .disable-icon{cursor:not-allowed!important}",""]),e.exports=t},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),a="__core-js_shared__",o=r[a]||i(a,{});e.exports=o},c710:function(e,t,n){var r=n("a081");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("d0ae37fa",r,!0,{sourceMap:!1,shadowMode:!1})},c740:function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").findIndex,a=n("44d2"),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},c7aa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8be:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".load-error-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;border-radius:2px}.load-error-container .error-content{position:absolute;left:0;right:0;bottom:0;top:0;margin:auto;max-width:88px;max-height:88px;width:50%;height:55%}.load-error-container .error-content .dcs-load-error-icon path{fill:#989ccb}.load-error-container .error-content .dcs-load-error-icon path+path{fill:#fff}.load-error-container .error-content .dcs-load-error-icon path:last-child{fill:#ff7066}.load-error-container .error-tips{position:absolute;left:0;right:0;top:50%;margin:auto;margin-top:60px;max-width:200px;overflow:hidden;display:block;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;text-align:center}",""]),e.exports=t},c8f3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<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 t}))},ca27:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-vod-lite-player-container-dark{background-color:#232323}.dcs-vod-lite-player-container-dark .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#444}.dcs-vod-lite-player-container-dark .dcs-camera-icon path+path{fill:#666}.dcs-vod-lite-player-container-dark .load-error-container{background:#232323}.dcs-vod-lite-player-container-dark .load-error-container .error-content .dcs-load-error-icon path{fill:#444}.dcs-vod-lite-player-container-dark .load-error-container .error-content .dcs-load-error-icon path+path{fill:#666}.dcs-vod-lite-player-container-dark .load-error-container .error-content .dcs-load-error-icon path:last-child{fill:#ff7066}.dcs-vod-lite-player-container-dark .load-error-container .error-tips{color:#b1b4c1}.dcs-vod-lite-player-container-dark .installation-inspection-container{background:#333;box-shadow:0 0 10px 0 #333}.dcs-vod-lite-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path{fill:#3b3b3b}.dcs-vod-lite-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path+path{fill:#444}.dcs-vod-lite-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path:last-child{fill:#666}.dcs-vod-lite-player-container-dark .installation-inspection-container .dcs-download-plugin-content .download-tips{color:#fff}.dcs-vod-lite-player-container-dark .reconnect-tips-container{background:#333}.dcs-vod-lite-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path{fill:#444}.dcs-vod-lite-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle{fill:#777}.dcs-vod-lite-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle+path{fill:#ccc}.dcs-vod-lite-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path:last-child{fill:#666}.dcs-vod-lite-player-container-dark .reconnect-tips-container .dcs-reconnect-content .reconnect-tips{color:#ccc}.dcs-vod-lite-player-container-dark .player-load-error-container{background:#232323}.dcs-vod-lite-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path{fill:#444}.dcs-vod-lite-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle{fill:#777}.dcs-vod-lite-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle+path{fill:#ccc}.dcs-vod-lite-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path:last-child{fill:#666}.dcs-vod-lite-player-container-dark .player-load-error-container .load-error-content .error-tips{color:#ccc}",""]),e.exports=t},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),a=n("4d64").indexOf,o=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},caf4:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".volume-control-container{position:absolute;width:14px;height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.volume-control-container:hover{top:-141px;left:-13px;height:155px;width:39px}.volume-control-container:hover .dcs-volume-icon{left:13px}.volume-control-container:hover .volume-control-bg{display:block;left:1px}.volume-control-container .dcs-volume-icon{position:absolute;bottom:0;fill:#fff;cursor:pointer;vertical-align:top}.volume-control-container .dcs-volume-icon:hover{fill:#445eff;transform:scale(1.2)}.volume-control-container .volume-control-bg{display:none;position:absolute;bottom:25px;left:-12px;width:39px;height:130px;border-radius:5px;background-color:rgba(0,0,0,.8);text-align:center}.volume-control-container .volume-control-bg .vlolume-value-span{color:#fff;font-size:12px}.volume-control-container .volume-control-bg .volume-bg-box{display:inline-block;position:absolute;left:14px;top:26px;height:94px;width:11px;cursor:pointer;opacity:.8}.volume-control-container .volume-control-bg .volume-bg-box .volume-bg-line{height:94px;width:3px;background:hsla(0,0%,51%,.6);position:absolute;left:4px;border-radius:2px}.volume-control-container .volume-control-bg .volume-bg-box .volume-bg-active-line{position:absolute;bottom:0;width:3px;background:#445eff;left:4px;z-index:5;border-radius:2px}.volume-control-container .volume-control-bg .volume-bg-box .volume-bg-ball{position:absolute;bottom:5px;top:20px;background-color:#fff;width:11px;height:11px;border-radius:50%;z-index:5}.volume-control-container .volume-control-bg .volume-bg-box .volume-bg-ball:hover{box-shadow:0 0 0 6px #445eff}",""]),e.exports=t},cbde:function(e,t,n){var r=n("e7cf");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("2d4383f9",r,!0,{sourceMap:!1,shadowMode:!1})},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},cdef:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-live-player-container-dark .dcs-player-layout-container{border:1px solid #232323}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item{background-color:#000}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content-select{border:2px solid #445eff!important;box-shadow:none}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content{background-color:#232323;border:2px solid rgba(68,94,255,0)}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop-active{border:2px solid #445eff;box-shadow:none}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#444}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .dcs-camera-icon path+path{fill:#666}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .load-error-container{background:#232323}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .load-error-container .error-content .dcs-load-error-icon path{fill:#444}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .load-error-container .error-content .dcs-load-error-icon path+path{fill:#666}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .load-error-container .error-content .dcs-load-error-icon path:last-child{fill:#ff7066}.dcs-live-player-container-dark .dcs-player-layout-container .layout-item .layout-item-content .layout-item-drop .single-player-item-container .load-error-container .error-tips{color:#b1b4c1}.dcs-live-player-container-dark .installation-inspection-container{background:#333;box-shadow:0 0 10px 0 #333}.dcs-live-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path{fill:#3b3b3b}.dcs-live-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path+path{fill:#444}.dcs-live-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path:last-child{fill:#666}.dcs-live-player-container-dark .installation-inspection-container .dcs-download-plugin-content .download-tips{color:#fff}.dcs-live-player-container-dark .reconnect-tips-container{background:#333}.dcs-live-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path{fill:#444}.dcs-live-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle{fill:#777}.dcs-live-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle+path{fill:#ccc}.dcs-live-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path:last-child{fill:#666}.dcs-live-player-container-dark .reconnect-tips-container .dcs-reconnect-content .reconnect-tips{color:#ccc}.dcs-live-player-container-dark .player-load-error-container{background:#232323}.dcs-live-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path{fill:#444}.dcs-live-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle{fill:#777}.dcs-live-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle+path{fill:#ccc}.dcs-live-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path:last-child{fill:#666}.dcs-live-player-container-dark .player-load-error-container .load-error-content .error-tips{color:#ccc}",""]),e.exports=t},cdf9:function(e,t,n){var r=n("825a"),i=n("861d"),a=n("f069");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e),o=n.resolve;return o(t),n.promise}},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},ce65:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,"html,html body{height:100%}html body{margin:0}html body #app{height:100%}",""]),e.exports=t},cee6:function(e,t,n){var r=n("c02b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("406ee3fd",r,!0,{sourceMap:!1,shadowMode:!1})},cf1e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.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 e=["[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 e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>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(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function i(e,t,n,r){var i=a(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function a(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),r>0&&(a+=(""!==a?" ":"")+t[r]+"maH"),i>0&&(a+=(""!==a?" ":"")+t[i]),""===a?"pagh":a}var o=e.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:r,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d05d:function(e,t,n){var r=n("c8be");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("7549c952",r,!0,{sourceMap:!1,shadowMode:!1})},d066:function(e,t,n){var r=n("428f"),i=n("da84"),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.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(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}});return r}))},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(a){}return function(n,a){return r(n),i(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),a=n("b041");r||i(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,i=n("5135"),a=n("b622"),o=a("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},d69a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return e},week:{dow:1,doy:4}});return t}))},d6b6:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d716:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d751:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".ptz-panel-container{position:relative}.ptz-panel-container .ptz-panel{position:absolute;left:0;top:-190px;z-index:1000;width:254px;height:180px;background:rgba(41,42,49,.8);border-radius:2px}.ptz-panel-container .ptz-panel .close-ptz-panel-icon{position:absolute;top:8px;right:8px;fill:#fff;cursor:pointer}.ptz-panel-container .ptz-panel .close-ptz-panel-icon:hover{transform:scale(1.2);fill:#445eff}.ptz-panel-container .ptz-panel .ptz-buttons{display:flex;align-items:center;height:82px;width:100%;margin-top:38px}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container{position:relative;height:82px;width:82px;margin:0 14px 0 8px;border-radius:41px;background-color:#fff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .ptz-auto-icon{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;width:35px;height:37px;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-0{position:absolute;left:calc(50% - 4px);top:5px;display:block;width:0;height:0;border:5px solid transparent;border-bottom:8px solid #34425e;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-0:hover{border-bottom:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-1{position:absolute;right:15px;top:15px;display:block;width:0;height:0;border:5px solid transparent;border-bottom:8px solid #34425e;transform:rotate(45deg);cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-1:hover{border-bottom:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-2{position:absolute;right:5px;top:calc(50% - 4px);display:block;width:0;height:0;border:5px solid transparent;border-left:8px solid #34425e;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-2:hover{border-left:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-3{position:absolute;bottom:15px;right:15px;display:block;width:0;height:0;border:5px solid transparent;border-left:8px solid #34425e;transform:rotate(45deg);cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-3:hover{border-left:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-4{position:absolute;left:calc(50% - 4px);bottom:5px;display:block;width:0;height:0;border:5px solid transparent;border-top:8px solid #34425e;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-4:hover{border-top:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-5{position:absolute;left:15px;bottom:15px;display:block;width:0;height:0;border:5px solid transparent;border-right:8px solid #34425e;transform:rotate(-45deg);cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-5:hover{border-right:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-6{position:absolute;left:5px;top:calc(50% - 4px);display:block;width:0;height:0;border:5px solid transparent;border-right:8px solid #34425e;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-6:hover{border-right:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-7{position:absolute;left:15px;top:15px;display:block;width:0;height:0;border:5px solid transparent;border-right:8px solid #34425e;transform:rotate(45deg);cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-direction-container .direction-item-icon-7:hover{border-right:8px solid #445eff}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button{position:relative;width:30px;height:72px;margin-right:14px;border-radius:20px;background:#f0f3f6}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button .ptz-button-icon-top{position:absolute;left:7px;top:11px;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button .ptz-button-icon-top:hover{fill:#445eff;transform:scale(1.2)}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button .ptz-button-line{position:absolute;top:36px;left:9px;display:inline-block;width:12px;height:1px;background:#dddfe6}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button .ptz-button-icon-bottom{position:absolute;left:7px;bottom:11px;cursor:pointer}.ptz-panel-container .ptz-panel .ptz-buttons .ptz-button .ptz-button-icon-bottom:hover{fill:#445eff;transform:scale(1.2)}.ptz-panel-container .ptz-panel .ptz-speed{height:calc(100% - 120px)}.ptz-panel-container .ptz-panel .ptz-speed .ptz-speed-lable{position:relative;left:8px;top:14px;width:58px;height:34px;font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#9294a8;line-height:17px;text-align:center}.ptz-panel-container .ptz-panel .ptz-speed .ptz-speed-value{position:relative;left:72px;top:-4px;width:158px;height:8px}",""]),e.exports=t},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("9263"),a=n("d039"),o=n("b622"),s=n("9112"),l=o("species"),c=RegExp.prototype,u=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){return"$0"==="a".replace(/./,"$0")}(),h=o("replace"),f=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),p=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var m=o(e),y=!a((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),v=y&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](""),!t}));if(!y||!v||"replace"===e&&(!u||!d||f)||"split"===e&&!p){var g=/./[m],_=n(m,""[e],(function(e,t,n,r,a){var o=t.exec;return o===i||o===c.exec?y&&!a?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:d,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),w=_[0],b=_[1];r(String.prototype,e,w),r(c,m,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}h&&s(c[m],"sham",!0)}},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^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],i=/^(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,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},dbb4:function(e,t,n){var r=n("23e7"),i=n("83ab"),a=n("56ef"),o=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,n,r=o(e),i=s.f,c=a(r),u={},d=0;while(c.length>d)n=i(r,t=c[d++]),void 0!==n&&l(u,t,n);return u}})},dc0b:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".player-load-error-container{position:absolute;top:0;left:0;height:100%;width:100%;background:#f1f1f1;border-radius:2px}.player-load-error-container .load-error-content{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:158px;height:240px}.player-load-error-container .load-error-content .dcs-player-load-error-icon path{fill:#d6d6d6}.player-load-error-container .load-error-content .dcs-player-load-error-icon circle{fill:#999}.player-load-error-container .load-error-content .dcs-player-load-error-icon circle+path{fill:#fff}.player-load-error-container .load-error-content .dcs-player-load-error-icon path:last-child{fill:#eee}.player-load-error-container .load-error-content .error-tips{display:block;margin-top:24px;text-align:center;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#666;text-decoration:underline;cursor:pointer}",""]),e.exports=t},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=e.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:r,longMonthsParse:r,shortMonthsParse:i,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(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?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return a}))},dcd4:function(e,t,n){var r=n("a80e");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("5e8097b6",r,!0,{sourceMap:!1,shadowMode:!1})},ddb0:function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("e260"),o=n("9112"),s=n("b622"),l=s("iterator"),c=s("toStringTag"),u=a.values;for(var d in i){var h=r[d],f=h&&h.prototype;if(f){if(f[l]!==u)try{o(f,l,u)}catch(m){f[l]=u}if(f[c]||o(f,c,d),i[d])for(var p in a)if(f[p]!==a[p])try{o(f,p,a[p])}catch(m){f[p]=a[p]}}}},df32:function(e,t,n){var r=n("845c");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("a7d01962",r,!0,{sourceMap:!1,shadowMode:!1})},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e01a:function(e,t,n){"use strict";var r=n("23e7"),i=n("83ab"),a=n("da84"),o=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=a.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(u("test")),y=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(o(d,e))return"";var n=m?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e0c5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r=e.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(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?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return r}))},e163:function(e,t,n){var r=n("5135"),i=n("7b0b"),a=n("f772"),o=n("e177"),s=a("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),i=n("44d2"),a=n("3f8c"),o=n("69f3"),s=n("7dd0"),l="Array Iterator",c=o.set,u=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e439:function(e,t,n){var r=n("23e7"),i=n("d039"),a=n("fc6a"),o=n("06cf").f,s=n("83ab"),l=i((function(){o(1)})),c=!s||l;r({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,i,a,o,s=n("23e7"),l=n("c430"),c=n("da84"),u=n("d066"),d=n("fea9"),h=n("6eeb"),f=n("e2cc"),p=n("d2bb"),m=n("d44e"),y=n("2626"),v=n("861d"),g=n("1c0b"),_=n("19aa"),w=n("8925"),b=n("2266"),A=n("1c7e"),k=n("4840"),M=n("2cf4").set,x=n("b575"),S=n("cdf9"),L=n("44de"),T=n("f069"),D=n("e667"),E=n("69f3"),C=n("94ca"),Y=n("b622"),P=n("6069"),O=n("605d"),I=n("2d00"),R=Y("species"),N="Promise",F=E.get,j=E.set,B=E.getterFor(N),H=d&&d.prototype,W=d,z=H,U=c.TypeError,V=c.document,G=c.process,Q=T.f,J=Q,q=!!(V&&V.createEvent&&c.dispatchEvent),K="function"==typeof PromiseRejectionEvent,X="unhandledrejection",Z="rejectionhandled",$=0,ee=1,te=2,ne=1,re=2,ie=!1,ae=C(N,(function(){var e=w(W)!==String(W);if(!e&&66===I)return!0;if(l&&!z["finally"])return!0;if(I>=51&&/native code/.test(W))return!1;var t=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[R]=n,ie=t.then((function(){}))instanceof n,!ie||!e&&P&&!K})),oe=ae||!A((function(e){W.all(e)["catch"]((function(){}))})),se=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},le=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;x((function(){var r=e.value,i=e.state==ee,a=0;while(n.length>a){var o,s,l,c=n[a++],u=i?c.ok:c.fail,d=c.resolve,h=c.reject,f=c.domain;try{u?(i||(e.rejection===re&&he(e),e.rejection=ne),!0===u?o=r:(f&&f.enter(),o=u(r),f&&(f.exit(),l=!0)),o===c.promise?h(U("Promise-chain cycle")):(s=se(o))?s.call(o,d,h):d(o)):h(r)}catch(p){f&&!l&&f.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ue(e)}))}},ce=function(e,t,n){var r,i;q?(r=V.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!K&&(i=c["on"+e])?i(r):e===X&&L("Unhandled promise rejection",n)},ue=function(e){M.call(c,(function(){var t,n=e.facade,r=e.value,i=de(e);if(i&&(t=D((function(){O?G.emit("unhandledRejection",r,n):ce(X,n,r)})),e.rejection=O||de(e)?re:ne,t.error))throw t.value}))},de=function(e){return e.rejection!==ne&&!e.parent},he=function(e){M.call(c,(function(){var t=e.facade;O?G.emit("rejectionHandled",t):ce(Z,t,e.value)}))},fe=function(e,t,n){return function(r){e(t,r,n)}},pe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=te,le(e,!0))},me=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw U("Promise can't be resolved itself");var r=se(t);r?x((function(){var n={done:!1};try{r.call(t,fe(me,n,e),fe(pe,n,e))}catch(i){pe(n,i,e)}})):(e.value=t,e.state=ee,le(e,!1))}catch(i){pe({done:!1},i,e)}}};if(ae&&(W=function(e){_(this,W,N),g(e),r.call(this);var t=F(this);try{e(fe(me,t),fe(pe,t))}catch(n){pe(t,n)}},z=W.prototype,r=function(e){j(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:$,value:void 0})},r.prototype=f(z,{then:function(e,t){var n=B(this),r=Q(k(this,W));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=O?G.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=$&&le(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=fe(me,t),this.reject=fe(pe,t)},T.f=Q=function(e){return e===W||e===a?new i(e):J(e)},!l&&"function"==typeof d&&H!==Object.prototype)){o=H.then,ie||(h(H,"then",(function(e,t){var n=this;return new W((function(e,t){o.call(n,e,t)})).then(e,t)}),{unsafe:!0}),h(H,"catch",z["catch"],{unsafe:!0}));try{delete H.constructor}catch(ye){}p&&p(H,z)}s({global:!0,wrap:!0,forced:ae},{Promise:W}),m(W,N,!1,!0),y(N),a=u(N),s({target:N,stat:!0,forced:ae},{reject:function(e){var t=Q(this);return t.reject.call(void 0,e),t.promise}}),s({target:N,stat:!0,forced:l||ae},{resolve:function(e){return S(l&&this===a?W:this,e)}}),s({target:N,stat:!0,forced:oe},{all:function(e){var t=this,n=Q(t),r=n.resolve,i=n.reject,a=D((function(){var n=g(t.resolve),a=[],o=0,s=1;b(e,(function(e){var l=o++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=Q(t),r=n.reject,i=D((function(){var i=g(t.resolve);b(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e7cf:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-live-player-container{position:relative;height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dcs-live-player-container .layout-item-drop-active{box-sizing:border-box!important;box-shadow:0 2px 20px 0 #445eff}.dcs-live-player-container .layout-item-drop .drag-image{position:absolute}.dcs-live-player-container .layout-item-drop .drag-image .drag-img-container{position:absolute;width:300px;height:160px}.dcs-live-player-container .layout-item-drop .drag-image .drag-img-container .drag-img-content{width:100%;height:100%}",""]),e.exports=t},e7f2:function(e,t,n){var r=n("cdef");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("6e8a7f95",r,!0,{sourceMap:!1,shadowMode:!1})},e81d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r=e.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(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 ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%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]}))},week:{dow:1,doy:4}});return r}))},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),a=n("06cf"),o=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=o.f,l=a.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),i=n("3f8c"),a=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},eb50:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-vod-player{position:relative;width:100%;height:100%;border-radius:8px;background:#000}.dcs-vod-player .dcs-vod-player-content{height:calc(100% - 60px);background:#ccc;border-radius:2px}.dcs-vod-player .dcs-vod-player-content .layout-item-drop-active{box-sizing:border-box!important;box-shadow:0 2px 20px 0 #445eff}.dcs-vod-player .dcs-vod-player-content .layout-item-drop .drag-img-container{position:relative;width:300px;height:160px}.dcs-vod-player .dcs-vod-player-content .layout-item-drop .drag-img-container .drag-img{width:100%;height:100%}.dcs-vod-player .dcs-vod-player-footer{height:60px;width:100%}",""]),e.exports=t},ebe4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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 t}))},ebec:function(e,t,n){"use strict";n("c22c")},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},ec2e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},ecd7:function(e,t,n){e.exports=n.p+"img/iconfont.53752e3c.svg"},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},eefd:function(e,t,n){var r=n("a1ab");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("ca259bfe",r,!0,{sourceMap:!1,shadowMode:!1})},f069:function(e,t,n){"use strict";var r=n("1c0b"),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},f0f0:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".custom-drag-container{position:relative;width:100%;height:100%;cursor:-webkit-grab;cursor:grab}",""]),e.exports=t},f1dc:function(e,t,n){var r=n("4e64");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("3702c86e",r,!0,{sourceMap:!1,shadowMode:!1})},f260:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},f2b4:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-file-player-container{position:relative;width:100%;height:100%;border-radius:2px;background-color:#fff}.dcs-file-player-container .file-player-canvas{height:100%;width:100%}.dcs-file-player-container .single-frame-time-tips{position:absolute;top:0;right:10px;color:red}.dcs-file-player-container .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#989ccb}.dcs-file-player-container .dcs-camera-icon path+path{fill:#fff}.dcs-file-player-container:hover .bottom-tool-bar{opacity:1}.dcs-file-player-container .bottom-tool-bar{opacity:0;position:absolute;bottom:0;z-index:1000;height:60px;width:100%;background:linear-gradient(180deg,rgba(29,27,32,.1),#1d1b20);border-radius:0 0 2px 2px;transition:opacity 1s}.dcs-file-player-container .player-loading-icon{position:absolute;left:0;right:0;bottom:0;top:0;margin:auto}.dcs-file-player-container .custom-layer-container{position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none}",""]),e.exports=t},f342:function(e,t,n){"use strict";n("7636")},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=e.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(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?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r}))},f5df:function(e,t,n){var r=n("00ee"),i=n("c6b6"),a=n("b622"),o=a("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),o))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},f645:function(e,t,n){var r=n("eb50");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("3c5db08a",r,!0,{sourceMap:!1,shadowMode:!1})},f6b4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["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"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:a,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(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o}))},f73c:function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8fUgCAAABfAAAAFZjbWFw3+LrFAAAAgAAAAHuZ2x5Zp7BdKsAAAQIAAAE5GhlYWQbbfTFAAAA4AAAADZoaGVhB94DjAAAALwAAAAkaG10eCwAAAAAAAHUAAAALGxvY2EGeAeWAAAD8AAAABhtYXhwARwAaQAAARgAAAAgbmFtZT5U/n0AAAjsAAACbXBvc3TvOGDtAAALXAAAALUAAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAH0okINfDzz1AAsEAAAAAADcJ1hkAAAAANwnWGQAAP+ABAADgAAAAAgAAgAAAAAAAAABAAAACwBdAAcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gfmEAOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABZgABAAAAAABgAAMAAQAAACwAAwAKAAABZgAEADQAAAAEAAQAAQAA5hD//wAA5gf//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAJAAoAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAIgAAAAAAAAACgAA5gcAAOYHAAAAAQAA5ggAAOYIAAAAAgAA5gkAAOYJAAAAAwAA5goAAOYKAAAABAAA5gsAAOYLAAAABQAA5gwAAOYMAAAABgAA5g0AAOYNAAAABwAA5g4AAOYOAAAACAAA5g8AAOYPAAAACQAA5hAAAOYQAAAACgAAAAAAAAAwAHoBEgE8AWwBkAG+Ad4CDAJyAAEAAAAAAyACawAbAAABIgYVERQWPwEVFB8BHgE/ATY0LwEmBgcVJyYnAUAJDBgLsgMCBhEH9QcH9QoYAbIFBQJnDQj+XA0LCJmJBQUDBwEF0gYUBtIICw2JmQQBAAAAAAMAAP+ABAADgAAAAAwAKQAAASEWABc2ADcmACcGAAUWFA8BFxYUBiIvAQcGIiY0PwEnJjQ2Mh8BNzYyAgD+AAUBIdraASEFBf7f2tr+3wJ3BARdZwUJDARocQUMCARyaAQJCwVnXQUMAYDa/t8FBQEh2toBIQUF/t9tBAwEXWgEDAkFZ3IECQsFcmcFCwkEaF0FAAAHAAD/gAQAA4AAAAAMAB0ALgA+AE0AXAAAASEWABc2ADcmACcGAAUWFxUOAQcjLgE3MzY/ATQ2IRYXFRYfAR4BByMuASc1NDYlHgEXFQ4BByMuASc1PgE3JR4BFxUOASc1Ji8BLgE3Ix4BByMGDwEOASc1PgE3AgD+AAUBIdraASEFBf7f2tr+3wK5DAMBFhF1DQIMdAsDAQj+igsDAQt0DQIMdBEZAgkBKgwRAQERDMwNEAEBEA0BBxEZAgEZAwELdA0CDF0NAgx0CwMBARgEARYRAYDa/t8FBQEh2toBIQUF/t/7AQt0ERkCARkDAQt0BgkBC3QLAwEBGAQBFhF1BgmlAREMzAwRAQEQDcwNEAFJARYRdQ0CDHQLAwEBGAQBGQMBC3QNAgx0ERkCAAAAAgAAAAACwAKAAAwAGQAAATIWFREUBiImNRE0NiEyFhURFAYiJjURNDYBaxIYGCQZGQE8EhkZJBgYAoAZEv5WEhkZEgGqEhkZEv5WEhkZEgGqEhkAAQAAAAAC1gJrABsAAAEyFhURFAYvARUUDwEOAS8BJjQ/ATYWFxU3NjcCwAkMGAuyAwIGEQf1Bwf1ChgBsgUFAmcNCP5cDQsImYkFBQMHAQXSBhQG0ggLDYmZBAEAAAAAAQAAAAACwAJyABEAAAEFDgEuATURND4BFhcFHgEUBgKo/toMGxoODhkcDAEmCwwMAVW9CAEOFw8Beg8XDgEIvQcXGhcAAAAAAgAAAAADKwKrAAsAFwAAAQ4BBx4BFz4BNy4BBx4BFw4BBy4BJz4BAgB/qAQEqH9/qAQEqH9beAICeFtbeAICeAKrBKh/f6gEBKh/f6hSAnhbW3gCAnhbW3gAAAABAAAAAALtAbQADwAAAQcGIi8BLgE+ATMhMh4BBgLcuBAoELgLBgwaDwFwDxoMBgFcuA8PuAseHRERHR4AAAAAAgAAAAAC4AJrAAwAGgAAAQ4BFREUFjI2NRE0JhciBhURHgE/ATY0LwEmAVUSGBgkGRluCA0BGAr1Bwf1BgJrARgS/oASGBgSAYASGAMNCP5cDQsI0gYUBtIFAAAGAAD/gAQAA4AAAAAMACYALwA7AD8AAAEhFgAXNgA3JgAnBgAFMhYXFTMeARURFAYjISImNRE0NjczNT4BMxcOARQWMjY0JgcyHgEUDgEjIiY0NjcjFTMCAP4ABQEh2toBIQUF/t/a2v7fAewNEAGvDRAQDf6EDRAQDToBEQxJLDo6Vzo6KxQhFBQhFB8qKt07OwGA2v7fBQUBIdraASEFBf7fHBEMHQEQDf75DBERDAEHDRABHQwRdQE6Vzo6VzocFCInIhMqPikeHQAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbgBmAG8AbgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMABBkY3MtZmFzdC1mb3J3YXJkCWRjcy1jbG9zZQ9kY3MtZnVsbC1zY3JlZW4JZGNzLXBhdXNlCmRjcy1yZXdpbmQIZGNzLXBsYXkIZGNzLXN0b3ANZGNzLWRyb3AtZG93bhBkY3Mtc2luZ2xlLWZyYW1lCGRjcy1zbmFwAAAAAAA="},f758:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".custom-drag-container{position:relative;width:100%;height:100%;cursor:-webkit-grab;cursor:grab}",""]),e.exports=t},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},f817:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".single-player-item-container{position:relative;height:100%;width:100%;border-radius:2px}.single-player-item-container:hover .player-title-container,.single-player-item-container:hover .player-toolbar-container{opacity:1}.single-player-item-container .single-player-drag{height:100%;width:100%}.single-player-item-container .single-player-drag .single-player-canvas-parent{display:block;width:100%;height:100%}.single-player-item-container .single-player-drag .single-player-canvas-parent .single-player-canvas{height:100%;width:100%}.single-player-item-container .record-status-span{position:absolute;right:20px;top:20px;display:block;width:32px;height:32px;background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M704 434.496l131.795-131.789a38.4 38.4 0 0165.549 27.155v388.48a38.4 38.4 0 01-65.549 27.15L704 613.701V729.6a38.4 38.4 0 01-38.4 38.4H166.4a38.4 38.4 0 01-38.4-38.4v-384a38.4 38.4 0 0138.4-38.4h499.2a38.4 38.4 0 0138.4 38.4v88.896zM281.6 524.8c42.413 0 76.8-34.387 76.8-76.8s-34.387-76.8-76.8-76.8-76.8 34.387-76.8 76.8 34.387 76.8 76.8 76.8z' fill='%23d81e06'/%3E%3C/svg%3E\");-webkit-animation:opacityChange 2s 0s infinite;animation:opacityChange 2s 0s infinite}@-webkit-keyframes opacityChange{0%{opacity:1}to{opacity:.4}}@keyframes opacityChange{0%{opacity:1}to{opacity:.4}}.single-player-item-container .dcs-camera-icon,.single-player-item-container .player-loading-icon{position:absolute;left:0;right:0;bottom:0;top:0;margin:auto}.single-player-item-container .dcs-camera-icon{fill:#989ccb}.single-player-item-container .dcs-camera-icon path+path{fill:#fff}.single-player-item-container .custom-layer-container{position:absolute;top:0;left:0;z-index:3000;width:100%;height:100%}",""]),e.exports=t},f8fe:function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAdgAAsAAAAADBQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8fUgCY21hcAAAAYAAAAB9AAAB7t/i6xRnbHlmAAACAAAAAwgAAATknsF0q2hlYWQAAAUIAAAALgAAADYbbfTFaGhlYQAABTgAAAAcAAAAJAfeA4xobXR4AAAFVAAAAA8AAAAsLAAAAGxvY2EAAAVkAAAAGAAAABgGeAeWbWF4cAAABXwAAAAfAAAAIAEcAGluYW1lAAAFnAAAAUUAAAJtPlT+fXBvc3QAAAbkAAAAfAAAALXvOGDteJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByesT8TYG7438AQw9zA0AAUZgTJAQDe6Av6eJztkcsNwkAMRN8Sk88SIIVwTEE5UQuVuo1geyiDld5IHnnnMAauwBC8AoP2ppHvCLeVP9DLN/basfR9O8/QKTVmK73ErkXiyMTMUv9G/m8t/fymnr2JanIW0R6+iLyId5Hd+k3ktXwV0TJ+F2TeQ5B5T0HmbYL+BZ/nG7sAAAB4nJ1TQW8SURCeeex7C923LIsLu0sLFdBFqykJ0CWhBrz24MVEe7CcIWk02rSx8VIOXvQf+ANMGj2YGA/10KQ/wFMPHoim/gA99mBMVucBxdb2JFkmb2bnzX7zzTeAQL/YZbYOswBYEhnbyXYw48xjATsYNqoYCD1TCSp4OyE9432MCVs/1vXjGQ/fc856ZjxaM434qxecx3Tkh8IRh3HDfPFKG5cG+D3QIDags4Tr9I1iFtwQmgFUBPCsY6GbdUSpirooBY0OVoJGWJvHZlhjEAHH4nCIRc6jo+EwOmJPNa3b4wmp9Z9wGdc2+lrC4L0ulzig1/xU+kNNat2+JhO8t6GSNnrcSGj9LgfQz2DKwyK04Q6sncPmZpKolxexWQ872AiLFMgqXlSsstQIrxbwJKWy1MbmxK8sBVWkW2WVKSxMjt9e1M5HGcOsvWUyuWnEMB69JGtsKtf2WQIXpI1oy09mCjFlok5B9CcZ3ckl9DQqca79X5Q1TRcJMtPcLZF4raqq4ilTFV85BULl+KdQEEfqD+yADYgtn1iqZUklNK0lm0g57eB62vOu+D7eSvv+Fc9jAz8d3adzGt8o+/cMI3GwzxPdjYtUSXeKLtIcCSEkupthkx38l+5wgnkDbHJ4kgZCCNuYdXkBHcF2o6GczSWT/pzEwJAS7+3HMela+Mxykxjf192cCye9x26wt2AABQidTlOmcS6ODuTS8NvIYGdX03Z3xvbBNmPbD0aWvZ1Gd3bvnkTJTjH+wA9gkaOrJVjENtaLtQIK9mUvdS21ZwiZs/CxlZMC1/Ysa88o5G07X5hiY9+IQwm5ETa1vbWQGg1ctcrTFcZ748E8ipvozSgaBVtHLx0NKJ5GsrEJnyMeaUfEmR0JoArL0Pl3Q2o0onpBfVWUi2MJNOuk9TrxooA0Ap1acZJYptUOm+VM/YIlwO+kwHdmKmVGz5VtkTZXbrZaq63WDafo0DO/sPB1efmcxOdsmScBRz+lbUvUqUpe2luoLq625pxSpXRpoX29kP8DV7vS3nicY2BkYGAA4lqNCc3x/DZfGbhZGEDgjnpECoL+38DCwNwA5HIwMIFEAQQVCPcAAHicY2BkYGBu+N/AEMPCAAJAkpEBFXADAEcRAnR4nGNhYGBgIRIDAARMAC0AAAAAAAAwAHoBEgE8AWwBkAG+Ad4CDAJyeJxjYGRgYOBmiGVgZwABJiDmAkIGhv9gPgMAEykBhgB4nGWPTU7DMBCFX/oHpBKqqGCH5AViASj9EatuWFRq911036ZOmyqJI8et1ANwHo7ACTgC3IA78EgnmzaWx9+8eWNPANzgBx6O3y33kT1cMjtyDRe4F65TfxBukF+Em2jjVbhF/U3YxzOmwm10YXmD17hi9oR3YQ8dfAjXcI1P4Tr1L+EG+Vu4iTv8CrfQ8erCPuZeV7iNRy/2x1YvnF6p5UHFockikzm/gple75KFrdLqnGtbxCZTg6BfSVOdaVvdU+zXQ+ciFVmTqgmrOkmMyq3Z6tAFG+fyUa8XiR6EJuVYY/62xgKOcQWFJQ6MMUIYZIjK6Og7VWb0r7FDwl57Vj3N53RbFNT/c4UBAvTPXFO6stJ5Ok+BPV8bUnV0K27LnpQ0kV7NSRKyQl7WtlRC6gE2ZVeOEXpc0Yk/KGdI/wAJWm7IAAAAeJxtjEsOwyAMRO30k4S0ai/CoSwwVSQKyE6EevsIsu2snuaNBgY4Y+B/Fhzwgle84R1HnHBGgws+4O2d2kC62ZClkvi5FS5m5VdXe4xWnTCnbgrtyqaRcF2Tn3oZ6ddBt1yeDbzkYn2uqf/rmj6RbRD68rlLVAAOExssVQ=="},f940:function(e,t,n){var r=n("c4fa");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("328e9d49",r,!0,{sourceMap:!1,shadowMode:!1})},f9eb:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".installation-inspection-container{position:absolute;top:0;left:0;height:100%;width:100%;background:#fff;box-shadow:0 0 10px 0 #d9d6d6;border-radius:2px}.installation-inspection-container .dcs-download-plugin-content{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:158px;height:240px}.installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path{fill:#d6d6d6}.installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path+path{fill:#ddd}.installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path:last-child{fill:#fff}.installation-inspection-container .dcs-download-plugin-content .download-tips{display:block;margin-top:24px;text-align:center;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#1d1b20;text-decoration:underline;cursor:pointer}",""]),e.exports=t},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="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("_"),r=[/^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],i=/^(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,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"LivePlayer",(function(){return Kt})),n.d(t,"VodPlayer",(function(){return Cr})),n.d(t,"VodLitePlayer",(function(){return Vr})),n.d(t,"FilePlayer",(function(){return ai})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("8bbf"),s=n.n(o),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dcs-live-player-container",class:{"dcs-live-player-container":!0,"dcs-live-player-container-light":"light"===e.themeType,"dcs-live-player-container-dark":"dark"===e.themeType},on:{contextmenu:e.onContextmenu}},[n("PlayerLayout",{directives:[{name:"show",rawName:"v-show",value:e.isInstall&&e.isConnect,expression:"isInstall && isConnect"}],ref:"playerLayout",attrs:{layoutRule:e.layoutRule,cellPadding:e.cellPadding,showWindowSelect:e.showWindowSelect},on:{selectIndexChange:e.selectIndexChangeHandel,cellCountChange:e.cellCountChangeHandel,maxWindowCount:e.onMaxWindowCount},scopedSlots:e._u([e._l(e.maxCellCount,(function(t,r){return{key:r,fn:function(t){var i=t.rowSpan,a=t.colSpan;return[n("div",{key:r,staticClass:"layout-item-drop",on:{dragenter:function(t){e.dragenterHandel(t,r)},drop:function(t){e.onDropHandel(t,r)},dragover:function(e){e.preventDefault&&e.preventDefault()}}},[n("SinglePlayer",{key:r,ref:"SinglePlayer_"+r,refInFor:!0,attrs:{index:r,playerManager:e.livePlayer,isMainUrl:e.isMainUrl(i,a),boolButtons:e.boolButtons},on:{singlePlayerClose:e.singlePlayerCloseHandel,singlePlayerRecord:e.singlePlayerRecordHandel,singlePlayerStreamChange:e.singlePlayerStreamChangeHandel,singleFrameRender:e.onSingleFrameRender},scopedSlots:e._u([{key:"extendlayer",fn:function(){return[e._t("customlayer"+r,null,{player:e.getSinglePlayer(r)})]},proxy:!0},{key:"toolbarextend",fn:function(){return[e._t("extendsfuncbar",null,{windowIndex:r})]},proxy:!0}],null,!0)})],1)]}}}))],null,!0)}),n("InstallationInspection",{attrs:{isInstall:e.isInstall,tips:e.tips}}),e.isConnect?e._e():n("ReconnectTips"),e.loadErrorMsg?n("PlayerLoadError",{attrs:{value:e.loadErrorMsg}}):e._e()],1)},c=[];function u(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){u(a,r,i,o,s,"next",e)}function s(e){u(a,r,i,o,s,"throw",e)}o(void 0)}))}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function g(){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(e){return!1}}n("d3b7"),n("e6cf"),n("4ae1"),n("3410");var _=n("7037"),w=n.n(_);function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t){return!t||"object"!==w()(t)&&"function"!==typeof t?b(e):t}function k(e){var t=g();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return A(this,n)}}function M(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}
|
||
/**
|
||
* vue-class-component v7.2.6
|
||
* (c) 2015-present Evan You
|
||
* @license MIT
|
||
*/function x(e){return x="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return T(e)||D(e)||E()}function T(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function D(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function E(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function C(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function Y(e,t){P(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){P(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){P(e,t,n)}))}function P(e,t,n){var r=n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t);r.forEach((function(r){var i=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,i,e,n):Reflect.defineMetadata(r,i,e)}))}n("96cf"),n("a9e3"),n("159b");var O={__proto__:[]},I=O instanceof Array;function R(e){return function(t,n,r){var i="function"===typeof t?t:t.constructor;i.__decorators__||(i.__decorators__=[]),"number"!==typeof r&&(r=void 0),i.__decorators__.push((function(t){return e(t,n,r)}))}}function N(e){var t=x(e);return null==e||"object"!==t&&"function"!==t}function F(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var i={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(i[e]=r[e])})),i}var j=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(j.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"===typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return S({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return F(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var i=Object.getPrototypeOf(e.prototype),a=i instanceof s.a?i.constructor:s.a,o=a.extend(t);return W(o,e,a),C()&&Y(o,e),o}var H={prototype:!0,arguments:!0,callee:!0,caller:!0};function W(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!H[r]){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,r);if(!I){if("cid"===r)return;var o=Object.getOwnPropertyDescriptor(n,r);if(!N(a.value)&&o&&o.value===a.value)return}Object.defineProperty(e,r,a)}}}))}function z(e){return"function"===typeof e?B(e):function(t){return B(t,e)}}z.registerHooks=function(e){j.push.apply(j,L(e))};var U=z,V="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function G(e,t,n){if(V&&!Array.isArray(e)&&"function"!==typeof e&&!e.hasOwnProperty("type")&&"undefined"===typeof e.type){var r=Reflect.getMetadata("design:type",t,n);r!==Object&&(e.type=r)}}function Q(e){return void 0===e&&(e={}),function(t,n){G(e,t,n),R((function(t,n){(t.props||(t.props={}))[n]=e}))(t,n)}}function J(e,t){void 0===t&&(t={});var n=t.deep,r=void 0!==n&&n,i=t.immediate,a=void 0!==i&&i;return R((function(t,n){"object"!==typeof t.watch&&(t.watch=Object.create(null));var i=t.watch;"object"!==typeof i[e]||Array.isArray(i[e])?"undefined"===typeof i[e]&&(i[e]=[]):i[e]=[i[e]],i[e].push({handler:n,deep:r,immediate:a})}))}n("cbde"),n("e7f2"),n("2bec");var q,K,X,Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dcs-player-layout-container"},e._l(e.layoutData,(function(t){return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"item.show"}],key:t.sort,staticClass:"layout-item",style:{width:t.width,height:t.height,left:t.left,top:t.top,padding:e.cellPadding+"px"}},[n("div",{class:{"layout-item-content":!0,"layout-item-content-select":t.sort===e.selectSort&&e.showWindowSelect&&1!==e.showWindowNumber&&-1===e.fullIndex},on:{click:function(n){return e.changeSelectCell(t.sort)},dblclick:function(n){return e.setFullIndex(t.sort)}}},[e._t(t.sort,null,null,t)],2)])})),0)},$=[],ee=(n("503a"),36);(function(e){e[e["STATUS_STOPPED"]=0]="STATUS_STOPPED",e[e["STATUS_CONNECTING"]=1]="STATUS_CONNECTING",e[e["STATUS_CONNECTED"]=2]="STATUS_CONNECTED",e[e["STATUS_DISCONNECTED"]=3]="STATUS_DISCONNECTED",e[e["STATUS_FLUSH"]=4]="STATUS_FLUSH",e[e["STATUS_FINISHED"]=5]="STATUS_FINISHED"})(q||(q={})),function(e){e[e["STREAM_NO_ERROR"]=0]="STREAM_NO_ERROR",e[e["STREAM_CONNECT_FAILED"]=-1]="STREAM_CONNECT_FAILED",e[e["STREAM_CANNOT_FIND"]=-2]="STREAM_CANNOT_FIND",e[e["STREAM_AUTH_FAILED"]=-3]="STREAM_AUTH_FAILED",e[e["STREAM_UNKNOWN_ERROR"]=-4]="STREAM_UNKNOWN_ERROR",e[e["STREAM_PROTOCOL_ERROR"]=-5]="STREAM_PROTOCOL_ERROR",e[e["STREAM_DISCONNECTED"]=-6]="STREAM_DISCONNECTED",e[e["STREAM_UNSUPPORTED_STREAM"]=-100]="STREAM_UNSUPPORTED_STREAM",e[e["STREAM_START_FAILED"]=-101]="STREAM_START_FAILED",e[e["STREAM_EXT_LIMIT"]=8]="STREAM_EXT_LIMIT"}(K||(K={})),function(e){e[e["OPENING"]=0]="OPENING",e[e["OPENED"]=1]="OPENED",e[e["OPEN_ERROR"]=2]="OPEN_ERROR",e[e["WAIT_OPEN"]=3]="WAIT_OPEN",e[e["PAUSE_OPEN"]=4]="PAUSE_OPEN",e[e["STOP"]=5]="STOP",e[e["SINGLEFRAME"]=6]="SINGLEFRAME"}(X||(X={}));var te={STREAM_NO_ERROR:"连接失败",STREAM_CONNECT_FAILED:"连接失败",STREAM_CANNOT_FIND:"找不到流",STREAM_AUTH_FAILED:"用户名或密码错误",STREAM_UNKNOWN_ERROR:"未知异常",STREAM_PROTOCOL_ERROR:"对方协议错误",STREAM_DISCONNECTED:"连接断开",STREAM_UNSUPPORTED_STREAM:"不支持流类型",STREAM_START_FAILED:"启动失败",STREAM_EXT_LIMIT:"路数限制"},ne={MODULE_NOT_FOUND:"模块未找到",MODULE_LOAD_FAILED:"加载模块失败",SERVICE_NEED_UPGRADE:"插件需要更新",SERVICE_CONNECT_FAILED:"插件未安装",PIPE_INVALID_STATE:"通道状态不正确",RPC_TIMEOUT:"RPC调⽤超时",SETUP_RENDER_FAILED:"初始化canvas失败",SETUP_PLAYER_FAILED:"初始化播放器失败",SETUP_STREAM_FAILED:"打开流失败",INVALID_PARAM:"参数错误",UNSUPPORTED:"不⽀持该操作或类型",MEMORY_LEAK:"内存不⾜",OPERATION_FAILED:"操作失败",MAX_WINDOW_COUNT:"超过最大窗口个数",NO_FREE_WINDOW:"无空闲窗口",TIME_ERROR:"时间参数错误",PLUGIN_NOT_INIT:"插件还未初始化"},re=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.selectSort=0,e.fullIndex=-1,e.showWindowNumber=-1,e}return p(n,[{key:"layoutData",get:function(){var e=this,t=this.layoutRule,n=t.cellCount,r=t.rules,i=Math.sqrt(n);if(1===r.length){var a=r[0],o=a.row,s=a.col,l=a.mergeSpan,c=this.getLayOutData(i,l,l,o,s),u=this.filterShowTds(c);if(u.length>16)return this.$emit("maxWindowCount"),[];this.showWindowNumber=u.length;var d=this.createCells(u);return d}var h=[];r.forEach((function(t){var n=t.row,r=t.col,a=t.mergeSpan,o=e.getLayOutData(i,a,a,n,r);h.push(o)}));for(var f=h[0],p=0;p<h.length;p++)if(0!==p){var m=h[p];m.forEach((function(e,t){for(var n=f[t],r=0;r<e.length;r++){var i=e[r],a=n[r].show,o=i.show;(a&&!o||!a&&o)&&(n[r].show=!1),1===i.colSpan&&1===i.rowSpan||(n[r].colSpan=i.colSpan,n[r].rowSpan=i.rowSpan)}}))}var y=this.filterShowTds(f);if(y.length>16)return this.$emit("maxWindowCount"),[];this.showWindowNumber=y.length;var v=this.createCells(y);return v}},{key:"lauoutRuleChange",value:function(){this.fullIndex=-1}},{key:"getLayOutData",value:function(e,t,n,r,i){for(var a=[],o=Math.sqrt(ee),s=1;s<=o;s++){for(var l=[],c=1;c<=o;c++){var u=null;u=s<=e?s===r?c<i?{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:c===i?{row:s,col:c,rowSpan:t,colSpan:n,show:!0}:c>i&&c<=i+n-1?{row:s,col:c,rowSpan:0,colSpan:0,show:!1}:c>i+n-1&&c<=e?{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:c>=o-e+1?{row:s,col:c,rowSpan:0,colSpan:0,show:!1}:{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:s>r&&s<=r+t-1?c<i?{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:c>=i&&c<=i+n-1?{row:s,col:c,rowSpan:0,colSpan:0,show:!1}:c>i+n-1&&c<=e?{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:c>=o-e?{row:s,col:c,rowSpan:0,colSpan:0,show:!1}:{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:c<=e?{row:s,col:c,rowSpan:1,colSpan:1,show:!0}:{row:s,col:c,rowSpan:0,colSpan:0,show:!1}:{row:s,col:c,rowSpan:0,colSpan:0,show:!1,otherTr:!0},l.push(u)}a.push(l)}return a}},{key:"filterShowTds",value:function(e){var t=[],n=0;return e.forEach((function(e){e.forEach((function(e){e.show&&(t.push(e),e.sort=n++)}))})),this.$emit("cellCountChange",t.length),t}},{key:"createCells",value:function(e){var t=this,n=this.layoutRule.cellCount,r=Math.sqrt(n),i=[],a=100/r;-1===this.fullIndex?e.forEach((function(e){var t=e.row,n=e.col,r=e.rowSpan,o=e.colSpan,s=e.sort,l={left:(n-1)*a+"%",top:(t-1)*a+"%",width:o*a+"%",height:r*a+"%",show:!0,rowSpan:r,colSpan:o};l.sort=s,i.push(l)})):e.forEach((function(e){var n=e.sort;if(n===t.fullIndex){var a={left:"0%",top:"0%",width:"100%",height:"100%",show:!0,rowSpan:r,colSpan:r,sort:n};i.push(a)}else{var o={left:"0%",top:"0%",width:"0%",height:"0%",show:!1,sort:n};i.push(o)}}));for(var o=e.length;o<ee;o++)i.push({left:"0%",top:"0%",width:"0%",height:"0%",show:!1,sort:o});return i}},{key:"changeSelectCell",value:function(e){this.selectSort=e,this.$emit("selectIndexChange",e)}},{key:"setFullIndex",value:function(e){this.fullIndex=-1===this.fullIndex?e:-1}}]),n}(s.a);M([Q({default:function(){return{cellCount:16,rules:[{row:2,col:1,mergeSpan:2},{row:2,col:3,mergeSpan:2}]}}})],re.prototype,"layoutRule",void 0),M([Q({default:2})],re.prototype,"cellPadding",void 0),M([Q({default:!0})],re.prototype,"showWindowSelect",void 0),M([J("layoutRule")],re.prototype,"lauoutRuleChange",null),re=M([U],re);var ie=re,ae=ie;function oe(e,t,n,r,i,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var se=oe(ae,Z,$,!1,null,null,null),le=se.exports,ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"single-player-item-container",staticClass:"single-player-item-container"},[e.liveStreamInfo?n("SinglePlayerTitle",{attrs:{speed:e.speed,name:e.liveStreamInfo.name,status:e.status,closeChannel:e.closeChannel}}):e._e(),n("CustomDrag",{key:e.index,staticClass:"single-player-drag",attrs:{data:{liveStreamInfo:e.liveStreamInfo,index:e.index},playerCanvas:e.canvas}},[n("div",{ref:"single-player-canvas-parent",staticClass:"single-player-canvas-parent"},[n("canvas",{ref:"singlePlayer",staticClass:"single-player-canvas"})])]),e.liveStreamInfo?e._e():n("svgicon",{staticClass:"dcs-camera-icon",attrs:{name:"dcs-camera",width:"88",height:"88"}}),e.recordStatus?n("span",{staticClass:"record-status-span"}):e._e(),e.liveStreamInfo?n("ToolBar",{attrs:{ptzEnable:e.ptzEnable,playerManager:e.playerManager,player:e.player,boolButtons:e.boolButtons,url:e.ptzUrl},on:{videoRecord:e.videoRecordHandel,snapshot:e.snapshotHandel,fullScreen:e.fullScreenHandel}},[e._t("toolbarextend")],2):e._e(),e.liveStreamInfo&&0===e.status?n("PlayerLoading",{staticClass:"player-loading-icon"}):e._e(),e.liveStreamInfo&&2===e.status?n("LoadError",{attrs:{value:e.errorText}}):e._e(),e.extendLayerShow?n("div",{staticClass:"custom-layer-container",style:{pointerEvents:"cover"===e.extendLayerType?"auto":"none"}},[e._t("extendlayer")],2):e._e()],1)},ue=[],de=(n("ac1f"),n("1276"),n("99af"),n("b65f"),n("b0c0"),n("e260"),n("3ca3"),n("ddb0"),n("2b3d"),n("3066"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-title-container"},[n("div",{staticClass:"player-status"},[n("span",{staticClass:"player-status-icon",style:{background:1===e.status?"#87ff4f":"#d81e06"}})]),n("div",{staticClass:"player-name"},[e._v(" "+e._s(e.name)+" ")]),n("div",{staticClass:"player-speed"},[e._v(" "+e._s(e.speed)+" ")]),n("div",{staticClass:"player-close"},[n("svgicon",{staticClass:"dcs-close-player-icon",attrs:{name:"dcs-close-player",width:"10",height:"10"},on:{click:function(t){return e.closeChannel()}}})],1)])}),he=[],fe=(n("c465"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(s.a));M([Q({default:""})],fe.prototype,"name",void 0),M([Q({default:0})],fe.prototype,"speed",void 0),M([Q({default:1})],fe.prototype,"status",void 0),M([Q({default:function(){return 1}})],fe.prototype,"closeChannel",void 0),fe=M([U],fe);var pe=fe,me=pe,ye=oe(me,de,he,!1,null,null,null),ve=ye.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-toolbar-container"},[n("PtzPanel",{attrs:{ptzEnable:e.ptzEnable,playerManager:e.playerManager,url:e.url}},[e.boolButtons.includes("ptz")?n("svgicon",{class:{"toolbar-icon":!0,"toolbar-icon-ptz":!1,"toolbar-icon-enable":!e.ptzEnable},staticStyle:{marginLeft:"20px"},attrs:{name:"dcs-ptz",width:"14",height:"14",title:"云台控制"}}):e._e()],1),e.boolButtons.includes("record")?n("svgicon",{staticClass:"toolbar-icon",attrs:{name:"dcs-video-record",width:"14",height:"14",title:"录像"},on:{click:e.recordVideoHandel}}):e._e(),e.boolButtons.includes("snap")?n("svgicon",{staticClass:"toolbar-icon",attrs:{name:"dcs-video-snap",width:"14",height:"14",title:"抓拍"},on:{click:e.snapshotHandel}}):e._e(),e.boolButtons.includes("volume")?n("div",{staticClass:"toolbar-volume-icon",attrs:{title:"音量控制"}},[n("VolumeControl",{on:{change:e.volumeValueChange}})],1):e._e(),e.boolButtons.includes("fullScreen")?n("svgicon",{staticClass:"toolbar-icon",attrs:{name:"dcs-full-screen",width:"14",height:"14",title:"全屏"},on:{click:e.fullScreenHandel}}):e._e(),e._t("default")],2)},_e=[],we=(n("39df"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"ptz-panel-container",on:{click:function(t){return t.stopPropagation(),e.changeVisibleHandel.apply(null,arguments)},dblclick:function(e){e.stopPropagation()}}},[e._t("default"),!0===e.visible?n("div",{staticClass:"ptz-panel",style:{opacity:e.visible?1:0},on:{click:function(e){e.stopPropagation()}}},[n("svgicon",{staticClass:"close-ptz-panel-icon",attrs:{name:"dcs-close-player",width:"14",height:"14"},on:{click:function(t){return t.stopPropagation(),e.changeVisibleHandel.apply(null,arguments)}}}),n("div",{staticClass:"ptz-buttons"},[n("div",{staticClass:"ptz-direction-container"},[e.ptzAuto?n("svg",{staticClass:"ptz-auto-icon",attrs:{width:"35px",height:"37px",viewBox:"0 0 37 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},on:{click:e.changePtzAuto}},[n("title",[e._v("编组 35")]),n("defs",[n("linearGradient",{attrs:{x1:"49.9981983%",y1:"96.7782556%",x2:"49.9981983%",y2:"0.00156952896%",id:"linearGradient-1"}},[n("stop",{attrs:{"stop-color":"#F0776F",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#F0656F",offset:"50.32%"}}),n("stop",{attrs:{"stop-color":"#F0606F",offset:"100%"}})],1),n("filter",{attrs:{x:"-55.4%",y:"-54.9%",width:"210.8%",height:"209.8%",filterUnits:"objectBoundingBox",id:"filter-2"}},[n("feGaussianBlur",{attrs:{stdDeviation:"3",in:"SourceGraphic"}})],1),n("linearGradient",{attrs:{x1:"49.9981983%",y1:"96.7782556%",x2:"49.9981983%",y2:"0.00156952896%",id:"linearGradient-3"}},[n("stop",{attrs:{"stop-color":"#F0776F",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#F0656F",offset:"50.32%"}}),n("stop",{attrs:{"stop-color":"#F0606F",offset:"100%"}})],1),n("path",{attrs:{d:"M3.47747748,1.49090909 L17.2072072,1.49090909 C18.3117767,1.49090909 19.2072072,2.38633959 19.2072072,3.49090909 L19.2072072,10.5169533 C19.2072072,15.412883 15.238272,19.3818182 10.3423423,19.3818182 C5.44641267,19.3818182 1.47747748,15.412883 1.47747748,10.5169533 L1.47747748,3.49090909 C1.47747748,2.38633959 2.37290798,1.49090909 3.47747748,1.49090909 Z",id:"path-4"}}),n("filter",{attrs:{x:"-31.2%",y:"-268.3%",width:"162.5%",height:"636.6%",filterUnits:"objectBoundingBox",id:"filter-6"}},[n("feGaussianBlur",{attrs:{stdDeviation:"2",in:"SourceGraphic"}})],1),n("path",{attrs:{d:"M10.3423423,7.45454545 C13.6062955,7.45454545 16.2522523,10.1005022 16.2522523,13.3644554 L16.2522523,14.9628174 C16.2522523,18.2267705 13.6062955,20.8727273 10.3423423,20.8727273 C7.07838923,20.8727273 4.43243243,18.2267705 4.43243243,14.9628174 L4.43243243,13.3644554 C4.43243243,10.1005022 7.07838923,7.45454545 10.3423423,7.45454545 Z",id:"path-7"}}),n("filter",{attrs:{x:"-16.9%",y:"-14.9%",width:"133.8%",height:"129.8%",filterUnits:"objectBoundingBox",id:"filter-8"}},[n("feGaussianBlur",{attrs:{stdDeviation:"1.5",in:"SourceAlpha",result:"shadowBlurInner1"}}),n("feOffset",{attrs:{dx:"0",dy:"1",in:"shadowBlurInner1",result:"shadowOffsetInner1"}}),n("feComposite",{attrs:{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:"-1",k3:"1",result:"shadowInnerInner1"}}),n("feColorMatrix",{attrs:{values:"0 0 0 0 10 0 0 0 0.6883453570 0 0 0 0.6677400910 0 0 1 0",type:"matrix",in:"shadowInnerInner1"}})],1),n("linearGradient",{attrs:{x1:"94.7433339%",y1:"53.3403118%",x2:"5.98770954%",y2:"46.9118521%",id:"linearGradient-9"}},[n("stop",{attrs:{"stop-color":"#F0776F",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#F0656F",offset:"50.32%"}}),n("stop",{attrs:{"stop-color":"#F0606F",offset:"100%"}})],1)],1),n("g",{attrs:{id:"视频预览",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"视频预览-选中视频",transform:"translate(-865.000000, -297.000000)"}},[n("g",{attrs:{id:"编组-11备份",transform:"translate(834.000000, 70.000000)"}},[n("g",{attrs:{id:"编组-36",transform:"translate(0.000000, 170.000000)"}},[n("g",{attrs:{id:"编组-21",transform:"translate(8.000000, 34.000000)"}},[n("g",{attrs:{id:"编组-20"}},[n("g",{attrs:{id:"编组-40",transform:"translate(23.000000, 23.000000)"}},[n("g",{attrs:{id:"编组-35",transform:"translate(1.000000, 0.000000)"}},[n("g",{attrs:{id:"编组-31",transform:"translate(0.378378, 0.854545)"}},[n("ellipse",{attrs:{id:"椭圆形",stroke:"#FFD1CE","stroke-width":"2",fill:"#ECEEF0",cx:"16.990991",cy:"17.1454545",rx:"15.990991",ry:"16.1454545"}}),n("g",{attrs:{id:"编组-30",transform:"translate(6.648649, 8.945455)"}},[n("ellipse",{attrs:{id:"椭圆形",fill:"url(#linearGradient-1)",opacity:"0.495861235",filter:"url(#filter-2)",cx:"10.3423423",cy:"11.9272727",rx:"8.12612613",ry:"8.2"}}),n("g",{attrs:{id:"矩形复制"}},[n("mask",{attrs:{id:"mask-5",fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-4"}})]),n("use",{attrs:{id:"蒙版",fill:"url(#linearGradient-3)","xlink:href":"#path-4"}}),n("rect",{attrs:{id:"矩形",fill:"#AD2A22",filter:"url(#filter-6)",mask:"url(#mask-5)",x:"0.738738739",y:"4.47272727",width:"19.2072072",height:"2.23636364",rx:"1.11818182"}}),n("g",{attrs:{id:"矩形",mask:"url(#mask-5)"}},[n("use",{attrs:{fill:"#FFFFFF","fill-rule":"evenodd","xlink:href":"#path-7"}}),n("use",{attrs:{fill:"black","fill-opacity":"1",filter:"url(#filter-8)","xlink:href":"#path-7"}})]),n("ellipse",{attrs:{id:"椭圆形",fill:"#FF7066",mask:"url(#mask-5)",cx:"10.3423423",cy:"14.1636364",rx:"2.95495495",ry:"2.98181818"}}),n("ellipse",{attrs:{id:"椭圆形",fill:"#FFFFFF",mask:"url(#mask-5)",cx:"10.3423423",cy:"14.1636364",rx:"1.47747748",ry:"1.49090909"}}),n("rect",{attrs:{id:"矩形",fill:"url(#linearGradient-9)",x:"0",y:"0",width:"20.6846847",height:"5.96363636",rx:"2"}}),n("ellipse",{attrs:{id:"椭圆形",fill:"#FFFFFF",cx:"18.0990991",cy:"2.98181818",rx:"1.10810811",ry:"1.11818182"}}),n("ellipse",{attrs:{id:"椭圆形复制",fill:"#FFFFFF",cx:"14.7747748",cy:"2.98181818",rx:"1",ry:"1"}})])])])])])])])])])])])]):n("svg",{staticClass:"ptz-auto-icon",attrs:{width:"35px",height:"37px",viewBox:"0 0 35 37",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},on:{click:e.changePtzAuto}},[n("title",[e._v("编组 31")]),n("defs",[n("linearGradient",{attrs:{x1:"99.1031572%",y1:"31.2129821%",x2:"23.0469137%",y2:"91.1925147%",id:"linearGradient-1"}},[n("stop",{attrs:{"stop-color":"#6097FC",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#5558FD",offset:"100%"}})],1),n("filter",{attrs:{x:"-55.4%",y:"-54.9%",width:"210.8%",height:"209.8%",filterUnits:"objectBoundingBox",id:"filter-2"}},[n("feGaussianBlur",{attrs:{stdDeviation:"3",in:"SourceGraphic"}})],1),n("linearGradient",{attrs:{x1:"86.742133%",y1:"86.9627227%",x2:"9.48985012%",y2:"18.0885884%",id:"linearGradient-3"}},[n("stop",{attrs:{"stop-color":"#473BDA",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#445EFF",offset:"100%"}})],1),n("path",{attrs:{d:"M3.47747748,1.49090909 L17.2072072,1.49090909 C18.3117767,1.49090909 19.2072072,2.38633959 19.2072072,3.49090909 L19.2072072,10.5169533 C19.2072072,15.412883 15.238272,19.3818182 10.3423423,19.3818182 C5.44641267,19.3818182 1.47747748,15.412883 1.47747748,10.5169533 L1.47747748,3.49090909 C1.47747748,2.38633959 2.37290798,1.49090909 3.47747748,1.49090909 Z",id:"path-4"}}),n("filter",{attrs:{x:"-31.2%",y:"-268.3%",width:"162.5%",height:"636.6%",filterUnits:"objectBoundingBox",id:"filter-6"}},[n("feGaussianBlur",{attrs:{stdDeviation:"2",in:"SourceGraphic"}})],1),n("path",{attrs:{d:"M10.3423423,7.45454545 C13.6062955,7.45454545 16.2522523,10.1005022 16.2522523,13.3644554 L16.2522523,14.9628174 C16.2522523,18.2267705 13.6062955,20.8727273 10.3423423,20.8727273 C7.07838923,20.8727273 4.43243243,18.2267705 4.43243243,14.9628174 L4.43243243,13.3644554 C4.43243243,10.1005022 7.07838923,7.45454545 10.3423423,7.45454545 Z",id:"path-7"}}),n("filter",{attrs:{x:"-16.9%",y:"-14.9%",width:"133.8%",height:"129.8%",filterUnits:"objectBoundingBox",id:"filter-8"}},[n("feGaussianBlur",{attrs:{stdDeviation:"1.5",in:"SourceAlpha",result:"shadowBlurInner1"}}),n("feOffset",{attrs:{dx:"0",dy:"1",in:"shadowBlurInner1",result:"shadowOffsetInner1"}}),n("feComposite",{attrs:{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:"-1",k3:"1",result:"shadowInnerInner1"}}),n("feColorMatrix",{attrs:{values:"0 0 0 0 0.800076220 0 0 0 0.8699882160 0 0 0 10 0 0 1 0",type:"matrix",in:"shadowInnerInner1"}})],1),n("linearGradient",{attrs:{x1:"96.1420761%",y1:"45.8438185%",x2:"3.20410419%",y2:"53.2014953%",id:"linearGradient-9"}},[n("stop",{attrs:{"stop-color":"#75A3F7",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#1B65F0",offset:"100%"}})],1)],1),n("g",{attrs:{id:"业务预览",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"视频预览-视频预览-自定义分组备份",transform:"translate(-866.000000, -287.000000)"}},[n("g",{attrs:{id:"编组-11备份",transform:"translate(834.000000, 70.000000)"}},[n("g",{attrs:{id:"编组-36",transform:"translate(0.000000, 160.000000)"}},[n("g",{attrs:{id:"编组-21",transform:"translate(8.000000, 34.000000)"}},[n("g",{attrs:{id:"编组-20"}},[n("g",{attrs:{id:"编组-35",transform:"translate(24.000000, 23.000000)"}},[n("g",{attrs:{id:"编组-31",transform:"translate(0.378378, 0.854545)"}},[n("ellipse",{attrs:{id:"椭圆形",stroke:"#C1C6CE","stroke-width":"2",fill:"#ECEEF0",cx:"16.990991",cy:"17.1454545",rx:"15.990991",ry:"16.1454545"}}),n("g",{attrs:{id:"编组-30",transform:"translate(6.648649, 8.945455)"}},[n("ellipse",{attrs:{id:"椭圆形",fill:"url(#linearGradient-1)",opacity:"0.495861235",filter:"url(#filter-2)",cx:"10.3423423",cy:"11.9272727",rx:"8.12612613",ry:"8.2"}}),n("g",{attrs:{id:"矩形复制"}},[n("mask",{attrs:{id:"mask-5",fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-4"}})]),n("use",{attrs:{id:"蒙版",fill:"url(#linearGradient-3)","xlink:href":"#path-4"}}),n("rect",{attrs:{id:"矩形",fill:"#0251E3",filter:"url(#filter-6)",mask:"url(#mask-5)",x:"0.738738739",y:"4.47272727",width:"19.2072072",height:"2.23636364",rx:"1.11818182"}}),n("g",{attrs:{id:"矩形",mask:"url(#mask-5)"}},[n("use",{attrs:{fill:"#FFFFFF","fill-rule":"evenodd","xlink:href":"#path-7"}}),n("use",{attrs:{fill:"black","fill-opacity":"1",filter:"url(#filter-8)","xlink:href":"#path-7"}})]),n("ellipse",{attrs:{id:"椭圆形",fill:"#639BFF",mask:"url(#mask-5)",cx:"10.3423423",cy:"14.1636364",rx:"2.95495495",ry:"2.98181818"}}),n("ellipse",{attrs:{id:"椭圆形",fill:"#FFFFFF",mask:"url(#mask-5)",cx:"10.3423423",cy:"14.1636364",rx:"1.47747748",ry:"1.49090909"}}),n("rect",{attrs:{id:"矩形",fill:"url(#linearGradient-9)",x:"0",y:"0",width:"20.6846847",height:"5.96363636",rx:"2"}}),n("ellipse",{attrs:{id:"椭圆形",fill:"#FFFFFF",cx:"18.0990991",cy:"2.98181818",rx:"1.10810811",ry:"1.11818182"}}),n("ellipse",{attrs:{id:"椭圆形复制",fill:"#FFFFFF",cx:"14.7747748",cy:"2.98181818",rx:"1",ry:"1"}})])])])])])])])])])])]),e._l(e.directionCtz,(function(t,r){return n("div",{key:r,class:"direction-item-icon-"+r,on:{mousedown:function(n){return e.ptzControl(t.value,e.speed)},mouseup:function(n){return e.ptzControl(t.value,0)}}})}))],2),n("div",{staticClass:"ptz-button"},[n("span",{on:{mousedown:function(t){return e.ptzControl(11,e.speed)},mouseup:function(t){return e.ptzControl(11,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-top",attrs:{name:"dcs-lens-zoom",width:"16",height:"16"}})],1),n("span",{staticClass:"ptz-button-line"}),n("span",{on:{mousedown:function(t){return e.ptzControl(11,-e.speed)},mouseup:function(t){return e.ptzControl(11,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-bottom",attrs:{name:"dcs-zoom-out",width:"16",height:"16"}})],1)]),n("div",{staticClass:"ptz-button"},[n("span",{on:{mousedown:function(t){return e.ptzControl(12,e.speed)},mouseup:function(t){return e.ptzControl(12,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-top",attrs:{name:"dcs-close-focus",width:"16",height:"16"}})],1),n("span",{staticClass:"ptz-button-line"}),n("span",{on:{mousedown:function(t){return e.ptzControl(12,-e.speed)},mouseup:function(t){return e.ptzControl(12,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-bottom",attrs:{name:"dcs-far-focus",width:"16",height:"16"}})],1)]),n("div",{staticClass:"ptz-button"},[n("span",{on:{mousedown:function(t){return e.ptzControl(10,-e.speed)},mouseup:function(t){return e.ptzControl(10,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-top",attrs:{name:"dcs-aperture-zoom",width:"16",height:"16"}})],1),n("span",{staticClass:"ptz-button-line"}),n("span",{on:{mousedown:function(t){return e.ptzControl(10,e.speed)},mouseup:function(t){return e.ptzControl(10,0)}}},[n("svgicon",{staticClass:"ptz-button-icon-bottom",attrs:{name:"dcs-aperture-reduction",width:"16",height:"16"}})],1)])]),n("div",{staticClass:"ptz-speed"},[n("div",{staticClass:"ptz-speed-lable"},[e._v(" 云台控制速度 ")]),n("div",{staticClass:"ptz-speed-value"},[n("ProgressBar",{attrs:{progress:50},on:{progressBarDrag:e.onProgressBarDrag}})],1)])],1):e._e()],2)}),be=[],Ae=(n("a2a9"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"progress-bar-container",staticClass:"progress-bar-container",on:{mouseleave:e.mouseUpHandel,mousemove:e.bgMouseMoveHandel,click:e.bgClickHandel}},[n("div",{staticClass:"progress-bar-bg",style:{width:e.bgWidth+"px"}}),n("div",{staticClass:"progress-bar-ball",style:{left:e.bgWidth-7+"px"},on:{mousedown:e.mouseDownHandel,mousemove:e.mouseMoveHandel,mouseup:e.mouseUpHandel,mouseleave:e.mouseUpHandel}},[n("div",{staticClass:"ball-inner"})]),e.hoverTipsValue?n("div",{staticClass:"bg-hover-value",style:{left:e.hoverValueLeft-40+"px"}},[e._v(e._s(e.hoverTipsValue))]):e._e()])}),ke=[],Me=(n("df32"),n("6dd8")),xe=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.value=0,e.totalWidth=0,e.barPositionX=0,e.mouseDownX=0,e.isMove=!1,e.hoverValueLeft=0,e.resizeObserver=null,e}return p(n,[{key:"bgWidth",get:function(){var e=this.totalWidth*this.value/100;return e}},{key:"progressChange",value:function(e){this.isMove||(this.value=e)}},{key:"bgClickHandel",value:function(e){var t=e.x-this.barPositionX;t<0&&(t=0);var n=100*t/this.totalWidth;this.$emit("progressBarDrag",n),this.value=n}},{key:"getBarPosition",value:function(){var e=this.$refs["progress-bar-container"],t=e.getBoundingClientRect().left+document.documentElement.scrollLeft;this.barPositionX=t}},{key:"mouseMoveHandel",value:function(e){if(this.isMove){var t=e.x-this.mouseDownX,n=100*t/this.totalWidth,r=this.value+n;r<=0?r=0:r>=100&&(r=100),this.value=r,this.mouseDownX=e.x}}},{key:"mouseDownHandel",value:function(e){this.isMove=!0,this.mouseDownX=e.x}},{key:"mouseUpHandel",value:function(){this.isMove=!1}},{key:"bgMouseMoveHandel",value:function(e){var t=e.x-this.barPositionX;this.hoverValueLeft=t;var n=100*t/this.totalWidth;this.$emit("hoverProgresChange",n)}},{key:"initResizeObserver",value:function(){var e=this;this.resizeObserver=new Me["a"]((function(){e.getBarPosition(),e.totalWidth=e.$refs["progress-bar-container"].clientWidth}));var t=document.querySelector(".progress-bar-container");this.resizeObserver.observe(t)}},{key:"mounted",value:function(){this.getBarPosition(),this.totalWidth=this.$refs["progress-bar-container"].clientWidth,this.initResizeObserver()}},{key:"beforeDestroy",value:function(){this.resizeObserver&&this.resizeObserver.disconnect()}}]),n}(s.a);M([Q({default:0})],xe.prototype,"progress",void 0),M([Q({default:""})],xe.prototype,"hoverTipsValue",void 0),M([J("progress",{immediate:!0,deep:!0})],xe.prototype,"progressChange",null),xe=M([U],xe);var Se=xe,Le=Se,Te=oe(Le,Ae,ke,!1,null,null,null),De=Te.exports,Ee=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.visible=!1,e.speed=8,e.ptzAuto=!1,e.directionCtz=[{name:"云台上仰",value:2},{name:"云台上仰和右转",value:1},{name:"云台右转",value:0},{name:"云台下俯和右转",value:7},{name:"云台下俯",value:6},{name:"云台下俯和左转",value:5},{name:"云台左转",value:4},{name:"云台上仰和左转",value:3}],e}return p(n,[{key:"ptzEnableChange",value:function(e){e||(this.visible=!1)}},{key:"changeVisibleHandel",value:function(){this.ptzEnable&&(this.visible=!this.visible)}},{key:"onProgressBarDrag",value:function(e){var t=15*(e>0?e:1)/100;this.speed=Math.ceil(t)}},{key:"ptzControl",value:function(e,t){this.playerManager&&this.url&&this.playerManager.ptzControl(this.url,e,t)}},{key:"changePtzAuto",value:function(){this.ptzAuto=!this.ptzAuto,this.ptzAuto?this.ptzControl(8,this.speed):this.ptzControl(8,0)}}]),n}(s.a);M([Q({default:!1})],Ee.prototype,"ptzEnable",void 0),M([Q({default:null})],Ee.prototype,"playerManager",void 0),M([Q({default:""})],Ee.prototype,"url",void 0),M([J("ptzEnable")],Ee.prototype,"ptzEnableChange",null),Ee=M([U({components:{ProgressBar:De}})],Ee);var Ce=Ee,Ye=Ce,Pe=oe(Ye,we,be,!1,null,null,null),Oe=Pe.exports,Ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"volume-control-container"},[e.isMute?n("svgicon",{staticClass:"dcs-volume-icon",attrs:{name:"dcs-volume-close",width:"14",height:"14"},on:{click:function(t){return e.changeMuteState(!1)}}}):n("svgicon",{staticClass:"dcs-volume-icon",attrs:{name:"dcs-volume",width:"14",height:"14"},on:{click:function(t){return e.changeMuteState(!0)}}}),n("div",{staticClass:"volume-control-bg",on:{mousemove:e.mouseMoveHandel,mouseup:e.mouseUpHandel}},[n("span",{staticClass:"vlolume-value-span"},[e._v(e._s(Math.floor(e.value)+"%"))]),n("div",{staticClass:"volume-bg-box"},[n("div",{staticClass:"volume-bg-line"}),n("div",{staticClass:"volume-bg-active-line",style:{height:e.value+"%"}}),n("div",{staticClass:"volume-bg-ball",style:{top:"calc("+(100-e.value)+"% - 5.5px)"},on:{mousedown:e.mouseDownHandel}})])])],1)},Re=[],Ne=(n("5e9a"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.isMute=!0,e.value=0,e.valueCopy=0,e.mouseDownY=0,e.moveEnable=!1,e}return p(n,[{key:"mouseDownHandel",value:function(e){this.mouseDownY=e.y,this.moveEnable=!0}},{key:"mouseMoveHandel",value:function(e){if(this.moveEnable){var t=e.y-this.mouseDownY,n=100*t/94,r=this.value-n;r<=0?r=0:r>=100&&(r=100),this.isMute=0===r,this.value=r,this.mouseDownY=e.y,this.$emit("change",Math.ceil(r)/100)}}},{key:"mouseUpHandel",value:function(){this.moveEnable=!1}},{key:"changeMuteState",value:function(e){e?(this.valueCopy=this.value,this.value=0,this.$emit("change",0)):(this.value=this.valueCopy,this.$emit("change",this.valueCopy/100)),this.isMute=e}}]),n}(s.a));Ne=M([U],Ne);var Fe=Ne,je=Fe,Be=oe(je,Ie,Re,!1,null,null,null),He=Be.exports,We=function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"volumeValueChange",value:function(e){this.player&&this.player.setVolume(e)}},{key:"recordVideoHandel",value:function(){this.$emit("videoRecord")}},{key:"snapshotHandel",value:function(){this.$emit("snapshot")}},{key:"fullScreenHandel",value:function(){this.$emit("fullScreen")}}]),n}(s.a);M([Q({default:!1})],We.prototype,"ptzEnable",void 0),M([Q({default:null})],We.prototype,"playerManager",void 0),M([Q({default:null})],We.prototype,"player",void 0),M([Q({default:[]})],We.prototype,"boolButtons",void 0),M([Q({default:""})],We.prototype,"url",void 0),We=M([U({components:{PtzPanel:Oe,VolumeControl:He}})],We);var ze=We,Ue=ze,Ve=oe(Ue,ge,_e,!1,null,null,null),Ge=Ve.exports,Qe=function(){var e=this;e.$createElement;return e._self._c,e._m(0)},Je=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-loading"},[n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div")])}],qe=(n("dcd4"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(s.a));qe=M([U],qe);var Ke=qe,Xe=Ke,Ze=oe(Xe,Qe,Je,!1,null,null,null),$e=Ze.exports,et=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"load-error-container"},[n("div",{staticClass:"error-content"},[n("svgicon",{staticClass:"dcs-load-error-icon",attrs:{name:"dcs-video-error",width:"100%",height:"100%"}})],1),n("span",{staticClass:"error-tips",attrs:{title:e.value},on:{click:e.tryAgainHandel}},[e._v(" "+e._s(e.value)+" ")])])},tt=[],nt=(n("d05d"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"tryAgainHandel",value:function(){this.$emit("tryAgain")}}]),n}(s.a));M([Q({default:""})],nt.prototype,"value",void 0),nt=M([U],nt);var rt=nt,it=rt,at=oe(it,et,tt,!1,null,null,null),ot=at.exports,st=n("1ef1"),lt=n.n(st),ct=n("2ef0"),ut=(n("5319"),n("a15b"),function(){function e(){h(this,e)}return p(e,null,[{key:"formatTime",value:function(e){var t=e.getHours(),n=e.getMinutes(),r="";return r=t>9&&n>9?"".concat(t,":").concat(n):t>9?"".concat(t,":0").concat(n):n>9?"0".concat(t,":").concat(n):"0".concat(t,":0").concat(n),r}},{key:"replaceSpecialChars",value:function(e){var t=/\\|\/|\?|?|\*|"|“|”|'|‘|’|<|>|{|}|\[|\]|【|】|:|:|、|^|$|!|~|`|\|/g;return e.replace(t,"_").replace(/^(\s|_)+|(\s|_)+$/g,"")}},{key:"toggleFullScreen",value:function(e){document.fullscreenElement?this.exitFullscreen(e):this.showFullscreen(e)}},{key:"showFullscreen",value:function(e){if(e.requestFullscreen)e.requestFullscreen().catch((function(){console.log("request fullscreen failed")}));else if(e.mozRequestFullScreen)e.mozRequestFullScreen();else if(e.webkitRequestFullscreen)e.webkitRequestFullscreen();else{if(!e.msRequestFullscreen)return console.log("不存在进入全屏的方法! => undefined"),!1;e.msRequestFullscreen()}return!0}},{key:"exitFullscreen",value:function(e){if(document.exitFullscreen)document.exitFullscreen().catch((function(){console.log("request fullscreen failed")}));else if(document.exitFullscreen)document.exitFullscreen();else if(e.exitFullscreen)document.exitFullscreen();else{if(!e.exitFullscreen)return console.log("不存在进入全屏的方法! => undefined"),!1;document.exitFullscreen()}return!0}},{key:"downloadFile",value:function(e,t){var n=document.createElement("a");n.download="".concat(e,".jpg"),n.href=t,n.dataset.downloadurl=["image/png",n.download,n.href].join(":"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}},{key:"debounce",value:function(e,t){var n=arguments,r=this;return function(){r.timer&&clearTimeout(r.timer),r.timer=setTimeout((function(){e.apply(r,n)}),t)}}},{key:"formatSecond",value:function(e){var t=Math.floor(e/3600),n=Math.floor(e/60%60),r=Math.floor(e%60),i="".concat(t<10?"0".concat(t):t),a="".concat(n<10?"0".concat(n):n),o="".concat(r<10?"0".concat(r):r);return i+":"+a+":"+o}},{key:"splitTimeRangeToArray",value:function(e,t,n){for(var r=[],i=t;i<=n;)i+e>=n?r.push({startTime:i,endTime:n}):r.push({startTime:i,endTime:i+e}),i+=e;return r}}]),e}());ut.timer=null;var dt=n("c1df"),ht=n.n(dt),ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"custom-drag-container":!0},attrs:{draggable:!!e.data.liveStreamInfo},on:{dragstart:e.onDragStart}},[e._t("default")],2)},pt=[],mt=function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"onDragStart",value:function(e){var t=document.createElement("canvas");t.style.position="absolute",t.style.zIndex="-200",t.style.left="0px",t.style.top="0px";var n=t.getContext("2d");if(document.body.appendChild(t),setTimeout((function(){document.body.removeChild(t)}),300),e&&e.dataTransfer&&n&&this.playerCanvas){var r=this.playerCanvas,i=r.width,a=r.height,o=.8*i,s=.8*a;if(o>300||s>300){var l=Math.min(300/o,300/s);o*=l,s*=l}t.width=o,t.height=s,this.playerCanvas&&n.drawImage(this.playerCanvas,0,0,o,s);var c=this.data,u=c.liveStreamInfo,d=c.index;e.dataTransfer.setData("liveStreamInfo",JSON.stringify({liveStreamInfo:u,index:d})),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",e.dataTransfer.setDragImage(n.canvas,o/2,s/2)}}}]),n}(s.a);M([Q({default:function(){return{liveStreamInfo:null,index:-1}}})],mt.prototype,"data",void 0),M([Q({default:null})],mt.prototype,"playerCanvas",void 0),mt=M([U],mt);var yt=mt,vt=yt,gt=(n("3040"),oe(vt,ft,pt,!1,null,null,null)),_t=gt.exports,wt=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.liveStreamInfo=null,e.canvas=null,e.player=null,e.speed="0KB/s",e.status=X.OPENING,e.errorText="",e.channelNo=-1,e.ptzEnable=!1,e.recordStatus=!1,e.recordFileName="",e.extendLayerShow=!1,e.extendLayerType="cover",e}return p(n,[{key:"isMainUrlChange",value:function(){this.liveStreamInfo&&this.openStream(this.liveStreamInfo)}},{key:"ptzUrl",get:function(){var e=this.liveStreamInfo&&this.liveStreamInfo.mainUrl,t=null===e||void 0===e?void 0:e.split("#")[0];return t}},{key:"setCanvas",value:function(){this.canvas=this.$refs.singlePlayer}},{key:"isFree",value:function(){return!this.liveStreamInfo}},{key:"openStream",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i,a,o,s,l,c,u,d=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,!this.canvas||!this.playerManager){e.next=20;break}if(this.liveStreamInfo=t,this.player){e.next=14;break}return n=this.$refs["single-player-canvas-parent"],r=n.firstChild,this.canvas=r,e.next=9,this.playerManager.setupChannel(this.channelNo,st["ChannelType"].Live,r);case 9:i=e.sent,this.player=i,this.player.onNetSpeed((function(e){d.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel);case 14:return a=t.mainUrl,o=t.subUrl,s=t.ptzEnable,l=t.viewType,this.status=X.OPENING,this.ptzEnable=!!s,e.next=19,this.player.open(o&&!this.isMainUrl?o:a,{});case 19:void 0!==l&&this.player.setViewType(l);case 20:e.next=28;break;case 22:throw e.prev=22,e.t0=e["catch"](0),c=e.t0.code,u=e.t0.no,this.errorText=ne[c]?"".concat(ne[c],"(").concat(u,")"):JSON.stringify(e.t0),this.status=X.OPEN_ERROR,e.t0;case 28:case"end":return e.stop()}}),e,this,[[0,22]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onNetSpeedHandel",value:function(e){this.speed=e>=1048576?"".concat(Math.trunc(e/1048576*100)/100," MB/s"):"".concat(Math.trunc(e/1024*100)/100," KB/s")}},{key:"onStreamStatusHandel",value:function(e,t,n){var r,i=null===(r=this.liveStreamInfo)||void 0===r?void 0:r.id,a=this.index;e===q.STATUS_CONNECTING?this.status=X.OPENING:e===q.STATUS_CONNECTED?this.status=X.OPENED:e===q.STATUS_DISCONNECTED&&(this.status=X.OPEN_ERROR,this.errorText="".concat(te[K[t]],"(").concat(n,")")),this.$emit("singlePlayerStreamChange",{id:i,index:a,status:e,code:t,no:n})}},{key:"onRenderHandel",value:function(e,t,n){var r,i=null===(r=this.liveStreamInfo)||void 0===r?void 0:r.id;this.$emit("singleFrameRender",{index:this.index,id:i,time:e,width:t,height:n})}},{key:"fullScreenHandel",value:function(){var e=this.$refs["single-player-item-container"];e&&ut.toggleFullScreen(e)}},{key:"copyImage",value:function(e,t){this.player&&this.player.copyImage(e,t)}},{key:"resumeStream",value:function(){this.player&&this.player.resume()}},{key:"pauseStream",value:function(){this.player&&this.player.pause()}},{key:"closeChannel",value:function(){this.playerManager&&this.liveStreamInfo&&(this.playerManager.releaseChannel(this.channelNo),this.$emit("singlePlayerClose",{index:this.index,id:this.liveStreamInfo.id,state:"close"}),this.liveStreamInfo=null,this.player=null,this.speed="0KB/s",this.status=X.OPENING,this.errorText="",this.ptzEnable=!1,this.recordStatus=!1,this.recordFileName="",this.extendLayerShow=!1,this.extendLayerType="cover")}},{key:"getPlayerInfo",value:function(){var e=this.$refs["single-player-canvas-parent"],t=e.firstChild,n=this.liveStreamInfo,r=this.player,i=this.speed,a=this.status,o=this.errorText,s=this.channelNo,l=this.ptzEnable,c=this.recordStatus,u=this.isMainUrl,d=this.recordFileName,h=this.canvas,f=this.extendLayerShow,p=this.extendLayerType;return{canvasDom:t,liveStreamInfo:Object(ct["cloneDeep"])(n),player:r,speed:i,status:a,errorText:o,channelNo:s,ptzEnable:l,recordStatus:c,isMainUrl:u,recordFileName:d,canvas:h,extendLayerShow:f,extendLayerType:p}}},{key:"setPlayerInfo",value:function(e,t,n,r,i,a,o,s,l,c,u,d,h,f){var p=this,m=this.$refs["single-player-canvas-parent"],y=m.firstChild;y?m.replaceChild(e,y):m.appendChild(e),this.player=t,this.speed=n,this.status=r,this.errorText=i,this.liveStreamInfo=a,this.channelNo=o,this.ptzEnable=s,this.recordStatus=l,this.recordFileName=u,this.canvas=d,this.extendLayerShow=h,this.extendLayerType=f,this.player&&this.player.onNetSpeed((function(e){p.onNetSpeedHandel(e)})),this.player&&this.player.onStreamStatus(this.onStreamStatusHandel),this.isMainUrl!==c&&this.player&&(this.openStream(this.liveStreamInfo),this.player.onNetSpeed((function(e){p.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel))}},{key:"videoRecordHandel",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n){var r,i,a,o,s,l,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.liveStreamInfo){e.next=2;break}return e.abrupt("return",!1);case 2:if(this.recordStatus=!this.recordStatus,r=this.liveStreamInfo,i=r.id,a=r.name,e.prev=4,!this.recordStatus||!this.player){e.next=16;break}return o=ht()().format("YYYYMMDD_HHmmss"),s="".concat(a?ut.replaceSpecialChars(a)+"_":"").concat(o,".mp4"),e.next=10,this.player.startRecord(t||0,n||s);case 10:return l=e.sent,this.recordFileName=l,this.$emit("singlePlayerRecord",{id:i,index:this.index,param:l,state:"start"}),e.abrupt("return",!0);case 16:return this.player.stopRecord(),this.$emit("singlePlayerRecord",{id:i,index:this.index,param:this.recordFileName,state:"stop"}),this.recordFileName="",e.abrupt("return",!0);case 20:e.next=28;break;case 22:return e.prev=22,e.t0=e["catch"](4),c=e.t0.code,u=e.t0.no,this.errorText=ne[c]?"".concat(ne[c],"(").concat(u,")"):JSON.stringify(e.t0),this.$emit("singlePlayerRecord",{id:i,index:this.index,param:e.t0,state:"failed"}),e.abrupt("return",!1);case 28:case"end":return e.stop()}}),e,this,[[4,22]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"snapshotHandel",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.player){e.next=8;break}return e.next=3,this.player.snapshot();case 3:n=e.sent,r=URL.createObjectURL(n),i="",i=null!==(t=this.liveStreamInfo)&&void 0!==t&&t.name?"".concat(this.liveStreamInfo.name,"-").concat(ht()().format("YYYYMMDD-HHmmss")):"".concat(ht()().format("YYYYMMDD-HHmmss")),ut.downloadFile(i,r);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.player){e.next=7;break}return e.next=3,this.player.snapshot();case 3:return t=e.sent,e.abrupt("return",t);case 7:return e.abrupt("return",null);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getStreamInfo",value:function(){if(!this.player)return{width:0,height:0};var e=this.player.getStreamWidth(),t=this.player.getStreamHeight();return{width:e,height:t}}},{key:"setVolume",value:function(e){this.player&&this.player.setVolume(e)}},{key:"ptzControl",value:function(e,t){try{if(this.playerManager&&this.liveStreamInfo){var n=this.liveStreamInfo.ptzEnable;return!!n&&(this.ptzUrl&&this.playerManager.ptzControl(this.ptzUrl,e,t),!0)}return!1}catch(r){return r}}},{key:"switchWindowFullScreen",value:function(){return ut.toggleFullScreen(this.$refs["single-player-item-container"])}},{key:"changeExtendLayerShow",value:function(e,t){this.extendLayerShow=e,t&&(this.extendLayerType=t)}},{key:"getWindowIndex",value:function(){return this.index}},{key:"mounted",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.channelNo=this.index,e.next=3,this.setCanvas();case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),n}(s.a);M([Q({default:null})],wt.prototype,"playerManager",void 0),M([Q({default:-1})],wt.prototype,"index",void 0),M([Q({default:!1})],wt.prototype,"isMainUrl",void 0),M([Q({default:[]})],wt.prototype,"boolButtons",void 0),M([J("isMainUrl")],wt.prototype,"isMainUrlChange",null),wt=M([U({components:{SinglePlayerTitle:ve,ToolBar:Ge,PlayerLoading:$e,LoadError:ot,CustomDrag:_t}})],wt);var bt=wt,At=bt,kt=oe(At,ce,ue,!1,null,null,null),Mt=kt.exports,xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isInstall?e._e():n("div",{staticClass:"installation-inspection-container"},[n("div",{staticClass:"dcs-download-plugin-content"},[n("svgicon",{staticClass:"dcs-download-plugin-icon",attrs:{name:"dcs-download-plugin",width:"158",height:"168"}}),n("span",{staticClass:"download-tips",on:{click:e.downloadExeHandel}},[e._v(e._s(e.tips)+",点击下载")])],1)])},St=[],Lt=(n("b500"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"downloadExeHandel",value:function(){lt.a.download()}}]),n}(s.a));M([Q({default:!1})],Lt.prototype,"isInstall",void 0),M([Q({default:"插件未安装"})],Lt.prototype,"tips",void 0),Lt=M([U],Lt);var Tt=Lt,Dt=Tt,Et=oe(Dt,xt,St,!1,null,null,null),Ct=Et.exports,Yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"reconnect-tips-container"},[n("div",{staticClass:"dcs-reconnect-content"},[n("svgicon",{staticClass:"dcs-reconnect-icon",attrs:{name:"dcs-reconnect",width:"158",height:"168"}}),n("span",{staticClass:"reconnect-tips"},[e._v("插件断开连接,请重载!")])],1)])},Pt=[],Ot=(n("cee6"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(s.a));Ot=M([U],Ot);var It=Ot,Rt=It,Nt=oe(Rt,Yt,Pt,!1,null,null,null),Ft=Nt.exports,jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-load-error-container"},[n("div",{staticClass:"load-error-content"},[n("svgicon",{staticClass:"dcs-player-load-error-icon",attrs:{name:"dcs-player-load-error",width:"158",height:"168"}}),n("span",{staticClass:"error-tips",attrs:{title:e.value}},[e._v(e._s(e.value))])],1)])},Bt=[],Ht=(n("9ff9"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(s.a));M([Q({default:""})],Ht.prototype,"value",void 0),Ht=M([U],Ht);var Wt=Ht,zt=Wt,Ut=oe(zt,jt,Bt,!1,null,null,null),Vt=Ut.exports,Gt=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.isInstall=!0,e.isConnect=!0,e.livePlayer=null,e.cellCount=0,e.selectIndex=0,e.dropIndex=-1,e.loadErrorMsg="",e.tips="",e}return p(n,[{key:"maxCellCount",get:function(){return ee}},{key:"showWindowSelect",get:function(){return this.isInstall&&this.isConnect&&!this.loadErrorMsg}},{key:"cellCountChange",value:function(e){for(var t=0;t<e-1;t++){var n=this.$refs["SinglePlayer_".concat(t)][0];n.resumeStream()}for(var r=e;r<this.maxCellCount;r++){var i=this.$refs["SinglePlayer_".concat(r)][0];i.pauseStream()}}},{key:"getSinglePlayer",value:function(e){var t=this.$refs["SinglePlayer_".concat(e)][0];return t}},{key:"isMainUrl",value:function(e,t){var n=this.layoutRule.cellCount;return e*t/n>=1/4}},{key:"selectIndexChangeHandel",value:function(e){if(e!==this.selectIndex){this.selectIndex=e;var t=this.$refs["SinglePlayer_".concat(e)][0],n=t.getPlayerInfo().liveStreamInfo;this.$emit("winOpChange",{index:e,id:n?n.id:void 0,state:"select"})}}},{key:"cellCountChangeHandel",value:function(e){this.cellCount=e}},{key:"getFreeWindow",value:function(){for(var e=this.selectIndex,t=-1,n=0;n<this.cellCount;n++){var r=this.$refs["SinglePlayer_".concat(e)][0],i=r.isFree();if(i){t=e;break}e=(e+1)%this.cellCount}return t}},{key:"initPlayer",value:function(){var e=this;lt.a.create().then((function(t){e.isInstall=!0,e.livePlayer=t,e.$nextTick((function(){e.$emit("load",{code:"OK",no:0})})),e.livePlayer.onClose((function(){e.isConnect=!1}))})).catch((function(t){var n=t.code,r=t.no;e.$emit("load",{code:n,no:r}),"SERVICE_CONNECT_FAILED"===n||"SERVICE_NEED_UPGRADE"===n?(e.isInstall=!1,e.tips=ne[n]):e.loadErrorMsg=ne[n]?ne[n]:JSON.stringify(t)}))}},{key:"onDropHandel",value:function(e,t){var n=e.dataTransfer&&e.dataTransfer.getData("liveStreamInfo"),r=n&&JSON.parse(n);if(r&&r.index>=0){var i=r.index,a=r.liveStreamInfo;if(a&&i!==t){var o=this.$refs["SinglePlayer_".concat(i)][0],s=this.$refs["SinglePlayer_".concat(t)][0],l=o.getPlayerInfo(),c=l.canvasDom,u=l.player,d=l.speed,h=l.status,f=l.errorText,p=l.channelNo,m=l.ptzEnable,y=l.recordStatus,v=l.isMainUrl,g=l.recordFileName,_=l.canvas,w=l.extendLayerShow,b=l.extendLayerType,A=s.getPlayerInfo(),k=A.canvasDom,M=A.liveStreamInfo,x=A.player,S=A.speed,L=A.status,T=A.errorText,D=A.channelNo,E=A.ptzEnable,C=A.recordStatus,Y=A.isMainUrl,P=A.recordFileName,O=A.canvas,I=A.extendLayerShow,R=A.extendLayerType;o.setPlayerInfo(k,x,S,L,T,M,D,E,C,Y,P,O,I,R),s.setPlayerInfo(c,u,d,h,f,a,p,m,y,v,g,_,w,b);var N=this.$refs.playerLayout;N.changeSelectCell(Number(t)),this.$emit("windowExchange",[{index:t,type:"drop",id:M?M.id:void 0},{index:i,type:"drag",id:a?a.id:void 0}])}}else if(r){this.openStream(t,r);var F=this.$refs.playerLayout;F.changeSelectCell(Number(t))}}},{key:"dragenterHandel",value:function(e,t){var n=this.$refs.playerLayout;n.changeSelectCell(Number(t))}},{key:"singlePlayerCloseHandel",value:function(e){this.$emit("winOpChange",e)}},{key:"singlePlayerRecordHandel",value:function(e){this.$emit("record",e)}},{key:"singlePlayerStreamChangeHandel",value:function(e){this.$emit("streamStatusChange",e)}},{key:"onSingleFrameRender",value:function(e){this.$emit("frameRender",e)}},{key:"onContextmenu",value:function(e){e.preventDefault()}},{key:"onMaxWindowCount",value:function(){throw{code:"MAX_WINDOW_COUNT",no:0}}},{key:"openStream",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=-1,-2!==t){e.next=5;break}r=this.getFreeWindow(),e.next=12;break;case 5:if(-1!==t){e.next=9;break}r=this.selectIndex,e.next=12;break;case 9:if(!(t>=this.cellCount)){e.next=11;break}throw{code:"MAX_WINDOW_COUNT",no:0};case 11:r=t;case 12:if(-1!==r){e.next=14;break}throw{code:"NO_FREE_WINDOW",no:0};case 14:return i=this.$refs["SinglePlayer_".concat(r)][0],e.next=17,i.openStream(n);case 17:return e.abrupt("return",r);case 18:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t>=this.cellCount)){e.next=2;break}throw{code:"MAX_WINDOW_COUNT",no:0};case 2:return n=t,-1===t&&(n=this.selectIndex),r=this.$refs["SinglePlayer_".concat(n)][0],e.next=7,r.snapshot();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"closeStreams",value:function(e){var t=this,n=[];if(e)n=e;else for(var r=0;r<this.maxCellCount;r++)n.push(r);n.forEach((function(e){var n=t.$refs["SinglePlayer_".concat(e)][0];n.closeChannel()}))}},{key:"showFullscreen",value:function(){var e=this.$refs["dcs-live-player-container"];return ut.showFullscreen(e)}},{key:"getStreamInfo",value:function(e){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var t=e;-1===e&&(t=this.selectIndex);var n=this.$refs["SinglePlayer_".concat(t)][0];return n.getStreamInfo()}},{key:"startRecord",value:function(e,t,n){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var r=e;-1===e&&(r=this.selectIndex);var i=this.$refs["SinglePlayer_".concat(r)][0];return i.videoRecordHandel(t,n)}},{key:"stopRecord",value:function(e){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var t=e;-1===e&&(t=this.selectIndex);var n=this.$refs["SinglePlayer_".concat(t)][0];return n.videoRecordHandel(),!0}},{key:"selectWindow",value:function(e){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var t=e;-1===e&&(t=this.selectIndex);var n=this.$refs.playerLayout;n.changeSelectCell(Number(t))}},{key:"setVolume",value:function(e,t){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var n=this.$refs["SinglePlayer_".concat(e)][0];n.setVolume(t)}},{key:"ptzControl",value:function(e,t,n){if(e>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var r=e;-1===e&&(r=this.selectIndex);var i=this.$refs["SinglePlayer_".concat(r)][0];return i.ptzControl(t,n)}},{key:"swapWindow",value:function(e,t){if(e>=this.cellCount||t>=this.cellCount)return{code:"MAX_WINDOW_COUNT",no:0};var n=this.$refs["SinglePlayer_".concat(e)][0],r=this.$refs["SinglePlayer_".concat(t)][0],i=n.getPlayerInfo(),a=i.canvasDom,o=i.liveStreamInfo,s=i.player,l=i.speed,c=i.status,u=i.errorText,d=i.channelNo,h=i.ptzEnable,f=i.recordStatus,p=i.isMainUrl,m=i.recordFileName,y=i.canvas,v=i.extendLayerShow,g=i.extendLayerType,_=r.getPlayerInfo(),w=_.canvasDom,b=_.liveStreamInfo,A=_.player,k=_.speed,M=_.status,x=_.errorText,S=_.channelNo,L=_.ptzEnable,T=_.recordStatus,D=_.isMainUrl,E=_.recordFileName,C=_.canvas,Y=_.extendLayerShow,P=_.extendLayerType;return n.setPlayerInfo(w,A,k,M,x,b,S,L,T,D,E,C,Y,P),r.setPlayerInfo(a,s,l,c,u,o,d,h,f,p,m,y,v,g),this.$emit("windowExchange",[{index:t,type:"drop",id:b?b.id:void 0},{index:e,type:"drag",id:o?o.id:void 0}]),!0}},{key:"listCamera",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.livePlayer){e.next=4;break}return e.next=3,this.livePlayer.listCamera(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getAllStreamInfo",value:function(){for(var e=[],t=0;t<this.cellCount;t++){var n=this.$refs["SinglePlayer_".concat(t)][0],r=n.getPlayerInfo(),i=r.liveStreamInfo;i&&e.push({liveStreamInfo:i,index:t})}return e}},{key:"switchWindowFullScreen",value:function(e){var t=this.$refs["SinglePlayer_".concat(e)][0];return!!t&&t.switchWindowFullScreen()}},{key:"openCustomLayer",value:function(e,t){var n=this.getSinglePlayer(e);n.changeExtendLayerShow(!0,t)}},{key:"closeCustomLayer",value:function(e){var t=this.getSinglePlayer(e);t.changeExtendLayerShow(!1)}},{key:"setConfig",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.livePlayer){e.next=4;break}this.livePlayer.setting(t),e.next=5;break;case 4:throw{code:"PLUGIN_NOT_INIT",no:0};case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"mounted",value:function(){this.initPlayer()}},{key:"beforeDestroy",value:function(){this.livePlayer&&this.livePlayer.destroy()}}]),n}(s.a);M([Q({default:function(){return{cellCount:16,rules:[{row:2,col:1,mergeSpan:2},{row:2,col:3,mergeSpan:2}]}}})],Gt.prototype,"layoutRule",void 0),M([Q({default:2})],Gt.prototype,"cellPadding",void 0),M([Q({default:function(){return["ptz","record","snap","volume","fullScreen"]}})],Gt.prototype,"boolButtons",void 0),M([Q({default:"light"})],Gt.prototype,"themeType",void 0),M([J("cellCount")],Gt.prototype,"cellCountChange",null),Gt=M([U({components:{PlayerLayout:le,SinglePlayer:Mt,InstallationInspection:Ct,ReconnectTips:Ft,PlayerLoadError:Vt}})],Gt);var Qt=Gt,Jt=Qt,qt=oe(Jt,l,c,!1,null,null,null),Kt=qt.exports,Xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dcs-vod-player",class:{"dcs-vod-player":!0,"dcs-vod-player-light":"light"===e.themeType,"dcs-vod-player-dark":"dark"===e.themeType},on:{contextmenu:e.onContextmenu}},[n("div",{staticClass:"dcs-vod-player-content"},[n("PlayerLayout",{ref:"playerLayout",attrs:{cellPadding:e.cellPadding,layoutRule:e.layoutRule},on:{cellCountChange:e.cellCountChangeHandel,selectIndexChange:e.selectIndexChangeHandel,maxWindowCount:e.onMaxWindowCount}},[e._l(e.maxCellCount,(function(t,r){return n("template",{slot:r},[n("div",{key:r,staticClass:"layout-item-drop",on:{dragenter:function(t){e.dragenterHandel(t,r)},drop:function(t){e.onDropHandel(t,r)},dragover:function(e){e.preventDefault&&e.preventDefault()}}},[n("SinglePlayer",{key:r,ref:"vodSinglePlayer_"+r,refInFor:!0,attrs:{index:r,playerManager:e.vodPlayerManager},on:{render:e.onRenderHandel,playerStatusChange:e.onPlayerStatusChange,singlePlayerStreamChange:e.onSinglePlayerStreamChange,closeSinglePlayer:e.onCloseSinglePlayer},scopedSlots:e._u([{key:"extendlayer",fn:function(){return[e._t("customlayer"+r,null,{player:e.getSinglePlayer(r)})]},proxy:!0}],null,!0)})],1)])}))],2)],1),e.isInstall?n("div",{staticClass:"dcs-vod-player-footer"},[e.playerToolBarsMap&&e.playerToolBarsMap[e.selectIndex]?e._e():n("VodPlayerFooterBar",{attrs:{themeType:e.themeType},on:{fullScreenOp:e.onFullScreenOp}}),e._l(e.playerToolBarsMap,(function(t,r){return n("VodPlayerFooterBar",{directives:[{name:"show",rawName:"v-show",value:Number(r)===e.selectIndex&&t,expression:"Number(windowIndex) === selectIndex && vodStreamInfo"}],key:r,ref:"vodSinglePlayerTool_"+r,refInFor:!0,attrs:{themeType:e.themeType,toolbarInfo:t,player:e.getSinglePlayer(r),playerCore:e.vodPlayerManager,renderTime:e.getWindowRenderTime(r)?e.getWindowRenderTime(r):-1,windowIndex:Number(r)},on:{playPlay:e.onPlayPlay,pausePlay:e.onPausePlay,stopPlayer:e.onStopPlayer,dragTimeChange:e.onDragTimeChange,rewindChange:e.onRewindChange,playSpeedChange:e.onPlaySpeedChange,snap:e.onSnapHandel,fullScreenOp:e.onFullScreenOp,closeAll:e.onCloseAll,singleFrame:e.onSingleFrame,volumeChange:e.onVolumeChange},scopedSlots:e._u([{key:"toolbarextend",fn:function(){return[e._t("extendsfuncbar",null,{windowIndex:r})]},proxy:!0}],null,!0)})}))],2):e._e(),n("InstallationInspection",{attrs:{isInstall:e.isInstall,tips:e.tips}}),e.isConnect?e._e():n("ReconnectTips"),e.loadErrorMsg?n("PlayerLoadError",{attrs:{value:e.loadErrorMsg}}):e._e()],1)},Zt=[],$t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"vod-single-player-container",staticClass:"vod-single-player-container"},[e.vodStreamInfo?n("SinglePlayerTitle",{attrs:{speed:e.speed,name:e.vodStreamInfo.name,status:e.status,multiple:e.playSpeed,closeChannel:e.closePlayer}}):e._e(),n("CustomDrag",{key:e.index,staticClass:"single-player-drag",attrs:{data:{vodStreamInfo:e.vodStreamInfo,index:e.index},playerCanvas:e.canvas}},[e.vodStreamInfo?e._e():n("svgicon",{staticClass:"dcs-camera-icon",attrs:{name:"dcs-camera",width:"88",height:"88"}}),n("div",{ref:"vod-single-player-canvas-parent",staticClass:"vod-single-player-canvas-parent"},[n("canvas",{ref:"vodSinglePlayer",staticClass:"vod-single-player-canvas"})])],1),!e.vodStreamInfo||3!==e.status&&4!==e.status&&5!==e.status?e._e():n("WaitPlay",{on:{play:e.rePlayPlayer}}),e.vodStreamInfo&&0===e.status?n("PlayerLoading",{staticClass:"player-loading-icon"}):e._e(),e.vodStreamInfo&&2===e.status?n("LoadError",{attrs:{value:e.errorText}}):e._e(),e.extendLayerShow?n("div",{staticClass:"custom-layer-container",style:{pointerEvents:"cover"===e.extendLayerType?"auto":"none"}},[e._t("extendlayer")],2):e._e()],1)},en=[],tn=(n("bc25"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vod-player-title-container"},[n("div",{staticClass:"player-status"},[n("span",{staticClass:"player-status-icon",style:{background:1===e.status?"#87ff4f":"#d81e06"}})]),n("div",{staticClass:"player-name"},[e._v(" "+e._s(e.name)+" ")]),n("div",{staticClass:"player-right-info"},[n("div",{staticClass:"player-close"},[n("svgicon",{staticClass:"dcs-close-player-icon",attrs:{name:"dcs-close-player",width:"10",height:"10"},on:{click:function(t){return e.closeChannel()}}})],1),n("div",{staticClass:"player-speed"},[e._v(" "+e._s(e.speed)+" ")])])])}),nn=[],rn=(n("be18"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(s.a));M([Q({default:""})],rn.prototype,"name",void 0),M([Q({default:234})],rn.prototype,"speed",void 0),M([Q({default:1})],rn.prototype,"status",void 0),M([Q({default:"x1.0"})],rn.prototype,"multiple",void 0),M([Q({default:function(){return 1}})],rn.prototype,"closeChannel",void 0),rn=M([U],rn);var an=rn,on=an,sn=oe(on,tn,nn,!1,null,null,null),ln=sn.exports,cn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wait-play-container"},[n("svgicon",{staticClass:"dcs-wait-play-icon",attrs:{name:"dcs-wait-play",width:"88",height:"88"},on:{click:e.onclickHandel}})],1)},un=[],dn=function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"onclickHandel",value:function(){this.$emit("play")}}]),n}(s.a);dn=M([U],dn);var hn=dn,fn=hn,pn=(n("f342"),oe(fn,cn,un,!1,null,null,null)),mn=pn.exports,yn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"custom-drag-container":!0},attrs:{draggable:!!e.data.vodStreamInfo},on:{dragstart:e.onDragStart}},[e._t("default")],2)},vn=[],gn=function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"onDragStart",value:function(e){var t=document.createElement("canvas");t.style.position="absolute",t.style.zIndex="-200",t.style.left="0px",t.style.top="0px";var n=t.getContext("2d");if(document.body.appendChild(t),setTimeout((function(){document.body.removeChild(t)}),300),e&&e.dataTransfer&&n&&this.playerCanvas){var r=this.playerCanvas,i=r.width,a=r.height,o=.8*i,s=.8*a;if(o>300||s>300){var l=Math.min(300/o,300/s);o*=l,s*=l}t.width=o,t.height=s,this.playerCanvas&&n.drawImage(this.playerCanvas,0,0,o,s);var c=this.data,u=c.vodStreamInfo,d=c.index;e.dataTransfer.setData("vodStreamInfo",JSON.stringify({vodStreamInfo:u,index:d})),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",e.dataTransfer.setDragImage(n.canvas,o/2,s/2)}}}]),n}(s.a);M([Q({default:function(){return{vodStreamInfo:null,index:-1}}})],gn.prototype,"data",void 0),M([Q({default:null})],gn.prototype,"playerCanvas",void 0),gn=M([U],gn);var _n=gn,wn=_n,bn=(n("ebec"),oe(wn,yn,vn,!1,null,null,null)),An=bn.exports,kn="YYYY-MM-DD HH:mm:ss",Mn=864e5,xn=2592e3,Sn=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.vodStreamInfo=null,e.speed="0KB/s",e.status=X.WAIT_OPEN,e.errorText="",e.channelNo=-1,e.canvas=null,e.player=null,e.pos=0,e.renderTime=0,e.direction=1,e.playSpeed=1,e.playerStatus="",e.isPlaySuccess=!1,e.extendLayerShow=!1,e.extendLayerType="cover",e}return p(n,[{key:"setCanvas",value:function(){this.canvas=this.$refs.vodSinglePlayer}},{key:"onNetSpeedHandel",value:function(e){this.speed=e>=1048576?"".concat(Math.trunc(e/1048576*100)/100," MB/s"):"".concat(Math.trunc(e/1024*100)/100," KB/s")}},{key:"onStreamStatusHandel",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n,r){var i,a,o,s,l,c,u,d,h,f,p;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=null===(i=this.vodStreamInfo)||void 0===i?void 0:i.id,o=this.index,t!==q.STATUS_CONNECTING){e.next=6;break}this.status=X.OPENING,e.next=39;break;case 6:if(t!==q.STATUS_CONNECTED){e.next=10;break}this.status=X.OPENED,e.next=39;break;case 10:if(t!==q.STATUS_DISCONNECTED){e.next=16;break}this.status=X.OPEN_ERROR,this.errorText="".concat(te[K[n]],"(").concat(r,")"),0!==this.renderTime&&(this.pos=this.renderTime),e.next=39;break;case 16:if(t!==q.STATUS_FINISHED){e.next=39;break}if(this.status=X.WAIT_OPEN,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}),0!==this.renderTime&&(this.pos=this.renderTime),!(this.direction>0&&this.vodStreamInfo&&this.playerManager)){e.next=39;break}if(s=this.vodStreamInfo.url,l=ht()(this.vodStreamInfo.endTime).isAfter(ht()())?ht()().unix():ht()(this.vodStreamInfo.endTime).unix(),!(Math.abs(l-this.pos/1e3)<=5)){e.next=26;break}return e.abrupt("return");case 26:c=ut.splitTimeRangeToArray(xn,this.pos/1e3,l),u=0;case 28:if(!(u<c.length)){e.next=39;break}return d=c[u],h=d.startTime,f=d.endTime,e.next=32,this.playerManager.firstRecord(s,ht()(1e3*h).format(kn),ht()(1e3*f).format("YYYY-MM-DD 23:59:59")).catch((function(e){console.log(e)}));case 32:if(p=e.sent,!(p&&p.end-p.start>=5)){e.next=36;break}return this.openDevice(this.vodStreamInfo),e.abrupt("break",39);case 36:u++,e.next=28;break;case 39:this.$emit("singlePlayerStreamChange",{id:a,index:o,status:t,code:n,no:r});case 40:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"onRenderHandel",value:function(e,t,n){var r;this.renderTime=e,this.$emit("render",{time:e,width:t,height:n,widthIndex:this.index,id:null===(r=this.vodStreamInfo)||void 0===r?void 0:r.id})}},{key:"closePlayer",value:function(){var e;this.$emit("closeSinglePlayer",{index:this.index,id:null===(e=this.vodStreamInfo)||void 0===e?void 0:e.id,state:"close"}),this.clearPlayer()}},{key:"copyImage",value:function(e,t){this.player&&this.player.copyImage(e,t)}},{key:"getSinglePlayerInfo",value:function(){var e=this.$refs["vod-single-player-canvas-parent"],t=e.firstChild,n=this.vodStreamInfo,r=this.player,i=this.speed,a=this.status,o=this.errorText,s=this.channelNo,l=this.pos,c=this.renderTime,u=this.direction,d=this.playSpeed,h=this.playerStatus,f=this.isPlaySuccess,p=this.canvas,m=this.extendLayerShow;return{canvasDom:t,vodStreamInfo:JSON.parse(JSON.stringify(n)),player:r,speed:i,status:a,errorText:o,channelNo:s,pos:l,renderTime:c,direction:u,playSpeed:d,playerStatus:h,isPlaySuccess:f,canvas:p,extendLayerShow:m}}},{key:"setSinglePlayerInfo",value:function(e){var t=this,n=e.canvasDom,r=e.vodStreamInfo,i=e.player,a=e.speed,o=e.status,s=e.errorText,l=e.channelNo,c=e.pos,u=e.renderTime,d=e.direction,h=e.playSpeed,f=e.playerStatus,p=e.isPlaySuccess,m=e.canvas,y=this.$refs["vod-single-player-canvas-parent"],v=y.firstChild;v?y.replaceChild(n,v):y.appendChild(n),this.vodStreamInfo=r,this.player=i,this.speed=a,this.status=o,this.errorText=s,this.channelNo=l,this.pos=c,this.renderTime=u,this.direction=d,this.playSpeed=h,this.playerStatus=f,this.isPlaySuccess=p,this.canvas=m,this.player&&(this.player.onNetSpeed((function(e){t.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel))}},{key:"isFree",value:function(){return!this.vodStreamInfo}},{key:"openDevice",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i,a,o,s,l,c,u,d,h,f,p,m,y,v,g,_,w,b,A,k,M,x,S,L,T,D,E,C,Y=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,!this.canvas||!this.playerManager){e.next=104;break}if(this.vodStreamInfo=t,this.player){e.next=11;break}return e.next=6,this.playerManager.setupChannel(this.channelNo,st["ChannelType"].Vod,this.canvas);case 6:n=e.sent,this.player=n,this.player.onNetSpeed((function(e){Y.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel);case 11:if(r=t.url,i=t.startTime,a=t.endTime,o=t.viewType,s=this.direction,l=this.playSpeed,c=this.pos,this.status=X.OPENING,!(1e3*ht()().unix()<c)){e.next=17;break}throw this.player.pause(),{code:"TIME_ERROR",no:"超过当前时间限制"};case 17:if(!(s>0)){e.next=73;break}if(u="",d="",u=0===c?i:ht()(c).format(kn),d=ht()().unix()>ht()(a).unix()?a:ht()().format(kn),!(ht()(d).unix()-ht()(u).unix()<=86400)){e.next=28;break}return e.next=25,this.player.open(r,{startTime:u,endTime:d,direction:s});case 25:this.isPlaySuccess=!0,e.next=71;break;case 28:return h=ht()(1e3*ht()(u).unix()+Mn),e.next=31,this.playerManager.firstRecord(r,u,h.isAfter(ht()(d))?ht()(d).format(kn):h.format(kn)).catch((function(e){console.log(e)}));case 31:if(f=e.sent,!f){e.next=40;break}return p=1e3*f.start,m=p+Mn,e.next=37,this.player.open(r,{startTime:ht()(p).format(kn),endTime:ht()(m).isAfter(ht()(d))?ht()(d).format(kn):ht()(m).format(kn),direction:s});case 37:this.isPlaySuccess=!0,e.next=71;break;case 40:y=ut.splitTimeRangeToArray(xn,ht()(u).unix(),ht()(d).unix()),v=0,g=0;case 43:if(!(g<y.length)){e.next=55;break}if(_=y[g],w=_.startTime,b=_.endTime,!w||!b){e.next=52;break}return e.next=48,this.playerManager.firstRecord(r,ht()(1e3*w).format(kn),ht()(1e3*b).format("YYYY-MM-DD 23:59:59")).catch((function(e){console.log(e)}));case 48:if(A=e.sent,!A){e.next=52;break}return v=1e3*A.start,e.abrupt("break",55);case 52:g++,e.next=43;break;case 55:if(0!==v){e.next=67;break}if(!this.isPlaySuccess){e.next=64;break}return this.status=X.WAIT_OPEN,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}),0!==this.renderTime&&(this.pos=this.renderTime),e.abrupt("return");case 64:throw{code:"SETUP_STREAM_FAILED",no:-241};case 65:e.next=71;break;case 67:return k=v+Mn,e.next=70,this.player.open(r,{startTime:ht()(v).format(kn),endTime:ht()(k).isAfter(ht()(d))?ht()(d).format(kn):ht()(k).format(kn),direction:s});case 70:this.isPlaySuccess=!0;case 71:e.next=98;break;case 73:return M="",x="",M=ht()(c).isAfter(ht()())?ht()().format(kn):ht()(this.pos).format(kn),S=ht()(1e3*ht()(M).unix()-Mn),x=ht()(i).isAfter(S)?i:S.format(kn),e.next=80,this.playerManager.queryRecords(r,ht()(x).format(kn),ht()(M).format(kn));case 80:if(L=e.sent,0!==L.length){e.next=93;break}if(!this.isPlaySuccess){e.next=90;break}return this.status=X.WAIT_OPEN,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}),0!==this.renderTime&&(this.pos=this.renderTime),e.abrupt("return");case 90:throw{code:"SETUP_STREAM_FAILED",no:-241};case 91:e.next=98;break;case 93:return T=1e3*L[L.length-1].end,D=T-Mn,e.next=97,this.player.open(r,{startTime:ht()(D).isAfter(ht()(x))?ht()(D).format(kn):ht()(x).format(kn),endTime:ht()(T).format(kn),direction:s});case 97:this.isPlaySuccess=!0;case 98:return e.next=100,this.player.changeSpeed(Number(l));case 100:void 0!==o&&this.player.setViewType(o),this.pos=0,this.playerStatus="play",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"play"});case 104:e.next=114;break;case 106:throw e.prev=106,e.t0=e["catch"](0),E=e.t0.code,C=e.t0.no,this.errorText=ne[E]?"".concat(ne[E],"(").concat(-20040===C?"未查询到录像":C,")"):JSON.stringify(e.t0),this.status=X.OPEN_ERROR,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}),e.t0;case 114:case"end":return e.stop()}}),e,this,[[0,106]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"waitOpenDevice",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,!this.canvas||!this.playerManager){e.next=14;break}if(this.vodStreamInfo=t,this.player){e.next=11;break}return e.next=6,this.playerManager.setupChannel(this.channelNo,st["ChannelType"].Vod,this.canvas);case 6:n=e.sent,this.player=n,this.player.onNetSpeed((function(e){a.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel);case 11:this.status=X.WAIT_OPEN,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"});case 14:e.next=24;break;case 16:throw e.prev=16,e.t0=e["catch"](0),r=e.t0.code,i=e.t0.no,this.errorText=ne[r]?"".concat(ne[r],"(").concat(-20040===i?"未查询到录像":i,")"):JSON.stringify(e.t0),this.status=X.OPEN_ERROR,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}),e.t0;case 24:case"end":return e.stop()}}),e,this,[[0,16]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"rePlayPlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,this.status!==X.WAIT_OPEN&&this.status!==X.STOP&&this.status!==X.OPEN_ERROR||!this.vodStreamInfo){e.next=6;break}return e.next=4,this.openDevice(this.vodStreamInfo);case 4:e.next=17;break;case 6:if(this.status!==X.PAUSE_OPEN&&this.status!==X.SINGLEFRAME||!this.vodStreamInfo||!this.player){e.next=17;break}if(0===this.pos){e.next=12;break}return e.next=10,this.openDevice(this.vodStreamInfo);case 10:e.next=15;break;case 12:return e.next=14,this.player.resume();case 14:this.status=X.OPENED;case 15:this.playerStatus="play",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"play"});case 17:e.next=26;break;case 19:e.prev=19,e.t0=e["catch"](0),t=e.t0.code,n=e.t0.no,this.errorText=ne[t]?"".concat(ne[t],"(").concat(-20040===n?"未查询到录像":n,")"):JSON.stringify(e.t0),this.status=X.OPEN_ERROR,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"});case 26:case"end":return e.stop()}}),e,this,[[0,19]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"pausePlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.player&&(this.player.pause(),this.status=X.PAUSE_OPEN,this.playerStatus="pause",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"pause"}));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"stopPlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.player&&(0!==this.renderTime&&(this.pos=this.renderTime),this.player.stop(),this.status=X.STOP,this.playerStatus="stop",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"stop"}));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"jumpTime",value:function(e){this.status===X.PAUSE_OPEN||this.status===X.STOP||this.status===X.WAIT_OPEN?this.pos=1e3*e:this.status!==X.OPENED&&this.status!==X.OPEN_ERROR&&this.status!==X.OPENING||(this.pos=1e3*e,this.vodStreamInfo&&this.openDevice(this.vodStreamInfo))}},{key:"getChannelNo",value:function(){return this.channelNo}},{key:"setDirection",value:function(e){this.direction=e}},{key:"setPlaySpeed",value:function(e){this.player&&(this.player.changeSpeed(Number(e)),this.playSpeed=e)}},{key:"clearPlayer",value:function(){this.stopPlayer(),this.playerManager&&this.playerManager.releaseChannel(this.channelNo),this.vodStreamInfo=null,this.player=null,this.speed="0KB",this.status=X.WAIT_OPEN,this.errorText="",this.pos=0,this.renderTime=0,this.direction=1,this.playSpeed=1,this.extendLayerShow=!1,this.extendLayerType="cover"}},{key:"getPos",value:function(){return this.renderTime}},{key:"setPos",value:function(e){this.pos=e}},{key:"singleFramePlay",value:function(){this.player&&(this.player.stepFrame(),this.status=X.SINGLEFRAME,this.playerStatus="singleFrame",this.$emit("playerStatusChange",{windowIndex:this.index,playerStatus:"singleFrame"}))}},{key:"changePlayerFullScreen",value:function(){var e=this.$refs["vod-single-player-container"];return ut.toggleFullScreen(e)}},{key:"snapshotHandel",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.player){e.next=7;break}return e.next=3,this.player.snapshot();case 3:n=e.sent,r=URL.createObjectURL(n),i="".concat(null===(t=this.vodStreamInfo)||void 0===t?void 0:t.name,"-").concat(ht()().format("YYYYMMDD-HHmmss")),ut.downloadFile(i,r);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.player){e.next=7;break}return e.next=3,this.player.snapshot();case 3:return t=e.sent,e.abrupt("return",t);case 7:return e.abrupt("return",null);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setVolume",value:function(e){this.player&&this.player.setVolume(e)}},{key:"changeExtendLayerShow",value:function(e,t){this.extendLayerShow=e,t&&(this.extendLayerType=t)}},{key:"getStreamInfo",value:function(){if(!this.player)return{width:0,height:0};var e=this.player.getStreamWidth(),t=this.player.getStreamHeight();return{width:e,height:t}}},{key:"mounted",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.channelNo=this.index,this.setCanvas();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),n}(s.a);M([Q({default:null})],Sn.prototype,"playerManager",void 0),M([Q({default:-1})],Sn.prototype,"index",void 0),Sn=M([U({components:{SinglePlayerTitle:ln,PlayerLoading:$e,LoadError:ot,WaitPlay:mn,CustomDrag:An}})],Sn);var Ln=Sn,Tn=Ln,Dn=oe(Tn,$t,en,!1,null,null,null),En=Dn.exports,Cn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vod-player-footer-bar-container"},[n("div",{staticClass:"footer-left"},[n("div",{staticClass:"vod-player-tools"},[n("PlayerControlTools",{ref:"playerControlTools",attrs:{playStatus:e.playStatus,deviceExist:!!e.toolbarInfo},on:{play:e.playHandel,pause:e.pauseHandel,stopPlayer:e.stopPlayerHandel,rewindChange:e.onRewindChange,slowPlay:e.onSlowPlay,fastPlay:e.onFastPlay,singleFrame:e.onSingleFrame}},[e._t("toolbarextend")],2),n("SpeedControl",{ref:"speedControl",staticClass:"player-speed-control",attrs:{isOk:e.toolbarInfo&&"stop"!==e.playStatus},on:{playSpeedChange:e.onPlaySpeedChange}}),n("ZoomTool",{staticClass:"zoom-tool-control",on:{zoomChange:e.onZoomChange}})],1),n("div",{staticClass:"vod-player-time-bar"},[n("VodTimeline",{attrs:{timeScale:e.timeScale,themeType:e.themeType,timeInfo:e.timeInfo,playerCore:e.playerCore,deviceUrl:e.deviceUrl,renderTime:e.renderTime},on:{dragTime:e.onDragTime}})],1)]),n("div",{staticClass:"footer-right"},[n("VodPlayerTools",{attrs:{playStatus:e.playStatus,deviceExist:!!e.toolbarInfo},on:{snap:e.onSnapHandel,fullScreenOp:e.onFullScreenOp,closeAll:e.onCloseAll,volumeChange:e.onVolumeChange}})],1)])},Yn=[],Pn=(n("eefd"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-control-tools-container"},[e.rewind?n("div",{staticClass:"rewind-checkbox-button"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.rewindValue,expression:"rewindValue"}],staticClass:"rewind-checkbox",style:{cursor:"stop"===e.playStatus&&e.deviceExist?"pointer":"not-allowed"},attrs:{type:"checkbox",disabled:"stop"!==e.playStatus||!e.deviceExist},domProps:{checked:Array.isArray(e.rewindValue)?e._i(e.rewindValue,null)>-1:e.rewindValue},on:{change:[function(t){var n=e.rewindValue,r=t.target,i=!!r.checked;if(Array.isArray(n)){var a=null,o=e._i(n,a);r.checked?o<0&&(e.rewindValue=n.concat([a])):o>-1&&(e.rewindValue=n.slice(0,o).concat(n.slice(o+1)))}else e.rewindValue=i},e.rewindChangeHandel]}}),n("span",{staticClass:"rewind-tips"},[e._v("倒放")])]):e._e(),"play"===e.playStatus?n("i",{staticClass:"iconfont icondcs-pause",attrs:{title:"暂停"},on:{click:e.pauseHandel}}):n("i",{class:["iconfont","icondcs-play",e.deviceExist?"":"disable-icon"],attrs:{title:"播放"},on:{click:e.playHandel}}),n("i",{class:["iconfont","icondcs-rewind",e.deviceExist&&"stop"!==e.playStatus&&"singleFrame"!==e.playStatus?"":"disable-icon"],attrs:{title:"慢放"},on:{click:e.slowPlayHandel}}),n("i",{class:["iconfont","icondcs-stop",e.deviceExist?"":"disable-icon"],attrs:{title:"停止"},on:{click:e.stopHandel}}),n("i",{class:["iconfont","icondcs-fast-forward",e.deviceExist&&"stop"!==e.playStatus&&"singleFrame"!==e.playStatus?"":"disable-icon"],attrs:{title:"快放"},on:{click:e.fastPlay}}),n("i",{class:["iconfont","icondcs-single-frame",e.deviceExist&&"stop"!==e.playStatus?"":"disable-icon"],attrs:{title:"单帧播放(请勿狂点性能问题)"},on:{click:e.singleFrame}}),e._t("default")],2)}),On=[],In=(n("f940"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.rewindValue=!1,e}return p(n,[{key:"playHandel",value:function(){this.deviceExist&&this.$emit("play")}},{key:"pauseHandel",value:function(){this.deviceExist&&this.$emit("pause")}},{key:"stopHandel",value:function(){this.deviceExist&&this.$emit("stopPlayer")}},{key:"slowPlayHandel",value:function(){this.deviceExist&&"stop"!==this.playStatus&&"singleFrame"!==this.playStatus&&this.$emit("slowPlay")}},{key:"fastPlay",value:function(){this.deviceExist&&"stop"!==this.playStatus&&"singleFrame"!==this.playStatus&&this.$emit("fastPlay")}},{key:"rewindChangeHandel",value:function(){this.$emit("rewindChange",this.rewindValue)}},{key:"singleFrame",value:function(){this.deviceExist&&"stop"!==this.playStatus&&this.$emit("singleFrame")}},{key:"setRewindValue",value:function(e){this.rewindValue=e}}]),n}(s.a));M([Q({default:!0})],In.prototype,"rewind",void 0),M([Q({default:"stop"})],In.prototype,"playStatus",void 0),M([Q({default:!1})],In.prototype,"deviceExist",void 0),In=M([U],In);var Rn=In,Nn=Rn,Fn=oe(Nn,Pn,On,!1,null,null,null),jn=Fn.exports,Bn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"speed-container":!0,"speed-container-disabled":!e.isOk}},[n("span",{staticClass:"speed-str"},[e._v("X "+e._s(e.checkSpeed))]),n("div",{staticClass:"speed-list-panel"},e._l(e.speedData,(function(t){return n("div",{key:t,class:{"speed-list-item":!0,"speed-list-item-check":t===e.checkSpeed},on:{click:function(n){return e.checkSpeedHandel(t)}}},[e._v(" X "+e._s(t)+" ")])})),0)])},Hn=[],Wn=(n("c740"),n("c212"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.speedData=["0.25","0.5","1.0","2.0","4.0","8.0"],e.checkSpeed="1.0",e}return p(n,[{key:"checkSpeedHandel",value:function(e){this.checkSpeed=e,this.$emit("playSpeedChange",this.checkSpeed)}},{key:"setSpeedInit",value:function(e){this.checkSpeed=e}},{key:"changeSpeed",value:function(e){var t=this,n=this.speedData.findIndex((function(e){return e===t.checkSpeed}));"pre"===e?n>0&&this.checkSpeedHandel(this.speedData[n-1]):n>=0&&n!==this.speedData.length-1&&this.checkSpeedHandel(this.speedData[n+1])}}]),n}(s.a));M([Q({default:!1})],Wn.prototype,"isOk",void 0),Wn=M([U],Wn);var zn=Wn,Un=zn,Vn=oe(Un,Bn,Hn,!1,null,null,null),Gn=Vn.exports,Qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"zoom-tool-container"},[n("div",{staticClass:"zoom-str"},[e._v(" "+e._s(e.checkZoom)+"分钟 ")]),n("div",{staticClass:"zoom-list-pannel"},e._l(e.zoomData,(function(t){return n("div",{key:t,class:{"zoom-list-item":!0,"zoom-list-item-check":t===e.checkZoom},on:{click:function(n){return e.checkHandel(t)}}},[e._v(" "+e._s(t)+"分钟 ")])})),0)])},Jn=[],qn=(n("c710"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.zoomData=[1,10,30,60],e.checkZoom=60,e}return p(n,[{key:"checkHandel",value:function(e){this.checkZoom=e,this.$emit("zoomChange",e)}}]),n}(s.a));qn=M([U],qn);var Kn=qn,Xn=Kn,Zn=oe(Xn,Qn,Jn,!1,null,null,null),$n=Zn.exports,er=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"vod-time-line-container",staticClass:"vod-time-line-container",on:{mousedown:e.mouseDownHandel,mousemove:e.mouseMoveHandel,mouseleave:e.mouseLeaveHandel,mouseup:e.mouseUp}},[n("div",{staticClass:"vod-time-line-content"},[n("canvas",{ref:"timeRulesCanvas",staticClass:"time-rules-canvas",style:Object.assign({},{height:"30px"},e.timeRulesCanvasStyle),attrs:{height:30,width:e.timeRulesCanvasStyle.width}}),n("canvas",{ref:"recordCanvas",staticClass:"record-canvas",style:Object.assign({},{height:"8px"},e.recordCanvasStyle),attrs:{height:8,width:e.timeRulesCanvasStyle.width}})]),e._m(0),n("div",{staticClass:"current-time-str"},[e._v(" "+e._s(e.formatTime(new Date(1e3*e.curTime)))+" ")])])},tr=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"current-time-line"},[n("div",{staticClass:"current-time-top"}),n("div",{staticClass:"current-time-bottom"})])}];function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(n),!0).forEach((function(t){nr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function or(e,t){if(e){if("string"===typeof e)return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ar(e,t):void 0}}function sr(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=or(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n["return"]||n["return"]()}finally{if(s)throw a}}}}n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("dbb4"),n("e01a"),n("d28b"),n("fb6a"),n("a630"),n("383f"),n("a434");var lr=function(){function e(){h(this,e),this.records=[]}return p(e,[{key:"add",value:function(e){if(0===this.records.length)this.records.push(e);else{var t=this.indexRecord(e.startTime);t>=this.records.length?this.records.push(e):this.records[t].startTime>e.startTime?this.records.splice(t,0,e):this.records[t].endTime<=e.startTime?e.startTime>=this.records[t].startTime&&e.endTime<=this.records[t].endTime||t<this.records.length-1&&e.startTime===this.records[t+1].startTime&&e.endTime===this.records[t+1].endTime||this.records.splice(t+1,0,e):this.records[t].endTime<e.endTime&&(this.records[t].endTime=e.endTime)}}},{key:"merge",value:function(e,t){if(0!==this.records.length){var n=this.indexRecord(e);if(n>=this.records.length)this.records.push({startTime:e,endTime:t,type:0});else if(this.records[n].startTime>t)this.records.splice(n,0,{startTime:e,endTime:t,type:0});else if(this.records[n].startTime=Math.min(this.records[n].startTime,e),this.records[n].endTime<t){this.records[n].endTime=t,n+=1;while(n<this.records.length&&this.records[n].startTime<=t)this.records[n-1].endTime=Math.max(this.records[n].endTime,t),this.records.splice(n,1)}}else this.records.push({startTime:e,endTime:t,type:0})}},{key:"isInclude",value:function(e,t){if(0===this.records.length)return!1;if(t<=this.records[0].startTime)return!1;if(e>=this.records[this.records.length-1].endTime)return!1;var n=0,r=this.records.length-1;while(n<=r){var i=n+Math.floor((r-n)/2);if(t<this.records[i].startTime)r=i-1;else{if(!(e>this.records[i].endTime))return this.records[i].startTime<=e&&this.records[i].endTime>=t;n=i+1}}return!1}},{key:"clear",value:function(){this.records=[]}},{key:"range",value:function(e,t){if(0===this.records.length)return[];var n=this.indexRecord(e);if(n>=this.records.length)return[];var r=n;while(r<this.records.length){var i=this.records[r];if(i.endTime<e||i.startTime>t)break;r++}return this.records.slice(n,r)}},{key:"find",value:function(e){var t=this.indexRecord(e);return t>=0&&t<this.records.length&&this.records[t].startTime<=e?this.records[t]:null}},{key:"findNext",value:function(e){if(0===this.records.length)return null;var t=this.indexRecord(e);return t>=this.records.length?null:(this.records[t].endTime===e&&t++,t>=this.records.length?null:this.records[t])}},{key:"indexRecord",value:function(e){if(0===this.records.length)return 0;if(e<=this.records[0].startTime)return 0;if(e>this.records[this.records.length-1].endTime)return this.records.length;var t=0,n=this.records.length-1;while(t<=n){var r=t+Math.floor((n-t)/2);if(e<this.records[r].startTime)n=r-1;else{if(!(e>this.records[r].endTime))return r;t=r+1}}return t}}]),e}(),cr={dark:{lineFillStyle:"#fff",maxStrokeStyle:"#fff",minStrokeStyle:"#929292",recordFillStyle:"#666"},light:{lineFillStyle:"#5D5E6F",maxStrokeStyle:"#C1C6CE",minStrokeStyle:"#C1C6CE",recordFillStyle:"#E1E4F8"}},ur=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.timeRulesCanvas=null,e.timeRulesCtx=null,e.recordCanvas=null,e.recordCtx=null,e.timeRulesCanvasStyle={left:"0px",width:"0px"},e.recordCanvasStyle={left:"0px",width:"0px"},e.curTime=Math.floor(Date.now()/1e3),e.xOffset=0,e.startDrawTime=0,e.startDrawOffset=0,e.isDragging=!1,e.prevMouseX=0,e.startDragTime=0,e.recordCache=new lr,e.queryCache=new lr,e.resizeObserver=null,e.isSearching=!1,e}return p(n,[{key:"timeScaleChange",value:function(){this.resizeRender()}},{key:"timeInfoChange",value:function(){this.curTime=0,this.queryCache.records=[],this.recordCache.records=[],this.initCurTime(),this.resizeRender()}},{key:"renderTimeChange",value:function(e){-1===e||this.isDragging||(this.curTime=Math.ceil(e/1e3),this.resizeRender())}},{key:"deviceUrlChange",value:function(){this.queryCache.records=[],this.recordCache.records=[]}},{key:"initCanvas",value:function(){var e=this.$el.clientWidth;this.timeRulesCanvas=this.$refs.timeRulesCanvas,this.timeRulesCtx=this.timeRulesCanvas.getContext("2d"),this.recordCanvas=this.$refs.recordCanvas,this.recordCtx=this.recordCanvas.getContext("2d"),this.xOffset=-e/2}},{key:"initCurTime",value:function(){0!==this.timeInfo.initTime&&(this.curTime=this.timeInfo.initTime),this.curTime<this.timeInfo.minTime?this.curTime=this.timeInfo.minTime:this.timeInfo.maxTime>0&&this.curTime>this.timeInfo.maxTime&&(this.curTime=Math.floor((this.timeInfo.minTime+this.timeInfo.maxTime)/2)),this.renderTime&&-1!==this.renderTime&&(this.curTime=Math.ceil(this.renderTime/1e3))}},{key:"drawTimeRulesLine",value:function(){if(null!==this.timeRulesCanvas&&null!==this.timeRulesCtx){var e=this.$el,t=e.clientWidth,n=e.clientHeight;this.xOffset=-t/2,this.timeRulesCtx.clearRect(0,0,this.timeRulesCanvas.width,n);var r=this.curTime-this.curTime%this.timeScale,i=Math.floor(r-Math.floor(t)*this.timeScale),a=i,o=60*this.timeScale,s=10*this.timeScale,l=i%s;i-=l,a-=l,this.startDrawTime=i,this.startDrawOffset=-l/this.timeScale+.5;var c=new Date;this.timeRulesCtx.beginPath(),this.timeRulesCtx.fillStyle=cr[this.themeType].lineFillStyle,this.timeRulesCtx.font="10px Arial",this.timeRulesCtx.lineWidth=1;for(var u=this.startDrawOffset;u<=this.timeRulesCanvas.width;u+=10){if(i<this.timeInfo.minTime||this.timeInfo.maxTime>0&&i>this.timeInfo.maxTime);else if(i%o===0){this.timeRulesCtx.strokeStyle=cr[this.themeType].maxStrokeStyle,this.timeRulesCtx.moveTo(u,0),this.timeRulesCtx.lineTo(u,15),c.setTime(1e3*i);var d=ut.formatTime(c);this.timeRulesCtx.fillText(d,u-14,27)}i+=s}this.timeRulesCtx.closePath(),this.timeRulesCtx.stroke(),this.timeRulesCtx.beginPath(),this.timeRulesCtx.lineWidth=1;for(var h=this.startDrawOffset;h<=this.timeRulesCanvas.width;h+=10)a<this.timeInfo.minTime||this.timeInfo.maxTime>0&&a>this.timeInfo.maxTime||a%o===0||(this.timeRulesCtx.strokeStyle=cr[this.themeType].minStrokeStyle,this.timeRulesCtx.moveTo(h,0),this.timeRulesCtx.lineTo(h,8)),a+=s;this.timeRulesCtx.closePath(),this.timeRulesCtx.stroke();var f=Math.round(this.startDrawTime+this.timeScale*(this.timeRulesCanvas.width-this.startDrawOffset));if(!this.queryCache.isInclude(this.startDrawTime,f)){var p=this.timeScale*this.timeRulesCanvas.width;this.queryRecords(this.startDrawTime-p,f+p)}}}},{key:"drawRecordLine",value:function(){if(null!==this.recordCtx&&null!==this.recordCanvas){this.recordCanvas.style.left="".concat(this.xOffset,"px"),this.recordCtx.clearRect(0,0,this.recordCanvas.width,this.recordCanvas.height),this.recordCtx.fillStyle=cr[this.themeType].recordFillStyle,this.recordCtx.fillRect(0,0,this.recordCanvas.width,this.recordCanvas.height),this.recordCtx.fillStyle="#445EFF";var e,t=sr(this.recordCache.range(this.startDrawTime,this.startDrawTime+this.timeScale*this.recordCanvas.width));try{for(t.s();!(e=t.n()).done;){var n=e.value,r=Math.floor((n.startTime-this.startDrawTime)/this.timeScale),i=Math.round((n.endTime-this.startDrawTime)/this.timeScale);this.recordCtx.fillRect(r+this.startDrawOffset,0,i-r,8)}}catch(a){t.e(a)}finally{t.f()}}}},{key:"resizeRender",value:function(){var e=this,t=this.$el.clientWidth;this.timeRulesCanvasStyle={left:"".concat(-t/2,"px"),width:"".concat(2*t,"px")},this.recordCanvasStyle={left:"".concat(-t/2,"px"),width:"".concat(2*t,"px")},this.$nextTick((function(){e.drawTimeRulesLine(),e.drawRecordLine()}))}},{key:"pad",value:function(e){return e<10?"0".concat(e):"".concat(e)}},{key:"formatTime",value:function(e){var t=this.pad;return"".concat(t(e.getFullYear()),"-").concat(t(e.getMonth()+1),"-").concat(t(e.getDate())," ").concat(t(e.getHours()),":").concat(t(e.getMinutes()),":").concat(t(e.getSeconds()))}},{key:"mouseDownHandel",value:function(e){this.isDragging=!0,this.startDragTime=this.curTime,this.prevMouseX=e.screenX}},{key:"mouseMoveHandel",value:function(e){if(this.isDragging&&null!==this.timeRulesCanvas){var t=this.curTime%this.timeScale;0!==t&&(this.curTime-=t);var n=e.movementX;n||(n=e.screenX-this.prevMouseX),this.prevMouseX=e.screenX;var r=this.curTime-n*this.timeScale;r<this.timeInfo.minTime||this.timeInfo.maxTime>0&&r>this.timeInfo.maxTime||(this.xOffset+=n,this.curTime=r,this.xOffset>-10||this.xOffset<-(this.$el.clientWidth-10)?this.resizeRender():(this.timeRulesCanvasStyle=ir(ir({},this.timeRulesCanvasStyle),{},{left:"".concat(this.xOffset,"px")}),this.recordCanvasStyle=ir(ir({},this.recordCanvasStyle),{},{left:"".concat(this.xOffset,"px")})),this.$emit("onMove",this.curTime))}else this.prevMouseX=e.screenX}},{key:"mouseLeaveHandel",value:function(){this.isDragging&&this.mouseUp(),this.isDragging=!1}},{key:"mouseUp",value:function(){this.isDragging&&this.startDragTime!==this.curTime&&this.$emit("dragTime",this.curTime),this.isDragging=!1}},{key:"initResizeObserver",value:function(){var e=this;this.resizeObserver=new Me["a"]((function(){e.resizeRender()}));var t=document.querySelector(".vod-time-line-container");this.resizeObserver.observe(t)}},{key:"queryRecords",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n){var r,i,a,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.playerCore||!this.deviceUrl||this.isSearching){e.next=17;break}return this.isSearching=!0,r=ht()(1e3*t).format("YYYY-MM-DD HH:mm:ss"),i=ht()(1e3*n).format("YYYY-MM-DD HH:mm:ss"),e.prev=4,e.next=7,this.playerCore.queryRecords(this.deviceUrl,r,i);case 7:a=e.sent,this.isSearching=!1,a.forEach((function(e){var t={startTime:e.start,endTime:e.end,type:0};o.recordCache.add(t)})),this.queryCache.merge(t,n),this.drawRecordLine(),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](4),this.isSearching=!1;case 17:case"end":return e.stop()}}),e,this,[[4,14]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"mounted",value:function(){this.initCanvas(),this.initCurTime(),this.initResizeObserver()}},{key:"beforeDestroy",value:function(){this.resizeObserver&&this.resizeObserver.disconnect()}}]),n}(s.a);M([Q({default:30})],ur.prototype,"timeScale",void 0),M([Q({default:function(){return{minTime:0,maxTime:0,initTime:0}}})],ur.prototype,"timeInfo",void 0),M([Q({default:"default"})],ur.prototype,"themeType",void 0),M([Q({default:null})],ur.prototype,"playerCore",void 0),M([Q({default:""})],ur.prototype,"deviceUrl",void 0),M([Q({default:-1})],ur.prototype,"renderTime",void 0),M([J("timeScale")],ur.prototype,"timeScaleChange",null),M([J("timeInfo")],ur.prototype,"timeInfoChange",null),M([J("renderTime")],ur.prototype,"renderTimeChange",null),M([J("deviceUrl")],ur.prototype,"deviceUrlChange",null),ur=M([U],ur);var dr=ur,hr=dr,fr=oe(hr,er,tr,!1,null,null,null),pr=fr.exports,mr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vod-player-tools-container"},[n("svgicon",{class:{"tools-icon":!0,"disabled-icon":!e.deviceExist||"stop"===e.playStatus},attrs:{name:"dcs-snap",width:"35",height:"35",title:"抓拍"},on:{click:e.snapHandel}}),n("div",{staticClass:"tools-icon volume-container",attrs:{title:"音量控制"}},[n("VolumeControl",{staticClass:"vod-player-volume-control",on:{change:e.onVolumnChange}})],1),n("svgicon",{staticClass:"tools-icon",attrs:{name:"dcs-full-switch",width:"35",height:"35",title:"全屏切换"},on:{click:e.fullHandel}}),n("svgicon",{staticClass:"tools-icon",attrs:{name:"dcs-close",width:"35",height:"35",title:"关闭全部"},on:{click:e.closeAllHandel}})],1)},yr=[],vr=(n("8fce"),function(e){y(n,e);var t=k(n);function n(){return h(this,n),t.apply(this,arguments)}return p(n,[{key:"snapHandel",value:function(){this.deviceExist&&"stop"!==this.playStatus&&this.$emit("snap")}},{key:"fullHandel",value:function(){this.$emit("fullScreenOp")}},{key:"closeAllHandel",value:function(){this.$emit("closeAll")}},{key:"onVolumnChange",value:function(e){this.$emit("volumeChange",e)}}]),n}(s.a));M([Q({default:!1})],vr.prototype,"deviceExist",void 0),M([Q({default:"stop"})],vr.prototype,"playStatus",void 0),vr=M([U({components:{VolumeControl:He}})],vr);var gr=vr,_r=gr,wr=oe(_r,mr,yr,!1,null,null,null),br=wr.exports,Ar=function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.minTime=0,e.maxTime=0,e.initTime=0,e.timeInfo={minTime:0,maxTime:0,initTime:0},e.timeScale=60,e.deviceUrl="",e.playStatus="stop",e.id="",e.name="",e}return p(n,[{key:"toolbarInfoChange",value:function(e){if(e){var t=e.endTime,n=e.id,r=e.name,i=e.startTime,a=e.url,o=e.pos;this.setTimeInfo(i,t,o),this.deviceUrl=a,this.id=n,this.name=r}}},{key:"onZoomChange",value:function(e){this.timeScale=e}},{key:"setTimeInfo",value:function(e,t,n){var r={minTime:0,maxTime:0,initTime:0};e&&(r.minTime=ht()(e).unix(),r.initTime=ht()(e).unix()),t&&(r.maxTime=ht()(t).unix()),n&&(r.initTime=ht()(n).unix()),this.timeInfo=r}},{key:"playHandel",value:function(){this.$emit("playPlay",this.windowIndex)}},{key:"pauseHandel",value:function(){this.$emit("pausePlay",this.windowIndex)}},{key:"stopPlayerHandel",value:function(){this.$emit("stopPlayer",this.windowIndex)}},{key:"onDragTime",value:function(e){this.$emit("dragTimeChange",{windowIndex:this.windowIndex,time:e})}},{key:"setPlayStatus",value:function(e){this.playStatus=e}},{key:"onRewindChange",value:function(e){this.$emit("rewindChange",{windowIndex:this.windowIndex,rewind:e})}},{key:"onPlaySpeedChange",value:function(e){this.$emit("playSpeedChange",{windowIndex:this.windowIndex,speed:e})}},{key:"onSlowPlay",value:function(){this.$refs.speedControl.changeSpeed("pre")}},{key:"onFastPlay",value:function(){this.$refs.speedControl.changeSpeed("next")}},{key:"onSnapHandel",value:function(){this.$emit("snap",this.windowIndex)}},{key:"onFullScreenOp",value:function(){this.$emit("fullScreenOp")}},{key:"onCloseAll",value:function(){this.$emit("closeAll")}},{key:"onSingleFrame",value:function(){this.$emit("singleFrame",this.windowIndex)}},{key:"onVolumeChange",value:function(e){this.$emit("volumeChange",{value:e,windowIndex:this.windowIndex})}},{key:"setSpeedUnit",value:function(e){this.$refs.speedControl&&this.$refs.speedControl.setSpeedInit(e)}},{key:"resetToolsRewind",value:function(){this.$refs.playerControlTools.setRewindValue(!1)}},{key:"mounted",value:function(){if(this.toolbarInfo){var e=this.toolbarInfo,t=e.autoPlay,n=e.endTime,r=e.id,i=e.name,a=e.startTime,o=e.url,s=e.pos;this.setTimeInfo(a,n,s),this.deviceUrl=o,this.id=r,this.name=i,t&&(this.playStatus="play")}}}]),n}(s.a);M([Q({default:"light"})],Ar.prototype,"themeType",void 0),M([Q({default:function(){return null}})],Ar.prototype,"toolbarInfo",void 0),M([Q({default:null})],Ar.prototype,"playerCore",void 0),M([Q({default:null})],Ar.prototype,"player",void 0),M([Q({default:-1})],Ar.prototype,"renderTime",void 0),M([Q({default:0})],Ar.prototype,"windowIndex",void 0),M([J("toolbarInfo")],Ar.prototype,"toolbarInfoChange",null),Ar=M([U({components:{PlayerControlTools:jn,SpeedControl:Gn,ZoomTool:$n,VodTimeline:pr,VodPlayerTools:br}})],Ar);var kr=Ar,Mr=kr,xr=oe(Mr,Cn,Yn,!1,null,null,null),Sr=xr.exports,Lr=(n("f645"),n("6c72"),n("8ef6"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.isInstall=!0,e.isConnect=!0,e.loadErrorMsg="",e.vodPlayerManager=null,e.cellCount=0,e.selectIndex=0,e.playerToolBarsMap=null,e.renderTimeMap={},e.tips="",e}return p(n,[{key:"maxCellCount",get:function(){return ee}},{key:"getWindowRenderTime",value:function(e){return this.renderTimeMap[e]}},{key:"initPlayer",value:function(){var e=this;lt.a.create().then((function(t){e.isInstall=!0,e.vodPlayerManager=t,e.$nextTick((function(){e.$emit("load",{code:"OK",no:0})})),e.vodPlayerManager.onClose((function(){e.isConnect=!1}))})).catch((function(t){var n=t.code,r=t.no;e.$emit("load",{code:n,no:r}),"SERVICE_CONNECT_FAILED"===n||"SERVICE_NEED_UPGRADE"===n?(e.isInstall=!1,e.tips=ne[n]):e.loadErrorMsg=ne[n]?ne[n]:JSON.stringify(t)}))}},{key:"getSinglePlayer",value:function(e){var t=this.$refs["vodSinglePlayer_".concat(e)][0];return t}},{key:"getSinglePlayerTool",value:function(e){var t=this.$refs["vodSinglePlayerTool_".concat(e)];return t?t[0]:null}},{key:"getFreeWindow",value:function(){for(var e=this.selectIndex,t=-1,n=0;n<this.cellCount;n++){var r=this.getSinglePlayer(e),i=r.isFree();if(i){t=e;break}e=(e+1)%this.cellCount}return t}},{key:"cellCountChangeHandel",value:function(e){this.cellCount=e}},{key:"selectIndexChangeHandel",value:function(e){e!==this.selectIndex&&(this.selectIndex=e)}},{key:"setPlayerToolBarsMap",value:function(e,t){this.playerToolBarsMap||(this.playerToolBarsMap={});var n=JSON.parse(JSON.stringify(this.playerToolBarsMap));n[e]=t,this.playerToolBarsMap=n}},{key:"onPlayerStatusChange",value:function(e){var t=e.windowIndex,n=e.playerStatus,r=this.getSinglePlayerTool(t);r&&r.setPlayStatus(n),"stop"===n&&this.$emit("stop",{index:t,status:"stop"})}},{key:"onSinglePlayerStreamChange",value:function(e){this.$emit("streamStatusChange",e)}},{key:"onPlayPlay",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this.getSinglePlayer(t),e.next=3,n.rePlayPlayer();case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onPausePlay",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this.getSinglePlayer(t),e.next=3,n.pausePlayer();case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onStopPlayer",value:function(e){var t=this.getSinglePlayer(e);t.stopPlayer()}},{key:"onDragTimeChange",value:function(e){var t=e.windowIndex,n=e.time,r=this.getSinglePlayer(t);r.jumpTime(n)}},{key:"onRewindChange",value:function(e){var t=e.windowIndex,n=e.rewind,r=this.getSinglePlayer(t);r.setDirection(n?-1:1)}},{key:"onRenderHandel",value:function(e){var t=e.time,n=e.width,r=e.height,i=e.widthIndex,a=e.id,o=JSON.parse(JSON.stringify(this.renderTimeMap));o[i]=t,this.renderTimeMap=o,this.$emit("frameRender",{id:a,widthIndex:i,width:n,height:r,time:t})}},{key:"onPlaySpeedChange",value:function(e){var t=e.windowIndex,n=e.speed,r=this.getSinglePlayer(t);r.setPlaySpeed(Number(n))}},{key:"onSnapHandel",value:function(e){var t=this.getSinglePlayer(e);t.snapshotHandel()}},{key:"onFullScreenOp",value:function(){var e=this.$refs["dcs-vod-player"];e&&ut.toggleFullScreen(e)}},{key:"onCloseAll",value:function(){for(var e in this.playerToolBarsMap){var t=this.getSinglePlayer(Number(e));t.clearPlayer()}this.playerToolBarsMap={},this.$emit("closeAll")}},{key:"onSingleFrame",value:function(e){var t=this.getSinglePlayer(e);t.singleFramePlay()}},{key:"onCloseSinglePlayer",value:function(e){var t=e.index,n=e.id,r=e.state,i=JSON.parse(JSON.stringify(this.playerToolBarsMap));delete i[t],this.playerToolBarsMap=i,this.$emit("winOpChange",{index:t,id:n,state:r})}},{key:"onContextmenu",value:function(e){e.preventDefault()}},{key:"dragenterHandel",value:function(e,t){var n=this.$refs.playerLayout;n.changeSelectCell(Number(t))}},{key:"onDropHandel",value:function(e,t){var n=e.dataTransfer&&e.dataTransfer.getData("vodStreamInfo"),r=n&&JSON.parse(n),i=r.index,a=this.getSinglePlayer(i),o=this.getSinglePlayer(t),s=a.getSinglePlayerInfo(),l=o.getSinglePlayerInfo();if(!s.extendLayerShow&&!l.extendLayerShow){o.setSinglePlayerInfo(s),a.setSinglePlayerInfo(l),this.setPlayerToolBarsMap(t,s.vodStreamInfo),this.setPlayerToolBarsMap(i,l.vodStreamInfo);var c=this.renderTimeMap[t];this.renderTimeMap[t]=this.renderTimeMap[i],this.renderTimeMap[i]=c,this.getSinglePlayerTool(i)&&this.getSinglePlayerTool(i).setPlayStatus(l.playerStatus),this.getSinglePlayerTool(t)&&this.getSinglePlayerTool(t).setPlayStatus(s.playerStatus),this.$emit("windowExchange",[{index:t,type:"drop",id:l.vodStreamInfo?l.vodStreamInfo.id:void 0},{index:i,type:"drag",id:s.vodStreamInfo?s.vodStreamInfo.id:void 0}])}}},{key:"onMaxWindowCount",value:function(){throw{code:"MAX_WINDOW_COUNT",no:0}}},{key:"onVolumeChange",value:function(e){var t=e.value,n=e.windowIndex,r=this.getSinglePlayer(n);r.setVolume(t)}},{key:"openDevice",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n){var r,i,a,o,s,l,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=-1,-2!==t){e.next=5;break}r=this.getFreeWindow(),e.next=12;break;case 5:if(-1!==t){e.next=9;break}r=this.selectIndex,e.next=12;break;case 9:if(!(t>=this.cellCount)){e.next=11;break}throw{code:"MAX_WINDOW_COUNT",no:0};case 11:r=t;case 12:if(-1!==r){e.next=14;break}throw{code:"NO_FREE_WINDOW",no:0};case 14:if(i=n.startTime,a=n.endTime,o=n.pos,i&&a){e.next=17;break}throw{code:"TIME_ERROR",no:0};case 17:if(!isNaN(ht()(a).unix())&&!isNaN(ht()(i).unix())){e.next=19;break}throw{code:"TIME_ERROR",no:0};case 19:if(!ht()(a).isBefore(ht()(i))){e.next=21;break}throw{code:"TIME_ERROR",no:0};case 21:if(!ht()(i).isAfter(ht()())){e.next=23;break}throw{code:"TIME_ERROR",no:0};case 23:if(!o){e.next=26;break}if(!ht()(o).isBefore(ht()(i))&&!ht()(o).isAfter(ht()(a))){e.next=26;break}throw{code:"TIME_ERROR",no:0};case 26:if(s=n.autoPlay,l=this.getSinglePlayer(r),l.clearPlayer(),c=this.getSinglePlayerTool(r),c&&(c.setSpeedUnit("1.0"),c.resetToolsRewind(!1),this.renderTimeMap[r]=0),this.$refs.playerLayout.changeSelectCell(r),this.setPlayerToolBarsMap(r,n),!s){e.next=39;break}return o&&l.setPos(1e3*ht()(o).unix()),e.next=37,l.openDevice(n);case 37:e.next=42;break;case 39:return o&&l.setPos(1e3*ht()(o).unix()),e.next=42,l.waitOpenDevice(n);case 42:return e.abrupt("return",r);case 43:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"stopPlay",value:function(e){var t=this,n=[];if(e)n=e;else for(var r=0;r<this.maxCellCount;r++)n.push(r);n.forEach((function(e){var n=t.getSinglePlayer(e);n.stopPlayer()}))}},{key:"getPlayPos",value:function(e){var t=0,n=this.getSinglePlayer(e);return n&&(t=n.getPos()),t}},{key:"showFullScreen",value:function(){var e=this.$refs["dcs-vod-player"];return ut.toggleFullScreen(e)}},{key:"switchWindowFullScreen",value:function(e){var t=this.getSinglePlayer(e);t.changePlayerFullScreen()}},{key:"listCamera",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.vodPlayerManager){e.next=4;break}return e.next=3,this.vodPlayerManager.listCamera(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"timeSheetCamera",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.vodPlayerManager){e.next=4;break}return e.next=3,this.vodPlayerManager.queryRecords(t,n,r);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t>=this.cellCount)){e.next=2;break}throw{code:"MAX_WINDOW_COUNT",no:0};case 2:return n=t,-1===t&&(n=this.selectIndex),r=this.getSinglePlayer(n),e.next=7,r.snapshot();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"openCustomLayer",value:function(e,t){var n=this.getSinglePlayer(e);n.changeExtendLayerShow(!0,t)}},{key:"closeCustomLayer",value:function(e){var t=this.getSinglePlayer(e);t.changeExtendLayerShow(!1)}},{key:"getStreamInfo",value:function(e){var t=this.getSinglePlayer(e);return t.getStreamInfo()}},{key:"setConfig",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.vodPlayerManager){e.next=4;break}this.vodPlayerManager.setting(t),e.next=5;break;case 4:throw{code:"PLUGIN_NOT_INIT",no:0};case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"mounted",value:function(){this.initPlayer()}},{key:"beforeDestroy",value:function(){this.vodPlayerManager&&this.vodPlayerManager.destroy()}}]),n}(s.a));M([Q({default:"light"})],Lr.prototype,"themeType",void 0),M([Q({default:function(){return{cellCount:9,rules:[{row:1,col:1,mergeSpan:2}]}}})],Lr.prototype,"layoutRule",void 0),M([Q({default:3})],Lr.prototype,"cellPadding",void 0),Lr=M([U({components:{PlayerLayout:le,InstallationInspection:Ct,ReconnectTips:Ft,PlayerLoadError:Vt,SinglePlayer:En,VodPlayerFooterBar:Sr}})],Lr);var Tr=Lr,Dr=Tr,Er=oe(Dr,Xt,Zt,!1,null,null,null),Cr=Er.exports,Yr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dcs-vod-lite-player-container",class:{"dcs-vod-lite-player-container":!0,"dcs-vod-lite-player-container-dark":"dark"===e.themeType},on:{contextmenu:e.onContextmenu}},[n("canvas",{ref:"vodLitePlayer",staticClass:"vod-lite-player-canvas"}),6===e.status?n("span",{staticClass:"single-frame-time-tips"},[e._v(" "+e._s(e.renderTime)+" ")]):e._e(),e.vodStreamInfo?e._e():n("svgicon",{staticClass:"dcs-camera-icon",attrs:{name:"dcs-camera",width:"88",height:"88"}}),e.vodStreamInfo?n("div",{staticClass:"bottom-tool-bar"},[n("ToolBar",{ref:"toolbar",attrs:{timeRange:e.timeRange,pos:e.renderTime,playStatus:e.playStatus},on:{posChange:e.onPosChange,playSpeedChange:e.onPlaySpeedChange,pause:e.onPause,play:e.onPlay,stopPlayer:e.onStopPlayer,singleFrame:e.onSingleFrame,changeFullScreen:e.onFullScreenHandel,volumeChange:e.onVolumeChange}})],1):e._e(),n("InstallationInspection",{attrs:{isInstall:e.isInstall,tips:e.tips}}),e.isConnect?e._e():n("ReconnectTips"),e.loadErrorMsg?n("PlayerLoadError",{attrs:{value:e.loadErrorMsg}}):e._e(),e.vodStreamInfo&&0===e.status?n("PlayerLoading",{staticClass:"player-loading-icon"}):e._e(),e.vodStreamInfo&&2===e.status?n("LoadError",{attrs:{value:e.errorText}}):e._e(),!e.vodStreamInfo||3!==e.status&&4!==e.status&&5!==e.status?e._e():n("WaitPlay",{on:{play:e.onPlay}}),n("div",{staticClass:"custom-layer-container"},[e._t("customlayer")],2)],1)},Pr=[],Or=(n("4afa"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vod-lite-player-toolbar-container"},[n("div",{staticClass:"vod-lite-player-progress"},[n("ProgressBar",{attrs:{progress:e.progressValue,hoverTipsValue:e.hoverTipsValue},on:{progressBarDrag:e.onProgressBarDrag,hoverProgresChange:e.onHoverProgresChange}})],1),n("div",{staticClass:"vod-lite-player-control-bar"},[n("div",{staticClass:"control-bar"},[n("PlayerControlTools",{attrs:{rewind:!1,deviceExist:!0,playStatus:e.playStatus},on:{slowPlay:e.onSlowPlay,fastPlay:e.onFastPlay,pause:e.onPause,play:e.onPlay,stopPlayer:e.onStopPlayer,singleFrame:e.onSingleFrame}})],1),n("div",{staticClass:"time-info"},[n("span",{staticClass:"current-time"},[e._v(e._s(e.formatTime(e.nowTime)))]),n("span",{staticClass:"split-line"},[e._v("/")]),n("span",{staticClass:"total-time"},[e._v(e._s(e.formatTime(e.totalTime)))])]),n("div",{staticClass:"right-control-bar"},[n("SpeedControl",{ref:"speedControl",attrs:{isOk:"stop"!==e.playStatus},on:{playSpeedChange:e.onPlaySpeedChange}}),n("div",{staticClass:"vod-lite-player-volume-icon",attrs:{title:"音量控制"}},[n("VolumeControl",{on:{change:e.onVolumeChange}})],1),n("svgicon",{staticClass:"vod-lite-player-fullscreen-icon",attrs:{name:"dcs-video-fullscreen",width:"22",height:"22",title:"全屏"},on:{click:e.fullScreenHandel}})],1)])])}),Ir=[],Rr=(n("af25"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.progressValue=0,e.hoverTipsValue="",e}return p(n,[{key:"totalTime",get:function(){var e=this.timeRange,t=e.startTime,n=e.endTime;return n-t}},{key:"nowTime",get:function(){var e=this.timeRange,t=e.startTime,n=e.endTime;return this.pos>=n?n-t:this.pos-t<=0?0:this.pos-t}},{key:"nowTimeChange",value:function(e){this.getProgressValue(e,this.totalTime)}},{key:"getProgressValue",value:function(e,t){var n=100*e/t;this.progressValue=n}},{key:"onProgressBarDrag",value:function(e){var t=this.totalTime*e/100,n=this.timeRange.startTime+t;this.$emit("posChange",n)}},{key:"formatTime",value:function(e){return ut.formatSecond(Math.ceil(e/1e3))}},{key:"onSlowPlay",value:function(){this.$refs.speedControl.changeSpeed("pre")}},{key:"onFastPlay",value:function(){this.$refs.speedControl.changeSpeed("next")}},{key:"onPlaySpeedChange",value:function(e){this.$emit("playSpeedChange",e)}},{key:"onPause",value:function(){this.$emit("pause")}},{key:"onPlay",value:function(){this.$emit("play")}},{key:"onStopPlayer",value:function(){this.$emit("stopPlayer")}},{key:"onSingleFrame",value:function(){this.$emit("singleFrame")}},{key:"fullScreenHandel",value:function(){this.$emit("changeFullScreen")}},{key:"onHoverProgresChange",value:function(e){var t=e*this.totalTime/100,n=this.timeRange.startTime,r=ht()(n+t).format("HH:mm:ss");this.hoverTipsValue=r}},{key:"onVolumeChange",value:function(e){this.$emit("volumeChange",e)}},{key:"setSpeedInit",value:function(e){this.$refs.speedControl.setSpeedInit(e)}}]),n}(s.a));M([Q({default:function(){return{startTime:0,endTime:0}}})],Rr.prototype,"timeRange",void 0),M([Q({default:0})],Rr.prototype,"pos",void 0),M([Q({default:"stop"})],Rr.prototype,"playStatus",void 0),M([J("nowTime")],Rr.prototype,"nowTimeChange",null),Rr=M([U({components:{ProgressBar:De,PlayerControlTools:jn,SpeedControl:Gn,VolumeControl:He}})],Rr);var Nr=Rr,Fr=Nr,jr=oe(Fr,Or,Ir,!1,null,null,null),Br=jr.exports,Hr=(n("6d66"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.isInstall=!0,e.isConnect=!0,e.loadErrorMsg="",e.playerManager=null,e.canvas=null,e.player=null,e.vodStreamInfo=null,e.speed="",e.status=X.WAIT_OPEN,e.errorText="",e.renderTime=0,e.playSpeed=1,e.timeRange={startTime:0,endTime:0},e.pos=0,e.playStatus="stop",e.tips="",e}return p(n,[{key:"initPlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,r,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,st["PlayerCore"].create();case 3:if(t=e.sent,this.isInstall=!0,this.playerManager=t,this.playerManager.onClose((function(){a.isConnect=!1})),!this.canvas){e.next=16;break}return e.next=10,this.playerManager.setupChannel(0,st["ChannelType"].Vod,this.canvas);case 10:n=e.sent,this.player=n,this.$emit("load",{code:"OK",no:0}),this.player.onNetSpeed((function(e){a.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel);case 16:e.next=23;break;case 18:e.prev=18,e.t0=e["catch"](0),r=e.t0.code,i=e.t0.no,this.$emit("load",{code:r,no:i}),"SERVICE_CONNECT_FAILED"===r||"SERVICE_NEED_UPGRADE"===r?(this.isInstall=!1,this.tips=ne[r]):this.loadErrorMsg=ne[r]?ne[r]:JSON.stringify(e.t0);case 23:case"end":return e.stop()}}),e,this,[[0,18]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"setCanvas",value:function(){this.canvas=this.$refs.vodLitePlayer}},{key:"onNetSpeedHandel",value:function(e){this.speed=e>=1048576?"".concat(Math.trunc(e/1048576*100)/100," MB/s"):"".concat(Math.trunc(e/1024*100)/100," KB/s")}},{key:"onStreamStatusHandel",value:function(e,t,n){var r,i=null===(r=this.vodStreamInfo)||void 0===r?void 0:r.id;e===q.STATUS_CONNECTING?this.status=X.OPENING:e===q.STATUS_CONNECTED?(this.status=X.OPENED,this.playStatus="play"):e===q.STATUS_DISCONNECTED?(this.status=X.OPEN_ERROR,this.errorText="".concat(te[K[t]],"(").concat(n,")"),this.playStatus="stop",this.pos=this.renderTime):e===q.STATUS_FINISHED&&(this.status=X.WAIT_OPEN,this.playStatus="stop"),this.$emit("streamChange",{id:i,status:e,code:t,no:n})}},{key:"onRenderHandel",value:function(e,t,n){var r;this.renderTime=e,this.$emit("frameRender",{time:e,width:t,height:n,id:null===(r=this.vodStreamInfo)||void 0===r?void 0:r.id})}},{key:"onPosChange",value:function(e){this.pos=e,this.status!==X.OPENED&&this.status!==X.OPENING&&this.status!==X.OPEN_ERROR||!this.vodStreamInfo||(this.vodStreamInfo.pos=0,this.openPlayer(this.vodStreamInfo))}},{key:"onPlaySpeedChange",value:function(e){this.playSpeed=e,this.player&&this.player.changeSpeed(Number(this.playSpeed))}},{key:"onPause",value:function(){this.player&&(this.player.pause(),this.playStatus="pause",this.status=X.PAUSE_OPEN)}},{key:"onPlay",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.status!==X.WAIT_OPEN&&this.status!==X.STOP&&this.status!==X.OPEN_ERROR||!this.vodStreamInfo){e.next=6;break}return this.vodStreamInfo.pos=0,e.next=4,this.openPlayer(this.vodStreamInfo);case 4:e.next=16;break;case 6:if(this.status!==X.PAUSE_OPEN&&this.status!==X.SINGLEFRAME||!this.vodStreamInfo||!this.player){e.next=16;break}if(0===this.pos){e.next=13;break}return this.vodStreamInfo.pos=0,e.next=11,this.openPlayer(this.vodStreamInfo);case 11:e.next=16;break;case 13:return e.next=15,this.player.resume();case 15:this.status=X.OPENED;case 16:this.status=X.OPENED,this.playStatus="play";case 18:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onStopPlayer",value:function(){this.player&&(this.pos=this.renderTime,this.player.stop(),this.status=X.STOP,this.playStatus="stop",this.$emit("stop","stop"))}},{key:"onSingleFrame",value:function(){this.player&&(this.player.stepFrame(),this.status=X.SINGLEFRAME,this.playStatus="singleFrame")}},{key:"onFullScreenHandel",value:function(){var e=this.$refs["dcs-vod-lite-player-container"];return ut.toggleFullScreen(e)}},{key:"onVolumeChange",value:function(e){this.player&&this.player.setVolume(e)}},{key:"onContextmenu",value:function(e){e.preventDefault()}},{key:"openPlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(t){var n,r,i,a,o,s,l,c=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.startTime,r=t.endTime,i=t.url,a=t.pos,o=t.viewType,n&&r){e.next=3;break}throw{code:"TIME_ERROR",no:0};case 3:if(!ht()(r).isBefore(ht()(n))){e.next=5;break}throw{code:"TIME_ERROR",no:0};case 5:if(!(ht()(r).unix()-ht()(n).unix()>86400)){e.next=7;break}throw{code:"TIME_ERROR",no:0};case 7:if(!ht()(n).isAfter(ht()())){e.next=9;break}throw{code:"TIME_ERROR",no:0};case 9:if(s=1e3*ht()(n).unix(),l=1e3*ht()(r).unix(),!isNaN(s)&&!isNaN(l)){e.next=13;break}throw{code:"TIME_ERROR",no:0};case 13:if(this.vodStreamInfo=t,this.timeRange={startTime:s,endTime:l},!this.player){e.next=26;break}return this.status=X.OPENING,void 0!==o&&this.player.setViewType(o),e.next=20,this.player.open(i,{startTime:n,endTime:r,direction:1,pos:a||this.pos}).catch((function(e){var t=e.code,n=e.no;throw c.errorText=ne[t]?"".concat(ne[t],"(").concat(-20040===n?"未查询到录像":n,")"):JSON.stringify(e),c.status=X.OPEN_ERROR,e}));case 20:return e.next=22,this.player.changeSpeed(Number(this.playSpeed));case 22:return this.pos=0,e.abrupt("return",!0);case 26:throw{code:"PLUGIN_NOT_INIT",no:0};case 27:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"resetPlayer",value:function(){this.stopPlay(),this.speed="",this.status=X.WAIT_OPEN,this.errorText="",this.renderTime=0,this.playSpeed=1,this.timeRange={startTime:0,endTime:0},this.pos=0,this.playStatus="stop",this.tips="",this.$refs.toolbar&&this.$refs.toolbar.setSpeedInit("1.0")}},{key:"openDevice",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.resetPlayer(),this.openPlayer(t);case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stopPlay",value:function(){this.onStopPlayer()}},{key:"getPlayPos",value:function(){return this.renderTime}},{key:"showFullScreen",value:function(){return this.onFullScreenHandel()}},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.player;case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=null===(t=this.player)||void 0===t?void 0:t.snapshot();case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getStreamInfo",value:function(){if(!this.player)return{width:0,height:0};var e=this.player.getStreamWidth(),t=this.player.getStreamHeight();return{width:e,height:t}}},{key:"setConfig",value:function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.playerManager){e.next=4;break}this.playerManager.setting(t),e.next=5;break;case 4:throw{code:"PLUGIN_NOT_INIT",no:0};case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"mounted",value:function(){this.setCanvas(),this.initPlayer()}},{key:"beforeDestroy",value:function(){this.playerManager&&this.playerManager.destroy()}}]),n}(s.a));M([Q({default:"light"})],Hr.prototype,"themeType",void 0),Hr=M([U({components:{ToolBar:Br,InstallationInspection:Ct,ReconnectTips:Ft,PlayerLoadError:Vt,PlayerLoading:$e,LoadError:ot,WaitPlay:mn}})],Hr);var Wr=Hr,zr=Wr,Ur=oe(zr,Yr,Pr,!1,null,null,null),Vr=Ur.exports,Gr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dcs-file-player-container",class:{"dcs-file-player-container":!0,"dcs-file-player-container-dark":"dark"===e.themeType},on:{contextmenu:e.onContextmenu}},[n("canvas",{ref:"filePlayer",staticClass:"file-player-canvas"}),6===e.status?n("span",{staticClass:"single-frame-time-tips"},[e._v(" "+e._s(e.renderTime)+" ")]):e._e(),e.filePath?e._e():n("svgicon",{staticClass:"dcs-camera-icon",attrs:{name:"dcs-camera",width:"88",height:"88"}}),e.filePath?n("div",{staticClass:"bottom-tool-bar"},[n("ToolBar",{ref:"toolbar",attrs:{timeRange:e.timeRange,pos:e.renderTime,playStatus:e.playStatus},on:{posChange:e.onPosChange,playSpeedChange:e.onPlaySpeedChange,pause:e.onPause,play:e.onPlay,stopPlayer:e.onStopPlayer,singleFrame:e.onSingleFrame,changeFullScreen:e.onFullScreenHandel,volumeChange:e.onVolumeChange}})],1):e._e(),n("InstallationInspection",{attrs:{isInstall:e.isInstall,tips:e.tips}}),e.isConnect?e._e():n("ReconnectTips"),e.loadErrorMsg?n("PlayerLoadError",{attrs:{value:e.loadErrorMsg}}):e._e(),e.filePath&&0===e.status?n("PlayerLoading",{staticClass:"player-loading-icon"}):e._e(),e.filePath&&2===e.status?n("LoadError",{attrs:{value:e.errorText}}):e._e(),!e.filePath||3!==e.status&&4!==e.status&&5!==e.status?e._e():n("WaitPlay",{on:{play:e.onPlay}})],1)},Qr=[],Jr=(n("c385"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vod-lite-player-toolbar-container"},[n("div",{staticClass:"vod-lite-player-progress"},[n("ProgressBar",{attrs:{progress:e.progressValue,hoverTipsValue:e.hoverTipsValue},on:{progressBarDrag:e.onProgressBarDrag,hoverProgresChange:e.onHoverProgresChange}})],1),n("div",{staticClass:"vod-lite-player-control-bar"},[n("div",{staticClass:"control-bar"},[n("PlayerControlTools",{attrs:{rewind:!1,playStatus:e.playStatus,deviceExist:!0},on:{slowPlay:e.onSlowPlay,fastPlay:e.onFastPlay,pause:e.onPause,play:e.onPlay,stopPlayer:e.onStopPlayer,singleFrame:e.onSingleFrame}})],1),n("div",{staticClass:"time-info"},[n("span",{staticClass:"current-time"},[e._v(e._s(e.formatTime(e.nowTime)))]),n("span",{staticClass:"split-line"},[e._v("/")]),n("span",{staticClass:"total-time"},[e._v(e._s(e.formatTime(e.totalTime)))])]),n("div",{staticClass:"right-control-bar"},[n("SpeedControl",{ref:"speedControl",attrs:{isOk:"stop"!==e.playStatus},on:{playSpeedChange:e.onPlaySpeedChange}}),n("div",{staticClass:"vod-lite-player-volume-icon",attrs:{title:"音量控制"}},[n("VolumeControl",{on:{change:e.onVolumeChange}})],1),n("svgicon",{staticClass:"vod-lite-player-fullscreen-icon",attrs:{name:"dcs-video-fullscreen",width:"22",height:"22",title:"全屏"},on:{click:e.fullScreenHandel}})],1)])])}),qr=[],Kr=(n("5607"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.progressValue=0,e.hoverTipsValue="",e}return p(n,[{key:"totalTime",get:function(){var e=this.timeRange,t=e.startTime,n=e.endTime;return n-t}},{key:"nowTime",get:function(){var e=this.timeRange,t=e.startTime,n=e.endTime;return this.pos>=n?n-t:this.pos-t<=0?0:this.pos-t}},{key:"nowTimeChange",value:function(e){this.getProgressValue(e,this.totalTime)}},{key:"getProgressValue",value:function(e,t){var n=100*e/t;this.progressValue=n}},{key:"onProgressBarDrag",value:function(e){var t=this.totalTime*e/100,n=this.timeRange.startTime+t;this.$emit("posChange",n)}},{key:"formatTime",value:function(e){return ut.formatSecond(Math.ceil(e/1e3))}},{key:"onSlowPlay",value:function(){this.$refs.speedControl.changeSpeed("pre")}},{key:"onFastPlay",value:function(){this.$refs.speedControl.changeSpeed("next")}},{key:"onPlaySpeedChange",value:function(e){this.$emit("playSpeedChange",e)}},{key:"onPause",value:function(){this.$emit("pause")}},{key:"onPlay",value:function(){this.$emit("play")}},{key:"onStopPlayer",value:function(){this.$emit("stopPlayer")}},{key:"onSingleFrame",value:function(){this.$emit("singleFrame")}},{key:"fullScreenHandel",value:function(){this.$emit("changeFullScreen")}},{key:"onHoverProgresChange",value:function(e){var t=e*this.totalTime/100;this.hoverTipsValue=this.formatTime(t)}},{key:"onVolumeChange",value:function(e){this.$emit("volumeChange",e)}},{key:"setSpeedInit",value:function(e){this.$refs.speedControl.setSpeedInit(e)}}]),n}(s.a));M([Q({default:function(){return{startTime:0,endTime:0}}})],Kr.prototype,"timeRange",void 0),M([Q({default:0})],Kr.prototype,"pos",void 0),M([Q({default:"stop"})],Kr.prototype,"playStatus",void 0),M([J("nowTime")],Kr.prototype,"nowTimeChange",null),Kr=M([U({components:{ProgressBar:De,PlayerControlTools:jn,SpeedControl:Gn,VolumeControl:He}})],Kr);var Xr=Kr,Zr=Xr,$r=oe(Zr,Jr,qr,!1,null,null,null),ei=$r.exports,ti=(n("11f2"),function(e){y(n,e);var t=k(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.isInstall=!0,e.isConnect=!0,e.loadErrorMsg="",e.playerManager=null,e.canvas=null,e.player=null,e.speed="",e.status=X.WAIT_OPEN,e.errorText="",e.renderTime=0,e.playSpeed=1,e.timeRange={startTime:0,endTime:0},e.pos=0,e.playStatus="stop",e.duration=0,e.filePath="",e.tips="",e}return p(n,[{key:"initPlayer",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,r,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,st["PlayerCore"].create();case 3:if(t=e.sent,this.isInstall=!0,this.playerManager=t,this.playerManager.onClose((function(){a.isConnect=!1})),!this.canvas){e.next=16;break}return e.next=10,this.playerManager.setupChannel(0,st["ChannelType"].File,this.canvas);case 10:n=e.sent,this.player=n,this.$emit("load",{code:"OK",no:0}),this.player.onNetSpeed((function(e){a.onNetSpeedHandel(e)})),this.player.onStreamStatus(this.onStreamStatusHandel),this.player.onRender(this.onRenderHandel);case 16:e.next=23;break;case 18:e.prev=18,e.t0=e["catch"](0),r=e.t0.code,i=e.t0.no,this.$emit("load",{code:r,no:i}),"SERVICE_CONNECT_FAILED"===r||"SERVICE_NEED_UPGRADE"===r?(this.isInstall=!1,this.tips=ne[r]):this.loadErrorMsg=ne[r]?ne[r]:JSON.stringify(e.t0);case 23:case"end":return e.stop()}}),e,this,[[0,18]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"setCanvas",value:function(){this.canvas=this.$refs.filePlayer}},{key:"onNetSpeedHandel",value:function(e){this.speed=e>=1048576?"".concat(Math.trunc(e/1048576*100)/100," MB/s"):"".concat(Math.trunc(e/1024*100)/100," KB/s")}},{key:"onStreamStatusHandel",value:function(e,t,n){e===q.STATUS_CONNECTING?this.status=X.OPENING:e===q.STATUS_CONNECTED?(this.status=X.OPENED,this.playStatus="play"):e===q.STATUS_DISCONNECTED?(this.status=X.OPEN_ERROR,this.errorText="".concat(te[K[t]],"(").concat(n,")"),this.playStatus="stop",this.pos=this.renderTime):e===q.STATUS_FINISHED&&(this.status=X.WAIT_OPEN,this.playStatus="stop"),this.$emit("streamChange",{status:e,code:t,no:n})}},{key:"onRenderHandel",value:function(e,t,n){this.renderTime=e,this.$emit("frameRender",{time:e,width:t,height:n})}},{key:"onPosChange",value:function(e){this.pos=e,this.status!==X.OPENED&&this.status!==X.OPENING&&this.status!==X.OPEN_ERROR||!this.filePath||this.openFile(this.filePath,0)}},{key:"onPlaySpeedChange",value:function(e){this.playSpeed=e,this.player&&this.player.changeSpeed(Number(this.playSpeed))}},{key:"onPause",value:function(){this.player&&(this.player.pause(),this.playStatus="pause",this.status=X.PAUSE_OPEN)}},{key:"onPlay",value:function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.status!==X.WAIT_OPEN&&this.status!==X.STOP&&this.status!==X.OPEN_ERROR||!this.filePath){e.next=5;break}return e.next=3,this.openFile(this.filePath,0);case 3:e.next=14;break;case 5:if(this.status!==X.PAUSE_OPEN&&this.status!==X.SINGLEFRAME||!this.filePath||!this.player){e.next=14;break}if(0===this.pos){e.next=11;break}return e.next=9,this.openFile(this.filePath,0);case 9:e.next=14;break;case 11:return e.next=13,this.player.resume();case 13:this.status=X.OPENED;case 14:this.status=X.OPENED,this.playStatus="play";case 16:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onStopPlayer",value:function(){this.player&&(this.pos=this.renderTime,this.player.stop(),this.status=X.STOP,this.playStatus="stop",this.$emit("stop","stop"))}},{key:"onSingleFrame",value:function(){this.player&&(this.player.stepFrame(),this.status=X.SINGLEFRAME,this.playStatus="singleFrame")}},{key:"onFullScreenHandel",value:function(){var e=this.$refs["dcs-file-player-container"];return ut.toggleFullScreen(e)}},{key:"onVolumeChange",value:function(e){this.player&&this.player.setVolume(e)}},{key:"onContextmenu",value:function(e){e.preventDefault()}},{key:"resetPlayer",value:function(){this.stopPlay(),this.speed="",this.status=X.WAIT_OPEN,this.errorText="",this.renderTime=0,this.playSpeed=1,this.timeRange={startTime:0,endTime:0},this.pos=0,this.playStatus="stop",this.tips="",this.$refs.toolbar&&this.$refs.toolbar.setSpeedInit("1.0")}},{key:"openFile",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n,r){var i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.player){e.next=15;break}return this.filePath=t,this.status=X.OPENING,e.next=5,this.player.open(t,{pos:n||this.pos}).catch((function(e){var t=e.code,n=e.no;throw a.errorText=ne[t]?"".concat(ne[t],"(").concat(n,")"):JSON.stringify(e),a.status=X.OPEN_ERROR,e}));case 5:return i=e.sent,void 0!==r&&this.player.setViewType(r),e.next=9,this.player.changeSpeed(Number(this.playSpeed));case 9:return this.duration=i.duration,this.pos=0,this.timeRange={startTime:0,endTime:this.duration},e.abrupt("return",!0);case 15:throw{code:"PLUGIN_NOT_INIT",no:0};case 16:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"playFile",value:function(){var e=d(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.resetPlayer(),this.openFile(t,n,r);case 2:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"stopPlay",value:function(){this.onStopPlayer()}},{key:"getPlayPos",value:function(){return this.renderTime}},{key:"showFullScreen",value:function(){return this.onFullScreenHandel()}},{key:"snapshot",value:function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.player;case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=null===(t=this.player)||void 0===t?void 0:t.snapshot();case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"mounted",value:function(){this.setCanvas(),this.initPlayer()}},{key:"beforeDestroy",value:function(){this.playerManager&&this.playerManager.destroy()}}]),n}(s.a));M([Q({default:"light"})],ti.prototype,"themeType",void 0),ti=M([U({components:{ToolBar:ei,InstallationInspection:Ct,ReconnectTips:Ft,PlayerLoadError:Vt,PlayerLoading:$e,LoadError:ot,WaitPlay:mn}})],ti);var ni=ti,ri=ni,ii=oe(ri,Gr,Qr,!1,null,null,null),ai=ii.exports,oi=(n("4f94"),n("f1dc"),n("038a")),si=n.n(oi);si.a.register({"dcs-aperture-reduction":{width:17,height:16,viewBox:"0 0 17 16",data:'<path pid="0" d="M7.878.75c4.034 0 7.305 3.245 7.305 7.25s-3.271 7.25-7.305 7.25C3.845 15.25.573 12.005.573 8S3.845.75 7.878.75zm0 1c-3.483 0-6.305 2.8-6.305 6.25s2.822 6.25 6.305 6.25c3.483 0 6.305-2.8 6.305-6.25S11.36 1.75 7.878 1.75zm1.268 3a2 2 0 012 2v2.5a2 2 0 01-2 2H6.61a2 2 0 01-2-2v-2.5a2 2 0 012-2zm0 1H6.61a1 1 0 00-1 1v2.5a1 1 0 001 1h2.536a1 1 0 001-1v-2.5a1 1 0 00-1-1z" _fill="#6D7587" fill-rule="nonzero"/>'}}),si.a.register({"dcs-aperture-zoom":{width:17,height:16,viewBox:"0 0 17 16",data:'<path pid="0" d="M7.878.5c4.034 0 7.305 3.245 7.305 7.25S11.912 15 7.878 15C3.845 15 .573 11.755.573 7.75S3.845.5 7.878.5zm0 1c-3.483 0-6.305 2.8-6.305 6.25S4.395 14 7.878 14c3.483 0 6.305-2.8 6.305-6.25S11.36 1.5 7.878 1.5zm0 4.75c.835 0 1.512.672 1.512 1.5s-.677 1.5-1.512 1.5a1.506 1.506 0 01-1.512-1.5c0-.828.677-1.5 1.512-1.5z" _fill="#6D7587" fill-rule="nonzero"/>'}}),si.a.register({"dcs-camera":{width:88,height:88,viewBox:"0 0 88 88",data:'<g fill-rule="nonzero" _fill="none"><path pid="0" d="M77.158 38.415c0-18.238-14.86-33.035-33.175-33.035-18.315 0-33.174 14.797-33.174 33.035 0 16.587 12.302 30.351 28.336 32.691l-.345 5.85H21.867v5.506H66.1v-5.506H49.305l-.345-5.85c15.965-2.408 28.198-16.104 28.198-32.69zm-33.175 27.53c-15.274 0-27.645-12.32-27.645-27.53s12.371-27.529 27.645-27.529c15.275 0 27.646 12.32 27.646 27.53S59.258 65.944 43.983 65.944zm0-48.177c-11.473 0-20.734 9.223-20.734 20.647 0 11.425 9.261 20.647 20.734 20.647 11.473 0 20.735-9.222 20.735-20.647 0-11.424-9.262-20.647-20.735-20.647z" _fill="#444"/><path pid="1" d="M35.69 43.921c-4.562 0-8.294-3.716-8.294-8.259 0-4.542 3.732-8.258 8.294-8.258 4.561 0 8.293 3.716 8.293 8.258 0 4.543-3.732 8.26-8.293 8.26z" _fill="#666"/></g>'}}),si.a.register({"dcs-close-focus":{width:17,height:16,viewBox:"0 0 17 16",data:'<path pid="0" d="M7.878.5c4.034 0 7.305 3.245 7.305 7.25S11.912 15 7.878 15C3.845 15 .573 11.755.573 7.75S3.845.5 7.878.5zm0 1c-3.483 0-6.305 2.8-6.305 6.25S4.395 14 7.878 14c3.483 0 6.305-2.8 6.305-6.25S11.36 1.5 7.878 1.5zm0 3.25c.209 0 .378.17.378.378v2.247h2.271a.375.375 0 010 .75H8.256v2.247a.378.378 0 11-.756 0V8.125H5.229a.375.375 0 110-.75h2.27L7.5 5.128c0-.209.17-.378.378-.378z" _fill="#6D7587" fill-rule="nonzero"/>'}}),si.a.register({"dcs-close-player":{width:200,height:200,viewBox:"0 0 1024 1024",data:'<defs/><path pid="0" d="M807.497 256.439a20.919 20.919 0 010 29.55l-236.324 236.47 236.47 236.398a20.919 20.919 0 010 29.55l-29.55 29.55a20.919 20.919 0 01-29.549 0L512 581.559 275.53 817.957a20.919 20.919 0 01-29.55 0l-29.55-29.55a20.919 20.919 0 010-29.55L452.9 522.46 216.43 285.99a20.919 20.919 0 010-29.55l29.55-29.55a20.919 20.919 0 0129.55 0L512 463.36l236.47-236.47a20.919 20.919 0 0129.55 0l29.55 29.549z" _fill="#FFF"/>'}}),si.a.register({"dcs-close":{width:35,height:35,viewBox:"0 0 35 35",data:'<defs><path pid="0" id="svgicon_dcs-close_a" d="M0 0h15v15H0z"/></defs><g _fill="none" fill-rule="evenodd"><circle pid="1" _fill="#666" cx="17.5" cy="17.5" r="17.5"/><g transform="translate(10 10)"><mask id="svgicon_dcs-close_b" _fill="#fff"><use xlink:href="#svgicon_dcs-close_a"/></mask><path pid="2" d="M7.5 2a.5.5 0 01.5.5V7h5a.5.5 0 110 1H8v5.5a.5.5 0 11-1 0V8H2a.5.5 0 010-1h5V2.5a.5.5 0 01.5-.5z" _fill="#FFF" mask="url(#svgicon_dcs-close_b)" transform="rotate(45 7.5 8)"/></g></g>'}}),si.a.register({"dcs-download-plugin":{width:158,height:168,viewBox:"0 0 158 168",data:'<g _fill="none" fill-rule="evenodd"><path pid="0" d="M127 130a7 7 0 010 14H7a7 7 0 010-14h120zM143 0a8 8 0 018 8v106a8 8 0 01-8 8H8a8 8 0 01-8-8V8a8 8 0 018-8h135z" _fill="#3B3B3B"/><path pid="1" d="M151 154a7 7 0 010 14H31a7 7 0 010-14h120zm-1-132a8 8 0 018 8v106a8 8 0 01-8 8H32a8 8 0 01-8-8V30a8 8 0 018-8h118z" _fill="#444"/><path pid="2" d="M112.69 90.155l-34.112 17.056A8 8 0 0167 100.056V65.944a8 8 0 0111.578-7.155l34.111 17.056a8 8 0 010 14.31z" _fill="#666"/></g>'}}),si.a.register({"dcs-drop-down":{width:20,height:20,viewBox:"0 0 20 20",data:'<path pid="0" d="M14.292 10.707l-3.586 3.586a1 1 0 01-1.414 0l-3.585-3.586A1 1 0 016.414 9h7.171a1 1 0 01.707 1.707z" _fill="#EEE" fill-rule="evenodd"/>'}}),si.a.register({"dcs-exite-full-screen":{width:200,height:200,viewBox:"0 0 1024 1024",data:'<defs/><path pid="0" d="M744.8 240.5L613.1 372.1V260.6c0-15.1-12.3-27.4-27.4-27.4-15.1 0-27.4 12.3-27.4 27.4v177.6c0 9.5 4.8 17.8 12.1 22.7 4.4 3 9.7 4.7 15.3 4.7h177.6c7.6 0 14.4-3.1 19.4-8 5-5 8-11.8 8-19.4 0-15.1-12.3-27.4-27.4-27.4H651.8l131.7-131.7c10.7-10.7 10.7-28.1 0-38.8-10.7-10.5-28-10.5-38.7.2zM438.3 558.3H260.7c-15.1 0-27.4 12.3-27.4 27.4 0 13.6 9.9 24.9 23 27l4.4.4h111.5L240.5 744.8c-10.7 10.7-10.7 28.1 0 38.8 9.5 9.5 24.3 10.6 35 3.2l3.8-3.2L411 651.9v111.5c0 15.1 12.3 27.4 27.4 27.4 7.6 0 14.4-3.1 19.4-8 4-4 6.7-9.1 7.7-14.9l.4-4.4V585.9c0-5.7-1.7-11-4.7-15.3-5.1-7.5-13.4-12.3-22.9-12.3zM844.8 128c28.3 0 51.2 22.9 51.2 51.2v665.6c0 28.3-22.9 51.2-51.2 51.2H179.2c-28.3 0-51.2-22.9-51.2-51.2V179.2c0-28.3 22.9-51.2 51.2-51.2h665.6z" _fill="#707070"/>'}}),si.a.register({"dcs-far-focus":{width:17,height:16,viewBox:"0 0 17 16",data:'<path pid="0" d="M7.878.75c4.034 0 7.305 3.245 7.305 7.25s-3.271 7.25-7.305 7.25C3.845 15.25.573 12.005.573 8S3.845.75 7.878.75zm0 1c-3.483 0-6.305 2.8-6.305 6.25s2.822 6.25 6.305 6.25c3.483 0 6.305-2.8 6.305-6.25S11.36 1.75 7.878 1.75zm2.65 5.875a.375.375 0 010 .75h-5.3a.375.375 0 110-.75h5.3z" _fill="#6D7587" fill-rule="nonzero"/>'}}),si.a.register({"dcs-fast-forward":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M7.5 6.587a.5.5 0 00-.5.5v9.826a.5.5 0 00.825.38l4.176-3.579L12 16.913a.5.5 0 00.069.253l.051.072a.5.5 0 00.705.055l5.732-4.913a.5.5 0 000-.76l-5.732-4.913a.5.5 0 00-.825.38v3.198L7.826 6.707a.5.5 0 00-.237-.112z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-full-screen":{width:16,height:16,viewBox:"0 0 1024 1024",data:'<defs/><path pid="0" d="M270.08 64.064H90.88C76.032 64.064 64 76.096 64 90.944V270.016c0 14.912 12.032 26.944 26.88 26.944s27.008-12.032 27.008-26.944c0-1.536-.256-3.136-.512-4.608V122.176c0-2.496 1.984-4.48 4.416-4.48H267.2c.96.064 1.92.256 2.88.256 14.848 0 26.944-12.032 26.944-26.944s-12.096-26.944-26.944-26.944z"/><path pid="1" d="M847.552 830.784c0 9.856-8.128 17.856-17.92 17.856H190.528c-9.856 0-17.856-8-17.856-17.856v-639.04c0-9.92 8-17.92 17.856-17.92h639.104c9.792 0 17.92 8 17.92 17.92v639.04z"/><path pid="2" d="M753.792 64.064h179.2c14.848 0 26.88 12.032 26.88 26.88v178.688c0 .128.128.256.128.384 0 14.912-12.096 26.944-27.008 26.944s-26.944-12.032-26.944-26.944c0-1.536.256-3.136.448-4.608V122.176c0-2.496-1.92-4.48-4.48-4.48H756.672c-1.024.064-1.856.256-2.88.256-14.848 0-26.88-12.032-26.88-26.944s12.032-26.944 26.88-26.944zM270.08 959.936H90.88c-14.848 0-26.88-11.968-26.88-26.816V754.368v-.384c0-14.912 12.032-27.008 26.88-27.008s27.008 12.032 27.008 27.008c0 1.536-.256 3.136-.512 4.608V901.76c0 2.496 1.984 4.48 4.416 4.48H267.2c.96-.064 1.856-.256 2.816-.256 14.848 0 26.944 12.032 26.944 26.944s-12.032 27.008-26.88 27.008zM753.792 959.936h179.2c14.848 0 26.88-12.032 26.88-26.816V754.368c0-.128.128-.256.128-.384 0-14.912-12.096-27.008-27.008-27.008s-26.944 12.032-26.944 27.008c0 1.536.256 3.136.448 4.608V901.76c0 2.496-1.92 4.48-4.48 4.48H756.672c-1.024-.064-1.856-.256-2.88-.256-14.848 0-26.88 12.032-26.88 26.944s12.032 27.008 26.88 27.008z"/>'}}),si.a.register({"dcs-full-switch":{width:35,height:35,viewBox:"0 0 35 35",data:'<g _fill="none" fill-rule="evenodd"><circle pid="0" _fill="#666" cx="17.5" cy="17.5" r="17.5"/><path pid="1" d="M24 18.625a.5.5 0 01.492.41l.008.09V23a1.5 1.5 0 01-1.356 1.493L23 24.5h-3.875a.5.5 0 01-.09-.992l.09-.008H23a.5.5 0 00.492-.41L23.5 23v-3.875a.5.5 0 01.5-.5zm-13 0a.5.5 0 01.492.41l.008.09V23a.5.5 0 00.41.492l.09.008h3.875a.5.5 0 01.09.992l-.09.008H12a1.5 1.5 0 01-1.493-1.356L10.5 23v-3.875a.5.5 0 01.5-.5zM21 13a1 1 0 011 1v7a1 1 0 01-1 1h-7a1 1 0 01-1-1v-7a1 1 0 011-1h7zm2-2.5a1.5 1.5 0 011.493 1.356L24.5 12v3.875a.5.5 0 01-.992.09l-.008-.09V12a.5.5 0 00-.41-.492L23 11.5h-3.875a.5.5 0 01-.09-.992l.09-.008H23zm-7.125 0a.5.5 0 01.09.992l-.09.008H12a.5.5 0 00-.492.41L11.5 12v3.875a.5.5 0 01-.992.09l-.008-.09V12a1.5 1.5 0 011.356-1.493L12 10.5h3.875z" _fill="#FFF"/></g>'}}),si.a.register({"dcs-lens-zoom":{width:17,height:17,viewBox:"0 0 17 17",data:'<path pid="0" d="M7.615.55c3.68 0 6.654 3.094 6.654 6.9 0 1.725-.61 3.303-1.62 4.513l2.634 2.74a.5.5 0 01-.652.753l-.068-.06-2.61-2.713a6.49 6.49 0 01-4.338 1.667c-3.679 0-6.653-3.094-6.653-6.9 0-3.806 2.974-6.9 6.653-6.9zm0 1c-3.118 0-5.653 2.637-5.653 5.9 0 3.263 2.535 5.9 5.653 5.9 3.118 0 5.654-2.637 5.654-5.9 0-3.263-2.536-5.9-5.654-5.9zm0 2.7c.213 0 .385.172.385.385v2.414l2.292.001a.4.4 0 110 .8L8 7.849 8 10.265a.385.385 0 01-.77 0V7.85l-2.292.001a.4.4 0 110-.8l2.292-.001V4.635c0-.213.173-.385.385-.385z" _fill="#6D7587" fill-rule="nonzero"/>'}}),si.a.register({"dcs-load-error":{width:153,height:146,viewBox:"0 0 153 146",data:'<g _fill="none" fill-rule="evenodd"><path pid="0" d="M127 132a7 7 0 010 14H7a7 7 0 010-14h120zM126 0a8 8 0 018 8v106a8 8 0 01-8 8H8a8 8 0 01-8-8V8a8 8 0 018-8h118z" _fill="#444"/><circle pid="1" _fill="#777" cx="124" cy="117" r="29"/><path pid="2" d="M122.966 120.6a1.464 1.464 0 002.88 0l.96-13.2a2.405 2.405 0 00-2.4-2.4 2.467 2.467 0 00-2.4 2.64l.96 12.96zm1.44 3.6a2.4 2.4 0 102.4 2.4 2.267 2.267 0 00-2.4-2.4z" _fill="#CCC" fill-rule="nonzero"/><path pid="3" d="M88.69 68.155L54.577 85.211A8 8 0 0143 78.056V43.944a8 8 0 0111.578-7.155l34.111 17.056a8 8 0 010 14.31z" _fill="#666"/></g>'}}),si.a.register({"dcs-pause":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M8.5 6a1 1 0 011 1v10a1 1 0 01-2 0V7a1 1 0 011-1zm7 0a1 1 0 011 1v10a1 1 0 01-2 0V7a1 1 0 011-1z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-play":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M15.931 13.008l-6.88 4.44A1.2 1.2 0 017.2 16.44V7.56a1.2 1.2 0 011.85-1.008l6.881 4.44a1.2 1.2 0 010 2.016z" _fill="#FFF" fill-rule="nonzero"/>'}}),si.a.register({"dcs-player-load-error":{width:153,height:146,viewBox:"0 0 153 146",data:'<g _fill="none" fill-rule="evenodd"><path pid="0" d="M127 132a7 7 0 010 14H7a7 7 0 010-14h120zM126 0a8 8 0 018 8v106a8 8 0 01-8 8H8a8 8 0 01-8-8V8a8 8 0 018-8h118z" _fill="#444"/><circle pid="1" _fill="#777" cx="124" cy="117" r="29"/><path pid="2" d="M122.966 120.6a1.464 1.464 0 002.88 0l.96-13.2a2.405 2.405 0 00-2.4-2.4 2.467 2.467 0 00-2.4 2.64l.96 12.96zm1.44 3.6a2.4 2.4 0 102.4 2.4 2.267 2.267 0 00-2.4-2.4z" _fill="#CCC" fill-rule="nonzero"/><path pid="3" d="M88.69 68.155L54.577 85.211A8 8 0 0143 78.056V43.944a8 8 0 0111.578-7.155l34.111 17.056a8 8 0 010 14.31z" _fill="#666"/></g>'}}),si.a.register({"dcs-ptz-auto-active":{width:37,height:40,viewBox:"0 0 37 40",data:'<defs><linearGradient x1="49.998%" y1="96.778%" x2="49.998%" y2=".002%" id="svgicon_dcs-ptz-auto-active_a"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><linearGradient x1="49.998%" y1="96.778%" x2="49.998%" y2=".002%" id="svgicon_dcs-ptz-auto-active_d"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><linearGradient x1="94.743%" y1="53.34%" x2="5.988%" y2="46.912%" id="svgicon_dcs-ptz-auto-active_i"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><filter x="-55.4%" y="-54.9%" width="210.8%" height="209.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-active_b"><feGaussianBlur stdDeviation="3" in="SourceGraphic"/></filter><filter x="-31.2%" y="-268.3%" width="162.5%" height="636.6%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-active_e"><feGaussianBlur stdDeviation="2" in="SourceGraphic"/></filter><filter x="-16.9%" y="-14.9%" width="133.8%" height="129.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-active_h"><feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"/><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"/><feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.688345357 0 0 0 0 0.667740091 0 0 0 1 0" in="shadowInnerInner1"/></filter><path pid="0" d="M3.477 1.49h13.73a2 2 0 012 2v7.027a8.865 8.865 0 11-17.73 0V3.491a2 2 0 012-2z" id="svgicon_dcs-ptz-auto-active_c"/><path pid="1" d="M10.342 7.455a5.91 5.91 0 015.91 5.91v1.598a5.91 5.91 0 01-11.82 0v-1.599a5.91 5.91 0 015.91-5.91z" id="svgicon_dcs-ptz-auto-active_g"/></defs><g transform="translate(1.378 .855)" _fill="none" fill-rule="evenodd"><ellipse pid="2" _stroke="#FFD1CE" stroke-width="2" _fill="#ECEEF0" cx="16.991" cy="17.145" rx="15.991" ry="16.145"/><g transform="translate(6.649 8.945)"><ellipse pid="3" _fill="url(#svgicon_dcs-ptz-auto-active_a)" opacity=".496" filter="url(#svgicon_dcs-ptz-auto-active_b)" cx="10.342" cy="11.927" rx="8.126" ry="8.2"/><mask id="svgicon_dcs-ptz-auto-active_f" _fill="#fff"><use xlink:href="#svgicon_dcs-ptz-auto-active_c"/></mask><use _fill="url(#svgicon_dcs-ptz-auto-active_d)" xlink:href="#svgicon_dcs-ptz-auto-active_c"/><rect pid="4" _fill="#AD2A22" filter="url(#svgicon_dcs-ptz-auto-active_e)" mask="url(#svgicon_dcs-ptz-auto-active_f)" x=".739" y="4.473" width="19.207" height="2.236" rx="1.118"/><g mask="url(#svgicon_dcs-ptz-auto-active_f)"><use _fill="#FFF" xlink:href="#svgicon_dcs-ptz-auto-active_g"/><use _fill="#000" filter="url(#svgicon_dcs-ptz-auto-active_h)" xlink:href="#svgicon_dcs-ptz-auto-active_g"/></g><ellipse pid="5" _fill="#FF7066" mask="url(#svgicon_dcs-ptz-auto-active_f)" cx="10.342" cy="14.164" rx="2.955" ry="2.982"/><ellipse pid="6" _fill="#FFF" mask="url(#svgicon_dcs-ptz-auto-active_f)" cx="10.342" cy="14.164" rx="1.477" ry="1.491"/><rect pid="7" _fill="url(#svgicon_dcs-ptz-auto-active_i)" width="20.685" height="5.964" rx="2"/><ellipse pid="8" _fill="#FFF" cx="18.099" cy="2.982" rx="1.108" ry="1.118"/><circle pid="9" _fill="#FFF" cx="14.775" cy="2.982" r="1"/></g></g>'}}),si.a.register({"dcs-ptz-auto-stop":{width:37,height:40,viewBox:"0 0 37 40",data:'<defs><linearGradient x1="49.998%" y1="96.778%" x2="49.998%" y2=".002%" id="svgicon_dcs-ptz-auto-stop_a"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><linearGradient x1="49.998%" y1="96.778%" x2="49.998%" y2=".002%" id="svgicon_dcs-ptz-auto-stop_d"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><linearGradient x1="94.743%" y1="53.34%" x2="5.988%" y2="46.912%" id="svgicon_dcs-ptz-auto-stop_i"><stop stop-color="#F0776F" offset="0%"/><stop stop-color="#F0656F" offset="50.32%"/><stop stop-color="#F0606F" offset="100%"/></linearGradient><filter x="-55.4%" y="-54.9%" width="210.8%" height="209.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-stop_b"><feGaussianBlur stdDeviation="3" in="SourceGraphic"/></filter><filter x="-31.2%" y="-268.3%" width="162.5%" height="636.6%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-stop_e"><feGaussianBlur stdDeviation="2" in="SourceGraphic"/></filter><filter x="-16.9%" y="-14.9%" width="133.8%" height="129.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto-stop_h"><feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"/><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"/><feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.688345357 0 0 0 0 0.667740091 0 0 0 1 0" in="shadowInnerInner1"/></filter><path pid="0" d="M3.477 1.49h13.73a2 2 0 012 2v7.027a8.865 8.865 0 11-17.73 0V3.491a2 2 0 012-2z" id="svgicon_dcs-ptz-auto-stop_c"/><path pid="1" d="M10.342 7.455a5.91 5.91 0 015.91 5.91v1.598a5.91 5.91 0 01-11.82 0v-1.599a5.91 5.91 0 015.91-5.91z" id="svgicon_dcs-ptz-auto-stop_g"/></defs><g transform="translate(1.378 .855)" _fill="none" fill-rule="evenodd"><ellipse pid="2" _stroke="#FFD1CE" stroke-width="2" _fill="#ECEEF0" cx="16.991" cy="17.145" rx="15.991" ry="16.145"/><g transform="translate(6.649 8.945)"><ellipse pid="3" _fill="url(#svgicon_dcs-ptz-auto-stop_a)" opacity=".496" filter="url(#svgicon_dcs-ptz-auto-stop_b)" cx="10.342" cy="11.927" rx="8.126" ry="8.2"/><mask id="svgicon_dcs-ptz-auto-stop_f" _fill="#fff"><use xlink:href="#svgicon_dcs-ptz-auto-stop_c"/></mask><use _fill="url(#svgicon_dcs-ptz-auto-stop_d)" xlink:href="#svgicon_dcs-ptz-auto-stop_c"/><rect pid="4" _fill="#AD2A22" filter="url(#svgicon_dcs-ptz-auto-stop_e)" mask="url(#svgicon_dcs-ptz-auto-stop_f)" x=".739" y="4.473" width="19.207" height="2.236" rx="1.118"/><g mask="url(#svgicon_dcs-ptz-auto-stop_f)"><use _fill="#FFF" xlink:href="#svgicon_dcs-ptz-auto-stop_g"/><use _fill="#000" filter="url(#svgicon_dcs-ptz-auto-stop_h)" xlink:href="#svgicon_dcs-ptz-auto-stop_g"/></g><ellipse pid="5" _fill="#FF7066" mask="url(#svgicon_dcs-ptz-auto-stop_f)" cx="10.342" cy="14.164" rx="2.955" ry="2.982"/><ellipse pid="6" _fill="#FFF" mask="url(#svgicon_dcs-ptz-auto-stop_f)" cx="10.342" cy="14.164" rx="1.477" ry="1.491"/><rect pid="7" _fill="url(#svgicon_dcs-ptz-auto-stop_i)" width="20.685" height="5.964" rx="2"/><ellipse pid="8" _fill="#FFF" cx="18.099" cy="2.982" rx="1.108" ry="1.118"/><circle pid="9" _fill="#FFF" cx="14.775" cy="2.982" r="1"/></g></g>'}}),si.a.register({"dcs-ptz-auto":{width:35,height:37,viewBox:"0 0 35 37",data:'<defs><linearGradient x1="99.103%" y1="31.213%" x2="23.047%" y2="91.193%" id="svgicon_dcs-ptz-auto_a"><stop stop-color="#6097FC" offset="0%"/><stop stop-color="#5558FD" offset="100%"/></linearGradient><linearGradient x1="86.742%" y1="86.963%" x2="9.49%" y2="18.089%" id="svgicon_dcs-ptz-auto_d"><stop stop-color="#473BDA" offset="0%"/><stop stop-color="#445EFF" offset="100%"/></linearGradient><linearGradient x1="96.142%" y1="45.844%" x2="3.204%" y2="53.201%" id="svgicon_dcs-ptz-auto_i"><stop stop-color="#75A3F7" offset="0%"/><stop stop-color="#1B65F0" offset="100%"/></linearGradient><filter x="-55.4%" y="-54.9%" width="210.8%" height="209.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto_b"><feGaussianBlur stdDeviation="3" in="SourceGraphic"/></filter><filter x="-31.2%" y="-268.3%" width="162.5%" height="636.6%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto_e"><feGaussianBlur stdDeviation="2" in="SourceGraphic"/></filter><filter x="-16.9%" y="-14.9%" width="133.8%" height="129.8%" filterUnits="objectBoundingBox" id="svgicon_dcs-ptz-auto_h"><feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"/><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"/><feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"/><feColorMatrix values="0 0 0 0 0.80007622 0 0 0 0 0.869988216 0 0 0 0 1 0 0 0 1 0" in="shadowInnerInner1"/></filter><path pid="0" d="M3.477 1.49h13.73a2 2 0 012 2v7.027a8.865 8.865 0 11-17.73 0V3.491a2 2 0 012-2z" id="svgicon_dcs-ptz-auto_c"/><path pid="1" d="M10.342 7.455a5.91 5.91 0 015.91 5.91v1.598a5.91 5.91 0 01-11.82 0v-1.599a5.91 5.91 0 015.91-5.91z" id="svgicon_dcs-ptz-auto_g"/></defs><g transform="translate(.378 .855)" _fill="none" fill-rule="evenodd"><ellipse pid="2" _stroke="#C1C6CE" stroke-width="2" _fill="#ECEEF0" cx="16.991" cy="17.145" rx="15.991" ry="16.145"/><g transform="translate(6.649 8.945)"><ellipse pid="3" _fill="url(#svgicon_dcs-ptz-auto_a)" opacity=".496" filter="url(#svgicon_dcs-ptz-auto_b)" cx="10.342" cy="11.927" rx="8.126" ry="8.2"/><mask id="svgicon_dcs-ptz-auto_f" _fill="#fff"><use xlink:href="#svgicon_dcs-ptz-auto_c"/></mask><use _fill="url(#svgicon_dcs-ptz-auto_d)" xlink:href="#svgicon_dcs-ptz-auto_c"/><rect pid="4" _fill="#0251E3" filter="url(#svgicon_dcs-ptz-auto_e)" mask="url(#svgicon_dcs-ptz-auto_f)" x=".739" y="4.473" width="19.207" height="2.236" rx="1.118"/><g mask="url(#svgicon_dcs-ptz-auto_f)"><use _fill="#FFF" xlink:href="#svgicon_dcs-ptz-auto_g"/><use _fill="#000" filter="url(#svgicon_dcs-ptz-auto_h)" xlink:href="#svgicon_dcs-ptz-auto_g"/></g><ellipse pid="5" _fill="#639BFF" mask="url(#svgicon_dcs-ptz-auto_f)" cx="10.342" cy="14.164" rx="2.955" ry="2.982"/><ellipse pid="6" _fill="#FFF" mask="url(#svgicon_dcs-ptz-auto_f)" cx="10.342" cy="14.164" rx="1.477" ry="1.491"/><rect pid="7" _fill="url(#svgicon_dcs-ptz-auto_i)" width="20.685" height="5.964" rx="2"/><ellipse pid="8" _fill="#FFF" cx="18.099" cy="2.982" rx="1.108" ry="1.118"/><circle pid="9" _fill="#FFF" cx="14.775" cy="2.982" r="1"/></g></g>'}}),si.a.register({"dcs-ptz":{width:14,height:14,viewBox:"0 0 14 14",data:'<defs><path pid="0" id="svgicon_dcs-ptz_a" d="M.001.01h13.991v13.366H.002z"/></defs><g _fill="none" fill-rule="evenodd"><mask id="svgicon_dcs-ptz_b" _fill="#fff"><use xlink:href="#svgicon_dcs-ptz_a"/></mask><path pid="1" d="M10.007.8v1.508H7.818V3h5.18v4.221h.73V8.73l-.73-.001v3.921H1L.999 8.73H0V7.223l.999-.001L1 3h5.213v-.692H4.001V.8h6.006zM5.304 6.929a1 1 0 10.001 2.001 1 1 0 000-2.001zm3.55 0a1 1 0 10.002 2.001 1 1 0 00-.001-2.001z" _fill="#FFF" mask="url(#svgicon_dcs-ptz_b)"/></g>'}}),si.a.register({"dcs-reconnect":{width:153,height:146,viewBox:"0 0 153 146",data:'<g _fill="none" fill-rule="evenodd"><path pid="0" d="M127 132a7 7 0 010 14H7a7 7 0 010-14h120zM126 0a8 8 0 018 8v106a8 8 0 01-8 8H8a8 8 0 01-8-8V8a8 8 0 018-8h118z" _fill="#444"/><circle pid="1" _fill="#777" cx="124" cy="117" r="29"/><path pid="2" d="M133.844 119.701h-6.547a.655.655 0 00-.654.654c0 .36.342.614.622.89l1.819 1.817a7.803 7.803 0 01-5.061 1.863c-3.892 0-7.114-2.831-7.738-6.538h-2.646c.646 5.159 5.043 9.153 10.384 9.153 2.656 0 5.076-.993 6.92-2.621l1.877 1.876c.352.353.662.752 1.024.752a.655.655 0 00.655-.654v-6.538c0-.079 0-.654-.655-.654zm-19.642-5.243h6.546a.655.655 0 00.655-.654c0-.36-.343-.615-.622-.89l-1.82-1.817a7.803 7.803 0 015.062-1.863c3.891 0 7.113 2.83 7.738 6.538h2.646c-.646-5.159-5.044-9.154-10.384-9.154-2.656 0-5.077.994-6.921 2.622l-1.876-1.876c-.353-.353-.663-.752-1.024-.752a.655.655 0 00-.655.654v6.538c0 .078 0 .654.655.654z" _fill="#CCC" fill-rule="nonzero"/><path pid="3" d="M88.69 68.155L54.577 85.211A8 8 0 0143 78.056V43.944a8 8 0 0111.578-7.155l34.111 17.056a8 8 0 010 14.31z" _fill="#666"/></g>'}}),si.a.register({"dcs-rewind":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M16.5 6.587a.5.5 0 01.5.5v9.826a.5.5 0 01-.825.38L12 13.714v3.199a.5.5 0 01-.069.253l-.051.072a.5.5 0 01-.705.055L5.443 12.38a.5.5 0 010-.76l5.732-4.913a.5.5 0 01.825.38v3.2l4.175-3.58a.5.5 0 01.237-.112z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-single-frame":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M8 6.5a1 1 0 00-1 1v9a1 1 0 002 0v-9a1 1 0 00-1-1zm3 .087a.5.5 0 00-.5.5v9.826a.5.5 0 00.825.38l5.732-4.913a.5.5 0 000-.76l-5.732-4.913a.5.5 0 00-.325-.12z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-snap":{width:35,height:35,viewBox:"0 0 35 35",data:'<g _fill="none" fill-rule="evenodd"><circle pid="0" _fill="#666" cx="17.5" cy="17.5" r="17.5"/><path pid="1" d="M17 11a1 1 0 011 1v1h6a1 1 0 011 1v9a1 1 0 01-1 1H11a1 1 0 01-1-1v-9a1 1 0 011-1h2v-1a1 1 0 011-1h3zm-.5 4a3.5 3.5 0 100 7 3.5 3.5 0 000-7zm0 1a2.5 2.5 0 110 5 2.5 2.5 0 010-5zm6.5-1h-2v1h2v-1z" _fill="#FFF"/></g>'}}),si.a.register({"dcs-stop":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M12 5a7 7 0 100 14 7 7 0 000-14zm0 2a5 5 0 110 10 5 5 0 010-10z" _fill="#FFF" fill-rule="nonzero"/>'}}),si.a.register({"dcs-video-error":{width:88,height:88,viewBox:"0 0 88 88",data:'<g _fill="none" fill-rule="evenodd"><path pid="0" d="M77.158 38.415c0-18.238-14.86-33.035-33.175-33.035-18.315 0-33.174 14.797-33.174 33.035 0 16.587 12.302 30.351 28.336 32.691l-.345 5.85H21.867v5.506H66.1v-5.506H49.305l-.345-5.85c15.965-2.408 28.198-16.104 28.198-32.69zm-33.175 27.53c-15.274 0-27.645-12.32-27.645-27.53s12.371-27.529 27.645-27.529c15.275 0 27.646 12.32 27.646 27.53S59.258 65.944 43.983 65.944zm0-48.177c-11.473 0-20.734 9.223-20.734 20.647 0 11.425 9.261 20.647 20.734 20.647 11.473 0 20.735-9.222 20.735-20.647 0-11.424-9.262-20.647-20.735-20.647z" _fill="#444" fill-rule="nonzero"/><path pid="1" d="M35.69 43.921c-4.562 0-8.294-3.716-8.294-8.259 0-4.542 3.732-8.258 8.294-8.258 4.561 0 8.293 3.716 8.293 8.258 0 4.543-3.732 8.26-8.293 8.26z" _fill="#666" fill-rule="nonzero"/><path pid="2" d="M65 54c-7.731 0-14 6.269-14 14s6.269 14 14 14 14-6.269 14-14-6.269-14-14-14zm5.169 19.319l-2.063-.01L65 69.606l-3.103 3.7-2.066.01a.249.249 0 01-.25-.25.26.26 0 01.06-.163l4.065-4.844-4.065-4.84a.25.25 0 01.19-.413l2.066.01L65 66.519l3.103-3.7 2.063-.01c.137 0 .25.11.25.25a.26.26 0 01-.06.163l-4.06 4.84 4.063 4.844a.25.25 0 01-.19.413z" _fill="#FF7066"/></g>'}}),si.a.register({"dcs-video-fullscreen":{width:24,height:24,viewBox:"0 0 24 24",data:'<path pid="0" d="M7.667 5.667h8.666a2 2 0 012 2v8.666a2 2 0 01-2 2H7.667a2 2 0 01-2-2V7.667a2 2 0 012-2zM13.333 8.5h1.46l-1.646 1.646a.5.5 0 10.707.708L15.5 9.207v1.46a.5.5 0 001 0V8a.495.495 0 00-.036-.182l-.002-.008a.501.501 0 00-.272-.272l-.008-.002A.492.492 0 0016 7.5h-2.667a.5.5 0 000 1zM7.5 16c0 .064.013.126.035.182l.003.008c.05.123.148.221.272.272l.007.002A.5.5 0 008 16.5h2.667a.5.5 0 000-1h-1.46l1.646-1.646a.5.5 0 10-.707-.707L8.5 14.793v-1.46a.5.5 0 00-1 0V16z" fill-rule="nonzero" _fill="#FFF"/>'}}),si.a.register({"dcs-video-record":{width:14,height:14,viewBox:"0 0 14 14",data:'<path pid="0" d="M9.267 4.667a1 1 0 011 1v6.4a1 1 0 01-1 1H1a1 1 0 01-1-1v-6.4a1 1 0 011-1h8.267zm4.47.552a.805.805 0 01.263.596v6.104a.805.805 0 01-1.4.541l-1.14-1.254a1 1 0 01-.26-.673V7.2a1 1 0 01.26-.673l1.14-1.254a.805.805 0 011.137-.054zM4.233 7.31a.5.5 0 00-.5.5v2.115a.5.5 0 00.724.448l2.115-1.058a.5.5 0 000-.895L4.457 7.362a.5.5 0 00-.224-.053zm2.3-5.442a.933.933 0 110 1.866H2.8a.933.933 0 110-1.866h3.733z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-video-snap":{width:14,height:14,viewBox:"0 0 14 14",data:'<path pid="0" d="M6.46.933a1 1 0 011 1V2.8h5.527a1 1 0 011 1v8.267a1 1 0 01-1 1H1a1 1 0 01-1-1V3.8a1 1 0 011-1h1.797v-.867a1 1 0 011-1H6.46zM6.06 4.667a3.265 3.265 0 00-3.264 3.266A3.265 3.265 0 006.061 11.2a3.265 3.265 0 003.264-3.267A3.265 3.265 0 006.06 4.667zm0 .933a2.332 2.332 0 012.331 2.333A2.332 2.332 0 116.061 5.6zm6.061-.933h-1.865V5.6h1.865v-.933z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-volume-close":{width:15,height:15,viewBox:"0 0 15 15",data:'<path pid="0" d="M9.429 6.736v5.74a1 1 0 01-1.728.686L5.425 10.74l4.004-4.004zm3.578-5.633c.174.174.2.436.075.621l-.054.066L2.38 12.438c-.184.184-.491.174-.686-.02a.493.493 0 01-.075-.622l.054-.065L12.32 1.083c.184-.184.491-.175.686.02zm-.976 3.032c.45.96.677 1.926.677 2.896 0 1.08-.281 2.156-.84 3.223l-.158.291-.814-.465c.586-1.025.875-2.04.875-3.049 0-.725-.15-1.452-.45-2.185l.71-.71zM9.115.857a1 1 0 01.315.729l-.001.907-7.761 7.763A1 1 0 011 9.312V4.75a1 1 0 011-1h2.683a1 1 0 01.296.044L7.701.901A1 1 0 019.115.857z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-volume":{width:15,height:15,viewBox:"0 0 15 15",data:'<path pid="0" d="M9.051.857a1 1 0 01.315.729v10.89a1 1 0 01-1.728.686l-2.721-2.894a1 1 0 01-.297.044H1.937a1 1 0 01-1-1V4.75a1 1 0 011-1H4.62a1 1 0 01.296.044L7.638.901A1 1 0 019.05.857zm2.595 2.66c.664 1.163.999 2.336.999 3.514 0 1.08-.282 2.156-.84 3.223l-.159.291-.813-.465c.585-1.025.875-2.04.875-3.049 0-.917-.24-1.839-.723-2.77l-.152-.278.813-.466z" _fill="#FFF" fill-rule="evenodd"/>'}}),si.a.register({"dcs-wait-play":{width:32,height:32,viewBox:"0 0 32 32",data:'<g _fill="none" fill-rule="evenodd"><circle pid="0" fill-opacity=".8" _fill="#292A31" cx="16" cy="16" r="14.857"/><path pid="1" d="M21.046 17.233l-6.735 4.515A1.484 1.484 0 0112 20.516v-9.032a1.484 1.484 0 012.31-1.233l6.736 4.516a1.484 1.484 0 010 2.466z" _fill="#FFF" fill-rule="nonzero"/></g>'}}),si.a.register({"dcs-zoom-out":{width:17,height:17,viewBox:"0 0 17 17",data:'<path pid="0" d="M7.615.8c3.68 0 6.654 3.094 6.654 6.9 0 1.725-.61 3.303-1.62 4.513l2.634 2.74a.5.5 0 01-.652.753l-.068-.06-2.61-2.713A6.49 6.49 0 017.615 14.6C3.936 14.6.962 11.506.962 7.7.962 3.894 3.936.8 7.615.8zm0 1c-3.118 0-5.653 2.637-5.653 5.9 0 3.263 2.535 5.9 5.653 5.9 3.118 0 5.654-2.637 5.654-5.9 0-3.263-2.536-5.9-5.654-5.9zm2.677 5.5a.4.4 0 110 .8H4.938a.4.4 0 110-.8h5.354z" _fill="#6D7587" fill-rule="nonzero"/>'}}),s.a.use(si.a);var li=function(e){e.component("LivePlayer",Kt),e.component("VodPlayer",Cr),e.component("VodLitePlayer",Vr),e.component("FilePlayer",ai)},ci={registere:li};t["default"]=ci},fb6a:function(e,t,n){"use strict";var r=n("23e7"),i=n("861d"),a=n("e8b5"),o=n("23cb"),s=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),d=n("1dde"),h=d("slice"),f=u("species"),p=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,u,d=l(this),h=s(d.length),y=o(e,h),v=o(void 0===t?h:t,h);if(a(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?i(n)&&(n=n[f],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return p.call(d,y,v);for(r=new(void 0===n?Array:n)(m(v-y,0)),u=0;y<v;y++,u++)y in d&&c(r,u,d[y]);return r.length=u,r}})},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fc9f:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".dcs-file-player-container-dark{background-color:#232323}.dcs-file-player-container-dark .dcs-camera-icon{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;fill:#444}.dcs-file-player-container-dark .dcs-camera-icon path+path{fill:#666}.dcs-file-player-container-dark .load-error-container{background:#232323}.dcs-file-player-container-dark .load-error-container .error-content .dcs-load-error-icon path{fill:#444}.dcs-file-player-container-dark .load-error-container .error-content .dcs-load-error-icon path+path{fill:#666}.dcs-file-player-container-dark .load-error-container .error-content .dcs-load-error-icon path:last-child{fill:#ff7066}.dcs-file-player-container-dark .load-error-container .error-tips{color:#b1b4c1}.dcs-file-player-container-dark .installation-inspection-container{background:#333;box-shadow:0 0 10px 0 #333}.dcs-file-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path{fill:#3b3b3b}.dcs-file-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path+path{fill:#444}.dcs-file-player-container-dark .installation-inspection-container .dcs-download-plugin-content .dcs-download-plugin-icon path:last-child{fill:#666}.dcs-file-player-container-dark .installation-inspection-container .dcs-download-plugin-content .download-tips{color:#fff}.dcs-file-player-container-dark .reconnect-tips-container{background:#333}.dcs-file-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path{fill:#444}.dcs-file-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle{fill:#777}.dcs-file-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon circle+path{fill:#ccc}.dcs-file-player-container-dark .reconnect-tips-container .dcs-reconnect-content .dcs-reconnect-icon path:last-child{fill:#666}.dcs-file-player-container-dark .reconnect-tips-container .dcs-reconnect-content .reconnect-tips{color:#ccc}.dcs-file-player-container-dark .player-load-error-container{background:#232323}.dcs-file-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path{fill:#444}.dcs-file-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle{fill:#777}.dcs-file-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon circle+path{fill:#ccc}.dcs-file-player-container-dark .player-load-error-container .load-error-content .dcs-player-load-error-icon path:last-child{fill:#666}.dcs-file-player-container-dark .player-load-error-container .load-error-content .error-tips{color:#ccc}",""]),e.exports=t},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},fdbc:function(e,t){e.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(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))}})}))},"93bf":function(e,t,n){
|
||
/*!
|
||
* screenfull
|
||
* v4.2.0 - 2019-04-01
|
||
* (c) Sindre Sorhus; MIT License
|
||
*/
|
||
(function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=e.exports,r="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,i=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,a={};r<i;r++)if(e=n[r],e&&e[1]in t){for(r=0;r<e.length;r++)a[n[0][r]]=e[r];return a}return!1}(),a={change:i.fullscreenchange,error:i.fullscreenerror},o={request:function(e){return new Promise(function(n){var a=i.requestFullscreen,o=function(){this.off("change",o),n()}.bind(this);e=e||t.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?e[a]():e[a](r?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",o)}.bind(this))},exit:function(){return new Promise(function(e){if(this.isFullscreen){var n=function(){this.off("change",n),e()}.bind(this);t[i.exitFullscreen](),this.on("change",n)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=a[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=a[e];r&&t.removeEventListener(r,n,!1)},raw:i};i?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[i.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(t[i.fullscreenEnabled])}}}),n?(e.exports=o,e.exports.default=o):window.screenfull=o):n?e.exports=!1:window.screenfull=!1})()},bab4:function(e,t,n){
|
||
/*!
|
||
* Cropper.js v1.5.12
|
||
* https://fengyuanchen.github.io/cropperjs
|
||
*
|
||
* Copyright 2015-present Chen Fengyuan
|
||
* Released under the MIT license
|
||
*
|
||
* Date: 2021-06-12T08:00:17.411Z
|
||
*/
|
||
(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return l(e)||c(e)||u(e)||h()}function l(e){if(Array.isArray(e))return d(e)}function c(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u(e,t){if(e){if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f="undefined"!==typeof window&&"undefined"!==typeof window.document,p=f?window:{},m=!(!f||!p.document.documentElement)&&"ontouchstart"in p.document.documentElement,y=!!f&&"PointerEvent"in p,v="cropper",g="all",_="crop",w="move",b="zoom",A="e",k="w",M="s",x="n",S="ne",L="nw",T="se",D="sw",E="".concat(v,"-crop"),C="".concat(v,"-disabled"),Y="".concat(v,"-hidden"),P="".concat(v,"-hide"),O="".concat(v,"-invisible"),I="".concat(v,"-modal"),R="".concat(v,"-move"),N="".concat(v,"Action"),F="".concat(v,"Preview"),j="crop",B="move",H="none",W="crop",z="cropend",U="cropmove",V="cropstart",G="dblclick",Q=m?"touchstart":"mousedown",J=m?"touchmove":"mousemove",q=m?"touchend touchcancel":"mouseup",K=y?"pointerdown":Q,X=y?"pointermove":J,Z=y?"pointerup pointercancel":q,$="ready",ee="resize",te="wheel",ne="zoom",re="image/jpeg",ie=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,ae=/^data:/,oe=/^data:image\/jpeg;base64,/,se=/^img|canvas$/i,le=200,ce=100,ue={viewMode:0,dragMode:j,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:le,minContainerHeight:ce,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},de='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',he=Number.isNaN||p.isNaN;function fe(e){return"number"===typeof e&&!he(e)}var pe=function(e){return e>0&&e<1/0};function me(e){return"undefined"===typeof e}function ye(e){return"object"===n(e)&&null!==e}var ve=Object.prototype.hasOwnProperty;function ge(e){if(!ye(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&ve.call(n,"isPrototypeOf")}catch(r){return!1}}function _e(e){return"function"===typeof e}var we=Array.prototype.slice;function be(e){return Array.from?Array.from(e):we.call(e)}function Ae(e,t){return e&&_e(t)&&(Array.isArray(e)||fe(e.length)?be(e).forEach((function(n,r){t.call(e,n,r,e)})):ye(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}))),e}var ke=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ye(e)&&n.length>0&&n.forEach((function(t){ye(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},Me=/\.\d*(?:0|9){12}\d*$/;function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return Me.test(e)?Math.round(e*t)/t:e}var Se=/^width|height|left|top|marginLeft|marginTop$/;function Le(e,t){var n=e.style;Ae(t,(function(e,t){Se.test(t)&&fe(e)&&(e="".concat(e,"px")),n[t]=e}))}function Te(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function De(e,t){if(t)if(fe(e.length))Ae(e,(function(e){De(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Ee(e,t){t&&(fe(e.length)?Ae(e,(function(e){Ee(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Ce(e,t,n){t&&(fe(e.length)?Ae(e,(function(e){Ce(e,t,n)})):n?De(e,t):Ee(e,t))}var Ye=/([a-z\d])([A-Z])/g;function Pe(e){return e.replace(Ye,"$1-$2").toLowerCase()}function Oe(e,t){return ye(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Pe(t)))}function Ie(e,t,n){ye(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Pe(t)),n)}function Re(e,t){if(ye(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Pe(t)))}var Ne=/\s\s*/,Fe=function(){var e=!1;if(f){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});p.addEventListener("test",n,r),p.removeEventListener("test",n,r)}return e}();function je(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(Ne).forEach((function(t){if(!Fe){var a=e.listeners;a&&a[t]&&a[t][n]&&(i=a[t][n],delete a[t][n],0===Object.keys(a[t]).length&&delete a[t],0===Object.keys(a).length&&delete e.listeners)}e.removeEventListener(t,i,r)}))}function Be(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(Ne).forEach((function(t){if(r.once&&!Fe){var a=e.listeners,o=void 0===a?{}:a;i=function(){delete o[t][n],e.removeEventListener(t,i,r);for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];n.apply(e,s)},o[t]||(o[t]={}),o[t][n]&&e.removeEventListener(t,o[t][n],r),o[t][n]=i,e.listeners=o}e.addEventListener(t,i,r)}))}function He(e,t,n){var r;return _e(Event)&&_e(CustomEvent)?r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!0,n)),e.dispatchEvent(r)}function We(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var ze=p.location,Ue=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Ve(e){var t=e.match(Ue);return null!==t&&(t[1]!==ze.protocol||t[2]!==ze.hostname||t[3]!==ze.port)}function Ge(e){var t="timestamp=".concat((new Date).getTime());return e+(-1===e.indexOf("?")?"?":"&")+t}function Qe(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,a=e.translateY,o=[];fe(i)&&0!==i&&o.push("translateX(".concat(i,"px)")),fe(a)&&0!==a&&o.push("translateY(".concat(a,"px)")),fe(t)&&0!==t&&o.push("rotate(".concat(t,"deg)")),fe(n)&&1!==n&&o.push("scaleX(".concat(n,")")),fe(r)&&1!==r&&o.push("scaleY(".concat(r,")"));var s=o.length?o.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function Je(e){var n=t({},e),r=0;return Ae(e,(function(e,t){delete n[t],Ae(n,(function(t){var n=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),a=Math.abs(e.endX-t.endX),o=Math.abs(e.endY-t.endY),s=Math.sqrt(n*n+i*i),l=Math.sqrt(a*a+o*o),c=(l-s)/s;Math.abs(c)>Math.abs(r)&&(r=c)}))})),r}function qe(e,n){var r=e.pageX,i=e.pageY,a={endX:r,endY:i};return n?a:t({startX:r,startY:i},a)}function Ke(e){var t=0,n=0,r=0;return Ae(e,(function(e){var i=e.startX,a=e.startY;t+=i,n+=a,r+=1})),t/=r,n/=r,{pageX:t,pageY:n}}function Xe(e){var t=e.aspectRatio,n=e.height,r=e.width,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",a=pe(r),o=pe(n);if(a&&o){var s=n*t;"contain"===i&&s>r||"cover"===i&&s<r?n=r/t:r=n*t}else a?n=r/t:o&&(r=n*t);return{width:r,height:n}}function Ze(e){var t=e.width,n=e.height,r=e.degree;if(r=Math.abs(r)%180,90===r)return{width:n,height:t};var i=r%90*Math.PI/180,a=Math.sin(i),o=Math.cos(i),s=t*o+n*a,l=t*a+n*o;return r>90?{width:l,height:s}:{width:s,height:l}}function $e(e,t,n,r){var i=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,l=t.rotate,c=void 0===l?0:l,u=t.scaleX,d=void 0===u?1:u,h=t.scaleY,f=void 0===h?1:h,p=n.aspectRatio,m=n.naturalWidth,y=n.naturalHeight,v=r.fillColor,g=void 0===v?"transparent":v,_=r.imageSmoothingEnabled,w=void 0===_||_,b=r.imageSmoothingQuality,A=void 0===b?"low":b,k=r.maxWidth,M=void 0===k?1/0:k,x=r.maxHeight,S=void 0===x?1/0:x,L=r.minWidth,T=void 0===L?0:L,D=r.minHeight,E=void 0===D?0:D,C=document.createElement("canvas"),Y=C.getContext("2d"),P=Xe({aspectRatio:p,width:M,height:S}),O=Xe({aspectRatio:p,width:T,height:E},"cover"),I=Math.min(P.width,Math.max(O.width,m)),R=Math.min(P.height,Math.max(O.height,y)),N=Xe({aspectRatio:i,width:M,height:S}),F=Xe({aspectRatio:i,width:T,height:E},"cover"),j=Math.min(N.width,Math.max(F.width,a)),B=Math.min(N.height,Math.max(F.height,o)),H=[-j/2,-B/2,j,B];return C.width=xe(I),C.height=xe(R),Y.fillStyle=g,Y.fillRect(0,0,I,R),Y.save(),Y.translate(I/2,R/2),Y.rotate(c*Math.PI/180),Y.scale(d,f),Y.imageSmoothingEnabled=w,Y.imageSmoothingQuality=A,Y.drawImage.apply(Y,[e].concat(s(H.map((function(e){return Math.floor(xe(e))}))))),Y.restore(),C}var et=String.fromCharCode;function tt(e,t,n){var r="";n+=t;for(var i=t;i<n;i+=1)r+=et(e.getUint8(i));return r}var nt=/^data:.*,/;function rt(e){var t=e.replace(nt,""),n=atob(t),r=new ArrayBuffer(n.length),i=new Uint8Array(r);return Ae(i,(function(e,t){i[t]=n.charCodeAt(t)})),r}function it(e,t){var n=[],r=8192,i=new Uint8Array(e);while(i.length>0)n.push(et.apply(null,be(i.subarray(0,r)))),i=i.subarray(r);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function at(e){var t,n=new DataView(e);try{var r,i,a;if(255===n.getUint8(0)&&216===n.getUint8(1)){var o=n.byteLength,s=2;while(s+1<o){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){i=s;break}s+=1}}if(i){var l=i+4,c=i+10;if("Exif"===tt(n,l,4)){var u=n.getUint16(c);if(r=18761===u,(r||19789===u)&&42===n.getUint16(c+2,r)){var d=n.getUint32(c+4,r);d>=8&&(a=c+d)}}}if(a){var h,f,p=n.getUint16(a,r);for(f=0;f<p;f+=1)if(h=a+12*f+2,274===n.getUint16(h,r)){h+=8,t=n.getUint16(h,r),n.setUint16(h,1,r);break}}}catch(m){t=1}return t}function ot(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:r}}var st={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,n=this.container,r=this.cropper,i=Number(t.minContainerWidth),a=Number(t.minContainerHeight);De(r,Y),Ee(e,Y);var o={width:Math.max(n.offsetWidth,i>=0?i:le),height:Math.max(n.offsetHeight,a>=0?a:ce)};this.containerData=o,Le(r,{width:o.width,height:o.height}),De(e,Y),Ee(r,Y)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180===90,i=r?t.naturalHeight:t.naturalWidth,a=r?t.naturalWidth:t.naturalHeight,o=i/a,s=e.width,l=e.height;e.height*o>e.width?3===n?s=e.height*o:l=e.width/o:3===n?l=e.width/o:s=e.height*o;var c={aspectRatio:o,naturalWidth:i,naturalHeight:a,width:s,height:l};this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(e.width-c.width)/2,c.top=(e.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=ke({},c)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=i.aspectRatio,l=this.cropped&&a;if(e){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(c=Math.max(c,r.width),u=Math.max(u,r.height),3===o&&(u*s>c?c=u*s:u=c/s)):o>0&&(c?c=Math.max(c,l?a.width:0):u?u=Math.max(u,l?a.height:0):l&&(c=a.width,u=a.height,u*s>c?c=u*s:u=c/s));var d=Xe({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,i.minWidth=c,i.minHeight=u,i.maxWidth=1/0,i.maxHeight=1/0}if(t)if(o>(l?0:1)){var h=r.width-i.width,f=r.height-i.height;i.minLeft=Math.min(0,h),i.minTop=Math.min(0,f),i.maxLeft=Math.max(0,h),i.maxTop=Math.max(0,f),l&&this.limited&&(i.minLeft=Math.min(a.left,a.left+(a.width-i.width)),i.minTop=Math.min(a.top,a.top+(a.height-i.height)),i.maxLeft=a.left,i.maxTop=a.top,2===o&&(i.width>=r.width&&(i.minLeft=Math.min(0,h),i.maxLeft=Math.max(0,h)),i.height>=r.height&&(i.minTop=Math.min(0,f),i.maxTop=Math.max(0,f))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var i=Ze({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),a=i.width,o=i.height,s=n.width*(a/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,Le(this.canvas,ke({width:n.width,height:n.height},Qe({translateX:n.left,translateY:n.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,n=this.imageData,r=n.naturalWidth*(t.width/t.naturalWidth),i=n.naturalHeight*(t.height/t.naturalHeight);ke(n,{width:r,height:i,left:(t.width-r)/2,top:(t.height-i)/2}),Le(this.image,ke({width:n.width,height:n.height},Qe(ke({translateX:n.left,translateY:n.top},n)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,n=e.aspectRatio||e.initialAspectRatio,r=Number(e.autoCropArea)||.8,i={width:t.width,height:t.height};n&&(t.height*n>t.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=t.left+(t.width-i.width)/2,i.top=t.top+(t.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=ke({},i)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=o?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,d=o?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;l=Math.min(l,r.width),c=Math.min(c,r.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),a.minWidth=Math.min(l,u),a.minHeight=Math.min(c,d),a.maxWidth=u,a.maxHeight=d}t&&(o?(a.minLeft=Math.max(0,i.left),a.minTop=Math.max(0,i.top),a.maxLeft=Math.min(r.width,i.left+i.width)-a.width,a.maxTop=Math.min(r.height,i.top+i.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=r.width-a.width,a.maxTop=r.height-a.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,e.movable&&e.cropBoxMovable&&Ie(this.face,N,n.width>=t.width&&n.height>=t.height?w:g),Le(this.cropBox,ke({width:n.width,height:n.height},Qe({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),He(this.element,W,this.getData())}},lt={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,r=t?this.crossOriginUrl:this.url,i=e.alt||"The image to preview",a=document.createElement("img");if(t&&(a.crossOrigin=t),a.src=r,a.alt=i,this.viewBox.appendChild(a),this.viewBoxImage=a,n){var o=n;"string"===typeof n?o=e.ownerDocument.querySelectorAll(n):n.querySelector&&(o=[n]),this.previews=o,Ae(o,(function(e){var n=document.createElement("img");Ie(e,F,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=r,n.alt=i,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)}))}},resetPreview:function(){Ae(this.previews,(function(e){var t=Oe(e,F);Le(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Re(e,F)}))},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,r=n.width,i=n.height,a=e.width,o=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(Le(this.viewBoxImage,ke({width:a,height:o},Qe(ke({translateX:-s,translateY:-l},e)))),Ae(this.previews,(function(t){var n=Oe(t,F),c=n.width,u=n.height,d=c,h=u,f=1;r&&(f=c/r,h=i*f),i&&h>u&&(f=u/i,d=r*f,h=u),Le(t,{width:d,height:h}),Le(t.getElementsByTagName("img")[0],ke({width:a*f,height:o*f},Qe(ke({translateX:-s*f,translateY:-l*f},e))))})))}},ct={bind:function(){var e=this.element,t=this.options,n=this.cropper;_e(t.cropstart)&&Be(e,V,t.cropstart),_e(t.cropmove)&&Be(e,U,t.cropmove),_e(t.cropend)&&Be(e,z,t.cropend),_e(t.crop)&&Be(e,W,t.crop),_e(t.zoom)&&Be(e,ne,t.zoom),Be(n,K,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&Be(n,te,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Be(n,G,this.onDblclick=this.dblclick.bind(this)),Be(e.ownerDocument,X,this.onCropMove=this.cropMove.bind(this)),Be(e.ownerDocument,Z,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&Be(window,ee,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;_e(t.cropstart)&&je(e,V,t.cropstart),_e(t.cropmove)&&je(e,U,t.cropmove),_e(t.cropend)&&je(e,z,t.cropend),_e(t.crop)&&je(e,W,t.crop),_e(t.zoom)&&je(e,ne,t.zoom),je(n,K,this.onCropStart),t.zoomable&&t.zoomOnWheel&&je(n,te,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&je(n,G,this.onDblclick),je(e.ownerDocument,X,this.onCropMove),je(e.ownerDocument,Z,this.onCropEnd),t.responsive&&je(window,ee,this.onResize)}},ut={resize:function(){if(!this.disabled){var e,t,n=this.options,r=this.container,i=this.containerData,a=r.offsetWidth/i.width,o=r.offsetHeight/i.height,s=Math.abs(a-1)>Math.abs(o-1)?a:o;if(1!==s)n.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(Ae(e,(function(t,n){e[n]=t*s}))),this.setCropBoxData(Ae(t,(function(e,n){t[n]=e*s}))))}},dblclick:function(){this.disabled||this.options.dragMode===H||this.setDragMode(Te(this.dragBox,E)?B:j)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(fe(t)&&1!==t||fe(n)&&0!==n||e.ctrlKey))){var r,i=this.options,a=this.pointers;e.changedTouches?Ae(e.changedTouches,(function(e){a[e.identifier]=qe(e)})):a[e.pointerId||0]=qe(e),r=Object.keys(a).length>1&&i.zoomable&&i.zoomOnTouch?b:Oe(e.target,N),ie.test(r)&&!1!==He(this.element,V,{originalEvent:e,action:r})&&(e.preventDefault(),this.action=r,this.cropping=!1,r===_&&(this.cropping=!0,De(this.dragBox,I)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==He(this.element,U,{originalEvent:e,action:t})&&(e.changedTouches?Ae(e.changedTouches,(function(e){ke(n[e.identifier]||{},qe(e,!0))})):ke(n[e.pointerId||0]||{},qe(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?Ae(e.changedTouches,(function(e){delete n[e.identifier]})):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Ce(this.dragBox,I,this.cropped&&this.options.modal)),He(this.element,z,{originalEvent:e,action:t}))}}},dt={change:function(e){var t,n=this.options,r=this.canvasData,i=this.containerData,a=this.cropBoxData,o=this.pointers,s=this.action,l=n.aspectRatio,c=a.left,u=a.top,d=a.width,h=a.height,f=c+d,p=u+h,m=0,y=0,v=i.width,E=i.height,C=!0;!l&&e.shiftKey&&(l=d&&h?d/h:1),this.limited&&(m=a.minLeft,y=a.minTop,v=m+Math.min(i.width,r.width,r.left+r.width),E=y+Math.min(i.height,r.height,r.top+r.height));var P=o[Object.keys(o)[0]],O={x:P.endX-P.startX,y:P.endY-P.startY},I=function(e){switch(e){case A:f+O.x>v&&(O.x=v-f);break;case k:c+O.x<m&&(O.x=m-c);break;case x:u+O.y<y&&(O.y=y-u);break;case M:p+O.y>E&&(O.y=E-p);break}};switch(s){case g:c+=O.x,u+=O.y;break;case A:if(O.x>=0&&(f>=v||l&&(u<=y||p>=E))){C=!1;break}I(A),d+=O.x,d<0&&(s=k,d=-d,c-=d),l&&(h=d/l,u+=(a.height-h)/2);break;case x:if(O.y<=0&&(u<=y||l&&(c<=m||f>=v))){C=!1;break}I(x),h-=O.y,u+=O.y,h<0&&(s=M,h=-h,u-=h),l&&(d=h*l,c+=(a.width-d)/2);break;case k:if(O.x<=0&&(c<=m||l&&(u<=y||p>=E))){C=!1;break}I(k),d-=O.x,c+=O.x,d<0&&(s=A,d=-d,c-=d),l&&(h=d/l,u+=(a.height-h)/2);break;case M:if(O.y>=0&&(p>=E||l&&(c<=m||f>=v))){C=!1;break}I(M),h+=O.y,h<0&&(s=x,h=-h,u-=h),l&&(d=h*l,c+=(a.width-d)/2);break;case S:if(l){if(O.y<=0&&(u<=y||f>=v)){C=!1;break}I(x),h-=O.y,u+=O.y,d=h*l}else I(x),I(A),O.x>=0?f<v?d+=O.x:O.y<=0&&u<=y&&(C=!1):d+=O.x,O.y<=0?u>y&&(h-=O.y,u+=O.y):(h-=O.y,u+=O.y);d<0&&h<0?(s=D,h=-h,d=-d,u-=h,c-=d):d<0?(s=L,d=-d,c-=d):h<0&&(s=T,h=-h,u-=h);break;case L:if(l){if(O.y<=0&&(u<=y||c<=m)){C=!1;break}I(x),h-=O.y,u+=O.y,d=h*l,c+=a.width-d}else I(x),I(k),O.x<=0?c>m?(d-=O.x,c+=O.x):O.y<=0&&u<=y&&(C=!1):(d-=O.x,c+=O.x),O.y<=0?u>y&&(h-=O.y,u+=O.y):(h-=O.y,u+=O.y);d<0&&h<0?(s=T,h=-h,d=-d,u-=h,c-=d):d<0?(s=S,d=-d,c-=d):h<0&&(s=D,h=-h,u-=h);break;case D:if(l){if(O.x<=0&&(c<=m||p>=E)){C=!1;break}I(k),d-=O.x,c+=O.x,h=d/l}else I(M),I(k),O.x<=0?c>m?(d-=O.x,c+=O.x):O.y>=0&&p>=E&&(C=!1):(d-=O.x,c+=O.x),O.y>=0?p<E&&(h+=O.y):h+=O.y;d<0&&h<0?(s=S,h=-h,d=-d,u-=h,c-=d):d<0?(s=T,d=-d,c-=d):h<0&&(s=L,h=-h,u-=h);break;case T:if(l){if(O.x>=0&&(f>=v||p>=E)){C=!1;break}I(A),d+=O.x,h=d/l}else I(M),I(A),O.x>=0?f<v?d+=O.x:O.y>=0&&p>=E&&(C=!1):d+=O.x,O.y>=0?p<E&&(h+=O.y):h+=O.y;d<0&&h<0?(s=L,h=-h,d=-d,u-=h,c-=d):d<0?(s=D,d=-d,c-=d):h<0&&(s=S,h=-h,u-=h);break;case w:this.move(O.x,O.y),C=!1;break;case b:this.zoom(Je(o),e),C=!1;break;case _:if(!O.x||!O.y){C=!1;break}t=We(this.cropper),c=P.startX-t.left,u=P.startY-t.top,d=a.minWidth,h=a.minHeight,O.x>0?s=O.y>0?T:S:O.x<0&&(c-=d,s=O.y>0?D:L),O.y<0&&(u-=h),this.cropped||(Ee(this.cropBox,Y),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}C&&(a.width=d,a.height=h,a.left=c,a.top=u,this.action=s,this.renderCropBox()),Ae(o,(function(e){e.startX=e.endX,e.startY=e.endY}))}},ht={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&De(this.dragBox,I),Ee(this.cropBox,Y),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=ke({},this.initialImageData),this.canvasData=ke({},this.initialCanvasData),this.cropBoxData=ke({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(ke(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ee(this.dragBox,I),De(this.cropBox,Y)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,Ae(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ee(this.cropper,C)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,De(this.cropper,C)),this},destroy:function(){var e=this.element;return e[v]?(e[v]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=n.left,i=n.top;return this.moveTo(me(e)?e:r+Number(e),me(t)?t:i+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(fe(e)&&(n.left=e,r=!0),fe(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,i=this.canvasData,a=i.width,o=i.height,s=i.naturalWidth,l=i.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&r.zoomable){var c=s*e,u=l*e;if(!1===He(this.element,ne,{ratio:e,oldRatio:a/s,originalEvent:n}))return this;if(n){var d=this.pointers,h=We(this.cropper),f=d&&Object.keys(d).length?Ke(d):{pageX:n.pageX,pageY:n.pageY};i.left-=(c-a)*((f.pageX-h.left-i.left)/a),i.top-=(u-o)*((f.pageY-h.top-i.top)/o)}else ge(t)&&fe(t.x)&&fe(t.y)?(i.left-=(c-a)*((t.x-i.left)/a),i.top-=(u-o)*((t.y-i.top)/o)):(i.left-=(c-a)/2,i.top-=(u-o)/2);i.width=c,i.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),fe(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,fe(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(fe(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(fe(e)&&(n.scaleX=e,r=!0),fe(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,r=this.imageData,i=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){e={x:a.left-i.left,y:a.top-i.top,width:a.width,height:a.height};var o=r.width/r.naturalWidth;if(Ae(e,(function(t,n){e[n]=t/o})),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=r.rotate||0),n.scalable&&(e.scaleX=r.scaleX||1,e.scaleY=r.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,r=this.canvasData,i={};if(this.ready&&!this.disabled&&ge(e)){var a=!1;t.rotatable&&fe(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,a=!0),t.scalable&&(fe(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,a=!0),fe(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;fe(e.x)&&(i.left=e.x*o+r.left),fe(e.y)&&(i.top=e.y*o+r.top),fe(e.width)&&(i.width=e.width*o),fe(e.height)&&(i.height=e.height*o),this.setCropBoxData(i)}return this},getContainerData:function(){return this.ready?ke({},this.containerData):{}},getImageData:function(){return this.sized?ke({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&Ae(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){t[n]=e[n]})),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&ge(e)&&(fe(e.left)&&(t.left=e.left),fe(e.top)&&(t.top=e.top),fe(e.width)?(t.width=e.width,t.height=e.width/n):fe(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,r=this.cropBoxData,i=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&ge(e)&&(fe(e.left)&&(r.left=e.left),fe(e.top)&&(r.top=e.top),fe(e.width)&&e.width!==r.width&&(t=!0,r.width=e.width),fe(e.height)&&e.height!==r.height&&(n=!0,r.height=e.height),i&&(t?r.height=r.width/i:n&&(r.width=r.height*i)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=$e(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(),i=r.x,a=r.y,o=r.width,l=r.height,c=n.width/Math.floor(t.naturalWidth);1!==c&&(i*=c,a*=c,o*=c,l*=c);var u=o/l,d=Xe({aspectRatio:u,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Xe({aspectRatio:u,width:e.minWidth||0,height:e.minHeight||0},"cover"),f=Xe({aspectRatio:u,width:e.width||(1!==c?n.width:o),height:e.height||(1!==c?n.height:l)}),p=f.width,m=f.height;p=Math.min(d.width,Math.max(h.width,p)),m=Math.min(d.height,Math.max(h.height,m));var y=document.createElement("canvas"),v=y.getContext("2d");y.width=xe(p),y.height=xe(m),v.fillStyle=e.fillColor||"transparent",v.fillRect(0,0,p,m);var g=e.imageSmoothingEnabled,_=void 0===g||g,w=e.imageSmoothingQuality;v.imageSmoothingEnabled=_,w&&(v.imageSmoothingQuality=w);var b,A,k,M,x,S,L=n.width,T=n.height,D=i,E=a;D<=-o||D>L?(D=0,b=0,k=0,x=0):D<=0?(k=-D,D=0,b=Math.min(L,o+D),x=b):D<=L&&(k=0,b=Math.min(o,L-D),x=b),b<=0||E<=-l||E>T?(E=0,A=0,M=0,S=0):E<=0?(M=-E,E=0,A=Math.min(T,l+E),S=A):E<=T&&(M=0,A=Math.min(l,T-E),S=A);var C=[D,E,b,A];if(x>0&&S>0){var Y=p/o;C.push(k*Y,M*Y,x*Y,S*Y)}return v.drawImage.apply(v,[n].concat(s(C.map((function(e){return Math.floor(xe(e))}))))),y},setAspectRatio:function(e){var t=this.options;return this.disabled||me(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var i=e===j,a=t.movable&&e===B;e=i||a?e:H,t.dragMode=e,Ie(n,N,e),Ce(n,E,i),Ce(n,R,a),t.cropBoxMovable||(Ie(r,N,e),Ce(r,E,i),Ce(r,R,a))}return this}},ft=p.Cropper,pt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),!t||!se.test(t.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=ke({},ue,ge(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return a(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[v]){if(t[v]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,r=this.options;if(r.rotatable||r.scalable||(r.checkOrientation=!1),r.checkOrientation&&window.ArrayBuffer)if(ae.test(e))oe.test(e)?this.read(rt(e)):this.clone();else{var i=new XMLHttpRequest,a=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=a,i.onerror=a,i.ontimeout=a,i.onprogress=function(){i.getResponseHeader("content-type")!==re&&i.abort()},i.onload=function(){t.read(i.response)},i.onloadend=function(){t.reloading=!1,t.xhr=null},r.checkCrossOrigin&&Ve(e)&&n.crossOrigin&&(e=Ge(e)),i.open("GET",e,!0),i.responseType="arraybuffer",i.withCredentials="use-credentials"===n.crossOrigin,i.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,r=at(e),i=0,a=1,o=1;if(r>1){this.url=it(e,re);var s=ot(r);i=s.rotate,a=s.scaleX,o=s.scaleY}t.rotatable&&(n.rotate=i),t.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&Ve(t)&&(n||(n="anonymous"),r=Ge(t)),this.crossOrigin=n,this.crossOriginUrl=r;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=r||t,i.alt=e.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),De(i,P),e.parentNode.insertBefore(i,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=p.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(p.navigator.userAgent),r=function(t,n){ke(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=ke({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var i=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){r(i.width,i.height),n||a.removeChild(i)},i.src=t.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(i))}else r(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,i=document.createElement("div");i.innerHTML=de;var a=i.querySelector(".".concat(v,"-container")),o=a.querySelector(".".concat(v,"-canvas")),s=a.querySelector(".".concat(v,"-drag-box")),l=a.querySelector(".".concat(v,"-crop-box")),c=l.querySelector(".".concat(v,"-face"));this.container=r,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=a.querySelector(".".concat(v,"-view-box")),this.face=c,o.appendChild(n),De(e,Y),r.insertBefore(a,e.nextSibling),this.isImg||Ee(n,P),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,De(l,Y),t.guides||De(l.getElementsByClassName("".concat(v,"-dashed")),Y),t.center||De(l.getElementsByClassName("".concat(v,"-center")),Y),t.background&&De(a,"".concat(v,"-bg")),t.highlight||De(c,O),t.cropBoxMovable&&(De(c,R),Ie(c,N,g)),t.cropBoxResizable||(De(l.getElementsByClassName("".concat(v,"-line")),Y),De(l.getElementsByClassName("".concat(v,"-point")),Y)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),_e(t.ready)&&Be(e,$,t.ready,{once:!0}),He(e,$)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Ee(this.element,Y))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=ft,e}},{key:"setDefaults",value:function(e){ke(ue,ge(e)&&e)}}]),e}();return ke(pt.prototype,st,lt,ct,ut,dt,ht),pt}))},c53a:function(e,t,n){(function(t,r){e.exports=r(n("2930"),n("0563"),n("3a44"))})("undefined"!==typeof self&&self,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var r=n("342f"),i=r.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"0538":function(e,t,n){"use strict";var r=n("1c0b"),i=n("861d"),a=[].slice,o={},s=function(e,t,n){if(!(t in o)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";o[t]=Function("C,a","return new C("+r.join(",")+")")}return o[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),o=function(){var r=n.concat(a.call(arguments));return this instanceof o?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(o.prototype=t.prototype),o}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("a04b"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=s(t),c)try{return u(e,t)}catch(n){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},"0b25":function(e,t,n){var r=n("a691"),i=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0b42":function(e,t,n){var r=n("861d"),i=n("e8b5"),a=n("b622"),o=a("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)?r(t)&&(t=t[o],null===t&&(t=void 0)):t=void 0),void 0===t?Array:t}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),a=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1448:function(e,t,n){var r=n("dfb9"),i=n("b6b7");e.exports=function(e,t){return r(i(e),t)}},"145e":function(e,t,n){"use strict";var r=n("7b0b"),i=n("23cb"),a=n("50c4"),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n.length),l=i(e,s),c=i(t,s),u=arguments.length>2?arguments[2]:void 0,d=o((void 0===u?s:i(u,s))-c,s-l),h=1;c<l&&l<c+d&&(h=-1,c+=d-1,l+=d-1);while(d-- >0)c in n?n[l]=n[c]:delete n[l],l+=h,c+=h;return n}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("785a"),o=n("17c2"),s=n("9112"),l=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var c in i)l(r[c]&&r[c].prototype);l(a)},"170b":function(e,t,n){"use strict";var r=n("ebb5"),i=n("50c4"),a=n("23cb"),o=n("b6b7"),s=r.aTypedArray,l=r.exportTypedArrayMethod;l("subarray",(function(e,t){var n=s(this),r=n.length,l=a(e,r),c=o(n);return new c(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,i((void 0===t?r:a(t,r))-l))}))},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),a=i("forEach");e.exports=a?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,n){var r=n("f8cd");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),a=n("2d00"),o=i("species");e.exports=function(e){return a>=51||!r((function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"219c":function(e,t,n){"use strict";var r=n("ebb5"),i=n("da84"),a=n("d039"),o=n("1c0b"),s=n("50c4"),l=n("addb"),c=n("04d1"),u=n("d998"),d=n("2d00"),h=n("512c"),f=r.aTypedArray,p=r.exportTypedArrayMethod,m=i.Uint16Array,y=m&&m.prototype.sort,v=!!y&&!a((function(){var e=new m(2);e.sort(null),e.sort({})})),g=!!y&&!a((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(h)return h<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})),_=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};p("sort",(function(e){var t=this;if(void 0!==e&&o(e),g)return y.call(t,e);f(t);var n,r=s(t.length),i=Array(r);for(n=0;n<r;n++)i[n]=t[n];for(i=l(t,_(e)),n=0;n<r;n++)t[n]=i[n];return t}),!g||v)},2266:function(e,t,n){var r=n("825a"),i=n("e95a"),a=n("50c4"),o=n("0366"),s=n("9a1f"),l=n("35a1"),c=n("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,h,f,p,m,y,v,g=n&&n.that,_=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),A=o(t,g,1+_+b),k=function(e){return d&&c(d,"normal",e),new u(!0,e)},M=function(e){return _?(r(e),b?A(e[0],e[1],k):A(e[0],e[1])):b?A(e,k):A(e)};if(w)d=e;else{if(h=l(e),"function"!=typeof h)throw TypeError("Target is not iterable");if(i(h)){for(f=0,p=a(e.length);p>f;f++)if(m=M(e[f]),m&&m instanceof u)return m;return new u(!1)}d=s(e,h)}y=d.next;while(!(v=y.call(d)).done){try{m=M(v.value)}catch(x){c(d,"throw",x)}if("object"==typeof m&&m&&m instanceof u)return m}return new u(!1)}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,a=n("9112"),o=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,h,f,p,m=e.target,y=e.global,v=e.stat;if(u=y?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=i(u,d),h=p&&p.value):h=u[d],n=c(y?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f===typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&a(f,"sham",!0),o(u,d,f,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},"25a1":function(e,t,n){"use strict";var r=n("ebb5"),i=n("d58f").right,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduceRight",(function(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),a=n("b622"),o=n("83ab"),s=a("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2954:function(e,t,n){"use strict";var r=n("ebb5"),i=n("b6b7"),a=n("d039"),o=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].slice,c=a((function(){new Int8Array(1).slice()}));s("slice",(function(e,t){var n=l.call(o(this),e,t),r=i(this),a=0,s=n.length,c=new r(s);while(s>a)c[a]=n[a++];return c}),c)},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e,t,n){var i,a;r(e);try{if(i=e["return"],void 0===i){if("throw"===t)throw n;return n}i=i.call(e)}catch(o){a=!0,i=o}if("throw"===t)throw n;if(a)throw i;return r(i),n}},"2cf4":function(e,t,n){var r,i,a,o,s=n("da84"),l=n("d039"),c=n("0366"),u=n("1be4"),d=n("cc12"),h=n("1cdc"),f=n("605d"),p=s.setImmediate,m=s.clearImmediate,y=s.process,v=s.MessageChannel,g=s.Dispatch,_=0,w={},b="onreadystatechange";try{r=s.location}catch(S){}var A=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){A(e)}},M=function(e){A(e.data)},x=function(e){s.postMessage(String(e),r.protocol+"//"+r.host)};p&&m||(p=function(e){var t=[],n=arguments.length,r=1;while(n>r)t.push(arguments[r++]);return w[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},i(_),_},m=function(e){delete w[e]},f?i=function(e){y.nextTick(k(e))}:g&&g.now?i=function(e){g.now(k(e))}:v&&!h?(a=new v,o=a.port2,a.port1.onmessage=M,i=c(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&r&&"file:"!==r.protocol&&!l(x)?(i=x,s.addEventListener("message",M,!1)):i=b in d("script")?function(e){u.appendChild(d("script"))[b]=function(){u.removeChild(this),A(e)}}:function(e){setTimeout(k(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,a=n("da84"),o=n("342f"),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?(r=u.split("."),i=r[0]<4?1:r[0]+r[1]):o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},3280:function(e,t,n){"use strict";var r=n("ebb5"),i=n("e58c"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",(function(e){return i.apply(a(this),arguments)}))},3410:function(e,t,n){var r=n("23e7"),i=n("d039"),a=n("7b0b"),o=n("e163"),s=n("e177"),l=i((function(){o(1)}));r({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),a=n("b622"),o=a("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),a=n("825a"),o=n("df75");e.exports=r?Object.defineProperties:function(e,t){a(e);var n,r=o(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"3a7b":function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").findIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c5d":function(e,t,n){"use strict";var r=n("ebb5"),i=n("50c4"),a=n("182d"),o=n("7b0b"),s=n("d039"),l=r.aTypedArray,c=r.exportTypedArrayMethod,u=s((function(){new Int8Array(1).set({})}));c("set",(function(e){l(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=o(e),s=i(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");while(c<s)this[t+c]=r[c++]}),u)},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("577e"),a=n("69f3"),o=n("7dd0"),s="String Iterator",l=a.set,c=a.getterFor(s);o(String,"String",(function(e){l(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").map,a=n("b6b7"),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("map",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(e))(t)}))}))},"3fe7":function(t,n){t.exports=e},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),a=n("9bf2"),o=r("unscopables"),s=Array.prototype;void 0==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),a=n("b622"),o=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},"485a":function(e,t,n){var r=n("861d");e.exports=function(e,t){var n,i;if("string"===t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if("string"!==t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},4930:function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4ae1":function(e,t,n){var r=n("23e7"),i=n("d066"),a=n("1c0b"),o=n("825a"),s=n("861d"),l=n("7c73"),c=n("0538"),u=n("d039"),d=i("Reflect","construct"),h=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),f=!u((function(){d((function(){}))})),p=h||f;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){a(e),o(t);var n=arguments.length<3?e:a(arguments[2]);if(f&&!h)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var i=n.prototype,u=l(s(i)?i:Object.prototype),p=Function.apply.call(e,u,t);return s(p)?p:u}})},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),a=n("23cb"),o=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,a=n("1dde"),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),i=n("7b0b"),a=n("9bdd"),o=n("e95a"),s=n("50c4"),l=n("8418"),c=n("9a1f"),u=n("35a1");e.exports=function(e){var t,n,d,h,f,p,m=i(e),y="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,_=void 0!==g,w=u(m),b=0;if(_&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==w||y==Array&&o(w))for(t=s(m.length),n=new y(t);t>b;b++)p=_?g(m[b],b):m[b],l(n,b,p);else for(h=c(m,w),f=h.next,n=new y;!(d=f.call(h)).done;b++)p=_?a(h,g,[d.value,b],!0):d.value,l(n,b,p);return n.length=b,n}},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"512c":function(e,t,n){var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},5135:function(e,t,n){var r=n("7b0b"),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.17.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),a=n("7418"),o=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},"577e":function(e,t,n){var r=n("d9b5");e.exports=function(e){if(r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cc6":function(e,t,n){var r=n("74e8");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"5d41":function(e,t,n){var r=n("23e7"),i=n("861d"),a=n("825a"),o=n("c60d"),s=n("06cf"),l=n("e163");function c(e,t){var n,r,u=arguments.length<3?e:arguments[2];return a(e)===u?e[t]:(n=s.f(e,t),n?o(n)?n.value:void 0===n.get?void 0:n.get.call(u):i(r=l(e))?c(r,t,u):void 0)}r({target:"Reflect",stat:!0},{get:c})},"5e89":function(e,t,n){var r=n("861d"),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},"5f96":function(e,t,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=[].join;a("join",(function(e){return o.apply(i(this),arguments)}))},"605d":function(e,t,n){var r=n("c6b6"),i=n("da84");e.exports="process"==r(i.process)},6069:function(e,t){e.exports="object"==typeof window},"60bd":function(e,t,n){"use strict";var r=n("da84"),i=n("ebb5"),a=n("e260"),o=n("b622"),s=o("iterator"),l=r.Uint8Array,c=a.values,u=a.keys,d=a.entries,h=i.aTypedArray,f=i.exportTypedArrayMethod,p=l&&l.prototype[s],m=!!p&&("values"==p.name||void 0==p.name),y=function(){return c.call(h(this))};f("entries",(function(){return d.call(h(this))})),f("keys",(function(){return u.call(h(this))})),f("values",y,!m),f(s,y,!m)},"621a":function(e,t,n){"use strict";var r=n("da84"),i=n("83ab"),a=n("a981"),o=n("9112"),s=n("e2cc"),l=n("d039"),c=n("19aa"),u=n("a691"),d=n("50c4"),h=n("0b25"),f=n("77a7"),p=n("e163"),m=n("d2bb"),y=n("241c").f,v=n("9bf2").f,g=n("81d5"),_=n("d44e"),w=n("69f3"),b=w.get,A=w.set,k="ArrayBuffer",M="DataView",x="prototype",S="Wrong length",L="Wrong index",T=r[k],D=T,E=r[M],C=E&&E[x],Y=Object.prototype,P=r.RangeError,O=f.pack,I=f.unpack,R=function(e){return[255&e]},N=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},j=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return O(e,23,4)},H=function(e){return O(e,52,8)},W=function(e,t){v(e[x],t,{get:function(){return b(this)[t]}})},z=function(e,t,n,r){var i=h(n),a=b(e);if(i+t>a.byteLength)throw P(L);var o=b(a.buffer).bytes,s=i+a.byteOffset,l=o.slice(s,s+t);return r?l:l.reverse()},U=function(e,t,n,r,i,a){var o=h(n),s=b(e);if(o+t>s.byteLength)throw P(L);for(var l=b(s.buffer).bytes,c=o+s.byteOffset,u=r(+i),d=0;d<t;d++)l[c+d]=u[a?d:t-d-1]};if(a){if(!l((function(){T(1)}))||!l((function(){new T(-1)}))||l((function(){return new T,new T(1.5),new T(NaN),T.name!=k}))){D=function(e){return c(this,D),new T(h(e))};for(var V,G=D[x]=T[x],Q=y(T),J=0;Q.length>J;)(V=Q[J++])in D||o(D,V,T[V]);G.constructor=D}m&&p(C)!==Y&&m(C,Y);var q=new E(new D(2)),K=C.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||s(C,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){c(this,D,k);var t=h(e);A(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},E=function(e,t,n){c(this,E,M),c(e,D,M);var r=b(e).byteLength,a=u(t);if(a<0||a>r)throw P("Wrong offset");if(n=void 0===n?r-a:d(n),a+n>r)throw P(S);A(this,{buffer:e,byteLength:n,byteOffset:a}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=a)},i&&(W(D,"byteLength"),W(E,"buffer"),W(E,"byteLength"),W(E,"byteOffset")),s(E[x],{getInt8:function(e){return z(this,1,e)[0]<<24>>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return j(z(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return j(z(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return I(z(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return I(z(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,R,t)},setUint8:function(e,t){U(this,1,e,R,t)},setInt16:function(e,t){U(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,H,t,arguments.length>2?arguments[2]:void 0)}});_(D,k),_(E,M),e.exports={ArrayBuffer:D,DataView:E}},"649e":function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").some,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},6547:function(e,t,n){var r=n("a691"),i=n("577e"),a=n("1d80"),o=function(e){return function(t,n){var o,s,l=i(a(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(o=l.charCodeAt(c),o<55296||o>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):o:e?l.slice(c,c+2):s-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,n){var r=n("0b42");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"69f3":function(e,t,n){var r,i,a,o=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("c6cd"),h=n("f772"),f=n("d012"),p="Object already initialized",m=s.WeakMap,y=function(e){return a(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(o||d.state){var g=d.state||(d.state=new m),_=g.get,w=g.has,b=g.set;r=function(e,t){if(w.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},i=function(e){return _.call(g,e)||{}},a=function(e){return w.call(g,e)}}else{var A=h("state");f[A]=!0,r=function(e,t){if(u(e,A))throw new TypeError(p);return t.facade=e,c(e,A,t),t},i=function(e){return u(e,A)?e[A]:{}},a=function(e){return u(e,A)}}e.exports={set:r,get:i,has:a,enforce:y,getterFor:v}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),a=n("5135"),o=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),l=u(n),l.source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!f&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7037:function(e,t,n){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),r(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),e.exports=r,e.exports["default"]=e.exports,e.exports.__esModule=!0},7156:function(e,t,n){var r=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var a,o;return i&&"function"==typeof(a=t.constructor)&&a!==n&&r(o=a.prototype)&&o!==n.prototype&&i(e,o),e}},"72f7":function(e,t,n){"use strict";var r=n("ebb5").exportTypedArrayMethod,i=n("d039"),a=n("da84"),o=a.Uint8Array,s=o&&o.prototype||{},l=[].toString,c=[].join;i((function(){l.call({})}))&&(l=function(){return c.call(this)});var u=s.toString!=l;r("toString",l,u)},"735e":function(e,t,n){"use strict";var r=n("ebb5"),i=n("81d5"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("fill",(function(e){return i.apply(a(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),i=n("5135"),a=n("e538"),o=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},"74e8":function(e,t,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("83ab"),o=n("8aa7"),s=n("ebb5"),l=n("621a"),c=n("19aa"),u=n("5c6c"),d=n("9112"),h=n("5e89"),f=n("50c4"),p=n("0b25"),m=n("182d"),y=n("a04b"),v=n("5135"),g=n("f5df"),_=n("861d"),w=n("d9b5"),b=n("7c73"),A=n("d2bb"),k=n("241c").f,M=n("a078"),x=n("b727").forEach,S=n("2626"),L=n("9bf2"),T=n("06cf"),D=n("69f3"),E=n("7156"),C=D.get,Y=D.set,P=L.f,O=T.f,I=Math.round,R=i.RangeError,N=l.ArrayBuffer,F=l.DataView,j=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_CONSTRUCTOR,H=s.TYPED_ARRAY_TAG,W=s.TypedArray,z=s.TypedArrayPrototype,U=s.aTypedArrayConstructor,V=s.isTypedArray,G="BYTES_PER_ELEMENT",Q="Wrong length",J=function(e,t){var n=0,r=t.length,i=new(U(e))(r);while(r>n)i[n]=t[n++];return i},q=function(e,t){P(e,t,{get:function(){return C(this)[t]}})},K=function(e){var t;return e instanceof N||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},X=function(e,t){return V(e)&&!w(t)&&t in e&&h(+t)&&t>=0},Z=function(e,t){return t=y(t),X(e,t)?u(2,e[t]):O(e,t)},$=function(e,t,n){return t=y(t),!(X(e,t)&&_(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?P(e,t,n):(e[t]=n.value,e)};a?(j||(T.f=Z,L.f=$,q(z,"buffer"),q(z,"byteOffset"),q(z,"byteLength"),q(z,"length")),r({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:Z,defineProperty:$}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,h=i[s],y=h,v=y&&y.prototype,g={},w=function(e,t){var n=C(e);return n.view[l](t*a+n.byteOffset,!0)},L=function(e,t,r){var i=C(e);n&&(r=(r=I(r))<0?0:r>255?255:255&r),i.view[u](t*a+i.byteOffset,r,!0)},T=function(e,t){P(e,t,{get:function(){return w(this,t)},set:function(e){return L(this,t,e)},enumerable:!0})};j?o&&(y=t((function(e,t,n,r){return c(e,y,s),E(function(){return _(t)?K(t)?void 0!==r?new h(t,m(n,a),r):void 0!==n?new h(t,m(n,a)):new h(t):V(t)?J(y,t):M.call(y,t):new h(p(t))}(),e,y)})),A&&A(y,W),x(k(h),(function(e){e in y||d(y,e,h[e])})),y.prototype=v):(y=t((function(e,t,n,r){c(e,y,s);var i,o,l,u=0,d=0;if(_(t)){if(!K(t))return V(t)?J(y,t):M.call(y,t);i=t,d=m(n,a);var h=t.byteLength;if(void 0===r){if(h%a)throw R(Q);if(o=h-d,o<0)throw R(Q)}else if(o=f(r)*a,o+d>h)throw R(Q);l=o/a}else l=p(t),o=l*a,i=new N(o);Y(e,{buffer:i,byteOffset:d,byteLength:o,length:l,view:new F(i)});while(u<l)T(e,u++)})),A&&A(y,W),v=y.prototype=b(z)),v.constructor!==y&&d(v,"constructor",y),d(v,B,y),H&&d(v,H,s),g[s]=y,r({global:!0,forced:y!=h,sham:!j},g),G in y||d(y,G,a),G in v||d(v,G,a),S(s)}):e.exports=function(){}},"77a7":function(e,t){var n=Math.abs,r=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2,s=function(e,t,s){var l,c,u,d=new Array(s),h=8*s-t-1,f=(1<<h)-1,p=f>>1,m=23===t?r(2,-24)-r(2,-77):0,y=e<0||0===e&&1/e<0?1:0,v=0;for(e=n(e),e!=e||e===1/0?(c=e!=e?1:0,l=f):(l=i(a(e)/o),e*(u=r(2,-l))<1&&(l--,u*=2),e+=l+p>=1?m/u:m*r(2,1-p),e*u>=2&&(l++,u/=2),l+p>=f?(c=0,l=f):l+p>=1?(c=(e*u-1)*r(2,t),l+=p):(c=e*r(2,p-1)*r(2,t),l=0));t>=8;d[v++]=255&c,c/=256,t-=8);for(l=l<<t|c,h+=t;h>0;d[v++]=255&l,l/=256,h-=8);return d[--v]|=128*y,d},l=function(e,t){var n,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,l=a-7,c=i-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(n=d&(1<<-l)-1,d>>=-l,l+=t;l>0;n=256*n+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===o)return n?NaN:u?-1/0:1/0;n+=r(2,t),d-=s}return(u?-1:1)*n*r(2,d-t)};e.exports={pack:s,unpack:l}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){var r=n("cc12"),i=r("span").classList,a=i&&i.constructor&&i.constructor.prototype;e.exports=a===Object.prototype?void 0:a},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),a=n("37e8"),o=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=">",h="<",f="prototype",p="script",m=u("IE_PROTO"),y=function(){},v=function(e){return h+p+d+e+h+"/"+p+d},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=c("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&r?g(r):_():g(r);var e=o.length;while(e--)delete w[f][o[e]];return w()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(y[f]=i(e),n=new y,y[f]=null,n[m]=e):n=w(),void 0===t?n:a(n,t)}},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),i=n("9ed3"),a=n("e163"),o=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),h=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,y=u("iterator"),v="keys",g="values",_="entries",w=function(){return this};e.exports=function(e,t,n,u,f,b,A){i(n,t,u);var k,M,x,S=function(e){if(e===f&&C)return C;if(!m&&e in D)return D[e];switch(e){case v:return function(){return new n(this,e)};case g:return function(){return new n(this,e)};case _:return function(){return new n(this,e)}}return function(){return new n(this)}},L=t+" Iterator",T=!1,D=e.prototype,E=D[y]||D["@@iterator"]||f&&D[f],C=!m&&E||S(f),Y="Array"==t&&D.entries||E;if(Y&&(k=a(Y.call(new e)),k!==Object.prototype&&k.next&&(d||a(k)===p||(o?o(k,p):"function"!=typeof k[y]&&l(k,y,w)),s(k,L,!0,!0),d&&(h[L]=w))),f==g&&E&&E.name!==g&&(T=!0,C=function(){return E.call(this)}),d&&!A||D[y]===C||l(D,y,C),h[t]=C,f)if(M={values:S(g),keys:b?C:S(v),entries:S(_)},A)for(x in M)(m||T||!(x in D))&&c(D,x,M[x]);else r({target:t,proto:!0,forced:m||T},M);return M}},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),a=r.WeakMap;e.exports="function"===typeof a&&/native code/.test(i(a))},"81d5":function(e,t,n){"use strict";var r=n("7b0b"),i=n("23cb"),a=n("50c4");e.exports=function(e){var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);while(c>s)t[s++]=e;return t}},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"82f8":function(e,t,n){"use strict";var r=n("ebb5"),i=n("4d64").includes,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("a04b"),i=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},"84c3":function(e,t,n){var r=n("74e8");r("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,r,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(f.stack)||o.exec(f.stack),l=s&&s[1]||!1,c=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<d.length;h++){if("interactive"===d[h].readyState)return d[h];if(d[h].src===l)return d[h];if(l===u&&d[h].innerHTML&&d[h].innerHTML.trim()===i)return d[h]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"8aa7":function(e,t,n){var r=n("da84"),i=n("d039"),a=n("1c7e"),o=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!o||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!a((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||i((function(){return 1!==new l(new s(2),1,void 0).length}))},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),a=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(Y){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),o=new D(r||[]);return a._invoke=x(e,n,o),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(Y){return{type:"throw",arg:Y}}}e.wrap=c;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={};function y(){}function v(){}function g(){}var _={};l(_,a,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(E([])));b&&b!==n&&r.call(b,a)&&(_=b);var A=g.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(i,a,o,s){var l=u(e[i],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(d).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,s)}))}s(l.arg)}var i;function a(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}this._invoke=a}function x(e,t,n){var r=d;return function(i,a){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw a;return C()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var s=S(o,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(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function E(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){while(++i<e.length)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=g,l(A,"constructor",g),l(g,"constructor",v),v.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},k(M.prototype),l(M.prototype,o,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new M(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(A),l(A,s,"Generator"),l(A,a,(function(){return this})),l(A,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){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 a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:E(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"99af":function(e,t,n){"use strict";var r=n("23e7"),i=n("d039"),a=n("e8b5"),o=n("861d"),s=n("7b0b"),l=n("50c4"),c=n("8418"),u=n("65f0"),d=n("1dde"),h=n("b622"),f=n("2d00"),p=h("isConcatSpreadable"),m=9007199254740991,y="Maximum allowed index exceeded",v=f>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),_=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:a(e)},w=!v||!g;r({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,r,i,a,o=s(this),d=u(o,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],_(a)){if(i=l(a.length),h+i>m)throw TypeError(y);for(n=0;n<i;n++,h++)n in a&&c(d,h,a[n])}else{if(h>=m)throw TypeError(y);c(d,h++,a)}return d.length=h,d}})},"9a1f":function(e,t,n){var r=n("825a"),i=n("35a1");e.exports=function(e,t){var n=arguments.length<2?i(e):t;if("function"!=typeof n)throw TypeError(String(e)+" is not iterable");return r(n.call(e))}},"9a8c":function(e,t,n){"use strict";var r=n("ebb5"),i=n("145e"),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("copyWithin",(function(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(e,t,n){var r=n("825a"),i=n("2a62");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(o){i(e,"throw",o)}}},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),a=n("825a"),o=n("a04b"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t),a(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),a=n("5c6c"),o=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:a(1,n)}),o(e,c,!1,!0),s[c]=l,e}},a04b:function(e,t,n){var r=n("c04e"),i=n("d9b5");e.exports=function(e){var t=r(e,"string");return i(t)?t:String(t)}},a078:function(e,t,n){var r=n("7b0b"),i=n("50c4"),a=n("9a1f"),o=n("35a1"),s=n("e95a"),l=n("0366"),c=n("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,n,u,d,h,f,p=r(e),m=arguments.length,y=m>1?arguments[1]:void 0,v=void 0!==y,g=o(p);if(void 0!=g&&!s(g)){h=a(p,g),f=h.next,p=[];while(!(d=f.call(h)).done)p.push(d.value)}for(v&&m>2&&(y=l(y,arguments[2],2)),n=i(p.length),u=new(c(this))(n),t=0;n>t;t++)u[t]=v?y(p[t],t):p[t];return u}},a15b:function(e,t,n){"use strict";var r=n("23e7"),i=n("44ad"),a=n("fc6a"),o=n("a640"),s=[].join,l=i!=Object,c=o("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a434:function(e,t,n){"use strict";var r=n("23e7"),i=n("23cb"),a=n("a691"),o=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),d=u("splice"),h=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,r,u,d,y,v,g=s(this),_=o(g.length),w=i(e,_),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=_-w):(n=b-2,r=f(h(a(t),0),_-w)),_+n-r>p)throw TypeError(m);for(u=l(g,r),d=0;d<r;d++)y=w+d,y in g&&c(u,d,g[y]);if(u.length=r,n<r){for(d=w;d<_-r;d++)y=d+r,v=d+n,y in g?g[v]=g[y]:delete g[v];for(d=_;d>_-r+n;d--)delete g[d-1]}else if(n>r)for(d=_-r;d>w;d--)y=d+r-1,v=d+n-1,y in g?g[v]=g[y]:delete g[v];for(d=0;d<n;d++)g[d+w]=arguments[d+2];return g.length=_-r+n,u}})},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(e,t,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("d066"),o=n("c430"),s=n("83ab"),l=n("4930"),c=n("d039"),u=n("5135"),d=n("e8b5"),h=n("861d"),f=n("d9b5"),p=n("825a"),m=n("7b0b"),y=n("fc6a"),v=n("a04b"),g=n("577e"),_=n("5c6c"),w=n("7c73"),b=n("df75"),A=n("241c"),k=n("057f"),M=n("7418"),x=n("06cf"),S=n("9bf2"),L=n("d1e7"),T=n("9112"),D=n("6eeb"),E=n("5692"),C=n("f772"),Y=n("d012"),P=n("90e3"),O=n("b622"),I=n("e538"),R=n("746f"),N=n("d44e"),F=n("69f3"),j=n("b727").forEach,B=C("hidden"),H="Symbol",W="prototype",z=O("toPrimitive"),U=F.set,V=F.getterFor(H),G=Object[W],Q=i.Symbol,J=a("JSON","stringify"),q=x.f,K=S.f,X=k.f,Z=L.f,$=E("symbols"),ee=E("op-symbols"),te=E("string-to-symbol-registry"),ne=E("symbol-to-string-registry"),re=E("wks"),ie=i.QObject,ae=!ie||!ie[W]||!ie[W].findChild,oe=s&&c((function(){return 7!=w(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=q(G,t);r&&delete G[t],K(e,t,n),r&&e!==G&&K(G,t,r)}:K,se=function(e,t){var n=$[e]=w(Q[W]);return U(n,{type:H,tag:e,description:t}),s||(n.description=t),n},le=function(e,t,n){e===G&&le(ee,t,n),p(e);var r=v(t);return p(n),u($,r)?(n.enumerable?(u(e,B)&&e[B][r]&&(e[B][r]=!1),n=w(n,{enumerable:_(0,!1)})):(u(e,B)||K(e,B,_(1,{})),e[B][r]=!0),oe(e,r,n)):K(e,r,n)},ce=function(e,t){p(e);var n=y(t),r=b(n).concat(pe(n));return j(r,(function(t){s&&!de.call(n,t)||le(e,t,n[t])})),e},ue=function(e,t){return void 0===t?w(e):ce(w(e),t)},de=function(e){var t=v(e),n=Z.call(this,t);return!(this===G&&u($,t)&&!u(ee,t))&&(!(n||!u(this,t)||!u($,t)||u(this,B)&&this[B][t])||n)},he=function(e,t){var n=y(e),r=v(t);if(n!==G||!u($,r)||u(ee,r)){var i=q(n,r);return!i||!u($,r)||u(n,B)&&n[B][r]||(i.enumerable=!0),i}},fe=function(e){var t=X(y(e)),n=[];return j(t,(function(e){u($,e)||u(Y,e)||n.push(e)})),n},pe=function(e){var t=e===G,n=X(t?ee:y(e)),r=[];return j(n,(function(e){!u($,e)||t&&!u(G,e)||r.push($[e])})),r};if(l||(Q=function(){if(this instanceof Q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=P(e),n=function(e){this===G&&n.call(ee,e),u(this,B)&&u(this[B],t)&&(this[B][t]=!1),oe(this,t,_(1,e))};return s&&ae&&oe(G,t,{configurable:!0,set:n}),se(t,e)},D(Q[W],"toString",(function(){return V(this).tag})),D(Q,"withoutSetter",(function(e){return se(P(e),e)})),L.f=de,S.f=le,x.f=he,A.f=k.f=fe,M.f=pe,I.f=function(e){return se(O(e),e)},s&&(K(Q[W],"description",{configurable:!0,get:function(){return V(this).description}}),o||D(G,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Q}),j(b(re),(function(e){R(e)})),r({target:H,stat:!0,forced:!l},{for:function(e){var t=g(e);if(u(te,t))return te[t];var n=Q(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!f(e))throw TypeError(e+" is not a symbol");if(u(ne,e))return ne[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:ue,defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:he}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(m(e))}}),J){var me=!l||c((function(){var e=Q();return"[null]"!=J([e])||"{}"!=J({a:e})||"{}"!=J(Object(e))}));r({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,n){var r,i=[e],a=1;while(arguments.length>a)i.push(arguments[a++]);if(r=t,(h(t)||void 0!==e)&&!f(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!f(t))return t}),i[1]=t,J.apply(null,i)}})}Q[W][z]||T(Q[W],z,Q[W].valueOf),N(Q,H),Y[B]=!0},a630:function(e,t,n){var r=n("23e7"),i=n("4df4"),a=n("1c7e"),o=!a((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:o},{from:i})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a975:function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").every,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("every",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},addb:function(e,t){var n=Math.floor,r=function(e,t){var o=e.length,s=n(o/2);return o<8?i(e,t):a(r(e.slice(0,s),t),r(e.slice(s),t),t)},i=function(e,t){var n,r,i=e.length,a=1;while(a<i){r=a,n=e[a];while(r&&t(e[r-1],n)>0)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},a=function(e,t,n){var r=e.length,i=t.length,a=0,o=0,s=[];while(a<r||o<i)a<r&&o<i?s.push(n(e[a],t[o])<=0?e[a++]:t[o++]):s.push(a<r?e[a++]:t[o++]);return s};e.exports=r},ae93:function(e,t,n){"use strict";var r,i,a,o=n("d039"),s=n("7c73"),l=n("e163"),c=n("9112"),u=n("b622"),d=n("c430"),h=u("iterator"),f=!1;[].keys&&(a=[].keys(),"next"in a?(i=l(l(a)),i!==Object.prototype&&(r=i)):f=!0);var p=void 0==r||o((function(){var e={};return r[h].call(e)!==e}));p?r={}:d&&(r=s(r)),"function"!==typeof r[h]&&c(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},b041:function(e,t,n){"use strict";var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),i=n("9bf2").f,a=Function.prototype,o=a.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in a)&&i(a,l,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(e){return""}}})},b39a:function(e,t,n){"use strict";var r=n("da84"),i=n("ebb5"),a=n("d039"),o=r.Int8Array,s=i.aTypedArray,l=i.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!o&&a((function(){c.call(new o(1))})),h=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),h)},b4d8:function(e,n){e.exports=t},b575:function(e,t,n){var r,i,a,o,s,l,c,u,d=n("da84"),h=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),m=n("d4c3"),y=n("a4b4"),v=n("605d"),g=d.MutationObserver||d.WebKitMutationObserver,_=d.document,w=d.process,b=d.Promise,A=h(d,"queueMicrotask"),k=A&&A.value;k||(r=function(){var e,t;v&&(e=w.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(n){throw i?o():a=void 0,n}}a=void 0,e&&e.enter()},p||v||y||!g||!_?!m&&b&&b.resolve?(c=b.resolve(void 0),c.constructor=b,u=c.then,o=function(){u.call(c,r)}):o=v?function(){w.nextTick(r)}:function(){f.call(d,r)}:(s=!0,l=_.createTextNode(""),new g(r).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},b622:function(e,t,n){var r=n("da84"),i=n("5692"),a=n("5135"),o=n("90e3"),s=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)&&(s||"string"==typeof c[e])||(s&&a(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},b64b:function(e,t,n){var r=n("23e7"),i=n("7b0b"),a=n("df75"),o=n("d039"),s=o((function(){a(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return a(i(e))}})},b6b7:function(e,t,n){var r=n("ebb5"),i=n("4840"),a=r.TYPED_ARRAY_CONSTRUCTOR,o=r.aTypedArrayConstructor;e.exports=function(e){return o(i(e,e[a]))}},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),a=n("7b0b"),o=n("50c4"),s=n("65f0"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,m,y,v){for(var g,_,w=a(p),b=i(w),A=r(m,y,3),k=o(b.length),M=0,x=v||s,S=t?x(p,k):n||h?x(p,0):void 0;k>M;M++)if((f||M in b)&&(g=b[M],_=A(g,M,w),e))if(t)S[M]=_;else if(_)switch(e){case 3:return!0;case 5:return g;case 6:return M;case 2:l.call(S,g)}else switch(e){case 4:return!1;case 7:l.call(S,g)}return d?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},c04e:function(e,t,n){var r=n("861d"),i=n("d9b5"),a=n("485a"),o=n("b622"),s=o("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,o=e[s];if(void 0!==o){if(void 0===t&&(t="default"),n=o.call(e,t),!r(n)||i(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},c1ac:function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").filter,a=n("1448"),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("filter",(function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)}))},c430:function(e,t){e.exports=!1},c60d:function(e,t,n){var r=n("5135");e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),a="__core-js_shared__",o=r[a]||i(a,{});e.exports=o},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),a=n("4d64").indexOf,o=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},ca91:function(e,t,n){"use strict";var r=n("ebb5"),i=n("d58f").left,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduce",(function(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},cb29:function(e,t,n){var r=n("23e7"),i=n("81d5"),a=n("44d2");r({target:"Array",proto:!0},{fill:i}),a("fill")},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},cd26:function(e,t,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){var e,t=this,n=i(t).length,r=o(n/2),a=0;while(a<r)e=t[a],t[a++]=t[--n],t[n]=e;return t}))},cdf9:function(e,t,n){var r=n("825a"),i=n("861d"),a=n("f069");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e),o=n.resolve;return o(t),n.promise}},ce4e:function(e,t,n){var r=n("da84");e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},cfc3:function(e,t,n){var r=n("74e8");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},d139:function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").find,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("find",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(a){}return function(n,a){return r(n),i(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),a=n("b041");r||i(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,i=n("5135"),a=n("b622"),o=a("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},d4c3:function(e,t,n){var r=n("342f"),i=n("da84");e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},d58f:function(e,t,n){var r=n("1c0b"),i=n("7b0b"),a=n("44ad"),o=n("50c4"),s=function(e){return function(t,n,s,l){r(n);var c=i(t),u=a(c),d=o(c.length),h=e?d-1:0,f=e?-1:1;if(s<2)while(1){if(h in u){l=u[h],h+=f;break}if(h+=f,e?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:d>h;h+=f)h in u&&(l=n(l,u[h],h,c));return l}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,n){"use strict";var r=n("ebb5"),i=n("b727").forEach,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("forEach",(function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d998:function(e,t,n){var r=n("342f");e.exports=/MSIE|Trident/.test(r)},d9b5:function(e,t,n){var r=n("d066"),i=n("fdbf");e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return"function"==typeof t&&Object(e)instanceof t}},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var r=n("23e7"),i=n("83ab"),a=n("56ef"),o=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,n,r=o(e),i=s.f,c=a(r),u={},d=0;while(c.length>d)n=i(r,t=c[d++]),void 0!==n&&l(u,t,n);return u}})},ddb0:function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("785a"),o=n("e260"),s=n("9112"),l=n("b622"),c=l("iterator"),u=l("toStringTag"),d=o.values,h=function(e,t){if(e){if(e[c]!==d)try{s(e,c,d)}catch(r){e[c]=d}if(e[u]||s(e,u,t),i[t])for(var n in o)if(e[n]!==o[n])try{s(e,n,o[n])}catch(r){e[n]=o[n]}}};for(var f in i)h(r[f]&&r[f].prototype,f);h(a,"DOMTokenList")},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},dfb9:function(e,t){e.exports=function(e,t){var n=0,r=t.length,i=new e(r);while(r>n)i[n]=t[n++];return i}},e01a:function(e,t,n){"use strict";var r=n("23e7"),i=n("83ab"),a=n("da84"),o=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=a.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(u("test")),y=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(o(d,e))return"";var n=m?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(e,t,n){var r=n("5135"),i=n("7b0b"),a=n("f772"),o=n("e177"),s=a("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),i=n("44d2"),a=n("3f8c"),o=n("69f3"),s=n("7dd0"),l="Array Iterator",c=o.set,u=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e439:function(e,t,n){var r=n("23e7"),i=n("d039"),a=n("fc6a"),o=n("06cf").f,s=n("83ab"),l=i((function(){o(1)})),c=!s||l;r({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e58c:function(e,t,n){"use strict";var r=n("fc6a"),i=n("a691"),a=n("50c4"),o=n("a640"),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),d=c||!u;e.exports=d?function(e){if(c)return l.apply(this,arguments)||0;var t=r(this),n=a(t.length),o=n-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,i,a,o,s=n("23e7"),l=n("c430"),c=n("da84"),u=n("d066"),d=n("fea9"),h=n("6eeb"),f=n("e2cc"),p=n("d2bb"),m=n("d44e"),y=n("2626"),v=n("861d"),g=n("1c0b"),_=n("19aa"),w=n("8925"),b=n("2266"),A=n("1c7e"),k=n("4840"),M=n("2cf4").set,x=n("b575"),S=n("cdf9"),L=n("44de"),T=n("f069"),D=n("e667"),E=n("69f3"),C=n("94ca"),Y=n("b622"),P=n("6069"),O=n("605d"),I=n("2d00"),R=Y("species"),N="Promise",F=E.get,j=E.set,B=E.getterFor(N),H=d&&d.prototype,W=d,z=H,U=c.TypeError,V=c.document,G=c.process,Q=T.f,J=Q,q=!!(V&&V.createEvent&&c.dispatchEvent),K="function"==typeof PromiseRejectionEvent,X="unhandledrejection",Z="rejectionhandled",$=0,ee=1,te=2,ne=1,re=2,ie=!1,ae=C(N,(function(){var e=w(W),t=e!==String(W);if(!t&&66===I)return!0;if(l&&!z["finally"])return!0;if(I>=51&&/native code/.test(e))return!1;var n=new W((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},i=n.constructor={};return i[R]=r,ie=n.then((function(){}))instanceof r,!ie||!t&&P&&!K})),oe=ae||!A((function(e){W.all(e)["catch"]((function(){}))})),se=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},le=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;x((function(){var r=e.value,i=e.state==ee,a=0;while(n.length>a){var o,s,l,c=n[a++],u=i?c.ok:c.fail,d=c.resolve,h=c.reject,f=c.domain;try{u?(i||(e.rejection===re&&he(e),e.rejection=ne),!0===u?o=r:(f&&f.enter(),o=u(r),f&&(f.exit(),l=!0)),o===c.promise?h(U("Promise-chain cycle")):(s=se(o))?s.call(o,d,h):d(o)):h(r)}catch(p){f&&!l&&f.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ue(e)}))}},ce=function(e,t,n){var r,i;q?(r=V.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!K&&(i=c["on"+e])?i(r):e===X&&L("Unhandled promise rejection",n)},ue=function(e){M.call(c,(function(){var t,n=e.facade,r=e.value,i=de(e);if(i&&(t=D((function(){O?G.emit("unhandledRejection",r,n):ce(X,n,r)})),e.rejection=O||de(e)?re:ne,t.error))throw t.value}))},de=function(e){return e.rejection!==ne&&!e.parent},he=function(e){M.call(c,(function(){var t=e.facade;O?G.emit("rejectionHandled",t):ce(Z,t,e.value)}))},fe=function(e,t,n){return function(r){e(t,r,n)}},pe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=te,le(e,!0))},me=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw U("Promise can't be resolved itself");var r=se(t);r?x((function(){var n={done:!1};try{r.call(t,fe(me,n,e),fe(pe,n,e))}catch(i){pe(n,i,e)}})):(e.value=t,e.state=ee,le(e,!1))}catch(i){pe({done:!1},i,e)}}};if(ae&&(W=function(e){_(this,W,N),g(e),r.call(this);var t=F(this);try{e(fe(me,t),fe(pe,t))}catch(n){pe(t,n)}},z=W.prototype,r=function(e){j(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:$,value:void 0})},r.prototype=f(z,{then:function(e,t){var n=B(this),r=Q(k(this,W));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=O?G.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=$&&le(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=fe(me,t),this.reject=fe(pe,t)},T.f=Q=function(e){return e===W||e===a?new i(e):J(e)},!l&&"function"==typeof d&&H!==Object.prototype)){o=H.then,ie||(h(H,"then",(function(e,t){var n=this;return new W((function(e,t){o.call(n,e,t)})).then(e,t)}),{unsafe:!0}),h(H,"catch",z["catch"],{unsafe:!0}));try{delete H.constructor}catch(ye){}p&&p(H,z)}s({global:!0,wrap:!0,forced:ae},{Promise:W}),m(W,N,!1,!0),y(N),a=u(N),s({target:N,stat:!0,forced:ae},{reject:function(e){var t=Q(this);return t.reject.call(void 0,e),t.promise}}),s({target:N,stat:!0,forced:l||ae},{resolve:function(e){return S(l&&this===a?W:this,e)}}),s({target:N,stat:!0,forced:oe},{all:function(e){var t=this,n=Q(t),r=n.resolve,i=n.reject,a=D((function(){var n=g(t.resolve),a=[],o=0,s=1;b(e,(function(e){var l=o++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=Q(t),r=n.reject,i=D((function(){var i=g(t.resolve);b(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),a=n("06cf"),o=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=o.f,l=a.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e91f:function(e,t,n){"use strict";var r=n("ebb5"),i=n("4d64").indexOf,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("indexOf",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,n){var r=n("b622"),i=n("3f8c"),a=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},ebb5:function(e,t,n){"use strict";var r,i,a,o=n("a981"),s=n("83ab"),l=n("da84"),c=n("861d"),u=n("5135"),d=n("f5df"),h=n("9112"),f=n("6eeb"),p=n("9bf2").f,m=n("e163"),y=n("d2bb"),v=n("b622"),g=n("90e3"),_=l.Int8Array,w=_&&_.prototype,b=l.Uint8ClampedArray,A=b&&b.prototype,k=_&&m(_),M=w&&m(w),x=Object.prototype,S=x.isPrototypeOf,L=v("toStringTag"),T=g("TYPED_ARRAY_TAG"),D=g("TYPED_ARRAY_CONSTRUCTOR"),E=o&&!!y&&"Opera"!==d(l.opera),C=!1,Y={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P={BigInt64Array:8,BigUint64Array:8},O=function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||u(Y,t)||u(P,t)},I=function(e){if(!c(e))return!1;var t=d(e);return u(Y,t)||u(P,t)},R=function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},N=function(e){if(y&&!S.call(k,e))throw TypeError("Target is not a typed array constructor");return e},F=function(e,t,n){if(s){if(n)for(var r in Y){var i=l[r];if(i&&u(i.prototype,e))try{delete i.prototype[e]}catch(a){}}M[e]&&!n||f(M,e,n?t:E&&w[e]||t)}},j=function(e,t,n){var r,i;if(s){if(y){if(n)for(r in Y)if(i=l[r],i&&u(i,e))try{delete i[e]}catch(a){}if(k[e]&&!n)return;try{return f(k,e,n?t:E&&k[e]||t)}catch(a){}}for(r in Y)i=l[r],!i||i[e]&&!n||f(i,e,t)}};for(r in Y)i=l[r],a=i&&i.prototype,a?h(a,D,i):E=!1;for(r in P)i=l[r],a=i&&i.prototype,a&&h(a,D,i);if((!E||"function"!=typeof k||k===Function.prototype)&&(k=function(){throw TypeError("Incorrect invocation")},E))for(r in Y)l[r]&&y(l[r],k);if((!E||!M||M===x)&&(M=k.prototype,E))for(r in Y)l[r]&&y(l[r].prototype,M);if(E&&m(A)!==M&&y(A,M),s&&!u(M,L))for(r in C=!0,p(M,L,{get:function(){return c(this)?this[T]:void 0}}),Y)l[r]&&h(l[r],T,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_CONSTRUCTOR:D,TYPED_ARRAY_TAG:C&&T,aTypedArray:R,aTypedArrayConstructor:N,exportTypedArrayMethod:F,exportTypedArrayStaticMethod:j,isView:O,isTypedArray:I,TypedArray:k,TypedArrayPrototype:M}},edf5:function(e,t){e.exports=n},f069:function(e,t,n){"use strict";var r=n("1c0b"),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},f5df:function(e,t,n){var r=n("00ee"),i=n("c6b6"),a=n("b622"),o=a("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),o))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},f8cd:function(e,t,n){var r=n("a691");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"ChannelType",(function(){return G})),n.d(t,"PlayerCore",(function(){return Z})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function l(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}function c(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){c(a,r,i,o,s,"next",e)}function s(e){c(a,r,i,o,s,"throw",e)}o(void 0)}))}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("fb6a"),n("b0c0"),n("a630"),n("e6cf"),n("96cf");var m,y=n("3fe7"),v=n.n(y);(function(e){e[e["SETUP_RENDER_FAILED"]=0]="SETUP_RENDER_FAILED",e[e["SETUP_PLAYER_FAILED"]=1]="SETUP_PLAYER_FAILED",e[e["INVALID_PARAM"]=2]="INVALID_PARAM",e[e["INIT_AUDIOCONTEXT_FAILED"]=3]="INIT_AUDIOCONTEXT_FAILED"})(m||(m={}));var g,_=function(){function e(){d(this,e)}return f(e,null,[{key:"from",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{code:m[e],no:t}}}]),e}();(function(e){e["REQ_SETTING"]="REQ_SETTING",e["REQ_OPEN_CHANNEL"]="REQ_OPEN_CHANNEL",e["REQ_CLOSE_CHANNEL"]="REQ_CLOSE_CHANNEL",e["NOTIFY_VIEWPORT"]="NOTIFY_VIEWPORT",e["REQ_SETUP_STREAM"]="REQ_SETUP_STREAM",e["REQ_PLAY_STREAM"]="REQ_PLAY_STREAM",e["NOTIFY_STOP_STREAM"]="NOTIFY_STOP_STREAM",e["NOTIFY_RESUME_STREAM"]="NOTIFY_RESUME_STREAM",e["NOTIFY_PAUSE_STREAM"]="NOTIFY_PAUSE_STREAM",e["REQ_CHANGE_SPEED"]="REQ_CHANGE_SPEED",e["REQ_SNAPSHOT"]="REQ_SNAPSHOT",e["REQ_START_RECORD"]="REQ_START_RECORD",e["NOTIFY_STOP_RECORD"]="NOTIFY_STOP_RECORD",e["REQ_SET_VOLUME"]="REQ_SET_VOLUME",e["REQ_PTZ_CONTROL"]="REQ_PTZ_CONTROL",e["REQ_LIST_CAMERA"]="REQ_LIST_CAMERA",e["REQ_QUERY_RECORDS"]="REQ_QUERY_RECORDS",e["REQ_FIRST_RECORD"]="REQ_FIRST_RECORD",e["NOTIFY_STREAM_SPEED"]="NOTIFY_STREAM_SPEED",e["NOTIFY_STREAM_STATUS"]="NOTIFY_STREAM_STATUS"})(g||(g={}));var w=n("edf5"),b=n.n(w);function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function k(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function x(){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(e){return!1}}n("4ae1"),n("3410");var S,L=n("7037"),T=n.n(L);function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){if(t&&("object"===T()(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return D(e)}function C(e){var t=x();return function(){var n,r=M(e);if(t){var i=M(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return E(this,n)}}function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("b64b"),n("4de4"),n("e439"),n("159b"),n("dbb4"),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("cb29"),n("84c3"),n("a15b"),n("cfc3"),function(e){e[e["FILL"]=0]="FILL",e[e["RADIO"]=1]="RADIO"}(S||(S={}));var O,I=function(){function e(t){d(this,e),p(this,"gl",void 0),p(this,"texture",void 0),this.gl=t,this.texture=t.createTexture(),null!==this.texture&&(t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE))}return f(e,[{key:"bind",value:function(e,t,n){this.gl.activeTexture([this.gl.TEXTURE0,this.gl.TEXTURE1,this.gl.TEXTURE2][e]),this.gl.bindTexture(this.gl.TEXTURE_2D,this.texture),this.gl.uniform1i(this.gl.getUniformLocation(t,n),e)}},{key:"fill",value:function(e,t,n){this.gl.bindTexture(this.gl.TEXTURE_2D,this.texture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.LUMINANCE,e,t,0,this.gl.LUMINANCE,this.gl.UNSIGNED_BYTE,n)}}]),e}(),R=function(){function e(t,n){d(this,e),p(this,"gl",void 0),p(this,"y",void 0),p(this,"u",void 0),p(this,"v",void 0),this.gl=t,this.y=new I(this.gl),this.u=new I(this.gl),this.v=new I(this.gl),this.y.bind(0,n,"YTexture"),this.u.bind(1,n,"UTexture"),this.v.bind(2,n,"VTexture")}return f(e,[{key:"render",value:function(e,t,n){var r=t*n,i=r+r/4,a=t>>1,o=n>>1;this.gl.clearColor(0,0,0,0),this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.y.fill(t,n,e.subarray(0,r)),this.u.fill(a,o,e.subarray(r,i)),this.v.fill(a,o,e.subarray(i,e.length)),this.gl.drawArrays(this.gl.TRIANGLE_STRIP,0,4)}},{key:"clear",value:function(){this.gl.clearColor(0,0,0,0),this.gl.clear(this.gl.COLOR_BUFFER_BIT)}},{key:"getGl",value:function(){return this.gl}}]),e}(),N=function(){function e(){d(this,e),p(this,"canvas",void 0),p(this,"webgl",void 0),p(this,"onDraw",void 0),p(this,"timerId",void 0),p(this,"cacheList",void 0),p(this,"isSetup",!1),p(this,"program",void 0),p(this,"streamWidth",0),p(this,"streamHeight",0),p(this,"lastFrameTime",0),p(this,"viewport",{x:0,y:0,w:0,h:0}),p(this,"windowRect",{w:0,h:0}),p(this,"viewType",S.FILL),this.canvas=null,this.webgl=null,this.onDraw=null,this.timerId=0,this.cacheList=[],this.program=null}return f(e,[{key:"setViewType",value:function(e){this.viewType=e,this.adjustViewport()}},{key:"setDrawCallback",value:function(e){this.onDraw=e}},{key:"setAsync",value:function(e,t){var n=this;this.onDraw=t,0!==this.timerId&&clearInterval(this.timerId),0!==e&&(this.timerId=window.setInterval((function(){while(n.cacheList.length>3)n.cacheList.shift();var e=n.cacheList.shift();void 0!==e&&n.webgl&&(n.webgl.render(e.yuv,e.w,e.h),n.lastFrameTime=e.time,n.onDraw&&n.onDraw(e.time,n.streamWidth,n.streamHeight))}),1e3/e))}},{key:"resize",value:function(e,t){if(null!==this.webgl){var n=this.webgl.getGl();n.viewport(0,0,e,t)}this.windowRect.w=e,this.windowRect.h=t,this.adjustViewport()}},{key:"clear",value:function(){this.webgl&&this.webgl.clear(),this.cacheList=[],this.lastFrameTime=0,this.viewport={x:0,y:0,w:0,h:0}}},{key:"destroy",value:function(){0!==this.timerId&&(clearInterval(this.timerId),this.timerId=0),this.webgl=null,this.canvas=null,this.isSetup=!1,this.lastFrameTime=0}},{key:"render",value:function(e,t,n){if(!this.isSetup){if(!this.setupInternal())throw"setup yuv render failed";this.isSetup=!0}var r=new Uint16Array(t.buffer,12,4),i=20;r[0]===this.streamWidth&&r[1]===this.streamHeight||(this.streamWidth=r[0],this.streamHeight=r[1],this.adjustViewport());var a=t.subarray(i);0!==this.timerId?this.cacheList.push({yuv:a,time:n,w:r[2],h:r[3]}):this.webgl&&(this.lastFrameTime=n,this.webgl.render(a,r[2],r[3]),this.onDraw&&this.onDraw(n,this.streamWidth,this.streamHeight))}},{key:"setup",value:function(e){return this.canvas=e,this.isSetup=this.setupInternal(),this.isSetup}},{key:"getStreamWidth",value:function(){return this.streamWidth}},{key:"getStreamHeight",value:function(){return this.streamHeight}},{key:"getLastDrawTime",value:function(){return this.lastFrameTime}},{key:"adjustViewport",value:function(){if(0!==this.windowRect.h&&0!==this.streamHeight){if(S.FILL===this.viewType)this.viewport.x=this.viewport.y=0,this.viewport.w=this.windowRect.w,this.viewport.h=this.windowRect.h;else{var e=this.streamWidth/this.streamHeight,t=this.windowRect.w/this.windowRect.h,n=e-t;if(n>.1){this.viewport.x=0,this.viewport.w=this.windowRect.w;var r=this.windowRect.w/e;this.viewport.y=(this.windowRect.h-r)/2,this.viewport.h=r}else if(n<-.1){this.viewport.y=0,this.viewport.h=this.windowRect.h;var i=this.windowRect.h*e;this.viewport.x=(this.windowRect.w-i)/2,this.viewport.w=i}else this.viewport.x=0,this.viewport.y=0,this.viewport.w=this.windowRect.w,this.viewport.h=this.windowRect.h}if(null!==this.webgl){var a=this.webgl.getGl();a.viewport(this.viewport.x,this.viewport.y,this.viewport.w,this.viewport.h)}}}},{key:"setupInternal",value:function(){if(null===this.canvas)return!1;var e=this.canvas.getContext("webgl",{preserveDrawingBuffer:!0})||this.canvas.getContext("experimental-webgl",{preserveDrawingBuffer:!0});if(null===e)throw"get webgl failed";var t=e.getParameter(e.CURRENT_PROGRAM);if(t){var n=e.getUniformLocation(t,"YTexture"),r=e.getUniformLocation(t,"UTexture"),i=e.getUniformLocation(t,"VTexture");if(n&&r&&i)return this.program=t,this.webgl=new R(e,t),!0}var a=e.createProgram();if(null===a)throw"createProgram failed";this.program=a;var o=["attribute lowp vec4 aVertexPosition;","attribute vec2 aTextureCoord;","varying lowp vec2 vTextureCoord;","void main(void) {"," gl_Position = aVertexPosition;"," vTextureCoord = aTextureCoord;","}"].join("\n"),s=e.createShader(e.VERTEX_SHADER);if(null===s)throw"createShader VERTEX_SHADER failed";e.shaderSource(s,o),e.compileShader(s);var l=["precision lowp float;","varying lowp vec2 vTextureCoord;","uniform sampler2D YTexture;","uniform sampler2D UTexture;","uniform sampler2D VTexture;","const mat4 YUV2RGB = mat4","("," 1.1643828125, 0, 1.59602734375, -.87078515625,"," 1.1643828125, -.39176171875, -.81296875, .52959375,"," 1.1643828125, 2.017234375, 0, -1.081390625,"," 0, 0, 0, 1",");","void main(void) {"," gl_FragColor = vec4( texture2D(YTexture, vTextureCoord).x, texture2D(UTexture, vTextureCoord).x, ","texture2D(VTexture, vTextureCoord).x, 1) * YUV2RGB;","}"].join("\n"),c=e.createShader(e.FRAGMENT_SHADER);if(null===c)throw"createShader FRAGMENT_SHADER failed";if(e.shaderSource(c,l),e.compileShader(c),e.attachShader(a,s),e.attachShader(a,c),e.linkProgram(a),e.useProgram(a),!e.getProgramParameter(a,e.LINK_STATUS))throw"Shader link failed.";var u=e.getAttribLocation(a,"aVertexPosition");e.enableVertexAttribArray(u);var d=e.getAttribLocation(a,"aTextureCoord");e.enableVertexAttribArray(d);var h=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,h),e.bufferData(e.ARRAY_BUFFER,new Float32Array([1,1,0,-1,1,0,1,-1,0,-1,-1,0]),e.STATIC_DRAW),e.vertexAttribPointer(u,3,e.FLOAT,!1,0,0);var f=e.createBuffer();return e.bindBuffer(e.ARRAY_BUFFER,f),e.bufferData(e.ARRAY_BUFFER,new Float32Array([1,0,0,0,1,1,0,1]),e.STATIC_DRAW),e.vertexAttribPointer(d,2,e.FLOAT,!1,0,0),this.webgl=new R(e,a),!0}}]),e}(),F=(n("a434"),function(){function e(){d(this,e),p(this,"option",{encoding:"16bitInt",channels:2,sampleRate:8e3}),p(this,"sampleLenght",0),p(this,"audioCtx",null),p(this,"gainNode",null),p(this,"scriptNode",null),p(this,"samplesArray",[]),p(this,"isPlay",!1),p(this,"vodSpeed",1),p(this,"vodFrame",!1),this.audioCtx=new AudioContext,this.gainNode=this.audioCtx.createGain(),this.gainNode.gain.value=0,this.gainNode.connect(this.audioCtx.destination)}return f(e,[{key:"sampleRateTransform",value:function(e,t){var n=this.option.channels,r=[];if(1===n)this.sampleLenght+=e.length,r=[e];else{for(var i=e.length/n,a=e.byteOffset,o=0;o<n;o++)r.push(new Float32Array(e.buffer,a,i)),a+=4*i;this.sampleLenght+=i}this.samplesArray.push({data:r,index:0,time:t||0})}},{key:"runScriptProcessor",value:function(){var e=this;this.audioCtx&&this.gainNode&&(this.audioCtx.resume(),this.scriptNode=this.audioCtx.createScriptProcessor(0,this.option.channels,this.option.channels),this.scriptNode.onaudioprocess=function(t){if(!e.vodFrame&&1===e.vodSpeed){for(var n=t.outputBuffer,r=0,i=[],a=n.length,o=0;o<n.numberOfChannels;o++){var s=n.getChannelData(o);i.push(s)}var l=0;if(e.sampleLenght>=10240&&e.sampleLenght<20480)for(var c=0;c<e.samplesArray.length;c++)c<4&&c%2===0&&e.samplesArray[c]&&(l+=e.samplesArray[c].data[0].length,e.samplesArray.splice(c,1));else if(e.sampleLenght>=20480)for(var u=0;u<e.samplesArray.length;u++)u<6&&u%2===0&&e.samplesArray[u]&&(l+=e.samplesArray[u].data[0].length,e.samplesArray.splice(u,1));e.sampleLenght-=l;var d=function(){var t=e.samplesArray[0],n=t.data,o=a-r,s=n[0].length-t.index;o>=s?(i.forEach((function(e,i){var a=n[i].subarray(t.index,s);e.set(a,r)})),r+=s,t.index+=s):(i.forEach((function(e,i){var a=n[i].subarray(t.index,o);e.set(a,r)})),r+=o,t.index+=o),t.index>=n[0].length&&(e.samplesArray.splice(0,1),e.sampleLenght-=t.data[0].length)};while(e.samplesArray.length>0&&r<a)d()}},this.scriptNode.connect(this.gainNode))}},{key:"feedLive",value:function(e,t,n){this.audioCtx&&(this.option.channels===n&&this.option.sampleRate===t||this.stopPlayer(),this.option.channels=n,this.option.sampleRate=t,this.sampleRateTransform(new Float32Array(e.buffer,e.byteOffset)),!this.isPlay&&this.samplesArray.length>=3&&(this.isPlay=!0,this.runScriptProcessor()))}},{key:"feedVod",value:function(e,t,n,r){this.audioCtx&&(this.option.channels===n&&this.option.sampleRate===t||this.stopPlayer(),this.option.channels=n,this.option.sampleRate=t,this.samplesArray.length>=2e3&&this.samplesArray.splice(0,1),this.sampleRateTransform(new Float32Array(e.buffer,e.byteOffset),r),!this.isPlay&&this.samplesArray.length>=3&&(this.isPlay=!0,this.runScriptProcessor()))}},{key:"setVodRenderInfo",value:function(e,t){this.vodSpeed=t;var n=this.samplesArray.filter((function(t){return t.time-e<=200}));this.samplesArray=n}},{key:"setVodFrameMode",value:function(e){this.vodFrame=e}},{key:"stopPlayer",value:function(){this.scriptNode&&this.gainNode&&this.audioCtx&&(this.samplesArray=[],this.isPlay=!1,this.scriptNode.disconnect(this.gainNode),this.gainNode.disconnect(this.audioCtx.destination),this.scriptNode.onaudioprocess=null,this.scriptNode=null,this.audioCtx.close(),this.audioCtx=null)}},{key:"clearBufer",value:function(){this.scriptNode&&this.gainNode&&this.audioCtx&&(this.samplesArray=[],this.isPlay=!1,this.scriptNode.disconnect(this.gainNode),this.scriptNode.onaudioprocess=null,this.scriptNode=null,this.sampleLenght=0)}},{key:"setVolume",value:function(e){this.gainNode&&e<=1&&e>=0&&(this.gainNode.gain.value=e)}}]),e}()),j=F;(function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["STATE"]=1]="STATE",e[e["YUV420"]=2]="YUV420"})(O||(O={}));var B=function(){function e(t,n,r,i){var a=this;d(this,e),p(this,"streamId",0),p(this,"ch",void 0),p(this,"pipe",void 0),p(this,"canvas",void 0),p(this,"resizeObserver",void 0),p(this,"speed",1),p(this,"streamFinished",!1),p(this,"render",void 0),p(this,"url",void 0),p(this,"notifyViewport",!0),p(this,"seqSeed",0),p(this,"audioPlayer",null),p(this,"decoder",void 0),p(this,"_onNetSpeed",(function(e){return e})),p(this,"_onStreamStatus",(function(){return 0})),this.ch=t,this.pipe=n,this.canvas=r,this.render=new N,this.decoder=i,this.resizeObserver=new ResizeObserver((function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.target==a.canvas&&a.onResize(r.contentRect.width,r.contentRect.height)}}catch(i){n.e(i)}finally{n.f()}})),this.resizeObserver.observe(this.canvas),this.decoder.onFrame=function(e,t){a.streamId==e&&a.putFrame(t)}}return f(e,[{key:"onNetSpeed",value:function(e){this._onNetSpeed=e}},{key:"onStreamStatus",value:function(e){this._onStreamStatus=e}},{key:"onRender",value:function(e){this.render.setDrawCallback(e)}},{key:"handleNotify",value:function(t,n){g.NOTIFY_STREAM_SPEED===t?this._onNetSpeed(n.speed):g.NOTIFY_STREAM_STATUS===t&&(e.STREAM_FINISHED===n.status?(this.streamFinished=!0,this.putFrame({type:e.STREAM_FINISHED_TYPE,flag:0,sampleRate:0,channels:0,pts:n.no,data:new Uint8Array})):(e.STREAM_DISCONNECTED===n.status&&this.render.clear(),this._onStreamStatus(n.status,n.code,n.no)))}},{key:"setup",value:function(){return!!this.render.setup(this.canvas)&&(this.onResize(this.canvas.clientWidth,this.canvas.clientHeight),this.afterSetup(),!0)}},{key:"setViewType",value:function(e){this.render.setViewType(e)}},{key:"destroy",value:function(){var e;this.beforeDestroy(),this.stop();try{this.resizeObserver.unobserve(this.canvas),this.resizeObserver.disconnect()}catch(t){}this.ch=-1,this.render.destroy(),null===(e=this.audioPlayer)||void 0===e||e.stopPlayer(),this.audioPlayer=null,this.decoder.destroy()}},{key:"handleNetData",value:function(t,n){var r=t.getUint8(1);if(r<16)this.putFrame({type:e.YUV420_FRAME_TYPE,flag:0,pts:t.getFloat64(4,!0),channels:0,sampleRate:0,data:new Uint8Array(n)});else if(r>128){if(!this.audioPlayer)return;this.decoder.putFrameData(new Uint8Array(n))}}},{key:"open",value:function(){var e=u(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.streamFinished=!1,this.seqSeed++,e.next=4,this.pipe.call(g.REQ_SETUP_STREAM,P({url:t,ch:this.ch,seq:this.seqSeed},n),1e4);case 4:return i=e.sent,this.streamId=this.seqSeed,this.url=t,null===(r=this.audioPlayer)||void 0===r||r.clearBufer(),e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"play",value:function(){var e=u(regeneratorRuntime.mark((function e(t){var n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:1,e.next=3,this.pipe.call(g.REQ_PLAY_STREAM,{ch:this.ch,pos:t,speed:n});case 3:this.speed=n;case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stop",value:function(){var e;this.pipe.notify(g.NOTIFY_STOP_STREAM,{ch:this.ch}),this.streamId=0,this.render.clear(),this.afterStop(),null===(e=this.audioPlayer)||void 0===e||e.stopPlayer(),this.audioPlayer=null}},{key:"resume",value:function(){this.pipe.notify(g.NOTIFY_RESUME_STREAM,{ch:this.ch})}},{key:"pause",value:function(){this.pipe.notify(g.NOTIFY_PAUSE_STREAM,{ch:this.ch})}},{key:"changeSpeed",value:function(){var e=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_CHANGE_SPEED,{ch:this.ch,speed:t});case 2:this.speed=t,null===(n=this.audioPlayer)||void 0===n||n.setVodRenderInfo(this.render.getLastDrawTime(),this.speed);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"clear",value:function(){this.render.clear()}},{key:"snapshot",value:function(){var e=u(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_SNAPSHOT,{ch:this.ch,time:this.render.getLastDrawTime()});case 2:return t=e.sent,e.abrupt("return",new Blob([t.subarray(8)],{type:"image/jpeg"}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setVolume",value:function(e){try{0===e&&this.audioPlayer?(this.audioPlayer.setVolume(e),this.audioPlayer.stopPlayer(),this.audioPlayer=null):(this.audioPlayer||(this.audioPlayer=new j),e>=0&&e<=1&&this.audioPlayer.setVolume(e))}catch(t){throw _.from(m.INIT_AUDIOCONTEXT_FAILED)}}},{key:"copyImage",value:function(e,t){t&&(e.width=this.canvas.width,e.height=this.canvas.height);var n=e.getContext("2d");return n&&n.drawImage(this.canvas,0,0,e.width,e.height),!0}},{key:"getStreamWidth",value:function(){return this.render.getStreamWidth()}},{key:"getStreamHeight",value:function(){return this.render.getStreamHeight()}},{key:"onResize",value:function(e,t){this.canvas.width=e,this.canvas.height=t,this.render.resize(e,t),this.notifyViewport&&this.pipe.notify(g.NOTIFY_VIEWPORT,{ch:this.ch,width:e,height:t})}},{key:"afterStop",value:function(){}}]),e}();p(B,"STREAM_DISCONNECTED",3),p(B,"STREAM_FINISHED",5),p(B,"STREAM_FINISHED_TYPE",255),p(B,"YUV420_FRAME_TYPE",240|O.YUV420);var H=n("b4d8"),W=n.n(H),z=function(e){k(n,e);var t=C(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n,[{key:"startRecord",value:function(){var e=u(regeneratorRuntime.mark((function e(){var t,n,r,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:0,n=i.length>1&&void 0!==i[1]?i[1]:"",t&&0!==t||(t=36e5),e.next=5,this.pipe.call(g.REQ_START_RECORD,{ch:this.ch,duration:t,path:n});case 5:return r=e.sent,e.abrupt("return",r.path);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"stopRecord",value:function(){this.pipe.notify(g.NOTIFY_STOP_RECORD,{ch:this.ch})}},{key:"ptzControl",value:function(){var e=u(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_PTZ_CONTROL,{url:this.url,ctl:t,value:n});case 2:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"putFrame",value:function(e){if(e.type==B.YUV420_FRAME_TYPE)this.render.render(O.YUV420,e.data,e.pts);else if(H["DecodedFrameType"].MDEC_FRAME_PCM===e.type){var t;null===(t=this.audioPlayer)||void 0===t||t.feedLive(e.data.subarray(16),e.sampleRate,e.channels)}}},{key:"afterSetup",value:function(){this.render.setAsync(25,null)}},{key:"beforeDestroy",value:function(){}}]),n}(B);function U(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=M(e),null===e)break;return e}function V(e,t,n){return V="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=U(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},V(e,t,n||e)}n("5d41"),n("99af");var G,Q=200,J=200,q=25,K=function(e){k(n,e);var t=C(n);function n(){var e;d(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),p(D(e),"frames",[]),p(D(e),"backwardCaches",[]),p(D(e),"framePos",0),p(D(e),"playTimer",0),p(D(e),"firstPlayTick",0),p(D(e),"firstPlayTime",0),p(D(e),"playTime",0),p(D(e),"direction",1),p(D(e),"playingFrame",null),e}return f(n,[{key:"stepFrame",value:function(){var e;this.playTimer>0&&this.stopPlayTimer(),null===(e=this.audioPlayer)||void 0===e||e.setVodFrameMode(!0),this.drawFrame(this.direction>0)}},{key:"putFrame",value:function(e){var t;B.STREAM_FINISHED_TYPE!==e.type?H["DecodedFrameType"].MDEC_FRAME_PCM!==e.type?this.direction>0?this.putFrameInternal(e):0===this.backwardCaches.length?this.backwardCaches.push(e):e.pts<this.backwardCaches[0].pts||this.backwardCaches.length>100?(this.dispatchAllCaches(),this.backwardCaches.push(e)):this.backwardCaches.push(e):null===(t=this.audioPlayer)||void 0===t||t.feedVod(e.data.subarray(16),e.sampleRate,e.channels,e.pts):this.direction>0?this.framePos>=this.frames.length?this._onStreamStatus(B.STREAM_FINISHED,0,e.pts):(e.pts=this.frames[this.frames.length-1].pts,this.frames.push(e)):(this.dispatchAllCaches(),this.framePos<=0?this._onStreamStatus(B.STREAM_FINISHED,0,e.pts):(e.pts=this.frames[0].pts,this.frames.unshift(e),this.framePos+=1))}},{key:"open",value:function(){var e=u(regeneratorRuntime.mark((function e(t,r){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.afterStop(),this.direction=r.direction&&r.direction<0?-1:1,r.pos||(this.direction>0&&r.startTime?r.pos=new Date(r.startTime).getTime():r.endTime&&(r.pos=new Date(r.endTime).getTime())),e.next=5,V(M(n.prototype),"open",this).call(this,t,r);case 5:if(i=e.sent,!1===r.autoplay){e.next=10;break}return e.next=9,this.play(r.pos&&r.pos>0?r.pos:0,this.speed);case 9:null===(a=this.audioPlayer)||void 0===a||a.stopPlayer();case 10:return e.abrupt("return",i);case 11:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"play",value:function(){var e=u(regeneratorRuntime.mark((function e(t){var r,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:1,e.next=3,V(M(n.prototype),"play",this).call(this,t,r);case 3:this.startPlayTimer();case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"resume",value:function(){var e,t;V(M(n.prototype),"resume",this).call(this),this.startPlayTimer(),null===(e=this.audioPlayer)||void 0===e||e.setVodRenderInfo(this.render.getLastDrawTime(),this.speed),null===(t=this.audioPlayer)||void 0===t||t.setVodFrameMode(!1)}},{key:"pause",value:function(){this.stopPlayTimer()}},{key:"afterStop",value:function(){this.stopPlayTimer(),this.frames=[],this.framePos=0}},{key:"afterSetup",value:function(){}},{key:"beforeDestroy",value:function(){}},{key:"putFrameInternal",value:function(e){this.frames.length>0&&e.pts<=this.frames[0].pts?(this.framePos+=1,this.frames.unshift(e)):this.frames.push(e),(this.frames.length===Q||this.frames.length>Q+50)&&(0===this.playTimer&&V(M(n.prototype),"pause",this).call(this),this.frames.length>Q+1&&(this.direction>0?this.frames.shift():this.frames.pop(),this.framePos>this.frames.length&&(this.framePos=this.frames.length),this.firstPlayTick=0))}},{key:"dispatchAllCaches",value:function(){while(this.backwardCaches.length>0){var e=this.backwardCaches.pop();e&&this.putFrameInternal(e)}}},{key:"startPlayTimer",value:function(){var e=this;this.stopPlayTimer(),this.firstPlayTick=0,this.firstPlayTime=0,this.direction<0?this.playTimer=requestAnimationFrame((function(){return e.onPlayBackwardTimer()})):this.playTimer=requestAnimationFrame((function(){return e.onPlayTimer()}))}},{key:"stopPlayTimer",value:function(){0!==this.playTimer&&(cancelAnimationFrame(this.playTimer),this.playTimer=0)}},{key:"onPlayTimer",value:function(){var e=this;if(this.framePos<this.frames.length){var t=performance.now();if(0===this.firstPlayTick)this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].pts,this.drawFrame(!0);else if(this.frames.length>J)this.frames.shift(),this.frames.shift(),this.framePos-=2,this.framePos<0&&(this.framePos=0),this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].pts,this.drawFrame(!0);else{var n=(t-this.firstPlayTick)*this.speed-(this.frames[this.framePos].pts-this.firstPlayTime);n>1e3?this.frames.length>=J&&(this.frames.shift(),this.framePos-=1,n=(t-this.firstPlayTick)*this.speed-(this.frames[this.framePos].pts-this.firstPlayTime)):n<-1e3&&(this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].pts),n>=0&&this.drawFrame(!0)}}this.playTimer=requestAnimationFrame((function(){return e.onPlayTimer()}))}},{key:"onPlayBackwardTimer",value:function(){var e=this;if(this.framePos>0){var t=performance.now();if(0===this.firstPlayTick)this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos-1].pts,this.drawFrame(!1);else{var n=(t-this.firstPlayTick)*this.speed-(this.firstPlayTime-this.frames[this.framePos-1].pts);(n>1e3||n<-1e3)&&(this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos-1].pts),n>0&&this.drawFrame(!1)}}this.playTimer=requestAnimationFrame((function(){return e.onPlayBackwardTimer()}))}},{key:"drawFrame",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=null;if(e){if(this.framePos<this.frames.length){t=this.frames[this.framePos],this.framePos>=q?this.frames.shift():this.framePos++;var r=this.frames.length-this.framePos;r!==q&&5!==r||V(M(n.prototype),"resume",this).call(this)}}else if(this.framePos>0){t=this.frames[--this.framePos],(this.framePos===q||0===this.framePos&&this.playTime>0)&&V(M(n.prototype),"resume",this).call(this);var i=this.frames.length-this.framePos;if(i>q){this.frames.pop(),i--;while(i>=J)this.frames.pop(),i--}}if(null!==t){if(B.STREAM_FINISHED_TYPE===t.type)return this._onStreamStatus(n.STREAM_FINISHED,0,0),void this.stopPlayTimer();if(B.YUV420_FRAME_TYPE===t.type)this.render.render(O.YUV420,t.data,t.pts);else if(H["DecodedFrameType"].MDEC_FRAME_PCM===t.type){var a;null===(a=this.audioPlayer)||void 0===a||a.feedVod(t.data.subarray(16),t.sampleRate,t.channels,t.pts)}this.playTime=t.pts,this.playingFrame=t}}}]),n}(B),X=function(e){k(n,e);var t=C(n);function n(){return d(this,n),t.apply(this,arguments)}return n}(K);(function(e){e["Live"]="live",e["Vod"]="vod",e["File"]="file"})(G||(G={}));var Z=function(){function e(t,n){var r=this;d(this,e),p(this,"pipe",void 0),p(this,"channels",[]),p(this,"streamWS",void 0),p(this,"_onclose",(function(){return 0})),this.pipe=t,this.streamWS=n,this.streamWS.onclose=this.streamWS.onerror=this.pipe.onDisconnected=function(){r.streamWS.onerror=r.streamWS.onclose=null,r.streamWS.close(),r.pipe.destroy(),r._onclose()},this.streamWS.onmessage=function(e){"string"!==typeof e.data&&r.handleStream(e.data)},this.pipe.onNotify=function(e,t){r.handleNotify(e,t)},console.warn("%c插件播放视频时请勿打开调试窗口!!!!","color:red;font-family:system-ui;font-size:2rem;-webkit-text-stroke: 1px black;font-weight:bold")}return f(e,[{key:"getServiceVersion",value:function(){return this.pipe.getServiceVersion()}},{key:"onClose",value:function(e){return this._onclose=e,this}},{key:"setupChannel",value:function(){var t=u(regeneratorRuntime.mark((function t(n,r,i){var a,o,s,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.pipe.call(g.REQ_OPEN_CHANNEL,{ch:parseInt("".concat(n),10),type:r});case 2:if(this.channels[n]&&(null===(a=this.channels[n])||void 0===a||a.destroy()),0!==e.sampleRate){t.next=14;break}return t.prev=4,o=new AudioContext,e.sampleRate=o.sampleRate,t.next=9,o.close();case 9:t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](4),console.error(t.t0);case 14:return t.next=16,W.a.create({dstSampleRate:e.sampleRate});case 16:if(s=t.sent,l=this.createPlayer(r,n,i,s),l.setup()){t.next=21;break}throw l.destroy(),_.from(m.SETUP_RENDER_FAILED);case 21:return this.channels[n]=l,t.abrupt("return",l);case 23:case"end":return t.stop()}}),t,this,[[4,11]])})));function n(e,n,r){return t.apply(this,arguments)}return n}()},{key:"releaseChannel",value:function(){var e=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.channels[t]){e.next=5;break}return null===(n=this.channels[t])||void 0===n||n.destroy(),e.next=4,this.pipe.call(g.REQ_CLOSE_CHANNEL,{ch:parseInt("".concat(t),10)}).catch((function(e){return console.error(e)}));case 4:this.channels[t]=void 0;case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"ptzControl",value:function(){var e=u(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_PTZ_CONTROL,{url:t,ctl:n,value:r});case 2:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"listCamera",value:function(){var e=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_LIST_CAMERA,{server:t},15e3);case 2:return n=e.sent,e.abrupt("return",n.list);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryRecords",value:function(){var e=u(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_QUERY_RECORDS,{url:t,startTime:n,endTime:r},1e4);case 2:return i=e.sent,e.abrupt("return",i.list);case 4:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"firstRecord",value:function(){var e=u(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_FIRST_RECORD,{url:t,startTime:n,endTime:r},1e4);case 2:if(i=e.sent,!(i.start>0)){e.next=5;break}return e.abrupt("return",i);case 5:return e.abrupt("return",null);case 6:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"destroy",value:function(){this.pipe.destroy(),this.streamWS.close();var e,t=l(this.channels);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&n.destroy()}}catch(r){t.e(r)}finally{t.f()}}},{key:"setting",value:function(){var e=u(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pipe.call(g.REQ_SETTING,t);case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"createPlayer",value:function(e,t,n,r){if(G.Live===e)return new z(t,this.pipe,n,r);if(G.Vod===e)return new K(t,this.pipe,n,r);if(G.File===e)return new X(t,this.pipe,n,r);throw _.from(m.INVALID_PARAM)}},{key:"handleStream",value:function(e){var t=new DataView(e,0,12),n=this.channels[t.getUint8(2)];n&&t.getUint8(3)==n.streamId&&n.handleNetData(t,e)}},{key:"handleNotify",value:function(e,t){var n=this.channels[t.ch];n&&n.handleNotify(e,t)}}],[{key:"create",value:function(){var t=u(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,v.a.create(b.a.getModuleName(),b.a.getModuleVersion(),b.a.loadModuleData);case 2:return n=t.sent,t.prev=3,t.next=6,e.setupStreamConn(n.getDataPort());case 6:return r=t.sent,t.abrupt("return",new e(n,r));case 10:throw t.prev=10,t.t0=t["catch"](3),n.destroy(),t.t0;case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));function n(){return t.apply(this,arguments)}return n}()},{key:"download",value:function(){var e=u(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v.a.downloadService();case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setupStreamConn",value:function(e){return new Promise((function(t,n){var r=new WebSocket("ws://127.0.0.1:".concat(e,"/stream"));r.binaryType="arraybuffer",r.onclose=r.onerror=function(){n(_.from(m.SETUP_PLAYER_FAILED)),r.onerror=r.onclose=null,r.close()},r.onopen=function(){t(r)}}))}}]),e}();function $(){return ee.apply(this,arguments)}function ee(){return ee=u(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Z.create();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),ee.apply(this,arguments)}function te(){return ne.apply(this,arguments)}function ne(){return ne=u(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v.a.downloadService();case 2:case"end":return e.stop()}}),e)}))),ne.apply(this,arguments)}p(Z,"sampleRate",0);var re={create:$,download:te};t["default"]=re},fb6a:function(e,t,n){"use strict";var r=n("23e7"),i=n("861d"),a=n("e8b5"),o=n("23cb"),s=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),d=n("1dde"),h=d("slice"),f=u("species"),p=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,u,d=l(this),h=s(d.length),y=o(e,h),v=o(void 0===t?h:t,h);if(a(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?i(n)&&(n=n[f],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return p.call(d,y,v);for(r=new(void 0===n?Array:n)(m(v-y,0)),u=0;y<v;y++,u++)y in d&&c(r,u,d[y]);return r.length=u,r}})},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fdbc:function(e,t){e.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(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise}})}))},c8b5:function(e,t,n){var r;
|
||
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
||
* http://hammerjs.github.io/
|
||
*
|
||
* Copyright (c) 2016 Jorik Tangelder;
|
||
* Licensed under the MIT license */(function(i,a,o,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=a.createElement("div"),d="function",h=Math.round,f=Math.abs,p=Date.now;function m(e,t,n){return setTimeout(A(e,n),t)}function y(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s){r=0;while(r<e.length)t.call(n,e[r],r,e),r++}else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=i.console&&(i.console.warn||i.console.log);return a&&a.call(i.console,r,n),e.apply(this,arguments)}}l="function"!==typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}:Object.assign;var _=g((function(e,t,n){var r=Object.keys(t),i=0;while(i<r.length)(!n||n&&e[r[i]]===s)&&(e[r[i]]=t[r[i]]),i++;return e}),"extend","Use `assign`."),w=g((function(e,t){return _(e,t,!0)}),"merge","Use `assign`.");function b(e,t,n){var r,i=t.prototype;r=e.prototype=Object.create(i),r.constructor=e,r._super=i,n&&l(r,n)}function A(e,t){return function(){return e.apply(t,arguments)}}function k(e,t){return typeof e==d?e.apply(t&&t[0]||s,t):e}function M(e,t){return e===s?t:e}function x(e,t,n){v(D(t),(function(t){e.addEventListener(t,n,!1)}))}function S(e,t,n){v(D(t),(function(t){e.removeEventListener(t,n,!1)}))}function L(e,t){while(e){if(e==t)return!0;e=e.parentNode}return!1}function T(e,t){return e.indexOf(t)>-1}function D(e){return e.trim().split(/\s+/g)}function E(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);var r=0;while(r<e.length){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function C(e){return Array.prototype.slice.call(e,0)}function Y(e,t,n){var r=[],i=[],a=0;while(a<e.length){var o=t?e[a][t]:e[a];E(i,o)<0&&r.push(e[a]),i[a]=o,a++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function P(e,t){var n,r,i=t[0].toUpperCase()+t.slice(1),a=0;while(a<c.length){if(n=c[a],r=n?n+i:t,r in e)return r;a++}return s}var O=1;function I(){return O++}function R(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||i}var N=/mobile|tablet|ip(ad|hone|od)|android/i,F="ontouchstart"in i,j=P(i,"PointerEvent")!==s,B=F&&N.test(navigator.userAgent),H="touch",W="pen",z="mouse",U="kinect",V=25,G=1,Q=2,J=4,q=8,K=1,X=2,Z=4,$=8,ee=16,te=X|Z,ne=$|ee,re=te|ne,ie=["x","y"],ae=["clientX","clientY"];function oe(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){k(e.options.enable,[e])&&n.handler(t)},this.init()}function se(e){var t,n=e.options.inputClass;return t=n||(j?Te:B?Re:F?Be:ke),new t(e,le)}function le(e,t,n){var r=n.pointers.length,i=n.changedPointers.length,a=t&G&&r-i===0,o=t&(J|q)&&r-i===0;n.isFirst=!!a,n.isFinal=!!o,a&&(e.session={}),n.eventType=t,ce(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function ce(e,t){var n=e.session,r=t.pointers,i=r.length;n.firstInput||(n.firstInput=he(t)),i>1&&!n.firstMultiple?n.firstMultiple=he(t):1===i&&(n.firstMultiple=!1);var a=n.firstInput,o=n.firstMultiple,s=o?o.center:a.center,l=t.center=fe(r);t.timeStamp=p(),t.deltaTime=t.timeStamp-a.timeStamp,t.angle=ve(s,l),t.distance=ye(s,l),ue(n,t),t.offsetDirection=me(t.deltaX,t.deltaY);var c=pe(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=f(c.x)>f(c.y)?c.x:c.y,t.scale=o?_e(o.pointers,r):1,t.rotation=o?ge(o.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,de(n,t);var u=e.element;L(t.srcEvent.target,u)&&(u=t.srcEvent.target),t.target=u}function ue(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},a=e.prevInput||{};t.eventType!==G&&a.eventType!==J||(i=e.prevDelta={x:a.deltaX||0,y:a.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}function de(e,t){var n,r,i,a,o=e.lastInterval||t,l=t.timeStamp-o.timeStamp;if(t.eventType!=q&&(l>V||o.velocity===s)){var c=t.deltaX-o.deltaX,u=t.deltaY-o.deltaY,d=pe(l,c,u);r=d.x,i=d.y,n=f(d.x)>f(d.y)?d.x:d.y,a=me(c,u),e.lastInterval=t}else n=o.velocity,r=o.velocityX,i=o.velocityY,a=o.direction;t.velocity=n,t.velocityX=r,t.velocityY=i,t.direction=a}function he(e){var t=[],n=0;while(n<e.pointers.length)t[n]={clientX:h(e.pointers[n].clientX),clientY:h(e.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:t,center:fe(t),deltaX:e.deltaX,deltaY:e.deltaY}}function fe(e){var t=e.length;if(1===t)return{x:h(e[0].clientX),y:h(e[0].clientY)};var n=0,r=0,i=0;while(i<t)n+=e[i].clientX,r+=e[i].clientY,i++;return{x:h(n/t),y:h(r/t)}}function pe(e,t,n){return{x:t/e||0,y:n/e||0}}function me(e,t){return e===t?K:f(e)>=f(t)?e<0?X:Z:t<0?$:ee}function ye(e,t,n){n||(n=ie);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return Math.sqrt(r*r+i*i)}function ve(e,t,n){n||(n=ie);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return 180*Math.atan2(i,r)/Math.PI}function ge(e,t){return ve(t[1],t[0],ae)+ve(e[1],e[0],ae)}function _e(e,t){return ye(t[0],t[1],ae)/ye(e[0],e[1],ae)}oe.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(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 we={mousedown:G,mousemove:Q,mouseup:J},be="mousedown",Ae="mousemove mouseup";function ke(){this.evEl=be,this.evWin=Ae,this.pressed=!1,oe.apply(this,arguments)}b(ke,oe,{handler:function(e){var t=we[e.type];t&G&&0===e.button&&(this.pressed=!0),t&Q&&1!==e.which&&(t=J),this.pressed&&(t&J&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:z,srcEvent:e}))}});var Me={pointerdown:G,pointermove:Q,pointerup:J,pointercancel:q,pointerout:q},xe={2:H,3:W,4:z,5:U},Se="pointerdown",Le="pointermove pointerup pointercancel";function Te(){this.evEl=Se,this.evWin=Le,oe.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(Se="MSPointerDown",Le="MSPointerMove MSPointerUp MSPointerCancel"),b(Te,oe,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),i=Me[r],a=xe[e.pointerType]||e.pointerType,o=a==H,s=E(t,e.pointerId,"pointerId");i&G&&(0===e.button||o)?s<0&&(t.push(e),s=t.length-1):i&(J|q)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:a,srcEvent:e}),n&&t.splice(s,1))}});var De={touchstart:G,touchmove:Q,touchend:J,touchcancel:q},Ee="touchstart",Ce="touchstart touchmove touchend touchcancel";function Ye(){this.evTarget=Ee,this.evWin=Ce,this.started=!1,oe.apply(this,arguments)}function Pe(e,t){var n=C(e.touches),r=C(e.changedTouches);return t&(J|q)&&(n=Y(n.concat(r),"identifier",!0)),[n,r]}b(Ye,oe,{handler:function(e){var t=De[e.type];if(t===G&&(this.started=!0),this.started){var n=Pe.call(this,e,t);t&(J|q)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:H,srcEvent:e})}}});var Oe={touchstart:G,touchmove:Q,touchend:J,touchcancel:q},Ie="touchstart touchmove touchend touchcancel";function Re(){this.evTarget=Ie,this.targetIds={},oe.apply(this,arguments)}function Ne(e,t){var n=C(e.touches),r=this.targetIds;if(t&(G|Q)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,a,o=C(e.changedTouches),s=[],l=this.target;if(a=n.filter((function(e){return L(e.target,l)})),t===G){i=0;while(i<a.length)r[a[i].identifier]=!0,i++}i=0;while(i<o.length)r[o[i].identifier]&&s.push(o[i]),t&(J|q)&&delete r[o[i].identifier],i++;return s.length?[Y(a.concat(s),"identifier",!0),s]:void 0}b(Re,oe,{handler:function(e){var t=Oe[e.type],n=Ne.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:H,srcEvent:e})}});var Fe=2500,je=25;function Be(){oe.apply(this,arguments);var e=A(this.handler,this);this.touch=new Re(this.manager,e),this.mouse=new ke(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function He(e,t){e&G?(this.primaryTouch=t.changedPointers[0].identifier,We.call(this,t)):e&(J|q)&&We.call(this,t)}function We(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches,i=function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)};setTimeout(i,Fe)}}function ze(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],a=Math.abs(t-i.x),o=Math.abs(n-i.y);if(a<=je&&o<=je)return!0}return!1}b(Be,oe,{handler:function(e,t,n){var r=n.pointerType==H,i=n.pointerType==z;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)He.call(this,t,n);else if(i&&ze.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ue=P(u.style,"touchAction"),Ve=Ue!==s,Ge="compute",Qe="auto",Je="manipulation",qe="none",Ke="pan-x",Xe="pan-y",Ze=tt();function $e(e,t){this.manager=e,this.set(t)}function et(e){if(T(e,qe))return qe;var t=T(e,Ke),n=T(e,Xe);return t&&n?qe:t||n?t?Ke:Xe:T(e,Je)?Je:Qe}function tt(){if(!Ve)return!1;var e={},t=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||i.CSS.supports("touch-action",n)})),e}$e.prototype={set:function(e){e==Ge&&(e=this.compute()),Ve&&this.manager.element.style&&Ze[e]&&(this.manager.element.style[Ue]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return v(this.manager.recognizers,(function(t){k(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),et(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,i=T(r,qe)&&!Ze[qe],a=T(r,Xe)&&!Ze[Xe],o=T(r,Ke)&&!Ze[Ke];if(i){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}if(!o||!a)return i||a&&n&te||o&&n&ne?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var nt=1,rt=2,it=4,at=8,ot=at,st=16,lt=32;function ct(e){this.options=l({},this.defaults,e||{}),this.id=I(),this.manager=null,this.options.enable=M(this.options.enable,!0),this.state=nt,this.simultaneous={},this.requireFail=[]}function ut(e){return e&st?"cancel":e&at?"end":e&it?"move":e&rt?"start":""}function dt(e){return e==ee?"down":e==$?"up":e==X?"left":e==Z?"right":""}function ht(e,t){var n=t.manager;return n?n.get(e):e}function ft(){ct.apply(this,arguments)}function pt(){ft.apply(this,arguments),this.pX=null,this.pY=null}function mt(){ft.apply(this,arguments)}function yt(){ct.apply(this,arguments),this._timer=null,this._input=null}function vt(){ft.apply(this,arguments)}function gt(){ft.apply(this,arguments)}function _t(){ct.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function wt(e,t){return t=t||{},t.recognizers=M(t.recognizers,wt.defaults.preset),new kt(e,t)}ct.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(y(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=ht(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return y(e,"dropRecognizeWith",this)||(e=ht(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(y(e,"requireFailure",this))return this;var t=this.requireFail;return e=ht(e,this),-1===E(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(y(e,"dropRequireFailure",this))return this;e=ht(e,this);var t=E(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<at&&r(t.options.event+ut(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=at&&r(t.options.event+ut(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=lt},canEmit:function(){var e=0;while(e<this.requireFail.length){if(!(this.requireFail[e].state&(lt|nt)))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!k(this.options.enable,[this,t]))return this.reset(),void(this.state=lt);this.state&(ot|st|lt)&&(this.state=nt),this.state=this.process(t),this.state&(rt|it|at|st)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},b(ft,ct,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=t&(rt|it),i=this.attrTest(e);return r&&(n&q||!i)?t|st:r||i?n&J?t|at:t&rt?t|it:rt:lt}}),b(pt,ft,{defaults:{event:"pan",threshold:10,pointers:1,direction:re},getTouchAction:function(){var e=this.options.direction,t=[];return e&te&&t.push(Xe),e&ne&&t.push(Ke),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,i=e.direction,a=e.deltaX,o=e.deltaY;return i&t.direction||(t.direction&te?(i=0===a?K:a<0?X:Z,n=a!=this.pX,r=Math.abs(e.deltaX)):(i=0===o?K:o<0?$:ee,n=o!=this.pY,r=Math.abs(e.deltaY))),e.direction=i,n&&r>t.threshold&&i&t.direction},attrTest:function(e){return ft.prototype.attrTest.call(this,e)&&(this.state&rt||!(this.state&rt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=dt(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),b(mt,ft,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&rt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),b(yt,ct,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Qe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime>t.time;if(this._input=e,!r||!n||e.eventType&(J|q)&&!i)this.reset();else if(e.eventType&G)this.reset(),this._timer=m((function(){this.state=ot,this.tryEmit()}),t.time,this);else if(e.eventType&J)return ot;return lt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===ot&&(e&&e.eventType&J?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),b(vt,ft,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&rt)}}),b(gt,ft,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:te|ne,pointers:1},getTouchAction:function(){return pt.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(te|ne)?t=e.overallVelocity:n&te?t=e.overallVelocityX:n&ne&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&f(t)>this.options.velocity&&e.eventType&J},emit:function(e){var t=dt(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),b(_t,ct,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Je]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime<t.time;if(this.reset(),e.eventType&G&&0===this.count)return this.failTimeout();if(r&&i&&n){if(e.eventType!=J)return this.failTimeout();var a=!this.pTime||e.timeStamp-this.pTime<t.interval,o=!this.pCenter||ye(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,o&&a?this.count+=1:this.count=1,this._input=e;var s=this.count%t.taps;if(0===s)return this.hasRequireFailures()?(this._timer=m((function(){this.state=ot,this.tryEmit()}),t.interval,this),rt):ot}return lt},failTimeout:function(){return this._timer=m((function(){this.state=lt}),this.options.interval,this),lt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ot&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),wt.VERSION="2.0.7",wt.defaults={domEvents:!1,touchAction:Ge,enable:!0,inputTarget:null,inputClass:null,preset:[[vt,{enable:!1}],[mt,{enable:!1},["rotate"]],[gt,{direction:te}],[pt,{direction:te},["swipe"]],[_t],[_t,{event:"doubletap",taps:2},["tap"]],[yt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var bt=1,At=2;function kt(e,t){this.options=l({},wt.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=se(this),this.touchAction=new $e(this,this.options.touchAction),Mt(this,!0),v(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Mt(e,t){var n,r=e.element;r.style&&(v(e.options.cssProps,(function(i,a){n=P(r.style,a),t?(e.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}function xt(e,t){var n=a.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}kt.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?At:bt},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,i=t.curRecognizer;(!i||i&&i.state&ot)&&(i=t.curRecognizer=null);var a=0;while(a<r.length)n=r[a],t.stopped===At||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(e),!i&&n.state&(rt|it|at)&&(i=t.curRecognizer=n),a++}},get:function(e){if(e instanceof ct)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(y(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(y(e,"remove",this))return this;if(e=this.get(e),e){var t=this.recognizers,n=E(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return v(D(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==s){var n=this.handlers;return v(D(e),(function(e){t?n[e]&&n[e].splice(E(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&xt(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};var r=0;while(r<n.length)n[r](t),r++}},destroy:function(){this.element&&Mt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(wt,{INPUT_START:G,INPUT_MOVE:Q,INPUT_END:J,INPUT_CANCEL:q,STATE_POSSIBLE:nt,STATE_BEGAN:rt,STATE_CHANGED:it,STATE_ENDED:at,STATE_RECOGNIZED:ot,STATE_CANCELLED:st,STATE_FAILED:lt,DIRECTION_NONE:K,DIRECTION_LEFT:X,DIRECTION_RIGHT:Z,DIRECTION_UP:$,DIRECTION_DOWN:ee,DIRECTION_HORIZONTAL:te,DIRECTION_VERTICAL:ne,DIRECTION_ALL:re,Manager:kt,Input:oe,TouchAction:$e,TouchInput:Re,MouseInput:ke,PointerEventInput:Te,TouchMouseInput:Be,SingleTouchInput:Ye,Recognizer:ct,AttrRecognizer:ft,Tap:_t,Pan:pt,Swipe:gt,Pinch:mt,Rotate:vt,Press:yt,on:x,off:S,each:v,merge:w,extend:_,assign:l,inherit:b,bindFn:A,prefixed:P});var St="undefined"!==typeof i?i:"undefined"!==typeof self?self:{};St.Hammer=wt,r=function(){return wt}.call(t,n,t,e),r===s||(e.exports=r)})(window,document)},da76:function(e,t,n){e.exports=n.p+"img/stream2_bg.c5c29ce5.png"},f5ea:function(e,t,n){"use strict";(function(e){var r=n("2b0e"),i=n("c8b5"),a=n.n(i),o=n("fca5"),s=n.n(o);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={mode:"read",multiple:!0,rate:.2,src:null,width:null,min:300,max:null,markers:[],marker_size:20,marker_width:30,marker_height:30,enable_drag:!0,auto_index_z:!0,enable_canvas:!1,zoom_lock:!1,move_limit:!0,deviation_x:0,deviation_y:0,retainWdith:50,retainHeight:50};class u{constructor(e,t,n){l(this,"domId",void 0),l(this,"initImgDom",void 0),l(this,"config",void 0),l(this,"hammerObj",void 0),l(this,"offset",void 0),l(this,"callback",void 0),l(this,"paperMarkerData",void 0),l(this,"currentMarkerElement",void 0),l(this,"imgDomParentOffset",void 0),this.initImgDom=document.querySelector(e),this.domId=e,this.config={options:{},markerList:[]},this.offset={left:0,top:0},this.paperMarkerData=[],this.callback=n,this.initImgDom&&this.initImgDom.offsetParent&&(this.imgDomParentOffset={left:this.initImgDom.offsetParent.offsetLeft,top:this.initImgDom.offsetParent.offsetTop}),this.init(t)}init(e){document.ondragstart=function(){return!1};let t={};t="undefined"===typeof e?c:Object.assign({},c,e),this.config.options=t,d(this.config.options.src).then(e=>{this.initImgDom.src=this.config.options.src;let{setWidth:n,setHeight:r}=this.imageCenterAlign(e);this.setHammer(),this.initImgDom.addEventListener&&this.initImgDom.addEventListener("DOMMouseScroll",e=>{e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),this.setMousewheel(e)},!1),this.initImgDom.onmousewheel=e=>{e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),this.setMousewheel(e)},this.loadMarkers(t.markers,"back"),this.callback({type:"load",data:{width:n,height:r,src:this.config.options.src}})})}setMousewheel(e){let t=this.config.options,n=0;e.wheelDelta&&(n=e.wheelDelta,window.opera&&(n=-n)),e.detail&&(n=-e.detail),this.initImgDom=document.querySelector(this.domId),this.imgDomParentOffset={left:this.initImgDom.offsetParent.getBoundingClientRect().left,top:this.initImgDom.offsetParent.getBoundingClientRect().top};let r={x:e.pageX-this.imgDomParentOffset.left,y:e.pageY-this.imgDomParentOffset.top};this.zoomMarker_Zoom(t.zoom_lock?null:r,n>0?1+t.rate:1-t.rate)}setHammer(){let e=this.config.options;this.hammerObj=new a.a(this.initImgDom),this.hammerObj.get("pan").set({direction:a.a.DIRECTION_ALL}),this.hammerObj.on("panleft panright panup pandown",t=>{e.pinchlock||this.zoomMarker_Move(t.deltaX+this.offset.left,t.deltaY+this.offset.top)}),this.hammerObj.on("panstart",()=>{this.offset.left=this.initImgDom.offsetLeft,this.offset.top=this.initImgDom.offsetTop}),this.hammerObj.on("panend",()=>{e.pinchlock=!1}),this.hammerObj.on("tap",e=>{let t=this.initImgDom.dataset;if("undefined"===typeof e.pointers[0].x){let n={left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop};this.callback({type:"mapClick",data:{x:(e.center.x-n.left)/this.initImgDom.width*Number(t.naturalWidth),y:(e.center.y-n.top)/this.initImgDom.height*Number(t.naturalHeight)}})}else this.callback({type:"mapClick",data:{pageX:e.pointers[0].offsetX,pageY:e.pointers[0].offsetY,x:e.pointers[0].offsetX/this.initImgDom.width*Number(t.naturalWidth),y:e.pointers[0].offsetY/this.initImgDom.height*Number(t.naturalHeight)}})})}zoomMarker_Move(e,t){let n=this.config.options;n.enable_drag&&(n.move_limit?this.limitLockOffset(this.initImgDom,e,t):(this.initImgDom.style.top=t+"px",this.initImgDom.style.left=e+"px"),this.reloadMarkers()),this.checkAllMarkerPosition(),this.callback({type:"imgMove",data:{top:t,left:e}})}zoomMarker_Zoom(e,t){let{options:n}=this.config,r=this.initImgDom.dataset,i={left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop};const a=r.naturalHeight/r.naturalWidth,o=Number(r.width),s=Number(r.height);var l=o*t,c=l*a;null!=n.max&&l>n.max?(l=n.max,c=l*a):null!=n.min&&l<n.min&&(l=n.min,c=l*a),l=parseInt(l.toString()),c=parseInt(c.toString()),"undefined"!==typeof e&&null!==e||(e={},e.x=i.left+o/2,e.y=i.top+s/2);var u=e.y-c*(e.y-i.top)/s,d=e.x-l*(e.x-i.left)/o;this.initImgDom.dataset.width=l,this.initImgDom.dataset.height=c,this.initImgDom.style.width=l+"px",this.initImgDom.style.height=c+"px",this.initImgDom.style.left=d+"px",this.initImgDom.style.top=u+"px",this.reloadMarkers(),this.callback({type:"zoom"})}zoomMarker_AddMarker(e){this.addMarker(e),this.reloadMarkers()}imageCenterAlign(e){let t=e.width,n=e.height;null!==this.config.options.width&&(t=this.config.options.width,n=this.config.options.width/(e.width/e.height)),this.initImgDom.dataset.naturalWidth=t,this.initImgDom.dataset.naturalHeight=n;const r=this.initImgDom.offsetParent.getBoundingClientRect();let i=t/n,a=r.width/r.height,o={left:0,top:0,width:0,height:0};return i>=a?(o.width=r.width,o.height=r.width/i,o.top=(r.height-o.height)/2):(o.height=r.height,o.width=r.height*i,o.left=(r.width-o.width)/2),this.initImgDom.dataset.width=o.width,this.initImgDom.dataset.height=o.height,this.initImgDom.style.width=o.width+"px",this.initImgDom.style.height=o.height+"px",this.initImgDom.style.left=o.left+"px",this.initImgDom.style.top=o.top+"px",o}getMarkerOffset(e){let t=this.paperMarkerData.filter(t=>JSON.parse(t).id===e);return 0!==t.length?JSON.parse(t[0]):{}}addMarker(e,t){const n="undefined"===typeof e.draggable||e.draggable,r=document.getElementById(e.id);if(!r)return;let i=null;r.onclick=()=>{i=null},r.onmousemove=e=>{let t=e.currentTarget.id;if(this.currentMarkerElement=document.getElementById(t),null===i){let e=this.paperMarkerData.filter(e=>JSON.parse(e).id===t),n=0!==e.length?e[0]:"";""!==n&&this.callback({type:"markerOver",data:{id:t,left:this.currentMarkerElement.offsetLeft,top:this.currentMarkerElement.offsetTop,...JSON.parse(n)}})}},r.onmouseout=()=>{this.callback({type:"markerOut"})},this.paperMarkerData.push(JSON.stringify(e)),this.setMarkerOffset(r,e,{left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop});const o=new a.a(r);return n&&"write"===this.config.options.mode&&(o.on("pan",t=>{let n={left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop};const r=n.left-e.marker_width/2,a=r+Number(this.initImgDom.width),o=n.top-e.marker_height,s=o+Number(this.initImgDom.height);var l=t.deltaX+i.left,c=t.deltaY+i.top;l<r?l=r:l>a&&(l=a),c<o?c=o:c>s&&(c=s),this.callback({type:"markerMove",data:{id:e.id,left:l,top:c}}),this.currentMarkerElement.style.left=l+"px",this.currentMarkerElement.style.top=c+"px"}),o.on("panstart",()=>{i={left:this.currentMarkerElement.offsetLeft,top:this.currentMarkerElement.offsetTop}}),o.on("panend",()=>{this.updateMarker(this.currentMarkerElement)})),o.on("tap",e=>{let t=e.target.offsetParent.id,n=this.paperMarkerData.filter(e=>JSON.parse(e).id===t),r=0!==n.length?n[0]:"";""!==r&&this.callback({type:"markerClick",data:{...JSON.parse(r),left:this.currentMarkerElement.offsetLeft,top:this.currentMarkerElement.offsetTop}})}),e}loadMarkers(e,t){e.map(e=>{this.addMarker(JSON.parse(e),t)}),this.reloadMarkers()}toJSONData(){let e=[];return this.paperMarkerData.map(t=>{e.push(JSON.parse(t))}),{img:{src:this.config.options.src,naturalWidth:this.initImgDom.dataset.naturalWidth,naturalHeight:this.initImgDom.dataset.naturalHeight,width:this.initImgDom.dataset.width,height:this.initImgDom.dataset.height},markers:e}}setMarkerOffset(e,t,n){let r=this.initImgDom.dataset,i=Number(r.width)*t.x/r.naturalWidth+n.left-(t.marker_width||this.config.options.marker_width)/2+this.config.options.deviation_x,a=Number(r.height)*t.y/r.naturalHeight+n.top-(t.marker_height||this.config.options.marker_height)-this.config.options.deviation_y;return e.style.left=i+"px",e.style.top=a+"px",{left:i,top:a}}updateMarker(e){let t={left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop},n=document.getElementById(e.id);const r=this.config.options,i=t.left-r.marker_width/2,a=t.top-r.marker_height,o=this.initImgDom.dataset;let s=(n.offsetLeft-i)*Number(o.naturalWidth)/this.initImgDom.width,l=(n.offsetTop-a)*Number(o.naturalHeight)/this.initImgDom.height,c=this.paperMarkerData.filter(t=>t.id===e.id||JSON.parse(t).id.toString()===e.id.toString());if(0!==c.length){let t=Object.assign({},JSON.parse(c[0]));t.x=s,t.y=l;let n=this.paperMarkerData.map(e=>JSON.parse(e).id.toString()).indexOf(e.id);this.paperMarkerData[n]=JSON.stringify(t)}else this.paperMarkerData.push(JSON.stringify({...e,x:s,y:l}));return this.callback({type:"markerUpload",data:this.paperMarkerData}),{x:s,y:l}}reloadMarkers(){this.paperMarkerData=this.paperMarkerData.map(e=>{let t=JSON.parse(e),n=document.getElementById(t.id);if(n){let e=this.setMarkerOffset(n,t,{left:this.initImgDom.offsetLeft,top:this.initImgDom.offsetTop});t.styleLeft=e.left,t.styleTop=e.top}return JSON.stringify(t)}),this.callback({type:"reloadMarkers",data:this.paperMarkerData})}limitLockOffset(e,t,n){let r=e.parentElement;const i={width:r.offsetWidth,height:r.offsetHeight,offsetLeft:r.offsetLeft,offsetTop:r.offsetTop},a=i.width+i.offsetLeft,o=i.height+i.offsetTop,s=e.width,l=e.height,c=this.config.options.retainWdith,u=this.config.options.retainHeight;var d=t,h=n;d+c>a?d=a-c:d<i.offsetLeft-s+c&&(d=i.offsetLeft-s+c),h+u>o?h=o-u:h<i.offsetTop-l+u&&(h=i.offsetTop-l+u),e.style.left=d+"px",e.style.top=h+"px"}removeMarker(e){let t=this.paperMarkerData.map(e=>JSON.parse(e).id).indexOf(e);-1!==t&&this.paperMarkerData.splice(t,1),this.reloadMarkers()}updateParentOffset(){this.initImgDom=document.querySelector(this.domId),this.imgDomParentOffset={left:this.initImgDom.offsetParent.offsetLeft,top:this.initImgDom.offsetParent.offsetTop}}getMarkerById(e){let t=this.paperMarkerData.filter(t=>JSON.parse(t).id===e);return 0!==t.length?Object.assign({},JSON.parse(t[0])):{}}removeMarkerToCenter(e){console.log(this.currentMarkerElement),console.log(this.imgDomParentOffset);let t=document.getElementById(e);console.log(t)}setFitView(e){const{offsetTop:t,offsetLeft:n}=this.initImgDom,r={x:0,y:0},i={x:this.initImgDom.parentElement.getBoundingClientRect().width/2,y:this.initImgDom.parentElement.getBoundingClientRect().height/2};if(e){let a=document.getElementById(e);const o={x:a.offsetLeft,y:a.offsetTop};o.x<i.x?r.x=n+(i.x-o.x):r.x=n-(o.x-i.x),o.y<i.y?r.y=t+(i.y-o.y):r.y=t-(o.y-i.y),this.initImgDom.style.left=r.x+"px",this.initImgDom.style.top=r.y+"px",this.reloadMarkers(),setTimeout(()=>{this.callback({type:"imgMove",data:{top:r.y,left:r.x}})},500)}}checkAllMarkerPosition(){const{offsetWidth:e,offsetHeight:t}=this.initImgDom.parentElement;let n=this.paperMarkerData.filter(n=>JSON.parse(n).styleLeft+this.config.options.marker_width<0||JSON.parse(n).styleLeft>e||JSON.parse(n).styleTop+this.config.options.marker_height<0||JSON.parse(n).styleTop>t);this.callback({type:"hasHidden",data:n})}calcAlaramPosition(){console.log("calcAlaramPosition"),this.paperMarkerData.map(e=>{let t=document.getElementById(JSON.parse(e).id);if(t){let n=document.getElementById("alarm-"+JSON.parse(e).id);n.style.left=parseFloat(t.style.left)-JSON.parse(e).dialogWidth/2+this.config.options.marker_width/2+"px",n.style.top=parseFloat(t.style.top)-JSON.parse(e).dialogHeight+"px"}})}}const d=e=>new Promise(t=>{let n=new Image;n.src=e,n.onload=function(){t({width:this.width,height:this.height})}}),h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAA3CAYAAAB6i9geAAAHj0lEQVRoQ+2Yf2xUVRbH773vzXvTXzOgtKUt05mCtuIA0h9KW1qKtV0VXJQ1WRXlhwjFn0QSQVyzK8YYWdFgsv7ACoLU1EjiKkZAREenrVBW2ipsKcUUpqU/pAV0ZtrOvDfv3bu5sLOZlvfevOkMyZL4/mmad945n3vOvd9zz0BwlTwwGs5H9pLcpl6xUsKknAAyfUiE1/olYqA+jSwMJHDkPATwGIugIz+dO7BtHmwZa7yIQd89Qgw1rcLKXwWwRpCAdY4FuWdloMHpKcg3ZTwUzBzAFMYtAtTxK+GP9eO4wz04se4MNvMs6BzPg82L7fx7qwpgIBLoiEBv+1C4z+XBm21mlPhYHnP27hzGzer0IBEAdrfL5nea5VSXGw/aTGjNNw/xH+uF1RWm6sAF8w+dCe9LmMzfUGo486cbkFtvACW7f57A5g31AQuL4J6brUPLqyuvCesvLOij+3y2r07BfcWTmOQ3b2e7zPyl0kb7uAWAntwvZR7slgf+MJncueXOOJeWT01QCvllB2hYNM0AXy5j+qKFU/r+eaecVvvvALljCijRglUFpeX++mR84/12xvRyGXtFIIPgf3VKabWtsqcie7hQbRuoguZuFT6xJ6OymgWsZklikWUCAFjyecDWOkCcLSv4e5V8KoLS093vAzvqF3NtsdqT4RZE92zpTuHGlHi4VEkNLgPdsItwNef8rk3l3ODCHORRC3BumDAGFpKgboYD0fP+s3ZsesYhJq67xWgdrbOXgZZ84H+cZ+HGrxdxJ7Wc37UrcN2RPtlkn4CGZluQ5zYb45ltgUN6dVXNd2WtmO2X4PqGpdzboTaXgdqr/T+/WGoA92popU8C8Lq3/TNFGaBQZ/EGIOenIe8cC+OpyEKeaclQ0JPJUJtPTmDzC/UB0FplvF4VlPbuOpdw+Pij/FGtzOzrwElLPhezw0EkJ0CxMB15yjKRt3Iy8qQnQincN7SDTd0izCi1oMLtf+Sag/YjMjpzq7AuLxWu3XaXoVPL4TqHlLH9J2liuKAj3kNIpoyDvmIL8tyaiby3WuFgIgcVm8eKPQFrUz/Z9ONy/lVF0GnV/i9XF7A5K3OZ81oQJTvFG9rP44SIQEcZswjgGSlo6NkitrfchgZDX1e3yNe+1SS1H11pvEMR1F7t63lvHucuykDDahADw4CxV/tvIgSEbb/hFoIgIB8v5NrnWtFQqG1jD4lfsVc0t1YZMxRBbW/6/Ycf5ttS4oGsJUtP7JesP/TiJK9I2HAwWu+X3cT+sqmc7RltQ5Nxy3ZhqutJo1ERdOIbPrnrKWOLYcRZVg5FN31jN4l3dGLT912y6egATpDwSBXQgpwyHg07H+JO8CygjWnEI0gAWt8SZp592siogrqeMP6o9PFoZ8u/CFh7PISfncl4yq3IMz0F+p1dOPFbFzYd6sFJHb+ROECI4vag+3PPfdyJvInIp7SYAAYg8x/+3F+ejlMGpaX/18N8W7JG6YOOB0WCHJ0k8dtObDrUjZP6hwhXkI68pRZENdRr5oH81SlsquvCSY092DQwTLjgt2tmGbr/UsycVct4/zBgZmmVnh6mrfN4d2EGVD1Mas57BwlLwfZ14HEOlzw+NQEKhZMYz1wLpBrqPTsE2G9cOKnXS7jHC9j+5xyBSR8tNJxWSvmhHhy/am/AfEztMFF5eqqAzakKI0+314rZa4vY3oqskbJCF/E3p5T2TrOUvrGcO+0RCFN/RjY195HEjCQoFk9CHjpfvd4opa++me17wI5+U1r4RXk6IrUfrVKRJyr4+RPh2q3ztQU/ebM/nwYYWGNsCg10wUeYvG3itJxroG9/yF2BHryGLpLg6JRNB7tx0oJs9sLqAnROrTqPfBGwNvWR136q4v+ueJhoC3W6hMNtYVpoEPSxfLY3NFjrAI6v68LjPrqHb6/IgiNEXK+M0UXduEWYMceGZm2bx/1vvB7TpSQIqhQ8LxV5Q7OpFzBod/FSUhcAras0LiXUmF7zjCzceEDjmqdW+kihlOwrasVsQSLrG5Yata95wYvza+Xc4D0qF+crBfppOzY96wgkPDiBz9rwZyiGLkR9FBkmH9Qv4Y8rjSJap36sWb04itSIU1PiwDJdo0gw0KXhDpbtXGBwRX370EG/eLdkaz0nO1tWGPUPd9RvcFxeZGdML13hcfl5p5S26zh2l1/PFVVXQsVfTfT8APF9VS6LnytmVVuejoSpmrxyUEqtbpFQaSYoqVkQd1rNMGxVl+wh2XWn/N+tymfl9UWxhd14SEp9t0li5kw2zt05H2oOk2FB6QqDsFV5rByrzF7MZLM+SMqgCzTWsJFCRgQaK9ixQEYMGi3sWCHHBDpW2GggxwwaKWy0kFGB6oWNBWTUoOFgYwUZE1A12FhCxgx0NCz9PxIx19OCdQu+HmfBDkZt9bRFPT6DNjEFDWaW/g3XuyOBjGnpIw0cqX30GV122ghSAssAgXcDAKYCQCZcgoB0HG4DkOwG/YYdYEeWP1K4UPvoQdedrAcElGhCQNAAXs0u/R1UVwYuL33yf0s/8P9Vel2rid4o+j0aPYMuD7+D6kpTBEZXTUb/A/1AsWUIsZTIAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAA3CAYAAAB6i9geAAAGj0lEQVRoQ+2Ye0zTVxTHvxda3hTEGR46i8KAUsrDhawaDdviDEPMTKYsEeIQY9BKQEQaE41/GE0mExAUkCyCGjSZZolLHCOabCM6xch8FBCKymuIMpVAQYoU+C2/H9ZR+L1KSzIT75/9nXvu555z7nmU4B1ZxBZOqrg4Bq2tX4CiPgdFqTAyMh+jo1JGp5OTCS4uL0FIAwj5DSEhV0lm5t3Znmc1KFVeLsXjx9swOJgNk0mOiIgBhIYOQS43IiDgNdzcJhiY4WEH9PQ4o7PTFXq9BxobvSCVdsLTsxBBQT+Q9HSTNdBWgVL79n2D3t5C+Pp6ICGhF2r1ABwcxJ03MQHU1XmhutoXvb1D8PXNJocP/yhuMyAKlCov98KDBxUYG1uL5OS/sXz5gNgDWOVu3vTCuXMfQiL5BeHhaSQ9XVCfIChVWBiIpqZfERq6ABpN11vX2kT6JjRKSxdDr38OpfJLkp3dwaeSF5SBbGi4jrg4gs2bn9rKxrr/7Fl/1NZSUKlW8sFygjLuvn27DqtWyeYM0kxeVUXDGhAbq+YKA27QrKyfsGhRHPbs4XWJXaxMUUB+fiC6u2tJUdHXbDpZQZnX3d9/Gnl5zXaLSaEb0elMqw2Ht/e3bNlgBih14YITrlzpwNatQ1CrDZz6DQZHSCSUXS9SVyfDqVMeiI2VT8+zM0G1Wg2k0u9w6FArrxEOHgxGa6sMcvkrKBQGREUZoFS+Ep1XuZTv3x8Ck2kvycsrnSoyE1SjeYjkZGDFCu7cNjpKsG1bNEwmy2zv7DyO4OBBREQYEBNjwOLFr4U8PuP7jRteqKoCKSv7iBOUqd0NDbdw8qSO1zL19Z4oKAgRhJDJRhEWZkBExCCWLTPAx2dMcA9dwdLTI6FUqkl29h2zvIVFqYwMLYKCcrFrVyevwsrKhbh61U/wUEsBCn5+RoSHG6BSDSIycgiurpN9wfRVVCRHW9v3pLg4jx10584aJCaGIj7+JS+EVhuG7m53K0EtxSWSCSa+N2zoQVTUkMXHmpr5uHxZT0pK4tlBNZonyMgYgEIxzAkxMOAIjSYKFCVYfgUvQgiFvXv1UKleWcjq9W4oLvYipaUL2UHT0kZQUNAML69x3rRUViZHa6snjEaJIAyfwOrVz5CW9mSGCG2M3bsVpKLChR00JWUclZV3IRFxPh30LS1uuH9fhqYmGTo73TE+LrLnA+DnN4wjR1oglVIzQE0mgrS0aFJV5cgNWlFxj3XzdG3Hjsnx4oUzlMrJHBoYOIKGBg/odDI0N3vi2TNXcLWRdHweONCC4GAjq8HHxoAtW2K4QcW43qzZaHSATvcfmMHgxORQGjw6ehDu7uO4c0eGxkZPtLTIQH83r/Xru5GU1Mv7DnhdTz+mzEx6tOB+TFza+/okDFh9vTd0unmYN+81k0OVSjqHDqK/X4J79zzR1+eEtWv/wZkzi5Cb2w7C8iabm91w4gTPYxKbnugyR6eV6GjLtEJfgm7ZqqsDkJraDqPREY2NMrS1ecDHZ5QptfR8delSABITnyIurp/13oLpiU74wcG5yMriT/ibNn3MHHD+/F8WB9GNSnZ2BPz9jRa9Av3wmprcmYdHx69a3Yd1615wup6O/0ePjpKSkiPsj4kuoTrdLZSX85dQM2hCQo/FYV1dbmhs9IZWq2e1tphcRl9q+/ZIqFSfTB2vZzYlO3Y8REoKf1NiBmU7eOnSQcHOiw9YTFNC76fEtHlcrhdjMSEZ0W2emMZ5rkAnG2d3rFmzhCQljU69E98ocgZ5eQ9YO3i+Vy9kMa7vk6OIAt7eqaJGEbMeyjzc5eR0sOa62QJx7Tt6NBBdXbXk+HHxwx0Tq+ZxOS5OhpSUuZnpzdD0bH/t2gBiY5dbPS4zsJN/QPyJ+PgJbNzIXfJsse7Fi76oqXGAQrGS0JWKYwn2lFR+fgiamv5AfPy43WEnIR2hVH5KcnJ4h0lBUMaycwFrBSTNIArU7rBWQloFajfYWUBaDWoz7CwhZwU6a1gbIGcNajWsjZA2gYqGtQOkzaCCsHaCtAsoJ6wdIe0GOgOW/kFkxRFbfUUnfDEK31YwWlhEWRSj0yxjV9C3lqVLnkDttgbSrq639mBr5W226O+BgS7+QCpFyFcAFKCoDxgIQuhxuJlQ1M9PgdOfdXSMWAs3Vd5m0JYlS65RwEo+CAJcD2tvX/UeVIwFprueAha8Cf7n/yvXi7mMPWRsjlF7QIjR8R5UjJWskXlnLPovuoYSZWNIBgcAAAAASUVORK5CYII=",p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAA3CAYAAAB6i9geAAAGj0lEQVRoQ+2Ye0zTVxTHvxda3hTEGR46i8KAUsrDhawaDdviDEPMTKYsEeIQY9BKQEQaE41/GE0mExAUkCyCGjSZZolLHCOabCM6xch8FBCKymuIMpVAQYoU+C2/H9ZR+L1KSzIT75/9nXvu555z7nmU4B1ZxBZOqrg4Bq2tX4CiPgdFqTAyMh+jo1JGp5OTCS4uL0FIAwj5DSEhV0lm5t3Znmc1KFVeLsXjx9swOJgNk0mOiIgBhIYOQS43IiDgNdzcJhiY4WEH9PQ4o7PTFXq9BxobvSCVdsLTsxBBQT+Q9HSTNdBWgVL79n2D3t5C+Pp6ICGhF2r1ABwcxJ03MQHU1XmhutoXvb1D8PXNJocP/yhuMyAKlCov98KDBxUYG1uL5OS/sXz5gNgDWOVu3vTCuXMfQiL5BeHhaSQ9XVCfIChVWBiIpqZfERq6ABpN11vX2kT6JjRKSxdDr38OpfJLkp3dwaeSF5SBbGi4jrg4gs2bn9rKxrr/7Fl/1NZSUKlW8sFygjLuvn27DqtWyeYM0kxeVUXDGhAbq+YKA27QrKyfsGhRHPbs4XWJXaxMUUB+fiC6u2tJUdHXbDpZQZnX3d9/Gnl5zXaLSaEb0elMqw2Ht/e3bNlgBih14YITrlzpwNatQ1CrDZz6DQZHSCSUXS9SVyfDqVMeiI2VT8+zM0G1Wg2k0u9w6FArrxEOHgxGa6sMcvkrKBQGREUZoFS+Ep1XuZTv3x8Ck2kvycsrnSoyE1SjeYjkZGDFCu7cNjpKsG1bNEwmy2zv7DyO4OBBREQYEBNjwOLFr4U8PuP7jRteqKoCKSv7iBOUqd0NDbdw8qSO1zL19Z4oKAgRhJDJRhEWZkBExCCWLTPAx2dMcA9dwdLTI6FUqkl29h2zvIVFqYwMLYKCcrFrVyevwsrKhbh61U/wUEsBCn5+RoSHG6BSDSIycgiurpN9wfRVVCRHW9v3pLg4jx10584aJCaGIj7+JS+EVhuG7m53K0EtxSWSCSa+N2zoQVTUkMXHmpr5uHxZT0pK4tlBNZonyMgYgEIxzAkxMOAIjSYKFCVYfgUvQgiFvXv1UKleWcjq9W4oLvYipaUL2UHT0kZQUNAML69x3rRUViZHa6snjEaJIAyfwOrVz5CW9mSGCG2M3bsVpKLChR00JWUclZV3IRFxPh30LS1uuH9fhqYmGTo73TE+LrLnA+DnN4wjR1oglVIzQE0mgrS0aFJV5cgNWlFxj3XzdG3Hjsnx4oUzlMrJHBoYOIKGBg/odDI0N3vi2TNXcLWRdHweONCC4GAjq8HHxoAtW2K4QcW43qzZaHSATvcfmMHgxORQGjw6ehDu7uO4c0eGxkZPtLTIQH83r/Xru5GU1Mv7DnhdTz+mzEx6tOB+TFza+/okDFh9vTd0unmYN+81k0OVSjqHDqK/X4J79zzR1+eEtWv/wZkzi5Cb2w7C8iabm91w4gTPYxKbnugyR6eV6GjLtEJfgm7ZqqsDkJraDqPREY2NMrS1ecDHZ5QptfR8delSABITnyIurp/13oLpiU74wcG5yMriT/ibNn3MHHD+/F8WB9GNSnZ2BPz9jRa9Av3wmprcmYdHx69a3Yd1615wup6O/0ePjpKSkiPsj4kuoTrdLZSX85dQM2hCQo/FYV1dbmhs9IZWq2e1tphcRl9q+/ZIqFSfTB2vZzYlO3Y8REoKf1NiBmU7eOnSQcHOiw9YTFNC76fEtHlcrhdjMSEZ0W2emMZ5rkAnG2d3rFmzhCQljU69E98ocgZ5eQ9YO3i+Vy9kMa7vk6OIAt7eqaJGEbMeyjzc5eR0sOa62QJx7Tt6NBBdXbXk+HHxwx0Tq+ZxOS5OhpSUuZnpzdD0bH/t2gBiY5dbPS4zsJN/QPyJ+PgJbNzIXfJsse7Fi76oqXGAQrGS0JWKYwn2lFR+fgiamv5AfPy43WEnIR2hVH5KcnJ4h0lBUMaycwFrBSTNIArU7rBWQloFajfYWUBaDWoz7CwhZwU6a1gbIGcNajWsjZA2gYqGtQOkzaCCsHaCtAsoJ6wdIe0GOgOW/kFkxRFbfUUnfDEK31YwWlhEWRSj0yxjV9C3lqVLnkDttgbSrq639mBr5W226O+BgS7+QCpFyFcAFKCoDxgIQuhxuJlQ1M9PgdOfdXSMWAs3Vd5m0JYlS65RwEo+CAJcD2tvX/UeVIwFprueAha8Cf7n/yvXi7mMPWRsjlF7QIjR8R5UjJWskXlnLPovuoYSZWNIBgcAAAAASUVORK5CYII=",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAA3CAYAAAB6i9geAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAKqADAAQAAAABAAAANwAAAABvotQCAAAHuElEQVRoBe1ZSWwbVRi2nbEd70u9O7GbNI3TLU0JS5NAoSpLyyYuXOFSDoCEQEiIC1AJISHEgRtCnJA4IQ6AQAUKtCxp2pKqSdMtTbN69yTe7fFu/j+py8x4xvEWCaSONJn3/vcvn9/73//+/0Ug+J88wlZwjl9bcGZSuZdTFHU0my+Y8/mCMpsryFCnVEJQYjGRlIqJoEIm+7FTIfl0bHfvcrP2mgJ65uKNt1YjydeTVMZo0qsT3WZ9XKeSZ+QyaV4p68wjGBgTp6msOJJId7qDYXUoHFfBGGnQKT95ZHjgo0YBNwT0j0uzLwXW4u8LywLVkMvh7+0yxkRC6NXxlEpl4YKX1EzNrljLQkHCsk39zqEDrs/rEF1nqQvoZLksJs9e/glmZ/SAa7tvYLslXK8BLr4bSwH9pdklG6zCWePo4BP3CoXrq8DFW6FtCvTctKfLuxYclxAd2sce2LMAvlesCLfyBV/uOHX+am+uUIzat5nHDu7v8tTSVxMoglwMeK92mXTU2NBOT03mWlZ4xtBnxqfmujyhiKzHYt9TC6yIR4cAlxtnEkE+uAUg0S7+cNTttGxLoy20yYeHFyj6JCy3BmeST7hd9JHBHV50rdD4zM98OjmB4u7GjQM+udju5eYDcuSB3QvRRGoEbB/n4uEEiiEId3etjZPN5Tty+QKnPJehzWgyibg4vLvHG1yNfcDFW2UIgznGyc1C0Knz13q+PDkx9M2ZS67zVxetPjKiKNcVUblgbND6HeYIxFjV6cnZt9lcBJtARhNvYDBn0+n9AgRvMpJUYRBfjSaU+M7MuW1ioqNo1KkSNpMu7jDrE3q1IkOXq6c9tNPhuzzneQ14P6TzM4Di2T037zP02o0+OhO77Q2GlcVSsWo18oVih4+MavGdvLookEklOYtBE7cbdevHrEImKbB1sft93abYxMy8E7HQcwMG0Gwq84oZzm6RqPax6CEjarYBrj6VzUkWvaQBXyEctRqFjLIaNQmbURfvNumTBCEqseWQD1eFSmVehbG3KuMMoEkqe7TXZoxVBvm+fjKm4hvjo5fLZWE0mZbje33RbxYJRSVIUFLDu5w+mPEkXc5u0seX/eQTQLsDlLF8kKqZNCpZli7EblOw22NgjE1vtF8ql0RkJKEEuaotaNDIqVyuaKTrZADFfFIp30jT6Ez0NgrYTbqoRNyxqb/R5bjaAz3WIMxmij0m65QWYNIY7sVYekx6AWiOLUjvSyHeHR3Zu4DTEFiLyd3BiDqwGlVDfqrAWaLz1mprlfL0yL4dnJtW0SnJQ5zupMszgOJAqVgSCkSiquWgC2H79N/XnYl0Vmo1auP3QaA2aFWUJxRWekMRtX8tqo4lqPVMny2HffTPQ8OuJb5cFsYBAnNDM4Bi+ZDK5MQSMVHTT9EYJL1u921gkAE50rDDTRsxNLFnh31eQhBFd3BN7SWjqsBqTI0RAOXwGdzZ7QNeaqNX/TcB1QG4FiMGM4BijUNlsgQktJsCxdDSYzPE8UVTKSpHYMmx5F/VXriy4IDly1oM2gRkX/HRwT4v/BDC7Q+rsvm8GE+9Xy9c337k/l1L1TBRV0ZMEATDdxk+BYVYaDWW5l2yitJvf5/qXwmEccfeeTCYIwCtUrY+U0Mup0+nUqTnPSH9V6cu7D3z942eVDYrgdMq/ePETJ/Doo/eEWY1wG2kcPYH6GQGUKgWT3pDYcZuozNX2mQkrvr53BVXpV/5YtY+uxwwY8G3q8caHnJ1k0+ODc6/8NTY1MHB3hWio6N0bdFv6ndayJ0OMy9QWBmNUi49WdGLX8bSY0nrCa69icEZTwg6I1f73My8lU4Px9NyPEbvGXAwdrMQckUMQ7dDUc08AvOHYDiudvXZP6PrZgDFs/XrXybJW+6QptYvrii4Mu+1VdqVL85mFxyPlX6jX6xUFTIpObKrZ4kuywCKA1h3T82tnKgH6PHnDl2kK2tHG8tpk0HzHlsXw0dxcONyQBi/uRLUsZm3uo9ldFlQTj58oP9jtq0qoMiAlwMXry/a8VxnC2DfqFMnHj+4d5ZrrFkabsRLsys2s171LpcO3pLo5Pj0b4Viefjph/bPcQm2k4a79oc/p/sgNk8eGx18lEs354wiI95g4OXAxOV5O5dgO2lY2+cKhbhxZN8xPr28QPGaBW8w4KRRTF5bNvMpaJWOuuHwkFss+odqXe3wAkUAeHPhtBpG59x+7cUb7QeLOlH3dpthlF52cP14Xh+lM49P39oLGfdEv9MaHR5wBuljzbYR5M1lv9ZpNY6M7e+7spmeuoCiknaCbRQk2q8baLvANgOyYaCtgm0WZFNA/wW7Cj5rqdtnN0AGwCcNdfkk2qE/DS09XXDDZ+sD2ypItNs0UBSuB2w7QLYMdDOw7QLZFqB8YNsJsm1A2WCxf3O5+Y2D8uynJR9lK6v4LNKb3d1snVvWR7D4bpmB/7rilpf+xOnTROivhRch+X0Wgt1+qGDXb+GgiiXhnm4aDHxnerD3ixOHD7d0qVZV3DU6s8Hxhe+hzsG7TMYFIgB2AsWJPwB4nof2UWRp9qmZjzartFqu1X9DwMVatdLGKOax3qdFAuFxoUD4HSz3Mkin8cU20nDMPLbjmca03uW+OwN3Z2DLZuAfJo6pknH6fWQAAAAASUVORK5CYII=";var y=r["default"].extend({name:"ZoomMarkerControl",components:{QzPlayer:s()},props:{service:{required:!0},data:{type:Array,default:()=>[],required:!1},mode:{type:String,default:"read",required:!1},multiple:{type:Boolean,default:!1,required:!1},mapImg:{type:String,required:!1},mapId:{type:String,required:!1},getAll:{type:Boolean,required:!1},markerImg:{type:String,default:h,required:!1},markerImgOnline:{type:String,default:h},markerImgOffline:{type:String,default:p},markerImgDisabled:{type:String,default:m},markerHigLightImg:{type:String,default:f,required:!1},sysettingService:{type:String,default:"/ninca-common"},deviceService:{type:String,default:"/cwos-portal"},deviceFilterCodes:{type:Array,default:()=>[]},fullScreenAside:{type:Array,default:()=>["20px","20px"]},playerSlot:{type:Boolean,default:!1},rate:{type:Number,default:.2},limit:{type:Array,default:()=>[.1,2]},deviationX:{type:Number,default:0},deviationY:{type:Number,default:0},defaultMarker:{type:Boolean,default:!0},retainWdith:{type:Number,default:50},retainHeight:{type:Number,default:50},addDefaultSelected:{type:Boolean,default:!1},markerAlarms:{type:Array},position:{type:String,default:"top"},markerTracks:{type:Array},defaultPlay:{type:Boolean,default:!1},showPlayer:{type:Boolean,default:!0},showDeviceStatus:{type:Boolean,default:!1},deviceFilterStatus:{type:Array,default:()=>[]},markerIcon:{type:Object,required:!1},mapInitinalOptions:{type:Object},playerPluginUrl:{type:String}},data(){return{renderImgId:"",loading:!1,bgImgWidth:0,bgImgId:null,showPoper:!1,bgImgHeight:0,limitMax:0,limitMin:0,alarmList:[],popMarkerData:{},poperPosition:{id:"",left:0,top:0},selectedId:"",markerData:[],markerSize:{width:0,height:0},isFullScreen:!1,renderMapImg:null,currentMarkerPos:{},showPlayerDialog:!1,devicePlayerConfig:{playerServer:"",deviceItem:{rtspUrl:"",dcs:!1,timeOffsetHour:0,areaName:"",deviceName:""},basicConfig:{autoPlay:!1},pluginUrl:this.playerPluginUrl},lsRtspurl:"",isPlaying:!1,supportPlay:!0,markerDataCache:[],renderWidth:0,renderHeight:0,currentAlarm:0,timerList:{}}},watch:{mapInitinalOptions:{handler:function(e){e&&Object.keys(e).length}},data:{handler:function(e){if(e&&0!==e.length){const t=this.markerData.map(e=>JSON.parse(e).id);e.map(e=>{t.indexOf("marker"+e.id)>-1?this.$set(this.markerData,t.indexOf(e.id),JSON.stringify(e)):e.x&&e.x.toString()&&e.y&&e.y.toString()&&this.mapClick(e,this.multiple)}),this.reloadMarkers()}},immediate:!0,deep:!0},markerAlarms:{handler:function(e){if(e){const t=this.alarmList.map(e=>e.objectId),n=this.markerData.filter(e=>!JSON.parse(e).hidden).map(e=>JSON.parse(e).objectId);e.map(e=>{-1!==n.indexOf(e.objectId)&&-1===t.indexOf(e.objectId)&&this.alarmList.push(e)}),this.calcAlaramPosition(),0!==e.length&&this.$emit("alarmShow",e)}},immediate:!0,deep:!0},mapImg:{handler:function(e){this.getImageSize(this.markerImg).then(t=>{this.markerSize.width=t.width,this.markerSize.height=t.height,e?this.getImageSize(e).then(t=>{this.renderMapImg=e,this.bgImgWidth=t.width,this.bgImgHeight=t.height,this.formatScaleSizeByLimit(),this.getAll&&this.mapId?this.getBindDevice(this.mapId).then(()=>{this.initDraw(e)}):this.initDraw(e)}):this.getMapImage().then(e=>{this.renderMapImg=e,this.initDraw(e),this.showAlarm()})})},immediate:!0,deep:!0},deviceFilterCodes:{handler:function(e){this.alarmList.map(t=>{-1===e.indexOf(t.objectId)&&this.closeAlarm(t)}),e&&0!==e.length?this.markerData=this.markerData.map(e=>{let t=JSON.parse(e);return t.hidden=!0,this.deviceFilterCodes.indexOf(t.deviceCode)>-1&&(t.hidden=!1),JSON.stringify(t)}):this.markerData=this.markerData.map(e=>{let t=JSON.parse(e);return t.hidden=!1,JSON.stringify(t)}),this.closePlayer(),this.$nextTick(()=>{this.drawPlugin&&this.drawPlugin.reloadMarkers()})},deep:!0},deviceFilterStatus:{handler:function(e){e&&0!==e.length?this.markerData=this.markerData.map(e=>(e.showStatus=this.deviceFilterStatus.indexOf(JSON.parse(e).deviceCode)>-1,e)):this.markerData=this.markerData.map(e=>(e.showStatus=this.showDeviceStatus,e))},deep:!0}},computed:{markerIdList:function(){let e=[];return e=this.markerData.map(e=>JSON.parse(e).id),e},playerDevices:function(){let e=[].concat(this.devicePlayerConfig.deviceItem);return e}},methods:{initDraw(e){this.drawPlugin=null,this.drawPlugin=new u("#"+this.renderImgId,{multiple:this.multiple,src:e,rate:this.rate,max:this.limitMax,min:this.limitMin,marker_width:this.markerSize.width,marker_height:this.markerSize.height,mode:this.mode,markers:this.markerData,deviation_x:this.deviationX,deviation_y:this.deviationY,retainWdith:this.retainWdith,retainHeight:this.retainHeight},e=>{if("load"===e.type&&(this.selectedId="",this.calcAlaramPosition(),this.$emit("mapLoaded")),"mapClick"===e.type){if(this.$emit("mapClick",e.data),!this.multiple&&this.markerData.length>1)return;let t=!this.multiple&&this.markerData.length<=1;"write"===this.mode&&this.mapClick(e.data,t)}if("markerOver"!==e.type&&"markerOut"!==e.type||this.showPoper&&e.data&&this.triggerPoper(e.type,e.data),"markerOut"===e.type&&(this.showPoper=!1),"markerClick"===e.type&&this.markerClick(e.data),"imgMove"===e.type){let t=this.drawPlugin.getMarkerOffset(this.poperPosition.id);0!==Object.keys(t).length&&(this.poperPosition.left=t.pageX+30,this.poperPosition.top=t.pageY),this.setPlayerDialog(),this.calcAlaramPosition(),this.$emit("mapMove",e.data)}"zoom"===e.type&&(this.showPoper=!1,this.setPlayerDialog(),this.calcAlaramPosition(),this.$emit("mapZoom")),"markerUpload"===e.type&&this.$emit("change",this.toJSONData()),"esc"===e.type&&(this.isFullScreen=!1),"markerMove"===e.type&&this.closePlayer(),"hasHidden"===e.type&&this.$emit("hasHidden",e.data),"reloadMarkers"===e.type&&this.calcAlaramPosition()}),this.markerDataCache=[].concat(this.markerData)},showAlarm(){if(this.markerAlarms&&0!==this.markerAlarms.length){const e=this.alarmList.map(e=>e.objectId);this.markerAlarms.map(t=>{-1!==this.markerIdList.indexOf(t.objectId)&&-1===e.indexOf(t.objectId)&&this.alarmList.push(t)}),this.calcAlaramPosition(),0!==this.markerAlarms.length&&this.$emit("alarmShow",this.markerAlarms)}},getAlaramPositionByObjectId(e){let t=document.getElementById(e.objectId),n=document.getElementById("alarm-"+e.objectId);if(n){let{width:e,height:r}=n.getBoundingClientRect();return t?{left:parseFloat(t.style.left)-e/2+this.markerSize.width/2,top:parseFloat(t.style.top)-r}:{left:0,top:0}}return{left:0,top:0}},calcAlaramPosition(){0!==this.alarmList.length&&this.$nextTick(()=>{this.alarmList=this.alarmList.map(e=>({...e,...this.getAlaramPositionByObjectId(e)})),this.alarmList.map(e=>{let t=document.getElementById(e.objectId);if(t){t.classList.add("jump-animate");let n=t.querySelector(".alarm-marker");if(!n&&e.markerIcon){t.querySelector(".marker-icon").style.display="none";let n=document.createElement("img");n.src=e.markerIcon,n.classList.add("alarm-marker"),n.classList.add("marker-icon"),n.style.width=(e.markerWidth||this.markerSize.width)+"px",n.style.height=(e.markerHeight||this.markerSize.height)+"px",t.append(n)}this.timerList[e.objectId]||this.autoCloseAlarm(e)}})})},closeAlarm(e){let t=document.getElementById(e.objectId);if(!t)return;let n=this.alarmList.map(e=>e.objectId).indexOf(e.objectId);this.alarmList.splice(n,1),this.currentAlarm=0;let r=t.querySelector(".alarm-marker");r&&e.markerIcon&&(t.querySelector(".marker-icon").style.display="initial",t.querySelector(".alarm-marker").remove()),t.classList.remove("jump-animate"),this.$nextTick(()=>{this.calcAlaramPosition();try{clearTimeout(this.timerList[e.objectId]),delete this.timerList[e.objectId]}catch(t){}})},autoCloseAlarm(e){-1===Object.keys(this.timerList).indexOf(e.objectId)&&this.$set(this.timerList,e.objectId,setTimeout(()=>{this.closeAlarm(e)},e.autoCloseTime||1e4))},closeAlarmByHand(e){if(e){let t=this.alarmList.filter(t=>t.objectId===e);0!==t.length&&this.closeAlarm(t[0])}else this.alarmList.map(e=>{this.closeAlarm(e)})},getMapImage(){return new Promise(e=>{this.service&&this.service.post&&this.service.post(this.sysettingService+"/sysetting/map/query",{}).then(t=>{if(t.success)if(0!==t.data.length){let n=t.data.filter(e=>"default"===e.ext2);if(0===n.length)return void this.$message.warning("暂无默认地图");let r=n[0],i=r.mapImg;this.bgImgId=r.id,this.getImageSize(i).then(t=>{this.bgImgWidth=t.width,this.bgImgHeight=t.height,this.formatScaleSizeByLimit(),this.getAll&&this.bgImgId?this.getBindDevice(this.bgImgId).then(()=>{e(i)}):e(i)})}else this.$message.warning("暂无地图");else this.$message.error("获取地图失败")})})},getBindDevice(e){return this.getAll?new Promise(t=>{this.service&&this.service.post&&this.service.post(this.deviceService+"/component/device/list",{mapId:e}).then(e=>{e.success?(e.data.map(e=>{let t={id:e.id,x:e.mapX,y:e.mapY,draggable:!0,size:30,marker_width:this.markerSize.width,marker_height:this.markerSize.height,showStatus:this.showDeviceStatus,hidden:!1,...e,data:{...e}};t.x.toString()&&t.y.toString()&&this.markerData.push(JSON.stringify(t))}),this.filterMarkerData(),this.$nextTick(()=>{t()})):this.$message.error("获取设备列表失败")})}):new Promise(e=>{this.filterMarkerData(),e()})},filterMarkerData(){0!==this.deviceFilterCodes.length&&(this.markerData=this.markerData.filter(e=>this.deviceFilterCodes.indexOf(JSON.parse(e).deviceCode)>-1))},formatScaleSizeByLimit(){if(0!==this.limit.length){let e=Number(this.limit[1]);this.limitMax=this.bgImgWidth*e}else this.limitMax=2e3;let e=parseFloat(this.renderWidth),t=1;t=this.bgImgWidth>e?parseInt((e/this.bgImgWidth*10).toString())/10:1,this.limitMin=this.bgImgWidth*t},mapClick(e,t){let n="marker"+(e.id||(new Date).getTime()),r={id:n,x:e.x,y:e.y,draggable:!0,size:30,marker_width:this.markerSize.width,marker_height:this.markerSize.height,status:0,onlineStatus:2,exp:1};this.addMarker(r,t)},markerClick(e){this.showPlayerDialog=!1,this.isPlaying=!1,this.currentMarkerPos=e,this.devicePlayerConfig.playerServer=e.data.playerServer||"",this.devicePlayerConfig.dcs=e.data.dcs||!1,this.devicePlayerConfig.deviceItem={...e.data},this.lsRtspurl=e.rtspUrl,e.hasOwnProperty("taskName")&&(this.devicePlayerConfig.taskName=e.taskName),e.hasOwnProperty("edgeName")&&(this.devicePlayerConfig.edgeName=e.edgeName),this.defaultPlay&&(this.devicePlayerConfig.deviceItem.rtspUrl=e.data.rtspUrl),e.data&&e.data.rtspUrl?this.supportPlay=!0:this.supportPlay=!1,this.selectedId=e.id,this.showPlayerDialog=!0,this.$nextTick(()=>{this.$refs.playerDialog&&this.setPlayerDialog(e.id),this.$emit("markerClick",{...e})})},setPlayerDialog(){let e=0,t=0;if(this.selectedId&&this.$refs.playerDialog){let n=this.$refs.playerDialog.getBoundingClientRect(),r=this.$refs.renderDom.getBoundingClientRect(),i=document.getElementById(this.selectedId);if(!i)return void(this.showPlayerDialog=!1);let a=i.getBoundingClientRect(),o={left:a.left-r.left,top:a.top-r.top};e=o.left-n.width/2+this.markerSize.width/2,t=o.top-n.height,this.$refs.playerDialog.style.left=e+"px",this.$refs.playerDialog.style.top=t-8+"px"}},closePlayer(){this.showPlayerDialog=!1,this.selectedId=""},addMarker(e,t){t&&(this.markerData=[],this.closePlayer()),this.markerData.push(JSON.stringify(e)),this.markerDataCache.push(JSON.stringify(e)),this.$nextTick(()=>{this.drawPlugin&&(this.drawPlugin.zoomMarker_AddMarker(e),this.$emit("change",this.toJSONData()),this.addDefaultSelected?this.$emit("markerClick",{...e}):this.$emit("markerClick",{id:""}))})},triggerPoper(e,t){"markerOver"===e?(this.popMarkerData=t,this.poperPosition.id=t.id,this.poperPosition.left=t.left+30,this.poperPosition.top=t.top,this.showPoper=!0):this.showPoper=!1,this.$emit(e,t)},getImageSize(e){let t=this;return new Promise(n=>{let r=new Image;e&&(t.loading=!0,r.src=e,r.onload=function(){t.loading=!1,n({width:this.width,height:this.height})})})},toJSONData(e){return this.drawPlugin?this.drawPlugin.toJSONData(e):{}},removeMarker(e){let t=this.markerData.map(e=>JSON.parse(e).id).indexOf(e);-1!==t&&(this.markerData.splice(t,1),this.markerDataCache=[].concat(this.markerData),this.$nextTick(()=>{this.drawPlugin&&this.drawPlugin.removeMarker(e),this.$emit("change",this.toJSONData())}))},fullScreenTrigger(e,t){e.preventDefault(),e.stopPropagation();let n=this.$refs.renderDom;if("exit"===t)return document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullScreen=!1,this.$emit("fullScreenChange",this.isFullScreen),void this.$nextTick(()=>{this.centerImgAfterFullScreen(t).then(()=>{this.drawPlugin&&(this.drawPlugin.reloadMarkers(),this.calcAlaramPosition(),this.setPlayerDialog())})});n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullScreen&&n.webkitRequestFullScreen(),this.isFullScreen=!0,this.$emit("fullScreenChange",this.isFullScreen),this.$nextTick(()=>{this.centerImgAfterFullScreen(t).then(()=>{this.drawPlugin&&(this.drawPlugin.reloadMarkers(),this.setPlayerDialog(),this.calcAlaramPosition())})})},centerImgAfterFullScreen(e){let t=this;return new Promise(n=>{window.onresize=()=>{setTimeout(()=>{let{offsetTop:r,offsetLeft:i,offsetWidth:a,offsetHeight:o}=t.$refs.zoomImg,s={left:t.$refs.zoomImg.parentElement.offsetWidth/2,top:t.$refs.zoomImg.parentElement.offsetHeight/2},l=0,c=0,u={left:i+a/2,top:r+o/2};l=u.left<s.left?i+(s.left-u.left):i-(u.left-s.left),c=u.top<s.top?r+(s.top-u.top):r-(u.top-s.top),t.$refs.zoomImg.style.left=l+"px",t.$refs.zoomImg.style.top=c+"px","exit"===e&&(window.onresize=null),n()},10)}})},reloadMarkers(){this.$nextTick(()=>{this.drawPlugin&&this.drawPlugin.reloadMarkers()})},playerStart(){this.devicePlayerConfig.deviceItem.rtspUrl=this.lsRtspurl,this.isPlaying=!0,this.$nextTick(()=>{setTimeout(()=>{this.$refs.qzPlayer.play()},200)})},setMarkerHighligh(e){if(e)for(let t=0;t<this.markerData.length;t++){let n=JSON.parse(this.markerData[t]);n.id===e&&(n.highlight=!0),this.$set(this.markerData,t,JSON.stringify(n))}else this.markerData=this.markerData.map(e=>{let t=JSON.parse(e);return t.highlight=!1,JSON.stringify(t)});this.markerDataCache=[].concat(this.markerData)},setFitView(e){if(e)this.drawPlugin.setFitView(e);else if(0!==this.alarmList.length){let e=this.alarmList[0].objectId;this.drawPlugin.setFitView(e)}},formateDeviceStatus(e){let t=JSON.parse(e),n={status:"",text:""};return 0===t.status?2===t.onlineStatus?n={status:"online",text:"在线",markerImg:h}:3===t.onlineStatus&&(n={status:"offline",text:"离线",markerImg:p}):n=1===t.status?{status:"disabled",text:"禁用",markerImg:m}:{status:"disabled",text:"无效",markerImg:m},n},formateScreenSize(){const e=this.$refs.imgControlLayout.parentElement.parentElement;let t={offsetWidth:e.offsetWidth,offsetHeight:e.offsetHeight};0===t.offsetWidth&&console.warn("has no renderWidth"),0===t.offsetHeight&&console.warn("has no renderHeight"),this.renderWidth=t.offsetWidth,this.renderHeight=t.offsetHeight},switchAlarmDevice(){0!==this.alarmList.length&&(this.alarmList[this.currentAlarm]&&this.drawPlugin.setFitView(this.alarmList[this.currentAlarm].objectId),this.currentAlarm+1<this.alarmList.length?this.currentAlarm++:this.currentAlarm+1===this.alarmList.length&&(this.currentAlarm=0))}},created(){this.renderImgId="zoom-img_"+this._uid},mounted(){this.loading=!0,this.formateScreenSize(),document.addEventListener("fullscreenchange",()=>{null!==document.fullscreenElement?this.isFullScreen=!0:this.isFullScreen=!1}),console.log(this)}});const v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHwAAAB8CAYAAACrHtS+AAAL0klEQVR4Xu2deWwU9xXH32/2Xt/4Xq/Xu14bc5gYwhVQUAKlUkWOpi3QUFRSRfmjaoWCoUmvKKFRE6ltFEgjWlVKKqUqTQS0CSRp/2jKoRBKIYVSjhjwsWt2F5/4XK9nj3nVLDWx3bU9v/HMMtv5jeS//H5v3vt+fu+3s79jlgC7dKUA0VW2LFlgwHXWCRhwBlxnCugsXVbhDLjOFNBZuqzCGXCdKaCzdFmFM+A6U0Bn6bIKZ8B1poDO0mUVzoDrTAGdpaupCnf9Cgsi/OguBLIQAJoNgH/pbLQd1RkTVdPVDHDH3tG6qIBNhJB9BMhRRJiHBJ/hAF/varQ9r6oKOnKuCeDF+zAbovxFIOTZ7h2Wg2P6F+3BcsDREDGQh7qftv5ZR1xUS1UbwF8b/RIKsKun0frFyZmW7OG3IgiPdDfaHldNBR051gbwvfz3EbGop9H6zGTty17lF8YBD/XstM7XERfVUtUG8NdGN4CAz3U32lb/T4XvjW5DTGxgFa5MH9AE8IUH0NwZGOUJR57u3mH95Vhq5XvRFUP+IiGGh7p3mE4qk7K+vWgCuIigeB+WAc+fQoKnCCGnQXxKR/wuR8h3uhqtv9Y3JuWy1wxwMSXHb9Aej/DfEhDqAeG6wUQ+6txuuahcusyTpoAzHOorwICrr7Gm7sCAawqH+sEw4OprrKk7MOCawqF+MAy4+hpr6g5pB97sC71EUHiKEDDQK4EEkXBIcIS+rfItCBI7ISgAEKT1jggJJNwbNW7Hj2nbzsY+rcARkWtrD8bn5OcRjuOo4w6PRED8KymaQ91WjQZdPbcgy25L/tFegiDArf4B9LgqzISQOG17ufZpBR4KheyjUSHsqaqQFW/fwBD09Q9Ctcz2sm46TaNWfxAK8nOhIC9Hlus2fxA4sDjc7uKbshzIaDRr4GLVtviC2whAPhiNf/NWlk05M8aATySUccDb2tCagECEEOhAgIOAsN1g4B7zuCoOp+p8DHiGA2/2BV4hAA1etzO5ccHnCy6Jo3DOANkFHk9B/2ToDHiGA2/xBd7nkHvT43G8N5ZKsy9whRiMX081tDPgmQ7cH3gZBfxhjacy+SzQ2h5aIwjCu3lZFk9xcfEQq/Dpn6oy7jMcEUmLL9gJBAIEsAkRthCOW+Otqki5WYFVeIZXuBi+CN3nu/nlBAj5RmI84XaXtU3Vrxnw/wPgNF8FGXAGnKa/AJt4oZIrpfGsJ15oQmAVziqcpr+wCqdSK7Vx2is8EhXC5SVFskIfCo/AcHhEU3Pp2Vl2yMmyy8rnZlcPGDJtLp0mU3FIH+ETYZo2qWy9bqckF109/fDJp59BwwIPVLvKJLWhMWrxBWjMU9pajOCsrKwMztqRRAfpr3BeCOfmZksMb6IZz/MwykdBKvAWfwecPHM56aSkKB9WLqmDOfny7p0qYBG41WIGi8UiK5/BwWEwGYQKl8sVkuVARqO0A0/n8uh44KI2hBCYW10BS+q9YDEbZcg1sYkul0dpVEv3U/pk4GOxWsymJHQRPplFl2fAZ6CvFeBjYc7Jz0kO8yVFeTT99o4tA55hwMfCFR/oljXUgs1qpgLPgGcocDFsk9EI9yxww4JaF3CctHE+XcA7OjqyYjGuXBBQMJkSHQ6HQ/YmTmmZUfX7qY21NqSnijQ3xw4rFs+FirLCGbNOB/AW340NiPAhIcSHAEaCYAIOnvJWOT+YMcAUBgz4FKq5HMXwwKp6mG53rdrAW/3BRxDxPSMxLKqqKr8ihtrSHlqGicRZzmhcWV1ZfoYWOgM+hWK52XZ4eP1yMJmm/vqmJvAbN9DGJ4LXjEAedbsrzo8P0+cLrBJfg+KtclYTQnga6Az4JLWMRgMsmueG+rqqGT/L1QTe3t7tiCX4816Ps3QyUHEPQqs/cIvDbE+qvYPTdQAGfJw67spSWN5QC3abtJkzNYG3tfXlJ0j4hreqIo8QIoyHiIjmVn+g32xwFlZWkgir8P8qMNXEy2SBCvKyYcWSuVBWXECjHagJHBFNrb5gAAg86XU7PxwfWKs/sA0F2FntrlhKCEnQBK3rCjeLM24Lq6HOK8640UuhJnARYmswWCdEhSYAbovdQo6YTCbDYDj2KGLi95yJLK52Oi/QwBZt6bOkvcM4e618LRPh1rgdsHSRFywWk+yM1AYuBtbWFlicIPAGAVyQPLSIcJED82MeT0mHnMDTDnyEF8IF+fLOYo3yPEQivKzVsjFxigvzktOphQXyYhgvsrhaZrNZwCpztayvfwiMZOazZYgonrQVT6iKvHDyZzoN+LsAPH3r4eM/w21WS7Kive5yGn2mtWXr4TNIeXtIx3BZ6cyzWKlcDQ3T7XhpD3bDidOXYH6NExoWVoPJKONI+jQ5iUN6csdLtrwdLx2dvcCBObNOj9KUy6IfnF56+NvOT9N5XDgWi087eUIT/2RbJT7Df/R+99p3ti85Pps4aNqmb0jffcyY5SdnLr5QsySdwGnEoLVVAvian7VdCJbGl8HutWl5KUD6gG85+rzNRH5y+cVaYMBvdy3xbNl9L7dA11DiBXh73Yu0HU6OfXqAf+PYYgA4YzOCiQH/HNMd4MNCDABWwB/W/ksORJo26gPffdkMVzvPAsA9NhMBBjwF8KHkZNm/oa50OexeGKUBSGurPvCtx34KAibfVMSAT8Qzbki//Q+OvAT71z5HC5HGXl3gW48vBwFPAWByjZEBnwE4kDhwZDXsf1AcEVW51AO+/boFem+cA4QFY5Ez4DMBT86lXYHCynvh9VqqdW6pvUM94FuP/hwEmPAbJgy4BODJoR1+AfvXPSsVIo2dOsC3HF8FRDgJCBPevseASwROQADk7oe3H/w7DUwptsoDbzxlg07+AiDWTg6AAZcIXDQj5DqUWhpgz2qqDQ4zQVcc+K5XPqla5I4fSXljgtycHGu9xUK3/3vMVzyegHgikTzPNdUlrm+LK2JKXN29A3D+cuuUrsRzbkaDAcRtUXIuno9Cfzh6RUhgylm2/kjsezu+uf6vcnxP1UZx4AeOfOyyWIz+aleJknFK8tUe7IUajyN5hEiJ61prEJrbQuCqkLfYM5sYWtu7YGBwZPO2TV+480uNs/E31lYV4Ha72T/P61AiPiofoc4+MJnMcN+9dVTtpjI+fe4qxGJRcJTSbX1S4uZNLSG41TfMgE8nZmQ0Cp81h2DTw/croTkc/OAkzK9xUB9BUuLmDLhEFS9c8SdPjRQXzm5HS3fvEAQ7eqFhQZXEOytrxoBL1HNgcAQuXwu01tU7VqyYN0/WGawzTU32pkvBs/VzKz15ufI2N0gMd0ozBpxCwWZfB3T2DP5p28Z1Gwmh+7UCcZP/7w4dPVRalPvVGrfyrwmRmgYDLlWp22+HhEtXb8DA8Og7drQ9uXmztO+yBw6cso2QyG/zsq2P19dVytq6TBHmtKYMOKWSgoAgVnpX7+BFYjDsfOJraz+azsVbfzy2HhOJV0sKcxeJlS31yDBlWJLNGXDJUk007O0bBl+gGyKjsX9yAO+igfsHIiZ/coIQUk4SwkoB4Cs2q2mp21mkyPZlmaFOaMaAz0JFRIDBoRG41T8M4QgP0ejt0zlmswGybJbkm53Ec+EyDp/MIqrpmzLgqkmrTccMuDa5qBYVA66atNp0zIBrk4tqUTHgqkmrTccMuDa5qBYVA66atNp0zIBrk4tqUTHgqkmrTccMuDa5qBYVA66atNp0zIBrk4tqUTHgqkmrTccMuDa5qBYVA66atNp0zIBrk4tqUWUM8LcOfOwqLDD759Wk/yCCaurfBcdNzSHo7Rva9MTm9YeUvL3iJ0/ePHw4xxzL6SnIyzKn98WeSspyl30hQN9AOMqBoX7rxgeuKxmN4sDF4PYfOlEbF2INRM4ba5XMLkN9ISIaOdMFpWGLcqgCPEN11kXYDLguMH+eJAPOgOtMAZ2lyyqcAdeZAjpLl1U4A64zBXSWLqtwBlxnCugsXVbhDLjOFNBZuqzCGXCdKaCzdFmFM+A6U0Bn6bIKZ8B1poDO0mUVzoDrTAGdpfsfkaE45v2RcG8AAAAASUVORK5CYII=",g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAFSklEQVRoQ9VabUxbZRR+EBEJoETDYlZxMbKBCAPCpBoKfoytkMUOGqOJiSUaQ2gpQ8MPNeVLKFF/kAi0tDHEhJoscTEtaBbazI8ECloMAUWxKIvZsGZZ4jIFMxURc67c5gba3q/2Dt7kTaH3Pc85T+97zznvOTcJ8RkpAI5szywA3Ekaru+YPwCguSFXfZIMgPsA5AE4DKAIwC0isf4FsAjgRwDLAC6LlGeWSyFwJ4Dj2/NWKUojyPwD4NPt+ZsYTLEEWMPvFqNExNpfOUQEiQklcADAcwAeFIQqf9H3AM4CuMoHJYRAIYAXAaTzgcX5+h8A3gPwbSxcPgJPAng2zoaJhfsAwGfRhGIReBjAS2K1JWj9CICvImFHI3AvgI4EGSMVthfAzzuFIxG4A8DrAO6SqilBctcAvAngdy5+JALNAI4myAi5sN8AsMciQH7+GblaEix/bjtW7IrEFGFfBRAzSG1tbTWyBq6srFzV6/UXFhcXyeWJHkVFRelut/tEbm4uxZn/DUpKepcHiILd2wCYiM3dQnoAWj4rKioqsvx+f/guLS0t/VJSUnJ+Y2Nji0+Wez0lJSVpYWHhVEFBwUH2e41Gc256epoSP77hA+DmEqDEjH59QbmN2Ww+NDQ0FCY7NTV1saqqinIZwWNycvJ4ZWXlA6xAS0uLz2azXRIIQLkT3YXL7B2oBVAnUJhZZrPZipubm9WsjMfjWdTr9V8IwXC73Y/W19dTBssMu90eMJvNXwuR5awZAzDBEnhZSp7j9XqrtFptPgvqdDpnjUbjQixDHA5HSVNTUzm7xufzBWtqaiZFGk/LKV96hwjcBmBAQj7P6AwEAtry8vJDrAGdnZ2f9/b2Uo6/a3R0dBzu6el5gr0wOzt7Sa1W036WMug80UoEyOeT75c8gsGgLi8v7x4WoKGh4bzL5QpxAQ0Gg2p0dPQU+93y8vKV/Pz8jyQr3d59RKAeQI0cIJVKlRoIBE6rVCo6SmJ9ff1GbW3tx36/n/EoGo0ma2Ji4qmMjIw0+j8UCl1Xq9XjoVDoLzl6AXiJwAsAHpEJhLq6ugMul0ubmZnJGLm6unqtrKxsnP6em5s7nZOTw6Qma2trNwwGg29sbIw31xdg05dE4BUA4QdRgFDUJa2trff39/dXJycnM85hfn5+lT5LS0tz6HNzc3Orra3tk4GBgZ/k6OHIBknRGwDC+1cusNVqzbdYLFWRcPr6+ibb29uDcnVw5K8QAfJAt8cRFMPDw8VGozEcIwjb4XAETCaTWF/PZ9afCSFgt9uLTSaTYgTiuoW6urqOdHd3P67kForbQ9zY2JgzODhYnZqaSpU6xR7iuLhRnU6XPTIyUp2dnZ2ptBuVHcgKCwvTPR5POK9XOpA9BOAM3+Me7Trl9TMzMyePHTsWzocUTCUGyQvRfh2Umsx5vd7HtFotFXmZoXAyd4ZNp00AisXehfHx8QqdTkd3kBkKp9MUU4ZZAicAPC2GgN1uP2oymcI51E040HwI4AJLQNSR0mKx5FqtVio7MmMvHCnJDkGHeoPBcNDpdJ5MS0ujgxD2yqGebNn3ZRUisa8LW+yWlnTAF+MAZKxlDvJc+Ui1UaqSvXYTGhp8vKj699bOrk208jp1ZVr4EBW+PhSpWxOrwbEXujPsbxS1S8PXYtoLXZqo3Rlix0eA1lC3hupGSjc8qKFBvYBdXRm+hzjS1qauzfMKNj6okfH+zm5MJMOE3AGu3L5tdHNJ7OtXDbhEKAGkVJrOAjSlvOxBL3nQ/E7Jlz0ibUVK7Ki6Rw0LIa/bXARABa6/5caS/wCwkfkOnFI6EgAAAABJRU5ErkJggg==";function _(e,t,n,r,i,a,o,s,l,c){"boolean"!==typeof o&&(l=s,s=o,o=!1);const u="function"===typeof n?n.options:n;let d;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),a?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=d):t&&(d=o?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(u.functional){const e=u.render;u.render=function(t,n){return d.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,d):[d]}return n}const w="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function b(e){return(e,t)=>M(e,t)}let A;const k={};function M(e,t){const n=w?t.media||"default":e,r=k[n]||(k[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),void 0===A&&(A=document.head||document.getElementsByTagName("head")[0]),A.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(n),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{const e=r.ids.size-1,t=document.createTextNode(n),i=r.element.childNodes;i[e]&&r.element.removeChild(i[e]),i.length?r.element.insertBefore(t,i[e]):r.element.appendChild(t)}}}const x=y;var S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"imgControlLayout",staticClass:"img-control-layout"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"renderDom",staticClass:"render-dom",attrs:{id:"render-dom"}},[n("img",e._b({ref:"zoomImg",staticClass:"zoom-img",attrs:{id:e.renderImgId,alt:""}},"img",{"data-width":e.bgImgWidth,"data-height":e.bgImgHeight},!1)),e._v(" "),n("div",{staticClass:"map-tools",style:{zIndex:e.markerData.length+1,top:""+e.fullScreenAside[0],right:""+e.fullScreenAside[1]}},[e.isFullScreen?n("button",{staticClass:"map-tools-button exit-fullscreen-button",on:{click:function(t){return e.fullScreenTrigger(t,"exit")}}},[n("i",{staticClass:"qz-map-icon button-icon exit-fullscreen"}),e._v(" "),n("span",{staticClass:"el-tooltip__popper is-dark button-tooltip"},[e._v("退出全屏")])]):n("button",{staticClass:"map-tools-button fullscreen-button",on:{click:function(t){return e.fullScreenTrigger(t,"full")}}},[n("i",{staticClass:"qz-map-icon button-icon fullscreen"}),e._v(" "),n("span",{staticClass:"el-tooltip__popper is-dark button-tooltip"},[e._v("全屏")])]),e._v(" "),0!==e.alarmList.length?n("button",{staticClass:"map-tools-button next-alarm-button",on:{click:e.switchAlarmDevice}},[n("i",{staticClass:"qz-map-icon button-icon next-alarm"}),e._v(" "),n("span",{staticClass:"el-tooltip__popper is-dark button-tooltip"},[e._v("查看下一个告警设备")])]):e._e()]),e._v(" "),e._l(e.markerData,(function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:!JSON.parse(t).hidden,expression:"!JSON.parse(markerItem).hidden"}],key:r,ref:"marker"+JSON.parse(t).id,refInFor:!0,staticClass:"zoom-marker",class:{selected:e.selectedId===JSON.parse(t).id},style:{zIndex:r+1,left:JSON.parse(t).x+"px",top:JSON.parse(t).y+"px"},attrs:{id:JSON.parse(t).id}},[JSON.parse(t).highlight?[n("img",{staticClass:"marker-icon",style:{width:e.markerSize.width+"px",height:e.markerSize.height+"px"},attrs:{draggable:"false",src:JSON.parse(t).markerHigLightImg||e.markerHigLightImg}})]:[n("img",{staticClass:"marker-icon",style:{width:e.markerSize.width+"px",height:e.markerSize.height+"px"},attrs:{draggable:"false",src:e.formateDeviceStatus(t).markerImg}})],e._v(" "),e._t("icon",null,{deviceItem:JSON.parse(t)})],2)})),e._v(" "),e._l(e.alarmList,(function(t,r){return e.markerIdList.indexOf(t.objectId)>-1?n("div",{key:Date.now()+r,staticClass:"pic-map-alarm",style:{left:t.left+"px",top:t.top+"px"},attrs:{id:"alarm-"+t.objectId}},[n("div",{staticClass:"alarm-dialog-container"},[e._t("alarmdialog",null,{data:t})],2),e._v(" "),n("div",{staticClass:"pic-map-arrow"})]):e._e()})),e._v(" "),void 0,e._v(" "),e.showPoper&&e.$slots.popover?n("div",{staticClass:"poper-dialog",style:{left:e.poperPosition.left+"px",top:e.poperPosition.top+"px"}},[e.$slots.popover?[e._t("popover",null,{data:e.popMarkerData})]:e._e()],2):e._e(),e._v(" "),e.showPlayer&&e.showPlayerDialog?n("div",{ref:"playerDialog",staticClass:"player-dialog"},[e.playerSlot?[e._t("player",null,{data:{devicePlayerConfig:e.devicePlayerConfig,marker:e.currentMarkerPos}})]:[n("div",{staticClass:"player-block",class:{"no-play":e.showPlayerDialog}},[e.supportPlay&&e.showPlayerDialog?n("qz-player",{ref:"qzPlayer",staticClass:"player-plugin",attrs:{type:"live",playerServer:e.devicePlayerConfig.playerServer,pluginUrl:e.devicePlayerConfig.pluginUrl,basicConfig:e.devicePlayerConfig.basicConfig,devices:e.playerDevices}}):n("div",{staticClass:"empty-video"},[n("img",{attrs:{src:v,alt:""}}),e._v(" "),n("span",[e._v("暂无视频")])])],1),e._v(" "),n("div",{staticClass:"device-info"},[e.devicePlayerConfig.deviceItem.taskName?n("p",[n("span",{staticClass:"title"},[e._v("布控任务:")]),e._v(" "),n("span",{staticClass:"info"},[e._v(e._s(e.devicePlayerConfig.deviceItem.taskName||"-"))])]):e._e(),e._v(" "),n("p",[n("span",{staticClass:"title"},[e._v("区域名称:")]),e._v(" "),n("span",{staticClass:"info"},[e._v(e._s(e.devicePlayerConfig.deviceItem.areaName))])]),e._v(" "),e.devicePlayerConfig.deviceItem.edgeName?n("p",[n("span",{staticClass:"title"},[e._v("边端名称:")]),e._v(" "),n("span",{staticClass:"info"},[e._v(e._s(e.devicePlayerConfig.deviceItem.edgeName||"-"))])]):e._e(),e._v(" "),n("p",[n("span",{staticClass:"title"},[e._v("设备名称:")]),e._v(" "),n("span",{staticClass:"info"},[e._v(e._s(e.devicePlayerConfig.deviceItem.deviceName))])])]),e._v(" "),n("img",{staticClass:"close-icon",attrs:{src:g,alt:""},on:{click:e.closePlayer}})]],2):e._e()],2)])},L=[];const T=function(e){e&&e("data-v-4f0800e6_0",{source:".img-control-layout{position:relative;z-index:0;overflow:hidden;width:100%;height:100%}.img-control-layout .jump-animate .marker-icon{-webkit-animation:jumpIcon .5s cubic-bezier(.165,.84,.44,1) infinite alternate;animation:jumpIcon .5s cubic-bezier(.165,.84,.44,1) infinite alternate;-webkit-animation-delay:-.9s;animation-delay:-.9s}.img-control-layout .render-dom{width:100%;height:100%;background-color:#f7fafc}.img-control-layout .render-dom .set-full-button{position:absolute;right:20px;top:20px;z-index:99999}.img-control-layout .render-dom .zoom-img{position:absolute;left:0;top:0;box-shadow:0 2px 8px 0 rgba(0,0,0,.4)}.img-control-layout .render-dom .zoom-marker{position:absolute;cursor:pointer;border:1px solid transparent}.img-control-layout .render-dom .zoom-marker .marker-icon{cursor:pointer;vertical-align:middle}.img-control-layout .render-dom .zoom-marker.selected{border-color:#5b99ff}.img-control-layout .poper-dialog{position:absolute;z-index:9999;border:1px solid;border-radius:5px;background-color:#7b7b7b;padding:10px 15px;color:#fff;transition:all .3s}.pic-map-alarm{position:absolute;background:#fff;font-size:14px;border:1px solid #ebeef5;box-sizing:border-box}.pic-map-arrow{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;left:50%;transform:translateX(-50%);border-width:6px;bottom:-6px;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.pic-map-arrow::after{content:' ';border-width:6px;bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.pic-map-alarm,.player-dialog{z-index:998}.player-dialog{position:absolute;background-color:#fff;border:1px solid #dcdfe3;padding:4px;width:320px}.player-dialog .close-icon{position:absolute;right:15px;top:15px;z-index:3;width:16px;height:16px;cursor:pointer}.player-dialog .player-block{position:relative;z-index:2;width:100%;height:180px}.player-dialog .player-block.no-play{background-color:#edeff1}.player-dialog .player-block .rtsp-player{width:100%;height:180px}.player-dialog .player-block .player-control-bar{display:none}.player-dialog .player-block .empty-video{display:flex;flex-flow:column;align-items:center;justify-content:center;width:100%;height:100%;color:#42526e;font-size:14px;font-weight:600}.player-dialog .player-block .empty-video img{width:62px;height:62px}.player-dialog .device-info{padding:16px;font-size:14px}.player-dialog .device-info p{display:flex;line-height:initial;margin:0}.player-dialog .device-info .title{color:#7a869a;flex-shrink:0}.player-dialog .device-info .info{color:#42526e}.player-dialog .play-button{position:absolute;z-index:998;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes jumpIcon{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(-35px);transform:translateY(-35px)}}",map:void 0,media:void 0})},D=void 0,E=void 0,C=!1,Y=_({render:S,staticRenderFns:L},T,x,D,C,E,!1,b,void 0,void 0),P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAADxUlEQVRIS8WWaUxUVxiG3+/OBgwjlHEZUcGKwYLlh5UCghJrjI1WmwbQpElNjCW4FWKsSRuaVEwsRROXmGgaY/zZutYEqIpojKkhHXTQGBMEBWUbxmiBMg7gLOc0544IdxYuXTLev+c735PvPe977iFM5qvcYQakGQB/B0RGEHTyNg4POHcB1A+wZyg/9qdaO5qw4IedM6Fl74HzWLVG8jrRS3ilh/juSG+4+tDAipIYREV9IE8kPpPRLMWbsnm04UPSaJIBivM35H9xn6+Dhl/dZgNOK5yu1xNSP0ZGmlBxYigQHAwU8kmUCZAesdEJZJn2Oel1KwFoVKb0cbfnGnc8/wUvh/sA7gbjdwJlVgJlmJQDQJISp2UhfsouADGTknOsaAgDg4eY/XkjAAbG/hgPHQPKMuqXicmkZMtaGI3FAvwPYaPlDC7XSdbhqJUnHXH/PirvGLCqbKk4s9eTlf8H2Bh0YLDSPyn149ujt2RfyavCjRpfpjgzKSnx+L+QMZwQQ6zTvl0+U5/mjnCvH7i/7CNhfZqftIP0uo/D7Z5uiEF9XiFuvujGzvs3wCahN3d76vjjzmNyZL45eoPgN0qubP05lpPh3KgjCZeWFCDHPFPG/NzVjG33roOBq2F9rMtRLEeGsQZCZWk6JKRIcyxrYDJuDbe7ZG4GDmYsVyyf6W7Blrv18KlBna6fWJfjEhjaCJVf5UGiBEpN3kNa7eJQwA2zUmEfdqEsZRFWW95VlJzvaUXx3avw8fCTcq/Xxls79oLxPsKPpatAMEhp806BaGoo4OGM5RDQosZa7J6fiVUzkhVlF+2PsLmpDt5wUM5fsOb2zeB4Ragq/UQOelrKhTeXcgA1RqNFdc5nWGBKQJG1GuWp2VgxPUlRVd3bhk22K/DwEFbi8LDmtkJxEUwKKDrHaQ24kluAxOhYFFlrUJG2BPlTZyugv/W2Y6PtcjBUAVSR9HzWOpzraUW7awBfJKUj3zwb8ToD1jfWYF/6UuSZExXQw49t+L65QamRQlIV0zjXleKpaxBEgFkfjZW3zuFs1lpEabRYb63BgffzkZ3gj0rH0CC+bKqDtd+hACpNoxILAXR63ehzj+DQIxtOdT7APGMcruYWymHY0FiLqoXL0NBnx4HW2xhm3mDfKWMxcfAF8MST+/j6wU1Fo3STGZdzC1D37ClK7tVPFP6A4Ktcbb9mf4qz3S043dMS1FRLEryhXDmuMvhqeyuXt4BG9PckgBH/AQtoRJ8Yowcd0UfUKDSiz8Tx5o/YQzgwcf/jU/9vze8Ty+Dyv8IAAAAASUVORK5CYII=",O="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAD30lEQVRIS72WXUwcVRTH/3dmdoft7lZ3scpScKpCQSBUpR9sgRoTYykCielTX5qUNhtjpTE+1gfAxD4a06TGkIYHX3wy0cSYbcJnsK3lS5p0WwpL2QG6gGmXyn6U/Zi55o4FGdhl8CN7X++553fPOf9z7iXYwTp9/lIuzyVe4ijnoESxEnAmdoxCTRLKR1WiLiuqeenbKxcfG7kj2xl4PvnClVJTpYTCZuRIuwBBROCEic6vPlvIZJ8W6PG070rl0LcI5RzsoN1uy3U6c49YLDmHeJ6XCMFzGoDiD0VR5KdPV4dDoce3wuGIFiEl6rKwSsY6O9tjm8FbgFr6SPIgR2C22qzO/HzXKdEsvguAN4hSiSfi3cHgwnfRSDSkUiQUahrZnGYdkMFMXLIaAFew13X4eYfzUwC7dpLODTaxJ8uhL+cfLgwBUJOq6deN0HUgS2PSTOpYZJIkNdrttnMM/A9ha+ZqOBy5KsvyTyxSU4IOrqV3Hdhyoa2W1exZZBf/A2wd+mQ5dIlFymradbnjF7ahAZkaFSV1kNXslX37vv4XacyUiNhMIPARqynPCyNMvRqw5ULHO0z6xfuLzotm8Xim0xaLiObmtxEM/o7BwfEdZTueiF+bmvRfYS3TdbmtjzwTylEmfUmSrmZSI8cRNDbWIS8vVwNNTs5iYGCUtYbRUmRZPsdaJqmabpAzre1lHMhrkiQ12O22DzOdLi97FTW1B3TbU1Oz6O8fAzWghsORb2RZ/lkFnSZnP/68BoQ6S0tL2gRBqEoHLCoqRDQaQ2VlMSTJpTOZ9s+jt29kW2gqlRqdmLjfAUpCpKW17T0CTiwvL+sihLyQDlhbcwBFxYXwem/izTf2o/DlPJ3Zg+mH6OkdzgillD7y+e62UKhxcra1433WAhUVZd8DRBvKm5cg8GhoqIXDYdOgVVWvo6DgRZ3ZzEwQPT1DUNV0RaXJO3funmSDYEdA5tlsNqGpqQ5WqwVe7w0cPlSO/L17dNBAYAHd3bfSQDcAjVJaX++G3z+PlZUISkok5Lv2QBRNWqRHqivgcumrMD4+iaEhn+4i+pQaiMbj+QArK1EQAuTkiPjxhwEcr3dDEDgN6nZXrrdKOBxDb+8wlpZCOqBONEZtwYDJRAqr8TjY7e/dC2D3biuam49pTq95b6LaXYnFxUf4bew+UoqyRQO6tjBqfAb0+R7g+vXbOkdOhx2NTccwN7uIvv7R7Zpf3/hGo+1E/VH4/XOY8s9tccqmT3pV/m26ZbSxrawP77+izOLzpEWZ7QeYQbP6xVgrc1Y/UWvQrH4TN2o/ax/hzQ33f371/wQAZGZnL9+7/gAAAABJRU5ErkJggg==",I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAHwElEQVR4Xu3dYW7bOBBAYQrtvZoepblI3XMU6B4l6r0aeJG42BhxbE3IUNJyvvwmGc8bPg1JW9JU/CGAwFUCEzYIIHCdAEHMDgRuECCI6YEAQcwBBOoIqCB13PRKQoAgSRItzDoCBKnjplcSAgRJkmhh1hEgSB03vZIQIEiSRAuzjgBB6rjplYQAQZIkWph1BAhSx02vJAQIkiTRwqwjQJA6bnolIUCQJIkWZh0BgtRx0ysJAYIkSbQw6wgQpI6bXkkIECRJooVZR4Agddz0SkKAIEkSLcw6AgSp46ZXEgIESZJoYdYRIEgdN72SECBIkkQLs44AQeq46ZWEAEGSJFqYdQQIUsdNryQECJIk0cKsI0CQOm56JSFAkCSJFmYdAYLUcdMrCQGCJEm0MOsIEKSOm15JCBAkSaKFWUeAIHXc9EpCgCBJEi3MOgIEqeOmVxICBEmSaGHWESBIHTe9khAgSJJEC7OOAEHquOmVhABBkiRamHUECFLHTa8kBAgSSPTdP8fv5VgOgaZXm8z3UxPru5/Hu/KpPLR8hjKVw/xt+tE0RrLOTUnLwoogWTJ9GSdBArknSADSoE0IEkgsQQKQBm1CkEBiCRKANGgTggQSS5AApEGbECSQWIIEIA3ahCCBxBIkAGnQJrsX5HlyNv61nv0T5CUBe8hH43R4V/f9C/LreHxXRJeN5/l++toyBkHOBNlBPlpy+d6+BAkQIwhBAtNkmyZ3O7hiEYQg28z+wH8lyAnSXn6LtYd8BKbNhzWxxAqgVEFUkMA02abJHq5YBCHINrM/8F8JYokVmCbdmlhiBdCqICpIYJps00QFUUG2mXmn/6qCBOirICpIYJps00QFUUG2mXkqSJi7CqKChCfL2g1VEBVk7Tl3/v/sQQL0VRAVJDBNtmmigqgg28w8e5AwdxVEBbmYLH4cdzYpPDjuPxjZKvrVPQhBCPJWiSXIXyoEIQhBbnyTThCCEIQgoY26Tfq+Nulr5sMeJKDImgm59nFU9G0qOkEIEiCggjjmvTFNVBCCEIQgoUrimNcx7+XFwheFvih8PStsCrfZFNqkLxeyNZe8NunL+ShrJoQgywlZMx8EWc4HQc4Y2YPYg9iD3DqwSPYoWBVEBQkQcMzrmNcxb0gUS6wPXmKVP+V3iPy1Rp/KQ1P/UubyWH40jfG5fCnHcmga47E0vaPk+X+3spjKQT5OWZzvp9Dt5n2XWE0zSmcE+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AAEEGSKIQ+hEgSD+2Rh6AwD4EebpBp/Wv9UalpxumpjK3fozmG6b2wGIPn2En+diNIPO3qeluvmy3eF4T2XPKXsh47M/ZLCHICQZBCPLmxZMgBHk9MVQQFeTiYqGCqCAqyI2TBIIQhCAECR02WmJZYlli3bpYrPg6ir7PxZrKwTHvKdPRc3fHvMtFRAVRQVQQFWT5SvF8/p/saeIqyPK8UEFUEBVEBVm+UqggZ0ebP493H/HwanvC9+0JbdIDnq5Z0i2xlhOyZj4IspwPr2BLvOQlCEECBM6WeskOTQgSmB5rlnRLrOWErJkPgiznwxLLEutylvhx3NmyYsWfNqggy1csFSTxFYsgBFkmQBBfFPqiMOaJn5qcOFnybrPktUkPeLrmmtcSazkha+aDIMv5cIqVeMlLEIIECPii0KZwJ5tCS6xlXy2xEpd0ghBkmQBBVPSdVHR7kICua5Z0FWQ5IWvmgyDL+XCKlbiiE4QgAQJOsax5d7LmtcRa9tUSK3FJJ0gyQcqf8ns55BstPpWHpv5PL2x5LE3vKCmfy5fmF+g8lq+NcZSPeGiDfJyyEH2QX989SPOMMAACfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CgCCDJFIYfQgQpA9Xow5CYB+CTOXQzPPYPMZcpjJv/jn2wGIPn+HpBrYd5GM3gnjt8EnNaEKuiezp7i9k3JN+Nku8/uAEgyAEefPiSRCCvJ4YKogKcnGxUEFUEBXkxkkCQQhCEIKEDhstsSyxLLFuXSxWfC133+diTeXgmNcx76u5Ps/3U9ND9FQQFUQFUUFCy83imNcxr2PeW1eLX8djTKWrrf5XJf1aFE6xnGI5xXKKFboW2oPYg9iD2IOELhb2IH8xWWJZYlliWWKFrpqWWJZYllh7X2KFVNYIgcEJXP0mffC4hYdAiABBQpg0ykqAIFkzL+4QAYKEMGmUlQBBsmZe3CECBAlh0igrAYJkzby4QwQIEsKkUVYCBMmaeXGHCBAkhEmjrAQIkjXz4g4RIEgIk0ZZCRAka+bFHSJAkBAmjbISIEjWzIs7RIAgIUwaZSVAkKyZF3eIAEFCmDTKSoAgWTMv7hABgoQwaZSVAEGyZl7cIQIECWHSKCsBgmTNvLhDBAgSwqRRVgIEyZp5cYcIECSESaOsBAiSNfPiDhEgSAiTRlkJ/AuPGOtQro/0lwAAAABJRU5ErkJggg==",R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAHRUlEQVR4Xu3dYW7bOBCGYfVk3Z5suydLe7IuBAdwECfSF9KUVM5jIP9IxfMOXw5HjuJvixcCCHxK4Bs2CCDwOQGCWB0IbBAgiOWBAEGsAQTaCKggbdzMKkKAIEUSLcw2AgRp42ZWEQIEKZJoYbYRIEgbN7OKECBIkUQLs40AQdq4mVWEAEGKJFqYbQQI0sbNrCIECFIk0cJsI0CQNm5mFSFAkCKJFmYbAYK0cTOrCAGCFEm0MNsIEKSNm1lFCBCkSKKF2UaAIG3czCpCgCBFEi3MNgIEaeNmVhECBCmSaGG2ESBIGzezihAgSJFEC7ONAEHauJlVhABBiiRamG0ECNLGzawiBAhSJNHCbCNAkDZuZhUhQJAiiRZmGwGCtHEzqwgBghRJtDDbCBCkjZtZRQgQpEiihdlGgCBt3MwqQoAgRRItzDYCBGnjZlYRAgQpkmhhthEgSBs3s4oQIEiRRAuzjQBB2riZVYQAQYokWphtBAjSxs2sIgQIkiX632VZfmZDPx3Vy/qfZVleOt/DGsN/ndcoNb03aVVgEaRKpt/FSZAs8QTJOE03iiBZSgmScZpuFEGylBIk4zTdKIJkKSVIxmm6UQTJUkqQjNN0owiSpZQgGafpRv0NgqyLs/fVe++fIPcMXCEfveshnv83CPInjubjgb+WZfnReQ2C3AFeIR+d6cynEyRjRRCCZCvlhFFX2LEIQpATln72Kwly43SVv8W6Qj6ylfOEUY5YGUQVRAXJVsoJo66wYxGEICcs/exXEsQRK1spA0Y5YmVQVRAVJFspJ4xSQVSQE5bd7VeqIBl6FUQFyVbKCaNUEBXkhGWngnwFugqignxlvRw6VgVRQQ5dcG9/mR4kQ6+CqCDZSjlhlAqigpyw7PQgX4GugqggD+vFH8fdkRDkWoIclo+tHoQgBPmoypY68hIkO2gdtmNtvB0b1gkbFkEIkhFwxNKDbKwUFYQgBCFIVEz0IK+YnHlPOPPqQSJJD6voepAoH8thCSFIlJDD8kGQKB8EeYPJEcsR68Gaw3YsFSTasQ7LhwoS5UMFUUEeF4omXZPuk3QlPSohh5V0+bhWPhyxonw4YjliOWJtqaKC+CTdJ+k+SY/Kqdu8T77N+zvC/vmgl8756/eD9H6BzvdlWX52vo/e7yhZf30vizUG+bglMnrcfHQP0rmmTEdgGAGCDEPrwjMQIMgMWRTDMAIEGYbWhWcgQJAZsiiGYQQIMgytC89AgCAzZFEMwwgQZBhaF56BAEFmyKIYhhEgyDC0LjwDAYLMkEUxDCNAkGFoXXgGAgSZIYtiGEaAIMPQuvAMBAgyQxbFMIwAQYahdeEZCFxCkN6HjNZE9F5jfWBq/el99b6P3vnPYHGF93CVfFxGkN6n+Uo94rlhsX/DdIdz2P8IGP1E4bpjEeSW2GjHIkhU6AnyBpMKcoOhgqggH+4eBCHI+4WhgqggD5uFCqKCqCB6ED1IREAFUUE2FoojFkEIQpCslmjSNema9A1XCEIQghBkt5y6i+UulrtY7mLtbhTrAE26Jl2TrkmPNotFD6IH0YPoQXZ3Cz2IHkQPogfZ3Sj0IO8QOWI5YjliOWLt7pyOWI5YjliOWLsbhSOWI9aHi0QFUUFUEBVEBYkI+KDQB4U+KMxUcRfLXSx3sdzF2t0t9CB6ED2IHmR3o3AXy10sd7F2NPHXvJp0TbomPaqm/pr3FZMeRA+iB9GDRLumI5YjliOWI1a0WThiOWI9LBQVRAVRQapUkN9Zofh01Evn/PULW3q/guH7E77I50dnHOv0Xhbr11HIxy0R0ddRjP5+kCesCZdAYAgBggzB6qKzECDILJkUxxACBBmC1UVnIUCQWTIpjiEECDIEq4vOQoAgs2RSHEMIEGQIVhedhQBBZsmkOIYQIMgQrC46CwGCzJJJcQwhQJAhWF10FgIEmSWT4hhCgCBDsLroLAQIMksmxTGEAEGGYHXRWQhcQpD1AZ3eV+811gem1p/eV+/76J2/vv/ea/TOf8Z7uEo+LiNI79N8/jfvTW3/9ue+xXkm/c12TxCCvK/+BCHIw4lQBVFBPmwTVBAVRAXZ6KAJQhCCEGT3JpsjliOWI9aGJgQhCEEIsltJ1wHuYrmL5S7WhioEIQhBCBJVU//d/RWTHkQPogfRg0S7piOWI5YjliNWtFk4YjliPSwUFUQFUUFUEBUkI3AbpUm/WJP+leQZi8CUBKKnqqaMXFAIBAQIEkAypC4BgtTNvcgDAgQJIBlSlwBB6uZe5AEBggSQDKlLgCB1cy/ygABBAkiG1CVAkLq5F3lAgCABJEPqEiBI3dyLPCBAkACSIXUJEKRu7kUeECBIAMmQugQIUjf3Ig8IECSAZEhdAgSpm3uRBwQIEkAypC4BgtTNvcgDAgQJIBlSlwBB6uZe5AEBggSQDKlLgCB1cy/ygABBAkiG1CVAkLq5F3lAgCABJEPqEiBI3dyLPCBAkACSIXUJ/A8iAlH2GCW/6AAAAABJRU5ErkJggg==",N=28,F=28;class j{constructor(e){l(this,"_icon",{}),this._icon=e||{},this._icon.onlineCamera||(this._icon.onlineCamera=P),this._icon.offlineCamera||(this._icon.offlineCamera=O),this._icon.disabledCamera||(this._icon.disbaledCamera=O),this._icon.onlineGate||(this._icon.onlineGate=I),this._icon.offlineGate||(this._icon.offlineGate=R)}createMarker(e){const{onlineIcon:t,offlineIcon:n,disabledIcon:r}=this.createMarkerIcon(e);return{marker:new AMap.Marker({position:new AMap.LngLat(e.lon,e.lat),title:e.objectName,offset:new AMap.Pixel(-(e.markerWidth||N)/2,-(e.markerHeight||F)/2),icon:this.formateDeviceStatus(e)}),onlineIcon:t,offlineIcon:n,disabledIcon:r}}createMarkerIcon(e){let t,n,r;return t="gate"===e.objectType?this._icon.onlineGate:e.onlineIcon||this._icon.onlineCamera,n="gate"===e.objectType?this._icon.offlineGate:e.offlineIcon||this._icon.offlineCamera,r="gate"===e.objectType?this._icon.offlineGate:e.disabledIcon||this._icon.disabledCamera,{onlineIcon:new AMap.Icon({size:new AMap.Size(e.markerWidth||N,e.markerHeight||F),image:t,imageSize:new AMap.Size(e.markerWidth||N,e.markerHeight||F)}),offlineIcon:new AMap.Icon({size:new AMap.Size(e.markerWidth||N,e.markerHeight||F),image:n,imageSize:new AMap.Size(e.markerWidth||N,e.markerHeight||F)}),disabledIcon:new AMap.Icon({size:new AMap.Size(e.markerWidth||N,e.markerHeight||F),image:r,imageSize:new AMap.Size(e.markerWidth||N,e.markerHeight||F)})}}formateDeviceStatus(e){return 0!==e.status?(e.status,O):2===e.onlineStatus?P:3===e.onlineStatus?O:void 0}}const B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAJKADAAQAAAABAAAAJAAAAAAJxsHGAAADV0lEQVRYCe1XS0hUURj+zmiOqYi0yIo2JQajQrZoH1FEuI3ATI0emwwqgoih6PZgjDYlVJsiEhIxItpIUJt2tcsgZxZmbSxzEyJpjuac/v8O49x7z2PujLrzwL3nnP/xfd899/z3Aaw3+woIu1vjdUZrsCgOIiPbyNsEKeup54PbFISYoj6JiBjGBvkOTvMf1xPyFF6QM7oFC7gOiZMkoiIUvhALEHiKCtwgYb/C5IQTFP9yERncIsDqMKCamFlEcA2Jlnsan89kF+TIcqRTjyAzZ3xZpU5E5DGisbNwxD8TRLnJ4drTqSckptsaU4yTLyyd4tt9wpQWMTkQT55eVTE5Ir5AxjY0/S2LJ7dSFY0DcqMhb4Vm8ZeqsAGJpskgkH6FMvLS2olhCXShLkdQDqgog80Zq8V8+ieZS62oIKJpPovK6DY4jTPeAHVTpxf3hxWzvbYcdw/XY9/OrPb332Zx+c0UJmaMReTlrkaW67XXqAoCDngDTGMW8/l8AzZV5SHaW+twaFcNdveNhxXFXD5Bmj0k95pEeO28Ml4xOR/b2BeuqVyqIInNYcByt0kXa/P54jVcqiAhQwnyAZc60XCpgmB+rHt5eQObms3nz1G5NIIw4U/Sz7iafs+p1cQ29oVsCpdO0IcwYFzaXE2DI9OYnFl0Dx4XUWFMo3Dla3ZZhXhFT9JTy1PLgEUdG/phiSjkYi5/U1coGntLz296j61xYw7mCjRVEH+riMjNQNzqT5lD812kCmLq1tgAveY+rr6KHCJhuxy5eb7XCzoqliikkw5zbecxih0xZieyHEquXhCH3Wn+St8s55SMlRoEelxsA45ZECckmp+RqF5DbvFmxupt6bclqt9DwWgpBeKpAfqcbQ+6ipqLyCASsQ76b5O2PPsKcSYDRGNd1A/ZgKw+zs1iWMW4dFYgr/OFLMOnZD/9JHZ4zQXHQgxgT1O3aRMH8wuvUC6DqyLa1EVL1pczFe4plnMMFaXLL7yHdFlXRrn67tMrpkznJtH82LhA1fRA7zdbSxPEePFkG2305/SvX+eDF5imJ/1x+sUZ9tlDTkoXxARXxxqwtPCS9lWryyfECMoqjuB2Y8nvwpUJYhXO90rMzz10BVVW9cDZMe+O109rtAL/AUvA7qP2DtrOAAAAAElFTkSuQmCC",H=36;class W{constructor(e){l(this,"_icon",{}),this._icon=e||{},this._icon.location||(this._icon.location=B)}createLocation(e){const t=this.createLocationIcon(e);return new AMap.Marker({position:new AMap.LngLat(e.lon,e.lat),title:e.objectName,offset:new AMap.Pixel(-H/2,-H),icon:t})}createLocationIcon(e){let t;return t=e.icon?icon:this._icon.location,new AMap.Icon({size:new AMap.Size(H,H),image:t,imageSize:new AMap.Size(H,H)})}}class z{constructor(e,t,n){l(this,"_map",void 0),l(this,"_alarmConfig",void 0),l(this,"_mapInfoWindow",void 0),l(this,"_mapAlarmIds",void 0),this._map=e,this._alarmConfig=t,this._mapInfoWindow=n,this._mapAlarmIds={}}showAlarmMsg(e,t,n){let r;this._alarmConfig.bounceIconOnAlarm&&t.marker&&t.marker.setAnimation("AMAP_ANIMATION_BOUNCE"),this._alarmConfig.showAlarmOnMap&&(r=this.openAlarmInfoWindow(t,e),this._mapInfoWindow.openedPointObjectId!==t.objectId&&-1===Object.keys(this._mapAlarmIds).indexOf(e.objectId)&&(this._map.add(r),this._mapAlarmIds[e.objectId]=r,this.setSwitchDeviceButtonText()));const i=()=>{this._alarmConfig.showAlarmOnMap&&(this._mapInfoWindow.openedPointObjectId!==t.objectId&&(this._map.remove(r),delete this._mapAlarmIds[e.objectId],this.setSwitchDeviceButtonText()),this.cancelAlarm(t),n(e,t))};return 0!==e.autoCloseTime&&setTimeout(i,e.autoCloseTime||1e4),r.on("remove",()=>{console.log("remove addEventListener")}),r}cancelAlarm(e){this._alarmConfig.bounceIconOnAlarm&&e.marker.setAnimation("AMAP_ANIMATION_NONE")}openAlarmInfoWindow(e,t){let{alarmWindow:n,closeButton:r,content:i}=this.createBasicAlarmWindow(t);this._alarmConfig.customAlarmInfoWindow?i.appendChild(this._alarmConfig.customAlarmInfoWindow({...e,marker:void 0,onlineIcon:void 0,offlineIcon:void 0,markerClickEvent:void 0},t)):i.appendChild(this.createAlarmInfoContent(t));const a=document.createElement("div");a.style.position="absolute",document.body.appendChild(a),a.appendChild(n),a.removeChild(n),document.body.removeChild(a);const o=new AMap.Marker({position:new AMap.LngLat(e.lon,e.lat),offset:new AMap.Pixel(-(t.dialogWidth||200)/2,-(t.dialogHeight||200)-80),content:n}),s=()=>{this._mapInfoWindow.openedPointObjectId!==e.objectId&&(this._map.remove(o),delete this._mapAlarmIds[t.objectId],this.setSwitchDeviceButtonText()),this.cancelAlarm(e)};return r.addEventListener("click",s),o}createBasicAlarmWindow(e){const t=document.createElement("div");t.classList.add("map-alarm-info-window"),t.style.width=e.dialogWidth+"px",t.style.height=e.dialogHeight+"px";const n=document.createElement("div");if(n.classList.add("map-alarm-info-close"),n.classList.add("qz-map-icon"),n.classList.add("close"),t.appendChild(n),e.title){const n=document.createElement("div");n.classList.add("map-alarm-info-title"),n.innerText=e.title,t.appendChild(n)}const r=document.createElement("div");return r.classList.add("map-alarm-info-content"),t.appendChild(r),{alarmWindow:t,closeButton:n,content:r}}createAlarmInfoContent(e){const t=document.createElement("div");return t.innerHTML=e.text,t}setSwitchDeviceButtonText(){let e=document.querySelector(".next-alarm-button");return e&&(0===Object.keys(this._mapAlarmIds).length?e.style.display="none":e.style.display="block",e.querySelector(".button-tooltip").innerText=`查看下一个告警设备(${Object.keys(this._mapAlarmIds).length})`),new Promise(e=>{e(this._mapAlarmIds)})}}var U={name:"PlayerVat",props:{url:{type:String},pointInfo:{type:Object},supportPlay:{type:Boolean,default:!0},pluginUrl:{type:String}},components:{QzPlayer:s()},data(){return{isPluginLoaded:!1,loading:null,devicePlayerConfig:{devices:[],basicConfig:{autoPlay:!1},playerServer:this.playerServer,pluginUrl:this.pluginUrl},isPlaying:!1}},methods:{pluginOnLoad(){this.isPluginLoaded=!0},onStreamStatus(e,t){2===t?this.loading=!1:null===this.loading&&(this.loading=!0)},closeStream(){this.$refs.qzPlayer&&this.$refs.qzPlayer.stop()},playerStart(){this.devicePlayerConfig.deviceItem.rtspUrl=this.pointInfo.rtspUrl,this.isPlaying=!0,this.$nextTick(()=>{setTimeout(()=>{this.$refs.qzPlayer.play()},200)})}},created(){this.devicePlayerConfig.playerServer=this.pointInfo.data.playerServer,this.devicePlayerConfig.devices=[].concat({rtspUrl:this.pointInfo.data.rtspUrl,dcs:this.pointInfo.data.dcs,areaName:this.pointInfo.data.areaName,deviceName:this.pointInfo.data.deviceName})},mounted(){},render(e){return e("div",{class:{"player-ctnr":!0},style:{position:"relative"}},[e("div",{class:"el-loading-mask",style:{position:"absolute",backgroundColor:"#101010",zIndex:"900",display:this.isPluginLoaded&&this.loading?"":"none"}},[e("div",{class:"el-loading-spinner",domProps:{innerHTML:'<svg viewBox="25 25 50 50" class="circular"><circle cx="50" cy="50" r="20" fill="none" class="path"></circle></svg>'}})]),(()=>{if(this.supportPlay)return e("qz-player",{ref:"qzPlayer",props:{type:"live",basicConfig:this.devicePlayerConfig.basicConfig,pluginUrl:this.devicePlayerConfig.pluginUrl,playerServer:this.devicePlayerConfig.playerServer,devices:this.devicePlayerConfig.devices}})})()])}};class V{constructor(e,t){l(this,"_map",void 0),l(this,"_infoWindowConfig",void 0),l(this,"_livePlayerInstance",void 0),l(this,"openedPointObjectId",null),l(this,"infoWindow",null),this._map=e,this._infoWindowConfig=t}openInfoWindow(e,t){if("mouseover"==t.trigger)return void this.openMouseoverWindow(e,t);let n,{infoWindowNode:r,content:i}=this.createBasicInfoWindow(e,t);n=t.infoWindowConfig&&t.infoWindowConfig.anchor&&"top-center"==t.infoWindowConfig.anchor?new AMap.Pixel(0,12):new AMap.Pixel(0,-22),this.infoWindow=new AMap.InfoWindow({...t.infoWindowConfig,content:r,position:[e.lon,e.lat],offset:n,retainWhenClose:!0,isCustom:!0}),this.infoWindow.on("close",e=>{this.openedPointObjectId=null,this.closeStream()}),this.infoWindow.open(this._map),this.openedPointObjectId=e.objectId}createBasicInfoWindow(e,t){const n=document.createElement("div");n.classList.add("map-info-window");const r=document.createElement("div");let i=null;if(e&&e.data&&e.data.rtspUrl&&(i=document.createElement("div"),i.classList.add("map-info-content"),i.appendChild(this.createInfoWindowContent(e.data.rtspUrl,e,t))),!i){i=document.createElement("div"),i.classList.add("map-info-no-play"),i.classList.add("empty-video");const e=document.createElement("img");e.src=v;const t=document.createElement("span");t.innerText="暂无视频",i.appendChild(e),i.appendChild(t)}let a=null;if(e&&e.data&&(e.data.deviceName||e.data.areaName)){if(a=document.createElement("div"),a.classList.add("map-info-device"),e.style&&0!==Object.keys(e.style).length&&(a.style={...a.style,...e.style}),e.data.hasOwnProperty("taskName")){let t,n,r=document.createElement("p");r.classList.add("map-task-name"),t=document.createElement("span"),t.classList.add("title"),t.innerText="布控任务:",n=document.createElement("span"),n.classList.add("info"),n.innerText=e.data.taskName||"-",r.appendChild(t),r.appendChild(n),a.appendChild(r)}let t,n,r=document.createElement("p");if(r.classList.add("map-area-name"),t=document.createElement("span"),t.classList.add("title"),t.innerText="区域名称:",n=document.createElement("span"),n.classList.add("info"),n.innerText=e.data.areaName,r.appendChild(t),r.appendChild(n),a.appendChild(r),e.data.hasOwnProperty("edgeName")){let t,n,r=document.createElement("p");r.classList.add("map-edge-name"),t=document.createElement("span"),t.classList.add("title"),t.innerText="边端名称:",n=document.createElement("span"),n.classList.add("info"),n.innerText=e.data.edgeName||"-",r.appendChild(t),r.appendChild(n),a.appendChild(r)}let i=document.createElement("p");i.classList.add("map-device-name"),t=document.createElement("span"),t.classList.add("title"),t.innerText="设备名称:",n=document.createElement("span"),n.classList.add("info"),n.innerText=e.data.deviceName,i.appendChild(t),i.appendChild(n),a.appendChild(i)}const o=document.createElement("img");return o.classList.add("map-info-close"),o.src=g,o.addEventListener("click",()=>{this._map.clearInfoWindow()}),this._infoWindowConfig.customMarkerInfoWindow?n.appendChild(this._infoWindowConfig.customMarkerInfoWindow(e,()=>{this._map.clearInfoWindow()})):(r.classList.add("map-info-content"),i&&n.appendChild(i),a&&n.appendChild(a),n.appendChild(o)),{infoWindowNode:n,content:r}}createInfoWindowContent(e,t,n){return this.createLivePlayer(e,t,n)}createLivePlayer(e,t,n){const i=r["default"].extend(U),a=new i({el:document.createElement("div"),propsData:{url:e,pointInfo:t,supportPlay:!n.customMarkerInfoWindow,pluginUrl:n.playerPluginUrl},methods:{closeInfoWindow(){this._map.clearInfoWindow()}}});return this._livePlayerInstance=a,a.$el}closeStream(){this._livePlayerInstance&&this._livePlayerInstance.closeStream(0),this._livePlayerInstance=null}openMouseoverWindow(e,t){let{infoWindowNode:n,content:r}=this.createMouseoverWindow(e,t);this.infoWindow=new AMap.InfoWindow({...t.infoWindowConfig,content:n,position:[e.lon,e.lat],offset:new AMap.Pixel(0,-20),retainWhenClose:!0,isCustom:!0}),this.infoWindow.on("close",e=>{this.openedPointObjectId=null}),this.infoWindow.open(this._map),this.openedPointObjectId=e.objectId}createMouseoverWindow(e,t){const n=document.createElement("div");n.classList.add("map-mouseover-window");const r=document.createElement("div");return this._infoWindowConfig.customMouseoverMarkerInfoWindow&&n.appendChild(this._infoWindowConfig.customMouseoverMarkerInfoWindow(e,()=>{this._map.clearInfoWindow()})),{infoWindowNode:n,content:r}}}class G{constructor(e,t,n){l(this,"parnetClass",void 0),l(this,"_map",void 0),l(this,"_infoWindowConfig",void 0),l(this,"_livePlayerInstance",void 0),l(this,"inRingPoints",[]),l(this,"openedPointObjectId",null),this.parnetClass=e,this._map=e.map,this.inRingPoints=t,this._infoWindowConfig=n}openInfoWindow(e,t,n,r){let{infoWindowNode:i,content:a}=this.createBasicInfoWindow(e,t,n,r);const o=new AMap.InfoWindow({...r.infoWindowConfig,content:i,position:[e.lon,e.lat],offset:new AMap.Pixel(22,0),retainWhenClose:!0,isCustom:!0,anchor:"middle-left"});o.open(this._map),this.openedPointObjectId=e.objectId}createBasicInfoWindow(e,t,n,r){const i=document.createElement("div");i.classList.add("clusterer-info-window");const a=document.createElement("div"),o=document.createElement("img");o.classList.add("map-info-close"),o.src=g,o.addEventListener("click",()=>{this._map.clearInfoWindow()});let s=[];return n.map(e=>{let n=t.find(t=>e.lng===t.lon&&e.lat===t.lat);n&&s.push(n)}),this._infoWindowConfig.customClustererInfoWindow?i.appendChild(this._infoWindowConfig.customClustererInfoWindow(e,s,()=>{this.parnetClass.clearInfoWindow()},()=>{this.parnetClass.openInfoWindowByHand(e)})):(a.classList.add("map-info-content"),i.appendChild(o)),{infoWindowNode:i,content:a}}}const Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAWqElEQVR4Xu2dC5QcVZnH/191HgSCwIYAy0NBjhBAQCAg4TFdPQkgICAuIghIuiYhK7u8lgV1V9dw5CHBlSwvF5KuTjywJwYxBBZQEzI1ExABkYfIEYQEjIgSVJZggqG7vj2300FMuruqbt2u7q766pw+M0nf7/X7+j9VXXXrFkE2ISAEmhIgYSMEhEBzAiIQ+XQIgRYERCDy8RACIhD5DAgBPQKyB9HjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISACyUijpUw9AiIQPW5ilRECIpCMNFrK1CMgAtHjJlYZISAC6VCj7Zt5rDUGe1WBvYmwF3xsQYTRPmE0eMPvYIxG/d8M5AC8Q4R18PEO1M/6v30f7xDwClt4gYBfeUX6XYfKSl1YEUibWzp5Du9YsXAwAXujLgbe8Psu7QrNwFsEvMDAC0R4IVfBogen0zPtipdmvyIQg921y7yFVcVhvoXDCDiMGRNB2MNgiDiuXiTGoiqw1FqFZd5MqsRxlhVbEUjMThdcPo6BYwBMrL+2iumy7eYE/JaBJWTh3sGpdFfbA/ZwABGIRvPsOWwjhxPBOBGEfTRcdJPJUyAssKpYsGwavdJNiXVDLiKQkF2wy3x4TRCovQ4KadZLw9YQY0GVsGDYoWW9lHg7cxWBBNC1Xf4kCOeBcVI7G9Flvr9nAdcvc+jHXZZX4umIQJogz6gw/oYGAzcQ4XqvSC8n/snskoAikE0aIcLY7JP5OxBmj98K1995Oq3vks9tYmmIQOqo++ZyH1m4lICTE6PPqICwkgkribEShNcaxmbMbPT/zHisdpER2LbdOTPwMwK+6Dm0tN2xusl/5gXS5/JuFnApgIva1RgGXifC4wAeB+Nl38dKWFg57NCqoJjqijvGYE0T4VziDdBs9V5fmT9CwAQAEyzGocyYBMKuQf6jvM+AT4xLN8aMYturYzMtELvMF4Fr4tjNYAPXMPA4qZeFx6mCn8Y5fdo/j/f0fbzYJL9zPIdub5b7ZJf3rTImMeEEAj5trEZCySvSNGP+uthRJgVSKPHJvjqcYvQZ6s1TDPzI8nHP4DR62JDPmpvCXD6SLTzUyCcBnxh06Idh4tlz+HDkcBaAsw0dkj3qOXR4mNi9PCZzAsmX+DIizIrZtDdB8OBjiIAHBgfo+Zj+mpoXyvxpZjS82k1VTBycTk9EiV07pGScD8IlAEZHsW0w9s+eQ2Nj+uhq88wIxB7kEXgZN4Lxj7odYeB+MO6mChZ5M+gNXT9R7Apz+Xy2cHMjmxE5fGjpufTrKP42jj3a5YNzqIlE7VHibKs8hz4Yx0E322ZCIIUS782EG7FhzlTU7WkQFpGPuwcH6OmoxnHH512+goD/aORnzbvY6okZtDZODNvl0wDMAxBnDtkSz6Fj4+TRrbapF0h+Ph9Pfm3PsWekJhB+wMAtQ0W6N5Kd4cF5l28l4LwGbld7Du1gIlzB5Y8D+D4DO8fwd5Pn0AUx7LvSNNUCsUt8FghNz/I06chy+LjFm0YLuqFjeZfvanIG6heeQx81maPt8k8AKLFobcS4bnCALtcy7lKj1ArEdlmdhpwTgfuTRLhpsEhuBJu2D7VdHgRgbxaIMegNUL/pBOwS/xwEbeEx4+tDA9TwkNB0rkn4S6VA8mW+gBg3hAXIwDW0Dld7/0Rvh7VJalyhzE8z44AG8b7rOXSG6Txqd0Dm8AwB2odvxDh3cIC+Yzq3TvhLnUAKLl/OwLUhYT7AhGuGirQ85PjEh9ku/6bR7bnMuHFogC5sR0J9JT7WIoS6vtIwPuMNAqZ04qSGaR6pEIg6t59jHMQWDkKTeUubgSPM9Ip0hWmgpv3ZLquzVGMa+P2q59CVpuNt9GeX+RowvhTD/6DnmD8EjJGPlmnPCcReyGP9t3CwlauJQd24dAgQ8Zi5R8Qx5VbepjISbzbqLBPOGypSlO9YkT4g9dhqz7p/JMP3DVbT5YccatscN928oth1vUD6yrw/bVj8YCIxDgVqL/2tR8ShCqxfv/llw2J9nOpNo7v1QQRbFsr8OWbcETyy5YiW88Vi+m67eVcJZN+FPGrHtTjGr6IfFiaSEgM3PLzQBbPcc8jU/CvdHELb9c/lPt/CUCMDsnDU4FSz874axbFdvh/A8aGT3nzgGgJOgoUKv4uq+ll7VVFB7n0/K6hgBCpYjwpGoYK1qGBLVPAKKp1cgaXjAul3+WAf6AdjMlnoZ8aoGM1obUo41Su296+uydxbzsNiTGjnHLCNdeTL/BliLDRZl6YvdVfjyyBs+OnjPm+AfqrpK7RZRwSi7l2wGKcAtddRobONO5BwBwPzh4q0JK6rJOxbXcsZ7WPcD6fRHxPKYxjA0UnEihhjFROWqPW+PIf+N6JtqOGJCiRf5nPA+BRtEIZaSrNT25MgLGYLj5GPR7wiNfwi3KnkNsZtdcracyix3mlcdE0eHeFeMG4zLZREIOdLfCqAi4mM3X9hsgFqvdvH1O2r8PEwcvC6RTB5l68lYPOpG4R1XpG2NAlho6/J83lcxceHLR97sIU9mHEyAUe0I1ZbfDIWeAN0pinfbRVIfS2piwF81lTCSfgh4GdMGEYVQ7mReK66Eis68UXRdlmdxm10594rnkO7h2Fx/A08+i8jsT2NwLiKhXFgbE+EcVAv9TswjoHtQdiZgD0Y+EAYv908hoC1PmPK0AA9EjfPtgkk7/KXCbg6boJdZK9WHVwBxgomvESo/VyxRRUvteu7QIuJio/7hJnw3/uwb68+7FAfdPWT/vo7EawuYphoKjlgvwcdei5OUOMCscs8AVwThjqsysr2JgMrLMJLrAQE/B8x1hFhrU9YV/vdwjrysY6BkexjDFsYYxHGqN+hfhLGgDHWArZmYGtseG3TcKJiVqjGrZPxYo5wShyRGBVIocT/wIT/aufS/nGZiX3GCMT8TmJMIPkyH0OMewBskbEWSLndToBwplfUu7/HiEDUHWkMqGkPO3U7K8kvkwR+4jk0Safy2AI5cj5/cGS1NjVaLVommxDoTgKEv9d5NF1sgRRcvoWBL3QnFclKCGwgQBZO03lYUCyBFObyiWyhLZf4pbFCwDCBqzyHvhLVZyyB2C6r+wWSm0sVtToZLwT+SuBWz6HIa6JpC6R+1upH0gEh0BMEGHd5A6TWAIu0aQukUOJZTLgsUjQZLAQ6R8DzHCpEDa8tkGaLCURNQMYLgYQIJCeQ+lNe1XpNsgmBXiGQoEBKPBWEcq+QkTyFAIAEBVLmr4VeXkd6IwS6g0CiAimDMbU76pYshEAoAgkKpNl6saHylEFCoCMERCAdwS5Be4WACKRXOiV5doSACKQj2CVorxAQgfRKpyTPjhAQgXQEuwTtFQIikF7plOTZEQIikCbY/wJAPYRmlVpMgoFdCGjLomsdaXs3ByX8CYxXAawBYzcQdu1guiIQAKvBeJgt3O8znlCiWO7Q6k2bctQtvN2IUdiFCR8hwnFA7RVqIbYONrjbQz8LwlJUsNgfgVf/vB6vNnpEtT2Hd2ULu6n7iEhxJ0xOqLAEBVLiB0D4REKFtQyjVtFjwiwlDM+hpbo5FebykZzDFDDUSpDb6vrJmN2zYJRg1ZZrfUqndrvMO7F6fj3jDAJO0PER0iY5geRLfDMRzg+ZWPuGMRb4jFnD0+hJU0HqC98pkcww5TOFfv4AYDbGYrZ3urkHn9ouqyVq/7lNd6kmJxC7xJeC8M0ONv4pEK7VXesoTN75EhdAuJiAk8OMz8oYZtzCFmYPF+lX7ao5X+LpRPia4QUIkxOIWq2dCN9vF6BWftXD6teOxpWPnk1vJRHfdvnG+l+1JMJ1e4wzPIe+m0SSbVjCNjmBHFPind+l2tmJRDcmHNuJh98Uynw+M25OtNjuCrbKH4H88OdpZdJpGVwEPTmBKEj5Mj9KjMOSApbkA2Ma1XS0y+NzwOtJ1dtFcR71HDq8k/nkXT6TgP+JmUOyArFd/jqAyOsM6RTJhL6hIqklhkJtdpm3RRU2Ew61gPFsYTwYWzGwmgivE2Olev5H1DMvdpl3ByPxv6Khim7PoFc9hyJdu6gx8mGThX1ZsWfsoFKrcQdW+4wnqYrl3nRS16ZCbwWXz2Pg1tAGmw9MViAFl49j4AcxEg5nyrjEG6DZYQbXTtVauIwIx4d8GKi6eLjYB2YNO6R+D9wKZT6BGfcFDuz9AWvg4whvGj0bphR7w23Yat2pj4cZD+CR2iPTBmheyPHIl1j1dlbY8ZuMS1YgKrhd5nvAOEkz4TBmX/UcujJo4KSFPGbU25jZ8HFlQcYb3lfimOU5dFOY4TEbFSZE58eEfCJwvswnEeNCAFM0k17KhBuGinRvGPsYJ006IBCXPwkgVGFhit9kzBLPoWOD7I6ewwfkcrVnkthBYwPfJ9ztFSnUg39sl9WieccE+uzBAQzMGnLoi0Gp2y6ra0X/HTQu1PuE2V6RLgka2+fybhbwMFC7Gh9lu91z6JwoBmqs9rpYGwO1ay8S5oyV3Z7FI970HNouCGSKV5Z8Hu/iKG8GvdGKQZv6vtRzKPCPju2yupioTr+H3xjf8Aboy+ENNoyMLZB+l4/wUXv8wdiowVuMv8lz6IJW/tr8HShso1J3jYQIA4NFcgPYf4uBwL/2Wp8HwiVeMfg7Z9Q9OBNOHyrSnVFzii0QFbBQ4s8zYX7U4E3G/8EHDmr1pfn42/kD69bjMQB7G4rZyM21nkNfauW/vrtX01zGtTGPJF0/4DnUcj5UQnvOczyHbm+5B9swLWVBaDhV7Bb1zJmRPch7h1ou/yuA60In3GwgYZ5XpGIrP02fHx47+GYOTgp6ML1d5tQsgcTA+UMOfTvgg9n2714E/LYyEhOXn0OvNctFPd76nbF4joEPB7WdgduGHNKaW2dkD/KeSEp8FggtlR9UDDFOGxygu5qNq5/KfSjIj5H3Cfd6RWo5F6v+4NLvGYnXQSdqVnQVmNBqz6117K9bE2GmV6QrWv6hLPF/EuFfgkKQhYmDU0nd/hB5MyoQFb1/LvdVLSwi4O8iZwO8PH4s9r7zdFrfzNZ2WT0L8RQN31omPuHE4SLd38z4Mwt51Oq38Xyv30/CwMIhh9RhS8PtyBJvPZLwC42zR1rc1V6E38WBrU4W2CU+CoSWF5B1v3tsTNq4QJTjQokP9AlXa8zvb/nlfNK3eMzobWvTPUyeEAhqYOCDV2Kcmw+KneT7LY/7+1zut4AHk0wozAkD2+UXAezZKC8i/Ptgka6Ok3NbBLIxocjz+y1M86ZSqVlBfXO5z7IwFKfgyLaE17wi7dzKzi7zVHCPL+ZN2Mcr0i+b1Vko8b8x4arI/OIZLPYc+lRL9i6rWeWNrl1N9xyaGy+8gdO8YRJQ8/sBnE2EvlbjLQv5ZVNpuOnhVXuuewSXUEXBm05es4H1U93q4lVPbgy8vsNY7Hzn6VRtyr5Dy80GTVK1Nz859LjP+MrwABl5+llb9yCbwrZdVtMRPqturwT97WESA+v9d7H78hnNz1zYJf52fb5P0h/ElvdBTJ7DO1ZzeAXA6KQTMxRvuedQyz9etsvPAdjHULzQbnJV7PTgdPp906OK7/A+VgXLGbiPGXcND9A9oZ2HGJioQDbm0z+XP+RTbe7OJFg4HIz9APzcc+gAzd1piFL1hxBw0aBDN7TykC/x00Romb9+Bm22JJS8Ik0LYP9HAIEzDExnmsvhwAfPpWda5lbmCa0OD+Pk1BGBNEq4fx7vuWwqvRTQpLafg28UP8yXvdpTt3p4a3UIqcqyXVZnFkcmXaIFHLnMoR8nHXdjvK4RSBgAeZfvIOBzYcaaHMOE84aKNMekz17zZZf5N2DsknTePmGvdt7/HlRPTwnELvP19WV5guoy+76PU71ppK6/ZHazXVZTaj6WOADCdl6R3kw8bj1gTwmk4PKFjNrU9mQ3H/uHvXEo2cSSi2Y3P53aziTe8Bwa384AQb57SiB2mT8GhrE1sILg1N9/1nNo/5BjUzss7/IXCLglyQIZcIccGkgy5qaxekogKnnb5V8nNd2hDusqz6FE7r3v5AchKHa+zIcS12ZQJ7aRhVMGp5o9bRs1+V4USKL3YMSZ6Ba1Gd0+3i7zQ2AcmVCeT3gOTUwoVtMwPSeQGLdcRmYdZ5p05GA9YFCYxyezj8VJpErAjEGHbksiVqsYPSeQ+mFW9FsuNUjL3mNzaHmXSwQ4GjijmHTF3kMl3JMCqYmkzIvAaDmRLUpHNh0bd5p0nNjdbDvlVt6mMhJqJfd2PS7inRxwyIMOqaktHd96ViD1Pcmf2vKoAkYxynpNHe9iwgn0lXl/i9Fy+oduSjlgv24RR0/vQTY2wHZ5SYw1mTbvY4g72XSbnya7yS7vW0XtBipzW8CsaXOBwnvq6T3I+0TyDQCB6zgFYomwimOgrwwMqImEsLA+2TROxS+iiulB88HiBNC1TYVA6t9JzgDjcgAHacBYTD6uG5xGPXtPh0bNRkz65/Mu1SouJEAt0zQmotN1DNyYy+GGZedS4k8LCJNragSiij3kVt5y61G4DFx77t3RAQB+D8YgWVgStA5UGJBZH1Nf4dKpsSd8NIDHEwQMV6qYt3x666nsneaaKoG8H6Za4Z1RX93dxw5kYUtfre5exercSKwIuseg043p5fhqhXcC9mUfO6gV3lUtamV3svA6V/CMzvpUneKRWoF0CqjETRcBEUi6+inVGCYgAjEMVNyli4AIJF39lGoMExCBGAYq7tJFQASSrn5KNYYJiEAMAxV36SIgAklXP6UawwREIIaBirt0ERCBpKufUo1hAiIQw0DFXboIiEDS1U+pxjABEYhhoOIuXQREIOnqp1RjmIAIxDBQcZcuAiKQdPVTqjFMQARiGKi4SxcBEUi6+inVGCYgAjEMVNyli4AIJF39lGoMExCBGAYq7tJFQASSrn5KNYYJiEAMAxV36SIgAklXP6UawwREIIaBirt0ERCBpKufUo1hAiIQw0DFXboIiEDS1U+pxjABEYhhoOIuXQREIOnqp1RjmIAIxDBQcZcuAiKQdPVTqjFMQARiGKi4SxcBEUi6+inVGCYgAjEMVNyli4AIJF39lGoMExCBGAYq7tJFQASSrn5KNYYJiEAMAxV36SIgAklXP6UawwREIIaBirt0ERCBpKufUo1hAiIQw0DFXboIiEDS1U+pxjABEYhhoOIuXQREIOnqp1RjmIAIxDBQcZcuAiKQdPVTqjFMQARiGKi4SxcBEUi6+inVGCYgAjEMVNyli4AIJF39lGoMExCBGAYq7tJFQASSrn5KNYYJ/D/yYYsjzqIhfQAAAABJRU5ErkJggg==",J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAWSElEQVR4Xu2dC5QU1ZnH/1/3oJ4QTcz63KjB6PqIWV01kU0c6GoQFBOjh0Q30Qh09RAevp/JGt1oohsF8YGKInQVDx/xHZP4CDJ0NaCru0dN4iOii2E35hxdFOODqMDUt6cG0GGYma66dW91VffX53Biznzf/373/93fdPf07XsJ8kiFA6MX8C4fbcC3ARxAwK745N9uBAxm4A0E/xhvIIfXu///Bjxam0jLUjGBJi2CmnRemZiW5fIQIoxmHycAGKNY9J8ZuDOXw6LqBOpU1JC0fhwQQBqwNKy5fAxymArgOJ3DE+Fl38dtbW2Y1Tme3tKp3apaAkiCnS+4PIyAqWB81+iwhJUEzGJglleiD42O1eTiAkgCDR7u8j8S42wC7ASG6znEc2DM8sp0S8LjNs1wAojhVhYdPp4ZN4Kwh+Gh+pVn4NaaTZMaNX6WxxVADHbPqnAZhLkGh4givdizaVSUBIkFBBBDq8Cq8HkgXG1IXkmWgVdrNu2jlNyiSQKIgcYXXD6DGDMNSGuR9GySvod0UowKaVTYsKLDQxl4Mmx8g+L+y7PpiAaNnalhBRCN7Rq+gPfObcCrGiWNSTFhVq1EpxkboEmEBRBNjRy9gAev68KDYIzUJJmEzFWeTT9KYqCsjiGAaOqc5fJcMMqa5JKTYUyRz0n6t1sA0bAUCxUeQ4SHNUg1QuI5EI6QT9z7tl4A0bAkLYcfA3CUBqmGSBDhvGqJrmnI4CkfVACJ2SCrwpNBuDmmTGPTCSvzOQyVDY5bt0EAibE0hzm8c57xBAj7xpBJRSoz/q1Wpp+lopgUFSGAxGhGweEpwa7ZGBJpSl3h2XRAmgpKQy0CSIwuWBW+F9T9LcCmeOSAI5fY9ERTTEbTJASQGEZaLq8BY8cYEulKJVzqleiydBXV2GoEEEX/h1d4dI7wW8X0tKYt82wantbiGlGXAKLouuXwdADnK6anN+0DbO+dRu+nt8BkKxNAFP22HA42JA5VTE9tms84emmZFqW2wIQLE0AUDbcqvBqEnRTTU5vGPsbVOmhhagtMuDABRMHwMbfxDh+swzsKqVlIucCzKVVf9GqkaQKIgvvD5/OhuS48o5CahZSrPZsuyEKhSdQogCi4bDn8HQD3KKSmPoUIC6slGpf6QhMqUABRMNpy+YdgXKmQmvoUIiyqlujo1BeaUIECiILRBZcnEuNWhdQspDzg2TQ2C4UmUaMAouBycS6P5BwWK6SmP4Vxi1emKekvNJkKBRAFn4NDp8H4k0Jq+lNku8kWPRJAFJes5fAGAHnF9PSmEaZ4JTmqdHODBBDFpVp0eQUz9lNMT20aM8bWyvRAagtMuDABRNFwy+V7wc2z1X2zDT7h4KUlek7RlqZLE0AUW2pVeAIIrmJ6WtNWeTbtndbiGlGXAKLo+oi5/AU/h1WK6WlNu9Gz6Yy0FteIugSQGK5bFQ6+j/61GBKpSvUJ315aovtTVVSDixFAYjSgUOEriHBRDInUpDKwjrbD572T6c3UFJWCQgSQGE0oOnw0A4/GkEhT6q89m76VpoLSUIsAErMLBYfnE5D9zX0+xngd1Cywx+zqJ+kCSEwrixU+xCc8QcCnYko1Lp3wC69E32tcAekdWQDR0Juiyz9lxiUapBoiwYThtRIta8jgKR9UANHQIMvlzxLjcQa+pEEuUQkGnJpN2TuVPiGXBBBNRhfm8qmUwwJNcsnIMF7zczhWPjnv324BRONSzNpRQAScULXpQY0WNJ2UAKK5pUWXf8uM0Zpl9csxOrwyVfQLN5eiAGKgn5bDrwPY1YC0HknG+V6ZZugRa24VAcRQf60Kv5LGaxGYcGatRDcYmnbTyQogBltarPBMJqRm8x8B/1y16SmDU246aQHEcEstl88C4zrDwwwsT+j085i4dBw159eEDZorgBg0d7N0weHv5YCLG/I5CaGyTR5nLRpHaxOYatMNIYAk1NLuDxOBc33GeQltS1nMjGtqZXokoSk25TACSMJt3bR361xjGxwZ/w1ghtx9rqexAogeHyOrWC4fA8ZIBkYQcFhkgZ4JhLfhYwkH7zWAe5fZtDqWniR/7IAAkoLFMGIe7+MzRoExmggHMWOfAY8UYrwJwkoAy3zGY3Kfh7kmCiDmvI2lHBxOR13Yx8/jiwR8DoyVfh4rB+ex8pHv07uxxCU5tAMCSGirJLAVHRBAWrHrMufQDgggoa2SwFZ0QABpxa7LnEM7IICEtkoCW9EBAaQVuy5zDu2AABLaKglsRQcEkFbsusw5tAMCSGirJLAVHRBAWrHrMufQDgggoa2KF1icx4d3rceabT6DNYtPonfiqYXPHjmf/25dF3bNd2EXbyJ54TMlMnBAAElgHVgOfwfAPb2GehtAcJL6GgDvgrEWhPcBrGXC2lzwv0BXvfKIsS0zdmDC9gRsD8YOIOwEwi5g7NJz0yMBLn+AM73TKBhHHiEcEEBCmBQ3xKrwMyAcGldHRz4Bvk+YUCvRQh16za4hgBju8Ii5PNzPoWZ4mOjyjM5cGy5aMp7+M3py62QIIIZ7bbn8GzC+YXgYZXkCfr5+W0xffgoFL/nk0csBAcTgkii4/FVipP43NDNeBuHKmk3Ndilp7O4KILEt7F/AcngOgA6DQ+iWfpB8TK920OO6hbOqJ4AY6lxxHh/EPp43JG9UloFptB7TvUlyX6EAYmipFRy+hoBzDMknIbuCCNOqJXKSGCytYwggBjrT7vAX24CXAAwyIJ+0ZEu/7BJADCw3y+HLAfzYgHTDJIOXXW15TOscT281rIgGDCyAaDZ9uMN75ghPgbG7ZunGyzH+6ANXLi1Ttm7SiuGcABLDvL5SCw5fT8CZmmVTJcfA3ezjyqUd9GyqCjNQjACi0VRrDlvIo6pRMrVSBPyNCdPeW4fpT0+iv6W20JiFCSAxDeyZblX4N6D0fmqucao9pZ4F40yvTMsN6TdUVgDRZH/RZZsZrXrnX7B9f5Jn012a7EyNjACioRXtt/OObR8h+PT5QA1ymZUgYFLVplszO4E+ChdANHSz4PIVxLhIg1TmJZhxYa1M0zM/kU0TEEBidtKq8FeI8DgD28SUapp0As6q2jSzGSYkgMTsouXwLwD8S0yZpktnxtdrZfqPrE9MAInRwUKFJxKhqV5zx7Bj69RB+AfvVApuvMrsQwBRbF1wlRoDi7u//y2P/hxYDsJxXon+mlWLBBDFzhUcfoiAYxXTWyeNcZ9XpuDQikw+BBCFtlku/wSMSxVSWzIll8PRSybQoixOXgCJ2DWBI6JhG8Pv8mz6rlJmg5MEkAgNsCo8AQT53nYEzz4OZQzL4nYUASRks1tpI2JISyKFMeDUbCpHSkpBsAASogkCRwiTQoTk89gpa1+4EkDqNFbgCLHyQ4ZwHl+vjc/Wh4cCyADNFThCrvywYYySV6Z5YcPTECeA9NOFostjmXFfGprULDUEpzhWbcrUpk4BpI/VV3T4QgauapaFmZp5EO7zStn60FAA6bF62m/l/Qa14XIGTkzNomquQjzPpmKWptTSgBw+mz81OI/9c8D+IAwBcBoIe2SpgRmrVQBpRMMKc/lUyuFgEL4GxpGNqEHGDOWAABLKJo1BRYfvlpdECoYyKgx8RDnsCcZxCgoqKQKIimuqOQKHknMP5oGLOm16cXN2sIWGCDMY+JySYvgkASS8V/EiBQ4l/1bku1DonEhv9JVtubwYjJFKyuGSBJBwPsWLsircDsKyeCqtl+0zjl5aHnjbueXwDQBON+SOAGLI2C1kiw7PYmBKEmM10RirPJv2rjefMTN52w8/jScYOKxerMLPBRAF0yKlHDmf9xrUhT8A+EykRAkOvTgNvnwNXUNa2pW5z0H6uXM8LX6mto4o280tl68F42wDkxFADJi6haTl8PkAmuZgMtN+faxPuNQr0WVhxjP4rUkBJEwD4sQUXZ7JjDPiaLRkrgCi1PYsvsT6JYDjlWbbykkCiFL3sweIy4+AcYzSbM0mBQekvQbAMjuMoroAomRcFgG5E4y0nZAxuy2Pf9/QhfkCyIDrUN6DKGEaIcly+WYwJkdIMRn6EuVwcXUCdX+xynI4uF1KnkH6d1wAMbkauxehyz8H40emxwmh/14+j/bO8RR8JtP9EEDquiaA1LUoZkDB5VHEaPgpfZ5NW708FUDqNlcAqWuRhgDL4WcAHKpBSkmiv6P9mwaQhbwv1uMVJXMGSorwhwLtYysKZu5NejDPostTmXGT4pxjpTFwbs2ma/sSsRx+EsDQWAOYSo64OC2HHwYwRmc5TBheK1GmNplmEpBhDu+cYywnwn46G1hPiwkn1Up0T39xlsP/B2DnejoN+XlEQIZX+FtEmEPALjrqZcasWplO06GVpEYmAQkMKrg8jBgPAdg+CcPqwTFyDu/alcfrSdSiNEZEQIIxhs/hAymPGwkYoTTmxqTV7OO8WgctjKHRsNTMAtLdQJfH5nxcBcK+phwk4E4A11dtemqgMYrz+Ej2kd67whUACeZrubwdfEwmwnEcDZTgPcz9+Tzu6PmXPlN9MqWbaUA2NXA38nERE9oB7A5gt4hmfQTg3eAfAe/wxv9eAcZLnMMLtRI9Fkav6PI0ZlwQJrYhMYqA9KzVmsN7II8TAHwBwGd7/PsQQHCL1MZ/Xej0JpLXkHlqHjTzgGj2Q0lu9AIevG4Dnge6jw5K50MDIOmcmNmqBBAN/mbi3hABRKnTAoiSbVsmZeK+QgFEqdMCiJJtnyRZc/nLyOG5mDLm0wUQJY8FECXbegDi8I8BXB5Txny6AKLksQCiZNsnSYUKP0WEI2LKmE8XQJQ8FkCUbNuYVJjDwyiPpTEkkksVQJS8FkCUbNsEiMNXEXBhDInkUgUQJa8FECXbNiZZFX4RhANjSCSXKoAoeS2AKNnWvaP4WN64FywbDwFEqU8CiJJtQNFhh4GSYnryaQKIkucCiIJtwZ4kzuMFAnZQSG9MigCi5LsAomCb5fJZYFynkNq4FAFEyXsBRME2y+HgW3HB7uHsPAQQpV4JIBFtK1S4SIQlEdMaHy6AKPVAAIloW8Hlm4gxNWJa48MFEKUeCCARbBu2kHfPrcfzZP4uvwhVhQwVQEIatWWYABLBtoLD5xBwTYSU9IQKIEq9EEAi2Gb6WB8GZhJwZoSSwocKIOG96hEpgIS0zXL4mwB+HTI8ehjhIa9E37Qc5ujJITIEkBAmbR0igIS0zXL5NjBOCRkeNexpz6avBEkCSFTrzMYLICH8tVw+ANz9rcG2EOFRQ57epg3HLhpHwaFzAkhU9wzHCyAhDDZ4Z98b+TxG9zohXl5ihehJUiECSB2nT7yb86vf7z7S5wDdTWEf43qfOCgvsXS7HE9PAKnjn1XhU0C4LZ7NfWQzbvHKNKX3TwQQ7U7HEhRA6gHi8K8AHBfL5a2T388DQzttelEA0eysZjkBZABDR8zlI/wcBjyTV6kfhCu9Ev1rX7nyDKLkqLEkAWQAawsuzyDGuZrdX53L49Al4+kvAohmZw3ICSD9mNp+O++Y/6h739Xf6/S93j0Z8gyi0+34WgJIPx5aLk8G4+b4FvdS6EJxoJPPBRDtjscSFED6A8Th4Pj+Qix3t06ue4mlAKLZ8ZhyAkgfBloOHwUg1L0gUfwf6H7DzToCSBRHzccKIH0DMgdAh277+7sdt+c4lsPBZTTb6h4bsllRyVIBpJdtI+byF/yNp7XrvfuQ8ZpXpj3rdcly+VUw9q4XF/nnA/xpObJWCyUIIL2aXXT4BwzM1r0GCLinatNJ9XStCi8H4ch6cVF/zsAdNZtM7UaOWk5m4gWQXq2yHA5uY/2+9g4yOrwyVerpFhy+i4C6INXT6ePnyz2bhinktXSKALI1IKs2XVKpdWHk89i/czy9XE/UcvlaMM6uFxf15wz8b82m4PJNeURwQADpYZbl8j+B8WwE/8KGvufZFOoURsvh8wFMDyscJY58tFc76PEoOa0eK4D0BKTCZ4NwrYFFUffzj81jFl0+mRm3G6ghkHzQsym4xlkeIR0QQLZ8BnkA3H0PuO7HDM+m4Jmh7sOawxbyqNYNVAwgQrlaIkcxveXSBJAeLS84HBxI/SXdq4CBk2s23RlW13L4NQCfDxsfMW4F1qPdm0RvRsxryXABZMuXWO+B8GndK8H3cdjSDgr93qZg+OYq+ZNv+A4LIJu8Cnbvtn2ENeGtCx+Zz2OnzvH0VtiMosNDGXgybLxi3GzPpsmKuS2TJoBsanWxwocw4XcGOr/Wsynys1LR5d8z42AD9XwsyYQLayUy8hczk3UnqS2AbHLb2MFwjD96ZYr8vsbgSSq919coz6bFSS66LI0lgGzqVsHhKQTMMtC80H/i7Tl2Qi+zuockYFLVplsNzD3zkgLI5mcQl38CxqUGOqoESFCH6bOAe831as+mCwzMP9OSAkiaAZnHp8A3cORQP0uWCIvg48JqmX6f6VWtsXgBJMWAdD+LVPgBkJEPL/tcRgysgY9Lah1k4uWmxqWbjJQAknJACi4PI8bSZJZDj1EIt/sbcMnSifSnxMdO0YACSMoBCcorOHy9sXtDBl6Mr6ALPxjokIkUrWUjpQggGQDkqPm814YuPGFw+0n/i4uxAT5GtSokAkgGAAlKLLp8LjNmGPk1GUKUCcNrJQquv26phwCSEUC6IXH4IQaObdQKzQMH9XWecKPqSWJcASRDgIyYzfv4g/AQgP2TWBx9jdFqkAggGQKk+w27y6PIx8MgI7ddheKulSARQDIGSFCuVeHJIAPHoobCo3tvytt5RnsrvNwSQDIIyKY37dOY0citISvywNhmh0QAySggm96038fA2LC/+LXHEV7wGWOW2vRn7dopERRANjWi6PJUZtxkoC/KmxXD1GI5HNxSdWCYWEMxN3o2nWFIu+GyAsgnzyBDwNC/rYJQ8Uqk/ZzfnivH2IHX4Zan0V8A4UowFyWA9PDWcjg4TcTSbPepnk36LwHtVaTl8EsN+vOvAKJ5waRWzsi3+NbjQG8SBYvX+MMQ4APXTbjOK9E5xifXoAHkGWTr38SnA7hBQz/WgnG6V6Z5GrRCSyQNSV93vYcuNgOBAkgfTbIcDg6v/hmAISo9DL54lMvhgs7x9AeV/Lg5CUKyFoQveyUKzjNuyocA0k9bRy/gwevW40QmnEjh9j99CMJ9BNxfLdH9jV4tiUBCmOeVqNTouZocXwAJ4W7B5a8Sd+9/GkKMvZiwV/BpMoBV8PE/YKzyOujREFKJhpiGhAjfqJbo4UQnlfBgAkjChic9nClIGHBqNpWTnk/S4wkgSTvegPEMQPImMdqrZVrRgOkkOqQAkqjdjRvMcjg4NfIQHRUQ8MOqTdN0aKVdQwBJe4c01mdVeDUIO8WSJDzulag9lkaGkgWQDDVLR6lxt6VQDsdXJ9CvdNSSBQ0BJAtd0lhj+yzesW07tVPsGZhas+lmjeWkXkoASX2L9BdYrPD+TIi6/eViz6Yr9FeTbkUBJN39MVZdhAPpfgcfl3kd9EtjxaRYWABJcXNMl2a5vBsxKv2clLKWGddTDtO9Ev3VdC1p1RdA0tqZhOo6fDYP2r4N45hwRI4wxGe8ngP+wj7u8Dro+YTKSO0wAkhqWyOFpcGB/wc4UP0jVHdpzwAAAABJRU5ErkJggg==",q=20;class K{constructor(e,t){l(this,"_map",{}),l(this,"_icon",{}),this._map=e,this._icon=t||{},this._icon.car||(this._icon.car=Q),this._icon.person||(this._icon.person=J)}createTrack(e){const t=e.data.sort((e,t)=>e.timestamp-t.timestamp).map(e=>[e.lon,e.lat]),n=new AMap.LngLat(t[0][0],t[0][1]),r=new AMap.Marker({position:n,offset:new AMap.Pixel(-q/2,-q),icon:this.createMarkerIcon(e.trackType)}),i=new AMap.Polyline({strokeColor:e.strokeColor,strokeWeight:e.strokeWidth,strokeStyle:e.strokeStyle,strokeDasharray:e.strokeDasharray,path:JSON.parse(JSON.stringify(t)),extData:e.objectId});return{trackPloyline:i,lineArr:t,marker:r,startPosition:n}}createMarkerIcon(e){return e=e||"person",new AMap.Icon({size:new AMap.Size(q,q),image:this._icon[e],imageSize:new AMap.Size(q,q)})}}class X{constructor(e,t){l(this,"_map",void 0),l(this,"_popupConfig",void 0),this._map=e,this._popupConfig=t}showPopup(e){if(!this._popupConfig.customPopup)return this.removePopup(e.popup),void delete e.popup;const t=this._popupConfig.customPopup(e);if(!t)return this.removePopup(e.popup),void delete e.popup;const n=e.anchor||"right";let{popup:r,content:i}=this.createBasicPopup(n);i.appendChild(t);const a=document.createElement("div");a.style.position="absolute",document.body.appendChild(a),a.appendChild(r);const o=r.offsetHeight,s=r.offsetWidth;a.removeChild(r),document.body.removeChild(a);const l=this.getPopupOffset(n,o,s),c=new AMap.Marker({position:new AMap.LngLat(e.lon,e.lat),offset:l,content:r});return this._map.add(c),c}removePopup(e){e&&this._map.remove(e)}createBasicPopup(e){const t=document.createElement("div");t.classList.add("map-popup-window"),t.classList.add(e);const n=document.createElement("div");return n.classList.add("map-popup-content"),t.appendChild(n),{popup:t,content:n}}getPopupOffset(e,t,n){let r,i;switch(e){case"left":r=-n-H/2-12,i=-t/2-H/2;break;case"right":r=H/2+12,i=-t/2-H/2;break;case"top":i=-t-16-H,r=-n/2;break;case"bottom":i=16,r=-n/2;break}return new AMap.Pixel(r,i)}}class Z{constructor(e,t,n="全屏",r="退出全屏",i=["20px","20px"]){l(this,"container",void 0),l(this,"parentElement",void 0),l(this,"fullscreenText",void 0),l(this,"exitFullscreenText",void 0),l(this,"fullScreenAside",void 0),l(this,"isFullScreen",void 0),l(this,"fullscreenButton",void 0),l(this,"buttonIcon",void 0),l(this,"tooltip",void 0),this.container=e,this.parentElement=t,this.fullscreenText=n,this.exitFullscreenText=r,this.fullScreenAside=i,this.isFullScreen=!1,this.init()}init(){this.fullscreenButton=document.createElement("button"),this.fullscreenButton.classList.add("map-tools-button"),this.fullscreenButton.classList.add("fullscreen-button"),this.buttonIcon=document.createElement("i"),this.buttonIcon.classList.add("qz-map-icon"),this.buttonIcon.classList.add("fullscreen"),this.buttonIcon.classList.add("button-icon"),this.fullscreenButton.appendChild(this.buttonIcon),this.tooltip=document.createElement("span"),this.tooltip.classList.add("el-tooltip__popper"),this.tooltip.classList.add("is-dark"),this.tooltip.classList.add("button-tooltip"),this.tooltip.innerText=this.fullscreenText,this.fullscreenButton.appendChild(this.tooltip),this.parentElement.appendChild(this.fullscreenButton),this.container.appendChild(this.parentElement),this.fullscreenButton.addEventListener("click",e=>{this.changeFullScreen(e)})}changeFullScreen(e){e.preventDefault(),e.stopPropagation(),this.isFullScreen?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),this.isFullScreen=!1):(this.container.requestFullscreen?this.container.requestFullscreen():this.container.mozRequestFullScreen?this.container.mozRequestFullScreen():this.container.webkitRequestFullScreen&&this.container.webkitRequestFullScreen(),this.isFullScreen=!0),this.setFullscreenButtonText()}setFullscreenButtonText(){this.isFullScreen?(this.fullscreenButton.classList.remove("fullscreen-button"),this.fullscreenButton.classList.add("exit-fullscreen-button"),this.tooltip.innerText=this.exitFullscreenText,this.buttonIcon.classList.remove("fullscreen"),this.buttonIcon.classList.add("exit-fullscreen")):(this.fullscreenButton.classList.add("fullscreen-button"),this.fullscreenButton.classList.remove("exit-fullscreen-button"),this.tooltip.innerText=this.fullscreenText,this.buttonIcon.classList.add("fullscreen"),this.buttonIcon.classList.remove("exit-fullscreen"))}fullscreenListener(e){this.setFullscreenButtonText()}}const $="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAADZ0lEQVRYR82YW0hUQRjH/3POqqumZmuYIXmp0BRJNOklb7VZUKAgRQTae5enLngJKsiSrKcu7ylEFIJCD2FbmfUSlhiiKZWXkExy23Y33XU950ycPbvH3dWVs+4Ss4+z3/znd77vm2++GYL1/PaeS0SCIQWiMxkgGwCiB6DzSAkAdQL0L3i9BXbzHN7ftYW6DNE84dgTHpaBDEC3DRJN0DxPNuSIHRC+I7loCk+Pi1rmagEjMDZkQeR2gpBoLaJBbSh1gZe+wNQ6AYCupbU2WNWFeAgxxQCS/ERik/RILShBvKEAutgs8FFbABKn2NAFiEs/ITgmMG8ewuxQPxxWZwCEFbrFj+i5PR8MLjjYgaZUUBQBxJs7QHJmGtIKaxGbWObJKw0OpE44bH2YGeyEZXJmeQIVQDCAlzdmVxNZHaziUjrAF4LjlP85fRRyjCcRt6naD1QDlh/Iwu9ujJkeQXIuuccliQLiIHpvTQdKrQSTPSXSEhUqITUZ2ZWN0MXkhsQRzFhYHMX465uwz1pUOJ70B3rOH8ydU9FymJTwbc7NQPqeK+D4lIhAeUUkcQ7TH67h1+iUJy8F6Fx9vjnnC0awv7lUTXTZUzsO3ok4lC/c1xfnVc8BVrxqeevdrctgxoZsSHy+mlMFNS0RC99aYR3qalZzjhOHYWodl80VMLl4zg0a1Tq16+gpxBlqIxq+YGIL5k58fvZQqTTUhZRCk1yEFTBfb8klIbvs/vp3X6ifQwWM951RS4nHax6wyxXqMZNXcxaxSVWhyodl77D2YKTrnpJGxA7T9V4C+UCOTyx3D8oVPa+6XXvxDAvHZzJ1YqS7Xj0h5m1vCIxXsyEtKUmfua8Uhu0XI7VcSDrmb22YfCfvSoCLGiaobCgG4be6B/KrT0O/8XBIgpEydv55juHuB8omEH8QVDaWg3CJ7oHdJ9qgi8mJ1Foh6QiLY/j0WIkWlWwElU2H1DJRVNcBwvl3EiGph2FMJSsGOuoUMOqSwY6AEM49UFTfCUKiwpBf/1RKlzDQrtROSiWmwVgNJbPJz2q5YLbAMnskydvTyOIh7gbzaRKZanuYbRQDvSZf15horZWDhNHLiIzG6PVN8RuTF15vb8DkE4EXjslHFS8ck89Qyy0fgw93vv0og0+dK9vl//A4/A+eYQ1Pmlb+ZwAAAABJRU5ErkJggg==";class ee{constructor(e,t,n,r){l(this,"map",null),l(this,"mouseTool",null),l(this,"isLoaded",!1),l(this,"isPluginLoaded",!1),l(this,"container",void 0),l(this,"currentMarker",void 0),l(this,"drawOverlays",[]),l(this,"isMapDraw",!1),l(this,"markerStore",{}),l(this,"trackPloylineStore",{}),l(this,"locationStore",{}),l(this,"mapMarker",void 0),l(this,"mapMarkerData",[]),l(this,"mapLocation",void 0),l(this,"mapPopup",void 0),l(this,"mapInfoWindow",void 0),l(this,"mapAlarm",void 0),l(this,"mapTrack",void 0),l(this,"fullscreenListener",void 0),l(this,"normalConfig",void 0),l(this,"AMap",void 0);const i=r||{};this.currentMarker=0,this.loadScriptApi(e,t,n,i)}loadScriptApi(e,t,n,r){const i="__callback_"+(new Date).getTime(),a="AMap.MouseTool,AMap.MarkerClusterer,AMap.RectangleEditor,AMap.Geocoder",o=`https://webapi.amap.com/maps?v=1.4.15&key=${e}&plugin=${a}&callback=${i}`,s=document.createElement("script");s.charset="utf-8",s.src=o,document.head.appendChild(s),window[i]=()=>{window[i]=void 0,this.onLoad(t,n,r)}}onLoad(e,t,n){this.isLoaded=!0,this.AMap=AMap,this.normalConfig=n,this.normalConfig.AMapMarkerList||(this.normalConfig.AMapMarkerList=[]),"string"===typeof e&&(e=document.querySelector("#"+e)),this.container=e;let r=document.createElement("div");r.classList.add("map-container"),e.appendChild(r),this.map=new AMap.Map(r,t),this.mouseTool=new AMap.MouseTool(this.map),AMap.plugin(["AMap.Geocoder"],()=>{this.isPluginLoaded=!0,n.pluginLoaded&&n.pluginLoaded()}),n.mapClick&&this.map.on("click",e=>{let t=new AMap.LngLat(e.lnglat.getLng(),e.lnglat.getLat());this.map.plugin(["AMap.Geocoder"],(function(){let r=new AMap.Geocoder({extensions:"all"});AMap.event.addListener(r,"complete",t=>{let r={lnglatXY:[e.lnglat.getLng(),e.lnglat.getLat()]};if("NO_DATA"!==t.info){const{addressComponent:e,formattedAddress:n}=t.regeocode;r.addressComponent=e,r.formattedAddress=n}n.mapClick(r)}),r.getAddress(t)}))}),this.mapMarker=new j(n.markerIcon),this.mapLocation=new W(n.locationIcon),this.mapPopup=new X(this.map,{customPopup:n.customLocationPopup}),this.mapInfoWindow=new V(this.map,{customMarkerInfoWindow:n.customMarkerInfoWindow,infoWindowConfig:n.infoWindowConfig||{}}),this.mouseoverInfoWindow=new V(this.map,{customMouseoverMarkerInfoWindow:n.customMouseoverMarkerInfoWindow,infoWindowConfig:n.infoWindowConfig||{}}),this.mapAlarm=new z(this.map,{showAlarmOnMap:void 0===n.showAlarmOnMap||n.showAlarmOnMap,bounceIconOnAlarm:void 0===n.bounceIconOnAlarm||n.bounceIconOnAlarm,customAlarmInfoWindow:n.customAlarmInfoWindow},this.mapInfoWindow),this.mapTrack=new K(this.map,n.trackIcon),n.limitBounds&&this.setLimitBounds(n.limitBounds.sw,n.limitBounds.ne);const i=document.createElement("div");i.classList.add("map-tools"),i.style.top=n.fullScreenAside&&n.fullScreenAside[0]||"20px",i.style.right=n.fullScreenAside&&n.fullScreenAside[1]||"20px",e.appendChild(i);const a=this.map;if(!1!==n.showFullscreenButton&&(this.fullscreenListener=new Z(e,i,n.fullscreenText,n.exitFullscreenText,n.switchButtonAside),document.addEventListener("fullscreenchange",()=>{null!==document.fullscreenElement?this.fullscreenListener.isFullScreen=!0:this.fullscreenListener.isFullScreen=!1,this.fullscreenListener.setFullscreenButtonText()})),!1!==n.showSwitchAlarmButton){const e=document.createElement("button");e.classList.add("map-tools-button"),e.classList.add("next-alarm-button");const t=document.createElement("i");t.classList.add("qz-map-icon"),t.classList.add("next-alarm"),t.classList.add("button-icon"),e.appendChild(t);const n=document.createElement("i");n.classList.add("el-tooltip__popper"),n.classList.add("is-dark"),n.classList.add("button-tooltip"),n.innerText="查看下一个告警设备",e.appendChild(n),i.appendChild(e),e.addEventListener("click",()=>{const{_mapAlarmIds:e}=this.mapAlarm,t=Object.keys(e);let n=t[this.currentMarker];try{a&&(e[n]||(this.currentMarker=0,n=Object.keys(e)[this.currentMarker]),this.setFitView(e[n],null,null,this.map.getZoom())),this.currentMarker+1<Object.keys(e).length?this.currentMarker++:this.currentMarker+1===Object.keys(e).length&&(this.currentMarker=0)}catch(r){}})}this.mouseTool.on("draw",e=>{if(!this.isMapDraw)return;this.drawOverlays.push(e.obj);let t=e.obj.getBounds(),n=this.map.getAllOverlays("marker"),r=[];if("AMap.Marker"==e.obj.CLASS_NAME)r.push(e.obj.getPosition());else{let n=t.getSouthWest(),i=t.getNorthEast();if(n.equals(i))return;r=e.obj.getPath()}let i=[];n.map((e,t)=>{let n=e.getPosition(),a=AMap.GeometryUtil.isPointInRing(n,r);a&&i.push(n)}),this.normalConfig.selection(i)}),n.mapLoaded&&n.mapLoaded()}setFitView(e,t,n,r){e?(this.map,this.map.setFitView(e||null,t||null,n||null,r||null)):this.map&&this.map.setFitView()}destroy(){this.map&&this.map.destroy(),this.container.innerHTML=""}addPoints(e=[]){if(!this.isLoaded)return void console.error("cannot add points before map loaded!");const t=[];for(let n=0;n<e.length;n++){const r=Object.assign({},e[n]);if(!1!==r.show){const{marker:e,onlineIcon:n,offlineIcon:i,disabledIcon:a}=this.mapMarker.createMarker(r),o=e=>{this.cameraClick(e,r)},s=e=>{this.camerMouseover(e,r)},l=e=>{this.camerMouseout(e,r)};e.on("click",o),e.on("mouseover",s),e.on("mouseout",l),t.push(e),this.markerStore[r.objectId]={...r,marker:e,onlineIcon:n,offlineIcon:i,disabledIcon:a,markerClickEvent:o,markerMouseoverEvent:s,markerMouseoutEvent:l}}}this.map.add(t)}updatePoints(e=[]){if(!this.isLoaded)return void console.error("cannot update points before map loaded!");const t=[],n=[],r=e.map(e=>e.objectId),i=Object.keys(this.markerStore);for(let a=0;a<i.length;a++)if(-1===r.indexOf(i[a])){const e=this.markerStore[i[a]];n.push(e.marker),e.marker.off("click",e.markerClickEvent),e.marker.off("mouseover",e.markerMouseoverEvent),e.marker.off("mouseout",e.markerMouseoutEvent),delete this.markerStore[i[a]]}for(let a=0;a<e.length;a++){const r=Object.assign({},e[a]);if(this.markerStore[r.objectId]){const e=this.markerStore[r.objectId];n.push(e.marker),e.marker.off("click",e.markerClickEvent),e.marker.off("mouseover",e.markerMouseoverEvent),e.marker.off("mouseout",e.markerMouseoutEvent),delete this.markerStore[r.objectId]}if(!1!==r.show){const{marker:n,onlineIcon:i,offlineIcon:a,disabledIcon:o}=this.mapMarker.createMarker(r),s=t=>{this.cameraClick(t,r,e),this.setMarkerIndex(t),this.normalConfig.markerClick({e:t,point:r})},l=t=>{this.camerMouseover(t,r,e),this.normalConfig.markerMouseover({e:t,point:r})},c=e=>{this.camerMouseout(e,r)};n.on("click",s),n.on("mouseover",l),n.on("mouseout",c),t.push(n),this.markerStore[r.objectId]={...r,marker:n,onlineIcon:i,offlineIcon:a,disabledIcon:o,markerClickEvent:s,markerMouseoverEvent:l,markerMouseoutEvent:c}}}this.map.add(t),this.mapMarkerData=this.mapMarkerData.concat(t),this.map.remove(n)}removePoints(e=[]){const t=[];for(let n=0;n<e.length;n++){const r=e[n];if(this.markerStore[r]){const e=this.markerStore[r];t.push(e.marker),e.marker.off("click",e.markerClickEvent),e.marker.off("mouseover",e.markerMouseoverEvent),e.marker.off("mouseout",e.markerMouseoutEvent),delete this.markerStore[r]}}this.map.remove(t)}cameraClick(e,t,n=[]){let r=e.target.getIcon(),i=new Image;i.src=r;let a=this;i.onload=function(){const{northeast:r}=e.target.getBounds();var i=new AMap.Circle({center:new AMap.LngLat(r.lng,r.lat),radius:14});let o=[],s=a.map.getAllOverlays().filter(e=>"AMap.Marker"===e.CLASS_NAME);if(s.map(e=>{let t=e,n=t.getPosition(),r=AMap.GeometryUtil.isPointInRing(n,i.getPath());r&&o.push(n)}),o.length>1){let e=new G(a,o,{customClustererInfoWindow:a.normalConfig.customClustererInfoWindow,infoWindowConfig:a.normalConfig.infoWindowConfig||{}});e.openInfoWindow(t,n,o,a.normalConfig)}else!1!==t.infoWindow&&a.mapInfoWindow.openInfoWindow(t,a.normalConfig,a.normalConfig.singleInforWindow)}}camerMouseover(e,t,n=[]){this.normalConfig.customMouseoverMarkerInfoWindow&&this.mouseoverInfoWindow.openInfoWindow(t,{...this.normalConfig,trigger:"mouseover"},this.normalConfig.singleInforWindow)}camerMouseout(e,t,n=[]){this&&this.mouseoverInfoWindow&&this.mouseoverInfoWindow.infoWindow&&this.mouseoverInfoWindow.infoWindow.close()}addTracks(e=[]){if(this.isLoaded)for(let t=0;t<e.length;t++){const n=JSON.parse(JSON.stringify(e[t])),{trackPloyline:r,marker:i,lineArr:a,startPosition:o}=this.mapTrack.createTrack(n),s=e=>{this.trackClick(e,n)};r.on("click",s),r.setMap(this.map),this.trackPloylineStore[n.objectId]={...n,trackPloyline:r,marker:i,lineArr:a,startPosition:o,trackClickEvent:s}}else console.error("cannot add tracks before map loaded!")}updateTracks(e=[]){if(!this.isLoaded)return void console.error("cannot add tracks before map loaded!");const t=e.map(e=>e.objectId),n=Object.keys(this.trackPloylineStore);for(let r=0;r<n.length;r++)if(-1===t.indexOf(n[r])){const e=this.trackPloylineStore[n[r]];e.trackPloyline.off("click",e.trackClickEvent),e.trackPloyline.setMap(null),delete this.trackPloylineStore[n[r]]}for(let r=0;r<e.length;r++){const t=JSON.parse(JSON.stringify(e[r]));if(this.trackPloylineStore[t.objectId]){const e=this.trackPloylineStore[t.objectId];e.trackPloyline.off("click",e.trackClickEvent),e.trackPloyline.setMap(null),delete this.trackPloylineStore[t.objectId]}const{trackPloyline:n,marker:i,lineArr:a,startPosition:o}=this.mapTrack.createTrack(t),s=e=>{this.trackClick(e,t)};n.on("click",s),n.setMap(this.map),this.trackPloylineStore[t.objectId]={...t,trackPloyline:n,marker:i,lineArr:a,startPosition:o,trackClickEvent:s}}}removeTracks(e=[]){for(let t=0;t<e.length;t++){const n=e[t];if(this.trackPloylineStore[n]){const e=this.trackPloylineStore[n];e.trackPloyline.off("click",e.trackClickEvent),e.trackPloyline.setMap(null),delete this.trackPloylineStore[n]}}}playTrack(e,t=200,n=0){if(e&&this.trackPloylineStore[e]){const r=this.trackPloylineStore[e];if(this.map.add(r.marker),0===n){r.marker.moveAlong(JSON.parse(JSON.stringify(r.lineArr)),t);const e=()=>{r.marker.stopMove(),this.map.remove(r.marker),r.marker.setPosition(r.startPosition),r.marker.off("movealong",e)};r.marker.on("movealong",e)}else{const e=JSON.parse(JSON.stringify(r.data)).sort((e,t)=>e.timestamp-t.timestamp),n=e[0].timestamp,i=e[e.length-1].timestamp,a=i-n;for(let r=1;r<e.length;r++)e[r].speed=t*a/((e.length-1)*(e[r].timestamp-e[r-1].timestamp))}}}trackClick(e,t){console.log(e,t)}showAlarm(e=[]){if(0===e.length)this.setSwitchDeviceButtonText();else for(let t=0;t<e.length;t++)this.markerStore[e[t].objectId]&&this.normalConfig.AMapMarkerList.push(this.mapAlarm.showAlarmMsg(e[t],this.markerStore[e[t].objectId],(e,n)=>{this.normalConfig.AMapMarkerList[t]=null,this.setSwitchDeviceButtonText()}))}cancelAlarm(e=[]){for(let t=0;t<e.length;t++)this.mapAlarm.cancelAlarm(this.markerStore[e[t]])}setSwitchDeviceButtonText(){let e=document.querySelector(".next-alarm-button");e&&(0===Object.keys(this.mapAlarm._mapAlarmIds).length?e.style.display="none":e.style.display="block")}addLocations(e=[]){if(!this.isLoaded)return void console.error("cannot add points before map loaded!");const t=[];for(let n=0;n<e.length;n++){const r=JSON.parse(JSON.stringify(e[n]));if(!1!==r.show){const e=this.mapLocation.createLocation(r);let n;t.push(e),void 0!==r.msg&&null!==r.msg&&(n=this.showPopup(r)),this.locationStore[r.objectId]={...r,locationMarker:e,popup:n}}}this.map.add(t),this.setFitView()}updateLocations(e=[]){if(!this.isLoaded)return void console.error("cannot update points before map loaded!");const t=[],n=[],r=e.map(e=>e.objectId),i=Object.keys(this.locationStore);for(let a=0;a<i.length;a++)if(-1===r.indexOf(i[a])){const e=this.locationStore[i[a]];e.popup&&n.push(e.popup),n.push(e.locationMarker),delete this.locationStore[i[a]]}for(let a=0;a<e.length;a++){const r=Object.assign({},e[a]);if(this.locationStore[r.objectId]){const e=this.locationStore[r.objectId];n.push(e.locationMarker),delete this.locationStore[r.objectId]}if(!1!==r.show){const e=this.mapLocation.createLocation(r);let n;t.push(e),void 0!==r.msg&&null!==r.msg&&(n=this.mapPopup.showPopup(r)),this.locationStore[r.objectId]={...r,locationMarker:e,popup:n}}}this.map.add(t),this.mapMarkerData=this.mapMarkerData.concat(t),this.map.remove(n),this.map.setFitView()}removeLocations(e=[]){const t=[];for(let n=0;n<e.length;n++){const r=e[n];if(this.locationStore[r]){const e=this.locationStore[r];t.push(e.locationMarker),e.popup&&t.push(e.popup),delete this.locationStore[r]}}this.map.remove(t)}bounceLocation(e,t=3e3){this.locationStore[e].locationMarker.setAnimation("AMAP_ANIMATION_BOUNCE"),setTimeout(()=>{this.cancelBounceLocation(e)},t)}cancelBounceLocation(e){this.locationStore[e].locationMarker.setAnimation("AMAP_ANIMATION_NONE")}setLimitBounds(e,t){this.map&&"number"===typeof e[0]&&"number"===typeof e[1]&&"number"===typeof t[0]&&"number"===typeof t[1]&&this.map.setLimitBounds(new AMap.Bounds(new AMap.LngLat(e[0],e[1]),new AMap.LngLat(t[0],t[1])))}clearLimitBounds(){this.map&&this.map.clearLimitBounds()}getLocationByAddress(e){return new Promise((t,n)=>{if(this.isPluginLoaded){const r=new AMap.Geocoder;r.getLocation(e,(e,r)=>{"complete"===e&&r.geocodes.length?t(r.geocodes.map(e=>({lon:e.location.lng,lat:e.location.lat,address:e.formattedAddress,country:e.addressComponent.country,province:e.addressComponent.province,city:e.addressComponent.city,citycode:e.addressComponent.citycode,district:e.addressComponent.district,township:e.addressComponent.township,street:e.addressComponent.street,streetNumber:e.addressComponent.streetNumber,building:e.addressComponent.building,buildingType:e.addressComponent.buildingType}))):n(new Error("getLocationError"))})}else n(new Error("GeocoderUnload"))})}getAddressByLocation(e){return new Promise((t,n)=>{if(this.isPluginLoaded){const r=new AMap.Geocoder;r.getAddress(e,(e,r)=>{if("complete"===e&&r.regeocode){const e=r.regeocode;t({address:e.formattedAddress,country:e.addressComponent.country,province:e.addressComponent.province,city:e.addressComponent.city,citycode:e.addressComponent.citycode,adcode:e.addressComponent.adcode,district:e.addressComponent.district,township:e.addressComponent.township,street:e.addressComponent.street,streetNumber:e.addressComponent.streetNumber,building:e.addressComponent.building,buildingType:e.addressComponent.buildingType})}else n(new Error("getAddressError"))})}else n(new Error("GeocoderUnload"))})}clearInfoWindow(){this.map.clearInfoWindow()}startDraw(e="rectangle"){switch(this.isMapDraw=!0,e){case"polyline":this.mouseTool.polyline({strokeColor:"#F56C6C"});break;case"polygon":this.mouseTool.polygon({fillColor:"rgba(245, 108, 108, 0.2)",strokeColor:"#F56C6C"});break;case"rectangle":this.mouseTool.rectangle({fillColor:"rgba(245, 108, 108, 0.2)",strokeColor:"#F56C6C"});break;case"circle":this.mouseTool.circle({fillColor:"rgba(245, 108, 108, 0.2)",strokeColor:"#F56C6C"});break}}endDraw(){this.mouseTool.close(!1),this.isMapDraw=!1}clearDraw(){this.map.remove(this.drawOverlays),this.drawOverlays=[]}setMapMarkerClusterer(e={}){let t={gridSize:56,maxZoom:16,styles:[{url:$,size:new this.AMap.Size(38,38),textColor:"#ffffff",offset:new this.AMap.Pixel(-19,-19)}],...e},n=new this.AMap.MarkerClusterer(this.map,this.mapMarkerData,t);n.on("click",t=>{e.click&&e.click(t)})}setMarkerIndex(e){let t=this.map.getAllOverlays().filter(e=>"AMap.Marker"===e.CLASS_NAME);t.map(e=>{e.setzIndex(100)}),e.target.setzIndex(101)}openInfoWindowByHand(e){this.mapInfoWindow.openInfoWindow(e,this.normalConfig,this.normalConfig.singleInforWindow)}setMapCenter(e,t,n){try{this.map.setCenter(e,t,n)}catch(r){console.error("set map center error:",r)}}}var te={name:"FcMap",props:{mapKey:{required:!0,type:String},mapInitinalOptions:{required:!0,type:Object},markerIcon:{type:Object},locationIcon:{type:String},trackIcon:{type:Object},limitBounds:{type:Object},showAlarmOnMap:{type:Boolean,default:()=>!0},bounceIconOnAlarm:{type:Boolean,default:()=>!0},customMarkerInfoWindow:{type:Function|Object},customAlarmInfoWindow:{type:Function|Object},customClustererInfoWindow:{type:Function|Object},customMouseoverMarkerInfoWindow:{type:Function|Object},showFullscreenButton:{type:Boolean,default:()=>!0},showSwitchAlarmButton:{type:Boolean,default:()=>!0},fullscreenText:{type:String,default:"全屏"},exitFullscreenText:{type:String,default:"退出全屏"},customLocationPopup:{type:Function|Object},points:{type:Array},alarms:{type:Array},locations:{type:Array},tracks:{type:Array},autoFitView:{type:Boolean,default:()=>!0},fullScreenAside:{type:Array},switchButtonAside:{type:Array},singleInforWindow:{type:Boolean,default:!0},playerPluginUrl:{type:String},infoWindowConfig:{type:Object,default:()=>{}}},data(){return{fcMap:null,isMapLoaded:!1}},methods:{mapLoaded(){this.isMapLoaded=!0,this.$emit("mapLoaded",this.fcMap),this.fcMap.updatePoints(this.points),this.fcMap.updateLocations(this.locations),this.fcMap.showAlarm(this.alarms),this.fcMap.updateTracks(this.tracks),this.autoFitView&&this.setFitView(),this.mapInitinalOptions.clusterer&&this.setMapMarkerClusterer(this.mapInitinalOptions.clustererConfig||{})},pluginLoaded(){this.isMapPluginLoaded=!0,this.$emit("pluginLoaded")},mapClick(e){this.$emit("mapClick",e)},markerClick(e){this.$emit("markerClick",e)},markerMouseover(e){this.$emit("markerMouseover",e)},selection(e){let t=[];e.map(e=>{let n=this.points.filter(t=>e.lat===t.lat&&e.lng===t.lon);if(n.length>0){let e=t.map(e=>e.objectId);n.map(n=>{-1===e.indexOf(n.objectId)&&t.push(n)})}}),this.$emit("selection",t)},setFitView(){this.fcMap&&this.fcMap.setFitView()},cancelAlarm(e){this.fcMap&&this.fcMap.cancelAlarm(e)},bounceLocation(e,t){this.fcMap&&this.fcMap.bounceLocation(e,t)},cancelBounceLocation(e){this.fcMap&&this.fcMap.cancelBounceLocation(e)},playTrack(e,t,n){this.fcMap&&this.fcMap.playTrack(e,t,n)},getLocationByAddress(e){return this.fcMap?this.fcMap.getLocationByAddress(e):Promise.reject(new Error("fcMapIsNull"))},getAddressByLocation(e){return this.fcMap?this.fcMap.getAddressByLocation(e):Promise.reject(new Error("fcMapIsNull"))},destroy(){this.fcMap&&this.fcMap.destroy()},clearInfoWindow(){this.fcMap&&this.fcMap.clearInfoWindow()},startDraw(e){this.fcMap&&this.fcMap.startDraw(e)},endDraw(){this.fcMap&&this.fcMap.endDraw()},clearDraw(){this.fcMap&&this.fcMap.clearDraw()},setMapMarkerClusterer(e){this.fcMap&&this.fcMap.setMapMarkerClusterer(e)},openInfoWindowByHand(e){e&&this.fcMap&&this.fcMap.openInfoWindowByHand(e)},setMapCenter(e,t,n){this.fcMap&&this.fcMap.setMapCenter(e,t,n)}},computed:{customMarkerInfoWindowComputed(){if(this.customMarkerInfoWindow instanceof Object)try{const e=r["default"].extend(this.customMarkerInfoWindow);return function(t,n){return new e({el:document.createElement("div"),propsData:{point:t,clearInfoWindow:n}}).$el}}catch(e){return}return this.customMarkerInfoWindow},customClustererInfoWindowComputed(){if(this.customClustererInfoWindow instanceof Object)try{const e=r["default"].extend(this.customClustererInfoWindow);return function(t,n,r,i){return new e({el:document.createElement("div"),propsData:{point:t,inRingPoints:n,clearInfoWindow:r,openInfoWindowByHand:i}}).$el}}catch(e){return}return this.customClustererInfoWindow},customAlarmInfoWindowComputed(){if(this.customAlarmInfoWindow instanceof Object)try{const e=r["default"].extend(this.customAlarmInfoWindow);return function(t,n){return new e({el:document.createElement("div"),propsData:{point:t,msg:n}}).$el}}catch(e){return}return this.customAlarmInfoWindow},customLocationPopupComputed(){if(this.customLocationPopup instanceof Object)try{const e=r["default"].extend(this.customLocationPopup);return function(t){return new e({el:document.createElement("div"),propsData:{location:t}}).$el}}catch(e){return}return this.customLocationPopup},customMouseoverMarkerInfoWindowComputed(){if(this.customMouseoverMarkerInfoWindow instanceof Object)try{const e=r["default"].extend(this.customMouseoverMarkerInfoWindow);return function(t,n){return new e({el:document.createElement("div"),propsData:{point:t,clearInfoWindow:n}}).$el}}catch(e){return}return this.customMouseoverMarkerInfoWindow}},watch:{points:{immediate:!0,deep:!0,handler(e,t){this.isMapLoaded&&(this.fcMap.updatePoints(this.points),this.$emit("pointsUpdated",this.points))}},locations:{immediate:!0,deep:!0,handler(e,t){this.isMapLoaded&&(this.fcMap.updateLocations(this.locations),this.$emit("locationUpdated",this.locations))}},alarms:{immediate:!0,deep:!0,handler(e,t){this.isMapLoaded&&(this.fcMap.showAlarm(this.alarms),this.$emit("alarmShow",this.alarms))}},tracks:{immediate:!0,deep:!0,handler(e,t){this.isMapLoaded&&(this.fcMap.updateTracks(this.tracks),this.$emit("trackUpdated",this.tracks))}},limitBounds:{immediate:!0,deep:!0,handler(e,t){this.isMapLoaded&&(this.limitBounds?this.fcMap.setLimitBounds(this.limitBounds):this.fcMap.clearLimitBounds(this.limitBounds),this.$emit("limitBoundsChanged",this.limitBounds))}}},mounted(){this.fcMap=new ee(this.mapKey,this.$refs.mapContainer,this.mapInitinalOptions,{mapLoaded:this.mapLoaded,pluginLoaded:this.pluginLoaded,mapClick:this.mapClick,markerClick:this.markerClick,markerMouseover:this.markerMouseover,selection:this.selection,markerIcon:this.markerIcon,fullScreenAside:this.fullScreenAside,switchButtonAside:this.switchButtonAside,locationIcon:this.locationIcon,trackIcon:this.trackIcon,limitBounds:this.limitBounds,playerPluginUrl:this.playerPluginUrl,showAlarmOnMap:this.showAlarmOnMap,bounceIconOnAlarm:this.bounceIconOnAlarm,customMarkerInfoWindow:this.customMarkerInfoWindowComputed,customAlarmInfoWindow:this.customAlarmInfoWindowComputed,customClustererInfoWindow:this.customClustererInfoWindowComputed,customMouseoverMarkerInfoWindow:this.customMouseoverMarkerInfoWindowComputed,showFullscreenButton:this.showFullscreenButton,showSwitchAlarmButton:this.showSwitchAlarmButton,fullscreenText:this.fullscreenText,exitFullscreenText:this.exitFullscreenText,customLocationPopup:this.customLocationPopupComputed,singleInforWindow:this.singleInforWindow,infoWindowConfig:this.infoWindowConfig})},render(e){return e("div",{ref:"mapContainer",class:"fc-map"})}},ne=r["default"].extend({name:"CanoeMap",props:{map:{type:String,default:""},service:{required:!0},data:{type:Array,default:()=>[]},mode:{type:String,default:"read"},showAll:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},mapImg:{type:String,default:""},mapId:{type:String},markerImg:{type:String,default:h},markerImgOnline:{type:String},markerImgOffline:{type:String},markerImgDisabled:{type:String},deviceService:{type:String,default:"/cwos-portal"},sysettingService:{type:String,default:"/ninca-common"},addDefaultSelected:{type:Boolean,default:!1},rate:{type:Number,default:.2},limit:{type:Array,default:()=>[.2,2]},deviationX:{type:Number,default:0},deviationY:{type:Number,default:0},retainWdith:{type:Number,default:50},retainHeight:{type:Number,default:50},defaultPlay:{type:Boolean,default:!0},showPlayer:{type:Boolean,default:!0},deviceFilterCodes:{type:Array,default:()=>[]},fullScreenAside:{type:Array},showDeviceStatus:{type:Boolean},deviceFilterStatus:{type:Array},playerSlot:{type:Boolean},gmapKey:{type:String},mapInitinalOptions:{type:Object,default:()=>({zoom:4})},markerIcon:{type:Object},locationIcon:{type:String},trackIcon:{type:Object},limitBounds:{type:Object},showAlarmOnMap:{type:Boolean,default:!0},bounceIconOnAlarm:{type:Boolean,default:!0},showFullscreenButton:{type:Boolean,default:!0},showSwitchAlarmButton:{type:Boolean,default:!0},fullscreenText:{type:String,default:"全屏"},exitFullscreenText:{type:String,default:"退出全屏"},customMarkerInfoWindow:{type:[Function,Object]},customClustererInfoWindow:{type:[Function,Object]},customAlarmInfoWindow:{type:[Function,Object]},customLocationPopup:{type:[Function,Object]},customMouseoverMarkerInfoWindow:{type:[Function,Object]},points:{type:Array},alarms:{type:Array},markerAlarms:{type:Array,default:()=>[]},position:{type:String},markerTracks:{type:Array},locations:{type:Array},tracks:{type:Array},autoFitView:{type:Boolean,default:!0},singleInforWindow:{type:Boolean,default:!0},playerPluginUrl:{type:String},infoWindowConfig:{type:Object,default:()=>{}}},components:{CanoePicMap:Y,CanoeGisMap:te},data(){return{markerData:[],renderMapType:"",mapKey:"",gisPoints:[],filterGisPoint:[]}},watch:{map:{handler:function(e){""!==e?"gis"==e?this.getMapKeys().then(()=>{this.showAll?this.getBindDevice().then(()=>{this.renderMapType="gis"}):this.renderMapType="gis"}):"pic"===e?this.renderMapType=e:(console.warn("传入地图类似错误"),this.renderMapType="gis"):this.getMapType()},immediate:!0,deep:!0},data:{handler:function(e){0!==e.length&&(this.markerData=e)},immediate:!0,deep:!0},points:{handler:function(e){e&&0!==e.length&&(this.gisPoints=this.gisPoints.concat(e.filter(e=>e.latitude&&e.longitude||e.lat&&e.lon)))},deep:!0,immediate:!0},deviceFilterCodes:{handler:function(e){let t=[];t=e&&0!==e.length?this.gisPoints.filter(t=>e.indexOf(t.objectId)>-1):this.gisPoints,this.filterGisPoint=t},deep:!0,immediate:!0},gisPoints:{handler:function(){let e=[];e=this.deviceFilterCodes&&0!==this.deviceFilterCodes.length?this.gisPoints.filter(e=>this.deviceFilterCodes.indexOf(e.objectId)>-1):this.gisPoints,this.filterGisPoint=e},deep:!0,immediate:!0}},methods:{getMapType(){return new Promise(e=>{this.service&&this.service.post&&this.service.post(this.sysettingService+"/sysetting/default/map/query",{}).then(t=>{if(t.success){let n=t.data;null!==n&&0!==n.length?"gis"===n[0].modeType?this.getMapKeys().then(()=>{this.renderMapType="gis",this.showAll&&this.getBindDevice()}):this.renderMapType="pic":""!==this.map?this.renderMapType=this.map:this.$message.warning("暂无地图"),e()}else this.$message.error("获取地图类型失败")})})},getMapKeys(){return new Promise(e=>{this.gmapKey?(this.mapKey=this.gmapKey,e()):this.service&&this.service.post&&this.service.post(this.sysettingService+"/sysetting/account/query",{type:1}).then(t=>{t.success&&0!==t.data.length&&(this.mapKey=t.data[0].key||"",e())})})},getBindDevice(){return new Promise(e=>{this.service&&this.service.post&&this.service.post(this.deviceService+"/component/device/list",{}).then(t=>{if(t.success){let n=[];t.data&&(t.data||[]).forEach(e=>{const t=!isNaN(e.longitude)&&Number(e.longitude),r=!isNaN(e.latitude)&&Number(e.latitude);let i={objectType:"camera",objectId:e.deviceCode,lon:t,lat:r,data:{...e},status:e.status,onlineStatus:e.onlineStatus,rtspUrl:e.cameraMainRtspUrl};(e.deviceCode&&t&&r&&(!this.deviceFilterCodes||0===this.deviceFilterCodes.length)||this.deviceFilterCodes.indexOf(e.deviceCode)>-1)&&n.push(i)}),0!==this.gisPoints.length?this.gisPoints=this.gisPoints.concat(n):this.gisPoints=n,this.$nextTick(()=>{this.$refs.fcMap&&this.$refs.fcMap.setFitView(),this.mapInitinalOptions.autoClusterer&&this.setMapMarkerClusterer(this.mapInitinalOptions.clustererConfig),e()})}else this.$message.error("获取设备列表失败")})})},markerClick(e){this.$emit("markerClick",e)},markerMouseover(e){this.$emit("markerMouseover",e)},toJSONData(e){return this.$refs.CanoePicMap?this.$refs.CanoePicMap.toJSONData(e):{}},removeMarker(e){this.$refs.CanoePicMap&&this.$refs.CanoePicMap.removeMarker(e)},setMarkerHighligh(e){this.$refs.CanoePicMap&&this.$refs.CanoePicMap.setMarkerHighligh(e)},closePlayer(){this.$refs.CanoePicMap.closePlayer()},picMapChange(e){this.$emit("change",e)},markerOver(e){this.$emit("markerOver",e)},markerOut(){this.$emit("markerOut")},mapMove(e){this.$emit("mapMove",e)},mapZoom(){this.$emit("mapZoom")},picMapClick(e){this.$emit("picMapClick",e)},picMapLoaded(e){this.$emit("picMapLoaded",e)},mapLoaded(){this.$emit("mapLoaded")},pluginLoaded(){this.$emit("pluginLoaded")},mapClick(e){this.$emit("mapClick",e)},setFitView(e){"gis"===this.renderMapType?this.$refs.fcMap&&this.$refs.fcMap.setFitView():this.$refs.CanoePicMap&&this.$refs.CanoePicMap.setFitView(e)},clearInfoWindow(){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.clearInfoWindow()},cancelAlarm(e){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.cancelAlarm(e)},bounceLocation(e,t){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.bounceLocation(e,t)},cancelBounceLocation(e){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.cancelBounceLocation(e)},playTrack(e,t,n){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.playTrack(e,t,n)},getLocationByAddress(e){if("gis"===this.renderMapType)return this.$refs.fcMap?this.$refs.fcMap.getLocationByAddress(e):Promise.reject(new Error("fcMapIsNull"))},getAddressByLocation(e){if("gis"===this.renderMapType)return this.$refs.fcMap?this.$refs.fcMap.getAddressByLocation(e):Promise.reject(new Error("fcMapIsNull"))},getMapObj(){let e={type:this.renderMapType,id:""};return"pic"===this.renderMapType?e.id=this.mapId||this.$refs.fcMap&&this.$refs.fcMap.bgImgId:e.id=this.mapKey,e},destroy(){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.destroy()},closeAlarmByHand(e){this.$refs.CanoePicMap&&this.$refs.CanoePicMap.closeAlarmByHand(e)},startDraw(e){this.$refs.fcMap&&this.$refs.fcMap.startDraw(e)},endDraw(){this.$refs.fcMap&&this.$refs.fcMap.endDraw()},clearDraw(){this.$refs.fcMap&&this.$refs.fcMap.clearDraw()},setMapCenter(e,t,n){"gis"===this.renderMapType&&this.$refs.fcMap&&this.$refs.fcMap.setMapCenter(e,t,n)},setMapMarkerClusterer(e){this.$refs.fcMap&&this.$refs.fcMap.setMapMarkerClusterer(e)},openInfoWindowByHand(e){this.$refs.fcMap&&this.$refs.fcMap.openInfoWindowByHand(e)},gisMapSelection(e){this.$emit("selection",e)},pointsUpdated(e){this.$emit("pointsUpdated",e)},locationUpdated(e){this.$emit("locationUpdated",e)},limitBoundsChanged(e){this.$emit("limitBoundsChanged",e)},alarmShow(e){this.$emit("alarmShow",e)}},created(){},mounted(){}});const re=ne;var ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"qz-map canoe-img-layout"},["pic"===e.renderMapType?[n("CanoePicMap",{ref:"CanoePicMap",attrs:{data:e.markerData,mode:e.mode,service:e.service,playerPluginUrl:e.playerPluginUrl,mapImg:e.mapImg,mapId:e.mapId,markerImg:e.markerImg,markerImgOnline:e.markerImgOnline,markerImgOffline:e.markerImgOffline,markerImgDisabled:e.markerImgDisabled,sysettingService:e.sysettingService,rate:e.rate,limit:e.limit,deviationX:e.deviationX,deviationY:e.deviationY,retainWdith:e.retainWdith,retainHeight:e.retainHeight,markerAlarms:e.markerAlarms,markerTracks:e.markerTracks,multiple:e.multiple,position:e.position,addDefaultSelected:e.addDefaultSelected,getAll:e.showAll,defaultPlay:e.defaultPlay,showPlayer:e.showPlayer,deviceFilterCodes:e.deviceFilterCodes,fullScreenAside:e.fullScreenAside,showDeviceStatus:e.showDeviceStatus,deviceFilterStatus:e.deviceFilterStatus,playerSlot:e.playerSlot},on:{mapLoaded:e.picMapLoaded,markerClick:e.markerClick,change:e.picMapChange,markerOver:e.markerOver,markerOut:e.markerOut,mapMove:e.mapMove,mapZoom:e.mapZoom,mapClick:e.picMapClick,alarmShow:e.alarmShow,markerMouseover:e.markerMouseover},scopedSlots:e._u([{key:"player",fn:function(t){return[e._t("player",null,{data:t.data})]}},{key:"popover",fn:function(t){return[e._t("popover",null,{data:t.data})]}},{key:"icon",fn:function(t){return[e._t("icon",null,{data:t.deviceItem})]}},{key:"alarmdialog",fn:function(t){return[e._t("alarmdialog",null,{data:t.data})]}}],null,!0)})]:"gis"===e.renderMapType?[n("CanoeGisMap",{ref:"fcMap",attrs:{playerPluginUrl:e.playerPluginUrl,mapKey:e.mapKey,mapInitinalOptions:e.mapInitinalOptions,points:e.filterGisPoint,locations:e.locations,alarms:e.alarms,tracks:e.tracks,showAlarmOnMap:e.showAlarmOnMap,markerIcon:e.markerIcon,locationIcon:e.locationIcon,trackIcon:e.trackIcon,limitBounds:e.limitBounds,autoFitView:e.autoFitView,fullScreenAside:e.fullScreenAside,bounceIconOnAlarm:e.bounceIconOnAlarm,customLocationPopup:e.customLocationPopup,customMarkerInfoWindow:e.customMarkerInfoWindow,customClustererInfoWindow:e.customClustererInfoWindow,customAlarmInfoWindow:e.customAlarmInfoWindow,customMouseoverMarkerInfoWindow:e.customMouseoverMarkerInfoWindow,showFullscreenButton:e.showFullscreenButton,showSwitchAlarmButton:e.showSwitchAlarmButton,fullscreenText:e.fullscreenText,exitFullscreenText:e.exitFullscreenText,infoWindowConfig:e.infoWindowConfig},on:{mapLoaded:e.mapLoaded,pluginLoaded:e.pluginLoaded,mapClick:e.mapClick,markerClick:e.markerClick,selection:e.gisMapSelection,pointsUpdated:e.pointsUpdated,locationUpdated:e.locationUpdated,limitBoundsChanged:e.limitBoundsChanged,alarmShow:e.alarmShow,markerMouseover:e.markerMouseover}})]:e._e()],2)},ae=[];const oe=function(e){e&&e("data-v-0565b2ac_0",{source:'@font-face{font-family:qz-map;src:url(data:application/x-font-woff;base64,d09GRgABAAAAAAW8AAsAAAAACTAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPQAAAFYzzECCY21hcAAAAYQAAABgAAABqOs5EjVnbHlmAAAB5AAAAc0AAAMQZijQNGhlYWQAAAO0AAAALgAAADYV9QgmaGhlYQAAA+QAAAAXAAAAJACGAExobXR4AAAD/AAAABMAAAAYAUYAAGxvY2EAAAQQAAAADgAAAA4ClgG4bWF4cAAABCAAAAAfAAAAIAEUAE1uYW1lAAAEQAAAASkAAAH+LM8R0nBvc3QAAAVsAAAATQAAAGuyFpy+eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGQwY5zAwMrAwKDNoAMkOaC0HAMzgwADAxMDKzMDVhCQ5prC4PCK8RUrgwOQCyIZgTQIMwAA2PMFvwAAAHic7ZGxDcRACAQHHzh4fSUvl+LYkfsProkzC1+GkWYRK0SwAAGM5Egc7MZQXela+YNP+c6vdlz+jLVSTZqzl26567poO299S8//FEqrqfy2BvXR6A/TGyU6oyEeULURXXicTVF/b5swFHxnwM9NoDQtxNKUli1IczXUBUKo16Zpuj/2/T9S9+yoShDY9374fNwjReE50BvltCLy2wdU11j/xu4dtmXXDpatt+PkfP/d5MbkN2G5TbXOjMni+ibJgrmQyi3zbAZjMJsRpZH7hfZUUkM9fQi/MK7vsccB7ogNWKi3B3S4hy3RwNfVHt4ut7sN/DB1cC2f2kXLz3VlpxxADhO27gKvIlTIDfIFC1YxfAlxLAGbC7yYh2Oxp/wiUaAvzX/o9az5iNpGjWxHETOWmJweatHpWi/C7NQ7rl38h5btHi6UOtTDONnlO9xjoeKlpkB5hg1UARQmXN+JYtmSImyPIVfEan6GN/N4KkRPkjCxlSiJev+Jzpx+iNfk7TUexDHuW+dtXw/cOm5rnmw9esmMR7h+ravBtrIuQ2O13A7+eTdvEpVkqdD+Sp8yLLJS6zy9g0NSanUyCqUAjY8rxZyK0yvobJ4ld0lqMjVLCw2lVPx0UBf9/Pykv6Iv+LmhoyjchZnKjI9qg1LUdDJe/4qxAcvA7W6YfCMDHTgW3PMQ2nQ1irV+ct8ARuQHNF8GSwkkoccYxRd8dRHEUmxZnrJJOK8v8H9qVDNuAAAAeJxjYGRgYABiOQOxefH8Nl8ZuBkcgCIMtz1SQxH0//8MrmBxDgYmkCgA+e8JNgAAeJxjYGRgYHBgAAFXKMnIgArYABP6ANMAeJxjYAACByTsCsSODAwADf4BRwAAAAAAAC4AiADgATABiAAAeJxjYGRgYGBjcGRgYQABJiDmAkIGhv9gPgMAD6EBYgB4nF2QS07DMBRFb/pDtIAQSEjMPEAMQE3aDruAdl6JzNPW6UdJnDpupXbIAlgAq2ABjFkXN8kbUPwk67zr42fJAG7xAw/l8tCp9nI1cMGu5ibpWrhFvhduo4dH4Q7rSbiLV7wI92i/cYLXumRyhbVwAzdwwk3m78It8odwGw/4FO4w/xLuIsS3cA/P3t3u1E+jfKZX+ySydVPvobbFxmRq6A/qYKozbSOnl2p+VMVhNXIuVrE1qZqYzOkkMSq3ZqsXzl87l4+DIJbcX5gUO5zQR4oIOWbQWGGPhJ09O/nLIS2LAhsYZFAYwsfgzJjSyCor4o9oLGnNceRe4MAXRkwdYvYxHcNbCpNqWmknLMMkr862TBbMff5zeSvHGAEr/uf7tDjpF0GsVZQAAAB4nGNgYsAP2BiZGJkZWRhZGdkY2RlYk3Pyi1P5UysyS3TTSnNyipOLUlPzuJCYeakVJbqJOYlFubwF+cWZJZn5ebq5+WWpDAwAsUkWFAAAAA==) format("woff")}.qz-map-icon{font-family:qz-map!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.close::before{content:"\\ea01"}.exit-fullscreen::before{content:"\\ea02"}.fullscreen::before{content:"\\ea03"}.next-alarm::before{content:"\\ea04"}.position-move::before{content:"\\ea05"}.canoe-img-layout{width:100%;height:100%}.fc-map,.map-container{height:100%;width:100%}.fc-map{position:relative}.clusterer-info-window,.fc-map .map-alarm-info-window,.map-info-window,.map-popup-window{position:relative;background-color:#fff;border-radius:4px;box-shadow:0 0 5px 1px #cecece}.fc-map .clusterer-info-window::after,.fc-map .map-alarm-info-window::after,.fc-map .map-info-window::after{content:"";width:0;height:0;border:14px solid;position:absolute;bottom:-28px;left:calc(50% - 14px);border-color:#fff transparent transparent}.fc-map .map-mouseover-window::after{content:"";width:0;height:0;border:10px solid;position:absolute;bottom:-12px;left:calc(50% - 14px);border-color:#fff transparent transparent}.fc-map .map-mouseover-window{background:#fff;box-shadow:0 2px 4px 1px rgba(122,134,154,.4);padding:10px 20px}.fc-map .clusterer-info-window::after{left:-28px;top:50%;transform:translateY(-50%);border-color:transparent #fff transparent transparent}.fc-map .map-alarm-info-close,.map-info-close{position:absolute;height:16px;width:16px;top:8px;right:8px;cursor:pointer;color:#fff;z-index:1000}.fc-map .map-alarm-info-window .map-alarm-info-content{overflow:auto}.fc-map .map-info-device{padding:16px;font-size:14px;background-color:#fff}.fc-map .map-info-device p{display:flex;line-height:initial;margin:0}.fc-map .map-info-device p .title{color:#7a869a;flex-shrink:0}.fc-map .map-info-device p .info{color:#42526e}.fc-map .map-alarm-info-title+.map-alarm-info-content,.map-info-content{padding-top:0;height:100%}.fc-map .map-alarm-info-content{padding-top:20px;height:calc(100% - 20px)}.fc-map .map-info-content,.map-info-no-play{width:100%;height:180px}.fc-map .map-info-no-play.empty-video{display:flex;flex-flow:column;align-items:center;justify-content:center;color:#42526e;font-size:14px;font-weight:600;background-color:#edeff1}.fc-map .map-info-no-play.empty-video img{width:124px;height:124px}.fc-map .map-info-content .player-ctnr{position:relative;z-index:2;height:100%;width:100%}.fc-map .map-info-content .player-ctnr.no-play{background-color:#edeff1}.fc-map .map-info-content .player-ctnr .play-button{position:absolute;z-index:998;left:50%;top:50%;transform:translate(-50%,-50%);cursor:pointer}.fc-map .map-alarm-info-window{min-width:200px;min-height:100px}.fc-map .map-info-window{border:1px solid #dcdfe3;padding:4px;width:320px}.fc-map .clusterer-info-window{border:1px solid #dcdfe3;padding:4px;width:320px}.fc-map .map-alarm-info-title{height:16px;line-height:16px;font-size:16px;border-bottom:1px solid #c3c3c3;white-space:nowrap;background-color:#f5b740;color:#fff;padding:8px 30px 8px 8px}.fc-map .map-popup-window.bottom::after,.fc-map .map-popup-window.left::after,.fc-map .map-popup-window.right::after,.fc-map .map-popup-window.top::after{content:"";width:0;height:0;border:14px solid;position:absolute}.fc-map .map-popup-window.top::after{bottom:-28px;left:calc(50% - 14px);border-color:#fff transparent transparent}.fc-map .map-popup-window.right::after{bottom:calc(50% - 14px);left:-28px;border-color:transparent #fff transparent transparent}.fc-map .map-popup-window.bottom::after{top:-28px;left:calc(50% - 14px);border-color:transparent transparent #fff}.fc-map .map-popup-window.left::after{bottom:calc(50% - 14px);right:-28px;border-color:transparent transparent transparent #fff}.fc-map .map-tools{position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer}.fc-map .map-fullscreen-button{display:flex;align-items:center;justify-content:center;cursor:pointer}.fc-map .map-fullscreen-button i{margin-right:5px}.fc-map .map-switch-device-button{display:flex;align-items:center;justify-content:center;cursor:pointer}.qz-map .map-tools{position:absolute;display:flex;flex-flow:column}.qz-map .map-tools .map-tools-button{position:relative;margin-top:38px;width:45px;height:45px;border-radius:100%;box-shadow:0 2px 8px 0 rgba(0,0,0,.4);background-color:#fff;background-repeat:no-repeat;background-position:center;cursor:pointer;border:none;outline:0;color:#5f666c;transition:all .3s}.qz-map .map-tools .map-tools-button .button-icon{font-size:30px;line-height:45px}.qz-map .map-tools .map-tools-button.next-alarm-button{padding-top:5px}.qz-map .map-tools .map-tools-button:hover{color:#0075da}.qz-map .map-tools .map-tools-button:hover .button-tooltip{display:initial}.qz-map .map-tools .map-tools-button .button-tooltip{display:none;left:-10px;top:50%;font-style:normal;transform:translate(-100%,-50%);white-space:nowrap;word-break:keep-all;transition:all .3s;color:#fff}.qz-map .map-tools .map-tools-button .button-tooltip::after{content:"";position:absolute;border:8px solid transparent;right:0;top:50%;border-left-color:#303133;transform:translate(16px,-50%)}.qz-map .map-tools .map-tools-button:first-child{margin-top:0}',map:void 0,media:void 0})},se=void 0,le=void 0,ce=!1,ue=_({render:ie,staticRenderFns:ae},oe,re,se,ce,le,!1,b,void 0,void 0),de=function(e){de.installed||(de.installed=!0,e.component("CanoeMap",ue))},he={install:de};let fe=null;"undefined"!==typeof window?fe=window.Vue:"undefined"!==typeof e&&(fe=e.Vue),fe&&fe.use(he),ue.install=de,t["a"]=ue}).call(this,n("c8ba"))},fca5:function(e,t,n){!function(t,r){e.exports=r(n("2b0e"),n("c1df"))}(window,(function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=43)}([,,function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,i,a=e[1]||"",o=e[3];if(!o)return a;if(t&&"function"==typeof btoa){var s=(n=o,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(i," */")),l=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[a].concat(l).concat([s]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function s(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],i=0;i<e.length;i++){var a=e[i],l=t.base?a[0]+t.base:a[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),h={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(o[d].references++,o[d].updater(h)):o.push({identifier:u,updater:y(h,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=a(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function h(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function f(e,t,n){var r=n.css,i=n.media,a=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,m=0;function y(e,t){var n,r,i;if(t.singleton){var a=m++;n=p||(p=c(t)),r=h.bind(null,n,a,!1),i=h.bind(null,n,a,!0)}else n=c(t),r=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);o[i].references--}for(var a=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===o[u].references&&(o[u].updater(),o.splice(u,1))}n=a}}}},function(t,n){t.exports=e},,,,function(e,t,n){var r=n(3),i=n(34);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1};r(i,a),e.exports=i.locals||{}},function(e,t,n){var r=n(3),i=n(36);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1};r(i,a),e.exports=i.locals||{}},function(e,t,n){var r=n(3),i=n(38);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1};r(i,a),e.exports=i.locals||{}},function(e,t,n){var r=n(3),i=n(40);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1};r(i,a),e.exports=i.locals||{}},function(e,t,n){var r=n(3),i=n(42);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1};r(i,a),e.exports=i.locals||{}},function(e,t,n){(function(e){var r,i,a,o;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"undefined"!=typeof self&&self,o=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===s(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};e.exports=function(e,t,n,y,v,g,_){l(n,t,y);var w,b,A,k=function(e){if(!h&&e in L)return L[e];switch(e){case f:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",x=v==p,S=!1,L=e.prototype,T=L[d]||L["@@iterator"]||v&&L[v],D=T||k(v),E=v?x?k("entries"):D:void 0,C="Array"==t&&L.entries||T;if(C&&(A=u(C.call(new e)))!==Object.prototype&&A.next&&(c(A,M,!0),r||"function"==typeof A[d]||o(A,d,m)),x&&T&&T.name!==p&&(S=!0,D=function(){return T.call(this)}),r&&!_||!h&&!S&&L[d]||o(L,d,D),s[t]=D,s[M]=m,v)if(w={values:x?D:k(p),keys:g?D:k(f),entries:E},_)for(b in w)b in L||a(L,b,w[b]);else i(i.P+i.F*(h||S),t,w);return w}},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"09fa":function(e,t,n){var r=n("4588"),i=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a49":function(e,t,n){var r=n("9b43"),i=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,y,v=a(t),g=i(v),_=r(s,p,3),w=o(g.length),b=0,A=n?f(t,w):l?f(t,0):void 0;w>b;b++)if((h||b in g)&&(y=_(m=g[b],b,v),e))if(n)A[b]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return b;case 2:A.push(m)}else if(u)return!1;return d?-1:c||u?u:A}}},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},"0f0d":function(e,t,n){var r=n("3e2e");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("13fdd262",r,!0,{sourceMap:!1,shadowMode:!1})},"0f88":function(e,t,n){for(var r,i=n("7726"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),l=o("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[h[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},1169:function(e,t,n){var r=n("2d95");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"11e9":function(e,t,n){var r=n("52a7"),i=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=a(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},"14e8":function(e,t,n){var r=n("aa8a");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("4708d7cf",r,!0,{sourceMap:!1,shadowMode:!1})},1820:function(e,t,n){"use strict";var r=n("2cd7");n.n(r).a},"18d2":function(e,t,n){"use strict";var r=n("18e9");e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function a(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function o(e){return i(e).object}return{makeDetectable:function(e,o,s){s||(s=o,o=e,e=null),(e=e||{}).debug,r.isIE(8)?s(o):function(o,s){var l=a(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,u=window.getComputedStyle(o),d=o.offsetWidth,h=o.offsetHeight;function f(){function n(){if("static"===u.position){o.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,r,i){var a=r[i];"auto"!==a&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(a)&&(t.warn("An element that is positioned static has style."+i+"="+a+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",n),n.style.setProperty(i,"0",e.important?"important":""))};n(t,o,u,"top"),n(t,o,u,"right"),n(t,o,u,"bottom"),n(t,o,u,"left")}}""!==u.position&&(n(),c=!0);var a=document.createElement("object");a.style.cssText=l,a.tabIndex=-1,a.type="text/html",a.setAttribute("aria-hidden","true"),a.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var r=i(t);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){s(o)}))},r.isIE()||(a.data="about:blank"),i(o)&&(o.appendChild(a),i(o).object=a,r.isIE()&&(a.data="about:blank"))}i(o).startSize={width:d,height:h},n?n.add(f):f()}(o,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))i(e).object={proxy:n},e.attachEvent("onresize",n);else{var a=o(e);if(!a)throw new Error("Element is not detectable by this strategy.");a.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(i(e)){var t=o(e);t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),i(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(e).checkForObjectDocumentTimeoutId),delete i(e).object)}}}}},"18e9":function(e,t,n){"use strict";var r=e.exports={};r.isIE=function(e){return!(!function(){var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}()||e&&e!==function(){var e=3,t=document.createElement("div"),n=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(n[0]);return e>4?e:void 0}())},r.isLegacyOpera=function(){return!!window.opera}},1991:function(e,t,n){var r,i,a,o=n("9b43"),s=n("31f4"),l=n("fab2"),c=n("230e"),u=n("7726"),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,y=0,v={},g="onreadystatechange",_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},w=function(e){_.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},f=function(e){delete v[e]},"process"==n("2d95")(d)?r=function(e){d.nextTick(o(_,e,1))}:m&&m.now?r=function(e){m.now(o(_,e,1))}:p?(a=(i=new p).port2,i.port1.onmessage=w,r=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):r=g in c("script")?function(e){l.appendChild(c("script"))[g]=function(){l.removeChild(this),_.call(e)}}:function(e){setTimeout(o(_,e,1),0)}),e.exports={set:h,clear:f}},"1c4c":function(e,t,n){"use strict";var r=n("9b43"),i=n("5ca1"),a=n("4bf8"),o=n("1fa8"),s=n("33a4"),l=n("9def"),c=n("f1ae"),u=n("27ee");i(i.S+i.F*!n("5cc5")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,d,h=a(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,y=void 0!==m,v=0,g=u(h);if(y&&(m=r(m,p>2?arguments[2]:void 0,2)),null==g||f==Array&&s(g))for(n=new f(t=l(h.length));t>v;v++)c(n,v,y?m(h[v],v):h[v]);else for(d=g.call(h),n=new f;!(i=d.next()).done;v++)c(n,v,y?o(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},"1d01":function(e,t,n){"use strict";var r=n("899a");n.n(r).a},"1d3b":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,'.vue-slider-disabled .vue-slider-process{background-color:#a7a7a7}.vue-slider-disabled .vue-slider-dot-handle{border-color:#a7a7a7}.vue-slider-disabled .vue-slider-mark-step-active{-webkit-box-shadow:0 0 0 2px #a7a7a7;box-shadow:0 0 0 2px #a7a7a7}.vue-slider-rail{background-color:#f5f5f5;border-radius:15px;-webkit-transition:background-color .3s;transition:background-color .3s}.vue-slider:hover .vue-slider-rail{background-color:#e1e1e1}.vue-slider-process{background-color:#9cd5ff;border-radius:15px;-webkit-transition:background-color .3s;transition:background-color .3s}.vue-slider:hover .vue-slider-process{background-color:#69c0ff}.vue-slider-mark-step{width:100%;height:100%;border-radius:50%;-webkit-box-shadow:0 0 0 2px #e8e8e8;box-shadow:0 0 0 2px #e8e8e8;background-color:#fff}.vue-slider-mark-step-active{-webkit-box-shadow:0 0 0 2px #9cd5ff;box-shadow:0 0 0 2px #9cd5ff}.vue-slider:hover .vue-slider-mark-step-active{-webkit-box-shadow:0 0 0 2px #69c0ff;box-shadow:0 0 0 2px #69c0ff}.vue-slider-mark-label{font-size:12px;white-space:nowrap}.vue-slider-dot-handle{cursor:pointer;width:100%;height:100%;border-radius:50%;background-color:#fff;border:2px solid #9cd5ff;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border-color .3s,-webkit-box-shadow .3s;transition:border-color .3s,-webkit-box-shadow .3s;transition:box-shadow .3s,border-color .3s;transition:box-shadow .3s,border-color .3s,-webkit-box-shadow .3s}.vue-slider:hover .vue-slider-dot-handle{border-color:#69c0ff}.vue-slider-dot-handle-focus{border-color:#36abff;-webkit-box-shadow:0 0 0 5px rgba(54,171,255,.2);box-shadow:0 0 0 5px rgba(54,171,255,.2)}.vue-slider-dot-handle:hover,.vue-slider:hover .vue-slider-dot-handle-focus,.vue-slider:hover .vue-slider-dot-handle:hover{border-color:#36abff}.vue-slider-dot-handle-disabled{cursor:not-allowed;border-color:#ddd!important}.vue-slider-dot-tooltip{opacity:0;visibility:hidden;-webkit-transition:all .3s;transition:all .3s}.vue-slider-dot-tooltip-inner{font-size:14px;white-space:nowrap;padding:6px 8px;color:#fff;border-radius:5px;border-color:rgba(0,0,0,.75);background-color:rgba(0,0,0,.75);-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-transform:scale(.9);transform:scale(.9);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.vue-slider-dot-tooltip-inner:after{content:"";position:absolute}.vue-slider-dot-tooltip-inner-top:after{top:100%;border-color:transparent;border-style:solid;border-width:5px;border-top-color:inherit}.vue-slider-dot-tooltip-inner-bottom:after,.vue-slider-dot-tooltip-inner-top:after{left:50%;-webkit-transform:translate(-50%);transform:translate(-50%);height:0;width:0}.vue-slider-dot-tooltip-inner-bottom:after{bottom:100%;border-color:transparent;border-style:solid;border-width:5px;border-bottom-color:inherit}.vue-slider-dot-tooltip-inner-left:after{left:100%;border-color:transparent;border-style:solid;border-width:5px;border-left-color:inherit}.vue-slider-dot-tooltip-inner-left:after,.vue-slider-dot-tooltip-inner-right:after{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:0;width:0}.vue-slider-dot-tooltip-inner-right:after{right:100%;border-color:transparent;border-style:solid;border-width:5px;border-right-color:inherit}.vue-slider-dot-tooltip-inner-top{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.vue-slider-dot-tooltip-inner-bottom{-webkit-transform-origin:50% 0;transform-origin:50% 0}.vue-slider-dot-tooltip-inner-left{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.vue-slider-dot-tooltip-inner-right{-webkit-transform-origin:0 50%;transform-origin:0 50%}.vue-slider-dot-tooltip-show,.vue-slider-dot:hover .vue-slider-dot-tooltip{opacity:1;visibility:visible}.vue-slider-dot-tooltip-show .vue-slider-dot-tooltip-inner,.vue-slider-dot:hover .vue-slider-dot-tooltip .vue-slider-dot-tooltip-inner{-webkit-transform:scale(1);transform:scale(1)}',""])},"1e97":function(e,t,n){var r=n("b188");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("119712a6",r,!0,{sourceMap:!1,shadowMode:!1})},"1fa8":function(e,t,n){var r=n("cb7c");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!a((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!u||"split"===e&&!d){var m=/./[h],y=n(o,h,""[e],(function(e,t,n,r,i){return t.exec===l?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=y[0],g=y[1];r(String.prototype,e,v),i(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},"215a":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,".no-border,.no-border.selected,.no-border:hover{border:none}@-webkit-keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.vatlive{width:100%;height:100%;background-color:#081b2a;border-color:#000;border-width:2px;padding:0;overflow:hidden}.vatlive,.vatlive *,.vatlive>table{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.vatlive>table{width:100%;height:100%;border:1px solid #364a63;background-color:#081b2a;table-layout:fixed;word-break:break-all;padding:0;border-collapse:separate}.vatlive>table>tr,.vatlive>table>tr>td{padding:0;vertical-align:top}.vatlive>table>tr>td{border:1px solid #364a63;background-color:#1b1b1b;overflow-x:hidden;overflow-y:hidden;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.vatlive>table>tr>td[max=true]{border:none}.vatlive>table>tr>td:hover{border:1px solid #4e408f}.vatlive>table>tr>td.selected{border:1px solid #bd1c1c}.vatlive>table>tr>td .vatwin{width:100%;height:100%;border:none;position:relative;vertical-align:middle;text-align:center;padding:0}.vatlive>table>tr>td .vatwin .drag-layer{z-index:100;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;background-color:rgba(0,0,0,.001)}.vatlive>table>tr>td .vatwin .drag-hover{border:1px solid #137c1c}.vatlive>table>tr>td .vatwin .vatrender{position:absolute;border:none;z-index:50;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-record{z-index:51;border:none;position:absolute;background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M704 434.496l131.795-131.789a38.4 38.4 0 0165.549 27.155v388.48a38.4 38.4 0 01-65.549 27.15L704 613.701V729.6a38.4 38.4 0 01-38.4 38.4H166.4a38.4 38.4 0 01-38.4-38.4v-384a38.4 38.4 0 0138.4-38.4h499.2a38.4 38.4 0 0138.4 38.4v88.896zM281.6 524.8c42.413 0 76.8-34.387 76.8-76.8s-34.387-76.8-76.8-76.8-76.8 34.387-76.8 76.8 34.387 76.8 76.8 76.8z' fill='%23d81e06'/%3E%3C/svg%3E\");opacity:.8;width:32px;height:32px;top:12px;right:10px;animation:vatblink 2.2s infinite;-moz-animation:vatblink 2.2s infinite;-webkit-animation:vatblink 2.2s infinite;-o-animation:vatblink 2.2s infinite}.vatlive>table>tr>td .vatwin .vat-tool{position:absolute;display:block;border:1px solid rgba(3,88,109,.1);border-radius:3px;bottom:0;width:100%;height:auto;visibility:hidden;background:rgba(54,74,99,.4);opacity:0;z-index:110;text-align:center;-webkit-transition:visibility 0s linear .33s,opacity .33s linear;transition:visibility 0s linear .33s,opacity .33s linear;overflow:hidden}.vatlive>table>tr>td .vatwin .vat-tool a{width:28px;height:28px;margin-left:5px;margin-right:5px;margin-top:5px;background-size:cover;background-repeat:no-repeat;-webkit-transition:all .3s;transition:all .3s;display:inline-block}.vatlive>table>tr>td .vatwin .vat-tool a:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.vatlive>table>tr>td .vatwin .vat-tool a:active{-webkit-transform:scale(1);transform:scale(1)}.vatlive>table>tr>td .vatwin .vat-tool svg path{fill:#fefefe}.vatlive>table>tr>td .vatwin .vat-tool svg:hover path{fill:#42b7f7}.vatlive>table>tr>td .vatwin:hover .vat-tool{visibility:visible;opacity:.8;-webkit-transition-delay:0s;transition-delay:0s}.vatlive>table>tr>td .vatwin .vat-title{position:absolute;display:block;top:0;width:100%;height:16px;z-index:55;background:#0a1522;border:1px solid #050524}.vatlive>table>tr>td .vatwin .vat-title .state{position:absolute;left:0;display:inline-block;width:16px;height:16px;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.vatlive>table>tr>td .vatwin .vat-title .vat-name{position:absolute;top:-1px;left:32px;height:100%;display:inline-block;color:#39aea6;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vatlive>table>tr>td .vatwin .vat-title .vat-speed{position:absolute;top:-1px;right:5px;height:100%;display:inline-block;color:#28312e;font-size:12px;margin-top:1px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-error{z-index:51;display:block;position:absolute;border:none;background:rgba(0,0,0,.4);font-size:18px;width:100%;height:100%}.vatlive>table>tr>td .vatwin .vat-error>table{width:100%;height:100%;background:transparent}.vatlive>table>tr>td .vatwin .vat-error>table td{opacity:.8;color:red;text-align:center}.vatlive>table>tr>td .vatwin .vat-error>table tr{vertical-align:middle;display:contents}.vatlive>table>tr>td .vatwin .vat-roi-draw{z-index:102;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;border:none}.vatlive>table>tr>td .vatwin .vat-roi-view{z-index:99;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-roi-menu{z-index:120;position:absolute;background-color:#f0f;border:2px solid #1c4480;cursor:pointer;padding:0}.vatlive>table>tr>td .vatwin .vat-roi-menu li{height:25px;border:1px solid rgba(12,74,110,.877);color:#cccbcb;text-align:center;background:rgba(10,54,95,.877);list-style-type:none;padding:2px 5px 2px 5px;font-size:14px;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(22,105,153,.877);background:rgba(21,101,177,.877)}.vatlive>table>tr>td .vatwin .vat-face{z-index:51;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0}.vatlive>table>tr>td .vatwin .vat-exrender{z-index:52;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0}.vatlive>table>tr>td .vatwin .vat-ptz-panel{margin-top:20px;margin-left:5px;height:50%;padding-left:25%;z-index:109;background-color:#10313a;position:absolute;opacity:.5}.vatlive>table>tr>td .vat-down{padding-left:32px;height:32px;display:inline-block;cursor:pointer;background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M128 806.4h768V896H128v-89.6zM732.288 528l-176.5 186.138c-10.95 11.206-26.412 18.49-43.788 18.49s-32.832-7.284-43.603-18.606l-176.87-185.888c-9.23-10.022-15.111-22.97-15.111-37.324 0-30.816 26.38-55.802 58.9-55.802.454 0 .895.058 1.343.07v-.352h116.435V297.94c0-30.835 26.388-55.82 58.9-55.82 32.53 0 58.905 24.979 58.905 55.82v136.787h114.285v.448c1.165-.064 2.31-.179 3.5-.179 32.526 0 58.9 24.992 58.9 55.815.006 14.355-5.882 27.296-15.296 37.19zM416 128h192v324.8H416V128z' fill='%231bb90a'/%3E%3C/svg%3E\") no-repeat}.vatlive>table>tr>td .vat-down span{display:table-cell;vertical-align:middle;height:32px}.vatlive .check_error{width:100%;height:100%;text-align:center;vertical-align:middle;font-size:20px;color:red}.vatlive .check_error a:link,.vatlive .check_error a:visited{color:red}.vatlive .check_error a:hover{color:#f0f}.vatlive .check_error a:active{color:#00f}.vatlive-dark>table{border:1px solid #364a63;background-color:#081b2a}.vatlive-dark>table>tr>td{border:1px solid #364a63;background-color:#1b1b1b}.vatlive-dark>table>tr>td:hover{border:1px solid #4e408f}.vatlive-dark>table>tr>td.selected{border:1px solid #bd1c1c}.vatlive-dark>table>tr>td .vatwin .drag-hover{border:1px solid #137c1c}.vatlive-dark>table>tr>td .vatwin .vat-tool{border:1px solid rgba(3,88,109,.1);background:rgba(20,20,20,.5)}.vatlive-dark>table>tr>td .vatwin .vat-tool svg path{fill:#fefefe}.vatlive-dark>table>tr>td .vatwin .vat-tool svg:hover path{fill:#3387ff}.vatlive-dark>table>tr>td .vatwin .vat-title{background:#0a1522;border:1px solid #050524}.vatlive-dark>table>tr>td .vatwin .vat-title .vat-name{color:#39aea6}.vatlive-dark>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-dark>table>tr>td .vatwin .vat-error{background:rgba(0,0,0,.4)}.vatlive-dark>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu{background-color:#f0f;border:2px solid #1c4480}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(12,74,110,.877);color:#cccbcb;background:rgba(10,54,95,.877)}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(22,105,153,.877);background:rgba(21,101,177,.877)}.vatlive-dark .check_error,.vatlive-dark .check_error a:link,.vatlive-dark .check_error a:visited{color:red}.vatlive-dark .check_error a:hover{color:#f0f}.vatlive-dark .check_error a:active{color:#00f}.vatlive-red>table{border:1px solid #220f0f;background-color:#421602}.vatlive-red>table>tr>td{border:1px solid #ac0358;background-color:#241313}.vatlive-red>table>tr>td:hover{border:1px solid #4e408f}.vatlive-red>table>tr>td.selected{border:1px solid #6003ac}.vatlive-red>table>tr>td .vatwin .drag-hover{border:1px solid #7801bd}.vatlive-red>table>tr>td .vatwin .vat-tool{border:1px solid rgba(241,111,111,.1);background:rgba(20,20,20,.5)}.vatlive-red>table>tr>td .vatwin .vat-tool svg path{fill:#fefefe}.vatlive-red>table>tr>td .vatwin .vat-tool svg:hover path{fill:#f75bd0}.vatlive-red>table>tr>td .vatwin .vat-title{background:#410808;border:1px solid #520606}.vatlive-red>table>tr>td .vatwin .vat-title .vat-name{color:#d4af09}.vatlive-red>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-red>table>tr>td .vatwin .vat-error{background:rgba(0,0,0,.4)}.vatlive-red>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-red>table>tr>td .vatwin .vat-roi-menu{background-color:#f0f;border:2px solid #5a041e}.vatlive-red>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(141,15,88,.877);color:#cccbcb;background:rgba(66,4,56,.877)}.vatlive-red>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(153,22,114,.877);background:rgba(141,16,110,.877)}.vatlive-red .check_error,.vatlive-red .check_error a:link,.vatlive-red .check_error a:visited{color:red}.vatlive-red .check_error a:hover{color:#f0f}.vatlive-red .check_error a:active{color:#00f}.vatlive-blue>table{border:1px solid #0f1322;background-color:#34495c}.vatlive-blue>table>tr>td{border:1px solid #141f38;background-color:#081b2a}.vatlive-blue>table>tr>td:hover{border:1px solid #2a1588}.vatlive-blue>table>tr>td.selected{border:1px solid #810707}.vatlive-blue>table>tr>td .vatwin .drag-hover{border:1px solid #01851e}.vatlive-blue>table>tr>td .vatwin .vat-tool{border:1px solid rgba(50,53,235,.1);background:rgba(20,20,20,.5)}.vatlive-blue>table>tr>td .vatwin .vat-tool svg path{fill:#fefefe}.vatlive-blue>table>tr>td .vatwin .vat-tool svg:hover path{fill:#6c86f8}.vatlive-blue>table>tr>td .vatwin .vat-title{background:#02134b;border:1px solid #05133a}.vatlive-blue>table>tr>td .vatwin .vat-title .vat-name{color:#a7a7a7}.vatlive-blue>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-blue>table>tr>td .vatwin .vat-error{background:#081b2a}.vatlive-blue>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu{background-color:#0f378d;border:2px solid #160479}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(14,25,75,.877);color:#cccbcb;background:rgba(3,39,94,.877)}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(2,105,25,.877);background:rgba(39,133,30,.877)}.vatlive-blue .check_error,.vatlive-blue .check_error a:link,.vatlive-blue .check_error a:visited{color:red}.vatlive-blue .check_error a:hover{color:#f0f}.vatlive-blue .check_error a:active{color:#00f}",""])},"227c":function(e,t,n){"use strict";var r=n("0f0d");n.n(r).a},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},2350:function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),a=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var a=this[i][0];"number"==typeof a&&(r[a]=!0)}for(i=0;i<e.length;i++){var o=e[i];"number"==typeof o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},2397:function(e,t,n){var r=n("5ca1"),i=n("2aeb"),a=n("d8e8"),o=n("cb7c"),s=n("d3f4"),l=n("79e5"),c=n("f0c1"),u=(n("7726").Reflect||{}).construct,d=l((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),h=!l((function(){u((function(){}))}));r(r.S+r.F*(d||h),"Reflect",{construct:function(e,t){a(e),o(t);var n=arguments.length<3?e:a(arguments[2]);if(h&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,f=i(s(l)?l:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"272c":function(e,t,n){"use strict";var r=n("1e97");n.n(r).a},"27ee":function(e,t,n){var r=n("23c6"),i=n("2b4c")("iterator"),a=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},"28a5":function(e,t,n){"use strict";var r=n("aae3"),i=n("cb7c"),a=n("ebd6"),o=n("0390"),s=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,h=[].push,f="split",p="length",m="lastIndex",y=4294967295,v=!u((function(){RegExp(y,"y")}));n("214f")("split",2,(function(e,t,n,u){var g;return g="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?y:t>>>0,v=new RegExp(e.source,u+"g");(a=c.call(v,i))&&!((o=v[m])>d&&(l.push(i.slice(d,a.index)),a[p]>1&&a.index<i[p]&&h.apply(l,a.slice(1)),s=a[0][p],d=o,l[p]>=f));)v[m]===a.index&&v[m]++;return d===i[p]?!s&&v.test("")||l.push(""):l.push(i.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i,r):g.call(String(i),n,r)},function(e,t){var r=u(g,e,this,t,g!==n);if(r.done)return r.value;var c=i(e),h=String(this),f=a(c,RegExp),p=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),_=new f(v?c:"^(?:"+c.source+")",m),w=void 0===t?y:t>>>0;if(0===w)return[];if(0===h.length)return null===l(_,h)?[h]:[];for(var b=0,A=0,k=[];A<h.length;){_.lastIndex=v?A:0;var M,x=l(_,v?h:h.slice(A));if(null===x||(M=d(s(_.lastIndex+(v?0:A)),h.length))===b)A=o(h,A,p);else{if(k.push(h.slice(b,A)),k.length===w)return k;for(var S=1;S<=x.length-1;S++)if(k.push(x[S]),k.length===w)return k;A=b=M}}return k.push(h.slice(b)),k}]}))},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),l="toString",c=(""+s).split(l);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(a(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(a(n,o)||i(n,o,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n("230e")("iframe"),r=a.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[l][a[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[o]=e):n=c(),void 0===t?n:i(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},"2cd7":function(e,t,n){var r=n("86cb");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("65465726",r,!0,{sourceMap:!1,shadowMode:!1})},"2cef":function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},"2d00":function(e,t){e.exports=!1},"2d64":function(e,t,n){var r=n("9ba3");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("5713d8e2",r,!0,{sourceMap:!1,shadowMode:!1})},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2ed9":function(e,t,n){"use strict";var r=n("2d64");n.n(r).a},"31f4":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"33a4":function(e,t,n){var r=n("84f2"),i=n("2b4c")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},"34ef":function(e,t,n){n("ec30")("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"36bd":function(e,t,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");e.exports=function(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},"37c8":function(e,t,n){t.f=n("2b4c")},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"3a72":function(e,t,n){var r=n("7726"),i=n("8378"),a=n("2d00"),o=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},"3e2e":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,"@-webkit-keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}div[vat=vod-player]{width:100%;height:100%;border:0;padding:0;margin:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}div[vat=win-root]{width:100%;height:100%;overflow:hidden}table[vat=win-tab]{width:100%;height:100%;background-color:#2b2b2b;border:1px solid #364a63;border-collapse:separate}table[vat=win-tab],table[vat=win-tab]>tr>td{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}table[vat=win-tab]>tr>td{border:1px solid #2b2b2b;background-color:#101010;overflow-x:hidden;overflow-y:hidden;padding:0;vertical-align:top}table[vat=win-tab]>tr>td[max=true]{border:none}table[vat=win-tab]>tr>td:hover{border:1px solid #4e4067}table[vat=win-tab]>tr>td.selected{border:1px solid #811c1c}table[vat=vod-layout]{width:100%;height:100%;border:none;overflow:hidden;padding:0;margin:0;border-collapse:collapse;border-spacing:0;display:table;table-layout:fixed}table[vat=vod-layout]>tr{border:none}table[vat=vod-layout]>tr>td{border:none;overflow:hidden;position:relative}table[vat=vod-layout]>tr>td #vod-tool{width:100%;height:50px;background-color:#1c4480;display:block}div[vat=timeline]{height:50px;background-color:#0f1322}div[vat=vod-player]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;background-color:#000;position:relative;outline:none}div[vat=vod-player] .vod-wins{-ms-flex-item-align:initial;align-self:auto}.vatrender{position:absolute;border:none;z-index:49;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatwin{width:100%;height:100%;border:none;position:relative;vertical-align:middle;text-align:center;padding:0;background-color:#000}",""])},"3e39":function(e,t,n){var r=n("1d3b");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("f8f69916",r,!0,{sourceMap:!1,shadowMode:!1})},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(e){return i(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4971:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===s(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"091b":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}",""]),e.exports=t},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},2638:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var i=["attrs","props","domProps"],a=["class","style","directives"],o=["on","nativeOn"],s=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}};e.exports=function(e){return e.reduce((function(e,t){for(var n in t)if(e[n])if(-1!==i.indexOf(n))e[n]=r({},e[n],t[n]);else if(-1!==a.indexOf(n)){var l=e[n]instanceof Array?e[n]:[e[n]],c=t[n]instanceof Array?t[n]:[t[n]];e[n]=l.concat(c)}else if(-1!==o.indexOf(n))for(var u in t[n])if(e[n][u]){var d=e[n][u]instanceof Array?e[n][u]:[e[n][u]],h=t[n][u]instanceof Array?t[n][u]:[t[n][u]];e[n][u]=d.concat(h)}else e[n][u]=t[n][u];else if("hook"==n)for(var f in t[n])e[n][f]=e[n][f]?s(e[n][f],t[n][f]):t[n][f];else e[n]=t[n];else e[n]=t[n];return e}),{})}},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s={id:e+":"+i,css:a[1],media:a[2],sourceMap:a[3]};r[o]?r[o].parts.push(s):n.push(r[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,i){c=n,d=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],l=a[s.id];l.refs--,n.push(l)}for(t?m(o=r(e,t)):o=[],i=0;i<n.length;i++)if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(v(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function y(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+h+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=y()),t=_.bind(null,r,i,!1),n=_.bind(null,r,i,!0)}else r=y(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function w(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(h,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"4abb":function(e,t,n){var r=n("7a57");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("b2af7572",r,!0,{sourceMap:!1,shadowMode:!1})},"4ed8":function(e,t,n){var r=n("091b");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("2f6bee1a",r,!0,{sourceMap:!1,shadowMode:!1})},"556c":function(e,t,n){var r=n("eef2");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("1209fd47",r,!0,{sourceMap:!1,shadowMode:!1})},"65d9":function(e,t,n){"use strict";
|
||
/**
|
||
* vue-class-component v7.0.1
|
||
* (c) 2015-present Evan You
|
||
* @license MIT
|
||
*/Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&"object"===s(e)&&"default"in e?e.default:e}(n("8bbf")),i="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function a(e,t){o(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){o(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){o(e,t,n)}))}function o(e,t,n){(n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t)).forEach((function(r){var i=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,i,e,n):Reflect.defineMetadata(r,i,e)}))}var l={__proto__:[]}instanceof Array,c=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function u(e,t){void 0===t&&(t={}),t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(c.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){var t;return(t={})[e]=r.value,t}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return function(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var i={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(i[e]=r[e])})),i}(this,e)}});var o=e.__decorators__;o&&(o.forEach((function(e){return e(t)})),delete e.__decorators__);var s=Object.getPrototypeOf(e.prototype),l=s instanceof r?s.constructor:r,u=l.extend(t);return d(u,e,l),i&&a(u,e),u}function d(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if("prototype"!==r){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,r);if(!l){if("cid"===r)return;var o=Object.getOwnPropertyDescriptor(n,r);if(!function(e){var t=s(e);return null==e||"object"!==t&&"function"!==t}(a.value)&&o&&o.value===a.value)return}Object.defineProperty(e,r,a)}}}))}function h(e){return"function"==typeof e?u(e):function(t){return u(t,e)}}h.registerHooks=function(e){c.push.apply(c,e)},t.default=h,t.createDecorator=function(e){return function(t,n,r){var i="function"==typeof t?t:t.constructor;i.__decorators__||(i.__decorators__=[]),"number"!=typeof r&&(r=void 0),i.__decorators__.push((function(t){return e(t,n,r)}))}},t.mixins=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.extend({mixins:e})}},"7a57":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vue-slider{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.vue-slider-rail{position:relative;width:100%;height:100%;-webkit-transition-property:width,height,left,right,top,bottom;transition-property:width,height,left,right,top,bottom}.vue-slider-process{position:absolute;z-index:1}",""]),e.exports=t},8875:function(e,t,n){var r,i,a;"undefined"!=typeof self&&self,i=[],void 0===(a="function"==typeof(r=function(){return function(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(c){var e,t,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(c.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(c.stack),i=r&&r[1]||!1,a=r&&r[2]||!1,o=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");i===o&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=e.replace(t,"$1").trim());for(var l=0;l<s.length;l++){if("interactive"===s[l].readyState)return s[l];if(s[l].src===i)return s[l];if(i===o&&s[l].innerHTML&&s[l].innerHTML.trim()===n)return s[l]}return null}}})?r.apply(t,i):r)||(e.exports=a)},"8bbf":function(t,n){t.exports=e},eef2:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vue-slider-marks{position:relative;width:100%;height:100%}.vue-slider-mark{position:absolute;z-index:1}.vue-slider-ltr .vue-slider-mark,.vue-slider-rtl .vue-slider-mark{width:0;height:100%;top:50%}.vue-slider-ltr .vue-slider-mark-step,.vue-slider-rtl .vue-slider-mark-step{top:0}.vue-slider-ltr .vue-slider-mark-label,.vue-slider-rtl .vue-slider-mark-label{top:100%;margin-top:10px}.vue-slider-ltr .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ltr .vue-slider-mark-step{left:0}.vue-slider-ltr .vue-slider-mark-label{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vue-slider-rtl .vue-slider-mark{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.vue-slider-rtl .vue-slider-mark-step{right:0}.vue-slider-rtl .vue-slider-mark-label{right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.vue-slider-btt .vue-slider-mark,.vue-slider-ttb .vue-slider-mark{width:100%;height:0;left:50%}.vue-slider-btt .vue-slider-mark-step,.vue-slider-ttb .vue-slider-mark-step{left:0}.vue-slider-btt .vue-slider-mark-label,.vue-slider-ttb .vue-slider-mark-label{left:100%;margin-left:10px}.vue-slider-btt .vue-slider-mark{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.vue-slider-btt .vue-slider-mark-step{top:0}.vue-slider-btt .vue-slider-mark-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-slider-ttb .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ttb .vue-slider-mark-step{bottom:0}.vue-slider-ttb .vue-slider-mark-label{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.vue-slider-mark-label,.vue-slider-mark-step{position:absolute}",""]),e.exports=t},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"ERROR_TYPE",(function(){return F})),n.d(t,"VueSliderMark",(function(){return P})),n.d(t,"VueSliderDot",(function(){return M})),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2638"),l=n.n(o);function c(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}var u=n("8bbf"),d=n.n(u),h=n("65d9"),f=n.n(h);function p(e,t){return void 0===t&&(t={}),Object(h.createDecorator)((function(n,r){(n.props||(n.props={}))[r]=t,n.model={prop:r,event:e||r}}))}function m(e){return void 0===e&&(e={}),Object(h.createDecorator)((function(t,n){(t.props||(t.props={}))[n]=e}))}function y(e,t){void 0===t&&(t={});var n=t.deep,r=void 0!==n&&n,i=t.immediate,a=void 0!==i&&i;return Object(h.createDecorator)((function(t,n){"object"!==s(t.watch)&&(t.watch=Object.create(null));var i=t.watch;"object"!==s(i[e])||Array.isArray(i[e])?void 0===i[e]&&(i[e]=[]):i[e]=[i[e]],i[e].push({handler:n,deep:r,immediate:a})}))}function v(e){return(v="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n("4ed8");var M=function(){var e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(n,e);var t=b(n);function n(){return g(this,n),t.apply(this,arguments)}return function(e,t,n){t&&_(e.prototype,t),n&&_(e,n)}(n,[{key:"dragStart",value:function(e){if(this.disabled)return!1;this.$emit("drag-start")}},{key:"render",value:function(){var e=arguments[0];return e("div",{ref:"dot",class:this.dotClasses,on:{mousedown:this.dragStart,touchstart:this.dragStart}},[this.$slots.dot||e("div",{class:this.handleClasses,style:this.dotStyle}),"none"!==this.tooltip?e("div",{class:this.tooltipClasses},[this.$slots.tooltip||e("div",{class:this.tooltipInnerClasses,style:this.tooltipStyle},[e("span",{class:"vue-slider-dot-tooltip-text"},[this.tooltipValue])])]):null])}},{key:"dotClasses",get:function(){return["vue-slider-dot",{"vue-slider-dot-hover":"hover"===this.tooltip||"active"===this.tooltip,"vue-slider-dot-disabled":this.disabled,"vue-slider-dot-focus":this.focus}]}},{key:"handleClasses",get:function(){return["vue-slider-dot-handle",{"vue-slider-dot-handle-disabled":this.disabled,"vue-slider-dot-handle-focus":this.focus}]}},{key:"tooltipClasses",get:function(){return["vue-slider-dot-tooltip",["vue-slider-dot-tooltip-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-show":this.showTooltip}]}},{key:"tooltipInnerClasses",get:function(){return["vue-slider-dot-tooltip-inner",["vue-slider-dot-tooltip-inner-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-inner-disabled":this.disabled,"vue-slider-dot-tooltip-inner-focus":this.focus}]}},{key:"showTooltip",get:function(){switch(this.tooltip){case"always":return!0;case"none":return!1;case"focus":case"active":return!!this.focus;default:return!1}}},{key:"tooltipValue",get:function(){return this.tooltipFormatter?"string"==typeof this.tooltipFormatter?this.tooltipFormatter.replace(/\{value\}/,String(this.value)):this.tooltipFormatter(this.value):this.value}}]),n}(d.a);return c([m({default:0})],e.prototype,"value",void 0),c([m()],e.prototype,"tooltip",void 0),c([m()],e.prototype,"dotStyle",void 0),c([m()],e.prototype,"tooltipStyle",void 0),c([m({type:String,validator:function(e){return["top","right","bottom","left"].indexOf(e)>-1},required:!0})],e.prototype,"tooltipPlacement",void 0),c([m({type:[String,Function]})],e.prototype,"tooltipFormatter",void 0),c([m({type:Boolean,default:!1})],e.prototype,"focus",void 0),c([m({default:!1})],e.prototype,"disabled",void 0),c([f.a],e)}();function x(e){return(x="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var i=C(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n("556c");var Y,P=function(){var e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(n,e);var t=D(n);function n(){return S(this,n),t.apply(this,arguments)}return function(e,t,n){t&&L(e.prototype,t),n&&L(e,n)}(n,[{key:"labelClickHandle",value:function(e){e.stopPropagation(),this.$emit("pressLabel",this.mark.pos)}},{key:"render",value:function(){var e=arguments[0],t=this.mark;return e("div",{class:this.marksClasses},[this.$slots.step||e("div",{class:this.stepClasses,style:[this.stepStyle,t.style,t.active?this.stepActiveStyle:null,t.active?t.activeStyle:null]}),this.hideLabel?null:this.$slots.label||e("div",{class:this.labelClasses,style:[this.labelStyle,t.labelStyle,t.active?this.labelActiveStyle:null,t.active?t.labelActiveStyle:null],on:{click:this.labelClickHandle}},[t.label])])}},{key:"marksClasses",get:function(){return["vue-slider-mark",{"vue-slider-mark-active":this.mark.active}]}},{key:"stepClasses",get:function(){return["vue-slider-mark-step",{"vue-slider-mark-step-active":this.mark.active}]}},{key:"labelClasses",get:function(){return["vue-slider-mark-label",{"vue-slider-mark-label-active":this.mark.active}]}}]),n}(d.a);return c([m({required:!0})],e.prototype,"mark",void 0),c([m(Boolean)],e.prototype,"hideLabel",void 0),c([m()],e.prototype,"stepStyle",void 0),c([m()],e.prototype,"stepActiveStyle",void 0),c([m()],e.prototype,"labelStyle",void 0),c([m()],e.prototype,"labelActiveStyle",void 0),c([f.a],e)}(),O=function(e){return"number"==typeof e?"".concat(e,"px"):e},I=function(e,t,n){var r="targetTouches"in e?e.targetTouches[0]:e,i=function(e){var t=document.documentElement,n=document.body,r=e.getBoundingClientRect();return{y:r.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||n.clientTop||0),x:r.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||n.clientLeft||0)}}(t),a={x:r.pageX-i.x,y:r.pageY-i.y};return{x:n?t.offsetWidth-a.x:a.x,y:n?t.offsetHeight-a.y:a.y}};function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT=37]="LEFT",e[e.UP=38]="UP",e[e.RIGHT=39]="RIGHT",e[e.DOWN=40]="DOWN"}(Y||(Y={}));var N,F,j=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.num=t}return function(e,t,n){t&&R(e.prototype,t),n&&R(e,n)}(e,[{key:"decimal",value:function(e,t){var n=this.num,r=this.getDecimalLen(n),i=this.getDecimalLen(e),a=0;switch(t){case"+":a=this.getExponent(r,i),this.num=(this.safeRoundUp(n,a)+this.safeRoundUp(e,a))/a;break;case"-":a=this.getExponent(r,i),this.num=(this.safeRoundUp(n,a)-this.safeRoundUp(e,a))/a;break;case"*":this.num=this.safeRoundUp(this.safeRoundUp(n,this.getExponent(r)),this.safeRoundUp(e,this.getExponent(i)))/this.getExponent(r+i);break;case"/":a=this.getExponent(r,i),this.num=this.safeRoundUp(n,a)/this.safeRoundUp(e,a);break;case"%":a=this.getExponent(r,i),this.num=this.safeRoundUp(n,a)%this.safeRoundUp(e,a)/a}return this}},{key:"plus",value:function(e){return this.decimal(e,"+")}},{key:"minus",value:function(e){return this.decimal(e,"-")}},{key:"multiply",value:function(e){return this.decimal(e,"*")}},{key:"divide",value:function(e){return this.decimal(e,"/")}},{key:"remainder",value:function(e){return this.decimal(e,"%")}},{key:"toNumber",value:function(){return this.num}},{key:"getDecimalLen",value:function(e){var t="".concat(e).split("e");return("".concat(t[0]).split(".")[1]||"").length-(t[1]?+t[1]:0)}},{key:"getExponent",value:function(e,t){return Math.pow(10,void 0!==t?Math.max(e,t):e)}},{key:"safeRoundUp",value:function(e,t){return Math.round(e*t)}}]),e}();function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(e,t)||z(e,t)||function(){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 W(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||z(e)||function(){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 z(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.VALUE=1]="VALUE",e[e.INTERVAL=2]="INTERVAL",e[e.MIN=3]="MIN",e[e.MAX=4]="MAX",e[e.ORDER=5]="ORDER"}(F||(F={}));var Q=(G(N={},F.VALUE,'The type of the "value" is illegal'),G(N,F.INTERVAL,'The prop "interval" is invalid, "(max - min)" must be divisible by "interval"'),G(N,F.MIN,'The "value" must be greater than or equal to the "min".'),G(N,F.MAX,'The "value" must be less than or equal to the "max".'),G(N,F.ORDER,'When "order" is false, the parameters "minRange", "maxRange", "fixed", "enabled" are invalid.'),N),J=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.dotsPos=[],this.dotsValue=[],this.cacheRangeDir={},this.data=t.data,this.max=t.max,this.min=t.min,this.interval=t.interval,this.order=t.order,this.marks=t.marks,this.included=t.included,this.process=t.process,this.adsorb=t.adsorb,this.dotOptions=t.dotOptions,this.onError=t.onError,this.order?(this.minRange=t.minRange||0,this.maxRange=t.maxRange||0,this.enableCross=t.enableCross,this.fixed=t.fixed):((t.minRange||t.maxRange||!t.enableCross||t.fixed)&&this.emitError(F.ORDER),this.minRange=0,this.maxRange=0,this.enableCross=!0,this.fixed=!1),this.setValue(t.value)}return function(e,t,n){t&&V(e.prototype,t),n&&V(e,n)}(e,[{key:"setValue",value:function(e){this.setDotsValue(Array.isArray(e)?W(e):[e],!0)}},{key:"setDotsValue",value:function(e,t){this.dotsValue=e,t&&this.syncDotsPos()}},{key:"setDotsPos",value:function(e){var t=this,n=this.order?W(e).sort((function(e,t){return e-t})):e;this.dotsPos=n,this.setDotsValue(n.map((function(e){return t.getValueByPos(e)})),this.adsorb)}},{key:"getValueByPos",value:function(e){var t=this.parsePos(e);if(this.included){var n=100;this.markList.forEach((function(r){var i=Math.abs(r.pos-e);i<n&&(n=i,t=r.value)}))}return t}},{key:"syncDotsPos",value:function(){var e=this;this.dotsPos=this.dotsValue.map((function(t){return e.parseValue(t)}))}},{key:"getRecentDot",value:function(e){var t=this.dotsPos.map((function(t){return Math.abs(t-e)}));return t.indexOf(Math.min.apply(Math,W(t)))}},{key:"getIndexByValue",value:function(e){return this.data?this.data.indexOf(e):new j(+e).minus(this.min).divide(this.interval).toNumber()}},{key:"getValueByIndex",value:function(e){return e<0?e=0:e>this.total&&(e=this.total),this.data?this.data[e]:new j(e).multiply(this.interval).plus(this.min).toNumber()}},{key:"setDotPos",value:function(e,t){var n=(e=this.getValidPos(e,t).pos)-this.dotsPos[t];if(n){var r=new Array(this.dotsPos.length);this.fixed?r=this.getFixedChangePosArr(n,t):this.minRange||this.maxRange?r=this.getLimitRangeChangePosArr(e,n,t):r[t]=n,this.setDotsPos(this.dotsPos.map((function(e,t){return e+(r[t]||0)})))}}},{key:"getFixedChangePosArr",value:function(e,t){var n=this;return this.dotsPos.forEach((function(r,i){if(i!==t){var a=n.getValidPos(r+e,i),o=a.pos;a.inRange||(e=Math.min(Math.abs(o-r),Math.abs(e))*(e<0?-1:1))}})),this.dotsPos.map((function(t){return e}))}},{key:"getLimitRangeChangePosArr",value:function(e,t,n){var r=this,i=[{index:n,changePos:t}],a=t;return[this.minRange,this.maxRange].forEach((function(o,s){if(!o)return!1;for(var l,c=0===s,u=t>0,d=function(e,t){var n=Math.abs(e-t);return c?n<r.minRangeDir:n>r.maxRangeDir},h=n+(l=c?u?1:-1:u?-1:1),f=r.dotsPos[h],p=e;r.isPos(f)&&d(f,p);){var m=r.getValidPos(f+a,h).pos;i.push({index:h,changePos:m-f}),h+=l,p=m,f=r.dotsPos[h]}})),this.dotsPos.map((function(e,t){var n=i.filter((function(e){return e.index===t}));return n.length?n[0].changePos:0}))}},{key:"isPos",value:function(e){return"number"==typeof e}},{key:"getValidPos",value:function(e,t){var n=this.valuePosRange[t],r=!0;return e<n[0]?(e=n[0],r=!1):e>n[1]&&(e=n[1],r=!1),{pos:e,inRange:r}}},{key:"parseValue",value:function(e){if(this.data)e=this.data.indexOf(e);else if("number"==typeof e||"string"==typeof e){if((e=+e)<this.min)return this.emitError(F.MIN),0;if(e>this.max)return this.emitError(F.MAX),0;if("number"!=typeof e||e!=e)return this.emitError(F.VALUE),0;e=new j(e).minus(this.min).divide(this.interval).toNumber()}var t=new j(e).multiply(this.gap).toNumber();return t<0?0:t>100?100:t}},{key:"parsePos",value:function(e){var t=Math.round(e/this.gap);return this.getValueByIndex(t)}},{key:"isActiveByPos",value:function(e){return this.processArray.some((function(t){var n=H(t,2),r=n[0],i=n[1];return e>=r&&e<=i}))}},{key:"getValues",value:function(){if(this.data)return this.data;for(var e=[],t=0;t<=this.total;t++)e.push(new j(t).multiply(this.interval).plus(this.min).toNumber());return e}},{key:"getRangeDir",value:function(e){return e?new j(e).divide(new j(this.data?this.data.length-1:this.max).minus(this.data?0:this.min).toNumber()).multiply(100).toNumber():100}},{key:"emitError",value:function(e){this.onError&&this.onError(e,Q[e])}},{key:"getDotRange",value:function(e,t,n){if(!this.dotOptions)return n;var r=Array.isArray(this.dotOptions)?this.dotOptions[e]:this.dotOptions;return r&&void 0!==r[t]?this.parseValue(r[t]):n}},{key:"markList",get:function(){var e=this;if(!this.marks)return[];var t=function(t,n){var r=e.parseValue(t);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){G(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({pos:r,value:t,label:t,active:e.isActiveByPos(r)},n)};return!0===this.marks?this.getValues().map((function(e){return t(e)})):"[object Object]"===Object.prototype.toString.call(this.marks)?Object.keys(this.marks).sort((function(e,t){return+e-+t})).map((function(n){var r=e.marks[n];return t(n,"string"!=typeof r?r:{label:r})})):Array.isArray(this.marks)?this.marks.map((function(e){return t(e)})):"function"==typeof this.marks?this.getValues().map((function(t){return{value:t,result:e.marks(t)}})).filter((function(e){return!!e.result})).map((function(e){var n=e.value,r=e.result;return t(n,r)})):[]}},{key:"processArray",get:function(){if(this.process){if("function"==typeof this.process)return this.process(this.dotsPos);if(1===this.dotsPos.length)return[[0,this.dotsPos[0]]];if(this.dotsPos.length>1)return[[Math.min.apply(Math,W(this.dotsPos)),Math.max.apply(Math,W(this.dotsPos))]]}return[]}},{key:"total",get:function(){var e;return(e=this.data?this.data.length-1:new j(this.max).minus(this.min).divide(this.interval).toNumber())-Math.floor(e)!=0?(this.emitError(F.INTERVAL),0):e}},{key:"gap",get:function(){return 100/this.total}},{key:"minRangeDir",get:function(){return this.cacheRangeDir[this.minRange]?this.cacheRangeDir[this.minRange]:this.cacheRangeDir[this.minRange]=this.getRangeDir(this.minRange)}},{key:"maxRangeDir",get:function(){return this.cacheRangeDir[this.maxRange]?this.cacheRangeDir[this.maxRange]:this.cacheRangeDir[this.maxRange]=this.getRangeDir(this.maxRange)}},{key:"valuePosRange",get:function(){var e=this,t=this.dotsPos,n=[];return t.forEach((function(r,i){n.push([Math.max(e.minRange?e.minRangeDir*i:0,e.enableCross?0:t[i-1]||0,e.getDotRange(i,"min",0)),Math.min(e.minRange?100-e.minRangeDir*(t.length-1-i):100,e.enableCross?100:t[i+1]||100,e.getDotRange(i,"max",100))])})),n}},{key:"dotsIndex",get:function(){var e=this;return this.dotsValue.map((function(t){return e.getIndexByValue(t)}))}}]),e}();function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.states=0,this.map=t}return function(e,t,n){t&&q(e.prototype,t),n&&q(e,n)}(e,[{key:"add",value:function(e){this.states|=e}},{key:"delete",value:function(e){this.states&=~e}},{key:"toggle",value:function(e){this.has(e)?this.delete(e):this.add(e)}},{key:"has",value:function(e){return!!(this.states&e)}}]),e}();function X(e){return(X="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(e,t)||re(e,t)||function(){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 te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e){return function(e){if(Array.isArray(e))return ie(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||re(e)||function(){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 re(e,t){if(e){if("string"==typeof e)return ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ie(e,t):void 0}}function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ue(e);if(t){var i=ue(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ce(this,n)}}function ce(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n("4abb");var de={None:0,Drag:2,Focus:4},he=function(){var e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(n,e);var t=le(n);function n(){var e;return ae(this,n),(e=t.apply(this,arguments)).states=new K(de),e.scale=1,e.focusDotIndex=0,e}return function(e,t,n){t&&oe(e.prototype,t),n&&oe(e,n)}(n,[{key:"onValueChanged",value:function(){this.control&&!this.states.has(de.Drag)&&this.isNotSync&&this.control.setValue(this.value)}},{key:"created",value:function(){this.initControl()}},{key:"mounted",value:function(){this.bindEvent()}},{key:"beforeDestroy",value:function(){this.unbindEvent()}},{key:"bindEvent",value:function(){document.addEventListener("touchmove",this.dragMove,{passive:!1}),document.addEventListener("touchend",this.dragEnd,{passive:!1}),document.addEventListener("mousedown",this.blurHandle),document.addEventListener("mousemove",this.dragMove),document.addEventListener("mouseup",this.dragEnd),document.addEventListener("mouseleave",this.dragEnd),document.addEventListener("keydown",this.keydownHandle)}},{key:"unbindEvent",value:function(){document.removeEventListener("touchmove",this.dragMove),document.removeEventListener("touchend",this.dragEnd),document.removeEventListener("mousedown",this.blurHandle),document.removeEventListener("mousemove",this.dragMove),document.removeEventListener("mouseup",this.dragEnd),document.removeEventListener("mouseleave",this.dragEnd),document.removeEventListener("keydown",this.keydownHandle)}},{key:"setScale",value:function(){this.scale=new j(Math.floor(this.isHorizontal?this.$el.offsetWidth:this.$el.offsetHeight)).divide(100).toNumber()}},{key:"initControl",value:function(){var e=this;this.control=new J({value:this.value,data:this.data,enableCross:this.enableCross,fixed:this.fixed,max:this.max,min:this.min,interval:this.interval,minRange:this.minRange,maxRange:this.maxRange,order:this.order,marks:this.marks,included:this.included,process:this.process,adsorb:this.adsorb,dotOptions:this.dotOptions,onError:this.emitError}),["data","enableCross","fixed","max","min","interval","minRange","maxRange","order","marks","process","adsorb","included","dotOptions"].forEach((function(t){e.$watch(t,(function(n){if("data"===t&&Array.isArray(e.control.data)&&Array.isArray(n)&&e.control.data.length===n.length&&n.every((function(t,n){return t===e.control.data[n]})))return!1;e.control[t]=n,["data","max","min","interval"].indexOf(t)>-1&&e.control.syncDotsPos()}))}))}},{key:"syncValueByPos",value:function(){var e=this.control.dotsValue;this.isDiff(e,Array.isArray(this.value)?this.value:[this.value])&&this.$emit("change",1===e.length?e[0]:ne(e),this.focusDotIndex)}},{key:"isDiff",value:function(e,t){return e.length!==t.length||e.some((function(e,n){return e!==t[n]}))}},{key:"emitError",value:function(e,t){this.silent||console.error("[VueSlider error]: ".concat(t)),this.$emit("error",e,t)}},{key:"dragStartOnProcess",value:function(e){if(this.dragOnClick){this.setScale();var t=this.getPosByEvent(e),n=this.control.getRecentDot(t);if(this.dots[n].disabled)return;this.dragStart(n),this.control.setDotPos(t,this.focusDotIndex),this.lazy||this.syncValueByPos()}}},{key:"dragStart",value:function(e){this.focusDotIndex=e,this.setScale(),this.states.add(de.Drag),this.states.add(de.Focus),this.$emit("drag-start",this.focusDotIndex)}},{key:"dragMove",value:function(e){if(!this.states.has(de.Drag))return!1;e.preventDefault();var t=this.getPosByEvent(e);this.isCrossDot(t),this.control.setDotPos(t,this.focusDotIndex),this.lazy||this.syncValueByPos();var n=this.control.dotsValue;this.$emit("dragging",1===n.length?n[0]:ne(n),this.focusDotIndex)}},{key:"isCrossDot",value:function(e){if(this.canSort){var t=this.focusDotIndex,n=e;n>this.dragRange[1]?(n=this.dragRange[1],this.focusDotIndex++):n<this.dragRange[0]&&(n=this.dragRange[0],this.focusDotIndex--),t!==this.focusDotIndex&&this.control.setDotPos(n,t)}}},{key:"dragEnd",value:function(){var e=this;if(!this.states.has(de.Drag))return!1;setTimeout((function(){e.lazy&&e.syncValueByPos(),e.included&&e.isNotSync?e.control.setValue(e.value):e.control.syncDotsPos(),e.states.delete(de.Drag),e.useKeyboard||e.states.delete(de.Focus),e.$emit("drag-end",e.focusDotIndex)}))}},{key:"blurHandle",value:function(e){if(!this.states.has(de.Focus)||!this.$refs.container||this.$refs.container.contains(e.target))return!1;this.states.delete(de.Focus)}},{key:"clickHandle",value:function(e){if(!this.clickable||this.disabled)return!1;if(!this.states.has(de.Drag)){this.setScale();var t=this.getPosByEvent(e);this.setValueByPos(t)}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.states.add(de.Focus),this.focusDotIndex=e}},{key:"blur",value:function(){this.states.delete(de.Focus)}},{key:"getValue",value:function(){var e=this.control.dotsValue;return 1===e.length?e[0]:e}},{key:"getIndex",value:function(){var e=this.control.dotsIndex;return 1===e.length?e[0]:e}},{key:"setValue",value:function(e){this.control.setValue(Array.isArray(e)?ne(e):[e]),this.syncValueByPos()}},{key:"setIndex",value:function(e){var t=this,n=Array.isArray(e)?e.map((function(e){return t.control.getValueByIndex(e)})):this.control.getValueByIndex(e);this.setValue(n)}},{key:"setValueByPos",value:function(e){var t=this,n=this.control.getRecentDot(e);if(this.disabled||this.dots[n].disabled)return!1;this.focusDotIndex=n,this.control.setDotPos(e,n),this.syncValueByPos(),this.useKeyboard&&this.states.add(de.Focus),setTimeout((function(){t.included&&t.isNotSync?t.control.setValue(t.value):t.control.syncDotsPos()}))}},{key:"keydownHandle",value:function(e){var t=this;if(!this.useKeyboard||!this.states.has(de.Focus))return!1;var n=this.included&&this.marks,r=function(e,t){if(t.hook){var n=t.hook(e);if("function"==typeof n)return n;if(!n)return null}switch(e.keyCode){case Y.UP:return function(e){return"ttb"===t.direction?e-1:e+1};case Y.RIGHT:return function(e){return"rtl"===t.direction?e-1:e+1};case Y.DOWN:return function(e){return"ttb"===t.direction?e+1:e-1};case Y.LEFT:return function(e){return"rtl"===t.direction?e+1:e-1};case Y.END:return function(){return t.max};case Y.HOME:return function(){return t.min};case Y.PAGE_UP:return function(e){return e+10};case Y.PAGE_DOWN:return function(e){return e-10};default:return null}}(e,{direction:this.direction,max:n?this.control.markList.length-1:this.control.total,min:0,hook:this.keydownHook});if(r){e.preventDefault();var i=-1,a=0;n?(this.control.markList.some((function(e,n){return e.value===t.control.dotsValue[t.focusDotIndex]&&(i=r(n),!0)})),i<0?i=0:i>this.control.markList.length-1&&(i=this.control.markList.length-1),a=this.control.markList[i].pos):(i=r(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])),a=this.control.parseValue(this.control.getValueByIndex(i))),this.isCrossDot(a),this.control.setDotPos(a,this.focusDotIndex),this.syncValueByPos()}}},{key:"getPosByEvent",value:function(e){return I(e,this.$el,this.isReverse)[this.isHorizontal?"x":"y"]/this.scale}},{key:"renderSlot",value:function(e,t,n,r){var i=this.$createElement,a=this.$scopedSlots[e];return a?r?a(t):i("template",{slot:e},[a(t)]):n}},{key:"render",value:function(){var e=this,t=arguments[0];return t("div",l()([{ref:"container",class:this.containerClasses,style:this.containerStyles,on:{click:this.clickHandle,touchstart:this.dragStartOnProcess,mousedown:this.dragStartOnProcess}},this.$attrs]),[t("div",{class:"vue-slider-rail",style:this.railStyle},[this.processArray.map((function(n,r){return e.renderSlot("process",n,t("div",{class:"vue-slider-process",key:"process-".concat(r),style:n.style}),!0)})),this.marks?t("div",{class:"vue-slider-marks"},[this.control.markList.map((function(n,r){var i;return e.renderSlot("mark",n,t("vue-slider-mark",{key:"mark-".concat(r),attrs:{mark:n,hideLabel:e.hideLabel,stepStyle:e.stepStyle,stepActiveStyle:e.stepActiveStyle,labelStyle:e.labelStyle,labelActiveStyle:e.labelActiveStyle},style:(i={},te(i,e.isHorizontal?"height":"width","100%"),te(i,e.isHorizontal?"width":"height",e.tailSize),te(i,e.mainDirection,"".concat(n.pos,"%")),i),on:{pressLabel:function(t){return e.clickable&&e.setValueByPos(t)}}},[e.renderSlot("step",n,null),e.renderSlot("label",n,null)]),!0)}))]):null,this.dots.map((function(n,r){var i;return t("vue-slider-dot",{ref:"dot-".concat(r),key:"dot-".concat(r),attrs:{value:n.value,disabled:n.disabled,focus:n.focus,"dot-style":[n.style,n.disabled?n.disabledStyle:null,n.focus?n.focusStyle:null],tooltip:n.tooltip||e.tooltip,"tooltip-style":[e.tooltipStyle,n.tooltipStyle,n.disabled?n.tooltipDisabledStyle:null,n.focus?n.tooltipFocusStyle:null],"tooltip-formatter":Array.isArray(e.tooltipFormatter)?e.tooltipFormatter[r]:e.tooltipFormatter,"tooltip-placement":e.tooltipDirections[r]},style:[e.dotBaseStyle,(i={},te(i,e.mainDirection,"".concat(n.pos,"%")),te(i,"transition","".concat(e.mainDirection," ").concat(e.animateTime,"s")),i)],on:{"drag-start":function(){return e.dragStart(r)}}},[e.renderSlot("dot",n,null),e.renderSlot("tooltip",n,null)])})),this.renderSlot("default",{value:this.getValue()},null,!0)])])}},{key:"tailSize",get:function(){return O((this.isHorizontal?this.height:this.width)||4)}},{key:"containerClasses",get:function(){return["vue-slider",["vue-slider-".concat(this.direction)],{"vue-slider-disabled":this.disabled}]}},{key:"containerStyles",get:function(){var e=ee(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),t=e[0],n=e[1],r=this.width?O(this.width):this.isHorizontal?"auto":O(4),i=this.height?O(this.height):this.isHorizontal?O(4):"auto";return{padding:this.contained?"".concat(n/2,"px ").concat(t/2,"px"):this.isHorizontal?"".concat(n/2,"px 0"):"0 ".concat(t/2,"px"),width:r,height:i}}},{key:"processArray",get:function(){var e=this;return this.control.processArray.map((function(t,n){var r,i=ee(t,3),a=i[0],o=i[1],s=i[2];if(a>o){var l=[o,a];a=l[0],o=l[1]}var c=e.isHorizontal?"width":"height";return{start:a,end:o,index:n,style:$($((r={},te(r,e.isHorizontal?"height":"width","100%"),te(r,e.isHorizontal?"top":"left",0),te(r,e.mainDirection,"".concat(a,"%")),te(r,c,"".concat(o-a,"%")),te(r,"transitionProperty","".concat(c,",").concat(e.mainDirection)),te(r,"transitionDuration","".concat(e.animateTime,"s")),r),e.processStyle),s)}}))}},{key:"dotBaseStyle",get:function(){var e,t=ee(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),n=t[0],r=t[1];return e=this.isHorizontal?te({transform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),WebkitTransform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),top:"50%"},"ltr"===this.direction?"left":"right","0"):te({transform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),WebkitTransform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),left:"50%"},"btt"===this.direction?"bottom":"top","0"),$({width:"".concat(n,"px"),height:"".concat(r,"px")},e)}},{key:"mainDirection",get:function(){switch(this.direction){case"ltr":return"left";case"rtl":return"right";case"btt":return"bottom";case"ttb":return"top"}}},{key:"isHorizontal",get:function(){return"ltr"===this.direction||"rtl"===this.direction}},{key:"isReverse",get:function(){return"rtl"===this.direction||"btt"===this.direction}},{key:"tooltipDirections",get:function(){var e=this.tooltipPlacement||(this.isHorizontal?"top":"left");return Array.isArray(e)?e:this.dots.map((function(){return e}))}},{key:"dots",get:function(){var e=this;return this.control.dotsPos.map((function(t,n){return $({pos:t,index:n,value:e.control.dotsValue[n],focus:e.states.has(de.Focus)&&e.focusDotIndex===n,disabled:e.disabled,style:e.dotStyle},(Array.isArray(e.dotOptions)?e.dotOptions[n]:e.dotOptions)||{})}))}},{key:"animateTime",get:function(){return this.states.has(de.Drag)?0:this.duration}},{key:"canSort",get:function(){return this.order&&!this.minRange&&!this.maxRange&&!this.fixed&&this.enableCross}},{key:"isNotSync",get:function(){var e=this.control.dotsValue;return Array.isArray(this.value)?this.value.length!==e.length||this.value.some((function(t,n){return t!==e[n]})):this.value!==e[0]}},{key:"dragRange",get:function(){var e=this.dots[this.focusDotIndex-1],t=this.dots[this.focusDotIndex+1];return[e?e.pos:-1/0,t?t.pos:1/0]}}]),n}(d.a);return c([p("change",{default:0})],e.prototype,"value",void 0),c([m({type:Boolean,default:!1})],e.prototype,"silent",void 0),c([m({default:"ltr",validator:function(e){return["ltr","rtl","ttb","btt"].indexOf(e)>-1}})],e.prototype,"direction",void 0),c([m({type:[Number,String]})],e.prototype,"width",void 0),c([m({type:[Number,String]})],e.prototype,"height",void 0),c([m({default:14})],e.prototype,"dotSize",void 0),c([m({default:!1})],e.prototype,"contained",void 0),c([m({type:Number,default:0})],e.prototype,"min",void 0),c([m({type:Number,default:100})],e.prototype,"max",void 0),c([m({type:Number,default:1})],e.prototype,"interval",void 0),c([m({type:Boolean,default:!1})],e.prototype,"disabled",void 0),c([m({type:Boolean,default:!0})],e.prototype,"clickable",void 0),c([m({type:Boolean,default:!1})],e.prototype,"dragOnClick",void 0),c([m({type:Number,default:.5})],e.prototype,"duration",void 0),c([m(Array)],e.prototype,"data",void 0),c([m({type:Boolean,default:!1})],e.prototype,"lazy",void 0),c([m({type:String,validator:function(e){return["none","always","focus","hover","active"].indexOf(e)>-1},default:"active"})],e.prototype,"tooltip",void 0),c([m({type:[String,Array],validator:function(e){return(Array.isArray(e)?e:[e]).every((function(e){return["top","right","bottom","left"].indexOf(e)>-1}))}})],e.prototype,"tooltipPlacement",void 0),c([m({type:[String,Array,Function]})],e.prototype,"tooltipFormatter",void 0),c([m({type:Boolean,default:!1})],e.prototype,"useKeyboard",void 0),c([m(Function)],e.prototype,"keydownHook",void 0),c([m({type:Boolean,default:!0})],e.prototype,"enableCross",void 0),c([m({type:Boolean,default:!1})],e.prototype,"fixed",void 0),c([m({type:Boolean,default:!0})],e.prototype,"order",void 0),c([m(Number)],e.prototype,"minRange",void 0),c([m(Number)],e.prototype,"maxRange",void 0),c([m({type:[Boolean,Object,Array,Function],default:!1})],e.prototype,"marks",void 0),c([m({type:[Boolean,Function],default:!0})],e.prototype,"process",void 0),c([m(Boolean)],e.prototype,"included",void 0),c([m(Boolean)],e.prototype,"adsorb",void 0),c([m(Boolean)],e.prototype,"hideLabel",void 0),c([m()],e.prototype,"dotOptions",void 0),c([m()],e.prototype,"railStyle",void 0),c([m()],e.prototype,"processStyle",void 0),c([m()],e.prototype,"dotStyle",void 0),c([m()],e.prototype,"tooltipStyle",void 0),c([m()],e.prototype,"stepStyle",void 0),c([m()],e.prototype,"stepActiveStyle",void 0),c([m()],e.prototype,"labelStyle",void 0),c([m()],e.prototype,"labelActiveStyle",void 0),c([y("value")],e.prototype,"onValueChanged",null),c([f()({data:function(){return{control:null}},components:{VueSliderDot:M,VueSliderMark:P}})],e)}();he.VueSliderMark=P,he.VueSliderDot=M;var fe=he;t.default=fe}}).default}(n("8bbf"))},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s={id:e+":"+i,css:a[1],media:a[2],sourceMap:a[3]};r[o]?r[o].parts.push(s):n.push(r[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,i){c=n,d=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],l=a[s.id];l.refs--,n.push(l)}for(t?m(o=r(e,t)):o=[],i=0;i<n.length;i++)if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(v(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function y(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+h+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=y()),t=_.bind(null,r,i,!1),n=_.bind(null,r,i,!0)}else r=y(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function w(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(h,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"49ad":function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var i=e.get(n);t[i]||(t[i]=[]),t[i].push(r)},removeListener:function(e,t){for(var r=n(e),i=0,a=r.length;i<a;++i)if(r[i]===t){r.splice(i,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},"4a59":function(e,t,n){var r=n("9b43"),i=n("1fa8"),a=n("33a4"),o=n("cb7c"),s=n("9def"),l=n("27ee"),c={},u={};(t=e.exports=function(e,t,n,d,h){var f,p,m,y,v=h?function(){return e}:l(e),g=r(n,d,t?2:1),_=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(a(v)){for(f=s(e.length);f>_;_++)if((y=t?g(o(p=e[_])[0],p[1]):g(e[_]))===c||y===u)return y}else for(m=v.call(e);!(p=m.next()).done;)if((y=i(m,g,p.value,t))===c||y===u)return y}).BREAK=c,t.RETURN=u},"4b0b":function(e,t,n){"use strict";var r=n("9bfc");n.n(r).a},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},5058:function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw new Error("setId required the element to have a resize detection state.");var i=t.generate();return r.id=i,i}}}},"50bf":function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var r=e[t];return null!=r||void 0===n?r:n}},"520a":function(e,t,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,a=String.prototype.replace,o=i,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1];(l||c)&&(o=function(e){var t,n,o,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",r.call(d))),l&&(t=d[s]),o=i.call(d,e),l&&o&&(d[s]=d.global?o.index+o[0].length:t),c&&o&&o.length>1&&a.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),e.exports=o},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"551c":function(e,t,n){"use strict";var r,i,a,o,s=n("2d00"),l=n("7726"),c=n("9b43"),u=n("23c6"),d=n("5ca1"),h=n("d3f4"),f=n("d8e8"),p=n("f605"),m=n("4a59"),y=n("ebd6"),v=n("1991").set,g=n("8079")(),_=n("a5b8"),w=n("9c80"),b=n("a25f"),A=n("bcaa"),k="Promise",M=l.TypeError,x=l.process,S=x&&x.versions,L=S&&S.v8||"",T=l[k],D="process"==u(x),E=function(){},C=i=_.f,Y=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(E,E)};return(D||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==L.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},O=function(e,t){if(!e._n){e._n=!0;var n=e._c;g((function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),o=!0)),n===t.promise?c(M("Promise-chain cycle")):(a=P(n))?a.call(n,l,c):l(n)):c(r)}catch(e){u&&!o&&u.exit(),c(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)}))}},I=function(e){v.call(l,(function(){var t,n,r,i=e._v,a=R(e);if(a&&(t=w((function(){D?x.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=D||R(e)?2:1),e._a=void 0,a&&t.e)throw t.v}))},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;D?x.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},j=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw M("Promise can't be resolved itself");(n=P(t))?g((function(){var i={_w:r,_d:!1};try{n.call(t,c(e,i,1),c(F,i,1))}catch(e){F.call(i,e)}})):(r._v=t,r._s=1,O(r,!1))}catch(e){F.call({_w:r,_d:!1},e)}}};Y||(T=function(e){p(this,T,k,"_h"),f(e),r.call(this);try{e(c(j,this,1),c(F,this,1))}catch(e){F.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("dcbc")(T.prototype,{then:function(e,t){var n=C(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=D?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(j,e,1),this.reject=c(F,e,1)},_.f=C=function(e){return e===T||e===o?new a(e):i(e)}),d(d.G+d.W+d.F*!Y,{Promise:T}),n("7f20")(T,k),n("7a56")(k),o=n("8378")[k],d(d.S+d.F*!Y,k,{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!Y),k,{resolve:function(e){return A(s&&this===o?T:this,e)}}),d(d.S+d.F*!(Y&&n("5cc5")((function(e){T.all(e).catch(E)}))),k,{all:function(e){var t=this,n=C(t),r=n.resolve,i=n.reject,a=w((function(){var n=[],a=0,o=1;m(e,!1,(function(e){var s=a++,l=!1;n.push(void 0),o++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--o||r(n))}),i)})),--o||r(n)}));return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,i=w((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(e,t,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5577:function(e,t,n){var r=n("716f");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("e84da2fe",r,!0,{sourceMap:!1,shadowMode:!1})},5661:function(e,t,n){var r=n("e6a8");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("d9a8fa16",r,!0,{sourceMap:!1,shadowMode:!1})},"5be5":function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",c=function e(t,n,c){var u,d,h,f,p=t&e.F,m=t&e.G,y=t&e.P,v=t&e.B,g=m?r:t&e.S?r[n]||(r[n]={}):(r[n]||{})[l],_=m?i:i[n]||(i[n]={}),w=_[l]||(_[l]={});for(u in m&&(c=n),c)h=((d=!p&&g&&void 0!==g[u])?g:c)[u],f=v&&d?s(h,r):y&&"function"==typeof h?s(Function.call,h):h,g&&o(g,u,h,t&e.U),_[u]!=h&&a(_,u,f),y&&w[u]!=h&&(w[u]=h)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5cc5":function(e,t,n){var r=n("2b4c")("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},"5df3":function(e,t,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!==s(a))throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"63d9":function(e,t,n){n("ec30")("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"67ab":function(e,t,n){var r=n("ca5a")("meta"),i=n("d3f4"),a=n("69a8"),o=n("86cc").f,l=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),d=function(e){o(e,r,{value:{i:"O"+ ++l,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==s(e)?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!c(e))return"F";if(!t)return"E";d(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!c(e))return!0;if(!t)return!1;d(e)}return e[r].w},onFreeze:function(e){return u&&h.NEED&&c(e)&&!a(e,r)&&d(e),e}}},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),a=n("9e1e"),o="toString",s=/./[o],l=function(e){n("2aba")(RegExp.prototype,o,e,!0)};n("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)})):s.name!=o&&l((function(){return s.call(this)}))},"6c7b":function(e,t,n){var r=n("5ca1");r(r.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"716f":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,".vod-wins[data-v-7eb6e3ed]{-webkit-box-flex:100;-ms-flex-positive:100;flex-grow:100;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.vod-times[data-v-7eb6e3ed]{display:block;overflow-y:hidden;position:relative}.times-panel[data-v-7eb6e3ed]{position:absolute;width:100%;border:none;margin:0 0;padding:0 0}.vod-time-row[data-v-7eb6e3ed]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;background-color:#121212}.vod-time-left[data-v-7eb6e3ed],.vod-time-row[data-v-7eb6e3ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.vod-time-left[data-v-7eb6e3ed]{width:60px;padding:0 5px;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.calendar-container[data-v-7eb6e3ed]{right:10px;bottom:100px;z-index:20;position:absolute}.err-msg[data-v-7eb6e3ed]{color:red;font:18px Arial;font-weight:bolder}",""])},7514:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),a="find",o=!0;a in[]&&Array(1)[a]((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a56":function(e,t,n){"use strict";var r=n("7726"),i=n("86cc"),a=n("9e1e"),o=n("2b4c")("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},"7aa1":function(e,t,n){"use strict";var r=n("14e8");n.n(r).a},"7bbc":function(e,t,n){var r=n("6821"),i=n("9093").f,a={}.toString,o="object"==("undefined"==typeof window?"undefined":s(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},"7da8":function(e,t,n){var r=n("852f");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("043b7139",r,!0,{sourceMap:!1,shadowMode:!1})},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("9e1e")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n("2d95")(o);e.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var d=!0,h=document.createTextNode("");new a(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8378:function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"852f":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{height:15px;bottom:0}.ps__rail-x,.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;position:absolute}.ps__rail-y{width:15px;right:0}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}",""])},"86cb":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,".play-pb[data-v-44448bc0]{height:20px;position:relative;z-index:100;opacity:.7;margin:0 5px 0 5px}",""])},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"899a":function(e,t,n){var r=n("a107");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("66a109b7",r,!0,{sourceMap:!1,shadowMode:!1})},"8a81":function(e,t,n){"use strict";var r=n("7726"),i=n("69a8"),a=n("9e1e"),o=n("5ca1"),l=n("2aba"),c=n("67ab").KEY,u=n("79e5"),d=n("5537"),h=n("7f20"),f=n("ca5a"),p=n("2b4c"),m=n("37c8"),y=n("3a72"),v=n("d4c0"),g=n("1169"),_=n("cb7c"),w=n("d3f4"),b=n("4bf8"),A=n("6821"),k=n("6a99"),M=n("4630"),x=n("2aeb"),S=n("7bbc"),L=n("11e9"),T=n("2621"),D=n("86cc"),E=n("0d58"),C=L.f,Y=D.f,P=S.f,O=r.Symbol,I=r.JSON,R=I&&I.stringify,N="prototype",F=p("_hidden"),j=p("toPrimitive"),B={}.propertyIsEnumerable,H=d("symbol-registry"),W=d("symbols"),z=d("op-symbols"),U=Object[N],V="function"==typeof O&&!!T.f,G=r.QObject,Q=!G||!G[N]||!G[N].findChild,J=a&&u((function(){return 7!=x(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=C(U,t);r&&delete U[t],Y(e,t,n),r&&e!==U&&Y(U,t,r)}:Y,q=function(e){var t=W[e]=x(O[N]);return t._k=e,t},K=V&&"symbol"==s(O.iterator)?function(e){return"symbol"==s(e)}:function(e){return e instanceof O},X=function e(t,n,r){return t===U&&e(z,n,r),_(t),n=k(n,!0),_(r),i(W,n)?(r.enumerable?(i(t,F)&&t[F][n]&&(t[F][n]=!1),r=x(r,{enumerable:M(0,!1)})):(i(t,F)||Y(t,F,M(1,{})),t[F][n]=!0),J(t,n,r)):Y(t,n,r)},Z=function(e,t){_(e);for(var n,r=v(t=A(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},$=function(e){var t=B.call(this,e=k(e,!0));return!(this===U&&i(W,e)&&!i(z,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,F)&&this[F][e])||t)},ee=function(e,t){if(e=A(e),t=k(t,!0),e!==U||!i(W,t)||i(z,t)){var n=C(e,t);return!n||!i(W,t)||i(e,F)&&e[F][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=P(A(e)),r=[],a=0;n.length>a;)i(W,t=n[a++])||t==F||t==c||r.push(t);return r},ne=function(e){for(var t,n=e===U,r=P(n?z:A(e)),a=[],o=0;r.length>o;)!i(W,t=r[o++])||n&&!i(U,t)||a.push(W[t]);return a};V||(l((O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function t(n){this===U&&t.call(z,n),i(this,F)&&i(this[F],e)&&(this[F][e]=!1),J(this,e,M(1,n))};return a&&Q&&J(U,e,{configurable:!0,set:t}),q(e)})[N],"toString",(function(){return this._k})),L.f=ee,D.f=X,n("9093").f=S.f=te,n("52a7").f=$,T.f=ne,a&&!n("2d00")&&l(U,"propertyIsEnumerable",$,!0),m.f=function(e){return q(p(e))}),o(o.G+o.W+o.F*!V,{Symbol:O});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)p(re[ie++]);for(var ae=E(p.store),oe=0;ae.length>oe;)y(ae[oe++]);o(o.S+o.F*!V,"Symbol",{for:function(e){return i(H,e+="")?H[e]:H[e]=O(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){Q=!0},useSimple:function(){Q=!1}}),o(o.S+o.F*!V,"Object",{create:function(e,t){return void 0===t?x(e):Z(x(e),t)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){T.f(1)}));o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(b(e))}}),I&&o(o.S+o.F*(!V||u((function(){var e=O();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(w(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,R.apply(I,r)}}),O[N][j]||n("32e9")(O[N],j,O[N].valueOf),h(O,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},"8bbf":function(t,n){t.exports=e},"8e6e":function(e,t,n){var r=n("5ca1"),i=n("990b"),a=n("6821"),o=n("11e9"),s=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),l=o.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&s(u,t,n);return u}})},9093:function(e,t,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},9224:function(e){e.exports=JSON.parse('{"name":"dcs-plugin","version":"1.2.0","vatversion":"1.0.0","description":"DCS H5视频控件","author":"zhouqianlong@cloudwalk.com","homepage":"http://10.135.112.181","private":false,"publishConfig":{"registry":"https://artifact.cloudwalk.work/artifactory/api/npm/all-dept_npm-local/"},"main":"lib/dcs-plugin.umd.min.js","typings":"types/index.d.ts","scripts":{"serve":"vue-cli-service serve","build:demo":"vue-cli-service build","build-player":"vue-cli-service build --target lib --formats umd-min --dest lib ./src/index.ts","build-render":"vue-cli-service build --target lib --formats umd-min --dest lib/renders --name renders ./src/renders.ts","build":"npm run build-player","lint":"vue-cli-service lint","test:unit":"vue-cli-service test:unit","inspect":"vue-cli-service inspect"},"files":["lib","installer","docs","types","README.md"],"dependencies":{"axios":"^0.19.2","compare-versions":"^3.4.0","core-js":"^2.6.5","element-resize-detector":"^1.2.1","perfect-scrollbar":"^1.4.0","vue":"^2.6.6","vue-class-component":"^6.0.0","vue-property-decorator":"^8.0.0","vue-slider-component":"^3.0.43","vuex":"^3.0.1"},"devDependencies":{"@types/jest":"^23.1.4","@vue/cli-plugin-babel":"^3.5.0","@vue/cli-plugin-typescript":"^3.5.0","@vue/cli-plugin-unit-jest":"^3.5.0","@vue/cli-service":"^3.5.0","@vue/test-utils":"1.0.0-beta.29","babel-core":"7.0.0-bridge.0","node-sass":"^4.12.0","sass-loader":"^8.0.0","ts-jest":"^23.0.0","typescript":"^3.2.1","vue-template-compiler":"^2.5.21","zip-webpack-plugin":"^3.0.0"}}')},"990b":function(e,t,n){var r=n("9093"),i=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9ba3":function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,"@-webkit-keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}div[vat=vod-player]{width:100%;height:100%;border:0;padding:0;margin:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}div[vat=win-root]{width:100%;height:100%;overflow:hidden}table[vat=win-tab]{width:100%;height:100%;background-color:#2b2b2b;border:1px solid #364a63;border-collapse:separate}table[vat=win-tab],table[vat=win-tab]>tr>td{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}table[vat=win-tab]>tr>td{border:1px solid #2b2b2b;background-color:#101010;overflow-x:hidden;overflow-y:hidden;padding:0;vertical-align:top}table[vat=win-tab]>tr>td[max=true]{border:none}table[vat=win-tab]>tr>td:hover{border:1px solid #4e4067}table[vat=win-tab]>tr>td.selected{border:1px solid #811c1c}table[vat=vod-layout]{width:100%;height:100%;border:none;overflow:hidden;padding:0;margin:0;border-collapse:collapse;border-spacing:0;display:table;table-layout:fixed}table[vat=vod-layout]>tr{border:none}table[vat=vod-layout]>tr>td{border:none;overflow:hidden;position:relative}table[vat=vod-layout]>tr>td #vod-tool{width:100%;height:50px;background-color:#1c4480;display:block}div[vat=timeline]{height:50px;background-color:#0f1322}div[vat=vod-player]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;background-color:#000;position:relative;outline:none}div[vat=vod-player] label{color:#b0d0d0;border-left:#d0d0d0;white-space:nowrap;display:inline-block;font:14px Arial;max-width:35px}div[vat=vod-player] .vod-wins{-ms-flex-item-align:initial;align-self:auto}.vatrender{position:absolute;border:none;z-index:49;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatwin{width:100%;height:100%;border:none;position:relative;vertical-align:middle;text-align:center;padding:0;background-color:#000}.vatwin .vatwin-extrender-canvas{position:absolute;left:0;top:0;z-index:1000}",""])},"9bfc":function(e,t,n){var r=n("215a");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n("499e").default)("a79280b6",r,!0,{sourceMap:!1,shadowMode:!1})},"9c29":function(e,t,n){n("ec30")("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;null==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a107:function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,"@-webkit-keyframes vatblink-data-v-85562768{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes vatblink-data-v-85562768{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.timeline[data-v-85562768]{display:-webkit-box;display:-ms-flexbox;display:flex;height:60px;background-color:#121212;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;position:relative;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:100;-ms-flex-positive:100;flex-grow:100;border:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ruler[data-v-85562768]{z-index:10}.records[data-v-85562768],.ruler[data-v-85562768]{-webkit-box-flex:100;-ms-flex-positive:100;flex-grow:100;position:absolute}.records[data-v-85562768]{z-index:11;pointer-events:none}.time[data-v-85562768]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;font:12px Arial;color:#fefefe;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.time[data-v-85562768],.time-p[data-v-85562768]{position:relative;z-index:12;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;pointer-events:none}.time-p[data-v-85562768]{width:1px;height:45px;background-color:#e00}.scale[data-v-85562768]{position:absolute;left:10px;top:0;font:12px Arial;z-index:12;line-height:15px;color:#d0d0d0;pointer-events:none}",""])},a25f:function(e,t,n){var r=n("7726").navigator;e.exports=r&&r.userAgent||""},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,m){return[function(r,i){var a=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},function(e,t){var i=m(n,e,this,t);if(i.done)return i.value;var d=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var _=[];;){var w=l(d,h);if(null===w)break;if(_.push(w),!v)break;""===String(w[0])&&(d.lastIndex=s(h,a(d.lastIndex),g))}for(var b="",A=0,k=0;k<_.length;k++){w=_[k];for(var M=String(w[0]),x=c(u(o(w.index),h.length),0),S=[],L=1;L<w.length;L++)S.push(p(w[L]));var T=w.groups;if(f){var D=[M].concat(S,x,h);void 0!==T&&D.push(T);var E=String(t.apply(void 0,D))}else E=y(M,h,x,S,T,t);x>=A&&(b+=h.slice(A,x)+E,A=x+M.length)}return b+h.slice(A)}];function y(e,t,r,a,o,s){var l=r+e.length,c=a.length,u=f;return void 0!==o&&(o=i(o),u=h),n.call(s,u,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=o[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===a[h-1]?i.charAt(1):a[h-1]+i.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,n){"use strict";var r=n("d8e8");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},aa8a:function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,".vod-wins[data-v-9bb76214]{-webkit-box-flex:100;-ms-flex-positive:100;flex-grow:100;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.err-msg[data-v-9bb76214]{color:red;font:18px Arial;font-weight:bolder}",""])},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},abb4:function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.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=i(f),m=0;m<p.length;m++){var y,v=p[m],g=f[v],_=o[v],w=_&&_.prototype;if(w&&(w[u]||s(w,u,h),w[d]||s(w,d,v),l[v]=h,g))for(y in r)w[y]||a(w,y,r[y],!0)}},af56:function(e,t,n){n("ec30")("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b188:function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,"#vat-tool[data-v-4bb55d15]{padding:0;width:100%;height:32px;background-color:#111;display:-webkit-box;display:-ms-flexbox;display:flex}svg[data-v-4bb55d15]:hover{cursor:pointer}svg>path[data-v-4bb55d15]:hover{fill:#bbb}svg.icon[data-v-4bb55d15]{margin-left:8px;margin-right:8px}svg.disabled[data-v-4bb55d15]{cursor:default;pointer-events:none}svg.disabled>path[data-v-4bb55d15]{fill:#666}svg.hide[data-v-4bb55d15]{display:none}table[data-v-4bb55d15]{width:100%;height:100%;border-spacing:0}.speed[data-v-4bb55d15]{color:#f0f0f0;line-height:32px;font:700 14px Microsoft YaHei;margin-left:10px;margin-right:30px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:40px}.btns[data-v-4bb55d15],.speed[data-v-4bb55d15]{display:-webkit-box;display:-ms-flexbox;display:flex}.btns[data-v-4bb55d15]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto;width:368px}.btn-menu[data-v-4bb55d15]{position:absolute;left:0;top:-100px;z-index:1001;opacity:0;-webkit-transition:visibility 0s linear .33s,opacity .33s linear;transition:visibility 0s linear .33s,opacity .33s linear}.btn-menu-icon:hover~.btn-menu[data-v-4bb55d15],.btn-menu[data-v-4bb55d15]:hover{visibility:visible;opacity:.9;-webkit-transition-delay:0s;transition-delay:0s}.scale-btns[data-v-4bb55d15]{width:78px}.scale-btns[data-v-4bb55d15],.speed-menu[data-v-4bb55d15]{display:-webkit-box;display:-ms-flexbox;display:flex}.speed-menu[data-v-4bb55d15]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:rgba(29,29,29,.67)}.speed-menu span[data-v-4bb55d15]{list-style:none;height:20px;width:60px;color:#f0f0f0;margin:0;padding:1px;font:14px Microsoft YaHei;cursor:pointer;border:1px solid #2a2a2a}.speed-menu span.active[data-v-4bb55d15]{color:#0f1322;background-color:#f0f0f0}.speed-menu span[data-v-4bb55d15]:hover{background-color:#00adee}",""])},b5f0:function(e,t,n){"use strict";var r=n("5661");n.n(r).a},b697:function(e,t,n){var r,i,a;i=[],r=function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e){var t=e.replace(/^v/,"").replace(/\+.*$/,""),n=function(e,t){return-1===e.indexOf(t)?e.length:e.indexOf(t)}(t,"-"),r=t.substring(0,n).split(".");return r.push(t.substring(n+1)),r}function n(e){return isNaN(Number(e))?e:Number(e)}function r(t){if("string"!=typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver ('"+t+"' received)")}function i(e,i){[e,i].forEach(r);for(var a=t(e),o=t(i),s=0;s<Math.max(a.length-1,o.length-1);s++){var l=parseInt(a[s]||0,10),c=parseInt(o[s]||0,10);if(l>c)return 1;if(c>l)return-1}var u=a[a.length-1],d=o[o.length-1];if(u&&d){var h=u.split(".").map(n),f=d.split(".").map(n);for(s=0;s<Math.max(h.length,f.length);s++){if(void 0===h[s]||"string"==typeof f[s]&&"number"==typeof h[s])return-1;if(void 0===f[s]||"string"==typeof h[s]&&"number"==typeof f[s])return 1;if(h[s]>f[s])return 1;if(f[s]>h[s])return-1}}else if(u||d)return u?-1:1;return 0}var a=[">",">=","=","<","<="],o={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return i.validate=function(t){return"string"==typeof t&&e.test(t)},i.compare=function(e,t,n){!function(e){if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+s(e));if(-1===a.indexOf(e))throw new TypeError("Invalid operator, expected one of "+a.join("|"))}(n);var r=i(e,t);return o[n].indexOf(r)>-1},i},void 0===(a="function"==typeof r?r.apply(t,i):r)||(e.exports=a)},b770:function(e,t,n){"use strict";(e.exports={}).forEach=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return r}}},ba92:function(e,t,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");e.exports=[].copyWithin||function(e,t){var n=r(this),o=a(n.length),s=i(e,o),l=i(t,o),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?o:i(c,o))-l,o-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},bcaa:function(e,t,n){var r=n("cb7c"),i=n("d3f4"),a=n("a5b8");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c0e8:function(e,t){},c274:function(e,t,n){"use strict";var r=n("50bf");function i(){var e={},t=0,n=0,r=0;return{add:function(i,a){a||(a=i,i=0),i>n?n=i:i<r&&(r=i),e[i]||(e[i]=[]),e[i].push(a),t++},process:function(){for(var t=r;t<=n;t++)for(var i=e[t],a=0;a<i.length;a++)(0,i[a])()},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=r.getOption(e,"async",!0),a=r.getOption(e,"auto",!0);a&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var o,s=i(),l=!1;function c(){for(l=!0;s.size();){var e=s;s=i(),e.process()}l=!1}function u(){o=function(e){return function(e){return setTimeout(e,0)}(e)}(c)}return{add:function(e,t){!l&&a&&n&&0===s.size()&&u(),s.add(e,t)},force:function(e){l||(void 0===e&&(e=n),o&&(function(e){clearTimeout(e)}(o),o=null),e?u():c())}}}},c366:function(e,t,n){var r=n("6821"),i=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c946:function(e,t,n){"use strict";var r=n("b770").forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState,a=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var o=function(){var e=500,t=500,n=document.createElement("div");n.style.cssText=c(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var r=document.createElement("div");r.style.cssText=c(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var i=e-r.clientWidth,a=t-r.clientHeight;return document.body.removeChild(r),{width:i,height:a}}(),s="erd_scroll_detection_container";function l(e){!function(e,t,n){if(!e.getElementById(t)){var r=n+"_animation",i=n+"_animation_active",a="/* Created by the element-resize-detector library. */\n";a+="."+n+" > div::-webkit-scrollbar { "+c(["display: none"])+" }\n\n",a+="."+i+" { "+c(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",a+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,r){r=r||function(t){e.head.appendChild(t)};var i=e.createElement("style");i.innerHTML=n,i.id=t,r(i)}(a+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style",s)}function c(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function u(e,n,r){if(e.addEventListener)e.addEventListener(n,r);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,r)}}function d(e,n,r){if(e.removeEventListener)e.removeEventListener(n,r);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,r)}}function h(e){return i(e).container.childNodes[0].childNodes[0].childNodes[0]}function f(e){return i(e).container.childNodes[0].childNodes[0].childNodes[1]}return l(window.document),{makeDetectable:function(e,l,d){function p(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(a.get(l),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var r=0;r<n.length;r++)t.log(n[r])}}function m(e){var t=i(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function y(){var e=window.getComputedStyle(l),t={};return t.position=e.position,t.width=l.offsetWidth,t.height=l.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function v(){if(p("storeStyle invoked."),i(l)){var e=y();i(l).style=e}else p("Aborting because element has been uninstalled")}function g(e,t,n){i(e).lastWidth=t,i(e).lastHeight=n}function _(){return 2*o.width+1}function w(){return 2*o.height+1}function b(e){return e+10+_()}function A(e){return e+10+w()}function k(e,t,n){var r=h(e),i=f(e),a=b(t),o=A(n),s=function(e){return 2*e+_()}(t),l=function(e){return 2*e+w()}(n);r.scrollLeft=a,r.scrollTop=o,i.scrollLeft=s,i.scrollTop=l}function M(){var e=i(l).container;if(!e){(e=document.createElement("div")).className=s,e.style.cssText=c(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),i(l).container=e,function(e){e.className+=" "+s+"_animation_active"}(e),l.appendChild(e);var t=function(){i(l).onRendered&&i(l).onRendered()};u(e,"animationstart",t),i(l).onAnimationStart=t}return e}function x(){if(p("Injecting elements"),i(l)){!function(){var n=i(l).style;if("static"===n.position){l.style.setProperty("position","relative",e.important?"important":"");var r=function(e,t,n,r){var i=n[r];"auto"!==i&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(i)&&(e.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style[r]=0)};r(t,l,n,"top"),r(t,l,n,"right"),r(t,l,n,"bottom"),r(t,l,n,"left")}}();var n=i(l).container;n||(n=M());var r=o.width,a=o.height,d=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),h=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(function(e,t,n,r){return["left: "+(e=e?e+"px":"0"),"top: "+(t=t?t+"px":"0"),"right: "+(r=r?r+"px":"0"),"bottom: "+(n=n?n+"px":"0")]}(-(1+r),-(1+a),-a,-r))),f=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),m=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=c(["position: absolute","left: 0","top: 0"]),v=c(["position: absolute","width: 200%","height: 200%"]),g=document.createElement("div"),_=document.createElement("div"),w=document.createElement("div"),b=document.createElement("div"),A=document.createElement("div"),k=document.createElement("div");g.dir="ltr",g.style.cssText=d,g.className=s,_.className=s,_.style.cssText=h,w.style.cssText=f,b.style.cssText=y,A.style.cssText=m,k.style.cssText=v,w.appendChild(b),A.appendChild(k),_.appendChild(w),_.appendChild(A),g.appendChild(_),n.appendChild(g),u(w,"scroll",x),u(A,"scroll",S),i(l).onExpandScroll=x,i(l).onShrinkScroll=S}else p("Aborting because element has been uninstalled");function x(){i(l).onExpand&&i(l).onExpand()}function S(){i(l).onShrink&&i(l).onShrink()}}function S(){function o(t,n,r){var i=function(e){return h(e).childNodes[0]}(t),a=b(n),o=A(r);i.style.setProperty("width",a+"px",e.important?"important":""),i.style.setProperty("height",o+"px",e.important?"important":"")}function s(r){var s=l.offsetWidth,u=l.offsetHeight,d=s!==i(l).lastWidth||u!==i(l).lastHeight;p("Storing current size",s,u),g(l,s,u),n.add(0,(function(){if(d)if(i(l))if(c()){if(e.debug){var n=l.offsetWidth,r=l.offsetHeight;n===s&&r===u||t.warn(a.get(l),"Scroll: Size changed before updating detector elements.")}o(l,s,u)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),n.add(1,(function(){i(l)?c()?k(l,s,u):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),d&&r&&n.add(2,(function(){i(l)?c()?r():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function c(){return!!i(l).container}function u(){p("notifyListenersIfNeeded invoked");var e=i(l);return void 0===i(l).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void r(i(l).listeners,(function(e){e(l)})))}function d(){p("Scroll detected."),m(l)?p("Scroll event fired while unrendered. Ignoring..."):s(u)}if(p("registerListenersAndPositionElements invoked."),i(l)){i(l).onRendered=function(){if(p("startanimation triggered."),m(l))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var e=h(l),t=f(l);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),s(u))}},i(l).onExpand=d,i(l).onShrink=d;var y=i(l).style;o(l,y.width,y.height)}else p("Aborting because element has been uninstalled")}function L(){if(p("finalizeDomMutation invoked."),i(l)){var e=i(l).style;g(l,e.width,e.height),k(l,e.width,e.height)}else p("Aborting because element has been uninstalled")}function T(){d(l)}function D(){p("Installing..."),i(l).listeners=[],function(){var e=y();i(l).startSize={width:e.width,height:e.height},p("Element start size",i(l).startSize)}(),n.add(0,v),n.add(1,x),n.add(2,S),n.add(3,L),n.add(4,T)}d||(d=l,l=e,e=null),e=e||{},p("Making detectable..."),function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(l)?(p("Element is detached"),M(),p("Waiting until element is attached..."),i(l).onRendered=function(){p("Element is now attached"),D()}):D()},addListener:function(e,t){if(!i(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");i(e).listeners.push(t)},uninstall:function(e){var t=i(e);t&&(t.onExpandScroll&&d(h(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&d(f(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&d(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:l}}},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),a=n("84f2"),o=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var r=n("e853");e.exports=function(e,t){return new(r(e))(t)}},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},d3b2:function(e,t,n){"use strict";var r=n("5577");n.n(r).a},d3f4:function(e,t){e.exports=function(e){return"object"===s(e)?null!==e:"function"==typeof e}},d4c0:function(e,t,n){var r=n("0d58"),i=n("2621"),a=n("52a7");e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),l=a.f,c=0;s.length>c;)l.call(e,o=s[c++])&&t.push(o);return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d6eb:function(e,t,n){"use strict";var r="_erd";function i(e){return e[r]}e.exports={initState:function(e){return e[r]={},i(e)},getState:i,cleanState:function(e){delete e[r]}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},dcbc:function(e,t,n){var r=n("2aba");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e6a8:function(e,t,n){(e.exports=n("2350")(!1)).push([e.i,'ul[data-v-48879689]{padding:0;margin:0;padding-inline:0}.calendarPanel[data-v-48879689]{width:300px;height:240px;border:3px solid #1f2332;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.calendarPanel[data-v-48879689],.calendarPanel .calendar-header[data-v-48879689]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.calendarPanel .calendar-header[data-v-48879689]{line-height:30px;color:#d3dfe9;background-color:#1e1b1a;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.calendarPanel .calendar-header .currentDate[data-v-48879689]{margin:0 10px;font-size:16px;font-family:PingFangSC-Medium,serif}.calendarPanel .calendar-header .icon[data-v-48879689]{width:12px;height:12px;margin:0 5px;cursor:pointer;font-weight:lighter;color:#b0b0b0}.calendarPanel .calendar-header .icon[data-v-48879689]:hover{color:#dedede}.calendarPanel .calendar-main[data-v-48879689]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#161311;color:#d0dbd2}.calendarPanel .calendar-main .main-header[data-v-48879689]{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:30px;color:#9ba2af}.calendarPanel .calendar-main .main-header li[data-v-48879689]{-webkit-box-flex:1;-ms-flex:1;flex:1;list-style:none}.calendarPanel .calendar-main ul.main[data-v-48879689]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:5px;font-size:14px}.calendarPanel .calendar-main ul.main li[data-v-48879689]{position:relative;width:42px;line-height:25px;cursor:pointer;list-style:none}.calendarPanel .calendar-main ul.main .disabled[data-v-48879689]{color:#7b827f;cursor:default}.calendarPanel .calendar-main ul.main .currentDay[data-v-48879689]:before{content:"";position:absolute;display:inline-block;left:8px;width:24px;height:24px;border-radius:50%;border:1px solid #ffe100}',""])},e853:function(e,t,n){var r=n("d3f4"),i=n("1169"),a=n("2b4c")("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},ebd6:function(e,t,n){var r=n("cb7c"),i=n("d8e8"),a=n("2b4c")("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[a])?t:i(n)}},ec30:function(e,t,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),a=n("79e5"),o=n("5ca1"),l=n("0f88"),c=n("ed0b"),u=n("9b43"),d=n("f605"),h=n("4630"),f=n("32e9"),p=n("dcbc"),m=n("4588"),y=n("9def"),v=n("09fa"),g=n("77f1"),_=n("6a99"),w=n("69a8"),b=n("23c6"),A=n("d3f4"),k=n("4bf8"),M=n("33a4"),x=n("2aeb"),S=n("38fd"),L=n("9093").f,T=n("27ee"),D=n("ca5a"),E=n("2b4c"),C=n("0a49"),Y=n("c366"),P=n("ebd6"),O=n("cadf"),I=n("84f2"),R=n("5cc5"),N=n("7a56"),F=n("36bd"),j=n("ba92"),B=n("86cc"),H=n("11e9"),W=B.f,z=H.f,U=i.RangeError,V=i.TypeError,G=i.Uint8Array,Q="ArrayBuffer",J="Shared"+Q,q="BYTES_PER_ELEMENT",K="prototype",X=Array[K],Z=c.ArrayBuffer,$=c.DataView,ee=C(0),te=C(2),ne=C(3),re=C(4),ie=C(5),ae=C(6),oe=Y(!0),se=Y(!1),le=O.values,ce=O.keys,ue=O.entries,de=X.lastIndexOf,he=X.reduce,fe=X.reduceRight,pe=X.join,me=X.sort,ye=X.slice,ve=X.toString,ge=X.toLocaleString,_e=E("iterator"),we=E("toStringTag"),be=D("typed_constructor"),Ae=D("def_constructor"),ke=l.CONSTR,Me=l.TYPED,xe=l.VIEW,Se="Wrong length!",Le=C(1,(function(e,t){return Ye(P(e,e[Ae]),t)})),Te=a((function(){return 1===new G(new Uint16Array([1]).buffer)[0]})),De=!!G&&!!G[K].set&&a((function(){new G(1).set({})})),Ee=function(e,t){var n=m(e);if(n<0||n%t)throw U("Wrong offset!");return n},Ce=function(e){if(A(e)&&Me in e)return e;throw V(e+" is not a typed array!")},Ye=function(e,t){if(!A(e)||!(be in e))throw V("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return Oe(P(e,e[Ae]),t)},Oe=function(e,t){for(var n=0,r=t.length,i=Ye(e,r);r>n;)i[n]=t[n++];return i},Ie=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Re=function(e){var t,n,r,i,a,o,s=k(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=T(s);if(null!=h&&!M(h)){for(o=h.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=y(s.length),i=Ye(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Ne=function(){for(var e=0,t=arguments.length,n=Ye(this,t);t>e;)n[e]=arguments[e++];return n},Fe=!!G&&a((function(){ge.call(new G(1))})),je=function(){return ge.apply(Fe?ye.call(Ce(this)):Ce(this),arguments)},Be={copyWithin:function(e,t){return j.call(Ce(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return re(Ce(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(Ce(this),arguments)},filter:function(e){return Pe(this,te(Ce(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ie(Ce(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ae(Ce(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){ee(Ce(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return se(Ce(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return oe(Ce(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Ce(this),arguments)},lastIndexOf:function(e){return de.apply(Ce(this),arguments)},map:function(e){return Le(Ce(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return he.apply(Ce(this),arguments)},reduceRight:function(e){return fe.apply(Ce(this),arguments)},reverse:function(){for(var e,t=this,n=Ce(t).length,r=Math.floor(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return ne(Ce(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return me.call(Ce(this),e)},subarray:function(e,t){var n=Ce(this),r=n.length,i=g(e,r);return new(P(n,n[Ae]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,y((void 0===t?r:g(t,r))-i))}},He=function(e,t){return Pe(this,ye.call(Ce(this),e,t))},We=function(e){Ce(this);var t=Ee(arguments[1],1),n=this.length,r=k(e),i=y(r.length),a=0;if(i+t>n)throw U(Se);for(;a<i;)this[t+a]=r[a++]},ze={entries:function(){return ue.call(Ce(this))},keys:function(){return ce.call(Ce(this))},values:function(){return le.call(Ce(this))}},Ue=function(e,t){return A(e)&&e[Me]&&"symbol"!=s(t)&&t in e&&String(+t)==String(t)},Ve=function(e,t){return Ue(e,t=_(t,!0))?h(2,e[t]):z(e,t)},Ge=function(e,t,n){return!(Ue(e,t=_(t,!0))&&A(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?W(e,t,n):(e[t]=n.value,e)};ke||(H.f=Ve,B.f=Ge),o(o.S+o.F*!ke,"Object",{getOwnPropertyDescriptor:Ve,defineProperty:Ge}),a((function(){ve.call({})}))&&(ve=ge=function(){return pe.call(this)});var Qe=p({},Be);p(Qe,ze),f(Qe,_e,ze.values),p(Qe,{slice:He,set:We,constructor:function(){},toString:ve,toLocaleString:je}),Ie(Qe,"buffer","b"),Ie(Qe,"byteOffset","o"),Ie(Qe,"byteLength","l"),Ie(Qe,"length","e"),W(Qe,we,{get:function(){return this[Me]}}),e.exports=function(e,t,n,s){var c=e+((s=!!s)?"Clamped":"")+"Array",u="get"+e,h="set"+e,p=i[c],m=p||{},g=p&&S(p),_=!p||!l.ABV,w={},k=p&&p[K],M=function(e,n){var r=e._d;return r.v[u](n*t+r.o,Te)},T=function(e,n,r){var i=e._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[h](n*t+i.o,r,Te)},D=function(e,t){W(e,t,{get:function(){return M(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};_?(p=n((function(e,n,r,i){d(e,p,c,"_d");var a,o,s,l,u=0,h=0;if(A(n)){if(!(n instanceof Z||(l=b(n))==Q||l==J))return Me in n?Oe(p,n):Re.call(p,n);a=n,h=Ee(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw U(Se);if((o=m-h)<0)throw U(Se)}else if((o=y(i)*t)+h>m)throw U(Se);s=o/t}else s=v(n),a=new Z(o=s*t);for(f(e,"_d",{b:a,o:h,l:o,e:s,v:new $(a)});u<s;)D(e,u++)})),k=p[K]=x(Qe),f(k,"constructor",p)):a((function(){p(1)}))&&a((function(){new p(-1)}))&&R((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,r,i){var a;return d(e,p,c),A(n)?n instanceof Z||(a=b(n))==Q||a==J?void 0!==i?new m(n,Ee(r,t),i):void 0!==r?new m(n,Ee(r,t)):new m(n):Me in n?Oe(p,n):Re.call(p,n):new m(v(n))})),ee(g!==Function.prototype?L(m).concat(L(g)):L(m),(function(e){e in p||f(p,e,m[e])})),p[K]=k,r||(k.constructor=p));var E=k[_e],C=!!E&&("values"==E.name||null==E.name),Y=ze.values;f(p,be,!0),f(k,Me,c),f(k,xe,!0),f(k,Ae,p),(s?new p(1)[we]==c:we in k)||W(k,we,{get:function(){return c}}),w[c]=p,o(o.G+o.W+o.F*(p!=m),w),o(o.S,c,{BYTES_PER_ELEMENT:t}),o(o.S+o.F*a((function(){m.of.call(p,1)})),c,{from:Re,of:Ne}),q in k||f(k,q,t),o(o.P,c,Be),N(c),o(o.P+o.F*De,c,{set:We}),o(o.P+o.F*!C,c,ze),r||k.toString==ve||(k.toString=ve),o(o.P+o.F*a((function(){new p(1).slice()})),c,{slice:He}),o(o.P+o.F*(a((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!a((function(){k.toLocaleString.call([1,2])}))),c,{toLocaleString:je}),I[c]=C?E:Y,r||C||f(k,_e,Y)}}else e.exports=function(){}},ed0b:function(e,t,n){"use strict";var r=n("7726"),i=n("9e1e"),a=n("2d00"),o=n("0f88"),s=n("32e9"),l=n("dcbc"),c=n("79e5"),u=n("f605"),d=n("4588"),h=n("9def"),f=n("09fa"),p=n("9093").f,m=n("86cc").f,y=n("36bd"),v=n("7f20"),g="ArrayBuffer",_="DataView",w="prototype",b="Wrong index!",A=r[g],k=r[_],M=r.Math,x=r.RangeError,S=r.Infinity,L=A,T=M.abs,D=M.pow,E=M.floor,C=M.log,Y=M.LN2,P="buffer",O="byteLength",I="byteOffset",R=i?"_b":P,N=i?"_l":O,F=i?"_o":I;function j(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?D(2,-24)-D(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=T(e))!=e||e===S?(i=e!=e?1:0,r=l):(r=E(C(e)/Y),e*(a=D(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?u/a:u*D(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*a-1)*D(2,t),r+=c):(i=e*D(2,c-1)*D(2,t),r=0));t>=8;o[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;o[d++]=255&r,r/=256,s-=8);return o[--d]|=128*h,o}function B(e,t,n){var r,i=8*n-t-1,a=(1<<i)-1,o=a>>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return r?NaN:c?-S:S;r+=D(2,t),u-=o}return(c?-1:1)*r*D(2,u-t)}function H(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function W(e){return[255&e]}function z(e){return[255&e,e>>8&255]}function U(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function V(e){return j(e,52,8)}function G(e){return j(e,23,4)}function Q(e,t,n){m(e[w],t,{get:function(){return this[n]}})}function J(e,t,n,r){var i=f(+n);if(i+t>e[N])throw x(b);var a=e[R]._b,o=i+e[F],s=a.slice(o,o+t);return r?s:s.reverse()}function q(e,t,n,r,i,a){var o=f(+n);if(o+t>e[N])throw x(b);for(var s=e[R]._b,l=o+e[F],c=r(+i),u=0;u<t;u++)s[l+u]=c[a?u:t-u-1]}if(o.ABV){if(!c((function(){A(1)}))||!c((function(){new A(-1)}))||c((function(){return new A,new A(1.5),new A(NaN),A.name!=g}))){for(var K,X=(A=function(e){return u(this,A),new L(f(e))})[w]=L[w],Z=p(L),$=0;Z.length>$;)(K=Z[$++])in A||s(A,K,L[K]);a||(X.constructor=A)}var ee=new k(new A(2)),te=k[w].setInt8;ee.setInt8(0,2147483648),ee.setInt8(1,2147483649),!ee.getInt8(0)&&ee.getInt8(1)||l(k[w],{setInt8:function(e,t){te.call(this,e,t<<24>>24)},setUint8:function(e,t){te.call(this,e,t<<24>>24)}},!0)}else A=function(e){u(this,A,g);var t=f(e);this._b=y.call(new Array(t),0),this[N]=t},k=function(e,t,n){u(this,k,_),u(e,A,_);var r=e[N],i=d(t);if(i<0||i>r)throw x("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw x("Wrong length!");this[R]=e,this[F]=i,this[N]=n},i&&(Q(A,O,"_l"),Q(k,P,"_b"),Q(k,O,"_l"),Q(k,I,"_o")),l(k[w],{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return H(J(this,4,e,arguments[1]))},getUint32:function(e){return H(J(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return B(J(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return B(J(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){q(this,1,e,W,t)},setUint8:function(e,t){q(this,1,e,W,t)},setInt16:function(e,t){q(this,2,e,z,t,arguments[2])},setUint16:function(e,t){q(this,2,e,z,t,arguments[2])},setInt32:function(e,t){q(this,4,e,U,t,arguments[2])},setUint32:function(e,t){q(this,4,e,U,t,arguments[2])},setFloat32:function(e,t){q(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){q(this,8,e,V,t,arguments[2])}});v(A,g),v(k,_),s(k[w],o.VIEW,!0),t[g]=A,t[_]=k},eec4:function(e,t,n){"use strict";var r=n("b770").forEach,i=n("5be5"),a=n("49ad"),o=n("2cef"),s=n("5058"),l=n("abb4"),c=n("18e9"),u=n("c274"),d=n("d6eb"),h=n("18d2"),f=n("c946");function p(e){return Array.isArray(e)||void 0!==e.length}function m(e){if(Array.isArray(e))return e;var t=[];return r(e,(function(e){t.push(e)})),t}function y(e){return e&&1===e.nodeType}function v(e,t,n){var r=e[t];return null!=r||void 0===n?r:n}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=o(),g=s({idGenerator:n,stateHandler:d});t=g}var _=e.reporter;_||(_=l(!1===_));var w=v(e,"batchProcessor",u({reporter:_})),b={};b.callOnAdd=!!v(e,"callOnAdd",!0),b.debug=!!v(e,"debug",!1);var A,k=a(t),M=i({stateHandler:d}),x=v(e,"strategy","object"),S=v(e,"important",!1),L={reporter:_,batchProcessor:w,stateHandler:d,idHandler:t,important:S};if("scroll"===x&&(c.isLegacyOpera()?(_.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),x="object"):c.isIE(9)&&(_.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),x="object")),"scroll"===x)A=f(L);else{if("object"!==x)throw new Error("Invalid strategy name: "+x);A=h(L)}var T={};return{listenTo:function(e,n,i){function a(e){var t=k.get(e);r(t,(function(t){t(e)}))}function o(e,t,n){k.add(t,n),e&&n(t)}if(i||(i=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!i)throw new Error("Listener required.");if(y(n))n=[n];else{if(!p(n))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=m(n)}var s=0,l=v(e,"callOnAdd",b.callOnAdd),c=v(e,"onReady",(function(){})),u=v(e,"debug",b.debug);r(n,(function(e){d.getState(e)||(d.initState(e),t.set(e));var h=t.get(e);if(u&&_.log("Attaching listener to element",h,e),!M.isDetectable(e))return u&&_.log(h,"Not detectable."),M.isBusy(e)?(u&&_.log(h,"System busy making it detectable"),o(l,e,i),T[h]=T[h]||[],void T[h].push((function(){++s===n.length&&c()}))):(u&&_.log(h,"Making detectable..."),M.markBusy(e,!0),A.makeDetectable({debug:u,important:S},e,(function(e){if(u&&_.log(h,"onElementDetectable"),d.getState(e)){M.markAsDetectable(e),M.markBusy(e,!1),A.addListener(e,a),o(l,e,i);var t=d.getState(e);if(t&&t.startSize){var f=e.offsetWidth,p=e.offsetHeight;t.startSize.width===f&&t.startSize.height===p||a(e)}T[h]&&r(T[h],(function(e){e()}))}else u&&_.log(h,"Element uninstalled before being detectable.");delete T[h],++s===n.length&&c()})));u&&_.log(h,"Already detecable, adding listener."),o(l,e,i),s++})),s===n.length&&c()},removeListener:k.removeListener,removeAllListeners:k.removeAllListeners,uninstall:function(e){if(!e)return _.error("At least one element is required.");if(y(e))e=[e];else{if(!p(e))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=m(e)}r(e,(function(e){k.removeAllListeners(e),A.uninstall(e),d.cleanState(e)}))},initDocument:function(e){A.initDocument&&A.initDocument(e)}}}},f0c1:function(e,t,n){"use strict";var r=n("d8e8"),i=n("d3f4"),a=n("31f4"),o=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function r(){var i=n.concat(o.call(arguments));return this instanceof r?l(t,i.length,i):a(t,i,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},f1ae:function(e,t,n){"use strict";var r=n("86cc"),i=n("4630");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},f605:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},f6fd:function(e,t){!function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})}(document)},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function d(e){return(d="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function h(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
||
/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */function p(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}n.r(t),n.d(t,"LivePlayer",(function(){return lt})),n.d(t,"RenderHandler",(function(){return fn.RenderHandler})),n.d(t,"VodPlayer",(function(){return on})),n.d(t,"VodFilePlayer",(function(){return hn})),"undefined"!=typeof window&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1])),n("ac4d"),n("8a81"),n("5df3"),n("1c4c"),n("7f7f"),n("8e6e"),n("ac6a"),n("cadf"),n("456d"),n("6b54"),n("2397");var m=n("8bbf"),y=n.n(m);
|
||
/**
|
||
* vue-class-component v7.2.5
|
||
* (c) 2015-present Evan You
|
||
* @license MIT
|
||
*/function v(e){return(v="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(){return"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function b(e,t){A(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){A(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){A(e,t,n)}))}function A(e,t,n){(n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t)).forEach((function(r){var i=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,i,e,n):Reflect.defineMetadata(r,i,e)}))}var k={__proto__:[]}instanceof Array;function M(e){return function(t,n,r){var i="function"==typeof t?t:t.constructor;i.__decorators__||(i.__decorators__=[]),"number"!=typeof r&&(r=void 0),i.__decorators__.push((function(t){return e(t,n,r)}))}}function x(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var i={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(i[e]=r[e])})),i}var S=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(S.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return g({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return x(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var i=Object.getPrototypeOf(e.prototype),a=i instanceof y.a?i.constructor:y.a,o=a.extend(t);return D(o,e,a),w()&&b(o,e),o}var T={prototype:!0,arguments:!0,callee:!0,caller:!0};function D(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!T[r]){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,r);if(!k){if("cid"===r)return;var o=Object.getOwnPropertyDescriptor(n,r);if(!function(e){var t=v(e);return null==e||"object"!==t&&"function"!==t}(a.value)&&o&&o.value===a.value)return}Object.defineProperty(e,r,a)}}}))}function E(e){return"function"==typeof e?L(e):function(t){return L(t,e)}}E.registerHooks=function(e){S.push.apply(S,_(e))};var C=E,Y="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function P(e){return void 0===e&&(e={}),function(t,n){(function(e,t,n){if(Y&&!Array.isArray(e)&&"function"!=typeof e&&void 0===e.type){var r=Reflect.getMetadata("design:type",t,n);r!==Object&&(e.type=r)}})(e,t,n),M((function(t,n){(t.props||(t.props={}))[n]=e}))(t,n)}}function O(e,t){void 0===t&&(t={});var n=t.deep,r=void 0!==n&&n,i=t.immediate,a=void 0!==i&&i;return M((function(t,n){"object"!==s(t.watch)&&(t.watch=Object.create(null));var i=t.watch;"object"!==s(i[e])||Array.isArray(i[e])?void 0===i[e]&&(i[e]=[]):i[e]=[i[e]],i[e].push({handler:n,deep:r,immediate:a})}))}function I(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n("6c7b");var N=function(){function e(){a(this,e)}return l(e,null,[{key:"getSVG",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.DEFAULT_SIZE;if(!e.ALL_SVGS[t])return document.createElement("svg");var i=document.createElement("svg");i.innerHTML=e.ALL_SVGS[t],null!==n&&n.length>0&&e.setColor(i,n);var a=i.querySelector("svg");return null!==a&&(a.setAttribute("width","".concat(r)),a.setAttribute("height","".concat(r))),i}},{key:"setColor",value:function(e,t){if(t&&t.length>0){var n,r=I(e.getElementsByTagName("path"));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=i.getAttribute("fill");null!==a&&a.length>0&&i.setAttribute("fill",t)}}catch(e){r.e(e)}finally{r.f()}}}}]),e}();N.SNAPSHOT='<svg t="1553688811386" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3995" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M901.12 227.328h-96.256c-12.288 0-23.552-7.168-28.672-19.456l-20.48-50.176c-11.264-27.648-36.864-45.056-66.56-45.056H333.824c-29.696 0-55.296 17.408-66.56 45.056l-20.48 50.176c-5.12 11.264-16.384 19.456-28.672 19.456H122.88c-39.936 0-71.68 31.744-71.68 71.68V839.68c0 39.936 31.744 71.68 71.68 71.68h778.24c39.936 0 71.68-31.744 71.68-71.68V299.008c0-38.912-31.744-71.68-71.68-71.68zM199.68 430.08C174.08 430.08 153.6 409.6 153.6 384s20.48-46.08 46.08-46.08 46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08zM512 788.48c-123.904 0-225.28-101.376-225.28-225.28s101.376-225.28 225.28-225.28 225.28 101.376 225.28 225.28-101.376 225.28-225.28 225.28z m184.32-225.28c0 101.376-82.944 184.32-184.32 184.32s-184.32-82.944-184.32-184.32 82.944-184.32 184.32-184.32 184.32 82.944 184.32 184.32z" p-id="3996" fill="#1296db"></path></svg>',N.MAXIMIZE='<svg t="1553741182915" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6244" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M874.24 604.49792c22.29248-2.14016 42.97728-11.73504 59.2384-27.56608l0 282.50112c0 48.85504-39.76192 88.59648-88.6272 88.59648l-634.9824 0c-48.87552 0-88.63744-39.74144-88.63744-88.59648L121.23136 225.1264c0-48.85504 39.76192-88.60672 88.63744-88.60672l283.26912 0c-15.24736 15.64672-25.38496 36.29056-27.60704 59.22816L209.85856 195.74784c-16.20992 0-29.39904 13.17888-29.39904 29.37856l0 634.29632c0 16.18944 13.18912 29.36832 29.39904 29.36832l634.9824 0c16.20992 0 29.39904-13.17888 29.39904-29.36832L874.24 604.49792zM890.15296 130.44736 589.2608 130.44736c-24.53504 0-44.42112 19.88608-44.42112 44.43136 0 24.53504 19.88608 44.42112 44.42112 44.42112l191.21152 0c-1.8432 1.34144-3.6864 2.70336-5.34528 4.37248L461.6704 537.10848l0-193.6384c0-24.53504-19.88608-44.42112-44.42112-44.42112-12.26752 0-23.37792 4.95616-31.41632 13.0048-8.0384 8.05888-13.01504 19.13856-13.01504 31.41632l0 300.9024c0 24.5248 19.88608 44.42112 44.42112 44.42112L718.1312 688.7936c24.53504 0 44.42112-19.89632 44.42112-44.4416 0-24.5248-19.88608-44.42112-44.42112-44.42112L526.94016 599.93088c1.8432-1.34144 3.67616-2.70336 5.33504-4.36224l313.43616-313.4464 0 193.64864c0 24.53504 19.88608 44.42112 44.42112 44.42112 12.26752 0 23.37792-4.95616 31.41632-13.0048 8.0384-8.05888 13.01504-19.1488 13.01504-31.41632L934.56384 174.86848C934.57408 150.34368 914.67776 130.44736 890.15296 130.44736z" p-id="6245" fill="#1296db"></path></svg>',N.ROI_RECT='<svg t="1553765768064" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="31493" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M768 910.222222c-17.066667 0-28.444444-11.377778-28.444444-28.444444s11.377778-28.444444 28.444444-28.444445H910.222222v-85.333333c0-17.066667 11.377778-28.444444 28.444445-28.444444s28.444444 11.377778 28.444444 28.444444v113.777778c0 17.066667-11.377778 28.444444-28.444444 28.444444h-170.666667zM910.222222 483.555556c0-17.066667 11.377778-28.444444 28.444445-28.444445s28.444444 11.377778 28.444444 28.444445v113.777777c0 17.066667-11.377778 28.444444-28.444444 28.444445s-28.444444-11.377778-28.444445-28.444445v-113.777777zM910.222222 227.555556h-142.222222c-17.066667 0-28.444444-11.377778-28.444444-28.444445s11.377778-28.444444 28.444444-28.444444h170.666667c17.066667 0 28.444444 11.377778 28.444444 28.444444v113.777778c0 17.066667-11.377778 28.444444-28.444444 28.444444s-28.444444-11.377778-28.444445-28.444444V227.555556zM398.222222 881.777778c0-17.066667 11.377778-28.444444 28.444445-28.444445h170.666666c17.066667 0 28.444444 11.377778 28.444445 28.444445s-11.377778 28.444444-28.444445 28.444444h-170.666666c-17.066667 0-28.444444-11.377778-28.444445-28.444444z m0-682.666667c0-17.066667 11.377778-28.444444 28.444445-28.444444h170.666666c17.066667 0 28.444444 11.377778 28.444445 28.444444s-11.377778 28.444444-28.444445 28.444445h-170.666666c-17.066667 0-28.444444-11.377778-28.444445-28.444445z m-341.333333 568.888889c0-17.066667 11.377778-28.444444 28.444444-28.444444s28.444444 11.377778 28.444445 28.444444V853.333333h142.222222c17.066667 0 28.444444 11.377778 28.444444 28.444445s-11.377778 28.444444-28.444444 28.444444h-170.666667c-17.066667 0-28.444444-11.377778-28.444444-28.444444v-113.777778z m56.888889-455.111111c0 17.066667-11.377778 28.444444-28.444445 28.444444S56.888889 329.955556 56.888889 312.888889v-113.777778c0-17.066667 11.377778-28.444444 28.444444-28.444444h170.666667c17.066667 0 28.444444 11.377778 28.444444 28.444444s-11.377778 28.444444-28.444444 28.444445H113.777778v85.333333z m0 284.444444c0 17.066667-11.377778 28.444444-28.444445 28.444445s-28.444444-11.377778-28.444444-28.444445v-113.777777c0-17.066667 11.377778-28.444444 28.444444-28.444445s28.444444 11.377778 28.444445 28.444445v113.777777z" p-id="31494" fill="#1296db"></path></svg>',N.ROI_POLYGON='<svg t="1553766890352" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="32066" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M85.333333 85.333333 85.333333 341.333333 182.613333 341.333333 237.653333 682.666667 170.666667 682.666667 170.666667 938.666667 426.666667 938.666667 426.666667 855.893333 640 855.466667 640 938.666667 896 938.666667 896 682.666667 817.92 682.666667 853.333333 384 938.666667 384 938.666667 128 682.666667 128 682.666667 278.613333 631.466667 341.333333 409.173333 341.333333 341.333333 248.32 341.333333 85.333333M170.666667 170.666667 256 170.666667 256 256 170.666667 256M768 213.333333 853.333333 213.333333 853.333333 298.666667 768 298.666667M269.226667 341.333333 303.36 341.333333 384 451.84 384 597.333333 640 597.333333 640 465.493333 706.986667 384 768 384 732.16 682.666667 640 682.666667 640 770.56 426.666667 770.56 426.666667 682.666667 324.266667 682.666667M469.333333 426.666667 554.666667 426.666667 554.666667 512 469.333333 512M256 768 341.333333 768 341.333333 853.333333 256 853.333333M725.333333 768 810.666667 768 810.666667 853.333333 725.333333 853.333333" p-id="32067" fill="#1296db"></path></svg>',N.SCALE_VIEW='<svg t="1553753941568" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11856" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M722.8 774.7c9.4 9.4 21.7 14.1 34 14.1s24.6-4.7 34-14.1c18.8-18.8 18.8-49.2 0-68L642.9 558.9c27.3-45 43.1-97.8 43.1-154.2 0-164.2-133.6-297.8-297.8-297.8S90.4 240.5 90.4 404.7 224 702.5 388.2 702.5c73.1 0 140.1-26.5 192-70.4l142.6 142.6zM388.2 606.4c-111.2 0-201.7-90.5-201.7-201.7C186.5 293.5 277 203 388.2 203c111.2 0 201.7 90.5 201.7 201.7 0 111.2-90.5 201.7-201.7 201.7z" p-id="11857" fill="#1296db"></path><path d="M490.8 345.9H447v-43.8c0-32.5-26.3-58.8-58.8-58.8s-58.8 26.3-58.8 58.8v43.8h-43.8c-32.5 0-58.8 26.3-58.8 58.8s26.3 58.8 58.8 58.8h43.8v43.8c0 32.5 26.3 58.8 58.8 58.8s58.8-26.3 58.8-58.8v-43.8h43.8c32.5 0 58.8-26.3 58.8-58.8 0-32.4-26.3-58.8-58.8-58.8zM791.5 133.6H689.8v96.2h101.6c27.6 0 50 22.4 50 50V356h96.2v-76.3c0-80.5-65.5-146.1-146.1-146.1zM841.5 773.3c0 27.6-22.4 50-50 50H689.8v96.2h101.6c80.6 0 146.2-65.6 146.2-146.2V697h-96.2v76.3zM197.2 773.3V697H101v76.3c0 80.6 65.6 146.2 146.2 146.2h101.6v-96.2H247.2c-27.6 0-50-22.4-50-50z" p-id="11858" fill="#1296db"></path></svg>',N.STOP='<svg t="1553752022557" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8879" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M511.968 73.152q119.424 0 220.288 58.848t159.712 159.712 58.848 220.288-58.848 220.288-159.712 159.712-220.288 58.848-220.288-58.848-159.712-159.712-58.848-220.288 58.848-220.288 159.712-159.712 220.288-58.848zM511.968 822.848q84.576 0 156-41.728t113.152-113.152 41.728-156-41.728-156-113.152-113.152-156-41.728-156 41.728-113.152 113.152-41.728 156 41.728 156 113.152 113.152 156 41.728zM347.392 694.848q-8 0-13.152-5.152t-5.152-13.152l0-329.152q0-8 5.152-13.152t13.152-5.152l329.152 0q8 0 13.152 5.152t5.152 13.152l0 329.152q0 8-5.152 13.152t-13.152 5.152l-329.152 0z" p-id="8880" fill="#1296db"></path></svg>',N.STATE_GREEN='<svg t="1553826704425" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40346" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#1bb90a" p-id="40347"></path></svg>',N.STATE_RED='<svg t="1553826704425" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40346" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#d81e06" p-id="40347"></path></svg>',N.STATE_YELLOW='<svg t="1553826937405" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40561" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#dfc801" p-id="40562"></path></svg>',N.VOLUME_ON='<svg t="1555494805635" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7740" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M779.946667 357.12a42.666667 42.666667 0 1 0-66.56 53.76 170.666667 170.666667 0 0 1 0 202.24A42.666667 42.666667 0 0 0 746.666667 682.666667a42.666667 42.666667 0 0 0 33.28-15.786667 256 256 0 0 0 0-309.76z" p-id="7741" fill="#1296db"></path><path d="M837.973333 223.146667a42.666667 42.666667 0 1 0-54.613333 65.706666A290.133333 290.133333 0 0 1 896 512a290.133333 290.133333 0 0 1-112.64 223.146667 42.666667 42.666667 0 0 0-5.546667 60.16A42.666667 42.666667 0 0 0 810.666667 810.666667a42.666667 42.666667 0 0 0 27.306666-9.813334A373.333333 373.333333 0 0 0 981.333333 512a373.333333 373.333333 0 0 0-143.36-288.853333zM617.386667 133.12a42.666667 42.666667 0 0 0-42.666667 0L298.666667 322.986667H85.333333a42.666667 42.666667 0 0 0-42.666666 42.666666v292.693334a42.666667 42.666667 0 0 0 42.666666 42.666666h213.333334l273.493333 187.733334A45.226667 45.226667 0 0 0 597.333333 896a42.666667 42.666667 0 0 0 42.666667-42.666667V170.666667a42.666667 42.666667 0 0 0-22.613333-37.546667z" p-id="7742" fill="#1296db"></path></svg>',N.VOLUME_OFF='<svg t="1555494833118" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1596" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M721.493333 600.746667l61.44 61.44a256 256 0 0 0-2.986666-305.066667 42.666667 42.666667 0 1 0-66.56 53.76 170.666667 170.666667 0 0 1 8.106666 189.866667z" p-id="1597" fill="#1296db"></path><path d="M896 512a277.76 277.76 0 0 1-75.946667 187.306667l60.586667 60.586666A363.946667 363.946667 0 0 0 981.333333 512a373.333333 373.333333 0 0 0-143.36-288.853333 42.666667 42.666667 0 1 0-54.613333 65.706666A290.133333 290.133333 0 0 1 896 512zM640 519.253333V170.666667a42.666667 42.666667 0 0 0-66.986667-35.413334L384 264.533333zM202.24 322.986667H85.333333a42.666667 42.666667 0 0 0-42.666666 42.666666v292.693334a42.666667 42.666667 0 0 0 42.666666 42.666666h213.333334l273.493333 187.733334A45.226667 45.226667 0 0 0 597.333333 896a42.666667 42.666667 0 0 0 42.666667-42.666667v-92.586666zM200.96 140.373333a42.666667 42.666667 0 0 0-60.586667 60.586667l682.666667 682.666667a42.666667 42.666667 0 0 0 60.586667 0 42.666667 42.666667 0 0 0 0-60.586667z" p-id="1598" fill="#1296db"></path></svg>',N.RECORD='<svg t="1561699691315" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1847" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M704 434.496l131.7952-131.7888a38.4 38.4 0 0 1 65.5488 27.1552v388.48a38.4 38.4 0 0 1-65.5488 27.1488L704 613.7024V729.6a38.4 38.4 0 0 1-38.4 38.4H166.4a38.4 38.4 0 0 1-38.4-38.4V345.6a38.4 38.4 0 0 1 38.4-38.4h499.2a38.4 38.4 0 0 1 38.4 38.4v88.896zM281.6 524.8c42.4128 0 76.8-34.3872 76.8-76.8s-34.3872-76.8-76.8-76.8-76.8 34.3872-76.8 76.8 34.3872 76.8 76.8 76.8z" fill="#d81e06" p-id="1848"></path></svg>',N.TALK_ON='<svg class="icon" width="32px" height="32.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M512 683.52c130.56 0 235.52-102.4 235.52-232.96V256c0-130.56-104.96-232.96-235.52-232.96s-235.52 102.4-235.52 232.96v194.56c0 130.56 102.4 232.96 235.52 232.96z m368.64-281.6c0-23.04-20.48-43.52-46.08-43.52s-43.52 20.48-43.52 43.52c0 5.12 0 10.24 2.56 12.8v33.28c0 151.04-125.44 276.48-281.6 276.48-153.6 0-281.6-125.44-281.6-276.48V409.6c0-2.56 2.56-5.12 2.56-10.24 0-23.04-20.48-43.52-43.52-43.52-25.6 0-43.52 20.48-43.52 43.52v64c0 186.88 140.8 335.36 320 360.96v87.04h-122.88c-25.6 0-46.08 20.48-46.08 46.08s20.48 43.52 46.08 43.52h332.8c28.16 0 43.52-17.92 43.52-43.52 0-23.04-17.92-46.08-43.52-46.08h-122.88v-87.04c184.32-20.48 327.68-174.08 327.68-360.96v-61.44z m0 0" /></svg>',N.TALK_OFF='<svg class="icon" width="32px" height="32.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M840.533333 34.133333c17.066667 17.066667 17.066667 42.666667 0 59.733334l-682.666666 682.666666c-8.533333 8.533333-19.2 12.8-29.866667 12.8s-21.333333-4.266667-29.866667-12.8c-17.066667-17.066667-17.066667-42.666667 0-59.733333L196.266667 618.666667C179.2 578.133333 170.666667 535.466667 170.666667 490.666667c0-23.466667 19.2-42.666667 42.666666-42.666667s42.666667 19.2 42.666667 42.666667c0 21.333333 2.133333 40.533333 6.4 59.733333l36.266667-36.266667c0-8.533333-2.133333-14.933333-2.133334-23.466666V234.666667c0-117.333333 96-213.333333 213.333334-213.333334 57.6 0 110.933333 21.333333 151.466666 61.866667 10.666667 10.666667 21.333333 23.466667 29.866667 38.4l87.466667-87.466667c19.2-17.066667 44.8-17.066667 61.866666 0zM384 430.933333L629.333333 185.6c-6.4-14.933333-14.933333-27.733333-27.733333-40.533333C578.133333 119.466667 546.133333 106.666667 512 106.666667c-70.4 0-128 57.6-128 128v196.266666zM512 704c117.333333 0 213.333333-96 213.333333-213.333333v-128c0-23.466667-19.2-42.666667-42.666666-42.666667s-42.666667 19.2-42.666667 42.666667v128c0 70.4-57.6 128-128 128-25.6 0-51.2-8.533333-72.533333-23.466667-19.2-12.8-46.933333-8.533333-59.733334 10.666667-12.8 19.2-8.533333 46.933333 10.666667 59.733333C426.666667 691.2 467.2 704 512 704" /><path fill="#1296db" d="M853.333333 490.666667c0-23.466667-19.2-42.666667-42.666666-42.666667s-42.666667 19.2-42.666667 42.666667c0 140.8-115.2 256-256 256-57.6 0-115.2-21.333333-162.133333-57.6-19.2-14.933333-44.8-12.8-59.733334 6.4-14.933333 19.2-12.8 44.8 6.4 59.733333 49.066667 40.533333 108.8 66.133333 172.8 74.666667V896h-128c-23.466667 0-42.666667 19.2-42.666666 42.666667s19.2 42.666667 42.666666 42.666666h341.333334c23.466667 0 42.666667-19.2 42.666666-42.666666s-19.2-42.666667-42.666666-42.666667h-128v-66.133333c168.533333-21.333333 298.666667-166.4 298.666666-339.2" /></svg>',N.PTZ_CTL='<svg t="1591624538177" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4797" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M1013.474793 529.83766c-15.388062 9.085203-266.877827 154.732357-285.105015 164.669297a20.384923 20.384923 0 0 1-30.832906-17.659363v-329.338594a20.498488 20.498488 0 0 1 31.457514-17.772928l284.480407 164.669297a20.498488 20.498488 0 0 1 0 35.432291zM676.697689 326.499469H347.018399a20.384923 20.384923 0 0 1-17.659363-30.832907c10.107288-18.227188 155.811225-269.603387 164.669298-284.991449a20.498488 20.498488 0 0 1 35.716202 0c12.378589 21.350226 157.28757 271.817906 164.669298 284.366842a20.498488 20.498488 0 0 1-17.716145 31.400731z m-381.010685 368.177836c-18.227188-10.107288-269.603387-155.754442-284.991449-164.669298a20.498488 20.498488 0 0 1 0-35.716203l284.366841-164.669297a20.498488 20.498488 0 0 1 31.457514 17.772928v329.338594a20.384923 20.384923 0 0 1-30.832906 17.772928z m51.104265 2.839125h329.679289a20.498488 20.498488 0 0 1 17.772928 31.457514c-7.21138 12.548936-152.120361 263.073398-164.669297 284.480407a20.498488 20.498488 0 0 1-35.716203 0c-9.085203-15.388062-154.789139-266.877827-164.669297-285.105014a20.384923 20.384923 0 0 1 17.82971-30.889689z" p-id="4798" fill="#1296db"></path></svg>',N.ALL_SVGS={snapshot:N.SNAPSHOT,maximize:N.MAXIMIZE,"roi-rect":N.ROI_RECT,"roi-polygon":N.ROI_POLYGON,"scale-view":N.SCALE_VIEW,stop:N.STOP,"state-green":N.STATE_GREEN,"state-red":N.STATE_RED,"state-yellow":N.STATE_YELLOW,"volume-on":N.VOLUME_ON,"volume-off":N.VOLUME_OFF,"talk-on":N.TALK_ON,"talk-off":N.TALK_OFF,record:N.RECORD,ptz:N.PTZ_CTL},N.DEFAULT_SIZE=28;var F=function e(){a(this,e)};F.STATE=1,F.NAME=2,F.SPEED=4,F.ALL=65535;var j=function(){function e(t,n){a(this,e),this.box=t,this.stateSpan=null,this.nameSpan=null,this.speedSpan=null,this.isShow=!0,this.titleBar=document.createElement("div"),this.titleBar.classList.add("vat-title"),this.stateSpan=document.createElement("span"),this.stateSpan.classList.add("state"),this.titleBar.appendChild(this.stateSpan),this.nameSpan=document.createElement("span"),this.nameSpan.classList.add("vat-name"),this.nameSpan.innerText="未知设备",this.titleBar.appendChild(this.nameSpan),this.speedSpan=document.createElement("span"),this.speedSpan.classList.add("vat-speed"),this.speedSpan.innerText="20.5KB/s",this.titleBar.appendChild(this.speedSpan),this.box.appendChild(this.titleBar),this.hasTitleBar=0!==n,this.autoShow(),0==(n&F.STATE)&&(this.stateSpan.style.display="none"),0==(n&F.NAME)&&(this.nameSpan.style.display="none"),0==(n&F.SPEED)&&(this.speedSpan.style.display="none")}return l(e,[{key:"adjustWidth",value:function(e){this.nameSpan&&(this.nameSpan.style.maxWidth="".concat(e-120,"px"))}},{key:"show",value:function(){this.isShow=!0,this.titleBar.style.display="block"}},{key:"hide",value:function(){this.isShow=!1,this.titleBar.style.display="none"}},{key:"height",value:function(){return this.isShow?this.titleBar.offsetHeight:0}},{key:"autoShow",value:function(){this.hasTitleBar?this.show():this.hide()}},{key:"clear",value:function(){this.speedSpan&&(this.speedSpan.innerText=""),this.nameSpan&&(this.nameSpan.innerText=""),this.stateSpan&&(this.stateSpan.innerHTML=""),this.titleBar.style.display="none"}},{key:"setState",value:function(e){this.stateSpan&&(this.stateSpan.innerHTML="","red"===e?this.stateSpan.appendChild(N.getSVG("state-red",null,16)):"green"===e?this.stateSpan.appendChild(N.getSVG("state-green",null,16)):"yellow"===e&&this.stateSpan.appendChild(N.getSVG("state-yellow",null,16)))}},{key:"setName",value:function(e){this.nameSpan&&(this.nameSpan.innerText=e,this.nameSpan.title=e)}},{key:"setSpeed",value:function(e){var t;t=e<1024?"".concat(e," B/s"):e<1048576?"".concat(Math.round(e/10.24)/100," KB/s"):"".concat(Math.round(e/10485.76)/100," MB/s"),this.speedSpan&&(this.speedSpan.innerText=t)}}]),e}();function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function H(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e)||function(){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 W(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}j.STATE_CLOSE="red",j.STATE_WAITTING="yellow",j.STATE_RUNNING="green";var U=function(){function e(t,n,r){var i=this;a(this,e),this.onEscape=null,this.onSave=null,this._width=0,this._height=0,this._left=0,this._top=0,this.box=t,this.drawType=e.DRAW_NONE,this.oldDiagrams=[],this.diagrams=[],this.drawingDiagram=null,this._isDrawing=!1,this.maxRoi=n,this.storeCanvas=document.createElement("canvas"),this.storeCanvas.classList.add("vat-roi-view"),this.box.appendChild(this.storeCanvas),this.canvas=document.createElement("canvas"),this.canvas.classList.add("vat-roi-draw"),this.canvas.tabIndex=0,this.box.appendChild(this.canvas),this.ctx=this.canvas.getContext("2d"),this.menu=null,this.isShowMenu=r,this.lineColor="red";var o=this;this.canvas.onmousedown=function(t){var n=i.transPoint(t);if(2!==t.buttons)if(1!==t.buttons);else if(o.drawType===e.DRAW_RECT){if(o._isDrawing)return void(o._isDrawing=!1);o.drawingDiagram={points:[{x:n.x,y:n.y},{x:n.x,y:n.y}],type:o.drawType,width:i._width,height:i._height,color:i.lineColor},o._isDrawing=!0}else o.drawType===e.DRAW_POLYGON&&(null===o.drawingDiagram?o.drawingDiagram={points:[{x:n.x,y:n.y}],type:o.drawType,width:i._width,height:i._height,color:i.lineColor}:o.drawingDiagram.points.push({x:n.x,y:n.y}),o._isDrawing=!0)},this.canvas.onmouseup=function(t){if(o._isDrawing){var n=i.transPoint(t);if(o.drawType===e.DRAW_RECT)o.drawingDiagram&&(o.drawingDiagram.points[1].x=n.x,o.drawingDiagram.points[1].y=n.y),o._isDrawing=!1;else if(o.drawType===e.DRAW_POLYGON&&null!==o.drawingDiagram&&null!==o.ctx){o.ctx.beginPath();var r=o.drawingDiagram.points[o.drawingDiagram.points.length-1];o.ctx.moveTo(r.x,r.y),o.ctx.lineTo(n.x,n.y),o.ctx.stroke(),o.ctx.closePath()}}},this.canvas.onmousemove=function(t){if(o._isDrawing&&null!==o.drawingDiagram&&null!==o.ctx){var n=i.transPoint(t);if(o.ctx.strokeStyle=i.lineColor,o.ctx.lineWidth=2,o.drawType===e.DRAW_RECT){o.ctx.clearRect(0,0,o._width,o._height);var r=o.drawingDiagram.points[0].x,a=o.drawingDiagram.points[0].y,s=n.x-r,l=n.y-a;o.ctx.strokeRect(r,a,s,l),o.drawingDiagram.points[1].x=n.x,o.drawingDiagram.points[1].y=n.y}else if(o.drawType===e.DRAW_POLYGON){var c=o.drawingDiagram.points;o.ctx.clearRect(0,0,o._width,o._height),o.ctx.beginPath(),o.ctx.moveTo(c[0].x,c[0].y);for(var u=1;u<c.length;u++)o.ctx.lineTo(c[u].x,c[u].y);o.ctx.stroke(),o.ctx.closePath(),o.ctx.beginPath(),o.ctx.strokeStyle="yellow",o.ctx.moveTo(c[0].x,c[0].y),o.ctx.lineTo(n.x,n.y),o.ctx.lineTo(c[c.length-1].x,c[c.length-1].y),o.ctx.stroke(),o.ctx.closePath()}}},this.canvas.oncontextmenu=function(e){e.preventDefault(),i.isShowMenu&&i.showMenu(e)},this.canvas.style.display="none"}return l(e,[{key:"resize",value:function(e,t,n,r){this._left=e,this._top=t,this._width=n,this._height=r,this.canvas.width=n,this.canvas.height=r,this.canvas.style.top="".concat(t,"px"),this.canvas.style.left="".concat(e,"px"),this.storeCanvas.width=n,this.storeCanvas.height=r,this.storeCanvas.style.top="".concat(t,"px"),this.storeCanvas.style.left="".concat(e,"px"),this._width>0&&this._height>0&&(this.dumpDiagrams(),this.updateDrawing())}},{key:"destroy",value:function(){this.box.removeChild(this.storeCanvas),this.box.removeChild(this.canvas)}},{key:"start",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.drawType=t,null!==n&&(this.lineColor=n),this.canvas.style.display="",this.ctx&&(this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.strokeStyle="red",this.ctx.fillStyle="red",this.ctx.font="16px Arial",this.drawType===e.DRAW_RECT?this.ctx.fillText("开始绘制矩形...",this.canvas.width/2,this.canvas.height/2-20):this.ctx.fillText("开始绘制多边形...",this.canvas.width/2,this.canvas.height/2-20),this.ctx.font="14px Arial",this.ctx.fillStyle="#ee0000",this.isShowMenu&&this.ctx.fillText("鼠标右键更多操作",this.canvas.width/2,this.canvas.height/2+20)),this.storeCanvas.style.background="#00000088",this.oldDiagrams=H(this.diagrams),this.canvas.focus()}},{key:"stop",value:function(){this.drawingDiagram=null,this._isDrawing=!1,this.drawType=e.DRAW_NONE,this.canvas.style.display="none",this.ctx&&this.ctx.clearRect(0,0,this._width,this._height),this.storeCanvas.style.background=""}},{key:"setROI",value:function(e){this.diagrams=e,this.oldDiagrams=H(this.diagrams),this.dumpDiagrams()}},{key:"saveQuit",value:function(){return!!this.checkDrawing()&&(this.diagrams.length+this.drawingCount()>this.maxRoi?(this.showMsg("已达到绘图数量限制!!"),!1):(this.saveDrawing(),this.onSave&&this.onSave(this.diagrams),!0))}},{key:"isUserDrawing",value:function(){return this.drawType!==e.DRAW_NONE}},{key:"showMsg",value:function(e){this.ctx&&(this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.strokeStyle="red",this.ctx.fillStyle="red",this.ctx.font="16px Arial",this.ctx.fillText(e,this.canvas.width/2,this.canvas.height/2))}},{key:"dumpDiagrams",value:function(){var t=this.diagrams,n=this.storeCanvas.getContext("2d");if(n&&(n.clearRect(0,0,this.storeCanvas.width,this.storeCanvas.height),null!==t&&0!==t.length)){var r=this.storeCanvas.width,i=this.storeCanvas.height;n.strokeStyle=this.lineColor,n.lineWidth=2;var a,o=W(t);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.color?n.strokeStyle=s.color:n.strokeStyle=this.lineColor;var l=r/s.width,c=i/s.height;if(s.type===e.DRAW_RECT){var u=this.scalePoint(s.points[0].x,l,r),d=this.scalePoint(s.points[0].y,c,i),h=this.scalePoint(s.points[1].x,l,r)-u,f=this.scalePoint(s.points[1].y,c,i)-d;n.strokeRect(u,d,h,f)}else if(s.type===e.DRAW_POLYGON){var p=this.scalePoint(s.points[0].x,l,r),m=this.scalePoint(s.points[0].y,c,i);n.beginPath(),n.moveTo(p,m);for(var y=1;y<s.points.length;y++){var v=this.scalePoint(s.points[y].x,l,r),g=this.scalePoint(s.points[y].y,c,i);n.lineTo(v,g)}n.lineTo(p,m),n.stroke(),n.closePath()}}}catch(e){o.e(e)}finally{o.f()}}}},{key:"checkDrawing",value:function(){if(null===this.drawingDiagram)return!0;var t,n=W(this.drawingDiagram.points);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.x<0&&(r.x=0),r.y<0&&(r.y=0),r.x>this.drawingDiagram.width&&(r.x=this.drawingDiagram.width),r.y>this.drawingDiagram.height&&(r.y=this.drawingDiagram.height)}}catch(e){n.e(e)}finally{n.f()}if(this.drawingDiagram.type===e.DRAW_RECT){var i=this.drawingDiagram.points;2===i.length&&i[0].x===i[1].x&&i[0].y===i[1].y&&(this.drawingDiagram=null)}else if(this.drawingDiagram.type===e.DRAW_POLYGON&&this.drawingDiagram.points.length<3)return this.showMsg("至少需要画3个点!!"),!1;return!0}},{key:"saveDrawing",value:function(){null!=this.drawingDiagram&&((this.drawingDiagram.type===e.DRAW_RECT&&2===this.drawingDiagram.points.length||this.drawingDiagram.type===e.DRAW_POLYGON&&this.drawingDiagram.points.length>2)&&this.diagrams.push(this.drawingDiagram),this.drawingDiagram=null,this.dumpDiagrams())}},{key:"updateDrawing",value:function(){if(this.ctx){if(this.ctx.clearRect(0,0,this._width,this._height),null!=this.drawingDiagram){if(this._width!==this.drawingDiagram.width||this._height!==this.drawingDiagram.height){var t,n=this._width/this.drawingDiagram.width,r=this._height/this.drawingDiagram.height,i=W(this.drawingDiagram.points);try{for(i.s();!(t=i.n()).done;){var a=t.value;a.x=a.x*n,a.y=a.y*r}}catch(e){i.e(e)}finally{i.f()}this.drawingDiagram.width=this._width,this.drawingDiagram.height=this._height}if(this.ctx.strokeStyle=this.lineColor,this.drawType===e.DRAW_RECT&&2===this.drawingDiagram.points.length){var o=this.drawingDiagram.points[0].x,s=this.drawingDiagram.points[0].y,l=this.drawingDiagram.points[1].x-o,c=this.drawingDiagram.points[1].y-s;this.ctx.strokeRect(o,s,l,c)}else if(this.drawType===e.DRAW_POLYGON&&this.drawingDiagram.points.length>=2){var u=this.drawingDiagram.points;this.ctx.beginPath(),this.ctx.moveTo(u[0].x,u[0].y);for(var d=1;d<u.length;d++)this.ctx.lineTo(u[d].x,u[d].y);this.ctx.lineTo(u[0].x,u[0].y),this.ctx.stroke(),this.ctx.closePath()}}}else console.warn("updateDrawing ctx is null")}},{key:"showMenu",value:function(e){var t=this,n=this.transPoint(e);if(null===this.menu){this.menu=document.createElement("ul"),this.menu.classList.add("vat-roi-menu"),this.box.appendChild(this.menu);var r=this;this.menu.onmouseleave=function(e){r.menu&&(r.menu.style.display="none")},this.createMenuItem("保存&退出",(function(){r.checkDrawing()&&(r.diagrams.length+r.drawingCount()>r.maxRoi?r.showMsg("已达到绘图数量限制!!"):(r.saveDrawing(),r.onSave&&r.onSave(t.diagrams)))})),this.createMenuItem("取消&退出",(function(){r.diagrams=r.oldDiagrams,r.dumpDiagrams(),r.onEscape&&r.onEscape()})),this.createMenuItem("保存&继续",(function(){r.checkDrawing()&&(t.diagrams.length+r.drawingCount()>t.maxRoi?r.showMsg("已达到绘图数量限制!!"):(t.saveDrawing(),t.updateDrawing()),r._isDrawing=!1)})),this.createMenuItem("擦除一个",(function(){r._isDrawing=!1,null!=r.drawingDiagram?(r.drawingDiagram=null,r.ctx&&r.ctx.clearRect(0,0,r._width,r._height)):r.diagrams.length>0&&(r.diagrams.pop(),r.dumpDiagrams())})),this.createMenuItem("擦除所有",(function(){r._isDrawing=!1,null!=r.drawingDiagram&&(r.drawingDiagram=null,r.ctx&&r.ctx.clearRect(0,0,r._width,r._height)),r.diagrams.length>0&&(r.diagrams=[],r.dumpDiagrams())}))}this.menu.style.display="block",this.menu.style.left="".concat(n.x,"px"),this.menu.style.top="".concat(n.y,"px")}},{key:"createMenuItem",value:function(e,t){if(null!==this.menu){var n=document.createElement("li");n.innerText=e;var r=this;n.onclick=function(e){t(),r.menu&&(r.menu.style.display="none")},this.menu.appendChild(n)}}},{key:"drawingCount",value:function(){return null==this.drawingDiagram?0:this.drawingDiagram.points.length>0?1:0}},{key:"transPoint",value:function(e){var t={x:e.offsetX,y:e.offsetY};return 0===t.x&&0===t.y&&(t.x=e.layerX,t.y=e.layerY),t}},{key:"scalePoint",value:function(e,t,n){return(e*=t)<0?e=0:e>n&&(e=n),e}}]),e}();function V(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}U.DRAW_NONE=0,U.DRAW_RECT=1,U.DRAW_POLYGON=2,n("28a5");var Q=function(){function e(){a(this,e)}return l(e,null,[{key:"parseUrl",value:function(t){return void 0===t||0===t.length?t||"":0!==t.indexOf("plive://")&&0!==t.indexOf("psub://")&&0!==t.indexOf("vms://")||t.indexOf("token=")>0||void 0===e.token||0===e.token.length?t:t.indexOf("?")>0?t+"&token="+e.token:t+"?token="+e.token}},{key:"parseVodUrl",value:function(e){var t={id:"",ip:"",port:0,start:"",end:"",type:0};if(0===e.indexOf("vms://")){var n=e.indexOf("/",6);if(n<0)return t;var r=e.indexOf("@",6);r<0&&(r=6);var i=e.substring(r,n).split(":");t.ip=i[0],t.port=parseInt(i[1],10),r=e.indexOf("/",n+1),n=e.indexOf("/",r+1),t.id=e.substring(r+1,n);var a,o={},s=V(e.substring(e.indexOf("?",r)+1).split("&"));try{for(s.s();!(a=s.n()).done;){var l=a.value.split("=",2);o[l[0]]=l[1]}}catch(e){s.e(e)}finally{s.f()}t.start=o.beginTime,t.end=o.endTime,t.type=parseInt(o.type?o.type:1,10)}return t}}]),e}(),J=function(){function e(){a(this,e),this.websocket=null,this.faceRectUrl=void 0,this.faceSnapUrl=void 0,this.extUrl=void 0,this.maxCacheTime=3e4,this.maxCacheCount=750}return l(e,[{key:"setUrl",value:function(e,t,n){this.faceRectUrl=e,this.faceSnapUrl=t,this.extUrl=n,this.websocket&&this.websocket.readyState===WebSocket.OPEN&&this.start(this.websocket)}},{key:"start",value:function(t){this.websocket=t;var n=JSON.stringify({cmd:e.CMD_OPEN_FACE,faceRectUrl:Q.parseUrl(this.faceRectUrl),faceSnapUrl:Q.parseUrl(this.faceSnapUrl),extUrl:Q.parseUrl(this.extUrl)});this.websocket.send(n)}},{key:"stop",value:function(){if(null!==this.websocket&&this.websocket.readyState===WebSocket.OPEN){var t=JSON.stringify({cmd:e.CMD_CLOSE_FACE});this.websocket.send(t)}}}]),e}();J.CMD_OPEN_FACE="open_face",J.CMD_CLOSE_FACE="close_face",n("a481");var q=function(){function e(){a(this,e)}return l(e,null,[{key:"get",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(console.log(n,t[n]),e=e.replace("{".concat(n,"}"),t[n]));return e}},{key:"set",value:function(t,n){"plugin-service-disconnected"===t?e.PLUGIN_SERVICE_DISCONNECTED=n:"plugin-service-mismatch"===t?e.PLUGIN_SERVICE_MISMATCH=n:"plugin-service-notfound"===t?e.PLUGIN_SERVICE_NOTFOUND=n:"plugin-service-version-require"===t?e.PLUGIN_SERVICE_VERSION_REQUIRE=n:"plugin-service-error"===t?e.PLUGIN_SERVICE_ERROR=n:"plugin-download"===t?e.PLUGIN_DOWNLOAD=n:"plugin-vod-error"===t?e.PLUGIN_VOD_ERROR=n:"stream-no-data"===t?e.STREAM_NO_DATA=n:"stream-concurrency-limit"===t?e.STREAM_CONCURRENCY_LIMIT=n:"user-concurrency-limit"===t?e.USER_CONCURRENCY_LIMIT=n:"stream-connect-failed"===t?e.STREAM_CONNECT_FAILED=n:"stream-notfound"===t?e.STREAM_NOTFOUND=n:"stream-auth-failed"===t?e.STREAM_AUTH_FAILED=n:"stream-unknown-error"===t?e.STREAM_UNKNOWN_ERROR=n:"stream-protocol-error"===t?e.STREAM_PROTOCOL_ERROR=n:"stream-disconnected"===t?e.STREAM_DISCONNECTED=n:"stream-unsupported"===t?e.STREAM_UNSUPPORTED=n:"stream-open-failed"===t?e.STREAM_OPEN_FAILED=n:"stream-authorize-limit"===t&&(e.STREAM_AUTHORIZE_LIMIT=n)}}]),e}();function K(e,t,n){return(K="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}q.PLUGIN_SERVICE_NOTFOUND="插件服务未安装或未启动",q.PLUGIN_SERVICE_DISCONNECTED="插件服务连接断开,请检查服务是否启动并刷新浏览器",q.PLUGIN_SERVICE_MISMATCH="插件版本不兼容",q.PLUGIN_SERVICE_VERSION_REQUIRE="插件服务版本不匹配,当前版本:{installed_version} 要求:{require_version}",q.PLUGIN_SERVICE_ERROR="连接插件服务错误",q.PLUGIN_DOWNLOAD="下载",q.PLUGIN_VOD_ERROR="启动回放进程失败",q.STREAM_NO_DATA="无视频数据",q.STREAM_CONCURRENCY_LIMIT="相机播放路数达到上限",q.USER_CONCURRENCY_LIMIT="用户播放路数达到上限",q.STREAM_CONNECT_FAILED="连接失败",q.STREAM_NOTFOUND="找不到流",q.STREAM_AUTH_FAILED="用户名或密码错误",q.STREAM_UNKNOWN_ERROR="未知异常",q.STREAM_PROTOCOL_ERROR="对方协议错误",q.STREAM_DISCONNECTED="连接断开",q.STREAM_UNSUPPORTED="不支持流类型",q.STREAM_OPEN_FAILED="打开流失败",q.STREAM_AUTHORIZE_LIMIT="授权播放路数达到上限",n("9c29");var X=function(){function e(){a(this,e),this.ctx=null,this.canvas=null,this.x1080pFactor=1,this.y1080pFactor=1,this.filter=null}return l(e,[{key:"setup",value:function(e){return this.canvas=e,this.ctx=e.getContext("2d"),null!==this.ctx}},{key:"clear",value:function(){this.ctx&&this.canvas&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}},{key:"destroy",value:function(){this.ctx=null,this.canvas=null}},{key:"resize",value:function(e,t){this.x1080pFactor=e/1920,this.y1080pFactor=t/1080}},{key:"setFilter",value:function(e){this.filter=e}}]),e}();function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var $=function(e){u(n,e);var t=Z(n);function n(){var e;return a(this,n),(e=t.call(this)).imagePool=[],e.imageCount=0,e.onDraw=null,e.timerId=0,e.imageList=[],e.isShow=!1,e}return l(n,[{key:"setAsync",value:function(e,t){var n=this;this.onDraw=t,0!==e&&(0!==this.timerId&&clearInterval(this.timerId),this.timerId=setInterval((function(){n.onPlayTimer()}),1e3/e))}},{key:"render",value:function(e,t,n){this.isShow=!0;var r=this,i=new Blob([t]);if(r.imagePool.length>0){var a=r.imagePool.shift();a.image.src=URL.createObjectURL(i),a.time=n}else{var o={image:new Image,time:n};o.time=n,o.image.onload=function(e){r.onLoad(o)},o.image.onerror=function(e){o.image.src.length>0&&URL.revokeObjectURL(o.image.src),r.imagePool.push(o)},r.imageCount++,o.image.src=URL.createObjectURL(i)}}},{key:"clear",value:function(){K(f(n.prototype),"clear",this).call(this),this.imageList=[],this.isShow=!1}},{key:"destroy",value:function(){0!==this.timerId&&(clearInterval(this.timerId),this.timerId=0),K(f(n.prototype),"destroy",this).call(this)}},{key:"onLoad",value:function(e){if(!this.isShow)return URL.revokeObjectURL(e.image.src),void this.imagePool.push(e);0!==this.timerId?this.imageList.push(e):(this.ctx&&this.canvas&&this.ctx.drawImage(e.image,0,0,this.canvas.width,this.canvas.height),this.onDraw&&this.onDraw(e.time,e.image.naturalWidth,e.image.naturalHeight),URL.revokeObjectURL(e.image.src),this.imagePool.push(e))}},{key:"onPlayTimer",value:function(){if(this.isShow&&null!==this.ctx&&null!==this.canvas&&0!==this.imageList.length&&!(this.imageList.length<8)){for(;this.imageList.length>11;){var e=this.imageList.shift();void 0!==e&&(URL.revokeObjectURL(e.image.src),this.imagePool.push(e))}var t=this.imageList.shift();void 0!==t&&(this.ctx.drawImage(t.image,0,0,this.canvas.width,this.canvas.height),this.onDraw&&this.onDraw(t.time,t.image.naturalWidth,t.image.naturalHeight),URL.revokeObjectURL(t.image.src),this.imagePool.push(t))}}}]),n}(X);$.MAX_CACHE_IMAGE_COUNT=10,n("34ef"),n("af56"),n("63d9");var ee=function(){function e(t){a(this,e),this.gl=t,this.texture=t.createTexture(),null!==this.texture&&(t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE))}return l(e,[{key:"bind",value:function(e,t,n){this.gl.activeTexture([this.gl.TEXTURE0,this.gl.TEXTURE1,this.gl.TEXTURE2][e]),this.gl.bindTexture(this.gl.TEXTURE_2D,this.texture),this.gl.uniform1i(this.gl.getUniformLocation(t,n),e)}},{key:"fill",value:function(e,t,n){this.gl.bindTexture(this.gl.TEXTURE_2D,this.texture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.LUMINANCE,e,t,0,this.gl.LUMINANCE,this.gl.UNSIGNED_BYTE,n)}}]),e}(),te=function(){function e(t,n){a(this,e),this.gl=t,this.y=new ee(this.gl),this.u=new ee(this.gl),this.v=new ee(this.gl),this.y.bind(0,n,"YTexture"),this.u.bind(1,n,"UTexture"),this.v.bind(2,n,"VTexture")}return l(e,[{key:"render",value:function(e,t,n){var r=t*n,i=r+r/4,a=t>>1,o=n>>1;this.gl.clearColor(0,0,0,0),this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.y.fill(t,n,e.subarray(0,r)),this.u.fill(a,o,e.subarray(r,i)),this.v.fill(a,o,e.subarray(i,e.length)),this.gl.drawArrays(this.gl.TRIANGLE_STRIP,0,4)}},{key:"clear",value:function(){this.gl.viewport(0,0,this.gl.canvas.width,this.gl.canvas.height),this.gl.clearColor(0,0,0,0),this.gl.clear(this.gl.COLOR_BUFFER_BIT)}},{key:"getGl",value:function(){return this.gl}}]),e}(),ne=function(){function e(){a(this,e),this.isSetup=!1,this.canvas=null,this.webgl=null,this.onDraw=null,this.timerId=0,this.cacheList=[]}return l(e,[{key:"setAsync",value:function(e,t){var n=this;this.onDraw=t,0!==e&&(0!==this.timerId&&clearInterval(this.timerId),this.timerId=setInterval((function(){if(!(n.cacheList.length<8)){for(;n.cacheList.length>11;)n.cacheList.shift();var e=n.cacheList.shift();void 0!==e&&n.webgl&&n.renderInternal(n.webgl,e.type,e.data,e.time)}}),1e3/e))}},{key:"resize",value:function(e,t){if(null!==this.webgl){var n=this.webgl.getGl();n.viewport(0,0,n.canvas.width,n.canvas.height)}}},{key:"clear",value:function(){this.webgl&&this.webgl.clear(),this.cacheList=[]}},{key:"destroy",value:function(){if(0!==this.timerId&&(clearInterval(this.timerId),this.timerId=0),null!==this.webgl){var e=this.webgl.getGl().getExtension("WEBGL_lose_context");null!==e&&e.loseContext()}this.webgl=null,this.canvas=null,this.isSetup=!1}},{key:"render",value:function(e,t,n){this.isSetup||(this.setupInternal(),this.isSetup=!0),0!==this.timerId?this.cacheList.push({type:e,data:t,time:n}):this.webgl&&this.renderInternal(this.webgl,e,t,n)}},{key:"setup",value:function(e){return this.canvas=e,!0}},{key:"setupInternal",value:function(){if(null===this.canvas)return!1;var e=this.canvas.getContext("webgl")||this.canvas.getContext("experimental-webgl");if(null===e)return!1;var t=e.createProgram();if(null===t)return!1;var n=["attribute lowp vec4 aVertexPosition;","attribute vec2 aTextureCoord;","varying lowp vec2 vTextureCoord;","void main(void) {"," gl_Position = aVertexPosition;"," vTextureCoord = aTextureCoord;","}"].join("\n"),r=e.createShader(e.VERTEX_SHADER);if(null===r)return!1;e.shaderSource(r,n),e.compileShader(r);var i=["precision lowp float;","varying lowp vec2 vTextureCoord;","uniform sampler2D YTexture;","uniform sampler2D UTexture;","uniform sampler2D VTexture;","const mat4 YUV2RGB = mat4","("," 1.1643828125, 0, 1.59602734375, -.87078515625,"," 1.1643828125, -.39176171875, -.81296875, .52959375,"," 1.1643828125, 2.017234375, 0, -1.081390625,"," 0, 0, 0, 1",");","void main(void) {"," gl_FragColor = vec4( texture2D(YTexture, vTextureCoord).x, texture2D(UTexture, vTextureCoord).x, ","texture2D(VTexture, vTextureCoord).x, 1) * YUV2RGB;","}"].join("\n"),a=e.createShader(e.FRAGMENT_SHADER);if(null===a)return!1;e.shaderSource(a,i),e.compileShader(a),e.attachShader(t,r),e.attachShader(t,a),e.linkProgram(t),e.useProgram(t),e.getProgramParameter(t,e.LINK_STATUS)||console.log("Shader link failed.");var o=e.getAttribLocation(t,"aVertexPosition");e.enableVertexAttribArray(o);var s=e.getAttribLocation(t,"aTextureCoord");e.enableVertexAttribArray(s);var l=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,l),e.bufferData(e.ARRAY_BUFFER,new Float32Array([1,1,0,-1,1,0,1,-1,0,-1,-1,0]),e.STATIC_DRAW),e.vertexAttribPointer(o,3,e.FLOAT,!1,0,0);var c=e.createBuffer();return e.bindBuffer(e.ARRAY_BUFFER,c),e.bufferData(e.ARRAY_BUFFER,new Float32Array([1,0,0,0,1,1,0,1]),e.STATIC_DRAW),e.vertexAttribPointer(s,2,e.FLOAT,!1,0,0),this.webgl=new te(e,t),!0}},{key:"setFilter",value:function(e){}},{key:"renderInternal",value:function(e,t,n,r){if(2===t){new DataView(n,0,12);var i=new Uint16Array(n,12,4),a=new Uint8Array(n,20);e.render(a,i[2],i[3]),this.onDraw&&this.onDraw(r,i[0],i[1])}else{var o=new Uint16Array(n,4,2);e.render(new Uint8Array(n,16),o[0],o[1]),this.onDraw&&this.onDraw(r,o[0],o[1])}}}]),e}();ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(e,t){var n=this.byteLength;if(t=void 0===t?n:0|t,(e=0|e||0)<0&&(e=Math.max(e+n,0)),t<0&&(t=Math.max(t+n,0)),0===n||e>=n||e>=t)return new ArrayBuffer(0);var r=Math.min(n-e,t-e),i=new ArrayBuffer(r);return new Uint8Array(i).set(new Uint8Array(this,e,r)),i});var re=function(){function e(){a(this,e),this.queue=[],this.timerId=0}return l(e,[{key:"getUrl",value:function(e){var t=new Blob([e]),n=URL.createObjectURL(t);if(this.queue.push({url:n,time:performance.now()}),0===this.timerId){var r=this;this.timerId=setInterval((function(){r.check()}),1e3)}return n}},{key:"check",value:function(){if(void 0!==this.queue){for(;this.queue.length>0&&performance.now()-this.queue[0].time>e.DEFAULT_CACHE_TIME;)URL.revokeObjectURL(this.queue[0].url),this.queue.shift();0===this.queue.length&&(clearInterval(this.timerId),this.timerId=0)}else clearInterval(this.timerId)}}]),e}();re.DEFAULT_CACHE_TIME=15e3;var ie=function(){function e(t,n){a(this,e),this.box=t,this.canvas=document.createElement("canvas"),this.canvas.classList.add(n),this.box.appendChild(this.canvas),this.render=null,this.isShow=!0,this.lastRenderTime=0}return l(e,[{key:"setupRender",value:function(e){return this.render=e,this.canvas.width>0&&this.canvas.height>0&&this.render.resize(this.canvas.width,this.canvas.height),this.render.setup(this.canvas)}},{key:"stopView",value:function(){this.isShow=!1,this.render&&this.render.clear()}},{key:"destroy",value:function(){this.stopView(),this.render&&(this.render.destroy(),this.render=null),this.box&&this.canvas&&(this.box.removeChild(this.canvas),this.box=null)}},{key:"move",value:function(e,t,n,r){this.canvas.width=n,this.canvas.height=r,this.canvas.style.left="".concat(e,"px"),this.canvas.style.top="".concat(t,"px"),this.render&&this.render.resize(n,r)}},{key:"putData",value:function(e,t,n){this.isShow&&this.render&&(this.render.render(e,t,n),this.lastRenderTime=performance.now())}},{key:"restoreView",value:function(){this.isShow=!0}},{key:"getImage",value:function(e,t){t&&(e.width=this.canvas.width,e.height=this.canvas.height);var n=e.getContext("2d");return n&&n.drawImage(this.canvas,0,0,e.width,e.height),!0}},{key:"getRender",value:function(){return this.render}}]),e}();function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var oe=function(e){u(n,e);var t=ae(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.DEFAULT_DURATION;return a(this,n),(i=t.call(this,e,r)).tmpCanvas=document.createElement("canvas"),i.syncTime=0,i.isSync=!0,i.queue=[],i.showDuration=o,i.ctx=null,i}return l(n,[{key:"setupRender",value:function(e){return null!==this.canvas&&(this.ctx=this.canvas.getContext("2d"),this.render=e,this.canvas.width>0&&this.canvas.height>0&&this.render.resize(this.canvas.width,this.canvas.height),this.render.setup(this.canvas))}},{key:"stopView",value:function(){K(f(n.prototype),"stopView",this).call(this),this.queue=[],this.syncTime=0,null!==this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}},{key:"move",value:function(e,t,r,i){this.tmpCanvas.width=r,this.tmpCanvas.height=i,K(f(n.prototype),"move",this).call(this,e,t,r,i)}},{key:"putData",value:function(e,t,n){0!==this.syncTime&&this.isShow&&this.render&&this.ctx&&(this.isSync&&this.syncTime>0&&n>this.syncTime?this.queue.push({type:e,data:t,time:n}):this.renderData({type:e,data:t,time:n}))}},{key:"setSync",value:function(e){this.isSync=e,this.queue=[]}},{key:"sync",value:function(e){this.syncTime=e,0===e&&this.queue.length>0&&(this.renderData(this.queue[this.queue.length-1]),this.queue=[]);for(var t=-1,n=0;n<this.queue.length&&this.queue[n].time<=this.syncTime+10;n++)t=n;if(t>=0){if(this.syncTime-this.queue[t].time>this.showDuration){for(;t>=0;)this.queue.shift(),t--;return}for(this.renderData(this.queue[t]);t>0;)this.queue.shift(),t-=1}else this.lastRenderTime>0&&this.render&&performance.now()-this.lastRenderTime>this.showDuration&&(this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.lastRenderTime=0)}},{key:"getCtx",value:function(){return this.ctx}},{key:"renderData",value:function(e){this.render&&this.ctx&&(this.render.render(e.type,e.data,e.time),this.lastRenderTime=performance.now())}}]),n}(ie);oe.DEFAULT_DURATION=42;var se=function(){function e(){a(this,e)}return l(e,null,[{key:"hollow",value:function(e,t,n,r,i){var a=Math.min(r,i)/3,o=t+r,s=n+i;e.moveTo(t,n+a),e.lineTo(t,n),e.lineTo(t+a,n),e.moveTo(o-a,n),e.lineTo(o,n),e.lineTo(o,n+a),e.moveTo(o,s-a),e.lineTo(o,s),e.lineTo(o-a,s),e.moveTo(t+a,s),e.lineTo(t,s),e.lineTo(t,s-a)}}]),e}();se.LINE_STYLE_SOLID=0,se.LINE_STYLE_HOWLLOW=16;var le=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(t,n,r,i,a){var o=new DataView(n),s=o.getFloat32(0,!0),l=o.getUint32(16,!0),c=(n.byteLength-20)/l,u=0,d="";t.beginPath();for(var h=20;h<n.byteLength;h+=c)if(!(s>=.2&&null!==a)||a.filter(o.getUint32(h+20,!0))){var f=o.getFloat32(h,!0)*r,p=o.getFloat32(h+4,!0)*i,m=o.getFloat32(h+8,!0)*r,y=o.getFloat32(h+12,!0)*i,v="rgba(65,255,244,0.8)",g=2,_=o.getUint32(h+16,!0),w=e.LINE_STYLE_HOWLLOW;if(_>0){var b=o.getUint8(h+16),A=o.getUint8(h+17),k=o.getUint8(h+18);w=(g=o.getUint8(h+19))&e.LINE_STYLE_BYTES,g&=e.WEIGHT_BYTES,u===_?v=d:(d=v="rgba(".concat(b,", ").concat(A,", ").concat(k,", 0.8)"),u=_,t.stroke(),t.closePath(),t.strokeStyle=v,t.lineWidth=g,t.beginPath())}else 20===h&&(t.strokeStyle=v,t.lineWidth=g);e.LINE_STYLE_HOWLLOW===w?se.hollow(t,f,p,m,y):e.LINE_STYLE_SOLID===w&&t.strokeRect(f,p,m,y)}t.stroke(),t.closePath()}}]),e}();le.LINE_STYLE_SOLID=0,le.LINE_STYLE_HOWLLOW=16,le.LINE_STYLE_BYTES=240,le.WEIGHT_BYTES=15;var ce=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(t,n,r,i,a){for(var o=new DataView(n),s=o.getFloat32(0,!0),l=o.getUint32(16,!0),c=(n.byteLength-20)/l,u=20;u<n.byteLength;u+=c)if(!(s>=.2&&null!==a)||a.filter(o.getUint32(u+220,!0))){var d=e.parsePoints(o,u,r,i);e.renderBody(t,d)}}},{key:"parsePoints",value:function(e,t,n,r){for(var i=[],a=0;a<18;a++){var o=t+10*a,s=1===e.getUint8(o),l=e.getFloat32(o+2,!0)*n,c=e.getFloat32(o+6,!0)*r;i.push({valid:s,x:l,y:c})}return i}},{key:"drawPoint",value:function(e,t,n){e.beginPath(),e.arc(t,n,4,0,2*Math.PI),e.fill(),e.stroke()}},{key:"drawLine",value:function(e,t,n){t.valid&&n.valid&&(e.moveTo(t.x,t.y),e.lineTo(n.x,n.y))}},{key:"renderBody",value:function(t,n){t.strokeStyle="green",t.lineWidth=2,t.beginPath(),e.drawLine(t,n[16],n[14]),e.drawLine(t,n[17],n[15]),e.drawLine(t,n[14],n[0]),e.drawLine(t,n[15],n[0]),e.drawLine(t,n[0],n[1]),e.drawLine(t,n[1],n[2]),e.drawLine(t,n[2],n[3]),e.drawLine(t,n[3],n[4]),e.drawLine(t,n[1],n[5]),e.drawLine(t,n[5],n[6]),e.drawLine(t,n[6],n[7]),e.drawLine(t,n[1],n[8]),e.drawLine(t,n[8],n[9]),e.drawLine(t,n[9],n[10]),e.drawLine(t,n[1],n[11]),e.drawLine(t,n[11],n[12]),e.drawLine(t,n[12],n[13]),t.stroke(),t.closePath(),t.fillStyle="red";for(var r=0;r<18;r++)n[r].valid&&e.drawPoint(t,n[r].x,n[r].y)}}]),e}(),ue=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(e,t,n,r){var i=new DataView(t),a=i.getFloat32(0,!0),o=i.getUint32(12,!0),s=16;a>=.3&&(s=20);var l=(t.byteLength-s)/o;for(e.strokeStyle="rgba(65,255,244,0.8)",e.lineWidth=2,e.beginPath();s<t.byteLength;s+=l){var c=i.getFloat32(s,!0)*n,u=i.getFloat32(s+4,!0)*r,d=i.getFloat32(s+8,!0)*n,h=i.getFloat32(s+12,!0)*r;se.hollow(e,c,u,d,h)}e.stroke(),e.closePath()}}]),e}(),de=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(e,t,n,r){var i=new DataView(t),a=i.getUint32(16,!0),o=(t.byteLength-20)/a;e.save(),e.scale(n,r),e.font="bold 24px Microsoft YaHei",e.textAlign="center",e.strokeStyle="#32CD3288";for(var s=20;s<t.byteLength;s+=o){var l=i.getFloat32(s,!0),c=i.getFloat32(s+4,!0),u=i.getFloat32(s+8,!0),d=i.getFloat32(s+12,!0),h=i.getUint8(s+16),f=i.getUint8(s+17),p=i.getUint8(s+18),m=i.getUint8(s+19);e.strokeRect(l,c,u,d),l+=u+5;var y=c;h>0&&(y+=33,this.drawText(e,this.BAG_TEXTS[h],l,y)),f>0&&(y+=33,this.drawText(e,this.SLEEVE_TEXTS[f],l,y)),p>0&&(y+=33,this.drawText(e,this.RIDE_TEXTS[p],l,y)),m>0&&(y+=33,this.drawText(e,this.HELMET_TEXTS[m],l,y))}e.restore()}},{key:"drawText",value:function(e,t,n,r){e.fillStyle="rgba(50, 205, 50, 0.75)",e.fillRect(n,r,140,30),e.fillStyle="rgb(0, 0, 0)",e.fillText(t,n+70,r+25)}}]),e}();de.BAG_TEXTS=["未 知","未背单肩包","背单肩包"],de.SLEEVE_TEXTS=["未 知","长 袖","短 袖","无 袖"],de.RIDE_TEXTS=["未 知","未 骑 车","骑 车"],de.HELMET_TEXTS=["未 知","未戴头盔","戴 头 盔"];var he=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(t,n,r,i){var a=new DataView(n),o=a.getUint32(16,!0),s=(n.byteLength-20)/o;t.save(),t.scale(r,i),t.font="bold 24px Microsoft YaHei",t.textAlign="center",t.strokeStyle="#00CED188";for(var l=20;l<n.byteLength;l+=s){var c=a.getFloat32(l,!0),u=a.getFloat32(l+4,!0),d=a.getFloat32(l+8,!0),h=a.getFloat32(l+12,!0),f=a.getUint8(l+16),p=a.getUint8(l+17),m=a.getUint8(l+18);t.strokeRect(c,u,d,h);var y=u;f>0&&(y-=33,e.drawText(t,this.MASK_TEXTS[f],c,y)),p>0&&(y-=33,e.drawText(t,this.GENDER_TEXTS[p],c,y)),m>0&&(y-=33,e.drawText(t,this.NATION_TEXTS[m],c,y))}t.restore()}},{key:"drawText",value:function(e,t,n,r){e.fillStyle="rgba(0, 206, 209, 0.75)",e.fillRect(n,r,140,30),e.fillStyle="rgb(0, 0, 0)",e.fillText(t,n+70,r+25)}}]),e}();he.GENDER_TEXTS=["未 知","男","女"],he.MASK_TEXTS=["未 知","不戴口罩","戴 口 罩"],he.NATION_TEXTS=["未 知","汉 族","维 族","少数民族"];var fe=function(){function e(){a(this,e)}return l(e,null,[{key:"render",value:function(e,t,n,r){var i=new DataView(t),a=i.getUint32(16,!0),o=(t.byteLength-20)/a;e.save(),e.scale(n,r),e.font="bold 24px Microsoft YaHei",e.textAlign="center",e.strokeStyle="#F0E68C88";for(var s=20;s<t.byteLength;s+=o){var l=i.getFloat32(s,!0),c=i.getFloat32(s+4,!0),u=i.getFloat32(s+8,!0),d=i.getFloat32(s+12,!0),h=i.getUint8(s+16),f=i.getUint8(s+17),p=i.getUint8(s+18);e.strokeRect(l,c,u,d),l+=u+5;var m=c;h>0&&(m+=33,this.drawText(e,this.COLOR_TEXTS[h],l,m)),f>0&&(m+=33,this.drawText(e,this.DIRECT_TEXTS[f],l,m)),p>0&&(m+=33,this.drawText(e,this.TYPE_TEXTS[p],l,m))}e.restore()}},{key:"drawText",value:function(e,t,n,r){e.fillStyle="rgba(240, 230, 140, 0.75)",e.fillRect(n,r,140,30),e.fillStyle="rgb(0, 0, 0)",e.fillText(t,n+70,r+25)}}]),e}();function pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}fe.COLOR_TEXTS=["黑 色","蓝 色","棕 色","灰 色","绿 色","橘 色","粉 色","紫 色","红 色","白 色","黄 色","银 色"],fe.DIRECT_TEXTS=["后","右 后","右","右 前","前","左 前","左","左 后","未 知"],fe.TYPE_TEXTS=["轿 车","校 车","越 野 车","商 务 车","货 车","皮 卡","大 卡 车","小 卡 车","大 巴 士","小 巴 士","摩 托 车","三 轮 车","电 动 车","其它类型"];var me=function(){function e(){a(this,e)}return l(e,[{key:"filter",value:function(e,t,n){return!0}},{key:"getDuration",value:function(e){return null}},{key:"render",value:function(e,t,n,r,i){return!1}}]),e}(),ye=function(e){u(n,e);var t=pe(n);function n(){var e;return a(this,n),(e=t.call(this)).handler=n.DEFAULT_HANDLER,e}return l(n,[{key:"render",value:function(e,t,r){null!=this.canvas&&null!==this.ctx&&(this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.handler.render(e,this.ctx,t,this.x1080pFactor,this.y1080pFactor)||(e===n.FACE_TRACK?ue.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor):e===n.FACE_RECT||e===n.BODY_RECT?le.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor,this.filter):e===n.BODY_POINTS?ce.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor,this.filter):e===n.POC_BODY_ATTR?de.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor):e===n.POC_FACE_ATTR?he.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor):e===n.POC_VEHICLE_ATTR&&fe.render(this.ctx,t,this.x1080pFactor,this.y1080pFactor)))}},{key:"setHandler",value:function(e){this.handler=null!==e?e:n.DEFAULT_HANDLER}}]),n}(X);ye.FACE_TRACK=200,ye.FACE_RECT=1e4,ye.BODY_RECT=10001,ye.BODY_POINTS=10005,ye.POC_BODY_ATTR=10009,ye.POC_FACE_ATTR=10010,ye.POC_VEHICLE_ATTR=10011,ye.DEFAULT_HANDLER=new me;var ve,ge,_e,we,be=function(){function e(){a(this,e)}return l(e,null,[{key:"closeWebsocket",value:function(e){null!==e&&(e.onopen=null,e.onclose=null,e.onerror=null,e.onmessage=null,e.close())}},{key:"createWebsocket",value:function(t,n){if(n&&n.length>6)return 0===n.indexOf("ws://")||0===n.indexOf("wss://")?new WebSocket(n):new WebSocket("ws://".concat(n,":").concat(t));var r=e.ipSeed%36+1;return e.ipSeed+=1,new WebSocket("ws://127.0.0.".concat(r,":").concat(t))}},{key:"isSupportWebGL",value:function(){if(null===e.hasGL){var t=document.createElement("canvas"),n=t.getContext("webgl")||t.getContext("experimental-webgl");e.hasGL=null!==n}return e.hasGL}},{key:"stringToUnix",value:function(t){return!t||t.length<19?0:Math.floor(new Date(e.stringToDate(t)).getTime()/1e3)}},{key:"stringToDate",value:function(e){return" "===e.charAt(10)&&(e=e.substr(0,10)+"T"+e.substr(11,e.length-10)),new Date(e)}}]),e}();function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}be.hasGL=null,be.ipSeed=0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.YUV=1]="YUV",e[e.YUV420=2]="YUV420",e[e.JPEG=3]="JPEG",e[e.PCM=4]="PCM"}(ve||(ve={})),function(e){e[e.YUV=0]="YUV",e[e.JPEG=1]="JPEG"}(ge||(ge={})),function(e){e[e.AUTO=0]="AUTO",e[e.REALTIME=1]="REALTIME",e[e.SMOOTH=2]="SMOOTH"}(_e||(_e={})),function(e){e[e.DEFAULT_CHANNEL=0]="DEFAULT_CHANNEL",e[e.LIVE_CHANNEL=1]="LIVE_CHANNEL",e[e.VOD_CHANNEL=2]="VOD_CHANNEL",e[e.FILE_CHANNEL=3]="FILE_CHANNEL"}(we||(we={}));var ke,Me,xe,Se=function(){function e(){a(this,e),this.pingBuf=new ArrayBuffer(0),this.onCommand=function(){return 1},this.onFrame=function(){return 1},this.onConnected=function(){return 1},this.onDisconnected=function(){return 1},this.format=null,this.viewport=null,this.enableFilterLoss=null,this.websocket=null,this.proxyIp=null}return l(e,[{key:"getWebsocket",value:function(){return this.websocket}},{key:"init",value:function(e,t,n){this.proxyIp=n,this.close(),this.initChannel(e,t)}},{key:"close",value:function(){be.closeWebsocket(this.websocket),this.websocket=null}},{key:"hasChannel",value:function(){return null!==this.websocket}},{key:"setFormat",value:function(t){this.format=t,this.sendCommand(e.CMD_SET_FORMAT,{format:this.formatString(t)})}},{key:"setViewport",value:function(t,n){this.viewport={width:t,height:n},this.sendCommand(e.CMD_SET_VIEWPORT,{width:t,height:n})}},{key:"setFilterLoss",value:function(t){this.enableFilterLoss=t,this.sendCommand(e.CMD_SET_FILTER_LOSS,{enable:t})}},{key:"snapshot",value:function(t){return this.sendCommand(e.CMD_REQ_SNAPSHOT,{time:t})}},{key:"setVolume",value:function(t){return this.sendCommand(e.CMD_SET_VOLUME,{volume:t})}},{key:"ping",value:function(){null!==this.websocket&&this.websocket.readyState===WebSocket.OPEN&&this.websocket.send(this.pingBuf)}},{key:"startRecord",value:function(t,n){return this.sendCommand(e.CMD_START_RECORD,{duration:t,path:n})}},{key:"stopRecord",value:function(){return this.sendCommand(e.CMD_STOP_RECORD,{})}},{key:"switchAudio",value:function(t){return this.sendCommand(e.CMD_SWITCH_AUDIO,{on:t,background:!0})}},{key:"switchTalk",value:function(t){return this.sendCommand(e.CMD_SWITCH_TALK,{on:t})}},{key:"setMode",value:function(t){return this.sendCommand(e.CMD_SET_STREAM_MODE,{mode:t})}},{key:"setDelay",value:function(t){return this.sendCommand(e.CMD_SET_STREAM_DELAY,{delay:t})}},{key:"switchUrl",value:function(t,n,r){return void 0===r&&(r=!1),this.sendCommand(e.CMD_SWITCH_URL,{url1:t,url2:n,soft:r})}},{key:"switchIndex",value:function(t){return this.sendCommand(e.CMD_SWITCH_INDEX,{index:t})}},{key:"ptzControl",value:function(t,n){return this.sendCommand(e.CMD_PTZ_CONTROL,{ctl:t,value:n})}},{key:"ptzControl3D",value:function(t,n,r,i,a){return this.sendCommand(e.CMD_PTZ_CONTROL_3D,{direct:t,x:n,y:r,w:i,h:a})}},{key:"playRecord",value:function(t,n,r,i){return this.sendCommand(e.CMD_PLAY_RECORD,{startTime:t,endTime:n,type:r,direction:i})}},{key:"pause",value:function(){return this.sendCommand(e.CMD_PAUSE_STREAM,{})}},{key:"resume",value:function(t){return this.sendCommand(e.CMD_RESUME_STREAM,{direction:t})}},{key:"stop",value:function(){return this.sendCommand(e.CMD_STOP_STREAM,{})}},{key:"setSpeed",value:function(t){return this.sendCommand(e.CMD_SET_SPEED,{speed:t})}},{key:"changeDirection",value:function(t){return this.sendCommand(e.CMD_CHANGE_DIRECTION,{direction:t})}},{key:"queryRecords",value:function(t,n){return this.sendCommand(e.CMD_QUERY_RECORD,{startTime:t,endTime:n})}},{key:"sendCommand",value:function(e,t){if(null!==this.websocket&&this.websocket.readyState===WebSocket.OPEN){var n=JSON.stringify(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({cmd:e},t));return this.websocket.send(n),!0}return!1}},{key:"sendRaw",value:function(e){return null!==this.websocket&&this.websocket.readyState===WebSocket.OPEN&&(this.websocket.send(e),!0)}},{key:"formatString",value:function(e){var t="";return e===ge.YUV?t="yuv420":e===ge.JPEG&&(t="jpeg"),t}},{key:"initChannel",value:function(t,n){var r=this;this.websocket=be.createWebsocket(t,this.proxyIp),this.websocket.binaryType="arraybuffer",this.websocket.onopen=function(){var t="";we.DEFAULT_CHANNEL===n?t="default":we.LIVE_CHANNEL===n?t="live":we.VOD_CHANNEL===n?t="vod":we.FILE_CHANNEL===n&&(t="file"),r.sendCommand(e.CMD_INIT_CHANNEL,{type:t}),null!==r.format&&r.sendCommand(e.CMD_SET_FORMAT,{format:r.formatString(r.format)}),null!==r.viewport&&r.sendCommand(e.CMD_SET_VIEWPORT,r.viewport),null!==r.enableFilterLoss&&r.sendCommand(e.CMD_SET_FILTER_LOSS,{enable:r.enableFilterLoss}),r.onConnected()},this.websocket.onerror=function(){r.onDisconnected()},this.websocket.onclose=function(){r.onDisconnected()},this.websocket.onmessage=function(t){if("string"==typeof t.data)if("{"===t.data[0]){var n=JSON.parse(t.data);r.onCommand(n.cmd,n)}else if(t.data.length>6&&t.data.substr(0,5)===e.SB_CMD_SPEED){var i=parseInt(t.data.substr(e.SB_CMD_SPEED.length+1),10);r.onCommand(e.SB_CMD_SPEED,{speed:i})}else console.log("unknown command",t.data);else r.handleBinary(t.data)}}},{key:"handleBinary",value:function(e){var t=new Uint32Array(e,0,2);if(1129731417===t[0]){var n=new DataView(e,8,8).getFloat64(0,!0);this.onFrame(ve.YUV,e,n)}else if(3774863615===t[0]&&1179258880===t[1]){var r=new DataView(e,e.byteLength-8,8).getFloat64(0,!0);this.onFrame(ve.JPEG,e,r)}else if(1112954201===t[0]){var i=this.getUint64(new DataView(e,8,8),0);this.onFrame(ve.YUV,e,i)}else if(512==(65535&t[0])){var a=new DataView(e,4,8).getFloat64(0,!0);this.onFrame(ve.YUV420,e,a)}else if(1112359760===t[0]||827147088===t[0]){var o=this.getUint64(new DataView(e,4,8),0);this.onFrame(ve.PCM,e,o)}else 827611205===t[0]||844388421===t[0]||console.log("unknown frame type",t[0])}},{key:"getUint64",value:function(e,t){return e.getUint32(t,!0)+4294967296*(16777215&e.getUint32(t+4,!0))}}]),e}();Se.CMD_INIT_CHANNEL="init_channel",Se.CMD_SET_FORMAT="set_format",Se.CMD_SET_VOLUME="set_volume",Se.CMD_SET_FILTER_LOSS="set_filter_loss",Se.CMD_REQ_SNAPSHOT="req_snapshot",Se.CMD_SET_VIEWPORT="set_viewport",Se.CMD_SWITCH_URL="switch_url",Se.CMD_SWITCH_INDEX="switch_index",Se.CMD_START_RECORD="start_record",Se.CMD_STOP_RECORD="stop_record",Se.CMD_SWITCH_AUDIO="switch_audio",Se.CMD_SWITCH_TALK="switch_talk",Se.CMD_SET_STREAM_MODE="set_mode",Se.CMD_SET_STREAM_DELAY="set_delay",Se.CMD_PTZ_CONTROL="req_ptz_ctl",Se.CMD_PTZ_CONTROL_3D="req_ptz_ctl3D",Se.CMD_OPEN_DEVICE="open_device",Se.CMD_QUERY_RECORD="query_record",Se.CMD_PLAY_RECORD="play_record",Se.CMD_STOP_STREAM="stop_stream",Se.CMD_PAUSE_STREAM="pause_stream",Se.CMD_RESUME_STREAM="resume_stream",Se.CMD_SET_SPEED="set_speed",Se.CMD_PLAY_STATE="play_state",Se.CMD_STREAM_STATE="stream_state",Se.CMD_CHANGE_DIRECTION="change_direction",Se.SB_CMD_SPEED="speed",Se.SB_CMD_STREAM_STATUS="stream_status",Se.SB_CMD_INFO="info",Se.SB_CMD_STREAM_SIZE="stream_size",Se.SB_CMD_RECORD_STATE="record_state",Se.SB_CMD_AUDIO_STATE="audio_state",Se.SB_CMD_RES_SNAPSHOT="res_snapshot",Se.SB_CMD_PLAY_STATE="play_state",function(e){e[e.NONE=0]="NONE",e[e.JPEG_VIDEO_LAYER=1]="JPEG_VIDEO_LAYER",e[e.YUV_VIDEO_LAYER=2]="YUV_VIDEO_LAYER",e[e.FACE_TRACK_LAYER=3]="FACE_TRACK_LAYER",e[e.BODY_POINT_LAYER=4]="BODY_POINT_LAYER",e[e.ACTION_IDENT_LAYER=5]="ACTION_IDENT_LAYER",e[e.FACE_ATTR_LAYER=6]="FACE_ATTR_LAYER",e[e.FACE_RECT_LAYER=7]="FACE_RECT_LAYER",e[e.BODY_RECT_LAYER=8]="BODY_RECT_LAYER",e[e.EXT_LAYER=9]="EXT_LAYER"}(ke||(ke={})),function(e){e[e.FACE_SNAP=0]="FACE_SNAP",e[e.FACE_RECOGNITION=1]="FACE_RECOGNITION",e[e.BODY_RECOGNITION=2]="BODY_RECOGNITION",e[e.ACTION_RECOGNITION=3]="ACTION_RECOGNITION",e[e.FACE_COMPARE=4]="FACE_COMPARE"}(Me||(Me={})),function(e){e[e.FACE_RECT=1e4]="FACE_RECT",e[e.BODY_RECT=10001]="BODY_RECT",e[e.FACE_RECT_ATTR=10002]="FACE_RECT_ATTR",e[e.BODY_RECT_ATTR=10003]="BODY_RECT_ATTR",e[e.ACTION_RECOGNIZE=10004]="ACTION_RECOGNIZE",e[e.BODY_POINTS=10005]="BODY_POINTS",e[e.FACE_SNAP_ATTR=10006]="FACE_SNAP_ATTR",e[e.BODY_SNAP_ATTR=10007]="BODY_SNAP_ATTR",e[e.MOVE_RECOGNIZE=10008]="MOVE_RECOGNIZE",e[e.FACE_COMPARE=10012]="FACE_COMPARE"}(xe||(xe={}));var Le,Te=function(){function e(t,n){a(this,e),this.exRenderCallback=null,this.box=t,this.jpegLayer=null,this.yuvLayer=null,this.layers={},this.errorElement=null,this.errorTD=null,this.left=0,this.top=0,this.width=0,this.height=0,this.subscribeCallback=n,this.faceSnapQueue=[],this.faceRecognitionQueue=[],this.bodyRecognitionQueue=[],this.actionRecognitionQueue=[],this.imageCache=new re,this.syncs=[],this.trackIdFilters={},this.renderHandler=null,this.isShow=!0}return l(e,[{key:"initLayer",value:function(e){var t=this,n=null,r=null;return ke.JPEG_VIDEO_LAYER===e?((n=new $).setAsync(25,(function(e,n,r){t.sync(e,n,r)})),r=new ie(this.box,"vatrender"),this.jpegLayer=r):ke.YUV_VIDEO_LAYER===e&&((n=new ne).setAsync(25,(function(e,n,r){t.sync(e,n,r)})),r=new ie(this.box,"vatrender"),this.yuvLayer=r),!(null===n||null===r||!r.setupRender(n)||(this.layers[e]=r,r.move(this.left,this.top,this.width,this.height),this.trackIdFilters[e]?n.setFilter(this.trackIdFilters[e]):this.trackIdFilters[ke.NONE]?n.setFilter(this.trackIdFilters[ke.NONE]):n.setFilter(null),0))}},{key:"isYuv",value:function(){return null!==this.yuvLayer}},{key:"putExtData2",value:function(e,t,n){var r=this.renderHandler;if(null!==r&&!r.filter(e,n,t))return!1;var i=this.layers[e];if(i)i.putData(e,t,n);else if(this.isShow){var a=new ye,o=oe.DEFAULT_DURATION;if(null!==this.renderHandler){var s=this.renderHandler.getDuration(e);null!=s&&(o=s)}if(!(i=this.createExtLayer(o)).setupRender(a))return!1;this.layers[e]=i,i.move(this.left,this.top,this.width,this.height),this.trackIdFilters[e]?a.setFilter(this.trackIdFilters[e]):this.trackIdFilters[0]?a.setFilter(this.trackIdFilters[0]):a.setFilter(null),null!==this.renderHandler&&a.setHandler(this.renderHandler),i.putData(e,t,n)}return!0}},{key:"removeLayer",value:function(e){var t=this.layers[e];if(t){this.layers[e]=null,t.destroy();for(var n=0;n<this.syncs.length;n++)if(this.syncs[n]===t){this.syncs[n]=this.syncs[0],this.syncs.shift();break}}}},{key:"putFrame",value:function(e,t,n){ve.YUV420===e?null!==this.yuvLayer&&this.yuvLayer.putData(2,t,n):ve.YUV===e?null!==this.yuvLayer&&this.yuvLayer.putData(1,t,n):ve.JPEG===e&&null!==this.jpegLayer&&this.jpegLayer.putData(0,t,n)}},{key:"putData",value:function(e){var t=new Uint32Array(e,0,2);if(3774863615===t[0]&&1179258880===t[1]){var n=new DataView(e,e.byteLength-8,8).getFloat64(0,!0);null!==this.jpegLayer&&this.jpegLayer.putData(0,e,n)}else if(512==(65535&t[0]))null!==this.yuvLayer&&this.yuvLayer.putData(2,e,0);else if(1112954201===t[0]){var r=this.getUint64(new DataView(e,8,8),0);null!==this.yuvLayer&&this.yuvLayer.putData(1,e.slice(4),r)}else if(827611205===t[0]){var i=this.getUint64(new DataView(e,12,8),0);if(200===t[1])this.putExtData2(t[1],e.slice(8),i);else if(201===t[1]){var a=this.parseSnap(e.slice(8));a&&this.subscribeCallback(Me.FACE_SNAP,a)}}else if(844388421===t[0]){var o=this.getUint64(new DataView(e,8,8),0),s=e.slice(16);if(xe.FACE_SNAP_ATTR===t[1])this.subscribeCallback(Me.FACE_RECOGNITION,this.parseFaceRecognition(s));else if(xe.BODY_SNAP_ATTR===t[1])this.subscribeCallback(Me.BODY_RECOGNITION,this.parseBodyRecognition(s));else if(xe.FACE_COMPARE===t[1])this.subscribeCallback(Me.FACE_COMPARE,this.parseFaceComparison(s));else if(!this.putExtData2(t[1],s,o))return;if(xe.ACTION_RECOGNIZE===t[1]){var l=this.parseActions(s);l.length>0&&this.putNotifyData(this.actionRecognitionQueue,Me.ACTION_RECOGNITION,l,o)}}else console.log(t[0])}},{key:"stopView",value:function(){for(var e in this.isShow=!1,this.layers)if(this.layers.hasOwnProperty(e)){var t=this.layers[e];null!==t&&t.stopView()}}},{key:"restoreView",value:function(){for(var e in this.isShow=!0,this.layers)if(this.layers.hasOwnProperty(e)){var t=this.layers[e];null!==t&&t.restoreView()}}},{key:"move",value:function(e,t,n,r){for(var i in this.left=e,this.top=t,this.width=n,this.height=r,this.layers)if(this.layers.hasOwnProperty(i)){var a=this.layers[i];a&&a.move(e,t,n,r)}}},{key:"getImage",value:function(e,t){return null!==this.yuvLayer?this.yuvLayer.getImage(e,t):null!==this.jpegLayer&&this.jpegLayer.getImage(e,t)}},{key:"showError",value:function(e){null!==e&&""!==e?(this.stopView(),null==this.errorElement&&this.createErrorElement(),this.errorTD&&(this.errorTD.innerText=e)):null!=this.errorElement?(this.box.removeChild(this.errorElement),this.errorElement=null,this.errorTD=null,this.restoreView(),this.reload()):this.restoreView()}},{key:"setTrackIdFilter",value:function(e,t){if(this.trackIdFilters[e]=t,ke.NONE===e){for(var n in this.layers)if(this.layers.hasOwnProperty(n)){var r=this.layers[n],i=null===r?null:r.getRender();null!==i&&i.setFilter(t)}for(var a in this.trackIdFilters)this.trackIdFilters.hasOwnProperty(a)&&(this.trackIdFilters[a]=t)}else if(this.layers[e]&&this.layers.hasOwnProperty(e)){var o=this.layers[e].getRender();null!==o&&o.setFilter(t)}}},{key:"setExtRenderHandler",value:function(t){for(var n in this.renderHandler=t,this.layers)if(parseInt(n,10)>=e.EXT_COMMAND_BEGIN&&this.layers.hasOwnProperty(n)){var r=this.layers[n],i=null===r?null:r.getRender();null!==i&&i.setHandler(t)}}},{key:"setExtRenderCallback",value:function(e){this.exRenderCallback=e;var t=this.layers[3];if(!t){var n=new ye;if(!(t=this.createExtLayer(40)).setupRender(n))return;this.layers[3]=t,t.move(this.left,this.top,this.width,this.height)}}},{key:"createExtLayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe.DEFAULT_DURATION,t=new oe(this.box,"vat-exrender",e);return this.syncs.push(t),t.setSync(!0),t}},{key:"createErrorElement",value:function(){this.errorElement=document.createElement("div"),this.errorElement.classList.add("vat-error");var e=document.createElement("table"),t=document.createElement("tr"),n=document.createElement("td");t.appendChild(n),e.appendChild(t),this.errorElement.appendChild(e),this.errorTD=n,this.box.appendChild(this.errorElement)}},{key:"reload",value:function(){this.move(this.left,this.top,this.width,this.height)}},{key:"getUint64",value:function(e,t){return e.getUint32(t,!0)+4294967296*(16777215&e.getUint32(t+4,!0))}},{key:"parseSnap",value:function(e){var t=new DataView(e,0,56),n=t.getFloat32(0,!0),r=this.getUint64(t,4),i=this.getUint64(t,12),a=t.getFloat32(28,!0),o=t.getUint32(32,!0),s=t.getUint32(36,!0),l=t.getUint32(40,!0),c=t.getUint32(44,!0),u=0,d=48;n>=.2&&(u=t.getUint32(48,!0),d+=4);var h=0;n>=.3&&(h=t.getUint32(d,!0),d+=4);var f={id:i,time:r,score:a,x:o,y:s,w:l,h:c,trackId:u,image:this.imageCache.getUrl(e.slice(d)),channel:h,alive:!0};return setTimeout((function(){URL.revokeObjectURL(f.image),f.alive=!1}),6e3),f}},{key:"sync",value:function(e,t,n){if(this.exRenderCallback){var r=this.layers[3];if(r){var i=r.getCtx();i&&this.exRenderCallback(e,i,t,n)}}}},{key:"putNotifyData",value:function(e,t,n,r){e.push({type:t,data:n,time:r}),e.length>15&&(this.subscribeCallback(e[0].type,e[0].data),e.shift())}},{key:"syncNotifyData",value:function(e,t){for(;e.length>0&&(e.length>50||e[0].time<t||0===t);)this.subscribeCallback(e[0].type,e[0].data),e.shift()}},{key:"parseActions",value:function(e){var t=[],n=new DataView(e),r=n.getUint32(16,!0),i=(e.byteLength-20)/r;if(0===i)return[];for(var a=20;a<e.byteLength;a+=i){var o=n.getUint32(a+16,!0);t.push(o)}return t}},{key:"parseBodyRecognition",value:function(e){var t=new DataView(e),n=this.getUint64(t,4),r=t.getUint32(12,!0),i=t.getUint32(16,!0),a={sex:t.getUint8(24),age:t.getUint8(25),hairStyle:t.getUint8(26),mask:t.getUint8(27),glass:t.getUint8(28),hat:t.getUint8(29),scarf:t.getUint8(30),direct:t.getUint8(31),upperColor:t.getUint8(32),bottomColor:t.getUint8(33),upperStyle:t.getUint8(34),bottomStyle:t.getUint8(35),phone:t.getUint8(36),umbrella:t.getUint8(37),handbag:t.getUint8(38),backpack:t.getUint8(39)};return{time:n,image:this.imageCache.getUrl(e.slice(e.byteLength-i)),fullImage:"",channel:r,attr:a}}},{key:"parseFaceRecognition",value:function(e){var t=new DataView(e),n=t.getFloat32(0,!0),r=this.getUint64(t,4),i=t.getUint32(12,!0),a=t.getUint32(16,!0),o=t.getUint32(20,!0),s=t.getUint8(24),l=t.getUint8(25),c=t.getUint8(26),u=t.getUint8(27),d=0,h=0;return n>=.3&&(d=t.getUint32(32,!0),h=t.getFloat32(52,!0)),{time:r,image:this.imageCache.getUrl(e.slice(e.byteLength-a-o)),fullImage:"",channel:i,attr:{age:s,sex:l,mask:c,glass:u},imageId:d,score:h}}},{key:"parseFaceComparison",value:function(e){var t=new DataView(e),n=t.getUint32(4,!0),r=this.getUint64(t,8),i=t.getUint32(16,!0);return{channel:n,snapTime:r,attr:{age:t.getUint8(20),sex:t.getUint8(21),mask:t.getUint8(22),glass:t.getUint8(23)},snapScore:t.getFloat32(24,!0),compareScore:t.getFloat32(28,!0),faceGroupId:t.getUint32(32,!0),faceGroupType:t.getUint32(36,!0),faceId:this.getUint64(t,40),compareTime:this.getUint64(t,48),faceSnapId:this.getUint64(t,56),snapImage:this.imageCache.getUrl(e.slice(68,68+i)),faceImage:this.imageCache.getUrl(e.slice(68+i))}}}],[{key:"chooseLayerType",value:function(e){if(!be.isSupportWebGL())return ke.JPEG_VIDEO_LAYER;var t=ke.YUV_VIDEO_LAYER;return navigator.userAgent.indexOf("MSIE")>-1&&navigator.userAgent.indexOf("compatible")>-1&&(t=ke.JPEG_VIDEO_LAYER),(window.ActiveXObject||"ActiveXObject"in window)&&(t=ke.JPEG_VIDEO_LAYER),e>=16&&(t=ke.JPEG_VIDEO_LAYER),t}}]),e}();Te.EXT_COMMAND_BEGIN=1e4,function(e){e[e.OK=0]="OK",e[e.UNKNOWN_ERROR=-1]="UNKNOWN_ERROR",e[e.INVALID_STATE=-2]="INVALID_STATE",e[e.NOT_LOGIN=-3]="NOT_LOGIN",e[e.INVALID_PARAM=-4]="INVALID_PARAM",e[e.NETWORK_ERROR=-5]="NETWORK_ERROR",e[e.WINDOW_ID_CONFLICT=-6]="WINDOW_ID_CONFLICT",e[e.NO_MORE_FREE_WINDOW=-7]="NO_MORE_FREE_WINDOW",e[e.NO_TASK=-8]="NO_TASK",e[e.UNSUPPORT_OPERATION=-9]="UNSUPPORT_OPERATION",e[e.CWALKSDK_ERR_NOT_SUPPORT=-20001]="CWALKSDK_ERR_NOT_SUPPORT",e[e.CWALKSDK_ERR_NOT_IMPL=-20002]="CWALKSDK_ERR_NOT_IMPL",e[e.CWALKSDK_ERR_NOT_INIT=-20003]="CWALKSDK_ERR_NOT_INIT",e[e.CWALKSDK_ERR_NOT_ENOUGH_MEM=-20005]="CWALKSDK_ERR_NOT_ENOUGH_MEM",e[e.CWALKSDK_ERR_NOT_ENOUGH_ID=-20004]="CWALKSDK_ERR_NOT_ENOUGH_ID",e[e.CWALKSDK_ERR_INVALID_ID=-20006]="CWALKSDK_ERR_INVALID_ID",e[e.CWALKSDK_ERR_INVALID_NAME=-20007]="CWALKSDK_ERR_INVALID_NAME",e[e.CWALKSDK_ERR_INVALID_PARARM=-20008]="CWALKSDK_ERR_INVALID_PARARM",e[e.CWALKSDK_FILE_NOFIND=-20009]="CWALKSDK_FILE_NOFIND",e[e.CWALKSDK_ISFINDING=-20010]="CWALKSDK_ISFINDING",e[e.CWALKSDK_NOMOREFILE=-20011]="CWALKSDK_NOMOREFILE",e[e.CWALKSDK_FILE_EXCEPTION=-20012]="CWALKSDK_FILE_EXCEPTION",e[e.CWALKSDK_ERR_URLPATH=-20013]="CWALKSDK_ERR_URLPATH",e[e.CWALKSDK_ERR_EXISTKEY=-20014]="CWALKSDK_ERR_EXISTKEY",e[e.CWALKSDK_ERR_NO_OBJECT=-20015]="CWALKSDK_ERR_NO_OBJECT",e[e.CWALKSDK_ERR_OSD_SETTEXT=-20016]="CWALKSDK_ERR_OSD_SETTEXT",e[e.CWALKSDK_ERR_OSD_TYPE=-20017]="CWALKSDK_ERR_OSD_TYPE",e[e.CWALKSDK_ERR_OSD_SHOW=-20018]="CWALKSDK_ERR_OSD_SHOW",e[e.CWALKSDK_ERR_DEFAULTPORT=-20019]="CWALKSDK_ERR_DEFAULTPORT",e[e.CWALKSDK_ERROR_LOGIN=-20020]="CWALKSDK_ERROR_LOGIN",e[e.CWALKSDK_NOMOREDATA=-20021]="CWALKSDK_NOMOREDATA",e[e.CWALKSDK_ERR_SET_PASSWORD=-20022]="CWALKSDK_ERR_SET_PASSWORD",e[e.CWALKSDK_ERR_NO_KEY=-20023]="CWALKSDK_ERR_NO_KEY",e[e.CWALKSDK_ERR_NO_VALUE=-20024]="CWALKSDK_ERR_NO_VALUE",e[e.CWALKSDK_ERR_FUNCTION_NOT_IMPLEMENTED=-20025]="CWALKSDK_ERR_FUNCTION_NOT_IMPLEMENTED",e[e.CWALKSDK_ERR_CREATE_HANDLE=-20026]="CWALKSDK_ERR_CREATE_HANDLE",e[e.CWALKSDK_ERR_EVENT_RESUBSCRIBE=-20027]="CWALKSDK_ERR_EVENT_RESUBSCRIBE",e[e.CWALKSDK_ERR_END_OF_FILE=-20028]="CWALKSDK_ERR_END_OF_FILE",e[e.CWALKSDK_ERR_NO_HANDLE=-20029]="CWALKSDK_ERR_NO_HANDLE",e[e.CWALKSDK_ERR_NULL_OBJECT=-20030]="CWALKSDK_ERR_NULL_OBJECT",e[e.CWALKSDK_ERR_FIRST_NOT_IFRAME=-20031]="CWALKSDK_ERR_FIRST_NOT_IFRAME",e[e.CWALKSDK_ERR_UNSUPPORTED_PLATFORM=-20032]="CWALKSDK_ERR_UNSUPPORTED_PLATFORM",e[e.CWALKSDK_ERR_BUFFER_TOO_SMALL=-20033]="CWALKSDK_ERR_BUFFER_TOO_SMALL",e[e.CWALKSDK_ERR_UNKNOWN_SERVICE=-20034]="CWALKSDK_ERR_UNKNOWN_SERVICE",e[e.CWALKSDK_ERR_NO_PRIVILEGE=-20035]="CWALKSDK_ERR_NO_PRIVILEGE",e[e.CWALKSDK_ERR_VIEW_NUM=-20036]="CWALKSDK_ERR_VIEW_NUM",e[e.CWALKSDK_ERR_DISK_FULL=-20037]="CWALKSDK_ERR_DISK_FULL",e[e.CWALKSDK_ERR_INVALID_MEM=-20038]="CWALKSDK_ERR_INVALID_MEM",e[e.CWALKSDK_ERR_ENCODER_OPEN=-20039]="CWALKSDK_ERR_ENCODER_OPEN",e[e.CWALKSDK_ERR_SP_QUERY_SEGMENT=-20040]="CWALKSDK_ERR_SP_QUERY_SEGMENT",e[e.CWALKSDK_ERR_NO_PVM_ADD=-20041]="CWALKSDK_ERR_NO_PVM_ADD",e[e.CWALKSDK_ERR_ES_UNAVAILABLE=-20042]="CWALKSDK_ERR_ES_UNAVAILABLE",e[e.CWALKSDK_ERR_AVCF_ERROR=-20043]="CWALKSDK_ERR_AVCF_ERROR",e[e.CWALKSDK_ERR_PLAY_HD=-201001]="CWALKSDK_ERR_PLAY_HD",e[e.CWALKSDK_ERR_PLAY_NEED_SLICES=-201002]="CWALKSDK_ERR_PLAY_NEED_SLICES",e[e.CWALKSDK_ERR_PLAY_FULL_SILCES=-201003]="CWALKSDK_ERR_PLAY_FULL_SILCES",e[e.CWALKSDK_ERR_PLAY_INPUT_SLICES_CB=-20004]="CWALKSDK_ERR_PLAY_INPUT_SLICES_CB",e[e.CWALKSDK_ERR_PLAY_INVALID_CMD=-201005]="CWALKSDK_ERR_PLAY_INVALID_CMD",e[e.CWALKSDK_ERR_PLAY_INVALID_CMD_MATCH=-20007]="CWALKSDK_ERR_PLAY_INVALID_CMD_MATCH",e[e.CWALKSDK_ERR_PLAY_INVALID_SPEED=-20006]="CWALKSDK_ERR_PLAY_INVALID_SPEED",e[e.CWALKSDK_ERR_PLAY_INVALID_CB_MODE=-20007]="CWALKSDK_ERR_PLAY_INVALID_CB_MODE",e[e.CWALKSDK_ERR_PLAY_IS_RELEASED=-201008]="CWALKSDK_ERR_PLAY_IS_RELEASED",e[e.CWALKSDK_ERR_PLAY_THREAD_STOP=-201009]="CWALKSDK_ERR_PLAY_THREAD_STOP",e[e.CWALKSDK_ERR_PLAY_REOPEN=-201010]="CWALKSDK_ERR_PLAY_REOPEN",e[e.CWALKSDK_ERR_PLAY_OPEN_AUDIO=-201011]="CWALKSDK_ERR_PLAY_OPEN_AUDIO",e[e.CWALKSDK_ERR_PLAY_START_AUDIO=-201012]="CWALKSDK_ERR_PLAY_START_AUDIO",e[e.CWALKSDK_ERR_PLAY_STOP_AUDIO=-201013]="CWALKSDK_ERR_PLAY_STOP_AUDIO",e[e.CWALKSDK_ERR_PLAY_VIDEO_INFO=-201014]="CWALKSDK_ERR_PLAY_VIDEO_INFO",e[e.CWALKSDK_WARNING_PLAY_MAX_LOCALCACH=-20015]="CWALKSDK_WARNING_PLAY_MAX_LOCALCACH",e[e.CWALKSDK_WARNING_PLAY_MIN_LOCALCACH=-20016]="CWALKSDK_WARNING_PLAY_MIN_LOCALCACH",e[e.CWALKSDK_ERR_PLAY_PAUSE_CANNOT_SPEED=-20017]="CWALKSDK_ERR_PLAY_PAUSE_CANNOT_SPEED",e[e.CWALKSDK_ERR_LOG_UNKNOWTYPE=-202001]="CWALKSDK_ERR_LOG_UNKNOWTYPE",e[e.CWALKSDK_ERR_LOG_DATA=-202002]="CWALKSDK_ERR_LOG_DATA",e[e.DCS_ERR_SS_NOT_AVAILABLE=-101001]="DCS_ERR_SS_NOT_AVAILABLE",e[e.DCS_ERR_FS_NOT_AVAILABLE=-101002]="DCS_ERR_FS_NOT_AVAILABLE",e[e.DCS_ERR_PAU_NOT_AVAILABLE=-101003]="DCS_ERR_PAU_NOT_AVAILABLE",e[e.DCS_ERR_DEVICE_NOT_ATTACHE_PAU=-101004]="DCS_ERR_DEVICE_NOT_ATTACHE_PAU",e[e.DCS_ERR_USER_STREAM_OVERRAGE=-101005]="DCS_ERR_USER_STREAM_OVERRAGE",e[e.DCS_ERR_PLAT_STREAM_OVERRAGE=-101006]="DCS_ERR_PLAT_STREAM_OVERRAGE",e[e.DCS_ERR_INVALID_JOSN=-101007]="DCS_ERR_INVALID_JOSN",e[e.DCS_ERR_PAU_SEND_FAILED=-101008]="DCS_ERR_PAU_SEND_FAILED",e[e.DCS_ERR_MONITOR_LOCKED=-101030]="DCS_ERR_MONITOR_LOCKED",e[e.DCS_ERR_MONITOR_CANNOT_CONTROL=-101031]="DCS_ERR_MONITOR_CANNOT_CONTROL",e[e.DCS_ERR_SESSION_NOT_FOUND=-102001]="DCS_ERR_SESSION_NOT_FOUND",e[e.DCS_ERR_FS_STREAM_BROKEN=-102002]="DCS_ERR_FS_STREAM_BROKEN",e[e.DCS_ERR_NOT_LOCAL_MONITOR=-102003]="DCS_ERR_NOT_LOCAL_MONITOR",e[e.DCS_INF_MONITOR_LOCKED=-102004]="DCS_INF_MONITOR_LOCKED",e[e.DCS_ERR_CHANNLE_DISABLED=-103001]="DCS_ERR_CHANNLE_DISABLED",e[e.DCS_ERR_PAU_DISABLED=-103002]="DCS_ERR_PAU_DISABLED",e[e.DCS_ERR_LOG_NOT_AVAILABLE=-103003]="DCS_ERR_LOG_NOT_AVAILABLE",e[e.DCS_ERR_PAU_NOT_OPEN=-103004]="DCS_ERR_PAU_NOT_OPEN",e[e.DCS_ERR_DCS_NOT_OPEN=-103005]="DCS_ERR_DCS_NOT_OPEN",e[e.DCS_ERR_LOCALDB_UNINIT=-103006]="DCS_ERR_LOCALDB_UNINIT",e[e.DCS_ERR_LOCALDB_EXCEPTION=-103007]="DCS_ERR_LOCALDB_EXCEPTION",e[e.DCS_ERR_CHANNEL_RECORD_EXITS=-103008]="DCS_ERR_CHANNEL_RECORD_EXITS",e[e.DCS_ERR_DCS_NOT_AVAILABLE=-103009]="DCS_ERR_DCS_NOT_AVAILABLE",e[e.DCS_ERR_AUDIOTALK_IN_USE=-103010]="DCS_ERR_AUDIOTALK_IN_USE",e[e.DCS_ERR_DEVICE_NOT_EXIST=-103011]="DCS_ERR_DEVICE_NOT_EXIST",e[e.DCS_ERR_REQUEST_PATH_EXISTED=-103012]="DCS_ERR_REQUEST_PATH_EXISTED",e[e.DCS_ERR_ROFS3S_NOT_AVAILABLE=-103013]="DCS_ERR_ROFS3S_NOT_AVAILABLE",e[e.DCS_ERR_PAU_DISCONNECT=-103014]="DCS_ERR_PAU_DISCONNECT",e[e.DCS_ERR_RESOURCESHIELD=-103015]="DCS_ERR_RESOURCESHIELD",e[e.DCS_ERR_SCAN_EXIST=-103016]="DCS_ERR_SCAN_EXIST",e[e.DCS_ERR_MACRO_EXIST=-103017]="DCS_ERR_MACRO_EXIST",e[e.DCS_ERR_ORDER_CALL=-103018]="DCS_ERR_ORDER_CALL",e[e.DCS_ERR_USER_DISABLED=-103019]="DCS_ERR_USER_DISABLED",e[e.DCS_ERR_RECORD_REUSE=-103020]="DCS_ERR_RECORD_REUSE"}(Le||(Le={}));var De=function(){function e(t){a(this,e),this.box=t,this.isShow=!1,this.websocket=null,this.panel=null,this.hide()}return l(e,[{key:"setWebsocket",value:function(e){this.websocket=e}},{key:"ptzControl",value:function(e,t){if(null===this.websocket)return Le.INVALID_STATE;var n=JSON.stringify({cmd:"req_ptz_ctl",ctl:e,value:t});return this.websocket&&this.websocket.send(n),Le.OK}},{key:"ptzControl3D",value:function(e,t,n,r,i){if(null===this.websocket)return Le.INVALID_STATE;if(e<0||t<0||n<0||r<0||i<0)return Le.INVALID_PARAM;if(t>1||n>1||r>1||i>1)return Le.INVALID_PARAM;var a=JSON.stringify({cmd:"req_ptz_ctl3D",direct:e,x:t,y:n,w:r,h:i});return this.websocket&&this.websocket.send(a),Le.OK}},{key:"toggle",value:function(){this.isShow?this.hide():this.show()}},{key:"show",value:function(){this.isShow=!0,this.panel||this.initElement(),this.panel&&(this.panel.style.display="block")}},{key:"hide",value:function(){this.isShow=!1,this.panel&&(this.panel.style.display="none")}},{key:"initElement",value:function(){this.panel=document.createElement("div"),this.panel.classList.add("vat-ptz-panel"),this.box.appendChild(this.panel)}}]),e}(),Ee=function(){function e(){a(this,e),this.audioCtx=null,this.gainNode=null,this.timerId=0,this.startTime=0}return l(e,[{key:"open",value:function(){this.close();var e=window,t=e.AudioContext||e.webkitAudioContext;return!!t&&(this.audioCtx=new t,!!this.audioCtx&&(this.gainNode=this.audioCtx.createGain(),this.gainNode.gain.value=1,this.gainNode.connect(this.audioCtx.destination),this.startTime=this.audioCtx.currentTime,this.audioCtx.resume(),!0))}},{key:"close",value:function(){0!==this.timerId&&(clearInterval(this.timerId),this.timerId=0),null!==this.audioCtx&&this.audioCtx.close(),this.audioCtx=null,this.gainNode=null,this.startTime=0}},{key:"play",value:function(e){if(null!==this.audioCtx&&null!==this.gainNode){for(var t=new DataView(e,12),n=(e.byteLength-12)/2,r=this.audioCtx.createBufferSource(),i=this.audioCtx.createBuffer(1,n,8e3),a=i.getChannelData(0),o=0;o<n;o++)a[o]=t.getInt16(2*o,!0)/32768;r.buffer=i,r.connect(this.gainNode),r.start(0),this.startTime+=i.duration}}},{key:"flush",value:function(){}}]),e}();function Ce(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Pe,Oe=function e(){a(this,e)};Oe.SNAPSHOT=1,Oe.ROI_RECT=2,Oe.ROI_POLYGON=4,Oe.MAXIMIZE=8,Oe.ZOOM=16,Oe.VOLUME=32,Oe.STOP=64,Oe.TALK=128,Oe.RECORD=256,Oe.ALL=65535,Oe.DEFAULT=Oe.SNAPSHOT|Oe.ROI_RECT|Oe.ROI_POLYGON|Oe.MAXIMIZE|Oe.STOP,function(e){e[e.CANVAS=0]="CANVAS",e[e.IMAGE=1]="IMAGE",e[e.YUV=2]="YUV"}(Pe||(Pe={}));var Ie=function(){function e(t,n,r){a(this,e),this.wsChannel=new Se,this.pcmPlayer=new Ee,this.id="",this.originIndex=t,this.index=t,this.span=1,this.config=r,this.httpPort=0,this.wsPort=0,this.dragLayer=null,this.status=0,this.width=0,this.height=0,this.urls=[],this.name="",this.isShowMain=!1,this.mainUrlIndex=0,this.toolBar=null,this.isDrawingROI=!1,this.drivingClosed=!0,this.roiLayer=null,this.streamWidth=0,this.streamHeight=0,this.recordIcon=null,this.isAudio=!1,this.isTalk=!1,this.toolButtons={},this.hasAudioInput=!1,this.hasAudioOutput=!1,this.delay=0,this.volume=100,this.heartTimer=0,this.streamMode=_e.AUTO,this.extStream=new J,this.element=document.createElement("div"),this.element.setAttribute("class","vatwin"),this.element.setAttribute("windex",""+t),n.appendChild(this.element),this.ptzPanel=new De(this.element);var i=Te.chooseLayerType(t);i===ke.YUV_VIDEO_LAYER?this.renderType=Pe.YUV:this.renderType=Pe.CANVAS,this.config.proxy&&this.config.proxy.length>6&&(i=ke.JPEG_VIDEO_LAYER,this.renderType=Pe.CANVAS),this.wsChannel.setFormat(Pe.YUV===this.renderType?ge.YUV:ge.JPEG);var o=this;this.layerManager=new Te(this.element,(function(e,t){o.config.onExtData(o.id,e,t)})),this.layerManager.initLayer(i),this.titleBar=new j(this.element,this.config.titleBar),this.titleBar.clear(),this.initToolbar(),this.config.dragWindow&&this.createDragLayer(),this.caculateLayerShow()}return l(e,[{key:"handleChannelOpened",value:function(e,t){this.closeChannel(!1),this.initChannel(e,t)}},{key:"openExtStream",value:function(e,t,n){this.extStream.setUrl(e,t,n)}},{key:"closeExtStream",value:function(){this.extStream.setUrl("","","")}},{key:"ptzControl",value:function(e,t){return this.ptzPanel.ptzControl(e,t)}},{key:"ptzControl3D",value:function(e,t,n,r,i){return this.ptzPanel.ptzControl3D(e,t,n,r,i)}},{key:"openLiveStream",value:function(e){return null!==e.subUrl&&""!==e.subUrl&&void 0!==e.subUrl||(e.subUrl=e.url),this.id=e.id||"",this.name=e.name||"",this.titleBar.setName(this.name),(e.extUrl||e.faceSnapUrl||e.faceRectUrl)&&this.extStream.setUrl(e.faceRectUrl,e.faceSnapUrl,e.extUrl),2===this.urls.length&&this.urls[this.mainUrlIndex]===e.url&&this.urls[0===this.mainUrlIndex?1:0]===e.subUrl&&this.hasChannel()||(this.stopROI(),this.setROI([]),2===this.urls.length&&(this.urls[0]===e.url&&this.urls[1]===e.subUrl||this.urls[1]===e.url&&this.urls[0]===e.subUrl)||!0!==e.soft&&this.layerManager.stopView(),this.isShowMain?(this.mainUrlIndex=0,this.urls=[e.url,e.subUrl||""]):(this.mainUrlIndex=1,this.urls=[e.subUrl||"",e.url]),this.hasChannel()?this.wsChannel.switchUrl(this.urls[0],this.urls[1],e.soft):this.initChannel(this.wsPort,this.httpPort)),Le.OK}},{key:"restoreStream",value:function(){2===this.urls.length&&(this.isShowMain&&1===this.mainUrlIndex?(this.urls.reverse(),this.mainUrlIndex=0):this.isShowMain||0!==this.mainUrlIndex||(this.urls.reverse(),this.mainUrlIndex=1),this.initChannel(this.wsPort,this.httpPort))}},{key:"closeStream",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!1,n=this.id;this.hasChannel()&&(t=!0,this.drivingClosed=e),e&&(this.delay=0,this.streamMode=_e.AUTO,this.id=""),this.closeChannel(this.drivingClosed),this.extStream.stop(),t&&this.config.onClose(this.index,n)}},{key:"showMain",value:function(e){if(this.hasChannel()&&this.isShowMain!==e&&this.urls.length>1){var t=e?this.mainUrlIndex:0===this.mainUrlIndex?1:0;this.wsChannel.switchIndex(t)}this.isShowMain=e}},{key:"fillWindow",value:function(e){}},{key:"hasChannel",value:function(){return this.wsChannel.hasChannel()}},{key:"isDrivingClosed",value:function(){return this.drivingClosed}},{key:"adjustSize",value:function(e,t,n,r,i){i<=0&&(i=this.span),this.width=e*i,this.height=t*i,i>1&&(this.width+=(i-1)*r,this.height+=(i-1)*n),this.element.style.width="".concat(this.width,"px"),this.element.style.height="".concat(this.height,"px"),this.updateChildSize(),this.changeViewport()}},{key:"setSpan",value:function(e){this.span=e}},{key:"setIndex",value:function(e){this.index=e}},{key:"setROI",value:function(e){null===this.roiLayer&&(this.roiLayer=this.createROILayer()),null!==this.roiLayer&&this.roiLayer.setROI(e)}},{key:"getImage",value:function(){var e=document.createElement("canvas");return this.layerManager.getImage(e,!0),e.toDataURL("image/jpeg")}},{key:"snapshot",value:function(){this.reqSnapshot()}},{key:"startROI",value:function(e,t){return(e===U.DRAW_RECT||e===U.DRAW_POLYGON)&&(null==this.roiLayer?this.createROILayer():this.roiLayer.stop(),this.roiLayer&&this.roiLayer.start(e,t),this.caculateLayerShow(),!0)}},{key:"stopROI",value:function(){null!=this.roiLayer&&this.roiLayer.stop(),this.caculateLayerShow()}},{key:"saveROI",value:function(){return null!=this.roiLayer&&this.roiLayer.saveQuit()}},{key:"getStreamWidth",value:function(){return this.streamWidth}},{key:"getStreamHeight",value:function(){return this.streamHeight}},{key:"startRecord",value:function(e,t){return this.wsChannel.startRecord(e,t)}},{key:"stopRecord",value:function(){return this.wsChannel.stopRecord()}},{key:"switchAudio",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.isAudio=e,this.isAudio?this.pcmPlayer.open():this.pcmPlayer.close(),this.toggleToolButton("volume",e),t&&this.wsChannel.switchAudio(e)}},{key:"switchTalk",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.isTalk=e,this.toggleToolButton("talk",e),t&&this.wsChannel.switchTalk(e)}},{key:"setStreamMode",value:function(e){this.streamMode=e,this.wsChannel.setMode(e)}},{key:"setDelay",value:function(e){this.delay=e,this.wsChannel.setDelay(e)}},{key:"setVolume",value:function(e){this.volume=e,this.wsChannel.setVolume(e)}},{key:"setFormat",value:function(e){var t=ge.JPEG;if("jpeg"===e&&this.renderType!==Pe.CANVAS)this.layerManager.removeLayer(ke.YUV_VIDEO_LAYER),this.layerManager.initLayer(ke.JPEG_VIDEO_LAYER),this.renderType=Pe.CANVAS,t=ge.JPEG;else{if("yuv"!==e&&"yuv420"!==e||this.renderType===Pe.YUV)return!0;this.layerManager.removeLayer(ke.JPEG_VIDEO_LAYER),this.layerManager.initLayer(ke.YUV_VIDEO_LAYER),this.renderType=Pe.YUV,t=ge.YUV}return this.layerManager.move(0,this.titleBar.height(),this.width,this.height-this.titleBar.height()),this.wsChannel.setFormat(t),!0}},{key:"setFilterLoss",value:function(e){this.wsChannel.setFilterLoss(e)}},{key:"setTrackIdFilter",value:function(e,t){this.layerManager.setTrackIdFilter(e,t)}},{key:"setExtRenderHandler",value:function(e){this.layerManager.setExtRenderHandler(e)}},{key:"setExtRenderCallback",value:function(e){this.layerManager.setExtRenderCallback(e)}},{key:"closeChannel",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.wsChannel.close(),this.status=-1,this.titleBar.clear(),this.layerManager.showError(""),this.layerManager.stopView(),this.ptzPanel.hide(),this.showRecordIcon(!1),e&&(this.stopROI(),null!=this.roiLayer&&(this.roiLayer.destroy(),this.roiLayer=null)),this.updateChildSize(),this.caculateLayerShow(),this.streamWidth=0,this.streamHeight=0,0!==this.heartTimer&&(clearInterval(this.heartTimer),this.heartTimer=0),this.switchAudio(!1,!1),this.switchTalk(!1,!1)}},{key:"initChannel",value:function(e,t){var n=this,r=this;this.wsPort=e,this.httpPort=t,r.status=0,r.titleBar.setState(j.STATE_CLOSE),r.titleBar.setName(this.name),r.titleBar.autoShow(),r.layerManager.showError(""),this.wsChannel.init(e,we.LIVE_CHANNEL,this.config.proxy),this.wsChannel.onConnected=function(){r.titleBar.setState(j.STATE_WAITTING),r.isAudio&&r.switchAudio(!0),r.isTalk&&r.switchTalk(!0),r.setDelay(n.delay),r.setStreamMode(r.streamMode),n.changeViewport(),n.wsChannel.switchUrl(n.urls[0],n.urls[1]),n.ptzPanel.setWebsocket(n.wsChannel.getWebsocket()),console.log("channel "+r.index+" connected")},this.wsChannel.onDisconnected=function(){r.titleBar.setState(j.STATE_CLOSE),console.log("channel "+r.index+" disconnected")},this.wsChannel.onFrame=function(e,t,r){e!==ve.PCM?n.layerManager.putFrame(e,t,r):n.pcmPlayer.play(t)},this.wsChannel.onCommand=function(e,t){Se.SB_CMD_SPEED===e?n.titleBar.setSpeed(t.speed):Se.SB_CMD_STREAM_STATUS===e?n.onStreamStatus(t.status,t.errorCode,t.secondErrorCode):Se.SB_CMD_RES_SNAPSHOT===e?null!==r.config.onSnapshot&&r.config.onSnapshot(r.id,t.data):Se.SB_CMD_STREAM_SIZE===e?(r.streamWidth=t.width,r.streamHeight=t.height):Se.SB_CMD_RECORD_STATE===e?-1===t.state?(r.showRecordIcon(!1),r.config.onRecord&&r.config.onRecord(r.id,"failed",""+t.param)):0===t.state?(r.showRecordIcon(!0),r.config.onRecord&&r.config.onRecord(r.id,"start",""+t.param)):1===t.state&&(r.showRecordIcon(!1),r.config.onRecord&&r.config.onRecord(r.id,"stop",""+t.param)):Se.SB_CMD_AUDIO_STATE===e?(r.hasAudioInput=t.ainput,r.hasAudioOutput=t.aoutput,!t.ainputOpen&&r.isTalk&&r.switchTalk(!1,!1),!t.aoutputOpen&&r.isAudio&&r.switchAudio(!1,!1),r.config.onAudioState(r.id,t.ainput,t.aoutput,t.ainputOpen,t.aoutputOpen)):Se.SB_CMD_INFO===e?(r.hasAudioInput=t.ainput,r.hasAudioOutput=t.aoutput,r.isAudio&&r.switchAudio(!1),r.isTalk&&r.switchTalk(!1),r.config.onAudioState(r.id,t.ainput,t.aoutput,!1,!1)):console.log(t)},this.updateChildSize(),this.caculateLayerShow()}},{key:"onStreamStatus",value:function(e,t,n){2===e?(this.titleBar.setState(j.STATE_RUNNING),this.layerManager.showError(""),null!==this.config.onRunning&&this.config.onRunning()):4===e?this.layerManager.showError(q.STREAM_NO_DATA):5===e?8===t&&this.layerManager.showError(q.STREAM_CONCURRENCY_LIMIT):(1===e?this.titleBar.setState(j.STATE_WAITTING):this.titleBar.setState(j.STATE_CLOSE),-1===t?this.layerManager.showError(q.STREAM_CONNECT_FAILED):-2===t?this.layerManager.showError(q.STREAM_NOTFOUND):-3===t?this.layerManager.showError(q.STREAM_AUTH_FAILED):-4===t?this.layerManager.showError(q.STREAM_UNKNOWN_ERROR):-5===t?this.layerManager.showError(q.STREAM_PROTOCOL_ERROR):-6===t?this.layerManager.showError(q.STREAM_DISCONNECTED):8===t?this.layerManager.showError(q.USER_CONCURRENCY_LIMIT):-100===t?this.layerManager.showError(q.STREAM_UNSUPPORTED):-101===t?-101005===n?this.layerManager.showError(q.USER_CONCURRENCY_LIMIT):-351===n||-352===n||-353===n?this.layerManager.showError(q.STREAM_AUTHORIZE_LIMIT):this.layerManager.showError(q.STREAM_OPEN_FAILED):0!==t&&console.log("unhandled stream_status",e,t)),this.config.onStreamStatus(this.id,e,t,n)}},{key:"initToolbar",value:function(){var e=this;if(null!=this.toolBar&&this.element.removeChild(this.toolBar),this.config.toolBar){this.toolBar=document.createElement("div"),this.toolBar.classList.add("vat-tool"),this.element.appendChild(this.toolBar);var t,n=Ce(this.config.toolButtons);try{for(n.s();!(t=n.n()).done;){var r=t.value;if("volume"===r){var i=this.createToolButton("volume-off","打开声音"),a=this.createToolButton("volume-on","关闭声音");a.style.display="none",i.onclick=function(){e.switchAudio(!0)},a.onclick=function(){e.switchAudio(!1)}}else"snap"===r?this.createToolButton("snapshot","抓图").onclick=function(){e.reqSnapshot()}:"roi-rect"===r?this.createToolButton("roi-rect","ROI矩形绘图").onclick=function(){e.startROI(U.DRAW_RECT,null)}:"roi-polygon"===r?this.createToolButton("roi-polygon","ROI多点绘图").onclick=function(){e.startROI(U.DRAW_POLYGON,null)}:"maximize"===r?this.createToolButton("maximize","显示/取消最大化").onclick=function(){e.config.onZoom()}:"stop"===r?this.createToolButton("stop","停止").onclick=function(){e.closeStream()}:"ptz"===r&&(this.createToolButton("ptz","云台控制").onclick=function(){e.ptzPanel.toggle()})}}catch(e){n.e(e)}finally{n.f()}}}},{key:"showToolBar",value:function(e){null!=this.toolBar&&(this.toolBar.style.display=e?"":"none")}},{key:"showDragLayer",value:function(e){null!=this.dragLayer&&(this.dragLayer.style.display=e?"":"none")}},{key:"createDragLayer",value:function(){var t=this;null==t.dragLayer&&(this.dragLayer=document.createElement("div"),this.dragLayer.setAttribute("draggable","true"),this.dragLayer.classList.add("drag-layer"),this.dragLayer.addEventListener("dragstart",(function(n){if(t.hasChannel()&&!t.isDrawingROI){var r=document.createElement("canvas");if(r.width=t.width/t.span*.8,r.height=t.height/t.span*.8,r.style.opacity="1",r.width>300||r.height>300){var i=Math.min(300/r.width,300/r.height);r.width=r.width*i,r.height=r.height*i}t.layerManager.getImage(r,!1);var a=r.width/2,o=r.height/2;"function"!=typeof DataTransfer.prototype.setDragImage&&t.dragLayer?(t.dragLayer.style.left="".concat(n.layerX-a,"px"),t.dragLayer.style.top="".concat(n.layerY-o,"px"),t.dragLayer.style.width="".concat(r.width,"px"),t.dragLayer.style.height="".concat(r.height,"px"),t.dragLayer.appendChild(r),setTimeout((function(){t.dragLayer&&(t.dragLayer.style.left="",t.dragLayer.style.top="",t.dragLayer.style.width="",t.dragLayer.style.height="",t.dragLayer.removeChild(r))}),0)):(r.style.position="absolute",r.style.left="-999px",n.dataTransfer&&n.dataTransfer.setDragImage(r,a,o),document.body.appendChild(r),setTimeout((function(){document.body.removeChild(r)}),100)),n.dataTransfer&&n.dataTransfer.setData(e.DRAG_MIME,"vat:"+t.index)}else n.preventDefault()})),this.dragLayer.addEventListener("dragenter",(function(e){e.target.classList.add("drag-hover")})),this.dragLayer.addEventListener("dragleave",(function(e){e.target.classList.remove("drag-hover")})),this.dragLayer.addEventListener("drop",(function(n){n.preventDefault(),n.stopPropagation();var r=n.dataTransfer&&n.dataTransfer.getData(e.DRAG_MIME);return n.target.classList.remove("drag-hover"),r&&r.length>0&&t.config.onDrop&&t.config.onDrop(r,t.index),!1})),this.dragLayer.addEventListener("dragover",(function(e){e.preventDefault()})),t.element.appendChild(this.dragLayer))}},{key:"createToolButton",value:function(e,t){var n=document.createElement("a");n.title=t;var r=N.getSVG(e);return n.appendChild(r),this.toolBar&&(this.toolBar.appendChild(n),this.element.appendChild(this.toolBar),this.toolButtons[e]=n),n}},{key:"createROILayer",value:function(){var e=this;return null!=this.roiLayer?this.roiLayer:(this.roiLayer=new U(this.element,this.config.maxRoi,this.config.roiMenu),null===this.roiLayer?null:(this.roiLayer.onEscape=function(){e.stopROI()},this.roiLayer.onSave=function(t){e.stopROI(),e.config.onRoi&&e.config.onRoi(e.id,t)},this.updateChildSize(),this.roiLayer))}},{key:"updateChildSize",value:function(){this.layerManager.move(0,this.titleBar.height(),this.width,this.height-this.titleBar.height()),null!==this.roiLayer&&this.roiLayer.resize(0,this.titleBar.height(),this.width,this.height-this.titleBar.height()),this.titleBar.adjustWidth(this.width)}},{key:"caculateLayerShow",value:function(){!this.hasChannel()||null!==this.roiLayer&&this.roiLayer.isUserDrawing()?(this.showToolBar(!1),null!==this.roiLayer&&this.roiLayer.isUserDrawing()?this.showDragLayer(!1):this.showDragLayer(!0)):(this.showToolBar(!0),this.showDragLayer(!0))}},{key:"changeViewport",value:function(){this.wsChannel.setViewport(this.width,this.height-this.titleBar.height())}},{key:"reqSnapshot",value:function(){this.wsChannel.snapshot(0)}},{key:"showRecordIcon",value:function(e){e&&null==this.recordIcon&&(this.recordIcon=document.createElement("span"),this.recordIcon.setAttribute("class","vat-record"),this.recordIcon.style.visibility="hidden",this.element.appendChild(this.recordIcon)),null!=this.recordIcon&&(this.recordIcon.style.visibility=e?"visible":"hidden")}},{key:"toggleToolButton",value:function(e,t){var n=e+"-on",r=e+"-off";t?(this.toolButtons[n]&&(this.toolButtons[n].style.display="inline-block"),this.toolButtons[r]&&(this.toolButtons[r].style.display="none")):(this.toolButtons[n]&&(this.toolButtons[n].style.display="none"),this.toolButtons[r]&&(this.toolButtons[r].style.display="inline-block"))}}]),e}();Ie.DRAG_MIME="text",Ie.TITLE_BAR_HEIGHT=16,Ie.SB_CMD_SPEED="speed",Ie.SB_CMD_STREAM_STATUS="stream_status",Ie.SB_CMD_INFO="info",Ie.SB_CMD_STREAM_SIZE="stream_size",Ie.SB_CMD_RECORD_STATE="record_state",Ie.SB_CMD_AUDIO_STATE="audio_state",Ie.CMD_OPEN_CHANNEL="openchannel",Ie.CMD_CLOSE_CHANNEL="closechannel",Ie.CMD_SET_VIEWPORT="set_viewport",Ie.CMD_REQ_SNAPSHOT="req_snapshot",Ie.CMD_START_RECORD="start_record",Ie.CMD_STOP_RECORD="stop_record",Ie.CMD_SWITCH_AUDIO="switch_audio",Ie.CMD_SWITCH_TALK="switch_talk",Ie.CMD_SET_STREAM_MODE="set_mode",Ie.CMD_SET_STREAM_DELAY="set_delay",Ie.CMD_SET_STREAM_FORMAT="set_format",Ie.CMD_SET_VOLUME="set_volume";var Re=n("eec4"),Ne=function(){function e(){a(this,e),this.oldWidth=0,this.oldHeight=0,this.element=null,this.erd=null,this.callback=function(){return 1}}return l(e,[{key:"watch",value:function(e,t){var n=this;return null===this.element&&(this.callback=t,this.erd=Re(),this.erd.listenTo(e,(function(e){e.clientWidth===n.oldWidth&&e.clientHeight===n.oldHeight||(n.oldWidth=e.clientWidth,n.oldHeight=e.clientHeight,n.callback(n.oldWidth,n.oldHeight))})),!0)}},{key:"destroy",value:function(){null!==this.erd&&null!==this.element&&this.erd.uninstall(this.element),this.element=null}}]),e}();function Fe(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?je(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var We={fill:!0,dbClick:!0,dragWindow:!0,toolBar:!0,titleBar:0,onSnapshot:null,onRoi:null,maxRoi:10,border:!0,toolButtons:[],filterLoss:!0,onExtData:function(e,t,n){},onStreamStatus:function(e,t,n){},onAudioState:function(e,t,n,r,i){}},ze={rows:2,cols:2,combines:[],streams:[]},Ue=function(){function e(t,n){var r=this;if(a(this,e),this.resizeWatcher=new Ne,this.proxy=null,this.swapWindow=function(t,n){if(t!==n){var i=r.windows[t],a=r.windows[n];i.setSpan(a.span),a.setSpan(i.span),i.setIndex(n),a.setIndex(t),r.windows[t]=a,r.windows[n]=i;var o=a.element.style.width,s=a.element.style.height;a.element.style.width=i.element.style.width,a.element.style.height=i.element.style.height,i.element.style.width=o,i.element.style.height=s,r.updateLayout(r.layout.rows,r.layout.cols,r.layout.combines),r.config.onWinOp&&r.config.onWinOp(t,i.id,e.WIN_OP_SWAP)}},this.showMaxWindow=function(e){var t=r.findTDElement(e);if(null!=t){for(var n=r.getTDIndex(t);r.tableLayout.firstChild;)r.tableLayout.firstChild.nodeName,r.tableLayout.removeChild(r.tableLayout.firstChild);r.maxWindow=r.windows[n],t.removeChild(r.maxWindow.element);var i=document.createElement("td");i.setAttribute("rowSpan","1"),i.setAttribute("colSpan","1"),i.setAttribute("windex",""+n),i.setAttribute("max","true"),i.classList.add("no-border"),i.style.borderWidth="0px",i.appendChild(r.maxWindow.element),r.config.dbClick&&(i.ondblclick=function(e){e.stopPropagation(),e.preventDefault(),r.showNormalWindow()});var a=document.createElement("tr");a.appendChild(i),r.tableLayout.appendChild(a),r.adjustSize(),r.onMaximize(r.maxWindow.id,n)}},this.onTDClick=function(e){null==r.maxWindow&&r.selectWindow(e.target)},this.selectWindow=function(t){var n=r.findTDElement(t);if(null!=n){if(r.selectedIndex>=0&&r.selectedIndex<r.windowCount){var i=r.findTDElement(r.windows[r.selectedIndex].element);null!=i&&i.classList.remove("selected")}r.windowCount>1&&n.classList.add("selected");var a=r.selectedIndex;r.selectedIndex=r.getTDIndex(n),r.config.onWinOp&&a!==r.selectedIndex&&r.config.onWinOp(r.selectedIndex,r.windows[r.selectedIndex].id,e.WIN_OP_SELECT)}},this.dropWindow=function(t,n){if(0===t.indexOf("vat:")){if(r.config.dragWindow){var i=parseInt(t.substr(4),10);r.swapWindow(i,n)}}else{if(0===t.indexOf("rtsp:")){var a={url:t};r.openLiveStream(n,a)}else if(0===t.indexOf("vat-live:")){var o=e.parseLiveStreamParam(t.substr(9));r.openLiveStream(n,o)}r.selectWindow(r.windows[n].element),r.config.onWinOp&&r.config.onWinOp(n,r.windows[n].id,e.WIN_OP_DROP)}},this.windows=[],this.layout=He({},ze),this.config=He(He({},We),n),this.windowCount=0,this.maxWindow=null,this.selectedIndex=0,this.wsPort=0,null==this.config.fill&&(this.config.fill=!0),this.onChannelStatus=function(e,t){console.log("dcs player channel ".concat(e," status=").concat(t))},this.onMaximize=function(e,t){return 0},!t)throw new Error("bad parentElement argument: "+t);var i=t;this.tableLayout=document.createElement("table"),this.tableLayout.setAttribute("cellspacing","1"),this.config.border||(this.tableLayout.style.borderWidth="0"),i.appendChild(this.tableLayout);var o=this;this.tableLayout.oncontextmenu=function(e){return!1},this.resizeWatcher.watch(i,(function(e,t){o.adjustSize(e,t)}))}return l(e,[{key:"getWsPort",value:function(){return this.wsPort}},{key:"setWsPort",value:function(e,t){this.wsPort=e,this.proxy=t;var n,r=Fe(this.windows);try{for(r.s();!(n=r.n()).done;)n.value.wsPort=this.wsPort}catch(e){r.e(e)}finally{r.f()}}},{key:"setLayout",value:function(e){if(0===this.wsPort)return Le.INVALID_STATE;if("number"!=typeof e.rows||"number"!=typeof e.cols||"object"!==d(e.combines))return Le.INVALID_PARAM;if(this.layout=He(He({},ze),e),this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines),void 0===this.layout.streams||null===this.layout.streams)this.layout.streams={};else for(var t=0;t<this.windowCount;t++)this.layout.streams[t]&&this.openLiveStream(t,this.layout.streams[t]);return Le.OK}},{key:"getLayout",value:function(){for(var e={},t=0;t<this.windowCount;t++){var n=this.windows[t];n.hasChannel()&&(e[t]={id:n.id,name:n.name,url:n.urls.length>0?n.urls[0]:"",subUrl:n.urls.length>1?n.urls[1]:"",hasChannel:n.hasChannel()})}var r=He({},this.layout);return r.streams=e,r}},{key:"toggleWindow",value:function(){if(null==this.maxWindow){var e=this._check_index(-1,!0);this.showMaxWindow(this.windows[e].element)}else this.showNormalWindow()}},{key:"openExtStream",value:function(e,t,n,r){this._check_state(),e=this._check_index(e,!0),this.windows[e].openExtStream(t,n,r)}},{key:"closeExtStream",value:function(e){this._check_state(),e=this._check_index(e,!0),this.windows[e].closeExtStream()}},{key:"openLiveStream",value:function(e,t){if(null===t.url||""===t.url)return Le.INVALID_PARAM;if(this._check_state(),-2===e)for(var n=0;n<this.windowCount;n++){var r=(this.selectedIndex+n)%this.windowCount;if(!this.windows[r].hasChannel()){e=r,this.selectWindow(this.windows[r].element);break}}if(-2===e)return Le.NO_MORE_FREE_WINDOW;if(t.id&&""!==t.id)for(var i=0;i<this.windowCount;i++)if(this.windows[i].id===t.id)return Le.WINDOW_ID_CONFLICT;return e=this._check_index(e,!0),this.windows[e].openLiveStream(t),!0===t.realtime&&this.windows[e].setStreamMode(_e.REALTIME),"number"==typeof t.delay&&t.delay>0&&this.windows[e].setDelay(t.delay),e}},{key:"ptzControl",value:function(e,t,n){return this._check_state(),e=this._check_index(e,!1),this.windows[e].ptzControl(t,n)}},{key:"ptzControl3D",value:function(e,t,n,r,i,a){return this._check_state(),e=this._check_index(e,!1),this.windows[e].ptzControl3D(t,n,r,i,a)}},{key:"select",value:function(e){this._check_state(),e=this._check_index(e,!1),this.selectWindow(this.windows[e].element)}},{key:"setROI",value:function(e,t){this._check_state(),e=this._check_index(e,!0),null==t&&(t=[]);var n,r=Fe(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.width<=0||i.height<=0)throw new Error("diagrams width and height must be grater that 0");if(i.type===U.DRAW_RECT){if(null===i.points||2!==i.points.length)throw new Error("diagram rect need two points")}else{if(i.type!==U.DRAW_POLYGON)throw new Error("diagram bad type");if(null===i.points||i.points.length<2)throw new Error("diagram polygon least 3 points")}}}catch(e){r.e(e)}finally{r.f()}this.windows[e].setROI(t)}},{key:"startROI",value:function(e,t,n){return this._check_state(),e=this._check_index(e,!0),this.windows[e].startROI(t,n)}},{key:"stopROI",value:function(e){this._check_state(),e=this._check_index(e,!0),this.windows[e].stopROI()}},{key:"saveROI",value:function(e){return this._check_state(),e=this._check_index(e,!0),this.windows[e].saveROI()}},{key:"closeStream",value:function(e){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].closeStream()}},{key:"closeStreams",value:function(e){if(void 0===e){var t,n=Fe(this.windows);try{for(n.s();!(t=n.n()).done;)t.value.closeStream()}catch(e){n.e(e)}finally{n.f()}}else if(e instanceof Array){var r,i=Fe(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;a>=0&&a<this.windowCount&&this.windows[a].closeStream()}}catch(e){i.e(e)}finally{i.f()}}}},{key:"getStreamInfo",value:function(e){var t={width:0,height:0};return e=this._check_index(e,!0),null!==this.windows[e]&&(t.width=this.windows[e].getStreamWidth(),t.height=this.windows[e].getStreamHeight()),t}},{key:"fillWindow",value:function(e,t){this._check_index(e,!0);for(var n=0;n<this.windowCount;n+=1)-1!==e&&e!==n||!this.windows[n]||this.windows[n].fillWindow(t)}},{key:"showFullscreen",value:function(){var e=this.tableLayout.parentElement;if(e.requestFullscreen)e.requestFullscreen().catch((function(){console.log("request fullscreen failed")}));else if(e.mozRequestFullScreen)e.mozRequestFullScreen();else if(e.webkitRequestFullscreen)e.webkitRequestFullscreen();else{if(!e.msRequestFullscreen)return console.log("不存在进入全屏的方法! => undefined"),!1;e.msRequestFullscreen()}return!0}},{key:"exitFullscreen",value:function(){var e=document;if(e.exitFullscreen)e.exitFullscreen();else if(e.mozCancelFullScreen)e.mozCancelFullScreen();else if(e.webkitExitFullscreen)e.webkitExitFullscreen();else{if(!e.msExitFullscreen)return!1;e.msExitFullscreen()}}},{key:"snapshot",value:function(e){e=this._check_index(e,!0),this.windows[e].snapshot()}},{key:"getImage",value:function(e){return e=this._check_index(e,!0),this.windows[e].getImage()}},{key:"stop",value:function(){this.resizeWatcher.destroy();var e,t=Fe(this.windows);try{for(t.s();!(e=t.n()).done;)e.value.closeStream()}catch(e){t.e(e)}finally{t.f()}}},{key:"resize",value:function(){this.adjustSize()}},{key:"indexOf",value:function(e){if(null==e)return-1;for(var t=0;t<this.windowCount;t++)if(this.windows[t].id===e)return t;return-1}},{key:"startRecord",value:function(e,t,n){return e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].startRecord(t,n)}},{key:"stopRecord",value:function(e){return e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].stopRecord()}},{key:"switchAudio",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].switchAudio(t)}},{key:"switchTalk",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].switchTalk(t)}},{key:"setStreamMode",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setStreamMode(t)}},{key:"setDelay",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setDelay(t)}},{key:"setFormat",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setFormat(t)}},{key:"showBorder",value:function(e){this.tableLayout.style.borderWidth=e?"null":"0"}},{key:"setTrackIdFilter",value:function(e,t,n){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setTrackIdFilter(t,n)}},{key:"setExtRenderHandler",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setExtRenderHandler(t)}},{key:"setExtRenderCallback",value:function(e,t){e=this._check_index(e,!0),null!==this.windows[e]&&this.windows[e].setExtRenderCallback(t)}},{key:"showCheckError",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateLayout(0,0,{});var n=document.createElement("tr"),r=document.createElement("td");r.className="check_error";var i=document.createElement("div");if(i.innerText=e,r.appendChild(i),t){var a=document.createElement("a");a.className="vat-down",a.innerHTML="<span>".concat(q.PLUGIN_DOWNLOAD,"</span>"),a.href=this.config.pluginUrl?this.config.pluginUrl:"#",r.appendChild(a)}n.appendChild(r),this.tableLayout.appendChild(n)}},{key:"_check_state",value:function(){if(0===this.wsPort)throw new Error("invalid state, plugin not initialized")}},{key:"_check_index",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===e)throw new Error("bad parameter index");if(t&&-1===e)return this.selectedIndex;if(e<0||e>=this.windowCount)throw new Error("index out of range");return e}},{key:"adjustSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(this.tableLayout.parentElement){var r=this.layout.rows,i=this.layout.cols;null!=this.maxWindow&&(r=1,i=1),-1===t&&(t=this.tableLayout.parentElement.clientWidth),-1===n&&(n=this.tableLayout.parentElement.clientHeight),t<e.MIN_WIDTH&&(t=e.MIN_WIDTH),n<e.MIN_HEIGHT&&(n=e.MIN_HEIGHT);var a=parseInt(this.tableLayout.cellSpacing,10),o=this.tableLayout.querySelector("td");if(o){var s=2;t=(t-s-a*(i+1)-e.getBDWx2(o)*i)/i,n=(n-s-a*(r+1)-e.getBDHx2(o)*r)/r,t=Math.max(Math.floor(t),0),n=Math.max(Math.floor(n),0);var l=a+e.getBDHx2(o),c=a+e.getBDWx2(o);if(null!=this.maxWindow)this.maxWindow.adjustSize(t,n,l,c,1),this.maxWindow.showMain(!0);else for(var u=r*i,d=u/4,h=0;h<this.windowCount;h+=1)if(this.windows[h]){this.windows[h].adjustSize(t,n,l,c,-1),Math.pow(this.windows[h].span,2)>=d?this.windows[h].showMain(!0):this.windows[h].showMain(!1);var f=this.findTDElement(this.windows[h].element);f&&(f.style.height="0px")}}}}},{key:"updateLayout",value:function(e,t,n){for(var r=this,i={},a=0,o=0;o<this.windowCount;o++)this.windows[o].element.parentElement&&this.windows[o].element.parentElement.removeChild(this.windows[o].element);for(this.maxWindow=null;this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);for(var s=0;s<e;s++){for(var l=document.createElement("tr"),c=0;c<t;c++){var u=s*t+c;if(null==i[u]){var d=n[u];if(null==d)d=1;else if(d>1)for(var h=0;h<d;h++)for(var f=0;f<d;f++)i[(s+h)*t+c+f]=1;var p=document.createElement("td");if(p.setAttribute("rowSpan",""+d),p.setAttribute("colSpan",""+d),p.setAttribute("windex",""+a),0===a&&e*t==1&&(p.classList.add("no-border"),p.style.borderWidth="0px"),l.appendChild(p),this.config.dbClick&&(p.ondblclick=function(e){e.stopPropagation(),e.preventDefault(),r.showMaxWindow(e.target)}),p.onclick=this.onTDClick,a<this.windows.length){var m=this.windows[a];m.element.style.width="1px",m.element.style.height="1px",p.appendChild(m.element),this.windows[a]=m,m.setIndex(a),m.setSpan(d)}else this.createWindow(a,p,d);a++}}this.tableLayout.appendChild(l)}for(var y=a;y<this.windowCount;y++)this.windows[y].closeStream(!1);this.windowCount=a,this.adjustSize();for(var v=0;v<a;v++)this.windows[v].isDrivingClosed()||this.windows[v].hasChannel()||this.windows[v].restoreStream();this.windowCount>0&&(this.selectedIndex>=this.windowCount&&(this.selectedIndex=0),this.selectWindow(this.windows[this.selectedIndex].element))}},{key:"createWindow",value:function(t,n,r){var i=this,a={dragWindow:this.config.dragWindow,toolBar:this.config.toolBar,toolButtons:this.config.toolButtons,titleBar:this.config.titleBar,onSnapshot:void 0===this.config.onSnapshot?null:this.config.onSnapshot,onDrop:this.dropWindow,onRoi:void 0===this.config.onRoi?null:this.config.onRoi,maxRoi:this.config.maxRoi,onZoom:function(){null==i.maxWindow?i.showMaxWindow(o.element):i.showNormalWindow()},onRunning:function(){},onClose:function(t,n){i.config.onWinOp&&i.config.onWinOp(t,n,e.WIN_OP_CLOSE)},onExtData:this.config.onExtData,roiMenu:!0===this.config.roiMenu,onRecord:void 0===this.config.onRecord?null:this.config.onRecord,onStreamStatus:this.config.onStreamStatus,onAudioState:this.config.onAudioState,proxy:this.proxy},o=new Ie(t,n,a);o.fillWindow(!0===this.config.fill),o.setSpan(r),void 0!==this.config.filterLoss&&o.setFilterLoss(this.config.filterLoss),o.wsPort=this.wsPort,this.windows.push(o)}},{key:"showNormalWindow",value:function(){if(null!=this.maxWindow&&null!=this.maxWindow.element.parentElement){for(this.maxWindow.element.parentElement.removeChild(this.maxWindow.element);this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines),this.maxWindow=null,this.adjustSize(),this.onMaximize(null,-1)}}},{key:"findTDElement",value:function(e){var t=null;do{if("TD"===e.nodeName&&null!=e.getAttribute("windex")){t=e;break}if(!e.parentElement)return null;e=e.parentElement}while("BODY"!==e.nodeName);return t}},{key:"getTDIndex",value:function(e){return null==e?-1:parseInt(e.getAttribute("windex")||"-1",10)}}],[{key:"getBDWx2",value:function(e){return e?e.offsetWidth-e.clientWidth:0}},{key:"getBDHx2",value:function(e){return e?e.offsetHeight-e.clientHeight:0}},{key:"parseLiveStreamParam",value:function(e){var t={};try{t=JSON.parse(e)}catch(t){throw Error("cannot parse param:"+e)}if(!t.url)throw Error("require param 'url'");return t}}]),e}();Ue.MAX_CHANNEL_COUNT=9,Ue.MIN_WIDTH=10,Ue.MIN_HEIGHT=10,Ue.WIN_OP_CLOSE="close",Ue.WIN_OP_SELECT="select",Ue.WIN_OP_SWAP="swap",Ue.WIN_OP_DROP="drop";var Ve=function(){function e(t,n){var r=this;a(this,e),this.ip="",this.port=0,this.username="",this.password="",this.isLogin=!1,this.loginCB=function(){return 0},this.listCameraCB=function(){return 0},this.wsPort=t,this.websocket=be.createWebsocket(t,n);var i=this;this.websocket.onerror=function(){r.isLogin=!1,i.loginCB(!1,Le.NETWORK_ERROR)},this.websocket.onmessage=function(e){i.onMessage(e)},this.websocket.onopen=function(){i.onOpen()}}return l(e,[{key:"loginByUrl",value:function(e){var t=e.indexOf(":");if(t<0)throw new Error("bad server info");var n=e.lastIndexOf("@");if(n<0)throw new Error("bad server info");var r=e.indexOf(":",n+1);if(r<0)throw new Error("bad server info");var i=e.substring(0,t),a=e.substring(t+1,n),o=e.substring(n+1,r),s=parseInt(e.substring(r+1),10);return this.login(o,s,i,a)}},{key:"login",value:function(e,t,n,r){return this.ip=e,this.port=t,this.username=n,this.password=r,this.websocket.readyState!==WebSocket.OPEN?Le.INVALID_STATE:(this.sendLoginCmd(),Le.OK)}},{key:"destroy",value:function(){null!==this.websocket&&(this.websocket.onclose=null,this.websocket.onerror=null,this.websocket.close())}},{key:"listCameras",value:function(){return this.websocket.readyState!==WebSocket.OPEN?Le.INVALID_STATE:(this.websocket.send(JSON.stringify({cmd:"req_list_camera"})),Le.OK)}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data);"res_login"===t.cmd?(this.loginCB(t.success,t.code),!0===t.success&&(this.isLogin=!0)):"res_list_camera"===t.cmd&&this.listCameraCB(t.data)}},{key:"onOpen",value:function(){this.ip.length>0&&this.port>0&&this.sendLoginCmd()}},{key:"sendLoginCmd",value:function(){var e={cmd:"req_login",ip:this.ip,port:this.port,username:this.username,password:this.password};this.websocket.send(JSON.stringify(e))}}]),e}(),Ge=function e(){a(this,e)};Ge.WS_PORT=3457,Ge.CMD_INIT="init",Ge.CMD_OPEN_CHANNEL="openchannel",Ge.CMD_CLOSE_CHANNEL="closechannel",Ge.CMD_CHANNEL_STATUS="channel.status",Ge.CMD_ERROR="error",Ge.CMD_OPEN_FOLDER="open_folder";var Qe=n("b697"),Je=n.n(Qe),qe=n("9224"),Ke=qe.version,Xe=qe.vatversion,Ze=function(){function e(t){if(a(this,e),this.serverVersion="",this.timerId=0,this.currentIp="",this.initTime=performance.now(),this.proxy=t,this.onConnectFailed=function(){return 0},this.onDisconnected=function(){return 0},this.onInitError=function(){return 0},this.onInitOk=function(){return 0},this.socketOpened=!1,this.initOk=!1,this.proxyIp=null,this.proxy){var n=this.proxy.indexOf("://"),r=this.proxy.lastIndexOf(":");this.proxyIp=n<0&&r<0?this.proxy:n<0?this.proxy.substring(0,r):r<0||n===r?this.proxy.substring(n+3):this.proxy.substring(n+3,r)}this.websocket=this.initWebSocket("127.0.0.1")}return l(e,[{key:"isProxy",value:function(){return null!==this.proxy&&this.currentIp===this.proxy}},{key:"getConnectedProxyIp",value:function(){return this.isProxy()?this.proxyIp:null}},{key:"close",value:function(){this.clearTimer(),be.closeWebsocket(this.websocket)}},{key:"openFolder",value:function(e){if(!this.isProxy()){var t=JSON.stringify({cmd:Ge.CMD_OPEN_FOLDER,folder:e});this.websocket.send(t)}}},{key:"onError",value:function(){var e=this;performance.now()-this.initTime<200?window.setTimeout((function(){e.websocket=e.initWebSocket("127.0.0.1")}),200):this.handleDisconnect()}},{key:"initWebSocket",value:function(e){var t=this;this.currentIp=e,this.socketOpened=!1;var n=0===e.indexOf("ws://")||0===e.indexOf("wss://")?e:"ws://".concat(e,":").concat(Ge.WS_PORT),r=new WebSocket(n);return r.onerror=r.onclose=function(){t.onError()},r.onopen=function(){t.clearTimer(),t.socketOpened=!0;var e=JSON.stringify({cmd:Ge.CMD_INIT,version:Ke});t.websocket.send(e)},r.onmessage=function(e){var n=JSON.parse(e.data);if(n.cmd===Ge.CMD_INIT){t.serverVersion=n.version;var r=Xe;if(0!==n.code)be.closeWebsocket(t.websocket),t.onInitError(t.serverVersion,q.PLUGIN_SERVICE_MISMATCH);else if(0===r.indexOf("="))if(0===Je()(n.version,r.substring(1)))t.initOk=!0,t.onInitOk(t.serverVersion,n.port);else{var i=q.get(q.PLUGIN_SERVICE_VERSION_REQUIRE,{installed_version:n.version,require_version:r.substring(1)});t.onInitError(t.serverVersion,i)}else if(Je()(n.version,r)>=0)t.initOk=!0,t.onInitOk(t.serverVersion,n.port);else{var a=q.get(q.PLUGIN_SERVICE_VERSION_REQUIRE,{installed_version:n.version,require_version:r});t.onInitError(t.serverVersion,a)}}else n.cmd===Ge.CMD_CHANNEL_STATUS?t.onInitOk(t.serverVersion,n.ws_port):n.cmd===Ge.CMD_ERROR&&console.error(e.data)},this.initTimer(),r}},{key:"initTimer",value:function(){var e=this;this.clearTimer(),this.timerId=window.setTimeout((function(){e.handleDisconnect()}),1e3)}},{key:"clearTimer",value:function(){0!==this.timerId&&(clearTimeout(this.timerId),this.timerId=0)}},{key:"handleDisconnect",value:function(){if(!this.socketOpened&&this.proxy&&this.currentIp!==this.proxy&&this.proxy.length>6)return be.closeWebsocket(this.websocket),void(this.websocket=this.initWebSocket(this.proxy));this.socketOpened?this.onDisconnected():this.onConnectFailed(),this.socketOpened=!1}}]),e}();function $e(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return et(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?et(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var it={},at=function(e){u(n,e);var t=rt(n);function n(){var e;return a(this,n),(e=t.apply(this,arguments)).api=null,e.dcs=null,e.loaded=!1,e.wsInitChannel=null,e}return l(n,[{key:"login",value:function(e,t,n,r){return null===this.api?Le.INVALID_STATE:this.getDcs().login(e,t,n,r)}},{key:"setLayout",value:function(e){this.api&&this.api.setLayout(e)}},{key:"getLayout",value:function(){return this.api?this.api.getLayout():null}},{key:"toggleWindow",value:function(){this.api&&this.api.toggleWindow()}},{key:"openStream",value:function(e,t,n,r){return this.api?this.api.openLiveStream(e,{url:t,subUrl:n,name:r}):Le.INVALID_STATE}},{key:"openStreamEx",value:function(e,t){return this.api?this.api.openLiveStream(e,t):Le.INVALID_STATE}},{key:"ptzControl",value:function(e,t,n){return null===this.api?Le.INVALID_STATE:this.api.ptzControl(e,t,n)}},{key:"ptzControl3D",value:function(e,t,n,r,i,a){return null===this.api?Le.INVALID_STATE:this.api.ptzControl3D(e,t,n,r,i,a)}},{key:"selectWindow",value:function(e){this.api&&this.api.select(e)}},{key:"setROI",value:function(e,t){this.api&&this.api.setROI(e,t)}},{key:"startROI",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return null!==this.api&&this.api.startROI(e,t,n)}},{key:"stopROI",value:function(e){this.api&&this.api.stopROI(e)}},{key:"saveROI",value:function(e){return null!==this.api&&this.api.saveROI(e)}},{key:"closeStream",value:function(e){this.api&&this.api.closeStream(e)}},{key:"closeStreams",value:function(e){this.api&&this.api.closeStreams(e)}},{key:"fillWindow",value:function(e,t){this.api&&this.api.fillWindow(e,t)}},{key:"showFullscreen",value:function(){return this.api&&this.api.showFullscreen()}},{key:"exitFullscreen",value:function(){this.api&&this.api.exitFullscreen()}},{key:"getImage",value:function(e){return this.api?this.api.getImage(e):null}},{key:"snapshot",value:function(e){this.api&&this.api.snapshot(e)}},{key:"indexOf",value:function(e){return this.api?this.api.indexOf(e):Le.INVALID_STATE}},{key:"getStreamInfo",value:function(e){if(this.api)return this.api.getStreamInfo(e)}},{key:"startRecord",value:function(e,t,n){return!!this.api&&(!this.wsInitChannel||!this.wsInitChannel.isProxy())&&(void 0===n&&(n=""),this.api.startRecord(e,t,n))}},{key:"stopRecord",value:function(e){return!!this.api&&this.api.stopRecord(e)}},{key:"closeExtStream",value:function(e){if(!this.api)return!1;this.api.closeExtStream(e)}},{key:"openExtStream",value:function(e,t){if(!this.api)return!1;this.api.openExtStream(e,"","",t)}},{key:"switchAudio",value:function(e,t){this.api&&this.api.switchAudio(e,t)}},{key:"switchTalk",value:function(e,t){this.api&&this.api.switchTalk(e,t)}},{key:"setStreamMode",value:function(e,t){this.api&&this.api.setStreamMode(e,t)}},{key:"setDelay",value:function(e,t){this.api&&this.api.setDelay(e,t)}},{key:"setTrackIdFilter",value:function(e,t,n){this.api&&this.api.setTrackIdFilter(e,t,n)}},{key:"setExtRenderHandler",value:function(e,t){this.api&&this.api.setExtRenderHandler(e,t)}},{key:"setExtRenderCallback",value:function(e,t){this.api&&this.api.setExtRenderCallback(e,t)}},{key:"setMessage",value:function(e,t){q.set(e,t)}},{key:"swapWindow",value:function(e,t){return null===this.api?Le.INVALID_STATE:e===t||e<0||t<0||e>=this.api.windowCount||t>=this.api.windowCount?Le.INVALID_PARAM:(this.api.swapWindow(e,t),Le.OK)}},{key:"openFolder",value:function(e){null!=this.wsInitChannel&&this.wsInitChannel.openFolder(e)}},{key:"onServerChange",value:function(e,t){void 0!==this.server&&""!==this.server&&this.loaded&&this.tryLogin()}},{key:"onBorderChange",value:function(e,t){if(!this.api)return!1;this.api.showBorder(e)}},{key:"mounted",value:function(){var e=this;Q.token=this.$attrs.token;var t={rows:1,cols:1,combines:[],streams:{}};this.config.layout&&(t=nt({},this.config.layout));var n,r={pluginUrl:"#",onSnapshot:this.onSnapshot,onRoi:this.onROI,dbClick:!1!==this.config.dbClick,dragWindow:!1!==this.config.dragWindow,toolBar:!1!==this.config.toolBar,toolButtons:this.config.boolButtons||["volume","roi-rect","roi-polygon","snap","stop"],titleBar:!1===this.config.titleBar?0:F.ALL,maxRoi:this.config.maxRoi?this.config.maxRoi:10,onExtData:this.onExtData,onWinOp:this.onWinOp,roiMenu:!1!==this.config.roiMenu,onRecord:this.onRecord,onStreamStatus:this.onStreamStatus,onAudioState:this.onAudioState,border:!1!==this.config.border,filterLoss:this.config.filterLoss},i=$e(void 0===this.$slots.default?[]:this.$slots.default);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("download-url"===a.tag){if(void 0!==a.text)r.pluginUrl=a.text;else if(void 0!==a.children&&a.children.length>0){var o,s=$e(a.children);try{for(s.s();!(o=s.n()).done;)void 0===o.value.tag&&(r.pluginUrl=a.children[0].text)}catch(e){s.e(e)}finally{s.f()}}}else if("msg"===a.tag){if(void 0===a.data||void 0===a.data.key)continue;var l="";if(void 0!==a.text)l=a.text;else if(void 0!==a.children&&a.children.length>0){var c,u=$e(a.children);try{for(u.s();!(c=u.n()).done;)void 0===c.value.tag&&void 0!==a.children[0].text&&(l=a.children[0].text)}catch(e){u.e(e)}finally{u.f()}}q.set(""+a.data.key,l)}}}catch(e){i.e(e)}finally{i.f()}this.api=new Ue(this.$el,r),this.api.onMaximize=function(t,n){e.$emit("onMaximize",t,n)},this.wsInitChannel=new Ze(this.proxy),this.wsInitChannel.onInitOk=function(n,r){e.loaded=!0,null!==e.api&&(e.api.setWsPort(r,null===e.wsInitChannel?null:e.wsInitChannel.getConnectedProxyIp()),e.api.setLayout(t)),e.$emit("onLoad",e,n,e.wsInitChannel&&e.wsInitChannel.isProxy()),e.tryLogin()},this.wsInitChannel.onInitError=function(t,n){null!==e.api&&(e.api.showCheckError(n,void 0!==t&&t.length>0),e.$emit("onLoadFailed",n))},this.wsInitChannel.onConnectFailed=function(){null!==e.api&&(e.api.showCheckError(q.PLUGIN_SERVICE_NOTFOUND,!0),e.$emit("onLoadFailed",q.PLUGIN_SERVICE_NOTFOUND))},this.wsInitChannel.onDisconnected=function(){null!==e.api&&(e.api.showCheckError(q.PLUGIN_SERVICE_DISCONNECTED,!0),e.$emit("onDisconnected",q.PLUGIN_SERVICE_NOTFOUND))}}},{key:"beforeDestroy",value:function(){this.api&&this.api.stop(),null!==this.wsInitChannel&&this.wsInitChannel.close()}},{key:"tryLogin",value:function(){null!==this.api&&this.server.length>0&&this.getDcs().loginByUrl(this.server)}},{key:"getDcs",value:function(){var e=this;if(null===this.dcs){if(null==this.api)throw new Error("api is null");this.dcs=new Ve(this.api.getWsPort(),null==this.wsInitChannel?null:this.wsInitChannel.getConnectedProxyIp()),this.dcs.loginCB=function(t,n){e.$emit("onLogin",t,n)}}return this.dcs}},{key:"onSnapshot",value:function(e,t){this.$emit("onSnapshot",e,t)}},{key:"onROI",value:function(e,t){this.$emit("onRoi",e,t)}},{key:"onExtData",value:function(e,t,n){this.$emit("onExtData",e,t,n),t===Me.FACE_SNAP&&this.$emit("onRecg",e,n)}},{key:"onWinOp",value:function(e,t,n){this.$emit("onWinOp",e,t,n)}},{key:"onRecord",value:function(e,t,n){this.$emit("onRecord",e,t,n)}},{key:"onStreamStatus",value:function(e,t,n,r){this.$emit("onStreamStatus",e,t,n,r)}},{key:"onAudioState",value:function(e,t,n,r,i){this.$emit("onAudioState",e,t,n,r,i)}}]),n}(y.a);p([P({default:function(){return it}})],at.prototype,"config",void 0),p([P({default:"dark"})],at.prototype,"theme",void 0),p([P({default:""})],at.prototype,"server",void 0),p([P({default:""})],at.prototype,"proxy",void 0),p([O("$attrs.server",{immediate:!0})],at.prototype,"onServerChange",null),p([O("$attrs.border",{immediate:!0})],at.prototype,"onBorderChange",null);var ot=at=p([C({components:{}})],at);function st(e,t,n,r,i,a,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n("4b0b");var lt=st(ot,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:["vatlive","vatlive-"+e.theme]})}),[],!1,null,null,null).exports;function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dt(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n("551c");var ht=function(){function e(t,n){a(this,e),this.windowCount=0,this.windows=[],this.selectedIndex=0,this.maxWindow=null,this.layout={rows:0,cols:0,combines:{}},this.enableDBClick=!1,this.resizeWatcher=new Ne,this.getBDWx2=function(e){return e?e.offsetWidth-e.clientWidth:0},this.getBDHx2=function(e){return e?e.offsetHeight-e.clientHeight:0},this.tableLayout=t,this.cbCreateWindow=n,this.fastFrameUpdateId=0,this.fastFrameUpdateCount=0}return l(e,[{key:"setup",value:function(){var e=this,t=this.tableLayout.parentElement;return null!==t&&(this.resizeWatcher.watch(t,(function(){e.update()})),!0)}},{key:"destroy",value:function(){this.resizeWatcher.destroy(),this.updateLayout(0,0,{});var e,t=ut(this.windows);try{for(t.s();!(e=t.n()).done;)e.value.close()}catch(e){t.e(e)}finally{t.f()}this.windows=[]}},{key:"setLayout",value:function(e){this.layout=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines)}},{key:"getWindowCount",value:function(){return this.windowCount}},{key:"getSelectedIndex",value:function(){return this.selectedIndex}},{key:"getSelectedWindow",value:function(){return this.windows.length<=this.selectedIndex?null:this.windows[this.selectedIndex]}},{key:"update",value:function(){this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines)}},{key:"getWindow",value:function(e){return-1===e&&(e=this.selectedIndex),e<0||e>=this.windowCount?null:this.windows[e]}},{key:"showMaxWindow",value:function(e){var t=this;if(-1===e&&(e=this.selectedIndex),e<0||e>=this.windowCount)return!1;for(;this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);this.maxWindow=this.windows[e],this.maxWindow.element.parentElement&&this.maxWindow.element.parentElement.removeChild(this.maxWindow.element);var n=document.createElement("td");n.setAttribute("rowSpan","1"),n.setAttribute("colSpan","1"),n.setAttribute("windex",""+e),n.setAttribute("max","true"),n.classList.add("no-border"),n.style.borderWidth="0px",n.appendChild(this.maxWindow.element),this.enableDBClick&&(n.ondblclick=function(e){t.showNormalWindow()});var r=document.createElement("tr");return r.appendChild(n),this.tableLayout.appendChild(r),this.adjustSize(),!0}},{key:"showNormalWindow",value:function(){if(null!=this.maxWindow&&null!=this.maxWindow.element.parentElement){for(this.maxWindow.element.parentElement.removeChild(this.maxWindow.element);this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines),this.maxWindow=null,this.adjustSize()}}},{key:"selectWindow",value:function(e){if(this.selectedIndex>=0&&this.selectedIndex<this.windowCount){var t=this.windows[this.selectedIndex].element.parentElement;null!=t&&t.classList.remove("selected")}if(this.windowCount>1){var n=this.windows[e].element.parentElement;null!==n&&n.classList.add("selected")}this.selectedIndex,this.selectedIndex=e,this.selectedIndex}},{key:"adjustSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(this.tableLayout.parentElement){var r=this.layout.rows,i=this.layout.cols;null!=this.maxWindow&&(r=1,i=1),-1===t&&(t=this.tableLayout.parentElement.clientWidth),-1===n&&(n=this.tableLayout.parentElement.clientHeight),t<e.MIN_WIDTH&&(t=e.MIN_WIDTH),n<e.MIN_HEIGHT&&(n=e.MIN_HEIGHT);var a=this.tableLayout.cellSpacing;""===a&&null!==this.tableLayout.style.borderSpacing&&(a=this.tableLayout.style.borderSpacing),""===a&&(a="0");var o=parseInt(a,10),s=this.tableLayout.querySelector("td");if(s){var l=2;t=(t-l-o*(i+1)-this.getBDWx2(s)*i)/i,n=(n-l-o*(r+1)-this.getBDHx2(s)*r)/r,t=Math.max(Math.floor(t),0),n=Math.max(Math.floor(n),0);var c=o+this.getBDHx2(s),u=o+this.getBDWx2(s);if(null!=this.maxWindow)this.maxWindow.adjustSize(t,n,c,u,1),this.maxWindow.showMain(!0);else for(var d=r*i,h=d/4,f=0;f<this.windowCount;f+=1)if(this.windows[f]){this.windows[f].adjustSize(t,n,c,u,-1),Math.pow(this.windows[f].span,2)>=h?this.windows[f].showMain(!0):this.windows[f].showMain(!1);var p=this.findTDElement(this.windows[f].element);p&&(p.style.height="0px")}}}}},{key:"findTDElement",value:function(e){var t=null;do{if("TD"===e.nodeName&&null!=e.getAttribute("windex")){t=e;break}if(!e.parentElement)return null;e=e.parentElement}while("BODY"!==e.nodeName);return t}},{key:"updateLayout",value:function(e,t,n){for(var r=this,i={},a=0,o=0;o<this.windowCount;o++)this.windows[o].element.parentElement&&this.windows[o].element.parentElement.removeChild(this.windows[o].element);for(this.maxWindow=null;this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);for(var s=0;s<e;s++){for(var l=document.createElement("tr"),c=0;c<t;c++){var u=s*t+c;if(null==i[u]){var d=n[u];if(null==d)d=1;else if(d>1)for(var h=0;h<d;h++)for(var f=0;f<d;f++)i[(s+h)*t+c+f]=1;var p=document.createElement("td");if(p.setAttribute("rowSpan",""+d),p.setAttribute("colSpan",""+d),p.setAttribute("windex",""+a),0===a&&e*t==1&&(p.classList.add("no-border"),p.style.borderWidth="0px"),l.appendChild(p),this.enableDBClick&&(p.ondblclick=function(e){r.showMaxWindow(r.findWinIndex(e.target))}),p.onclick=function(e){null==r.maxWindow&&r.selectWindow(r.findWinIndex(e.target))},a<this.windows.length){var m=this.windows[a];m.element.style.width="1px",m.element.style.height="1px",p.appendChild(m.element),this.windows[a]=m,m.index=a,m.span=d}else{var y=this.cbCreateWindow(a,p);y.span=d,this.windows.push(y)}a++}}this.tableLayout.appendChild(l)}for(var v=a;v<this.windowCount;v++)this.windows[v].pause();this.windowCount=a,this.adjustSize();for(var g=0;g<a;g++)this.windows[g].resume();this.windowCount>0&&(this.selectedIndex>=this.windowCount&&(this.selectedIndex=0),this.selectWindow(this.selectedIndex))}},{key:"findWinIndex",value:function(e){var t=null;do{if("TD"===e.nodeName&&null!=e.getAttribute("windex")){t=e;break}if(!e.parentElement)break;e=e.parentElement}while("BODY"!==e.nodeName);if(null!==t){var n=t.getAttribute("windex");if(null!==n)return parseInt(n,10)}return-1}}]),e}();ht.MAX_CHANNEL_COUNT=9,ht.MIN_WIDTH=10,ht.MIN_HEIGHT=10,ht.WIN_OP_CLOSE="close",ht.WIN_OP_SELECT="select";var ft,pt,mt=function(){function e(t,n){a(this,e),this.id="",this.originIndex=t,this.index=t,this.span=1,this.width=0,this.height=0,this.name="",this.element=document.createElement("div"),this.element.setAttribute("class","vatwin"),this.element.setAttribute("windex",""+t),this.extRenderDom=document.createElement("canvas"),this.extRenderDom.setAttribute("class","vatwin-extrender-canvas"),this.extRender2d=this.extRenderDom.getContext("2d"),this.element.appendChild(this.extRenderDom),n.appendChild(this.element)}return l(e,[{key:"setExtCanvasSize",value:function(e,t,n,r){this.extRenderDom.width=n,this.extRenderDom.height=r,this.extRenderDom.style.left="".concat(e,"px"),this.extRenderDom.style.top="".concat(t,"px")}},{key:"adjustSize",value:function(e,t,n,r,i){i<=0&&(i=this.span),this.width=e*i,this.height=t*i,i>1&&(this.width+=(i-1)*r,this.height+=(i-1)*n),this.element.style.width="".concat(this.width,"px"),this.element.style.height="".concat(this.height,"px"),this.onResize(this.width,this.height)}}]),e}();function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}mt.DRAG_MIME="text",mt.TITLE_BAR_HEIGHT=16,mt.SB_CMD_SPEED="speed",mt.SB_CMD_STREAM_STATUS="stream_status",mt.SB_CMD_INFO="info",mt.SB_CMD_STREAM_SIZE="stream_size",mt.SB_CMD_RECORD_STATE="record_state",mt.SB_CMD_AUDIO_STATE="audio_state",mt.CMD_OPEN_CHANNEL="openchannel",mt.CMD_CLOSE_CHANNEL="closechannel",mt.CMD_SET_VIEWPORT="set_viewport",mt.CMD_REQ_SNAPSHOT="req_snapshot",mt.CMD_START_RECORD="start_record",mt.CMD_STOP_RECORD="stop_record",mt.CMD_SWITCH_AUDIO="switch_audio",mt.CMD_SWITCH_TALK="switch_talk",mt.CMD_SET_STREAM_MODE="set_mode",mt.CMD_SET_STREAM_DELAY="set_delay",mt.CMD_SET_STREAM_FORMAT="set_format",function(e){e[e.STOPPED=0]="STOPPED",e[e.WAIT_RESULT=1]="WAIT_RESULT",e[e.RUNNING=2]="RUNNING",e[e.FINISHED=3]="FINISHED"}(ft||(ft={})),function(e){e[e.UNKOWN=0]="UNKOWN",e[e.DONE=1]="DONE",e[e.CONNECT_FAILED=2]="CONNECT_FAILED",e[e.NOT_FOUND=3]="NOT_FOUND"}(pt||(pt={}));var vt,gt,_t=function(){function e(t,n,r){var i=this;a(this,e),this.cmdCaches=[],this.streamIndex=0,this.streamStatus=ft.STOPPED,this.direction=1,this.backwardCaches=[],this.wsChannel=new Se,this.onRecords=function(e,t,n){return 0},this.onStream=function(e){return 0},this.onLoad=function(){return 0},this.onPlayState=function(e){return 0},this.onOpenFileState=function(e){return 0},this.onStreamFinish=function(e,t){return 0},this.onSnapshot=function(e,t,n){return 0},this.wsChannel.init(t,r,n),this.wsChannel.onConnected=function(){for(;i.cmdCaches.length>0;){var e=i.cmdCaches.shift();i.wsChannel.sendRaw(e)}null!==i.onLoad&&i.onLoad()},this.wsChannel.onCommand=function(t,n){"records"===t?null!==i.onRecords&&i.onRecords(n.startTime,n.endTime,n.records):t===e.CMD_PLAY_STATE?n.index===i.streamIndex&&(n.success?i.streamStatus=ft.RUNNING:i.streamStatus=ft.STOPPED,i.onPlayState(n.success,n.code)):t===e.CMD_STREAM_STATE?(i.dispatchAllCaches(),i.onStreamFinish(n.state,n.time)):t===e.CMD_RES_SNAPSHOT?i.onSnapshot(n.data,n.path,n.time):t===e.CMD_OPEN_FILE_RES?i.onOpenFileState(n.code,n.duration):console.log(n)},this.wsChannel.onFrame=function(e,t,n){i.handleFrame({type:e,data:t,time:n})},this.deviceInfo=null}return l(e,[{key:"setFormat",value:function(e){this.wsChannel.setFormat(e)}},{key:"open",value:function(e){this.deviceInfo=e,this.sendOpenDevice()}},{key:"openFile",value:function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({cmd:e.CMD_OPEN_FILE_REQ},t);this.queueOrSend(n)}},{key:"channel",value:function(){return this.wsChannel}},{key:"play",value:function(t,n,r){var i=++this.streamIndex;this.streamStatus=ft.WAIT_RESULT,this.direction=n,this.backwardCaches=[],this.queueOrSend({cmd:e.CMD_PLAY,pos:t,direction:n,index:i}),this.setSpeed(r)}},{key:"stop",value:function(){this.streamStatus=ft.STOPPED,this.wsChannel.stop()}},{key:"pause",value:function(){this.wsChannel.pause()}},{key:"resume",value:function(e){this.wsChannel.resume(e)}},{key:"changeDirection",value:function(e){this.wsChannel.changeDirection(e)}},{key:"setSpeed",value:function(t){this.queueOrSend({cmd:e.CMD_SET_SPEED,speed:t})}},{key:"query",value:function(t,n){this.queueOrSend({cmd:e.CMD_QUERY_RECORD,startTime:t,endTime:n})}},{key:"snapshot",value:function(e){return this.wsChannel.snapshot(e)}},{key:"close",value:function(){this.wsChannel.close(),this.cmdCaches=[]}},{key:"queueOrSend",value:function(e){this.wsChannel.sendRaw(JSON.stringify(e))||this.cmdCaches.push(JSON.stringify(e))}},{key:"sendOpenDevice",value:function(){if(null===this.deviceInfo)return!1;var t={cmd:e.CMD_OPEN_DEVICE,id:this.deviceInfo.id,startTime:this.deviceInfo.minTime,endTime:this.deviceInfo.maxTime};return this.queueOrSend(t),!0}},{key:"handleFrame",value:function(e){if(this.direction>0)this.onStream(e);else if(0===this.backwardCaches.length)this.backwardCaches.push(e);else if(e.time<this.backwardCaches[0].time||this.backwardCaches.length>100){for(;this.backwardCaches.length>0;){var t=this.backwardCaches.pop();t&&this.onStream(t)}this.backwardCaches.push(e)}else this.backwardCaches.push(e)}},{key:"dispatchAllCaches",value:function(){for(;this.backwardCaches.length>0;){var e=this.backwardCaches.pop();e&&this.onStream(e)}}}]),e}();function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}_t.CMD_INIT_CHANNEL="init_channel",_t.CMD_OPEN_DEVICE="open_device",_t.CMD_OPEN_FILE_REQ="req_open_file",_t.CMD_OPEN_FILE_RES="res_open_file",_t.CMD_QUERY_RECORD="query_record",_t.CMD_PLAY="play",_t.CMD_SET_FORMAT="set_format",_t.CMD_STOP_STREAM="stop_stream",_t.CMD_PAUSE_STREAM="pause_stream",_t.CMD_RESUME_STREAM="resume_stream",_t.CMD_SET_SPEED="set_speed",_t.CMD_PLAY_STATE="play_state",_t.CMD_STREAM_STATE="stream_state",_t.CMD_REQ_SNAPSHOT="req_snapshot",_t.CMD_RES_SNAPSHOT="res_snapshot",_t.CMD_CHANGE_DIRECTION="change_direction",function(e){e[e.STOPPED=0]="STOPPED",e[e.FORWARD_PLAYING=1]="FORWARD_PLAYING",e[e.BACKWARD_PLAYING=2]="BACKWARD_PLAYING",e[e.STEP_PLAYING=3]="STEP_PLAYING",e[e.PAUSED=4]="PAUSED"}(vt||(vt={})),function(e){e[e.BACKWARD=-1]="BACKWARD",e[e.FORWARD=1]="FORWARD"}(gt||(gt={}));var kt=function(e){u(n,e);var t=At(n);function n(e,r,i,o,s){var l;a(this,n),(l=t.call(this,e,r)).direction=gt.FORWARD,l.frames=[],l.framePos=0,l.playTimer=0,l.firstPlayTick=0,l.firstPlayTime=0,l.finishTime=-1,l.onPlayState=function(e){return 0},l.speed=1,l.posSec=0,l.playTime=0,l.record={startTime:0,endTime:0,type:0},l.onStatus=function(e){return 1},l.onPosChange=function(e){return 1},l.onSnapshot=function(e,t){return 1},l.onPlayFinished=function(e){return 1},l.onOpenFileState=function(e,t){return 1},l.extHandler=function(){return 1},l.status=vt.STOPPED,l.deviceInfo=null,o&&o.length>6?l.format=ge.JPEG:l.format=Te.chooseLayerType(e)===ke.YUV_VIDEO_LAYER?ge.YUV:ge.JPEG;var c=new $;l.jpegRender=c,c.setAsync(0,(function(e,t,n){l.extRenderHandel(e,t,n)})),l.jpegLayer=new ie(l.element,"vatrender"),l.jpegLayer.setupRender(c);var u=new ne;return l.yuvRender=u,u.setAsync(0,(function(e,t,n){l.extRenderHandel(e,t,n)})),l.yuvLayer=new ie(l.element,"vatrender"),l.yuvLayer.setupRender(u),l.streamProxy=new _t(i,o,s),l.streamProxy.onLoad=function(){null!==l.deviceInfo&&l.streamProxy.open(l.deviceInfo),l.streamProxy.setFormat(l.format),l.streamProxy.setSpeed(l.speed)},l.streamProxy.onStream=function(e){l.status!==vt.STOPPED&&(l.frames.length>0&&e.time<l.frames[0].time?(l.framePos+=1,l.frames.unshift(e)):l.frames.push(e),(l.frames.length===n.CACHE_SIZE||l.frames.length>n.CACHE_SIZE+50)&&(0===l.playTimer&&l.streamProxy.pause(),l.frames.length>n.CACHE_SIZE+1&&(gt.FORWARD===l.direction?l.frames.shift():l.frames.pop(),l.firstPlayTick=0)))},l.streamProxy.onStreamFinish=function(e,t){l.finishTime=t,l.status===vt.FORWARD_PLAYING&&l.framePos>=l.frames.length?(l.stop(),l.onPlayFinished(l.record,gt.FORWARD)):l.status===vt.BACKWARD_PLAYING&&0===l.framePos&&(l.stop(),l.onPlayFinished(l.record,gt.BACKWARD))},l.streamProxy.onPlayState=function(e,t){e||l.stop(),l.onPlayState(e,t)},l.streamProxy.onSnapshot=function(e,t,n){l.onSnapshot(e,t,n)},l.streamProxy.onOpenFileState=function(e,t){l.onOpenFileState(e,t)},l}return l(n,[{key:"setDevice",value:function(e){this.deviceInfo=bt({},e),this.record={startTime:e.minTime,endTime:e.maxTime,type:0},this.streamProxy.open(this.deviceInfo)}},{key:"setFile",value:function(e){this.streamProxy.openFile(e)}},{key:"playOne",value:function(e,t,n,r){this.record.startTime=Math.floor(new Date(e).getTime()/1e3),this.record.endTime=Math.floor(new Date(t).getTime()/1e3),this.record.type=n,this.posSec=r>0?r:this.record.startTime,this.play(gt.FORWARD)}},{key:"playPos",value:function(e,t){this.posSec=e>0?e:this.record.startTime,this.play(t)}},{key:"play",value:function(e){this.direction=e,gt.FORWARD===e?this.forward_play():gt.BACKWARD===e&&this.backward_play()}},{key:"syncPlay",value:function(e){vt.STOPPED!==this.status&&this.stop(),this.moveTo(e),this.status=vt.FORWARD_PLAYING,this.forward_play(!1)}},{key:"syncStep",value:function(){this.framePos>=0&&this.drawFrame(!0)}},{key:"minFrameTime",value:function(){return this.framePos>=this.frames.length?0:this.frames[0].time}},{key:"forward_play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(vt.STOPPED!==this.status)return this.status=vt.FORWARD_PLAYING,this.checkStream(gt.FORWARD),void this.startPlayTimer(gt.FORWARD);(0===this.posSec||this.record.endTime>0&&this.posSec>=this.record.endTime)&&(this.posSec=this.record.startTime),this.finishTime=-1,this.streamProxy.play(this.posSec,1,this.speed),this.changeStatus(vt.FORWARD_PLAYING),this.jpegLayer.restoreView(),this.yuvLayer.restoreView(),e&&this.startPlayTimer(gt.FORWARD)}},{key:"backward_play",value:function(){if(vt.STOPPED!==this.status)return this.status=vt.BACKWARD_PLAYING,this.checkStream(gt.BACKWARD),void this.startPlayTimer(gt.BACKWARD);this.posSec!==this.record.startTime&&(this.finishTime=-1,this.streamProxy.play(this.posSec,-1,this.speed),this.changeStatus(vt.BACKWARD_PLAYING),this.jpegLayer.restoreView(),this.yuvLayer.restoreView(),this.startPlayTimer(gt.BACKWARD))}},{key:"stop",value:function(){this.streamProxy.stop(),this.changeStatus(vt.STOPPED),this.jpegLayer.stopView(),this.yuvLayer.stopView(),this.speed=1,this.stopPlayTimer(),this.framePos=0,this.frames=[]}},{key:"moveTo",value:function(e){e===this.posSec||e<this.record.startTime||(vt.STOPPED===this.status?(this.posSec=e,this.playTime=1e3*e):(this.streamProxy.stop(),this.jpegLayer.stopView(),this.yuvLayer.stopView(),this.stopPlayTimer(),this.framePos=0,this.frames=[],this.posSec=e,vt.FORWARD_PLAYING===this.status?(this.status=vt.STOPPED,this.forward_play()):vt.BACKWARD_PLAYING===this.status?(this.status=vt.STOPPED,this.backward_play()):vt.PAUSED===this.status&&(this.status=vt.STOPPED,gt.FORWARD===this.direction?this.forward_play():this.backward_play())))}},{key:"getPos",value:function(){return this.posSec}},{key:"stepPrev",value:function(){vt.STEP_PLAYING!==this.status&&(this.stopPlayTimer(),this.status=vt.STEP_PLAYING,this.checkStream(gt.BACKWARD)),this.framePos>=0&&this.drawFrame(!1)}},{key:"stepNext",value:function(){vt.STEP_PLAYING!==this.status&&(this.stopPlayTimer(),this.status=vt.STEP_PLAYING,this.checkStream(gt.FORWARD)),this.framePos<this.frames.length&&this.drawFrame(!0)}},{key:"close",value:function(){this.stop(),this.streamProxy.close()}},{key:"pause",value:function(){this.changeStatus(vt.PAUSED),this.streamProxy.pause(),this.stopPlayTimer()}},{key:"addSpeed",value:function(){this.speed>=8||this.setSpeed(2*this.speed)}},{key:"subSpeed",value:function(){this.speed<=.25||this.setSpeed(this.speed/2)}},{key:"setSpeed",value:function(e){this.speed=Math.floor(100*e)/100,this.streamProxy.setSpeed(e),this.firstPlayTick=0,this.firstPlayTime=0}},{key:"setRecord",value:function(e){null===e?vt.STOPPED!==this.status&&(this.stop(),this.record.startTime=this.record.endTime=0):e.startTime===this.record.startTime&&e.endTime===this.record.endTime||(this.record=bt({},e))}},{key:"snapshot",value:function(){return this.framePos>=0&&this.framePos<this.frames.length&&this.streamProxy.snapshot(this.frames[this.framePos].time)?0:Le.INVALID_STATE}},{key:"resume",value:function(){}},{key:"showMain",value:function(e){}},{key:"setExtRenderCallback",value:function(e){this.extHandler=e}},{key:"getTitleBarHeight",value:function(){return 0}},{key:"onResize",value:function(e,t){this.jpegLayer.move(0,0,e,t),this.yuvLayer.move(0,0,e,t),this.setExtCanvasSize(0,0,e,t),e>=8&&t>=8&&this.streamProxy.channel().setViewport(e,t-this.getTitleBarHeight())}},{key:"extRenderHandel",value:function(e,t,n){this.extRender2d&&this.extHandler(e,this.extRender2d,t,n)}},{key:"changeStatus",value:function(e){var t=e!==this.status;this.status=e,t&&this.onStatus(e)}},{key:"onPlayTimer",value:function(){var e=this;if(this.framePos<this.frames.length){var t=performance.now();if(0===this.firstPlayTick)this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].time,this.drawFrame(!0);else if(this.frames.length>n.MAX_WATER_LINE)this.frames.shift(),this.frames.shift(),this.framePos-=2,this.framePos<0&&(this.framePos=0),this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].time,this.drawFrame(!0);else{var r=(t-this.firstPlayTick)*this.speed-(this.frames[this.framePos].time-this.firstPlayTime);r>1e3?this.frames.length>=n.MAX_WATER_LINE&&(this.frames.shift(),this.framePos-=1,r=(t-this.firstPlayTick)*this.speed-(this.frames[this.framePos].time-this.firstPlayTime)):r<-1e3&&(this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos].time),r>=0&&this.drawFrame(!0)}if(this.framePos===this.frames.length&&this.finishTime>=0&&this.frames[this.frames.length-1].time>=this.finishTime)return this.stop(),void this.onPlayFinished(this.record,gt.FORWARD)}this.playTimer=requestAnimationFrame((function(){return e.onPlayTimer()}))}},{key:"onPlayBackwardTimer",value:function(){var e=this;if(this.framePos>0){var t=performance.now();if(0===this.firstPlayTick)this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos-1].time,this.drawFrame(!1);else{var n=(t-this.firstPlayTick)*this.speed-(this.firstPlayTime-this.frames[this.framePos-1].time);(n>1e3||n<-1e3)&&(this.firstPlayTick=t,this.firstPlayTime=this.frames[this.framePos-1].time),n>0&&this.drawFrame(!1)}if(0===this.framePos&&this.finishTime>0)return this.stop(),void this.onPlayFinished(this.record,gt.BACKWARD)}this.playTimer=requestAnimationFrame((function(){return e.onPlayBackwardTimer()}))}},{key:"drawFrame",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=null;if(e){if(this.framePos<this.frames.length){t=this.frames[this.framePos],this.framePos>=n.LOW_WATER_LINE?this.frames.shift():this.framePos++;var r=this.frames.length-this.framePos;r!==n.LOW_WATER_LINE&&5!==r||this.streamProxy.resume(1)}}else if(this.framePos>0){t=this.frames[--this.framePos],(this.framePos===n.LOW_WATER_LINE||0===this.framePos&&this.posSec>this.record.startTime)&&this.streamProxy.resume(-1);var i=this.frames.length-this.framePos;if(i>n.LOW_WATER_LINE)for(this.frames.pop(),i--;i>=n.MAX_WATER_LINE;)this.frames.pop(),i--}if(null!==t){t.type===ve.YUV420?this.yuvLayer.putData(2,t.data,t.time):t.type===ve.YUV?this.yuvLayer.putData(1,t.data,t.time):this.jpegLayer.putData(0,t.data,t.time),this.playTime=t.time;var a=Math.floor(this.playTime/1e3);a!==this.posSec&&(this.onPosChange(this.posSec),this.posSec=a)}}},{key:"startPlayTimer",value:function(e){var t=this;this.stopPlayTimer(),this.firstPlayTick=0,this.firstPlayTime=0,gt.BACKWARD===e?this.playTimer=requestAnimationFrame((function(){return t.onPlayBackwardTimer()})):this.playTimer=requestAnimationFrame((function(){return t.onPlayTimer()}))}},{key:"stopPlayTimer",value:function(){0!==this.playTimer&&(cancelAnimationFrame(this.playTimer),this.playTimer=0)}},{key:"checkStream",value:function(e){gt.FORWARD===e?this.frames.length-this.framePos<=n.LOW_WATER_LINE&&(this.streamProxy.changeDirection(1),this.streamProxy.resume(1)):gt.BACKWARD===e&&this.frames.length<=n.LOW_WATER_LINE&&this.posSec>this.record.startTime&&(this.streamProxy.changeDirection(-1),this.streamProxy.resume(-1))}}]),n}(mt);kt.CACHE_SIZE=200,kt.MAX_WATER_LINE=70,kt.LOW_WATER_LINE=25;var Mt=n("4971"),xt=n.n(Mt);function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}n("3e39");var Lt=function(e){u(n,e);var t=St(n);function n(){var e;return a(this,n),(e=t.apply(this,arguments)).volume=50,e.options={dotSize:14,width:4,height:100,contained:!1,direction:"btt",min:0,max:100,interval:1,disabled:!1,clickable:!0,duration:.5,adsorb:!1,lazy:!1,tooltip:"focus",tooltipPlacement:"top"},e}return l(n,[{key:"onBtnClick",value:function(e,t){this.$emit("onBtnClick",e,t)}},{key:"speedStr",get:function(){return.25===this.speed?"0.25":this.speed>0?"".concat(this.speed.toFixed(1)):"1.0"}},{key:"disablePrevStep",get:function(){return this.syncMode||gt.BACKWARD!==this.playDirection||this.playStatus!==vt.STEP_PLAYING&&this.playStatus!==vt.BACKWARD_PLAYING}},{key:"disableNextStep",get:function(){return this.syncMode||gt.FORWARD!==this.playDirection||this.playStatus!==vt.STEP_PLAYING&&this.playStatus!==vt.FORWARD_PLAYING}},{key:"disableSpeed",get:function(){return this.syncMode||this.playStatus!==vt.FORWARD_PLAYING&&this.playStatus!==vt.BACKWARD_PLAYING}},{key:"showForwardPlay",get:function(){return vt.STOPPED===this.playStatus||gt.FORWARD===this.playDirection&&this.playStatus!==vt.FORWARD_PLAYING}},{key:"showBackwardPlay",get:function(){return vt.STOPPED===this.playStatus||gt.BACKWARD===this.playDirection&&this.playStatus!==vt.BACKWARD_PLAYING}},{key:"showPause",get:function(){return vt.FORWARD_PLAYING===this.playStatus||vt.BACKWARD_PLAYING===this.playStatus}},{key:"showPauseTemp",get:function(){return vt.STEP_PLAYING===this.playStatus&>.BACKWARD===this.playDirection}},{key:"disableStop",get:function(){return this.playStatus===vt.STOPPED}}]),n}(y.a);p([P({default:vt.STOPPED})],Lt.prototype,"playStatus",void 0),p([P({default:gt.FORWARD})],Lt.prototype,"playDirection",void 0),p([P({default:!1})],Lt.prototype,"isFullscreen",void 0),p([P({default:!1})],Lt.prototype,"isExpand",void 0),p([P({default:!1})],Lt.prototype,"isSingle",void 0),p([P({default:1})],Lt.prototype,"speed",void 0),p([P({default:!1})],Lt.prototype,"syncMode",void 0),p([P({default:!1})],Lt.prototype,"noBack",void 0);var Tt,Dt=Lt=p([C({components:{VueSlider:xt.a}})],Lt),Et=(n("272c"),st(Dt,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"vat-tool"}},[e.isSingle?e._e():n("div",{staticClass:"scale-btns"},[n("svg",{staticClass:"icon",attrs:{width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("scale-up")}}},[n("title",[e._v("放大时间轴")]),n("path",{attrs:{fill:"#ffffff",d:"M911.9 839.2l-161-160.9C871 517.7 838.2 290.1 677.5 170s-388.2-87.3-508.3 73.4C122.3 306.1 97 382.4 97 460.8 97 661.4 259.6 824 460.1 824c78.4 0 154.7-25.4 217.5-72.3l160.8 160.8c20.2 20.3 53.1 20.3 73.4 0.1 20.3-20.3 20.3-53.1 0.1-73.4zM408.2 408.9h-51.9c-28.7 0-51.9 23.2-51.9 51.9s23.2 51.9 51.9 51.9h51.9v51.9c0 28.7 23.2 51.9 51.9 51.9s51.9-23.2 51.9-51.9v-51.9h51.9c28.7 0 51.9-23.2 51.9-51.9s-23.2-51.9-51.9-51.9H512V357c0-28.7-23.2-51.9-51.9-51.9s-51.9 23.2-51.9 51.9v51.9z m51.9 311.3c-143.3 0-259.4-116.1-259.4-259.4s116.1-259.4 259.4-259.4 259.4 116.1 259.4 259.4-116.1 259.4-259.4 259.4z"}})]),n("svg",{staticClass:"icon",attrs:{width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("scale-down")}}},[n("title",[e._v("缩小时间轴")]),n("path",{attrs:{fill:"#ffffff",d:"M911.8 839.7L750.9 678.8c120.1-160.6 87.3-388.2-73.4-508.3s-388.2-87.3-508.3 73.4C122.4 306.7 97 383 97 461.4c0 200.5 162.6 363.1 363.1 363.1 78.4 0 154.7-25.4 217.5-72.3L838.4 913c20.2 20.3 53.1 20.3 73.4 0.1s20.3-53.1 0-73.4z m-451.7-119c-143.2 2-261-112.4-263-255.7s112.4-261 255.7-263h7.3c143.2 0 259.4 116.1 259.4 259.4S603.4 720.7 460.1 720.7zM304.5 461.4c0 28.6 23.2 51.9 51.9 51.9h207.5c28.6 0 51.9-23.2 51.9-51.9 0-28.6-23.2-51.9-51.9-51.9H356.4c-28.7 0-51.9 23.2-51.9 51.9z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false && !isExpand"}],staticClass:"icon",attrs:{width:"32px",height:"31.97px",viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("expand")}}},[n("path",{attrs:{fill:"#ffffff",d:"M421.167248 520.869741 431.487222 531.189716C434.239215 533.941709 436.991208 536.521702 439.743201 538.929696 442.495194 541.33769 445.247187 543.917684 447.99918 546.669677L460.383149 559.053645C474.143115 572.813611 479.647101 584.853581 476.895108 595.173555 474.143115 605.493529 465.543136 617.533499 451.095172 631.293465 444.903188 638.173448 434.755213 648.665421 420.651248 662.769387 406.547283 676.873351 391.411321 692.181313 375.243362 708.693272 359.075403 725.20523 343.423442 741.02919 328.287479 756.165154 313.151516 771.301117 301.455544 783.341087 293.199566 792.285066 280.815596 804.66903 272.215618 815.505006 267.39963 824.792986 262.583643 834.080957 264.647637 843.196936 273.591614 852.140914 279.783599 858.3329 287.695579 866.588877 297.327555 876.908851 306.959532 887.228826 315.215511 895.828803 322.095494 902.708791 333.791465 914.404762 338.091455 924.724736 334.995462 933.668714 331.899468 942.612693 321.751494 947.772676 304.551537 949.148672 286.663582 951.21267 266.711632 953.620661 244.695687 956.372653 222.679742 959.124645 199.975798 961.704637 176.583856 964.112636 153.191915 966.520627 130.315972 969.100619 107.956028 971.852619 85.596084 974.604611 65.128135 977.012602 46.552181 979.0766 28.664225 981.14059 16.280256 978.9046 9.400274 972.368612 2.520291 965.832633-0.231702 954.308655 1.144295 937.796703 2.520291 920.59674 4.412286 901.332787 6.82028 880.004844 9.228274 858.676894 11.808268 836.832949 14.560261 814.473011 17.312254 792.113065 19.892247 769.925118 22.300241 747.909174 24.708235 725.893229 26.944229 705.597279 29.008224 687.021325 31.072219 667.069375 36.748205 654.341407 46.036182 648.837421 55.324159 643.333434 65.816133 646.429427 77.512104 658.125397 84.392086 665.00538 93.336064 673.433359 104.344037 683.409334 115.35201 693.38531 124.639987 702.157288 132.207967 709.725269 139.775949 717.29325 146.999931 719.701243 153.879914 716.94925 160.759897 714.197257 168.671877 708.693271 177.615855 700.437291 186.559832 691.493314 198.771802 679.109344 214.251763 663.285384 229.731725 647.461423 245.899685 631.121464 262.755643 614.265506 279.611601 597.409548 295.95156 580.897589 311.775521 564.729629 327.599482 548.56167 340.32745 535.661701 349.959426 526.029726 354.087415 521.901736 358.731403 517.945746 363.891391 514.161755 369.051378 510.377765 374.727363 507.797772 380.919349 506.421775 387.111333 505.045779 393.475318 505.389778 400.011301 507.453772 406.547285 509.517767 413.599267 513.989756 421.167249 520.869738L421.167248 520.869741ZM943.357944 0.743038C961.245901-1.320957 973.629873 0.915038 980.509854 7.451021 987.389834 13.987005 990.141826 25.510976 988.76583 42.022935 987.389834 59.222892 985.497844 78.486844 983.089845 99.814791 980.681854 121.142738 978.101862 142.986683 975.34987 165.346628 972.59787 187.706572 970.017879 210.066516 967.609888 232.42646 965.201888 254.786404 962.965898 275.254353 960.9019 293.830307 958.83791 313.782257 953.161925 326.338226 943.873946 331.498213 934.585966 336.6582 924.093991 333.390208 912.398021 321.694238 905.518041 314.814255 896.058061 305.870277 884.018097 294.862304 871.978126 283.854331 862.174145 274.566354 854.606171 266.998374 847.038188 259.430393 840.502201 256.162401 834.998217 257.194398 829.494233 258.226396 822.614244 262.870384 814.358268 271.126363 804.726288 280.758339 792.170323 293.486307 776.690361 309.310268 761.2104 325.134229 744.87044 341.818187 727.670483 359.362143 710.470526 376.9061 693.614568 393.934058 677.102609 410.446016L638.918704 448.629921C634.790714 452.75791 630.318726 456.8859 625.502738 461.01389 620.68675 465.14188 615.354763 468.237871 609.506777 470.301866 603.658791 472.365861 597.466807 472.70986 590.930823 471.333864 584.394839 469.957868 577.686856 465.485878 570.806873 457.917898L531.590971 418.701996C517.831005 404.94203 511.81102 392.386061 513.531015 381.03409 515.251011 369.682118 522.990992 357.12615 536.750958 343.366184 542.942942 337.1742 553.262917 326.682225 567.710881 311.890263 582.158845 297.098299 597.638806 281.446338 614.150765 264.934379 630.662723 248.42242 646.658683 232.25446 662.138645 216.4305 677.618608 200.606539 689.830577 188.566569 698.774554 180.310589 711.158523 167.92662 718.898504 157.778645 721.994496 149.866665 725.090488 141.954685 722.166496 133.526707 713.222518 124.582728 707.030534 118.390744 699.634553 110.822763 691.034574 101.878785 682.434595 92.934806 674.694613 85.022826 667.814631 78.142844 656.11866 66.446872 651.818671 56.126898 654.914664 47.182921 658.010656 38.238943 668.158631 32.734957 685.358588 30.670962 702.558544 28.606966 722.338495 26.198972 744.69844 23.44698 767.058385 20.694987 789.934324 18.114994 813.326265 15.706999 836.718206 13.299005 859.594153 10.719011 881.954099 7.967019 904.314045 5.215026 924.781993 2.807033 943.357944 0.743037L943.357944 0.743038Z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false && isExpand"}],staticClass:"icon",attrs:{width:"32px",height:"29.87px",viewBox:"0 0 1097 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("shrink")}}},[n("path",{attrs:{fill:"#ffffff",d:"M440.555466 539.129028C457.859892 537.206314 470.037082 539.769933 477.087033 546.819885 484.136985 553.869837 487.021056 565.726573 485.739246 582.390095 484.457437 599.694521 482.534723 619.242114 479.971104 641.032874 477.407485 662.823633 474.68364 685.09507 471.79957 707.847187 468.915499 730.599304 466.191653 753.191191 463.628035 775.622858 461.064416 798.054524 458.82125 818.883924 456.898536 838.111064 454.975822 858.620016 449.20768 871.598332 439.594109 877.046027 429.980539 882.493714 419.405611 879.128968 407.869326 866.951774 400.819375 859.901828 391.84671 851.249615 380.95133 840.995135 370.055951 830.740663 360.762832 822.088449 353.071976 815.038495 344.740215 806.706737 337.049358 803.822666 329.999407 806.386282 322.949455 808.949906 314.938147 814.718048 305.965481 823.690709 296.351911 833.304279 283.694043 846.122375 267.991878 862.144989 252.289714 878.167611 235.946644 894.831128 218.962669 912.135562 201.978694 929.439988 185.475399 946.263732 169.452782 962.606802 153.430166 978.949871 140.29162 991.928194 130.037144 1001.541764 126.191715 1006.028095 121.545156 1010.193978 116.097467 1014.039406 110.649777 1017.884834 104.881635 1020.608677 98.79304 1022.210937 92.704446 1023.813203 86.295398 1023.652976 79.565899 1021.730262 72.8364 1019.807548 65.626222 1015.000763 57.935366 1007.309907 53.449033 1002.823569 49.763831 999.298596 46.879759 996.734979 43.995688 994.171356 41.271843 991.607739 38.708225 989.044123L30.056012 980.39191 17.55837 967.894269C3.458467 953.794361-2.149449 941.617174 0.734622 931.362695 3.618693 921.108222 12.110681 908.610581 26.210583 893.869771 32.61963 887.460727 43.194557 877.046027 57.935366 862.625672 72.676174 848.205316 88.218112 832.663377 104.561182 815.999852 120.904251 799.336336 136.766642 783.153486 152.148356 767.451327 167.530069 751.74916 179.707258 739.411746 188.679923 730.439078 201.498017 717.620984 210.15023 706.565377 214.636563 697.27226 219.122896 687.979142 216.879729 678.84625 207.907063 669.873584 201.498017 663.464538 193.486709 654.97255 183.873138 644.397623 174.259568 633.822696 165.927807 625.010256 158.877855 617.960304 147.341571 606.42402 143.015463 596.009319 145.899534 586.7162 148.783605 577.423083 159.198306 571.815167 177.143638 569.892453 195.08897 567.969739 215.277467 565.566346 237.709131 562.682275 260.140795 559.798203 283.213364 557.074359 306.926838 554.51074 330.640312 551.947122 354.033333 549.223277 377.105902 546.339206 400.17847 543.455135 421.328325 541.051742 440.555466 539.129028L440.555466 539.129028ZM1013.52426 53.643725C1027.624161 67.743628 1033.872985 80.401496 1032.270718 91.617328 1030.668459 102.833159 1022.496928 115.81148 1007.756118 130.552288 1000.706164 137.602239 989.97101 148.497619 975.550654 163.238427 961.130299 177.979235 945.428139 193.841626 928.44416 210.825601 911.460189 227.809575 895.117119 244.312871 879.414952 260.335487 863.712785 276.358104 851.375371 288.855745 842.402703 297.828412 829.584615 310.646506 821.733531 320.90098 818.84946 328.591836 815.965389 336.282693 819.009687 344.614454 827.982348 353.58712 834.3914 359.996166 841.922029 367.847249 850.574242 377.140367 859.226455 386.433485 867.077538 394.60502 874.127492 401.654971 885.663777 413.191256 889.829652 423.605957 886.625134 432.899075 883.420608 442.192194 873.166135 447.800109 855.861709 449.722823 837.916373 451.645537 817.727876 454.04893 795.296209 456.933001 772.864551 459.817072 749.631755 462.540917 725.597827 465.104535 701.563902 467.668154 678.010654 470.391998 654.938085 473.27607 631.865516 476.160141 611.036114 478.563534 592.449878 480.486248 559.122834 484.331676 543.741122 470.231773 546.304741 438.186538 548.227455 420.882111 550.310395 401.334518 552.553561 379.543759 554.796727 357.753 557.360347 335.321336 560.244418 312.248766 563.128489 289.176198 565.852334 266.424081 568.415952 243.992417 570.979571 221.560753 573.222737 200.73135 575.145451 181.50421 577.068165 160.99526 582.836308 148.016939 592.449878 142.569249 602.063449 137.121559 612.958828 140.486308 625.136017 152.663498 628.340541 156.508926 632.506421 160.835033 637.633659 165.641818 642.760897 170.448603 648.04836 175.415614 653.49605 180.542852 658.943739 185.670089 664.231204 190.6371 669.358441 195.443886 674.485679 200.250671 678.972012 204.576777 682.81744 208.422206 691.1492 216.753967 697.878699 220.439169 703.005937 219.477812 708.133174 218.516455 715.183126 213.549444 724.155792 204.576779 733.76936 194.963208 746.587456 181.984887 762.610071 165.641818 778.632693 149.298748 795.456437 132.314774 813.081318 114.689895 830.706199 97.065016 847.690171 79.920815 864.03324 63.257294 880.376309 46.593772 893.67508 33.134773 903.92956 22.880298 907.774988 19.034869 912.261318 15.029215 917.388558 10.863335 922.515791 6.697455 927.963485 3.653157 933.731628 1.730443 939.49977-0.192272 945.588367-0.512724 951.997411 0.769086 958.406455 2.050896 965.456409 6.537229 973.147265 14.228084 977.633596 18.714417 981.318796 22.239393 984.202875 24.803012 987.086946 27.366631 989.810789 29.93025 992.374406 32.493869L1001.026619 41.146082 1013.52426 53.643725Z"}})])]),n("div",{staticClass:"btns"},[n("svg",{class:{icon:!0,disabled:!e.showBackwardPlay||e.syncMode||e.noBack},attrs:{id:"play-back",width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("play",-1)}}},[n("title",[e._v("倒放")]),n("path",{attrs:{fill:"#ffffff",d:"M160.250617 511.747125L863.749383 0v1024l-703.498766-512.252875z"}})]),n("svg",{class:{icon:!0,disabled:e.disableStop},attrs:{id:"stop",width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("stop")}}},[n("title",[e._v("停止")]),n("path",{attrs:{fill:"#ffffff",d:"M157.538462 157.538462h708.923076v708.923076H157.538462V157.538462z"}})]),n("svg",{class:{icon:!0,disabled:e.disablePrevStep},attrs:{id:"prev",width:"36px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("prev")}}},[n("title",[e._v("上一帧")]),n("path",{attrs:{fill:"#ffffff",d:"M635.74 805.62V218.38c0-59.56-67.95-93.96-115.77-57.89L126.94 454.12c-38.59 28.94-38.59 87.24 0 116.19l393.03 293.62c47.82 35.23 115.77 1.25 115.77-58.31z m226.5-679.52c-35.23 0-63.76 28.52-63.76 63.76v644.28c0 35.23 28.53 63.76 63.76 63.76S926 869.37 926 834.14V189.86c0-35.23-28.52-63.76-63.76-63.76z m0 0"}})]),n("svg",{class:{icon:!0,disabled:e.disableSpeed},attrs:{id:"back",width:"32px",height:"32.01px",viewBox:"0 0 1260 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("back")}}},[n("title",[e._v("慢放")]),n("path",{attrs:{fill:"#ffffff",d:"M1181.831855 12.560526l-536.645044 462.060479a50.329422 50.329422 0 0 0 0 72.76543l536.645044 463.879615a46.084772 46.084772 0 0 0 77.616459-36.382715V48.943241a46.084772 46.084772 0 0 0-77.616459-36.382715zM552.410888 12.560526L15.765843 474.621005A49.723044 49.723044 0 0 0 15.765843 546.173678l536.038666 465.092372a46.084772 46.084772 0 0 0 77.616459-36.382715V48.943241A46.084772 46.084772 0 0 0 552.410888 12.560526z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:e.showForwardPlay,expression:"showForwardPlay"}],staticClass:"icon",attrs:{id:"play",width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("play",1)}}},[n("title",[e._v("播放")]),n("path",{attrs:{fill:"#ffffff",d:"M73.142857 0 910.957714 512 73.142857 1024Z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:e.showPause,expression:"showPause"}],staticClass:"icon",attrs:{id:"pause",width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("pause")}}},[n("title",[e._v("暂停")]),n("path",{attrs:{fill:"#ffffff",d:"M379.337561 118.348432 145.347343 118.348432c-8.113795 0-16.247033 3.097548-22.444175 9.295714-6.197142 6.1777-9.295714 14.309914-9.295714 22.424732l0 729.759559c0 8.094352 3.098571 16.22759 9.295714 22.424732 6.197142 6.176676 14.33038 9.276271 22.444175 9.276271l233.990219 0c8.113795 0 16.247033-3.098571 22.444175-9.276271 6.1777-6.197142 9.275247-14.33038 9.275247-22.424732l0-729.760582c0-8.112772-3.098571-16.247033-9.275247-22.424732C395.584594 121.447003 387.451356 118.348432 379.337561 118.348432L379.337561 118.348432zM897.531634 127.643122c-6.197142-6.197142-14.33038-9.295714-22.444175-9.295714L641.09724 118.347408c-8.113795 0-16.247033 3.098571-22.444175 9.295714-6.196119 6.1777-9.295714 14.31196-9.295714 22.424732l0 729.759559c0 8.094352 3.099594 16.22759 9.295714 22.424732 6.197142 6.176676 14.33038 9.275247 22.444175 9.275247l233.990219 0c8.113795 0 16.247033-3.098571 22.444175-9.275247 6.197142-6.197142 9.275247-14.33038 9.275247-22.424732L906.806881 150.067854C906.806881 141.954059 903.727753 133.821845 897.531634 127.643122L897.531634 127.643122z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:e.showPauseTemp,expression:"showPauseTemp"}],staticClass:"icon disabled",attrs:{id:"pause2",width:"32px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("title",[e._v("暂停")]),n("path",{attrs:{fill:"#ffffff",d:"M379.337561 118.348432 145.347343 118.348432c-8.113795 0-16.247033 3.097548-22.444175 9.295714-6.197142 6.1777-9.295714 14.309914-9.295714 22.424732l0 729.759559c0 8.094352 3.098571 16.22759 9.295714 22.424732 6.197142 6.176676 14.33038 9.276271 22.444175 9.276271l233.990219 0c8.113795 0 16.247033-3.098571 22.444175-9.276271 6.1777-6.197142 9.275247-14.33038 9.275247-22.424732l0-729.760582c0-8.112772-3.098571-16.247033-9.275247-22.424732C395.584594 121.447003 387.451356 118.348432 379.337561 118.348432L379.337561 118.348432zM897.531634 127.643122c-6.197142-6.197142-14.33038-9.295714-22.444175-9.295714L641.09724 118.347408c-8.113795 0-16.247033 3.098571-22.444175 9.295714-6.196119 6.1777-9.295714 14.31196-9.295714 22.424732l0 729.759559c0 8.094352 3.099594 16.22759 9.295714 22.424732 6.197142 6.176676 14.33038 9.275247 22.444175 9.275247l233.990219 0c8.113795 0 16.247033-3.098571 22.444175-9.275247 6.197142-6.197142 9.275247-14.33038 9.275247-22.424732L906.806881 150.067854C906.806881 141.954059 903.727753 133.821845 897.531634 127.643122L897.531634 127.643122z"}})]),n("svg",{class:{icon:!0,disabled:e.disableSpeed},attrs:{id:"forward",width:"32px",height:"32.01px",viewBox:"0 0 1260 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("forward")}}},[n("title",[e._v("快放")]),n("path",{attrs:{fill:"#ffffff",d:"M77.738464 1011.260664l536.872038-462.255925a50.350711 50.350711 0 0 0 0-72.796208L77.738464 12.739336A46.104265 46.104265 0 0 0 0.089175 48.530806v926.331753a46.104265 46.104265 0 0 0 77.649289 36.398105z m629.687204 0l536.872038-462.255925a49.744076 49.744076 0 0 0 0-72.796208L707.425668 12.739336a46.104265 46.104265 0 0 0-77.649289 36.398105v925.725118a46.104265 46.104265 0 0 0 77.649289 36.398105z"}})]),n("svg",{class:{icon:!0,disabled:e.disableNextStep},attrs:{id:"next",width:"36px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("next")}}},[n("title",[e._v("下一帧")]),n("path",{attrs:{fill:"#ffffff",d:"M388.26 218.38v587.23c0 59.56 67.95 93.96 115.77 57.89l393.03-293.62c38.59-28.94 38.59-87.24 0-116.19L504.03 160.08c-47.82-35.24-115.77-1.26-115.77 58.3zM161.76 897.9c35.23 0 63.76-28.52 63.76-63.76V189.86c0-35.23-28.53-63.76-63.76-63.76S98 154.63 98 189.86v644.28c0 35.23 28.52 63.76 63.76 63.76z m0 0"}})]),n("div",{staticStyle:{position:"relative",display:"flex"},attrs:{title:"倍速"}},[n("span",{staticClass:"speed btn-menu-icon2"},[e._v("x"+e._s(e.speedStr))]),e._e()]),n("div",{staticStyle:{position:"relative",display:"flex"},attrs:{title:"声音"}},[n("svg",{staticClass:"icon btn-menu-icon2 disabled",attrs:{id:"volume",width:"20px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("volume")}}},[n("path",{attrs:{fill:"#ffffff",d:"M475.428571 201.142857v621.714286c0 20.004571-16.566857 36.571429-36.571428 36.571428a36.205714 36.205714 0 0 1-25.709714-10.861714L222.866286 658.285714H73.142857c-20.004571 0-36.571429-16.566857-36.571428-36.571428v-219.428572c0-20.004571 16.566857-36.571429 36.571428-36.571428h149.723429l190.281143-190.281143A36.425143 36.425143 0 0 1 438.857143 164.571429c20.004571 0 36.571429 16.566857 36.571428 36.571428z m219.428572 310.857143c0 57.161143-34.852571 112.566857-88.576 134.290286a31.780571 31.780571 0 0 1-14.299429 2.852571c-20.004571 0-36.571429-16.018286-36.571428-36.571428 0-43.446857 66.304-31.414857 66.304-100.571429s-66.304-57.161143-66.304-100.571429c0-20.553143 16.566857-36.571429 36.571428-36.571428 4.571429 0 9.728 0.585143 14.299429 2.852571C660.004571 398.848 694.857143 454.838857 694.857143 512z m146.285714 0c0 116.004571-69.705143 224-177.152 269.129143a42.349714 42.349714 0 0 1-14.299428 2.852571 36.937143 36.937143 0 0 1-37.156572-36.571428c0-16.018286 9.142857-26.843429 22.272-33.718857 15.433143-8.009143 29.696-14.848 43.446857-25.161143 56.576-41.142857 89.709714-106.861714 89.709715-176.566857s-33.133714-135.424-89.709715-176.566858c-13.714286-10.276571-28.013714-17.152-43.446857-25.161142-13.129143-6.838857-22.272-17.700571-22.272-33.718858 0-20.004571 16.566857-36.571429 36.571429-36.571428 5.156571 0 10.276571 1.133714 14.848 2.852571 107.446857 45.129143 177.152 153.161143 177.152 269.129143z m146.285714 0c0 175.433143-104.557714 334.299429-265.728 403.419429a42.861714 42.861714 0 0 1-14.848 2.852571c-20.004571 0-36.571429-16.566857-36.571428-36.571429 0-16.566857 8.557714-25.709714 22.272-33.718857 8.009143-4.571429 17.152-7.424 25.709714-11.995428 16.018286-8.557714 32-18.285714 46.848-29.147429 93.696-69.156571 149.138286-178.285714 149.138286-294.838857s-55.442286-225.718857-149.138286-294.838857a402.505143 402.505143 0 0 0-46.848-29.147429c-8.557714-4.571429-17.700571-7.424-25.709714-11.995428-13.714286-8.009143-22.272-17.152-22.272-33.718857 0-20.004571 16.566857-36.571429 36.571428-36.571429 5.156571 0 10.276571 1.133714 14.848 2.852571A439.186286 439.186286 0 0 1 987.428571 512z"}})]),e._e()])]),n("div",{staticStyle:{display:"flex","align-items":"center"}},[n("svg",{staticClass:"icon",staticStyle:{visibility:"hidden"},attrs:{width:"24px",height:"25.34px",viewBox:"0 0 1293 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("snap")}}},[n("path",{attrs:{fill:"#ffffff",d:"M646.682947 336.949895a235.304421 235.304421 0 0 0-235.034947 235.627789 235.304421 235.304421 0 0 0 234.981053 235.681684 235.304421 235.304421 0 0 0 235.088842-235.681684A235.304421 235.304421 0 0 0 646.736842 336.949895zM1209.936842 160.282947h-245.65221C951.242105 120.185263 906.725053 0 841.566316 0H451.799579C391.437474 0 342.554947 120.185263 327.68 160.282947H83.536842C37.402947 160.282947 0 199.949474 0 248.993684v686.403369C0 984.225684 37.402947 1024 83.536842 1024h1126.4c46.133895 0 83.536842-39.612632 83.536842-88.656842V248.832c-0.107789-48.882526-37.402947-88.549053-83.536842-88.549053z m-563.469474 707.098948c-162.169263 0-293.726316-131.934316-293.726315-294.534737a294.103579 294.103579 0 0 1 293.726315-294.534737c162.223158 0 293.834105 131.934316 293.834106 294.534737 0 162.708211-131.610947 294.534737-293.834106 294.534737z m421.241264-530.324211a49.044211 49.044211 0 0 1-48.882527-49.098105 48.936421 48.936421 0 1 1 97.765053 0 49.044211 49.044211 0 0 1-48.882526 49.098105zM286.72 83.806316c0 17.623579-14.174316 31.797895-31.690105 31.797895H107.466105a31.690105 31.690105 0 0 1-31.690105-31.797895c0-17.569684 14.174316-31.797895 31.690105-31.797895h147.56379c17.515789 0 31.690105 14.228211 31.690105 31.797895z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:!e.isFullscreen,expression:"!isFullscreen"}],staticClass:"icon",attrs:{id:"fullscreen",width:"20px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("fullscreen")}}},[n("title",[e._v("全屏显示")]),n("path",{attrs:{fill:"#ffffff",d:"M919.920093 725.414549q3.014188 26.122962 7.033105 58.776664t7.53547 66.814498 7.53547 67.819227 7.033105 60.786122q6.028376 47.222277-41.193901 44.208089-25.118232-2.009459-56.767205-5.526011t-64.805039-7.53547-65.809769-8.037834-59.781393-7.033105q-29.137149-3.014188-37.174984-16.578033t9.042564-30.644243q11.052022-10.047293 27.127691-27.630056t27.127691-28.634785q11.052022-12.056752 7.033105-22.104044t-16.075669-23.108774q-28.13242-27.127691-51.241194-49.231735t-51.241194-51.241194q-6.028376-6.028376-12.056752-13.061481t-9.042564-15.573304-1.004729-18.085127 13.061481-20.59695q6.028376-6.028376 10.047293-10.549658t8.037834-8.037834 8.540199-8.037834 11.554387-12.559116q20.094586-20.094586 37.174984-17.080398t37.174984 23.108774 41.193901 40.691536 47.222277 46.719912q19.089857 18.085127 32.653702 25.118232t26.625326-6.028376q9.042564-9.042564 22.606409-21.60168t23.611138-22.606409q17.080398-17.080398 30.644243-13.061481t16.578033 30.141879zM43.79615 383.80659q-3.014188-26.122962-7.033105-58.776664t-7.53547-66.814498-7.53547-67.819227-7.033105-60.786122q-3.014188-26.122962 6.53074-36.170255t33.658431-8.037834q25.118232 2.009459 56.767205 5.526011t64.805039 7.53547 65.809769 8.037834 59.781393 7.033105q30.141879 3.014188 37.677348 16.578033t-9.544928 30.644243q-10.047293 10.047293-24.615868 26.122962t-25.620597 27.127691q-12.056752 12.056752-8.037834 22.104044t17.080398 23.108774q13.061481 14.06621 24.615868 24.615868t22.606409 21.099315 23.108774 22.606409l25.118232 25.118232q6.028376 6.028376 11.554387 14.06621t8.037834 17.080398-0.502365 19.089857-13.061481 20.094586l-11.052022 11.052022q-4.018917 4.018917-7.53547 8.037834t-8.540199 8.037834l-11.052022 12.056752q-20.094586 20.094586-34.663161 15.070939t-34.663161-25.118232-38.179713-37.677348-44.208089-43.705724q-18.085127-18.085127-32.151337-25.118232t-27.127691 6.028376q-9.042564 10.047293-25.118232 24.615868t-26.122962 24.615868q-17.080398 17.080398-30.141879 13.061481t-16.075669-30.141879zM905.853883 84.397261q26.122962-3.014188 36.170255 6.53074t8.037834 34.663161-5.526011 56.767205-7.53547 64.805039-8.037834 65.809769-7.033105 59.781393q-3.014188 29.137149-16.578033 37.174984t-30.644243-10.047293q-10.047293-10.047293-26.122962-24.615868t-27.127691-25.620597q-12.056752-11.052022-22.104044-7.53547t-23.108774 16.578033q-27.127691 27.127691-47.724641 49.231735t-48.729371 50.236465q-6.028376 6.028376-14.06621 11.554387t-17.080398 8.037834-19.089857-0.502365-20.094586-14.06621q-6.028376-6.028376-10.549658-10.047293t-8.540199-8.037834-8.540199-8.037834-11.554387-12.056752q-20.094586-20.094586-16.075669-35.165525t25.118232-35.165525l38.179713-40.189172q19.089857-20.094586 45.212818-46.217547 19.089857-18.085127 26.122962-32.151337t-7.033105-26.122962q-9.042564-9.042564-23.108774-24.615868t-24.113503-25.620597q-17.080398-17.080398-13.061481-30.141879t30.141879-16.075669 58.776664-7.033105 67.316863-7.53547 67.819227-7.53547 60.283758-7.033105zM350.238584 640.012559q6.028376 6.028376 10.549658 10.047293t8.540199 8.037834l8.037834 9.042564 12.056752 11.052022q20.094586 20.094586 17.582763 36.672619t-23.611138 37.677348q-19.089857 19.089857-40.189172 40.691536t-47.222277 47.724641q-18.085127 18.085127-22.606409 29.639514t8.540199 24.615868q10.047293 9.042564 22.606409 22.606409t22.606409 23.611138q17.080398 17.080398 12.559116 30.141879t-30.644243 16.075669-58.274299 7.033105-66.814498 8.037834-68.321592 8.037834-60.786122 7.033105q-25.118232 2.009459-35.66789-7.53547t-8.540199-33.658431q2.009459-25.118232 5.526011-56.767205t7.53547-64.805039 8.037834-65.809769 7.033105-59.781393q3.014188-30.141879 16.578033-37.677348t30.644243 9.544928q10.047293 10.047293 27.630056 26.122962t28.634785 27.127691q12.056752 12.056752 20.094586 10.549658t20.094586-14.568575q13.061481-13.061481 25.118232-25.620597t24.113503-24.615868 24.615868-25.118232 26.625326-27.127691q6.028376-6.028376 13.061481-12.056752t15.573304-9.042564 18.085127-0.502365 20.59695 13.563845z"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:e.isFullscreen,expression:"isFullscreen"}],staticClass:"icon",attrs:{width:"20px",height:"32.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return e.onBtnClick("cancel-fullscreen")}}},[n("title",[e._v("取消全屏显示")]),n("path",{attrs:{fill:"#ffffff",d:"M638.272 128.064l82.048 82.112L930.56 0l91.52 91.456-210.176 210.112 81.856 82.048c0 35.328-28.352 63.872-63.808 63.872L638.272 447.488c-35.2 0-63.808-28.544-63.808-63.872L574.464 192C574.464 156.736 603.072 128.064 638.272 128.064L638.272 128.064 638.272 128.064zM128.064 638.336c0-35.136 28.672-63.808 63.872-63.808l191.68 0c35.328 0 63.872 28.672 63.872 63.808l0 191.68c0 35.392-28.544 63.808-63.872 63.808l-82.048-81.792-210.176 210.112L0 930.752l210.176-210.304L128.064 638.336 128.064 638.336 128.064 638.336zM638.272 574.528l191.68 0c35.456 0 63.808 28.672 63.808 63.808l-81.856 82.112 210.176 210.304-91.52 91.392-210.24-210.112-82.048 81.792c-35.2 0-63.808-28.416-63.808-63.808L574.464 638.336C574.464 603.2 603.072 574.528 638.272 574.528L638.272 574.528 638.272 574.528zM91.392 0l210.176 210.24 82.048-82.112c35.328 0 63.872 28.608 63.872 63.872l0 191.68c0 35.328-28.544 63.872-63.872 63.872L191.936 447.552c-35.2 0-63.872-28.544-63.872-63.872l82.112-82.048L0 91.456 91.392 0 91.392 0 91.392 0zM91.392 0"}})])])])}),[],!1,null,"4bb55d15",null)).exports,Ct=(n("7514"),function(){function e(){a(this,e),this.records=[]}return l(e,[{key:"add",value:function(e){if(0===this.records.length)this.records.push(e);else{var t=this.indexRecord(e.startTime);t>=this.records.length?this.records.push(e):this.records[t].startTime>e.startTime?this.records.splice(t,0,e):this.records[t].endTime<=e.startTime?this.records.splice(t+1,0,e):this.records[t].endTime<e.endTime&&(this.records[t].endTime=e.endTime)}}},{key:"merge",value:function(e,t){if(0!==this.records.length){var n=this.indexRecord(e);if(n>=this.records.length)this.records.push({startTime:e,endTime:t,type:0});else if(this.records[n].startTime>t)this.records.splice(n,0,{startTime:e,endTime:t,type:0});else if(this.records[n].startTime=Math.min(this.records[n].startTime,e),this.records[n].endTime<t)for(this.records[n].endTime=t,n+=1;n<this.records.length&&this.records[n].startTime<=t;)this.records[n-1].endTime=Math.max(this.records[n].endTime,t),this.records.splice(n,1)}else this.records.push({startTime:e,endTime:t,type:0})}},{key:"isInclude",value:function(e,t){if(0===this.records.length)return!1;if(t<=this.records[0].startTime)return!1;if(e>=this.records[this.records.length-1].endTime)return!1;for(var n=0,r=this.records.length-1;n<=r;){var i=n+Math.floor((r-n)/2);if(t<this.records[i].startTime)r=i-1;else{if(!(e>this.records[i].endTime))return this.records[i].startTime<=e&&this.records[i].endTime>=t;n=i+1}}return!1}},{key:"clear",value:function(){this.records=[]}},{key:"range",value:function(e,t){if(0===this.records.length)return[];var n=this.indexRecord(e);if(n>=this.records.length)return[];for(var r=n;r<this.records.length;){var i=this.records[r];if(i.endTime<e||i.startTime>t)break;r++}return this.records.slice(n,r)}},{key:"find",value:function(e){var t=this.indexRecord(e);return t>=0&&t<this.records.length&&this.records[t].startTime<=e?this.records[t]:null}},{key:"findNext",value:function(e){if(0===this.records.length)return null;var t=this.indexRecord(e);return t>=this.records.length?null:(this.records[t].endTime===e&&t++,t>=this.records.length?null:this.records[t])}},{key:"indexRecord",value:function(e){if(0===this.records.length)return 0;if(e<=this.records[0].startTime)return 0;if(e>this.records[this.records.length-1].endTime)return this.records.length;for(var t=0,n=this.records.length-1;t<=n;){var r=t+Math.floor((n-t)/2);if(e<this.records[r].startTime)n=r-1;else{if(!(e>this.records[r].endTime))return r;t=r+1}}return t}}]),e}());function Yt(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Pt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pt(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var It=Tt=function(e){u(n,e);var t=Ot(n);function n(){var e;return a(this,n),(e=t.apply(this,arguments)).timerId=0,e.oldWidth=0,e.oldHeight=0,e.curTime=Math.floor(Date.now()/1e3),e.timeCtx=null,e.timeCanvas=null,e.recordCtx=null,e.recordCanvas=null,e.isDragging=!1,e.startDragTime=0,e.xOffset=0,e.tmpDate=new Date,e.timeScale=2,e.startDrawTime=0,e.startDrawOffset=0,e.normalRecords=new Ct,e.alarmRecords=new Ct,e.eventRecords=new Ct,e.queryCache=new Ct,e.streamProxy=null,e.prevMouseX=0,e}return l(n,[{key:"setTime",value:function(e){this.isDragging||(this.curTime=e,this.updateTimeLine(),this.updateRecordLine(),this.$emit("onRecord",this.winIndex,this.getCurrentRecord(),this.curTime))}},{key:"getTime",value:function(){return this.curTime}},{key:"setScale",value:function(e){this.timeScale=e,this.updateTimeLine(),this.updateRecordLine()}},{key:"findRecord",value:function(e){this.curTime=e;var t=this.normalRecords.findNext(this.curTime);return null!==t||(t=this.alarmRecords.findNext(this.curTime)),t}},{key:"setDevice",value:function(e){this.deviceInfo=e,null!==this.streamProxy&&this.streamProxy.open(this.deviceInfo),this.queryCache.clear(),this.normalRecords.clear(),this.alarmRecords.clear(),this.eventRecords.clear(),this.updateTimeLine(),this.updateRecordLine()}},{key:"setWsPort",value:function(e){var t=this;e===this.wsPort&&null!==this.streamProxy||(null===this.streamProxy&&(this.streamProxy=new _t(e,this.proxy,we.VOD_CHANNEL),this.streamProxy.onRecords=function(e,n,r){t.addRecords(e,n,r)}),void 0!==this.deviceInfo&&this.streamProxy.open(this.deviceInfo))}},{key:"addRecords",value:function(e,t,n){var r,i=Yt(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;1===a.type?this.normalRecords.add(a):2===a.type?this.alarmRecords.add(a):3===a.type&&this.eventRecords.add(a)}}catch(e){i.e(e)}finally{i.f()}this.queryCache.merge(e,t),this.updateRecordLine()}},{key:"mounted",value:function(){var e=this;this.timeCanvas=this.$refs.timeCanvas,this.timeCtx=this.timeCanvas.getContext("2d"),this.recordCanvas=this.$refs.recordCanvas,this.recordCtx=this.recordCanvas.getContext("2d"),this.timerId=setInterval((function(){null!==e.timeCanvas&&(e.oldWidth===e.$el.clientWidth&&e.oldHeight===e.$el.clientHeight||(e.oldWidth=e.$el.clientWidth,e.oldHeight=e.$el.clientHeight,e.onReSize()))}),500),void 0!==this.wsPort&&(this.streamProxy=new _t(this.wsPort,this.proxy,we.VOD_CHANNEL),this.streamProxy.onRecords=function(t,n,r){e.addRecords(t,n,r)}),0!==this.initTime&&(this.curTime=this.initTime),this.curTime<this.minTime?this.curTime=this.minTime:this.maxTime>0&&this.curTime>this.maxTime&&(this.curTime=Math.floor((this.minTime+this.maxTime)/2)),console.log(this.curTime,this.minTime,this.maxTime),this.$emit("onRecord",this.winIndex,this.getCurrentRecord(),this.curTime)}},{key:"onReSize",value:function(){null!==this.timeCanvas&&(this.timeCanvas.style.top="0px",this.timeCanvas.style.height="60px",this.timeCanvas.width=2*this.oldWidth,this.timeCanvas.height=60,this.timeCanvas.style.left="".concat(-this.oldWidth/2,"px"),this.timeCanvas.style.width="".concat(2*this.oldWidth,"px"),this.updateTimeLine()),null!==this.recordCanvas&&(this.recordCanvas.style.top="18px",this.recordCanvas.style.height="15px",this.recordCanvas.width=2*this.oldWidth,this.recordCanvas.height=15,this.recordCanvas.style.left="".concat(-this.oldWidth/2,"px"),this.recordCanvas.style.width="".concat(2*this.oldWidth,"px"),this.updateRecordLine())}},{key:"destroy",value:function(){this.timeCtx=null,this.recordCtx=null,0!==this.timerId&&(clearInterval(this.timerId),this.timerId=0),null!==this.streamProxy&&this.streamProxy.close()}},{key:"mouseDown",value:function(e){this.isDragging=!0,this.startDragTime=this.curTime,this.prevMouseX=e.screenX}},{key:"mouseMove",value:function(e){if(this.isDragging&&null!==this.timeCanvas){var t=this.curTime%Tt.TIME_SCALE[this.timeScale];0!==t&&(this.curTime-=t);var n=e.movementX;n||(n=e.screenX-this.prevMouseX),this.prevMouseX=e.screenX;var r=this.curTime-n*Tt.TIME_SCALE[this.timeScale];r<this.minTime||this.maxTime>0&&r>this.maxTime||(this.xOffset+=n,this.curTime=r,this.xOffset>-10||this.xOffset<-(this.oldWidth-10)?(this.updateTimeLine(),this.updateRecordLine()):(this.timeCanvas.style.left="".concat(this.xOffset,"px"),null!==this.recordCanvas&&(this.recordCanvas.style.left=this.timeCanvas.style.left)),this.$emit("onMove",this.winIndex,this.curTime))}else this.prevMouseX=e.screenX}},{key:"mouseUp",value:function(){this.isDragging&&this.startDragTime!==this.curTime&&this.$emit("onRecord",this.winIndex,this.getCurrentRecord(),this.curTime),this.isDragging=!1}},{key:"mouseLeave",value:function(){this.isDragging&&this.mouseUp(),this.isDragging=!1}},{key:"getCurrentRecord",value:function(){var e=this.normalRecords.find(this.curTime),t=this.alarmRecords.find(this.curTime);return null!==e&&null!==t?e.endTime>t.endTime?e:t:null!==e?e:null!==t?t:null}},{key:"updateTimeLine",value:function(){if(null!==this.timeCtx&&null!==this.timeCanvas&&0!==this.oldWidth){this.xOffset=-this.oldWidth/2,this.timeCanvas.style.left="".concat(this.xOffset,"px"),this.timeCtx.clearRect(0,0,this.timeCanvas.width,this.oldHeight),this.timeCtx.fillStyle="rgb(180, 180, 180)",this.timeCtx.strokeStyle="rgb(180, 180, 180)",this.timeCtx.font="11px Arial",this.timeCtx.lineWidth=1,this.timeCtx.beginPath(),this.timeCtx.moveTo(0,15.5),this.timeCtx.lineTo(this.timeCanvas.width,15.5);var e=this.curTime-this.curTime%Tt.TIME_SCALE[this.timeScale],t=Math.floor(e-Math.floor(this.oldWidth)*Tt.TIME_SCALE[this.timeScale]),n=60*Tt.TIME_SCALE[this.timeScale],r=10*Tt.TIME_SCALE[this.timeScale],i=t%r;t-=i,this.startDrawTime=t,this.startDrawOffset=-i/Tt.TIME_SCALE[this.timeScale]+.5;for(var a=new Date,o=this.startDrawOffset;o<=this.timeCanvas.width;o+=10){if(this.timeCtx.moveTo(o,17),t<this.minTime||this.maxTime>0&&t>this.maxTime);else if(t%n==0){this.timeCtx.lineTo(o,40),a.setTime(1e3*t);var s,l=a.getHours(),c=a.getMinutes();s=l>9&&c>9?"".concat(l,":").concat(c):l>9?"".concat(l,":0").concat(c):c>9?"0".concat(l,":").concat(c):"0".concat(l,":0").concat(c),this.timeCtx.fillText(s,o-14,50)}else this.timeCtx.lineTo(o,33);t+=r}this.timeCtx.closePath(),this.timeCtx.stroke();var u=Math.round(this.startDrawTime+Tt.TIME_SCALE[this.timeScale]*(this.timeCanvas.width-this.startDrawOffset));this.queryCache.isInclude(this.startDrawTime,u)||null!==this.streamProxy&&this.streamProxy.query(this.startDrawTime,u)}}},{key:"updateRecordLine",value:function(){null!==this.recordCtx&&null!==this.recordCanvas&&0!==this.oldWidth&&(this.recordCanvas.style.left="".concat(this.xOffset,"px"),this.recordCtx.clearRect(0,0,this.recordCanvas.width,this.recordCanvas.height),this.recordCtx.lineWidth=3,this.recordCtx.strokeStyle="rgba(220, 0, 0, 0.8)",this.recordCtx.beginPath(),this.drawRecordLine(this.recordCtx,this.alarmRecords,1,this.recordCanvas.width),this.recordCtx.closePath(),this.recordCtx.stroke(),this.recordCtx.strokeStyle="rgba(3,127,220,0.9)",this.recordCtx.beginPath(),this.drawRecordLine(this.recordCtx,this.normalRecords,12,this.recordCanvas.width),this.recordCtx.closePath(),this.recordCtx.stroke())}},{key:"drawRecordLine",value:function(e,t,n,r){var i,a=Yt(t.range(this.startDrawTime,this.startDrawTime+Tt.TIME_SCALE[this.timeScale]*r));try{for(a.s();!(i=a.n()).done;){var o=i.value,s=Math.floor((o.startTime-this.startDrawTime)/Tt.TIME_SCALE[this.timeScale]),l=Math.round((o.endTime-this.startDrawTime)/Tt.TIME_SCALE[this.timeScale]);e.moveTo(s+this.startDrawOffset,n),e.lineTo(l+this.startDrawOffset,n)}}catch(e){a.e(e)}finally{a.f()}}},{key:"curTimeStr",get:function(){return this.tmpDate.setTime(1e3*this.curTime),Tt.formatTime(this.tmpDate)}},{key:"scaleStr",get:function(){return Tt.TIME_SCALE_TIP[this.timeScale]}}],[{key:"pad",value:function(e){return e<10?"0".concat(e):"".concat(e)}},{key:"formatTime",value:function(e){var t=Tt.pad;return"".concat(t(e.getFullYear()),"-").concat(t(e.getMonth()+1),"-").concat(t(e.getDate())," ").concat(t(e.getHours()),":").concat(t(e.getMinutes()),":").concat(t(e.getSeconds()))}}]),n}(y.a);It.MAX_TIME_SCALE=3,It.TIME_SCALE=[1,10,30,60],It.TIME_SCALE_TIP=["缩放比例: 1分钟","缩放比例: 10分钟","缩放比例: 30分钟","缩放比例: 60分钟"],p([P({default:0})],It.prototype,"initTime",void 0),p([P({default:0})],It.prototype,"minTime",void 0),p([P({default:0})],It.prototype,"maxTime",void 0),p([P({default:0})],It.prototype,"winIndex",void 0),p([P()],It.prototype,"wsPort",void 0),p([P()],It.prototype,"proxy",void 0);var Rt=It=Tt=p([C({components:{}})],It),Nt=(n("1d01"),st(Rt,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"timeline"},[n("canvas",{ref:"timeCanvas",staticClass:"ruler",attrs:{width:"400",height:"40"},on:{mousedown:e.mouseDown,mousemove:e.mouseMove,mouseleave:e.mouseLeave,mouseup:e.mouseUp}}),n("canvas",{ref:"recordCanvas",staticClass:"records",attrs:{width:"400",height:"40"}}),n("span",{staticClass:"scale"},[e._v(e._s(e.scaleStr))]),n("span",{staticClass:"time"},[e._v(e._s(e.curTimeStr))]),n("div",{staticClass:"time-p"})])}),[],!1,null,"85562768",null)).exports,Ft=(n("7da8"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"calendarPanel"},[n("div",{staticClass:"calendar-header"},[n("span",{staticClass:"icon",on:{click:function(t){return e.changeDate("preYear")}}},[e._v("<<")]),n("span",{staticClass:"icon",on:{click:function(t){return e.changeDate("preMonth")}}},[e._v("<")]),n("span",{staticClass:"currentDate"},[e._v(e._s(e.year+"年"+e.month+"月"))]),n("span",{staticClass:"icon",on:{click:function(t){return e.changeDate("nextMonth")}}},[e._v(">")]),n("span",{staticClass:"icon",on:{click:function(t){return e.changeDate("nextYear")}}},[e._v(">>")])]),n("div",{staticClass:"calendar-main"},[n("ul",{staticClass:"main-header"},e._l(e.week,(function(t,r){return n("li",{key:r},[e._v("\n "+e._s(t)+"\n ")])})),0),n("ul",{staticClass:"main"},[e._l(e.weekDay,(function(t){return n("li",{key:t,staticClass:"disabled"},[e._v("\n "+e._s(e.preMonthSize-e.weekDay+t)+"\n ")])})),e._l(e.monthList[e.month-1],(function(t){return n("li",{key:t},[n("span",{class:{currentDay:t===e.day}},[e._v("\n "+e._s(t)+"\n ")])])})),e._l(e.lastWeekDay,(function(t){return n("li",{key:t,staticClass:"disabled"},[e._v(e._s(t))])}))],2)])])});function jt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var Bt,Ht=function(e){u(n,e);var t=jt(n);function n(){var e;return a(this,n),(e=t.apply(this,arguments)).year=0,e.month=0,e.day=0,e.week=["日","一","二","三","四","五","六"],e.monthList=[31,28,31,30,31,30,31,31,30,31,30,31],e.weekDay=1,e.lastWeekDay=1,e}return l(n,[{key:"created",value:function(){this.getCurrentDate(),this.initDate()}},{key:"getCurrentDate",value:function(){var e=new Date;this.year=e.getFullYear(),this.month=e.getMonth()+1,this.day=e.getDate()}},{key:"getWeekDay",value:function(e,t,n){return new Date("".concat(e,"/").concat(t,"/").concat(n)).getDay()}},{key:"initDate",value:function(){this.year%4==0&&this.year%100!=0||this.year%400==0?this.monthList[1]=29:this.monthList[1]=28;var e=this.getWeekDay(this.year,this.month,1);this.weekDay=7===e?0:e;var t=this.getWeekDay(this.year,this.month,this.monthList[this.month-1]);this.lastWeekDay=7===t?6:6-t}},{key:"changeDate",value:function(e){switch(e){case"preYear":this.year-=1;break;case"preMonth":1===this.month?(this.month=12,this.year-=1):this.month-=1;break;case"nextYear":this.year+=1;break;case"nextMonth":12===this.month?(this.month=1,this.year+=1):this.month+=1}this.initDate()}},{key:"preMonthSize",get:function(){return this.month-1==0?31:this.monthList[this.month-2]}}]),n}(y.a),Wt=Ht=p([C],Ht),zt=(n("b5f0"),st(Wt,Ft,[],!1,null,"48879689",null)).exports;function Ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var Vt=Bt=function(e){u(n,e);var t=Ut(n);function n(){var e;return a(this,n),(e=t.apply(this,arguments)).pos=0,e.date=new Date,e.dragging=!1,e}return l(n,[{key:"formatTime",value:function(e){if(0===e)return"";var t=Bt.pad;return this.date.setTime(1e3*e),this.utc?"".concat(t(this.date.getUTCHours()),":").concat(t(this.date.getUTCMinutes()),":").concat(t(this.date.getUTCSeconds())):"".concat(t(this.date.getHours()),":").concat(t(this.date.getMinutes()),":").concat(t(this.date.getSeconds()))}},{key:"onTimeChange",value:function(e,t){this.time>0?!this.dragging&&this.time>=this.record.startTime&&this.time<=this.record.endTime&&(this.pos=this.time):this.pos=this.record.startTime}},{key:"onDragEnd",value:function(){this.dragging=!1;var e=this.$refs.vs;this.$emit("onDrag",e.getValue())}}],[{key:"pad",value:function(e){return e<10?"0".concat(e):"".concat(e)}}]),n}(y.a);p([P({default:{startTime:0,endTime:0,type:0}})],Vt.prototype,"record",void 0),p([P({default:0})],Vt.prototype,"time",void 0),p([P({default:!1})],Vt.prototype,"utc",void 0),p([O("$attrs.time",{immediate:!0,deep:!0})],Vt.prototype,"onTimeChange",null);var Gt,Qt=Vt=Bt=p([C({components:{VueSlider:xt.a}})],Vt),Jt=(n("1820"),st(Qt,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"play-pb"},[n("vue-slider",{ref:"vs",attrs:{silent:!0,min:e.record.startTime,max:e.record.endTime,"tooltip-formatter":function(t){return e.formatTime(t)},"rail-style":{backgroundColor:"#3d3d3d"},clickable:!1},on:{dragstart:function(t){e.dragging=!0},"drag-end":e.onDragEnd},model:{value:e.pos,callback:function(t){e.pos=t},expression:"pos"}})],1)}),[],!1,null,"44448bc0",null)).exports;!function(e){e[e.STOPPED=0]="STOPPED",e[e.DOWNLOADING=1]="DOWNLOADING",e[e.DOWNLOAD_FAILED=2]="DOWNLOAD_FAILED",e[e.FINISHED=3]="FINISHED"}(Gt||(Gt={}));var qt=function(){function e(t,n,r,i){a(this,e),this.websocket=null,this.downloading=!1,this.onStatus=function(){return 1},this.onProgress=function(){return 1},this.channelId=t,this.deviceId=n,this.record=r,this.targetPath=i||""}return l(e,[{key:"start",value:function(t){var n=this,r=be.createWebsocket(t,null);this.websocket=r;var i=be.stringToUnix(this.record.beginTime),a=be.stringToUnix(this.record.endTime),o=this.targetPath;return this.websocket.onopen=function(){r.send(JSON.stringify({cmd:_t.CMD_INIT_CHANNEL,type:"vod"})),r.send(JSON.stringify({cmd:e.CMD_DOWNLOAD_RECORD,id:n.deviceId,startTime:i,endTime:a,path:o}))},this.websocket.onclose=function(){n.downloading&&n.onStatus(n.channelId,Gt.DOWNLOAD_FAILED,Le.NETWORK_ERROR,"")},this.websocket.onerror=function(){n.downloading&&n.onStatus(n.channelId,Gt.DOWNLOAD_FAILED,Le.NETWORK_ERROR,"")},this.websocket.onmessage=function(e){if("string"==typeof e.data){var t=JSON.parse(e.data);"download_status"===t.cmd?n.onStatus(n.channelId,t.status,t.code,t.path):"download_progress"===t.cmd?n.onProgress(n.channelId,Math.min(Math.max(100*t.progress,0),99.99),t.size):console.log(t)}},this.downloading=!0,Le.OK}},{key:"stop",value:function(){if(this.downloading=!1,null===this.websocket)return null;this.websocket.close()}}]),e}();qt.CMD_DOWNLOAD_RECORD="download_record";var Kt,Xt,Zt=function(){function e(t){a(this,e),this.idSeed=1,this.channels={},this.onStatus=function(){return 1},this.onProgress=function(){return 1},this.wsPort=t}return l(e,[{key:"create",value:function(e,t,n){var r="".concat(this.idSeed),i=new qt(r,e,t,n);return i.onStatus=this.onStatus,i.onProgress=this.onProgress,this.channels[r]=i,this.idSeed+=1,r}},{key:"start",value:function(e){var t=this.channels[e];return t?t.start(this.wsPort):Le.NO_TASK}},{key:"stop",value:function(e){var t=this.channels[e];return t?(t.stop(),Le.OK):Le.NO_TASK}},{key:"delete",value:function(e){var t=this.channels[e];return t?(t.stop(),this.channels[e]=void 0,Le.OK):Le.NO_TASK}},{key:"destroy",value:function(){for(var e=0,t=Object.keys(this.channels);e<t.length;e++){var n=t[e],r=this.channels[n];r&&r.stop()}this.channels={}}}]),e}();function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function en(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tn(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}!function(e){e[e.NONE=0]="NONE",e[e.SERVICE_CONNECTING=1]="SERVICE_CONNECTING",e[e.SERVICE_ESTABLISH=2]="SERVICE_ESTABLISH",e[e.CHANNEL_ESTABLISH=3]="CHANNEL_ESTABLISH",e[e.SERVICE_DISCONNECTED=4]="SERVICE_DISCONNECTED",e[e.CHANNEL_DISCONNECTED=5]="CHANNEL_DISCONNECTED",e[e.SERVICE_ERROR=6]="SERVICE_ERROR"}(Xt||(Xt={}));var rn=Kt=function(e){u(n,e);var t=nn(n);function n(){var e;return a(this,n),(e=t.call(this)).dcs=null,e.timeScaleIndex=2,e.isFullscreen=!1,e.fullScreenCheckTimer=0,e.ps=null,e.expandTimeline=!1,e.errorMsg="",e.wsPort=0,e.heartTimer=0,e.singleMode=!0,e.syncPlayTimer=0,e.syncPlayWindows=[],e.syncFirstTick=0,e.syncFirstTime=0,e.loaded=!1,e.downloader=null,e.lastDeviceId=null,e.wsInitChannel=null,e.windowInfos=[],e.windowLayout=null,new Promise((function(){return 1})),e}return l(n,[{key:"setLayout",value:function(e){void 0===e.combines&&(e.combines={}),null!=this.windowLayout&&this.windowLayout.setLayout(e),this.updateLayoutShow()}},{key:"openDevice",value:function(e,t,n,r){var i=this;if(null===this.windowLayout||0===this.wsPort)return!1;this.lastDeviceId=e,this.windowInfos[0].deviceInfo.id=e,this.windowInfos[0].minTime=this.windowInfos[0].deviceInfo.minTime=be.stringToUnix(t),this.windowInfos[0].maxTime=this.windowInfos[0].deviceInfo.maxTime=be.stringToUnix(n);var a={id:e,minTime:this.windowInfos[0].deviceInfo.minTime,maxTime:this.windowInfos[0].deviceInfo.maxTime},o=this.windowLayout.getWindow(0);return o.setDevice(a),this.singleMode=!1,this.$nextTick((function(){i.getTimeLine(0).setDevice(a),t&&n&&i.getTimeLine(0).setTime(a.minTime),r&&o.playPos(a.minTime,gt.FORWARD)})),!0}},{key:"playVodStream",value:function(e,t,n){if(this.singleMode=!0,null!==this.windowLayout){for(var r=this.windowLayout.getWindowCount(),i=0;i<r;i++)this.windowLayout.getWindow(i).stop();0!==this.syncPlayTimer&&(cancelAnimationFrame(this.syncPlayTimer),this.syncPlayTimer=0);var a=this.windowLayout.getWindow(0),o=be.stringToUnix(t.beginTime),s=be.stringToUnix(t.endTime),l=be.stringToUnix(n);a.setDevice({id:e,minTime:o,maxTime:s}),this.lastDeviceId=e,a.playPos(l,gt.FORWARD)}}},{key:"stopPlay",value:function(){this.stop(0)}},{key:"getPos",value:function(){return this.callWinFunc(0,(function(e){return e.getPos()}))}},{key:"snapshot",value:function(){return this.callWinFunc(0,(function(e){return e.snapshot()}))}},{key:"stop",value:function(e){if(null!==this.windowLayout&&!(e<0||e>=this.windowInfos.length)){var t=this.windowLayout.getWindow(e);if(null!==t){if(this.windowInfos[t.index].timeline.sync){cancelAnimationFrame(this.syncPlayTimer);var n,r=en(this.getSyncIndexes(t.index));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.windowLayout.getWindow(i).stop(),this.syncPlayTimer=0}}catch(e){r.e(e)}finally{r.f()}}else t.stop();this.$emit("onStop",e)}}}},{key:"showFullscreen",value:function(){var e=this,t=this.$el;if(t.requestFullscreen)t.requestFullscreen();else if(t.mozRequestFullScreen)t.mozRequestFullScreen();else if(t.webkitRequestFullscreen)t.webkitRequestFullscreen();else{if(!t.msRequestFullscreen)return console.log("不存在进入全屏的方法! => undefined"),!1;t.msRequestFullscreen()}return this.isFullscreen=!0,0===this.fullScreenCheckTimer&&(this.fullScreenCheckTimer=setInterval((function(){null===document.fullscreenElement&&e.exitFullscreen()}),1e3)),!0}},{key:"exitFullscreen",value:function(){var e=document;if(e.exitFullscreen)e.exitFullscreen();else if(e.mozCancelFullScreen)e.mozCancelFullScreen();else if(e.webkitExitFullscreen)e.webkitExitFullscreen();else{if(!e.msExitFullscreen)return!1;e.msExitFullscreen()}this.isFullscreen=!1,0!==this.fullScreenCheckTimer&&(clearInterval(this.fullScreenCheckTimer),this.fullScreenCheckTimer=0)}},{key:"login",value:function(e,t,n,r){return 0===this.wsPort?Le.INVALID_STATE:this.getDcs().login(e,t,n,r)}},{key:"createDownloadTask",value:function(e,t,n){return 0===this.wsPort||this.wsInitChannel&&this.wsInitChannel.isProxy()?"":this.getDownloader().create(e,t,n)}},{key:"startDownload",value:function(e){return 0===this.wsPort?Le.INVALID_STATE:this.getDownloader().start(e)}},{key:"stopDownload",value:function(e){return 0===this.wsPort?Le.INVALID_STATE:this.getDownloader().stop(e)}},{key:"destroyDownloadTask",value:function(e){return 0===this.wsPort?Le.INVALID_STATE:this.getDownloader().delete(e)}},{key:"openFolder",value:function(e){null!=this.wsInitChannel&&this.wsInitChannel.openFolder(e)}},{key:"setExtRenderCallback",value:function(e){if(this.windowLayout){var t=this.windowLayout.getWindow(0);t&&t.setExtRenderCallback(e)}}},{key:"onLayoutChange",value:function(e,t){0!==this.wsPort&&this.setLayout(e)}},{key:"onServerChange",value:function(e,t){void 0!==this.server&&"undefined"!==this.server&&this.loaded&&this.tryLogin()}},{key:"onProgressDrag",value:function(e){var t=this.selectedWindow();null!==t&&t.moveTo(e)}},{key:"mounted",value:function(){var e=this,t=this;this.windowLayout=new ht(this.$refs.win_table,(function(n,r){var i=new kt(n,r,e.wsPort,null===e.wsInitChannel?null:e.wsInitChannel.getConnectedProxyIp(),we.VOD_CHANNEL);return i.onStatus=function(e){t.onWindowStatus(n,e)},i.onPosChange=function(e){t.onPlayPos(n,e)},i.onSnapshot=function(e,n,r){t.$emit("onSnapshot",e,n,r)},i.onPlayFinished=function(r,i){if(e.singleMode)t.$emit("onPlayFinished",n,r,i);else if(null!==t.windowLayout){var a=t.windowLayout.getWindow(n);null!==a&&t.playNext(a,i)}},i.onPlayState=function(e,n){t.$emit("onPlayState",e,n)},i})),this.windowLayout.setup(),this.wsInitChannel=new Ze(this.proxy?this.proxy:null),this.wsInitChannel.onInitOk=function(n,r){t.wsPort=r,null!==t.windowLayout&&t.setLayout(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.layout)),t.onLoad(n)},this.wsInitChannel.onInitError=function(t,n){e.errorMsg=n,e.wsPort=0,e.$emit("onLoadFailed",n)},this.wsInitChannel.onConnectFailed=function(){e.errorMsg=q.PLUGIN_SERVICE_NOTFOUND,e.wsPort=0,e.$emit("onLoadFailed",q.PLUGIN_SERVICE_NOTFOUND)},this.wsInitChannel.onDisconnected=function(){e.errorMsg=q.PLUGIN_SERVICE_DISCONNECTED,e.wsPort=0,e.$emit("onDisconnected",q.PLUGIN_SERVICE_NOTFOUND)}}},{key:"beforeDestroy",value:function(){0!==this.syncPlayTimer&&(cancelAnimationFrame(this.syncPlayTimer),this.syncPlayTimer=0),0!==this.heartTimer&&window.clearInterval(this.heartTimer),null!==this.windowLayout&&this.windowLayout.destroy(),null!==this.ps&&(this.ps.destroy(),this.ps=null),null!==this.wsInitChannel&&this.wsInitChannel.close(),null!==this.dcs&&(this.dcs.destroy(),this.dcs=null),this.getDownloader().destroy()}},{key:"tryLogin",value:function(){this.server.length>0&&this.getDcs().loginByUrl(this.server)}},{key:"getDcs",value:function(){var e=this;return null===this.dcs&&(this.dcs=new Ve(this.wsPort,null===this.wsInitChannel?null:this.wsInitChannel.getConnectedProxyIp()),this.dcs.loginCB=function(t,n){e.$emit("onLogin",t,n)}),this.dcs}},{key:"getDownloader",value:function(){var e=this;return null===this.downloader&&(this.downloader=new Zt(this.wsPort),this.downloader.onStatus=function(t,n,r,i){e.$emit("onDownloadStatus",t,n,r,i)},this.downloader.onProgress=function(t,n,r){e.$emit("onDownloadProgress",t,n,r)}),this.downloader}},{key:"onWindowStatus",value:function(e,t){this.windowInfos[e].status=t}},{key:"onPlayPos",value:function(e,t){this.singleMode||null===this.windowLayout||this.getTimeLine(e).setTime(t)}},{key:"callWinFunc",value:function(e,t){if(null===this.windowLayout)return Le.INVALID_STATE;if(e<0||e>=this.windowInfos.length)return Le.INVALID_PARAM;var n=this.windowLayout.getWindow(0);return null===n?Le.UNKNOWN_ERROR:t(n)}},{key:"updateLayoutShow",value:function(){if(null!==this.windowLayout){for(var e=this.windowInfos.length;e<this.windowLayout.getWindowCount();e++){var t={timeline:{time:0,scale:2,sync:!1},id:e,time:0,minTime:Math.floor(Date.now()/1e3)-172800,maxTime:Math.floor(Date.now()/1e3)+172800,deviceInfo:{id:"",streamIp:"",streamPort:0,queryIp:"",queryPort:0,name:"",minTime:0,maxTime:0},status:vt.STOPPED,record:{startTime:0,endTime:0,type:0},syncPlayTimer:0};this.windowInfos.push(t)}for(;this.windowInfos.length>this.windowLayout.getWindowCount();)this.windowInfos.pop()}else this.windowInfos=[]}},{key:"onLoad",value:function(e){this.loaded=!0,this.$emit("onLoad",this,e,this.wsInitChannel&&this.wsInitChannel.isProxy()),this.tryLogin()}},{key:"getTimeLine",value:function(e){return this.$refs.timelines[e]}},{key:"onTimeLineMove",value:function(e,t){if(!this.singleMode&&this.windowInfos[e].timeline.sync)for(var n=0;n<this.windowInfos.length;n++)n!==e&&this.windowInfos[n].timeline.sync&&this.getTimeLine(n).setTime(t)}},{key:"onTimeLineRecord",value:function(e,t,n){this.singleMode||null===this.windowLayout||this.windowLayout.getWindow(e).moveTo(n)}},{key:"onToolButton",value:function(e,t){var n=this;if("scale-up"===e){if(this.timeScaleIndex<Kt.MAX_TIME_SCALE&&this.timeScaleIndex++,!this.singleMode){var r,i=en(this.$refs.timelines);try{for(i.s();!(r=i.n()).done;)r.value.setScale(this.timeScaleIndex)}catch(e){i.e(e)}finally{i.f()}}}else if("scale-down"===e){if(this.timeScaleIndex>0&&this.timeScaleIndex--,!this.singleMode){var a,o=en(this.$refs.timelines);try{for(o.s();!(a=o.n()).done;)a.value.setScale(this.timeScaleIndex)}catch(e){o.e(e)}finally{o.f()}}}else if("fullscreen"===e)this.showFullscreen();else if("cancel-fullscreen"===e)this.exitFullscreen();else if("expand"===e)this.expandTimeline=!0;else if("shrink"===e)this.expandTimeline=!1;else if("snap"===e){var s=this.selectedWindow();null!==s&&s.snapshot()}else if("play"===e){var l=this.selectedWindow(),c=-1===t?gt.BACKWARD:gt.FORWARD,u=this.getSyncIndexes(l.index);if(u.length>1){this.syncPlayWindows=[];var d,h=this.getTimeLine(u[0]).getTime(),f=en(u);try{for(f.s();!(d=f.n()).done;){var p=d.value;if(null!==this.windowLayout){this.getTimeLine(p).setTime(h);var m=this.windowLayout.getWindow(p);m.syncPlay(h),this.syncPlayWindows.push(m)}}}catch(e){f.e(e)}finally{f.f()}this.syncPlayTimer=requestAnimationFrame((function(){return n.syncPlay()})),this.syncFirstTick=0,this.syncFirstTime=0}else l.play(c)}else if("stop"===e){var y=this.selectedWindow();this.stop(y.index)}else if("pause"===e){var v=this.selectedWindow();null!==v&&v.pause()}else if("back"===e){var g=this.selectedWindow();null!==g&&g.subSpeed()}else if("forward"===e){var _=this.selectedWindow();null!==_&&_.addSpeed()}else if("speed"===e){var w=t;console.log("speed",w);var b=this.selectedWindow();null!==b&&b.setSpeed(w)}else if("prev"===e){var A=this.selectedWindow();null!==A&&A.stepPrev()}else if("next"===e){var k=this.selectedWindow();null!==k&&k.stepNext()}}},{key:"playNext",value:function(e,t){if(gt.FORWARD===t){var n=e.posSec;e.record.endTime>0&&e.posSec<e.record.endTime&&(n=e.record.endTime);var r=this.getTimeLine(e.index).findRecord(n);null!==r&&r.startTime<=n?e.play(t):null!==r&&(e.moveTo(r.startTime),e.play(t))}}},{key:"selectedWindow",value:function(){if(null===this.windowLayout)return null;var e=this.windowLayout.getSelectedWindow();return null===e?null:e}},{key:"getSyncIndexes",value:function(e){var t=[];if(!this.windowInfos[e].timeline.sync)return t;for(var n=0;n<this.windowInfos.length;n++)this.windowInfos[n].timeline.sync&&t.push(n);return t}},{key:"syncPlay",value:function(){var e,t=this,n=72057594037927940,r=null,i=en(this.syncPlayWindows);try{for(i.s();!(e=i.n()).done;){var a=e.value,o=a.minFrameTime();o>0&&o<n&&(n=o,r=a)}}catch(e){i.e(e)}finally{i.f()}if(null===r)this.syncFirstTick=0;else if(0===this.syncFirstTick)this.syncFirstTick=performance.now()+10,this.syncFirstTime=n,r.syncStep();else{var s=performance.now(),l=s-this.syncFirstTick-(n-this.syncFirstTime);(l>1e3||l<-1e3)&&(this.syncFirstTick=s,this.syncFirstTime=n),l>0&&r.syncStep()}requestAnimationFrame((function(){return t.syncPlay()}))}},{key:"playStatus",get:function(){var e=this.selectedWindow();return null===e?vt.STOPPED:e.status}},{key:"playDirection",get:function(){var e=this.selectedWindow();return null===e?gt.FORWARD:e.direction}},{key:"currentRecord",get:function(){var e=this.selectedWindow();return null===e?{startTime:0,endTime:0,type:0}:e.record}},{key:"currentTime",get:function(){var e=this.selectedWindow();return null===e?0:e.posSec}},{key:"currentSpeed",get:function(){var e=this.selectedWindow();return null===e?1:e.speed}},{key:"syncMode",get:function(){var e=this.selectedWindow();if(null===e)return!1;if(!this.windowInfos[e.index].timeline.sync)return!1;for(var t=0;t<this.windowInfos.length;t++)if(t!==e.index&&this.windowInfos[t].timeline.sync)return!0;return!1}},{key:"showError",get:function(){return 0===this.wsPort}},{key:"timesHeight",get:function(){return this.expandTimeline?"".concat(60*this.windowInfos.length,"px"):"60px"}},{key:"timesTop",get:function(){if(this.expandTimeline||null===this.windowLayout)return"0px";var e=60*this.windowLayout.getSelectedIndex();return"-".concat(e,"px")}},{key:"proxyIp",get:function(){return this.wsInitChannel?this.wsInitChannel.getConnectedProxyIp():null}}]),n}(y.a);rn.MAX_TIME_SCALE=3,p([P({default:function(){return{rows:1,cols:1,combines:{}}}})],rn.prototype,"layout",void 0),p([P({default:"dark"})],rn.prototype,"theme",void 0),p([P({default:!1})],rn.prototype,"dbClick",void 0),p([P({default:!0})],rn.prototype,"timeLine",void 0),p([P({default:""})],rn.prototype,"server",void 0),p([P({default:""})],rn.prototype,"proxy",void 0),p([O("layout",{immediate:!0,deep:!1})],rn.prototype,"onLayoutChange",null),p([O("$attrs.server",{immediate:!0})],rn.prototype,"onServerChange",null);var an=rn=Kt=p([C({components:{ProgressBar:Jt,Calendar:zt,VodToolBar:Et,VodTimeLine:Nt}})],rn),on=(n("d3b2"),n("2ed9"),st(an,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vatvod","vatvod-"+e.theme],attrs:{vat:"vod-player",tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onToolButton("cancel-fullscreen")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showError,expression:"showError"}],staticStyle:{position:"absolute",left:"0",right:"0",background:"#111111",width:"100%",height:"100%",display:"flex","z-index":"100","align-items":"center","justify-content":"center"}},[n("span",{staticClass:"vat-error err-msg"},[e._v(e._s(e.errorMsg))])]),n("div",{staticClass:"vod-wins"},[n("table",{ref:"win_table",attrs:{vat:"win-tab",cellspacing:"1"}})]),n("progress-bar",{directives:[{name:"show",rawName:"v-show",value:e.singleMode&&e.wsPort>0&&e.lastDeviceId,expression:"singleMode && wsPort > 0 && lastDeviceId"}],ref:"pb",attrs:{record:e.currentRecord,time:e.currentTime},on:{onDrag:e.onProgressDrag}}),n("vod-tool-bar",{directives:[{name:"show",rawName:"v-show",value:e.lastDeviceId,expression:"lastDeviceId"}],attrs:{"is-fullscreen":e.isFullscreen,"is-expand":e.windowInfos.length>1&&e.expandTimeline,"is-single":e.singleMode||!e.timeLine,"play-status":e.playStatus,"play-direction":e.playDirection,speed:e.currentSpeed,"sync-mode":e.syncMode},on:{onBtnClick:e.onToolButton}}),!e.singleMode&&e.timeLine?n("div",{ref:"times",staticClass:"vod-times",style:{height:e.timesHeight,overflow:"hidden"}},[n("div",{staticClass:"times-panel",style:{left:0,top:e.timesTop}},e._l(e.windowInfos,(function(t){return n("div",{key:t.id,staticClass:"vod-time-row"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.windowInfos.length>1&&e.expandTimeline,expression:"windowInfos.length > 1 && expandTimeline"}],staticClass:"vod-time-left"},[n("label",[e._v(e._s(t.deviceInfo.name))]),n("label",[e._v("\n 同步\n "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.timeline.sync,expression:"win.timeline.sync"}],attrs:{type:"checkbox",disabled:e.syncPlayTimer>0||0!==t.status},domProps:{checked:Array.isArray(t.timeline.sync)?e._i(t.timeline.sync,null)>-1:t.timeline.sync},on:{change:function(n){var r=t.timeline.sync,i=n.target,a=!!i.checked;if(Array.isArray(r)){var o=e._i(r,null);i.checked?o<0&&e.$set(t.timeline,"sync",r.concat([null])):o>-1&&e.$set(t.timeline,"sync",r.slice(0,o).concat(r.slice(o+1)))}else e.$set(t.timeline,"sync",a)}}})])]),n("vod-time-line",{key:t.id,ref:"timelines",refInFor:!0,attrs:{"win-index":t.id,"min-time":t.minTime,"max-time":t.maxTime,"ws-port":e.wsPort,proxy:e.proxyIp},on:{onMove:e.onTimeLineMove,onRecord:e.onTimeLineRecord}})],1)})),0)]):e._e()],1)}),[],!1,null,"7eb6e3ed",null)).exports;function sn(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ln(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ln(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}var un=function(e){u(n,e);var t=cn(n);function n(){var e;return a(this,n),(e=t.call(this)).isFullscreen=!1,e.fullScreenCheckTimer=0,e.errorMsg="",e.wsPort=0,e.loaded=!1,e.fileOpened=!1,e.wsInitChannel=null,e.initPos=0,e.windowLayout=null,new Promise((function(){return 1})),e}return l(n,[{key:"setLayout",value:function(e){void 0===e.combines&&(e.combines={}),null!=this.windowLayout&&this.windowLayout.setLayout(e)}},{key:"playFile",value:function(e,t){if(null===this.windowLayout)return Le.INVALID_STATE;for(var n=this.windowLayout.getWindowCount(),r=0;r<n;r++)this.windowLayout.getWindow(r).stop();var i,a=this.windowLayout.getWindow(0),o=[],s=sn(this.addrs);try{for(s.s();!(i=s.n()).done;){var l=i.value.split(":",2);if(2!==l.length)return console.error("vod-file-player 属性 addrs 不正确 ",this.addrs),Le.INVALID_PARAM;o.push({addr:l[0],port:parseInt(l[1],10)})}}catch(e){s.e(e)}finally{s.f()}return a.setFile({addrs:o,pool:this.pool,username:this.username,password:this.password,path:e}),this.initPos=t||0,Le.OK}},{key:"stopPlay",value:function(){return this.stop(0),Le.OK}},{key:"getPos",value:function(){return this.callWinFunc(0,(function(e){return e.getPos()}))}},{key:"snapshot",value:function(){return this.callWinFunc(0,(function(e){return e.snapshot()}))}},{key:"stop",value:function(e){if(null!==this.windowLayout){var t=this.windowLayout.getWindow(e);null!==t&&(t.stop(),this.$emit("onStop",e))}}},{key:"showFullscreen",value:function(){var e=this,t=this.$el;if(t.requestFullscreen)t.requestFullscreen();else if(t.mozRequestFullScreen)t.mozRequestFullScreen();else if(t.webkitRequestFullscreen)t.webkitRequestFullscreen();else{if(!t.msRequestFullscreen)return console.log("不存在进入全屏的方法! => undefined"),!1;t.msRequestFullscreen()}return this.isFullscreen=!0,0===this.fullScreenCheckTimer&&(this.fullScreenCheckTimer=setInterval((function(){null===document.fullscreenElement&&e.exitFullscreen()}),1e3)),!0}},{key:"exitFullscreen",value:function(){var e=document;if(e.exitFullscreen)e.exitFullscreen();else if(e.mozCancelFullScreen)e.mozCancelFullScreen();else if(e.webkitExitFullscreen)e.webkitExitFullscreen();else{if(!e.msExitFullscreen)return!1;e.msExitFullscreen()}this.isFullscreen=!1,0!==this.fullScreenCheckTimer&&(clearInterval(this.fullScreenCheckTimer),this.fullScreenCheckTimer=0)}},{key:"onProgressDrag",value:function(e){var t=this.selectedWindow();null!==t&&t.moveTo(e)}},{key:"mounted",value:function(){var e=this,t=this;this.windowLayout=new ht(this.$refs.win_table,(function(n,r){var i=new kt(n,r,e.wsPort,null===e.wsInitChannel?null:e.wsInitChannel.getConnectedProxyIp(),we.FILE_CHANNEL);return i.onStatus=function(e){},i.onPosChange=function(e){},i.onSnapshot=function(e,n,r){t.$emit("onSnapshot",e,n,r)},i.onPlayFinished=function(e,r){t.$emit("onPlayFinished",n,e,r)},i.onPlayState=function(e,n){t.$emit("onPlayState",e,n)},i.onOpenFileState=function(n,r){0===n?(i.record.startTime=0,i.record.endTime=Math.floor(r/1e3),e.fileOpened=!0,i.playPos(e.initPos,gt.FORWARD)):(e.errorMsg="打开文件失败 ("+n+")",t.$emit("onPlayState",!1,n))},i})),this.windowLayout.setup(),this.wsInitChannel=new Ze(this.proxy?this.proxy:null),this.wsInitChannel.onInitOk=function(e,n){t.wsPort=n,null!==t.windowLayout&&t.setLayout({rows:1,cols:1,combines:{}}),t.onLoad(e)},this.wsInitChannel.onInitError=function(t,n){e.errorMsg=n,e.wsPort=0,e.$emit("onLoadFailed",n)},this.wsInitChannel.onConnectFailed=function(){e.errorMsg=q.PLUGIN_SERVICE_NOTFOUND,e.wsPort=0,e.$emit("onLoadFailed",q.PLUGIN_SERVICE_NOTFOUND)},this.wsInitChannel.onDisconnected=function(){e.errorMsg=q.PLUGIN_SERVICE_DISCONNECTED,e.wsPort=0,e.$emit("onDisconnected",q.PLUGIN_SERVICE_NOTFOUND)}}},{key:"beforeDestroy",value:function(){null!==this.windowLayout&&this.windowLayout.destroy(),null!==this.wsInitChannel&&this.wsInitChannel.close()}},{key:"callWinFunc",value:function(e,t){if(null===this.windowLayout)return Le.INVALID_STATE;var n=this.windowLayout.getWindow(0);return null===n?Le.UNKNOWN_ERROR:t(n)}},{key:"onLoad",value:function(e){this.loaded=!0,this.$emit("onLoad",this,e,this.wsInitChannel&&this.wsInitChannel.isProxy())}},{key:"onToolButton",value:function(e,t){if("fullscreen"===e)this.showFullscreen();else if("cancel-fullscreen"===e)this.exitFullscreen();else if("snap"===e){var n=this.selectedWindow();null!==n&&n.snapshot()}else if("play"===e){var r=this.selectedWindow(),i=-1===t?gt.BACKWARD:gt.FORWARD;r.play(i)}else if("stop"===e){var a=this.selectedWindow();this.stop(a.index)}else if("pause"===e){var o=this.selectedWindow();null!==o&&o.pause()}else if("back"===e){var s=this.selectedWindow();null!==s&&s.subSpeed()}else if("forward"===e){var l=this.selectedWindow();null!==l&&l.addSpeed()}else if("speed"===e){var c=t;console.log("speed",c);var u=this.selectedWindow();null!==u&&u.setSpeed(c)}else if("prev"===e){var d=this.selectedWindow();null!==d&&d.stepPrev()}else if("next"===e){var h=this.selectedWindow();null!==h&&h.stepNext()}}},{key:"selectedWindow",value:function(){if(null===this.windowLayout)return null;var e=this.windowLayout.getSelectedWindow();return null===e?null:e}},{key:"playStatus",get:function(){var e=this.selectedWindow();return null===e?vt.STOPPED:e.status}},{key:"playDirection",get:function(){var e=this.selectedWindow();return null===e?gt.FORWARD:e.direction}},{key:"currentRecord",get:function(){var e=this.selectedWindow();return null===e?{startTime:0,endTime:0,type:0}:e.record}},{key:"currentTime",get:function(){var e=this.selectedWindow();return null===e?0:e.posSec}},{key:"currentSpeed",get:function(){var e=this.selectedWindow();return null===e?1:e.speed}},{key:"showError",get:function(){return 0===this.wsPort||this.errorMsg}},{key:"proxyIp",get:function(){return this.wsInitChannel?this.wsInitChannel.getConnectedProxyIp():null}}]),n}(y.a);un.MAX_TIME_SCALE=3,p([P({default:"dark"})],un.prototype,"theme",void 0),p([P({default:""})],un.prototype,"proxy",void 0),p([P({default:[]})],un.prototype,"addrs",void 0),p([P({default:""})],un.prototype,"username",void 0),p([P({default:""})],un.prototype,"password",void 0),p([P({default:""})],un.prototype,"pool",void 0);var dn=un=p([C({components:{ProgressBar:Jt,VodToolBar:Et}})],un),hn=(n("7aa1"),n("227c"),st(dn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vatvod","vatvod-"+e.theme],attrs:{vat:"vod-player",tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onToolButton("cancel-fullscreen")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showError,expression:"showError"}],staticStyle:{position:"absolute",left:"0",right:"0",background:"#111111",width:"100%",height:"100%",display:"flex","z-index":"100","align-items":"center","justify-content":"center"}},[n("span",{staticClass:"vat-error err-msg"},[e._v(e._s(e.errorMsg))])]),n("div",{staticClass:"vod-wins"},[n("table",{ref:"win_table",attrs:{vat:"win-tab",cellspacing:"1"}})]),n("progress-bar",{directives:[{name:"show",rawName:"v-show",value:e.wsPort>0&&e.fileOpened,expression:" wsPort > 0 && fileOpened"}],ref:"pb",attrs:{utc:!0,record:e.currentRecord,time:e.currentTime},on:{onDrag:e.onProgressDrag}}),n("vod-tool-bar",{directives:[{name:"show",rawName:"v-show",value:e.fileOpened,expression:"fileOpened"}],attrs:{"is-fullscreen":e.isFullscreen,"is-expand":!1,"is-single":!0,"play-status":e.playStatus,"play-direction":e.playDirection,speed:e.currentSpeed,"sync-mode":!1,"no-back":!0},on:{onBtnClick:e.onToolButton}})],1)}),[],!1,null,"9bb76214",null)).exports,fn=n("c0e8"),pn={install:function(e,t){e.component("live-player",lt),e.component("vod-player",on),e.component("vod-file-player",hn)}};t.default=pn}})},"object"===s(t)&&"object"===s(e)?e.exports=o(n(4)):(i=[],void 0===(a="function"==typeof(r=o)?r.apply(t,i):r)||(e.exports=a))}).call(this,n(32)(e))},,,,,,function(e,t,n){(t=n(2)(!1)).push([e.i,'@font-face {\r\n font-family: "qz-player";\r\n src: url(data:application/x-font-woff;base64,d09GRgABAAAAAASwAAsAAAAAB1QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFYz/UCgY21hcAAAAYQAAABgAAABqOs5EjVnbHlmAAAB5AAAANIAAAEkmlTsGmhlYWQAAAK4AAAALwAAADYXuckiaGhlYQAAAugAAAAXAAAAJACeAFZobXR4AAADAAAAABAAAAAYAU8AAGxvY2EAAAMQAAAADgAAAA4BVgDobWF4cAAAAyAAAAAfAAAAIAETAENuYW1lAAADQAAAAS8AAAIieIN8EHBvc3QAAARwAAAAPgAAAFWUfn3KeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGSwYJzAwMrAwGDEYAYkuaC0KgMzgwgDAxMDKzMDVhCQ5prC4PCK8RUrgx+Qyw4kGYE0CDMAAOeaBg4AAHic7ZGxDcRACAQHHzh4fSUvl+LYkfsProkzC1+GkWYRK0SwAAGM5Egc7MZQXela+YNP+c6vdlz+jLVSTZqzl26567poO299S8//FEqrqfy2BvXR6A/TGyU6oyEeULURXXicbY9La8MwEIR3JFmvNpaT2NalheCUKFc/sMCQ1Kce1f//a1I59NYOLCzMt8MscaLHg74pEac3moni2Jzj1MnGt3WJLkTVO/jYjsMdUxi8iv0ngrp0JWrft8N8w2W6Ayl9MQZuSieZBgSXylb2wyhhASb0cW8KMBTapRSRJSunmRJgVnGzP3ghGfAiC1vVZvP1oTREjDYttOZN5nbKh3MzLiGE3W49nW4L/WVyx/yE/IeZM8NJ/X6Zxzr37tyalV08memZs6W8Xq/5nH4Al/cY5AAAeJxjYGRgYADi8M/XbsTz23xl4GbwA4ow3FE9ehRB///P4A8W52BgAokCAHPFDK4AeJxjYGRgYPBjAAF/KMnIgArYABdkAPUAeJxjYAACfyB2QMUADvUBUAAAAAAAUABiAHQAhgCSAAB4nGNgZGBgYGMwZ2BmAAEmIOYCQgaG/2A+AwAOkAFXAHicbZBLbsIwFEVvIFAVpAq1UqXOrA46qQifAQMWAHMGzAM4fJTEwRgkWEBX0DV0DV1Bh11Dl8KN+8SgxZaezju+fpEDoIUvBChXgFtfy1XBDbtfrpJawiH5SbiGJp6F6/Rt4QZeMRBu4gExJwRhOe0eTriCO7wJV+nfhUPyh3ANj/gUrtN/CzcwxY9wEy/BYHtqF2l81Hail/s0tpf+AlNtd2uTq17UvbixzrWNnV6o2VHtDsu+c4lKrMnUyOROp6lRhTUbPXfRyrli2Okk4qO5ybDFiS8ukPJ9R2hYTFiX2Htjr5z/N1Nfd1jDIIdCDxG6V3Jj1txTzD+osWB2xjPFuwd+s0/rkLBPmDHISCM/s0yn3Iam8Gcbmjl9hJW/VWCIDnfyJx8xxUlnKiFhMgB4nGNgYsAP2BiZGJkZWRhZGdkY2RnYEovyS/NSOJISk7PLE4tS2NPyi0A0a0FiaXEqa3FJYlEJAwMAD5oNUgAA) format(\'woff\');\r\n}\r\n\r\n.qz-player-icon {\r\n font-family: "qz-player" !important;\r\n font-size: 16px;\r\n font-style: normal;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\n.around::before {\r\n content: "\\ea01";\r\n}\r\n\r\n.backward::before {\r\n content: "\\ea02";\r\n}\r\n\r\n.forward::before {\r\n content: "\\ea03";\r\n}\r\n\r\n.pause::before {\r\n content: "\\ea04";\r\n}\r\n\r\n.start::before {\r\n content: "\\ea05";\r\n}\r\n',""]),e.exports=t},function(e,n){e.exports=t},,,,,,,,,,,,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(8);n.n(r).a},function(e,t,n){(t=n(2)(!1)).push([e.i,".rtsp-player-component{position:relative}.rtsp-player-component .new-version-tip{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;vertical-align:middle;font-size:20px;color:red;display:flex;flex-flow:column;align-items:center;justify-content:center;background-color:#080808}.rtsp-player-component .new-version-tip .vat-down{color:red;padding-left:32px;height:32px;display:inline-block;cursor:pointer;background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M128 806.4h768V896H128v-89.6zM732.288 528l-176.5 186.138c-10.95 11.206-26.412 18.49-43.788 18.49s-32.832-7.284-43.603-18.606l-176.87-185.888c-9.23-10.022-15.111-22.97-15.111-37.324 0-30.816 26.38-55.802 58.9-55.802.454 0 .895.058 1.343.07v-.352h116.435V297.94c0-30.835 26.388-55.82 58.9-55.82 32.53 0 58.905 24.979 58.905 55.82v136.787h114.285v.448c1.165-.064 2.31-.179 3.5-.179 32.526 0 58.9 24.992 58.9 55.815.006 14.355-5.882 27.296-15.296 37.19zM416 128h192v324.8H416V128z' fill='%231bb90a'/%3E%3C/svg%3E\");background-repeat:no-repeat}.rtsp-player-component .new-version-tip .vat-down span{display:table-cell;vertical-align:middle;height:32px}.rtsp-player-component .img,.rtsp-player-component .player,.rtsp-player-component .error-message{position:absolute;height:100%;width:100%;top:0;left:0}.rtsp-player-component .img{z-index:100;background-repeat:no-repeat;background-size:100% 100%;border:2px solid #fff0;box-sizing:border-box}.rtsp-player-component .error-message{z-index:100;color:#f56c6c;display:flex;justify-content:center;align-items:center}.rtsp-player-component .error-message .reconnect{cursor:pointer;color:#409eff}.fc-player .rtsp-player .el-loading-mask{background-color:#101010}",""]),e.exports=t},function(e,t,n){"use strict";var r=n(9);n.n(r).a},function(e,t,n){var r=n(2),i=n(19);(t=r(!1)).i(i),t.push([e.i,".player-control-bar{position:absolute;z-index:3;display:flex;justify-content:center;width:100%;height:60px;bottom:135px}.player-control-bar .center{display:flex;align-items:center;justify-content:center;width:180px}.player-control-bar .center .qz-player-control-icon{font-size:18px;margin:0 16px;cursor:pointer;transition:all .3s}.player-control-bar .center .qz-player-control-icon.start,.player-control-bar .center .qz-player-control-icon.pause{font-size:30px}",""]),e.exports=t},function(e,t,n){"use strict";var r=n(10);n.n(r).a},function(e,t,n){(t=n(2)(!1)).push([e.i,".player-time-select-bar{position:relative;z-index:2;display:flex;padding:0 10px;height:60px;border-top:1px solid}.player-time-select-bar .calendar{flex:1;display:flex;align-items:center}.player-time-select-bar .calendar .title{margin-left:20px;margin-right:20px;font-size:14px;color:#fff}.player-time-select-bar .calendar .el-date-editor{width:160px}.player-time-select-bar .calendar .el-date-editor .el-input__inner{border-radius:2px}",""]),e.exports=t},function(e,t,n){"use strict";var r=n(11);n.n(r).a},function(e,t,n){(t=n(2)(!1)).push([e.i,".player-progress-bar{position:relative;z-index:2;height:75px}.player-progress-bar .progress-outer{height:100%;background:#505f67}.player-progress-bar .progress-outer .time-title{font-size:14px;font-weight:bold}.player-progress-bar .progress-outer .time-rect{width:160px;height:30px}.player-progress-bar .progress-outer .ticks-container{background-color:#000}.player-progress-bar .progress-outer .ticks-container .enter{font-size:12px;font-weight:normal;user-select:none}.player-progress-bar .progress-outer .ticks-container .update{fill:#333}",""]),e.exports=t},function(e,t,n){"use strict";var r=n(12);n.n(r).a},function(e,t,n){var r=n(2),i=n(19);(t=r(!1)).i(i),t.push([e.i,'.qz-player{position:relative;z-index:1;height:100%;width:100%}.qz-player .el-loading-mask{background-color:#10101080}.qz-player .el-loading-mask .el-loading-spinner{margin-top:0;transform:translateY(-50%)}.qz-player .el-loading-mask .el-loading-spinner .circular{background-color:#2f4c5c;border-radius:100%;padding:9px}.qz-player .el-loading-mask .el-loading-spinner .circular .path{stroke-width:3px}.qz-player .load-fail-mask{background-color:#72849b;width:100%;height:100%;display:flex;flex-flow:column;align-items:center;justify-content:center}.qz-player .load-fail-mask .fail-icon{width:39px;height:39px}.qz-player .load-fail-mask .error-text{margin-top:20px;margin-bottom:20px;font-size:16px;color:#e1e9ee}.qz-player .load-fail-mask .download-button{min-width:80px}.qz-player .rtsp-player{position:relative;z-index:2;height:100%}.qz-player .rtsp-player.playback-player-rtsp{height:calc(100% - 135px)}.qz-player .start-player-icon{position:absolute;z-index:998;width:60px;height:60px;left:50%;top:50%;transform:translate(calc(-50% + 2px), -50%);background-repeat:no-repeat;background-size:100%;background-position:center;cursor:pointer;opacity:.9;border-radius:100%;font-size:20px}.qz-player .start-player-icon::before{position:absolute;left:50%;top:50%;transform:translate(calc(-50% + 2px), -50%)}.qz-player .player-control-bar{opacity:0;transition:all .3s}.qz-player .player-control-bar:hover,.qz-player .playback-player:hover+.player-control-bar{opacity:1}.qz-player.light-theme .start-player-icon{color:#0091ff;background-color:#fff;box-shadow:0px 0px 30px 0px rgba(255,255,255,.5),0px 5px 15px 0px rgba(255,255,255,.3)}.qz-player.light-theme .el-loading-mask .el-loading-spinner .circular{background-color:#fff}.qz-player.light-theme .el-loading-mask .el-loading-spinner .circular .path{stroke:#0091ff}.qz-player.light-theme .player-control-bar{background-color:rgba(255,255,255,.9);color:#7b858f}.qz-player.light-theme .player-control-bar .qz-player-control-icon:hover{color:#0091ff}.qz-player.light-theme .player-progress-bar .progress-outer{background:#fff}.qz-player.light-theme .player-progress-bar .times-tick{fill:#666}.qz-player.light-theme .player-progress-bar .tick-path{stroke:#dde0e7}.qz-player.light-theme .player-progress-bar .time-title{fill:#fff}.qz-player.light-theme .player-progress-bar .time-rect{fill:#0091ff}.qz-player.light-theme .player-progress-bar .available-path,.qz-player.light-theme .player-progress-bar .domain{stroke:#0091ff}.qz-player.light-theme .player-time-select-bar{border-top-color:#f1f2f5;background-color:#fff}.qz-player.light-theme .player-time-select-bar .title{color:#333}.qz-player.light-theme .player-time-select-bar .el-date-editor .el-input__inner{color:#333;border-color:#e3e6ec;background-color:#fff}.qz-player.dark-theme .start-player-icon{color:#ffc124;background-color:#2f4c5c;box-shadow:0px 0px 30px 0px rgba(0,0,0,.5),0px 5px 15px 0px rgba(0,0,0,.3)}.qz-player.dark-theme .el-loading-mask .el-loading-spinner .circular{background-color:#2f4c5c}.qz-player.dark-theme .el-loading-mask .el-loading-spinner .circular .path{stroke:#fff}.qz-player.dark-theme .player-control-bar{background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #18272f 100%)}.qz-player.dark-theme .player-control-bar .qz-player-control-icon:hover{color:#ffc124}.qz-player.dark-theme .player-progress-bar .progress-outer{background:#505f67}.qz-player.dark-theme .player-progress-bar .times-tick{fill:#fff}.qz-player.dark-theme .player-progress-bar .tick-path{stroke:#868f94}.qz-player.dark-theme .player-progress-bar .time-title{fill:#38474f}.qz-player.dark-theme .player-progress-bar .time-rect{fill:#ffc124}.qz-player.dark-theme .player-progress-bar .available-path,.qz-player.dark-theme .player-progress-bar .domain{stroke:#ffc124}.qz-player.dark-theme .player-time-select-bar{border-top-color:#6e7f88;background-color:#6e7f88}.qz-player.dark-theme .player-time-select-bar .title{color:#fff}.qz-player.dark-theme .player-time-select-bar .el-date-editor .el-input__inner{color:#fff;border-color:#586870;background-color:#586870}.el-picker-panel.qz-player-date-picker.dark-theme{border-radius:2px;background-color:#3c4852;border-color:#3c4852}.el-picker-panel.qz-player-date-picker.dark-theme .el-date-picker__header .el-picker-panel__icon-btn{color:#ffc124}.el-picker-panel.qz-player-date-picker.dark-theme .el-date-picker__header .el-date-picker__header-label{color:#e1e9ee}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table th{color:#e1e9ee;border-bottom:1px solid;border-color:#56646e}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table td.available span{color:#e1e9ee}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table td.current:not(.disabled) span{background-color:#ffc124;border-radius:2px;color:#38474f}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table td.prev-month span{color:#8e989e}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table td.next-month span{color:#8e989e}.el-picker-panel.qz-player-date-picker.dark-theme .el-picker-panel__content .el-date-table td.today span{background-color:#2e3a40;border-radius:2px}.el-picker-panel.qz-player-date-picker.dark-theme td.available.has-video div{position:relative}.el-picker-panel.qz-player-date-picker.dark-theme td.available.has-video div::after{content:"";position:absolute;height:4px;width:4px;border-radius:100%;background-color:#d8d8d8;bottom:-2px;left:50%;transform:translate(-50%, 0px)}.qz-player-date-picker.dark-theme.el-popper[x-placement^=top] .popper__arrow{border-top-color:#3c4852}.qz-player-date-picker.dark-theme.el-popper[x-placement^=top] .popper__arrow::after{border-top-color:#3c4852}',""]),e.exports=t},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"renderPlayer",class:"qz-player "+(e.basicConfig&&e.basicConfig.theme||"light-theme"),style:{height:e.playerHeight?e.playerHeight+"px":""}},[e.pluginLoadSuccess?[n("rtsp-player",{ref:"player",staticClass:"rtsp-player",class:"playback"===e.type&&""===e.playerServer&&e.showControlBar?"playback-player-rtsp":"",attrs:{type:e.type,urls:e.urls,config:e.basicConfig,pluginUrl:e.pluginUrl,playerServer:e.playerServer,fileServer:e.fileServer,vodTime:e.vodTime,errorCode:e.errorCode},on:{pluginOnload:e.pluginOnload,pluginStatus:e.pluginStatusChange,pluginOnLogin:e.playerOnLogin,onStreamStatus:e.onStreamStatus,onPlayFinished:e.onPlayFinished,reconnect:e.reconnect,onWinSwap:e.onWinSwap,onWinOp:e.onWinOp,onWinDrop:e.onWinDrop,onDownloadStatus:e.onDownloadStatus,onDownloadProgress:e.onDownloadProgress,onAudioState:e.onAudioState,onRecord:e.onRecord}}),e._v(" "),"live"===e.type&&!this.isPlaying&&e.pluginLoadSuccess&&!e.basicConfig.autoPlay&&e.showPlayBtn?n("div",{staticClass:"start-player-icon start qz-player-icon",on:{click:e.controlIconClick}}):e._e(),e._v(" "),"playback"===e.type&&""===e.playerServer&&e.showControlBar?[n("player-control-bar",{attrs:{type:e.type,paused:e.paused,date:e.date},on:{"update:paused":function(t){e.paused=t},play:e.play,pause:e.pause,backward:e.backward,forward:e.forward}}),e._v(" "),n("player-progress-bar",{ref:"playerProgressBar",attrs:{theme:e.basicConfig&&e.basicConfig.theme||"light-theme",currentTimeProp:e.date},on:{"update:currentTimeProp":function(t){e.date=t},"update:current-time-prop":function(t){e.date=t},updateBackwordList:e.onUpdateBackwordList,updateForwardList:e.onUpdateForwardList,updateCurrentPlay:e.onUpdateCurrentPlay,updatePlayState:e.onUpdatePlayState}}),e._v(" "),n("player-time-select-bar",{attrs:{date:e.date,config:e.basicConfig,theme:e.basicConfig&&e.basicConfig.theme||"light-theme",monthRecord:e.monthRecord},on:{"update:date":e.dateChange,focus:e.dateFocus},scopedSlots:e._u([{key:"datePicker",fn:function(t){return[e._t("datePicker",null,{datePicker:t})]}}],null,!0)})]:e._e()]:[n("div",{staticClass:"load-fail-mask"},[n("img",{staticClass:"fail-icon",attrs:{src:e.imgAround,alt:""}}),e._v(" "),n("p",{staticClass:"error-text"},[e._v(e._s(e.loadFailedMsg))]),e._v(" "),n("player-button",{attrs:{type:"primary",size:e.basicConfig.buttonSize},on:{click:e.downloadPlugin}},[e._v("下载")])],1)]],2)};r._withStripped=!0;var i=n(4),a=n.n(i),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"rtsp-player-component"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.img,expression:"img"}],staticClass:"img",style:{backgroundImage:e.img?"url("+e.img+")":""}}),e._v(" "),"file"===e.type?[n("vod-file-player",{ref:"player",attrs:{addrs:e.fileServer.addrs,username:e.fileServer.username,password:e.fileServer.password,pool:e.fileServer.pool,proxy:e.fileServer.proxy},on:{onLoad:e.pluginOnload,onPlayState:e.onPlayState,onPlayFinished:e.onPlayFinished}})]:e.isDcsPlayback?[n("vod-player",{ref:"player",attrs:{theme:"dark",server:e.playerServer},on:{onLoad:e.pluginOnload,onLoadFailed:e.pluginOnloadFailed,onDisconnected:e.pluginOnDisconnected,onLogin:e.onLogin,onPlayState:e.onPlayState,onPlayFinished:e.onPlayFinished,onDownloadStatus:e.onDownloadStatus,onDownloadProgress:e.onDownloadProgress}})]:[e.isNewPlayer?n("live-player",{ref:"player",attrs:{theme:"dark",config:e.playerConfig,server:e.playerServer},on:{onLoad:e.pluginOnload,onLoadFailed:e.pluginOnloadFailed,onDisconnected:e.pluginOnDisconnected,onLogin:e.onLogin,onStreamStatus:e.onStreamStatus,onAudioState:e.onAudioState,onSnapshot:e.onSnapshot,onWinOp:e.onWinOp,onRecord:e.onRecord}}):e._e()],e._v(" "),e.isNewPlayer?e._e():n("div",{staticClass:"new-version-tip vatrender"},[n("div",[e._v("请下载最新的插件")]),e._v(" "),n("a",{staticClass:"vat-down",attrs:{href:e.pluginDownloadUrl}},[n("span",[e._v("下载")])])]),e._v(" "),e.singleScreen&&3===e.statusCode?n("div",{staticClass:"error-message"},[n("span",[e._v("连接失败!")]),e._v(" "),n("span",{staticClass:"reconnect",on:{click:function(t){return e.$emit("reconnect")}}},[e._v("重新连接")]),e._v(" "),-1===e.errorCode?n("div",[e._v("获取失败,请检查设备状态是否正常!")]):e._e()]):e._e(),e._v(" "),e.singleScreen&&-1===e.statusCode?n("div",{staticClass:"error-message"},[e._v("\n 获取失败,请检查设备状态是否正常!\n ")]):e._e()],2)};o._withStripped=!0;var s,l=n(13);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={name:"RtspPlayer",props:{type:{type:String,required:!1},urls:{type:Array,required:!1},errorCode:{type:Number,required:!1},config:{type:Object,required:!1,default:function(){}},playerServer:{type:String,default:""},fileServer:{type:Object,default:function(){}},pluginUrl:{type:String,default:""},vodTime:{type:Object,default:function(){}}},components:{LivePlayer:l.LivePlayer,VodPlayer:l.VodPlayer,VodFilePlayer:l.VodFilePlayer},computed:{pluginDownloadUrl:function(){var e="./player/DCSPlugin-".concat(this.require_version,".exe");return this.pluginUrl||e},isDcsPlayback:function(){return"playback"===this.type&&this.urls.length>0&&this.urls[0].dcs}},data:function(){return{img:"",isPluginLoaded:!1,isLogin:!1,loading:!1,playerConfig:{titleBar:!0,toolBar:!0,roiMenu:!1,dragWindow:!0,dbClick:!0},singleScreen:!0,isNewPlayer:!0,installed_version:"",statusCode:2,require_version:"",dcs:null,currentRenderId:null,dragLayerList:[]}},methods:(s={pluginOnload:function(e,t,n){if(this.installed_version=t,this.require_version!==this.installed_version)return this.isNewPlayer=!1,void console.log("安装版本".concat(this.installed_version,",传入插件版本").concat(this.require_version));if(this.isPluginLoaded=!0,!this.isDcsPlayback){var r=this.playerConfig.layout.rows||1,i=this.playerConfig.layout.cols||1,a=this.playerConfig.layout.combines||{};this.$refs.player.setLayout({rows:r,cols:i,combines:a}),this.singleScreen=1===r&&1===i,console.log("singleScreen",this.singleScreen)}this.bindDrop(),this.$emit("pluginOnload",this.isPluginLoaded,n),this.urls&&0!==this.urls.length&&this.config.autoPlay&&this.play()},pluginOnloadFailed:function(e){this.$emit("pluginStatus","pluginOnloadFailed",e,this.pluginDownloadUrl)},pluginOnDisconnected:function(e){this.$emit("pluginStatus","pluginOnDisconnected",e,this.pluginDownloadUrl)},onLogin:function(e,t){console.log("登录状态:",e,"code:",t),this.isLogin=e,this.dcs=this.$refs.player&&this.$refs.player.dcs,this.$emit("pluginOnLogin",this.isLogin)},onStreamStatus:function(e,t,n){if(this.statusCode=t,2===t&&(this.$parent.loading=!1,this.img=""),3===t)try{var r=this.getLayout().streams,i=-1;for(var a in r)if(e+""==r[a].id+""){i=Number(a);break}this.stop(i)}catch(e){}var o=-1;try{o=Number(this.getStreamItem(e,"id").index)}catch(e){}this.$emit("onStreamStatus",{id:e,status:t,code:n,errorText:this.getErrorText(n),index:o})},onAudioState:function(e,t,n,r,i){this.$emit("onAudioState",e,t,n,r,i)},onPlayState:function(e,t){e?(this.hideLoading(),this.img=""):this.stop,this.$emit("onStreamStatus",{index:0,status:e?2:-1,code:t,errorText:this.getErrorText(t)})},onPlayFinished:function(e,t,n){this.$emit("onPlayFinished",e,t,n)},onSnapshot:function(e,t){this.$emit("snapshot",e,t)},onDownloadStatus:function(e,t,n,r){this.$emit("onDownloadStatus",e,t,n,r)},onDownloadProgress:function(e,t,n){this.$emit("onDownloadProgress",e,t,n)},onRecord:function(e,t,n){this.$emit("onRecord",e,t,n)},onWinOp:function(e,t,n){var r={},i=0,a=this.getLayout().streams;for(var o in a)if(t===a[o].id){i=Number(o),r=a[o];break}"swap"===n?this.$emit("onWinSwap",{index:e,swapTargetIndex:i,streamItem:r,state:n}):this.$emit("onWinOp",{index:e,streamItem:r,state:n})},streamPlay:function(e){1===this.playerConfig.layout.rows&&1===this.playerConfig.layout.cols?this.urls.length>0&&(this.showLoading(),this.openStreamInServer(0,this.urls[0])):void 0!==e?(this.showLoading(),this.openStreamInServer(e,this.urls[e])):(this.showLoading(),this.multiplePlayStream())},streamClose:function(e){this.isPluginLoaded&&(void 0!==e?this.$refs.player.closeStream(e):this.$refs.player.closeStream(-1))},capture:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.isPluginLoaded)return this.$refs.player.snapshot(t),new Promise((function(t){e.$on("snapshot",(function(e,n){t({id:e,data:n})}))}))},play:function(e){this.isPluginLoaded&&(this.playerServer&&!this.isLogin||this.streamPlay(e))},pause:function(){var e=this;if(this.isPluginLoaded)return new Promise((function(t,n){e.capture().then((function(n){var r=n.data;e.img=r,e.streamClose(),t()}))}))},stop:function(e){this.hideLoading(),this.isPluginLoaded&&this.closeStreamInServer(e)},openStreamInServer:function(e,t,n){if(t){var r="".concat(t.dcs?"dcs://":"").concat(t.rtspUrl),i=u({id:+new Date,url:r},n||{});this.currentRenderId=i.id,"live"===this.type?(this.$refs.player.openStreamEx(e,i),this.$emit("onStreamStatus",{id:i.id,status:1,code:0,errorText:this.getErrorText(0),index:e})):"playback"===this.type?t.dcs?(this.hideLoading(),this.vodTime&&Object.keys(this.vodTime).length>0&&this.vodTime.beginTime&&this.vodTime.endTime?this.$refs.player.playVodStream&&this.$refs.player.playVodStream(r,{beginTime:this.vodTime.beginTime,endTime:this.vodTime.endTime}):this.$refs.player.openDevice&&this.$refs.player.openDevice(r)):(this.$refs.player.openStreamEx(e,i),this.$emit("onStreamStatus",{id:i.id,status:1,code:0,errorText:this.getErrorText(0),index:e})):"file"===this.type&&this.$refs.player.playFile(t.rtspUrl,t.pos||0)}},closeStreamInServer:function(e){this.$refs.player&&(this.isDcsPlayback?this.$refs.player.stopPlay():"file"!==this.type?void 0===e||"[object Array]"===Object.prototype.toString.call(e)?this.$refs.player.closeStreams(e):this.$refs.player.closeStream(e):this.$refs.player.stopPlay())},showLoading:function(){this.$parent.loading=!0},hideLoading:function(){this.$parent.loading=!1},multiplePlayStream:function(){var e=this;this.urls.map((function(t,n){e.openStreamInServer(n,t)}))},streamCloses:function(e){this.closeStreamInServer(e)},getStreamInfo:function(e){return 2===this.statusCode&&this.$refs.player&&this.$refs.player.getStreamInfo?this.$refs.player.getStreamInfo(e):null},getLayout:function(){return this.$refs.player&&this.$refs.player.getLayout()},setLayout:function(e){var t=this;this.$refs.player&&this.$refs.player.setLayout(e),this.$nextTick((function(){t.bindDrop()}))},bindDrop:function(){var e=this;this.dragLayerList=this.$refs.player.$el.querySelectorAll("div.drag-layer"),this.dragLayerList.forEach((function(t){t.addEventListener("drop",e.dropEvent)}))},dropEvent:function(e){var t=-1,n=this.$refs.player.getLayout().streams,r={};try{r=JSON.parse(e.dataTransfer.getData("text").split("vat-live:").join(""))}catch(t){console.warn("dataTransfer get error",e.dataTransfer.getData("text"))}for(var i in n)if(r.id===n[i].id){t=i;break}this.$emit("onWinDrop",t)},getErrorText:function(e){try{e=Number(e)}catch(t){e=99999999999}var t="";switch(e){case 99999999999:t="未知错误,code:".concat(e);break;case 0:t="正常";break;case-1:t="连接失败";break;case-2:t="找不到流";break;case-3:t="用户名或密码错误";break;case-5:t="对方协议错误";break;case-100:t="不支持流类型";break;case-101:t="打开流失败";break;case 8:t="路数达到限制";break;case-20040:t="录像段不存在"}return 0!==e&&console.warn("播放错误:".concat(t)),t},showFullscreen:function(){return this.$refs.player&&this.$refs.player.showFullscreen()},ptzControl:function(e,t,n){return this.$refs.player&&this.$refs.player.ptzControl(e,t,n)},swapWindow:function(e,t){return this.$refs.player&&this.$refs.player.swapWindow(e,t)},selectWindow:function(e){return this.$refs.player&&this.$refs.player.selectWindow(e)},getStreamItem:function(e,t){var n=0,r={},i=this.$refs.player.getLayout().streams;for(var a in i)if(i[a][t]===e){r=i[a],n=a;break}return u(u({},r),{},{index:n})}},d(s,"showFullscreen",(function(){return this.$refs.player&&this.$refs.player.showFullscreen()})),d(s,"toggleWindow",(function(){return this.$refs.player&&this.$refs.player.toggleWindow()})),d(s,"downloadRecord",(function(e,t,n){if(this.isDcsPlayback){var r=this.$refs.player.createDownloadTask(e,t);this.$refs.player.startDownload(r),this.$emit("downloadRecord",r)}})),d(s,"stopDownload",(function(e){e&&this.$refs.player.stopDownload&&this.$refs.player.stopDownload(e)})),d(s,"destroyDownloadTask",(function(e){this.$refs.player.destroyDownloadTask(e)})),d(s,"startRecord",(function(e,t,n){return this.$refs.player.startRecord(e,t,n)})),d(s,"stopRecord",(function(e){return this.$refs.player.stopRecord(e)})),s),created:function(){if(this.pluginUrl?this.require_version=this.pluginUrl.split("DCSPlugin-")[1].split(".exe")[0]:(console.warn("暂无传入版本号,启用默认版本:1.1.12"),this.require_version="1.1.12"),this.config&&this.config.defaultSetting){var e=this.playerConfig;for(var t in e=Object.assign(e,this.config.defaultSetting))this.$set(this.playerConfig,t,e[t])}if(this.config){var n=this.config;void 0===n.rows&&(n.rows=1),void 0===n.cols&&(n.cols=1),void 0===n.combines&&(n.combines={}),this.$set(this.playerConfig,"layout",u({},n))}else this.$set(this.playerConfig,"layout",{rows:1,cols:1,combines:{}})}};function f(e,t,n,r,i,a,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n(33);var p=f(h,o,[],!1,null,null,null);p.options.__file="src/components/rtsp-player.vue";var m=p.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"player-control-bar"},[n("div",{staticClass:"center"},["live"!==e.type?n("div",{staticClass:"qz-player-control-icon qz-player-icon backward",on:{click:e.backward}}):e._e(),e._v(" "),[e.paused?n("div",{staticClass:"qz-player-control-icon qz-player-icon start",on:{click:e.play}}):n("div",{staticClass:"qz-player-control-icon qz-player-icon pause",on:{click:e.pause}})],e._v(" "),"live"!==e.type?n("div",{staticClass:"qz-player-control-icon qz-player-icon forward",on:{click:e.forward}}):e._e()],2)])};y._withStripped=!0;var v={name:"PlayerControlBar",props:{type:{type:String,default:"live"},paused:{type:Boolean,default:!1}},methods:{play:function(){this.$emit("play"),this.updatePaused(!1)},pause:function(){this.$emit("pause"),this.updatePaused(!0)},backward:function(){this.$emit("backward")},forward:function(){this.$emit("forward")},updatePaused:function(e){this.$emit("update:paused",e)}}},g=(n(35),f(v,y,[],!1,null,null,null));g.options.__file="src/components/player-control-bar.vue";var _=g.exports,w=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"player-time-select-bar"},[t("div",{staticClass:"calendar"},[t("span",{staticClass:"title"},[this._v("选择日期")]),this._v(" "),this._t("datePicker",null,null,this.datePickerBind)],2)])};w._withStripped=!0;var b=n(20),A=n.n(b),k={name:"PlayerControlBar",props:{date:{type:Number,required:!0},monthRecord:{type:Array,default:function(){return[]}},config:{type:Object,required:!1,default:function(){}},theme:{type:String,default:"light-theme"}},data:function(){return{datePicker:"",datePickerBind:{defaultValue:A()(),listen:this.handleDateChange}}},computed:{pickerOptions:function(){var e=this;return{cellClassName:function(t){return t.getMonth()===new Date(e.date).getMonth()&&t.getFullYear()===new Date(e.date).getFullYear()&&1===e.monthRecord[t.getDate()-1]?"has-video":""}}}},methods:{handleDateChange:function(e){var t=Object.prototype.toString.call(e);if(e._isAMomentObject)this.$emit("update:date",+new Date(e.format("YYYY-MM-DD 00:00:00")));else if("[object Date]"===t)this.$emit("update:date",+e);else if("[object Number]"===t)this.$emit("update:date",e);else if("[object String]"===t){var n=new Date(e).getTime();isNaN(n)?console.log("错误的时间:",e):this.$emit("update:date",n)}else console.log("未知时间类型:",e)},handleFocus:function(){this.$emit("focus")}},created:function(){},mounted:function(){}},M=(n(37),f(k,w,[],!1,null,null,null));M.options.__file="src/components/player-time-select-bar.vue";var x=M.exports,S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"progressCtnr",staticClass:"player-progress-bar"},[n("svg",{staticClass:"progress-outer",attrs:{width:"100%",viewBox:e.viewBox}},[n("g",{staticClass:"progress-inner",attrs:{fill:"none","font-size":"10","font-family":"sans-serif","text-anchor":"middle",transform:"translate(0,0)"}},[n("g",{staticClass:"ticks-container"}),e._v(" "),n("g",{staticClass:"available-container"})]),e._v(" "),n("g",[n("line",{staticClass:"domain",attrs:{"stroke-width":"2",x1:e.middle,x2:e.middle,y1:"0",y2:"50"}})]),e._v(" "),n("g",[n("rect",{staticClass:"time-rect",attrs:{rx:"light-theme"===e.theme?15:0,ry:"light-theme"===e.theme?15:0,x:e.curTimeX,y:"35"}}),e._v(" "),n("text",{staticClass:"time-title",attrs:{x:e.curTimeX+10,y:"55"}},[e._v("\n "+e._s(e.dateFormat(new Date(e.currentTime)))+"\n ")])])])])};S._withStripped=!0;var L=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},T=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return L(t(e),n)}),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)<0?r=a+1:i=a}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)>0?i=a:r=a+1}return r}}},D=T(L);D.right,D.left;var E=Array.prototype;E.slice,E.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2),Array.prototype.slice;var C={value:function(){}};function Y(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new P(r)}function P(e){this._=e}function O(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function I(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function R(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=C,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}P.prototype=Y.prototype={constructor:P,on:function(e,t){var n,r=this._,i=O(e+"",r),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<o;)if(n=(e=i[a]).type)r[n]=R(r[n],e.name,t);else if(null==t)for(n in r)r[n]=R(r[n],e.name,null);return this}for(;++a<o;)if((n=(e=i[a]).type)&&(n=I(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new P(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,n=(r=this._[e]).length;a<n;++a)r[a].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};var N=Y;function F(){}var j=function(e){return null==e?F:function(){return this.querySelector(e)}};function B(){return[]}var H=function(e){return null==e?B:function(){return this.querySelectorAll(e)}},W=function(e){return function(){return this.matches(e)}},z=function(e){return new Array(e.length)};function U(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function V(e,t,n,r,i,a){for(var o,s=0,l=t.length,c=a.length;s<c;++s)(o=t[s])?(o.__data__=a[s],r[s]=o):n[s]=new U(e,a[s]);for(;s<l;++s)(o=t[s])&&(i[s]=o)}function G(e,t,n,r,i,a,o){var s,l,c,u={},d=t.length,h=a.length,f=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(f[s]=c="$"+o.call(l,l.__data__,s,t),c in u?i[s]=l:u[c]=l);for(s=0;s<h;++s)(l=u[c="$"+o.call(e,a[s],s,a)])?(r[s]=l,l.__data__=a[s],u[c]=null):n[s]=new U(e,a[s]);for(s=0;s<d;++s)(l=t[s])&&u[f[s]]===l&&(i[s]=l)}function Q(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}U.prototype={constructor:U,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var J="http://www.w3.org/1999/xhtml",q={svg:"http://www.w3.org/2000/svg",xhtml:J,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},K=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),q.hasOwnProperty(t)?{space:q[t],local:e}:e};function X(e){return function(){this.removeAttribute(e)}}function Z(e){return function(){this.removeAttributeNS(e.space,e.local)}}function $(e,t){return function(){this.setAttribute(e,t)}}function ee(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function te(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function ne(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}var re=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function ie(e){return function(){this.style.removeProperty(e)}}function ae(e,t,n){return function(){this.style.setProperty(e,t,n)}}function oe(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function se(e,t){return e.style.getPropertyValue(t)||re(e).getComputedStyle(e,null).getPropertyValue(t)}function le(e){return function(){delete this[e]}}function ce(e,t){return function(){this[e]=t}}function ue(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function de(e){return e.trim().split(/^|\s+/)}function he(e){return e.classList||new fe(e)}function fe(e){this._node=e,this._names=de(e.getAttribute("class")||"")}function pe(e,t){for(var n=he(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function me(e,t){for(var n=he(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function ye(e){return function(){pe(this,e)}}function ve(e){return function(){me(this,e)}}function ge(e,t){return function(){(t.apply(this,arguments)?pe:me)(this,e)}}function _e(){this.textContent=""}function we(e){return function(){this.textContent=e}}function be(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function Ae(){this.innerHTML=""}function ke(e){return function(){this.innerHTML=e}}function Me(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function xe(){this.nextSibling&&this.parentNode.appendChild(this)}function Se(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Le(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===J&&t.documentElement.namespaceURI===J?t.createElement(e):t.createElementNS(n,e)}}function Te(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}fe.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var De=function(e){var t=K(e);return(t.local?Te:Le)(t)};function Ee(){return null}function Ce(){var e=this.parentNode;e&&e.removeChild(this)}function Ye(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Pe(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}var Oe={},Ie=null;function Re(e,t,n){return e=Ne(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function Ne(e,t,n){return function(r){var i=Ie;Ie=r;try{e.call(this,this.__data__,t,n)}finally{Ie=i}}}function Fe(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}function je(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r<a;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?t.length=i:delete this.__on}}}function Be(e,t,n){var r=Oe.hasOwnProperty(e.type)?Re:Ne;return function(i,a,o){var s,l=this.__on,c=r(t,a,o);if(l)for(var u=0,d=l.length;u<d;++u)if((s=l[u]).type===e.type&&s.name===e.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=n),void(s.value=t);this.addEventListener(e.type,c,n),s={type:e.type,name:e.name,value:t,listener:c,capture:n},l?l.push(s):this.__on=[s]}}function He(e,t,n,r){var i=Ie;e.sourceEvent=Ie,Ie=e;try{return t.apply(n,r)}finally{Ie=i}}function We(e,t,n){var r=re(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function ze(e,t){return function(){return We(this,e,t)}}function Ue(e,t){return function(){return We(this,e,t.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Oe={mouseenter:"mouseover",mouseleave:"mouseout"}));var Ve=[null];function Ge(e,t){this._groups=e,this._parents=t}function Qe(){return new Ge([[document.documentElement]],Ve)}Ge.prototype=Qe.prototype={constructor:Ge,select:function(e){"function"!=typeof e&&(e=j(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o,s=t[i],l=s.length,c=r[i]=new Array(l),u=0;u<l;++u)(a=s[u])&&(o=e.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),c[u]=o);return new Ge(r,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=H(e));for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o,s=t[a],l=s.length,c=0;c<l;++c)(o=s[c])&&(r.push(e.call(o,o.__data__,c,s)),i.push(o));return new Ge(r,i)},filter:function(e){"function"!=typeof e&&(e=W(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new Ge(r,this._parents)},data:function(e,t){if(!e)return p=new Array(this.size()),u=-1,this.each((function(e){p[++u]=e})),p;var n,r=t?G:V,i=this._parents,a=this._groups;"function"!=typeof e&&(n=e,e=function(){return n});for(var o=a.length,s=new Array(o),l=new Array(o),c=new Array(o),u=0;u<o;++u){var d=i[u],h=a[u],f=h.length,p=e.call(d,d&&d.__data__,u,i),m=p.length,y=l[u]=new Array(m),v=s[u]=new Array(m);r(d,h,y,v,c[u]=new Array(f),p,t);for(var g,_,w=0,b=0;w<m;++w)if(g=y[w]){for(w>=b&&(b=w+1);!(_=v[b])&&++b<m;);g._next=_||null}}return(s=new Ge(s,i))._enter=l,s._exit=c,s},enter:function(){return new Ge(this._enter||this._groups.map(z),this._parents)},exit:function(){return new Ge(this._exit||this._groups.map(z),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof e?e(r):r.append(e+""),null!=t&&(i=t(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var l,c=t[s],u=n[s],d=c.length,h=o[s]=new Array(d),f=0;f<d;++f)(l=c[f]||u[f])&&(h[f]=l);for(;s<r;++s)o[s]=t[s];return new Ge(o,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=Q);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,s=n[a],l=s.length,c=i[a]=new Array(l),u=0;u<l;++u)(o=s[u])&&(c[u]=o);c.sort(t)}return new Ge(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),t=-1;return this.each((function(){e[++t]=this})),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){var e=0;return this.each((function(){++e})),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,a=t[n],o=0,s=a.length;o<s;++o)(i=a[o])&&e.call(i,i.__data__,o,a);return this},attr:function(e,t){var n=K(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?Z:X:"function"==typeof t?n.local?ne:te:n.local?ee:$)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?ie:"function"==typeof t?oe:ae)(e,t,null==n?"":n)):se(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?le:"function"==typeof t?ue:ce)(e,t)):this.node()[e]},classed:function(e,t){var n=de(e+"");if(arguments.length<2){for(var r=he(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?ge:t?ye:ve)(n,t))},text:function(e){return arguments.length?this.each(null==e?_e:("function"==typeof e?be:we)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?Ae:("function"==typeof e?Me:ke)(e)):this.node().innerHTML},raise:function(){return this.each(xe)},lower:function(){return this.each(Se)},append:function(e){var t="function"==typeof e?e:De(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:De(e),r=null==t?Ee:"function"==typeof t?t:j(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Ce)},clone:function(e){return this.select(e?Pe:Ye)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,a=Fe(e+""),o=a.length;if(!(arguments.length<2)){for(s=t?Be:je,null==n&&(n=!1),r=0;r<o;++r)this.each(s(a[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?Ue:ze)(e,t))}};var Je=Qe,qe=function(e){return"string"==typeof e?new Ge([[document.querySelector(e)]],[document.documentElement]):new Ge([[e]],Ve)};function Ke(){Ie.stopImmediatePropagation()}var Xe=function(){Ie.preventDefault(),Ie.stopImmediatePropagation()},Ze=function(e){var t=e.document.documentElement,n=qe(e).on("dragstart.drag",Xe,!0);"onselectstart"in t?n.on("selectstart.drag",Xe,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")};function $e(e,t){var n=e.document.documentElement,r=qe(e).on("dragstart.drag",null);t&&(r.on("click.drag",Xe,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var et=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function tt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function nt(){}var rt="\\s*([+-]?\\d+)\\s*",it="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",at="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ot=/^#([0-9a-f]{3,8})$/,st=new RegExp("^rgb\\("+[rt,rt,rt]+"\\)$"),lt=new RegExp("^rgb\\("+[at,at,at]+"\\)$"),ct=new RegExp("^rgba\\("+[rt,rt,rt,it]+"\\)$"),ut=new RegExp("^rgba\\("+[at,at,at,it]+"\\)$"),dt=new RegExp("^hsl\\("+[it,at,at]+"\\)$"),ht=new RegExp("^hsla\\("+[it,at,at,it]+"\\)$"),ft={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function pt(){return this.rgb().formatHex()}function mt(){return this.rgb().formatRgb()}function yt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ot.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?vt(t):3===n?new bt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?gt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?gt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=st.exec(e))?new bt(t[1],t[2],t[3],1):(t=lt.exec(e))?new bt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ct.exec(e))?gt(t[1],t[2],t[3],t[4]):(t=ut.exec(e))?gt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=dt.exec(e))?xt(t[1],t[2]/100,t[3]/100,1):(t=ht.exec(e))?xt(t[1],t[2]/100,t[3]/100,t[4]):ft.hasOwnProperty(e)?vt(ft[e]):"transparent"===e?new bt(NaN,NaN,NaN,0):null}function vt(e){return new bt(e>>16&255,e>>8&255,255&e,1)}function gt(e,t,n,r){return r<=0&&(e=t=n=NaN),new bt(e,t,n,r)}function _t(e){return e instanceof nt||(e=yt(e)),e?new bt((e=e.rgb()).r,e.g,e.b,e.opacity):new bt}function wt(e,t,n,r){return 1===arguments.length?_t(e):new bt(e,t,n,null==r?1:r)}function bt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function At(){return"#"+Mt(this.r)+Mt(this.g)+Mt(this.b)}function kt(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Mt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function xt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Lt(e,t,n,r)}function St(e){if(e instanceof Lt)return new Lt(e.h,e.s,e.l,e.opacity);if(e instanceof nt||(e=yt(e)),!e)return new Lt;if(e instanceof Lt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=l<.5?a+i:2-a-i,o*=60):s=l>0&&l<1?0:o,new Lt(o,s,l,e.opacity)}function Lt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Tt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Dt(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}et(nt,yt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:pt,formatHex:pt,formatHsl:function(){return St(this).formatHsl()},formatRgb:mt,toString:mt}),et(bt,wt,tt(nt,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new bt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new bt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:At,formatHex:At,formatRgb:kt,toString:kt})),et(Lt,(function(e,t,n,r){return 1===arguments.length?St(e):new Lt(e,t,n,null==r?1:r)}),tt(nt,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Lt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Lt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new bt(Tt(e>=240?e-240:e+120,i,r),Tt(e,i,r),Tt(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Et=function(e){return function(){return e}};function Ct(e,t){return function(n){return e+n*t}}function Yt(e){return 1==(e=+e)?Pt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Et(isNaN(t)?n:t)}}function Pt(e,t){var n=t-e;return n?Ct(e,n):Et(isNaN(e)?t:e)}var Ot=function e(t){var n=Yt(t);function r(e,t){var r=n((e=wt(e)).r,(t=wt(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Pt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function It(e){return function(t){var n,r,i=t.length,a=new Array(i),o=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=wt(t[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=e(a),o=e(o),s=e(s),r.opacity=1,function(e){return r.r=a(e),r.g=o(e),r.b=s(e),r+""}}}It((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return Dt((n-r/t)*t,o,i,a,s)}})),It((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],a=e[r%t],o=e[(r+1)%t],s=e[(r+2)%t];return Dt((n-r/t)*t,i,a,o,s)}}));var Rt=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}},Nt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ft=new RegExp(Nt.source,"g"),jt=function(e,t){var n,r,i,a=Nt.lastIndex=Ft.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(n=Nt.exec(e))&&(r=Ft.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:Rt(n,r)})),a=Ft.lastIndex;return a<t.length&&(i=t.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})},Bt=function(){for(var e,t=Ie;e=t.sourceEvent;)t=e;return t},Ht=function(e,t){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]},Wt=function(e,t,n){arguments.length<3&&(n=t,t=Bt().changedTouches);for(var r,i=0,a=t?t.length:0;i<a;++i)if((r=t[i]).identifier===n)return Ht(e,r);return null},zt=function(e){var t=Bt();return t.changedTouches&&(t=t.changedTouches[0]),Ht(e,t)};function Ut(e){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Vt,Gt,Qt=0,Jt=0,qt=0,Kt=0,Xt=0,Zt=0,$t="object"===("undefined"==typeof performance?"undefined":Ut(performance))&&performance.now?performance:Date,en="object"===("undefined"==typeof window?"undefined":Ut(window))&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function tn(){return Xt||(en(nn),Xt=$t.now()+Zt)}function nn(){Xt=0}function rn(){this._call=this._time=this._next=null}function an(e,t,n){var r=new rn;return r.restart(e,t,n),r}function on(){Xt=(Kt=$t.now())+Zt,Qt=Jt=0;try{!function(){tn(),++Qt;for(var e,t=Vt;t;)(e=Xt-t._time)>=0&&t._call.call(null,e),t=t._next;--Qt}()}finally{Qt=0,function(){for(var e,t,n=Vt,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Vt=t);Gt=e,ln(r)}(),Xt=0}}function sn(){var e=$t.now(),t=e-Kt;t>1e3&&(Zt-=t,Kt=e)}function ln(e){Qt||(Jt&&(Jt=clearTimeout(Jt)),e-Xt>24?(e<1/0&&(Jt=setTimeout(on,e-$t.now()-Zt)),qt&&(qt=clearInterval(qt))):(qt||(Kt=$t.now(),qt=setInterval(sn,1e3)),Qt=1,en(on)))}rn.prototype=an.prototype={constructor:rn,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?tn():+n)+(null==t?0:+t),this._next||Gt===this||(Gt?Gt._next=this:Vt=this,Gt=this),this._call=e,this._time=n,ln()},stop:function(){this._call&&(this._call=null,this._time=1/0,ln())}};var cn=function(e,t,n){var r=new rn;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r},un=N("start","end","cancel","interrupt"),dn=[],hn=function(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(l){var c,u,d,h;if(1!==n.state)return s();for(c in i)if((h=i[c]).name===n.name){if(3===h.state)return cn(a);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[c]):+c<t&&(h.state=6,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete i[c])}if(cn((function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(l))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(h=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=h);r.length=u+1}}function o(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),n.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=an((function(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}),0,n.time)}(e,n,{name:t,index:r,group:i,on:un,tween:dn,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})};function fn(e,t){var n=mn(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function pn(e,t){var n=mn(e,t);if(n.state>3)throw new Error("too late; already running");return n}function mn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}var yn,vn,gn,_n,wn=function(e,t){var n,r,i,a=e.__transition,o=!0;if(a){for(i in t=null==t?null:t+"",a)(n=a[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete e.__transition}},bn=180/Math.PI,An={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},kn=function(e,t,n,r,i,a){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*bn,skewX:Math.atan(l)*bn,scaleX:o,scaleY:s}};function Mn(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(a,o){var s=[],l=[];return a=e(a),o=e(o),function(e,r,i,a,o,s){if(e!==i||r!==a){var l=o.push("translate(",null,t,null,n);s.push({i:l-4,x:Rt(e,i)},{i:l-2,x:Rt(r,a)})}else(i||a)&&o.push("translate("+i+t+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Rt(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(a.rotate,o.rotate,s,l),function(e,t,n,a){e!==t?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Rt(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(a.skewX,o.skewX,s,l),function(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Rt(e,n)},{i:s-2,x:Rt(t,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var xn=Mn((function(e){return"none"===e?An:(yn||(yn=document.createElement("DIV"),vn=document.documentElement,gn=document.defaultView),yn.style.transform=e,e=gn.getComputedStyle(vn.appendChild(yn),null).getPropertyValue("transform"),vn.removeChild(yn),e=e.slice(7,-1).split(","),kn(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}),"px, ","px)","deg)"),Sn=Mn((function(e){return null==e?An:(_n||(_n=document.createElementNS("http://www.w3.org/2000/svg","g")),_n.setAttribute("transform",e),(e=_n.transform.baseVal.consolidate())?(e=e.matrix,kn(e.a,e.b,e.c,e.d,e.e,e.f)):An)}),", ",")",")");function Ln(e,t){var n,r;return function(){var i=pn(this,e),a=i.tween;if(a!==n)for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}i.tween=r}}function Tn(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=pn(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}a.tween=i}}function Dn(e,t,n){var r=e._id;return e.each((function(){var e=pn(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return mn(e,r).value[t]}}var En=function(e,t){var n;return("number"==typeof t?Rt:t instanceof yt?Ot:(n=yt(t))?(t=n,Ot):jt)(e,t)};function Cn(e){return function(){this.removeAttribute(e)}}function Yn(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Pn(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?i:i=t(r=o,n)}}function On(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?i:i=t(r=o,n)}}function In(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttribute(e))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttribute(e)}}function Rn(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}function Nn(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Fn(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function jn(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Fn(e,i)),n}return i._value=t,i}function Bn(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Nn(e,i)),n}return i._value=t,i}function Hn(e,t){return function(){fn(this,e).delay=+t.apply(this,arguments)}}function Wn(e,t){return t=+t,function(){fn(this,e).delay=t}}function zn(e,t){return function(){pn(this,e).duration=+t.apply(this,arguments)}}function Un(e,t){return t=+t,function(){pn(this,e).duration=t}}function Vn(e,t){if("function"!=typeof t)throw new Error;return function(){pn(this,e).ease=t}}function Gn(e,t,n){var r,i,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?fn:pn;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}var Qn=Je.prototype.constructor;function Jn(e){return function(){this.style.removeProperty(e)}}function qn(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function Kn(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&qn(e,a,n)),r}return a._value=t,a}function Xn(e){return function(t){this.textContent=e.call(this,t)}}function Zn(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&Xn(r)),t}return r._value=e,r}var $n=0;function er(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function tr(){return++$n}var nr=Je.prototype;er.prototype=function(e){return Je().transition(e)}.prototype={constructor:er,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=j(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s,l,c=r[o],u=c.length,d=a[o]=new Array(u),h=0;h<u;++h)(s=c[h])&&(l=e.call(s,s.__data__,h,c))&&("__data__"in s&&(l.__data__=s.__data__),d[h]=l,hn(d[h],t,n,h,d,mn(s,n)));return new er(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=H(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var h,f=e.call(l,l.__data__,d,c),p=mn(l,n),m=0,y=f.length;m<y;++m)(h=f[m])&&hn(h,t,n,m,f,p);a.push(f),o.push(l)}return new er(a,o,t,n)},filter:function(e){"function"!=typeof e&&(e=W(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new er(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var l,c=t[s],u=n[s],d=c.length,h=o[s]=new Array(d),f=0;f<d;++f)(l=c[f]||u[f])&&(h[f]=l);for(;s<r;++s)o[s]=t[s];return new er(o,this._parents,this._name,this._id)},selection:function(){return new Qn(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=tr(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)if(o=s[c]){var u=mn(o,t);hn(o,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new er(r,this._parents,e,n)},call:nr.call,nodes:nr.nodes,node:nr.node,size:nr.size,empty:nr.empty,each:nr.each,on:function(e,t){var n=this._id;return arguments.length<2?mn(this.node(),n).on.on(e):this.each(Gn(n,e,t))},attr:function(e,t){var n=K(e),r="transform"===n?Sn:En;return this.attrTween(e,"function"==typeof t?(n.local?Rn:In)(n,r,Dn(this,"attr."+e,t)):null==t?(n.local?Yn:Cn)(n):(n.local?On:Pn)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=K(e);return this.tween(n,(r.local?jn:Bn)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?xn:En;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var a=se(this,e),o=(this.style.removeProperty(e),se(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}(e,r)).on("end.style."+e,Jn(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,a;return function(){var o=se(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=se(this,e)),o===l?null:o===r&&l===i?a:(i=l,a=t(r=o,s))}}(e,r,Dn(this,"style."+e,t))).each(function(e,t){var n,r,i,a,o="style."+t,s="end."+o;return function(){var l=pn(this,e),c=l.on,u=null==l.value[o]?a||(a=Jn(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,a=n+"";return function(){var o=se(this,e);return o===a?null:o===r?i:i=t(r=o,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,Kn(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(Dn(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,Zn(e))},remove:function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=mn(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?Ln:Tn)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Hn:Wn)(t,e)):mn(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?zn:Un)(t,e)):mn(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(Vn(t,e)):mn(this.node(),t).ease},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--i&&a()}};n.each((function(){var n=pn(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t}))}))}};var rr={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function ir(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return rr.time=tn(),rr;return n}function ar(e){return{type:e}}Je.prototype.interrupt=function(e){return this.each((function(){wn(this,e)}))},Je.prototype.transition=function(e){var t,n;e instanceof er?(t=e._id,e=e._name):(t=tr(),(n=rr).time=tn(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)(o=s[c])&&hn(o,e,t,c,s,n||ir(o,t));return new er(r,this._parents,e,t)},["w","e"].map(ar),["n","s"].map(ar),["n","w","e","s","nw","ne","sw","se"].map(ar),Math.cos,Math.sin,Math.PI,Math.max,Array.prototype.slice;var or=Math.PI,sr=2*or,lr=sr-1e-6;function cr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function ur(){return new cr}function dr(){}function hr(e,t){var n=new dr;if(e instanceof dr)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,i=-1,a=e.length;if(null==t)for(;++i<a;)n.set(i,e[i]);else for(;++i<a;)n.set(t(r=e[i],i,e),r)}else if(e)for(var o in e)n.set(o,e[o]);return n}cr.prototype=ur.prototype={constructor:cr,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,s=n-e,l=r-t,c=a-e,u=o-t,d=c*c+u*u;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>1e-6)if(Math.abs(u*s-l*c)>1e-6&&i){var h=n-a,f=r-o,p=s*s+l*l,m=h*h+f*f,y=Math.sqrt(p),v=Math.sqrt(d),g=i*Math.tan((or-Math.acos((p+d-m)/(2*y*v)))/2),_=g/v,w=g/y;Math.abs(_-1)>1e-6&&(this._+="L"+(e+_*c)+","+(t+_*u)),this._+="A"+i+","+i+",0,0,"+ +(u*h>c*f)+","+(this._x1=e+w*s)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,i,a){e=+e,t=+t,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=e+o,c=t+s,u=1^a,d=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(d<0&&(d=d%sr+sr),d>lr?this._+="A"+n+","+n+",0,1,"+u+","+(e-o)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=or)+","+u+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},dr.prototype=hr.prototype={constructor:dr,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var fr=hr;function pr(){}var mr=fr.prototype;function yr(e,t){var n=new pr;if(e instanceof pr)e.each((function(e){n.add(e)}));else if(e){var r=-1,i=e.length;if(null==t)for(;++r<i;)n.add(e[r]);else for(;++r<i;)n.add(t(e[r],r,e))}return n}pr.prototype=yr.prototype={constructor:pr,has:mr.has,add:function(e){return this["$"+(e+="")]=e,this},remove:mr.remove,clear:mr.clear,values:mr.keys,size:mr.size,empty:mr.empty,each:mr.each},Array.prototype.slice;var vr=function(e){return function(){return e}};function gr(e,t,n,r,i,a,o,s,l,c){this.target=e,this.type=t,this.subject=n,this.identifier=r,this.active=i,this.x=a,this.y=o,this.dx=s,this.dy=l,this._=c}function _r(){return!Ie.ctrlKey&&!Ie.button}function wr(){return this.parentNode}function br(e){return null==e?{x:Ie.x,y:Ie.y}:e}function Ar(){return navigator.maxTouchPoints||"ontouchstart"in this}function kr(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,a,o,s,l,c,u,d,h,f=e._root,p={data:r},m=e._x0,y=e._y0,v=e._x1,g=e._y1;if(!f)return e._root=p,e;for(;f.length;)if((c=t>=(a=(m+v)/2))?m=a:v=a,(u=n>=(o=(y+g)/2))?y=o:g=o,i=f,!(f=f[d=u<<1|c]))return i[d]=p,e;if(s=+e._x.call(null,f.data),l=+e._y.call(null,f.data),t===s&&n===l)return p.next=f,i?i[d]=p:e._root=p,e;do{i=i?i[d]=new Array(4):e._root=new Array(4),(c=t>=(a=(m+v)/2))?m=a:v=a,(u=n>=(o=(y+g)/2))?y=o:g=o}while((d=u<<1|c)==(h=(l>=o)<<1|s>=a));return i[h]=f,i[d]=p,e}gr.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var Mr=function(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i};function xr(e){return e[0]}function Sr(e){return e[1]}function Lr(e,t,n){var r=new Tr(null==t?xr:t,null==n?Sr:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function Tr(e,t,n,r,i,a){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Dr(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var Er=Lr.prototype=Tr.prototype;Er.copy=function(){var e,t,n=new Tr(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Dr(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=Dr(t));return n},Er.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return kr(this.cover(t,n),t,n,e)},Er.addAll=function(e){var t,n,r,i,a=e.length,o=new Array(a),s=new Array(a),l=1/0,c=1/0,u=-1/0,d=-1/0;for(n=0;n<a;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(o[n]=r,s[n]=i,r<l&&(l=r),r>u&&(u=r),i<c&&(c=i),i>d&&(d=i));if(l>u||c>d)return this;for(this.cover(l,c).cover(u,d),n=0;n<a;++n)kr(this,o[n],s[n],e[n]);return this},Er.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,a=(r=Math.floor(t))+1;else{for(var o,s,l=i-n,c=this._root;n>e||e>=i||r>t||t>=a;)switch(s=(t<r)<<1|e<n,(o=new Array(4))[s]=c,c=o,l*=2,s){case 0:i=n+l,a=r+l;break;case 1:n=i-l,a=r+l;break;case 2:i=n+l,r=a-l;break;case 3:n=i-l,r=a-l}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this},Er.data=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},Er.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Er.find=function(e,t,n){var r,i,a,o,s,l,c,u=this._x0,d=this._y0,h=this._x1,f=this._y1,p=[],m=this._root;for(m&&p.push(new Mr(m,u,d,h,f)),null==n?n=1/0:(u=e-n,d=t-n,h=e+n,f=t+n,n*=n);l=p.pop();)if(!(!(m=l.node)||(i=l.x0)>h||(a=l.y0)>f||(o=l.x1)<u||(s=l.y1)<d))if(m.length){var y=(i+o)/2,v=(a+s)/2;p.push(new Mr(m[3],y,v,o,s),new Mr(m[2],i,v,y,s),new Mr(m[1],y,a,o,v),new Mr(m[0],i,a,y,v)),(c=(t>=v)<<1|e>=y)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var g=e-+this._x.call(null,m.data),_=t-+this._y.call(null,m.data),w=g*g+_*_;if(w<n){var b=Math.sqrt(n=w);u=e-b,d=t-b,h=e+b,f=t+b,r=m.data}}return r},Er.remove=function(e){if(isNaN(a=+this._x.call(null,e))||isNaN(o=+this._y.call(null,e)))return this;var t,n,r,i,a,o,s,l,c,u,d,h,f=this._root,p=this._x0,m=this._y0,y=this._x1,v=this._y1;if(!f)return this;if(f.length)for(;;){if((c=a>=(s=(p+y)/2))?p=s:y=s,(u=o>=(l=(m+v)/2))?m=l:v=l,t=f,!(f=f[d=u<<1|c]))return this;if(!f.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,h=d)}for(;f.data!==e;)if(r=f,!(f=f.next))return this;return(i=f.next)&&delete f.next,r?(i?r.next=i:delete r.next,this):t?(i?t[d]=i:delete t[d],(f=t[0]||t[1]||t[2]||t[3])&&f===(t[3]||t[2]||t[1]||t[0])&&!f.length&&(n?n[h]=f:this._root=f),this):(this._root=i,this)},Er.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},Er.root=function(){return this._root},Er.size=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},Er.visit=function(e){var t,n,r,i,a,o,s=[],l=this._root;for(l&&s.push(new Mr(l,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(l=t.node,r=t.x0,i=t.y0,a=t.x1,o=t.y1)&&l.length){var c=(r+a)/2,u=(i+o)/2;(n=l[3])&&s.push(new Mr(n,c,u,a,o)),(n=l[2])&&s.push(new Mr(n,r,u,c,o)),(n=l[1])&&s.push(new Mr(n,c,i,a,u)),(n=l[0])&&s.push(new Mr(n,r,i,c,u))}return this},Er.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new Mr(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i=t.node;if(i.length){var a,o=t.x0,s=t.y0,l=t.x1,c=t.y1,u=(o+l)/2,d=(s+c)/2;(a=i[0])&&n.push(new Mr(a,o,s,u,d)),(a=i[1])&&n.push(new Mr(a,u,s,l,d)),(a=i[2])&&n.push(new Mr(a,o,d,u,c)),(a=i[3])&&n.push(new Mr(a,u,d,l,c))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},Er.x=function(e){return arguments.length?(this._x=e,this):this._x},Er.y=function(e){return arguments.length?(this._y=e,this):this._y},Math.PI,Math.sqrt(5);var Cr=function(){return Math.random()},Yr=(function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(Cr),function e(t){function n(e,n){var r,i;return e=null==e?0:+e,n=null==n?1:+n,function(){var a;if(null!=r)a=r,r=null;else do{r=2*t()-1,a=2*t()-1,i=r*r+a*a}while(!i||i>1);return e+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(Cr)),Pr=(function e(t){function n(){var e=Yr.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(Cr),function e(t){function n(e){return function(){for(var n=0,r=0;r<e;++r)n+=t();return n}}return n.source=e,n}(Cr));(function e(t){function n(e){var n=Pr.source(t)(e);return function(){return n()/e}}return n.source=e,n})(Cr),function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(Cr);var Or=Array.prototype;Or.map,Or.slice;var Ir=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rr(e){if(!(t=Ir.exec(e)))throw new Error("invalid format: "+e);var t;return new Nr({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Nr(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Fr(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Rr.prototype=Nr.prototype,Nr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var jr,Br,Hr=function(e){return(e=Fr(Math.abs(e)))?e[1]:NaN},Wr=function(e,t){var n=Fr(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},zr={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Wr(100*e,t)},r:Wr,s:function(e,t){var n=Fr(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(jr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Fr(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Ur=function(e){return e},Vr=Array.prototype.map,Gr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Br=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ur:(t=Vr.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Ur:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Vr.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Rr(e)).fill,n=e.align,d=e.sign,h=e.symbol,f=e.zero,p=e.width,m=e.comma,y=e.precision,v=e.trim,g=e.type;"n"===g?(m=!0,g="g"):zr[g]||(void 0===y&&(y=12),v=!0,g="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var _="$"===h?i:"#"===h&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===h?a:/[%p]/.test(g)?l:"",b=zr[g],A=/[defgprs%]/.test(g);function k(e){var i,a,l,h=_,k=w;if("c"===g)k=b(e)+k,e="";else{var M=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:b(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==d&&(M=!1),h=(M?"("===d?d:c:"-"===d||"("===d?"":d)+h,k=("s"===g?Gr[8+jr/3]:"")+k+(M&&"("===d?")":""),A)for(i=-1,a=e.length;++i<a;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?o+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}m&&!f&&(e=r(e,1/0));var x=h.length+e.length+k.length,S=x<p?new Array(p-x+1).join(t):"";switch(m&&f&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=h+e+k+S;break;case"=":e=h+S+e+k;break;case"^":e=S.slice(0,x=S.length>>1)+h+e+k+S.slice(x);break;default:e=S+h+e+k}return s(e)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=Rr(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Hr(t)/3))),i=Math.pow(10,-r),a=Gr[8+r/3];return function(e){return n(i*e)+a}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Br.format,Br.formatPrefix;var Qr=new Date,Jr=new Date;function qr(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do{s.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return s},i.filter=function(n){return qr((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Qr.setTime(+t),Jr.setTime(+r),e(Qr),e(Jr),Math.floor(n(Qr,Jr))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var Kr=qr((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Kr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?qr((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Xr=Kr,Zr=(Kr.range,qr((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})));function $r(e){return qr((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}Zr.range;var ei=$r(0),ti=$r(1),ni=$r(2),ri=$r(3),ii=$r(4),ai=$r(5),oi=$r(6),si=(ei.range,ti.range,ni.range,ri.range,ii.range,ai.range,oi.range,qr((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5}),(function(e){return e.getDate()-1}))),li=si,ci=(si.range,qr((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))),ui=(ci.range,qr((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getMinutes()}))),di=(ui.range,qr((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))),hi=(di.range,qr((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));function fi(e){return qr((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/6048e5}))}hi.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?qr((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):hi:null},hi.range;var pi=fi(0),mi=fi(1),yi=fi(2),vi=fi(3),gi=fi(4),_i=fi(5),wi=fi(6),bi=(pi.range,mi.range,yi.range,vi.range,gi.range,_i.range,wi.range,qr((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),Ai=bi,ki=(bi.range,qr((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));ki.every=function(e){return isFinite(e=Math.floor(e))&&e>0?qr((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var Mi=ki;function xi(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Si(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Li(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}ki.range;var Ti,Di={"-":"",_:" ",0:"0"},Ei=/^\s*\d+/,Ci=/^%/,Yi=/[\\^$*+?|[\]().{}]/g;function Pi(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function Oi(e){return e.replace(Yi,"\\$&")}function Ii(e){return new RegExp("^(?:"+e.map(Oi).join("|")+")","i")}function Ri(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Ni(e,t,n){var r=Ei.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Fi(e,t,n){var r=Ei.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function ji(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Bi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Hi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Wi(e,t,n){var r=Ei.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function zi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ui(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Vi(e,t,n){var r=Ei.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Gi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Qi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ji(e,t,n){var r=Ei.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function qi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ki(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Xi(e,t,n){var r=Ei.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Zi(e,t,n){var r=Ei.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function $i(e,t,n){var r=Ei.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ea(e,t,n){var r=Ci.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ta(e,t,n){var r=Ei.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function na(e,t,n){var r=Ei.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function ra(e,t){return Pi(e.getDate(),t,2)}function ia(e,t){return Pi(e.getHours(),t,2)}function aa(e,t){return Pi(e.getHours()%12||12,t,2)}function oa(e,t){return Pi(1+li.count(Xr(e),e),t,3)}function sa(e,t){return Pi(e.getMilliseconds(),t,3)}function la(e,t){return sa(e,t)+"000"}function ca(e,t){return Pi(e.getMonth()+1,t,2)}function ua(e,t){return Pi(e.getMinutes(),t,2)}function da(e,t){return Pi(e.getSeconds(),t,2)}function ha(e){var t=e.getDay();return 0===t?7:t}function fa(e,t){return Pi(ei.count(Xr(e)-1,e),t,2)}function pa(e){var t=e.getDay();return t>=4||0===t?ii(e):ii.ceil(e)}function ma(e,t){return e=pa(e),Pi(ii.count(Xr(e),e)+(4===Xr(e).getDay()),t,2)}function ya(e){return e.getDay()}function va(e,t){return Pi(ti.count(Xr(e)-1,e),t,2)}function ga(e,t){return Pi(e.getFullYear()%100,t,2)}function _a(e,t){return Pi((e=pa(e)).getFullYear()%100,t,2)}function wa(e,t){return Pi(e.getFullYear()%1e4,t,4)}function ba(e,t){var n=e.getDay();return Pi((e=n>=4||0===n?ii(e):ii.ceil(e)).getFullYear()%1e4,t,4)}function Aa(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pi(t/60|0,"0",2)+Pi(t%60,"0",2)}function ka(e,t){return Pi(e.getUTCDate(),t,2)}function Ma(e,t){return Pi(e.getUTCHours(),t,2)}function xa(e,t){return Pi(e.getUTCHours()%12||12,t,2)}function Sa(e,t){return Pi(1+Ai.count(Mi(e),e),t,3)}function La(e,t){return Pi(e.getUTCMilliseconds(),t,3)}function Ta(e,t){return La(e,t)+"000"}function Da(e,t){return Pi(e.getUTCMonth()+1,t,2)}function Ea(e,t){return Pi(e.getUTCMinutes(),t,2)}function Ca(e,t){return Pi(e.getUTCSeconds(),t,2)}function Ya(e){var t=e.getUTCDay();return 0===t?7:t}function Pa(e,t){return Pi(pi.count(Mi(e)-1,e),t,2)}function Oa(e){var t=e.getUTCDay();return t>=4||0===t?gi(e):gi.ceil(e)}function Ia(e,t){return e=Oa(e),Pi(gi.count(Mi(e),e)+(4===Mi(e).getUTCDay()),t,2)}function Ra(e){return e.getUTCDay()}function Na(e,t){return Pi(mi.count(Mi(e)-1,e),t,2)}function Fa(e,t){return Pi(e.getUTCFullYear()%100,t,2)}function ja(e,t){return Pi((e=Oa(e)).getUTCFullYear()%100,t,2)}function Ba(e,t){return Pi(e.getUTCFullYear()%1e4,t,4)}function Ha(e,t){var n=e.getUTCDay();return Pi((e=n>=4||0===n?gi(e):gi.ceil(e)).getUTCFullYear()%1e4,t,4)}function Wa(){return"+0000"}function za(){return"%"}function Ua(e){return+e}function Va(e){return Math.floor(+e/1e3)}!function(e){Ti=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,l=e.shortMonths,c=Ii(i),u=Ri(i),d=Ii(a),h=Ri(a),f=Ii(o),p=Ri(o),m=Ii(s),y=Ri(s),v=Ii(l),g=Ri(l),_={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:ra,e:ra,f:la,g:_a,G:ba,H:ia,I:aa,j:oa,L:sa,m:ca,M:ua,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ua,s:Va,S:da,u:ha,U:fa,V:ma,w:ya,W:va,x:null,X:null,y:ga,Y:wa,Z:Aa,"%":za},w={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:ka,e:ka,f:Ta,g:ja,G:Ha,H:Ma,I:xa,j:Sa,L:La,m:Da,M:Ea,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ua,s:Va,S:Ca,u:Ya,U:Pa,V:Ia,w:Ra,W:Na,x:null,X:null,y:Fa,Y:Ba,Z:Wa,"%":za},b={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return M(e,t,n,r)},d:Qi,e:Qi,f:$i,g:zi,G:Wi,H:qi,I:qi,j:Ji,L:Zi,m:Gi,M:Ki,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},q:Vi,Q:ta,s:na,S:Xi,u:Fi,U:ji,V:Bi,w:Ni,W:Hi,x:function(e,t,r){return M(e,n,t,r)},X:function(e,t,n){return M(e,r,t,n)},y:zi,Y:Wi,Z:Ui,"%":ea};function A(e,t){return function(n){var r,i,a,o=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(l,s)),null!=(i=Di[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),l=s+1);return o.push(e.slice(l,s)),o.join("")}}function k(e,t){return function(n){var r,i,a=Li(1900,void 0,1);if(M(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(t&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=Si(Li(a.y,0,1))).getUTCDay(),r=i>4||0===i?mi.ceil(r):mi(r),r=Ai.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=xi(Li(a.y,0,1))).getDay(),r=i>4||0===i?ti.ceil(r):ti(r),r=li.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?Si(Li(a.y,0,1)).getUTCDay():xi(Li(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Si(a)):xi(a)}}function M(e,t,n,r){for(var i,a,o=0,s=t.length,l=n.length;o<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=b[i in Di?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=A(n,_),_.X=A(r,_),_.c=A(t,_),w.x=A(n,w),w.X=A(r,w),w.c=A(t,w),{format:function(e){var t=A(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=A(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),Ti.format,Ti.parse,Ti.utcFormat,Ti.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Ga=qr((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),Qa=(Ga.range,qr((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()}))),Ja=(Qa.range,qr((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getUTCMinutes()})));function qa(){this._=null}function Ka(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Xa(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Za(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function $a(e){for(;e.L;)e=e.L;return e}Ja.range,qa.prototype={constructor:qa,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=$a(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(Xa(this,n),n=(e=n).U),n.C=!1,r.C=!0,Za(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(Za(this,n),n=(e=n).U),n.C=!1,r.C=!0,Xa(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,a=e.L,o=e.R;if(n=a?o?$a(o):a:o,i?i.L===e?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=e.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=o,o.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,Xa(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Za(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,Xa(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,Za(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Xa(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,Za(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};var eo=qa;function to(e,t,n,r){var i=[null,null],a=So.push(i)-1;return i.left=e,i.right=t,n&&ro(i,e,t,n),r&&ro(i,t,e,r),Mo[e.index].halfedges.push(a),Mo[t.index].halfedges.push(a),i}function no(e,t,n){var r=[t,n];return r.left=e,r}function ro(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function io(e,t,n,r,i){var a,o=e[0],s=e[1],l=o[0],c=o[1],u=0,d=1,h=s[0]-l,f=s[1]-c;if(a=t-l,h||!(a>0)){if(a/=h,h<0){if(a<u)return;a<d&&(d=a)}else if(h>0){if(a>d)return;a>u&&(u=a)}if(a=r-l,h||!(a<0)){if(a/=h,h<0){if(a>d)return;a>u&&(u=a)}else if(h>0){if(a<u)return;a<d&&(d=a)}if(a=n-c,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<d&&(d=a)}else if(f>0){if(a>d)return;a>u&&(u=a)}if(a=i-c,f||!(a<0)){if(a/=f,f<0){if(a>d)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<d&&(d=a)}return!(u>0||d<1)||(u>0&&(e[0]=[l+u*h,c+u*f]),d<1&&(e[1]=[l+d*h,c+d*f]),!0)}}}}}function ao(e,t,n,r,i){var a=e[1];if(a)return!0;var o,s,l=e[0],c=e.left,u=e.right,d=c[0],h=c[1],f=u[0],p=u[1],m=(d+f)/2,y=(h+p)/2;if(p===h){if(m<t||m>=r)return;if(d>f){if(l){if(l[1]>=i)return}else l=[m,n];a=[m,i]}else{if(l){if(l[1]<n)return}else l=[m,i];a=[m,n]}}else if(s=y-(o=(d-f)/(p-h))*m,o<-1||o>1)if(d>f){if(l){if(l[1]>=i)return}else l=[(n-s)/o,n];a=[(i-s)/o,i]}else{if(l){if(l[1]<n)return}else l=[(i-s)/o,i];a=[(n-s)/o,n]}else if(h<p){if(l){if(l[0]>=r)return}else l=[t,o*t+s];a=[r,o*r+s]}else{if(l){if(l[0]<t)return}else l=[r,o*r+s];a=[t,o*t+s]}return e[0]=l,e[1]=a,!0}function oo(e,t){var n=e.site,r=t.left,i=t.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=t[1],i=t[0]):(r=t[0],i=t[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function so(e,t){return t[+(t.left!==e.site)]}function lo(e,t){return t[+(t.left===e.site)]}var co,uo=[];function ho(){Ka(this),this.x=this.y=this.arc=this.site=this.cy=null}function fo(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,a=n.site;if(r!==a){var o=i[0],s=i[1],l=r[0]-o,c=r[1]-s,u=a[0]-o,d=a[1]-s,h=2*(l*d-c*u);if(!(h>=-To)){var f=l*l+c*c,p=u*u+d*d,m=(d*f-c*p)/h,y=(l*p-u*f)/h,v=uo.pop()||new ho;v.arc=e,v.site=i,v.x=m+o,v.y=(v.cy=y+s)+Math.sqrt(m*m+y*y),e.circle=v;for(var g=null,_=xo._;_;)if(v.y<_.y||v.y===_.y&&v.x<=_.x){if(!_.L){g=_.P;break}_=_.L}else{if(!_.R){g=_;break}_=_.R}xo.insert(g,v),g||(co=v)}}}}function po(e){var t=e.circle;t&&(t.P||(co=t.N),xo.remove(t),uo.push(t),Ka(t),e.circle=null)}var mo=[];function yo(){Ka(this),this.edge=this.site=this.circle=null}function vo(e){var t=mo.pop()||new yo;return t.site=e,t}function go(e){po(e),ko.remove(e),mo.push(e),Ka(e)}function _o(e){var t=e.circle,n=t.x,r=t.cy,i=[n,r],a=e.P,o=e.N,s=[e];go(e);for(var l=a;l.circle&&Math.abs(n-l.circle.x)<Lo&&Math.abs(r-l.circle.cy)<Lo;)a=l.P,s.unshift(l),go(l),l=a;s.unshift(l),po(l);for(var c=o;c.circle&&Math.abs(n-c.circle.x)<Lo&&Math.abs(r-c.circle.cy)<Lo;)o=c.N,s.push(c),go(c),c=o;s.push(c),po(c);var u,d=s.length;for(u=1;u<d;++u)c=s[u],l=s[u-1],ro(c.edge,l.site,c.site,i);l=s[0],(c=s[d-1]).edge=to(l.site,c.site,null,i),fo(l),fo(c)}function wo(e){for(var t,n,r,i,a=e[0],o=e[1],s=ko._;s;)if((r=bo(s,o)-a)>Lo)s=s.L;else{if(!((i=a-Ao(s,o))>Lo)){r>-Lo?(t=s.P,n=s):i>-Lo?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}!function(e){Mo[e.index]={site:e,halfedges:[]}}(e);var l=vo(e);if(ko.insert(t,l),t||n){if(t===n)return po(t),n=vo(t.site),ko.insert(l,n),l.edge=n.edge=to(t.site,l.site),fo(t),void fo(n);if(n){po(t),po(n);var c=t.site,u=c[0],d=c[1],h=e[0]-u,f=e[1]-d,p=n.site,m=p[0]-u,y=p[1]-d,v=2*(h*y-f*m),g=h*h+f*f,_=m*m+y*y,w=[(y*g-f*_)/v+u,(h*_-m*g)/v+d];ro(n.edge,c,p,w),l.edge=to(c,e,null,w),n.edge=to(e,p,null,w),fo(t),fo(n)}else l.edge=to(t.site,l.site)}}function bo(e,t){var n=e.site,r=n[0],i=n[1],a=i-t;if(!a)return r;var o=e.P;if(!o)return-1/0;var s=(n=o.site)[0],l=n[1],c=l-t;if(!c)return s;var u=s-r,d=1/a-1/c,h=u/c;return d?(-h+Math.sqrt(h*h-2*d*(u*u/(-2*c)-l+c/2+i-a/2)))/d+r:(r+s)/2}function Ao(e,t){var n=e.N;if(n)return bo(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var ko,Mo,xo,So,Lo=1e-6,To=1e-12;function Do(e,t){return t[1]-e[1]||t[0]-e[0]}function Eo(e,t){var n,r,i,a=e.sort(Do).pop();for(So=[],Mo=new Array(e.length),ko=new eo,xo=new eo;;)if(i=co,a&&(!i||a[1]<i.y||a[1]===i.y&&a[0]<i.x))a[0]===n&&a[1]===r||(wo(a),n=a[0],r=a[1]),a=e.pop();else{if(!i)break;_o(i.arc)}if(function(){for(var e,t,n,r,i=0,a=Mo.length;i<a;++i)if((e=Mo[i])&&(r=(t=e.halfedges).length)){var o=new Array(r),s=new Array(r);for(n=0;n<r;++n)o[n]=n,s[n]=oo(e,So[t[n]]);for(o.sort((function(e,t){return s[t]-s[e]})),n=0;n<r;++n)s[n]=t[o[n]];for(n=0;n<r;++n)t[n]=s[n]}}(),t){var o=+t[0][0],s=+t[0][1],l=+t[1][0],c=+t[1][1];!function(e,t,n,r){for(var i,a=So.length;a--;)ao(i=So[a],e,t,n,r)&&io(i,e,t,n,r)&&(Math.abs(i[0][0]-i[1][0])>Lo||Math.abs(i[0][1]-i[1][1])>Lo)||delete So[a]}(o,s,l,c),function(e,t,n,r){var i,a,o,s,l,c,u,d,h,f,p,m,y=Mo.length,v=!0;for(i=0;i<y;++i)if(a=Mo[i]){for(o=a.site,s=(l=a.halfedges).length;s--;)So[l[s]]||l.splice(s,1);for(s=0,c=l.length;s<c;)p=(f=lo(a,So[l[s]]))[0],m=f[1],d=(u=so(a,So[l[++s%c]]))[0],h=u[1],(Math.abs(p-d)>Lo||Math.abs(m-h)>Lo)&&(l.splice(s,0,So.push(no(o,f,Math.abs(p-e)<Lo&&r-m>Lo?[e,Math.abs(d-e)<Lo?h:r]:Math.abs(m-r)<Lo&&n-p>Lo?[Math.abs(h-r)<Lo?d:n,r]:Math.abs(p-n)<Lo&&m-t>Lo?[n,Math.abs(d-n)<Lo?h:t]:Math.abs(m-t)<Lo&&p-e>Lo?[Math.abs(h-t)<Lo?d:e,t]:null))-1),++c);c&&(v=!1)}if(v){var g,_,w,b=1/0;for(i=0,v=null;i<y;++i)(a=Mo[i])&&(w=(g=(o=a.site)[0]-e)*g+(_=o[1]-t)*_)<b&&(b=w,v=a);if(v){var A=[e,t],k=[e,r],M=[n,r],x=[n,t];v.halfedges.push(So.push(no(o=v.site,A,k))-1,So.push(no(o,k,M))-1,So.push(no(o,M,x))-1,So.push(no(o,x,A))-1)}}for(i=0;i<y;++i)(a=Mo[i])&&(a.halfedges.length||delete Mo[i])}(o,s,l,c)}this.edges=So,this.cells=Mo,ko=xo=So=Mo=null}function Co(e,t,n){this.k=e,this.x=t,this.y=n}function Yo(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n}function Po(e){return Yo(e,2)}Eo.prototype={constructor:Eo,polygons:function(){var e=this.edges;return this.cells.map((function(t){var n=t.halfedges.map((function(n){return so(t,e[n])}));return n.data=t.site.data,n}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(n,r){if(a=(i=n.halfedges).length)for(var i,a,o,s,l,c,u=n.site,d=-1,h=t[i[a-1]],f=h.left===u?h.right:h.left;++d<a;)o=f,f=(h=t[i[d]]).left===u?h.right:h.left,o&&f&&r<o.index&&r<f.index&&(l=o,c=f,((s=u)[0]-c[0])*(l[1]-s[1])-(s[0]-l[0])*(c[1]-s[1])<0)&&e.push([u.data,o.data,f.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,n){for(var r,i,a=this,o=a._found||0,s=a.cells.length;!(i=a.cells[o]);)if(++o>=s)return null;var l=e-i.site[0],c=t-i.site[1],u=l*l+c*c;do{i=a.cells[r=o],o=null,i.halfedges.forEach((function(n){var r=a.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=e-s[0],c=t-s[1],d=l*l+c*c;d<u&&(u=d,o=s.index)}}))}while(null!==o);return a._found=r,null==n||u<=n*n?i.site:null}},Math.SQRT2,Co.prototype={constructor:Co,scale:function(e){return 1===e?this:new Co(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new Co(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Co(1,0,0),Co.prototype;var Oo=function(e,t){void 0===t&&(t="yyyy-MM-dd hh:mm:ss");var n,r,i,a,o=Po(e.getDate()),s=Po(e.getMonth()+1),l=Po(e.getFullYear()),c=Po(l.substring(2,4)),u=t.indexOf("yyyy")>-1?l:c,d=Po(e.getHours()),h=Po(e.getMinutes()),f=Po(e.getSeconds()),p=Yo(e.getMilliseconds(),3),m=(n=e.getTimezoneOffset(),r=Math.abs(n),i=String(Math.floor(r/60)),a=String(r%60),1===i.length&&(i="0"+i),1===a.length&&(a="0"+a),n<0?"+"+i+a:"-"+i+a);return t.replace(/dd/g,o).replace(/MM/g,s).replace(/y{1,4}/g,u).replace(/hh/g,d).replace(/mm/g,h).replace(/ss/g,f).replace(/SSS/g,p).replace(/O/g,m)};function Io(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ro(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ro(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var No={name:"PlaybackProgressBar",props:{currentTimeProp:{type:Number,required:!0},theme:{type:String}},data:function(){return{width:850,curTimeX:0,dateFormat:Oo,updateMoveLen:null,availableArray:[]}},computed:{middle:function(){return this.width/2},viewBox:function(){return"0 0 ".concat(this.width," 75")},currentTime:function(){return this.checkIfTimeAvailable(this.availableArray,this.currentTimeProp)||this.$emit("updatePlayState",!1),this.updateMoveLen&&this.updateMoveLen(this.currentTimeProp),this.currentTimeProp}},mounted:function(){this.curTimeX=(this.width-150)/2,this.renderBar()},methods:{checkIfTimeAvailable:function(e,t){var n,r=Io(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.startTime<=t&&i.endTime>t)return!0}}catch(e){r.e(e)}finally{r.f()}return!1},rerenderBar:function(e,t){this.clearBar(),this.renderBar(e,t)},clearBar:function(){var e=qe("g.progress-inner");e.selectAll("g.ticks-container > *").remove(),e.selectAll("g.available-container > *").remove()},formatHourMinute:function(e){return Oo(new Date(e),"hh:mm")},renderBar:function(e,t){var n=this,r=e||n.currentTimeProp,i=36e5,a=[{time:r-5*i,label:n.formatHourMinute(r-5*i)},{time:r-4*i,label:n.formatHourMinute(r-4*i)},{time:r-3*i,label:n.formatHourMinute(r-3*i)},{time:r-2*i,label:n.formatHourMinute(r-2*i)},{time:r-1*i,label:n.formatHourMinute(r-1*i)},{time:r,label:n.formatHourMinute(r)},{time:r+1*i,label:n.formatHourMinute(r+1*i)},{time:r+2*i,label:n.formatHourMinute(r+2*i)},{time:r+3*i,label:n.formatHourMinute(r+3*i)},{time:r+4*i,label:n.formatHourMinute(r+4*i)},{time:r+5*i,label:n.formatHourMinute(r+5*i)}];t||(t=[]),n.availableArray=t;var o=n.width/6,s=r,l=s-3*i;n.updateCurrentTime(s);var c=qe("g.progress-inner"),u=0,d=0;function h(){var e=c.select("g.ticks-container").selectAll("g").data(a,(function(e,t){return e.time})).enter().append("g").attr("class","tick-item"),t=function(e){return(e.time-l)/i*o};e.append("text").attr("x",t).attr("class","enter times-tick").attr("dy",20).text((function(e){return e.label})),e.append("line").attr("x1",(function(e,n){return t(e)})).attr("x2",(function(e,n){return t(e)})).attr("class","tick-path").attr("y1",30).attr("y2",75).attr("stroke-width",1),e.append("line").attr("x1",(function(e,n){return t(e)-o/2})).attr("x2",(function(e,n){return t(e)+o/2})).attr("y1",40).attr("y2",38).attr("stroke","rgba(255,255,255,0)").attr("stroke-width",74),e.append("line").attr("x1",(function(e,n){return t(e)-o/2})).attr("x2",(function(e,n){return t(e)+o/2})).attr("class","tick-path").attr("y1",30).attr("y2",30).attr("stroke-width",3),c.select("g.available-container").selectAll("g").data(n.availableArray,(function(e){return e.startTime})).enter().append("g").attr("class","available-item").append("line").attr("x1",(function(e,t){return(e.startTime-l)/i*o})).attr("x2",(function(e,t){return(e.endTime-l)/i*o})).attr("y1",30).attr("y2",30).attr("stroke-width",3).attr("class","available-path")}n.updateMoveLen=function(e){var t=-(e-s)/i*o;qe(".progress-inner").attr("transform",(function(){return"translate(".concat(t,",0)")}))},h();var f=r+6*i,p=0,m=r-6*i,y=0,v=n.debounceFunc((function(){n.$emit("updateCurrentPlay",n.currentTime)}),1e3),g=function(){var e,t,n,r,i=_r,a=wr,o=br,s=Ar,l={},c=N("start","drag","end"),u=0,d=0;function h(e){e.on("mousedown.drag",f).filter(s).on("touchstart.drag",y).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){if(!r&&i.apply(this,arguments)){var o=_("mouse",a.apply(this,arguments),zt,this,arguments);o&&(qe(Ie.view).on("mousemove.drag",p,!0).on("mouseup.drag",m,!0),Ze(Ie.view),Ke(),n=!1,e=Ie.clientX,t=Ie.clientY,o("start"))}}function p(){if(Xe(),!n){var r=Ie.clientX-e,i=Ie.clientY-t;n=r*r+i*i>d}l.mouse("drag")}function m(){qe(Ie.view).on("mousemove.drag mouseup.drag",null),$e(Ie.view,n),Xe(),l.mouse("end")}function y(){if(i.apply(this,arguments)){var e,t,n=Ie.changedTouches,r=a.apply(this,arguments),o=n.length;for(e=0;e<o;++e)(t=_(n[e].identifier,r,Wt,this,arguments))&&(Ke(),t("start"))}}function v(){var e,t,n=Ie.changedTouches,r=n.length;for(e=0;e<r;++e)(t=l[n[e].identifier])&&(Xe(),t("drag"))}function g(){var e,t,n=Ie.changedTouches,i=n.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),e=0;e<i;++e)(t=l[n[e].identifier])&&(Ke(),t("end"))}function _(e,t,n,r,i){var a,s,d,f=n(t,e),p=c.copy();if(He(new gr(h,"beforestart",a,e,u,f[0],f[1],0,0,p),(function(){return null!=(Ie.subject=a=o.apply(r,i))&&(s=a.x-f[0]||0,d=a.y-f[1]||0,!0)})))return function o(c){var m,y=f;switch(c){case"start":l[e]=o,m=u++;break;case"end":delete l[e],--u;case"drag":f=n(t,e),m=u}He(new gr(h,c,a,e,m,f[0]+s,f[1]+d,f[0]-y[0],f[1]-y[1],p),p.apply,p,[c,r,i])}}return h.filter=function(e){return arguments.length?(i="function"==typeof e?e:vr(!!e),h):i},h.container=function(e){return arguments.length?(a="function"==typeof e?e:vr(e),h):a},h.subject=function(e){return arguments.length?(o="function"==typeof e?e:vr(e),h):o},h.touchable=function(e){return arguments.length?(s="function"==typeof e?e:vr(!!e),h):s},h.on=function(){var e=c.on.apply(c,arguments);return e===c?h:e},h.clickDistance=function(e){return arguments.length?(d=(e=+e)*e,h):Math.sqrt(d)},h}().subject((function(){return c})).on("start",(function(){u=Ie.sourceEvent.screenX})).on("drag",(function(e){var t=Ie.sourceEvent.screenX-u+d;n.updateCurrentTime(parseInt(s+-1*t/o*i)),t<=-p*o?(function(){for(var e=0;e<3;e++){var t=new Date(f);a.push({time:f,label:n.dateFormat(t,"hh:mm")}),f+=36e5,p++}var r=f;n.$emit("updateForwardList",(function(e){n.availableArray=n.availableArray.concat(e),h()}),r-4*i,r-i)}(),h()):t>=y*o&&(function(){for(var e=0;e<3;e++){var t=new Date(m);a.unshift({time:m,label:n.dateFormat(t,"hh:mm")}),m-=i,y++}var r=m;n.$emit("updateBackwordList",(function(e){n.availableArray=e.concat(n.availableArray),h()}),r+i,r+4*i)}(),h()),qe(".progress-inner").attr("transform",(function(){return"translate(".concat(t,",0)")}))})).on("end",(function(){d=d+Ie.sourceEvent.screenX-u,v()}));qe(".progress-inner").call(g)},debounceFunc:function(e,t){var n=null;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(void 0,i)}),t)}},updateCurrentTime:function(e){this.$emit("update:currentTimeProp",e)}}},Fo=(n(39),f(No,S,[],!1,null,null,null));Fo.options.__file="src/components/player-progress-bar.vue";var jo=Fo.exports,Bo=function(){var e=this.$createElement;return(this._self._c||e)("button",{on:{click:this.onClick}},[this._t("default")],2)};Bo._withStripped=!0;var Ho=f(a.a.extend({data:function(){return{}},methods:{onClick:function(e){this.$emit("click",e)}}}),Bo,[],!1,null,null,null);Ho.options.__file="src/components/button.vue";var Wo,zo=Ho.exports;function Uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vo={name:"QzPlayer",props:{devices:{type:Array,default:function(){return[]}},type:{type:String,default:"live"},basicConfig:{type:Object,default:function(){return{rows:1,cols:1,combines:{},autoPlay:!0,autoFitView:!0,theme:"light-theme",delay:3e3}}},pluginUrl:{type:String,default:""},playerServer:{type:String,default:""},fileServer:{type:Object,default:function(){}},vodTime:{type:Object,default:function(){}},message:{type:Object,default:function(){}}},components:{RtspPlayer:m,PlayerControlBar:_,PlayerProgressBar:jo,PlayerTimeSelectBar:x},data:function(){var e=new Date;return{imgAround:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ4AAACcCAYAAACOTRJwAAAU90lEQVR4Xu1dCdS1VVndu1KMHJhSFAgN+RHBVEQsExBCCUQQA8IUDBAVcgAECSE1VBQUwXCRA6GiGJoMgpCBMouUiANlkpCkpBlhJoVD1m7t3/MvP76+95zzDvfedzjPWnd9a333vGfY775neM4zEEUKAgtAgAtoszRZEEAhXiHBQhAoxFsI7KXRQryJcEDSxiTv7MtwC/H68iZm2A9J2wA4luTvzrCZWlUX4q0AlyTjsgmAzQCsA+CBAB607OP//QTADwH8IHzuBfAdAN8C8M/+S/I/ar2RjgtLuh+Az3kcJB/ZcfWNq5s08ST9PIDHA9gSwBZLPqsA/GJjVO/74D0A/i58/haAPzeT/G5H9UerkXQCgDeEQhuQvHse7abamBTxwkxmou0MYCcAOwB4cAqkGXyvQMRrAaz+kPx21+1IeiyALwC4f6h7V5KXd91Ok/pGTzxJ6wLYF8AzATwdwPpNgJrDMzcDuBDARSQ9K7YSST8H4AYAT1lS0XEk39Kq4o4eHiXxwr5mdwAHAthjyS++I9hmXs1tAD4K4GyStzdpTdJRAE5d9uzHSPpHuHAZFfEkbRfItn+PZ7Y6L91L8tUA/gzA+SR9kEmKJB+Kbllhn/p1kr+arGAOBUZBPEme1byJXrqszAG+uTbhw8g7AZxB8t+qWg772CvDtmKlYuuR/Pe59nyFxgZLvLCH2QfAa8LJdNFYzqt9q2w8A55K8p+WNyrppQD+NNKZXUh+el6drWpncMST9AsAng/guKD+mBWGnlVuBXAHgO8DsFrEn/9c8tfqGKtdHhD++iDziCWfTYPubxZ9/G8A7wZwIsm73IAk6x6turHOsUqsSD5lFh2qU+egiCfJ6o8zAWxVZ5CJslb+fgbATYFoJtutXenZAhm2Dn22Kmd7ACZkV+IfxckATgfwMQC7JSr+aB9uMAZBPEkPBfDWcHBo+8J+DOCvAXgfdBWAz5L0/+YmgYwmoNU7zwawYQeNe9/mGTclt5N8dKrQrL/vNfHCPs57ljeFq6umeHhZugzAOQA+SdL7pF5IOAz4ULQXgN8BsPmMO+aT8rqLvsrrLfEkeTn9AIAntXgRfxPIdl5fropSY5H0NAAHA9gPwC+lyjf8fieSVtMsTHpJPEkG/gwAazdA5kcA3g/gNJLerw1SJNkI4SAAfxgOK12O41Uk395lhXXr6hXxJPkXblXAAXUHAsDL53u8FyRp65BRiCSfmA/tmIDnknzBIgHqDfEkPS5cEz2mJiA+1VmxevoatULN5wdRvGMC/j1JGxAsTHpBPEkvDDNdXVMkHxaOIfmvC0Nwzg0HAr4YwPEAfNpvIv9rqxyS/9Xk4S6eWTjxJPnmwafWOmLrjcNJXlfnobGUlWRTLiuKN24xpieS/GKL51s9ujDiBTWClZ6vqDEC3xq8HsA7SNr6d5IiyTcWnvXayM4krcdciCyEeMFsycukrUhy5UaXX+l+MreCMZSTZANW37W2fXdbkPyHRWHStvO1+x3UBBcAeEbmw1Z4+uhvI0YrgicrkqxesrlTW9Omr5Ds8tqx9juZK/Ek+fDwKQBPzeypTYFeSPITmeVHXUzSaQCO6GCQh5I8q4N6GlcxN+IFq5KLADwrs7e+T92X5Dczy4+6mKTfAHA9AJu0t5EPk7R1z0JlLsQLB4n3efbKHK1nuP1I2nJk8iJpreC0Y2+4puJtir3NTiL5P00r6eq5eRHPZjuvzuy0r7u8FEz21LocJ0lWN1ntVFe+YeubcBi5oE/31TMnXoXTSRWAJ5P03WSRgICkJwKwsYMNYGPi1cE2hT79+2Nzr85dJrt6MTMlniSb+thlL6edo0h681zkZ6Qz2RwF4AkrgPKPYTZbTTIAXxrSKpFDiEZEkGQrWzsT5xgnvobkmxs1NOKHJPla7I0AfLVlAppgq2e0oV8TzoR4QUHs66wcry/fQnShIhgVBYMWwFY6/vHe0ocDQZcAz4p4diS2Q3FK/tyOOyStJC4yIQQ6J54k+xBcnIGhY3jsMfXbiAycRlmkU+I5+J83uQDWS6D1FS/DJH3pX2SCCHRNvPMBPDeBoy2FtyNps54iE0WgM+JJsj+nPblScjBJ32IUmTACnRAvWMXaONPBYmLyQZKO4FRk4gh0RTwbZ74ugeVXAWy7SHPrib/rXg2/NfFCSCzPdvaGqhLb+Psw4SudIgWBrKusKEySLgnBD2PlziT5BwXvYSIgyZ5/jhzvQOJXdmE11GrGk2Qv/9QsZg8wm1l/b5iwT7fXwc/Z/h1L7ff8Pp9H0rFnGktb4tmEfe9E67Ygtn9FkYEhIMnO9Y5ds1ysf926jf9LY+KF2Ca2/4/VcR1JhxYrMjAEgm+Ml9Yqi+d3kTys6bDaEO9Dy6bg5X3w/es2i/TdbApKeW51kMfUNsoWMxs1jTrViHjhJOuAOI6IWSWXkNyzvMRhIhBmPMfcixmgNrahbEo8B8dxIJmY/DpJO+wUGSgCkq4JSWiqRuBUCKtIWl1WS2oTL5x0nK8rFrvtUyRz/WZrdbgUnh8Ckpx077xEi7YwurRur5oQz8aJqVPqwgP/1QWilP//CARjVEeWd0DxKrmc5K518WtCvCsA7BJp6AaSv1m3I6V8PxFYloRvpU76ELll3SCYtYgnaSMAdpmLORUfSPKD/YSx9KouAiHwud+5fXur5BSSx9apuy7x7BtrH9kq8RH7YcUQoM4r6H9ZSY5FHbMq+irJWs7mdYlnY4BYsJdi9tR/HtXuoaRtg5db7NlH10n4l028kPs0ZTX8DJIOylNkZAhIckizWCqEI0i+I3fYdYj3shCJvapup0L/lSY6ndzOlnKLQ0CSQ8UdGelBLRVaHeKlDALeRvKYxUFTWp4lAiEgZMwixUGBnHrewdCTkkW8kGHHSeViUQHKMpuEe7gFgk7PHHhIZBQOK+d8aknJJZ6NAD8fqc25wNbpwkAw2eNSYGEISPpIyDhU1YcPkPz9nA7mEu9VAN4WqfAakk4IV2TECEhyUpaYjvY2klm52HKJ57u43SOYvp7kH48Y8zK0n+bDXR+ALZCrLhCy82fkEs+JeDeIoL/DVHNOTI2Rkr4GIJZ21E5djucXlSTxJDkcxd2RWn7oDee8c76mBla+nw0CklLRIl5E0qnrWxPPQZ9viNTigIArBQ5MtV2+HyACklI+1Flh53JmPJ9SYiEnepFqfIDvcJBdluRkzjGVid0ffys1uBziOVJnLC7xG0i+NtVQ+X4cCEhaBSCWB/guksnkfjnES91YvIDkueOAtYwihUC4TLB7YyzT5oYkbaVeKTnEs2FALLfpk0toitTrGtf3khyP2RYrVfJUko7X3Ip4vnt7UKQO5z29Z1zQltHEEJDkSP7PiZTZm6SzODUjXsjI4ywwVTPjvSRjTj/lDY4QAUlOghPL0vQSkvZEbEy8BwKIzWbfIbnhCLEtQ4ogIMl2d7E8w68l6fRVjYn3cADfijyffTdX3uR4EJBkUp0QGdFpJKNR/6OHi4yj8xdI2nKlyIQQkHQ0gLdGhpwMS5ciXip+xrUkd5wQ5mWoPzUWcBSJ2B7ubJKHtFlqTaqrIxVcSnKP8jamhYCk/QDYNq9KziVpE6rGe7zfBvCXkefPJ7nPtGAvo81IonMeyee1IZ6NO68qM14h21IEJO0PwOnAquQsktGgTqk93nYAYhGfriK5c3kt00IgY4/X+lT7OABfjsDq9JU2myoyIQQykl8nDUdSM54tTW1xWiXFFm9ChFszVEnOaWK7vCp5NcmYuiWebkBSSoF8J8lNJoj9pIcsyY5fdgCrksNIvqvN4cKhZn8UCTnre9y1xpbEd9Ksyhi8JKcgeHGkaNJULscs6k4HWY40sjFJh68oMhEEJH0SQCwY47NJfqLxjOcHJd2YSPFeYh1PhHBL9nhfB/DIyLC3IumcxJWSM+PZvt529lWyH8m/mBj2kx1uyNTpOIhVvrXefq2d8jrMId5pAI6IIH0iyVTmxsm+qLENXFJKxXY7yZjf7WpIcoiXuhD+OMmYNerYsJ/0eCT5ijS2wl1G8lkpkHKIl7q9uIPko1INle/HgUBGMO63k4ypWrJnvLWDFXIs4LYjRTnvVZGRI5Dhb5E0e89aasPJ1tm1t4hguivJy0eO+eSHlxkncUeS16bASi61gXjO7uIsL1VyMsmY03eqH+X7ASAgKRUn0ZcN6+bEScwlXir+8U0knzwA7EoXWyCQYfKeHScxl3jOYRBTCDou2volC3eLtzqARyVdBmC3SFdfR/LEnKFkES8st/Y2s9FAlexD0iGsiowQgRAD2WlE7fJaJduTvD5n+HWIl0qM/BGStkwtMkIEJDkbZ+wAeW+Ig+3o70mpQ7yDAJwdqdHXKA8l6Q4UGRkCkhz7OObAUyuLYx3iOf7tvyQyNpd725ERLmyzvLz63cfClRxN8tTc4WcTL3QgZQ5zAcmYQUFuv0q5HiEgyQn0nEivSny4dFanbPO4usQ7GEAsvq3X901JfrtHuJWutERAkvPTxaJ8XkHymXWaqUs8Z/ZxwL37RRopqQfqvIGel5W0MQBn6Y5dmR5A0ofPbKlFvLDcfhzAnpEWrHbxrPeT7F6Ugr1FQJLzEztPcZU4OqgjgPpwmS1NiJeKLuDG9ycZC3GQ3cFScHEIhFQTnu1iurtzSMZi5a04gCbE8zPOXRoz9rMv7hNIOl99kYEikJFawCPbheSn6w6xNvHCcuvYZ6mjc3Ymv7qdLuVnj4Akhx/2bBfL2Olr1K2bTDBNibcOAB+dbatXJU4j/2tNOjV7WEsLKQQkHQvgLYlySTfGqucbES/MeqlwpGWvl3q7Pf1e0oNDBIlYvorbbaPZ1Ke6DfFsMODGY/kOvgFgy3KN1lOGVXQrI8axnzyU5FlNR9aYeGHWS3mgudgbSf5R0w6W5+aLgCTnpbspEj3CHbKT/2YpF8ZYz9sS72EA7Nwbm/VslWoHX8+ORXqMQEgv8RkAqQhgryT5J22G0op4YdZLKRhd7GKSe7XpaHl29ghIehGA9yZauiNsn5wutrF0QTwfu51ULWYk6g76hHtL456WB2eKgCQfJKwesRVSTPYkeUnbzrQmXpj1ng8gdVd3EElnhCnSMwTCEvtXAGzsGZPOVq5OiBfIdw2AHSK93o2kzaqK9AwBScf7EJjo1g+cTJGkl9rW0iXxHFPDuegfsEKv7gKweXH6bv2+Oq9AkieLKxOnWLd7PMmTuupAZ8QLs54NCJy1b60lHbQpvC2TL+2q06WebhCQ9MsAvgjgEYkavYf3Hv3H3bScEbSnbkOSnA3I0SIdzNG5bt9L8ra69ZTys0VAkm0q7a64S6IlG/faeywW/b92Zzud8Wq3Xh5YCALhMHFOwnlnTd9q+VLkDqgQLxepEZWTZMuiaHbFMFyHk7X6pHPztkK8EREqZyiSbE1spX9KvhlsKr+bKtjk+0K8JqgN9BlJthTO0aXabWEHkp+d1VAnQTxJvkt+GskrZgVk3+uV9BIAZyacdtYM40iSp89yTKMmniRbzx4e0pg7UmXOEjNLvBdStyRbB2UF0wGQFdGz7UBGSTxJzjZ0pG3GgqOKI5FvMjV/3xBI8Yzw48vhiq89D5zFYWJ546MinqStgiuec6Uu9f3NCgid82aGUkbS/cP9+b6ZfXZeYp9g5+KWOgriSdo+EM7Rxlca06QcjyQ5+YndSx04PUesHN55npbigyVeUILasdxOKTHDRasDHt7ldU/Om1xUGUl7h6hedsjKEbuimnR35xTuqszgiBeWEIfLOgbAYzKAeCfJl2eUG3SRgMspAF5ZYyDXheX1ezWe6aToYIgX/DytEvChIXWpvRScJ5G8uRO0elqJJEfk98Fg2xpddCgSR3xoZUlco737FO098cIv+eiwh3tIzYF+meTjaz4zmOKS7NdsWzrj48NErtg77KVNXRNzG4mV6zXxJG0A4Cp7qzcc7MwVoQ371foxSd7f2uFm05qVnUTSZF2o9JZ4kpyk+YYaJ7PlQNqcZyOSNkIdjUhyzBq7le5Rc1C2izycZCzAYs0qmxfvM/F+D8C5zYeGC0k+t8XzvXpU0mMBHAfAOkr/KOuI7SJtjBvNIVunwrZl+0w836umjBRj49+L5MVtAVr08yGbjpdGq0mavK/3AXjZPHV0OZg1GUhOva3LSEqlpE+14Zf1fpIOFDkoCQeq3QH4FG93gibiQImHkXS09t5Jn4lnheZ6LRFzUGjH7/W+5qK+/eqXj03SU3xXGvLGpfxbY9A4Xp33c45j2EvpM/FuBOAX0ZXcA8Bp7m1VezXJmRg41ulsyJZj3ZsDV9s3eVWd51co66DnR5F00sNeS5+J55sJa+JnIZ4J7V1ltz5/riPpWL4zlXDN56A4O/maKvghOxJDW7H1ja1QnEvs+20rm8fzfSaedXg2v17JT7drbGyR4WXJeXntyrfm761NEgMGD67NQo5f3yr44+s9n0xz71Bzx+hrr5eT/FLuA30o11viGRxJ1rAfsmCgPIP446V66cczpP2HPWMt/ThQtfemdVUedYfpmdoh4KxgH5z0nXiOTmDriSI/Q8B71DeR9B54sNJr4oVZzyc074dyxFYWXS9lOe3Ouow9+C8E8OahLalVwAyBeL6TtCVFSlZHqQwkPQDAcxLBwVP19eF7G2ja8dopWedqLzfrwQ+BeE5l5I2/SRWT+1x+BzMqX5lZL/b0TO+qWeOdU79D/NvEyYlLequHyxlIrEzviReW21cAcJT5mKwi+bWVCkhyHBfHfvOSbVWG83P1RRz+y1mtfUjwtuJz83C2WfTgh0I8nxq9lDoM/kpyPUn7XWSJpM2X6NL8XB3D0qw2IoVsJfL5JTrEG6dilr8Uk0EQL8x6sXgfh5CMZQ+PkkWSDUzX6NuW/vXyHksiU1WvFbpOQGOd4JrPGt3gnVOY0VK/ziERz55TDne2XD/my3A781jH1rkEZbB1cyvp6xzRfrl+7x6SXj6LRBAYDPHCrHc+gOU2do2yBxZWLBaBoRHP+7Frl0G2E8mrFwtjab0uAoMiXpj1vDHfJgzUyV2cYabz+G11gSzl6yEwROLZp3aNcaOtMXKD0dRDppSeKQJDJJ7d+BzyfkMAjyJphWuRgSEwOOKF5fYE30aQbOOTMbBXNa7uDpV4ttXbkaRPuUUGiMD/Ac2GRvfg+v/gAAAAAElFTkSuQmCC",urls:[],date:new Date("".concat(Oo(e,"yyyy-MM-dd")," 00:00:00")).getTime(),isPlaying:!1,isCanPlay:!1,pluginLoadSuccess:!0,loadFailedMsg:"",playerHeight:0,loading:!1,vodRecord:{beginTime:"",endTime:""},monthRecord:[],fileList:[],paused:!0,interval:null,request:null,playingId:"",errorCode:0,showControlBar:!0,pluginDownloadUrl:"",dcs:null,showPlayBtn:!0}},created:function(){this.loading=!1;var e=this.isVueOptions(this.basicConfig.button||null);this.isVueOptions(this.basicConfig.button||null)||console.error('[Props warn]please check prop: "basicConfig[button]"'),console.log("this.basicConfig",this.basicConfig),a.a.component("player-button",e?this.basicConfig.button:zo)},watch:{pluginLoadSuccess:{handler:function(e,t){var n=this;if(e&&e!==t)if("playback"===this.type)this.devices.length>0&&void 0!==this.devices[0].id&&!this.playerServer&&setTimeout((function(){n.getPlaybackUrl()}),300);else if(this.urls=[],this.devices&&0!==this.devices.length&&(this.urls=this.devices.map((function(e){return e})),0===this.urls.length))return void this.message.warning("暂无可播放的".concat("file"===this.type?"文件":"流地址","!"))}},devices:{handler:function(e,t){var n=this;if(!(this.isPlaying&&e&&1===e.length&&t&&1===t.length&&e[0].rtspUrl===t[0].rtspUrl)){this.stop(),this.basicConfig.rows,this.basicConfig.cols;var r=e.filter((function(e){return""!==e.rtspUrl}));0!==r.length?(this.urls=r,0!==this.urls.length?this.$nextTick((function(){n.basicConfig.autoPlay&&n.play()})):console.warn("暂无流地址!")):this.urls=[]}},deep:!0,immediate:!0},loading:{handler:function(e){this.$emit("loading")},deep:!0},basicConfig:{handler:function(e){e.rows&&e.cols&&e.rows>1&&e.cols>1?this.showPlayBtn=!1:this.showPlayBtn=!0},immediate:!0,deep:!0}},beforeDestroy:function(){this.$refs.player&&this.$refs.player.streamCloses(),window.onbeforeunload=null},computed:{playerProgressBar:function(){return"playback"===this.type?this.$refs.playerProgressBar:null},deviceTimeOffsetHour:function(){return this.devices&&this.devices.length>0&&this.devices[0].timeOffsetHour||0},isDcsPlayback:function(){return"playback"===this.type&&""!==this.playerServer}},methods:(Wo={pluginOnload:function(e,t){this.$emit("onLoad",e,t)},pluginStatusChange:function(e,t,n){this.pluginLoadSuccess=!1,this.loadFailedMsg=t,this.pluginDownloadUrl=n,this.$emit(e,t,n)},playerOnLogin:function(){this.isCanPlay=!0,this.dcs=this.$refs.player&&this.$refs.player.dcs,this.play(),this.$emit("onLogin")},onStreamStatus:function(e){var t=this,n=e.id,r=e.status,i=e.code,a=e.errorText,o=e.index;this.loading=!1,2===r?(this.isPlaying=!this.isPlaying,this.basicConfig.autoFitView&&setTimeout((function(){t.autoFitView()}),this.basicConfig.delay||3e3),"playback"===this.type&&this.updateTime()):this.pauseTime(),this.$emit("onStreamStatus",{id:n,status:r,code:i,errorText:a,index:o})},onPlayFinished:function(e){this.$emit("onPlayFinished",e)},onWinOp:function(e){var t=e.index,n=e.streamItem,r=e.state;this.$emit("onWinOp",{index:t,streamItem:n,state:r})},onWinSwap:function(e){var t=e.index,n=e.swapTargetIndex,r=e.streamItem,i=e.state;this.$emit("onWinSwap",{index:t,swapTargetIndex:n,streamItem:r,state:i})},onWinDrop:function(e){this.$emit("onWinDrop",e)},onDownloadStatus:function(e,t,n,r){this.$emit("onDownloadStatus",e,t,n,r)},onDownloadProgress:function(e,t,n){this.$emit("onDownloadProgress",e,t,n)},onAudioState:function(e,t,n,r,i){this.$emit("onAudioState",e,t,n,r,i)},onRecord:function(e,t,n){this.$emit("onRecord",e,t,n)},play:function(){var e=this;"live"===this.type||"file"===this.type?1===this.urls.length?this.$refs.player&&this.$refs.player.play():this.urls.map((function(t,n){e.$refs.player&&e.$refs.player.play(n)})):"playback"===this.type&&(this.isDcsPlayback?this.$refs.player&&this.$refs.player.play():(this.updateTime(),this.getPlaybackUrl()))},pause:function(){var e=this;this.isPlaying=!this.isPlaying,this.$refs.player&&this.$refs.player.pause().then((function(){"playback"===e.type&&e.stop()}))},stop:function(e){this.isPlaying=!1,this.$refs.player&&this.$refs.player.stop(e),this.pauseTime()},reconnect:function(){var e=this;this.$refs.player&&this.$refs.player.stop(),this.errorCode=0,this.urls=[],this.devices.map((function(t){e.urls.push(t)})),this.$refs.player&&this.$refs.player.play()},getStreamInfo:function(e){return this.$refs.player&&this.$refs.player.getStreamInfo(e||-1)},capture:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((function(n){e.$refs.player&&e.$refs.player.capture(t).then((function(e){n(e)}))}))},autoFitView:function(){if(!this.getStreamInfo()){var e=this.getStreamInfo();if(!e)return;var t=e.width,n=e.height;if(t&&n){var r=t/n,i=this.$refs.renderPlayer.getBoundingClientRect();this.playerHeight=i.width/r}}},getLayout:function(){return this.$refs.player&&this.$refs.player.getLayout()},setLayout:function(e){return this.$refs.player&&this.$refs.player.setLayout(e)},setControlBar:function(e){this.showControlBar=e},getPlaybackUrl:function(){var e=this;if(this.devices&&this.devices.length>0&&!this.playerServer){this.setControlBar(!0);var t=Oo(new Date(this.date),"yyyyMMddhhmmss"),n=Oo(new Date,"yyyyMMddhhmmss"),r="".concat(this.devices[0].dcs?"dcs://":"").concat(this.devices[0].rtspUrl,"?begin=").concat(t,"&end=").concat(n);this.devices[0].rtspUrl.includes("begin")&&this.devices[0].rtspUrl.includes("end")&&(r=this.devices[0].rtspUrl,console.log("playback use devices rtspUrl"),this.setControlBar(!1)),this.urls=[{rtspUrl:r}],this.$forceUpdate(),this.$nextTick((function(){e.$refs.player&&e.$refs.player.play()}))}},backward:function(){var e=this;this.date-=15e3,this.pauseTime(),this.stop(),setTimeout((function(){e.getPlaybackUrl()}),300)},forward:function(){var e=this;this.date+=15e3,this.pauseTime(),this.stop(),setTimeout((function(){e.getPlaybackUrl()}),300)},onUpdateBackwordList:function(e,t,n){},onUpdateForwardList:function(e,t,n){},onUpdateCurrentPlay:function(e){var t=this;e>(new Date).getTime()?this.date=(new Date).getTime():this.date=e,this.$refs.player&&this.$refs.player.streamCloses(),setTimeout((function(){t.getPlaybackUrl()}),300)},onUpdatePlayState:function(e){e&&this.getPlaybackUrl()},updateTime:function(e,t){var n=this;if("playback"===this.type){if(this.interval)return;this.paused=!1,this.interval=window.setInterval((function(){n.date+=1e3}),1e3)}},pauseTime:function(){"playback"===this.type&&(clearInterval(this.interval),this.interval=null)},dateChange:function(e){this.judgeSelectData(e),this.getPlaybackUrl(),this.playerProgressBar.rerenderBar(this.date)},dateFocus:function(){},judgeSelectData:function(e){this.date=e},controlIconClick:function(){"playback"!==this.type&&(0!==this.devices.map((function(e){return e.rtspUrl})).length?this.isPlaying?this.pause():this.play():this.message.warning("暂无可播放的".concat("file"===this.type?"文件":"流地址","!")))},downloadPlugin:function(){window.open(this.pluginDownloadUrl)},showFullscreen:function(){return this.$refs.player&&this.$refs.player.showFullscreen()},ptzControl:function(e,t,n){return this.$refs.player&&this.$refs.player.ptzControl(e,t,n)},swapWindow:function(e,t){return this.$refs.player&&this.$refs.player.swapWindow(e,t)},playIndex:function(e,t,n){return this.$refs.player&&this.$refs.player.openStreamInServer(e,t,n||{})},selectWindow:function(e){return this.$refs.player&&this.$refs.player.selectWindow(e)},getStreamItem:function(e,t){return this.$refs.player&&this.$refs.player.getStreamItem(e,t)}},Uo(Wo,"showFullscreen",(function(){return this.$refs.player&&this.$refs.player.showFullscreen()})),Uo(Wo,"toggleWindow",(function(){return this.$refs.player&&this.$refs.player.toggleWindow()})),Uo(Wo,"startRecord",(function(e,t,n){return"live"===this.type&&this.$refs.player&&this.$refs.player.startRecord(e,t,n)})),Uo(Wo,"stopRecord",(function(e){return"live"===this.type&&this.$refs.player&&this.$refs.player.stopRecord(e)})),Uo(Wo,"isVueOptions",(function(e){return!!e&&("string"==typeof e.template||"function"==typeof e.render)})),Wo)},Go=(n(41),f(Vo,r,[],!1,null,null,null));Go.options.__file="src/components/player.vue";var Qo=Go.exports;t.default=Qo}]).default}))}}]); |